@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,599 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, mergeProps, unref, isRef, watch, useSSRContext } from 'vue';
|
|
2
|
+
import { ssrRenderAttrs, ssrRenderClass, ssrInterpolate, ssrRenderComponent, ssrIncludeBooleanAttr, ssrLooseContain, ssrLooseEqual, ssrRenderList, ssrRenderAttr, ssrRenderStyle } from 'vue/server-renderer';
|
|
3
|
+
import { FileText, X, Check, Copy, Wand2, Sparkles, Bookmark, Trash2, LayoutTemplate, CheckCircle2, AlertCircle, Film, Upload, Music, Clock, RefreshCw, Play, ZoomOut, ZoomIn, RotateCcw, ShieldAlert, Download, FolderOpen } from 'lucide-vue-next';
|
|
4
|
+
import { _ as _sfc_main$3 } from './TableCard-Cvso4Mm4.mjs';
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
|
|
7
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "DashboardControls",
|
|
9
|
+
__ssrInlineRender: true,
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: {},
|
|
12
|
+
options: {},
|
|
13
|
+
isValid: { type: Boolean },
|
|
14
|
+
validationError: {},
|
|
15
|
+
isGenerating: { type: Boolean },
|
|
16
|
+
generateStage: {},
|
|
17
|
+
isAutoTopicLoading: { type: Boolean },
|
|
18
|
+
drafts: {},
|
|
19
|
+
activeDraftIndex: {}
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "update:options", "generate", "autoTopic", "selectDraft", "deleteDraft", "saveDraft"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const jsonText = ref("");
|
|
25
|
+
const jsonFormatError = ref("");
|
|
26
|
+
ref("");
|
|
27
|
+
const selectedModel = ref("gemini-3.5-flash");
|
|
28
|
+
const activeTab = ref("editor");
|
|
29
|
+
const showPromptModal = ref(false);
|
|
30
|
+
const manualPromptText = ref("");
|
|
31
|
+
const manualPromptMeta = ref({});
|
|
32
|
+
ref(false);
|
|
33
|
+
const promptCopied = ref(false);
|
|
34
|
+
const availableVideos = ref(["cyber_blue.mp4", "emerald_flow.mp4", "default_bg.mp4"]);
|
|
35
|
+
const availableAudio = ref(["synthwave_pulse.mp3", "lofi_chill.mp3", "default_ambient.mp3"]);
|
|
36
|
+
const isUploading = ref(false);
|
|
37
|
+
ref(null);
|
|
38
|
+
ref(null);
|
|
39
|
+
watch(
|
|
40
|
+
() => props.modelValue,
|
|
41
|
+
(val) => {
|
|
42
|
+
try {
|
|
43
|
+
const currentParsed = JSON.parse(jsonText.value || "{}");
|
|
44
|
+
if (JSON.stringify(currentParsed) !== JSON.stringify(val)) {
|
|
45
|
+
jsonText.value = JSON.stringify(val, null, 2);
|
|
46
|
+
}
|
|
47
|
+
} catch {
|
|
48
|
+
jsonText.value = JSON.stringify(val, null, 2);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{ immediate: true, deep: true }
|
|
52
|
+
);
|
|
53
|
+
ref({ audio: [], videos: [] });
|
|
54
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
55
|
+
var _a, _b, _c, _d, _e, _f;
|
|
56
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-3 text-slate-100" }, _attrs))}>`);
|
|
57
|
+
if (unref(showPromptModal)) {
|
|
58
|
+
_push(`<div class="fixed inset-0 z-50 bg-black/80 backdrop-blur-sm flex items-center justify-center p-4"><div class="bg-slate-900 border border-slate-700 rounded-3xl max-w-2xl w-full p-6 shadow-2xl flex flex-col gap-4 text-xs max-h-[90vh]"><div class="flex items-center justify-between pb-3 border-b border-slate-800"><div><h3 class="text-sm font-black text-white flex items-center gap-2">`);
|
|
59
|
+
_push(ssrRenderComponent(unref(FileText), { class: "w-4 h-4 text-purple-400" }, null, _parent));
|
|
60
|
+
_push(` Master Prompt AI (Dynamic Research & Zero-Collision) </h3><p class="text-[11px] text-slate-400 mt-0.5"> Salin prompt ini ke ChatGPT / Gemini / Claude / DeepSeek untuk mencari topik terbaru. </p></div><button class="p-1 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800">`);
|
|
61
|
+
_push(ssrRenderComponent(unref(X), { class: "w-4 h-4" }, null, _parent));
|
|
62
|
+
_push(`</button></div><div class="flex items-center gap-2 bg-slate-950 p-2.5 rounded-xl border border-slate-800 text-[11px]"><span class="font-bold text-sky-400">Mode:</span><span class="text-white font-semibold">Dynamic Discovery (Trending \u2022 Then vs Now \u2022 Future Horizon)</span><span class="text-slate-500">\u2022</span><span class="text-purple-400 font-bold">${ssrInterpolate(unref(manualPromptMeta).usedCount || 0)} Topik Riwayat Dikecualikan</span></div><div class="relative flex-1 min-h-[220px]"><textarea readonly rows="12" class="w-full h-full bg-slate-950 text-slate-300 font-mono text-[11px] p-3 rounded-xl border border-slate-800 focus:outline-none resize-none leading-relaxed select-all">${ssrInterpolate(unref(manualPromptText))}</textarea></div><div class="flex items-center justify-between pt-2 border-t border-slate-800"><span class="text-[11px] text-slate-400"> Paste hasil JSON dari ChatGPT/Gemini ke kolom <b>RAW JSON</b> SocialGen. </span><button class="px-5 py-2.5 rounded-xl font-bold bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-500 hover:to-indigo-500 text-white shadow-lg flex items-center gap-2 transition">`);
|
|
63
|
+
if (unref(promptCopied)) {
|
|
64
|
+
_push(ssrRenderComponent(unref(Check), { class: "w-4 h-4 text-emerald-400" }, null, _parent));
|
|
65
|
+
} else {
|
|
66
|
+
_push(ssrRenderComponent(unref(Copy), { class: "w-4 h-4" }, null, _parent));
|
|
67
|
+
}
|
|
68
|
+
_push(`<span>${ssrInterpolate(unref(promptCopied) ? "Prompt Berhasil Disalin!" : "Copy Master Prompt")}</span></button></div></div></div>`);
|
|
69
|
+
} else {
|
|
70
|
+
_push(`<!---->`);
|
|
71
|
+
}
|
|
72
|
+
_push(`<div class="flex flex-wrap items-center justify-between gap-2.5 p-3.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg"><div><h2 class="text-xs font-black text-white flex items-center gap-2">`);
|
|
73
|
+
_push(ssrRenderComponent(unref(Wand2), { class: "w-3.5 h-3.5 text-sky-400" }, null, _parent));
|
|
74
|
+
_push(` Content Studio </h2><p class="text-[10px] text-slate-400">Multi-Format Studio</p></div><div class="flex items-center gap-1.5"><button title="Buat prompt manual bebas bentrok untuk ChatGPT / Gemini Web" class="inline-flex items-center gap-1 px-2.5 py-1.5 text-[11px] font-bold text-purple-300 bg-purple-950/40 hover:bg-purple-900/50 border border-purple-500/30 rounded-xl transition shadow-sm">`);
|
|
75
|
+
_push(ssrRenderComponent(unref(FileText), { class: "w-3 h-3" }, null, _parent));
|
|
76
|
+
_push(`<span class="hidden sm:inline">Prompt Manual</span></button><button${ssrIncludeBooleanAttr(__props.isGenerating || __props.isAutoTopicLoading) ? " disabled" : ""} class="inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-bold text-white bg-gradient-to-r from-sky-500 via-indigo-600 to-purple-600 hover:from-sky-400 hover:to-indigo-500 rounded-xl shadow-md transition disabled:opacity-50">`);
|
|
77
|
+
_push(ssrRenderComponent(unref(Sparkles), {
|
|
78
|
+
class: ["w-3.5 h-3.5", { "animate-spin": __props.isAutoTopicLoading }]
|
|
79
|
+
}, null, _parent));
|
|
80
|
+
_push(`<span>${ssrInterpolate(__props.isAutoTopicLoading ? "Meriset Data..." : "\u2728 Auto-Topic")}</span></button><div class="relative group"><button class="px-2 py-1.5 text-xs font-bold text-slate-300 bg-slate-800 hover:bg-slate-700 border border-slate-700 rounded-xl"> \u25BE </button><div class="absolute right-0 mt-1 hidden group-hover:flex flex-col bg-slate-900 border border-slate-800 rounded-xl shadow-2xl py-2 z-20 w-56 text-xs"><div class="px-3 py-1 text-[10px] font-bold text-slate-500 uppercase">Model AI Engine</div><div class="px-3 py-1.5"><select class="w-full bg-slate-950 border border-slate-700 rounded-lg p-1.5 text-xs text-sky-300 focus:outline-none"><option value="gemini-3.5-flash"${ssrIncludeBooleanAttr(Array.isArray(unref(selectedModel)) ? ssrLooseContain(unref(selectedModel), "gemini-3.5-flash") : ssrLooseEqual(unref(selectedModel), "gemini-3.5-flash")) ? " selected" : ""}>\u26A1 Gemini 3.5 Flash (Aktif)</option><option value="gemini-2.5-pro"${ssrIncludeBooleanAttr(Array.isArray(unref(selectedModel)) ? ssrLooseContain(unref(selectedModel), "gemini-2.5-pro") : ssrLooseEqual(unref(selectedModel), "gemini-2.5-pro")) ? " selected" : ""}>\u{1F48E} Gemini 2.5 Pro (Billing)</option><option value="gemini-3.8-flash"${ssrIncludeBooleanAttr(Array.isArray(unref(selectedModel)) ? ssrLooseContain(unref(selectedModel), "gemini-3.8-flash") : ssrLooseEqual(unref(selectedModel), "gemini-3.8-flash")) ? " selected" : ""}>\u26A1 Gemini 3.8 Flash</option><option value="gemini-1.5-pro"${ssrIncludeBooleanAttr(Array.isArray(unref(selectedModel)) ? ssrLooseContain(unref(selectedModel), "gemini-1.5-pro") : ssrLooseEqual(unref(selectedModel), "gemini-1.5-pro")) ? " selected" : ""}>\u{1F48E} Gemini 1.5 Pro</option></select></div><div class="border-t border-slate-800 my-1"></div><div class="px-3 py-1 text-[10px] font-bold text-slate-500 uppercase">Pilih Format Khusus</div><button class="px-3 py-1.5 text-left text-sky-300 hover:bg-slate-800"> \u{1F4CA} Classic Comparison Table </button><button class="px-3 py-1.5 text-left text-orange-300 hover:bg-slate-800"> \u2694\uFE0F Versus Showdown Arena </button><button class="px-3 py-1.5 text-left text-teal-300 hover:bg-slate-800"> \u{1F9FE} Monthly Living Invoice </button><button class="px-3 py-1.5 text-left text-rose-300 hover:bg-slate-800"> \u{1F4F0} Breaking News / Pamphlet </button><button class="px-3 py-1.5 text-left text-amber-300 hover:bg-slate-800"> \u{1F3AF} Big Shocking Number </button><button class="px-3 py-1.5 text-left text-yellow-300 hover:bg-slate-800"> \u23F3 10-Year Shift (Then vs Now) </button><button class="px-3 py-1.5 text-left text-cyan-300 hover:bg-slate-800"> \u{1F4C8} Income Allocation Bars </button><button class="px-3 py-1.5 text-left text-emerald-300 hover:bg-slate-800"> \u{1F3C6} Top 5 Ranked Countdown </button><button class="px-3 py-1.5 text-left text-purple-300 hover:bg-slate-800"> \u{1F4AC} Hot Take / Quote Debate </button></div></div></div></div>`);
|
|
81
|
+
if (__props.isAutoTopicLoading) {
|
|
82
|
+
_push(`<div class="p-3 bg-gradient-to-r from-sky-950 via-indigo-950 to-purple-950 border border-sky-500/50 rounded-2xl flex items-center gap-3 animate-pulse shadow-lg shadow-sky-500/10"><div class="w-6 h-6 rounded-lg bg-sky-500/20 border border-sky-400/40 flex items-center justify-center flex-shrink-0">`);
|
|
83
|
+
_push(ssrRenderComponent(unref(Sparkles), { class: "w-3.5 h-3.5 text-sky-400 animate-spin" }, null, _parent));
|
|
84
|
+
_push(`</div><div class="text-[11px]"><div class="font-extrabold text-white flex items-center gap-2"><span>AI Research Engine Sedang Bekerja...</span><span class="text-[9px] px-1.5 py-0.2 rounded bg-sky-500/30 text-sky-200 border border-sky-400/30">${ssrInterpolate(unref(selectedModel))}</span></div><p class="text-[10px] text-slate-300 mt-0.5">Menganalisis angka perbandingan 2026 & meracik copywriting viral.</p></div></div>`);
|
|
85
|
+
} else {
|
|
86
|
+
_push(`<!---->`);
|
|
87
|
+
}
|
|
88
|
+
_push(`<div class="flex items-center justify-between bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs font-semibold"><div class="flex items-center gap-1"><button class="${ssrRenderClass([unref(activeTab) === "editor" ? "bg-slate-800 text-sky-400 shadow" : "text-slate-400 hover:text-white", "px-3 py-1 rounded-lg transition text-[11px]"])}"> JSON Editor </button><button class="${ssrRenderClass([unref(activeTab) === "drafts" ? "bg-slate-800 text-purple-400 shadow" : "text-slate-400 hover:text-white", "px-3 py-1 rounded-lg transition flex items-center gap-1.5 text-[11px]"])}">`);
|
|
89
|
+
_push(ssrRenderComponent(unref(Bookmark), { class: "w-3 h-3" }, null, _parent));
|
|
90
|
+
_push(`<span>Drafts Deck (${ssrInterpolate(__props.drafts.length)})</span></button></div><button class="text-[10px] text-slate-400 hover:text-sky-400 transition pr-2 font-bold"> + Save to Drafts </button></div>`);
|
|
91
|
+
if (unref(activeTab) === "drafts") {
|
|
92
|
+
_push(`<div class="flex flex-col gap-1.5 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl max-h-[300px] overflow-y-auto">`);
|
|
93
|
+
if (__props.drafts.length === 0) {
|
|
94
|
+
_push(`<div class="text-center py-8 text-slate-500 text-[11px]"> Belum ada draft tersimpan. Klik "Auto-Topic" untuk mengumpulkan berbagai ide! </div>`);
|
|
95
|
+
} else {
|
|
96
|
+
_push(`<!---->`);
|
|
97
|
+
}
|
|
98
|
+
_push(`<!--[-->`);
|
|
99
|
+
ssrRenderList(__props.drafts, (draft, dIdx) => {
|
|
100
|
+
_push(`<div class="${ssrRenderClass([__props.activeDraftIndex === dIdx ? "bg-sky-500/15 border-sky-500/50 text-white" : "bg-slate-950/60 border-slate-800 text-slate-300 hover:border-slate-700", "p-2 rounded-xl border cursor-pointer transition flex items-center justify-between text-xs group"])}"><div class="flex-1 pr-2"><div class="flex items-center gap-1.5 mb-0.5"><span class="${ssrRenderClass([draft.layoutType === "news" ? "bg-rose-500/20 text-rose-300 border border-rose-500/30" : draft.layoutType === "versus" ? "bg-orange-500/20 text-orange-300 border border-orange-500/30" : draft.layoutType === "receipt" ? "bg-teal-500/20 text-teal-300 border border-teal-500/30" : draft.layoutType === "stat" ? "bg-amber-500/20 text-amber-300 border border-amber-500/30" : draft.layoutType === "timeline" ? "bg-yellow-500/20 text-yellow-300 border border-yellow-500/30" : draft.layoutType === "barchart" ? "bg-cyan-500/20 text-cyan-300 border border-cyan-500/30" : draft.layoutType === "list" ? "bg-emerald-500/20 text-emerald-300 border border-emerald-500/30" : draft.layoutType === "quote" ? "bg-purple-500/20 text-purple-300 border border-purple-500/30" : "bg-sky-500/20 text-sky-300 border border-sky-500/30", "px-1.5 py-0.2 rounded text-[8px] font-bold uppercase"])}">${ssrInterpolate(draft.layoutType || "table")}</span><span class="text-[9px] text-slate-400 font-semibold">${ssrInterpolate(draft.category)}</span></div><div class="font-bold text-[11px] truncate">${ssrInterpolate(draft.title)}</div></div><button class="opacity-0 group-hover:opacity-100 p-1 text-slate-400 hover:text-rose-400 transition rounded">`);
|
|
101
|
+
_push(ssrRenderComponent(unref(Trash2), { class: "w-3 h-3" }, null, _parent));
|
|
102
|
+
_push(`</button></div>`);
|
|
103
|
+
});
|
|
104
|
+
_push(`<!--]--></div>`);
|
|
105
|
+
} else {
|
|
106
|
+
_push(`<div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl overflow-hidden shadow-lg"><div class="grid grid-cols-2 gap-2 p-2.5 bg-slate-950/70 border-b border-slate-800 text-xs"><div><label class="block text-[10px] font-bold text-slate-300 mb-1 flex items-center gap-1">`);
|
|
107
|
+
_push(ssrRenderComponent(unref(LayoutTemplate), { class: "w-3 h-3 text-sky-400" }, null, _parent));
|
|
108
|
+
_push(` Format Template </label><select${ssrRenderAttr("value", __props.modelValue.layoutType || "table")} class="w-full bg-slate-900 border border-slate-800 rounded-lg p-1.5 text-slate-200 focus:outline-none focus:border-sky-500 font-semibold text-[11px]"><option value="table">\u{1F4CA} Comparison Table</option><option value="versus">\u2694\uFE0F Versus Showdown Arena</option><option value="receipt">\u{1F9FE} Monthly Living Invoice</option><option value="news">\u{1F4F0} Special Report Pamphlet</option><option value="stat">\u{1F3AF} Big Shocking Number</option><option value="timeline">\u23F3 10-Year Shift (Then vs Now)</option><option value="barchart">\u{1F4C8} Income Allocation Bars</option><option value="list">\u{1F3C6} Top 5 Ranked List</option><option value="quote">\u{1F4AC} Hot Take / Quote Debate</option></select></div><div><label class="block text-[10px] font-bold text-slate-300 mb-1"> Theme Color </label><select${ssrRenderAttr("value", __props.modelValue.theme || "blue-tech")} class="w-full bg-slate-900 border border-slate-800 rounded-lg p-1.5 text-slate-200 focus:outline-none focus:border-sky-500 font-semibold text-[11px]"><option value="blue-tech">\u{1F535} Blue Tech (Software / AI)</option><option value="emerald-finance">\u{1F7E2} Emerald Finance (Salaries / Living)</option><option value="slate-education">\u{1F7E3} Slate Education (Schools / Public)</option><option value="dark-contrast">\u26AB Dark Contrast (Universal / Bold)</option><option value="crimson-alert">\u{1F534} Crimson Alert (Breaking / Shock)</option></select></div></div><div class="flex items-center justify-between px-3 py-1.5 bg-slate-950/50 border-b border-slate-800"><div class="flex items-center gap-2 text-xs"><span class="font-bold text-slate-300 text-[10px]">RAW JSON</span>`);
|
|
109
|
+
if (__props.isValid && !unref(jsonFormatError)) {
|
|
110
|
+
_push(`<span class="inline-flex items-center gap-0.5 px-1.5 py-0.2 rounded-full text-[9px] font-semibold bg-emerald-500/20 text-emerald-400 border border-emerald-500/30">`);
|
|
111
|
+
_push(ssrRenderComponent(unref(CheckCircle2), { class: "w-2.5 h-2.5" }, null, _parent));
|
|
112
|
+
_push(` Valid </span>`);
|
|
113
|
+
} else {
|
|
114
|
+
_push(`<span class="inline-flex items-center gap-0.5 px-1.5 py-0.2 rounded-full text-[9px] font-semibold bg-rose-500/20 text-rose-400 border border-rose-500/30">`);
|
|
115
|
+
_push(ssrRenderComponent(unref(AlertCircle), { class: "w-2.5 h-2.5" }, null, _parent));
|
|
116
|
+
_push(` Invalid </span>`);
|
|
117
|
+
}
|
|
118
|
+
_push(`</div><button class="text-[10px] text-slate-400 hover:text-sky-400 transition"> Format JSON </button></div><div class="relative p-2"><textarea rows="7" spellcheck="false" class="w-full bg-slate-950 text-sky-200 text-[11px] font-mono p-2.5 rounded-xl border border-slate-800 focus:outline-none focus:border-sky-500/50 resize-y leading-relaxed" placeholder="Paste Content JSON here...">${ssrInterpolate(unref(jsonText))}</textarea>`);
|
|
119
|
+
if (unref(jsonFormatError) || __props.validationError) {
|
|
120
|
+
_push(`<p class="text-[10px] text-rose-400 mt-1 px-1"> \u26A0\uFE0F ${ssrInterpolate(unref(jsonFormatError) || __props.validationError)}</p>`);
|
|
121
|
+
} else {
|
|
122
|
+
_push(`<!---->`);
|
|
123
|
+
}
|
|
124
|
+
_push(`</div></div>`);
|
|
125
|
+
}
|
|
126
|
+
_push(`<input type="file" accept="video/mp4,video/webm" class="hidden"><input type="file" accept="audio/mp3,audio/mpeg,audio/wav" class="hidden"><div class="p-3 bg-slate-900/90 border border-slate-800 rounded-2xl flex flex-col gap-2.5 shadow-lg text-xs"><div class="flex items-center justify-between gap-2"><label class="font-bold text-slate-300 flex items-center gap-1.5 text-[11px]">`);
|
|
127
|
+
_push(ssrRenderComponent(unref(Film), { class: "w-3.5 h-3.5 text-sky-400" }, null, _parent));
|
|
128
|
+
_push(`<span>Background</span></label><div class="flex items-center gap-1.5"><select${ssrRenderAttr("value", __props.options.backgroundSource || "random")} class="bg-slate-950 border border-slate-800 rounded-lg px-2 py-1 text-slate-300 text-[11px] focus:outline-none max-w-[170px]"><option value="random">\u{1F500} Acak Video</option><!--[-->`);
|
|
129
|
+
ssrRenderList(unref(availableVideos), (v) => {
|
|
130
|
+
_push(`<option${ssrRenderAttr("value", v)}>${ssrInterpolate(v.replace(".mp4", "").replace(/_/g, " "))}</option>`);
|
|
131
|
+
});
|
|
132
|
+
_push(`<!--]--><option value="pexels">\u{1F310} Pexels API (Auto HD)</option></select><button${ssrIncludeBooleanAttr(unref(isUploading)) ? " disabled" : ""} title="Upload Video MP4 Sendiri" class="p-1 px-2 rounded-lg border border-sky-500/30 text-sky-300 bg-sky-950/40 hover:bg-sky-900/60 text-[10px] flex items-center gap-1 font-bold transition disabled:opacity-50">`);
|
|
133
|
+
_push(ssrRenderComponent(unref(Upload), { class: "w-3 h-3" }, null, _parent));
|
|
134
|
+
_push(`<span class="hidden sm:inline">${ssrInterpolate(unref(isUploading) ? "..." : "Upload")}</span></button></div></div><div class="flex items-center justify-between gap-2 pt-1.5 border-t border-slate-800"><label class="font-bold text-slate-300 flex items-center gap-1.5 text-[11px]">`);
|
|
135
|
+
_push(ssrRenderComponent(unref(Music), { class: "w-3.5 h-3.5 text-purple-400" }, null, _parent));
|
|
136
|
+
_push(`<span>Musik Reels</span></label><div class="flex items-center gap-1.5"><select${ssrRenderAttr("value", __props.options.musicFile || "random")} class="bg-slate-950 border border-slate-800 rounded-lg px-2 py-1 text-slate-300 text-[11px] focus:outline-none max-w-[170px]"><option value="random">\u{1F500} Acak Musik</option><!--[-->`);
|
|
137
|
+
ssrRenderList(unref(availableAudio), (a) => {
|
|
138
|
+
_push(`<option${ssrRenderAttr("value", a)}>${ssrInterpolate(a.replace(".mp3", "").replace(/_/g, " "))}</option>`);
|
|
139
|
+
});
|
|
140
|
+
_push(`<!--]--></select><button${ssrIncludeBooleanAttr(unref(isUploading)) ? " disabled" : ""} title="Upload Musik MP3 Sendiri" class="p-1 px-2 rounded-lg border border-purple-500/30 text-purple-300 bg-purple-950/40 hover:bg-purple-900/60 text-[10px] flex items-center gap-1 font-bold transition disabled:opacity-50">`);
|
|
141
|
+
_push(ssrRenderComponent(unref(Upload), { class: "w-3 h-3" }, null, _parent));
|
|
142
|
+
_push(`<span class="hidden sm:inline">${ssrInterpolate(unref(isUploading) ? "..." : "Upload")}</span></button></div></div><div class="flex items-center justify-between pt-1.5 border-t border-slate-800"><label class="font-bold text-slate-300 flex items-center gap-1.5 text-[11px]">`);
|
|
143
|
+
_push(ssrRenderComponent(unref(Clock), { class: "w-3.5 h-3.5 text-emerald-400" }, null, _parent));
|
|
144
|
+
_push(`<span>Durasi Reels:</span></label><div class="flex items-center gap-1.5 flex-wrap justify-end"><!--[-->`);
|
|
145
|
+
ssrRenderList([7, 10, 15, 30, 60], (d) => {
|
|
146
|
+
_push(`<button class="${ssrRenderClass([(__props.modelValue.reelsDuration || 10) === d ? "bg-emerald-500/20 border-emerald-500/60 text-emerald-300" : "bg-slate-950 border-slate-800 text-slate-400 hover:text-white", "px-2 py-0.5 text-[10px] font-bold rounded-lg border transition"])}">${ssrInterpolate(d === 60 ? "1m" : d + "s")}</button>`);
|
|
147
|
+
});
|
|
148
|
+
_push(`<!--]--></div></div><div class="grid grid-cols-3 gap-2 pt-1.5 border-t border-slate-800"><label class="${ssrRenderClass([((_a = __props.options.outputs) == null ? void 0 : _a.feed) !== false ? "bg-sky-500/10 border-sky-500/40 text-sky-200" : "bg-slate-950/50 border-slate-800 text-slate-500", "flex items-center gap-1.5 p-1.5 rounded-xl border text-[11px] cursor-pointer transition select-none"])}"><input type="checkbox"${ssrIncludeBooleanAttr(((_b = __props.options.outputs) == null ? void 0 : _b.feed) !== false) ? " checked" : ""} class="rounded text-sky-500 focus:ring-0 bg-slate-900 border-slate-700 w-3 h-3"><span class="font-bold">Feed 4:5</span></label><label class="${ssrRenderClass([((_c = __props.options.outputs) == null ? void 0 : _c.story) !== false ? "bg-indigo-500/10 border-indigo-500/40 text-indigo-200" : "bg-slate-950/50 border-slate-800 text-slate-500", "flex items-center gap-1.5 p-1.5 rounded-xl border text-[11px] cursor-pointer transition select-none"])}"><input type="checkbox"${ssrIncludeBooleanAttr(((_d = __props.options.outputs) == null ? void 0 : _d.story) !== false) ? " checked" : ""} class="rounded text-indigo-500 focus:ring-0 bg-slate-900 border-slate-700 w-3 h-3"><span class="font-bold">Story 9:16</span></label><label class="${ssrRenderClass([((_e = __props.options.outputs) == null ? void 0 : _e.reels) !== false ? "bg-emerald-500/10 border-emerald-500/40 text-emerald-200" : "bg-slate-950/50 border-slate-800 text-slate-500", "flex items-center gap-1.5 p-1.5 rounded-xl border text-[11px] cursor-pointer transition select-none"])}"><input type="checkbox"${ssrIncludeBooleanAttr(((_f = __props.options.outputs) == null ? void 0 : _f.reels) !== false) ? " checked" : ""} class="rounded text-emerald-500 focus:ring-0 bg-slate-900 border-slate-700 w-3 h-3"><span class="font-bold">Reels MP4</span></label></div></div><button${ssrIncludeBooleanAttr(!__props.isValid || __props.isGenerating || !!unref(jsonFormatError)) ? " disabled" : ""} class="${ssrRenderClass([[
|
|
149
|
+
!__props.isValid || __props.isGenerating || !!unref(jsonFormatError) ? "bg-slate-800 text-slate-500 cursor-not-allowed border border-slate-700" : "bg-gradient-to-r from-sky-500 via-blue-600 to-indigo-600 text-white hover:from-sky-400 hover:to-indigo-500 shadow-sky-500/25 active:scale-[0.99]"
|
|
150
|
+
], "w-full py-3 px-4 rounded-xl font-black text-xs tracking-wide shadow-xl transition flex items-center justify-center gap-2"])}">`);
|
|
151
|
+
if (__props.isGenerating) {
|
|
152
|
+
_push(ssrRenderComponent(unref(RefreshCw), { class: "w-3.5 h-3.5 animate-spin" }, null, _parent));
|
|
153
|
+
} else {
|
|
154
|
+
_push(ssrRenderComponent(unref(Play), { class: "w-3.5 h-3.5 fill-current" }, null, _parent));
|
|
155
|
+
}
|
|
156
|
+
_push(`<span>${ssrInterpolate(__props.isGenerating ? __props.generateStage || "Rendering Content..." : "GENERATE CONTENT")}</span></button></div>`);
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
161
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
162
|
+
const ssrContext = useSSRContext();
|
|
163
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/DashboardControls.vue");
|
|
164
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
165
|
+
};
|
|
166
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
167
|
+
__name: "LivePreview",
|
|
168
|
+
__ssrInlineRender: true,
|
|
169
|
+
props: {
|
|
170
|
+
data: {},
|
|
171
|
+
selectedVideo: {},
|
|
172
|
+
generatedResult: {}
|
|
173
|
+
},
|
|
174
|
+
setup(__props) {
|
|
175
|
+
const props = __props;
|
|
176
|
+
const activeVideoSrc = computed(() => {
|
|
177
|
+
if (props.selectedVideo && props.selectedVideo !== "pexels") {
|
|
178
|
+
return `/videos/${props.selectedVideo}`;
|
|
179
|
+
}
|
|
180
|
+
return "/videos/default_bg.mp4";
|
|
181
|
+
});
|
|
182
|
+
const activeTab = ref("feed");
|
|
183
|
+
const showSafeZones = ref(false);
|
|
184
|
+
const copied = ref(false);
|
|
185
|
+
const isOpeningFolder = ref(false);
|
|
186
|
+
const zoomScale = ref(1);
|
|
187
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
188
|
+
const _component_TableCard = _sfc_main$3;
|
|
189
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-3 h-full text-slate-100 min-h-0 justify-between" }, _attrs))}><div class="flex flex-wrap items-center justify-between gap-2 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg flex-shrink-0"><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs font-bold"><button class="${ssrRenderClass([unref(activeTab) === "feed" ? "bg-sky-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}"> Feed 4:5 </button><button class="${ssrRenderClass([unref(activeTab) === "story" ? "bg-indigo-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}"> Story 9:16 </button><button class="${ssrRenderClass([unref(activeTab) === "reels" ? "bg-emerald-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}"> Reels 9:16 (Video) </button></div><div class="flex items-center gap-2 text-xs"><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs shadow-inner"><button title="Zoom Out (-15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition">`);
|
|
190
|
+
_push(ssrRenderComponent(unref(ZoomOut), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
191
|
+
_push(`</button><button title="Klik untuk Reset Zoom (100% Fit)" class="px-2 py-0.5 rounded-lg text-[11px] font-bold text-sky-400 hover:bg-slate-800 hover:text-sky-300 transition font-mono min-w-[42px] text-center">${ssrInterpolate(Math.round(unref(zoomScale) * 100))}% </button><button title="Zoom In (+15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition">`);
|
|
192
|
+
_push(ssrRenderComponent(unref(ZoomIn), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
193
|
+
_push(`</button>`);
|
|
194
|
+
if (unref(zoomScale) !== 1) {
|
|
195
|
+
_push(`<button title="Reset ke Ukuran Pas" class="p-1.5 rounded-lg text-amber-400 hover:bg-slate-800 transition">`);
|
|
196
|
+
_push(ssrRenderComponent(unref(RotateCcw), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
197
|
+
_push(`</button>`);
|
|
198
|
+
} else {
|
|
199
|
+
_push(`<!---->`);
|
|
200
|
+
}
|
|
201
|
+
_push(`</div>`);
|
|
202
|
+
if (unref(activeTab) !== "feed") {
|
|
203
|
+
_push(`<button class="${ssrRenderClass([unref(showSafeZones) ? "bg-amber-500/20 text-amber-300 border-amber-500/50" : "bg-slate-950 text-slate-400 border-slate-800", "inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg border text-xs font-bold transition"])}">`);
|
|
204
|
+
_push(ssrRenderComponent(unref(ShieldAlert), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
205
|
+
_push(`<span>Safe Zones</span></button>`);
|
|
206
|
+
} else {
|
|
207
|
+
_push(`<!---->`);
|
|
208
|
+
}
|
|
209
|
+
_push(`</div></div><div class="relative flex-1 min-h-0 bg-slate-950/80 border border-slate-800/80 rounded-2xl flex items-center justify-center p-4 overflow-auto shadow-inner custom-scrollbar"><div class="transition-transform duration-200 ease-out origin-center flex-shrink-0" style="${ssrRenderStyle({ transform: `scale(${unref(zoomScale)})` })}">`);
|
|
210
|
+
if (unref(activeTab) === "feed") {
|
|
211
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:360px;height:450px;"><div style="width:1080px;height:1350px;transform:scale(0.333333);transform-origin:top left;">`);
|
|
212
|
+
_push(ssrRenderComponent(_component_TableCard, {
|
|
213
|
+
data: __props.data,
|
|
214
|
+
mode: "feed",
|
|
215
|
+
"is-render": true
|
|
216
|
+
}, null, _parent));
|
|
217
|
+
_push(`</div></div>`);
|
|
218
|
+
} else {
|
|
219
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:300px;height:533.33px;">`);
|
|
220
|
+
if (unref(activeTab) === "reels") {
|
|
221
|
+
_push(`<div class="absolute inset-0 z-0 bg-slate-950 overflow-hidden"><video autoplay loop muted playsinline class="w-full h-full object-cover brightness-90 contrast-105"${ssrRenderAttr("src", unref(activeVideoSrc))}></video><div class="absolute inset-0 bg-slate-950/30 backdrop-blur-[0.5px]"></div></div>`);
|
|
222
|
+
} else {
|
|
223
|
+
_push(`<!---->`);
|
|
224
|
+
}
|
|
225
|
+
_push(`<div class="relative z-10" style="width:1080px;height:1920px;transform:scale(0.277778);transform-origin:top left;">`);
|
|
226
|
+
_push(ssrRenderComponent(_component_TableCard, {
|
|
227
|
+
data: __props.data,
|
|
228
|
+
mode: unref(activeTab) === "reels" ? "overlay" : "story",
|
|
229
|
+
"is-render": true
|
|
230
|
+
}, null, _parent));
|
|
231
|
+
_push(`</div>`);
|
|
232
|
+
if (unref(showSafeZones)) {
|
|
233
|
+
_push(`<div class="absolute inset-0 z-20 pointer-events-none flex flex-col justify-between"><div class="h-14 bg-red-500/20 border-b border-dashed border-red-500/60 flex items-center justify-center text-[9px] text-red-200 font-bold tracking-wider"> TOP SAFE ZONE (Profile & Status) </div><div class="flex-1 flex justify-end p-2">`);
|
|
234
|
+
if (unref(activeTab) === "reels") {
|
|
235
|
+
_push(`<div class="w-10 bg-red-500/20 border-l border-dashed border-red-500/60 rounded flex flex-col items-center justify-center gap-3 text-[8px] text-red-200 py-3 text-center px-0.5 font-bold"><span>\u2764\uFE0F Like</span><span>\u{1F4AC} Comm</span><span>\u2197\uFE0F Share</span></div>`);
|
|
236
|
+
} else {
|
|
237
|
+
_push(`<!---->`);
|
|
238
|
+
}
|
|
239
|
+
_push(`</div><div class="h-20 bg-red-500/20 border-t border-dashed border-red-500/60 flex items-center justify-center text-[9px] text-red-200 font-bold tracking-wider"> BOTTOM SAFE ZONE (Caption & Audio) </div></div>`);
|
|
240
|
+
} else {
|
|
241
|
+
_push(`<!---->`);
|
|
242
|
+
}
|
|
243
|
+
_push(`</div>`);
|
|
244
|
+
}
|
|
245
|
+
_push(`</div></div><div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl p-3 gap-1.5 shadow-lg flex-shrink-0"><div class="flex items-center justify-between text-xs"><span class="font-extrabold text-slate-300 text-[11px]">VIRAL CAPTION & HASHTAGS</span><button class="inline-flex items-center gap-1.5 px-3 py-1 bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 rounded-lg transition text-[11px] font-bold">`);
|
|
246
|
+
if (unref(copied)) {
|
|
247
|
+
_push(ssrRenderComponent(unref(Check), { class: "w-3.5 h-3.5 text-emerald-400" }, null, _parent));
|
|
248
|
+
} else {
|
|
249
|
+
_push(ssrRenderComponent(unref(Copy), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
250
|
+
}
|
|
251
|
+
_push(`<span>${ssrInterpolate(unref(copied) ? "Tersalin!" : "Copy Caption")}</span></button></div><textarea rows="2" class="w-full bg-slate-950 text-slate-200 text-xs p-2.5 rounded-xl border border-slate-800 focus:outline-none focus:border-sky-500/50 resize-none leading-relaxed font-sans" placeholder="Caption will appear here...">${ssrInterpolate(__props.data.caption)}</textarea></div>`);
|
|
252
|
+
if (__props.generatedResult) {
|
|
253
|
+
_push(`<div class="flex flex-wrap items-center justify-between gap-2 p-3 bg-emerald-950/40 border border-emerald-500/40 rounded-2xl shadow-xl flex-shrink-0"><div><div class="flex items-center gap-2 text-xs font-black text-emerald-300">`);
|
|
254
|
+
_push(ssrRenderComponent(unref(Check), { class: "w-4 h-4 text-emerald-400" }, null, _parent));
|
|
255
|
+
_push(` Render Selesai (${ssrInterpolate((__props.generatedResult.durationMs / 1e3).toFixed(1))}s) </div><div class="text-[11px] text-slate-400 font-mono mt-0.5">${ssrInterpolate(__props.generatedResult.jobId)}</div></div><div class="flex items-center gap-2"><a${ssrRenderAttr("href", `/api/download?jobId=${__props.generatedResult.jobId}`)} download class="inline-flex items-center gap-1.5 px-4 py-2 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl text-xs font-black shadow-lg transition">`);
|
|
256
|
+
_push(ssrRenderComponent(unref(Download), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
257
|
+
_push(`<span>Download ZIP</span></a><button${ssrIncludeBooleanAttr(unref(isOpeningFolder)) ? " disabled" : ""} class="inline-flex items-center gap-1.5 px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-200 border border-slate-700 rounded-xl text-xs font-bold transition">`);
|
|
258
|
+
_push(ssrRenderComponent(unref(FolderOpen), { class: "w-3.5 h-3.5 text-amber-400" }, null, _parent));
|
|
259
|
+
_push(`<span>Open Folder</span></button></div></div>`);
|
|
260
|
+
} else {
|
|
261
|
+
_push(`<!---->`);
|
|
262
|
+
}
|
|
263
|
+
_push(`</div>`);
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
268
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
269
|
+
const ssrContext = useSSRContext();
|
|
270
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/LivePreview.vue");
|
|
271
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
272
|
+
};
|
|
273
|
+
const ComparisonRowSchema = z.object({
|
|
274
|
+
label: z.string().min(1).max(40),
|
|
275
|
+
left: z.string().min(1).max(35),
|
|
276
|
+
right: z.string().min(1).max(35)
|
|
277
|
+
});
|
|
278
|
+
const ContentDataSchema = z.object({
|
|
279
|
+
id: z.string().min(1),
|
|
280
|
+
category: z.string().optional().default("TECH"),
|
|
281
|
+
theme: z.enum(["blue-tech", "emerald-finance", "slate-education", "dark-contrast", "crimson-alert"]).default("blue-tech"),
|
|
282
|
+
layoutType: z.enum(["table", "news", "stat", "list", "quote", "versus", "receipt", "timeline", "barchart"]).default("table"),
|
|
283
|
+
title: z.string().min(1).max(65),
|
|
284
|
+
subtitle: z.string().min(1).max(80),
|
|
285
|
+
// Table layout fields (optional if other layouts)
|
|
286
|
+
leftHeader: z.string().optional().default("USA \u{1F1FA}\u{1F1F8}"),
|
|
287
|
+
rightHeader: z.string().optional().default("UK \u{1F1EC}\u{1F1E7}"),
|
|
288
|
+
rows: z.array(ComparisonRowSchema).optional().default([]),
|
|
289
|
+
// Breaking News / Pamphlet fields
|
|
290
|
+
bullets: z.array(z.object({
|
|
291
|
+
highlight: z.string().optional().default(""),
|
|
292
|
+
text: z.string().min(1)
|
|
293
|
+
})).optional().default([]),
|
|
294
|
+
// Big Stat Punch fields
|
|
295
|
+
bigStat: z.object({
|
|
296
|
+
number: z.string().default("$165,000"),
|
|
297
|
+
label: z.string().default("Average Compensation"),
|
|
298
|
+
subtext: z.string().optional().default(""),
|
|
299
|
+
secondaryNumber: z.string().optional().default(""),
|
|
300
|
+
secondaryLabel: z.string().optional().default("")
|
|
301
|
+
}).optional(),
|
|
302
|
+
// Ranked List fields
|
|
303
|
+
listItems: z.array(z.object({
|
|
304
|
+
rank: z.number(),
|
|
305
|
+
title: z.string(),
|
|
306
|
+
value: z.string(),
|
|
307
|
+
tag: z.string().optional().default("")
|
|
308
|
+
})).optional().default([]),
|
|
309
|
+
// Hot Take / Quote fields
|
|
310
|
+
quoteData: z.object({
|
|
311
|
+
quote: z.string(),
|
|
312
|
+
highlight: z.string().optional().default(""),
|
|
313
|
+
source: z.string().default("Industry Insider")
|
|
314
|
+
}).optional(),
|
|
315
|
+
// Head-to-Head Versus Arena fields
|
|
316
|
+
versusData: z.object({
|
|
317
|
+
leftEntity: z.string().optional(),
|
|
318
|
+
leftStats: z.array(z.object({ label: z.string(), value: z.string() })).optional(),
|
|
319
|
+
leftPerk: z.string().optional(),
|
|
320
|
+
rightEntity: z.string().optional(),
|
|
321
|
+
rightStats: z.array(z.object({ label: z.string(), value: z.string() })).optional(),
|
|
322
|
+
rightPerk: z.string().optional(),
|
|
323
|
+
verdict: z.string().optional()
|
|
324
|
+
}).optional(),
|
|
325
|
+
// Cost of Living Receipt / Paycheck Invoice fields
|
|
326
|
+
receiptData: z.object({
|
|
327
|
+
grossMonthly: z.string().optional(),
|
|
328
|
+
items: z.array(z.object({
|
|
329
|
+
label: z.string(),
|
|
330
|
+
amount: z.string(),
|
|
331
|
+
note: z.string().optional()
|
|
332
|
+
})).optional(),
|
|
333
|
+
totalDeductions: z.string().optional(),
|
|
334
|
+
netRemaining: z.string().optional()
|
|
335
|
+
}).optional(),
|
|
336
|
+
// Timeline / Then vs Now fields
|
|
337
|
+
timelineData: z.object({
|
|
338
|
+
pastYear: z.string().optional().default("2016"),
|
|
339
|
+
presentYear: z.string().optional().default("2026"),
|
|
340
|
+
items: z.array(z.object({
|
|
341
|
+
label: z.string(),
|
|
342
|
+
pastValue: z.string(),
|
|
343
|
+
presentValue: z.string(),
|
|
344
|
+
changeBadge: z.string().optional()
|
|
345
|
+
})).optional(),
|
|
346
|
+
bottomInsight: z.string().optional()
|
|
347
|
+
}).optional(),
|
|
348
|
+
// Bar Chart / Percentage Allocation fields
|
|
349
|
+
barchartData: z.array(z.object({
|
|
350
|
+
label: z.string(),
|
|
351
|
+
percentage: z.number().min(0).max(100),
|
|
352
|
+
amount: z.string().optional(),
|
|
353
|
+
tag: z.string().optional()
|
|
354
|
+
})).optional().default([]),
|
|
355
|
+
footerNote: z.string().optional().default("Industry Benchmark 2026"),
|
|
356
|
+
watermark: z.string().optional().default("@SocialGen"),
|
|
357
|
+
bgKeyword: z.string().optional().default("modern office coding night"),
|
|
358
|
+
reelsDuration: z.number().min(5).max(90).default(10),
|
|
359
|
+
caption: z.string().min(5)
|
|
360
|
+
});
|
|
361
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
362
|
+
__name: "index",
|
|
363
|
+
__ssrInlineRender: true,
|
|
364
|
+
setup(__props) {
|
|
365
|
+
const contentData = ref({
|
|
366
|
+
id: "news-us-germany-salary-divide-2026",
|
|
367
|
+
category: "TECH REPORT",
|
|
368
|
+
theme: "blue-tech",
|
|
369
|
+
layoutType: "news",
|
|
370
|
+
title: "THE $90,000 TRANSATLANTIC TECH DIVIDE",
|
|
371
|
+
subtitle: "United States \u{1F1FA}\u{1F1F8} vs Germany \u{1F1E9}\u{1F1EA} (2026 Real Purchasing Power)",
|
|
372
|
+
leftHeader: "USA \u{1F1FA}\u{1F1F8}",
|
|
373
|
+
rightHeader: "Germany \u{1F1E9}\u{1F1EA}",
|
|
374
|
+
rows: [
|
|
375
|
+
{ label: "Junior Dev", left: "$88,000/yr", right: "$52,000/yr" },
|
|
376
|
+
{ label: "Mid-Level", left: "$135,000/yr", right: "$75,000/yr" },
|
|
377
|
+
{ label: "Senior Lead", left: "$180,000/yr", right: "$98,000/yr" },
|
|
378
|
+
{ label: "Effective Tax", left: "24%", right: "42%" },
|
|
379
|
+
{ label: "Paid Vacation", left: "15 Days", right: "30 Days" }
|
|
380
|
+
],
|
|
381
|
+
bullets: [
|
|
382
|
+
{ highlight: "Gross Salary Lead", text: "American engineers take home up to 84% higher base compensation." },
|
|
383
|
+
{ highlight: "Work-Life Balance", text: "German labor laws guarantee 30 paid days off with zero expectation of after-hours Slack." },
|
|
384
|
+
{ highlight: "Healthcare Drag", text: "US health insurance deductibles and out-of-pocket costs eat up to $14,000/yr per family." }
|
|
385
|
+
],
|
|
386
|
+
bigStat: {
|
|
387
|
+
number: "$180,000",
|
|
388
|
+
label: "Senior Tech Base in California",
|
|
389
|
+
secondaryNumber: "$98,000",
|
|
390
|
+
secondaryLabel: "Munich Hub",
|
|
391
|
+
subtext: "The gap widens at senior level, but so does cost of childcare and housing inflation."
|
|
392
|
+
},
|
|
393
|
+
listItems: [
|
|
394
|
+
{ rank: 1, title: "Switzerland \u{1F1E8}\u{1F1ED}", value: "$145,000/yr", tag: "Top Net Pay" },
|
|
395
|
+
{ rank: 2, title: "United States \u{1F1FA}\u{1F1F8}", value: "$135,000/yr", tag: "Fast Growth" },
|
|
396
|
+
{ rank: 3, title: "Australia \u{1F1E6}\u{1F1FA}", value: "$98,000/yr", tag: "High Super" },
|
|
397
|
+
{ rank: 4, title: "Germany \u{1F1E9}\u{1F1EA}", value: "$84,000/yr", tag: "Pension Safety" },
|
|
398
|
+
{ rank: 5, title: "United Kingdom \u{1F1EC}\u{1F1E7}", value: "$72,000/yr", tag: "Flexible" }
|
|
399
|
+
],
|
|
400
|
+
quoteData: {
|
|
401
|
+
quote: "Chasing the American gross salary without calculating healthcare deductibles and 50-hour workweeks is the most common financial illusion in global tech.",
|
|
402
|
+
highlight: "most common financial illusion",
|
|
403
|
+
source: "Principal Tech Recruiter"
|
|
404
|
+
},
|
|
405
|
+
footerNote: "Source: Verified Industry Compensation Survey 2026",
|
|
406
|
+
watermark: "@SocialGen",
|
|
407
|
+
bgKeyword: "modern office coding night technology",
|
|
408
|
+
reelsDuration: 10,
|
|
409
|
+
caption: "Higher gross salary in the US or guaranteed 30 days off in Germany? Which lifestyle would you choose? Drop your vote below! \u{1F447} #techcareers #salary #softwareengineer #worklife"
|
|
410
|
+
});
|
|
411
|
+
const options = ref({
|
|
412
|
+
theme: "blue-tech",
|
|
413
|
+
backgroundSource: "pexels",
|
|
414
|
+
musicFile: "random",
|
|
415
|
+
outputs: {
|
|
416
|
+
feed: true,
|
|
417
|
+
story: true,
|
|
418
|
+
reels: true
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
const drafts = ref([]);
|
|
422
|
+
const activeDraftIndex = ref(-1);
|
|
423
|
+
function saveDraftsToStorage() {
|
|
424
|
+
try {
|
|
425
|
+
localStorage.setItem("sg_drafts", JSON.stringify(drafts.value));
|
|
426
|
+
} catch {
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
function handleSaveCurrentDraft() {
|
|
430
|
+
drafts.value.unshift(JSON.parse(JSON.stringify(contentData.value)));
|
|
431
|
+
activeDraftIndex.value = 0;
|
|
432
|
+
saveDraftsToStorage();
|
|
433
|
+
showToast("Draft berhasil disimpan!");
|
|
434
|
+
}
|
|
435
|
+
function handleSelectDraft(index) {
|
|
436
|
+
if (drafts.value[index]) {
|
|
437
|
+
contentData.value = JSON.parse(JSON.stringify(drafts.value[index]));
|
|
438
|
+
options.value.theme = contentData.value.theme;
|
|
439
|
+
activeDraftIndex.value = index;
|
|
440
|
+
showToast(`Memuat draft #${index + 1}`);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
function handleDeleteDraft(index) {
|
|
444
|
+
drafts.value.splice(index, 1);
|
|
445
|
+
if (activeDraftIndex.value === index) {
|
|
446
|
+
activeDraftIndex.value = -1;
|
|
447
|
+
}
|
|
448
|
+
saveDraftsToStorage();
|
|
449
|
+
}
|
|
450
|
+
const isGenerating = ref(false);
|
|
451
|
+
const isAutoTopicLoading = ref(false);
|
|
452
|
+
const generateStage = ref("");
|
|
453
|
+
const generatedResult = ref(null);
|
|
454
|
+
const toastMessage = ref("");
|
|
455
|
+
const toastType = ref("success");
|
|
456
|
+
const mobileTab = ref("editor");
|
|
457
|
+
const systemStatus = ref(null);
|
|
458
|
+
const validationState = computed(() => {
|
|
459
|
+
const res = ContentDataSchema.safeParse(contentData.value);
|
|
460
|
+
if (res.success) {
|
|
461
|
+
return { isValid: true, error: "" };
|
|
462
|
+
} else {
|
|
463
|
+
const firstErr = res.error.errors[0];
|
|
464
|
+
return {
|
|
465
|
+
isValid: false,
|
|
466
|
+
error: `${firstErr.path.join(".")}: ${firstErr.message}`
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
function showToast(msg, type = "success") {
|
|
471
|
+
toastMessage.value = msg;
|
|
472
|
+
toastType.value = type;
|
|
473
|
+
setTimeout(() => {
|
|
474
|
+
toastMessage.value = "";
|
|
475
|
+
}, 4e3);
|
|
476
|
+
}
|
|
477
|
+
async function handleAutoTopic(niche, layoutType, model) {
|
|
478
|
+
var _a;
|
|
479
|
+
isAutoTopicLoading.value = true;
|
|
480
|
+
generateStage.value = `AI Research (${model || "Gemini"})...`;
|
|
481
|
+
try {
|
|
482
|
+
const res = await $fetch("/api/auto-topic", {
|
|
483
|
+
method: "POST",
|
|
484
|
+
body: { niche, layoutType, model }
|
|
485
|
+
});
|
|
486
|
+
if (res == null ? void 0 : res.dataset) {
|
|
487
|
+
contentData.value = res.dataset;
|
|
488
|
+
options.value.theme = res.dataset.theme;
|
|
489
|
+
drafts.value.unshift(res.dataset);
|
|
490
|
+
activeDraftIndex.value = 0;
|
|
491
|
+
saveDraftsToStorage();
|
|
492
|
+
if (res.source === "gemini") {
|
|
493
|
+
showToast(`\u2728 [${res.modelUsed || "Gemini"}] Berhasil meriset: "${res.dataset.title.slice(0, 32)}..."`, "success");
|
|
494
|
+
} else {
|
|
495
|
+
showToast(`\u2139\uFE0F [Curated Data] Topik siap: "${res.dataset.title.slice(0, 32)}..."`, "success");
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
} catch (err) {
|
|
499
|
+
showToast("Gagal auto-topic: " + (((_a = err.data) == null ? void 0 : _a.statusMessage) || err.message), "error");
|
|
500
|
+
} finally {
|
|
501
|
+
isAutoTopicLoading.value = false;
|
|
502
|
+
generateStage.value = "";
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
async function handleGenerate() {
|
|
506
|
+
var _a;
|
|
507
|
+
if (!validationState.value.isValid) {
|
|
508
|
+
showToast("Data tidak valid: " + validationState.value.error, "error");
|
|
509
|
+
return;
|
|
510
|
+
}
|
|
511
|
+
isGenerating.value = true;
|
|
512
|
+
generateStage.value = "Rendering Images & Reels...";
|
|
513
|
+
generatedResult.value = null;
|
|
514
|
+
mobileTab.value = "preview";
|
|
515
|
+
try {
|
|
516
|
+
const res = await $fetch("/api/generate", {
|
|
517
|
+
method: "POST",
|
|
518
|
+
body: {
|
|
519
|
+
data: contentData.value,
|
|
520
|
+
options: options.value
|
|
521
|
+
}
|
|
522
|
+
});
|
|
523
|
+
if (res == null ? void 0 : res.success) {
|
|
524
|
+
generatedResult.value = res;
|
|
525
|
+
showToast(`Sukses dirender dalam ${(res.durationMs / 1e3).toFixed(1)} detik!`);
|
|
526
|
+
}
|
|
527
|
+
} catch (err) {
|
|
528
|
+
showToast("Gagal render: " + (((_a = err.data) == null ? void 0 : _a.statusMessage) || err.message), "error");
|
|
529
|
+
} finally {
|
|
530
|
+
isGenerating.value = false;
|
|
531
|
+
generateStage.value = "";
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
535
|
+
var _a;
|
|
536
|
+
const _component_DashboardControls = _sfc_main$2;
|
|
537
|
+
const _component_LivePreview = _sfc_main$1;
|
|
538
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "h-screen w-screen bg-slate-950 text-slate-100 flex flex-col font-sans selection:bg-sky-500 selection:text-white overflow-hidden" }, _attrs))}><header class="h-14 flex-shrink-0 border-b border-slate-800/80 bg-slate-900/60 backdrop-blur sticky top-0 z-30 px-3 sm:px-6 flex items-center justify-between"><div class="flex items-center gap-2.5 sm:gap-3"><div class="w-8 h-8 rounded-xl bg-gradient-to-tr from-sky-500 via-indigo-600 to-purple-600 flex items-center justify-center font-black text-white shadow-md shadow-sky-500/20 text-xs"> SG </div><div><h1 class="text-sm font-extrabold tracking-tight text-white flex items-center gap-1.5 sm:gap-2"> SocialGen <span class="text-[9px] sm:text-[10px] font-bold px-2 py-0.5 rounded-full bg-slate-800 text-slate-300 border border-slate-700"> v2.0 </span></h1></div></div><div class="flex items-center gap-2 sm:gap-3 text-xs">`);
|
|
539
|
+
if ((_a = unref(systemStatus)) == null ? void 0 : _a.geminiActive) {
|
|
540
|
+
_push(`<span class="px-2.5 py-0.5 sm:py-1 rounded-full bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 font-semibold text-[10px] sm:text-[11px]"> \u25CF AI Connected </span>`);
|
|
541
|
+
} else {
|
|
542
|
+
_push(`<span class="px-2.5 py-0.5 sm:py-1 rounded-full bg-slate-800 text-slate-400 border border-slate-700 font-semibold text-[10px] sm:text-[11px]"> \u25CF Local Engine </span>`);
|
|
543
|
+
}
|
|
544
|
+
_push(`</div></header><div class="lg:hidden flex items-center justify-center px-3 py-2 bg-slate-900/90 border-b border-slate-800 flex-shrink-0"><div class="grid grid-cols-2 w-full max-w-sm bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs font-bold shadow-inner"><button class="${ssrRenderClass([unref(mobileTab) === "editor" ? "bg-sky-500 text-white shadow-md font-black" : "text-slate-400 hover:text-slate-200", "py-1.5 px-3 rounded-lg transition flex items-center justify-center gap-1.5"])}"><span>\u2699\uFE0F Studio & Editor</span></button><button class="${ssrRenderClass([unref(mobileTab) === "preview" ? "bg-indigo-600 text-white shadow-md font-black" : "text-slate-400 hover:text-slate-200", "py-1.5 px-3 rounded-lg transition flex items-center justify-center gap-1.5"])}"><span>\u{1F441}\uFE0F Live Preview</span>`);
|
|
545
|
+
if (unref(generatedResult)) {
|
|
546
|
+
_push(`<span class="w-2 h-2 rounded-full bg-emerald-400 animate-ping"></span>`);
|
|
547
|
+
} else {
|
|
548
|
+
_push(`<!---->`);
|
|
549
|
+
}
|
|
550
|
+
_push(`</button></div></div>`);
|
|
551
|
+
if (unref(toastMessage)) {
|
|
552
|
+
_push(`<div class="${ssrRenderClass([unref(toastType) === "success" ? "bg-emerald-950 text-emerald-200 border-emerald-500/50" : "bg-rose-950 text-rose-200 border-rose-500/50", "fixed bottom-6 right-6 z-50 flex items-center gap-2 px-4 py-3 rounded-2xl shadow-2xl text-xs font-bold border transition-all animate-bounce"])}"><span>${ssrInterpolate(unref(toastMessage))}</span></div>`);
|
|
553
|
+
} else {
|
|
554
|
+
_push(`<!---->`);
|
|
555
|
+
}
|
|
556
|
+
_push(`<main class="flex-1 w-full max-w-[1720px] mx-auto p-2 sm:p-4 grid grid-cols-1 lg:grid-cols-12 gap-4 overflow-hidden min-h-0"><section class="${ssrRenderClass([unref(mobileTab) === "editor" ? "flex" : "hidden lg:flex", "lg:col-span-5 h-full overflow-y-auto pr-1 flex-col gap-3 custom-scrollbar"])}">`);
|
|
557
|
+
_push(ssrRenderComponent(_component_DashboardControls, {
|
|
558
|
+
modelValue: unref(contentData),
|
|
559
|
+
"onUpdate:modelValue": ($event) => isRef(contentData) ? contentData.value = $event : null,
|
|
560
|
+
options: unref(options),
|
|
561
|
+
"onUpdate:options": ($event) => isRef(options) ? options.value = $event : null,
|
|
562
|
+
"is-valid": unref(validationState).isValid,
|
|
563
|
+
"validation-error": unref(validationState).error,
|
|
564
|
+
"is-generating": unref(isGenerating),
|
|
565
|
+
"generate-stage": unref(generateStage),
|
|
566
|
+
"is-auto-topic-loading": unref(isAutoTopicLoading),
|
|
567
|
+
drafts: unref(drafts),
|
|
568
|
+
"active-draft-index": unref(activeDraftIndex),
|
|
569
|
+
onGenerate: handleGenerate,
|
|
570
|
+
onAutoTopic: handleAutoTopic,
|
|
571
|
+
onSelectDraft: handleSelectDraft,
|
|
572
|
+
onDeleteDraft: handleDeleteDraft,
|
|
573
|
+
onSaveDraft: handleSaveCurrentDraft
|
|
574
|
+
}, null, _parent));
|
|
575
|
+
_push(`</section><section class="${ssrRenderClass([unref(mobileTab) === "preview" ? "flex" : "hidden lg:flex", "lg:col-span-7 h-full flex-col gap-3 overflow-hidden justify-between min-h-0"])}">`);
|
|
576
|
+
_push(ssrRenderComponent(_component_LivePreview, {
|
|
577
|
+
data: unref(contentData),
|
|
578
|
+
"selected-video": unref(options).backgroundSource,
|
|
579
|
+
"generated-result": unref(generatedResult)
|
|
580
|
+
}, null, _parent));
|
|
581
|
+
_push(`</section></main>`);
|
|
582
|
+
if (unref(mobileTab) === "editor") {
|
|
583
|
+
_push(`<button class="lg:hidden fixed bottom-5 left-1/2 -translate-x-1/2 z-40 px-5 py-2.5 rounded-full bg-gradient-to-r from-sky-500 to-indigo-600 text-white font-extrabold text-xs shadow-2xl border border-sky-400/40 flex items-center gap-2 hover:opacity-95"><span>\u{1F441}\uFE0F Lihat Preview Canvas</span></button>`);
|
|
584
|
+
} else {
|
|
585
|
+
_push(`<!---->`);
|
|
586
|
+
}
|
|
587
|
+
_push(`</div>`);
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
const _sfc_setup = _sfc_main.setup;
|
|
592
|
+
_sfc_main.setup = (props, ctx) => {
|
|
593
|
+
const ssrContext = useSSRContext();
|
|
594
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/index.vue");
|
|
595
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
export { _sfc_main as default };
|
|
599
|
+
//# sourceMappingURL=pages-BIiRN2UV.mjs.map
|