renovate-log-parser 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +402 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +30 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/analyze.d.ts +24 -0
- package/dist/commands/analyze.js +114 -0
- package/dist/commands/analyze.js.map +1 -0
- package/dist/commands/detect-errors.d.ts +17 -0
- package/dist/commands/detect-errors.js +119 -0
- package/dist/commands/detect-errors.js.map +1 -0
- package/dist/commands/install-analyze-skill.d.ts +27 -0
- package/dist/commands/install-analyze-skill.js +181 -0
- package/dist/commands/install-analyze-skill.js.map +1 -0
- package/dist/commands/web.d.ts +12 -0
- package/dist/commands/web.js +103 -0
- package/dist/commands/web.js.map +1 -0
- package/dist/core/analyzer.d.ts +89 -0
- package/dist/core/analyzer.js +179 -0
- package/dist/core/analyzer.js.map +1 -0
- package/dist/core/error-detector.d.ts +56 -0
- package/dist/core/error-detector.js +236 -0
- package/dist/core/error-detector.js.map +1 -0
- package/dist/core/filters.d.ts +136 -0
- package/dist/core/filters.js +95 -0
- package/dist/core/filters.js.map +1 -0
- package/dist/core/ignore-file.d.ts +52 -0
- package/dist/core/ignore-file.js +104 -0
- package/dist/core/ignore-file.js.map +1 -0
- package/dist/core/levels.d.ts +33 -0
- package/dist/core/levels.js +35 -0
- package/dist/core/levels.js.map +1 -0
- package/dist/core/parser.d.ts +57 -0
- package/dist/core/parser.js +201 -0
- package/dist/core/parser.js.map +1 -0
- package/dist/core/query-builder.d.ts +47 -0
- package/dist/core/query-builder.js +155 -0
- package/dist/core/query-builder.js.map +1 -0
- package/dist/core/skill-template.d.ts +34 -0
- package/dist/core/skill-template.js +259 -0
- package/dist/core/skill-template.js.map +1 -0
- package/package.json +68 -0
- package/web/.output/nitro.json +15 -0
- package/web/.output/public/_fonts/57NSSoFy1VLVs2gqly8Ls9awBnZMFyXGrefpmqvdqmc-zJfbBtpgM4cDmcXBsqZNW79_kFnlpPd62b48glgdydA.woff2 +0 -0
- package/web/.output/public/_fonts/8VR2wSMN-3U4NbWAVYXlkRV6hA0jFBXP-0RtL3X7fko-x2gYI4qfmkRdxyQQUPaBZdZdgl1TeVrquF_TxHeM4lM.woff2 +0 -0
- package/web/.output/public/_fonts/GsKUclqeNLJ96g5AU593ug6yanivOiwjW_7zESNPChw-jHA4tBeM1bjF7LATGUpfBuSTyomIFrWBTzjF7txVYfg.woff2 +0 -0
- package/web/.output/public/_fonts/Ld1FnTo3yTIwDyGfTQ5-Fws9AWsCbKfMvgxduXr7JcY-W25bL8NF1fjpLRSOgJb7RoZPHqGQNwMTM7S9tHVoxx8.woff2 +0 -0
- package/web/.output/public/_fonts/NdzqRASp2bovDUhQT1IRE_EMqKJ2KYQdTCfFcBvL8yw-KhwZiS86o3fErOe5GGMExHUemmI_dBfaEFxjISZrBd0.woff2 +0 -0
- package/web/.output/public/_fonts/iTkrULNFJJkTvihIg1Vqi5IODRH_9btXCioVF5l98I8-AndUyau2HR2felA_ra8V2mutQgschhasE5FD1dXGJX8.woff2 +0 -0
- package/web/.output/public/_nuxt/BWja8e3M.js +37 -0
- package/web/.output/public/_nuxt/BgApMHS1.js +1 -0
- package/web/.output/public/_nuxt/CGPWRqbc.js +1 -0
- package/web/.output/public/_nuxt/DlAUqK2U.js +1 -0
- package/web/.output/public/_nuxt/Sgtec1U0.js +1 -0
- package/web/.output/public/_nuxt/builds/latest.json +1 -0
- package/web/.output/public/_nuxt/builds/meta/c4723e49-0623-47af-ae79-9ab6428bdcc1.json +1 -0
- package/web/.output/public/_nuxt/entry.9mB-pyEY.css +1 -0
- package/web/.output/public/_nuxt/error-404.B_PvSG-P.css +1 -0
- package/web/.output/public/_nuxt/error-500.CghkKCEr.css +1 -0
- package/web/.output/public/_nuxt/index.BlvAG7F6.css +1 -0
- package/web/.output/public/favicon.ico +0 -0
- package/web/.output/server/chunks/_/error-500.mjs +19 -0
- package/web/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/web/.output/server/chunks/_/icons.mjs +6153 -0
- package/web/.output/server/chunks/_/icons.mjs.map +1 -0
- package/web/.output/server/chunks/_/icons2.mjs +11494 -0
- package/web/.output/server/chunks/_/icons2.mjs.map +1 -0
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/web/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/web/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs +106 -0
- package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs +8 -0
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs +89 -0
- package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs +8 -0
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs.map +1 -0
- package/web/.output/server/chunks/build/index-88dXYOxO.mjs +19675 -0
- package/web/.output/server/chunks/build/index-88dXYOxO.mjs.map +1 -0
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs +8 -0
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs.map +1 -0
- package/web/.output/server/chunks/build/server.mjs +7910 -0
- package/web/.output/server/chunks/build/server.mjs.map +1 -0
- package/web/.output/server/chunks/build/styles.mjs +10 -0
- package/web/.output/server/chunks/build/styles.mjs.map +1 -0
- package/web/.output/server/chunks/nitro/nitro.mjs +6944 -0
- package/web/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/fields.get.mjs +27 -0
- package/web/.output/server/chunks/routes/api/fields.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/findings.get.mjs +30 -0
- package/web/.output/server/chunks/routes/api/findings.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs +29 -0
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/log/path.post.mjs +30 -0
- package/web/.output/server/chunks/routes/api/log/path.post.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/repositories.get.mjs +27 -0
- package/web/.output/server/chunks/routes/api/repositories.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/rows.get.mjs +48 -0
- package/web/.output/server/chunks/routes/api/rows.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/renderer.mjs +451 -0
- package/web/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/web/.output/server/index.mjs +16 -0
- package/web/.output/server/index.mjs.map +1 -0
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +290 -0
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
- package/web/.output/server/node_modules/@babel/parser/lib/index.js +14599 -0
- package/web/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/web/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1038 -0
- package/web/.output/server/node_modules/@floating-ui/core/package.json +63 -0
- package/web/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +789 -0
- package/web/.output/server/node_modules/@floating-ui/dom/package.json +72 -0
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +165 -0
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +136 -0
- package/web/.output/server/node_modules/@floating-ui/utils/package.json +70 -0
- package/web/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +190 -0
- package/web/.output/server/node_modules/@floating-ui/vue/package.json +71 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
- package/web/.output/server/node_modules/@iconify/utils/package.json +119 -0
- package/web/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1896 -0
- package/web/.output/server/node_modules/@iconify/vue/package.json +62 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +1268 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +34 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +74 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/package.json +56 -0
- package/web/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +66 -0
- package/web/.output/server/node_modules/@tanstack/vue-virtual/package.json +68 -0
- package/web/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6759 -0
- package/web/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/web/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/web/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/web/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/web/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/web/.output/server/node_modules/@vue/devtools-api/dist/index.js +2 -0
- package/web/.output/server/node_modules/@vue/devtools-api/package.json +34 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/dist/index.js +5670 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/dist/index.mjs +290 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/package.json +49 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
- package/web/.output/server/node_modules/@vue/devtools-shared/dist/index.js +239 -0
- package/web/.output/server/node_modules/@vue/devtools-shared/package.json +33 -0
- package/web/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1899 -0
- package/web/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/web/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6940 -0
- package/web/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/web/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1822 -0
- package/web/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/web/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +896 -0
- package/web/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/web/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/web/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/web/.output/server/node_modules/@vueuse/core/dist/index.js +8464 -0
- package/web/.output/server/node_modules/@vueuse/core/package.json +49 -0
- package/web/.output/server/node_modules/@vueuse/shared/dist/index.js +2013 -0
- package/web/.output/server/node_modules/@vueuse/shared/package.json +42 -0
- package/web/.output/server/node_modules/aria-hidden/dist/es5/index.js +174 -0
- package/web/.output/server/node_modules/aria-hidden/package.json +71 -0
- package/web/.output/server/node_modules/birpc/dist/index.mjs +291 -0
- package/web/.output/server/node_modules/birpc/package.json +57 -0
- package/web/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/web/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/web/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/web/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/web/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/web/.output/server/node_modules/consola/package.json +136 -0
- package/web/.output/server/node_modules/devalue/index.js +4 -0
- package/web/.output/server/node_modules/devalue/package.json +40 -0
- package/web/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/web/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/web/.output/server/node_modules/devalue/src/parse.js +283 -0
- package/web/.output/server/node_modules/devalue/src/stringify.js +401 -0
- package/web/.output/server/node_modules/devalue/src/uneval.js +552 -0
- package/web/.output/server/node_modules/devalue/src/utils.js +160 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/web/.output/server/node_modules/entities/package.json +120 -0
- package/web/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/web/.output/server/node_modules/estree-walker/package.json +37 -0
- package/web/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/hookable/package.json +53 -0
- package/web/.output/server/node_modules/nostics/dist/index.mjs +179 -0
- package/web/.output/server/node_modules/nostics/package.json +124 -0
- package/web/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
- package/web/.output/server/node_modules/perfect-debounce/package.json +41 -0
- package/web/.output/server/node_modules/rou3/dist/index.mjs +501 -0
- package/web/.output/server/node_modules/rou3/package.json +48 -0
- package/web/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/web/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/web/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/web/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/web/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/web/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/web/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/web/.output/server/node_modules/source-map-js/package.json +71 -0
- package/web/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_body-limit.mjs +39 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_plugins.mjs +56 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_trust-proxy.mjs +58 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_url.mjs +134 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils.mjs +15 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils2.mjs +75 -0
- package/web/.output/server/node_modules/srvx/dist/adapters/node.mjs +976 -0
- package/web/.output/server/node_modules/srvx/package.json +102 -0
- package/web/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +3365 -0
- package/web/.output/server/node_modules/tailwind-merge/package.json +93 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +112 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +269 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/index.js +38 -0
- package/web/.output/server/node_modules/tailwind-variants/package.json +122 -0
- package/web/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
- package/web/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/web/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/web/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/web/.output/server/node_modules/ufo/package.json +48 -0
- package/web/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/web/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/web/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/web/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/web/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +207 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +182 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +44 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +166 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/web/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/web/.output/server/node_modules/unhead/node_modules/hookable/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/unhead/node_modules/hookable/package.json +53 -0
- package/web/.output/server/node_modules/unhead/package.json +105 -0
- package/web/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/web/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/web/.output/server/node_modules/vue/index.js +7 -0
- package/web/.output/server/node_modules/vue/index.mjs +1 -0
- package/web/.output/server/node_modules/vue/package.json +112 -0
- package/web/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/web/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +249 -0
- package/web/.output/server/node_modules/vue-bundle-renderer/package.json +57 -0
- package/web/.output/server/node_modules/vue-demi/lib/index.mjs +34 -0
- package/web/.output/server/node_modules/vue-demi/package.json +47 -0
- package/web/.output/server/node_modules/vue-router/dist/devtools-Bpr7ZAVB.js +1056 -0
- package/web/.output/server/node_modules/vue-router/dist/useApi-CROJJdhE.js +436 -0
- package/web/.output/server/node_modules/vue-router/dist/vue-router.js +1543 -0
- package/web/.output/server/node_modules/vue-router/package.json +214 -0
- package/web/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/web/.output/server/package.json +51 -0
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'vue-bundle-renderer/runtime';
|
|
2
|
+
import { k as buildAssetsURL, m as publicAssetsURL, u as useRuntimeConfig, n as encodePath, o as defineRenderHandler, q as getQuery, s as createError, v as destr, w as getRouteRules, x as getResponseStatusText, y as getResponseStatus, z as useNitroApp } from '../nitro/nitro.mjs';
|
|
3
|
+
import { renderToString } from 'vue/server-renderer';
|
|
4
|
+
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
|
5
|
+
import { stringify, uneval } from 'devalue';
|
|
6
|
+
import { FlatMetaPlugin } from 'unhead/plugins';
|
|
7
|
+
import { walkResolver } from 'unhead/utils';
|
|
8
|
+
import { isRef, toValue, hasInjectionContext, inject, ref, watchEffect, getCurrentInstance, onBeforeUnmount, onDeactivated, onActivated } from 'vue';
|
|
9
|
+
|
|
10
|
+
const VueResolver = (_, value) => {
|
|
11
|
+
return isRef(value) ? toValue(value) : value;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const headSymbol = "usehead";
|
|
15
|
+
// @__NO_SIDE_EFFECTS__
|
|
16
|
+
function vueInstall(head) {
|
|
17
|
+
const plugin = {
|
|
18
|
+
install(app) {
|
|
19
|
+
app.config.globalProperties.$unhead = head;
|
|
20
|
+
app.config.globalProperties.$head = head;
|
|
21
|
+
app.provide(headSymbol, head);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return plugin.install;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// @__NO_SIDE_EFFECTS__
|
|
28
|
+
function injectHead() {
|
|
29
|
+
if (hasInjectionContext()) {
|
|
30
|
+
const instance = inject(headSymbol);
|
|
31
|
+
if (instance) {
|
|
32
|
+
return instance;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
36
|
+
}
|
|
37
|
+
function useHead(input, options = {}) {
|
|
38
|
+
const head = options.head || /* @__PURE__ */ injectHead();
|
|
39
|
+
return head.ssr ? head.push(input || {}, options) : clientUseHead(head, input, options);
|
|
40
|
+
}
|
|
41
|
+
function clientUseHead(head, input, options = {}) {
|
|
42
|
+
const deactivated = ref(false);
|
|
43
|
+
let entry;
|
|
44
|
+
watchEffect(() => {
|
|
45
|
+
const i = deactivated.value ? {} : walkResolver(input, VueResolver);
|
|
46
|
+
if (entry) {
|
|
47
|
+
entry.patch(i);
|
|
48
|
+
} else {
|
|
49
|
+
entry = head.push(i, options);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const vm = getCurrentInstance();
|
|
53
|
+
if (vm) {
|
|
54
|
+
onBeforeUnmount(() => {
|
|
55
|
+
entry.dispose();
|
|
56
|
+
});
|
|
57
|
+
onDeactivated(() => {
|
|
58
|
+
deactivated.value = true;
|
|
59
|
+
});
|
|
60
|
+
onActivated(() => {
|
|
61
|
+
deactivated.value = false;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return entry;
|
|
65
|
+
}
|
|
66
|
+
function useSeoMeta(input = {}, options = {}) {
|
|
67
|
+
const head = options.head || /* @__PURE__ */ injectHead();
|
|
68
|
+
head.use(FlatMetaPlugin);
|
|
69
|
+
const { title, titleTemplate, ...meta } = input;
|
|
70
|
+
return useHead({
|
|
71
|
+
title,
|
|
72
|
+
titleTemplate,
|
|
73
|
+
_flatMeta: meta
|
|
74
|
+
}, options);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @__NO_SIDE_EFFECTS__
|
|
78
|
+
function createHead(options = {}) {
|
|
79
|
+
const head = createHead$1({
|
|
80
|
+
...options,
|
|
81
|
+
propResolvers: [VueResolver]
|
|
82
|
+
});
|
|
83
|
+
head.install = vueInstall(head);
|
|
84
|
+
return head;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const NUXT_RUNTIME_PAYLOAD_EXTRACTION = false;
|
|
88
|
+
|
|
89
|
+
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[],"style":[],"script":[],"noscript":[]};
|
|
90
|
+
|
|
91
|
+
const appRootTag = "div";
|
|
92
|
+
|
|
93
|
+
const appRootAttrs = {"id":"__nuxt","class":"isolate"};
|
|
94
|
+
|
|
95
|
+
const appTeleportTag = "div";
|
|
96
|
+
|
|
97
|
+
const appTeleportAttrs = {"id":"teleports"};
|
|
98
|
+
|
|
99
|
+
const appSpaLoaderTag = "div";
|
|
100
|
+
|
|
101
|
+
const appSpaLoaderAttrs = {"id":"__nuxt-loader"};
|
|
102
|
+
|
|
103
|
+
const appId = "nuxt-app";
|
|
104
|
+
|
|
105
|
+
// @ts-expect-error private property consumed by vite-generated url helpers
|
|
106
|
+
globalThis.__buildAssetsURL = buildAssetsURL;
|
|
107
|
+
// @ts-expect-error private property consumed by vite-generated url helpers
|
|
108
|
+
globalThis.__publicAssetsURL = publicAssetsURL;
|
|
109
|
+
const APP_ROOT_OPEN_TAG = `<${appRootTag}${propsToString(appRootAttrs)}>`;
|
|
110
|
+
const APP_ROOT_CLOSE_TAG = `</${appRootTag}>`;
|
|
111
|
+
// @ts-expect-error file will be produced after app build
|
|
112
|
+
const getServerEntry = () => import('../build/server.mjs').then((r) => r.default || r);
|
|
113
|
+
// @ts-expect-error file will be produced after app build
|
|
114
|
+
const getPrecomputedDependencies = () => import('../build/client.precomputed.mjs').then((r) => r.default || r).then((r) => typeof r === "function" ? r() : r);
|
|
115
|
+
|
|
116
|
+
const getSSRRenderer = lazyCachedFunction(async () => {
|
|
117
|
+
|
|
118
|
+
const createSSRApp = await getServerEntry();
|
|
119
|
+
if (!createSSRApp) {
|
|
120
|
+
throw new Error("Server bundle is not available");
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const precomputed = await getPrecomputedDependencies();
|
|
124
|
+
|
|
125
|
+
const renderer = createRenderer(createSSRApp, {
|
|
126
|
+
precomputed,
|
|
127
|
+
manifest: undefined,
|
|
128
|
+
renderToString: renderToString$1,
|
|
129
|
+
buildAssetsURL
|
|
130
|
+
});
|
|
131
|
+
async function renderToString$1(input, context) {
|
|
132
|
+
const html = await renderToString(input, context);
|
|
133
|
+
return APP_ROOT_OPEN_TAG + html + APP_ROOT_CLOSE_TAG;
|
|
134
|
+
}
|
|
135
|
+
return renderer;
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
const getSPARenderer = lazyCachedFunction(async () => {
|
|
139
|
+
const precomputed = await getPrecomputedDependencies();
|
|
140
|
+
// @ts-expect-error virtual file
|
|
141
|
+
const spaTemplate = await import('../virtual/_virtual_spa-template.mjs').then((r) => r.template).catch(() => "").then((r) => {
|
|
142
|
+
{
|
|
143
|
+
const APP_SPA_LOADER_OPEN_TAG = `<${appSpaLoaderTag}${propsToString(appSpaLoaderAttrs)}>`;
|
|
144
|
+
const APP_SPA_LOADER_CLOSE_TAG = `</${appSpaLoaderTag}>`;
|
|
145
|
+
const appTemplate = APP_ROOT_OPEN_TAG + APP_ROOT_CLOSE_TAG;
|
|
146
|
+
const loaderTemplate = r ? APP_SPA_LOADER_OPEN_TAG + r + APP_SPA_LOADER_CLOSE_TAG : "";
|
|
147
|
+
return appTemplate + loaderTemplate;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
const renderer = createRenderer(() => () => {}, {
|
|
152
|
+
precomputed,
|
|
153
|
+
manifest: undefined,
|
|
154
|
+
renderToString: () => spaTemplate,
|
|
155
|
+
buildAssetsURL
|
|
156
|
+
});
|
|
157
|
+
const result = await renderer.renderToString({});
|
|
158
|
+
const renderToString = (ssrContext) => {
|
|
159
|
+
const config = useRuntimeConfig(ssrContext.event);
|
|
160
|
+
ssrContext.modules ||= new Set();
|
|
161
|
+
ssrContext.payload.serverRendered = false;
|
|
162
|
+
ssrContext.config = {
|
|
163
|
+
public: config.public,
|
|
164
|
+
app: config.app
|
|
165
|
+
};
|
|
166
|
+
return Promise.resolve(result);
|
|
167
|
+
};
|
|
168
|
+
return {
|
|
169
|
+
rendererContext: renderer.rendererContext,
|
|
170
|
+
renderToString
|
|
171
|
+
};
|
|
172
|
+
});
|
|
173
|
+
function lazyCachedFunction(fn) {
|
|
174
|
+
let res = null;
|
|
175
|
+
return () => {
|
|
176
|
+
if (res === null) {
|
|
177
|
+
res = fn().catch((err) => {
|
|
178
|
+
res = null;
|
|
179
|
+
throw err;
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
return res;
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function getRenderer(ssrContext) {
|
|
186
|
+
return ssrContext.noSSR ? getSPARenderer() : getSSRRenderer();
|
|
187
|
+
}
|
|
188
|
+
// @ts-expect-error file will be produced after app build
|
|
189
|
+
const getSSRStyles = lazyCachedFunction(() => import('../build/styles.mjs').then((r) => r.default || r));
|
|
190
|
+
|
|
191
|
+
function renderPayloadJsonScript(opts) {
|
|
192
|
+
const contents = opts.data ? encodeForwardSlashes(stringify(opts.data, opts.ssrContext["~payloadReducers"])) : "";
|
|
193
|
+
const payload = {
|
|
194
|
+
"type": "application/json",
|
|
195
|
+
"innerHTML": contents,
|
|
196
|
+
"data-nuxt-data": appId,
|
|
197
|
+
"data-ssr": !(opts.ssrContext.noSSR)
|
|
198
|
+
};
|
|
199
|
+
{
|
|
200
|
+
payload.id = "__NUXT_DATA__";
|
|
201
|
+
}
|
|
202
|
+
if (opts.src) {
|
|
203
|
+
payload["data-src"] = opts.src;
|
|
204
|
+
}
|
|
205
|
+
const config = uneval(opts.ssrContext.config);
|
|
206
|
+
return [payload, { innerHTML: `window.__NUXT__={};window.__NUXT__.config=${config}` }];
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function encodeForwardSlashes(str) {
|
|
210
|
+
return str.replaceAll("/", "\\u002F");
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const unheadOptions = {
|
|
214
|
+
disableDefaults: true,
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
function encodeEventPath(path) {
|
|
218
|
+
const queryIndex = path.indexOf("?");
|
|
219
|
+
if (queryIndex === -1) {
|
|
220
|
+
return encodePath(path);
|
|
221
|
+
}
|
|
222
|
+
return encodePath(path.slice(0, queryIndex)) + path.slice(queryIndex);
|
|
223
|
+
}
|
|
224
|
+
function createSSRContext(event) {
|
|
225
|
+
const url = encodeEventPath(event.path);
|
|
226
|
+
const ssrContext = {
|
|
227
|
+
url,
|
|
228
|
+
event,
|
|
229
|
+
runtimeConfig: useRuntimeConfig(event),
|
|
230
|
+
noSSR: event.context.nuxt?.noSSR || (false),
|
|
231
|
+
head: createHead(unheadOptions),
|
|
232
|
+
error: false,
|
|
233
|
+
nuxt: undefined,
|
|
234
|
+
payload: {},
|
|
235
|
+
["~payloadReducers"]: Object.create(null),
|
|
236
|
+
modules: new Set()
|
|
237
|
+
};
|
|
238
|
+
return ssrContext;
|
|
239
|
+
}
|
|
240
|
+
function setSSRError(ssrContext, error) {
|
|
241
|
+
ssrContext.error = true;
|
|
242
|
+
ssrContext.payload = { error };
|
|
243
|
+
ssrContext.url = error.url;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
async function renderInlineStyles(usedModules) {
|
|
247
|
+
const styleMap = await getSSRStyles();
|
|
248
|
+
const inlinedStyles = new Set();
|
|
249
|
+
for (const mod of usedModules) {
|
|
250
|
+
if (mod in styleMap && styleMap[mod]) {
|
|
251
|
+
for (const style of await styleMap[mod]()) {
|
|
252
|
+
inlinedStyles.add(style);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return Array.from(inlinedStyles).map((style) => ({ innerHTML: style }));
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const renderSSRHeadOptions = {"omitLineBreaks":true};
|
|
260
|
+
|
|
261
|
+
const entryIds = [];
|
|
262
|
+
|
|
263
|
+
// @ts-expect-error private property consumed by vite-generated url helpers
|
|
264
|
+
globalThis.__buildAssetsURL = buildAssetsURL;
|
|
265
|
+
// @ts-expect-error private property consumed by vite-generated url helpers
|
|
266
|
+
globalThis.__publicAssetsURL = publicAssetsURL;
|
|
267
|
+
const HAS_APP_TELEPORTS = !!(appTeleportAttrs.id);
|
|
268
|
+
const APP_TELEPORT_OPEN_TAG = HAS_APP_TELEPORTS ? `<${appTeleportTag}${propsToString(appTeleportAttrs)}>` : "";
|
|
269
|
+
const APP_TELEPORT_CLOSE_TAG = HAS_APP_TELEPORTS ? `</${appTeleportTag}>` : "";
|
|
270
|
+
const handler = defineRenderHandler((event) => {
|
|
271
|
+
|
|
272
|
+
const ssrError = event.path.startsWith("/__nuxt_error") ? getQuery(event) : null;
|
|
273
|
+
if (ssrError && !("__unenv__" in event.node.req)) {
|
|
274
|
+
throw createError({
|
|
275
|
+
status: 404,
|
|
276
|
+
statusText: "Page Not Found: /__nuxt_error",
|
|
277
|
+
message: "Page Not Found: /__nuxt_error"
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
return renderRoute(event, ssrError);
|
|
281
|
+
});
|
|
282
|
+
async function renderRoute(event, ssrError) {
|
|
283
|
+
const nitroApp = useNitroApp();
|
|
284
|
+
|
|
285
|
+
const ssrContext = createSSRContext(event);
|
|
286
|
+
|
|
287
|
+
const headEntryOptions = { mode: "server" };
|
|
288
|
+
ssrContext.head.push(appHead, headEntryOptions);
|
|
289
|
+
if (ssrError) {
|
|
290
|
+
|
|
291
|
+
const status = ssrError.status || ssrError.statusCode;
|
|
292
|
+
if (status) {
|
|
293
|
+
|
|
294
|
+
ssrError.status = ssrError.statusCode = Number.parseInt(status);
|
|
295
|
+
}
|
|
296
|
+
if (typeof ssrError.data === "string") {
|
|
297
|
+
try {
|
|
298
|
+
ssrError.data = destr(ssrError.data);
|
|
299
|
+
} catch {}
|
|
300
|
+
}
|
|
301
|
+
setSSRError(ssrContext, ssrError);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
const routeOptions = getRouteRules(event);
|
|
305
|
+
if (routeOptions.ssr === false) {
|
|
306
|
+
ssrContext.noSSR = true;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
!ssrContext.noSSR && (NUXT_RUNTIME_PAYLOAD_EXTRACTION);
|
|
310
|
+
|
|
311
|
+
const renderer = await getRenderer(ssrContext);
|
|
312
|
+
{
|
|
313
|
+
for (const id of entryIds) {
|
|
314
|
+
ssrContext.modules.add(id);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
const _rendered = await renderer.renderToString(ssrContext).catch(async (error) => {
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
if ((ssrContext["~renderResponse"] || ssrContext._renderResponse) && error.message === "skipping render") {
|
|
321
|
+
return {};
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
const _err = !ssrError && ssrContext.payload?.error || error;
|
|
325
|
+
await ssrContext.nuxt?.hooks.callHook("app:error", _err);
|
|
326
|
+
throw _err;
|
|
327
|
+
});
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
const inlinedStyles = !ssrContext["~renderResponse"] && !ssrContext._renderResponse && true ? await renderInlineStyles(ssrContext.modules ?? []) : [];
|
|
331
|
+
await ssrContext.nuxt?.hooks.callHook("app:rendered", {
|
|
332
|
+
ssrContext,
|
|
333
|
+
renderResult: _rendered
|
|
334
|
+
});
|
|
335
|
+
if (ssrContext["~renderResponse"] || ssrContext._renderResponse) {
|
|
336
|
+
|
|
337
|
+
return ssrContext["~renderResponse"] || ssrContext._renderResponse;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
if (ssrContext.payload?.error && !ssrError) {
|
|
341
|
+
throw ssrContext.payload.error;
|
|
342
|
+
}
|
|
343
|
+
const NO_SCRIPTS = routeOptions.noScripts;
|
|
344
|
+
|
|
345
|
+
const { styles, scripts } = getRequestDependencies(ssrContext, renderer.rendererContext);
|
|
346
|
+
|
|
347
|
+
if (inlinedStyles.length) {
|
|
348
|
+
ssrContext.head.push({ style: inlinedStyles });
|
|
349
|
+
}
|
|
350
|
+
const link = [];
|
|
351
|
+
for (const resource of Object.values(styles)) {
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
link.push({
|
|
356
|
+
rel: "stylesheet",
|
|
357
|
+
href: renderer.rendererContext.buildAssetsURL(resource.file),
|
|
358
|
+
crossorigin: ""
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
if (link.length) {
|
|
362
|
+
ssrContext.head.push({ link }, headEntryOptions);
|
|
363
|
+
}
|
|
364
|
+
if (!NO_SCRIPTS) {
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
if (ssrContext["~lazyHydratedModules"]) {
|
|
369
|
+
for (const id of ssrContext["~lazyHydratedModules"]) {
|
|
370
|
+
ssrContext.modules?.delete(id);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
ssrContext.head.push({ link: getPreloadLinks(ssrContext, renderer.rendererContext) }, headEntryOptions);
|
|
374
|
+
ssrContext.head.push({ link: getPrefetchLinks(ssrContext, renderer.rendererContext) }, headEntryOptions);
|
|
375
|
+
|
|
376
|
+
ssrContext.head.push({ script: renderPayloadJsonScript({
|
|
377
|
+
ssrContext,
|
|
378
|
+
data: ssrContext.payload
|
|
379
|
+
}) }, {
|
|
380
|
+
...headEntryOptions,
|
|
381
|
+
|
|
382
|
+
tagPosition: "bodyClose",
|
|
383
|
+
tagPriority: "high"
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (!routeOptions.noScripts) {
|
|
388
|
+
const tagPosition = "head";
|
|
389
|
+
ssrContext.head.push({ script: Object.values(scripts).map((resource) => ({
|
|
390
|
+
type: resource.module ? "module" : null,
|
|
391
|
+
src: renderer.rendererContext.buildAssetsURL(resource.file),
|
|
392
|
+
defer: resource.module ? null : true,
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
tagPosition,
|
|
396
|
+
crossorigin: ""
|
|
397
|
+
})) }, headEntryOptions);
|
|
398
|
+
}
|
|
399
|
+
const { headTags, bodyTags, bodyTagsOpen, htmlAttrs, bodyAttrs } = await renderSSRHead(ssrContext.head, renderSSRHeadOptions);
|
|
400
|
+
|
|
401
|
+
const htmlContext = {
|
|
402
|
+
htmlAttrs: htmlAttrs ? [htmlAttrs] : [],
|
|
403
|
+
head: normalizeChunks([headTags]),
|
|
404
|
+
bodyAttrs: bodyAttrs ? [bodyAttrs] : [],
|
|
405
|
+
bodyPrepend: normalizeChunks([bodyTagsOpen, ssrContext.teleports?.body]),
|
|
406
|
+
body: [_rendered.html, APP_TELEPORT_OPEN_TAG + (HAS_APP_TELEPORTS ? joinTags([ssrContext.teleports?.[`#${appTeleportAttrs.id}`]]) : "") + APP_TELEPORT_CLOSE_TAG],
|
|
407
|
+
bodyAppend: [bodyTags]
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
await nitroApp.hooks.callHook("render:html", htmlContext, { event });
|
|
411
|
+
|
|
412
|
+
return {
|
|
413
|
+
body: renderHTMLDocument(htmlContext),
|
|
414
|
+
statusCode: getResponseStatus(event),
|
|
415
|
+
statusMessage: getResponseStatusText(event),
|
|
416
|
+
headers: {
|
|
417
|
+
"content-type": "text/html;charset=utf-8",
|
|
418
|
+
"x-powered-by": "Nuxt"
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
function normalizeChunks(chunks) {
|
|
423
|
+
const result = [];
|
|
424
|
+
for (const _chunk of chunks) {
|
|
425
|
+
const chunk = _chunk?.trim();
|
|
426
|
+
if (chunk) {
|
|
427
|
+
result.push(chunk);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
return result;
|
|
431
|
+
}
|
|
432
|
+
function joinTags(tags) {
|
|
433
|
+
return tags.join("");
|
|
434
|
+
}
|
|
435
|
+
function joinAttrs(chunks) {
|
|
436
|
+
if (chunks.length === 0) {
|
|
437
|
+
return "";
|
|
438
|
+
}
|
|
439
|
+
return " " + chunks.join(" ");
|
|
440
|
+
}
|
|
441
|
+
function renderHTMLDocument(html) {
|
|
442
|
+
return "<!DOCTYPE html>" + `<html${joinAttrs(html.htmlAttrs)}>` + `<head>${joinTags(html.head)}</head>` + `<body${joinAttrs(html.bodyAttrs)}>${joinTags(html.bodyPrepend)}${joinTags(html.body)}${joinTags(html.bodyAppend)}</body>` + "</html>";
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
const renderer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
446
|
+
__proto__: null,
|
|
447
|
+
default: handler
|
|
448
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
449
|
+
|
|
450
|
+
export { useSeoMeta as a, headSymbol as h, renderer as r, useHead as u };
|
|
451
|
+
//# sourceMappingURL=renderer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderer.mjs","sources":["../../../../../node_modules/@unhead/vue/dist/shared/vue.N9zWjxoK.mjs","../../../../../node_modules/@unhead/vue/dist/shared/vue.Cr7xSEtD.mjs","../../../../../node_modules/@unhead/vue/dist/server.mjs","../../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/renderer/build-files.mjs","../../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/renderer/payload.mjs","../../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/renderer/app.mjs","../../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/renderer/inline-styles.mjs","../../../../../node_modules/@nuxt/nitro-server/dist/runtime/handlers/renderer.mjs"],"names":["renderToString","_renderToString"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_virtual_spa-template.mjs","sources":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import process from 'node:process';globalThis._importMeta_={url:import.meta.url,env:process.env};import 'node:http';
|
|
2
|
+
import 'node:https';
|
|
3
|
+
export { T as default } from './chunks/nitro/nitro.mjs';
|
|
4
|
+
import 'node:crypto';
|
|
5
|
+
import 'node:fs';
|
|
6
|
+
import 'node:os';
|
|
7
|
+
import 'node:path';
|
|
8
|
+
import 'node:sqlite';
|
|
9
|
+
import 'node:events';
|
|
10
|
+
import 'node:buffer';
|
|
11
|
+
import 'node:url';
|
|
12
|
+
import '@iconify/utils';
|
|
13
|
+
import 'rou3';
|
|
14
|
+
import 'srvx';
|
|
15
|
+
import 'consola';
|
|
16
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|