@goodpeanuts/dsh-sui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +100 -3
- package/THIRD_PARTY_NOTICES.txt +1064 -0
- package/apps/cli/dist/_virtual/_rolldown/runtime.mjs +35 -0
- package/apps/cli/dist/args.mjs +204 -0
- package/apps/cli/dist/cli.mjs +392 -0
- package/apps/cli/dist/errors.mjs +32 -0
- package/apps/cli/dist/help.mjs +73 -0
- package/apps/cli/dist/io.mjs +37 -0
- package/apps/cli/dist/main.mjs +10 -0
- package/apps/cli/dist/node_modules/.pnpm/@keyv_serialize@1.1.1/node_modules/@keyv/serialize/dist/index.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.mjs +81 -0
- package/apps/cli/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.mjs +1 -0
- package/apps/cli/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/index.mjs +1015 -0
- package/apps/cli/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/utilities.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/boolbase@1.0.0/node_modules/boolbase/index.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/byte-counter@0.1.0/node_modules/byte-counter/utilities.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-lookup@7.0.0/node_modules/cacheable-lookup/source/index.mjs +279 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/index.mjs +274 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/types.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/helpers.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/index.mjs +159 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/positionals.mjs +33 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/attributes.mjs +465 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/css.mjs +94 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/extract.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/forms.mjs +63 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/manipulation.mjs +731 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/traversing.mjs +828 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/cheerio.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/index.mjs +11 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load-parse.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load.mjs +73 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/options.mjs +27 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parse.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parsers/parse5-adapter.mjs +42 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/static.mjs +165 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/utils.mjs +78 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/attributes.mjs +187 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/compile.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/general.mjs +89 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/index.mjs +43 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/aliases.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/filters.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/index.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/subselects.mjs +68 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/sort.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.mjs +50 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.mjs +320 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.mjs +102 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/decompress-response@10.0.0/node_modules/decompress-response/index.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/foreignNames.mjs +103 -0
- package/apps/cli/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/index.mjs +144 -0
- package/apps/cli/dist/node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/esm/index.mjs +51 -0
- package/apps/cli/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/index.mjs +128 -0
- package/apps/cli/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/node.mjs +312 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/feeds.mjs +161 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/helpers.mjs +113 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/index.mjs +56 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/legacy.mjs +141 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/manipulation.mjs +117 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/querying.mjs +124 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/stringify.mjs +69 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/traversal.mjs +109 -0
- package/apps/cli/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/index.mjs +7 -0
- package/apps/cli/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/sniffer.mjs +112 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/escape.mjs +83 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +43 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +330 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/escape.mjs +49 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +4 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +57 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode.mjs +351 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +5 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-xml.mjs +5 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/bin-trie-flags.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/decode-shared.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/index.mjs +871 -0
- package/apps/cli/dist/node_modules/.pnpm/form-data-encoder@4.1.0/node_modules/form-data-encoder/lib/index.mjs +279 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.mjs +54 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/buffer.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.mjs +80 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.mjs +41 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.mjs +8 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/index.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/types.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/calculate-retry-delay.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/diagnostics-channel.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/errors.mjs +132 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/index.mjs +923 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/options.mjs +1622 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/parse-link-header.mjs +27 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/response.mjs +36 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/timed-out.mjs +107 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/defer-to-connect.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/get-body-size.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-client-request.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-form-data.mjs +7 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-unix-socket-url.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/proxy-events.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/timer.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/unhandle.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/url-to-options.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/weakable-map.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/create.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/index.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Parser.mjs +441 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Tokenizer.mjs +661 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/index.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/http-cache-semantics@4.3.0/node_modules/http-cache-semantics/index.mjs +608 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/agent.mjs +441 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/auto.mjs +145 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/client-request.mjs +318 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/incoming-message.mjs +58 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.mjs +51 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/get-auth-headers.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h1-over-h2.mjs +84 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h1.mjs +49 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h2.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-hx.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/initialize.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/calculate-server-name.mjs +24 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/check-type.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/delay-async-destroy.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/errors.mjs +30 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/js-stream-socket.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-events.mjs +10 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-socket-handler.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-name.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-value.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +355 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +191 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +140 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +50 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +455 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +151 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +169 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2584 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2220 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +227 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +425 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +427 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +230 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +292 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +123 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +197 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +182 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +42 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +108 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +90 -0
- package/apps/cli/dist/node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/js-sha256@0.11.1/node_modules/js-sha256/src/sha256.mjs +495 -0
- package/apps/cli/dist/node_modules/.pnpm/keyv@5.6.0/node_modules/keyv/dist/index.mjs +740 -0
- package/apps/cli/dist/node_modules/.pnpm/lowercase-keys@3.0.0/node_modules/lowercase-keys/index.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/mimic-response@4.0.0/node_modules/mimic-response/index.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/normalize-url@8.1.1/node_modules/normalize-url/index.mjs +145 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/compile.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/parse.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/p-cancelable@4.0.1/node_modules/p-cancelable/index.mjs +86 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5-htmlparser2-tree-adapter@7.1.0/node_modules/parse5-htmlparser2-tree-adapter/dist/index.mjs +187 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5-parser-stream@7.1.2/node_modules/parse5-parser-stream/dist/index.mjs +2 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/doctype.mjs +101 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/error-codes.mjs +66 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/foreign-content.mjs +259 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/html.mjs +544 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/token.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/unicode.mjs +91 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/index.mjs +41 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/index.mjs +2492 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/open-element-stack.mjs +292 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/serializer/index.mjs +111 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/index.mjs +2067 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tree-adapters/default.mjs +164 -0
- package/apps/cli/dist/node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/responselike@4.0.2/node_modules/responselike/index.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/tldts@7.4.18/node_modules/tldts/dist/cjs/index.mjs +22542 -0
- package/apps/cli/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.mjs +1761 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/index.mjs +221 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/abort-signal.mjs +44 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-connect.mjs +85 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-pipeline.mjs +174 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-request.mjs +155 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-stream.mjs +136 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-upgrade.mjs +88 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/index.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/readable.mjs +418 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/memory-cache-store.mjs +190 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/sqlite-cache-store.mjs +324 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/connect.mjs +115 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/constants.mjs +134 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/diagnostics.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/errors.mjs +412 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/request.mjs +282 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-client.mjs +288 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-utils.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/symbols.mjs +80 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/tree.mjs +124 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/util.mjs +940 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/agent.mjs +119 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/balanced-pool.mjs +129 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h1.mjs +1091 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h2.mjs +588 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client.mjs +385 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher-base.mjs +121 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/env-http-proxy-agent.mjs +105 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/fixed-queue.mjs +75 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/h2c-client.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool-base.mjs +155 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool.mjs +76 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/proxy-agent.mjs +233 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/retry-agent.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/round-robin-pool.mjs +94 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/socks5-proxy-agent.mjs +194 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/encoding/index.mjs +18 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/global.mjs +48 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-handler.mjs +457 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-revalidation-handler.mjs +82 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/decorator-handler.mjs +57 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/deduplication-handler.mjs +341 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/redirect-handler.mjs +131 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/retry-handler.mjs +332 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/unwrap-handler.mjs +88 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/wrap-handler.mjs +68 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/cache.mjs +350 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/decompress.mjs +416 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/deduplicate.mjs +69 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dns.mjs +323 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dump.mjs +65 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/redirect.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/response-error.mjs +73 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/retry.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/constants.mjs +590 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp-wasm.mjs +13 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.mjs +13 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/utils.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-agent.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-call-history.mjs +159 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-client.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-errors.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-interceptor.mjs +150 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-pool.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-symbols.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-utils.mjs +302 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/pending-interceptors-formatter.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-agent.mjs +268 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-recorder.mjs +424 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-utils.mjs +121 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/cache.mjs +440 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/date.mjs +332 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/promise.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/runtime-features.mjs +101 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/stats.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/timers.mjs +341 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cache.mjs +462 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cachestorage.mjs +103 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/util.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/constants.mjs +11 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/index.mjs +169 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/parse.mjs +108 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/util.mjs +239 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource-stream.mjs +317 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource.mjs +345 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/util.mjs +29 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/body.mjs +271 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/constants.mjs +224 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/data-url.mjs +247 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata-parser.mjs +255 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata.mjs +153 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/global.mjs +34 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/headers.mjs +400 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/index.mjs +776 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/request.mjs +602 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/response.mjs +358 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/util.mjs +795 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/infra/index.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.mjs +170 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/webidl/index.mjs +505 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/connection.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/constants.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/events.mjs +268 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/frame.mjs +105 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/permessage-deflate.mjs +85 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/receiver.mjs +323 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/sender.mjs +90 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketerror.mjs +78 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketstream.mjs +270 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/util.mjs +212 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/websocket.mjs +432 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/labels-to-names.mjs +224 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/supported-names.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/whatwg-encoding.mjs +40 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.mjs +54 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type.mjs +92 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/parser.mjs +62 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/serializer.mjs +24 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/utils.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.mjs +26 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.mjs +800 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.mjs +508 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.mjs +366 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.mjs +63 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.mjs +253 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.mjs +118 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.mjs +65 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.mjs +48 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.mjs +1235 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.mjs +297 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.mjs +316 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.mjs +8 -0
- package/apps/cli/dist/packages/data-maintenance/src/archive.mjs +143 -0
- package/apps/cli/dist/packages/data-maintenance/src/contracts.mjs +17 -0
- package/apps/cli/dist/packages/data-maintenance/src/files.mjs +121 -0
- package/apps/cli/dist/packages/data-maintenance/src/index.mjs +494 -0
- package/apps/cli/dist/packages/data-maintenance/src/lease.mjs +53 -0
- package/apps/cli/dist/packages/data-maintenance/src/migration-backup.mjs +57 -0
- package/apps/cli/dist/packages/data-maintenance/src/paths.mjs +15 -0
- package/apps/cli/dist/packages/feidee/src/client.mjs +635 -0
- package/apps/cli/dist/packages/feidee/src/hash.mjs +10 -0
- package/apps/cli/dist/packages/feidee/src/index.mjs +8 -0
- package/apps/cli/dist/packages/feidee/src/mutation-gateway.mjs +165 -0
- package/apps/cli/dist/packages/feidee/src/parsers.mjs +634 -0
- package/apps/cli/dist/packages/feidee/src/transaction-text.mjs +39 -0
- package/apps/cli/dist/packages/feidee/src/write-contract.mjs +273 -0
- package/apps/cli/dist/packages/finance/src/date-range.mjs +74 -0
- package/apps/cli/dist/packages/finance/src/domain.mjs +18 -0
- package/apps/cli/dist/packages/finance/src/errors.mjs +221 -0
- package/apps/cli/dist/packages/finance/src/index.mjs +16 -0
- package/apps/cli/dist/packages/finance/src/metadata-query.mjs +32 -0
- package/apps/cli/dist/packages/finance/src/sync/progress.mjs +27 -0
- package/apps/cli/dist/packages/finance/src/sync/service.mjs +282 -0
- package/apps/cli/dist/packages/finance/src/transactions/audit.mjs +104 -0
- package/apps/cli/dist/packages/finance/src/transactions/canary.mjs +85 -0
- package/apps/cli/dist/packages/finance/src/transactions/compare.mjs +76 -0
- package/apps/cli/dist/packages/finance/src/transactions/contracts.mjs +92 -0
- package/apps/cli/dist/packages/finance/src/transactions/memo-policy.mjs +79 -0
- package/apps/cli/dist/packages/finance/src/transactions/mutation.mjs +656 -0
- package/apps/cli/dist/packages/finance/src/transactions/query.mjs +59 -0
- package/apps/cli/dist/packages/finance/src/transactions/statistics.mjs +67 -0
- package/apps/cli/dist/packages/finance/src/write-policy.mjs +4 -0
- package/apps/cli/dist/packages/finance-module/src/balance-preview.mjs +4 -0
- package/apps/cli/dist/packages/finance-module/src/contracts.mjs +13 -0
- package/apps/cli/dist/packages/finance-module/src/database.mjs +1292 -0
- package/apps/cli/dist/packages/finance-module/src/draft-entries.mjs +89 -0
- package/apps/cli/dist/packages/finance-module/src/draft-receipts.mjs +8 -0
- package/apps/cli/dist/packages/finance-module/src/historical-task-archives.mjs +24 -0
- package/apps/cli/dist/packages/finance-module/src/node.mjs +76 -0
- package/apps/cli/dist/packages/finance-module/src/personal-preferences.mjs +29 -0
- package/apps/cli/dist/packages/finance-module/src/route-contracts.mjs +11 -0
- package/apps/cli/dist/packages/finance-module/src/schema-compatibility.mjs +142 -0
- package/apps/cli/dist/packages/finance-module/src/service-record-domain.mjs +16 -0
- package/apps/cli/dist/packages/finance-module/src/service-record-store.mjs +119 -0
- package/apps/cli/dist/packages/finance-module/src/shared-draft-migration.mjs +39 -0
- package/apps/cli/dist/packages/finance-module/src/single-draft-migration.mjs +70 -0
- package/apps/cli/dist/packages/finance-module/src/storage.mjs +282 -0
- package/apps/cli/dist/packages/finance-module/src/web-contracts.mjs +38 -0
- package/apps/cli/dist/packages/local-store/src/checkpoint-backup.mjs +40 -0
- package/apps/cli/dist/packages/local-store/src/checkpoint-history.mjs +77 -0
- package/apps/cli/dist/packages/local-store/src/database.mjs +1523 -0
- package/apps/cli/dist/packages/local-store/src/exchange-rates.mjs +169 -0
- package/apps/cli/dist/packages/local-store/src/node.mjs +71 -0
- package/apps/cli/dist/packages/sdk/src/account-snapshot-service.mjs +582 -0
- package/apps/cli/dist/packages/sdk/src/auth.mjs +89 -0
- package/apps/cli/dist/packages/sdk/src/cache-analysis.mjs +393 -0
- package/apps/cli/dist/packages/sdk/src/config.mjs +64 -0
- package/apps/cli/dist/packages/sdk/src/credential-identity.mjs +8 -0
- package/apps/cli/dist/packages/sdk/src/credentials.mjs +86 -0
- package/apps/cli/dist/packages/sdk/src/exchange-rate-service.mjs +253 -0
- package/apps/cli/dist/packages/sdk/src/finance-cookie-cache.mjs +93 -0
- package/apps/cli/dist/packages/sdk/src/finance-session.mjs +215 -0
- package/apps/cli/dist/packages/sdk/src/frankfurter.mjs +125 -0
- package/apps/cli/dist/packages/sdk/src/node.mjs +53 -0
- package/apps/cli/dist/packages/sdk/src/probe.mjs +65 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease-node.mjs +27 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease-owner-node.mjs +68 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease.mjs +143 -0
- package/apps/cli/dist/packages/sdk/src/runtime.mjs +643 -0
- package/apps/cli/dist/storage.mjs +11 -0
- package/bundles/sui-ledger/dist/_virtual/_rolldown/runtime.mjs +35 -0
- package/bundles/sui-ledger/dist/capabilities/tools.mjs +32 -0
- package/bundles/sui-ledger/dist/client.js +23511 -0
- package/bundles/sui-ledger/dist/finance-prompt.mjs +30 -0
- package/bundles/sui-ledger/dist/finance-state-context.mjs +38 -0
- package/bundles/sui-ledger/dist/index.mjs +198 -0
- package/bundles/sui-ledger/dist/maintenance-cli.mjs +76 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@deepseek-ai_dsh-home-paths_159c15e70066431314381a350c2ee56a/node_modules/@deepseek-ai/dsh-home-paths/lib/index.mjs +67 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@keyv_serialize@1.1.1/node_modules/@keyv/serialize/dist/index.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.mjs +81 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.mjs +1 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/index.mjs +1015 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/utilities.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/boolbase@1.0.0/node_modules/boolbase/index.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/byte-counter@0.1.0/node_modules/byte-counter/utilities.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-lookup@7.0.0/node_modules/cacheable-lookup/source/index.mjs +279 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/index.mjs +274 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/types.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/helpers.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/index.mjs +159 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/positionals.mjs +33 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/attributes.mjs +465 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/css.mjs +94 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/extract.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/forms.mjs +63 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/manipulation.mjs +731 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/traversing.mjs +828 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/cheerio.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/index.mjs +11 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load-parse.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load.mjs +73 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/options.mjs +27 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parse.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parsers/parse5-adapter.mjs +42 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/static.mjs +165 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/utils.mjs +78 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/attributes.mjs +187 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/compile.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/general.mjs +89 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/index.mjs +43 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/aliases.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/filters.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/index.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/subselects.mjs +68 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/sort.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.mjs +50 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.mjs +320 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.mjs +102 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/decompress-response@10.0.0/node_modules/decompress-response/index.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/foreignNames.mjs +103 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/index.mjs +144 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/esm/index.mjs +51 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/index.mjs +128 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/node.mjs +312 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/feeds.mjs +161 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/helpers.mjs +113 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/index.mjs +56 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/legacy.mjs +141 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/manipulation.mjs +117 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/querying.mjs +124 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/stringify.mjs +69 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/traversal.mjs +109 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/index.mjs +7 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/sniffer.mjs +112 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/escape.mjs +83 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +43 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +330 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/escape.mjs +49 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +4 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +57 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode.mjs +351 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +5 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-xml.mjs +5 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/bin-trie-flags.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/decode-shared.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/index.mjs +871 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/form-data-encoder@4.1.0/node_modules/form-data-encoder/lib/index.mjs +279 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.mjs +54 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/buffer.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.mjs +80 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.mjs +41 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.mjs +8 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/index.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/types.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/calculate-retry-delay.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/diagnostics-channel.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/errors.mjs +132 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/index.mjs +923 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/options.mjs +1622 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/parse-link-header.mjs +27 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/response.mjs +36 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/timed-out.mjs +107 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/defer-to-connect.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/get-body-size.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-client-request.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-form-data.mjs +7 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-unix-socket-url.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/proxy-events.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/timer.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/unhandle.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/url-to-options.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/weakable-map.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/create.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/index.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Parser.mjs +441 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Tokenizer.mjs +661 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/index.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http-cache-semantics@4.3.0/node_modules/http-cache-semantics/index.mjs +608 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/agent.mjs +441 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/auto.mjs +145 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/client-request.mjs +318 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/incoming-message.mjs +58 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.mjs +51 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/get-auth-headers.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h1-over-h2.mjs +84 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h1.mjs +49 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h2.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-hx.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/initialize.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/calculate-server-name.mjs +24 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/check-type.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/delay-async-destroy.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/errors.mjs +30 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/js-stream-socket.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-events.mjs +10 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-socket-handler.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-name.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-value.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +355 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +191 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +140 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +50 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +455 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +151 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +169 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2584 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2220 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +227 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +425 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +427 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +230 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +292 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +123 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +197 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +182 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +42 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +108 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +90 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/js-sha256@0.11.1/node_modules/js-sha256/src/sha256.mjs +495 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/keyv@5.6.0/node_modules/keyv/dist/index.mjs +740 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/lowercase-keys@3.0.0/node_modules/lowercase-keys/index.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/mimic-response@4.0.0/node_modules/mimic-response/index.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/normalize-url@8.1.1/node_modules/normalize-url/index.mjs +145 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/compile.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/parse.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/p-cancelable@4.0.1/node_modules/p-cancelable/index.mjs +86 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5-htmlparser2-tree-adapter@7.1.0/node_modules/parse5-htmlparser2-tree-adapter/dist/index.mjs +187 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5-parser-stream@7.1.2/node_modules/parse5-parser-stream/dist/index.mjs +2 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/doctype.mjs +101 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/error-codes.mjs +66 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/foreign-content.mjs +259 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/html.mjs +544 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/token.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/unicode.mjs +91 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/index.mjs +41 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/index.mjs +2492 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/open-element-stack.mjs +292 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/serializer/index.mjs +111 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/index.mjs +2067 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tree-adapters/default.mjs +164 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/responselike@4.0.2/node_modules/responselike/index.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/tldts@7.4.18/node_modules/tldts/dist/cjs/index.mjs +22542 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.mjs +1761 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/index.mjs +221 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/abort-signal.mjs +44 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-connect.mjs +85 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-pipeline.mjs +174 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-request.mjs +155 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-stream.mjs +136 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-upgrade.mjs +88 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/index.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/readable.mjs +418 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/memory-cache-store.mjs +190 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/sqlite-cache-store.mjs +324 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/connect.mjs +115 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/constants.mjs +134 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/diagnostics.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/errors.mjs +412 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/request.mjs +282 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-client.mjs +288 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-utils.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/symbols.mjs +80 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/tree.mjs +124 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/util.mjs +940 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/agent.mjs +119 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/balanced-pool.mjs +129 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h1.mjs +1091 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h2.mjs +588 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client.mjs +385 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher-base.mjs +121 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/env-http-proxy-agent.mjs +105 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/fixed-queue.mjs +75 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/h2c-client.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool-base.mjs +155 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool.mjs +76 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/proxy-agent.mjs +233 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/retry-agent.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/round-robin-pool.mjs +94 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/socks5-proxy-agent.mjs +194 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/encoding/index.mjs +18 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/global.mjs +48 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-handler.mjs +457 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-revalidation-handler.mjs +82 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/decorator-handler.mjs +57 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/deduplication-handler.mjs +341 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/redirect-handler.mjs +131 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/retry-handler.mjs +332 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/unwrap-handler.mjs +88 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/wrap-handler.mjs +68 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/cache.mjs +350 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/decompress.mjs +416 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/deduplicate.mjs +69 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dns.mjs +323 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dump.mjs +65 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/redirect.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/response-error.mjs +73 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/retry.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/constants.mjs +590 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp-wasm.mjs +13 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.mjs +13 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/utils.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-agent.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-call-history.mjs +159 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-client.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-errors.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-interceptor.mjs +150 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-pool.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-symbols.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-utils.mjs +302 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/pending-interceptors-formatter.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-agent.mjs +268 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-recorder.mjs +424 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-utils.mjs +121 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/cache.mjs +440 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/date.mjs +332 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/promise.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/runtime-features.mjs +101 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/stats.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/timers.mjs +341 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cache.mjs +462 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cachestorage.mjs +103 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/util.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/constants.mjs +11 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/index.mjs +169 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/parse.mjs +108 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/util.mjs +239 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource-stream.mjs +317 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource.mjs +345 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/util.mjs +29 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/body.mjs +271 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/constants.mjs +224 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/data-url.mjs +247 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata-parser.mjs +255 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata.mjs +153 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/global.mjs +34 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/headers.mjs +400 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/index.mjs +776 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/request.mjs +602 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/response.mjs +358 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/util.mjs +795 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/infra/index.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.mjs +170 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/webidl/index.mjs +505 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/connection.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/constants.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/events.mjs +268 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/frame.mjs +105 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/permessage-deflate.mjs +85 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/receiver.mjs +323 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/sender.mjs +90 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketerror.mjs +78 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketstream.mjs +270 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/util.mjs +212 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/websocket.mjs +432 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/labels-to-names.mjs +224 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/supported-names.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/whatwg-encoding.mjs +40 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.mjs +54 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type.mjs +92 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/parser.mjs +62 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/serializer.mjs +24 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/utils.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/dist/cpexcel.mjs +3348 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.mjs +26473 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.mjs +26 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.mjs +800 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.mjs +508 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.mjs +366 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.mjs +63 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.mjs +253 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.mjs +118 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.mjs +65 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.mjs +48 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.mjs +1235 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.mjs +297 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.mjs +316 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/archive.mjs +143 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/contracts.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/files.mjs +158 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/index.mjs +494 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/lease.mjs +53 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/migration-backup.mjs +57 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/paths.mjs +15 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/runtime.mjs +132 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/client.mjs +635 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/hash.mjs +10 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/index.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/mutation-gateway.mjs +165 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/parsers.mjs +634 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/transaction-text.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/write-contract.mjs +273 -0
- package/bundles/sui-ledger/dist/packages/finance/src/date-range.mjs +74 -0
- package/bundles/sui-ledger/dist/packages/finance/src/domain.mjs +18 -0
- package/bundles/sui-ledger/dist/packages/finance/src/errors.mjs +221 -0
- package/bundles/sui-ledger/dist/packages/finance/src/index.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/finance/src/json-schema.mjs +212 -0
- package/bundles/sui-ledger/dist/packages/finance/src/metadata-query.mjs +32 -0
- package/bundles/sui-ledger/dist/packages/finance/src/money.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/finance/src/public-error.mjs +10 -0
- package/bundles/sui-ledger/dist/packages/finance/src/sync/progress.mjs +27 -0
- package/bundles/sui-ledger/dist/packages/finance/src/sync/service.mjs +282 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/audit.mjs +104 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/canary.mjs +85 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/compare.mjs +76 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/contracts.mjs +83 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/memo-policy.mjs +79 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/mutation.mjs +656 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/query.mjs +59 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/statistics.mjs +67 -0
- package/bundles/sui-ledger/dist/packages/finance/src/write-policy.mjs +4 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/balance-preview.mjs +119 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/capabilities.mjs +1306 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/checkpoint-review.mjs +75 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/commit-failure.mjs +161 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/commit-recovery.mjs +41 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/contracts.mjs +13 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/data-version.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/database.mjs +1292 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/draft-entries.mjs +216 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/draft-receipts.mjs +16 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/finance-guidance.mjs +23 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/historical-task-archives.mjs +24 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/index.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/interactions.mjs +229 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/model-pages.mjs +61 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/model-views.mjs +206 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/node.mjs +76 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/personal-preferences.mjs +103 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/route-contracts.mjs +11 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/routes.mjs +427 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/schema-compatibility.mjs +142 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/sdk-adapter.mjs +100 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-domain.mjs +207 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-routes.mjs +91 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-store.mjs +119 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-tools.mjs +283 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-records.mjs +626 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service.mjs +2525 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/shared-draft-migration.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/single-draft-migration.mjs +70 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/source-reader.mjs +354 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/storage.mjs +282 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/tool-contracts.mjs +42 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/web-contracts.mjs +74 -0
- package/bundles/sui-ledger/dist/packages/interaction/src/registry.mjs +36 -0
- package/bundles/sui-ledger/dist/packages/interaction/src/service.mjs +424 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/checkpoint-backup.mjs +40 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/checkpoint-history.mjs +77 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/database.mjs +1523 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/exchange-rates.mjs +169 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/node.mjs +71 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/readonly-node.mjs +486 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/account-snapshot-service.mjs +582 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/cache-analysis.mjs +597 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/config.mjs +64 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/credential-identity.mjs +7 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/credentials.mjs +86 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/exchange-rate-service.mjs +253 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/finance-cookie-cache.mjs +93 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/finance-session.mjs +215 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/frankfurter.mjs +125 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/ledger-money.mjs +183 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/node-readonly.mjs +381 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/node.mjs +53 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/probe.mjs +65 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease-node.mjs +27 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease-owner-node.mjs +68 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease.mjs +143 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/runtime.mjs +643 -0
- package/bundles/sui-ledger/dist/preferences-context.mjs +21 -0
- package/bundles/sui-ledger/dist/remote-write-policy.mjs +51 -0
- package/bundles/sui-ledger/dist/routes/finance-api.mjs +380 -0
- package/bundles/sui-ledger/dist/session/attachment-ownership.mjs +53 -0
- package/bundles/sui-ledger/dist/session/call-context.mjs +14 -0
- package/bundles/sui-ledger/dist/session/source-ports.mjs +74 -0
- package/bundles/sui-ledger/dist/storage/business-runtime.mjs +116 -0
- package/bundles/sui-ledger/dist/storage/maintenance-http.mjs +159 -0
- package/bundles/sui-ledger/dist/storage/paths.mjs +15 -0
- package/bundles/sui-ledger/dist/style.css +15416 -0
- package/bundles/sui-ledger/icon.svg +1 -0
- package/bundles/sui-ledger/locale/en.json +6 -0
- package/bundles/sui-ledger/locale/zh-CN.json +6 -0
- package/cordis.patch.yml +4 -0
- package/package.json +111 -3
package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.mjs
ADDED
|
@@ -0,0 +1,1235 @@
|
|
|
1
|
+
import { $ZodAsyncError, $ZodEncodeError, $constructor, config, globalConfig } from "./core.mjs";
|
|
2
|
+
import { aborted, allowsEval, cached, cleanRegex, defineLazy, esc, escapeRegex, explicitlyAborted, finalizeIssue, getEnumValues, isObject, isPlainObject, issue, optionalKeys, prefixIssues, propertyKeyTypes } from "./util.mjs";
|
|
3
|
+
import { safeParse, safeParseAsync } from "./parse.mjs";
|
|
4
|
+
import { base64, base64url, boolean, cidrv4, cidrv6, cuid, cuid2, date, datetime, duration, e164, email, emoji, guid, httpProtocol, ipv4, ipv6, ksuid, nanoid, number, string, time, ulid, uuid, xid } from "./regexes.mjs";
|
|
5
|
+
import { $ZodCheck, $ZodCheckNumberFormat, $ZodCheckStringFormat } from "./checks.mjs";
|
|
6
|
+
import { Doc } from "./doc.mjs";
|
|
7
|
+
import { version } from "./versions.mjs";
|
|
8
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
9
|
+
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
10
|
+
var _a;
|
|
11
|
+
inst ?? (inst = {});
|
|
12
|
+
inst._zod.def = def;
|
|
13
|
+
inst._zod.bag = inst._zod.bag || {};
|
|
14
|
+
inst._zod.version = version;
|
|
15
|
+
const checks = [...inst._zod.def.checks ?? []];
|
|
16
|
+
if (inst._zod.traits.has("$ZodCheck")) checks.unshift(inst);
|
|
17
|
+
for (const ch of checks) for (const fn of ch._zod.onattach) fn(inst);
|
|
18
|
+
if (checks.length === 0) {
|
|
19
|
+
(_a = inst._zod).deferred ?? (_a.deferred = []);
|
|
20
|
+
inst._zod.deferred?.push(() => {
|
|
21
|
+
inst._zod.run = inst._zod.parse;
|
|
22
|
+
});
|
|
23
|
+
} else {
|
|
24
|
+
const runChecks = (payload, checks, ctx) => {
|
|
25
|
+
let isAborted = aborted(payload);
|
|
26
|
+
let asyncResult;
|
|
27
|
+
for (const ch of checks) {
|
|
28
|
+
if (ch._zod.def.when) {
|
|
29
|
+
if (explicitlyAborted(payload)) continue;
|
|
30
|
+
if (!ch._zod.def.when(payload)) continue;
|
|
31
|
+
} else if (isAborted) continue;
|
|
32
|
+
const currLen = payload.issues.length;
|
|
33
|
+
const _ = ch._zod.check(payload);
|
|
34
|
+
if (_ instanceof Promise && ctx?.async === false) throw new $ZodAsyncError();
|
|
35
|
+
if (asyncResult || _ instanceof Promise) asyncResult = (asyncResult ?? Promise.resolve()).then(async () => {
|
|
36
|
+
await _;
|
|
37
|
+
if (payload.issues.length === currLen) return;
|
|
38
|
+
if (!isAborted) isAborted = aborted(payload, currLen);
|
|
39
|
+
});
|
|
40
|
+
else {
|
|
41
|
+
if (payload.issues.length === currLen) continue;
|
|
42
|
+
if (!isAborted) isAborted = aborted(payload, currLen);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if (asyncResult) return asyncResult.then(() => {
|
|
46
|
+
return payload;
|
|
47
|
+
});
|
|
48
|
+
return payload;
|
|
49
|
+
};
|
|
50
|
+
const handleCanaryResult = (canary, payload, ctx) => {
|
|
51
|
+
if (aborted(canary)) {
|
|
52
|
+
canary.aborted = true;
|
|
53
|
+
return canary;
|
|
54
|
+
}
|
|
55
|
+
const checkResult = runChecks(payload, checks, ctx);
|
|
56
|
+
if (checkResult instanceof Promise) {
|
|
57
|
+
if (ctx.async === false) throw new $ZodAsyncError();
|
|
58
|
+
return checkResult.then((checkResult) => inst._zod.parse(checkResult, ctx));
|
|
59
|
+
}
|
|
60
|
+
return inst._zod.parse(checkResult, ctx);
|
|
61
|
+
};
|
|
62
|
+
inst._zod.run = (payload, ctx) => {
|
|
63
|
+
if (ctx.skipChecks) return inst._zod.parse(payload, ctx);
|
|
64
|
+
if (ctx.direction === "backward") {
|
|
65
|
+
const canary = inst._zod.parse({
|
|
66
|
+
value: payload.value,
|
|
67
|
+
issues: []
|
|
68
|
+
}, {
|
|
69
|
+
...ctx,
|
|
70
|
+
skipChecks: true
|
|
71
|
+
});
|
|
72
|
+
if (canary instanceof Promise) return canary.then((canary) => {
|
|
73
|
+
return handleCanaryResult(canary, payload, ctx);
|
|
74
|
+
});
|
|
75
|
+
return handleCanaryResult(canary, payload, ctx);
|
|
76
|
+
}
|
|
77
|
+
const result = inst._zod.parse(payload, ctx);
|
|
78
|
+
if (result instanceof Promise) {
|
|
79
|
+
if (ctx.async === false) throw new $ZodAsyncError();
|
|
80
|
+
return result.then((result) => runChecks(result, checks, ctx));
|
|
81
|
+
}
|
|
82
|
+
return runChecks(result, checks, ctx);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
defineLazy(inst, "~standard", () => ({
|
|
86
|
+
validate: (value) => {
|
|
87
|
+
try {
|
|
88
|
+
const r = safeParse(inst, value);
|
|
89
|
+
return r.success ? { value: r.data } : { issues: r.error?.issues };
|
|
90
|
+
} catch (_) {
|
|
91
|
+
return safeParseAsync(inst, value).then((r) => r.success ? { value: r.data } : { issues: r.error?.issues });
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
vendor: "zod",
|
|
95
|
+
version: 1
|
|
96
|
+
}));
|
|
97
|
+
});
|
|
98
|
+
const $ZodString = /*@__PURE__*/ $constructor("$ZodString", (inst, def) => {
|
|
99
|
+
$ZodType.init(inst, def);
|
|
100
|
+
inst._zod.pattern = [...inst?._zod.bag?.patterns ?? []].pop() ?? string(inst._zod.bag);
|
|
101
|
+
inst._zod.parse = (payload, _) => {
|
|
102
|
+
if (def.coerce) try {
|
|
103
|
+
payload.value = String(payload.value);
|
|
104
|
+
} catch (_) {}
|
|
105
|
+
if (typeof payload.value === "string") return payload;
|
|
106
|
+
payload.issues.push({
|
|
107
|
+
expected: "string",
|
|
108
|
+
code: "invalid_type",
|
|
109
|
+
input: payload.value,
|
|
110
|
+
inst
|
|
111
|
+
});
|
|
112
|
+
return payload;
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, def) => {
|
|
116
|
+
$ZodCheckStringFormat.init(inst, def);
|
|
117
|
+
$ZodString.init(inst, def);
|
|
118
|
+
});
|
|
119
|
+
const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
|
|
120
|
+
def.pattern ?? (def.pattern = guid);
|
|
121
|
+
$ZodStringFormat.init(inst, def);
|
|
122
|
+
});
|
|
123
|
+
const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
|
|
124
|
+
if (def.version) {
|
|
125
|
+
const v = {
|
|
126
|
+
v1: 1,
|
|
127
|
+
v2: 2,
|
|
128
|
+
v3: 3,
|
|
129
|
+
v4: 4,
|
|
130
|
+
v5: 5,
|
|
131
|
+
v6: 6,
|
|
132
|
+
v7: 7,
|
|
133
|
+
v8: 8
|
|
134
|
+
}[def.version];
|
|
135
|
+
if (v === void 0) throw new Error(`Invalid UUID version: "${def.version}"`);
|
|
136
|
+
def.pattern ?? (def.pattern = uuid(v));
|
|
137
|
+
} else def.pattern ?? (def.pattern = uuid());
|
|
138
|
+
$ZodStringFormat.init(inst, def);
|
|
139
|
+
});
|
|
140
|
+
const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
|
|
141
|
+
def.pattern ?? (def.pattern = email);
|
|
142
|
+
$ZodStringFormat.init(inst, def);
|
|
143
|
+
});
|
|
144
|
+
const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
|
|
145
|
+
$ZodStringFormat.init(inst, def);
|
|
146
|
+
inst._zod.check = (payload) => {
|
|
147
|
+
try {
|
|
148
|
+
const trimmed = payload.value.trim();
|
|
149
|
+
if (!def.normalize && def.protocol?.source === httpProtocol.source) {
|
|
150
|
+
if (!/^https?:\/\//i.test(trimmed)) {
|
|
151
|
+
payload.issues.push({
|
|
152
|
+
code: "invalid_format",
|
|
153
|
+
format: "url",
|
|
154
|
+
note: "Invalid URL format",
|
|
155
|
+
input: payload.value,
|
|
156
|
+
inst,
|
|
157
|
+
continue: !def.abort
|
|
158
|
+
});
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const url = new URL(trimmed);
|
|
163
|
+
if (def.hostname) {
|
|
164
|
+
def.hostname.lastIndex = 0;
|
|
165
|
+
if (!def.hostname.test(url.hostname)) payload.issues.push({
|
|
166
|
+
code: "invalid_format",
|
|
167
|
+
format: "url",
|
|
168
|
+
note: "Invalid hostname",
|
|
169
|
+
pattern: def.hostname.source,
|
|
170
|
+
input: payload.value,
|
|
171
|
+
inst,
|
|
172
|
+
continue: !def.abort
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
if (def.protocol) {
|
|
176
|
+
def.protocol.lastIndex = 0;
|
|
177
|
+
if (!def.protocol.test(url.protocol.endsWith(":") ? url.protocol.slice(0, -1) : url.protocol)) payload.issues.push({
|
|
178
|
+
code: "invalid_format",
|
|
179
|
+
format: "url",
|
|
180
|
+
note: "Invalid protocol",
|
|
181
|
+
pattern: def.protocol.source,
|
|
182
|
+
input: payload.value,
|
|
183
|
+
inst,
|
|
184
|
+
continue: !def.abort
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
if (def.normalize) payload.value = url.href;
|
|
188
|
+
else payload.value = trimmed;
|
|
189
|
+
return;
|
|
190
|
+
} catch (_) {
|
|
191
|
+
payload.issues.push({
|
|
192
|
+
code: "invalid_format",
|
|
193
|
+
format: "url",
|
|
194
|
+
input: payload.value,
|
|
195
|
+
inst,
|
|
196
|
+
continue: !def.abort
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
});
|
|
201
|
+
const $ZodEmoji = /*@__PURE__*/ $constructor("$ZodEmoji", (inst, def) => {
|
|
202
|
+
def.pattern ?? (def.pattern = emoji());
|
|
203
|
+
$ZodStringFormat.init(inst, def);
|
|
204
|
+
});
|
|
205
|
+
const $ZodNanoID = /*@__PURE__*/ $constructor("$ZodNanoID", (inst, def) => {
|
|
206
|
+
def.pattern ?? (def.pattern = nanoid);
|
|
207
|
+
$ZodStringFormat.init(inst, def);
|
|
208
|
+
});
|
|
209
|
+
/**
|
|
210
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
211
|
+
* (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
|
|
212
|
+
* See https://github.com/paralleldrive/cuid.
|
|
213
|
+
*/
|
|
214
|
+
const $ZodCUID = /*@__PURE__*/ $constructor("$ZodCUID", (inst, def) => {
|
|
215
|
+
def.pattern ?? (def.pattern = cuid);
|
|
216
|
+
$ZodStringFormat.init(inst, def);
|
|
217
|
+
});
|
|
218
|
+
const $ZodCUID2 = /*@__PURE__*/ $constructor("$ZodCUID2", (inst, def) => {
|
|
219
|
+
def.pattern ?? (def.pattern = cuid2);
|
|
220
|
+
$ZodStringFormat.init(inst, def);
|
|
221
|
+
});
|
|
222
|
+
const $ZodULID = /*@__PURE__*/ $constructor("$ZodULID", (inst, def) => {
|
|
223
|
+
def.pattern ?? (def.pattern = ulid);
|
|
224
|
+
$ZodStringFormat.init(inst, def);
|
|
225
|
+
});
|
|
226
|
+
const $ZodXID = /*@__PURE__*/ $constructor("$ZodXID", (inst, def) => {
|
|
227
|
+
def.pattern ?? (def.pattern = xid);
|
|
228
|
+
$ZodStringFormat.init(inst, def);
|
|
229
|
+
});
|
|
230
|
+
const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
|
|
231
|
+
def.pattern ?? (def.pattern = ksuid);
|
|
232
|
+
$ZodStringFormat.init(inst, def);
|
|
233
|
+
});
|
|
234
|
+
const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
|
|
235
|
+
def.pattern ?? (def.pattern = datetime(def));
|
|
236
|
+
$ZodStringFormat.init(inst, def);
|
|
237
|
+
});
|
|
238
|
+
const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
|
|
239
|
+
def.pattern ?? (def.pattern = date);
|
|
240
|
+
$ZodStringFormat.init(inst, def);
|
|
241
|
+
});
|
|
242
|
+
const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
|
|
243
|
+
def.pattern ?? (def.pattern = time(def));
|
|
244
|
+
$ZodStringFormat.init(inst, def);
|
|
245
|
+
});
|
|
246
|
+
const $ZodISODuration = /*@__PURE__*/ $constructor("$ZodISODuration", (inst, def) => {
|
|
247
|
+
def.pattern ?? (def.pattern = duration);
|
|
248
|
+
$ZodStringFormat.init(inst, def);
|
|
249
|
+
});
|
|
250
|
+
const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
|
|
251
|
+
def.pattern ?? (def.pattern = ipv4);
|
|
252
|
+
$ZodStringFormat.init(inst, def);
|
|
253
|
+
inst._zod.bag.format = `ipv4`;
|
|
254
|
+
});
|
|
255
|
+
const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
|
|
256
|
+
def.pattern ?? (def.pattern = ipv6);
|
|
257
|
+
$ZodStringFormat.init(inst, def);
|
|
258
|
+
inst._zod.bag.format = `ipv6`;
|
|
259
|
+
inst._zod.check = (payload) => {
|
|
260
|
+
try {
|
|
261
|
+
new URL(`http://[${payload.value}]`);
|
|
262
|
+
} catch {
|
|
263
|
+
payload.issues.push({
|
|
264
|
+
code: "invalid_format",
|
|
265
|
+
format: "ipv6",
|
|
266
|
+
input: payload.value,
|
|
267
|
+
inst,
|
|
268
|
+
continue: !def.abort
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
});
|
|
273
|
+
const $ZodCIDRv4 = /*@__PURE__*/ $constructor("$ZodCIDRv4", (inst, def) => {
|
|
274
|
+
def.pattern ?? (def.pattern = cidrv4);
|
|
275
|
+
$ZodStringFormat.init(inst, def);
|
|
276
|
+
});
|
|
277
|
+
const $ZodCIDRv6 = /*@__PURE__*/ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
278
|
+
def.pattern ?? (def.pattern = cidrv6);
|
|
279
|
+
$ZodStringFormat.init(inst, def);
|
|
280
|
+
inst._zod.check = (payload) => {
|
|
281
|
+
const parts = payload.value.split("/");
|
|
282
|
+
try {
|
|
283
|
+
if (parts.length !== 2) throw new Error();
|
|
284
|
+
const [address, prefix] = parts;
|
|
285
|
+
if (!prefix) throw new Error();
|
|
286
|
+
const prefixNum = Number(prefix);
|
|
287
|
+
if (`${prefixNum}` !== prefix) throw new Error();
|
|
288
|
+
if (prefixNum < 0 || prefixNum > 128) throw new Error();
|
|
289
|
+
new URL(`http://[${address}]`);
|
|
290
|
+
} catch {
|
|
291
|
+
payload.issues.push({
|
|
292
|
+
code: "invalid_format",
|
|
293
|
+
format: "cidrv6",
|
|
294
|
+
input: payload.value,
|
|
295
|
+
inst,
|
|
296
|
+
continue: !def.abort
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
});
|
|
301
|
+
function isValidBase64(data) {
|
|
302
|
+
if (data === "") return true;
|
|
303
|
+
if (/\s/.test(data)) return false;
|
|
304
|
+
if (data.length % 4 !== 0) return false;
|
|
305
|
+
try {
|
|
306
|
+
atob(data);
|
|
307
|
+
return true;
|
|
308
|
+
} catch {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
const $ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
|
|
313
|
+
def.pattern ?? (def.pattern = base64);
|
|
314
|
+
$ZodStringFormat.init(inst, def);
|
|
315
|
+
inst._zod.bag.contentEncoding = "base64";
|
|
316
|
+
inst._zod.check = (payload) => {
|
|
317
|
+
if (isValidBase64(payload.value)) return;
|
|
318
|
+
payload.issues.push({
|
|
319
|
+
code: "invalid_format",
|
|
320
|
+
format: "base64",
|
|
321
|
+
input: payload.value,
|
|
322
|
+
inst,
|
|
323
|
+
continue: !def.abort
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
});
|
|
327
|
+
function isValidBase64URL(data) {
|
|
328
|
+
if (!base64url.test(data)) return false;
|
|
329
|
+
const base64 = data.replace(/[-_]/g, (c) => c === "-" ? "+" : "/");
|
|
330
|
+
return isValidBase64(base64.padEnd(Math.ceil(base64.length / 4) * 4, "="));
|
|
331
|
+
}
|
|
332
|
+
const $ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
|
|
333
|
+
def.pattern ?? (def.pattern = base64url);
|
|
334
|
+
$ZodStringFormat.init(inst, def);
|
|
335
|
+
inst._zod.bag.contentEncoding = "base64url";
|
|
336
|
+
inst._zod.check = (payload) => {
|
|
337
|
+
if (isValidBase64URL(payload.value)) return;
|
|
338
|
+
payload.issues.push({
|
|
339
|
+
code: "invalid_format",
|
|
340
|
+
format: "base64url",
|
|
341
|
+
input: payload.value,
|
|
342
|
+
inst,
|
|
343
|
+
continue: !def.abort
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
});
|
|
347
|
+
const $ZodE164 = /*@__PURE__*/ $constructor("$ZodE164", (inst, def) => {
|
|
348
|
+
def.pattern ?? (def.pattern = e164);
|
|
349
|
+
$ZodStringFormat.init(inst, def);
|
|
350
|
+
});
|
|
351
|
+
function isValidJWT(token, algorithm = null) {
|
|
352
|
+
try {
|
|
353
|
+
const tokensParts = token.split(".");
|
|
354
|
+
if (tokensParts.length !== 3) return false;
|
|
355
|
+
const [header] = tokensParts;
|
|
356
|
+
if (!header) return false;
|
|
357
|
+
const parsedHeader = JSON.parse(atob(header));
|
|
358
|
+
if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT") return false;
|
|
359
|
+
if (!parsedHeader.alg) return false;
|
|
360
|
+
if (algorithm && (!("alg" in parsedHeader) || parsedHeader.alg !== algorithm)) return false;
|
|
361
|
+
return true;
|
|
362
|
+
} catch {
|
|
363
|
+
return false;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
const $ZodJWT = /*@__PURE__*/ $constructor("$ZodJWT", (inst, def) => {
|
|
367
|
+
$ZodStringFormat.init(inst, def);
|
|
368
|
+
inst._zod.check = (payload) => {
|
|
369
|
+
if (isValidJWT(payload.value, def.alg)) return;
|
|
370
|
+
payload.issues.push({
|
|
371
|
+
code: "invalid_format",
|
|
372
|
+
format: "jwt",
|
|
373
|
+
input: payload.value,
|
|
374
|
+
inst,
|
|
375
|
+
continue: !def.abort
|
|
376
|
+
});
|
|
377
|
+
};
|
|
378
|
+
});
|
|
379
|
+
const $ZodNumber = /*@__PURE__*/ $constructor("$ZodNumber", (inst, def) => {
|
|
380
|
+
$ZodType.init(inst, def);
|
|
381
|
+
inst._zod.pattern = inst._zod.bag.pattern ?? number;
|
|
382
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
383
|
+
if (def.coerce) try {
|
|
384
|
+
payload.value = Number(payload.value);
|
|
385
|
+
} catch (_) {}
|
|
386
|
+
const input = payload.value;
|
|
387
|
+
if (typeof input === "number" && !Number.isNaN(input) && Number.isFinite(input)) return payload;
|
|
388
|
+
const received = typeof input === "number" ? Number.isNaN(input) ? "NaN" : !Number.isFinite(input) ? "Infinity" : void 0 : void 0;
|
|
389
|
+
payload.issues.push({
|
|
390
|
+
expected: "number",
|
|
391
|
+
code: "invalid_type",
|
|
392
|
+
input,
|
|
393
|
+
inst,
|
|
394
|
+
...received ? { received } : {}
|
|
395
|
+
});
|
|
396
|
+
return payload;
|
|
397
|
+
};
|
|
398
|
+
});
|
|
399
|
+
const $ZodNumberFormat = /*@__PURE__*/ $constructor("$ZodNumberFormat", (inst, def) => {
|
|
400
|
+
$ZodCheckNumberFormat.init(inst, def);
|
|
401
|
+
$ZodNumber.init(inst, def);
|
|
402
|
+
});
|
|
403
|
+
const $ZodBoolean = /*@__PURE__*/ $constructor("$ZodBoolean", (inst, def) => {
|
|
404
|
+
$ZodType.init(inst, def);
|
|
405
|
+
inst._zod.pattern = boolean;
|
|
406
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
407
|
+
if (def.coerce) try {
|
|
408
|
+
payload.value = Boolean(payload.value);
|
|
409
|
+
} catch (_) {}
|
|
410
|
+
const input = payload.value;
|
|
411
|
+
if (typeof input === "boolean") return payload;
|
|
412
|
+
payload.issues.push({
|
|
413
|
+
expected: "boolean",
|
|
414
|
+
code: "invalid_type",
|
|
415
|
+
input,
|
|
416
|
+
inst
|
|
417
|
+
});
|
|
418
|
+
return payload;
|
|
419
|
+
};
|
|
420
|
+
});
|
|
421
|
+
const $ZodUnknown = /*@__PURE__*/ $constructor("$ZodUnknown", (inst, def) => {
|
|
422
|
+
$ZodType.init(inst, def);
|
|
423
|
+
inst._zod.parse = (payload) => payload;
|
|
424
|
+
});
|
|
425
|
+
const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
|
|
426
|
+
$ZodType.init(inst, def);
|
|
427
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
428
|
+
payload.issues.push({
|
|
429
|
+
expected: "never",
|
|
430
|
+
code: "invalid_type",
|
|
431
|
+
input: payload.value,
|
|
432
|
+
inst
|
|
433
|
+
});
|
|
434
|
+
return payload;
|
|
435
|
+
};
|
|
436
|
+
});
|
|
437
|
+
function handleArrayResult(result, final, index) {
|
|
438
|
+
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
439
|
+
final.value[index] = result.value;
|
|
440
|
+
}
|
|
441
|
+
const $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
|
|
442
|
+
$ZodType.init(inst, def);
|
|
443
|
+
inst._zod.parse = (payload, ctx) => {
|
|
444
|
+
const input = payload.value;
|
|
445
|
+
if (!Array.isArray(input)) {
|
|
446
|
+
payload.issues.push({
|
|
447
|
+
expected: "array",
|
|
448
|
+
code: "invalid_type",
|
|
449
|
+
input,
|
|
450
|
+
inst
|
|
451
|
+
});
|
|
452
|
+
return payload;
|
|
453
|
+
}
|
|
454
|
+
payload.value = Array(input.length);
|
|
455
|
+
const proms = [];
|
|
456
|
+
for (let i = 0; i < input.length; i++) {
|
|
457
|
+
const item = input[i];
|
|
458
|
+
const result = def.element._zod.run({
|
|
459
|
+
value: item,
|
|
460
|
+
issues: []
|
|
461
|
+
}, ctx);
|
|
462
|
+
if (result instanceof Promise) proms.push(result.then((result) => handleArrayResult(result, payload, i)));
|
|
463
|
+
else handleArrayResult(result, payload, i);
|
|
464
|
+
}
|
|
465
|
+
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
466
|
+
return payload;
|
|
467
|
+
};
|
|
468
|
+
});
|
|
469
|
+
function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
|
|
470
|
+
const isPresent = key in input;
|
|
471
|
+
if (result.issues.length) {
|
|
472
|
+
if (isOptionalIn && isOptionalOut && !isPresent) return;
|
|
473
|
+
final.issues.push(...prefixIssues(key, result.issues));
|
|
474
|
+
}
|
|
475
|
+
if (!isPresent && !isOptionalIn) {
|
|
476
|
+
if (!result.issues.length) final.issues.push({
|
|
477
|
+
code: "invalid_type",
|
|
478
|
+
expected: "nonoptional",
|
|
479
|
+
input: void 0,
|
|
480
|
+
path: [key]
|
|
481
|
+
});
|
|
482
|
+
return;
|
|
483
|
+
}
|
|
484
|
+
if (result.value === void 0) {
|
|
485
|
+
if (isPresent) final.value[key] = void 0;
|
|
486
|
+
} else final.value[key] = result.value;
|
|
487
|
+
}
|
|
488
|
+
function normalizeDef(def) {
|
|
489
|
+
const keys = Object.keys(def.shape);
|
|
490
|
+
for (const k of keys) if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
|
|
491
|
+
const okeys = optionalKeys(def.shape);
|
|
492
|
+
return {
|
|
493
|
+
...def,
|
|
494
|
+
keys,
|
|
495
|
+
keySet: new Set(keys),
|
|
496
|
+
numKeys: keys.length,
|
|
497
|
+
optionalKeys: new Set(okeys)
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
501
|
+
const unrecognized = [];
|
|
502
|
+
const keySet = def.keySet;
|
|
503
|
+
const _catchall = def.catchall._zod;
|
|
504
|
+
const t = _catchall.def.type;
|
|
505
|
+
const isOptionalIn = _catchall.optin === "optional";
|
|
506
|
+
const isOptionalOut = _catchall.optout === "optional";
|
|
507
|
+
for (const key in input) {
|
|
508
|
+
if (key === "__proto__") continue;
|
|
509
|
+
if (keySet.has(key)) continue;
|
|
510
|
+
if (t === "never") {
|
|
511
|
+
unrecognized.push(key);
|
|
512
|
+
continue;
|
|
513
|
+
}
|
|
514
|
+
const r = _catchall.run({
|
|
515
|
+
value: input[key],
|
|
516
|
+
issues: []
|
|
517
|
+
}, ctx);
|
|
518
|
+
if (r instanceof Promise) proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
519
|
+
else handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
520
|
+
}
|
|
521
|
+
if (unrecognized.length) payload.issues.push({
|
|
522
|
+
code: "unrecognized_keys",
|
|
523
|
+
keys: unrecognized,
|
|
524
|
+
input,
|
|
525
|
+
inst
|
|
526
|
+
});
|
|
527
|
+
if (!proms.length) return payload;
|
|
528
|
+
return Promise.all(proms).then(() => {
|
|
529
|
+
return payload;
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
|
|
533
|
+
$ZodType.init(inst, def);
|
|
534
|
+
if (!Object.getOwnPropertyDescriptor(def, "shape")?.get) {
|
|
535
|
+
const sh = def.shape;
|
|
536
|
+
Object.defineProperty(def, "shape", { get: () => {
|
|
537
|
+
const newSh = { ...sh };
|
|
538
|
+
Object.defineProperty(def, "shape", { value: newSh });
|
|
539
|
+
return newSh;
|
|
540
|
+
} });
|
|
541
|
+
}
|
|
542
|
+
const _normalized = cached(() => normalizeDef(def));
|
|
543
|
+
defineLazy(inst._zod, "propValues", () => {
|
|
544
|
+
const shape = def.shape;
|
|
545
|
+
const propValues = {};
|
|
546
|
+
for (const key in shape) {
|
|
547
|
+
const field = shape[key]._zod;
|
|
548
|
+
if (field.values) {
|
|
549
|
+
propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
|
|
550
|
+
for (const v of field.values) propValues[key].add(v);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
return propValues;
|
|
554
|
+
});
|
|
555
|
+
const isObject$1 = isObject;
|
|
556
|
+
const catchall = def.catchall;
|
|
557
|
+
let value;
|
|
558
|
+
inst._zod.parse = (payload, ctx) => {
|
|
559
|
+
value ?? (value = _normalized.value);
|
|
560
|
+
const input = payload.value;
|
|
561
|
+
if (!isObject$1(input)) {
|
|
562
|
+
payload.issues.push({
|
|
563
|
+
expected: "object",
|
|
564
|
+
code: "invalid_type",
|
|
565
|
+
input,
|
|
566
|
+
inst
|
|
567
|
+
});
|
|
568
|
+
return payload;
|
|
569
|
+
}
|
|
570
|
+
payload.value = {};
|
|
571
|
+
const proms = [];
|
|
572
|
+
const shape = value.shape;
|
|
573
|
+
for (const key of value.keys) {
|
|
574
|
+
const el = shape[key];
|
|
575
|
+
const isOptionalIn = el._zod.optin === "optional";
|
|
576
|
+
const isOptionalOut = el._zod.optout === "optional";
|
|
577
|
+
const r = el._zod.run({
|
|
578
|
+
value: input[key],
|
|
579
|
+
issues: []
|
|
580
|
+
}, ctx);
|
|
581
|
+
if (r instanceof Promise) proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
582
|
+
else handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
583
|
+
}
|
|
584
|
+
if (!catchall) return proms.length ? Promise.all(proms).then(() => payload) : payload;
|
|
585
|
+
return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
|
|
586
|
+
};
|
|
587
|
+
});
|
|
588
|
+
const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) => {
|
|
589
|
+
$ZodObject.init(inst, def);
|
|
590
|
+
const superParse = inst._zod.parse;
|
|
591
|
+
const _normalized = cached(() => normalizeDef(def));
|
|
592
|
+
const generateFastpass = (shape) => {
|
|
593
|
+
const doc = new Doc([
|
|
594
|
+
"shape",
|
|
595
|
+
"payload",
|
|
596
|
+
"ctx"
|
|
597
|
+
]);
|
|
598
|
+
const normalized = _normalized.value;
|
|
599
|
+
const parseStr = (key) => {
|
|
600
|
+
const k = esc(key);
|
|
601
|
+
return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
|
|
602
|
+
};
|
|
603
|
+
doc.write(`const input = payload.value;`);
|
|
604
|
+
const ids = Object.create(null);
|
|
605
|
+
let counter = 0;
|
|
606
|
+
for (const key of normalized.keys) ids[key] = `key_${counter++}`;
|
|
607
|
+
doc.write(`const newResult = {};`);
|
|
608
|
+
for (const key of normalized.keys) {
|
|
609
|
+
const id = ids[key];
|
|
610
|
+
const k = esc(key);
|
|
611
|
+
const schema = shape[key];
|
|
612
|
+
const isOptionalIn = schema?._zod?.optin === "optional";
|
|
613
|
+
const isOptionalOut = schema?._zod?.optout === "optional";
|
|
614
|
+
doc.write(`const ${id} = ${parseStr(key)};`);
|
|
615
|
+
if (isOptionalIn && isOptionalOut) doc.write(`
|
|
616
|
+
if (${id}.issues.length) {
|
|
617
|
+
if (${k} in input) {
|
|
618
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
619
|
+
...iss,
|
|
620
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
621
|
+
})));
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
if (${id}.value === undefined) {
|
|
626
|
+
if (${k} in input) {
|
|
627
|
+
newResult[${k}] = undefined;
|
|
628
|
+
}
|
|
629
|
+
} else {
|
|
630
|
+
newResult[${k}] = ${id}.value;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
`);
|
|
634
|
+
else if (!isOptionalIn) doc.write(`
|
|
635
|
+
const ${id}_present = ${k} in input;
|
|
636
|
+
if (${id}.issues.length) {
|
|
637
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
638
|
+
...iss,
|
|
639
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
640
|
+
})));
|
|
641
|
+
}
|
|
642
|
+
if (!${id}_present && !${id}.issues.length) {
|
|
643
|
+
payload.issues.push({
|
|
644
|
+
code: "invalid_type",
|
|
645
|
+
expected: "nonoptional",
|
|
646
|
+
input: undefined,
|
|
647
|
+
path: [${k}]
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
if (${id}_present) {
|
|
652
|
+
if (${id}.value === undefined) {
|
|
653
|
+
newResult[${k}] = undefined;
|
|
654
|
+
} else {
|
|
655
|
+
newResult[${k}] = ${id}.value;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
`);
|
|
660
|
+
else doc.write(`
|
|
661
|
+
if (${id}.issues.length) {
|
|
662
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
663
|
+
...iss,
|
|
664
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
665
|
+
})));
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
if (${id}.value === undefined) {
|
|
669
|
+
if (${k} in input) {
|
|
670
|
+
newResult[${k}] = undefined;
|
|
671
|
+
}
|
|
672
|
+
} else {
|
|
673
|
+
newResult[${k}] = ${id}.value;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
`);
|
|
677
|
+
}
|
|
678
|
+
doc.write(`payload.value = newResult;`);
|
|
679
|
+
doc.write(`return payload;`);
|
|
680
|
+
const fn = doc.compile();
|
|
681
|
+
return (payload, ctx) => fn(shape, payload, ctx);
|
|
682
|
+
};
|
|
683
|
+
let fastpass;
|
|
684
|
+
const isObject$2 = isObject;
|
|
685
|
+
const jit = !globalConfig.jitless;
|
|
686
|
+
const fastEnabled = jit && allowsEval.value;
|
|
687
|
+
const catchall = def.catchall;
|
|
688
|
+
let value;
|
|
689
|
+
inst._zod.parse = (payload, ctx) => {
|
|
690
|
+
value ?? (value = _normalized.value);
|
|
691
|
+
const input = payload.value;
|
|
692
|
+
if (!isObject$2(input)) {
|
|
693
|
+
payload.issues.push({
|
|
694
|
+
expected: "object",
|
|
695
|
+
code: "invalid_type",
|
|
696
|
+
input,
|
|
697
|
+
inst
|
|
698
|
+
});
|
|
699
|
+
return payload;
|
|
700
|
+
}
|
|
701
|
+
if (jit && fastEnabled && ctx?.async === false && ctx.jitless !== true) {
|
|
702
|
+
if (!fastpass) fastpass = generateFastpass(def.shape);
|
|
703
|
+
payload = fastpass(payload, ctx);
|
|
704
|
+
if (!catchall) return payload;
|
|
705
|
+
return handleCatchall([], input, payload, ctx, value, inst);
|
|
706
|
+
}
|
|
707
|
+
return superParse(payload, ctx);
|
|
708
|
+
};
|
|
709
|
+
});
|
|
710
|
+
function handleUnionResults(results, final, inst, ctx) {
|
|
711
|
+
for (const result of results) if (result.issues.length === 0) {
|
|
712
|
+
final.value = result.value;
|
|
713
|
+
return final;
|
|
714
|
+
}
|
|
715
|
+
const nonaborted = results.filter((r) => !aborted(r));
|
|
716
|
+
if (nonaborted.length === 1) {
|
|
717
|
+
final.value = nonaborted[0].value;
|
|
718
|
+
return nonaborted[0];
|
|
719
|
+
}
|
|
720
|
+
final.issues.push({
|
|
721
|
+
code: "invalid_union",
|
|
722
|
+
input: final.value,
|
|
723
|
+
inst,
|
|
724
|
+
errors: results.map((result) => result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
|
|
725
|
+
});
|
|
726
|
+
return final;
|
|
727
|
+
}
|
|
728
|
+
const $ZodUnion = /*@__PURE__*/ $constructor("$ZodUnion", (inst, def) => {
|
|
729
|
+
$ZodType.init(inst, def);
|
|
730
|
+
defineLazy(inst._zod, "optin", () => def.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0);
|
|
731
|
+
defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
|
|
732
|
+
defineLazy(inst._zod, "values", () => {
|
|
733
|
+
if (def.options.every((o) => o._zod.values)) return new Set(def.options.flatMap((option) => Array.from(option._zod.values)));
|
|
734
|
+
});
|
|
735
|
+
defineLazy(inst._zod, "pattern", () => {
|
|
736
|
+
if (def.options.every((o) => o._zod.pattern)) {
|
|
737
|
+
const patterns = def.options.map((o) => o._zod.pattern);
|
|
738
|
+
return new RegExp(`^(${patterns.map((p) => cleanRegex(p.source)).join("|")})$`);
|
|
739
|
+
}
|
|
740
|
+
});
|
|
741
|
+
const first = def.options.length === 1 ? def.options[0]._zod.run : null;
|
|
742
|
+
inst._zod.parse = (payload, ctx) => {
|
|
743
|
+
if (first) return first(payload, ctx);
|
|
744
|
+
let async = false;
|
|
745
|
+
const results = [];
|
|
746
|
+
for (const option of def.options) {
|
|
747
|
+
const result = option._zod.run({
|
|
748
|
+
value: payload.value,
|
|
749
|
+
issues: []
|
|
750
|
+
}, ctx);
|
|
751
|
+
if (result instanceof Promise) {
|
|
752
|
+
results.push(result);
|
|
753
|
+
async = true;
|
|
754
|
+
} else {
|
|
755
|
+
if (result.issues.length === 0) return result;
|
|
756
|
+
results.push(result);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
if (!async) return handleUnionResults(results, payload, inst, ctx);
|
|
760
|
+
return Promise.all(results).then((results) => {
|
|
761
|
+
return handleUnionResults(results, payload, inst, ctx);
|
|
762
|
+
});
|
|
763
|
+
};
|
|
764
|
+
});
|
|
765
|
+
const $ZodIntersection = /*@__PURE__*/ $constructor("$ZodIntersection", (inst, def) => {
|
|
766
|
+
$ZodType.init(inst, def);
|
|
767
|
+
inst._zod.parse = (payload, ctx) => {
|
|
768
|
+
const input = payload.value;
|
|
769
|
+
const left = def.left._zod.run({
|
|
770
|
+
value: input,
|
|
771
|
+
issues: []
|
|
772
|
+
}, ctx);
|
|
773
|
+
const right = def.right._zod.run({
|
|
774
|
+
value: input,
|
|
775
|
+
issues: []
|
|
776
|
+
}, ctx);
|
|
777
|
+
if (left instanceof Promise || right instanceof Promise) return Promise.all([left, right]).then(([left, right]) => {
|
|
778
|
+
return handleIntersectionResults(payload, left, right);
|
|
779
|
+
});
|
|
780
|
+
return handleIntersectionResults(payload, left, right);
|
|
781
|
+
};
|
|
782
|
+
});
|
|
783
|
+
function mergeValues(a, b) {
|
|
784
|
+
if (a === b) return {
|
|
785
|
+
valid: true,
|
|
786
|
+
data: a
|
|
787
|
+
};
|
|
788
|
+
if (a instanceof Date && b instanceof Date && +a === +b) return {
|
|
789
|
+
valid: true,
|
|
790
|
+
data: a
|
|
791
|
+
};
|
|
792
|
+
if (isPlainObject(a) && isPlainObject(b)) {
|
|
793
|
+
const bKeys = Object.keys(b);
|
|
794
|
+
const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
|
|
795
|
+
const newObj = {
|
|
796
|
+
...a,
|
|
797
|
+
...b
|
|
798
|
+
};
|
|
799
|
+
for (const key of sharedKeys) {
|
|
800
|
+
const sharedValue = mergeValues(a[key], b[key]);
|
|
801
|
+
if (!sharedValue.valid) return {
|
|
802
|
+
valid: false,
|
|
803
|
+
mergeErrorPath: [key, ...sharedValue.mergeErrorPath]
|
|
804
|
+
};
|
|
805
|
+
newObj[key] = sharedValue.data;
|
|
806
|
+
}
|
|
807
|
+
return {
|
|
808
|
+
valid: true,
|
|
809
|
+
data: newObj
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
if (Array.isArray(a) && Array.isArray(b)) {
|
|
813
|
+
if (a.length !== b.length) return {
|
|
814
|
+
valid: false,
|
|
815
|
+
mergeErrorPath: []
|
|
816
|
+
};
|
|
817
|
+
const newArray = [];
|
|
818
|
+
for (let index = 0; index < a.length; index++) {
|
|
819
|
+
const itemA = a[index];
|
|
820
|
+
const itemB = b[index];
|
|
821
|
+
const sharedValue = mergeValues(itemA, itemB);
|
|
822
|
+
if (!sharedValue.valid) return {
|
|
823
|
+
valid: false,
|
|
824
|
+
mergeErrorPath: [index, ...sharedValue.mergeErrorPath]
|
|
825
|
+
};
|
|
826
|
+
newArray.push(sharedValue.data);
|
|
827
|
+
}
|
|
828
|
+
return {
|
|
829
|
+
valid: true,
|
|
830
|
+
data: newArray
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
return {
|
|
834
|
+
valid: false,
|
|
835
|
+
mergeErrorPath: []
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
function handleIntersectionResults(result, left, right) {
|
|
839
|
+
const unrecKeys = /* @__PURE__ */ new Map();
|
|
840
|
+
let unrecIssue;
|
|
841
|
+
for (const iss of left.issues) if (iss.code === "unrecognized_keys") {
|
|
842
|
+
unrecIssue ?? (unrecIssue = iss);
|
|
843
|
+
for (const k of iss.keys) {
|
|
844
|
+
if (!unrecKeys.has(k)) unrecKeys.set(k, {});
|
|
845
|
+
unrecKeys.get(k).l = true;
|
|
846
|
+
}
|
|
847
|
+
} else result.issues.push(iss);
|
|
848
|
+
for (const iss of right.issues) if (iss.code === "unrecognized_keys") for (const k of iss.keys) {
|
|
849
|
+
if (!unrecKeys.has(k)) unrecKeys.set(k, {});
|
|
850
|
+
unrecKeys.get(k).r = true;
|
|
851
|
+
}
|
|
852
|
+
else result.issues.push(iss);
|
|
853
|
+
const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
|
|
854
|
+
if (bothKeys.length && unrecIssue) result.issues.push({
|
|
855
|
+
...unrecIssue,
|
|
856
|
+
keys: bothKeys
|
|
857
|
+
});
|
|
858
|
+
if (aborted(result)) return result;
|
|
859
|
+
const merged = mergeValues(left.value, right.value);
|
|
860
|
+
if (!merged.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(merged.mergeErrorPath)}`);
|
|
861
|
+
result.value = merged.data;
|
|
862
|
+
return result;
|
|
863
|
+
}
|
|
864
|
+
const $ZodRecord = /*@__PURE__*/ $constructor("$ZodRecord", (inst, def) => {
|
|
865
|
+
$ZodType.init(inst, def);
|
|
866
|
+
inst._zod.parse = (payload, ctx) => {
|
|
867
|
+
const input = payload.value;
|
|
868
|
+
if (!isPlainObject(input)) {
|
|
869
|
+
payload.issues.push({
|
|
870
|
+
expected: "record",
|
|
871
|
+
code: "invalid_type",
|
|
872
|
+
input,
|
|
873
|
+
inst
|
|
874
|
+
});
|
|
875
|
+
return payload;
|
|
876
|
+
}
|
|
877
|
+
const proms = [];
|
|
878
|
+
const values = def.keyType._zod.values;
|
|
879
|
+
if (values) {
|
|
880
|
+
payload.value = {};
|
|
881
|
+
const recordKeys = /* @__PURE__ */ new Set();
|
|
882
|
+
for (const key of values) if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
883
|
+
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
884
|
+
const keyResult = def.keyType._zod.run({
|
|
885
|
+
value: key,
|
|
886
|
+
issues: []
|
|
887
|
+
}, ctx);
|
|
888
|
+
if (keyResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
889
|
+
if (keyResult.issues.length) {
|
|
890
|
+
payload.issues.push({
|
|
891
|
+
code: "invalid_key",
|
|
892
|
+
origin: "record",
|
|
893
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
894
|
+
input: key,
|
|
895
|
+
path: [key],
|
|
896
|
+
inst
|
|
897
|
+
});
|
|
898
|
+
continue;
|
|
899
|
+
}
|
|
900
|
+
const outKey = keyResult.value;
|
|
901
|
+
const result = def.valueType._zod.run({
|
|
902
|
+
value: input[key],
|
|
903
|
+
issues: []
|
|
904
|
+
}, ctx);
|
|
905
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
906
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
907
|
+
payload.value[outKey] = result.value;
|
|
908
|
+
}));
|
|
909
|
+
else {
|
|
910
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
911
|
+
payload.value[outKey] = result.value;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
let unrecognized;
|
|
915
|
+
for (const key in input) if (!recordKeys.has(key)) {
|
|
916
|
+
unrecognized = unrecognized ?? [];
|
|
917
|
+
unrecognized.push(key);
|
|
918
|
+
}
|
|
919
|
+
if (unrecognized && unrecognized.length > 0) payload.issues.push({
|
|
920
|
+
code: "unrecognized_keys",
|
|
921
|
+
input,
|
|
922
|
+
inst,
|
|
923
|
+
keys: unrecognized
|
|
924
|
+
});
|
|
925
|
+
} else {
|
|
926
|
+
payload.value = {};
|
|
927
|
+
for (const key of Reflect.ownKeys(input)) {
|
|
928
|
+
if (key === "__proto__") continue;
|
|
929
|
+
if (!Object.prototype.propertyIsEnumerable.call(input, key)) continue;
|
|
930
|
+
let keyResult = def.keyType._zod.run({
|
|
931
|
+
value: key,
|
|
932
|
+
issues: []
|
|
933
|
+
}, ctx);
|
|
934
|
+
if (keyResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
935
|
+
if (typeof key === "string" && number.test(key) && keyResult.issues.length) {
|
|
936
|
+
const retryResult = def.keyType._zod.run({
|
|
937
|
+
value: Number(key),
|
|
938
|
+
issues: []
|
|
939
|
+
}, ctx);
|
|
940
|
+
if (retryResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
941
|
+
if (retryResult.issues.length === 0) keyResult = retryResult;
|
|
942
|
+
}
|
|
943
|
+
if (keyResult.issues.length) {
|
|
944
|
+
if (def.mode === "loose") payload.value[key] = input[key];
|
|
945
|
+
else payload.issues.push({
|
|
946
|
+
code: "invalid_key",
|
|
947
|
+
origin: "record",
|
|
948
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
949
|
+
input: key,
|
|
950
|
+
path: [key],
|
|
951
|
+
inst
|
|
952
|
+
});
|
|
953
|
+
continue;
|
|
954
|
+
}
|
|
955
|
+
const result = def.valueType._zod.run({
|
|
956
|
+
value: input[key],
|
|
957
|
+
issues: []
|
|
958
|
+
}, ctx);
|
|
959
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
960
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
961
|
+
payload.value[keyResult.value] = result.value;
|
|
962
|
+
}));
|
|
963
|
+
else {
|
|
964
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
965
|
+
payload.value[keyResult.value] = result.value;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
970
|
+
return payload;
|
|
971
|
+
};
|
|
972
|
+
});
|
|
973
|
+
const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
|
|
974
|
+
$ZodType.init(inst, def);
|
|
975
|
+
const values = getEnumValues(def.entries);
|
|
976
|
+
const valuesSet = new Set(values);
|
|
977
|
+
inst._zod.values = valuesSet;
|
|
978
|
+
inst._zod.pattern = new RegExp(`^(${values.filter((k) => propertyKeyTypes.has(typeof k)).map((o) => typeof o === "string" ? escapeRegex(o) : o.toString()).join("|")})$`);
|
|
979
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
980
|
+
const input = payload.value;
|
|
981
|
+
if (valuesSet.has(input)) return payload;
|
|
982
|
+
payload.issues.push({
|
|
983
|
+
code: "invalid_value",
|
|
984
|
+
values,
|
|
985
|
+
input,
|
|
986
|
+
inst
|
|
987
|
+
});
|
|
988
|
+
return payload;
|
|
989
|
+
};
|
|
990
|
+
});
|
|
991
|
+
const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) => {
|
|
992
|
+
$ZodType.init(inst, def);
|
|
993
|
+
inst._zod.optin = "optional";
|
|
994
|
+
inst._zod.parse = (payload, ctx) => {
|
|
995
|
+
if (ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
|
|
996
|
+
const _out = def.transform(payload.value, payload);
|
|
997
|
+
if (ctx.async) return (_out instanceof Promise ? _out : Promise.resolve(_out)).then((output) => {
|
|
998
|
+
payload.value = output;
|
|
999
|
+
payload.fallback = true;
|
|
1000
|
+
return payload;
|
|
1001
|
+
});
|
|
1002
|
+
if (_out instanceof Promise) throw new $ZodAsyncError();
|
|
1003
|
+
payload.value = _out;
|
|
1004
|
+
payload.fallback = true;
|
|
1005
|
+
return payload;
|
|
1006
|
+
};
|
|
1007
|
+
});
|
|
1008
|
+
function handleOptionalResult(result, input) {
|
|
1009
|
+
if (input === void 0 && (result.issues.length || result.fallback)) return {
|
|
1010
|
+
issues: [],
|
|
1011
|
+
value: void 0
|
|
1012
|
+
};
|
|
1013
|
+
return result;
|
|
1014
|
+
}
|
|
1015
|
+
const $ZodOptional = /*@__PURE__*/ $constructor("$ZodOptional", (inst, def) => {
|
|
1016
|
+
$ZodType.init(inst, def);
|
|
1017
|
+
inst._zod.optin = "optional";
|
|
1018
|
+
inst._zod.optout = "optional";
|
|
1019
|
+
defineLazy(inst._zod, "values", () => {
|
|
1020
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, void 0]) : void 0;
|
|
1021
|
+
});
|
|
1022
|
+
defineLazy(inst._zod, "pattern", () => {
|
|
1023
|
+
const pattern = def.innerType._zod.pattern;
|
|
1024
|
+
return pattern ? new RegExp(`^(${cleanRegex(pattern.source)})?$`) : void 0;
|
|
1025
|
+
});
|
|
1026
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1027
|
+
if (def.innerType._zod.optin === "optional") {
|
|
1028
|
+
const input = payload.value;
|
|
1029
|
+
const result = def.innerType._zod.run(payload, ctx);
|
|
1030
|
+
if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
|
|
1031
|
+
return handleOptionalResult(result, input);
|
|
1032
|
+
}
|
|
1033
|
+
if (payload.value === void 0) return payload;
|
|
1034
|
+
return def.innerType._zod.run(payload, ctx);
|
|
1035
|
+
};
|
|
1036
|
+
});
|
|
1037
|
+
const $ZodExactOptional = /*@__PURE__*/ $constructor("$ZodExactOptional", (inst, def) => {
|
|
1038
|
+
$ZodOptional.init(inst, def);
|
|
1039
|
+
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1040
|
+
defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
|
|
1041
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1042
|
+
return def.innerType._zod.run(payload, ctx);
|
|
1043
|
+
};
|
|
1044
|
+
});
|
|
1045
|
+
const $ZodNullable = /*@__PURE__*/ $constructor("$ZodNullable", (inst, def) => {
|
|
1046
|
+
$ZodType.init(inst, def);
|
|
1047
|
+
defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
|
|
1048
|
+
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
1049
|
+
defineLazy(inst._zod, "pattern", () => {
|
|
1050
|
+
const pattern = def.innerType._zod.pattern;
|
|
1051
|
+
return pattern ? new RegExp(`^(${cleanRegex(pattern.source)}|null)$`) : void 0;
|
|
1052
|
+
});
|
|
1053
|
+
defineLazy(inst._zod, "values", () => {
|
|
1054
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, null]) : void 0;
|
|
1055
|
+
});
|
|
1056
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1057
|
+
if (payload.value === null) return payload;
|
|
1058
|
+
return def.innerType._zod.run(payload, ctx);
|
|
1059
|
+
};
|
|
1060
|
+
});
|
|
1061
|
+
const $ZodDefault = /*@__PURE__*/ $constructor("$ZodDefault", (inst, def) => {
|
|
1062
|
+
$ZodType.init(inst, def);
|
|
1063
|
+
inst._zod.optin = "optional";
|
|
1064
|
+
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1065
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1066
|
+
if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
|
|
1067
|
+
if (payload.value === void 0) {
|
|
1068
|
+
payload.value = def.defaultValue;
|
|
1069
|
+
/**
|
|
1070
|
+
* $ZodDefault returns the default value immediately in forward direction.
|
|
1071
|
+
* It doesn't pass the default value into the validator ("prefault"). There's no reason to pass the default value through validation. The validity of the default is enforced by TypeScript statically. Otherwise, it's the responsibility of the user to ensure the default is valid. In the case of pipes with divergent in/out types, you can specify the default on the `in` schema of your ZodPipe to set a "prefault" for the pipe. */
|
|
1072
|
+
return payload;
|
|
1073
|
+
}
|
|
1074
|
+
const result = def.innerType._zod.run(payload, ctx);
|
|
1075
|
+
if (result instanceof Promise) return result.then((result) => handleDefaultResult(result, def));
|
|
1076
|
+
return handleDefaultResult(result, def);
|
|
1077
|
+
};
|
|
1078
|
+
});
|
|
1079
|
+
function handleDefaultResult(payload, def) {
|
|
1080
|
+
if (payload.value === void 0) payload.value = def.defaultValue;
|
|
1081
|
+
return payload;
|
|
1082
|
+
}
|
|
1083
|
+
const $ZodPrefault = /*@__PURE__*/ $constructor("$ZodPrefault", (inst, def) => {
|
|
1084
|
+
$ZodType.init(inst, def);
|
|
1085
|
+
inst._zod.optin = "optional";
|
|
1086
|
+
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1087
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1088
|
+
if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
|
|
1089
|
+
if (payload.value === void 0) payload.value = def.defaultValue;
|
|
1090
|
+
return def.innerType._zod.run(payload, ctx);
|
|
1091
|
+
};
|
|
1092
|
+
});
|
|
1093
|
+
const $ZodNonOptional = /*@__PURE__*/ $constructor("$ZodNonOptional", (inst, def) => {
|
|
1094
|
+
$ZodType.init(inst, def);
|
|
1095
|
+
defineLazy(inst._zod, "values", () => {
|
|
1096
|
+
const v = def.innerType._zod.values;
|
|
1097
|
+
return v ? new Set([...v].filter((x) => x !== void 0)) : void 0;
|
|
1098
|
+
});
|
|
1099
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1100
|
+
const result = def.innerType._zod.run(payload, ctx);
|
|
1101
|
+
if (result instanceof Promise) return result.then((result) => handleNonOptionalResult(result, inst));
|
|
1102
|
+
return handleNonOptionalResult(result, inst);
|
|
1103
|
+
};
|
|
1104
|
+
});
|
|
1105
|
+
function handleNonOptionalResult(payload, inst) {
|
|
1106
|
+
if (!payload.issues.length && payload.value === void 0) payload.issues.push({
|
|
1107
|
+
code: "invalid_type",
|
|
1108
|
+
expected: "nonoptional",
|
|
1109
|
+
input: payload.value,
|
|
1110
|
+
inst
|
|
1111
|
+
});
|
|
1112
|
+
return payload;
|
|
1113
|
+
}
|
|
1114
|
+
const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
|
|
1115
|
+
$ZodType.init(inst, def);
|
|
1116
|
+
inst._zod.optin = "optional";
|
|
1117
|
+
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
1118
|
+
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1119
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1120
|
+
if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
|
|
1121
|
+
const result = def.innerType._zod.run(payload, ctx);
|
|
1122
|
+
if (result instanceof Promise) return result.then((result) => {
|
|
1123
|
+
payload.value = result.value;
|
|
1124
|
+
if (result.issues.length) {
|
|
1125
|
+
payload.value = def.catchValue({
|
|
1126
|
+
...payload,
|
|
1127
|
+
error: { issues: result.issues.map((iss) => finalizeIssue(iss, ctx, config())) },
|
|
1128
|
+
input: payload.value
|
|
1129
|
+
});
|
|
1130
|
+
payload.issues = [];
|
|
1131
|
+
payload.fallback = true;
|
|
1132
|
+
}
|
|
1133
|
+
return payload;
|
|
1134
|
+
});
|
|
1135
|
+
payload.value = result.value;
|
|
1136
|
+
if (result.issues.length) {
|
|
1137
|
+
payload.value = def.catchValue({
|
|
1138
|
+
...payload,
|
|
1139
|
+
error: { issues: result.issues.map((iss) => finalizeIssue(iss, ctx, config())) },
|
|
1140
|
+
input: payload.value
|
|
1141
|
+
});
|
|
1142
|
+
payload.issues = [];
|
|
1143
|
+
payload.fallback = true;
|
|
1144
|
+
}
|
|
1145
|
+
return payload;
|
|
1146
|
+
};
|
|
1147
|
+
});
|
|
1148
|
+
const $ZodPipe = /*@__PURE__*/ $constructor("$ZodPipe", (inst, def) => {
|
|
1149
|
+
$ZodType.init(inst, def);
|
|
1150
|
+
defineLazy(inst._zod, "values", () => def.in._zod.values);
|
|
1151
|
+
defineLazy(inst._zod, "optin", () => def.in._zod.optin);
|
|
1152
|
+
defineLazy(inst._zod, "optout", () => def.out._zod.optout);
|
|
1153
|
+
defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
|
|
1154
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1155
|
+
if (ctx.direction === "backward") {
|
|
1156
|
+
const right = def.out._zod.run(payload, ctx);
|
|
1157
|
+
if (right instanceof Promise) return right.then((right) => handlePipeResult(right, def.in, ctx));
|
|
1158
|
+
return handlePipeResult(right, def.in, ctx);
|
|
1159
|
+
}
|
|
1160
|
+
const left = def.in._zod.run(payload, ctx);
|
|
1161
|
+
if (left instanceof Promise) return left.then((left) => handlePipeResult(left, def.out, ctx));
|
|
1162
|
+
return handlePipeResult(left, def.out, ctx);
|
|
1163
|
+
};
|
|
1164
|
+
});
|
|
1165
|
+
function handlePipeResult(left, next, ctx) {
|
|
1166
|
+
if (left.issues.length) {
|
|
1167
|
+
left.aborted = true;
|
|
1168
|
+
return left;
|
|
1169
|
+
}
|
|
1170
|
+
return next._zod.run({
|
|
1171
|
+
value: left.value,
|
|
1172
|
+
issues: left.issues,
|
|
1173
|
+
fallback: left.fallback
|
|
1174
|
+
}, ctx);
|
|
1175
|
+
}
|
|
1176
|
+
const $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
1177
|
+
$ZodType.init(inst, def);
|
|
1178
|
+
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
1179
|
+
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1180
|
+
defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
|
|
1181
|
+
defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
|
|
1182
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1183
|
+
if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
|
|
1184
|
+
const result = def.innerType._zod.run(payload, ctx);
|
|
1185
|
+
if (result instanceof Promise) return result.then(handleReadonlyResult);
|
|
1186
|
+
return handleReadonlyResult(result);
|
|
1187
|
+
};
|
|
1188
|
+
});
|
|
1189
|
+
function handleReadonlyResult(payload) {
|
|
1190
|
+
payload.value = Object.freeze(payload.value);
|
|
1191
|
+
return payload;
|
|
1192
|
+
}
|
|
1193
|
+
const $ZodLazy = /*@__PURE__*/ $constructor("$ZodLazy", (inst, def) => {
|
|
1194
|
+
$ZodType.init(inst, def);
|
|
1195
|
+
defineLazy(inst._zod, "innerType", () => {
|
|
1196
|
+
const d = def;
|
|
1197
|
+
if (!d._cachedInner) d._cachedInner = def.getter();
|
|
1198
|
+
return d._cachedInner;
|
|
1199
|
+
});
|
|
1200
|
+
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
1201
|
+
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
1202
|
+
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? void 0);
|
|
1203
|
+
defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? void 0);
|
|
1204
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1205
|
+
return inst._zod.innerType._zod.run(payload, ctx);
|
|
1206
|
+
};
|
|
1207
|
+
});
|
|
1208
|
+
const $ZodCustom = /*@__PURE__*/ $constructor("$ZodCustom", (inst, def) => {
|
|
1209
|
+
$ZodCheck.init(inst, def);
|
|
1210
|
+
$ZodType.init(inst, def);
|
|
1211
|
+
inst._zod.parse = (payload, _) => {
|
|
1212
|
+
return payload;
|
|
1213
|
+
};
|
|
1214
|
+
inst._zod.check = (payload) => {
|
|
1215
|
+
const input = payload.value;
|
|
1216
|
+
const r = def.fn(input);
|
|
1217
|
+
if (r instanceof Promise) return r.then((r) => handleRefineResult(r, payload, input, inst));
|
|
1218
|
+
handleRefineResult(r, payload, input, inst);
|
|
1219
|
+
};
|
|
1220
|
+
});
|
|
1221
|
+
function handleRefineResult(result, payload, input, inst) {
|
|
1222
|
+
if (!result) {
|
|
1223
|
+
const _iss = {
|
|
1224
|
+
code: "custom",
|
|
1225
|
+
input,
|
|
1226
|
+
inst,
|
|
1227
|
+
path: [...inst._zod.def.path ?? []],
|
|
1228
|
+
continue: !inst._zod.def.abort
|
|
1229
|
+
};
|
|
1230
|
+
if (inst._zod.def.params) _iss.params = inst._zod.def.params;
|
|
1231
|
+
payload.issues.push(issue(_iss));
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
//#endregion
|
|
1235
|
+
export { $ZodArray, $ZodBase64, $ZodBase64URL, $ZodBoolean, $ZodCIDRv4, $ZodCIDRv6, $ZodCUID, $ZodCUID2, $ZodCatch, $ZodCustom, $ZodDefault, $ZodE164, $ZodEmail, $ZodEmoji, $ZodEnum, $ZodExactOptional, $ZodGUID, $ZodIPv4, $ZodIPv6, $ZodISODate, $ZodISODateTime, $ZodISODuration, $ZodISOTime, $ZodIntersection, $ZodJWT, $ZodKSUID, $ZodLazy, $ZodNanoID, $ZodNever, $ZodNonOptional, $ZodNullable, $ZodNumber, $ZodNumberFormat, $ZodObject, $ZodObjectJIT, $ZodOptional, $ZodPipe, $ZodPrefault, $ZodReadonly, $ZodRecord, $ZodString, $ZodStringFormat, $ZodTransform, $ZodType, $ZodULID, $ZodURL, $ZodUUID, $ZodUnion, $ZodUnknown, $ZodXID, isValidBase64, isValidBase64URL, isValidJWT };
|