flucto 1.16.4 → 1.18.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/CHANGELOG.md +60 -1
- package/README.md +143 -12
- package/dist-electron/cli/args.js +22 -3
- package/dist-electron/cli/args.js.map +1 -1
- package/dist-electron/cli/index.js +69 -6
- package/dist-electron/cli/index.js.map +1 -1
- package/dist-electron/cli/output.js +9 -3
- package/dist-electron/cli/output.js.map +1 -1
- package/dist-electron/main/index.js +35 -271
- package/dist-electron/main/index.js.map +1 -1
- package/dist-electron/main/media/ytDlp.js +22 -1
- package/dist-electron/main/media/ytDlp.js.map +1 -1
- package/dist-electron/main/platforms/bilibili.js +15 -15
- package/dist-electron/main/platforms/bilibili.js.map +1 -1
- package/dist-electron/main/platforms/createRegistry.js +8 -0
- package/dist-electron/main/platforms/createRegistry.js.map +1 -1
- package/dist-electron/main/platforms/dailymotion.js +23 -0
- package/dist-electron/main/platforms/dailymotion.js.map +1 -0
- package/dist-electron/main/platforms/nicovideo.js +22 -0
- package/dist-electron/main/platforms/nicovideo.js.map +1 -0
- package/dist-electron/main/platforms/ok.js +22 -0
- package/dist-electron/main/platforms/ok.js.map +1 -0
- package/dist-electron/main/platforms/vkvideo.js +32 -0
- package/dist-electron/main/platforms/vkvideo.js.map +1 -0
- package/dist-electron/main/search/bilibili.js +147 -0
- package/dist-electron/main/search/bilibili.js.map +1 -0
- package/dist-electron/main/search/browserSearch.js +69 -0
- package/dist-electron/main/search/browserSearch.js.map +1 -0
- package/dist-electron/main/search/dailymotion.js +89 -0
- package/dist-electron/main/search/dailymotion.js.map +1 -0
- package/dist-electron/main/search/nicovideo.js +87 -0
- package/dist-electron/main/search/nicovideo.js.map +1 -0
- package/dist-electron/main/search/ok.js +6 -0
- package/dist-electron/main/search/ok.js.map +1 -0
- package/dist-electron/main/search/reddit.js +173 -0
- package/dist-electron/main/search/reddit.js.map +1 -0
- package/dist-electron/main/search/socialSearch.js +134 -0
- package/dist-electron/main/search/socialSearch.js.map +1 -0
- package/dist-electron/main/search/vimeo.js +5 -0
- package/dist-electron/main/search/vimeo.js.map +1 -0
- package/dist-electron/main/search/vkvideo.js +187 -0
- package/dist-electron/main/search/vkvideo.js.map +1 -0
- package/dist-electron/main/search/webIndexSearch.js +413 -0
- package/dist-electron/main/search/webIndexSearch.js.map +1 -0
- package/dist-electron/main/search/youtube.js +242 -0
- package/dist-electron/main/search/youtube.js.map +1 -0
- package/dist-electron/main/services/binaryInstaller.js +90 -28
- package/dist-electron/main/services/binaryInstaller.js.map +1 -1
- package/dist-electron/main/services/binaryRefresh.js +1 -1
- package/dist-electron/main/services/binaryRefresh.js.map +1 -1
- package/dist-electron/main/services/cliUpdater.js +102 -83
- package/dist-electron/main/services/cliUpdater.js.map +1 -1
- package/dist-electron/main/services/markdownPipeline.js +25 -7
- package/dist-electron/main/services/markdownPipeline.js.map +1 -1
- package/dist-electron/main/services/mediaDownload.js +27 -27
- package/dist-electron/main/services/mediaDownload.js.map +1 -1
- package/dist-electron/main/services/orchestrator.js +3 -4
- package/dist-electron/main/services/orchestrator.js.map +1 -1
- package/dist-electron/main/services/platformAssets.js +13 -39
- package/dist-electron/main/services/platformAssets.js.map +1 -1
- package/dist-electron/main/services/releaseDownload.js +101 -0
- package/dist-electron/main/services/releaseDownload.js.map +1 -0
- package/dist-electron/main/services/transcriptMarkdown.js +24 -5
- package/dist-electron/main/services/transcriptMarkdown.js.map +1 -1
- package/dist-electron/main/services/videoSearch.js +101 -0
- package/dist-electron/main/services/videoSearch.js.map +1 -0
- package/dist-electron/main/transcript/captionExtractor.js +4 -6
- package/dist-electron/main/transcript/captionExtractor.js.map +1 -1
- package/dist-electron/main/transcript/transcriptHandlers.js +19 -0
- package/dist-electron/main/transcript/transcriptHandlers.js.map +1 -1
- package/dist-electron/main/updater.js +193 -21
- package/dist-electron/main/updater.js.map +1 -1
- package/dist-electron/preload/index.js +1 -0
- package/dist-electron/preload/index.js.map +1 -1
- package/dist-electron/shared/videoSearchPlatforms.js +16 -0
- package/dist-electron/shared/videoSearchPlatforms.js.map +1 -0
- package/node_modules/adm-zip/LICENSE +21 -0
- package/node_modules/adm-zip/README.md +90 -0
- package/node_modules/adm-zip/adm-zip.js +1020 -0
- package/node_modules/adm-zip/headers/entryHeader.js +396 -0
- package/node_modules/adm-zip/headers/index.js +2 -0
- package/node_modules/adm-zip/headers/mainHeader.js +177 -0
- package/node_modules/adm-zip/methods/deflater.js +33 -0
- package/node_modules/adm-zip/methods/index.js +3 -0
- package/node_modules/adm-zip/methods/inflater.js +64 -0
- package/node_modules/adm-zip/methods/zipcrypto.js +175 -0
- package/node_modules/adm-zip/package.json +56 -0
- package/node_modules/adm-zip/types.d.ts +223 -0
- package/node_modules/adm-zip/util/constants.js +142 -0
- package/node_modules/adm-zip/util/decoder.js +5 -0
- package/node_modules/adm-zip/util/errors.js +66 -0
- package/node_modules/adm-zip/util/fattr.js +76 -0
- package/node_modules/adm-zip/util/index.js +5 -0
- package/node_modules/adm-zip/util/utils.js +481 -0
- package/node_modules/adm-zip/zipEntry.js +415 -0
- package/node_modules/adm-zip/zipFile.js +466 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -0
- package/node_modules/argparse/LICENSE +254 -0
- package/node_modules/argparse/README.md +84 -0
- package/node_modules/argparse/argparse.js +3707 -0
- package/node_modules/argparse/lib/sub.js +67 -0
- package/node_modules/argparse/lib/textwrap.js +440 -0
- package/node_modules/argparse/package.json +31 -0
- package/node_modules/atomically/dist/constants.d.ts +15 -0
- package/node_modules/atomically/dist/constants.js +19 -0
- package/node_modules/atomically/dist/index.d.ts +15 -0
- package/node_modules/atomically/dist/index.js +209 -0
- package/node_modules/atomically/dist/types.d.ts +27 -0
- package/node_modules/atomically/dist/types.js +2 -0
- package/node_modules/atomically/dist/utils/lang.d.ts +6 -0
- package/node_modules/atomically/dist/utils/lang.js +16 -0
- package/node_modules/atomically/dist/utils/scheduler.d.ts +6 -0
- package/node_modules/atomically/dist/utils/scheduler.js +34 -0
- package/node_modules/atomically/dist/utils/temp.d.ts +11 -0
- package/node_modules/atomically/dist/utils/temp.js +59 -0
- package/node_modules/atomically/license +21 -0
- package/node_modules/atomically/package.json +42 -0
- package/node_modules/atomically/readme.md +147 -0
- package/node_modules/builder-util-runtime/LICENSE +22 -0
- package/node_modules/builder-util-runtime/out/CancellationToken.d.ts +17 -0
- package/node_modules/builder-util-runtime/out/CancellationToken.js +108 -0
- package/node_modules/builder-util-runtime/out/CancellationToken.js.map +1 -0
- package/node_modules/builder-util-runtime/out/MemoLazy.d.ts +10 -0
- package/node_modules/builder-util-runtime/out/MemoLazy.js +42 -0
- package/node_modules/builder-util-runtime/out/MemoLazy.js.map +1 -0
- package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.d.ts +21 -0
- package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.js +54 -0
- package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.js.map +1 -0
- package/node_modules/builder-util-runtime/out/blockMapApi.d.ts +12 -0
- package/node_modules/builder-util-runtime/out/blockMapApi.js +3 -0
- package/node_modules/builder-util-runtime/out/blockMapApi.js.map +1 -0
- package/node_modules/builder-util-runtime/out/error.d.ts +1 -0
- package/node_modules/builder-util-runtime/out/error.js +9 -0
- package/node_modules/builder-util-runtime/out/error.js.map +1 -0
- package/node_modules/builder-util-runtime/out/httpExecutor.d.ts +86 -0
- package/node_modules/builder-util-runtime/out/httpExecutor.js +529 -0
- package/node_modules/builder-util-runtime/out/httpExecutor.js.map +1 -0
- package/node_modules/builder-util-runtime/out/index.d.ts +15 -0
- package/node_modules/builder-util-runtime/out/index.js +49 -0
- package/node_modules/builder-util-runtime/out/index.js.map +1 -0
- package/node_modules/builder-util-runtime/out/objects.d.ts +8 -0
- package/node_modules/builder-util-runtime/out/objects.js +106 -0
- package/node_modules/builder-util-runtime/out/objects.js.map +1 -0
- package/node_modules/builder-util-runtime/out/publishOptions.d.ts +396 -0
- package/node_modules/builder-util-runtime/out/publishOptions.js +76 -0
- package/node_modules/builder-util-runtime/out/publishOptions.js.map +1 -0
- package/node_modules/builder-util-runtime/out/retry.d.ts +9 -0
- package/node_modules/builder-util-runtime/out/retry.js +21 -0
- package/node_modules/builder-util-runtime/out/retry.js.map +1 -0
- package/node_modules/builder-util-runtime/out/rfc2253Parser.d.ts +1 -0
- package/node_modules/builder-util-runtime/out/rfc2253Parser.js +80 -0
- package/node_modules/builder-util-runtime/out/rfc2253Parser.js.map +1 -0
- package/node_modules/builder-util-runtime/out/updateInfo.d.ts +76 -0
- package/node_modules/builder-util-runtime/out/updateInfo.js +3 -0
- package/node_modules/builder-util-runtime/out/updateInfo.js.map +1 -0
- package/node_modules/builder-util-runtime/out/uuid.d.ts +21 -0
- package/node_modules/builder-util-runtime/out/uuid.js +200 -0
- package/node_modules/builder-util-runtime/out/uuid.js.map +1 -0
- package/node_modules/builder-util-runtime/out/xml.d.ts +15 -0
- package/node_modules/builder-util-runtime/out/xml.js +109 -0
- package/node_modules/builder-util-runtime/out/xml.js.map +1 -0
- package/node_modules/builder-util-runtime/package.json +29 -0
- package/node_modules/builder-util-runtime/readme.md +3 -0
- package/node_modules/conf/dist/source/index.d.ts +135 -0
- package/node_modules/conf/dist/source/index.js +672 -0
- package/node_modules/conf/dist/source/types.d.ts +311 -0
- package/node_modules/conf/dist/source/types.js +1 -0
- package/node_modules/conf/license +9 -0
- package/node_modules/conf/node_modules/semver/LICENSE +15 -0
- package/node_modules/conf/node_modules/semver/README.md +680 -0
- package/node_modules/conf/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/conf/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/conf/node_modules/semver/classes/index.js +7 -0
- package/node_modules/conf/node_modules/semver/classes/range.js +577 -0
- package/node_modules/conf/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/conf/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/conf/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/conf/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/conf/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/conf/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/conf/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/conf/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/conf/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/major.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/conf/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/conf/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/conf/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/conf/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/conf/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/conf/node_modules/semver/index.js +93 -0
- package/node_modules/conf/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/conf/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/conf/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/conf/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/conf/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/conf/node_modules/semver/internal/re.js +223 -0
- package/node_modules/conf/node_modules/semver/package.json +78 -0
- package/node_modules/conf/node_modules/semver/preload.js +4 -0
- package/node_modules/conf/node_modules/semver/range.bnf +17 -0
- package/node_modules/conf/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/conf/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/conf/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/conf/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/conf/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/conf/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/conf/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/conf/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/conf/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/conf/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/conf/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/conf/package.json +82 -0
- package/node_modules/conf/readme.md +599 -0
- package/node_modules/debounce-fn/index.d.ts +79 -0
- package/node_modules/debounce-fn/index.js +88 -0
- package/node_modules/debounce-fn/license +9 -0
- package/node_modules/debounce-fn/package.json +48 -0
- package/node_modules/debounce-fn/readme.md +73 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/dot-prop/index.d.ts +262 -0
- package/node_modules/dot-prop/index.js +551 -0
- package/node_modules/dot-prop/license +9 -0
- package/node_modules/dot-prop/package.json +58 -0
- package/node_modules/dot-prop/readme.md +312 -0
- package/node_modules/dotenv/CHANGELOG.md +643 -0
- package/node_modules/dotenv/LICENSE +23 -0
- package/node_modules/dotenv/README-es.md +757 -0
- package/node_modules/dotenv/README.md +812 -0
- package/node_modules/dotenv/SECURITY.md +1 -0
- package/node_modules/dotenv/config.d.ts +1 -0
- package/node_modules/dotenv/config.js +9 -0
- package/node_modules/dotenv/lib/cli-options.js +17 -0
- package/node_modules/dotenv/lib/env-options.js +28 -0
- package/node_modules/dotenv/lib/main.d.ts +179 -0
- package/node_modules/dotenv/lib/main.js +423 -0
- package/node_modules/dotenv/package.json +62 -0
- package/node_modules/dotenv/skills/dotenv/SKILL.md +200 -0
- package/node_modules/dotenv/skills/dotenvx/SKILL.md +118 -0
- package/node_modules/electron-store/index.d.ts +64 -0
- package/node_modules/electron-store/index.js +83 -0
- package/node_modules/electron-store/license +9 -0
- package/node_modules/electron-store/package.json +72 -0
- package/node_modules/electron-store/readme.md +482 -0
- package/node_modules/electron-updater/LICENSE +22 -0
- package/node_modules/electron-updater/README.md +15 -0
- package/node_modules/electron-updater/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/electron-updater/node_modules/fs-extra/README.md +262 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/copy-sync.js +169 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/copy.js +235 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/file.js +69 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink.js +82 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/fs/index.js +128 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/index.js +16 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/move/index.js +7 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/move/move-sync.js +54 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/move/move.js +75 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/output-file/index.js +40 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/remove/index.js +22 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/util/stat.js +154 -0
- package/node_modules/electron-updater/node_modules/fs-extra/lib/util/utimes.js +26 -0
- package/node_modules/electron-updater/node_modules/fs-extra/package.json +67 -0
- package/node_modules/electron-updater/node_modules/semver/LICENSE +15 -0
- package/node_modules/electron-updater/node_modules/semver/README.md +665 -0
- package/node_modules/electron-updater/node_modules/semver/bin/semver.js +191 -0
- package/node_modules/electron-updater/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/electron-updater/node_modules/semver/classes/index.js +7 -0
- package/node_modules/electron-updater/node_modules/semver/classes/range.js +557 -0
- package/node_modules/electron-updater/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/electron-updater/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/electron-updater/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/electron-updater/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/electron-updater/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/electron-updater/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/electron-updater/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/electron-updater/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/electron-updater/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/major.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/electron-updater/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/electron-updater/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/electron-updater/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/electron-updater/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/electron-updater/node_modules/semver/index.js +91 -0
- package/node_modules/electron-updater/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/electron-updater/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/electron-updater/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/electron-updater/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/electron-updater/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/electron-updater/node_modules/semver/internal/re.js +223 -0
- package/node_modules/electron-updater/node_modules/semver/package.json +78 -0
- package/node_modules/electron-updater/node_modules/semver/preload.js +4 -0
- package/node_modules/electron-updater/node_modules/semver/range.bnf +16 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/electron-updater/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/electron-updater/out/AppAdapter.d.ts +22 -0
- package/node_modules/electron-updater/out/AppAdapter.js +21 -0
- package/node_modules/electron-updater/out/AppAdapter.js.map +1 -0
- package/node_modules/electron-updater/out/AppImageUpdater.d.ts +11 -0
- package/node_modules/electron-updater/out/AppImageUpdater.js +118 -0
- package/node_modules/electron-updater/out/AppImageUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/AppUpdater.d.ts +241 -0
- package/node_modules/electron-updater/out/AppUpdater.js +735 -0
- package/node_modules/electron-updater/out/AppUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/BaseUpdater.d.ts +33 -0
- package/node_modules/electron-updater/out/BaseUpdater.js +150 -0
- package/node_modules/electron-updater/out/BaseUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/DebUpdater.d.ts +13 -0
- package/node_modules/electron-updater/out/DebUpdater.js +84 -0
- package/node_modules/electron-updater/out/DebUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/DownloadedUpdateHelper.d.ts +35 -0
- package/node_modules/electron-updater/out/DownloadedUpdateHelper.js +169 -0
- package/node_modules/electron-updater/out/DownloadedUpdateHelper.js.map +1 -0
- package/node_modules/electron-updater/out/ElectronAppAdapter.d.ts +15 -0
- package/node_modules/electron-updater/out/ElectronAppAdapter.js +42 -0
- package/node_modules/electron-updater/out/ElectronAppAdapter.js.map +1 -0
- package/node_modules/electron-updater/out/LinuxUpdater.d.ts +29 -0
- package/node_modules/electron-updater/out/LinuxUpdater.js +119 -0
- package/node_modules/electron-updater/out/LinuxUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/MacUpdater.d.ts +20 -0
- package/node_modules/electron-updater/out/MacUpdater.js +259 -0
- package/node_modules/electron-updater/out/MacUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/NsisUpdater.d.ts +25 -0
- package/node_modules/electron-updater/out/NsisUpdater.js +178 -0
- package/node_modules/electron-updater/out/NsisUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/PacmanUpdater.d.ts +13 -0
- package/node_modules/electron-updater/out/PacmanUpdater.js +67 -0
- package/node_modules/electron-updater/out/PacmanUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/RpmUpdater.d.ts +13 -0
- package/node_modules/electron-updater/out/RpmUpdater.js +65 -0
- package/node_modules/electron-updater/out/RpmUpdater.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.d.ts +39 -0
- package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.js +229 -0
- package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.d.ts +30 -0
- package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.js +268 -0
- package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.d.ts +4 -0
- package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js +37 -0
- package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.d.ts +5 -0
- package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js +11 -0
- package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.d.ts +31 -0
- package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.js +90 -0
- package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.d.ts +12 -0
- package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.js +113 -0
- package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.js.map +1 -0
- package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.d.ts +6 -0
- package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.js +114 -0
- package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.js.map +1 -0
- package/node_modules/electron-updater/out/electronHttpExecutor.d.ts +16 -0
- package/node_modules/electron-updater/out/electronHttpExecutor.js +79 -0
- package/node_modules/electron-updater/out/electronHttpExecutor.js.map +1 -0
- package/node_modules/electron-updater/out/main.d.ts +19 -0
- package/node_modules/electron-updater/out/main.js +84 -0
- package/node_modules/electron-updater/out/main.js.map +1 -0
- package/node_modules/electron-updater/out/providerFactory.d.ts +5 -0
- package/node_modules/electron-updater/out/providerFactory.js +68 -0
- package/node_modules/electron-updater/out/providerFactory.js.map +1 -0
- package/node_modules/electron-updater/out/providers/BitbucketProvider.d.ts +14 -0
- package/node_modules/electron-updater/out/providers/BitbucketProvider.js +42 -0
- package/node_modules/electron-updater/out/providers/BitbucketProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/GenericProvider.d.ts +13 -0
- package/node_modules/electron-updater/out/providers/GenericProvider.js +51 -0
- package/node_modules/electron-updater/out/providers/GenericProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/GitHubProvider.d.ts +29 -0
- package/node_modules/electron-updater/out/providers/GitHubProvider.js +237 -0
- package/node_modules/electron-updater/out/providers/GitHubProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/GitLabProvider.d.ts +58 -0
- package/node_modules/electron-updater/out/providers/GitLabProvider.js +281 -0
- package/node_modules/electron-updater/out/providers/GitLabProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/KeygenProvider.d.ts +15 -0
- package/node_modules/electron-updater/out/providers/KeygenProvider.js +46 -0
- package/node_modules/electron-updater/out/providers/KeygenProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.d.ts +26 -0
- package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js +95 -0
- package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js.map +1 -0
- package/node_modules/electron-updater/out/providers/Provider.d.ts +35 -0
- package/node_modules/electron-updater/out/providers/Provider.js +146 -0
- package/node_modules/electron-updater/out/providers/Provider.js.map +1 -0
- package/node_modules/electron-updater/out/types.d.ts +43 -0
- package/node_modules/electron-updater/out/types.js +42 -0
- package/node_modules/electron-updater/out/types.js.map +1 -0
- package/node_modules/electron-updater/out/util.d.ts +3 -0
- package/node_modules/electron-updater/out/util.js +33 -0
- package/node_modules/electron-updater/out/util.js.map +1 -0
- package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.d.ts +2 -0
- package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js +142 -0
- package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js.map +1 -0
- package/node_modules/electron-updater/package.json +40 -0
- package/node_modules/env-paths/index.d.ts +90 -0
- package/node_modules/env-paths/index.js +68 -0
- package/node_modules/env-paths/license +9 -0
- package/node_modules/env-paths/package.json +48 -0
- package/node_modules/env-paths/readme.md +113 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +53 -0
- package/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/js-yaml/LICENSE +21 -0
- package/node_modules/js-yaml/README.md +233 -0
- package/node_modules/js-yaml/bin/js-yaml.js +117 -0
- package/node_modules/js-yaml/dist/js-yaml.js +3022 -0
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs +3082 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
- package/node_modules/js-yaml/index.js +44 -0
- package/node_modules/js-yaml/lib/common.js +50 -0
- package/node_modules/js-yaml/lib/dumper.js +937 -0
- package/node_modules/js-yaml/lib/exception.js +51 -0
- package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
- package/node_modules/js-yaml/lib/loader.js +1803 -0
- package/node_modules/js-yaml/lib/schema/core.js +9 -0
- package/node_modules/js-yaml/lib/schema/default.js +20 -0
- package/node_modules/js-yaml/lib/schema/failsafe.js +14 -0
- package/node_modules/js-yaml/lib/schema/json.js +17 -0
- package/node_modules/js-yaml/lib/schema.js +109 -0
- package/node_modules/js-yaml/lib/snippet.js +96 -0
- package/node_modules/js-yaml/lib/type/binary.js +122 -0
- package/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/node_modules/js-yaml/lib/type/float.js +99 -0
- package/node_modules/js-yaml/lib/type/int.js +142 -0
- package/node_modules/js-yaml/lib/type/map.js +8 -0
- package/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/node_modules/js-yaml/lib/type/null.js +35 -0
- package/node_modules/js-yaml/lib/type/omap.js +45 -0
- package/node_modules/js-yaml/lib/type/pairs.js +50 -0
- package/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/node_modules/js-yaml/lib/type/set.js +29 -0
- package/node_modules/js-yaml/lib/type/str.js +8 -0
- package/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/node_modules/js-yaml/lib/type.js +66 -0
- package/node_modules/js-yaml/package.json +83 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/json-schema-typed/LICENSE.md +57 -0
- package/node_modules/json-schema-typed/README.md +108 -0
- package/node_modules/json-schema-typed/draft_07.d.ts +882 -0
- package/node_modules/json-schema-typed/draft_07.js +328 -0
- package/node_modules/json-schema-typed/draft_2019_09.d.ts +1247 -0
- package/node_modules/json-schema-typed/draft_2019_09.js +349 -0
- package/node_modules/json-schema-typed/draft_2020_12.d.ts +1239 -0
- package/node_modules/json-schema-typed/draft_2020_12.js +352 -0
- package/node_modules/json-schema-typed/package.json +44 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +18 -0
- package/node_modules/lazy-val/out/main.d.ts +7 -0
- package/node_modules/lazy-val/out/main.js +26 -0
- package/node_modules/lazy-val/out/main.js.map +1 -0
- package/node_modules/lazy-val/package.json +21 -0
- package/node_modules/lazy-val/readme.md +11 -0
- package/node_modules/lodash.escaperegexp/LICENSE +47 -0
- package/node_modules/lodash.escaperegexp/README.md +18 -0
- package/node_modules/lodash.escaperegexp/index.js +166 -0
- package/node_modules/lodash.escaperegexp/package.json +17 -0
- package/node_modules/lodash.isequal/LICENSE +47 -0
- package/node_modules/lodash.isequal/README.md +18 -0
- package/node_modules/lodash.isequal/index.js +1848 -0
- package/node_modules/lodash.isequal/package.json +16 -0
- package/node_modules/mimic-function/index.d.ts +52 -0
- package/node_modules/mimic-function/index.js +72 -0
- package/node_modules/mimic-function/license +9 -0
- package/node_modules/mimic-function/package.json +49 -0
- package/node_modules/mimic-function/readme.md +80 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/playwright-core/LICENSE +202 -0
- package/node_modules/playwright-core/NOTICE +5 -0
- package/node_modules/playwright-core/README.md +3 -0
- package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
- package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
- package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/browsers.json +52 -0
- package/node_modules/playwright-core/cli.js +21 -0
- package/node_modules/playwright-core/index.d.ts +17 -0
- package/node_modules/playwright-core/index.js +17 -0
- package/node_modules/playwright-core/index.mjs +28 -0
- package/node_modules/playwright-core/lib/bootstrap.js +88 -0
- package/node_modules/playwright-core/lib/coreBundle.js +75813 -0
- package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
- package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
- package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
- package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
- package/node_modules/playwright-core/lib/package.js +50 -0
- package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/server/electron/loader.js +116 -0
- package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
- package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
- package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
- package/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
- package/node_modules/playwright-core/lib/tools/cli-client/help.json +721 -0
- package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
- package/node_modules/playwright-core/lib/tools/cli-client/output.js +351 -0
- package/node_modules/playwright-core/lib/tools/cli-client/program.js +418 -0
- package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
- package/node_modules/playwright-core/lib/tools/cli-client/session.js +259 -0
- package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/SKILL.md +425 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/running-code.md +241 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/session-management.md +225 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/video-recording.md +143 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-trace/SKILL.md +174 -0
- package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
- package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
- package/node_modules/playwright-core/lib/utilsBundle.js +85357 -0
- package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
- package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BbkfBe3n.js +32 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-DywYcAf8.js +7 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
- package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
- package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
- package/node_modules/playwright-core/lib/xdg-open +1267 -0
- package/node_modules/playwright-core/package.json +34 -0
- package/node_modules/playwright-core/types/protocol.d.ts +24645 -0
- package/node_modules/playwright-core/types/structs.d.ts +52 -0
- package/node_modules/playwright-core/types/types.d.ts +26632 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/sax/LICENSE.md +55 -0
- package/node_modules/sax/README.md +227 -0
- package/node_modules/sax/lib/sax.js +1866 -0
- package/node_modules/sax/package.json +34 -0
- package/node_modules/stubborn-fs/dist/constants.d.ts +11 -0
- package/node_modules/stubborn-fs/dist/constants.js +16 -0
- package/node_modules/stubborn-fs/dist/handlers.d.ts +7 -0
- package/node_modules/stubborn-fs/dist/handlers.js +36 -0
- package/node_modules/stubborn-fs/dist/index.d.ts +274 -0
- package/node_modules/stubborn-fs/dist/index.js +52 -0
- package/node_modules/stubborn-fs/license +21 -0
- package/node_modules/stubborn-fs/package.json +32 -0
- package/node_modules/stubborn-fs/readme.md +69 -0
- package/node_modules/stubborn-utils/dist/attemptify_async.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/attemptify_async.js +10 -0
- package/node_modules/stubborn-utils/dist/attemptify_sync.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/attemptify_sync.js +15 -0
- package/node_modules/stubborn-utils/dist/constants.d.ts +2 -0
- package/node_modules/stubborn-utils/dist/constants.js +4 -0
- package/node_modules/stubborn-utils/dist/index.d.ts +9 -0
- package/node_modules/stubborn-utils/dist/index.js +7 -0
- package/node_modules/stubborn-utils/dist/retryify_async.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/retryify_async.js +29 -0
- package/node_modules/stubborn-utils/dist/retryify_sync.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/retryify_sync.js +25 -0
- package/node_modules/stubborn-utils/dist/types.d.ts +44 -0
- package/node_modules/stubborn-utils/dist/types.js +2 -0
- package/node_modules/stubborn-utils/license +21 -0
- package/node_modules/stubborn-utils/package.json +30 -0
- package/node_modules/stubborn-utils/readme.md +139 -0
- package/node_modules/tagged-tag/index.d.ts +3 -0
- package/node_modules/tagged-tag/license +9 -0
- package/node_modules/tagged-tag/package.json +36 -0
- package/node_modules/tagged-tag/readme.md +5 -0
- package/node_modules/tiny-typed-emitter/LICENSE +21 -0
- package/node_modules/tiny-typed-emitter/README.md +85 -0
- package/node_modules/tiny-typed-emitter/lib/index.d.ts +26 -0
- package/node_modules/tiny-typed-emitter/lib/index.js +3 -0
- package/node_modules/tiny-typed-emitter/package.json +37 -0
- package/node_modules/type-fest/index.d.ts +227 -0
- package/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/type-fest/license-mit +9 -0
- package/node_modules/type-fest/package.json +75 -0
- package/node_modules/type-fest/readme.md +1085 -0
- package/node_modules/type-fest/source/absolute.d.ts +52 -0
- package/node_modules/type-fest/source/all-extend.d.ts +121 -0
- package/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
- package/node_modules/type-fest/source/and-all.d.ts +76 -0
- package/node_modules/type-fest/source/and.d.ts +82 -0
- package/node_modules/type-fest/source/array-element.d.ts +46 -0
- package/node_modules/type-fest/source/array-indices.d.ts +25 -0
- package/node_modules/type-fest/source/array-length.d.ts +36 -0
- package/node_modules/type-fest/source/array-reverse.d.ts +85 -0
- package/node_modules/type-fest/source/array-slice.d.ts +132 -0
- package/node_modules/type-fest/source/array-splice.d.ts +104 -0
- package/node_modules/type-fest/source/array-tail.d.ts +70 -0
- package/node_modules/type-fest/source/array-values.d.ts +24 -0
- package/node_modules/type-fest/source/arrayable.d.ts +31 -0
- package/node_modules/type-fest/source/async-return-type.d.ts +28 -0
- package/node_modules/type-fest/source/asyncify.d.ts +25 -0
- package/node_modules/type-fest/source/basic.d.ts +38 -0
- package/node_modules/type-fest/source/camel-case.d.ts +125 -0
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
- package/node_modules/type-fest/source/characters.d.ts +67 -0
- package/node_modules/type-fest/source/conditional-except.d.ts +47 -0
- package/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
- package/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
- package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
- package/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
- package/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
- package/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
- package/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
- package/node_modules/type-fest/source/empty-object.d.ts +51 -0
- package/node_modules/type-fest/source/entries.d.ts +64 -0
- package/node_modules/type-fest/source/entry.d.ts +67 -0
- package/node_modules/type-fest/source/exact.d.ts +73 -0
- package/node_modules/type-fest/source/except.d.ts +112 -0
- package/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
- package/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
- package/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
- package/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
- package/node_modules/type-fest/source/extends-strict.d.ts +151 -0
- package/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
- package/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
- package/node_modules/type-fest/source/extract-strict.d.ts +51 -0
- package/node_modules/type-fest/source/find-global-type.d.ts +68 -0
- package/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
- package/node_modules/type-fest/source/get.d.ts +227 -0
- package/node_modules/type-fest/source/global-this.d.ts +24 -0
- package/node_modules/type-fest/source/globals/index.d.ts +3 -0
- package/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
- package/node_modules/type-fest/source/greater-than.d.ts +92 -0
- package/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
- package/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
- package/node_modules/type-fest/source/if-any.d.ts +28 -0
- package/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
- package/node_modules/type-fest/source/if-never.d.ts +28 -0
- package/node_modules/type-fest/source/if-null.d.ts +28 -0
- package/node_modules/type-fest/source/if-unknown.d.ts +28 -0
- package/node_modules/type-fest/source/if.d.ts +102 -0
- package/node_modules/type-fest/source/includes.d.ts +24 -0
- package/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
- package/node_modules/type-fest/source/int-range.d.ts +67 -0
- package/node_modules/type-fest/source/internal/array.d.ts +144 -0
- package/node_modules/type-fest/source/internal/characters.d.ts +65 -0
- package/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
- package/node_modules/type-fest/source/internal/index.d.ts +11 -0
- package/node_modules/type-fest/source/internal/keys.d.ts +100 -0
- package/node_modules/type-fest/source/internal/numeric.d.ts +143 -0
- package/node_modules/type-fest/source/internal/object.d.ts +301 -0
- package/node_modules/type-fest/source/internal/string.d.ts +127 -0
- package/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
- package/node_modules/type-fest/source/internal/type.d.ts +171 -0
- package/node_modules/type-fest/source/invariant-of.d.ts +85 -0
- package/node_modules/type-fest/source/is-any.d.ts +31 -0
- package/node_modules/type-fest/source/is-equal.d.ts +41 -0
- package/node_modules/type-fest/source/is-float.d.ts +43 -0
- package/node_modules/type-fest/source/is-integer.d.ts +60 -0
- package/node_modules/type-fest/source/is-literal.d.ts +317 -0
- package/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-never.d.ts +56 -0
- package/node_modules/type-fest/source/is-null.d.ts +22 -0
- package/node_modules/type-fest/source/is-nullable.d.ts +30 -0
- package/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/is-optional.d.ts +28 -0
- package/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
- package/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/is-tuple.d.ts +92 -0
- package/node_modules/type-fest/source/is-undefined.d.ts +22 -0
- package/node_modules/type-fest/source/is-union.d.ts +40 -0
- package/node_modules/type-fest/source/is-unknown.d.ts +43 -0
- package/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/iterable-element.d.ts +66 -0
- package/node_modules/type-fest/source/join.d.ts +79 -0
- package/node_modules/type-fest/source/json-value.d.ts +33 -0
- package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/type-fest/source/jsonify.d.ts +127 -0
- package/node_modules/type-fest/source/kebab-case.d.ts +47 -0
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/key-as-string.d.ts +27 -0
- package/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
- package/node_modules/type-fest/source/last-array-element.d.ts +89 -0
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
- package/node_modules/type-fest/source/less-than.d.ts +60 -0
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
- package/node_modules/type-fest/source/literal-union.d.ts +39 -0
- package/node_modules/type-fest/source/merge-deep.d.ts +495 -0
- package/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
- package/node_modules/type-fest/source/merge.d.ts +87 -0
- package/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
- package/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
- package/node_modules/type-fest/source/numeric.d.ts +226 -0
- package/node_modules/type-fest/source/object-merge.d.ts +199 -0
- package/node_modules/type-fest/source/omit-deep.d.ts +153 -0
- package/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
- package/node_modules/type-fest/source/opaque.d.ts +3 -0
- package/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
- package/node_modules/type-fest/source/optional.d.ts +31 -0
- package/node_modules/type-fest/source/or-all.d.ts +73 -0
- package/node_modules/type-fest/source/or.d.ts +82 -0
- package/node_modules/type-fest/source/override-properties.d.ts +43 -0
- package/node_modules/type-fest/source/package-json.d.ts +710 -0
- package/node_modules/type-fest/source/partial-deep.d.ts +157 -0
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
- package/node_modules/type-fest/source/pascal-case.d.ts +52 -0
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/paths.d.ts +241 -0
- package/node_modules/type-fest/source/pick-deep.d.ts +139 -0
- package/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
- package/node_modules/type-fest/source/primitive.d.ts +15 -0
- package/node_modules/type-fest/source/promisable.d.ts +27 -0
- package/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
- package/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
- package/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
- package/node_modules/type-fest/source/replace.d.ts +87 -0
- package/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
- package/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
- package/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/schema.d.ts +127 -0
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
- package/node_modules/type-fest/source/set-field-type.d.ts +67 -0
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
- package/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
- package/node_modules/type-fest/source/set-optional.d.ts +42 -0
- package/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
- package/node_modules/type-fest/source/set-readonly.d.ts +40 -0
- package/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
- package/node_modules/type-fest/source/set-required.d.ts +75 -0
- package/node_modules/type-fest/source/set-return-type.d.ts +31 -0
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
- package/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
- package/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
- package/node_modules/type-fest/source/simplify.d.ts +61 -0
- package/node_modules/type-fest/source/single-key-object.d.ts +28 -0
- package/node_modules/type-fest/source/snake-case.d.ts +48 -0
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/some-extend.d.ts +115 -0
- package/node_modules/type-fest/source/split-on-rest-element.d.ts +108 -0
- package/node_modules/type-fest/source/split.d.ts +90 -0
- package/node_modules/type-fest/source/spread.d.ts +78 -0
- package/node_modules/type-fest/source/string-length.d.ts +38 -0
- package/node_modules/type-fest/source/string-repeat.d.ts +76 -0
- package/node_modules/type-fest/source/string-slice.d.ts +39 -0
- package/node_modules/type-fest/source/string-to-array.d.ts +97 -0
- package/node_modules/type-fest/source/string-to-number.d.ts +67 -0
- package/node_modules/type-fest/source/stringified.d.ts +25 -0
- package/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
- package/node_modules/type-fest/source/subtract.d.ts +87 -0
- package/node_modules/type-fest/source/sum.d.ts +82 -0
- package/node_modules/type-fest/source/tagged-union.d.ts +53 -0
- package/node_modules/type-fest/source/tagged.d.ts +261 -0
- package/node_modules/type-fest/source/trim.d.ts +29 -0
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
- package/node_modules/type-fest/source/tuple-of.d.ts +114 -0
- package/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
- package/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
- package/node_modules/type-fest/source/typed-array.d.ts +19 -0
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
- package/node_modules/type-fest/source/union-length.d.ts +27 -0
- package/node_modules/type-fest/source/union-member.d.ts +65 -0
- package/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
- package/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
- package/node_modules/type-fest/source/unknown-array.d.ts +27 -0
- package/node_modules/type-fest/source/unknown-map.d.ts +26 -0
- package/node_modules/type-fest/source/unknown-record.d.ts +33 -0
- package/node_modules/type-fest/source/unknown-set.d.ts +26 -0
- package/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
- package/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
- package/node_modules/type-fest/source/value-of.d.ts +24 -0
- package/node_modules/type-fest/source/words.d.ts +148 -0
- package/node_modules/type-fest/source/writable-deep.d.ts +84 -0
- package/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
- package/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/type-fest/source/xor.d.ts +83 -0
- package/node_modules/uint8array-extras/index.d.ts +331 -0
- package/node_modules/uint8array-extras/index.js +318 -0
- package/node_modules/uint8array-extras/license +9 -0
- package/node_modules/uint8array-extras/package.json +54 -0
- package/node_modules/uint8array-extras/readme.md +318 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/when-exit/dist/browser/index.d.ts +2 -0
- package/node_modules/when-exit/dist/browser/index.js +6 -0
- package/node_modules/when-exit/dist/browser/interceptor.d.ts +10 -0
- package/node_modules/when-exit/dist/browser/interceptor.js +27 -0
- package/node_modules/when-exit/dist/node/constants.d.ts +3 -0
- package/node_modules/when-exit/dist/node/constants.js +7 -0
- package/node_modules/when-exit/dist/node/index.d.ts +2 -0
- package/node_modules/when-exit/dist/node/index.js +6 -0
- package/node_modules/when-exit/dist/node/interceptor.d.ts +11 -0
- package/node_modules/when-exit/dist/node/interceptor.js +50 -0
- package/node_modules/when-exit/dist/node/signals.d.ts +2 -0
- package/node_modules/when-exit/dist/node/signals.js +13 -0
- package/node_modules/when-exit/dist/types.d.ts +3 -0
- package/node_modules/when-exit/dist/types.js +2 -0
- package/node_modules/when-exit/license +21 -0
- package/node_modules/when-exit/package.json +35 -0
- package/node_modules/when-exit/readme.md +41 -0
- package/package.json +30 -13
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { searchBrowserVideos } from './browserSearch.js';
|
|
2
|
+
// Same anonymous token exchange and catalog search used by VK Video's SPA.
|
|
3
|
+
// The client pair is public website configuration, not a user's credential.
|
|
4
|
+
const VK_CLIENT_ID = '52461373';
|
|
5
|
+
const VK_CLIENT_SECRET = 'o557NLIkAErNhakXrQ7A';
|
|
6
|
+
const VK_API_VERSION = '5.289';
|
|
7
|
+
const TOKEN_URL = 'https://login.vk.ru/?act=get_anonym_token';
|
|
8
|
+
const SEARCH_API = `https://api.vkvideo.ru/method/catalog.getVideoSearchWeb2?v=${VK_API_VERSION}&client_id=${VK_CLIENT_ID}`;
|
|
9
|
+
const ORIGIN = 'https://vkvideo.ru';
|
|
10
|
+
const UA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36';
|
|
11
|
+
const REQUEST_TIMEOUT_MS = 20_000;
|
|
12
|
+
/** Refresh the anonymous token this long before its declared expiry. */
|
|
13
|
+
const TOKEN_REFRESH_SKEW_MS = 60_000;
|
|
14
|
+
export function getVkvideoSearchUrl(query) {
|
|
15
|
+
return `https://vkvideo.ru/?q=${encodeURIComponent(query)}`;
|
|
16
|
+
}
|
|
17
|
+
let cachedToken = null;
|
|
18
|
+
let tokenPromise = null;
|
|
19
|
+
async function requestAnonymToken() {
|
|
20
|
+
const res = await fetch(TOKEN_URL, {
|
|
21
|
+
method: 'POST',
|
|
22
|
+
headers: {
|
|
23
|
+
'User-Agent': UA,
|
|
24
|
+
Origin: ORIGIN,
|
|
25
|
+
Referer: `${ORIGIN}/`,
|
|
26
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
27
|
+
},
|
|
28
|
+
body: new URLSearchParams({
|
|
29
|
+
version: '1',
|
|
30
|
+
app_id: VK_CLIENT_ID,
|
|
31
|
+
client_id: VK_CLIENT_ID,
|
|
32
|
+
client_secret: VK_CLIENT_SECRET,
|
|
33
|
+
scopes: '',
|
|
34
|
+
}).toString(),
|
|
35
|
+
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS),
|
|
36
|
+
});
|
|
37
|
+
if (!res.ok) {
|
|
38
|
+
throw new Error(`vkvideo anonymous token request failed: HTTP ${res.status}`);
|
|
39
|
+
}
|
|
40
|
+
const body = (await res.json());
|
|
41
|
+
const token = body?.data?.access_token;
|
|
42
|
+
const expires = body?.data?.expires;
|
|
43
|
+
if (body?.type !== 'okay' || !token || !expires) {
|
|
44
|
+
throw new Error('vkvideo anonymous token request returned no token (provider may require session cookies now)');
|
|
45
|
+
}
|
|
46
|
+
cachedToken = { token, refreshAt: expires * 1000 - TOKEN_REFRESH_SKEW_MS };
|
|
47
|
+
return token;
|
|
48
|
+
}
|
|
49
|
+
async function getAnonymToken() {
|
|
50
|
+
if (cachedToken && Date.now() < cachedToken.refreshAt) {
|
|
51
|
+
return cachedToken.token;
|
|
52
|
+
}
|
|
53
|
+
tokenPromise ??= requestAnonymToken().finally(() => {
|
|
54
|
+
tokenPromise = null;
|
|
55
|
+
});
|
|
56
|
+
return tokenPromise;
|
|
57
|
+
}
|
|
58
|
+
function parseVkvideoSearchResponse(data, limit) {
|
|
59
|
+
const resp = data.response;
|
|
60
|
+
if (!resp)
|
|
61
|
+
return [];
|
|
62
|
+
const uploaderById = new Map();
|
|
63
|
+
for (const g of resp.groups ?? []) {
|
|
64
|
+
if (typeof g.id === 'number' && g.name)
|
|
65
|
+
uploaderById.set(-g.id, g.name);
|
|
66
|
+
}
|
|
67
|
+
for (const p of resp.profiles ?? []) {
|
|
68
|
+
const name = p.name ?? `${p.first_name ?? ''} ${p.last_name ?? ''}`.trim();
|
|
69
|
+
if (typeof p.id === 'number' && name)
|
|
70
|
+
uploaderById.set(p.id, name);
|
|
71
|
+
}
|
|
72
|
+
const compositeId = (v) => v.ov_id && String(v.ov_id).includes('_') ? String(v.ov_id) : `${v.owner_id}_${v.id}`;
|
|
73
|
+
const catalogVideos = (resp.catalog_videos ?? [])
|
|
74
|
+
.map((entry) => entry.video)
|
|
75
|
+
.filter((v) => !!v);
|
|
76
|
+
const byCompositeId = new Map();
|
|
77
|
+
const orderedIds = [];
|
|
78
|
+
// "All videos" blocks list video ids in display order.
|
|
79
|
+
for (const section of resp.catalog?.sections ?? []) {
|
|
80
|
+
for (const block of section.blocks ?? []) {
|
|
81
|
+
if (block.data_type !== 'catalog_videos' || !Array.isArray(block.videos_ids))
|
|
82
|
+
continue;
|
|
83
|
+
for (const id of block.videos_ids) {
|
|
84
|
+
if (!orderedIds.includes(id))
|
|
85
|
+
orderedIds.push(id);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
for (const v of catalogVideos) {
|
|
90
|
+
const key = compositeId(v);
|
|
91
|
+
if (!byCompositeId.has(key))
|
|
92
|
+
byCompositeId.set(key, v);
|
|
93
|
+
}
|
|
94
|
+
const results = [];
|
|
95
|
+
const seen = new Set();
|
|
96
|
+
const push = (v) => {
|
|
97
|
+
if (typeof v.id !== 'number' || typeof v.owner_id !== 'number' || !v.title)
|
|
98
|
+
return;
|
|
99
|
+
const id = compositeId(v);
|
|
100
|
+
if (seen.has(id))
|
|
101
|
+
return;
|
|
102
|
+
seen.add(id);
|
|
103
|
+
const images = Array.isArray(v.image) ? v.image : [];
|
|
104
|
+
const thumbnail = images
|
|
105
|
+
.filter((i) => typeof i.url === 'string' && i.url.startsWith('http'))
|
|
106
|
+
.sort((a, b) => (b.width ?? 0) - (a.width ?? 0))[0]?.url ?? '';
|
|
107
|
+
results.push({
|
|
108
|
+
id,
|
|
109
|
+
title: v.title,
|
|
110
|
+
thumbnail,
|
|
111
|
+
duration: typeof v.duration === 'number' ? v.duration : 0,
|
|
112
|
+
uploader: v.author?.name ?? uploaderById.get(v.owner_id) ?? '',
|
|
113
|
+
view_count: typeof v.views === 'number' ? v.views : undefined,
|
|
114
|
+
originalUrl: v.share_url && /^https?:\/\//.test(v.share_url)
|
|
115
|
+
? v.share_url
|
|
116
|
+
: `https://vkvideo.ru/video${id}`,
|
|
117
|
+
});
|
|
118
|
+
};
|
|
119
|
+
for (const id of orderedIds) {
|
|
120
|
+
const v = byCompositeId.get(id);
|
|
121
|
+
if (v)
|
|
122
|
+
push(v);
|
|
123
|
+
if (results.length >= limit)
|
|
124
|
+
return results.slice(0, limit);
|
|
125
|
+
}
|
|
126
|
+
for (const v of catalogVideos) {
|
|
127
|
+
push(v);
|
|
128
|
+
if (results.length >= limit)
|
|
129
|
+
return results.slice(0, limit);
|
|
130
|
+
}
|
|
131
|
+
return results;
|
|
132
|
+
}
|
|
133
|
+
async function callSearchApi(query, token) {
|
|
134
|
+
const res = await fetch(SEARCH_API, {
|
|
135
|
+
method: 'POST',
|
|
136
|
+
headers: {
|
|
137
|
+
'User-Agent': UA,
|
|
138
|
+
Origin: ORIGIN,
|
|
139
|
+
Referer: `${ORIGIN}/search?q=${encodeURIComponent(query)}`,
|
|
140
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
141
|
+
},
|
|
142
|
+
body: new URLSearchParams({
|
|
143
|
+
q: query,
|
|
144
|
+
screen_ref: 'search_video_service',
|
|
145
|
+
input_method: 'keyboard_search_button',
|
|
146
|
+
access_token: token,
|
|
147
|
+
}).toString(),
|
|
148
|
+
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS),
|
|
149
|
+
});
|
|
150
|
+
if (!res.ok) {
|
|
151
|
+
throw new Error(`vkvideo search API failed: HTTP ${res.status}`);
|
|
152
|
+
}
|
|
153
|
+
return (await res.json());
|
|
154
|
+
}
|
|
155
|
+
export async function searchVkvideo(query, limit) {
|
|
156
|
+
const trimmed = query.trim();
|
|
157
|
+
if (!trimmed)
|
|
158
|
+
return [];
|
|
159
|
+
let apiError = null;
|
|
160
|
+
try {
|
|
161
|
+
const token = await getAnonymToken();
|
|
162
|
+
const data = await callSearchApi(trimmed, token);
|
|
163
|
+
if (data.error) {
|
|
164
|
+
throw new Error(`vkvideo search API error ${data.error.error_code}: ${data.error.error_msg ?? 'unknown'}`);
|
|
165
|
+
}
|
|
166
|
+
const videos = parseVkvideoSearchResponse(data, limit);
|
|
167
|
+
if (videos.length > 0)
|
|
168
|
+
return videos;
|
|
169
|
+
// A well-formed empty response means genuinely no results, but only if the
|
|
170
|
+
// response actually carried a catalog — otherwise fall through to browser.
|
|
171
|
+
if (data.response?.catalog)
|
|
172
|
+
return videos;
|
|
173
|
+
apiError = new Error('vkvideo search API returned no catalog payload');
|
|
174
|
+
}
|
|
175
|
+
catch (err) {
|
|
176
|
+
apiError = err instanceof Error ? err : new Error(String(err));
|
|
177
|
+
}
|
|
178
|
+
// Fallback: rendered search page via the shared headless-Chrome path.
|
|
179
|
+
try {
|
|
180
|
+
return await searchBrowserVideos('vkvideo', trimmed, limit);
|
|
181
|
+
}
|
|
182
|
+
catch (browserErr) {
|
|
183
|
+
const browserMsg = browserErr instanceof Error ? browserErr.message : String(browserErr);
|
|
184
|
+
throw new Error(`VK video search failed. API path: ${apiError?.message ?? 'no results'}; browser fallback: ${browserMsg}`);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=vkvideo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vkvideo.js","sourceRoot":"","sources":["../../../src/main/search/vkvideo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,2EAA2E;AAC3E,4EAA4E;AAE5E,MAAM,YAAY,GAAG,UAAU,CAAC;AAChC,MAAM,gBAAgB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IAAI,SAAS,EAAE,CAC1F,CAAC;QACJ,CAAC;QACD,MAAM,MAAM,GAAG,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACvD,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,MAAM,CAAC;QACrC,2EAA2E;QAC3E,2EAA2E;QAC3E,IAAI,IAAI,CAAC,QAAQ,EAAE,OAAO;YAAE,OAAO,MAAM,CAAC;QAC1C,QAAQ,GAAG,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;IACzE,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,QAAQ,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IACjE,CAAC;IAED,sEAAsE;IACtE,IAAI,CAAC;QACH,OAAO,MAAM,mBAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9D,CAAC;IAAC,OAAO,UAAU,EAAE,CAAC;QACpB,MAAM,UAAU,GAAG,UAAU,YAAY,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACzF,MAAM,IAAI,KAAK,CACb,qCAAqC,QAAQ,EAAE,OAAO,IAAI,YAAY,uBAAuB,UAAU,EAAE,CAC1G,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { chromium } from 'playwright-core';
|
|
2
|
+
import { VIDEO_SEARCH_SITES } from '../../shared/videoSearchPlatforms.js';
|
|
3
|
+
// Public video index (Google video vertical: tbm=vid, Google itself serves
|
|
4
|
+
// udm=vids). Used by platforms whose native keyword search needs a login
|
|
5
|
+
// (X, Instagram, TikTok, and intermittently Threads) and as the fallback for
|
|
6
|
+
// native providers. Queries run anonymously in a shared temporary headless
|
|
7
|
+
// Chrome; every query gets an isolated context and the browser closes when
|
|
8
|
+
// no query is active.
|
|
9
|
+
const NAV_TIMEOUT_MS = 20_000;
|
|
10
|
+
const WAIT_TIMEOUT_MS = 15_000;
|
|
11
|
+
const LAUNCH_TIMEOUT_MS = 15_000;
|
|
12
|
+
const MAX_LIMIT = 50;
|
|
13
|
+
const MAX_PARALLEL_PAGES = 2;
|
|
14
|
+
export class WebIndexSearchError extends Error {
|
|
15
|
+
searchUrl;
|
|
16
|
+
nativeError;
|
|
17
|
+
constructor(message, searchUrl) {
|
|
18
|
+
super(message);
|
|
19
|
+
this.searchUrl = searchUrl;
|
|
20
|
+
this.name = 'WebIndexSearchError';
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
let browserPromise = null;
|
|
24
|
+
let activePages = 0;
|
|
25
|
+
const waiters = [];
|
|
26
|
+
function acquirePageSlot() {
|
|
27
|
+
if (activePages < MAX_PARALLEL_PAGES) {
|
|
28
|
+
activePages += 1;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
return new Promise(resolve => {
|
|
32
|
+
waiters.push(resolve);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function releasePageSlot() {
|
|
36
|
+
const waiting = waiters.shift();
|
|
37
|
+
if (waiting)
|
|
38
|
+
waiting();
|
|
39
|
+
else
|
|
40
|
+
activePages -= 1;
|
|
41
|
+
}
|
|
42
|
+
/** Runs `fn` with one isolated anonymous page on the shared temp browser. */
|
|
43
|
+
export async function withAnonymousPage(fn) {
|
|
44
|
+
await acquirePageSlot();
|
|
45
|
+
let context = null;
|
|
46
|
+
try {
|
|
47
|
+
if (!browserPromise) {
|
|
48
|
+
browserPromise = chromium.launch({
|
|
49
|
+
...(process.env.FLUCTO_CHROME_PATH ? { executablePath: process.env.FLUCTO_CHROME_PATH } : { channel: 'chrome' }),
|
|
50
|
+
headless: true,
|
|
51
|
+
timeout: LAUNCH_TIMEOUT_MS,
|
|
52
|
+
}).catch(() => {
|
|
53
|
+
throw new Error('Indexed video search needs locally installed Google Chrome, or FLUCTO_CHROME_PATH pointing to Chromium.');
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
const browser = await browserPromise;
|
|
57
|
+
context = await browser.newContext();
|
|
58
|
+
// Thumbnails resolve via the img src attribute; the bytes are never needed.
|
|
59
|
+
await context.route('**/*', route => {
|
|
60
|
+
const type = route.request().resourceType();
|
|
61
|
+
if (type === 'image' || type === 'font' || type === 'media')
|
|
62
|
+
route.abort().catch(() => { });
|
|
63
|
+
else
|
|
64
|
+
route.continue().catch(() => { });
|
|
65
|
+
});
|
|
66
|
+
const page = await context.newPage();
|
|
67
|
+
return await fn(page);
|
|
68
|
+
}
|
|
69
|
+
finally {
|
|
70
|
+
if (context)
|
|
71
|
+
await context.close().catch(() => { });
|
|
72
|
+
releasePageSlot();
|
|
73
|
+
if (activePages === 0 && waiters.length === 0 && browserPromise) {
|
|
74
|
+
const closing = browserPromise;
|
|
75
|
+
browserPromise = null;
|
|
76
|
+
await closing.then(b => b.close(), () => { });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export function normalizeHost(hostname) {
|
|
81
|
+
return hostname.toLowerCase().replace(/^(?:www|m)\./, '');
|
|
82
|
+
}
|
|
83
|
+
export function hostMatches(hostname, hosts) {
|
|
84
|
+
const normalized = normalizeHost(hostname);
|
|
85
|
+
return hosts.some(host => normalized === host || normalized.endsWith(`.${host}`));
|
|
86
|
+
}
|
|
87
|
+
function unwrapIndexLink(rawHref) {
|
|
88
|
+
let url;
|
|
89
|
+
try {
|
|
90
|
+
url = new URL(rawHref);
|
|
91
|
+
}
|
|
92
|
+
catch {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
if (url.protocol !== 'http:' && url.protocol !== 'https:')
|
|
96
|
+
return null;
|
|
97
|
+
if (hostMatches(url.hostname, ['google.com']) && url.pathname === '/url') {
|
|
98
|
+
const target = url.searchParams.get('q') ?? url.searchParams.get('url');
|
|
99
|
+
if (!target)
|
|
100
|
+
return null;
|
|
101
|
+
try {
|
|
102
|
+
url = new URL(target);
|
|
103
|
+
}
|
|
104
|
+
catch {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
if (url.protocol !== 'http:' && url.protocol !== 'https:')
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
return url;
|
|
111
|
+
}
|
|
112
|
+
/** Canonicalizes one candidate link; null when it is not media on the site. */
|
|
113
|
+
export function canonicalMediaLink(platform, rawHref) {
|
|
114
|
+
const site = VIDEO_SEARCH_SITES[platform];
|
|
115
|
+
let url = unwrapIndexLink(rawHref);
|
|
116
|
+
if (!url || !hostMatches(url.hostname, site.hosts))
|
|
117
|
+
return null;
|
|
118
|
+
// youtu.be/<id> is the same video as youtube.com/watch?v=<id>.
|
|
119
|
+
if (platform === 'youtube' && normalizeHost(url.hostname) === 'youtu.be') {
|
|
120
|
+
const id = url.pathname.slice(1).split('/')[0];
|
|
121
|
+
if (!id)
|
|
122
|
+
return null;
|
|
123
|
+
url = new URL(`https://www.youtube.com/watch?v=${encodeURIComponent(id)}`);
|
|
124
|
+
}
|
|
125
|
+
const match = url.pathname.match(new RegExp(site.mediaPath));
|
|
126
|
+
if (!match)
|
|
127
|
+
return null;
|
|
128
|
+
// First defined capture group is the media id; YouTube's /watch branch has
|
|
129
|
+
// none, so its id comes from the v parameter instead.
|
|
130
|
+
const id = match.slice(1).find(group => group !== undefined) ?? url.searchParams.get('v');
|
|
131
|
+
if (!id)
|
|
132
|
+
return null;
|
|
133
|
+
// match[0] ends at the id, so trailing tracking segments (Threads
|
|
134
|
+
// /video-<slug>, /media, analytics params) are dropped automatically.
|
|
135
|
+
// YouTube /watch ids live in ?v= and must be reattached; /shorts and /live
|
|
136
|
+
// ids are already inside match[0].
|
|
137
|
+
const canonicalUrl = platform === 'youtube' && url.pathname === '/watch'
|
|
138
|
+
? `https://www.youtube.com/watch?v=${encodeURIComponent(id)}`
|
|
139
|
+
: `${url.origin}${match[0]}`;
|
|
140
|
+
return { id, canonicalUrl };
|
|
141
|
+
}
|
|
142
|
+
export function parseIndexDuration(cardText) {
|
|
143
|
+
const match = cardText.match(/\b(\d{1,2}:\d{2}(?::\d{2})?)\b/);
|
|
144
|
+
if (!match)
|
|
145
|
+
return 0;
|
|
146
|
+
return match[1].split(':').reduce((total, part) => total * 60 + Number(part), 0);
|
|
147
|
+
}
|
|
148
|
+
export function cleanIndexTitle(title) {
|
|
149
|
+
const cleaned = title.replace(/\s+/g, ' ').trim();
|
|
150
|
+
if (!cleaned || /^https?:\/\//i.test(cleaned))
|
|
151
|
+
return '';
|
|
152
|
+
if (/^(?:[248]K\s*)?\d{1,2}:\d{2}(?::\d{2})?$/.test(cleaned))
|
|
153
|
+
return '';
|
|
154
|
+
if (/^(?:view|play|watch)$/i.test(cleaned))
|
|
155
|
+
return '';
|
|
156
|
+
return cleaned;
|
|
157
|
+
}
|
|
158
|
+
// Serialized into page.evaluate; keep it free of Node-side references.
|
|
159
|
+
export function collectPageLinks(rawHosts) {
|
|
160
|
+
const normalize = (hostname) => hostname.toLowerCase().replace(/^(?:www|m)\./, '');
|
|
161
|
+
const inScope = (hostname) => {
|
|
162
|
+
const normalized = normalize(hostname);
|
|
163
|
+
return rawHosts.some(host => normalized === host || normalized.endsWith(`.${host}`));
|
|
164
|
+
};
|
|
165
|
+
const candidates = [];
|
|
166
|
+
const seen = new Set();
|
|
167
|
+
for (const anchor of Array.from(document.querySelectorAll('a[href]'))) {
|
|
168
|
+
let url;
|
|
169
|
+
try {
|
|
170
|
+
url = new URL(anchor.getAttribute('href') ?? '', location.href);
|
|
171
|
+
}
|
|
172
|
+
catch {
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
let host = url.hostname;
|
|
176
|
+
if (inScope(host) === false && url.pathname === '/url') {
|
|
177
|
+
const target = url.searchParams.get('q') ?? url.searchParams.get('url');
|
|
178
|
+
if (target) {
|
|
179
|
+
try {
|
|
180
|
+
host = new URL(target).hostname;
|
|
181
|
+
}
|
|
182
|
+
catch {
|
|
183
|
+
continue;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (!inScope(host))
|
|
188
|
+
continue;
|
|
189
|
+
const href = url.href;
|
|
190
|
+
if (seen.has(href))
|
|
191
|
+
continue;
|
|
192
|
+
seen.add(href);
|
|
193
|
+
let card = anchor;
|
|
194
|
+
for (let depth = 0; depth < 4 && card.parentElement; depth += 1) {
|
|
195
|
+
const parent = card.parentElement;
|
|
196
|
+
if (parent.querySelector('img') || /\b\d{1,2}:\d{2}\b/.test(parent.textContent ?? ''))
|
|
197
|
+
card = parent;
|
|
198
|
+
else
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
const img = card.querySelector('img');
|
|
202
|
+
const thumb = (img?.getAttribute('src') ?? img?.getAttribute('data-src') ?? '').trim();
|
|
203
|
+
const title = (anchor.getAttribute('aria-label')
|
|
204
|
+
?? anchor.getAttribute('title')
|
|
205
|
+
?? anchor.querySelector('h3')?.textContent
|
|
206
|
+
?? anchor.textContent
|
|
207
|
+
?? '').replace(/\s+/g, ' ').trim();
|
|
208
|
+
candidates.push({
|
|
209
|
+
href, title, thumb,
|
|
210
|
+
cardText: (card.textContent ?? '').replace(/\s+/g, ' ').trim(),
|
|
211
|
+
hasVideo: card.querySelector('video') !== null,
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
return candidates;
|
|
215
|
+
}
|
|
216
|
+
// Serialized into page.evaluate; keep it free of Node-side references. Bing
|
|
217
|
+
// links can open an internal viewer; mmeta retains the original media URL.
|
|
218
|
+
function collectBingLinks() {
|
|
219
|
+
const candidates = [];
|
|
220
|
+
const seen = new Set();
|
|
221
|
+
for (const card of Array.from(document.querySelectorAll('.mc_vtvc'))) {
|
|
222
|
+
const anchor = card.querySelector('a.mc_vtvc_link');
|
|
223
|
+
let href = anchor?.getAttribute('href') ?? '';
|
|
224
|
+
let meta = {};
|
|
225
|
+
try {
|
|
226
|
+
meta = JSON.parse(card.getAttribute('mmeta') ?? '{}');
|
|
227
|
+
}
|
|
228
|
+
catch { /* fall back to the anchor */ }
|
|
229
|
+
if (!href || href.startsWith('/') || href.startsWith('https://www.bing.com/')) {
|
|
230
|
+
href = meta.murl ?? meta.pgurl ?? href;
|
|
231
|
+
}
|
|
232
|
+
let url;
|
|
233
|
+
try {
|
|
234
|
+
url = new URL(href, location.href);
|
|
235
|
+
}
|
|
236
|
+
catch {
|
|
237
|
+
continue;
|
|
238
|
+
}
|
|
239
|
+
if (seen.has(url.href))
|
|
240
|
+
continue;
|
|
241
|
+
seen.add(url.href);
|
|
242
|
+
const img = card.querySelector('img');
|
|
243
|
+
const thumb = (img?.getAttribute('src') ?? img?.getAttribute('data-src') ?? meta.turl ?? '').trim();
|
|
244
|
+
const title = (card.querySelector('.mc_vtvc_title')?.getAttribute('title')
|
|
245
|
+
?? anchor?.getAttribute('aria-label')
|
|
246
|
+
?? anchor?.textContent
|
|
247
|
+
?? '').replace(/\s+/g, ' ').trim();
|
|
248
|
+
candidates.push({
|
|
249
|
+
href: url.href, title, thumb,
|
|
250
|
+
cardText: (card.textContent ?? '').replace(/\s+/g, ' ').trim(),
|
|
251
|
+
hasVideo: true,
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
return candidates;
|
|
255
|
+
}
|
|
256
|
+
// Serialized into page.evaluate; keep it free of Node-side references. DDG's
|
|
257
|
+
// own frontend calls /v.js for the video tab after reading the vqd token off
|
|
258
|
+
// the search page; the same anonymous request works from page context.
|
|
259
|
+
async function fetchDdgVideos(query) {
|
|
260
|
+
const html = document.documentElement.innerHTML;
|
|
261
|
+
const vqd = html.match(/vqd=['"]([\d-]+)['"]/)?.[1] ?? html.match(/vqd=([\d-]+)&/)?.[1];
|
|
262
|
+
if (!vqd)
|
|
263
|
+
throw new Error('ddg-no-vqd');
|
|
264
|
+
const res = await fetch(`https://duckduckgo.com/v.js?l=wt-wt&o=json&q=${encodeURIComponent(query)}&vqd=${encodeURIComponent(vqd)}&f=,,,&p=1`, { headers: { accept: 'application/json' } });
|
|
265
|
+
if (!res.ok)
|
|
266
|
+
throw new Error(`ddg-http-${res.status}`);
|
|
267
|
+
const data = await res.json();
|
|
268
|
+
if (!Array.isArray(data.results))
|
|
269
|
+
throw new Error('DuckDuckGo video search returned an unexpected response.');
|
|
270
|
+
return data.results;
|
|
271
|
+
}
|
|
272
|
+
async function scrapeIndexPage(engine, site, scopedQuery) {
|
|
273
|
+
return withAnonymousPage(async (page) => {
|
|
274
|
+
await page.goto(engine.url, { waitUntil: 'domcontentloaded', timeout: NAV_TIMEOUT_MS });
|
|
275
|
+
if (engine.kind === 'ddg') {
|
|
276
|
+
// The DDG web page renders without a challenge; its video endpoint either
|
|
277
|
+
// returns items or an empty list (sparse video index, not a failure).
|
|
278
|
+
const settled = await page.waitForSelector('body', { timeout: NAV_TIMEOUT_MS }).then(() => true).catch(() => false);
|
|
279
|
+
if (!settled)
|
|
280
|
+
return { pageUrl: page.url(), state: 'timeout', servedPage: false, candidates: [] };
|
|
281
|
+
const items = await page.evaluate(fetchDdgVideos, scopedQuery);
|
|
282
|
+
const candidates = items.map(item => ({
|
|
283
|
+
href: item.content ?? '',
|
|
284
|
+
title: item.title ?? '',
|
|
285
|
+
cardText: `${item.title ?? ''} ${item.duration ?? ''}`,
|
|
286
|
+
thumb: item.images?.large ?? item.images?.medium ?? '',
|
|
287
|
+
hasVideo: true,
|
|
288
|
+
}));
|
|
289
|
+
return { pageUrl: page.url(), state: candidates.length ? 'results' : 'none', servedPage: true, candidates };
|
|
290
|
+
}
|
|
291
|
+
const state = await page.waitForFunction(({ hosts, kind }) => {
|
|
292
|
+
const normalize = (hostname) => hostname.toLowerCase().replace(/^(?:www|m)\./, '');
|
|
293
|
+
const inScope = (hostname) => {
|
|
294
|
+
const normalized = normalize(hostname);
|
|
295
|
+
return hosts.some(host => normalized === host || normalized.endsWith(`.${host}`));
|
|
296
|
+
};
|
|
297
|
+
const bodyText = document.body?.innerText ?? '';
|
|
298
|
+
if (/\/sorry\//.test(location.pathname) || /unusual traffic|not a robot|automated requests|verify you are human|자동화된 요청|비정상적인 트래픽/i.test(bodyText.slice(0, 3000)))
|
|
299
|
+
return 'challenge';
|
|
300
|
+
if (kind === 'bing') {
|
|
301
|
+
if (document.querySelector('.mc_vtvc a.mc_vtvc_link[href]'))
|
|
302
|
+
return 'results';
|
|
303
|
+
}
|
|
304
|
+
else {
|
|
305
|
+
for (const anchor of Array.from(document.querySelectorAll('a[href]'))) {
|
|
306
|
+
try {
|
|
307
|
+
const link = new URL(anchor.getAttribute('href') ?? '', location.href);
|
|
308
|
+
if (inScope(link.hostname))
|
|
309
|
+
return 'results';
|
|
310
|
+
if (link.pathname === '/url') {
|
|
311
|
+
const target = link.searchParams.get('q') ?? link.searchParams.get('url');
|
|
312
|
+
if (target && inScope(new URL(target).hostname))
|
|
313
|
+
return 'results';
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
catch { /* keep polling other anchors */ }
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
if (/did not match any (?:videos|documents)|no results found|there are no results for|try different keywords|검색결과가 없습니다|결과가 없습니다/i.test(bodyText))
|
|
320
|
+
return 'none';
|
|
321
|
+
return false;
|
|
322
|
+
}, { hosts: site.hosts, kind: engine.kind }, { timeout: WAIT_TIMEOUT_MS, polling: 500 })
|
|
323
|
+
.then(handle => handle.jsonValue())
|
|
324
|
+
.catch((error) => {
|
|
325
|
+
if (error instanceof Error && error.name === 'TimeoutError')
|
|
326
|
+
return 'timeout';
|
|
327
|
+
throw error;
|
|
328
|
+
});
|
|
329
|
+
const candidates = state === 'results'
|
|
330
|
+
? await (engine.kind === 'bing' ? page.evaluate(collectBingLinks) : page.evaluate(collectPageLinks, site.hosts))
|
|
331
|
+
: [];
|
|
332
|
+
return { pageUrl: page.url(), state: String(state), servedPage: state === 'results' || state === 'none', candidates };
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
export function videosFromIndexCandidates(platform, candidates, limit) {
|
|
336
|
+
const videos = new Map();
|
|
337
|
+
const titleScore = new Map();
|
|
338
|
+
for (const candidate of candidates) {
|
|
339
|
+
const link = canonicalMediaLink(platform, candidate.href);
|
|
340
|
+
if (!link)
|
|
341
|
+
continue;
|
|
342
|
+
const title = cleanIndexTitle(candidate.title);
|
|
343
|
+
const key = `${platform}:${link.id}`;
|
|
344
|
+
const score = title.length + (candidate.thumb ? 1000 : 0);
|
|
345
|
+
if (videos.has(key) && (titleScore.get(key) ?? -1) >= score)
|
|
346
|
+
continue;
|
|
347
|
+
titleScore.set(key, score);
|
|
348
|
+
const firstSegment = link.canonicalUrl.replace(/^https?:\/\/[^/]+\//, '').split('/')[0];
|
|
349
|
+
videos.set(key, {
|
|
350
|
+
id: link.id,
|
|
351
|
+
title,
|
|
352
|
+
thumbnail: candidate.thumb.startsWith('http') ? candidate.thumb : '',
|
|
353
|
+
duration: parseIndexDuration(candidate.cardText),
|
|
354
|
+
uploader: firstSegment.startsWith('@') ? firstSegment : '',
|
|
355
|
+
originalUrl: link.canonicalUrl,
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
return Array.from(videos.values()).slice(0, Math.max(1, Math.min(limit, MAX_LIMIT)));
|
|
359
|
+
}
|
|
360
|
+
export async function searchWebIndex(platform, query, limit, deps = {}) {
|
|
361
|
+
const site = VIDEO_SEARCH_SITES[platform];
|
|
362
|
+
const trimmed = query.trim();
|
|
363
|
+
const boundedLimit = Math.max(1, Math.min(Math.trunc(limit) || 1, MAX_LIMIT));
|
|
364
|
+
const scoped = site.hosts.map(host => `site:${host}`).join(' OR ');
|
|
365
|
+
const scopedQuery = `${site.hosts.length > 1 ? `(${scoped})` : scoped} ${trimmed}`;
|
|
366
|
+
// Google is the primary index; DuckDuckGo's video endpoint and Bing Videos
|
|
367
|
+
// are legitimate fallbacks when Google challenges or is unreachable. All are
|
|
368
|
+
// queried anonymously. Bing ignores `site:` OR-chains and DDG handles them
|
|
369
|
+
// inconsistently, so non-Google engines search the primary host only.
|
|
370
|
+
const engines = [
|
|
371
|
+
{ name: 'Google', kind: 'google', url: `https://www.google.com/search?q=${encodeURIComponent(scopedQuery)}&tbm=vid` },
|
|
372
|
+
{ name: 'DuckDuckGo', kind: 'ddg', url: `https://duckduckgo.com/?q=${encodeURIComponent(`site:${site.hosts[0]} ${trimmed}`)}&ia=videos` },
|
|
373
|
+
{ name: 'Bing', kind: 'bing', url: `https://www.bing.com/videos/search?q=${encodeURIComponent(`site:${site.hosts[0]} ${trimmed}`)}` },
|
|
374
|
+
];
|
|
375
|
+
if (!trimmed)
|
|
376
|
+
return { videos: [], method: 'web-index', searchUrl: engines[0].url };
|
|
377
|
+
const failures = [];
|
|
378
|
+
let servedUrl;
|
|
379
|
+
for (const engine of engines) {
|
|
380
|
+
let run;
|
|
381
|
+
try {
|
|
382
|
+
run = deps.runPage ? await deps.runPage(engine.url) : await scrapeIndexPage(engine, site, `site:${site.hosts[0]} ${trimmed}`);
|
|
383
|
+
}
|
|
384
|
+
catch (error) {
|
|
385
|
+
failures.push(`${engine.name}: ${error instanceof Error ? error.message : String(error)}`);
|
|
386
|
+
continue;
|
|
387
|
+
}
|
|
388
|
+
if (run.state === 'none' && run.servedPage)
|
|
389
|
+
servedUrl = engine.url;
|
|
390
|
+
if (run.state === 'results') {
|
|
391
|
+
const videos = videosFromIndexCandidates(platform, run.candidates, boundedLimit);
|
|
392
|
+
if (videos.length > 0) {
|
|
393
|
+
return { videos, method: 'web-index', searchUrl: engine.url };
|
|
394
|
+
}
|
|
395
|
+
// The engine served cards but none resolved to this site's media URLs
|
|
396
|
+
// (e.g. Bing ignoring the site: scope) — try the next index.
|
|
397
|
+
failures.push(`${engine.name}: results served but none scoped to ${site.name}`);
|
|
398
|
+
continue;
|
|
399
|
+
}
|
|
400
|
+
if (run.state === 'none') {
|
|
401
|
+
failures.push(`${engine.name}: page served but no scoped results`);
|
|
402
|
+
continue;
|
|
403
|
+
}
|
|
404
|
+
failures.push(run.state === 'challenge' || /\/sorry\//.test(run.pageUrl)
|
|
405
|
+
? `${engine.name}: human-verification page`
|
|
406
|
+
: `${engine.name}: page state ${run.state} (${run.pageUrl || 'no url'})`);
|
|
407
|
+
}
|
|
408
|
+
if (servedUrl) {
|
|
409
|
+
return { videos: [], method: 'web-index', searchUrl: servedUrl };
|
|
410
|
+
}
|
|
411
|
+
throw new WebIndexSearchError(`Public video indexes could not serve ${site.name} results (${failures.join(' | ')}).`, engines[0].url);
|
|
412
|
+
}
|
|
413
|
+
//# sourceMappingURL=webIndexSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webIndexSearch.js","sourceRoot":"","sources":["../../../src/main/search/webIndexSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,2EAA2E;AAC3E,yEAAyE;AACzE,6EAA6E;AAC7E,2EAA2E;AAC3E,2EAA2E;AAC3E,sBAAsB;AAEtB,MAAM,cAAc,GAAG,MAAM,CAAC;AAC9B,MAAM,eAAe,GAAG,MAAM,CAAC;AAC/B,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,MAAM,kBAAkB,GAAG,CAAC,CAAC;AA8B7B,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IAGN;IAFtC,WAAW,CAAU;IAErB,YAAY,OAAe,EAAW,SAAiB;QACrD,KAAK,CAAC,OAAO,CAAC,CAAC;QADqB,cAAS,GAAT,SAAS,CAAQ;QAErD,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AAED,IAAI,cAAc,GAA4B,IAAI,CAAC;AACnD,IAAI,WAAW,GAAG,CAAC,CAAC;AACpB,MAAM,OAAO,GAAsB,EAAE,CAAC;AAEtC,SAAS,eAAe;IACtB,IAAI,W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