@rse/ase 0.0.41 → 0.0.43
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/dst/ase-hello.js +5 -9
- package/dst/ase-kv.js +105 -6
- package/package.json +7 -7
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/meta/ase-dialog.md +1 -0
- package/plugin/meta/ase-persona.md +27 -12
- package/plugin/meta/ase-plan.md +1 -0
- package/plugin/package.json +1 -1
- package/plugin/skills/ase-code-analyze/SKILL.md +71 -72
- package/plugin/skills/ase-code-craft/SKILL.md +58 -20
- package/plugin/skills/ase-code-refactor/SKILL.md +46 -22
- package/plugin/skills/ase-code-resolve/SKILL.md +46 -33
- package/plugin/skills/ase-meta-changes/SKILL.md +1 -1
- package/plugin/skills/ase-meta-persona/SKILL.md +1 -0
- package/plugin/skills/ase-task-delete/SKILL.md +1 -0
- package/plugin/skills/ase-task-id/SKILL.md +1 -0
- package/plugin/skills/ase-task-implement/SKILL.md +1 -0
- package/plugin/skills/ase-task-reboot/SKILL.md +1 -0
- package/plugin/skills/ase-task-view/SKILL.md +1 -0
- package/plugin/node_modules/.package-lock.json +0 -1342
- package/plugin/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
- package/plugin/node_modules/@nodelib/fs.scandir/README.md +0 -171
- package/plugin/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/plugin/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
- package/plugin/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
- package/plugin/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
- package/plugin/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/plugin/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
- package/plugin/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
- package/plugin/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/plugin/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
- package/plugin/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/plugin/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
- package/plugin/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
- package/plugin/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
- package/plugin/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
- package/plugin/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
- package/plugin/node_modules/@nodelib/fs.scandir/package.json +0 -44
- package/plugin/node_modules/@nodelib/fs.stat/LICENSE +0 -21
- package/plugin/node_modules/@nodelib/fs.stat/README.md +0 -126
- package/plugin/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/plugin/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
- package/plugin/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/plugin/node_modules/@nodelib/fs.stat/out/index.js +0 -26
- package/plugin/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/plugin/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
- package/plugin/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
- package/plugin/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
- package/plugin/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/plugin/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
- package/plugin/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/plugin/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
- package/plugin/node_modules/@nodelib/fs.stat/package.json +0 -37
- package/plugin/node_modules/@nodelib/fs.walk/LICENSE +0 -21
- package/plugin/node_modules/@nodelib/fs.walk/README.md +0 -215
- package/plugin/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/plugin/node_modules/@nodelib/fs.walk/out/index.js +0 -34
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
- package/plugin/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
- package/plugin/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
- package/plugin/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/plugin/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
- package/plugin/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/plugin/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
- package/plugin/node_modules/@nodelib/fs.walk/package.json +0 -44
- package/plugin/node_modules/@rse/stx/README.md +0 -176
- package/plugin/node_modules/@rse/stx/dst-stage2/stx.1 +0 -206
- package/plugin/node_modules/@rse/stx/dst-stage2/stx.js +0 -205
- package/plugin/node_modules/@rse/stx/etc/.markdownlint.yaml +0 -11
- package/plugin/node_modules/@rse/stx/etc/eslint.mjs +0 -82
- package/plugin/node_modules/@rse/stx/etc/stx-bootstrap.js +0 -18
- package/plugin/node_modules/@rse/stx/etc/stx.conf +0 -59
- package/plugin/node_modules/@rse/stx/etc/tsc.json +0 -24
- package/plugin/node_modules/@rse/stx/etc/vite.mts +0 -69
- package/plugin/node_modules/@rse/stx/package.json +0 -71
- package/plugin/node_modules/@rse/stx/src/stx-logo.ai +7 -1463
- package/plugin/node_modules/@rse/stx/src/stx-logo.svg +0 -31
- package/plugin/node_modules/@rse/stx/src/stx.md +0 -293
- package/plugin/node_modules/@rse/stx/src/stx.ts +0 -708
- package/plugin/node_modules/@rse/stx/src/tsconfig.json +0 -3
- package/plugin/node_modules/@sindresorhus/merge-streams/index.d.ts +0 -44
- package/plugin/node_modules/@sindresorhus/merge-streams/index.js +0 -265
- package/plugin/node_modules/@sindresorhus/merge-streams/license +0 -9
- package/plugin/node_modules/@sindresorhus/merge-streams/package.json +0 -49
- package/plugin/node_modules/@sindresorhus/merge-streams/readme.md +0 -53
- package/plugin/node_modules/@types/debug/LICENSE +0 -21
- package/plugin/node_modules/@types/debug/README.md +0 -69
- package/plugin/node_modules/@types/debug/index.d.ts +0 -50
- package/plugin/node_modules/@types/debug/package.json +0 -58
- package/plugin/node_modules/@types/katex/LICENSE +0 -21
- package/plugin/node_modules/@types/katex/README.md +0 -15
- package/plugin/node_modules/@types/katex/contrib/auto-render.d.ts +0 -67
- package/plugin/node_modules/@types/katex/index.d.ts +0 -151
- package/plugin/node_modules/@types/katex/package.json +0 -46
- package/plugin/node_modules/@types/ms/LICENSE +0 -21
- package/plugin/node_modules/@types/ms/README.md +0 -82
- package/plugin/node_modules/@types/ms/index.d.ts +0 -63
- package/plugin/node_modules/@types/ms/package.json +0 -26
- package/plugin/node_modules/@types/unist/LICENSE +0 -21
- package/plugin/node_modules/@types/unist/README.md +0 -122
- package/plugin/node_modules/@types/unist/index.d.ts +0 -103
- package/plugin/node_modules/@types/unist/package.json +0 -55
- package/plugin/node_modules/ansi-regex/index.d.ts +0 -33
- package/plugin/node_modules/ansi-regex/index.js +0 -14
- package/plugin/node_modules/ansi-regex/license +0 -9
- package/plugin/node_modules/ansi-regex/package.json +0 -61
- package/plugin/node_modules/ansi-regex/readme.md +0 -66
- package/plugin/node_modules/argparse/CHANGELOG.md +0 -216
- package/plugin/node_modules/argparse/LICENSE +0 -254
- package/plugin/node_modules/argparse/README.md +0 -84
- package/plugin/node_modules/argparse/argparse.js +0 -3707
- package/plugin/node_modules/argparse/lib/sub.js +0 -67
- package/plugin/node_modules/argparse/lib/textwrap.js +0 -440
- package/plugin/node_modules/argparse/package.json +0 -31
- package/plugin/node_modules/braces/LICENSE +0 -21
- package/plugin/node_modules/braces/README.md +0 -586
- package/plugin/node_modules/braces/index.js +0 -170
- package/plugin/node_modules/braces/lib/compile.js +0 -60
- package/plugin/node_modules/braces/lib/constants.js +0 -57
- package/plugin/node_modules/braces/lib/expand.js +0 -113
- package/plugin/node_modules/braces/lib/parse.js +0 -331
- package/plugin/node_modules/braces/lib/stringify.js +0 -32
- package/plugin/node_modules/braces/lib/utils.js +0 -122
- package/plugin/node_modules/braces/package.json +0 -77
- package/plugin/node_modules/character-entities/index.d.ts +0 -6
- package/plugin/node_modules/character-entities/index.js +0 -2132
- package/plugin/node_modules/character-entities/license +0 -22
- package/plugin/node_modules/character-entities/package.json +0 -78
- package/plugin/node_modules/character-entities/readme.md +0 -152
- package/plugin/node_modules/character-entities-legacy/index.d.ts +0 -6
- package/plugin/node_modules/character-entities-legacy/index.js +0 -113
- package/plugin/node_modules/character-entities-legacy/license +0 -22
- package/plugin/node_modules/character-entities-legacy/package.json +0 -77
- package/plugin/node_modules/character-entities-legacy/readme.md +0 -157
- package/plugin/node_modules/character-reference-invalid/index.d.ts +0 -6
- package/plugin/node_modules/character-reference-invalid/index.js +0 -35
- package/plugin/node_modules/character-reference-invalid/license +0 -22
- package/plugin/node_modules/character-reference-invalid/package.json +0 -83
- package/plugin/node_modules/character-reference-invalid/readme.md +0 -156
- package/plugin/node_modules/commander/LICENSE +0 -22
- package/plugin/node_modules/commander/Readme.md +0 -1015
- package/plugin/node_modules/commander/esm.mjs +0 -15
- package/plugin/node_modules/commander/index.js +0 -27
- package/plugin/node_modules/commander/lib/argument.js +0 -147
- package/plugin/node_modules/commander/lib/command.js +0 -1944
- package/plugin/node_modules/commander/lib/error.js +0 -45
- package/plugin/node_modules/commander/lib/help.js +0 -396
- package/plugin/node_modules/commander/lib/option.js +0 -208
- package/plugin/node_modules/commander/lib/suggestSimilar.js +0 -100
- package/plugin/node_modules/commander/package-support.json +0 -16
- package/plugin/node_modules/commander/package.json +0 -69
- package/plugin/node_modules/commander/typings/index.d.ts +0 -774
- package/plugin/node_modules/debug/LICENSE +0 -20
- package/plugin/node_modules/debug/README.md +0 -481
- package/plugin/node_modules/debug/package.json +0 -64
- package/plugin/node_modules/debug/src/browser.js +0 -272
- package/plugin/node_modules/debug/src/common.js +0 -292
- package/plugin/node_modules/debug/src/index.js +0 -10
- package/plugin/node_modules/debug/src/node.js +0 -263
- package/plugin/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/plugin/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/plugin/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/plugin/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/plugin/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/plugin/node_modules/decode-named-character-reference/index.js +0 -19
- package/plugin/node_modules/decode-named-character-reference/license +0 -22
- package/plugin/node_modules/decode-named-character-reference/package.json +0 -90
- package/plugin/node_modules/decode-named-character-reference/readme.md +0 -136
- package/plugin/node_modules/dequal/dist/index.js +0 -86
- package/plugin/node_modules/dequal/dist/index.min.js +0 -1
- package/plugin/node_modules/dequal/dist/index.mjs +0 -84
- package/plugin/node_modules/dequal/index.d.ts +0 -1
- package/plugin/node_modules/dequal/license +0 -21
- package/plugin/node_modules/dequal/lite/index.d.ts +0 -1
- package/plugin/node_modules/dequal/lite/index.js +0 -31
- package/plugin/node_modules/dequal/lite/index.min.js +0 -1
- package/plugin/node_modules/dequal/lite/index.mjs +0 -29
- package/plugin/node_modules/dequal/package.json +0 -57
- package/plugin/node_modules/dequal/readme.md +0 -112
- package/plugin/node_modules/devlop/lib/default.js +0 -9
- package/plugin/node_modules/devlop/lib/development.d.ts +0 -84
- package/plugin/node_modules/devlop/lib/development.js +0 -238
- package/plugin/node_modules/devlop/license +0 -22
- package/plugin/node_modules/devlop/package.json +0 -80
- package/plugin/node_modules/devlop/readme.md +0 -360
- package/plugin/node_modules/entities/LICENSE +0 -11
- package/plugin/node_modules/entities/lib/decode.d.ts +0 -211
- package/plugin/node_modules/entities/lib/decode.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/decode.js +0 -536
- package/plugin/node_modules/entities/lib/decode.js.map +0 -1
- package/plugin/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
- package/plugin/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/decode_codepoint.js +0 -76
- package/plugin/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/plugin/node_modules/entities/lib/encode.d.ts +0 -22
- package/plugin/node_modules/entities/lib/encode.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/encode.js +0 -77
- package/plugin/node_modules/entities/lib/encode.js.map +0 -1
- package/plugin/node_modules/entities/lib/escape.d.ts +0 -43
- package/plugin/node_modules/entities/lib/escape.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/escape.js +0 -122
- package/plugin/node_modules/entities/lib/escape.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/decode.d.ts +0 -211
- package/plugin/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/decode.js +0 -496
- package/plugin/node_modules/entities/lib/esm/decode.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
- package/plugin/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
- package/plugin/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/encode.d.ts +0 -22
- package/plugin/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/encode.js +0 -69
- package/plugin/node_modules/entities/lib/esm/encode.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/escape.d.ts +0 -43
- package/plugin/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/escape.js +0 -116
- package/plugin/node_modules/entities/lib/esm/escape.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/plugin/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/plugin/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
- package/plugin/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/index.d.ts +0 -96
- package/plugin/node_modules/entities/lib/esm/index.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/esm/index.js +0 -99
- package/plugin/node_modules/entities/lib/esm/index.js.map +0 -1
- package/plugin/node_modules/entities/lib/esm/package.json +0 -1
- package/plugin/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/plugin/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/plugin/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/plugin/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/plugin/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
- package/plugin/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/plugin/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/plugin/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/generated/encode-html.js +0 -12
- package/plugin/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/plugin/node_modules/entities/lib/index.d.ts +0 -96
- package/plugin/node_modules/entities/lib/index.d.ts.map +0 -1
- package/plugin/node_modules/entities/lib/index.js +0 -126
- package/plugin/node_modules/entities/lib/index.js.map +0 -1
- package/plugin/node_modules/entities/package.json +0 -90
- package/plugin/node_modules/entities/readme.md +0 -122
- package/plugin/node_modules/fast-glob/LICENSE +0 -21
- package/plugin/node_modules/fast-glob/README.md +0 -830
- package/plugin/node_modules/fast-glob/out/index.d.ts +0 -40
- package/plugin/node_modules/fast-glob/out/index.js +0 -102
- package/plugin/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
- package/plugin/node_modules/fast-glob/out/managers/tasks.js +0 -110
- package/plugin/node_modules/fast-glob/out/providers/async.d.ts +0 -9
- package/plugin/node_modules/fast-glob/out/providers/async.js +0 -23
- package/plugin/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
- package/plugin/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
- package/plugin/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -17
- package/plugin/node_modules/fast-glob/out/providers/filters/entry.js +0 -85
- package/plugin/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
- package/plugin/node_modules/fast-glob/out/providers/filters/error.js +0 -15
- package/plugin/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
- package/plugin/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
- package/plugin/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
- package/plugin/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
- package/plugin/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
- package/plugin/node_modules/fast-glob/out/providers/provider.js +0 -48
- package/plugin/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
- package/plugin/node_modules/fast-glob/out/providers/stream.js +0 -31
- package/plugin/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
- package/plugin/node_modules/fast-glob/out/providers/sync.js +0 -23
- package/plugin/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
- package/plugin/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
- package/plugin/node_modules/fast-glob/out/readers/async.d.ts +0 -10
- package/plugin/node_modules/fast-glob/out/readers/async.js +0 -35
- package/plugin/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
- package/plugin/node_modules/fast-glob/out/readers/reader.js +0 -33
- package/plugin/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
- package/plugin/node_modules/fast-glob/out/readers/stream.js +0 -55
- package/plugin/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
- package/plugin/node_modules/fast-glob/out/readers/sync.js +0 -43
- package/plugin/node_modules/fast-glob/out/settings.d.ts +0 -164
- package/plugin/node_modules/fast-glob/out/settings.js +0 -59
- package/plugin/node_modules/fast-glob/out/types/index.d.ts +0 -31
- package/plugin/node_modules/fast-glob/out/types/index.js +0 -2
- package/plugin/node_modules/fast-glob/out/utils/array.d.ts +0 -2
- package/plugin/node_modules/fast-glob/out/utils/array.js +0 -22
- package/plugin/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
- package/plugin/node_modules/fast-glob/out/utils/errno.js +0 -7
- package/plugin/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
- package/plugin/node_modules/fast-glob/out/utils/fs.js +0 -19
- package/plugin/node_modules/fast-glob/out/utils/index.d.ts +0 -8
- package/plugin/node_modules/fast-glob/out/utils/index.js +0 -17
- package/plugin/node_modules/fast-glob/out/utils/path.d.ts +0 -13
- package/plugin/node_modules/fast-glob/out/utils/path.js +0 -68
- package/plugin/node_modules/fast-glob/out/utils/pattern.d.ts +0 -49
- package/plugin/node_modules/fast-glob/out/utils/pattern.js +0 -206
- package/plugin/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
- package/plugin/node_modules/fast-glob/out/utils/stream.js +0 -17
- package/plugin/node_modules/fast-glob/out/utils/string.d.ts +0 -2
- package/plugin/node_modules/fast-glob/out/utils/string.js +0 -11
- package/plugin/node_modules/fast-glob/package.json +0 -81
- package/plugin/node_modules/fastq/LICENSE +0 -13
- package/plugin/node_modules/fastq/README.md +0 -310
- package/plugin/node_modules/fastq/SECURITY.md +0 -15
- package/plugin/node_modules/fastq/bench.js +0 -66
- package/plugin/node_modules/fastq/eslint.config.js +0 -11
- package/plugin/node_modules/fastq/example.js +0 -14
- package/plugin/node_modules/fastq/example.mjs +0 -9
- package/plugin/node_modules/fastq/index.d.ts +0 -59
- package/plugin/node_modules/fastq/package.json +0 -49
- package/plugin/node_modules/fastq/queue.js +0 -346
- package/plugin/node_modules/fastq/test/example.ts +0 -83
- package/plugin/node_modules/fastq/test/promise.js +0 -325
- package/plugin/node_modules/fastq/test/test.js +0 -733
- package/plugin/node_modules/fastq/test/tsconfig.json +0 -11
- package/plugin/node_modules/fill-range/LICENSE +0 -21
- package/plugin/node_modules/fill-range/README.md +0 -237
- package/plugin/node_modules/fill-range/index.js +0 -248
- package/plugin/node_modules/fill-range/package.json +0 -74
- package/plugin/node_modules/get-east-asian-width/index.d.ts +0 -60
- package/plugin/node_modules/get-east-asian-width/index.js +0 -30
- package/plugin/node_modules/get-east-asian-width/license +0 -9
- package/plugin/node_modules/get-east-asian-width/lookup-data.js +0 -21
- package/plugin/node_modules/get-east-asian-width/lookup.js +0 -138
- package/plugin/node_modules/get-east-asian-width/package.json +0 -71
- package/plugin/node_modules/get-east-asian-width/readme.md +0 -65
- package/plugin/node_modules/get-east-asian-width/utilities.js +0 -24
- package/plugin/node_modules/glob-parent/CHANGELOG.md +0 -110
- package/plugin/node_modules/glob-parent/LICENSE +0 -15
- package/plugin/node_modules/glob-parent/README.md +0 -137
- package/plugin/node_modules/glob-parent/index.js +0 -42
- package/plugin/node_modules/glob-parent/package.json +0 -48
- package/plugin/node_modules/globby/ignore.js +0 -868
- package/plugin/node_modules/globby/index.d.ts +0 -413
- package/plugin/node_modules/globby/index.js +0 -680
- package/plugin/node_modules/globby/license +0 -9
- package/plugin/node_modules/globby/package.json +0 -94
- package/plugin/node_modules/globby/readme.md +0 -401
- package/plugin/node_modules/globby/utilities.js +0 -382
- package/plugin/node_modules/ignore/LICENSE-MIT +0 -21
- package/plugin/node_modules/ignore/README.md +0 -452
- package/plugin/node_modules/ignore/index.d.ts +0 -81
- package/plugin/node_modules/ignore/index.js +0 -784
- package/plugin/node_modules/ignore/legacy.js +0 -681
- package/plugin/node_modules/ignore/package.json +0 -87
- package/plugin/node_modules/is-alphabetical/index.d.ts +0 -8
- package/plugin/node_modules/is-alphabetical/index.js +0 -16
- package/plugin/node_modules/is-alphabetical/license +0 -22
- package/plugin/node_modules/is-alphabetical/package.json +0 -73
- package/plugin/node_modules/is-alphabetical/readme.md +0 -141
- package/plugin/node_modules/is-alphanumerical/index.d.ts +0 -8
- package/plugin/node_modules/is-alphanumerical/index.js +0 -13
- package/plugin/node_modules/is-alphanumerical/license +0 -22
- package/plugin/node_modules/is-alphanumerical/package.json +0 -79
- package/plugin/node_modules/is-alphanumerical/readme.md +0 -142
- package/plugin/node_modules/is-decimal/index.d.ts +0 -8
- package/plugin/node_modules/is-decimal/index.js +0 -13
- package/plugin/node_modules/is-decimal/license +0 -22
- package/plugin/node_modules/is-decimal/package.json +0 -73
- package/plugin/node_modules/is-decimal/readme.md +0 -139
- package/plugin/node_modules/is-extglob/LICENSE +0 -21
- package/plugin/node_modules/is-extglob/README.md +0 -107
- package/plugin/node_modules/is-extglob/index.js +0 -20
- package/plugin/node_modules/is-extglob/package.json +0 -69
- package/plugin/node_modules/is-glob/LICENSE +0 -21
- package/plugin/node_modules/is-glob/README.md +0 -206
- package/plugin/node_modules/is-glob/index.js +0 -150
- package/plugin/node_modules/is-glob/package.json +0 -81
- package/plugin/node_modules/is-hexadecimal/index.d.ts +0 -8
- package/plugin/node_modules/is-hexadecimal/index.js +0 -17
- package/plugin/node_modules/is-hexadecimal/license +0 -22
- package/plugin/node_modules/is-hexadecimal/package.json +0 -73
- package/plugin/node_modules/is-hexadecimal/readme.md +0 -141
- package/plugin/node_modules/is-number/LICENSE +0 -21
- package/plugin/node_modules/is-number/README.md +0 -187
- package/plugin/node_modules/is-number/index.js +0 -18
- package/plugin/node_modules/is-number/package.json +0 -82
- package/plugin/node_modules/is-path-inside/index.d.ts +0 -25
- package/plugin/node_modules/is-path-inside/index.js +0 -12
- package/plugin/node_modules/is-path-inside/license +0 -9
- package/plugin/node_modules/is-path-inside/package.json +0 -38
- package/plugin/node_modules/is-path-inside/readme.md +0 -59
- package/plugin/node_modules/js-yaml/LICENSE +0 -21
- package/plugin/node_modules/js-yaml/README.md +0 -247
- package/plugin/node_modules/js-yaml/bin/js-yaml.js +0 -126
- package/plugin/node_modules/js-yaml/dist/js-yaml.js +0 -3880
- package/plugin/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- package/plugin/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
- package/plugin/node_modules/js-yaml/index.js +0 -47
- package/plugin/node_modules/js-yaml/lib/common.js +0 -59
- package/plugin/node_modules/js-yaml/lib/dumper.js +0 -965
- package/plugin/node_modules/js-yaml/lib/exception.js +0 -55
- package/plugin/node_modules/js-yaml/lib/loader.js +0 -1733
- package/plugin/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/plugin/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/plugin/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/plugin/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/plugin/node_modules/js-yaml/lib/schema.js +0 -121
- package/plugin/node_modules/js-yaml/lib/snippet.js +0 -101
- package/plugin/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/plugin/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/plugin/node_modules/js-yaml/lib/type/float.js +0 -97
- package/plugin/node_modules/js-yaml/lib/type/int.js +0 -156
- package/plugin/node_modules/js-yaml/lib/type/map.js +0 -8
- package/plugin/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/plugin/node_modules/js-yaml/lib/type/null.js +0 -35
- package/plugin/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/plugin/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/plugin/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/plugin/node_modules/js-yaml/lib/type/set.js +0 -29
- package/plugin/node_modules/js-yaml/lib/type/str.js +0 -8
- package/plugin/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/plugin/node_modules/js-yaml/lib/type.js +0 -66
- package/plugin/node_modules/js-yaml/package.json +0 -66
- package/plugin/node_modules/jsonc-parser/CHANGELOG.md +0 -76
- package/plugin/node_modules/jsonc-parser/LICENSE.md +0 -21
- package/plugin/node_modules/jsonc-parser/README.md +0 -364
- package/plugin/node_modules/jsonc-parser/SECURITY.md +0 -41
- package/plugin/node_modules/jsonc-parser/lib/esm/impl/edit.js +0 -185
- package/plugin/node_modules/jsonc-parser/lib/esm/impl/format.js +0 -261
- package/plugin/node_modules/jsonc-parser/lib/esm/impl/parser.js +0 -659
- package/plugin/node_modules/jsonc-parser/lib/esm/impl/scanner.js +0 -443
- package/plugin/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +0 -29
- package/plugin/node_modules/jsonc-parser/lib/esm/main.d.ts +0 -351
- package/plugin/node_modules/jsonc-parser/lib/esm/main.js +0 -178
- package/plugin/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
- package/plugin/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -275
- package/plugin/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -682
- package/plugin/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
- package/plugin/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +0 -42
- package/plugin/node_modules/jsonc-parser/lib/umd/main.d.ts +0 -351
- package/plugin/node_modules/jsonc-parser/lib/umd/main.js +0 -194
- package/plugin/node_modules/jsonc-parser/package.json +0 -37
- package/plugin/node_modules/jsonpointer/LICENSE.md +0 -21
- package/plugin/node_modules/jsonpointer/README.md +0 -45
- package/plugin/node_modules/jsonpointer/jsonpointer.d.ts +0 -35
- package/plugin/node_modules/jsonpointer/jsonpointer.js +0 -100
- package/plugin/node_modules/jsonpointer/package.json +0 -48
- package/plugin/node_modules/katex/LICENSE +0 -21
- package/plugin/node_modules/katex/README.md +0 -125
- package/plugin/node_modules/katex/cli.js +0 -114
- package/plugin/node_modules/katex/contrib/auto-render/README.md +0 -8
- package/plugin/node_modules/katex/contrib/auto-render/auto-render.ts +0 -164
- package/plugin/node_modules/katex/contrib/auto-render/index.html +0 -57
- package/plugin/node_modules/katex/contrib/auto-render/splitAtDelimiters.ts +0 -99
- package/plugin/node_modules/katex/contrib/auto-render/test/auto-render-spec.ts +0 -371
- package/plugin/node_modules/katex/contrib/copy-tex/README.md +0 -39
- package/plugin/node_modules/katex/contrib/copy-tex/copy-tex.ts +0 -49
- package/plugin/node_modules/katex/contrib/copy-tex/index.html +0 -38
- package/plugin/node_modules/katex/contrib/copy-tex/katex2tex.ts +0 -60
- package/plugin/node_modules/katex/contrib/mathtex-script-type/README.md +0 -38
- package/plugin/node_modules/katex/contrib/mathtex-script-type/mathtex-script-type.js +0 -23
- package/plugin/node_modules/katex/contrib/mhchem/README.md +0 -23
- package/plugin/node_modules/katex/contrib/mhchem/mhchem.js +0 -1695
- package/plugin/node_modules/katex/contrib/render-a11y-string/render-a11y-string.ts +0 -729
- package/plugin/node_modules/katex/contrib/render-a11y-string/test/render-a11y-string-spec.ts +0 -561
- package/plugin/node_modules/katex/dist/README.md +0 -125
- package/plugin/node_modules/katex/dist/contrib/auto-render.js +0 -305
- package/plugin/node_modules/katex/dist/contrib/auto-render.min.js +0 -1
- package/plugin/node_modules/katex/dist/contrib/auto-render.mjs +0 -210
- package/plugin/node_modules/katex/dist/contrib/copy-tex.js +0 -113
- package/plugin/node_modules/katex/dist/contrib/copy-tex.min.js +0 -1
- package/plugin/node_modules/katex/dist/contrib/copy-tex.mjs +0 -85
- package/plugin/node_modules/katex/dist/contrib/mathtex-script-type.js +0 -107
- package/plugin/node_modules/katex/dist/contrib/mathtex-script-type.min.js +0 -1
- package/plugin/node_modules/katex/dist/contrib/mathtex-script-type.mjs +0 -22
- package/plugin/node_modules/katex/dist/contrib/mhchem.js +0 -2965
- package/plugin/node_modules/katex/dist/contrib/mhchem.min.js +0 -1
- package/plugin/node_modules/katex/dist/contrib/mhchem.mjs +0 -2864
- package/plugin/node_modules/katex/dist/contrib/render-a11y-string.js +0 -827
- package/plugin/node_modules/katex/dist/contrib/render-a11y-string.min.js +0 -1
- package/plugin/node_modules/katex/dist/contrib/render-a11y-string.mjs +0 -723
- package/plugin/node_modules/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/plugin/node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/plugin/node_modules/katex/dist/katex-swap.css +0 -1241
- package/plugin/node_modules/katex/dist/katex-swap.min.css +0 -1
- package/plugin/node_modules/katex/dist/katex.css +0 -1241
- package/plugin/node_modules/katex/dist/katex.js +0 -18010
- package/plugin/node_modules/katex/dist/katex.min.css +0 -1
- package/plugin/node_modules/katex/dist/katex.min.js +0 -1
- package/plugin/node_modules/katex/dist/katex.mjs +0 -16670
- package/plugin/node_modules/katex/katex.ts +0 -250
- package/plugin/node_modules/katex/package.json +0 -198
- package/plugin/node_modules/katex/src/Lexer.ts +0 -121
- package/plugin/node_modules/katex/src/MacroExpander.ts +0 -467
- package/plugin/node_modules/katex/src/Namespace.ts +0 -127
- package/plugin/node_modules/katex/src/Options.ts +0 -315
- package/plugin/node_modules/katex/src/ParseError.ts +0 -76
- package/plugin/node_modules/katex/src/Parser.ts +0 -1053
- package/plugin/node_modules/katex/src/Settings.ts +0 -477
- package/plugin/node_modules/katex/src/SourceLocation.ts +0 -41
- package/plugin/node_modules/katex/src/Style.ts +0 -129
- package/plugin/node_modules/katex/src/Token.ts +0 -49
- package/plugin/node_modules/katex/src/atoms.ts +0 -33
- package/plugin/node_modules/katex/src/buildCommon.ts +0 -783
- package/plugin/node_modules/katex/src/buildHTML.ts +0 -412
- package/plugin/node_modules/katex/src/buildMathML.ts +0 -332
- package/plugin/node_modules/katex/src/buildTree.ts +0 -66
- package/plugin/node_modules/katex/src/defineEnvironment.ts +0 -116
- package/plugin/node_modules/katex/src/defineFunction.ts +0 -228
- package/plugin/node_modules/katex/src/defineMacro.ts +0 -124
- package/plugin/node_modules/katex/src/delimiter.ts +0 -832
- package/plugin/node_modules/katex/src/domTree.ts +0 -641
- package/plugin/node_modules/katex/src/environments/array.ts +0 -1136
- package/plugin/node_modules/katex/src/environments/cd.ts +0 -318
- package/plugin/node_modules/katex/src/environments.ts +0 -8
- package/plugin/node_modules/katex/src/fontMetrics.ts +0 -267
- package/plugin/node_modules/katex/src/fontMetricsData.d.ts +0 -8
- package/plugin/node_modules/katex/src/fontMetricsData.js +0 -2077
- package/plugin/node_modules/katex/src/fonts/Makefile +0 -139
- package/plugin/node_modules/katex/src/fonts/default.cfg +0 -20
- package/plugin/node_modules/katex/src/fonts/generate_fonts.py +0 -58
- package/plugin/node_modules/katex/src/fonts/lib/Extra.otf +0 -0
- package/plugin/node_modules/katex/src/fonts/lib/Space.ttx +0 -234
- package/plugin/node_modules/katex/src/fonts/makeBlacker +0 -49
- package/plugin/node_modules/katex/src/fonts/makeFF +0 -2005
- package/plugin/node_modules/katex/src/fonts/xbbold.mf +0 -182
- package/plugin/node_modules/katex/src/functions/accent.ts +0 -285
- package/plugin/node_modules/katex/src/functions/accentunder.ts +0 -59
- package/plugin/node_modules/katex/src/functions/arrow.ts +0 -141
- package/plugin/node_modules/katex/src/functions/char.ts +0 -44
- package/plugin/node_modules/katex/src/functions/color.ts +0 -87
- package/plugin/node_modules/katex/src/functions/cr.ts +0 -60
- package/plugin/node_modules/katex/src/functions/def.ts +0 -212
- package/plugin/node_modules/katex/src/functions/delimsizing.ts +0 -366
- package/plugin/node_modules/katex/src/functions/enclose.ts +0 -345
- package/plugin/node_modules/katex/src/functions/environment.ts +0 -66
- package/plugin/node_modules/katex/src/functions/font.ts +0 -124
- package/plugin/node_modules/katex/src/functions/genfrac.ts +0 -470
- package/plugin/node_modules/katex/src/functions/hbox.ts +0 -38
- package/plugin/node_modules/katex/src/functions/horizBrace.ts +0 -134
- package/plugin/node_modules/katex/src/functions/href.ts +0 -93
- package/plugin/node_modules/katex/src/functions/html.ts +0 -105
- package/plugin/node_modules/katex/src/functions/htmlmathml.ts +0 -34
- package/plugin/node_modules/katex/src/functions/includegraphics.ts +0 -150
- package/plugin/node_modules/katex/src/functions/kern.ts +0 -55
- package/plugin/node_modules/katex/src/functions/lap.ts +0 -73
- package/plugin/node_modules/katex/src/functions/math.ts +0 -42
- package/plugin/node_modules/katex/src/functions/mathchoice.ts +0 -51
- package/plugin/node_modules/katex/src/functions/mclass.ts +0 -165
- package/plugin/node_modules/katex/src/functions/op.ts +0 -337
- package/plugin/node_modules/katex/src/functions/operatorname.ts +0 -161
- package/plugin/node_modules/katex/src/functions/ordgroup.ts +0 -20
- package/plugin/node_modules/katex/src/functions/overline.ts +0 -58
- package/plugin/node_modules/katex/src/functions/phantom.ts +0 -73
- package/plugin/node_modules/katex/src/functions/pmb.ts +0 -43
- package/plugin/node_modules/katex/src/functions/raisebox.ts +0 -45
- package/plugin/node_modules/katex/src/functions/relax.ts +0 -17
- package/plugin/node_modules/katex/src/functions/rule.ts +0 -76
- package/plugin/node_modules/katex/src/functions/sizing.ts +0 -90
- package/plugin/node_modules/katex/src/functions/smash.ts +0 -115
- package/plugin/node_modules/katex/src/functions/sqrt.ts +0 -124
- package/plugin/node_modules/katex/src/functions/styling.ts +0 -85
- package/plugin/node_modules/katex/src/functions/supsub.ts +0 -268
- package/plugin/node_modules/katex/src/functions/symbolsOp.ts +0 -32
- package/plugin/node_modules/katex/src/functions/symbolsOrd.ts +0 -61
- package/plugin/node_modules/katex/src/functions/symbolsSpacing.ts +0 -72
- package/plugin/node_modules/katex/src/functions/tag.ts +0 -38
- package/plugin/node_modules/katex/src/functions/text.ts +0 -81
- package/plugin/node_modules/katex/src/functions/underline.ts +0 -57
- package/plugin/node_modules/katex/src/functions/utils/assembleSupSub.ts +0 -119
- package/plugin/node_modules/katex/src/functions/vcenter.ts +0 -44
- package/plugin/node_modules/katex/src/functions/verb.ts +0 -57
- package/plugin/node_modules/katex/src/functions.ts +0 -54
- package/plugin/node_modules/katex/src/macros.ts +0 -1032
- package/plugin/node_modules/katex/src/mathMLTree.ts +0 -259
- package/plugin/node_modules/katex/src/metrics/README.md +0 -23
- package/plugin/node_modules/katex/src/metrics/extract_tfms.py +0 -114
- package/plugin/node_modules/katex/src/metrics/extract_ttfs.py +0 -122
- package/plugin/node_modules/katex/src/metrics/format_json.py +0 -28
- package/plugin/node_modules/katex/src/metrics/mapping.pl +0 -1224
- package/plugin/node_modules/katex/src/metrics/parse_tfm.py +0 -211
- package/plugin/node_modules/katex/src/parseNode.ts +0 -518
- package/plugin/node_modules/katex/src/parseTree.ts +0 -51
- package/plugin/node_modules/katex/src/spacingData.ts +0 -107
- package/plugin/node_modules/katex/src/stretchy.ts +0 -358
- package/plugin/node_modules/katex/src/styles/fonts.scss +0 -75
- package/plugin/node_modules/katex/src/styles/katex-swap.scss +0 -4
- package/plugin/node_modules/katex/src/styles/katex.scss +0 -683
- package/plugin/node_modules/katex/src/svgGeometry.ts +0 -561
- package/plugin/node_modules/katex/src/symbols.ts +0 -879
- package/plugin/node_modules/katex/src/tree.ts +0 -79
- package/plugin/node_modules/katex/src/types/fonts.ts +0 -73
- package/plugin/node_modules/katex/src/types/index.ts +0 -29
- package/plugin/node_modules/katex/src/unicodeAccents.js +0 -21
- package/plugin/node_modules/katex/src/unicodeScripts.ts +0 -124
- package/plugin/node_modules/katex/src/unicodeSupOrSub.ts +0 -108
- package/plugin/node_modules/katex/src/unicodeSymbols.js +0 -33
- package/plugin/node_modules/katex/src/units.ts +0 -104
- package/plugin/node_modules/katex/src/utils.ts +0 -89
- package/plugin/node_modules/katex/src/wide-character.ts +0 -155
- package/plugin/node_modules/katex/types/katex.d.ts +0 -259
- package/plugin/node_modules/linkify-it/LICENSE +0 -22
- package/plugin/node_modules/linkify-it/README.md +0 -196
- package/plugin/node_modules/linkify-it/build/index.cjs.js +0 -832
- package/plugin/node_modules/linkify-it/index.mjs +0 -642
- package/plugin/node_modules/linkify-it/lib/re.mjs +0 -189
- package/plugin/node_modules/linkify-it/package.json +0 -58
- package/plugin/node_modules/markdown-it/LICENSE +0 -22
- package/plugin/node_modules/markdown-it/README.md +0 -324
- package/plugin/node_modules/markdown-it/bin/markdown-it.mjs +0 -107
- package/plugin/node_modules/markdown-it/dist/index.cjs.js +0 -5547
- package/plugin/node_modules/markdown-it/dist/markdown-it.js +0 -6969
- package/plugin/node_modules/markdown-it/dist/markdown-it.min.js +0 -2
- package/plugin/node_modules/markdown-it/index.mjs +0 -1
- package/plugin/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
- package/plugin/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
- package/plugin/node_modules/markdown-it/lib/common/utils.mjs +0 -304
- package/plugin/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
- package/plugin/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
- package/plugin/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
- package/plugin/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
- package/plugin/node_modules/markdown-it/lib/index.mjs +0 -565
- package/plugin/node_modules/markdown-it/lib/parser_block.mjs +0 -134
- package/plugin/node_modules/markdown-it/lib/parser_core.mjs +0 -62
- package/plugin/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
- package/plugin/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
- package/plugin/node_modules/markdown-it/lib/presets/default.mjs +0 -47
- package/plugin/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
- package/plugin/node_modules/markdown-it/lib/renderer.mjs +0 -322
- package/plugin/node_modules/markdown-it/lib/ruler.mjs +0 -340
- package/plugin/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
- package/plugin/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
- package/plugin/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
- package/plugin/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
- package/plugin/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
- package/plugin/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -69
- package/plugin/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -82
- package/plugin/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
- package/plugin/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -46
- package/plugin/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
- package/plugin/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
- package/plugin/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
- package/plugin/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
- package/plugin/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
- package/plugin/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
- package/plugin/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
- package/plugin/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
- package/plugin/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -193
- package/plugin/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
- package/plugin/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
- package/plugin/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
- package/plugin/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
- package/plugin/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
- package/plugin/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
- package/plugin/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
- package/plugin/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -69
- package/plugin/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
- package/plugin/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
- package/plugin/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
- package/plugin/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
- package/plugin/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
- package/plugin/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
- package/plugin/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -123
- package/plugin/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
- package/plugin/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
- package/plugin/node_modules/markdown-it/lib/token.mjs +0 -191
- package/plugin/node_modules/markdown-it/package.json +0 -92
- package/plugin/node_modules/markdownlint/CHANGELOG.md +0 -520
- package/plugin/node_modules/markdownlint/CONTRIBUTING.md +0 -92
- package/plugin/node_modules/markdownlint/LICENSE +0 -21
- package/plugin/node_modules/markdownlint/README.md +0 -1124
- package/plugin/node_modules/markdownlint/doc/CustomRules.md +0 -194
- package/plugin/node_modules/markdownlint/doc/Prettier.md +0 -27
- package/plugin/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
- package/plugin/node_modules/markdownlint/doc/Rules.md +0 -2814
- package/plugin/node_modules/markdownlint/doc/md001.md +0 -51
- package/plugin/node_modules/markdownlint/doc/md003.md +0 -59
- package/plugin/node_modules/markdownlint/doc/md004.md +0 -50
- package/plugin/node_modules/markdownlint/doc/md005.md +0 -53
- package/plugin/node_modules/markdownlint/doc/md007.md +0 -52
- package/plugin/node_modules/markdownlint/doc/md009.md +0 -50
- package/plugin/node_modules/markdownlint/doc/md010.md +0 -62
- package/plugin/node_modules/markdownlint/doc/md011.md +0 -30
- package/plugin/node_modules/markdownlint/doc/md012.md +0 -38
- package/plugin/node_modules/markdownlint/doc/md013.md +0 -58
- package/plugin/node_modules/markdownlint/doc/md014.md +0 -54
- package/plugin/node_modules/markdownlint/doc/md018.md +0 -27
- package/plugin/node_modules/markdownlint/doc/md019.md +0 -28
- package/plugin/node_modules/markdownlint/doc/md020.md +0 -29
- package/plugin/node_modules/markdownlint/doc/md021.md +0 -31
- package/plugin/node_modules/markdownlint/doc/md022.md +0 -52
- package/plugin/node_modules/markdownlint/doc/md023.md +0 -33
- package/plugin/node_modules/markdownlint/doc/md024.md +0 -44
- package/plugin/node_modules/markdownlint/doc/md025.md +0 -49
- package/plugin/node_modules/markdownlint/doc/md026.md +0 -40
- package/plugin/node_modules/markdownlint/doc/md027.md +0 -32
- package/plugin/node_modules/markdownlint/doc/md028.md +0 -40
- package/plugin/node_modules/markdownlint/doc/md029.md +0 -100
- package/plugin/node_modules/markdownlint/doc/md030.md +0 -82
- package/plugin/node_modules/markdownlint/doc/md031.md +0 -50
- package/plugin/node_modules/markdownlint/doc/md032.md +0 -55
- package/plugin/node_modules/markdownlint/doc/md033.md +0 -33
- package/plugin/node_modules/markdownlint/doc/md034.md +0 -55
- package/plugin/node_modules/markdownlint/doc/md035.md +0 -37
- package/plugin/node_modules/markdownlint/doc/md036.md +0 -45
- package/plugin/node_modules/markdownlint/doc/md037.md +0 -37
- package/plugin/node_modules/markdownlint/doc/md038.md +0 -52
- package/plugin/node_modules/markdownlint/doc/md039.md +0 -21
- package/plugin/node_modules/markdownlint/doc/md040.md +0 -52
- package/plugin/node_modules/markdownlint/doc/md041.md +0 -64
- package/plugin/node_modules/markdownlint/doc/md042.md +0 -32
- package/plugin/node_modules/markdownlint/doc/md043.md +0 -87
- package/plugin/node_modules/markdownlint/doc/md044.md +0 -45
- package/plugin/node_modules/markdownlint/doc/md045.md +0 -48
- package/plugin/node_modules/markdownlint/doc/md046.md +0 -40
- package/plugin/node_modules/markdownlint/doc/md047.md +0 -34
- package/plugin/node_modules/markdownlint/doc/md048.md +0 -42
- package/plugin/node_modules/markdownlint/doc/md049.md +0 -36
- package/plugin/node_modules/markdownlint/doc/md050.md +0 -35
- package/plugin/node_modules/markdownlint/doc/md051.md +0 -117
- package/plugin/node_modules/markdownlint/doc/md052.md +0 -52
- package/plugin/node_modules/markdownlint/doc/md053.md +0 -38
- package/plugin/node_modules/markdownlint/doc/md054.md +0 -100
- package/plugin/node_modules/markdownlint/doc/md055.md +0 -55
- package/plugin/node_modules/markdownlint/doc/md056.md +0 -37
- package/plugin/node_modules/markdownlint/doc/md058.md +0 -48
- package/plugin/node_modules/markdownlint/doc/md059.md +0 -33
- package/plugin/node_modules/markdownlint/doc/md060.md +0 -118
- package/plugin/node_modules/markdownlint/helpers/LICENSE +0 -21
- package/plugin/node_modules/markdownlint/helpers/README.md +0 -29
- package/plugin/node_modules/markdownlint/helpers/helpers.cjs +0 -696
- package/plugin/node_modules/markdownlint/helpers/micromark-helpers.cjs +0 -331
- package/plugin/node_modules/markdownlint/helpers/package.json +0 -26
- package/plugin/node_modules/markdownlint/helpers/shared.cjs +0 -16
- package/plugin/node_modules/markdownlint/lib/cache.mjs +0 -80
- package/plugin/node_modules/markdownlint/lib/configuration-strict.d.ts +0 -2409
- package/plugin/node_modules/markdownlint/lib/configuration.d.ts +0 -8
- package/plugin/node_modules/markdownlint/lib/constants.mjs +0 -14
- package/plugin/node_modules/markdownlint/lib/defer-require.cjs +0 -18
- package/plugin/node_modules/markdownlint/lib/exports-async.d.mts +0 -1
- package/plugin/node_modules/markdownlint/lib/exports-async.mjs +0 -3
- package/plugin/node_modules/markdownlint/lib/exports-promise.d.mts +0 -1
- package/plugin/node_modules/markdownlint/lib/exports-promise.mjs +0 -3
- package/plugin/node_modules/markdownlint/lib/exports-sync.d.mts +0 -1
- package/plugin/node_modules/markdownlint/lib/exports-sync.mjs +0 -3
- package/plugin/node_modules/markdownlint/lib/exports.d.mts +0 -29
- package/plugin/node_modules/markdownlint/lib/exports.mjs +0 -32
- package/plugin/node_modules/markdownlint/lib/markdownit.cjs +0 -170
- package/plugin/node_modules/markdownlint/lib/markdownlint.d.mts +0 -600
- package/plugin/node_modules/markdownlint/lib/markdownlint.mjs +0 -1660
- package/plugin/node_modules/markdownlint/lib/md001.mjs +0 -32
- package/plugin/node_modules/markdownlint/lib/md003.mjs +0 -47
- package/plugin/node_modules/markdownlint/lib/md004.mjs +0 -72
- package/plugin/node_modules/markdownlint/lib/md005.mjs +0 -69
- package/plugin/node_modules/markdownlint/lib/md007.mjs +0 -84
- package/plugin/node_modules/markdownlint/lib/md009.mjs +0 -96
- package/plugin/node_modules/markdownlint/lib/md010.mjs +0 -78
- package/plugin/node_modules/markdownlint/lib/md011.mjs +0 -56
- package/plugin/node_modules/markdownlint/lib/md012.mjs +0 -40
- package/plugin/node_modules/markdownlint/lib/md013.mjs +0 -91
- package/plugin/node_modules/markdownlint/lib/md014.mjs +0 -47
- package/plugin/node_modules/markdownlint/lib/md018.mjs +0 -43
- package/plugin/node_modules/markdownlint/lib/md019-md021.mjs +0 -77
- package/plugin/node_modules/markdownlint/lib/md020.mjs +0 -68
- package/plugin/node_modules/markdownlint/lib/md022.mjs +0 -100
- package/plugin/node_modules/markdownlint/lib/md023.mjs +0 -37
- package/plugin/node_modules/markdownlint/lib/md024.mjs +0 -45
- package/plugin/node_modules/markdownlint/lib/md025.mjs +0 -45
- package/plugin/node_modules/markdownlint/lib/md026.mjs +0 -46
- package/plugin/node_modules/markdownlint/lib/md027.mjs +0 -50
- package/plugin/node_modules/markdownlint/lib/md028.mjs +0 -39
- package/plugin/node_modules/markdownlint/lib/md029.mjs +0 -84
- package/plugin/node_modules/markdownlint/lib/md030.mjs +0 -57
- package/plugin/node_modules/markdownlint/lib/md031.mjs +0 -61
- package/plugin/node_modules/markdownlint/lib/md032.mjs +0 -78
- package/plugin/node_modules/markdownlint/lib/md033.mjs +0 -46
- package/plugin/node_modules/markdownlint/lib/md034.mjs +0 -92
- package/plugin/node_modules/markdownlint/lib/md035.mjs +0 -23
- package/plugin/node_modules/markdownlint/lib/md036.mjs +0 -54
- package/plugin/node_modules/markdownlint/lib/md037.mjs +0 -94
- package/plugin/node_modules/markdownlint/lib/md038.mjs +0 -73
- package/plugin/node_modules/markdownlint/lib/md039.mjs +0 -59
- package/plugin/node_modules/markdownlint/lib/md040.mjs +0 -32
- package/plugin/node_modules/markdownlint/lib/md041.mjs +0 -71
- package/plugin/node_modules/markdownlint/lib/md042.mjs +0 -58
- package/plugin/node_modules/markdownlint/lib/md043.mjs +0 -72
- package/plugin/node_modules/markdownlint/lib/md044.mjs +0 -110
- package/plugin/node_modules/markdownlint/lib/md045.mjs +0 -61
- package/plugin/node_modules/markdownlint/lib/md046.mjs +0 -31
- package/plugin/node_modules/markdownlint/lib/md047.mjs +0 -28
- package/plugin/node_modules/markdownlint/lib/md048.mjs +0 -47
- package/plugin/node_modules/markdownlint/lib/md049-md050.mjs +0 -115
- package/plugin/node_modules/markdownlint/lib/md051.mjs +0 -172
- package/plugin/node_modules/markdownlint/lib/md052.mjs +0 -40
- package/plugin/node_modules/markdownlint/lib/md053.mjs +0 -60
- package/plugin/node_modules/markdownlint/lib/md054.mjs +0 -122
- package/plugin/node_modules/markdownlint/lib/md055.mjs +0 -72
- package/plugin/node_modules/markdownlint/lib/md056.mjs +0 -50
- package/plugin/node_modules/markdownlint/lib/md058.mjs +0 -57
- package/plugin/node_modules/markdownlint/lib/md059.mjs +0 -71
- package/plugin/node_modules/markdownlint/lib/md060.mjs +0 -170
- package/plugin/node_modules/markdownlint/lib/micromark-parse.mjs +0 -322
- package/plugin/node_modules/markdownlint/lib/micromark-types.d.mts +0 -11
- package/plugin/node_modules/markdownlint/lib/node-imports-browser.mjs +0 -22
- package/plugin/node_modules/markdownlint/lib/node-imports-node.mjs +0 -11
- package/plugin/node_modules/markdownlint/lib/parse-configuration.mjs +0 -47
- package/plugin/node_modules/markdownlint/lib/resolve-module.cjs +0 -52
- package/plugin/node_modules/markdownlint/lib/resolve-module.d.cts +0 -34
- package/plugin/node_modules/markdownlint/lib/rules.mjs +0 -122
- package/plugin/node_modules/markdownlint/lib/types.d.mts +0 -13
- package/plugin/node_modules/markdownlint/package.json +0 -123
- package/plugin/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -347
- package/plugin/node_modules/markdownlint/schema/.markdownlint.yaml +0 -308
- package/plugin/node_modules/markdownlint/schema/ValidatingConfiguration.md +0 -26
- package/plugin/node_modules/markdownlint/schema/markdownlint-config-schema-strict.json +0 -5128
- package/plugin/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -5133
- package/plugin/node_modules/markdownlint/style/all.json +0 -5
- package/plugin/node_modules/markdownlint/style/cirosantilli.json +0 -22
- package/plugin/node_modules/markdownlint/style/prettier.json +0 -27
- package/plugin/node_modules/markdownlint/style/relaxed.json +0 -12
- package/plugin/node_modules/markdownlint-cli2/CHANGELOG.md +0 -258
- package/plugin/node_modules/markdownlint-cli2/LICENSE +0 -21
- package/plugin/node_modules/markdownlint-cli2/README.md +0 -578
- package/plugin/node_modules/markdownlint-cli2/append-to-array.mjs +0 -24
- package/plugin/node_modules/markdownlint-cli2/constants.mjs +0 -30
- package/plugin/node_modules/markdownlint-cli2/export-markdownlint-helpers.mjs +0 -3
- package/plugin/node_modules/markdownlint-cli2/export-markdownlint-promise.mjs +0 -3
- package/plugin/node_modules/markdownlint-cli2/export-markdownlint.mjs +0 -3
- package/plugin/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs +0 -18
- package/plugin/node_modules/markdownlint-cli2/markdownlint-cli2.mjs +0 -1165
- package/plugin/node_modules/markdownlint-cli2/merge-options.mjs +0 -27
- package/plugin/node_modules/markdownlint-cli2/package.json +0 -124
- package/plugin/node_modules/markdownlint-cli2/parsers/jsonc-parse.mjs +0 -22
- package/plugin/node_modules/markdownlint-cli2/parsers/parsers.mjs +0 -17
- package/plugin/node_modules/markdownlint-cli2/parsers/toml-parse.mjs +0 -11
- package/plugin/node_modules/markdownlint-cli2/parsers/yaml-parse.mjs +0 -16
- package/plugin/node_modules/markdownlint-cli2/schema/ValidatingConfiguration.md +0 -24
- package/plugin/node_modules/markdownlint-cli2/schema/markdownlint-cli2-config-schema.json +0 -138
- package/plugin/node_modules/markdownlint-cli2/schema/markdownlint-config-schema.json +0 -5133
- package/plugin/node_modules/markdownlint-cli2-formatter-default/LICENSE +0 -21
- package/plugin/node_modules/markdownlint-cli2-formatter-default/README.md +0 -54
- package/plugin/node_modules/markdownlint-cli2-formatter-default/markdownlint-cli2-formatter-default.js +0 -25
- package/plugin/node_modules/markdownlint-cli2-formatter-default/package.json +0 -27
- package/plugin/node_modules/mdurl/LICENSE +0 -45
- package/plugin/node_modules/mdurl/README.md +0 -102
- package/plugin/node_modules/mdurl/build/index.cjs.js +0 -534
- package/plugin/node_modules/mdurl/index.mjs +0 -11
- package/plugin/node_modules/mdurl/lib/decode.mjs +0 -112
- package/plugin/node_modules/mdurl/lib/encode.mjs +0 -89
- package/plugin/node_modules/mdurl/lib/format.mjs +0 -21
- package/plugin/node_modules/mdurl/lib/parse.mjs +0 -308
- package/plugin/node_modules/mdurl/package.json +0 -37
- package/plugin/node_modules/merge2/LICENSE +0 -21
- package/plugin/node_modules/merge2/README.md +0 -144
- package/plugin/node_modules/merge2/index.js +0 -144
- package/plugin/node_modules/merge2/package.json +0 -43
- package/plugin/node_modules/micromark/dev/index.d.ts +0 -82
- package/plugin/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/index.js +0 -68
- package/plugin/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/plugin/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/compile.js +0 -1152
- package/plugin/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/plugin/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/plugin/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/plugin/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
- package/plugin/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/plugin/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/plugin/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/plugin/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/initialize/document.js +0 -445
- package/plugin/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/plugin/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/plugin/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/plugin/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/initialize/text.js +0 -244
- package/plugin/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/plugin/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/parse.js +0 -58
- package/plugin/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/plugin/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/plugin/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/plugin/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/lib/preprocess.js +0 -141
- package/plugin/node_modules/micromark/dev/stream.d.ts +0 -35
- package/plugin/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/plugin/node_modules/micromark/dev/stream.js +0 -270
- package/plugin/node_modules/micromark/index.d.ts +0 -82
- package/plugin/node_modules/micromark/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark/index.js +0 -60
- package/plugin/node_modules/micromark/lib/compile.d.ts +0 -16
- package/plugin/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/compile.js +0 -1060
- package/plugin/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/plugin/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/constructs.js +0 -85
- package/plugin/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/plugin/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/create-tokenizer.js +0 -611
- package/plugin/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/plugin/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/initialize/content.js +0 -79
- package/plugin/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/plugin/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/initialize/document.js +0 -362
- package/plugin/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/plugin/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/plugin/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/plugin/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/initialize/text.js +0 -212
- package/plugin/node_modules/micromark/lib/parse.d.ts +0 -10
- package/plugin/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/parse.js +0 -56
- package/plugin/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/plugin/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/postprocess.js +0 -18
- package/plugin/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/plugin/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/plugin/node_modules/micromark/lib/preprocess.js +0 -115
- package/plugin/node_modules/micromark/license +0 -22
- package/plugin/node_modules/micromark/package.json +0 -100
- package/plugin/node_modules/micromark/readme.md +0 -488
- package/plugin/node_modules/micromark/stream.d.ts +0 -35
- package/plugin/node_modules/micromark/stream.d.ts.map +0 -1
- package/plugin/node_modules/micromark/stream.js +0 -256
- package/plugin/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/plugin/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/plugin/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/plugin/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/index.js +0 -22
- package/plugin/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
- package/plugin/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/plugin/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/plugin/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/plugin/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/plugin/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/plugin/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
- package/plugin/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
- package/plugin/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/plugin/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/plugin/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/plugin/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/plugin/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/plugin/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
- package/plugin/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
- package/plugin/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/plugin/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
- package/plugin/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/plugin/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/plugin/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
- package/plugin/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/plugin/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/plugin/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/plugin/node_modules/micromark-core-commonmark/license +0 -22
- package/plugin/node_modules/micromark-core-commonmark/package.json +0 -74
- package/plugin/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/plugin/node_modules/micromark-extension-directive/dev/index.d.ts +0 -156
- package/plugin/node_modules/micromark-extension-directive/dev/index.js +0 -3
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-container.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-container.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-container.js +0 -323
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-leaf.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-leaf.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-leaf.js +0 -124
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-text.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/directive-text.js +0 -113
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-attributes.d.ts +0 -23
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-attributes.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-attributes.js +0 -348
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-label.d.ts +0 -15
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-label.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-label.js +0 -135
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-name.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-name.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/factory-name.js +0 -59
- package/plugin/node_modules/micromark-extension-directive/dev/lib/html.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-directive/dev/lib/html.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/html.js +0 -265
- package/plugin/node_modules/micromark-extension-directive/dev/lib/syntax.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-directive/dev/lib/syntax.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/dev/lib/syntax.js +0 -22
- package/plugin/node_modules/micromark-extension-directive/index.d.ts +0 -156
- package/plugin/node_modules/micromark-extension-directive/index.js +0 -3
- package/plugin/node_modules/micromark-extension-directive/lib/directive-container.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/lib/directive-container.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/directive-container.js +0 -259
- package/plugin/node_modules/micromark-extension-directive/lib/directive-leaf.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/lib/directive-leaf.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/directive-leaf.js +0 -91
- package/plugin/node_modules/micromark-extension-directive/lib/directive-text.d.ts +0 -4
- package/plugin/node_modules/micromark-extension-directive/lib/directive-text.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/directive-text.js +0 -82
- package/plugin/node_modules/micromark-extension-directive/lib/factory-attributes.d.ts +0 -23
- package/plugin/node_modules/micromark-extension-directive/lib/factory-attributes.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/factory-attributes.js +0 -238
- package/plugin/node_modules/micromark-extension-directive/lib/factory-label.d.ts +0 -15
- package/plugin/node_modules/micromark-extension-directive/lib/factory-label.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/factory-label.js +0 -107
- package/plugin/node_modules/micromark-extension-directive/lib/factory-name.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-directive/lib/factory-name.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/factory-name.js +0 -36
- package/plugin/node_modules/micromark-extension-directive/lib/html.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-directive/lib/html.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/html.js +0 -233
- package/plugin/node_modules/micromark-extension-directive/lib/syntax.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-directive/lib/syntax.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-directive/lib/syntax.js +0 -25
- package/plugin/node_modules/micromark-extension-directive/license +0 -22
- package/plugin/node_modules/micromark-extension-directive/package.json +0 -124
- package/plugin/node_modules/micromark-extension-directive/readme.md +0 -451
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/index.d.ts +0 -24
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/index.js +0 -2
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.js +0 -56
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.js +0 -983
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/index.d.ts +0 -24
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/index.js +0 -2
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/lib/html.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +0 -60
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.d.ts +0 -10
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +0 -854
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/license +0 -22
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/package.json +0 -116
- package/plugin/node_modules/micromark-extension-gfm-autolink-literal/readme.md +0 -422
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/index.d.ts +0 -164
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/index.js +0 -3
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/lib/html.d.ts +0 -25
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/lib/html.js +0 -226
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.d.ts +0 -9
- package/plugin/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.js +0 -558
- package/plugin/node_modules/micromark-extension-gfm-footnote/index.d.ts +0 -164
- package/plugin/node_modules/micromark-extension-gfm-footnote/index.js +0 -3
- package/plugin/node_modules/micromark-extension-gfm-footnote/lib/html.d.ts +0 -25
- package/plugin/node_modules/micromark-extension-gfm-footnote/lib/html.js +0 -154
- package/plugin/node_modules/micromark-extension-gfm-footnote/lib/syntax.d.ts +0 -9
- package/plugin/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +0 -485
- package/plugin/node_modules/micromark-extension-gfm-footnote/license +0 -22
- package/plugin/node_modules/micromark-extension-gfm-footnote/package.json +0 -132
- package/plugin/node_modules/micromark-extension-gfm-footnote/readme.md +0 -656
- package/plugin/node_modules/micromark-extension-gfm-table/dev/index.d.ts +0 -55
- package/plugin/node_modules/micromark-extension-gfm-table/dev/index.js +0 -2
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts +0 -38
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js +0 -212
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts +0 -11
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/html.js +0 -148
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/infer.js +0 -64
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts +0 -18
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js +0 -941
- package/plugin/node_modules/micromark-extension-gfm-table/index.d.ts +0 -55
- package/plugin/node_modules/micromark-extension-gfm-table/index.js +0 -2
- package/plugin/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts +0 -38
- package/plugin/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/lib/edit-map.js +0 -202
- package/plugin/node_modules/micromark-extension-gfm-table/lib/html.d.ts +0 -11
- package/plugin/node_modules/micromark-extension-gfm-table/lib/html.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/lib/html.js +0 -130
- package/plugin/node_modules/micromark-extension-gfm-table/lib/infer.d.ts +0 -14
- package/plugin/node_modules/micromark-extension-gfm-table/lib/infer.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/lib/infer.js +0 -52
- package/plugin/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts +0 -18
- package/plugin/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts.map +0 -1
- package/plugin/node_modules/micromark-extension-gfm-table/lib/syntax.js +0 -819
- package/plugin/node_modules/micromark-extension-gfm-table/license +0 -22
- package/plugin/node_modules/micromark-extension-gfm-table/package.json +0 -128
- package/plugin/node_modules/micromark-extension-gfm-table/readme.md +0 -515
- package/plugin/node_modules/micromark-extension-math/dev/index.d.ts +0 -61
- package/plugin/node_modules/micromark-extension-math/dev/index.js +0 -3
- package/plugin/node_modules/micromark-extension-math/dev/lib/html.d.ts +0 -15
- package/plugin/node_modules/micromark-extension-math/dev/lib/html.js +0 -82
- package/plugin/node_modules/micromark-extension-math/dev/lib/math-flow.d.ts +0 -3
- package/plugin/node_modules/micromark-extension-math/dev/lib/math-flow.js +0 -394
- package/plugin/node_modules/micromark-extension-math/dev/lib/math-text.d.ts +0 -9
- package/plugin/node_modules/micromark-extension-math/dev/lib/math-text.js +0 -267
- package/plugin/node_modules/micromark-extension-math/dev/lib/syntax.d.ts +0 -12
- package/plugin/node_modules/micromark-extension-math/dev/lib/syntax.js +0 -24
- package/plugin/node_modules/micromark-extension-math/index.d.ts +0 -61
- package/plugin/node_modules/micromark-extension-math/index.js +0 -3
- package/plugin/node_modules/micromark-extension-math/lib/html.d.ts +0 -15
- package/plugin/node_modules/micromark-extension-math/lib/html.js +0 -84
- package/plugin/node_modules/micromark-extension-math/lib/math-flow.d.ts +0 -3
- package/plugin/node_modules/micromark-extension-math/lib/math-flow.js +0 -345
- package/plugin/node_modules/micromark-extension-math/lib/math-text.d.ts +0 -9
- package/plugin/node_modules/micromark-extension-math/lib/math-text.js +0 -232
- package/plugin/node_modules/micromark-extension-math/lib/syntax.d.ts +0 -12
- package/plugin/node_modules/micromark-extension-math/lib/syntax.js +0 -27
- package/plugin/node_modules/micromark-extension-math/license +0 -22
- package/plugin/node_modules/micromark-extension-math/package.json +0 -121
- package/plugin/node_modules/micromark-extension-math/readme.md +0 -429
- package/plugin/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/plugin/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/plugin/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/plugin/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-destination/index.js +0 -206
- package/plugin/node_modules/micromark-factory-destination/license +0 -22
- package/plugin/node_modules/micromark-factory-destination/package.json +0 -57
- package/plugin/node_modules/micromark-factory-destination/readme.md +0 -234
- package/plugin/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/plugin/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/plugin/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/plugin/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-label/index.js +0 -148
- package/plugin/node_modules/micromark-factory-label/license +0 -22
- package/plugin/node_modules/micromark-factory-label/package.json +0 -60
- package/plugin/node_modules/micromark-factory-label/readme.md +0 -224
- package/plugin/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/plugin/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/plugin/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/plugin/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-space/index.js +0 -64
- package/plugin/node_modules/micromark-factory-space/license +0 -22
- package/plugin/node_modules/micromark-factory-space/package.json +0 -55
- package/plugin/node_modules/micromark-factory-space/readme.md +0 -225
- package/plugin/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/plugin/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/plugin/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/plugin/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-title/index.js +0 -158
- package/plugin/node_modules/micromark-factory-title/license +0 -22
- package/plugin/node_modules/micromark-factory-title/package.json +0 -58
- package/plugin/node_modules/micromark-factory-title/readme.md +0 -229
- package/plugin/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/plugin/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/plugin/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/plugin/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/plugin/node_modules/micromark-factory-whitespace/license +0 -22
- package/plugin/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/plugin/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/plugin/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/plugin/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-character/dev/index.js +0 -252
- package/plugin/node_modules/micromark-util-character/index.d.ts +0 -195
- package/plugin/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-character/index.js +0 -246
- package/plugin/node_modules/micromark-util-character/license +0 -22
- package/plugin/node_modules/micromark-util-character/package.json +0 -57
- package/plugin/node_modules/micromark-util-character/readme.md +0 -446
- package/plugin/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/plugin/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/plugin/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/plugin/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-chunked/index.js +0 -81
- package/plugin/node_modules/micromark-util-chunked/license +0 -22
- package/plugin/node_modules/micromark-util-chunked/package.json +0 -57
- package/plugin/node_modules/micromark-util-chunked/readme.md +0 -219
- package/plugin/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/plugin/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/plugin/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/plugin/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-classify-character/index.js +0 -27
- package/plugin/node_modules/micromark-util-classify-character/license +0 -22
- package/plugin/node_modules/micromark-util-classify-character/package.json +0 -59
- package/plugin/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/plugin/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/plugin/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/plugin/node_modules/micromark-util-combine-extensions/license +0 -22
- package/plugin/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/plugin/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/plugin/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/plugin/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/plugin/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-encode/index.js +0 -33
- package/plugin/node_modules/micromark-util-encode/license +0 -22
- package/plugin/node_modules/micromark-util-encode/package.json +0 -47
- package/plugin/node_modules/micromark-util-encode/readme.md +0 -176
- package/plugin/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/plugin/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/plugin/node_modules/micromark-util-html-tag-name/license +0 -22
- package/plugin/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/plugin/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/plugin/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/plugin/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/plugin/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/plugin/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/plugin/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/plugin/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/plugin/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/plugin/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/plugin/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/plugin/node_modules/micromark-util-resolve-all/license +0 -22
- package/plugin/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/plugin/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/plugin/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/plugin/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/plugin/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/plugin/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/plugin/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/plugin/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/plugin/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/plugin/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/plugin/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/plugin/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/plugin/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/plugin/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/plugin/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/plugin/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/plugin/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/plugin/node_modules/micromark-util-subtokenize/license +0 -22
- package/plugin/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/plugin/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/plugin/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/plugin/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/plugin/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/plugin/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/plugin/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/plugin/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/plugin/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/plugin/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/plugin/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/plugin/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/plugin/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/plugin/node_modules/micromark-util-symbol/license +0 -22
- package/plugin/node_modules/micromark-util-symbol/package.json +0 -43
- package/plugin/node_modules/micromark-util-symbol/readme.md +0 -168
- package/plugin/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/plugin/node_modules/micromark-util-types/index.js +0 -2
- package/plugin/node_modules/micromark-util-types/license +0 -22
- package/plugin/node_modules/micromark-util-types/package.json +0 -71
- package/plugin/node_modules/micromark-util-types/readme.md +0 -151
- package/plugin/node_modules/micromatch/LICENSE +0 -21
- package/plugin/node_modules/micromatch/README.md +0 -1024
- package/plugin/node_modules/micromatch/index.js +0 -474
- package/plugin/node_modules/micromatch/package.json +0 -119
- package/plugin/node_modules/ms/index.js +0 -162
- package/plugin/node_modules/ms/license.md +0 -21
- package/plugin/node_modules/ms/package.json +0 -38
- package/plugin/node_modules/ms/readme.md +0 -59
- package/plugin/node_modules/parse-entities/index.d.ts +0 -126
- package/plugin/node_modules/parse-entities/index.js +0 -3
- package/plugin/node_modules/parse-entities/lib/index.d.ts +0 -9
- package/plugin/node_modules/parse-entities/lib/index.d.ts.map +0 -1
- package/plugin/node_modules/parse-entities/lib/index.js +0 -407
- package/plugin/node_modules/parse-entities/license +0 -22
- package/plugin/node_modules/parse-entities/package.json +0 -91
- package/plugin/node_modules/parse-entities/readme.md +0 -266
- package/plugin/node_modules/picomatch/LICENSE +0 -21
- package/plugin/node_modules/picomatch/README.md +0 -716
- package/plugin/node_modules/picomatch/index.js +0 -3
- package/plugin/node_modules/picomatch/lib/constants.js +0 -184
- package/plugin/node_modules/picomatch/lib/parse.js +0 -1392
- package/plugin/node_modules/picomatch/lib/picomatch.js +0 -342
- package/plugin/node_modules/picomatch/lib/scan.js +0 -391
- package/plugin/node_modules/picomatch/lib/utils.js +0 -64
- package/plugin/node_modules/picomatch/package.json +0 -81
- package/plugin/node_modules/punycode.js/LICENSE-MIT.txt +0 -20
- package/plugin/node_modules/punycode.js/README.md +0 -148
- package/plugin/node_modules/punycode.js/package.json +0 -58
- package/plugin/node_modules/punycode.js/punycode.es6.js +0 -444
- package/plugin/node_modules/punycode.js/punycode.js +0 -443
- package/plugin/node_modules/queue-microtask/LICENSE +0 -20
- package/plugin/node_modules/queue-microtask/README.md +0 -90
- package/plugin/node_modules/queue-microtask/index.d.ts +0 -2
- package/plugin/node_modules/queue-microtask/index.js +0 -9
- package/plugin/node_modules/queue-microtask/package.json +0 -55
- package/plugin/node_modules/reusify/.github/dependabot.yml +0 -7
- package/plugin/node_modules/reusify/.github/workflows/ci.yml +0 -96
- package/plugin/node_modules/reusify/LICENSE +0 -22
- package/plugin/node_modules/reusify/README.md +0 -139
- package/plugin/node_modules/reusify/SECURITY.md +0 -15
- package/plugin/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
- package/plugin/node_modules/reusify/benchmarks/fib.js +0 -13
- package/plugin/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
- package/plugin/node_modules/reusify/eslint.config.js +0 -14
- package/plugin/node_modules/reusify/package.json +0 -50
- package/plugin/node_modules/reusify/reusify.d.ts +0 -14
- package/plugin/node_modules/reusify/reusify.js +0 -33
- package/plugin/node_modules/reusify/test.js +0 -66
- package/plugin/node_modules/reusify/tsconfig.json +0 -11
- package/plugin/node_modules/run-parallel/LICENSE +0 -20
- package/plugin/node_modules/run-parallel/README.md +0 -85
- package/plugin/node_modules/run-parallel/index.js +0 -51
- package/plugin/node_modules/run-parallel/package.json +0 -58
- package/plugin/node_modules/slash/index.d.ts +0 -23
- package/plugin/node_modules/slash/index.js +0 -9
- package/plugin/node_modules/slash/license +0 -9
- package/plugin/node_modules/slash/package.json +0 -39
- package/plugin/node_modules/slash/readme.md +0 -36
- package/plugin/node_modules/smol-toml/LICENSE +0 -24
- package/plugin/node_modules/smol-toml/README.md +0 -239
- package/plugin/node_modules/smol-toml/dist/date.d.ts +0 -41
- package/plugin/node_modules/smol-toml/dist/date.js +0 -127
- package/plugin/node_modules/smol-toml/dist/error.d.ts +0 -38
- package/plugin/node_modules/smol-toml/dist/error.js +0 -63
- package/plugin/node_modules/smol-toml/dist/extract.d.ts +0 -30
- package/plugin/node_modules/smol-toml/dist/extract.js +0 -100
- package/plugin/node_modules/smol-toml/dist/index.cjs +0 -897
- package/plugin/node_modules/smol-toml/dist/index.d.ts +0 -43
- package/plugin/node_modules/smol-toml/dist/index.js +0 -33
- package/plugin/node_modules/smol-toml/dist/parse.d.ts +0 -37
- package/plugin/node_modules/smol-toml/dist/parse.js +0 -148
- package/plugin/node_modules/smol-toml/dist/primitive.d.ts +0 -31
- package/plugin/node_modules/smol-toml/dist/primitive.js +0 -179
- package/plugin/node_modules/smol-toml/dist/stringify.d.ts +0 -31
- package/plugin/node_modules/smol-toml/dist/stringify.js +0 -167
- package/plugin/node_modules/smol-toml/dist/struct.d.ts +0 -32
- package/plugin/node_modules/smol-toml/dist/struct.js +0 -184
- package/plugin/node_modules/smol-toml/dist/util.d.ts +0 -42
- package/plugin/node_modules/smol-toml/dist/util.js +0 -111
- package/plugin/node_modules/smol-toml/package.json +0 -54
- package/plugin/node_modules/string-width/index.d.ts +0 -39
- package/plugin/node_modules/string-width/index.js +0 -89
- package/plugin/node_modules/string-width/license +0 -9
- package/plugin/node_modules/string-width/package.json +0 -65
- package/plugin/node_modules/string-width/readme.md +0 -66
- package/plugin/node_modules/strip-ansi/index.d.ts +0 -15
- package/plugin/node_modules/strip-ansi/index.js +0 -19
- package/plugin/node_modules/strip-ansi/license +0 -9
- package/plugin/node_modules/strip-ansi/package.json +0 -59
- package/plugin/node_modules/strip-ansi/readme.md +0 -37
- package/plugin/node_modules/to-regex-range/LICENSE +0 -21
- package/plugin/node_modules/to-regex-range/README.md +0 -305
- package/plugin/node_modules/to-regex-range/index.js +0 -288
- package/plugin/node_modules/to-regex-range/package.json +0 -88
- package/plugin/node_modules/uc.micro/LICENSE.txt +0 -20
- package/plugin/node_modules/uc.micro/README.md +0 -14
- package/plugin/node_modules/uc.micro/build/index.cjs.js +0 -20
- package/plugin/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
- package/plugin/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
- package/plugin/node_modules/uc.micro/categories/P/regex.mjs +0 -1
- package/plugin/node_modules/uc.micro/categories/S/regex.mjs +0 -1
- package/plugin/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
- package/plugin/node_modules/uc.micro/index.mjs +0 -8
- package/plugin/node_modules/uc.micro/package.json +0 -37
- package/plugin/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
- package/plugin/node_modules/unicorn-magic/default.d.ts +0 -13
- package/plugin/node_modules/unicorn-magic/default.js +0 -14
- package/plugin/node_modules/unicorn-magic/license +0 -9
- package/plugin/node_modules/unicorn-magic/node.d.ts +0 -125
- package/plugin/node_modules/unicorn-magic/node.js +0 -49
- package/plugin/node_modules/unicorn-magic/package.json +0 -68
- package/plugin/node_modules/unicorn-magic/readme.md +0 -31
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";const Ie=require("node:path"),$e=require("node:fs"),dt=require("node:os"),Ni=require("node:buffer"),Me=require("node:stream"),Ve=require("node:util"),er=require("node:url"),He=require("node:events"),Rn=require("node:http"),Mi=require("node:https"),Xx=require("node:dns"),my=require("node:zlib"),Lf=require("node:http2"),gy=require("node:tls"),Dy=require("node:net"),Ql=require("node:assert"),un=require("node:tty"),yy=require("node:crypto"),ef=require("node:module"),Ge=require("node:process"),jn=require("node:child_process"),by=require("node:string_decoder"),ji=require("node:timers/promises"),Qx=require("node:v8"),kr=require("node:stream/promises");var xr=typeof document<"u"?document.currentScript:null,Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Li(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ew(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Dn={exports:{}},Za,Gp;function tw(){if(Gp)return Za;Gp=1;const{PassThrough:t}=Me;return Za=e=>{e={...e};const{array:r}=e;let{encoding:n}=e;const i=n==="buffer";let a=!1;r?a=!(n||i):n=n||"utf8",i&&(n=null);const s=new t({objectMode:a});n&&s.setEncoding(n);let o=0;const c=[];return s.on("data",l=>{c.push(l),a?o=c.length:o+=l.length}),s.getBufferedValue=()=>r?c:i?Buffer.concat(c,o):c.join(""),s.getBufferedLength=()=>o,s},Za}var Yp;function rw(){if(Yp)return Dn.exports;Yp=1;const{constants:t}=Ni,e=Me,{promisify:r}=Ve,n=tw(),i=r(e.pipeline);class a extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}async function s(o,c){if(!o)throw new Error("Expected a stream");c={maxBuffer:1/0,...c};const{maxBuffer:l}=c,f=n(c);return await new Promise((p,u)=>{const h=d=>{d&&f.getBufferedLength()<=t.MAX_LENGTH&&(d.bufferedData=f.getBufferedValue()),u(d)};(async()=>{try{await i(o,f),p()}catch(d){h(d)}})(),f.on("data",()=>{f.getBufferedLength()>l&&h(new a)})}),f.getBufferedValue()}return Dn.exports=s,Dn.exports.buffer=(o,c)=>s(o,{...c,encoding:"buffer"}),Dn.exports.array=(o,c)=>s(o,{...c,array:!0}),Dn.exports.MaxBufferError=a,Dn.exports}var at={},ts={},Fr={},Zp;function $i(){if(Zp)return Fr;Zp=1;function t(s){return typeof s>"u"||s===null}function e(s){return typeof s=="object"&&s!==null}function r(s){return Array.isArray(s)?s:t(s)?[]:[s]}function n(s,o){var c,l,f,p;if(o)for(p=Object.keys(o),c=0,l=p.length;c<l;c+=1)f=p[c],s[f]=o[f];return s}function i(s,o){var c="",l;for(l=0;l<o;l+=1)c+=s;return c}function a(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return Fr.isNothing=t,Fr.isObject=e,Fr.toArray=r,Fr.repeat=i,Fr.isNegativeZero=a,Fr.extend=n,Fr}var Ja,Jp;function Ui(){if(Jp)return Ja;Jp=1;function t(r,n){var i="",a=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(i+='in "'+r.mark.name+'" '),i+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!n&&r.mark.snippet&&(i+=`
|
|
3
|
-
|
|
4
|
-
`+r.mark.snippet),a+" "+i):a}function e(r,n){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=n,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(n){return this.name+": "+t(this,n)},Ja=e,Ja}var Ka,Kp;function nw(){if(Kp)return Ka;Kp=1;var t=$i();function e(i,a,s,o,c){var l="",f="",p=Math.floor(c/2)-1;return o-a>p&&(l=" ... ",a=o-p+l.length),s-o>p&&(f=" ...",s=o+p-f.length),{str:l+i.slice(a,s).replace(/\t/g,"→")+f,pos:o-a+l.length}}function r(i,a){return t.repeat(" ",a-i.length)+i}function n(i,a){if(a=Object.create(a||null),!i.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);for(var s=/\r?\n|\r|\0/g,o=[0],c=[],l,f=-1;l=s.exec(i.buffer);)c.push(l.index),o.push(l.index+l[0].length),i.position<=l.index&&f<0&&(f=o.length-2);f<0&&(f=o.length-1);var p="",u,h,d=Math.min(i.line+a.linesAfter,c.length).toString().length,b=a.maxLength-(a.indent+d+3);for(u=1;u<=a.linesBefore&&!(f-u<0);u++)h=e(i.buffer,o[f-u],c[f-u],i.position-(o[f]-o[f-u]),b),p=t.repeat(" ",a.indent)+r((i.line-u+1).toString(),d)+" | "+h.str+`
|
|
5
|
-
`+p;for(h=e(i.buffer,o[f],c[f],i.position,b),p+=t.repeat(" ",a.indent)+r((i.line+1).toString(),d)+" | "+h.str+`
|
|
6
|
-
`,p+=t.repeat("-",a.indent+d+3+h.pos)+`^
|
|
7
|
-
`,u=1;u<=a.linesAfter&&!(f+u>=c.length);u++)h=e(i.buffer,o[f+u],c[f+u],i.position-(o[f]-o[f+u]),b),p+=t.repeat(" ",a.indent)+r((i.line+u+1).toString(),d)+" | "+h.str+`
|
|
8
|
-
`;return p.replace(/\n$/,"")}return Ka=n,Ka}var Xa,Xp;function ht(){if(Xp)return Xa;Xp=1;var t=Ui(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];function n(a){var s={};return a!==null&&Object.keys(a).forEach(function(o){a[o].forEach(function(c){s[String(c)]=o})}),s}function i(a,s){if(s=s||{},Object.keys(s).forEach(function(o){if(e.indexOf(o)===-1)throw new t('Unknown option "'+o+'" is met in definition of "'+a+'" YAML type.')}),this.options=s,this.tag=a,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.representName=s.representName||null,this.defaultStyle=s.defaultStyle||null,this.multi=s.multi||!1,this.styleAliases=n(s.styleAliases||null),r.indexOf(this.kind)===-1)throw new t('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}return Xa=i,Xa}var Qa,Qp;function vy(){if(Qp)return Qa;Qp=1;var t=Ui(),e=ht();function r(a,s){var o=[];return a[s].forEach(function(c){var l=o.length;o.forEach(function(f,p){f.tag===c.tag&&f.kind===c.kind&&f.multi===c.multi&&(l=p)}),o[l]=c}),o}function n(){var a={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},s,o;function c(l){l.multi?(a.multi[l.kind].push(l),a.multi.fallback.push(l)):a[l.kind][l.tag]=a.fallback[l.tag]=l}for(s=0,o=arguments.length;s<o;s+=1)arguments[s].forEach(c);return a}function i(a){return this.extend(a)}return i.prototype.extend=function(s){var o=[],c=[];if(s instanceof e)c.push(s);else if(Array.isArray(s))c=c.concat(s);else if(s&&(Array.isArray(s.implicit)||Array.isArray(s.explicit)))s.implicit&&(o=o.concat(s.implicit)),s.explicit&&(c=c.concat(s.explicit));else throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(f){if(!(f instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(f.loadKind&&f.loadKind!=="scalar")throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(f.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(f){if(!(f instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(i.prototype);return l.implicit=(this.implicit||[]).concat(o),l.explicit=(this.explicit||[]).concat(c),l.compiledImplicit=r(l,"implicit"),l.compiledExplicit=r(l,"explicit"),l.compiledTypeMap=n(l.compiledImplicit,l.compiledExplicit),l},Qa=i,Qa}var eo,ed;function xy(){if(ed)return eo;ed=1;var t=ht();return eo=new t("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),eo}var to,td;function wy(){if(td)return to;td=1;var t=ht();return to=new t("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),to}var ro,rd;function Ey(){if(rd)return ro;rd=1;var t=ht();return ro=new t("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),ro}var no,nd;function Fy(){if(nd)return no;nd=1;var t=vy();return no=new t({explicit:[xy(),wy(),Ey()]}),no}var io,id;function Cy(){if(id)return io;id=1;var t=ht();function e(i){if(i===null)return!0;var a=i.length;return a===1&&i==="~"||a===4&&(i==="null"||i==="Null"||i==="NULL")}function r(){return null}function n(i){return i===null}return io=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),io}var so,sd;function Ay(){if(sd)return so;sd=1;var t=ht();function e(i){if(i===null)return!1;var a=i.length;return a===4&&(i==="true"||i==="True"||i==="TRUE")||a===5&&(i==="false"||i==="False"||i==="FALSE")}function r(i){return i==="true"||i==="True"||i==="TRUE"}function n(i){return Object.prototype.toString.call(i)==="[object Boolean]"}return so=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"}),so}var ao,ad;function _y(){if(ad)return ao;ad=1;var t=$i(),e=ht();function r(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function n(c){return 48<=c&&c<=55}function i(c){return 48<=c&&c<=57}function a(c){if(c===null)return!1;var l=c.length,f=0,p=!1,u;if(!l)return!1;if(u=c[f],(u==="-"||u==="+")&&(u=c[++f]),u==="0"){if(f+1===l)return!0;if(u=c[++f],u==="b"){for(f++;f<l;f++)if(u=c[f],u!=="_"){if(u!=="0"&&u!=="1")return!1;p=!0}return p&&u!=="_"}if(u==="x"){for(f++;f<l;f++)if(u=c[f],u!=="_"){if(!r(c.charCodeAt(f)))return!1;p=!0}return p&&u!=="_"}if(u==="o"){for(f++;f<l;f++)if(u=c[f],u!=="_"){if(!n(c.charCodeAt(f)))return!1;p=!0}return p&&u!=="_"}}if(u==="_")return!1;for(;f<l;f++)if(u=c[f],u!=="_"){if(!i(c.charCodeAt(f)))return!1;p=!0}return!(!p||u==="_")}function s(c){var l=c,f=1,p;if(l.indexOf("_")!==-1&&(l=l.replace(/_/g,"")),p=l[0],(p==="-"||p==="+")&&(p==="-"&&(f=-1),l=l.slice(1),p=l[0]),l==="0")return 0;if(p==="0"){if(l[1]==="b")return f*parseInt(l.slice(2),2);if(l[1]==="x")return f*parseInt(l.slice(2),16);if(l[1]==="o")return f*parseInt(l.slice(2),8)}return f*parseInt(l,10)}function o(c){return Object.prototype.toString.call(c)==="[object Number]"&&c%1===0&&!t.isNegativeZero(c)}return ao=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:a,construct:s,predicate:o,represent:{binary:function(c){return c>=0?"0b"+c.toString(2):"-0b"+c.toString(2).slice(1)},octal:function(c){return c>=0?"0o"+c.toString(8):"-0o"+c.toString(8).slice(1)},decimal:function(c){return c.toString(10)},hexadecimal:function(c){return c>=0?"0x"+c.toString(16).toUpperCase():"-0x"+c.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),ao}var oo,od;function Sy(){if(od)return oo;od=1;var t=$i(),e=ht(),r=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function n(c){return!(c===null||!r.test(c)||c[c.length-1]==="_")}function i(c){var l,f;return l=c.replace(/_/g,"").toLowerCase(),f=l[0]==="-"?-1:1,"+-".indexOf(l[0])>=0&&(l=l.slice(1)),l===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:l===".nan"?NaN:f*parseFloat(l,10)}var a=/^[-+]?[0-9]+e/;function s(c,l){var f;if(isNaN(c))switch(l){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===c)switch(l){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===c)switch(l){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(c))return"-0.0";return f=c.toString(10),a.test(f)?f.replace("e",".e"):f}function o(c){return Object.prototype.toString.call(c)==="[object Number]"&&(c%1!==0||t.isNegativeZero(c))}return oo=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:n,construct:i,predicate:o,represent:s,defaultStyle:"lowercase"}),oo}var uo,ud;function Oy(){return ud||(ud=1,uo=Fy().extend({implicit:[Cy(),Ay(),_y(),Sy()]})),uo}var co,cd;function Ty(){return cd||(cd=1,co=Oy()),co}var lo,ld;function By(){if(ld)return lo;ld=1;var t=ht(),e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function n(s){return s===null?!1:e.exec(s)!==null||r.exec(s)!==null}function i(s){var o,c,l,f,p,u,h,d=0,b=null,D,g,y;if(o=e.exec(s),o===null&&(o=r.exec(s)),o===null)throw new Error("Date resolve error");if(c=+o[1],l=+o[2]-1,f=+o[3],!o[4])return new Date(Date.UTC(c,l,f));if(p=+o[4],u=+o[5],h=+o[6],o[7]){for(d=o[7].slice(0,3);d.length<3;)d+="0";d=+d}return o[9]&&(D=+o[10],g=+(o[11]||0),b=(D*60+g)*6e4,o[9]==="-"&&(b=-b)),y=new Date(Date.UTC(c,l,f,p,u,h,d)),b&&y.setTime(y.getTime()-b),y}function a(s){return s.toISOString()}return lo=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:n,construct:i,instanceOf:Date,represent:a}),lo}var fo,fd;function Ry(){if(fd)return fo;fd=1;var t=ht();function e(r){return r==="<<"||r===null}return fo=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e}),fo}var po,pd;function ky(){if(pd)return po;pd=1;var t=ht(),e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
9
|
-
\r`;function r(s){if(s===null)return!1;var o,c,l=0,f=s.length,p=e;for(c=0;c<f;c++)if(o=p.indexOf(s.charAt(c)),!(o>64)){if(o<0)return!1;l+=6}return l%8===0}function n(s){var o,c,l=s.replace(/[\r\n=]/g,""),f=l.length,p=e,u=0,h=[];for(o=0;o<f;o++)o%4===0&&o&&(h.push(u>>16&255),h.push(u>>8&255),h.push(u&255)),u=u<<6|p.indexOf(l.charAt(o));return c=f%4*6,c===0?(h.push(u>>16&255),h.push(u>>8&255),h.push(u&255)):c===18?(h.push(u>>10&255),h.push(u>>2&255)):c===12&&h.push(u>>4&255),new Uint8Array(h)}function i(s){var o="",c=0,l,f,p=s.length,u=e;for(l=0;l<p;l++)l%3===0&&l&&(o+=u[c>>18&63],o+=u[c>>12&63],o+=u[c>>6&63],o+=u[c&63]),c=(c<<8)+s[l];return f=p%3,f===0?(o+=u[c>>18&63],o+=u[c>>12&63],o+=u[c>>6&63],o+=u[c&63]):f===2?(o+=u[c>>10&63],o+=u[c>>4&63],o+=u[c<<2&63],o+=u[64]):f===1&&(o+=u[c>>2&63],o+=u[c<<4&63],o+=u[64],o+=u[64]),o}function a(s){return Object.prototype.toString.call(s)==="[object Uint8Array]"}return po=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:n,predicate:a,represent:i}),po}var ho,dd;function qy(){if(dd)return ho;dd=1;var t=ht(),e=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function n(a){if(a===null)return!0;var s=[],o,c,l,f,p,u=a;for(o=0,c=u.length;o<c;o+=1){if(l=u[o],p=!1,r.call(l)!=="[object Object]")return!1;for(f in l)if(e.call(l,f))if(!p)p=!0;else return!1;if(!p)return!1;if(s.indexOf(f)===-1)s.push(f);else return!1}return!0}function i(a){return a!==null?a:[]}return ho=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:n,construct:i}),ho}var mo,hd;function Py(){if(hd)return mo;hd=1;var t=ht(),e=Object.prototype.toString;function r(i){if(i===null)return!0;var a,s,o,c,l,f=i;for(l=new Array(f.length),a=0,s=f.length;a<s;a+=1){if(o=f[a],e.call(o)!=="[object Object]"||(c=Object.keys(o),c.length!==1))return!1;l[a]=[c[0],o[c[0]]]}return!0}function n(i){if(i===null)return[];var a,s,o,c,l,f=i;for(l=new Array(f.length),a=0,s=f.length;a<s;a+=1)o=f[a],c=Object.keys(o),l[a]=[c[0],o[c[0]]];return l}return mo=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:n}),mo}var go,md;function Iy(){if(md)return go;md=1;var t=ht(),e=Object.prototype.hasOwnProperty;function r(i){if(i===null)return!0;var a,s=i;for(a in s)if(e.call(s,a)&&s[a]!==null)return!1;return!0}function n(i){return i!==null?i:{}}return go=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:n}),go}var Do,gd;function $f(){return gd||(gd=1,Do=Ty().extend({implicit:[By(),Ry()],explicit:[ky(),qy(),Py(),Iy()]})),Do}var Dd;function iw(){if(Dd)return ts;Dd=1;var t=$i(),e=Ui(),r=nw(),n=$f(),i=Object.prototype.hasOwnProperty,a=1,s=2,o=3,c=4,l=1,f=2,p=3,u=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/[\x85\u2028\u2029]/,d=/[,\[\]\{\}]/,b=/^(?:!|!!|![a-z\-]+!)$/i,D=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function g(v){return Object.prototype.toString.call(v)}function y(v){return v===10||v===13}function w(v){return v===9||v===32}function E(v){return v===9||v===32||v===10||v===13}function x(v){return v===44||v===91||v===93||v===123||v===125}function m(v){var V;return 48<=v&&v<=57?v-48:(V=v|32,97<=V&&V<=102?V-97+10:-1)}function F(v){return v===120?2:v===117?4:v===85?8:0}function _(v){return 48<=v&&v<=57?v-48:-1}function T(v){return v===48?"\0":v===97?"\x07":v===98?"\b":v===116||v===9?" ":v===110?`
|
|
10
|
-
`:v===118?"\v":v===102?"\f":v===114?"\r":v===101?"\x1B":v===32?" ":v===34?'"':v===47?"/":v===92?"\\":v===78?"
":v===95?" ":v===76?"\u2028":v===80?"\u2029":""}function M(v){return v<=65535?String.fromCharCode(v):String.fromCharCode((v-65536>>10)+55296,(v-65536&1023)+56320)}for(var B=new Array(256),A=new Array(256),O=0;O<256;O++)B[O]=T(O)?1:0,A[O]=T(O);function N(v,V){this.input=v,this.filename=V.filename||null,this.schema=V.schema||n,this.onWarning=V.onWarning||null,this.legacy=V.legacy||!1,this.json=V.json||!1,this.listener=V.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=v.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function z(v,V){var K={name:v.filename,buffer:v.input.slice(0,-1),position:v.position,line:v.line,column:v.position-v.lineStart};return K.snippet=r(K),new e(V,K)}function C(v,V){throw z(v,V)}function k(v,V){v.onWarning&&v.onWarning.call(null,z(v,V))}var q={YAML:function(V,K,ce){var oe,ve,ie;V.version!==null&&C(V,"duplication of %YAML directive"),ce.length!==1&&C(V,"YAML directive accepts exactly one argument"),oe=/^([0-9]+)\.([0-9]+)$/.exec(ce[0]),oe===null&&C(V,"ill-formed argument of the YAML directive"),ve=parseInt(oe[1],10),ie=parseInt(oe[2],10),ve!==1&&C(V,"unacceptable YAML version of the document"),V.version=ce[0],V.checkLineBreaks=ie<2,ie!==1&&ie!==2&&k(V,"unsupported YAML version of the document")},TAG:function(V,K,ce){var oe,ve;ce.length!==2&&C(V,"TAG directive accepts exactly two arguments"),oe=ce[0],ve=ce[1],b.test(oe)||C(V,"ill-formed tag handle (first argument) of the TAG directive"),i.call(V.tagMap,oe)&&C(V,'there is a previously declared suffix for "'+oe+'" tag handle'),D.test(ve)||C(V,"ill-formed tag prefix (second argument) of the TAG directive");try{ve=decodeURIComponent(ve)}catch{C(V,"tag prefix is malformed: "+ve)}V.tagMap[oe]=ve}};function L(v,V,K,ce){var oe,ve,ie,U;if(V<K){if(U=v.input.slice(V,K),ce)for(oe=0,ve=U.length;oe<ve;oe+=1)ie=U.charCodeAt(oe),ie===9||32<=ie&&ie<=1114111||C(v,"expected valid JSON character");else u.test(U)&&C(v,"the stream contains non-printable characters");v.result+=U}}function $(v,V,K,ce){var oe,ve,ie,U;for(t.isObject(K)||C(v,"cannot merge mappings; the provided source object is unacceptable"),oe=Object.keys(K),ie=0,U=oe.length;ie<U;ie+=1)ve=oe[ie],i.call(V,ve)||(V[ve]=K[ve],ce[ve]=!0)}function J(v,V,K,ce,oe,ve,ie,U,R){var te,Ee;if(Array.isArray(oe))for(oe=Array.prototype.slice.call(oe),te=0,Ee=oe.length;te<Ee;te+=1)Array.isArray(oe[te])&&C(v,"nested arrays are not supported inside keys"),typeof oe=="object"&&g(oe[te])==="[object Object]"&&(oe[te]="[object Object]");if(typeof oe=="object"&&g(oe)==="[object Object]"&&(oe="[object Object]"),oe=String(oe),V===null&&(V={}),ce==="tag:yaml.org,2002:merge")if(Array.isArray(ve))for(te=0,Ee=ve.length;te<Ee;te+=1)$(v,V,ve[te],K);else $(v,V,ve,K);else!v.json&&!i.call(K,oe)&&i.call(V,oe)&&(v.line=ie||v.line,v.lineStart=U||v.lineStart,v.position=R||v.position,C(v,"duplicated mapping key")),oe==="__proto__"?Object.defineProperty(V,oe,{configurable:!0,enumerable:!0,writable:!0,value:ve}):V[oe]=ve,delete K[oe];return V}function se(v){var V;V=v.input.charCodeAt(v.position),V===10?v.position++:V===13?(v.position++,v.input.charCodeAt(v.position)===10&&v.position++):C(v,"a line break is expected"),v.line+=1,v.lineStart=v.position,v.firstTabInLine=-1}function ue(v,V,K){for(var ce=0,oe=v.input.charCodeAt(v.position);oe!==0;){for(;w(oe);)oe===9&&v.firstTabInLine===-1&&(v.firstTabInLine=v.position),oe=v.input.charCodeAt(++v.position);if(V&&oe===35)do oe=v.input.charCodeAt(++v.position);while(oe!==10&&oe!==13&&oe!==0);if(y(oe))for(se(v),oe=v.input.charCodeAt(v.position),ce++,v.lineIndent=0;oe===32;)v.lineIndent++,oe=v.input.charCodeAt(++v.position);else break}return K!==-1&&ce!==0&&v.lineIndent<K&&k(v,"deficient indentation"),ce}function ne(v){var V=v.position,K;return K=v.input.charCodeAt(V),!!((K===45||K===46)&&K===v.input.charCodeAt(V+1)&&K===v.input.charCodeAt(V+2)&&(V+=3,K=v.input.charCodeAt(V),K===0||E(K)))}function ge(v,V){V===1?v.result+=" ":V>1&&(v.result+=t.repeat(`
|
|
11
|
-
`,V-1))}function X(v,V,K){var ce,oe,ve,ie,U,R,te,Ee,le=v.kind,he=v.result,S;if(S=v.input.charCodeAt(v.position),E(S)||x(S)||S===35||S===38||S===42||S===33||S===124||S===62||S===39||S===34||S===37||S===64||S===96||(S===63||S===45)&&(oe=v.input.charCodeAt(v.position+1),E(oe)||K&&x(oe)))return!1;for(v.kind="scalar",v.result="",ve=ie=v.position,U=!1;S!==0;){if(S===58){if(oe=v.input.charCodeAt(v.position+1),E(oe)||K&&x(oe))break}else if(S===35){if(ce=v.input.charCodeAt(v.position-1),E(ce))break}else{if(v.position===v.lineStart&&ne(v)||K&&x(S))break;if(y(S))if(R=v.line,te=v.lineStart,Ee=v.lineIndent,ue(v,!1,-1),v.lineIndent>=V){U=!0,S=v.input.charCodeAt(v.position);continue}else{v.position=ie,v.line=R,v.lineStart=te,v.lineIndent=Ee;break}}U&&(L(v,ve,ie,!1),ge(v,v.line-R),ve=ie=v.position,U=!1),w(S)||(ie=v.position+1),S=v.input.charCodeAt(++v.position)}return L(v,ve,ie,!1),v.result?!0:(v.kind=le,v.result=he,!1)}function de(v,V){var K,ce,oe;if(K=v.input.charCodeAt(v.position),K!==39)return!1;for(v.kind="scalar",v.result="",v.position++,ce=oe=v.position;(K=v.input.charCodeAt(v.position))!==0;)if(K===39)if(L(v,ce,v.position,!0),K=v.input.charCodeAt(++v.position),K===39)ce=v.position,v.position++,oe=v.position;else return!0;else y(K)?(L(v,ce,oe,!0),ge(v,ue(v,!1,V)),ce=oe=v.position):v.position===v.lineStart&&ne(v)?C(v,"unexpected end of the document within a single quoted scalar"):(v.position++,oe=v.position);C(v,"unexpected end of the stream within a single quoted scalar")}function be(v,V){var K,ce,oe,ve,ie,U;if(U=v.input.charCodeAt(v.position),U!==34)return!1;for(v.kind="scalar",v.result="",v.position++,K=ce=v.position;(U=v.input.charCodeAt(v.position))!==0;){if(U===34)return L(v,K,v.position,!0),v.position++,!0;if(U===92){if(L(v,K,v.position,!0),U=v.input.charCodeAt(++v.position),y(U))ue(v,!1,V);else if(U<256&&B[U])v.result+=A[U],v.position++;else if((ie=F(U))>0){for(oe=ie,ve=0;oe>0;oe--)U=v.input.charCodeAt(++v.position),(ie=m(U))>=0?ve=(ve<<4)+ie:C(v,"expected hexadecimal character");v.result+=M(ve),v.position++}else C(v,"unknown escape sequence");K=ce=v.position}else y(U)?(L(v,K,ce,!0),ge(v,ue(v,!1,V)),K=ce=v.position):v.position===v.lineStart&&ne(v)?C(v,"unexpected end of the document within a double quoted scalar"):(v.position++,ce=v.position)}C(v,"unexpected end of the stream within a double quoted scalar")}function De(v,V){var K=!0,ce,oe,ve,ie=v.tag,U,R=v.anchor,te,Ee,le,he,S,Z=Object.create(null),Q,re,fe,ye;if(ye=v.input.charCodeAt(v.position),ye===91)Ee=93,S=!1,U=[];else if(ye===123)Ee=125,S=!0,U={};else return!1;for(v.anchor!==null&&(v.anchorMap[v.anchor]=U),ye=v.input.charCodeAt(++v.position);ye!==0;){if(ue(v,!0,V),ye=v.input.charCodeAt(v.position),ye===Ee)return v.position++,v.tag=ie,v.anchor=R,v.kind=S?"mapping":"sequence",v.result=U,!0;K?ye===44&&C(v,"expected the node content, but found ','"):C(v,"missed comma between flow collection entries"),re=Q=fe=null,le=he=!1,ye===63&&(te=v.input.charCodeAt(v.position+1),E(te)&&(le=he=!0,v.position++,ue(v,!0,V))),ce=v.line,oe=v.lineStart,ve=v.position,j(v,V,a,!1,!0),re=v.tag,Q=v.result,ue(v,!0,V),ye=v.input.charCodeAt(v.position),(he||v.line===ce)&&ye===58&&(le=!0,ye=v.input.charCodeAt(++v.position),ue(v,!0,V),j(v,V,a,!1,!0),fe=v.result),S?J(v,U,Z,re,Q,fe,ce,oe,ve):le?U.push(J(v,null,Z,re,Q,fe,ce,oe,ve)):U.push(Q),ue(v,!0,V),ye=v.input.charCodeAt(v.position),ye===44?(K=!0,ye=v.input.charCodeAt(++v.position)):K=!1}C(v,"unexpected end of the stream within a flow collection")}function ae(v,V){var K,ce,oe=l,ve=!1,ie=!1,U=V,R=0,te=!1,Ee,le;if(le=v.input.charCodeAt(v.position),le===124)ce=!1;else if(le===62)ce=!0;else return!1;for(v.kind="scalar",v.result="";le!==0;)if(le=v.input.charCodeAt(++v.position),le===43||le===45)l===oe?oe=le===43?p:f:C(v,"repeat of a chomping mode identifier");else if((Ee=_(le))>=0)Ee===0?C(v,"bad explicit indentation width of a block scalar; it cannot be less than one"):ie?C(v,"repeat of an indentation width identifier"):(U=V+Ee-1,ie=!0);else break;if(w(le)){do le=v.input.charCodeAt(++v.position);while(w(le));if(le===35)do le=v.input.charCodeAt(++v.position);while(!y(le)&&le!==0)}for(;le!==0;){for(se(v),v.lineIndent=0,le=v.input.charCodeAt(v.position);(!ie||v.lineIndent<U)&&le===32;)v.lineIndent++,le=v.input.charCodeAt(++v.position);if(!ie&&v.lineIndent>U&&(U=v.lineIndent),y(le)){R++;continue}if(v.lineIndent<U){oe===p?v.result+=t.repeat(`
|
|
12
|
-
`,ve?1+R:R):oe===l&&ve&&(v.result+=`
|
|
13
|
-
`);break}for(ce?w(le)?(te=!0,v.result+=t.repeat(`
|
|
14
|
-
`,ve?1+R:R)):te?(te=!1,v.result+=t.repeat(`
|
|
15
|
-
`,R+1)):R===0?ve&&(v.result+=" "):v.result+=t.repeat(`
|
|
16
|
-
`,R):v.result+=t.repeat(`
|
|
17
|
-
`,ve?1+R:R),ve=!0,ie=!0,R=0,K=v.position;!y(le)&&le!==0;)le=v.input.charCodeAt(++v.position);L(v,K,v.position,!1)}return!0}function pe(v,V){var K,ce=v.tag,oe=v.anchor,ve=[],ie,U=!1,R;if(v.firstTabInLine!==-1)return!1;for(v.anchor!==null&&(v.anchorMap[v.anchor]=ve),R=v.input.charCodeAt(v.position);R!==0&&(v.firstTabInLine!==-1&&(v.position=v.firstTabInLine,C(v,"tab characters must not be used in indentation")),!(R!==45||(ie=v.input.charCodeAt(v.position+1),!E(ie))));){if(U=!0,v.position++,ue(v,!0,-1)&&v.lineIndent<=V){ve.push(null),R=v.input.charCodeAt(v.position);continue}if(K=v.line,j(v,V,o,!1,!0),ve.push(v.result),ue(v,!0,-1),R=v.input.charCodeAt(v.position),(v.line===K||v.lineIndent>V)&&R!==0)C(v,"bad indentation of a sequence entry");else if(v.lineIndent<V)break}return U?(v.tag=ce,v.anchor=oe,v.kind="sequence",v.result=ve,!0):!1}function we(v,V,K){var ce,oe,ve,ie,U,R,te=v.tag,Ee=v.anchor,le={},he=Object.create(null),S=null,Z=null,Q=null,re=!1,fe=!1,ye;if(v.firstTabInLine!==-1)return!1;for(v.anchor!==null&&(v.anchorMap[v.anchor]=le),ye=v.input.charCodeAt(v.position);ye!==0;){if(!re&&v.firstTabInLine!==-1&&(v.position=v.firstTabInLine,C(v,"tab characters must not be used in indentation")),ce=v.input.charCodeAt(v.position+1),ve=v.line,(ye===63||ye===58)&&E(ce))ye===63?(re&&(J(v,le,he,S,Z,null,ie,U,R),S=Z=Q=null),fe=!0,re=!0,oe=!0):re?(re=!1,oe=!0):C(v,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),v.position+=1,ye=ce;else{if(ie=v.line,U=v.lineStart,R=v.position,!j(v,K,s,!1,!0))break;if(v.line===ve){for(ye=v.input.charCodeAt(v.position);w(ye);)ye=v.input.charCodeAt(++v.position);if(ye===58)ye=v.input.charCodeAt(++v.position),E(ye)||C(v,"a whitespace character is expected after the key-value separator within a block mapping"),re&&(J(v,le,he,S,Z,null,ie,U,R),S=Z=Q=null),fe=!0,re=!1,oe=!1,S=v.tag,Z=v.result;else if(fe)C(v,"can not read an implicit mapping pair; a colon is missed");else return v.tag=te,v.anchor=Ee,!0}else if(fe)C(v,"can not read a block mapping entry; a multiline key may not be an implicit key");else return v.tag=te,v.anchor=Ee,!0}if((v.line===ve||v.lineIndent>V)&&(re&&(ie=v.line,U=v.lineStart,R=v.position),j(v,V,c,!0,oe)&&(re?Z=v.result:Q=v.result),re||(J(v,le,he,S,Z,Q,ie,U,R),S=Z=Q=null),ue(v,!0,-1),ye=v.input.charCodeAt(v.position)),(v.line===ve||v.lineIndent>V)&&ye!==0)C(v,"bad indentation of a mapping entry");else if(v.lineIndent<V)break}return re&&J(v,le,he,S,Z,null,ie,U,R),fe&&(v.tag=te,v.anchor=Ee,v.kind="mapping",v.result=le),fe}function Te(v){var V,K=!1,ce=!1,oe,ve,ie;if(ie=v.input.charCodeAt(v.position),ie!==33)return!1;if(v.tag!==null&&C(v,"duplication of a tag property"),ie=v.input.charCodeAt(++v.position),ie===60?(K=!0,ie=v.input.charCodeAt(++v.position)):ie===33?(ce=!0,oe="!!",ie=v.input.charCodeAt(++v.position)):oe="!",V=v.position,K){do ie=v.input.charCodeAt(++v.position);while(ie!==0&&ie!==62);v.position<v.length?(ve=v.input.slice(V,v.position),ie=v.input.charCodeAt(++v.position)):C(v,"unexpected end of the stream within a verbatim tag")}else{for(;ie!==0&&!E(ie);)ie===33&&(ce?C(v,"tag suffix cannot contain exclamation marks"):(oe=v.input.slice(V-1,v.position+1),b.test(oe)||C(v,"named tag handle cannot contain such characters"),ce=!0,V=v.position+1)),ie=v.input.charCodeAt(++v.position);ve=v.input.slice(V,v.position),d.test(ve)&&C(v,"tag suffix cannot contain flow indicator characters")}ve&&!D.test(ve)&&C(v,"tag name cannot contain such characters: "+ve);try{ve=decodeURIComponent(ve)}catch{C(v,"tag name is malformed: "+ve)}return K?v.tag=ve:i.call(v.tagMap,oe)?v.tag=v.tagMap[oe]+ve:oe==="!"?v.tag="!"+ve:oe==="!!"?v.tag="tag:yaml.org,2002:"+ve:C(v,'undeclared tag handle "'+oe+'"'),!0}function Y(v){var V,K;if(K=v.input.charCodeAt(v.position),K!==38)return!1;for(v.anchor!==null&&C(v,"duplication of an anchor property"),K=v.input.charCodeAt(++v.position),V=v.position;K!==0&&!E(K)&&!x(K);)K=v.input.charCodeAt(++v.position);return v.position===V&&C(v,"name of an anchor node must contain at least one character"),v.anchor=v.input.slice(V,v.position),!0}function I(v){var V,K,ce;if(ce=v.input.charCodeAt(v.position),ce!==42)return!1;for(ce=v.input.charCodeAt(++v.position),V=v.position;ce!==0&&!E(ce)&&!x(ce);)ce=v.input.charCodeAt(++v.position);return v.position===V&&C(v,"name of an alias node must contain at least one character"),K=v.input.slice(V,v.position),i.call(v.anchorMap,K)||C(v,'unidentified alias "'+K+'"'),v.result=v.anchorMap[K],ue(v,!0,-1),!0}function j(v,V,K,ce,oe){var ve,ie,U,R=1,te=!1,Ee=!1,le,he,S,Z,Q,re;if(v.listener!==null&&v.listener("open",v),v.tag=null,v.anchor=null,v.kind=null,v.result=null,ve=ie=U=c===K||o===K,ce&&ue(v,!0,-1)&&(te=!0,v.lineIndent>V?R=1:v.lineIndent===V?R=0:v.lineIndent<V&&(R=-1)),R===1)for(;Te(v)||Y(v);)ue(v,!0,-1)?(te=!0,U=ve,v.lineIndent>V?R=1:v.lineIndent===V?R=0:v.lineIndent<V&&(R=-1)):U=!1;if(U&&(U=te||oe),(R===1||c===K)&&(a===K||s===K?Q=V:Q=V+1,re=v.position-v.lineStart,R===1?U&&(pe(v,re)||we(v,re,Q))||De(v,Q)?Ee=!0:(ie&&ae(v,Q)||de(v,Q)||be(v,Q)?Ee=!0:I(v)?(Ee=!0,(v.tag!==null||v.anchor!==null)&&C(v,"alias node should not have any properties")):X(v,Q,a===K)&&(Ee=!0,v.tag===null&&(v.tag="?")),v.anchor!==null&&(v.anchorMap[v.anchor]=v.result)):R===0&&(Ee=U&&pe(v,re))),v.tag===null)v.anchor!==null&&(v.anchorMap[v.anchor]=v.result);else if(v.tag==="?"){for(v.result!==null&&v.kind!=="scalar"&&C(v,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+v.kind+'"'),le=0,he=v.implicitTypes.length;le<he;le+=1)if(Z=v.implicitTypes[le],Z.resolve(v.result)){v.result=Z.construct(v.result),v.tag=Z.tag,v.anchor!==null&&(v.anchorMap[v.anchor]=v.result);break}}else if(v.tag!=="!"){if(i.call(v.typeMap[v.kind||"fallback"],v.tag))Z=v.typeMap[v.kind||"fallback"][v.tag];else for(Z=null,S=v.typeMap.multi[v.kind||"fallback"],le=0,he=S.length;le<he;le+=1)if(v.tag.slice(0,S[le].tag.length)===S[le].tag){Z=S[le];break}Z||C(v,"unknown tag !<"+v.tag+">"),v.result!==null&&Z.kind!==v.kind&&C(v,"unacceptable node kind for !<"+v.tag+'> tag; it should be "'+Z.kind+'", not "'+v.kind+'"'),Z.resolve(v.result,v.tag)?(v.result=Z.construct(v.result,v.tag),v.anchor!==null&&(v.anchorMap[v.anchor]=v.result)):C(v,"cannot resolve a node with !<"+v.tag+"> explicit tag")}return v.listener!==null&&v.listener("close",v),v.tag!==null||v.anchor!==null||Ee}function W(v){var V=v.position,K,ce,oe,ve=!1,ie;for(v.version=null,v.checkLineBreaks=v.legacy,v.tagMap=Object.create(null),v.anchorMap=Object.create(null);(ie=v.input.charCodeAt(v.position))!==0&&(ue(v,!0,-1),ie=v.input.charCodeAt(v.position),!(v.lineIndent>0||ie!==37));){for(ve=!0,ie=v.input.charCodeAt(++v.position),K=v.position;ie!==0&&!E(ie);)ie=v.input.charCodeAt(++v.position);for(ce=v.input.slice(K,v.position),oe=[],ce.length<1&&C(v,"directive name must not be less than one character in length");ie!==0;){for(;w(ie);)ie=v.input.charCodeAt(++v.position);if(ie===35){do ie=v.input.charCodeAt(++v.position);while(ie!==0&&!y(ie));break}if(y(ie))break;for(K=v.position;ie!==0&&!E(ie);)ie=v.input.charCodeAt(++v.position);oe.push(v.input.slice(K,v.position))}ie!==0&&se(v),i.call(q,ce)?q[ce](v,ce,oe):k(v,'unknown document directive "'+ce+'"')}if(ue(v,!0,-1),v.lineIndent===0&&v.input.charCodeAt(v.position)===45&&v.input.charCodeAt(v.position+1)===45&&v.input.charCodeAt(v.position+2)===45?(v.position+=3,ue(v,!0,-1)):ve&&C(v,"directives end mark is expected"),j(v,v.lineIndent-1,c,!1,!0),ue(v,!0,-1),v.checkLineBreaks&&h.test(v.input.slice(V,v.position))&&k(v,"non-ASCII line breaks are interpreted as content"),v.documents.push(v.result),v.position===v.lineStart&&ne(v)){v.input.charCodeAt(v.position)===46&&(v.position+=3,ue(v,!0,-1));return}if(v.position<v.length-1)C(v,"end of the stream or a document separator is expected");else return}function G(v,V){v=String(v),V=V||{},v.length!==0&&(v.charCodeAt(v.length-1)!==10&&v.charCodeAt(v.length-1)!==13&&(v+=`
|
|
18
|
-
`),v.charCodeAt(0)===65279&&(v=v.slice(1)));var K=new N(v,V),ce=v.indexOf("\0");for(ce!==-1&&(K.position=ce,C(K,"null byte is not allowed in input")),K.input+="\0";K.input.charCodeAt(K.position)===32;)K.lineIndent+=1,K.position+=1;for(;K.position<K.length-1;)W(K);return K.documents}function H(v,V,K){V!==null&&typeof V=="object"&&typeof K>"u"&&(K=V,V=null);var ce=G(v,K);if(typeof V!="function")return ce;for(var oe=0,ve=ce.length;oe<ve;oe+=1)V(ce[oe])}function ee(v,V){var K=G(v,V);if(K.length!==0){if(K.length===1)return K[0];throw new e("expected a single document in the stream, but found more")}}return ts.loadAll=H,ts.load=ee,ts}var yo={},yd;function sw(){if(yd)return yo;yd=1;var t=$i(),e=Ui(),r=$f(),n=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=65279,s=9,o=10,c=13,l=32,f=33,p=34,u=35,h=37,d=38,b=39,D=42,g=44,y=45,w=58,E=61,x=62,m=63,F=64,_=91,T=93,M=96,B=123,A=124,O=125,N={};N[0]="\\0",N[7]="\\a",N[8]="\\b",N[9]="\\t",N[10]="\\n",N[11]="\\v",N[12]="\\f",N[13]="\\r",N[27]="\\e",N[34]='\\"',N[92]="\\\\",N[133]="\\N",N[160]="\\_",N[8232]="\\L",N[8233]="\\P";var z=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],C=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function k(S,Z){var Q,re,fe,ye,me,xe,Ce;if(Z===null)return{};for(Q={},re=Object.keys(Z),fe=0,ye=re.length;fe<ye;fe+=1)me=re[fe],xe=String(Z[me]),me.slice(0,2)==="!!"&&(me="tag:yaml.org,2002:"+me.slice(2)),Ce=S.compiledTypeMap.fallback[me],Ce&&i.call(Ce.styleAliases,xe)&&(xe=Ce.styleAliases[xe]),Q[me]=xe;return Q}function q(S){var Z,Q,re;if(Z=S.toString(16).toUpperCase(),S<=255)Q="x",re=2;else if(S<=65535)Q="u",re=4;else if(S<=4294967295)Q="U",re=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+Q+t.repeat("0",re-Z.length)+Z}var L=1,$=2;function J(S){this.schema=S.schema||r,this.indent=Math.max(1,S.indent||2),this.noArrayIndent=S.noArrayIndent||!1,this.skipInvalid=S.skipInvalid||!1,this.flowLevel=t.isNothing(S.flowLevel)?-1:S.flowLevel,this.styleMap=k(this.schema,S.styles||null),this.sortKeys=S.sortKeys||!1,this.lineWidth=S.lineWidth||80,this.noRefs=S.noRefs||!1,this.noCompatMode=S.noCompatMode||!1,this.condenseFlow=S.condenseFlow||!1,this.quotingType=S.quotingType==='"'?$:L,this.forceQuotes=S.forceQuotes||!1,this.replacer=typeof S.replacer=="function"?S.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function se(S,Z){for(var Q=t.repeat(" ",Z),re=0,fe=-1,ye="",me,xe=S.length;re<xe;)fe=S.indexOf(`
|
|
19
|
-
`,re),fe===-1?(me=S.slice(re),re=xe):(me=S.slice(re,fe+1),re=fe+1),me.length&&me!==`
|
|
20
|
-
`&&(ye+=Q),ye+=me;return ye}function ue(S,Z){return`
|
|
21
|
-
`+t.repeat(" ",S.indent*Z)}function ne(S,Z){var Q,re,fe;for(Q=0,re=S.implicitTypes.length;Q<re;Q+=1)if(fe=S.implicitTypes[Q],fe.resolve(Z))return!0;return!1}function ge(S){return S===l||S===s}function X(S){return 32<=S&&S<=126||161<=S&&S<=55295&&S!==8232&&S!==8233||57344<=S&&S<=65533&&S!==a||65536<=S&&S<=1114111}function de(S){return X(S)&&S!==a&&S!==c&&S!==o}function be(S,Z,Q){var re=de(S),fe=re&&!ge(S);return(Q?re:re&&S!==g&&S!==_&&S!==T&&S!==B&&S!==O)&&S!==u&&!(Z===w&&!fe)||de(Z)&&!ge(Z)&&S===u||Z===w&&fe}function De(S){return X(S)&&S!==a&&!ge(S)&&S!==y&&S!==m&&S!==w&&S!==g&&S!==_&&S!==T&&S!==B&&S!==O&&S!==u&&S!==d&&S!==D&&S!==f&&S!==A&&S!==E&&S!==x&&S!==b&&S!==p&&S!==h&&S!==F&&S!==M}function ae(S){return!ge(S)&&S!==w}function pe(S,Z){var Q=S.charCodeAt(Z),re;return Q>=55296&&Q<=56319&&Z+1<S.length&&(re=S.charCodeAt(Z+1),re>=56320&&re<=57343)?(Q-55296)*1024+re-56320+65536:Q}function we(S){var Z=/^\n* /;return Z.test(S)}var Te=1,Y=2,I=3,j=4,W=5;function G(S,Z,Q,re,fe,ye,me,xe){var Ce,Ae=0,Be=null,We=!1,ze=!1,Wp=re!==-1,Vn=-1,Wn=De(pe(S,0))&&ae(pe(S,S.length-1));if(Z||me)for(Ce=0;Ce<S.length;Ae>=65536?Ce+=2:Ce++){if(Ae=pe(S,Ce),!X(Ae))return W;Wn=Wn&&be(Ae,Be,xe),Be=Ae}else{for(Ce=0;Ce<S.length;Ae>=65536?Ce+=2:Ce++){if(Ae=pe(S,Ce),Ae===o)We=!0,Wp&&(ze=ze||Ce-Vn-1>re&&S[Vn+1]!==" ",Vn=Ce);else if(!X(Ae))return W;Wn=Wn&&be(Ae,Be,xe),Be=Ae}ze=ze||Wp&&Ce-Vn-1>re&&S[Vn+1]!==" "}return!We&&!ze?Wn&&!me&&!fe(S)?Te:ye===$?W:Y:Q>9&&we(S)?W:me?ye===$?W:Y:ze?j:I}function H(S,Z,Q,re,fe){S.dump=(function(){if(Z.length===0)return S.quotingType===$?'""':"''";if(!S.noCompatMode&&(z.indexOf(Z)!==-1||C.test(Z)))return S.quotingType===$?'"'+Z+'"':"'"+Z+"'";var ye=S.indent*Math.max(1,Q),me=S.lineWidth===-1?-1:Math.max(Math.min(S.lineWidth,40),S.lineWidth-ye),xe=re||S.flowLevel>-1&&Q>=S.flowLevel;function Ce(Ae){return ne(S,Ae)}switch(G(Z,xe,S.indent,me,Ce,S.quotingType,S.forceQuotes&&!re,fe)){case Te:return Z;case Y:return"'"+Z.replace(/'/g,"''")+"'";case I:return"|"+ee(Z,S.indent)+v(se(Z,ye));case j:return">"+ee(Z,S.indent)+v(se(V(Z,me),ye));case W:return'"'+ce(Z)+'"';default:throw new e("impossible error: invalid scalar style")}})()}function ee(S,Z){var Q=we(S)?String(Z):"",re=S[S.length-1]===`
|
|
22
|
-
`,fe=re&&(S[S.length-2]===`
|
|
23
|
-
`||S===`
|
|
24
|
-
`),ye=fe?"+":re?"":"-";return Q+ye+`
|
|
25
|
-
`}function v(S){return S[S.length-1]===`
|
|
26
|
-
`?S.slice(0,-1):S}function V(S,Z){for(var Q=/(\n+)([^\n]*)/g,re=(function(){var Ae=S.indexOf(`
|
|
27
|
-
`);return Ae=Ae!==-1?Ae:S.length,Q.lastIndex=Ae,K(S.slice(0,Ae),Z)})(),fe=S[0]===`
|
|
28
|
-
`||S[0]===" ",ye,me;me=Q.exec(S);){var xe=me[1],Ce=me[2];ye=Ce[0]===" ",re+=xe+(!fe&&!ye&&Ce!==""?`
|
|
29
|
-
`:"")+K(Ce,Z),fe=ye}return re}function K(S,Z){if(S===""||S[0]===" ")return S;for(var Q=/ [^ ]/g,re,fe=0,ye,me=0,xe=0,Ce="";re=Q.exec(S);)xe=re.index,xe-fe>Z&&(ye=me>fe?me:xe,Ce+=`
|
|
30
|
-
`+S.slice(fe,ye),fe=ye+1),me=xe;return Ce+=`
|
|
31
|
-
`,S.length-fe>Z&&me>fe?Ce+=S.slice(fe,me)+`
|
|
32
|
-
`+S.slice(me+1):Ce+=S.slice(fe),Ce.slice(1)}function ce(S){for(var Z="",Q=0,re,fe=0;fe<S.length;Q>=65536?fe+=2:fe++)Q=pe(S,fe),re=N[Q],!re&&X(Q)?(Z+=S[fe],Q>=65536&&(Z+=S[fe+1])):Z+=re||q(Q);return Z}function oe(S,Z,Q){var re="",fe=S.tag,ye,me,xe;for(ye=0,me=Q.length;ye<me;ye+=1)xe=Q[ye],S.replacer&&(xe=S.replacer.call(Q,String(ye),xe)),(te(S,Z,xe,!1,!1)||typeof xe>"u"&&te(S,Z,null,!1,!1))&&(re!==""&&(re+=","+(S.condenseFlow?"":" ")),re+=S.dump);S.tag=fe,S.dump="["+re+"]"}function ve(S,Z,Q,re){var fe="",ye=S.tag,me,xe,Ce;for(me=0,xe=Q.length;me<xe;me+=1)Ce=Q[me],S.replacer&&(Ce=S.replacer.call(Q,String(me),Ce)),(te(S,Z+1,Ce,!0,!0,!1,!0)||typeof Ce>"u"&&te(S,Z+1,null,!0,!0,!1,!0))&&((!re||fe!=="")&&(fe+=ue(S,Z)),S.dump&&o===S.dump.charCodeAt(0)?fe+="-":fe+="- ",fe+=S.dump);S.tag=ye,S.dump=fe||"[]"}function ie(S,Z,Q){var re="",fe=S.tag,ye=Object.keys(Q),me,xe,Ce,Ae,Be;for(me=0,xe=ye.length;me<xe;me+=1)Be="",re!==""&&(Be+=", "),S.condenseFlow&&(Be+='"'),Ce=ye[me],Ae=Q[Ce],S.replacer&&(Ae=S.replacer.call(Q,Ce,Ae)),te(S,Z,Ce,!1,!1)&&(S.dump.length>1024&&(Be+="? "),Be+=S.dump+(S.condenseFlow?'"':"")+":"+(S.condenseFlow?"":" "),te(S,Z,Ae,!1,!1)&&(Be+=S.dump,re+=Be));S.tag=fe,S.dump="{"+re+"}"}function U(S,Z,Q,re){var fe="",ye=S.tag,me=Object.keys(Q),xe,Ce,Ae,Be,We,ze;if(S.sortKeys===!0)me.sort();else if(typeof S.sortKeys=="function")me.sort(S.sortKeys);else if(S.sortKeys)throw new e("sortKeys must be a boolean or a function");for(xe=0,Ce=me.length;xe<Ce;xe+=1)ze="",(!re||fe!=="")&&(ze+=ue(S,Z)),Ae=me[xe],Be=Q[Ae],S.replacer&&(Be=S.replacer.call(Q,Ae,Be)),te(S,Z+1,Ae,!0,!0,!0)&&(We=S.tag!==null&&S.tag!=="?"||S.dump&&S.dump.length>1024,We&&(S.dump&&o===S.dump.charCodeAt(0)?ze+="?":ze+="? "),ze+=S.dump,We&&(ze+=ue(S,Z)),te(S,Z+1,Be,!0,We)&&(S.dump&&o===S.dump.charCodeAt(0)?ze+=":":ze+=": ",ze+=S.dump,fe+=ze));S.tag=ye,S.dump=fe||"{}"}function R(S,Z,Q){var re,fe,ye,me,xe,Ce;for(fe=Q?S.explicitTypes:S.implicitTypes,ye=0,me=fe.length;ye<me;ye+=1)if(xe=fe[ye],(xe.instanceOf||xe.predicate)&&(!xe.instanceOf||typeof Z=="object"&&Z instanceof xe.instanceOf)&&(!xe.predicate||xe.predicate(Z))){if(Q?xe.multi&&xe.representName?S.tag=xe.representName(Z):S.tag=xe.tag:S.tag="?",xe.represent){if(Ce=S.styleMap[xe.tag]||xe.defaultStyle,n.call(xe.represent)==="[object Function]")re=xe.represent(Z,Ce);else if(i.call(xe.represent,Ce))re=xe.represent[Ce](Z,Ce);else throw new e("!<"+xe.tag+'> tag resolver accepts not "'+Ce+'" style');S.dump=re}return!0}return!1}function te(S,Z,Q,re,fe,ye,me){S.tag=null,S.dump=Q,R(S,Q,!1)||R(S,Q,!0);var xe=n.call(S.dump),Ce=re,Ae;re&&(re=S.flowLevel<0||S.flowLevel>Z);var Be=xe==="[object Object]"||xe==="[object Array]",We,ze;if(Be&&(We=S.duplicates.indexOf(Q),ze=We!==-1),(S.tag!==null&&S.tag!=="?"||ze||S.indent!==2&&Z>0)&&(fe=!1),ze&&S.usedDuplicates[We])S.dump="*ref_"+We;else{if(Be&&ze&&!S.usedDuplicates[We]&&(S.usedDuplicates[We]=!0),xe==="[object Object]")re&&Object.keys(S.dump).length!==0?(U(S,Z,S.dump,fe),ze&&(S.dump="&ref_"+We+S.dump)):(ie(S,Z,S.dump),ze&&(S.dump="&ref_"+We+" "+S.dump));else if(xe==="[object Array]")re&&S.dump.length!==0?(S.noArrayIndent&&!me&&Z>0?ve(S,Z-1,S.dump,fe):ve(S,Z,S.dump,fe),ze&&(S.dump="&ref_"+We+S.dump)):(oe(S,Z,S.dump),ze&&(S.dump="&ref_"+We+" "+S.dump));else if(xe==="[object String]")S.tag!=="?"&&H(S,S.dump,Z,ye,Ce);else{if(xe==="[object Undefined]")return!1;if(S.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+xe)}S.tag!==null&&S.tag!=="?"&&(Ae=encodeURI(S.tag[0]==="!"?S.tag.slice(1):S.tag).replace(/!/g,"%21"),S.tag[0]==="!"?Ae="!"+Ae:Ae.slice(0,18)==="tag:yaml.org,2002:"?Ae="!!"+Ae.slice(18):Ae="!<"+Ae+">",S.dump=Ae+" "+S.dump)}return!0}function Ee(S,Z){var Q=[],re=[],fe,ye;for(le(S,Q,re),fe=0,ye=re.length;fe<ye;fe+=1)Z.duplicates.push(Q[re[fe]]);Z.usedDuplicates=new Array(ye)}function le(S,Z,Q){var re,fe,ye;if(S!==null&&typeof S=="object")if(fe=Z.indexOf(S),fe!==-1)Q.indexOf(fe)===-1&&Q.push(fe);else if(Z.push(S),Array.isArray(S))for(fe=0,ye=S.length;fe<ye;fe+=1)le(S[fe],Z,Q);else for(re=Object.keys(S),fe=0,ye=re.length;fe<ye;fe+=1)le(S[re[fe]],Z,Q)}function he(S,Z){Z=Z||{};var Q=new J(Z);Q.noRefs||Ee(S,Q);var re=S;return Q.replacer&&(re=Q.replacer.call({"":re},"",re)),te(Q,0,re,!0,!0)?Q.dump+`
|
|
33
|
-
`:""}return yo.dump=he,yo}var bd;function aw(){if(bd)return at;bd=1;var t=iw(),e=sw();function r(n,i){return function(){throw new Error("Function yaml."+n+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}return at.Type=ht(),at.Schema=vy(),at.FAILSAFE_SCHEMA=Fy(),at.JSON_SCHEMA=Oy(),at.CORE_SCHEMA=Ty(),at.DEFAULT_SCHEMA=$f(),at.load=t.load,at.loadAll=t.loadAll,at.dump=e.dump,at.YAMLException=Ui(),at.types={binary:ky(),float:Sy(),map:Ey(),null:Cy(),pairs:Py(),set:Iy(),timestamp:By(),bool:Ay(),int:_y(),merge:Ry(),omap:qy(),seq:wy(),str:xy()},at.safeLoad=r("safeLoad","load"),at.safeLoadAll=r("safeLoadAll","loadAll"),at.safeDump=r("safeDump","dump"),at}var bo,vd;function ow(){return vd||(vd=1,bo=({onlyFirst:t=!1}={})=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}),bo}var vo,xd;function uw(){if(xd)return vo;xd=1;const t=ow();return vo=e=>typeof e=="string"?e.replace(t(),""):e,vo}var hi={exports:{}},Ir={},rs={exports:{}},wd;function qr(){return wd||(wd=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});const r=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function n(m){return r.includes(m)}const i=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...r];function a(m){return i.includes(m)}const s=["null","undefined","string","number","bigint","boolean","symbol"];function o(m){return s.includes(m)}function c(m){return F=>typeof F===m}const{toString:l}=Object.prototype,f=m=>{const F=l.call(m).slice(8,-1);if(/HTML\w+Element/.test(F)&&u.domElement(m))return"HTMLElement";if(a(F))return F},p=m=>F=>f(F)===m;function u(m){if(m===null)return"null";switch(typeof m){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(u.observable(m))return"Observable";if(u.array(m))return"Array";if(u.buffer(m))return"Buffer";const F=f(m);if(F)return F;if(m instanceof String||m instanceof Boolean||m instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}u.undefined=c("undefined"),u.string=c("string");const h=c("number");u.number=m=>h(m)&&!u.nan(m),u.bigint=c("bigint"),u.function_=c("function"),u.null_=m=>m===null,u.class_=m=>u.function_(m)&&m.toString().startsWith("class "),u.boolean=m=>m===!0||m===!1,u.symbol=c("symbol"),u.numericString=m=>u.string(m)&&!u.emptyStringOrWhitespace(m)&&!Number.isNaN(Number(m)),u.array=(m,F)=>Array.isArray(m)?u.function_(F)?m.every(F):!0:!1,u.buffer=m=>{var F,_,T,M;return(M=(T=(_=(F=m)===null||F===void 0?void 0:F.constructor)===null||_===void 0?void 0:_.isBuffer)===null||T===void 0?void 0:T.call(_,m))!==null&&M!==void 0?M:!1},u.blob=m=>p("Blob")(m),u.nullOrUndefined=m=>u.null_(m)||u.undefined(m),u.object=m=>!u.null_(m)&&(typeof m=="object"||u.function_(m)),u.iterable=m=>{var F;return u.function_((F=m)===null||F===void 0?void 0:F[Symbol.iterator])},u.asyncIterable=m=>{var F;return u.function_((F=m)===null||F===void 0?void 0:F[Symbol.asyncIterator])},u.generator=m=>{var F,_;return u.iterable(m)&&u.function_((F=m)===null||F===void 0?void 0:F.next)&&u.function_((_=m)===null||_===void 0?void 0:_.throw)},u.asyncGenerator=m=>u.asyncIterable(m)&&u.function_(m.next)&&u.function_(m.throw),u.nativePromise=m=>p("Promise")(m);const d=m=>{var F,_;return u.function_((F=m)===null||F===void 0?void 0:F.then)&&u.function_((_=m)===null||_===void 0?void 0:_.catch)};u.promise=m=>u.nativePromise(m)||d(m),u.generatorFunction=p("GeneratorFunction"),u.asyncGeneratorFunction=m=>f(m)==="AsyncGeneratorFunction",u.asyncFunction=m=>f(m)==="AsyncFunction",u.boundFunction=m=>u.function_(m)&&!m.hasOwnProperty("prototype"),u.regExp=p("RegExp"),u.date=p("Date"),u.error=p("Error"),u.map=m=>p("Map")(m),u.set=m=>p("Set")(m),u.weakMap=m=>p("WeakMap")(m),u.weakSet=m=>p("WeakSet")(m),u.int8Array=p("Int8Array"),u.uint8Array=p("Uint8Array"),u.uint8ClampedArray=p("Uint8ClampedArray"),u.int16Array=p("Int16Array"),u.uint16Array=p("Uint16Array"),u.int32Array=p("Int32Array"),u.uint32Array=p("Uint32Array"),u.float32Array=p("Float32Array"),u.float64Array=p("Float64Array"),u.bigInt64Array=p("BigInt64Array"),u.bigUint64Array=p("BigUint64Array"),u.arrayBuffer=p("ArrayBuffer"),u.sharedArrayBuffer=p("SharedArrayBuffer"),u.dataView=p("DataView"),u.enumCase=(m,F)=>Object.values(F).includes(m),u.directInstanceOf=(m,F)=>Object.getPrototypeOf(m)===F.prototype,u.urlInstance=m=>p("URL")(m),u.urlString=m=>{if(!u.string(m))return!1;try{return new URL(m),!0}catch{return!1}},u.truthy=m=>!!m,u.falsy=m=>!m,u.nan=m=>Number.isNaN(m),u.primitive=m=>u.null_(m)||o(typeof m),u.integer=m=>Number.isInteger(m),u.safeInteger=m=>Number.isSafeInteger(m),u.plainObject=m=>{if(l.call(m)!=="[object Object]")return!1;const F=Object.getPrototypeOf(m);return F===null||F===Object.getPrototypeOf({})},u.typedArray=m=>n(f(m));const b=m=>u.safeInteger(m)&&m>=0;u.arrayLike=m=>!u.nullOrUndefined(m)&&!u.function_(m)&&b(m.length),u.inRange=(m,F)=>{if(u.number(F))return m>=Math.min(0,F)&&m<=Math.max(F,0);if(u.array(F)&&F.length===2)return m>=Math.min(...F)&&m<=Math.max(...F);throw new TypeError(`Invalid range: ${JSON.stringify(F)}`)};const D=1,g=["innerHTML","ownerDocument","style","attributes","nodeValue"];u.domElement=m=>u.object(m)&&m.nodeType===D&&u.string(m.nodeName)&&!u.plainObject(m)&&g.every(F=>F in m),u.observable=m=>{var F,_,T,M;return m?m===((_=(F=m)[Symbol.observable])===null||_===void 0?void 0:_.call(F))||m===((M=(T=m)["@@observable"])===null||M===void 0?void 0:M.call(T)):!1},u.nodeStream=m=>u.object(m)&&u.function_(m.pipe)&&!u.observable(m),u.infinite=m=>m===1/0||m===-1/0;const y=m=>F=>u.integer(F)&&Math.abs(F%2)===m;u.evenInteger=y(0),u.oddInteger=y(1),u.emptyArray=m=>u.array(m)&&m.length===0,u.nonEmptyArray=m=>u.array(m)&&m.length>0,u.emptyString=m=>u.string(m)&&m.length===0;const w=m=>u.string(m)&&!/\S/.test(m);u.emptyStringOrWhitespace=m=>u.emptyString(m)||w(m),u.nonEmptyString=m=>u.string(m)&&m.length>0,u.nonEmptyStringAndNotWhitespace=m=>u.string(m)&&!u.emptyStringOrWhitespace(m),u.emptyObject=m=>u.object(m)&&!u.map(m)&&!u.set(m)&&Object.keys(m).length===0,u.nonEmptyObject=m=>u.object(m)&&!u.map(m)&&!u.set(m)&&Object.keys(m).length>0,u.emptySet=m=>u.set(m)&&m.size===0,u.nonEmptySet=m=>u.set(m)&&m.size>0,u.emptyMap=m=>u.map(m)&&m.size===0,u.nonEmptyMap=m=>u.map(m)&&m.size>0,u.propertyKey=m=>u.any([u.string,u.number,u.symbol],m),u.formData=m=>p("FormData")(m),u.urlSearchParams=m=>p("URLSearchParams")(m);const E=(m,F,_)=>{if(!u.function_(F))throw new TypeError(`Invalid predicate: ${JSON.stringify(F)}`);if(_.length===0)throw new TypeError("Invalid number of values");return m.call(_,F)};u.any=(m,...F)=>(u.array(m)?m:[m]).some(T=>E(Array.prototype.some,T,F)),u.all=(m,...F)=>E(Array.prototype.every,m,F);const x=(m,F,_,T={})=>{if(!m){const{multipleValues:M}=T,B=M?`received values of types ${[...new Set(_.map(A=>`\`${u(A)}\``))].join(", ")}`:`received value of type \`${u(_)}\``;throw new TypeError(`Expected value which is \`${F}\`, ${B}.`)}};e.assert={undefined:m=>x(u.undefined(m),"undefined",m),string:m=>x(u.string(m),"string",m),number:m=>x(u.number(m),"number",m),bigint:m=>x(u.bigint(m),"bigint",m),function_:m=>x(u.function_(m),"Function",m),null_:m=>x(u.null_(m),"null",m),class_:m=>x(u.class_(m),"Class",m),boolean:m=>x(u.boolean(m),"boolean",m),symbol:m=>x(u.symbol(m),"symbol",m),numericString:m=>x(u.numericString(m),"string with a number",m),array:(m,F)=>{x(u.array(m),"Array",m),F&&m.forEach(F)},buffer:m=>x(u.buffer(m),"Buffer",m),blob:m=>x(u.blob(m),"Blob",m),nullOrUndefined:m=>x(u.nullOrUndefined(m),"null or undefined",m),object:m=>x(u.object(m),"Object",m),iterable:m=>x(u.iterable(m),"Iterable",m),asyncIterable:m=>x(u.asyncIterable(m),"AsyncIterable",m),generator:m=>x(u.generator(m),"Generator",m),asyncGenerator:m=>x(u.asyncGenerator(m),"AsyncGenerator",m),nativePromise:m=>x(u.nativePromise(m),"native Promise",m),promise:m=>x(u.promise(m),"Promise",m),generatorFunction:m=>x(u.generatorFunction(m),"GeneratorFunction",m),asyncGeneratorFunction:m=>x(u.asyncGeneratorFunction(m),"AsyncGeneratorFunction",m),asyncFunction:m=>x(u.asyncFunction(m),"AsyncFunction",m),boundFunction:m=>x(u.boundFunction(m),"Function",m),regExp:m=>x(u.regExp(m),"RegExp",m),date:m=>x(u.date(m),"Date",m),error:m=>x(u.error(m),"Error",m),map:m=>x(u.map(m),"Map",m),set:m=>x(u.set(m),"Set",m),weakMap:m=>x(u.weakMap(m),"WeakMap",m),weakSet:m=>x(u.weakSet(m),"WeakSet",m),int8Array:m=>x(u.int8Array(m),"Int8Array",m),uint8Array:m=>x(u.uint8Array(m),"Uint8Array",m),uint8ClampedArray:m=>x(u.uint8ClampedArray(m),"Uint8ClampedArray",m),int16Array:m=>x(u.int16Array(m),"Int16Array",m),uint16Array:m=>x(u.uint16Array(m),"Uint16Array",m),int32Array:m=>x(u.int32Array(m),"Int32Array",m),uint32Array:m=>x(u.uint32Array(m),"Uint32Array",m),float32Array:m=>x(u.float32Array(m),"Float32Array",m),float64Array:m=>x(u.float64Array(m),"Float64Array",m),bigInt64Array:m=>x(u.bigInt64Array(m),"BigInt64Array",m),bigUint64Array:m=>x(u.bigUint64Array(m),"BigUint64Array",m),arrayBuffer:m=>x(u.arrayBuffer(m),"ArrayBuffer",m),sharedArrayBuffer:m=>x(u.sharedArrayBuffer(m),"SharedArrayBuffer",m),dataView:m=>x(u.dataView(m),"DataView",m),enumCase:(m,F)=>x(u.enumCase(m,F),"EnumCase",m),urlInstance:m=>x(u.urlInstance(m),"URL",m),urlString:m=>x(u.urlString(m),"string with a URL",m),truthy:m=>x(u.truthy(m),"truthy",m),falsy:m=>x(u.falsy(m),"falsy",m),nan:m=>x(u.nan(m),"NaN",m),primitive:m=>x(u.primitive(m),"primitive",m),integer:m=>x(u.integer(m),"integer",m),safeInteger:m=>x(u.safeInteger(m),"integer",m),plainObject:m=>x(u.plainObject(m),"plain object",m),typedArray:m=>x(u.typedArray(m),"TypedArray",m),arrayLike:m=>x(u.arrayLike(m),"array-like",m),domElement:m=>x(u.domElement(m),"HTMLElement",m),observable:m=>x(u.observable(m),"Observable",m),nodeStream:m=>x(u.nodeStream(m),"Node.js Stream",m),infinite:m=>x(u.infinite(m),"infinite number",m),emptyArray:m=>x(u.emptyArray(m),"empty array",m),nonEmptyArray:m=>x(u.nonEmptyArray(m),"non-empty array",m),emptyString:m=>x(u.emptyString(m),"empty string",m),emptyStringOrWhitespace:m=>x(u.emptyStringOrWhitespace(m),"empty string or whitespace",m),nonEmptyString:m=>x(u.nonEmptyString(m),"non-empty string",m),nonEmptyStringAndNotWhitespace:m=>x(u.nonEmptyStringAndNotWhitespace(m),"non-empty string and not whitespace",m),emptyObject:m=>x(u.emptyObject(m),"empty object",m),nonEmptyObject:m=>x(u.nonEmptyObject(m),"non-empty object",m),emptySet:m=>x(u.emptySet(m),"empty set",m),nonEmptySet:m=>x(u.nonEmptySet(m),"non-empty set",m),emptyMap:m=>x(u.emptyMap(m),"empty map",m),nonEmptyMap:m=>x(u.nonEmptyMap(m),"non-empty map",m),propertyKey:m=>x(u.propertyKey(m),"PropertyKey",m),formData:m=>x(u.formData(m),"FormData",m),urlSearchParams:m=>x(u.urlSearchParams(m),"URLSearchParams",m),evenInteger:m=>x(u.evenInteger(m),"even integer",m),oddInteger:m=>x(u.oddInteger(m),"odd integer",m),directInstanceOf:(m,F)=>x(u.directInstanceOf(m,F),"T",m),inRange:(m,F)=>x(u.inRange(m,F),"in range",m),any:(m,...F)=>x(u.any(m,...F),"predicate returns truthy for any value",F,{multipleValues:!0}),all:(m,...F)=>x(u.all(m,...F),"predicate returns truthy for all values",F,{multipleValues:!0})},Object.defineProperties(u,{class:{value:u.class_},function:{value:u.function_},null:{value:u.null_}}),Object.defineProperties(e.assert,{class:{value:e.assert.class_},function:{value:e.assert.function_},null:{value:e.assert.null_}}),e.default=u,t.exports=u,t.exports.default=u,t.exports.assert=e.assert})(rs,rs.exports)),rs.exports}var Nr={},ns={exports:{}},Ed;function cw(){if(Ed)return ns.exports;Ed=1;class t extends Error{constructor(n){super(n||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}}class e{static fn(n){return(...i)=>new e((a,s,o)=>{i.push(o),n(...i).then(a,s)})}constructor(n){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((i,a)=>{this._reject=a;const s=l=>{(!this._isCanceled||!c.shouldReject)&&(this._isPending=!1,i(l))},o=l=>{this._isPending=!1,a(l)},c=l=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(l)};return Object.defineProperties(c,{shouldReject:{get:()=>this._rejectOnCancel,set:l=>{this._rejectOnCancel=l}}}),n(s,o,c)})}then(n,i){return this._promise.then(n,i)}catch(n){return this._promise.catch(n)}finally(n){return this._promise.finally(n)}cancel(n){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(const i of this._cancelHandlers)i()}catch(i){this._reject(i);return}this._rejectOnCancel&&this._reject(new t(n))}}get isCanceled(){return this._isCanceled}}return Object.setPrototypeOf(e.prototype,Promise.prototype),ns.exports=e,ns.exports.CancelError=t,ns.exports}var Mr={},xo={},is={exports:{}},ss={exports:{}},Fd;function lw(){return Fd||(Fd=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i){return i.encrypted}const n=(i,a)=>{let s;typeof a=="function"?s={connect:a}:s=a;const o=typeof s.connect=="function",c=typeof s.secureConnect=="function",l=typeof s.close=="function",f=()=>{o&&s.connect(),r(i)&&c&&(i.authorized?s.secureConnect():i.authorizationError||i.once("secureConnect",s.secureConnect)),l&&i.once("close",s.close)};i.writable&&!i.connecting?f():i.connecting?i.once("connect",f):i.destroyed&&l&&s.close(i._hadError)};e.default=n,t.exports=n,t.exports.default=n})(ss,ss.exports)),ss.exports}var Cd;function fw(){return Cd||(Cd=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});const r=lw(),n=Ve,i=Number(process.versions.node.split(".")[0]),a=s=>{if(s.timings)return s.timings;const o={start:Date.now(),socket:void 0,lookup:void 0,connect:void 0,secureConnect:void 0,upload:void 0,response:void 0,end:void 0,error:void 0,abort:void 0,phases:{wait:void 0,dns:void 0,tcp:void 0,tls:void 0,request:void 0,firstByte:void 0,download:void 0,total:void 0}};s.timings=o;const c=h=>{const d=h.emit.bind(h);h.emit=(b,...D)=>(b==="error"&&(o.error=Date.now(),o.phases.total=o.error-o.start,h.emit=d),d(b,...D))};c(s);const l=()=>{o.abort=Date.now(),(!o.response||i>=13)&&(o.phases.total=Date.now()-o.start)};s.prependOnceListener("abort",l);const f=h=>{if(o.socket=Date.now(),o.phases.wait=o.socket-o.start,n.types.isProxy(h))return;const d=()=>{o.lookup=Date.now(),o.phases.dns=o.lookup-o.socket};h.prependOnceListener("lookup",d),r.default(h,{connect:()=>{o.connect=Date.now(),o.lookup===void 0&&(h.removeListener("lookup",d),o.lookup=o.connect,o.phases.dns=o.lookup-o.socket),o.phases.tcp=o.connect-o.lookup},secureConnect:()=>{o.secureConnect=Date.now(),o.phases.tls=o.secureConnect-o.connect}})};s.socket?f(s.socket):s.prependOnceListener("socket",f);const p=()=>{var h;o.upload=Date.now(),o.phases.request=o.upload-((h=o.secureConnect)!==null&&h!==void 0?h:o.connect)};return(typeof s.writableFinished=="boolean"?s.writableFinished:s.finished&&s.outputSize===0&&(!s.socket||s.socket.writableLength===0))?p():s.prependOnceListener("finish",p),s.prependOnceListener("response",h=>{o.response=Date.now(),o.phases.firstByte=o.response-o.upload,h.timings=o,c(h),h.prependOnceListener("end",()=>{o.end=Date.now(),o.phases.download=o.end-o.response,o.phases.total=o.end-o.start}),h.prependOnceListener("aborted",l)}),o};e.default=a,t.exports=a,t.exports.default=a})(is,is.exports)),is.exports}var as={exports:{}},Ad;function pw(){if(Ad)return as.exports;Ad=1;const{V4MAPPED:t,ADDRCONFIG:e,ALL:r,promises:{Resolver:n},lookup:i}=Xx,{promisify:a}=Ve,s=dt,o=Symbol("cacheableLookupCreateConnection"),c=Symbol("cacheableLookupInstance"),l=Symbol("expires"),f=typeof r=="number",p=y=>{if(!(y&&typeof y.createConnection=="function"))throw new Error("Expected an Agent instance as the first argument")},u=y=>{for(const w of y)w.family!==6&&(w.address=`::ffff:${w.address}`,w.family=6)},h=()=>{let y=!1,w=!1;for(const E of Object.values(s.networkInterfaces()))for(const x of E)if(!x.internal&&(x.family==="IPv6"?w=!0:y=!0,y&&w))return{has4:y,has6:w};return{has4:y,has6:w}},d=y=>Symbol.iterator in y,b={ttl:!0},D={all:!0};class g{constructor({cache:w=new Map,maxTtl:E=1/0,fallbackDuration:x=3600,errorTtl:m=.15,resolver:F=new n,lookup:_=i}={}){if(this.maxTtl=E,this.errorTtl=m,this._cache=w,this._resolver=F,this._dnsLookup=a(_),this._resolver instanceof n?(this._resolve4=this._resolver.resolve4.bind(this._resolver),this._resolve6=this._resolver.resolve6.bind(this._resolver)):(this._resolve4=a(this._resolver.resolve4.bind(this._resolver)),this._resolve6=a(this._resolver.resolve6.bind(this._resolver))),this._iface=h(),this._pending={},this._nextRemovalTime=!1,this._hostnamesToFallback=new Set,x<1)this._fallback=!1;else{this._fallback=!0;const T=setInterval(()=>{this._hostnamesToFallback.clear()},x*1e3);T.unref&&T.unref()}this.lookup=this.lookup.bind(this),this.lookupAsync=this.lookupAsync.bind(this)}set servers(w){this.clear(),this._resolver.setServers(w)}get servers(){return this._resolver.getServers()}lookup(w,E,x){if(typeof E=="function"?(x=E,E={}):typeof E=="number"&&(E={family:E}),!x)throw new Error("Callback must be a function.");this.lookupAsync(w,E).then(m=>{E.all?x(null,m):x(null,m.address,m.family,m.expires,m.ttl)},x)}async lookupAsync(w,E={}){typeof E=="number"&&(E={family:E});let x=await this.query(w);if(E.family===6){const m=x.filter(F=>F.family===6);E.hints&t&&(f&&E.hints&r||m.length===0)?u(x):x=m}else E.family===4&&(x=x.filter(m=>m.family===4));if(E.hints&e){const{_iface:m}=this;x=x.filter(F=>F.family===6?m.has6:m.has4)}if(x.length===0){const m=new Error(`cacheableLookup ENOTFOUND ${w}`);throw m.code="ENOTFOUND",m.hostname=w,m}return E.all?x:x[0]}async query(w){let E=await this._cache.get(w);if(!E){const x=this._pending[w];if(x)E=await x;else{const m=this.queryAndCache(w);this._pending[w]=m;try{E=await m}finally{delete this._pending[w]}}}return E=E.map(x=>({...x})),E}async _resolve(w){const E=async B=>{try{return await B}catch(A){if(A.code==="ENODATA"||A.code==="ENOTFOUND")return[];throw A}},[x,m]=await Promise.all([this._resolve4(w,b),this._resolve6(w,b)].map(B=>E(B)));let F=0,_=0,T=0;const M=Date.now();for(const B of x)B.family=4,B.expires=M+B.ttl*1e3,F=Math.max(F,B.ttl);for(const B of m)B.family=6,B.expires=M+B.ttl*1e3,_=Math.max(_,B.ttl);return x.length>0?m.length>0?T=Math.min(F,_):T=F:T=_,{entries:[...x,...m],cacheTtl:T}}async _lookup(w){try{return{entries:await this._dnsLookup(w,{all:!0}),cacheTtl:0}}catch{return{entries:[],cacheTtl:0}}}async _set(w,E,x){if(this.maxTtl>0&&x>0){x=Math.min(x,this.maxTtl)*1e3,E[l]=Date.now()+x;try{await this._cache.set(w,E,x)}catch(m){this.lookupAsync=async()=>{const F=new Error("Cache Error. Please recreate the CacheableLookup instance.");throw F.cause=m,F}}d(this._cache)&&this._tick(x)}}async queryAndCache(w){if(this._hostnamesToFallback.has(w))return this._dnsLookup(w,D);let E=await this._resolve(w);E.entries.length===0&&this._fallback&&(E=await this._lookup(w),E.entries.length!==0&&this._hostnamesToFallback.add(w));const x=E.entries.length===0?this.errorTtl:E.cacheTtl;return await this._set(w,E.entries,x),E.entries}_tick(w){const E=this._nextRemovalTime;(!E||w<E)&&(clearTimeout(this._removalTimeout),this._nextRemovalTime=w,this._removalTimeout=setTimeout(()=>{this._nextRemovalTime=!1;let x=1/0;const m=Date.now();for(const[F,_]of this._cache){const T=_[l];m>=T?this._cache.delete(F):T<x&&(x=T)}x!==1/0&&this._tick(x-m)},w),this._removalTimeout.unref&&this._removalTimeout.unref())}install(w){if(p(w),o in w)throw new Error("CacheableLookup has been already installed");w[o]=w.createConnection,w[c]=this,w.createConnection=(E,x)=>("lookup"in E||(E.lookup=this.lookup),w[o](E,x))}uninstall(w){if(p(w),w[o]){if(w[c]!==this)throw new Error("The agent is not owned by this CacheableLookup instance");w.createConnection=w[o],delete w[o],delete w[c]}}updateInterfaceInfo(){const{_iface:w}=this;this._iface=h(),(w.has4&&!this._iface.has4||w.has6&&!this._iface.has6)&&this._cache.clear()}clear(w){if(w){this._cache.delete(w);return}this._cache.clear()}}return as.exports=g,as.exports.default=g,as.exports}var wo,_d;function dw(){if(_d)return wo;_d=1;const t="text/plain",e="us-ascii",r=(a,s)=>s.some(o=>o instanceof RegExp?o.test(a):o===a),n=(a,{stripHash:s})=>{const o=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(a);if(!o)throw new Error(`Invalid URL: ${a}`);let{type:c,data:l,hash:f}=o.groups;const p=c.split(";");f=s?"":f;let u=!1;p[p.length-1]==="base64"&&(p.pop(),u=!0);const h=(p.shift()||"").toLowerCase(),b=[...p.map(D=>{let[g,y=""]=D.split("=").map(w=>w.trim());return g==="charset"&&(y=y.toLowerCase(),y===e)?"":`${g}${y?`=${y}`:""}`}).filter(Boolean)];return u&&b.push("base64"),(b.length!==0||h&&h!==t)&&b.unshift(h),`data:${b.join(";")},${u?l.trim():l}${f?`#${f}`:""}`};return wo=(a,s)=>{if(s={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...s},a=a.trim(),/^data:/i.test(a))return n(a,s);if(/^view-source:/i.test(a))throw new Error("`view-source:` is not supported as it is a non-standard protocol");const o=a.startsWith("//");!o&&/^\.*\//.test(a)||(a=a.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,s.defaultProtocol));const l=new URL(a);if(s.forceHttp&&s.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(s.forceHttp&&l.protocol==="https:"&&(l.protocol="http:"),s.forceHttps&&l.protocol==="http:"&&(l.protocol="https:"),s.stripAuthentication&&(l.username="",l.password=""),s.stripHash?l.hash="":s.stripTextFragment&&(l.hash=l.hash.replace(/#?:~:text.*?$/i,"")),l.pathname&&(l.pathname=l.pathname.replace(/(?<!\b(?:[a-z][a-z\d+\-.]{1,50}:))\/{2,}/g,"/")),l.pathname)try{l.pathname=decodeURI(l.pathname)}catch{}if(s.removeDirectoryIndex===!0&&(s.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(s.removeDirectoryIndex)&&s.removeDirectoryIndex.length>0){let p=l.pathname.split("/");const u=p[p.length-1];r(u,s.removeDirectoryIndex)&&(p=p.slice(0,p.length-1),l.pathname=p.slice(1).join("/")+"/")}if(l.hostname&&(l.hostname=l.hostname.replace(/\.$/,""),s.stripWWW&&/^www\.(?!www\.)(?:[a-z\-\d]{1,63})\.(?:[a-z.\-\d]{2,63})$/.test(l.hostname)&&(l.hostname=l.hostname.replace(/^www\./,""))),Array.isArray(s.removeQueryParameters))for(const p of[...l.searchParams.keys()])r(p,s.removeQueryParameters)&&l.searchParams.delete(p);s.removeQueryParameters===!0&&(l.search=""),s.sortQueryParameters&&l.searchParams.sort(),s.removeTrailingSlash&&(l.pathname=l.pathname.replace(/\/$/,""));const f=a;return a=l.toString(),!s.removeSingleSlash&&l.pathname==="/"&&!f.endsWith("/")&&l.hash===""&&(a=a.replace(/\/$/,"")),(s.removeTrailingSlash||l.pathname==="/")&&l.hash===""&&s.removeSingleSlash&&(a=a.replace(/\/$/,"")),o&&!s.normalizeProtocol&&(a=a.replace(/^http:\/\//,"//")),s.stripProtocol&&(a=a.replace(/^(?:https?:)?\/\//,"")),a},wo}var jr={exports:{}},os={exports:{}},Eo,Sd;function hw(){if(Sd)return Eo;Sd=1,Eo=t;function t(e,r){if(e&&r)return t(e)(r);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(i){n[i]=e[i]}),n;function n(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];var s=e.apply(this,i),o=i[i.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(c){s[c]=o[c]}),s}}return Eo}var Od;function Ny(){if(Od)return os.exports;Od=1;var t=hw();os.exports=t(e),os.exports.strict=t(r),e.proto=e(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return e(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return r(this)},configurable:!0})});function e(n){var i=function(){return i.called?i.value:(i.called=!0,i.value=n.apply(this,arguments))};return i.called=!1,i}function r(n){var i=function(){if(i.called)throw new Error(i.onceError);return i.called=!0,i.value=n.apply(this,arguments)},a=n.name||"Function wrapped with `once`";return i.onceError=a+" shouldn't be called more than once",i.called=!1,i}return os.exports}var Fo,Td;function mw(){if(Td)return Fo;Td=1;var t=Ny(),e=function(){},r=Rr.Bare?queueMicrotask:process.nextTick.bind(process),n=function(s){return s.setHeader&&typeof s.abort=="function"},i=function(s){return s.stdio&&Array.isArray(s.stdio)&&s.stdio.length===3},a=function(s,o,c){if(typeof o=="function")return a(s,null,o);o||(o={}),c=t(c||e);var l=s._writableState,f=s._readableState,p=o.readable||o.readable!==!1&&s.readable,u=o.writable||o.writable!==!1&&s.writable,h=!1,d=function(){s.writable||b()},b=function(){u=!1,p||c.call(s)},D=function(){p=!1,u||c.call(s)},g=function(m){c.call(s,m?new Error("exited with error code: "+m):null)},y=function(m){c.call(s,m)},w=function(){r(E)},E=function(){if(!h){if(p&&!(f&&f.ended&&!f.destroyed))return c.call(s,new Error("premature close"));if(u&&!(l&&l.ended&&!l.destroyed))return c.call(s,new Error("premature close"))}},x=function(){s.req.on("finish",b)};return n(s)?(s.on("complete",b),s.on("abort",w),s.req?x():s.on("request",x)):u&&!l&&(s.on("end",d),s.on("close",d)),i(s)&&s.on("exit",g),s.on("end",D),s.on("finish",b),o.error!==!1&&s.on("error",y),s.on("close",w),function(){h=!0,s.removeListener("complete",b),s.removeListener("abort",w),s.removeListener("request",x),s.req&&s.req.removeListener("finish",b),s.removeListener("end",d),s.removeListener("close",d),s.removeListener("finish",b),s.removeListener("exit",g),s.removeListener("end",D),s.removeListener("error",y),s.removeListener("close",w)}};return Fo=a,Fo}var Co,Bd;function gw(){if(Bd)return Co;Bd=1;var t=Ny(),e=mw(),r;try{r=require("fs")}catch{}var n=function(){},i=typeof process>"u"?!1:/^v?\.0/.test(process.version),a=function(u){return typeof u=="function"},s=function(u){return!i||!r?!1:(u instanceof(r.ReadStream||n)||u instanceof(r.WriteStream||n))&&a(u.close)},o=function(u){return u.setHeader&&a(u.abort)},c=function(u,h,d,b){b=t(b);var D=!1;u.on("close",function(){D=!0}),e(u,{readable:h,writable:d},function(y){if(y)return b(y);D=!0,b()});var g=!1;return function(y){if(!D&&!g){if(g=!0,s(u))return u.close(n);if(o(u))return u.abort();if(a(u.destroy))return u.destroy();b(y||new Error("stream was destroyed"))}}},l=function(u){u()},f=function(u,h){return u.pipe(h)},p=function(){var u=Array.prototype.slice.call(arguments),h=a(u[u.length-1]||n)&&u.pop()||n;if(Array.isArray(u[0])&&(u=u[0]),u.length<2)throw new Error("pump requires two streams per minimum");var d,b=u.map(function(D,g){var y=g<u.length-1,w=g>0;return c(D,y,w,function(E){d||(d=E),E&&b.forEach(l),!y&&(b.forEach(l),h(d))})});return u.reduce(f)};return Co=p,Co}var Ao,Rd;function Dw(){if(Rd)return Ao;Rd=1;const{PassThrough:t}=Me;return Ao=e=>{e={...e};const{array:r}=e;let{encoding:n}=e;const i=n==="buffer";let a=!1;r?a=!(n||i):n=n||"utf8",i&&(n=null);const s=new t({objectMode:a});n&&s.setEncoding(n);let o=0;const c=[];return s.on("data",l=>{c.push(l),a?o=c.length:o+=l.length}),s.getBufferedValue=()=>r?c:i?Buffer.concat(c,o):c.join(""),s.getBufferedLength=()=>o,s},Ao}var kd;function yw(){if(kd)return jr.exports;kd=1;const{constants:t}=Ni,e=gw(),r=Dw();class n extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}async function i(a,s){if(!a)return Promise.reject(new Error("Expected a stream"));s={maxBuffer:1/0,...s};const{maxBuffer:o}=s;let c;return await new Promise((l,f)=>{const p=u=>{u&&c.getBufferedLength()<=t.MAX_LENGTH&&(u.bufferedData=c.getBufferedValue()),f(u)};c=e(a,r(s),u=>{if(u){p(u);return}l()}),c.on("data",()=>{c.getBufferedLength()>o&&p(new n)})}),c.getBufferedValue()}return jr.exports=i,jr.exports.default=i,jr.exports.buffer=(a,s)=>i(a,{...s,encoding:"buffer"}),jr.exports.array=(a,s)=>i(a,{...s,array:!0}),jr.exports.MaxBufferError=n,jr.exports}var _o,qd;function bw(){if(qd)return _o;qd=1;const t=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),e=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),r=new Set([500,502,503,504]),n={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},i={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function a(l){const f=parseInt(l,10);return isFinite(f)?f:0}function s(l){return l?r.has(l.status):!0}function o(l){const f={};if(!l)return f;const p=l.trim().split(/,/);for(const u of p){const[h,d]=u.split(/=/,2);f[h.trim()]=d===void 0?!0:d.trim().replace(/^"|"$/g,"")}return f}function c(l){let f=[];for(const p in l){const u=l[p];f.push(u===!0?p:p+"="+u)}if(f.length)return f.join(", ")}return _o=class{constructor(f,p,{shared:u,cacheHeuristic:h,immutableMinTimeToLive:d,ignoreCargoCult:b,_fromObject:D}={}){if(D){this._fromObject(D);return}if(!p||!p.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(f),this._responseTime=this.now(),this._isShared=u!==!1,this._ignoreCargoCult=!!b,this._cacheHeuristic=h!==void 0?h:.1,this._immutableMinTtl=d!==void 0?d:24*3600*1e3,this._status="status"in p?p.status:200,this._resHeaders=p.headers,this._rescc=o(p.headers["cache-control"]),this._method="method"in f?f.method:"GET",this._url=f.url,this._host=f.headers.host,this._noAuthorization=!f.headers.authorization,this._reqHeaders=p.headers.vary?f.headers:null,this._reqcc=o(f.headers["cache-control"]),this._ignoreCargoCult&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":c(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),p.headers["cache-control"]==null&&/no-cache/.test(p.headers.pragma)&&(this._rescc["no-cache"]=!0)}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&e.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||t.has(this._status)))}_hasExplicitExpiration(){return!!(this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires)}_assertRequestHasHeaders(f){if(!f||!f.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(f){return!this.evaluateRequest(f).revalidation}_evaluateRequestHitResult(f){return{response:{headers:this.responseHeaders()},revalidation:f}}_evaluateRequestRevalidation(f,p){return{synchronous:p,headers:this.revalidationHeaders(f)}}_evaluateRequestMissResult(f){return{response:void 0,revalidation:this._evaluateRequestRevalidation(f,!0)}}evaluateRequest(f){if(this._assertRequestHasHeaders(f),this._rescc["must-revalidate"])return this._evaluateRequestMissResult(f);if(!this._requestMatches(f,!1))return this._evaluateRequestMissResult(f);const p=o(f.headers["cache-control"]);return p["no-cache"]||/no-cache/.test(f.headers.pragma)?this._evaluateRequestMissResult(f):p["max-age"]&&this.age()>a(p["max-age"])?this._evaluateRequestMissResult(f):p["min-fresh"]&&this.maxAge()-this.age()<a(p["min-fresh"])?this._evaluateRequestMissResult(f):this.stale()?"max-stale"in p&&(p["max-stale"]===!0||p["max-stale"]>this.age()-this.maxAge())?this._evaluateRequestHitResult(void 0):this.useStaleWhileRevalidate()?this._evaluateRequestHitResult(this._evaluateRequestRevalidation(f,!1)):this._evaluateRequestMissResult(f):this._evaluateRequestHitResult(void 0)}_requestMatches(f,p){return!!((!this._url||this._url===f.url)&&this._host===f.headers.host&&(!f.method||this._method===f.method||p&&f.method==="HEAD")&&this._varyMatches(f))}_allowsStoringAuthenticated(){return!!(this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"])}_varyMatches(f){if(!this._resHeaders.vary)return!0;if(this._resHeaders.vary==="*")return!1;const p=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(const u of p)if(f.headers[u]!==this._reqHeaders[u])return!1;return!0}_copyWithoutHopByHopHeaders(f){const p={};for(const u in f)n[u]||(p[u]=f[u]);if(f.connection){const u=f.connection.trim().split(/\s*,\s*/);for(const h of u)delete p[h]}if(p.warning){const u=p.warning.split(/,/).filter(h=>!/^\s*1[0-9][0-9]/.test(h));u.length?p.warning=u.join(",").trim():delete p.warning}return p}responseHeaders(){const f=this._copyWithoutHopByHopHeaders(this._resHeaders),p=this.age();return p>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(f.warning=(f.warning?`${f.warning}, `:"")+'113 - "rfc7234 5.5.4"'),f.age=`${Math.round(p)}`,f.date=new Date(this.now()).toUTCString(),f}date(){const f=Date.parse(this._resHeaders.date);return isFinite(f)?f:this._responseTime}age(){let f=this._ageValue();const p=(this.now()-this._responseTime)/1e3;return f+p}_ageValue(){return a(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return a(this._rescc["s-maxage"])}if(this._rescc["max-age"])return a(this._rescc["max-age"]);const f=this._rescc.immutable?this._immutableMinTtl:0,p=this.date();if(this._resHeaders.expires){const u=Date.parse(this._resHeaders.expires);return Number.isNaN(u)||u<p?0:Math.max(f,(u-p)/1e3)}if(this._resHeaders["last-modified"]){const u=Date.parse(this._resHeaders["last-modified"]);if(isFinite(u)&&p>u)return Math.max(f,(p-u)/1e3*this._cacheHeuristic)}return f}timeToLive(){const f=this.maxAge()-this.age(),p=f+a(this._rescc["stale-if-error"]),u=f+a(this._rescc["stale-while-revalidate"]);return Math.round(Math.max(0,f,p,u)*1e3)}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+a(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){const f=a(this._rescc["stale-while-revalidate"]);return f>0&&this.maxAge()+f>this.age()}static fromObject(f){return new this(void 0,void 0,{_fromObject:f})}_fromObject(f){if(this._responseTime)throw Error("Reinitialized");if(!f||f.v!==1)throw Error("Invalid serialization");this._responseTime=f.t,this._isShared=f.sh,this._cacheHeuristic=f.ch,this._immutableMinTtl=f.imm!==void 0?f.imm:24*3600*1e3,this._ignoreCargoCult=!!f.icc,this._status=f.st,this._resHeaders=f.resh,this._rescc=f.rescc,this._method=f.m,this._url=f.u,this._host=f.h,this._noAuthorization=f.a,this._reqHeaders=f.reqh,this._reqcc=f.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,icc:this._ignoreCargoCult,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(f){this._assertRequestHasHeaders(f);const p=this._copyWithoutHopByHopHeaders(f.headers);if(delete p["if-range"],!this._requestMatches(f,!0)||!this.storable())return delete p["if-none-match"],delete p["if-modified-since"],p;if(this._resHeaders.etag&&(p["if-none-match"]=p["if-none-match"]?`${p["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),p["accept-ranges"]||p["if-match"]||p["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete p["if-modified-since"],p["if-none-match"]){const h=p["if-none-match"].split(/,/).filter(d=>!/^\s*W\//.test(d));h.length?p["if-none-match"]=h.join(",").trim():delete p["if-none-match"]}}else this._resHeaders["last-modified"]&&!p["if-modified-since"]&&(p["if-modified-since"]=this._resHeaders["last-modified"]);return p}revalidatedPolicy(f,p){if(this._assertRequestHasHeaders(f),this._useStaleIfError()&&s(p))return{policy:this,modified:!1,matches:!0};if(!p||!p.headers)throw Error("Response headers missing");let u=!1;p.status!==void 0&&p.status!=304?u=!1:p.headers.etag&&!/^\s*W\//.test(p.headers.etag)?u=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===p.headers.etag:this._resHeaders.etag&&p.headers.etag?u=this._resHeaders.etag.replace(/^\s*W\//,"")===p.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?u=this._resHeaders["last-modified"]===p.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!p.headers.etag&&!p.headers["last-modified"]&&(u=!0);const h={shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl,ignoreCargoCult:this._ignoreCargoCult};if(!u)return{policy:new this.constructor(f,p,h),modified:p.status!=304,matches:!1};const d={};for(const D in this._resHeaders)d[D]=D in p.headers&&!i[D]?p.headers[D]:this._resHeaders[D];const b=Object.assign({},p,{status:this._status,method:this._method,headers:d});return{policy:new this.constructor(f,b,h),modified:!1,matches:!0}}},_o}var So,Pd;function Uf(){return Pd||(Pd=1,So=t=>{const e={};for(const[r,n]of Object.entries(t))e[r.toLowerCase()]=n;return e}),So}var Oo,Id;function vw(){if(Id)return Oo;Id=1;const t=Me.Readable,e=Uf();class r extends t{constructor(i,a,s,o){if(typeof i!="number")throw new TypeError("Argument `statusCode` should be a number");if(typeof a!="object")throw new TypeError("Argument `headers` should be an object");if(!(s instanceof Buffer))throw new TypeError("Argument `body` should be a buffer");if(typeof o!="string")throw new TypeError("Argument `url` should be a string");super(),this.statusCode=i,this.headers=e(a),this.body=s,this.url=o}_read(){this.push(this.body),this.push(null)}}return Oo=r,Oo}var To,Nd;function xw(){if(Nd)return To;Nd=1;const t=["destroy","setTimeout","socket","headers","trailers","rawHeaders","statusCode","httpVersion","httpVersionMinor","httpVersionMajor","rawTrailers","statusMessage"];return To=(e,r)=>{const n=new Set(Object.keys(e).concat(t));for(const i of n)i in r||(r[i]=typeof e[i]=="function"?e[i].bind(e):e[i])},To}var Bo,Md;function ww(){if(Md)return Bo;Md=1;const t=Me.PassThrough,e=xw();return Bo=n=>{if(!(n&&n.pipe))throw new TypeError("Parameter `response` must be a response stream.");const i=new t;return e(n,i),n.pipe(i)},Bo}function Ew(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var us={},jd;function Fw(){return jd||(jd=1,us.stringify=function t(e){if(typeof e>"u")return e;if(e&&Buffer.isBuffer(e))return JSON.stringify(":base64:"+e.toString("base64"));if(e&&e.toJSON&&(e=e.toJSON()),e&&typeof e=="object"){var r="",n=Array.isArray(e);r=n?"[":"{";var i=!0;for(var a in e){var s=typeof e[a]=="function"||!n&&typeof e[a]>"u";Object.hasOwnProperty.call(e,a)&&!s&&(i||(r+=","),i=!1,n?e[a]==null?r+="null":r+=t(e[a]):e[a]!==void 0&&(r+=t(a)+":"+t(e[a])))}return r+=n?"]":"}",r}else return typeof e=="string"?JSON.stringify(/^:/.test(e)?":"+e:e):typeof e>"u"?"null":JSON.stringify(e)},us.parse=function(t){return JSON.parse(t,function(e,r){return typeof r=="string"?/^:base64:/.test(r)?Buffer.from(r.substring(8),"base64"):/^:/.test(r)?r.substring(1):r:r})}),us}var Ro,Ld;function Cw(){if(Ld)return Ro;Ld=1;const t=He,e=Fw(),r=a=>{const s={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(a.adapter||a.uri){const o=a.adapter||/^[^:+]*/.exec(a.uri)[0];return new(Ew(s[o]))(a)}return new Map},n=["sqlite","postgres","mysql","mongo","redis","tiered"];class i extends t{constructor(s,{emitErrors:o=!0,...c}={}){if(super(),this.opts={namespace:"keyv",serialize:e.stringify,deserialize:e.parse,...typeof s=="string"?{uri:s}:s,...c},!this.opts.store){const f={...this.opts};this.opts.store=r(f)}if(this.opts.compression){const f=this.opts.compression;this.opts.serialize=f.serialize.bind(f),this.opts.deserialize=f.deserialize.bind(f)}typeof this.opts.store.on=="function"&&o&&this.opts.store.on("error",f=>this.emit("error",f)),this.opts.store.namespace=this.opts.namespace;const l=f=>async function*(){for await(const[p,u]of typeof f=="function"?f(this.opts.store.namespace):f){const h=await this.opts.deserialize(u);if(!(this.opts.store.namespace&&!p.includes(this.opts.store.namespace))){if(typeof h.expires=="number"&&Date.now()>h.expires){this.delete(p);continue}yield[this._getKeyUnprefix(p),h.value]}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=l(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=l(this.opts.store.iterator.bind(this.opts.store)))}_checkIterableAdaptar(){return n.includes(this.opts.store.opts.dialect)||n.findIndex(s=>this.opts.store.opts.url.includes(s))>=0}_getKeyPrefix(s){return`${this.opts.namespace}:${s}`}_getKeyPrefixArray(s){return s.map(o=>`${this.opts.namespace}:${o}`)}_getKeyUnprefix(s){return s.split(":").splice(1).join(":")}get(s,o){const{store:c}=this.opts,l=Array.isArray(s),f=l?this._getKeyPrefixArray(s):this._getKeyPrefix(s);if(l&&c.getMany===void 0){const p=[];for(const u of f)p.push(Promise.resolve().then(()=>c.get(u)).then(h=>typeof h=="string"?this.opts.deserialize(h):this.opts.compression?this.opts.deserialize(h):h).then(h=>{if(h!=null)return typeof h.expires=="number"&&Date.now()>h.expires?this.delete(u).then(()=>{}):o&&o.raw?h:h.value}));return Promise.allSettled(p).then(u=>{const h=[];for(const d of u)h.push(d.value);return h})}return Promise.resolve().then(()=>l?c.getMany(f):c.get(f)).then(p=>typeof p=="string"?this.opts.deserialize(p):this.opts.compression?this.opts.deserialize(p):p).then(p=>{if(p!=null)return l?p.map((u,h)=>{if(typeof u=="string"&&(u=this.opts.deserialize(u)),u!=null){if(typeof u.expires=="number"&&Date.now()>u.expires){this.delete(s[h]).then(()=>{});return}return o&&o.raw?u:u.value}}):typeof p.expires=="number"&&Date.now()>p.expires?this.delete(s).then(()=>{}):o&&o.raw?p:p.value})}set(s,o,c){const l=this._getKeyPrefix(s);typeof c>"u"&&(c=this.opts.ttl),c===0&&(c=void 0);const{store:f}=this.opts;return Promise.resolve().then(()=>{const p=typeof c=="number"?Date.now()+c:null;return typeof o=="symbol"&&this.emit("error","symbol cannot be serialized"),o={value:o,expires:p},this.opts.serialize(o)}).then(p=>f.set(l,p,c)).then(()=>!0)}delete(s){const{store:o}=this.opts;if(Array.isArray(s)){const l=this._getKeyPrefixArray(s);if(o.deleteMany===void 0){const f=[];for(const p of l)f.push(o.delete(p));return Promise.allSettled(f).then(p=>p.every(u=>u.value===!0))}return Promise.resolve().then(()=>o.deleteMany(l))}const c=this._getKeyPrefix(s);return Promise.resolve().then(()=>o.delete(c))}clear(){const{store:s}=this.opts;return Promise.resolve().then(()=>s.clear())}has(s){const o=this._getKeyPrefix(s),{store:c}=this.opts;return Promise.resolve().then(async()=>typeof c.has=="function"?c.has(o):await c.get(o)!==void 0)}disconnect(){const{store:s}=this.opts;if(typeof s.disconnect=="function")return s.disconnect()}}return Ro=i,Ro}var ko,$d;function Aw(){if($d)return ko;$d=1;const t=He,e=er,r=dw(),n=yw(),i=bw(),a=vw(),s=Uf(),o=ww(),c=Cw();class l{constructor(h,d){if(typeof h!="function")throw new TypeError("Parameter `request` must be a function");return this.cache=new c({uri:typeof d=="string"&&d,store:typeof d!="string"&&d,namespace:"cacheable-request"}),this.createCacheableRequest(h)}createCacheableRequest(h){return(d,b)=>{let D;if(typeof d=="string")D=p(e.parse(d)),d={};else if(d instanceof e.URL)D=p(e.parse(d.toString())),d={};else{const[F,..._]=(d.path||"").split("?"),T=_.length>0?`?${_.join("?")}`:"";D=p({...d,pathname:F,search:T})}d={headers:{},method:"GET",cache:!0,strictTtl:!1,automaticFailover:!1,...d,...f(D)},d.headers=s(d.headers);const g=new t,y=r(e.format(D),{stripWWW:!1,removeTrailingSlash:!1,stripAuthentication:!1}),w=`${d.method}:${y}`;let E=!1,x=!1;const m=F=>{x=!0;let _=!1,T;const M=new Promise(A=>{T=()=>{_||(_=!0,A())}}),B=A=>{if(E&&!F.forceRefresh){A.status=A.statusCode;const N=i.fromObject(E.cachePolicy).revalidatedPolicy(F,A);if(!N.modified){const z=N.policy.responseHeaders();A=new a(E.statusCode,z,E.body,E.url),A.cachePolicy=N.policy,A.fromCache=!0}}A.fromCache||(A.cachePolicy=new i(F,A,F),A.fromCache=!1);let O;F.cache&&A.cachePolicy.storable()?(O=o(A),(async()=>{try{const N=n.buffer(A);if(await Promise.race([M,new Promise(q=>A.once("end",q))]),_)return;const z=await N,C={cachePolicy:A.cachePolicy.toObject(),url:A.url,statusCode:A.fromCache?E.statusCode:A.statusCode,body:z};let k=F.strictTtl?A.cachePolicy.timeToLive():void 0;F.maxTtl&&(k=k?Math.min(k,F.maxTtl):F.maxTtl),await this.cache.set(w,C,k)}catch(N){g.emit("error",new l.CacheError(N))}})()):F.cache&&E&&(async()=>{try{await this.cache.delete(w)}catch(N){g.emit("error",new l.CacheError(N))}})(),g.emit("response",O||A),typeof b=="function"&&b(O||A)};try{const A=h(F,B);A.once("error",T),A.once("abort",T),g.emit("request",A)}catch(A){g.emit("error",new l.RequestError(A))}};return(async()=>{const F=async T=>{await Promise.resolve();const M=T.cache?await this.cache.get(w):void 0;if(typeof M>"u")return m(T);const B=i.fromObject(M.cachePolicy);if(B.satisfiesWithoutRevalidation(T)&&!T.forceRefresh){const A=B.responseHeaders(),O=new a(M.statusCode,A,M.body,M.url);O.cachePolicy=B,O.fromCache=!0,g.emit("response",O),typeof b=="function"&&b(O)}else E=M,T.headers=B.revalidationHeaders(T),m(T)},_=T=>g.emit("error",new l.CacheError(T));this.cache.once("error",_),g.on("response",()=>this.cache.removeListener("error",_));try{await F(d)}catch(T){d.automaticFailover&&!x&&m(d),g.emit("error",new l.CacheError(T))}})(),g}}}function f(u){const h={...u};return h.path=`${u.pathname||"/"}${u.search||""}`,delete h.pathname,delete h.search,h}function p(u){return{protocol:u.protocol,auth:u.auth,hostname:u.hostname||u.host||"localhost",port:u.port,pathname:u.pathname,search:u.search}}return l.RequestError=class extends Error{constructor(u){super(u.message),this.name="RequestError",Object.assign(this,u)}},l.CacheError=class extends Error{constructor(u){super(u.message),this.name="CacheError",Object.assign(this,u)}},ko=l,ko}var qo,Ud;function _w(){if(Ud)return qo;Ud=1;const t=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];return qo=(e,r)=>{if(r._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");const n=new Set(Object.keys(e).concat(t)),i={};for(const a of n)a in r||(i[a]={get(){const s=e[a];return typeof s=="function"?s.bind(e):s},set(s){e[a]=s},enumerable:!0,configurable:!1});return Object.defineProperties(r,i),e.once("aborted",()=>{r.destroy(),r.emit("aborted")}),e.once("close",()=>{e.complete&&r.readable?r.once("end",()=>{r.emit("close")}):r.emit("close")}),r},qo}var Po,zd;function Sw(){if(zd)return Po;zd=1;const{Transform:t,PassThrough:e}=Me,r=my,n=_w();return Po=i=>{const a=(i.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(a))return i;const s=a==="br";if(s&&typeof r.createBrotliDecompress!="function")return i.destroy(new Error("Brotli is not supported on Node.js < 12")),i;let o=!0;const c=new t({transform(p,u,h){o=!1,h(null,p)},flush(p){p()}}),l=new e({autoDestroy:!1,destroy(p,u){i.destroy(),u(p)}}),f=s?r.createBrotliDecompress():r.createUnzip();return f.once("error",p=>{if(o&&!i.readable){l.end();return}l.destroy(p)}),n(i,l),i.pipe(c).pipe(f).pipe(l),l},Po}var Io,Hd;function My(){if(Hd)return Io;Hd=1;class t{constructor(r={}){if(!(r.maxSize&&r.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=r.maxSize,this.onEviction=r.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(r,n){if(this.cache.set(r,n),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(const[i,a]of this.oldCache.entries())this.onEviction(i,a);this.oldCache=this.cache,this.cache=new Map}}get(r){if(this.cache.has(r))return this.cache.get(r);if(this.oldCache.has(r)){const n=this.oldCache.get(r);return this.oldCache.delete(r),this._set(r,n),n}}set(r,n){return this.cache.has(r)?this.cache.set(r,n):this._set(r,n),this}has(r){return this.cache.has(r)||this.oldCache.has(r)}peek(r){if(this.cache.has(r))return this.cache.get(r);if(this.oldCache.has(r))return this.oldCache.get(r)}delete(r){const n=this.cache.delete(r);return n&&this._size--,this.oldCache.delete(r)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[r]of this)yield r}*values(){for(const[,r]of this)yield r}*[Symbol.iterator](){for(const r of this.cache)yield r;for(const r of this.oldCache){const[n]=r;this.cache.has(n)||(yield r)}}get size(){let r=0;for(const n of this.oldCache.keys())this.cache.has(n)||r++;return Math.min(this._size+r,this.maxSize)}}return Io=t,Io}var No,Vd;function jy(){if(Vd)return No;Vd=1;const t=He,e=gy,r=Lf,n=My(),i=Symbol("currentStreamsCount"),a=Symbol("request"),s=Symbol("cachedOriginSet"),o=Symbol("gracefullyClosing"),c=["maxDeflateDynamicTableSize","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","localAddress","path","rejectUnauthorized","minDHSize","ca","cert","clientCertEngine","ciphers","key","pfx","servername","minVersion","maxVersion","secureProtocol","crl","honorCipherOrder","ecdhCurve","dhparam","secureOptions","sessionIdContext"],l=(D,g,y)=>{let w=0,E=D.length;for(;w<E;){const x=w+E>>>1;y(D[x],g)?w=x+1:E=x}return w},f=(D,g)=>D.remoteSettings.maxConcurrentStreams>g.remoteSettings.maxConcurrentStreams,p=(D,g)=>{for(const y of D)y[s].length<g[s].length&&y[s].every(w=>g[s].includes(w))&&y[i]+g[i]<=g.remoteSettings.maxConcurrentStreams&&d(y)},u=(D,g)=>{for(const y of D)g[s].length<y[s].length&&g[s].every(w=>y[s].includes(w))&&g[i]+y[i]<=y.remoteSettings.maxConcurrentStreams&&d(g)},h=({agent:D,isFree:g})=>{const y={};for(const w in D.sessions){const x=D.sessions[w].filter(m=>{const F=m[b.kCurrentStreamsCount]<m.remoteSettings.maxConcurrentStreams;return g?F:!F});x.length!==0&&(y[w]=x)}return y},d=D=>{D[o]=!0,D[i]===0&&D.close()};class b extends t{constructor({timeout:g=6e4,maxSessions:y=1/0,maxFreeSessions:w=10,maxCachedTlsSessions:E=100}={}){super(),this.sessions={},this.queue={},this.timeout=g,this.maxSessions=y,this.maxFreeSessions=w,this._freeSessionsCount=0,this._sessionsCount=0,this.settings={enablePush:!1},this.tlsSessionCache=new n({maxSize:E})}static normalizeOrigin(g,y){return typeof g=="string"&&(g=new URL(g)),y&&g.hostname!==y&&(g.hostname=y),g.origin}normalizeOptions(g){let y="";if(g)for(const w of c)g[w]&&(y+=`:${g[w]}`);return y}_tryToCreateNewSession(g,y){if(!(g in this.queue)||!(y in this.queue[g]))return;const w=this.queue[g][y];this._sessionsCount<this.maxSessions&&!w.completed&&(w.completed=!0,w())}getSession(g,y,w){return new Promise((E,x)=>{Array.isArray(w)?(w=[...w],E()):w=[{resolve:E,reject:x}];const m=this.normalizeOptions(y),F=b.normalizeOrigin(g,y&&y.servername);if(F===void 0){for(const{reject:M}of w)M(new TypeError("The `origin` argument needs to be a string or an URL object"));return}if(m in this.sessions){const M=this.sessions[m];let B=-1,A=-1,O;for(const N of M){const z=N.remoteSettings.maxConcurrentStreams;if(z<B)break;if(N[s].includes(F)){const C=N[i];if(C>=z||N[o]||N.destroyed)continue;O||(B=z),C>A&&(O=N,A=C)}}if(O){if(w.length!==1){for(const{reject:N}of w){const z=new Error(`Expected the length of listeners to be 1, got ${w.length}.
|
|
34
|
-
Please report this to https://github.com/szmarczak/http2-wrapper/`);N(z)}return}w[0].resolve(O);return}}if(m in this.queue){if(F in this.queue[m]){this.queue[m][F].listeners.push(...w),this._tryToCreateNewSession(m,F);return}}else this.queue[m]={};const _=()=>{m in this.queue&&this.queue[m][F]===T&&(delete this.queue[m][F],Object.keys(this.queue[m]).length===0&&delete this.queue[m])},T=()=>{const M=`${F}:${m}`;let B=!1;try{const A=r.connect(g,{createConnection:this.createConnection,settings:this.settings,session:this.tlsSessionCache.get(M),...y});A[i]=0,A[o]=!1;const O=()=>A[i]<A.remoteSettings.maxConcurrentStreams;let N=!0;A.socket.once("session",C=>{this.tlsSessionCache.set(M,C)}),A.once("error",C=>{for(const{reject:k}of w)k(C);this.tlsSessionCache.delete(M)}),A.setTimeout(this.timeout,()=>{A.destroy()}),A.once("close",()=>{if(B){N&&this._freeSessionsCount--,this._sessionsCount--;const C=this.sessions[m];C.splice(C.indexOf(A),1),C.length===0&&delete this.sessions[m]}else{const C=new Error("Session closed without receiving a SETTINGS frame");C.code="HTTP2WRAPPER_NOSETTINGS";for(const{reject:k}of w)k(C);_()}this._tryToCreateNewSession(m,F)});const z=()=>{if(!(!(m in this.queue)||!O())){for(const C of A[s])if(C in this.queue[m]){const{listeners:k}=this.queue[m][C];for(;k.length!==0&&O();)k.shift().resolve(A);const q=this.queue[m];if(q[C].listeners.length===0&&(delete q[C],Object.keys(q).length===0)){delete this.queue[m];break}if(!O())break}}};A.on("origin",()=>{A[s]=A.originSet,O()&&(z(),p(this.sessions[m],A))}),A.once("remoteSettings",()=>{if(A.ref(),A.unref(),this._sessionsCount++,T.destroyed){const C=new Error("Agent has been destroyed");for(const k of w)k.reject(C);A.destroy();return}A[s]=A.originSet;{const C=this.sessions;if(m in C){const k=C[m];k.splice(l(k,A,f),0,A)}else C[m]=[A]}this._freeSessionsCount+=1,B=!0,this.emit("session",A),z(),_(),A[i]===0&&this._freeSessionsCount>this.maxFreeSessions&&A.close(),w.length!==0&&(this.getSession(F,y,w),w.length=0),A.on("remoteSettings",()=>{z(),p(this.sessions[m],A)})}),A[a]=A.request,A.request=(C,k)=>{if(A[o])throw new Error("The session is gracefully closing. No new streams are allowed.");const q=A[a](C,k);return A.ref(),++A[i],A[i]===A.remoteSettings.maxConcurrentStreams&&this._freeSessionsCount--,q.once("close",()=>{if(N=O(),--A[i],!A.destroyed&&!A.closed&&(u(this.sessions[m],A),O()&&!A.closed)){N||(this._freeSessionsCount++,N=!0);const L=A[i]===0;L&&A.unref(),L&&(this._freeSessionsCount>this.maxFreeSessions||A[o])?A.close():(p(this.sessions[m],A),z())}}),q}}catch(A){for(const O of w)O.reject(A);_()}};T.listeners=w,T.completed=!1,T.destroyed=!1,this.queue[m][F]=T,this._tryToCreateNewSession(m,F)})}request(g,y,w,E){return new Promise((x,m)=>{this.getSession(g,y,[{reject:m,resolve:F=>{try{x(F.request(w,E))}catch(_){m(_)}}}])})}createConnection(g,y){return b.connect(g,y)}static connect(g,y){y.ALPNProtocols=["h2"];const w=g.port||443,E=g.hostname||g.host;return typeof y.servername>"u"&&(y.servername=E),e.connect(w,E,y)}closeFreeSessions(){for(const g of Object.values(this.sessions))for(const y of g)y[i]===0&&y.close()}destroy(g){for(const y of Object.values(this.sessions))for(const w of y)w.destroy(g);for(const y of Object.values(this.queue))for(const w of Object.values(y))w.destroyed=!0;this.queue={}}get freeSessions(){return h({agent:this,isFree:!0})}get busySessions(){return h({agent:this,isFree:!1})}}return b.kCurrentStreamsCount=i,b.kGracefullyClosing=o,No={Agent:b,globalAgent:new b},No}var Mo,Wd;function Ly(){if(Wd)return Mo;Wd=1;const{Readable:t}=Me;class e extends t{constructor(n,i){super({highWaterMark:i,autoDestroy:!1}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=n,this.connection=n,this._dumped=!1}_destroy(n){this.req._request.destroy(n)}setTimeout(n,i){return this.req.setTimeout(n,i),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume())}_read(){this.req&&this.req._request.resume()}}return Mo=e,Mo}var jo,Gd;function $y(){return Gd||(Gd=1,jo=t=>{const e={protocol:t.protocol,hostname:typeof t.hostname=="string"&&t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,host:t.host,hash:t.hash,search:t.search,pathname:t.pathname,href:t.href,path:`${t.pathname||""}${t.search||""}`};return typeof t.port=="string"&&t.port.length!==0&&(e.port=Number(t.port)),(t.username||t.password)&&(e.auth=`${t.username||""}:${t.password||""}`),e}),jo}var Lo,Yd;function Ow(){return Yd||(Yd=1,Lo=(t,e,r)=>{for(const n of r)t.on(n,(...i)=>e.emit(n,...i))}),Lo}var $o,Zd;function Tw(){return Zd||(Zd=1,$o=t=>{switch(t){case":method":case":scheme":case":authority":case":path":return!0;default:return!1}}),$o}var Uo={exports:{}},Jd;function Bw(){return Jd||(Jd=1,(function(t){const e=(r,n,i)=>{t.exports[n]=class extends r{constructor(...s){super(typeof i=="string"?i:i(s)),this.name=`${super.name} [${n}]`,this.code=n}}};e(TypeError,"ERR_INVALID_ARG_TYPE",r=>{const n=r[0].includes(".")?"property":"argument";let i=r[1];const a=Array.isArray(i);return a&&(i=`${i.slice(0,-1).join(", ")} or ${i.slice(-1)}`),`The "${r[0]}" ${n} must be ${a?"one of":"of"} type ${i}. Received ${typeof r[2]}`}),e(TypeError,"ERR_INVALID_PROTOCOL",r=>`Protocol "${r[0]}" not supported. Expected "${r[1]}"`),e(Error,"ERR_HTTP_HEADERS_SENT",r=>`Cannot ${r[0]} headers after they are sent to the client`),e(TypeError,"ERR_INVALID_HTTP_TOKEN",r=>`${r[0]} must be a valid HTTP token [${r[1]}]`),e(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",r=>`Invalid value "${r[0]} for header "${r[1]}"`),e(TypeError,"ERR_INVALID_CHAR",r=>`Invalid character in ${r[0]} [${r[1]}]`)})(Uo)),Uo.exports}var zo,Kd;function Uy(){if(Kd)return zo;Kd=1;const t=Lf,{Writable:e}=Me,{Agent:r,globalAgent:n}=jy(),i=Ly(),a=$y(),s=Ow(),o=Tw(),{ERR_INVALID_ARG_TYPE:c,ERR_INVALID_PROTOCOL:l,ERR_HTTP_HEADERS_SENT:f,ERR_INVALID_HTTP_TOKEN:p,ERR_HTTP_INVALID_HEADER_VALUE:u,ERR_INVALID_CHAR:h}=Bw(),{HTTP2_HEADER_STATUS:d,HTTP2_HEADER_METHOD:b,HTTP2_HEADER_PATH:D,HTTP2_METHOD_CONNECT:g}=t.constants,y=Symbol("headers"),w=Symbol("origin"),E=Symbol("session"),x=Symbol("options"),m=Symbol("flushedHeaders"),F=Symbol("jobs"),_=/^[\^`\-\w!#$%&*+.|~]+$/,T=/[^\t\u0020-\u007E\u0080-\u00FF]/;class M extends e{constructor(A,O,N){super({autoDestroy:!1});const z=typeof A=="string"||A instanceof URL;if(z&&(A=a(A instanceof URL?A:new URL(A))),typeof O=="function"||O===void 0?(N=O,O=z?A:{...A}):O={...A,...O},O.h2session)this[E]=O.h2session;else if(O.agent===!1)this.agent=new r({maxFreeSessions:0});else if(typeof O.agent>"u"||O.agent===null)typeof O.createConnection=="function"?(this.agent=new r({maxFreeSessions:0}),this.agent.createConnection=O.createConnection):this.agent=n;else if(typeof O.agent.request=="function")this.agent=O.agent;else throw new c("options.agent",["Agent-like Object","undefined","false"],O.agent);if(O.protocol&&O.protocol!=="https:")throw new l(O.protocol,"https:");const C=O.port||O.defaultPort||this.agent&&this.agent.defaultPort||443,k=O.hostname||O.host||"localhost";delete O.hostname,delete O.host,delete O.port;const{timeout:q}=O;if(O.timeout=void 0,this[y]=Object.create(null),this[F]=[],this.socket=null,this.connection=null,this.method=O.method||"GET",this.path=O.path,this.res=null,this.aborted=!1,this.reusedSocket=!1,O.headers)for(const[L,$]of Object.entries(O.headers))this.setHeader(L,$);O.auth&&!("authorization"in this[y])&&(this[y].authorization="Basic "+Buffer.from(O.auth).toString("base64")),O.session=O.tlsSession,O.path=O.socketPath,this[x]=O,C===443?(this[w]=`https://${k}`,":authority"in this[y]||(this[y][":authority"]=k)):(this[w]=`https://${k}:${C}`,":authority"in this[y]||(this[y][":authority"]=`${k}:${C}`)),q&&this.setTimeout(q),N&&this.once("response",N),this[m]=!1}get method(){return this[y][b]}set method(A){A&&(this[y][b]=A.toUpperCase())}get path(){return this[y][D]}set path(A){A&&(this[y][D]=A)}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(A,O,N){if(this._mustNotHaveABody){N(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();const z=()=>this._request.write(A,O,N);this._request?z():this[F].push(z)}_final(A){if(this.destroyed)return;this.flushHeaders();const O=()=>{if(this._mustNotHaveABody){A();return}this._request.end(A)};this._request?O():this[F].push(O)}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy())}_destroy(A,O){this.res&&this.res._dump(),this._request&&this._request.destroy(),O(A)}async flushHeaders(){if(this[m]||this.destroyed)return;this[m]=!0;const A=this.method===g,O=N=>{if(this._request=N,this.destroyed){N.destroy();return}A||s(N,this,["timeout","continue","close","error"]);const z=k=>(...q)=>{!this.writable&&!this.destroyed?k(...q):this.once("finish",()=>{k(...q)})};N.once("response",z((k,q,L)=>{const $=new i(this.socket,N.readableHighWaterMark);this.res=$,$.req=this,$.statusCode=k[d],$.headers=k,$.rawHeaders=L,$.once("end",()=>{this.aborted?($.aborted=!0,$.emit("aborted")):($.complete=!0,$.socket=null,$.connection=null)}),A?($.upgrade=!0,this.emit("connect",$,N,Buffer.alloc(0))?this.emit("close"):N.destroy()):(N.on("data",J=>{!$._dumped&&!$.push(J)&&N.pause()}),N.once("end",()=>{$.push(null)}),this.emit("response",$)||$._dump())})),N.once("headers",z(k=>this.emit("information",{statusCode:k[d]}))),N.once("trailers",z((k,q,L)=>{const{res:$}=this;$.trailers=k,$.rawTrailers=L}));const{socket:C}=N.session;this.socket=C,this.connection=C;for(const k of this[F])k();this.emit("socket",this.socket)};if(this[E])try{O(this[E].request(this[y]))}catch(N){this.emit("error",N)}else{this.reusedSocket=!0;try{O(await this.agent.request(this[w],this[x],this[y]))}catch(N){this.emit("error",N)}}}getHeader(A){if(typeof A!="string")throw new c("name","string",A);return this[y][A.toLowerCase()]}get headersSent(){return this[m]}removeHeader(A){if(typeof A!="string")throw new c("name","string",A);if(this.headersSent)throw new f("remove");delete this[y][A.toLowerCase()]}setHeader(A,O){if(this.headersSent)throw new f("set");if(typeof A!="string"||!_.test(A)&&!o(A))throw new p("Header name",A);if(typeof O>"u")throw new u(O,A);if(T.test(O))throw new h("header content",A);this[y][A.toLowerCase()]=O}setNoDelay(){}setSocketKeepAlive(){}setTimeout(A,O){const N=()=>this._request.setTimeout(A,O);return this._request?N():this[F].push(N),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(A){}}return zo=M,zo}var cs={exports:{}},Ho,Xd;function Rw(){if(Xd)return Ho;Xd=1;const t=gy;return Ho=(e={},r=t.connect)=>new Promise((n,i)=>{let a=!1,s;const o=async()=>{await l,s.off("timeout",c),s.off("error",i),e.resolveSocket?(n({alpnProtocol:s.alpnProtocol,socket:s,timeout:a}),a&&(await Promise.resolve(),s.emit("timeout"))):(s.destroy(),n({alpnProtocol:s.alpnProtocol,timeout:a}))},c=async()=>{a=!0,o()},l=(async()=>{try{s=await r(e,o),s.on("error",i),s.once("timeout",c)}catch(f){i(f)}})()}),Ho}var Vo,Qd;function kw(){if(Qd)return Vo;Qd=1;const t=Dy;return Vo=e=>{let r=e.host;const n=e.headers&&e.headers.host;return n&&(n.startsWith("[")?n.indexOf("]")===-1?r=n:r=n.slice(1,-1):r=n.split(":",1)[0]),t.isIP(r)?"":r},Vo}var eh;function qw(){if(eh)return cs.exports;eh=1;const t=Rn,e=Mi,r=Rw(),n=My(),i=Uy(),a=kw(),s=$y(),o=new n({maxSize:100}),c=new Map,l=(p,u,h)=>{u._httpMessage={shouldKeepAlive:!0};const d=()=>{p.emit("free",u,h)};u.on("free",d);const b=()=>{p.removeSocket(u,h)};u.on("close",b);const D=()=>{p.removeSocket(u,h),u.off("close",b),u.off("free",d),u.off("agentRemove",D)};u.on("agentRemove",D),p.emit("free",u,h)},f=async p=>{const u=`${p.host}:${p.port}:${p.ALPNProtocols.sort()}`;if(!o.has(u)){if(c.has(u))return(await c.get(u)).alpnProtocol;const{path:h,agent:d}=p;p.path=p.socketPath;const b=r(p);c.set(u,b);try{const{socket:D,alpnProtocol:g}=await b;if(o.set(u,g),p.path=h,g==="h2")D.destroy();else{const{globalAgent:y}=e,w=e.Agent.prototype.createConnection;d?d.createConnection===w?l(d,D,p):D.destroy():y.createConnection===w?l(y,D,p):D.destroy()}return c.delete(u),g}catch(D){throw c.delete(u),D}}return o.get(u)};return cs.exports=async(p,u,h)=>{if((typeof p=="string"||p instanceof URL)&&(p=s(new URL(p))),typeof u=="function"&&(h=u,u=void 0),u={ALPNProtocols:["h2","http/1.1"],...p,...u,resolveSocket:!0},!Array.isArray(u.ALPNProtocols)||u.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");u.protocol=u.protocol||"https:";const d=u.protocol==="https:";u.host=u.hostname||u.host||"localhost",u.session=u.tlsSession,u.servername=u.servername||a(u),u.port=u.port||(d?443:80),u._defaultAgent=d?e.globalAgent:t.globalAgent;const b=u.agent;if(b){if(b.addRequest)throw new Error("The `options.agent` object can contain only `http`, `https` or `http2` properties");u.agent=b[d?"https":"http"]}return d&&await f(u)==="h2"?(b&&(u.agent=b.http2),new i(u,h)):t.request(u,h)},cs.exports.protocolCache=o,cs.exports}var Wo,th;function Pw(){if(th)return Wo;th=1;const t=Lf,e=jy(),r=Uy(),n=Ly(),i=qw();return Wo={...t,ClientRequest:r,IncomingMessage:n,...e,request:(o,c,l)=>new r(o,c,l),get:(o,c,l)=>{const f=new r(o,c,l);return f.end(),f},auto:i},Wo}var ls={},fs={},rh;function zy(){if(rh)return fs;rh=1,Object.defineProperty(fs,"__esModule",{value:!0});const t=qr();return fs.default=e=>t.default.nodeStream(e)&&t.default.function_(e.getBoundary),fs}var nh;function Iw(){if(nh)return ls;nh=1,Object.defineProperty(ls,"__esModule",{value:!0});const t=$e,e=Ve,r=qr(),n=zy(),i=e.promisify(t.stat);return ls.default=async(a,s)=>{if(s&&"content-length"in s)return Number(s["content-length"]);if(!a)return 0;if(r.default.string(a))return Buffer.byteLength(a);if(r.default.buffer(a))return a.length;if(n.default(a))return e.promisify(a.getLength.bind(a))();if(a instanceof t.ReadStream){const{size:o}=await i(a.path);return o===0?void 0:o}},ls}var ps={},ih;function Hy(){if(ih)return ps;ih=1,Object.defineProperty(ps,"__esModule",{value:!0});function t(e,r,n){const i={};for(const a of n)i[a]=(...s)=>{r.emit(a,...s)},e.on(a,i[a]);return()=>{for(const a of n)e.off(a,i[a])}}return ps.default=t,ps}var yn={},ds={},sh;function Nw(){return sh||(sh=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=()=>{const t=[];return{once(e,r,n){e.once(r,n),t.push({origin:e,event:r,fn:n})},unhandleAll(){for(const e of t){const{origin:r,event:n,fn:i}=e;r.removeListener(n,i)}t.length=0}}}),ds}var ah;function Mw(){if(ah)return yn;ah=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.TimeoutError=void 0;const t=Dy,e=Nw(),r=Symbol("reentry"),n=()=>{};class i extends Error{constructor(s,o){super(`Timeout awaiting '${o}' for ${s}ms`),this.event=o,this.name="TimeoutError",this.code="ETIMEDOUT"}}return yn.TimeoutError=i,yn.default=(a,s,o)=>{if(r in a)return n;a[r]=!0;const c=[],{once:l,unhandleAll:f}=e.default(),p=(D,g,y)=>{var w;const E=setTimeout(g,D,D,y);(w=E.unref)===null||w===void 0||w.call(E);const x=()=>{clearTimeout(E)};return c.push(x),x},{host:u,hostname:h}=o,d=(D,g)=>{a.destroy(new i(D,g))},b=()=>{for(const D of c)D();f()};if(a.once("error",D=>{if(b(),a.listenerCount("error")===0)throw D}),a.once("close",b),l(a,"response",D=>{l(D,"end",b)}),typeof s.request<"u"&&p(s.request,d,"request"),typeof s.socket<"u"){const D=()=>{d(s.socket,"socket")};a.setTimeout(s.socket,D),c.push(()=>{a.removeListener("timeout",D)})}return l(a,"socket",D=>{var g;const{socketPath:y}=a;if(D.connecting){const w=!!(y??t.isIP((g=h??u)!==null&&g!==void 0?g:"")!==0);if(typeof s.lookup<"u"&&!w&&typeof D.address().address>"u"){const E=p(s.lookup,d,"lookup");l(D,"lookup",E)}if(typeof s.connect<"u"){const E=()=>p(s.connect,d,"connect");w?l(D,"connect",E()):l(D,"lookup",x=>{x===null&&l(D,"connect",E())})}typeof s.secureConnect<"u"&&o.protocol==="https:"&&l(D,"connect",()=>{const E=p(s.secureConnect,d,"secureConnect");l(D,"secureConnect",E)})}if(typeof s.send<"u"){const w=()=>p(s.send,d,"send");D.connecting?l(D,"connect",()=>{l(a,"upload-complete",w())}):l(a,"upload-complete",w())}}),typeof s.response<"u"&&l(a,"upload-complete",()=>{const D=p(s.response,d,"response");l(a,"response",D)}),b},yn}var hs={},oh;function jw(){if(oh)return hs;oh=1,Object.defineProperty(hs,"__esModule",{value:!0});const t=qr();return hs.default=e=>{e=e;const r={protocol:e.protocol,hostname:t.default.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};return t.default.string(e.port)&&e.port.length>0&&(r.port=Number(e.port)),(e.username||e.password)&&(r.auth=`${e.username||""}:${e.password||""}`),r},hs}var ms={},uh;function Lw(){if(uh)return ms;uh=1,Object.defineProperty(ms,"__esModule",{value:!0});const t=er,e=["protocol","host","hostname","port","pathname","search"];return ms.default=(r,n)=>{var i,a;if(n.path){if(n.pathname)throw new TypeError("Parameters `path` and `pathname` are mutually exclusive.");if(n.search)throw new TypeError("Parameters `path` and `search` are mutually exclusive.");if(n.searchParams)throw new TypeError("Parameters `path` and `searchParams` are mutually exclusive.")}if(n.search&&n.searchParams)throw new TypeError("Parameters `search` and `searchParams` are mutually exclusive.");if(!r){if(!n.protocol)throw new TypeError("No URL protocol specified");r=`${n.protocol}//${(a=(i=n.hostname)!==null&&i!==void 0?i:n.host)!==null&&a!==void 0?a:""}`}const s=new t.URL(r);if(n.path){const o=n.path.indexOf("?");o===-1?n.pathname=n.path:(n.pathname=n.path.slice(0,o),n.search=n.path.slice(o+1)),delete n.path}for(const o of e)n[o]&&(s[o]=n[o].toString());return s},ms}var gs={},ch;function $w(){if(ch)return gs;ch=1,Object.defineProperty(gs,"__esModule",{value:!0});class t{constructor(){this.weakMap=new WeakMap,this.map=new Map}set(r,n){typeof r=="object"?this.weakMap.set(r,n):this.map.set(r,n)}get(r){return typeof r=="object"?this.weakMap.get(r):this.map.get(r)}has(r){return typeof r=="object"?this.weakMap.has(r):this.map.has(r)}}return gs.default=t,gs}var Ds={},lh;function Vy(){if(lh)return Ds;lh=1,Object.defineProperty(Ds,"__esModule",{value:!0});const t=async e=>{const r=[];let n=0;for await(const i of e)r.push(i),n+=Buffer.byteLength(i);return Buffer.isBuffer(r[0])?Buffer.concat(r,n):Buffer.from(r.join(""))};return Ds.default=t,Ds}var Go={},fh;function Uw(){return fh||(fh=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.dnsLookupIpVersionToFamily=t.isDnsLookupIpVersion=void 0;const e={auto:0,ipv4:4,ipv6:6};t.isDnsLookupIpVersion=r=>r in e,t.dnsLookupIpVersionToFamily=r=>{if(t.isDnsLookupIpVersion(r))return e[r];throw new Error("Invalid DNS lookup IP version")}})(Go)),Go}var Gn={},ph;function Wy(){return ph||(ph=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.isResponseOk=void 0,Gn.isResponseOk=t=>{const{statusCode:e}=t,r=t.request.options.followRedirect?299:399;return e>=200&&e<=r||e===304}),Gn}var ys={},dh;function zw(){if(dh)return ys;dh=1,Object.defineProperty(ys,"__esModule",{value:!0});const t=new Set;return ys.default=e=>{t.has(e)||(t.add(e),process.emitWarning(`Got: ${e}`,{type:"DeprecationWarning"}))},ys}var bs={},hh;function Hw(){if(hh)return bs;hh=1,Object.defineProperty(bs,"__esModule",{value:!0});const t=qr(),e=(r,n)=>{if(t.default.null_(r.encoding))throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");t.assert.any([t.default.string,t.default.undefined],r.encoding),t.assert.any([t.default.boolean,t.default.undefined],r.resolveBodyOnly),t.assert.any([t.default.boolean,t.default.undefined],r.methodRewriting),t.assert.any([t.default.boolean,t.default.undefined],r.isStream),t.assert.any([t.default.string,t.default.undefined],r.responseType),r.responseType===void 0&&(r.responseType="text");const{retry:i}=r;if(n?r.retry={...n.retry}:r.retry={calculateDelay:a=>a.computedValue,limit:0,methods:[],statusCodes:[],errorCodes:[],maxRetryAfter:void 0},t.default.object(i)?(r.retry={...r.retry,...i},r.retry.methods=[...new Set(r.retry.methods.map(a=>a.toUpperCase()))],r.retry.statusCodes=[...new Set(r.retry.statusCodes)],r.retry.errorCodes=[...new Set(r.retry.errorCodes)]):t.default.number(i)&&(r.retry.limit=i),t.default.undefined(r.retry.maxRetryAfter)&&(r.retry.maxRetryAfter=Math.min(...[r.timeout.request,r.timeout.connect].filter(t.default.number))),t.default.object(r.pagination)){n&&(r.pagination={...n.pagination,...r.pagination});const{pagination:a}=r;if(!t.default.function_(a.transform))throw new Error("`options.pagination.transform` must be implemented");if(!t.default.function_(a.shouldContinue))throw new Error("`options.pagination.shouldContinue` must be implemented");if(!t.default.function_(a.filter))throw new TypeError("`options.pagination.filter` must be implemented");if(!t.default.function_(a.paginate))throw new Error("`options.pagination.paginate` must be implemented")}return r.responseType==="json"&&r.headers.accept===void 0&&(r.headers.accept="application/json"),r};return bs.default=e,bs}var bn={},mh;function Vw(){if(mh)return bn;mh=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.retryAfterStatusCodes=void 0,bn.retryAfterStatusCodes=new Set([413,429,503]);const t=({attemptCount:e,retryOptions:r,error:n,retryAfter:i})=>{if(e>r.limit)return 0;const a=r.methods.includes(n.options.method),s=r.errorCodes.includes(n.code),o=n.response&&r.statusCodes.includes(n.response.statusCode);if(!a||!s&&!o)return 0;if(n.response){if(i)return r.maxRetryAfter===void 0||i>r.maxRetryAfter?0:i;if(n.response.statusCode===413)return 0}const c=Math.random()*100;return 2**(e-1)*1e3+c};return bn.default=t,bn}var gh;function ha(){return gh||(gh=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedProtocolError=t.ReadError=t.TimeoutError=t.UploadError=t.CacheError=t.HTTPError=t.MaxRedirectsError=t.RequestError=t.setNonEnumerableProperties=t.knownHookEvents=t.withoutBody=t.kIsNormalizedAlready=void 0;const e=Ve,r=Me,n=$e,i=er,a=Rn,s=Rn,o=Mi,c=fw(),l=pw(),f=Aw(),p=Sw(),u=Pw(),h=Uf(),d=qr(),b=Iw(),D=zy(),g=Hy(),y=Mw(),w=jw(),E=Lw(),x=$w(),m=Vy(),F=Uw(),_=Wy(),T=zw(),M=Hw(),B=Vw();let A;const O=Symbol("request"),N=Symbol("response"),z=Symbol("responseSize"),C=Symbol("downloadedSize"),k=Symbol("bodySize"),q=Symbol("uploadedSize"),L=Symbol("serverResponsesPiped"),$=Symbol("unproxyEvents"),J=Symbol("isFromCache"),se=Symbol("cancelTimeouts"),ue=Symbol("startedReading"),ne=Symbol("stopReading"),ge=Symbol("triggerRead"),X=Symbol("body"),de=Symbol("jobs"),be=Symbol("originalResponse"),De=Symbol("retryTimeout");t.kIsNormalizedAlready=Symbol("isNormalizedAlready");const ae=d.default.string(process.versions.brotli);t.withoutBody=new Set(["GET","HEAD"]),t.knownHookEvents=["init","beforeRequest","beforeRedirect","beforeError","beforeRetry","afterResponse"];function pe(ie){for(const U in ie){const R=ie[U];if(!d.default.string(R)&&!d.default.number(R)&&!d.default.boolean(R)&&!d.default.null_(R)&&!d.default.undefined(R))throw new TypeError(`The \`searchParams\` value '${String(R)}' must be a string, number, boolean or null`)}}function we(ie){return d.default.object(ie)&&!("statusCode"in ie)}const Te=new x.default,Y=async ie=>new Promise((U,R)=>{const te=Ee=>{R(Ee)};ie.pending||U(),ie.once("error",te),ie.once("ready",()=>{ie.off("error",te),U()})}),I=new Set([300,301,302,303,304,307,308]),j=["context","body","json","form"];t.setNonEnumerableProperties=(ie,U)=>{const R={};for(const te of ie)if(te)for(const Ee of j)Ee in te&&(R[Ee]={writable:!0,configurable:!0,enumerable:!1,value:te[Ee]});Object.defineProperties(U,R)};class W extends Error{constructor(U,R,te){var Ee,le;if(super(U),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=(Ee=R.code)!==null&&Ee!==void 0?Ee:"ERR_GOT_REQUEST_ERROR",te instanceof ve?(Object.defineProperty(this,"request",{enumerable:!1,value:te}),Object.defineProperty(this,"response",{enumerable:!1,value:te[N]}),Object.defineProperty(this,"options",{enumerable:!1,value:te.options})):Object.defineProperty(this,"options",{enumerable:!1,value:te}),this.timings=(le=this.request)===null||le===void 0?void 0:le.timings,d.default.string(R.stack)&&d.default.string(this.stack)){const he=this.stack.indexOf(this.message)+this.message.length,S=this.stack.slice(he).split(`
|
|
35
|
-
`).reverse(),Z=R.stack.slice(R.stack.indexOf(R.message)+R.message.length).split(`
|
|
36
|
-
`).reverse();for(;Z.length!==0&&Z[0]===S[0];)S.shift();this.stack=`${this.stack.slice(0,he)}${S.reverse().join(`
|
|
37
|
-
`)}${Z.reverse().join(`
|
|
38
|
-
`)}`}}}t.RequestError=W;class G extends W{constructor(U){super(`Redirected ${U.options.maxRedirects} times. Aborting.`,{},U),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}}t.MaxRedirectsError=G;class H extends W{constructor(U){super(`Response code ${U.statusCode} (${U.statusMessage})`,{},U.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}}t.HTTPError=H;class ee extends W{constructor(U,R){super(U.message,U,R),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}}t.CacheError=ee;class v extends W{constructor(U,R){super(U.message,U,R),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}}t.UploadError=v;class V extends W{constructor(U,R,te){super(U.message,U,te),this.name="TimeoutError",this.event=U.event,this.timings=R}}t.TimeoutError=V;class K extends W{constructor(U,R){super(U.message,U,R),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}}t.ReadError=K;class ce extends W{constructor(U){super(`Unsupported protocol "${U.url.protocol}"`,{},U),this.name="UnsupportedProtocolError",this.code="ERR_UNSUPPORTED_PROTOCOL"}}t.UnsupportedProtocolError=ce;const oe=["socket","connect","continue","information","upgrade","timeout"];class ve extends r.Duplex{constructor(U,R={},te){super({autoDestroy:!1,highWaterMark:0}),this[C]=0,this[q]=0,this.requestInitialized=!1,this[L]=new Set,this.redirects=[],this[ne]=!1,this[ge]=!1,this[de]=[],this.retryCount=0,this._progressCallbacks=[];const Ee=()=>this._unlockWrite(),le=()=>this._lockWrite();this.on("pipe",Q=>{Q.prependListener("data",Ee),Q.on("data",le),Q.prependListener("end",Ee),Q.on("end",le)}),this.on("unpipe",Q=>{Q.off("data",Ee),Q.off("data",le),Q.off("end",Ee),Q.off("end",le)}),this.on("pipe",Q=>{Q instanceof s.IncomingMessage&&(this.options.headers={...Q.headers,...this.options.headers})});const{json:he,body:S,form:Z}=R;if((he||S||Z)&&this._lockWrite(),t.kIsNormalizedAlready in R)this.options=R;else try{this.options=this.constructor.normalizeArguments(U,R,te)}catch(Q){d.default.nodeStream(R.body)&&R.body.destroy(),this.destroy(Q);return}(async()=>{var Q;try{this.options.body instanceof n.ReadStream&&await Y(this.options.body);const{url:re}=this.options;if(!re)throw new TypeError("Missing `url` property");if(this.requestUrl=re.toString(),decodeURI(this.requestUrl),await this._finalizeBody(),await this._makeRequest(),this.destroyed){(Q=this[O])===null||Q===void 0||Q.destroy();return}for(const fe of this[de])fe();this[de].length=0,this.requestInitialized=!0}catch(re){if(re instanceof W){this._beforeError(re);return}this.destroyed||this.destroy(re)}})()}static normalizeArguments(U,R,te){var Ee,le,he,S,Z;const Q=R;if(d.default.object(U)&&!d.default.urlInstance(U))R={...te,...U,...R};else{if(U&&R&&R.url!==void 0)throw new TypeError("The `url` option is mutually exclusive with the `input` argument");R={...te,...R},U!==void 0&&(R.url=U),d.default.urlInstance(R.url)&&(R.url=new i.URL(R.url.toString()))}if(R.cache===!1&&(R.cache=void 0),R.dnsCache===!1&&(R.dnsCache=void 0),d.assert.any([d.default.string,d.default.undefined],R.method),d.assert.any([d.default.object,d.default.undefined],R.headers),d.assert.any([d.default.string,d.default.urlInstance,d.default.undefined],R.prefixUrl),d.assert.any([d.default.object,d.default.undefined],R.cookieJar),d.assert.any([d.default.object,d.default.string,d.default.undefined],R.searchParams),d.assert.any([d.default.object,d.default.string,d.default.undefined],R.cache),d.assert.any([d.default.object,d.default.number,d.default.undefined],R.timeout),d.assert.any([d.default.object,d.default.undefined],R.context),d.assert.any([d.default.object,d.default.undefined],R.hooks),d.assert.any([d.default.boolean,d.default.undefined],R.decompress),d.assert.any([d.default.boolean,d.default.undefined],R.ignoreInvalidCookies),d.assert.any([d.default.boolean,d.default.undefined],R.followRedirect),d.assert.any([d.default.number,d.default.undefined],R.maxRedirects),d.assert.any([d.default.boolean,d.default.undefined],R.throwHttpErrors),d.assert.any([d.default.boolean,d.default.undefined],R.http2),d.assert.any([d.default.boolean,d.default.undefined],R.allowGetBody),d.assert.any([d.default.string,d.default.undefined],R.localAddress),d.assert.any([F.isDnsLookupIpVersion,d.default.undefined],R.dnsLookupIpVersion),d.assert.any([d.default.object,d.default.undefined],R.https),d.assert.any([d.default.boolean,d.default.undefined],R.rejectUnauthorized),R.https&&(d.assert.any([d.default.boolean,d.default.undefined],R.https.rejectUnauthorized),d.assert.any([d.default.function_,d.default.undefined],R.https.checkServerIdentity),d.assert.any([d.default.string,d.default.object,d.default.array,d.default.undefined],R.https.certificateAuthority),d.assert.any([d.default.string,d.default.object,d.default.array,d.default.undefined],R.https.key),d.assert.any([d.default.string,d.default.object,d.default.array,d.default.undefined],R.https.certificate),d.assert.any([d.default.string,d.default.undefined],R.https.passphrase),d.assert.any([d.default.string,d.default.buffer,d.default.array,d.default.undefined],R.https.pfx)),d.assert.any([d.default.object,d.default.undefined],R.cacheOptions),d.default.string(R.method)?R.method=R.method.toUpperCase():R.method="GET",R.headers===te?.headers?R.headers={...R.headers}:R.headers=h({...te?.headers,...R.headers}),"slashes"in R)throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.");if("auth"in R)throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.");if("searchParams"in R&&R.searchParams&&R.searchParams!==te?.searchParams){let me;if(d.default.string(R.searchParams)||R.searchParams instanceof i.URLSearchParams)me=new i.URLSearchParams(R.searchParams);else{pe(R.searchParams),me=new i.URLSearchParams;for(const xe in R.searchParams){const Ce=R.searchParams[xe];Ce===null?me.append(xe,""):Ce!==void 0&&me.append(xe,Ce)}}(Ee=te?.searchParams)===null||Ee===void 0||Ee.forEach((xe,Ce)=>{me.has(Ce)||me.append(Ce,xe)}),R.searchParams=me}if(R.username=(le=R.username)!==null&&le!==void 0?le:"",R.password=(he=R.password)!==null&&he!==void 0?he:"",d.default.undefined(R.prefixUrl)?R.prefixUrl=(S=te?.prefixUrl)!==null&&S!==void 0?S:"":(R.prefixUrl=R.prefixUrl.toString(),R.prefixUrl!==""&&!R.prefixUrl.endsWith("/")&&(R.prefixUrl+="/")),d.default.string(R.url)){if(R.url.startsWith("/"))throw new Error("`input` must not start with a slash when using `prefixUrl`");R.url=E.default(R.prefixUrl+R.url,R)}else(d.default.undefined(R.url)&&R.prefixUrl!==""||R.protocol)&&(R.url=E.default(R.prefixUrl,R));if(R.url){"port"in R&&delete R.port;let{prefixUrl:me}=R;Object.defineProperty(R,"prefixUrl",{set:Ce=>{const Ae=R.url;if(!Ae.href.startsWith(Ce))throw new Error(`Cannot change \`prefixUrl\` from ${me} to ${Ce}: ${Ae.href}`);R.url=new i.URL(Ce+Ae.href.slice(me.length)),me=Ce},get:()=>me});let{protocol:xe}=R.url;if(xe==="unix:"&&(xe="http:",R.url=new i.URL(`http://unix${R.url.pathname}${R.url.search}`)),R.searchParams&&(R.url.search=R.searchParams.toString()),xe!=="http:"&&xe!=="https:")throw new ce(R);R.username===""?R.username=R.url.username:R.url.username=R.username,R.password===""?R.password=R.url.password:R.url.password=R.password}const{cookieJar:re}=R;if(re){let{setCookie:me,getCookieString:xe}=re;d.assert.function_(me),d.assert.function_(xe),me.length===4&&xe.length===0&&(me=e.promisify(me.bind(R.cookieJar)),xe=e.promisify(xe.bind(R.cookieJar)),R.cookieJar={setCookie:me,getCookieString:xe})}const{cache:fe}=R;if(fe&&(Te.has(fe)||Te.set(fe,new f(((me,xe)=>{const Ce=me[O](me,xe);return d.default.promise(Ce)&&(Ce.once=(Ae,Be)=>{if(Ae==="error")Ce.catch(Be);else if(Ae==="abort")(async()=>{try{(await Ce).once("abort",Be)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${Ae}`);return Ce}),Ce}),fe))),R.cacheOptions={...R.cacheOptions},R.dnsCache===!0)A||(A=new l.default),R.dnsCache=A;else if(!d.default.undefined(R.dnsCache)&&!R.dnsCache.lookup)throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${d.default(R.dnsCache)}`);d.default.number(R.timeout)?R.timeout={request:R.timeout}:te&&R.timeout!==te.timeout?R.timeout={...te.timeout,...R.timeout}:R.timeout={...R.timeout},R.context||(R.context={});const ye=R.hooks===te?.hooks;R.hooks={...R.hooks};for(const me of t.knownHookEvents)if(me in R.hooks)if(d.default.array(R.hooks[me]))R.hooks[me]=[...R.hooks[me]];else throw new TypeError(`Parameter \`${me}\` must be an Array, got ${d.default(R.hooks[me])}`);else R.hooks[me]=[];if(te&&!ye)for(const me of t.knownHookEvents)te.hooks[me].length>0&&(R.hooks[me]=[...te.hooks[me],...R.hooks[me]]);if("family"in R&&T.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"'),te?.https&&(R.https={...te.https,...R.https}),"rejectUnauthorized"in R&&T.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"'),"checkServerIdentity"in R&&T.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"'),"ca"in R&&T.default('"options.ca" was never documented, please use "options.https.certificateAuthority"'),"key"in R&&T.default('"options.key" was never documented, please use "options.https.key"'),"cert"in R&&T.default('"options.cert" was never documented, please use "options.https.certificate"'),"passphrase"in R&&T.default('"options.passphrase" was never documented, please use "options.https.passphrase"'),"pfx"in R&&T.default('"options.pfx" was never documented, please use "options.https.pfx"'),"followRedirects"in R)throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.");if(R.agent){for(const me in R.agent)if(me!=="http"&&me!=="https"&&me!=="http2")throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${me}\``)}return R.maxRedirects=(Z=R.maxRedirects)!==null&&Z!==void 0?Z:0,t.setNonEnumerableProperties([te,Q],R),M.default(R,te)}_lockWrite(){const U=()=>{throw new TypeError("The payload has been already provided")};this.write=U,this.end=U}_unlockWrite(){this.write=super.write,this.end=super.end}async _finalizeBody(){const{options:U}=this,{headers:R}=U,te=!d.default.undefined(U.form),Ee=!d.default.undefined(U.json),le=!d.default.undefined(U.body),he=te||Ee||le,S=t.withoutBody.has(U.method)&&!(U.method==="GET"&&U.allowGetBody);if(this._cannotHaveBody=S,he){if(S)throw new TypeError(`The \`${U.method}\` method cannot be used with a body`);if([le,te,Ee].filter(Z=>Z).length>1)throw new TypeError("The `body`, `json` and `form` options are mutually exclusive");if(le&&!(U.body instanceof r.Readable)&&!d.default.string(U.body)&&!d.default.buffer(U.body)&&!D.default(U.body))throw new TypeError("The `body` option must be a stream.Readable, string or Buffer");if(te&&!d.default.object(U.form))throw new TypeError("The `form` option must be an Object");{const Z=!d.default.string(R["content-type"]);le?(D.default(U.body)&&Z&&(R["content-type"]=`multipart/form-data; boundary=${U.body.getBoundary()}`),this[X]=U.body):te?(Z&&(R["content-type"]="application/x-www-form-urlencoded"),this[X]=new i.URLSearchParams(U.form).toString()):(Z&&(R["content-type"]="application/json"),this[X]=U.stringifyJson(U.json));const Q=await b.default(this[X],U.headers);d.default.undefined(R["content-length"])&&d.default.undefined(R["transfer-encoding"])&&!S&&!d.default.undefined(Q)&&(R["content-length"]=String(Q))}}else S?this._lockWrite():this._unlockWrite();this[k]=Number(R["content-length"])||void 0}async _onResponseBase(U){const{options:R}=this,{url:te}=R;this[be]=U,R.decompress&&(U=p(U));const Ee=U.statusCode,le=U;le.statusMessage=le.statusMessage?le.statusMessage:a.STATUS_CODES[Ee],le.url=R.url.toString(),le.requestUrl=this.requestUrl,le.redirectUrls=this.redirects,le.request=this,le.isFromCache=U.fromCache||!1,le.ip=this.ip,le.retryCount=this.retryCount,this[J]=le.isFromCache,this[z]=Number(U.headers["content-length"])||void 0,this[N]=U,U.once("end",()=>{this[z]=this[C],this.emit("downloadProgress",this.downloadProgress)}),U.once("error",S=>{U.destroy(),this._beforeError(new K(S,this))}),U.once("aborted",()=>{this._beforeError(new K({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);const he=U.headers["set-cookie"];if(d.default.object(R.cookieJar)&&he){let S=he.map(async Z=>R.cookieJar.setCookie(Z,te.toString()));R.ignoreInvalidCookies&&(S=S.map(async Z=>Z.catch(()=>{})));try{await Promise.all(S)}catch(Z){this._beforeError(Z);return}}if(R.followRedirect&&U.headers.location&&I.has(Ee)){if(U.resume(),this[O]&&(this[se](),delete this[O],this[$]()),(Ee===303&&R.method!=="GET"&&R.method!=="HEAD"||!R.methodRewriting)&&(R.method="GET","body"in R&&delete R.body,"json"in R&&delete R.json,"form"in R&&delete R.form,this[X]=void 0,delete R.headers["content-length"]),this.redirects.length>=R.maxRedirects){this._beforeError(new G(this));return}try{let fe=function(ye){return ye.protocol==="unix:"||ye.hostname==="unix"};const Z=Buffer.from(U.headers.location,"binary").toString(),Q=new i.URL(Z,te),re=Q.toString();if(decodeURI(re),!fe(te)&&fe(Q)){this._beforeError(new W("Cannot redirect to UNIX socket",{},this));return}Q.hostname!==te.hostname||Q.port!==te.port?("host"in R.headers&&delete R.headers.host,"cookie"in R.headers&&delete R.headers.cookie,"authorization"in R.headers&&delete R.headers.authorization,(R.username||R.password)&&(R.username="",R.password="")):(Q.username=R.username,Q.password=R.password),this.redirects.push(re),R.url=Q;for(const ye of R.hooks.beforeRedirect)await ye(R,le);this.emit("redirect",le,R),await this._makeRequest()}catch(Z){this._beforeError(Z);return}return}if(R.isStream&&R.throwHttpErrors&&!_.isResponseOk(le)){this._beforeError(new H(le));return}U.on("readable",()=>{this[ge]&&this._read()}),this.on("resume",()=>{U.resume()}),this.on("pause",()=>{U.pause()}),U.once("end",()=>{this.push(null)}),this.emit("response",U);for(const S of this[L])if(!S.headersSent){for(const Z in U.headers){const Q=R.decompress?Z!=="content-encoding":!0,re=U.headers[Z];Q&&S.setHeader(Z,re)}S.statusCode=Ee}}async _onResponse(U){try{await this._onResponseBase(U)}catch(R){this._beforeError(R)}}_onRequest(U){const{options:R}=this,{timeout:te,url:Ee}=R;c.default(U),this[se]=y.default(U,te,Ee);const le=R.cache?"cacheableResponse":"response";U.once(le,Z=>{this._onResponse(Z)}),U.once("error",Z=>{var Q;U.destroy(),(Q=U.res)===null||Q===void 0||Q.removeAllListeners("end"),Z=Z instanceof y.TimeoutError?new V(Z,this.timings,this):new W(Z.message,Z,this),this._beforeError(Z)}),this[$]=g.default(U,this,oe),this[O]=U,this.emit("uploadProgress",this.uploadProgress);const he=this[X],S=this.redirects.length===0?this:U;d.default.nodeStream(he)?(he.pipe(S),he.once("error",Z=>{this._beforeError(new v(Z,this))})):(this._unlockWrite(),d.default.undefined(he)?(this._cannotHaveBody||this._noPipe)&&(S.end(),this._lockWrite()):(this._writeRequest(he,void 0,()=>{}),S.end(),this._lockWrite())),this.emit("request",U)}async _createCacheableRequest(U,R){return new Promise((te,Ee)=>{Object.assign(R,w.default(U)),delete R.url;let le;const he=Te.get(R.cache)(R,async S=>{S._readableState.autoDestroy=!1,le&&(await le).emit("cacheableResponse",S),te(S)});R.url=U,he.once("error",Ee),he.once("request",async S=>{le=S,te(le)})})}async _makeRequest(){var U,R,te,Ee,le;const{options:he}=this,{headers:S}=he;for(const Be in S)if(d.default.undefined(S[Be]))delete S[Be];else if(d.default.null_(S[Be]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${Be}\` header`);if(he.decompress&&d.default.undefined(S["accept-encoding"])&&(S["accept-encoding"]=ae?"gzip, deflate, br":"gzip, deflate"),he.cookieJar){const Be=await he.cookieJar.getCookieString(he.url.toString());d.default.nonEmptyString(Be)&&(he.headers.cookie=Be)}for(const Be of he.hooks.beforeRequest){const We=await Be(he);if(!d.default.undefined(We)){he.request=()=>We;break}}he.body&&this[X]!==he.body&&(this[X]=he.body);const{agent:Z,request:Q,timeout:re,url:fe}=he;if(he.dnsCache&&!("lookup"in he)&&(he.lookup=he.dnsCache.lookup),fe.hostname==="unix"){const Be=/(?<socketPath>.+?):(?<path>.+)/.exec(`${fe.pathname}${fe.search}`);if(Be?.groups){const{socketPath:We,path:ze}=Be.groups;Object.assign(he,{socketPath:We,path:ze,host:""})}}const ye=fe.protocol==="https:";let me;he.http2?me=u.auto:me=ye?o.request:a.request;const xe=(U=he.request)!==null&&U!==void 0?U:me,Ce=he.cache?this._createCacheableRequest:xe;Z&&!he.http2&&(he.agent=Z[ye?"https":"http"]),he[O]=xe,delete he.request,delete he.timeout;const Ae=he;if(Ae.shared=(R=he.cacheOptions)===null||R===void 0?void 0:R.shared,Ae.cacheHeuristic=(te=he.cacheOptions)===null||te===void 0?void 0:te.cacheHeuristic,Ae.immutableMinTimeToLive=(Ee=he.cacheOptions)===null||Ee===void 0?void 0:Ee.immutableMinTimeToLive,Ae.ignoreCargoCult=(le=he.cacheOptions)===null||le===void 0?void 0:le.ignoreCargoCult,he.dnsLookupIpVersion!==void 0)try{Ae.family=F.dnsLookupIpVersionToFamily(he.dnsLookupIpVersion)}catch{throw new Error("Invalid `dnsLookupIpVersion` option value")}he.https&&("rejectUnauthorized"in he.https&&(Ae.rejectUnauthorized=he.https.rejectUnauthorized),he.https.checkServerIdentity&&(Ae.checkServerIdentity=he.https.checkServerIdentity),he.https.certificateAuthority&&(Ae.ca=he.https.certificateAuthority),he.https.certificate&&(Ae.cert=he.https.certificate),he.https.key&&(Ae.key=he.https.key),he.https.passphrase&&(Ae.passphrase=he.https.passphrase),he.https.pfx&&(Ae.pfx=he.https.pfx));try{let Be=await Ce(fe,Ae);d.default.undefined(Be)&&(Be=me(fe,Ae)),he.request=Q,he.timeout=re,he.agent=Z,he.https&&("rejectUnauthorized"in he.https&&delete Ae.rejectUnauthorized,he.https.checkServerIdentity&&delete Ae.checkServerIdentity,he.https.certificateAuthority&&delete Ae.ca,he.https.certificate&&delete Ae.cert,he.https.key&&delete Ae.key,he.https.passphrase&&delete Ae.passphrase,he.https.pfx&&delete Ae.pfx),we(Be)?this._onRequest(Be):this.writable?(this.once("finish",()=>{this._onResponse(Be)}),this._unlockWrite(),this.end(),this._lockWrite()):this._onResponse(Be)}catch(Be){throw Be instanceof f.CacheError?new ee(Be,this):new W(Be.message,Be,this)}}async _error(U){try{for(const R of this.options.hooks.beforeError)U=await R(U)}catch(R){U=new W(R.message,R,this)}this.destroy(U)}_beforeError(U){if(this[ne])return;const{options:R}=this,te=this.retryCount+1;this[ne]=!0,U instanceof W||(U=new W(U.message,U,this));const Ee=U,{response:le}=Ee;(async()=>{if(le&&!le.body){le.setEncoding(this._readableState.encoding);try{le.rawBody=await m.default(le),le.body=le.rawBody.toString()}catch{}}if(this.listenerCount("retry")!==0){let he;try{let S;le&&"retry-after"in le.headers&&(S=Number(le.headers["retry-after"]),Number.isNaN(S)?(S=Date.parse(le.headers["retry-after"])-Date.now(),S<=0&&(S=1)):S*=1e3),he=await R.retry.calculateDelay({attemptCount:te,retryOptions:R.retry,error:Ee,retryAfter:S,computedValue:B.default({attemptCount:te,retryOptions:R.retry,error:Ee,retryAfter:S,computedValue:0})})}catch(S){this._error(new W(S.message,S,this));return}if(he){const S=async()=>{try{for(const Z of this.options.hooks.beforeRetry)await Z(this.options,Ee,te)}catch(Z){this._error(new W(Z.message,U,this));return}this.destroyed||(this.destroy(),this.emit("retry",te,U))};this[De]=setTimeout(S,he);return}}this._error(Ee)})()}_read(){this[ge]=!0;const U=this[N];if(U&&!this[ne]){U.readableLength&&(this[ge]=!1);let R;for(;(R=U.read())!==null;){this[C]+=R.length,this[ue]=!0;const te=this.downloadProgress;te.percent<1&&this.emit("downloadProgress",te),this.push(R)}}}_write(U,R,te){const Ee=()=>{this._writeRequest(U,R,te)};this.requestInitialized?Ee():this[de].push(Ee)}_writeRequest(U,R,te){this[O].destroyed||(this._progressCallbacks.push(()=>{this[q]+=Buffer.byteLength(U,R);const Ee=this.uploadProgress;Ee.percent<1&&this.emit("uploadProgress",Ee)}),this[O].write(U,R,Ee=>{!Ee&&this._progressCallbacks.length>0&&this._progressCallbacks.shift()(),te(Ee)}))}_final(U){const R=()=>{for(;this._progressCallbacks.length!==0;)this._progressCallbacks.shift()();if(!(O in this)){U();return}if(this[O].destroyed){U();return}this[O].end(te=>{te||(this[k]=this[q],this.emit("uploadProgress",this.uploadProgress),this[O].emit("upload-complete")),U(te)})};this.requestInitialized?R():this[de].push(R)}_destroy(U,R){var te;this[ne]=!0,clearTimeout(this[De]),O in this&&(this[se](),!((te=this[N])===null||te===void 0)&&te.complete||this[O].destroy()),U!==null&&!d.default.undefined(U)&&!(U instanceof W)&&(U=new W(U.message,U,this)),R(U)}get _isAboutToError(){return this[ne]}get ip(){var U;return(U=this.socket)===null||U===void 0?void 0:U.remoteAddress}get aborted(){var U,R,te;return((R=(U=this[O])===null||U===void 0?void 0:U.destroyed)!==null&&R!==void 0?R:this.destroyed)&&!(!((te=this[be])===null||te===void 0)&&te.complete)}get socket(){var U,R;return(R=(U=this[O])===null||U===void 0?void 0:U.socket)!==null&&R!==void 0?R:void 0}get downloadProgress(){let U;return this[z]?U=this[C]/this[z]:this[z]===this[C]?U=1:U=0,{percent:U,transferred:this[C],total:this[z]}}get uploadProgress(){let U;return this[k]?U=this[q]/this[k]:this[k]===this[q]?U=1:U=0,{percent:U,transferred:this[q],total:this[k]}}get timings(){var U;return(U=this[O])===null||U===void 0?void 0:U.timings}get isFromCache(){return this[J]}pipe(U,R){if(this[ue])throw new Error("Failed to pipe. The response has been emitted already.");return U instanceof s.ServerResponse&&this[L].add(U),super.pipe(U,R)}unpipe(U){return U instanceof s.ServerResponse&&this[L].delete(U),super.unpipe(U),this}}t.default=ve})(xo)),xo}var Dh;function ma(){return Dh||(Dh=1,(function(t){var e=Mr&&Mr.__createBinding||(Object.create?(function(s,o,c,l){l===void 0&&(l=c),Object.defineProperty(s,l,{enumerable:!0,get:function(){return o[c]}})}):(function(s,o,c,l){l===void 0&&(l=c),s[l]=o[c]})),r=Mr&&Mr.__exportStar||function(s,o){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(o,c)&&e(o,s,c)};Object.defineProperty(t,"__esModule",{value:!0}),t.CancelError=t.ParseError=void 0;const n=ha();class i extends n.RequestError{constructor(o,c){const{options:l}=c.request;super(`${o.message} in "${l.url.toString()}"`,o,c.request),this.name="ParseError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_BODY_PARSE_FAILURE":this.code}}t.ParseError=i;class a extends n.RequestError{constructor(o){super("Promise was canceled",{},o),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}}t.CancelError=a,r(ha(),t)})(Mr)),Mr}var vs={},yh;function Ww(){if(yh)return vs;yh=1,Object.defineProperty(vs,"__esModule",{value:!0});const t=ma(),e=(r,n,i,a)=>{const{rawBody:s}=r;try{if(n==="text")return s.toString(a);if(n==="json")return s.length===0?"":i(s.toString());if(n==="buffer")return s;throw new t.ParseError({message:`Unknown body type '${n}'`,name:"Error"},r)}catch(o){throw new t.ParseError(o,r)}};return vs.default=e,vs}var bh;function Gy(){return bh||(bh=1,(function(t){var e=Nr&&Nr.__createBinding||(Object.create?(function(d,b,D,g){g===void 0&&(g=D),Object.defineProperty(d,g,{enumerable:!0,get:function(){return b[D]}})}):(function(d,b,D,g){g===void 0&&(g=D),d[g]=b[D]})),r=Nr&&Nr.__exportStar||function(d,b){for(var D in d)D!=="default"&&!Object.prototype.hasOwnProperty.call(b,D)&&e(b,d,D)};Object.defineProperty(t,"__esModule",{value:!0});const n=He,i=qr(),a=cw(),s=ma(),o=Ww(),c=ha(),l=Hy(),f=Vy(),p=Wy(),u=["request","response","redirect","uploadProgress","downloadProgress"];function h(d){let b,D;const g=new n.EventEmitter,y=new a((E,x,m)=>{const F=_=>{const T=new c.default(void 0,d);T.retryCount=_,T._noPipe=!0,m(()=>T.destroy()),m.shouldReject=!1,m(()=>x(new s.CancelError(T))),b=T,T.once("response",async A=>{var O;if(A.retryCount=_,A.request.aborted)return;let N;try{N=await f.default(T),A.rawBody=N}catch{return}if(T._isAboutToError)return;const z=((O=A.headers["content-encoding"])!==null&&O!==void 0?O:"").toLowerCase(),C=["gzip","deflate","br"].includes(z),{options:k}=T;if(C&&!k.decompress)A.body=N;else try{A.body=o.default(A,k.responseType,k.parseJson,k.encoding)}catch(q){if(A.body=N.toString(),p.isResponseOk(A)){T._beforeError(q);return}}try{for(const[q,L]of k.hooks.afterResponse.entries())A=await L(A,async $=>{const J=c.default.normalizeArguments(void 0,{...$,retry:{calculateDelay:()=>0},throwHttpErrors:!1,resolveBodyOnly:!1},k);J.hooks.afterResponse=J.hooks.afterResponse.slice(0,q);for(const ue of J.hooks.beforeRetry)await ue(J);const se=h(J);return m(()=>{se.catch(()=>{}),se.cancel()}),se})}catch(q){T._beforeError(new s.RequestError(q.message,q,T));return}if(D=A,!p.isResponseOk(A)){T._beforeError(new s.HTTPError(A));return}T.destroy(),E(T.options.resolveBodyOnly?A.body:A)});const M=A=>{if(y.isCanceled)return;const{options:O}=T;if(A instanceof s.HTTPError&&!O.throwHttpErrors){const{response:N}=A;E(T.options.resolveBodyOnly?N.body:N);return}x(A)};T.once("error",M);const B=T.options.body;T.once("retry",(A,O)=>{var N,z;if(B===((N=O.request)===null||N===void 0?void 0:N.options.body)&&i.default.nodeStream((z=O.request)===null||z===void 0?void 0:z.options.body)){M(O);return}F(A)}),l.default(T,g,u)};F(0)});y.on=(E,x)=>(g.on(E,x),y);const w=E=>{const x=(async()=>{await y;const{options:m}=D.request;return o.default(D,E,m.parseJson,m.encoding)})();return Object.defineProperties(x,Object.getOwnPropertyDescriptors(y)),x};return y.json=()=>{const{headers:E}=b.options;return!b.writableFinished&&E.accept===void 0&&(E.accept="application/json"),w("json")},y.buffer=()=>w("buffer"),y.text=()=>w("text"),y}t.default=h,r(ma(),t)})(Nr)),Nr}var xs={},vh;function Gw(){if(vh)return xs;vh=1,Object.defineProperty(xs,"__esModule",{value:!0});const t=ma();function e(r,...n){const i=(async()=>{if(r instanceof t.RequestError)try{for(const s of n)if(s)for(const o of s)r=await o(r)}catch(s){r=s}throw r})(),a=()=>i;return i.json=a,i.text=a,i.buffer=a,i.on=a,i}return xs.default=e,xs}var ws={},xh;function Yw(){if(xh)return ws;xh=1,Object.defineProperty(ws,"__esModule",{value:!0});const t=qr();function e(r){for(const n of Object.values(r))(t.default.plainObject(n)||t.default.array(n))&&e(n);return Object.freeze(r)}return ws.default=e,ws}var Yo={},wh;function Zw(){return wh||(wh=1,Object.defineProperty(Yo,"__esModule",{value:!0})),Yo}var Eh;function Fh(){return Eh||(Eh=1,(function(t){var e=Ir&&Ir.__createBinding||(Object.create?(function(g,y,w,E){E===void 0&&(E=w),Object.defineProperty(g,E,{enumerable:!0,get:function(){return y[w]}})}):(function(g,y,w,E){E===void 0&&(E=w),g[E]=y[w]})),r=Ir&&Ir.__exportStar||function(g,y){for(var w in g)w!=="default"&&!Object.prototype.hasOwnProperty.call(y,w)&&e(y,g,w)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHandler=void 0;const n=qr(),i=Gy(),a=Gw(),s=ha(),o=Yw(),c={RequestError:i.RequestError,CacheError:i.CacheError,ReadError:i.ReadError,HTTPError:i.HTTPError,MaxRedirectsError:i.MaxRedirectsError,TimeoutError:i.TimeoutError,ParseError:i.ParseError,CancelError:i.CancelError,UnsupportedProtocolError:i.UnsupportedProtocolError,UploadError:i.UploadError},l=async g=>new Promise(y=>{setTimeout(y,g)}),{normalizeArguments:f}=s.default,p=(...g)=>{let y;for(const w of g)y=f(void 0,w,y);return y},u=g=>g.isStream?new s.default(void 0,g):i.default(g),h=g=>"defaults"in g&&"options"in g.defaults,d=["get","post","put","patch","head","delete"];t.defaultHandler=(g,y)=>y(g);const b=(g,y)=>{if(g)for(const w of g)w(y)},D=g=>{g._rawHandlers=g.handlers,g.handlers=g.handlers.map(E=>((x,m)=>{let F;const _=E(x,T=>(F=m(T),F));if(_!==F&&!x.isStream&&F){const T=_,{then:M,catch:B,finally:A}=T;Object.setPrototypeOf(T,Object.getPrototypeOf(F)),Object.defineProperties(T,Object.getOwnPropertyDescriptors(F)),T.then=M,T.catch=B,T.finally=A}return _}));const y=((E,x={},m)=>{var F,_;let T=0;const M=B=>g.handlers[T++](B,T===g.handlers.length?u:M);if(n.default.plainObject(E)){const B={...E,...x};s.setNonEnumerableProperties([E,x],B),x=B,E=void 0}try{let B;try{b(g.options.hooks.init,x),b((F=x.hooks)===null||F===void 0?void 0:F.init,x)}catch(O){B=O}const A=f(E,x,m??g.options);if(A[s.kIsNormalizedAlready]=!0,B)throw new i.RequestError(B.message,B,A);return M(A)}catch(B){if(x.isStream)throw B;return a.default(B,g.options.hooks.beforeError,(_=x.hooks)===null||_===void 0?void 0:_.beforeError)}});y.extend=(...E)=>{const x=[g.options];let m=[...g._rawHandlers],F;for(const _ of E)h(_)?(x.push(_.defaults.options),m.push(..._.defaults._rawHandlers),F=_.defaults.mutableDefaults):(x.push(_),"handlers"in _&&m.push(..._.handlers),F=_.mutableDefaults);return m=m.filter(_=>_!==t.defaultHandler),m.length===0&&m.push(t.defaultHandler),D({options:p(...x),handlers:m,mutableDefaults:!!F})};const w=(async function*(E,x){let m=f(E,x,g.options);m.resolveBodyOnly=!1;const F=m.pagination;if(!n.default.object(F))throw new TypeError("`options.pagination` must be implemented");const _=[];let{countLimit:T}=F,M=0;for(;M<F.requestLimit;){M!==0&&await l(F.backoff);const B=await y(void 0,void 0,m),A=await F.transform(B),O=[];for(const z of A)if(F.filter(z,_,O)&&(!F.shouldContinue(z,_,O)||(yield z,F.stackAllItems&&_.push(z),O.push(z),--T<=0)))return;const N=F.paginate(B,_,O);if(N===!1)return;N===B.request.options?m=B.request.options:N!==void 0&&(m=f(void 0,N,m)),M++}});y.paginate=w,y.paginate.all=(async(E,x)=>{const m=[];for await(const F of w(E,x))m.push(F);return m}),y.paginate.each=w,y.stream=((E,x)=>y(E,{...x,isStream:!0}));for(const E of d)y[E]=((x,m)=>y(x,{...m,method:E})),y.stream[E]=((x,m)=>y(x,{...m,method:E,isStream:!0}));return Object.assign(y,c),Object.defineProperty(y,"defaults",{value:g.mutableDefaults?g:o.default(g),writable:g.mutableDefaults,configurable:g.mutableDefaults,enumerable:!0}),y.mergeOptions=p,y};t.default=D,r(Zw(),t)})(Ir)),Ir}var Es=hi.exports,Ch;function Jw(){return Ch||(Ch=1,(function(t,e){var r=Es&&Es.__createBinding||(Object.create?(function(c,l,f,p){p===void 0&&(p=f),Object.defineProperty(c,p,{enumerable:!0,get:function(){return l[f]}})}):(function(c,l,f,p){p===void 0&&(p=f),c[p]=l[f]})),n=Es&&Es.__exportStar||function(c,l){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(l,f)&&r(l,c,f)};Object.defineProperty(e,"__esModule",{value:!0});const i=er,a=Fh(),s={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:c})=>c},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:void 0,dnsCache:void 0,decompress:!0,throwHttpErrors:!0,followRedirect:!0,isStream:!1,responseType:"text",resolveBodyOnly:!1,maxRedirects:10,prefixUrl:"",methodRewriting:!0,ignoreInvalidCookies:!1,context:{},http2:!1,allowGetBody:!1,https:void 0,pagination:{transform:c=>c.request.options.responseType==="json"?c.body:JSON.parse(c.body),paginate:c=>{if(!Reflect.has(c.headers,"link"))return!1;const l=c.headers.link.split(",");let f;for(const p of l){const u=p.split(";");if(u[1].includes("next")){f=u[0].trimStart().trim(),f=f.slice(1,-1);break}}return f?{url:new i.URL(f)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:1/0,backoff:0,requestLimit:1e4,stackAllItems:!0},parseJson:c=>JSON.parse(c),stringifyJson:c=>JSON.stringify(c),cacheOptions:{}},handlers:[a.defaultHandler],mutableDefaults:!1},o=a.default(s);e.default=o,t.exports=o,t.exports.default=o,t.exports.__esModule=!0,n(Fh(),e),n(Gy(),e)})(hi,hi.exports)),hi.exports}var Lr={},Yn={},Lt={},Zo,Ah;function Kw(){return Ah||(Ah=1,Zo=function(e,r){if(r=r.split(":")[0],e=+e,!e)return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),Zo}var Fs={},_h;function Xw(){if(_h)return Fs;_h=1;var t=Object.prototype.hasOwnProperty,e;function r(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch{return null}}function n(s){try{return encodeURIComponent(s)}catch{return null}}function i(s){for(var o=/([^=?#&]+)=?([^&]*)/g,c={},l;l=o.exec(s);){var f=r(l[1]),p=r(l[2]);f===null||p===null||f in c||(c[f]=p)}return c}function a(s,o){o=o||"";var c=[],l,f;typeof o!="string"&&(o="?");for(f in s)if(t.call(s,f)){if(l=s[f],!l&&(l===null||l===e||isNaN(l))&&(l=""),f=n(f),l=n(l),f===null||l===null)continue;c.push(f+"="+l)}return c.length?o+c.join("&"):""}return Fs.stringify=a,Fs.parse=i,Fs}var Jo,Sh;function Qw(){if(Sh)return Jo;Sh=1;var t=Kw(),e=Xw(),r=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,n=/[\n\r\t]/g,i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/:\d+$/,s=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,o=/^[a-zA-Z]:/;function c(y){return(y||"").toString().replace(r,"")}var l=[["#","hash"],["?","query"],function(w,E){return u(E.protocol)?w.replace(/\\/g,"/"):w},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function p(y){var w;typeof window<"u"?w=window:typeof Rr<"u"?w=Rr:typeof self<"u"?w=self:w={};var E=w.location||{};y=y||E;var x={},m=typeof y,F;if(y.protocol==="blob:")x=new b(unescape(y.pathname),{});else if(m==="string"){x=new b(y,{});for(F in f)delete x[F]}else if(m==="object"){for(F in y)F in f||(x[F]=y[F]);x.slashes===void 0&&(x.slashes=i.test(y.href))}return x}function u(y){return y==="file:"||y==="ftp:"||y==="http:"||y==="https:"||y==="ws:"||y==="wss:"}function h(y,w){y=c(y),y=y.replace(n,""),w=w||{};var E=s.exec(y),x=E[1]?E[1].toLowerCase():"",m=!!E[2],F=!!E[3],_=0,T;return m?F?(T=E[2]+E[3]+E[4],_=E[2].length+E[3].length):(T=E[2]+E[4],_=E[2].length):F?(T=E[3]+E[4],_=E[3].length):T=E[4],x==="file:"?_>=2&&(T=T.slice(2)):u(x)?T=E[4]:x?m&&(T=T.slice(2)):_>=2&&u(w.protocol)&&(T=E[4]),{protocol:x,slashes:m||u(x),slashesCount:_,rest:T}}function d(y,w){if(y==="")return w;for(var E=(w||"/").split("/").slice(0,-1).concat(y.split("/")),x=E.length,m=E[x-1],F=!1,_=0;x--;)E[x]==="."?E.splice(x,1):E[x]===".."?(E.splice(x,1),_++):_&&(x===0&&(F=!0),E.splice(x,1),_--);return F&&E.unshift(""),(m==="."||m==="..")&&E.push(""),E.join("/")}function b(y,w,E){if(y=c(y),y=y.replace(n,""),!(this instanceof b))return new b(y,w,E);var x,m,F,_,T,M,B=l.slice(),A=typeof w,O=this,N=0;for(A!=="object"&&A!=="string"&&(E=w,w=null),E&&typeof E!="function"&&(E=e.parse),w=p(w),m=h(y||"",w),x=!m.protocol&&!m.slashes,O.slashes=m.slashes||x&&w.slashes,O.protocol=m.protocol||w.protocol||"",y=m.rest,(m.protocol==="file:"&&(m.slashesCount!==2||o.test(y))||!m.slashes&&(m.protocol||m.slashesCount<2||!u(O.protocol)))&&(B[3]=[/(.*)/,"pathname"]);N<B.length;N++){if(_=B[N],typeof _=="function"){y=_(y,O);continue}F=_[0],M=_[1],F!==F?O[M]=y:typeof F=="string"?(T=F==="@"?y.lastIndexOf(F):y.indexOf(F),~T&&(typeof _[2]=="number"?(O[M]=y.slice(0,T),y=y.slice(T+_[2])):(O[M]=y.slice(T),y=y.slice(0,T)))):(T=F.exec(y))&&(O[M]=T[1],y=y.slice(0,T.index)),O[M]=O[M]||x&&_[3]&&w[M]||"",_[4]&&(O[M]=O[M].toLowerCase())}E&&(O.query=E(O.query)),x&&w.slashes&&O.pathname.charAt(0)!=="/"&&(O.pathname!==""||w.pathname!=="")&&(O.pathname=d(O.pathname,w.pathname)),O.pathname.charAt(0)!=="/"&&u(O.protocol)&&(O.pathname="/"+O.pathname),t(O.port,O.protocol)||(O.host=O.hostname,O.port=""),O.username=O.password="",O.auth&&(T=O.auth.indexOf(":"),~T?(O.username=O.auth.slice(0,T),O.username=encodeURIComponent(decodeURIComponent(O.username)),O.password=O.auth.slice(T+1),O.password=encodeURIComponent(decodeURIComponent(O.password))):O.username=encodeURIComponent(decodeURIComponent(O.auth)),O.auth=O.password?O.username+":"+O.password:O.username),O.origin=O.protocol!=="file:"&&u(O.protocol)&&O.host?O.protocol+"//"+O.host:"null",O.href=O.toString()}function D(y,w,E){var x=this;switch(y){case"query":typeof w=="string"&&w.length&&(w=(E||e.parse)(w)),x[y]=w;break;case"port":x[y]=w,t(w,x.protocol)?w&&(x.host=x.hostname+":"+w):(x.host=x.hostname,x[y]="");break;case"hostname":x[y]=w,x.port&&(w+=":"+x.port),x.host=w;break;case"host":x[y]=w,a.test(w)?(w=w.split(":"),x.port=w.pop(),x.hostname=w.join(":")):(x.hostname=w,x.port="");break;case"protocol":x.protocol=w.toLowerCase(),x.slashes=!E;break;case"pathname":case"hash":if(w){var m=y==="pathname"?"/":"#";x[y]=w.charAt(0)!==m?m+w:w}else x[y]=w;break;case"username":case"password":x[y]=encodeURIComponent(w);break;case"auth":var F=w.indexOf(":");~F?(x.username=w.slice(0,F),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=w.slice(F+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(w))}for(var _=0;_<l.length;_++){var T=l[_];T[4]&&(x[T[1]]=x[T[1]].toLowerCase())}return x.auth=x.password?x.username+":"+x.password:x.username,x.origin=x.protocol!=="file:"&&u(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString(),x}function g(y){(!y||typeof y!="function")&&(y=e.stringify);var w,E=this,x=E.host,m=E.protocol;m&&m.charAt(m.length-1)!==":"&&(m+=":");var F=m+(E.protocol&&E.slashes||u(E.protocol)?"//":"");return E.username?(F+=E.username,E.password&&(F+=":"+E.password),F+="@"):E.password?(F+=":"+E.password,F+="@"):E.protocol!=="file:"&&u(E.protocol)&&!x&&E.pathname!=="/"&&(F+="@"),(x[x.length-1]===":"||a.test(E.hostname)&&!E.port)&&(x+=":"),F+=x+E.pathname,w=typeof E.query=="object"?y(E.query):E.query,w&&(F+=w.charAt(0)!=="?"?"?"+w:w),E.hash&&(F+=E.hash),F}return b.prototype={set:D,toString:g},b.extractProtocol=h,b.location=p,b.trimLeft=c,b.qs=e,Jo=b,Jo}var ra={exports:{}},eE=ra.exports,Oh;function tE(){return Oh||(Oh=1,(function(t){(function(e,r,n){t.exports?t.exports=n():r[e]=n()})("urljoin",eE,function(){function e(r){var n=[];if(r.length===0)return"";if(typeof r[0]!="string")throw new TypeError("Url must be a string. Received "+r[0]);if(r[0].match(/^[^/:]+:\/*$/)&&r.length>1){var i=r.shift();r[0]=i+r[0]}r[0].match(/^file:\/\/\//)?r[0]=r[0].replace(/^([^/:]+):\/*/,"$1:///"):r[0]=r[0].replace(/^([^/:]+):\/*/,"$1://");for(var a=0;a<r.length;a++){var s=r[a];if(typeof s!="string")throw new TypeError("Url must be a string. Received "+s);s!==""&&(a>0&&(s=s.replace(/^[\/]+/,"")),a<r.length-1?s=s.replace(/[\/]+$/,""):s=s.replace(/[\/]+$/,"/"),n.push(s))}var o=n.join("/");o=o.replace(/\/(\?|&|#[^!])/g,"$1");var c=o.split("?");return o=c.shift()+(c.length>0?"?":"")+c.join("&"),o}return function(){var r;return typeof arguments[0]=="object"?r=arguments[0]:r=[].slice.call(arguments),e(r)}})})(ra)),ra.exports}var ar={},Ko,Th;function zf(){if(Th)return Ko;Th=1;var t=Ve,e=function(s){return typeof s=="string"};function r(s,o){for(var c=[],l=0;l<s.length;l++){var f=s[l];!f||f==="."||(f===".."?c.length&&c[c.length-1]!==".."?c.pop():o&&c.push(".."):c.push(f))}return c}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i={};function a(s){return n.exec(s).slice(1)}return i.resolve=function(){for(var s="",o=!1,c=arguments.length-1;c>=-1&&!o;c--){var l=c>=0?arguments[c]:process.cwd();if(e(l)){if(!l)continue}else throw new TypeError("Arguments to path.resolve must be strings");s=l+"/"+s,o=l.charAt(0)==="/"}return s=r(s.split("/"),!o).join("/"),(o?"/":"")+s||"."},i.normalize=function(s){var o=i.isAbsolute(s),c=s.substr(-1)==="/";return s=r(s.split("/"),!o).join("/"),!s&&!o&&(s="."),s&&c&&(s+="/"),(o?"/":"")+s},i.isAbsolute=function(s){return s.charAt(0)==="/"},i.join=function(){for(var s="",o=0;o<arguments.length;o++){var c=arguments[o];if(!e(c))throw new TypeError("Arguments to path.join must be strings");c&&(s?s+="/"+c:s+=c)}return i.normalize(s)},i.relative=function(s,o){s=i.resolve(s).substr(1),o=i.resolve(o).substr(1);function c(b){for(var D=0;D<b.length&&b[D]==="";D++);for(var g=b.length-1;g>=0&&b[g]==="";g--);return D>g?[]:b.slice(D,g+1)}for(var l=c(s.split("/")),f=c(o.split("/")),p=Math.min(l.length,f.length),u=p,h=0;h<p;h++)if(l[h]!==f[h]){u=h;break}for(var d=[],h=u;h<l.length;h++)d.push("..");return d=d.concat(f.slice(u)),d.join("/")},i._makeLong=function(s){return s},i.dirname=function(s){var o=a(s),c=o[0],l=o[1];return!c&&!l?".":(l&&(l=l.substr(0,l.length-1)),c+l)},i.basename=function(s,o){var c=a(s)[2];return o&&c.substr(-1*o.length)===o&&(c=c.substr(0,c.length-o.length)),c},i.extname=function(s){return a(s)[3]},i.format=function(s){if(!t.isObject(s))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof s);var o=s.root||"";if(!e(o))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof s.root);var c=s.dir?s.dir+i.sep:"",l=s.base||"";return c+l},i.parse=function(s){if(!e(s))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof s);var o=a(s);if(!o||o.length!==4)throw new TypeError("Invalid path '"+s+"'");return o[1]=o[1]||"",o[2]=o[2]||"",o[3]=o[3]||"",{root:o[0],dir:o[0]+o[1].slice(0,o[1].length-1),base:o[2],ext:o[3],name:o[2].slice(0,o[2].length-o[3].length)}},i.sep="/",i.delimiter=":",Ko=i,Ko}var Bh;function _t(){if(Bh)return ar;Bh=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.normalisePath=ar.getAllDirectories=ar.encodePath=void 0;var t=zf(),e="__PATH_SEPARATOR_POSIX__",r="__PATH_SEPARATOR_WINDOWS__";function n(s){var o=s.replace(/\//g,e).replace(/\\\\/g,r),c=encodeURIComponent(o);return c.split(r).join("\\\\").split(e).join("/")}ar.encodePath=n;function i(s){if(!s||s==="/")return[];var o=s,c=[];do c.push(o),o=(0,t.dirname)(o);while(o&&o!=="/");return c}ar.getAllDirectories=i;function a(s){var o=s;return o[0]!=="/"&&(o="/"+o),/^.+\/$/.test(o)&&(o=o.substr(0,o.length-1)),o}return ar.normalisePath=a,ar}var Rh;function St(){if(Rh)return Lt;Rh=1;var t=Lt&&Lt.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.normaliseHREF=Lt.joinURL=Lt.extractURLPath=void 0;var e=t(Qw()),r=t(tE()),n=_t();function i(o){var c=new e.default(o),l=c.pathname;return l.length<=0&&(l="/"),(0,n.normalisePath)(l)}Lt.extractURLPath=i;function a(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return(0,r.default)(o.reduce(function(l,f,p){return(p===0||f!=="/"||f==="/"&&l[l.length-1]!=="/")&&l.push(f),l},[]))}Lt.joinURL=a;function s(o){var c=o.replace(/^https?:\/\/[^\/]+/,"");return c}return Lt.normaliseHREF=s,Lt}var Zn={},$r={},Jn={},or={},kh;function Yy(){if(kh)return or;kh=1,Object.defineProperty(or,"__esModule",{value:!0}),or.isError=or.inherit=or.assertError=void 0;function t(i){if(!r(i))throw new Error("Parameter was not an error")}or.assertError=t;function e(i,a){i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}or.inherit=e;function r(i){return n(i)==="[object Error]"||i instanceof Error}or.isError=r;function n(i){return Object.prototype.toString.call(i)}return or}var Kn={},qh;function rE(){if(qh)return Kn;qh=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.parseArguments=void 0;const t=Yy();function e(r){let n,i="";if(r.length===0)n={};else if(t.isError(r[0]))n={cause:r[0]},i=r.slice(1).join(" ")||"";else if(r[0]&&typeof r[0]=="object")n=Object.assign({},r[0]),i=r.slice(1).join(" ")||"";else if(typeof r[0]=="string")n={},i=i=r.join(" ")||"";else throw new Error("Invalid arguments passed to Layerr");return{options:n,shortMessage:i}}return Kn.parseArguments=e,Kn}var Ph;function nE(){if(Ph)return Jn;Ph=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.Layerr=void 0;const t=Yy(),e=rE();function r(n,i){const a=[...arguments];if(!(this instanceof r))throw new Error("Cannot invoke 'Layerr' like a function: It must be called with 'new'");const{options:s,shortMessage:o}=e.parseArguments(a);this.name="Layerr",s.name&&typeof s.name=="string"&&(this.name=s.name);let c=o;if(s.cause&&(Object.defineProperty(this,"_cause",{value:s.cause}),c=`${c}: ${s.cause.message}`),this.message=c,Object.defineProperty(this,"_info",{value:{}}),s.info&&typeof s.info=="object"&&Object.assign(this._info,s.info),Error.call(this,c),Error.captureStackTrace){const l=s.constructorOpt||this.constructor;Error.captureStackTrace(this,l)}return this}return Jn.Layerr=r,t.inherit(r,Error),r.prototype.cause=function(){return r.cause(this)||void 0},r.prototype.toString=function(){let i=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(i=`${i}: ${this.message}`),i},r.cause=function(i){return t.assertError(i),t.isError(i._cause)?i._cause:null},r.fullStack=function(i){t.assertError(i);const a=r.cause(i);return a?`${i.stack}
|
|
39
|
-
caused by: ${r.fullStack(a)}`:i.stack},r.info=function(i){t.assertError(i);const a={},s=r.cause(i);return s&&Object.assign(a,r.info(s)),i._info&&Object.assign(a,i._info),a},Jn}var Xo={},Ih;function iE(){return Ih||(Ih=1,Object.defineProperty(Xo,"__esModule",{value:!0})),Xo}var Nh;function Ta(){return Nh||(Nh=1,(function(t){var e=$r&&$r.__createBinding||(Object.create?(function(i,a,s,o){o===void 0&&(o=s),Object.defineProperty(i,o,{enumerable:!0,get:function(){return a[s]}})}):(function(i,a,s,o){o===void 0&&(o=s),i[o]=a[s]})),r=$r&&$r.__exportStar||function(i,a){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(a,s)&&e(a,i,s)};Object.defineProperty(t,"__esModule",{value:!0}),t.Layerr=void 0;var n=nE();Object.defineProperty(t,"Layerr",{enumerable:!0,get:function(){return n.Layerr}}),r(iE(),t)})($r)),$r}var $t={},Qo={exports:{}},eu={exports:{}},Mh;function sE(){return Mh||(Mh=1,(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,n){return r<<n|r>>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var n=0;n<r.length;n++)r[n]=e.endian(r[n]);return r},randomBytes:function(r){for(var n=[];r>0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],i=0,a=0;i<r.length;i++,a+=8)n[a>>>5]|=r[i]<<24-a%32;return n},wordsToBytes:function(r){for(var n=[],i=0;i<r.length*32;i+=8)n.push(r[i>>>5]>>>24-i%32&255);return n},bytesToHex:function(r){for(var n=[],i=0;i<r.length;i++)n.push((r[i]>>>4).toString(16)),n.push((r[i]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],i=0;i<r.length;i+=2)n.push(parseInt(r.substr(i,2),16));return n},bytesToBase64:function(r){for(var n=[],i=0;i<r.length;i+=3)for(var a=r[i]<<16|r[i+1]<<8|r[i+2],s=0;s<4;s++)i*8+s*6<=r.length*8?n.push(t.charAt(a>>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],i=0,a=0;i<r.length;a=++i%4)a!=0&&n.push((t.indexOf(r.charAt(i-1))&Math.pow(2,-2*a+8)-1)<<a*2|t.indexOf(r.charAt(i))>>>6-a*2);return n}};eu.exports=e})()),eu.exports}var tu,jh;function Lh(){if(jh)return tu;jh=1;var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],n=0;n<e.length;n++)r.push(e.charCodeAt(n)&255);return r},bytesToString:function(e){for(var r=[],n=0;n<e.length;n++)r.push(String.fromCharCode(e[n]));return r.join("")}}};return tu=t,tu}var ru,$h;function aE(){if($h)return ru;$h=1,ru=function(r){return r!=null&&(t(r)||e(r)||!!r._isBuffer)};function t(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))}return ru}var Uh;function Zy(){return Uh||(Uh=1,(function(){var t=sE(),e=Lh().utf8,r=aE(),n=Lh().bin,i=function(a,s){a.constructor==String?s&&s.encoding==="binary"?a=n.stringToBytes(a):a=e.stringToBytes(a):r(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var o=t.bytesToWords(a),c=a.length*8,l=1732584193,f=-271733879,p=-1732584194,u=271733878,h=0;h<o.length;h++)o[h]=(o[h]<<8|o[h]>>>24)&16711935|(o[h]<<24|o[h]>>>8)&4278255360;o[c>>>5]|=128<<c%32,o[(c+64>>>9<<4)+14]=c;for(var d=i._ff,b=i._gg,D=i._hh,g=i._ii,h=0;h<o.length;h+=16){var y=l,w=f,E=p,x=u;l=d(l,f,p,u,o[h+0],7,-680876936),u=d(u,l,f,p,o[h+1],12,-389564586),p=d(p,u,l,f,o[h+2],17,606105819),f=d(f,p,u,l,o[h+3],22,-1044525330),l=d(l,f,p,u,o[h+4],7,-176418897),u=d(u,l,f,p,o[h+5],12,1200080426),p=d(p,u,l,f,o[h+6],17,-1473231341),f=d(f,p,u,l,o[h+7],22,-45705983),l=d(l,f,p,u,o[h+8],7,1770035416),u=d(u,l,f,p,o[h+9],12,-1958414417),p=d(p,u,l,f,o[h+10],17,-42063),f=d(f,p,u,l,o[h+11],22,-1990404162),l=d(l,f,p,u,o[h+12],7,1804603682),u=d(u,l,f,p,o[h+13],12,-40341101),p=d(p,u,l,f,o[h+14],17,-1502002290),f=d(f,p,u,l,o[h+15],22,1236535329),l=b(l,f,p,u,o[h+1],5,-165796510),u=b(u,l,f,p,o[h+6],9,-1069501632),p=b(p,u,l,f,o[h+11],14,643717713),f=b(f,p,u,l,o[h+0],20,-373897302),l=b(l,f,p,u,o[h+5],5,-701558691),u=b(u,l,f,p,o[h+10],9,38016083),p=b(p,u,l,f,o[h+15],14,-660478335),f=b(f,p,u,l,o[h+4],20,-405537848),l=b(l,f,p,u,o[h+9],5,568446438),u=b(u,l,f,p,o[h+14],9,-1019803690),p=b(p,u,l,f,o[h+3],14,-187363961),f=b(f,p,u,l,o[h+8],20,1163531501),l=b(l,f,p,u,o[h+13],5,-1444681467),u=b(u,l,f,p,o[h+2],9,-51403784),p=b(p,u,l,f,o[h+7],14,1735328473),f=b(f,p,u,l,o[h+12],20,-1926607734),l=D(l,f,p,u,o[h+5],4,-378558),u=D(u,l,f,p,o[h+8],11,-2022574463),p=D(p,u,l,f,o[h+11],16,1839030562),f=D(f,p,u,l,o[h+14],23,-35309556),l=D(l,f,p,u,o[h+1],4,-1530992060),u=D(u,l,f,p,o[h+4],11,1272893353),p=D(p,u,l,f,o[h+7],16,-155497632),f=D(f,p,u,l,o[h+10],23,-1094730640),l=D(l,f,p,u,o[h+13],4,681279174),u=D(u,l,f,p,o[h+0],11,-358537222),p=D(p,u,l,f,o[h+3],16,-722521979),f=D(f,p,u,l,o[h+6],23,76029189),l=D(l,f,p,u,o[h+9],4,-640364487),u=D(u,l,f,p,o[h+12],11,-421815835),p=D(p,u,l,f,o[h+15],16,530742520),f=D(f,p,u,l,o[h+2],23,-995338651),l=g(l,f,p,u,o[h+0],6,-198630844),u=g(u,l,f,p,o[h+7],10,1126891415),p=g(p,u,l,f,o[h+14],15,-1416354905),f=g(f,p,u,l,o[h+5],21,-57434055),l=g(l,f,p,u,o[h+12],6,1700485571),u=g(u,l,f,p,o[h+3],10,-1894986606),p=g(p,u,l,f,o[h+10],15,-1051523),f=g(f,p,u,l,o[h+1],21,-2054922799),l=g(l,f,p,u,o[h+8],6,1873313359),u=g(u,l,f,p,o[h+15],10,-30611744),p=g(p,u,l,f,o[h+6],15,-1560198380),f=g(f,p,u,l,o[h+13],21,1309151649),l=g(l,f,p,u,o[h+4],6,-145523070),u=g(u,l,f,p,o[h+11],10,-1120210379),p=g(p,u,l,f,o[h+2],15,718787259),f=g(f,p,u,l,o[h+9],21,-343485551),l=l+y>>>0,f=f+w>>>0,p=p+E>>>0,u=u+x>>>0}return t.endian([l,f,p,u])};i._ff=function(a,s,o,c,l,f,p){var u=a+(s&o|~s&c)+(l>>>0)+p;return(u<<f|u>>>32-f)+s},i._gg=function(a,s,o,c,l,f,p){var u=a+(s&c|o&~c)+(l>>>0)+p;return(u<<f|u>>>32-f)+s},i._hh=function(a,s,o,c,l,f,p){var u=a+(s^o^c)+(l>>>0)+p;return(u<<f|u>>>32-f)+s},i._ii=function(a,s,o,c,l,f,p){var u=a+(o^(s|~c))+(l>>>0)+p;return(u<<f|u>>>32-f)+s},i._blocksize=16,i._digestsize=16,Qo.exports=function(a,s){if(a==null)throw new Error("Illegal argument "+a);var o=t.wordsToBytes(i(a,s));return s&&s.asBytes?o:s&&s.asString?n.bytesToString(o):t.bytesToHex(o)}})()),Qo.exports}var Ur={},zh;function oE(){if(zh)return Ur;zh=1;var t=Ur&&Ur.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.ha1Compute=void 0;var e=t(Zy());function r(n,i,a,s,o,c){var l=(0,e.default)("".concat(i,":").concat(a,":").concat(s));return n&&n.toLowerCase()==="md5-sess"?(0,e.default)("".concat(l,":").concat(o,":").concat(c)):l}return Ur.ha1Compute=r,Ur}var Hh;function Jy(){if(Hh)return $t;Hh=1;var t=$t&&$t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty($t,"__esModule",{value:!0}),$t.parseDigestAuth=$t.generateDigestAuthHeader=$t.createDigestContext=void 0;var e=t(Zy()),r=oE(),n="abcdef0123456789",i=32;function a(l,f){return{username:l,password:f,nc:0,algorithm:"md5",hasDigestAuth:!1}}$t.createDigestContext=a;function s(l,f){var p=l.url.replace("//",""),u=p.indexOf("/")==-1?"/":p.slice(p.indexOf("/")),h=l.method?l.method.toUpperCase():"GET",d=/(^|,)\s*auth\s*($|,)/.test(f.qop)?"auth":!1,b="00000000".concat(f.nc).slice(-8),D=(0,r.ha1Compute)(f.algorithm,f.username,f.realm,f.password,f.nonce,f.cnonce),g=(0,e.default)("".concat(h,":").concat(u)),y=d?(0,e.default)("".concat(D,":").concat(f.nonce,":").concat(b,":").concat(f.cnonce,":").concat(d,":").concat(g)):(0,e.default)("".concat(D,":").concat(f.nonce,":").concat(g)),w={username:f.username,realm:f.realm,nonce:f.nonce,uri:u,qop:d,response:y,nc:b,cnonce:f.cnonce,algorithm:f.algorithm,opaque:f.opaque},E=[];for(var x in w)w[x]&&(x==="qop"||x==="nc"||x==="algorithm"?E.push("".concat(x,"=").concat(w[x])):E.push("".concat(x,'="').concat(w[x],'"')));return"Digest ".concat(E.join(", "))}$t.generateDigestAuthHeader=s;function o(){for(var l="",f=0;f<i;++f)l="".concat(l).concat(n[Math.floor(Math.random()*n.length)]);return l}function c(l,f){var p=l.headers["www-authenticate"]||"";if(p.split(/\s/)[0].toLowerCase()!=="digest")return!1;for(var u=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var h=u.exec(p);if(!h)break;f[h[1]]=h[2]||h[3]}return f.nc+=1,f.cnonce=o(),!0}return $t.parseDigestAuth=c,$t}var Xn={},ur={},mi={exports:{}};var uE=mi.exports,Vh;function cE(){return Vh||(Vh=1,(function(t,e){(function(r){var n=e,i=t&&t.exports==n&&t,a=typeof Rr=="object"&&Rr;(a.global===a||a.window===a)&&(r=a);var s=function(d){this.message=d};s.prototype=new Error,s.prototype.name="InvalidCharacterError";var o=function(d){throw new s(d)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,f=function(d){d=String(d).replace(l,"");var b=d.length;b%4==0&&(d=d.replace(/==?$/,""),b=d.length),(b%4==1||/[^+a-zA-Z0-9/]/.test(d))&&o("Invalid character: the string to be decoded is not correctly encoded.");for(var D=0,g,y,w="",E=-1;++E<b;)y=c.indexOf(d.charAt(E)),g=D%4?g*64+y:y,D++%4&&(w+=String.fromCharCode(255&g>>(-2*D&6)));return w},p=function(d){d=String(d),/[^\0-\xFF]/.test(d)&&o("The string to be encoded contains characters outside of the Latin1 range.");for(var b=d.length%3,D="",g=-1,y,w,E,x,m=d.length-b;++g<m;)y=d.charCodeAt(g)<<16,w=d.charCodeAt(++g)<<8,E=d.charCodeAt(++g),x=y+w+E,D+=c.charAt(x>>18&63)+c.charAt(x>>12&63)+c.charAt(x>>6&63)+c.charAt(x&63);return b==2?(y=d.charCodeAt(g)<<8,w=d.charCodeAt(++g),x=y+w,D+=c.charAt(x>>10)+c.charAt(x>>4&63)+c.charAt(x<<2&63)+"="):b==1&&(x=d.charCodeAt(g),D+=c.charAt(x>>2)+c.charAt(x<<4&63)+"=="),D},u={encode:p,decode:f,version:"1.0.0"};if(n&&!n.nodeType)if(i)i.exports=u;else for(var h in u)u.hasOwnProperty(h)&&(n[h]=u[h]);else r.base64=u})(uE)})(mi,mi.exports)),mi.exports}var gi={exports:{}};var lE=gi.exports,Wh;function fE(){return Wh||(Wh=1,(function(t,e){(function(r){var n=e,i=t&&t.exports==n&&t,a=typeof Rr=="object"&&Rr;(a.global===a||a.window===a)&&(r=a);var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},p=/["&'<>`]/g,u={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,b=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,D={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
40
|
-
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,x={},m=x.hasOwnProperty,F=function(L,$){return m.call(L,$)},_=function(L,$){for(var J=-1,se=L.length;++J<se;)if(L[J]==$)return!0;return!1},T=function(L,$){if(!L)return $;var J={},se;for(se in $)J[se]=F(L,se)?L[se]:$[se];return J},M=function(L,$){var J="";return L>=55296&&L<=57343||L>1114111?($&&O("character reference outside the permissible Unicode range"),"�"):F(y,L)?($&&O("disallowed character reference"),y[L]):($&&_(w,L)&&O("disallowed character reference"),L>65535&&(L-=65536,J+=E(L>>>10&1023|55296),L=56320|L&1023),J+=E(L),J)},B=function(L){return"&#x"+L.toString(16).toUpperCase()+";"},A=function(L){return"&#"+L+";"},O=function(L){throw Error("Parse error: "+L)},N=function(L,$){$=T($,N.options);var J=$.strict;J&&d.test(L)&&O("forbidden code point");var se=$.encodeEverything,ue=$.useNamedReferences,ne=$.allowUnsafeSymbols,ge=$.decimal?A:B,X=function(de){return ge(de.charCodeAt(0))};return se?(L=L.replace(o,function(de){return ue&&F(f,de)?"&"+f[de]+";":X(de)}),ue&&(L=L.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),ue&&(L=L.replace(l,function(de){return"&"+f[de]+";"}))):ue?(ne||(L=L.replace(p,function(de){return"&"+f[de]+";"})),L=L.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),L=L.replace(l,function(de){return"&"+f[de]+";"})):ne||(L=L.replace(p,X)),L.replace(s,function(de){var be=de.charCodeAt(0),De=de.charCodeAt(1),ae=(be-55296)*1024+De-56320+65536;return ge(ae)}).replace(c,X)};N.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var z=function(L,$){$=T($,z.options);var J=$.strict;return J&&h.test(L)&&O("malformed character reference"),L.replace(b,function(se,ue,ne,ge,X,de,be,De,ae){var pe,we,Te,Y,I,j;return ue?(I=ue,D[I]):ne?(I=ne,j=ge,j&&$.isAttributeValue?(J&&j=="="&&O("`&` did not start a character reference"),se):(J&&O("named character reference was not terminated by a semicolon"),g[I]+(j||""))):X?(Te=X,we=de,J&&!we&&O("character reference was not terminated by a semicolon"),pe=parseInt(Te,10),M(pe,J)):be?(Y=be,we=De,J&&!we&&O("character reference was not terminated by a semicolon"),pe=parseInt(Y,16),M(pe,J)):(J&&O("named character reference was not terminated by a semicolon"),se)})};z.options={isAttributeValue:!1,strict:!1};var C=function(L){return L.replace(p,function($){return u[$]})},k={version:"1.2.0",encode:N,decode:z,escape:C,unescape:z};if(n&&!n.nodeType)if(i)i.exports=k;else for(var q in k)F(k,q)&&(n[q]=k[q]);else r.he=k})(lE)})(gi,gi.exports)),gi.exports}var Gh;function Ba(){if(Gh)return ur;Gh=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.toBase64=ur.fromBase64=ur.decodeHTMLEntities=void 0;var t=cE();function e(i){if(typeof WEB>"u"){var a=fE();return a.decode(i)}else{var s=document.createElement("textarea");return s.innerHTML=i,s.value}}ur.decodeHTMLEntities=e;function r(i){return(0,t.decode)(i)}ur.fromBase64=r;function n(i){return(0,t.encode)(i)}return ur.toBase64=n,ur}var Yh;function pE(){if(Yh)return Xn;Yh=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.generateBasicAuthHeader=void 0;var t=Ba();function e(r,n){var i=(0,t.toBase64)("".concat(r,":").concat(n));return"Basic ".concat(i)}return Xn.generateBasicAuthHeader=e,Xn}var Qn={},Zh;function dE(){if(Zh)return Qn;Zh=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.generateTokenAuthHeader=void 0;function t(e){return"".concat(e.token_type," ").concat(e.access_token)}return Qn.generateTokenAuthHeader=t,Qn}var nu={},Jh;function Ln(){return Jh||(Jh=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCode=t.AuthType=void 0,(function(e){e.Digest="digest",e.None="none",e.Password="password",e.Token="token"})(t.AuthType||(t.AuthType={})),(function(e){e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth"})(t.ErrorCode||(t.ErrorCode={}))})(nu)),nu}var Kh;function hE(){if(Kh)return Zn;Kh=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.setupAuth=void 0;var t=Ta(),e=Jy(),r=pE(),n=dE(),i=Ln();function a(s,o,c,l){switch(s.authType){case i.AuthType.Digest:s.digest=(0,e.createDigestContext)(o,c);break;case i.AuthType.None:break;case i.AuthType.Password:s.headers.Authorization=(0,r.generateBasicAuthHeader)(o,c);break;case i.AuthType.Token:s.headers.Authorization=(0,n.generateTokenAuthHeader)(l);break;default:throw new t.Layerr({info:{code:i.ErrorCode.InvalidAuthType}},"Invalid auth type: ".concat(s.authType))}}return Zn.setupAuth=a,Zn}var cr={},lr={},Cs={exports:{}},iu,Xh;function Ky(){return Xh||(Xh=1,iu=function(e,r){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return e.apply(r,i)}}),iu}var su,Qh;function it(){if(Qh)return su;Qh=1;var t=Ky(),e=Object.prototype.toString,r=(function(C){return function(k){var q=e.call(k);return C[q]||(C[q]=q.slice(8,-1).toLowerCase())}})(Object.create(null));function n(C){return C=C.toLowerCase(),function(q){return r(q)===C}}function i(C){return Array.isArray(C)}function a(C){return typeof C>"u"}function s(C){return C!==null&&!a(C)&&C.constructor!==null&&!a(C.constructor)&&typeof C.constructor.isBuffer=="function"&&C.constructor.isBuffer(C)}var o=n("ArrayBuffer");function c(C){var k;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?k=ArrayBuffer.isView(C):k=C&&C.buffer&&o(C.buffer),k}function l(C){return typeof C=="string"}function f(C){return typeof C=="number"}function p(C){return C!==null&&typeof C=="object"}function u(C){if(r(C)!=="object")return!1;var k=Object.getPrototypeOf(C);return k===null||k===Object.prototype}var h=n("Date"),d=n("File"),b=n("Blob"),D=n("FileList");function g(C){return e.call(C)==="[object Function]"}function y(C){return p(C)&&g(C.pipe)}function w(C){var k="[object FormData]";return C&&(typeof FormData=="function"&&C instanceof FormData||e.call(C)===k||g(C.toString)&&C.toString()===k)}var E=n("URLSearchParams");function x(C){return C.trim?C.trim():C.replace(/^\s+|\s+$/g,"")}function m(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function F(C,k){if(!(C===null||typeof C>"u"))if(typeof C!="object"&&(C=[C]),i(C))for(var q=0,L=C.length;q<L;q++)k.call(null,C[q],q,C);else for(var $ in C)Object.prototype.hasOwnProperty.call(C,$)&&k.call(null,C[$],$,C)}function _(){var C={};function k($,J){u(C[J])&&u($)?C[J]=_(C[J],$):u($)?C[J]=_({},$):i($)?C[J]=$.slice():C[J]=$}for(var q=0,L=arguments.length;q<L;q++)F(arguments[q],k);return C}function T(C,k,q){return F(k,function($,J){q&&typeof $=="function"?C[J]=t($,q):C[J]=$}),C}function M(C){return C.charCodeAt(0)===65279&&(C=C.slice(1)),C}function B(C,k,q,L){C.prototype=Object.create(k.prototype,L),C.prototype.constructor=C,q&&Object.assign(C.prototype,q)}function A(C,k,q){var L,$,J,se={};k=k||{};do{for(L=Object.getOwnPropertyNames(C),$=L.length;$-- >0;)J=L[$],se[J]||(k[J]=C[J],se[J]=!0);C=Object.getPrototypeOf(C)}while(C&&(!q||q(C,k))&&C!==Object.prototype);return k}function O(C,k,q){C=String(C),(q===void 0||q>C.length)&&(q=C.length),q-=k.length;var L=C.indexOf(k,q);return L!==-1&&L===q}function N(C){if(!C)return null;var k=C.length;if(a(k))return null;for(var q=new Array(k);k-- >0;)q[k]=C[k];return q}var z=(function(C){return function(k){return C&&k instanceof C}})(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));return su={isArray:i,isArrayBuffer:o,isBuffer:s,isFormData:w,isArrayBufferView:c,isString:l,isNumber:f,isObject:p,isPlainObject:u,isUndefined:a,isDate:h,isFile:d,isBlob:b,isFunction:g,isStream:y,isURLSearchParams:E,isStandardBrowserEnv:m,forEach:F,merge:_,extend:T,trim:x,stripBOM:M,inherits:B,toFlatObject:A,kindOf:r,kindOfTest:n,endsWith:O,toArray:N,isTypedArray:z,isFileList:D},su}var au,em;function Hf(){if(em)return au;em=1;var t=it();function e(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return au=function(n,i,a){if(!i)return n;var s;if(a)s=a(i);else if(t.isURLSearchParams(i))s=i.toString();else{var o=[];t.forEach(i,function(f,p){f===null||typeof f>"u"||(t.isArray(f)?p=p+"[]":f=[f],t.forEach(f,function(h){t.isDate(h)?h=h.toISOString():t.isObject(h)&&(h=JSON.stringify(h)),o.push(e(p)+"="+e(h))}))}),s=o.join("&")}if(s){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n},au}var ou,tm;function mE(){if(tm)return ou;tm=1;var t=it();function e(){this.handlers=[]}return e.prototype.use=function(n,i,a){return this.handlers.push({fulfilled:n,rejected:i,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},e.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},e.prototype.forEach=function(n){t.forEach(this.handlers,function(a){a!==null&&n(a)})},ou=e,ou}var uu,rm;function gE(){if(rm)return uu;rm=1;var t=it();return uu=function(r,n){t.forEach(r,function(a,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(r[n]=a,delete r[s])})},uu}var cu,nm;function pn(){if(nm)return cu;nm=1;var t=it();function e(i,a,s,o,c){Error.call(this),this.message=i,this.name="AxiosError",a&&(this.code=a),s&&(this.config=s),o&&(this.request=o),c&&(this.response=c)}t.inherits(e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=e.prototype,n={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(i){n[i]={value:i}}),Object.defineProperties(e,n),Object.defineProperty(r,"isAxiosError",{value:!0}),e.from=function(i,a,s,o,c,l){var f=Object.create(r);return t.toFlatObject(i,f,function(u){return u!==Error.prototype}),e.call(f,i.message,a,s,o,c),f.name=i.name,l&&Object.assign(f,l),f},cu=e,cu}var lu,im;function Vf(){return im||(im=1,lu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}),lu}var fu,sm;function Xy(){if(sm)return fu;sm=1;var t=it();function e(r,n){n=n||new FormData;var i=[];function a(o){return o===null?"":t.isDate(o)?o.toISOString():t.isArrayBuffer(o)||t.isTypedArray(o)?typeof Blob=="function"?new Blob([o]):Buffer.from(o):o}function s(o,c){if(t.isPlainObject(o)||t.isArray(o)){if(i.indexOf(o)!==-1)throw Error("Circular reference detected in "+c);i.push(o),t.forEach(o,function(f,p){if(!t.isUndefined(f)){var u=c?c+"."+p:p,h;if(f&&!c&&typeof f=="object"){if(t.endsWith(p,"{}"))f=JSON.stringify(f);else if(t.endsWith(p,"[]")&&(h=t.toArray(f))){h.forEach(function(d){!t.isUndefined(d)&&n.append(u,a(d))});return}}s(f,u)}}),i.pop()}else n.append(c,a(o))}return s(r),n}return fu=e,fu}var pu,am;function Qy(){if(am)return pu;am=1;var t=pn();return pu=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},pu}var du,om;function DE(){if(om)return du;om=1;var t=it();return du=t.isStandardBrowserEnv()?(function(){return{write:function(n,i,a,s,o,c){var l=[];l.push(n+"="+encodeURIComponent(i)),t.isNumber(a)&&l.push("expires="+new Date(a).toGMTString()),t.isString(s)&&l.push("path="+s),t.isString(o)&&l.push("domain="+o),c===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})(),du}var hu,um;function yE(){return um||(um=1,hu=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}),hu}var mu,cm;function bE(){return cm||(cm=1,mu=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e}),mu}var gu,lm;function Wf(){if(lm)return gu;lm=1;var t=yE(),e=bE();return gu=function(n,i){return n&&!t(i)?e(n,i):i},gu}var Du,fm;function vE(){if(fm)return Du;fm=1;var t=it(),e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Du=function(n){var i={},a,s,o;return n&&t.forEach(n.split(`
|
|
41
|
-
`),function(l){if(o=l.indexOf(":"),a=t.trim(l.substr(0,o)).toLowerCase(),s=t.trim(l.substr(o+1)),a){if(i[a]&&e.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([s]):i[a]=i[a]?i[a]+", "+s:s}}),i},Du}var yu,pm;function xE(){if(pm)return yu;pm=1;var t=it();return yu=t.isStandardBrowserEnv()?(function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(s){var o=s;return r&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(o){var c=t.isString(o)?a(o):o;return c.protocol===i.protocol&&c.host===i.host}})():(function(){return function(){return!0}})(),yu}var bu,dm;function zi(){if(dm)return bu;dm=1;var t=pn(),e=it();function r(n){t.call(this,n??"canceled",t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(r,t,{__CANCEL__:!0}),bu=r,bu}var vu,hm;function wE(){return hm||(hm=1,vu=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}),vu}var xu,mm;function EE(){if(mm)return xu;mm=1;var t=it(),e=Qy(),r=DE(),n=Hf(),i=Wf(),a=vE(),s=xE(),o=Vf(),c=pn(),l=zi(),f=wE();return xu=function(u){return new Promise(function(d,b){var D=u.data,g=u.headers,y=u.responseType,w;function E(){u.cancelToken&&u.cancelToken.unsubscribe(w),u.signal&&u.signal.removeEventListener("abort",w)}t.isFormData(D)&&t.isStandardBrowserEnv()&&delete g["Content-Type"];var x=new XMLHttpRequest;if(u.auth){var m=u.auth.username||"",F=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(m+":"+F)}var _=i(u.baseURL,u.url);x.open(u.method.toUpperCase(),n(_,u.params,u.paramsSerializer),!0),x.timeout=u.timeout;function T(){if(x){var A="getAllResponseHeaders"in x?a(x.getAllResponseHeaders()):null,O=!y||y==="text"||y==="json"?x.responseText:x.response,N={data:O,status:x.status,statusText:x.statusText,headers:A,config:u,request:x};e(function(C){d(C),E()},function(C){b(C),E()},N),x=null}}if("onloadend"in x?x.onloadend=T:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(T)},x.onabort=function(){x&&(b(new c("Request aborted",c.ECONNABORTED,u,x)),x=null)},x.onerror=function(){b(new c("Network Error",c.ERR_NETWORK,u,x,x)),x=null},x.ontimeout=function(){var O=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",N=u.transitional||o;u.timeoutErrorMessage&&(O=u.timeoutErrorMessage),b(new c(O,N.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,u,x)),x=null},t.isStandardBrowserEnv()){var M=(u.withCredentials||s(_))&&u.xsrfCookieName?r.read(u.xsrfCookieName):void 0;M&&(g[u.xsrfHeaderName]=M)}"setRequestHeader"in x&&t.forEach(g,function(O,N){typeof D>"u"&&N.toLowerCase()==="content-type"?delete g[N]:x.setRequestHeader(N,O)}),t.isUndefined(u.withCredentials)||(x.withCredentials=!!u.withCredentials),y&&y!=="json"&&(x.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&x.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(w=function(A){x&&(b(!A||A&&A.type?new l:A),x.abort(),x=null)},u.cancelToken&&u.cancelToken.subscribe(w),u.signal&&(u.signal.aborted?w():u.signal.addEventListener("abort",w))),D||(D=null);var B=f(_);if(B&&["http","https","file"].indexOf(B)===-1){b(new c("Unsupported protocol "+B+":",c.ERR_BAD_REQUEST,u));return}x.send(D)})},xu}var As={exports:{}},_s={exports:{}},Ss={exports:{}},wu,gm;function FE(){if(gm)return wu;gm=1;var t=1e3,e=t*60,r=e*60,n=r*24,i=n*7,a=n*365.25;wu=function(f,p){p=p||{};var u=typeof f;if(u==="string"&&f.length>0)return s(f);if(u==="number"&&isFinite(f))return p.long?c(f):o(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(p){var u=parseFloat(p[1]),h=(p[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*e;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function o(f){var p=Math.abs(f);return p>=n?Math.round(f/n)+"d":p>=r?Math.round(f/r)+"h":p>=e?Math.round(f/e)+"m":p>=t?Math.round(f/t)+"s":f+"ms"}function c(f){var p=Math.abs(f);return p>=n?l(f,p,n,"day"):p>=r?l(f,p,r,"hour"):p>=e?l(f,p,e,"minute"):p>=t?l(f,p,t,"second"):f+" ms"}function l(f,p,u,h){var d=p>=u*1.5;return Math.round(f/u)+" "+h+(d?"s":"")}return wu}var Eu,Dm;function eb(){if(Dm)return Eu;Dm=1;function t(e){n.debug=n,n.default=n,n.coerce=l,n.disable=o,n.enable=a,n.enabled=c,n.humanize=FE(),n.destroy=f,Object.keys(e).forEach(p=>{n[p]=e[p]}),n.names=[],n.skips=[],n.formatters={};function r(p){let u=0;for(let h=0;h<p.length;h++)u=(u<<5)-u+p.charCodeAt(h),u|=0;return n.colors[Math.abs(u)%n.colors.length]}n.selectColor=r;function n(p){let u,h=null,d,b;function D(...g){if(!D.enabled)return;const y=D,w=Number(new Date),E=w-(u||w);y.diff=E,y.prev=u,y.curr=w,u=w,g[0]=n.coerce(g[0]),typeof g[0]!="string"&&g.unshift("%O");let x=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,(F,_)=>{if(F==="%%")return"%";x++;const T=n.formatters[_];if(typeof T=="function"){const M=g[x];F=T.call(y,M),g.splice(x,1),x--}return F}),n.formatArgs.call(y,g),(y.log||n.log).apply(y,g)}return D.namespace=p,D.useColors=n.useColors(),D.color=n.selectColor(p),D.extend=i,D.destroy=n.destroy,Object.defineProperty(D,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(d!==n.namespaces&&(d=n.namespaces,b=n.enabled(p)),b),set:g=>{h=g}}),typeof n.init=="function"&&n.init(D),D}function i(p,u){const h=n(this.namespace+(typeof u>"u"?":":u)+p);return h.log=this.log,h}function a(p){n.save(p),n.namespaces=p,n.names=[],n.skips=[];const u=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of u)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function s(p,u){let h=0,d=0,b=-1,D=0;for(;h<p.length;)if(d<u.length&&(u[d]===p[h]||u[d]==="*"))u[d]==="*"?(b=d,D=h,d++):(h++,d++);else if(b!==-1)d=b+1,D++,h=D;else return!1;for(;d<u.length&&u[d]==="*";)d++;return d===u.length}function o(){const p=[...n.names,...n.skips.map(u=>"-"+u)].join(",");return n.enable(""),p}function c(p){for(const u of n.skips)if(s(p,u))return!1;for(const u of n.names)if(s(p,u))return!0;return!1}function l(p){return p instanceof Error?p.stack||p.message:p}function f(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Eu=t,Eu}var ym;function CE(){return ym||(ym=1,(function(t,e){e.formatArgs=n,e.save=i,e.load=a,e.useColors=r,e.storage=s(),e.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;c.splice(1,0,l,"color: inherit");let f=0,p=0;c[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(f++,u==="%c"&&(p=f))}),c.splice(p,0,l)}e.log=console.debug||console.log||(()=>{});function i(c){try{c?e.storage.setItem("debug",c):e.storage.removeItem("debug")}catch{}}function a(){let c;try{c=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function s(){try{return localStorage}catch{}}t.exports=eb()(e);const{formatters:o}=t.exports;o.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}})(Ss,Ss.exports)),Ss.exports}var Os={exports:{}},Fu,bm;function tb(){return bm||(bm=1,Fu=(t,e=process.argv)=>{const r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}),Fu}var Cu,vm;function AE(){if(vm)return Cu;vm=1;const t=dt,e=un,r=tb(),{env:n}=process;let i;r("no-color")||r("no-colors")||r("color=false")||r("color=never")?i=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(i=1);function a(){if("FORCE_COLOR"in n)return n.FORCE_COLOR==="true"?1:n.FORCE_COLOR==="false"?0:n.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(n.FORCE_COLOR,10),3)}function s(l){return l===0?!1:{level:l,hasBasic:!0,has256:l>=2,has16m:l>=3}}function o(l,{streamIsTTY:f,sniffFlags:p=!0}={}){const u=a();u!==void 0&&(i=u);const h=p?i:u;if(h===0)return 0;if(p){if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2}if(l&&!f&&h===void 0)return 0;const d=h||0;if(n.TERM==="dumb")return d;if(process.platform==="win32"){const b=t.release().split(".");return Number(b[0])>=10&&Number(b[2])>=10586?Number(b[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(b=>b in n)||n.CI_NAME==="codeship"?1:d;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if(n.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in n){const b=Number.parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return b>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:d}function c(l,f={}){const p=o(l,{streamIsTTY:l&&l.isTTY,...f});return s(p)}return Cu={supportsColor:c,stdout:c({isTTY:e.isatty(1)}),stderr:c({isTTY:e.isatty(2)})},Cu}var xm;function _E(){return xm||(xm=1,(function(t,e){const r=un,n=Ve;e.init=f,e.log=o,e.formatArgs=a,e.save=c,e.load=l,e.useColors=i,e.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{const u=AE();u&&(u.stderr||u).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(u=>/^debug_/i.test(u)).reduce((u,h)=>{const d=h.substring(6).toLowerCase().replace(/_([a-z])/g,(D,g)=>g.toUpperCase());let b=process.env[h];return/^(yes|on|true|enabled)$/i.test(b)?b=!0:/^(no|off|false|disabled)$/i.test(b)?b=!1:b==="null"?b=null:b=Number(b),u[d]=b,u},{});function i(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:r.isatty(process.stderr.fd)}function a(u){const{namespace:h,useColors:d}=this;if(d){const b=this.color,D="\x1B[3"+(b<8?b:"8;5;"+b),g=` ${D};1m${h} \x1B[0m`;u[0]=g+u[0].split(`
|
|
42
|
-
`).join(`
|
|
43
|
-
`+g),u.push(D+"m+"+t.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=s()+h+" "+u[0]}function s(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "}function o(...u){return process.stderr.write(n.formatWithOptions(e.inspectOpts,...u)+`
|
|
44
|
-
`)}function c(u){u?process.env.DEBUG=u:delete process.env.DEBUG}function l(){return process.env.DEBUG}function f(u){u.inspectOpts={};const h=Object.keys(e.inspectOpts);for(let d=0;d<h.length;d++)u.inspectOpts[h[d]]=e.inspectOpts[h[d]]}t.exports=eb()(e);const{formatters:p}=t.exports;p.o=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts).split(`
|
|
45
|
-
`).map(h=>h.trim()).join(" ")},p.O=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts)}})(Os,Os.exports)),Os.exports}var wm;function SE(){return wm||(wm=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?_s.exports=CE():_s.exports=_E()),_s.exports}var Au,Em;function OE(){if(Em)return Au;Em=1;var t;return Au=function(){if(!t){try{t=SE()("follow-redirects")}catch{}typeof t!="function"&&(t=function(){})}t.apply(null,arguments)},Au}var Fm;function Cm(){if(Fm)return As.exports;Fm=1;var t=er,e=t.URL,r=Rn,n=Mi,i=Me.Writable,a=Ql,s=OE();(function(){var k=typeof process<"u",q=typeof window<"u"&&typeof document<"u",L=O(Error.captureStackTrace);!k&&(q||!L)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var o=!1;try{a(new e(""))}catch(C){o=C.code==="ERR_INVALID_URL"}var c=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],l=["abort","aborted","connect","error","socket","timeout"],f=Object.create(null);l.forEach(function(C){f[C]=function(k,q,L){this._redirectable.emit(C,k,q,L)}});var p=T("ERR_INVALID_URL","Invalid URL",TypeError),u=T("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),h=T("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",u),d=T("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),b=T("ERR_STREAM_WRITE_AFTER_END","write after end"),D=i.prototype.destroy||w;function g(C,k){i.call(this),this._sanitizeOptions(C),this._options=C,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],k&&this.on("response",k);var q=this;this._onNativeResponse=function(L){try{q._processResponse(L)}catch($){q.emit("error",$ instanceof u?$:new u({cause:$}))}},this._performRequest()}g.prototype=Object.create(i.prototype),g.prototype.abort=function(){M(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},g.prototype.destroy=function(C){return M(this._currentRequest,C),D.call(this,C),this},g.prototype.write=function(C,k,q){if(this._ending)throw new b;if(!A(C)&&!N(C))throw new TypeError("data should be a string, Buffer or Uint8Array");if(O(k)&&(q=k,k=null),C.length===0){q&&q();return}this._requestBodyLength+C.length<=this._options.maxBodyLength?(this._requestBodyLength+=C.length,this._requestBodyBuffers.push({data:C,encoding:k}),this._currentRequest.write(C,k,q)):(this.emit("error",new d),this.abort())},g.prototype.end=function(C,k,q){if(O(C)?(q=C,C=k=null):O(k)&&(q=k,k=null),!C)this._ended=this._ending=!0,this._currentRequest.end(null,null,q);else{var L=this,$=this._currentRequest;this.write(C,k,function(){L._ended=!0,$.end(null,null,q)}),this._ending=!0}},g.prototype.setHeader=function(C,k){this._options.headers[C]=k,this._currentRequest.setHeader(C,k)},g.prototype.removeHeader=function(C){delete this._options.headers[C],this._currentRequest.removeHeader(C)},g.prototype.setTimeout=function(C,k){var q=this;function L(se){se.setTimeout(C),se.removeListener("timeout",se.destroy),se.addListener("timeout",se.destroy)}function $(se){q._timeout&&clearTimeout(q._timeout),q._timeout=setTimeout(function(){q.emit("timeout"),J()},C),L(se)}function J(){q._timeout&&(clearTimeout(q._timeout),q._timeout=null),q.removeListener("abort",J),q.removeListener("error",J),q.removeListener("response",J),q.removeListener("close",J),k&&q.removeListener("timeout",k),q.socket||q._currentRequest.removeListener("socket",$)}return k&&this.on("timeout",k),this.socket?$(this.socket):this._currentRequest.once("socket",$),this.on("socket",L),this.on("abort",J),this.on("error",J),this.on("response",J),this.on("close",J),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(C){g.prototype[C]=function(k,q){return this._currentRequest[C](k,q)}}),["aborted","connection","socket"].forEach(function(C){Object.defineProperty(g.prototype,C,{get:function(){return this._currentRequest[C]}})}),g.prototype._sanitizeOptions=function(C){if(C.headers||(C.headers={}),C.host&&(C.hostname||(C.hostname=C.host),delete C.host),!C.pathname&&C.path){var k=C.path.indexOf("?");k<0?C.pathname=C.path:(C.pathname=C.path.substring(0,k),C.search=C.path.substring(k))}},g.prototype._performRequest=function(){var C=this._options.protocol,k=this._options.nativeProtocols[C];if(!k)throw new TypeError("Unsupported protocol "+C);if(this._options.agents){var q=C.slice(0,-1);this._options.agent=this._options.agents[q]}var L=this._currentRequest=k.request(this._options,this._onNativeResponse);L._redirectable=this;for(var $ of l)L.on($,f[$]);if(this._currentUrl=/^\//.test(this._options.path)?t.format(this._options):this._options.path,this._isRedirect){var J=0,se=this,ue=this._requestBodyBuffers;(function ne(ge){if(L===se._currentRequest)if(ge)se.emit("error",ge);else if(J<ue.length){var X=ue[J++];L.finished||L.write(X.data,X.encoding,ne)}else se._ended&&L.end()})()}},g.prototype._processResponse=function(C){var k=C.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:C.headers,statusCode:k});var q=C.headers.location;if(!q||this._options.followRedirects===!1||k<300||k>=400){C.responseUrl=this._currentUrl,C.redirects=this._redirects,this.emit("response",C),this._requestBodyBuffers=[];return}if(M(this._currentRequest),C.destroy(),++this._redirectCount>this._options.maxRedirects)throw new h;var L,$=this._options.beforeRedirect;$&&(L=Object.assign({Host:C.req.getHeader("host")},this._options.headers));var J=this._options.method;((k===301||k===302)&&this._options.method==="POST"||k===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],_(/^content-/i,this._options.headers));var se=_(/^host$/i,this._options.headers),ue=E(this._currentUrl),ne=se||ue.host,ge=/^\w+:/.test(q)?this._currentUrl:t.format(Object.assign(ue,{host:ne})),X=x(q,ge);if(s("redirecting to",X.href),this._isRedirect=!0,F(X,this._options),(X.protocol!==ue.protocol&&X.protocol!=="https:"||X.host!==ne&&!B(X.host,ne))&&_(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),O($)){var de={headers:C.headers,statusCode:k},be={url:ge,method:J,headers:L};$(this._options,de,be),this._sanitizeOptions(this._options)}this._performRequest()};function y(C){var k={maxRedirects:21,maxBodyLength:10485760},q={};return Object.keys(C).forEach(function(L){var $=L+":",J=q[$]=C[L],se=k[L]=Object.create(J);function ue(ge,X,de){return z(ge)?ge=F(ge):A(ge)?ge=F(E(ge)):(de=X,X=m(ge),ge={protocol:$}),O(X)&&(de=X,X=null),X=Object.assign({maxRedirects:k.maxRedirects,maxBodyLength:k.maxBodyLength},ge,X),X.nativeProtocols=q,!A(X.host)&&!A(X.hostname)&&(X.hostname="::1"),a.equal(X.protocol,$,"protocol mismatch"),s("options",X),new g(X,de)}function ne(ge,X,de){var be=se.request(ge,X,de);return be.end(),be}Object.defineProperties(se,{request:{value:ue,configurable:!0,enumerable:!0,writable:!0},get:{value:ne,configurable:!0,enumerable:!0,writable:!0}})}),k}function w(){}function E(C){var k;if(o)k=new e(C);else if(k=m(t.parse(C)),!A(k.protocol))throw new p({input:C});return k}function x(C,k){return o?new e(C,k):E(t.resolve(k,C))}function m(C){if(/^\[/.test(C.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(C.hostname))throw new p({input:C.href||C});if(/^\[/.test(C.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(C.host))throw new p({input:C.href||C});return C}function F(C,k){var q=k||{};for(var L of c)q[L]=C[L];return q.hostname.startsWith("[")&&(q.hostname=q.hostname.slice(1,-1)),q.port!==""&&(q.port=Number(q.port)),q.path=q.search?q.pathname+q.search:q.pathname,q}function _(C,k){var q;for(var L in k)C.test(L)&&(q=k[L],delete k[L]);return q===null||typeof q>"u"?void 0:String(q).trim()}function T(C,k,q){function L($){O(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,$||{}),this.code=C,this.message=this.cause?k+": "+this.cause.message:k}return L.prototype=new(q||Error),Object.defineProperties(L.prototype,{constructor:{value:L,enumerable:!1},name:{value:"Error ["+C+"]",enumerable:!1}}),L}function M(C,k){for(var q of l)C.removeListener(q,f[q]);C.on("error",w),C.destroy(k)}function B(C,k){a(A(C)&&A(k));var q=C.length-k.length-1;return q>0&&C[q]==="."&&C.endsWith(k)}function A(C){return typeof C=="string"||C instanceof String}function O(C){return typeof C=="function"}function N(C){return typeof C=="object"&&"length"in C}function z(C){return e&&C instanceof e}return As.exports=y({http:r,https:n}),As.exports.wrap=y,As.exports}var _u,Am;function Gf(){return Am||(Am=1,_u={version:"0.27.2"}),_u}var Su,_m;function TE(){if(_m)return Su;_m=1;var t=it(),e=Qy(),r=Wf(),n=Hf(),i=Rn,a=Mi,s=Cm().http,o=Cm().https,c=er,l=my,f=Gf().version,p=Vf(),u=pn(),h=zi(),d=/https:?/,b=["http:","https:","file:"];function D(g,y,w){if(g.hostname=y.host,g.host=y.host,g.port=y.port,g.path=w,y.auth){var E=Buffer.from(y.auth.username+":"+y.auth.password,"utf8").toString("base64");g.headers["Proxy-Authorization"]="Basic "+E}g.beforeRedirect=function(m){m.headers.host=m.host,D(m,y,m.href)}}return Su=function(y){return new Promise(function(E,x){var m;function F(){y.cancelToken&&y.cancelToken.unsubscribe(m),y.signal&&y.signal.removeEventListener("abort",m)}var _=function(ee){F(),E(ee)},T=!1,M=function(ee){F(),T=!0,x(ee)},B=y.data,A=y.headers,O={};if(Object.keys(A).forEach(function(ee){O[ee.toLowerCase()]=ee}),"user-agent"in O?A[O["user-agent"]]||delete A[O["user-agent"]]:A["User-Agent"]="axios/"+f,t.isFormData(B)&&t.isFunction(B.getHeaders))Object.assign(A,B.getHeaders());else if(B&&!t.isStream(B)){if(!Buffer.isBuffer(B))if(t.isArrayBuffer(B))B=Buffer.from(new Uint8Array(B));else if(t.isString(B))B=Buffer.from(B,"utf-8");else return M(new u("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",u.ERR_BAD_REQUEST,y));if(y.maxBodyLength>-1&&B.length>y.maxBodyLength)return M(new u("Request body larger than maxBodyLength limit",u.ERR_BAD_REQUEST,y));O["content-length"]||(A["Content-Length"]=B.length)}var N=void 0;if(y.auth){var z=y.auth.username||"",C=y.auth.password||"";N=z+":"+C}var k=r(y.baseURL,y.url),q=c.parse(k),L=q.protocol||b[0];if(b.indexOf(L)===-1)return M(new u("Unsupported protocol "+L,u.ERR_BAD_REQUEST,y));if(!N&&q.auth){var $=q.auth.split(":"),J=$[0]||"",se=$[1]||"";N=J+":"+se}N&&O.authorization&&delete A[O.authorization];var ue=d.test(L),ne=ue?y.httpsAgent:y.httpAgent;try{n(q.path,y.params,y.paramsSerializer).replace(/^\?/,"")}catch(H){var ge=new Error(H.message);ge.config=y,ge.url=y.url,ge.exists=!0,M(ge)}var X={path:n(q.path,y.params,y.paramsSerializer).replace(/^\?/,""),method:y.method.toUpperCase(),headers:A,agent:ne,agents:{http:y.httpAgent,https:y.httpsAgent},auth:N};y.socketPath?X.socketPath=y.socketPath:(X.hostname=q.hostname,X.port=q.port);var de=y.proxy;if(!de&&de!==!1){var be=L.slice(0,-1)+"_proxy",De=process.env[be]||process.env[be.toUpperCase()];if(De){var ae=c.parse(De),pe=process.env.no_proxy||process.env.NO_PROXY,we=!0;if(pe){var Te=pe.split(",").map(function(ee){return ee.trim()});we=!Te.some(function(ee){return ee?ee==="*"||ee[0]==="."&&q.hostname.substr(q.hostname.length-ee.length)===ee?!0:q.hostname===ee:!1})}if(we&&(de={host:ae.hostname,port:ae.port,protocol:ae.protocol},ae.auth)){var Y=ae.auth.split(":");de.auth={username:Y[0],password:Y[1]}}}}de&&(X.headers.host=q.hostname+(q.port?":"+q.port:""),D(X,de,L+"//"+q.hostname+(q.port?":"+q.port:"")+X.path));var I,j=ue&&(de?d.test(de.protocol):!0);y.transport?I=y.transport:y.maxRedirects===0?I=j?a:i:(y.maxRedirects&&(X.maxRedirects=y.maxRedirects),y.beforeRedirect&&(X.beforeRedirect=y.beforeRedirect),I=j?o:s),y.maxBodyLength>-1&&(X.maxBodyLength=y.maxBodyLength),y.insecureHTTPParser&&(X.insecureHTTPParser=y.insecureHTTPParser);var W=I.request(X,function(ee){if(!W.aborted){var v=ee,V=ee.req||W;if(ee.statusCode!==204&&V.method!=="HEAD"&&y.decompress!==!1)switch(ee.headers["content-encoding"]){case"gzip":case"compress":case"deflate":v=v.pipe(l.createUnzip()),delete ee.headers["content-encoding"];break}var K={status:ee.statusCode,statusText:ee.statusMessage,headers:ee.headers,config:y,request:V};if(y.responseType==="stream")K.data=v,e(_,M,K);else{var ce=[],oe=0;v.on("data",function(ie){ce.push(ie),oe+=ie.length,y.maxContentLength>-1&&oe>y.maxContentLength&&(T=!0,v.destroy(),M(new u("maxContentLength size of "+y.maxContentLength+" exceeded",u.ERR_BAD_RESPONSE,y,V)))}),v.on("aborted",function(){T||(v.destroy(),M(new u("maxContentLength size of "+y.maxContentLength+" exceeded",u.ERR_BAD_RESPONSE,y,V)))}),v.on("error",function(ie){W.aborted||M(u.from(ie,null,y,V))}),v.on("end",function(){try{var ie=ce.length===1?ce[0]:Buffer.concat(ce);y.responseType!=="arraybuffer"&&(ie=ie.toString(y.responseEncoding),(!y.responseEncoding||y.responseEncoding==="utf8")&&(ie=t.stripBOM(ie))),K.data=ie}catch(U){M(u.from(U,null,y,K.request,K))}e(_,M,K)})}}});if(W.on("error",function(ee){M(u.from(ee,null,y,W))}),W.on("socket",function(ee){ee.setKeepAlive(!0,1e3*60)}),y.timeout){var G=parseInt(y.timeout,10);if(isNaN(G)){M(new u("error trying to parse `config.timeout` to int",u.ERR_BAD_OPTION_VALUE,y,W));return}W.setTimeout(G,function(){W.abort();var ee=y.transitional||p;M(new u("timeout of "+G+"ms exceeded",ee.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,y,W))})}(y.cancelToken||y.signal)&&(m=function(H){W.aborted||(W.abort(),M(!H||H&&H.type?new h:H))},y.cancelToken&&y.cancelToken.subscribe(m),y.signal&&(y.signal.aborted?m():y.signal.addEventListener("abort",m))),t.isStream(B)?B.on("error",function(ee){M(u.from(ee,y,null,W))}).pipe(W):W.end(B)})},Su}var Ou,Sm;function BE(){if(Sm)return Ou;Sm=1;var t=Me.Stream,e=Ve;Ou=r;function r(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return e.inherits(r,t),r.create=function(n,i){var a=new this;i=i||{};for(var s in i)a[s]=i[s];a.source=n;var o=n.emit;return n.emit=function(){return a._handleEmit(arguments),o.apply(n,arguments)},n.on("error",function(){}),a.pauseStream&&n.pause(),a},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var n=t.prototype.pipe.apply(this,arguments);return this.resume(),n},r.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}},Ou}var Tu,Om;function RE(){if(Om)return Tu;Om=1;var t=Ve,e=Me.Stream,r=BE();Tu=n;function n(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return t.inherits(n,e),n.create=function(i){var a=new this;i=i||{};for(var s in i)a[s]=i[s];return a},n.isStreamLike=function(i){return typeof i!="function"&&typeof i!="string"&&typeof i!="boolean"&&typeof i!="number"&&!Buffer.isBuffer(i)},n.prototype.append=function(i){var a=n.isStreamLike(i);if(a){if(!(i instanceof r)){var s=r.create(i,{maxDataSize:1/0,pauseStream:this.pauseStreams});i.on("data",this._checkDataSize.bind(this)),i=s}this._handleErrors(i),this.pauseStreams&&i.pause()}return this._streams.push(i),this},n.prototype.pipe=function(i,a){return e.prototype.pipe.call(this,i,a),this.resume(),i},n.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},n.prototype._realGetNext=function(){var i=this._streams.shift();if(typeof i>"u"){this.end();return}if(typeof i!="function"){this._pipeNext(i);return}var a=i;a(function(s){var o=n.isStreamLike(s);o&&(s.on("data",this._checkDataSize.bind(this)),this._handleErrors(s)),this._pipeNext(s)}.bind(this))},n.prototype._pipeNext=function(i){this._currentStream=i;var a=n.isStreamLike(i);if(a){i.on("end",this._getNext.bind(this)),i.pipe(this,{end:!1});return}var s=i;this.write(s),this._getNext()},n.prototype._handleErrors=function(i){var a=this;i.on("error",function(s){a._emitError(s)})},n.prototype.write=function(i){this.emit("data",i)},n.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},n.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},n.prototype.end=function(){this._reset(),this.emit("end")},n.prototype.destroy=function(){this._reset(),this.emit("close")},n.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},n.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(i))}},n.prototype._updateDataSize=function(){this.dataSize=0;var i=this;this._streams.forEach(function(a){a.dataSize&&(i.dataSize+=a.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},n.prototype._emitError=function(i){this._reset(),this.emit("error",i)},Tu}var Bu={};const kE={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};var Ru,Tm;function qE(){return Tm||(Tm=1,Ru=kE),Ru}var Bm;function PE(){return Bm||(Bm=1,(function(t){var e=qE(),r=Ie.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;t.charset=a,t.charsets={lookup:a},t.contentType=s,t.extension=o,t.extensions=Object.create(null),t.lookup=c,t.types=Object.create(null),l(t.extensions,t.types);function a(f){if(!f||typeof f!="string")return!1;var p=n.exec(f),u=p&&e[p[1].toLowerCase()];return u&&u.charset?u.charset:p&&i.test(p[1])?"UTF-8":!1}function s(f){if(!f||typeof f!="string")return!1;var p=f.indexOf("/")===-1?t.lookup(f):f;if(!p)return!1;if(p.indexOf("charset")===-1){var u=t.charset(p);u&&(p+="; charset="+u.toLowerCase())}return p}function o(f){if(!f||typeof f!="string")return!1;var p=n.exec(f),u=p&&t.extensions[p[1].toLowerCase()];return!u||!u.length?!1:u[0]}function c(f){if(!f||typeof f!="string")return!1;var p=r("x."+f).toLowerCase().substr(1);return p&&t.types[p]||!1}function l(f,p){var u=["nginx","apache",void 0,"iana"];Object.keys(e).forEach(function(d){var b=e[d],D=b.extensions;if(!(!D||!D.length)){f[d]=D;for(var g=0;g<D.length;g++){var y=D[g];if(p[y]){var w=u.indexOf(e[p[y]].source),E=u.indexOf(b.source);if(p[y]!=="application/octet-stream"&&(w>E||w===E&&p[y].substr(0,12)==="application/"))continue}p[y]=d}}})}})(Bu)),Bu}var ku,Rm;function IE(){if(Rm)return ku;Rm=1,ku=t;function t(e){var r=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;r?r(e):setTimeout(e,0)}return ku}var qu,km;function rb(){if(km)return qu;km=1;var t=IE();qu=e;function e(r){var n=!1;return t(function(){n=!0}),function(a,s){n?r(a,s):t(function(){r(a,s)})}}return qu}var Pu,qm;function nb(){if(qm)return Pu;qm=1,Pu=t;function t(r){Object.keys(r.jobs).forEach(e.bind(r)),r.jobs={}}function e(r){typeof this.jobs[r]=="function"&&this.jobs[r]()}return Pu}var Iu,Pm;function ib(){if(Pm)return Iu;Pm=1;var t=rb(),e=nb();Iu=r;function r(i,a,s,o){var c=s.keyedList?s.keyedList[s.index]:s.index;s.jobs[c]=n(a,c,i[c],function(l,f){c in s.jobs&&(delete s.jobs[c],l?e(s):s.results[c]=f,o(l,s.results))})}function n(i,a,s,o){var c;return i.length==2?c=i(s,t(o)):c=i(s,a,t(o)),c}return Iu}var Nu,Im;function sb(){if(Im)return Nu;Im=1,Nu=t;function t(e,r){var n=!Array.isArray(e),i={index:0,keyedList:n||r?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return r&&i.keyedList.sort(n?r:function(a,s){return r(e[a],e[s])}),i}return Nu}var Mu,Nm;function ab(){if(Nm)return Mu;Nm=1;var t=nb(),e=rb();Mu=r;function r(n){Object.keys(this.jobs).length&&(this.index=this.size,t(this),e(n)(null,this.results))}return Mu}var ju,Mm;function NE(){if(Mm)return ju;Mm=1;var t=ib(),e=sb(),r=ab();ju=n;function n(i,a,s){for(var o=e(i);o.index<(o.keyedList||i).length;)t(i,a,o,function(c,l){if(c){s(c,l);return}if(Object.keys(o.jobs).length===0){s(null,o.results);return}}),o.index++;return r.bind(o,s)}return ju}var ei={exports:{}},jm;function ob(){if(jm)return ei.exports;jm=1;var t=ib(),e=sb(),r=ab();ei.exports=n,ei.exports.ascending=i,ei.exports.descending=a;function n(s,o,c,l){var f=e(s,c);return t(s,o,f,function p(u,h){if(u){l(u,h);return}if(f.index++,f.index<(f.keyedList||s).length){t(s,o,f,p);return}l(null,f.results)}),r.bind(f,l)}function i(s,o){return s<o?-1:s>o?1:0}function a(s,o){return-1*i(s,o)}return ei.exports}var Lu,Lm;function ME(){if(Lm)return Lu;Lm=1;var t=ob();Lu=e;function e(r,n,i){return t(r,n,null,i)}return Lu}var $u,$m;function jE(){return $m||($m=1,$u={parallel:NE(),serial:ME(),serialOrdered:ob()}),$u}var Uu,Um;function ub(){return Um||(Um=1,Uu=Object),Uu}var zu,zm;function LE(){return zm||(zm=1,zu=Error),zu}var Hu,Hm;function $E(){return Hm||(Hm=1,Hu=EvalError),Hu}var Vu,Vm;function UE(){return Vm||(Vm=1,Vu=RangeError),Vu}var Wu,Wm;function zE(){return Wm||(Wm=1,Wu=ReferenceError),Wu}var Gu,Gm;function HE(){return Gm||(Gm=1,Gu=SyntaxError),Gu}var Yu,Ym;function Yf(){return Ym||(Ym=1,Yu=TypeError),Yu}var Zu,Zm;function VE(){return Zm||(Zm=1,Zu=URIError),Zu}var Ju,Jm;function WE(){return Jm||(Jm=1,Ju=Math.abs),Ju}var Ku,Km;function GE(){return Km||(Km=1,Ku=Math.floor),Ku}var Xu,Xm;function YE(){return Xm||(Xm=1,Xu=Math.max),Xu}var Qu,Qm;function ZE(){return Qm||(Qm=1,Qu=Math.min),Qu}var ec,eg;function JE(){return eg||(eg=1,ec=Math.pow),ec}var tc,tg;function KE(){return tg||(tg=1,tc=Math.round),tc}var rc,rg;function XE(){return rg||(rg=1,rc=Number.isNaN||function(e){return e!==e}),rc}var nc,ng;function QE(){if(ng)return nc;ng=1;var t=XE();return nc=function(r){return t(r)||r===0?r:r<0?-1:1},nc}var ic,ig;function eF(){return ig||(ig=1,ic=Object.getOwnPropertyDescriptor),ic}var sc,sg;function cb(){if(sg)return sc;sg=1;var t=eF();if(t)try{t([],"length")}catch{t=null}return sc=t,sc}var ac,ag;function tF(){if(ag)return ac;ag=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return ac=t,ac}var oc,og;function lb(){return og||(og=1,oc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0}),oc}var uc,ug;function rF(){if(ug)return uc;ug=1;var t=typeof Symbol<"u"&&Symbol,e=lb();return uc=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},uc}var cc,cg;function fb(){return cg||(cg=1,cc=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),cc}var lc,lg;function pb(){if(lg)return lc;lg=1;var t=ub();return lc=t.getPrototypeOf||null,lc}var fc,fg;function nF(){if(fg)return fc;fg=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(c,l){for(var f=[],p=0;p<c.length;p+=1)f[p]=c[p];for(var u=0;u<l.length;u+=1)f[u+c.length]=l[u];return f},a=function(c,l){for(var f=[],p=l,u=0;p<c.length;p+=1,u+=1)f[u]=c[p];return f},s=function(o,c){for(var l="",f=0;f<o.length;f+=1)l+=o[f],f+1<o.length&&(l+=c);return l};return fc=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==n)throw new TypeError(t+l);for(var f=a(arguments,1),p,u=function(){if(this instanceof p){var g=l.apply(this,i(f,arguments));return Object(g)===g?g:this}return l.apply(c,i(f,arguments))},h=r(0,l.length-f.length),d=[],b=0;b<h;b++)d[b]="$"+b;if(p=Function("binder","return function ("+s(d,",")+"){ return binder.apply(this,arguments); }")(u),l.prototype){var D=function(){};D.prototype=l.prototype,p.prototype=new D,D.prototype=null}return p},fc}var pc,pg;function Ra(){if(pg)return pc;pg=1;var t=nF();return pc=Function.prototype.bind||t,pc}var dc,dg;function Zf(){return dg||(dg=1,dc=Function.prototype.call),dc}var hc,hg;function db(){return hg||(hg=1,hc=Function.prototype.apply),hc}var mc,mg;function iF(){return mg||(mg=1,mc=typeof Reflect<"u"&&Reflect&&Reflect.apply),mc}var gc,gg;function sF(){if(gg)return gc;gg=1;var t=Ra(),e=db(),r=Zf(),n=iF();return gc=n||t.call(r,e),gc}var Dc,Dg;function aF(){if(Dg)return Dc;Dg=1;var t=Ra(),e=Yf(),r=Zf(),n=sF();return Dc=function(a){if(a.length<1||typeof a[0]!="function")throw new e("a function is required");return n(t,r,a)},Dc}var yc,yg;function oF(){if(yg)return yc;yg=1;var t=aF(),e=cb(),r;try{r=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var n=!!r&&e&&e(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return yc=n&&typeof n.get=="function"?t([n.get]):typeof a=="function"?function(o){return a(o==null?o:i(o))}:!1,yc}var bc,bg;function uF(){if(bg)return bc;bg=1;var t=fb(),e=pb(),r=oF();return bc=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:r?function(i){return r(i)}:null,bc}var vc,vg;function Jf(){if(vg)return vc;vg=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Ra();return vc=r.call(t,e),vc}var xc,xg;function cF(){if(xg)return xc;xg=1;var t,e=ub(),r=LE(),n=$E(),i=UE(),a=zE(),s=HE(),o=Yf(),c=VE(),l=WE(),f=GE(),p=YE(),u=ZE(),h=JE(),d=KE(),b=QE(),D=Function,g=function(De){try{return D('"use strict"; return ('+De+").constructor;")()}catch{}},y=cb(),w=tF(),E=function(){throw new o},x=y?(function(){try{return arguments.callee,E}catch{try{return y(arguments,"callee").get}catch{return E}}})():E,m=rF()(),F=uF(),_=pb(),T=fb(),M=db(),B=Zf(),A={},O=typeof Uint8Array>"u"||!F?t:F(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":m&&F?F([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":D,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&F?F(F([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!m||!F?t:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!m||!F?t:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&F?F(""[Symbol.iterator]()):t,"%Symbol%":m?Symbol:t,"%SyntaxError%":s,"%ThrowTypeError%":x,"%TypedArray%":O,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":M,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":_,"%Math.abs%":l,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":u,"%Math.pow%":h,"%Math.round%":d,"%Math.sign%":b,"%Reflect.getPrototypeOf%":T};if(F)try{null.error}catch(De){var z=F(F(De));N["%Error.prototype%"]=z}var C=function De(ae){var pe;if(ae==="%AsyncFunction%")pe=g("async function () {}");else if(ae==="%GeneratorFunction%")pe=g("function* () {}");else if(ae==="%AsyncGeneratorFunction%")pe=g("async function* () {}");else if(ae==="%AsyncGenerator%"){var we=De("%AsyncGeneratorFunction%");we&&(pe=we.prototype)}else if(ae==="%AsyncIteratorPrototype%"){var Te=De("%AsyncGenerator%");Te&&F&&(pe=F(Te.prototype))}return N[ae]=pe,pe},k={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=Ra(),L=Jf(),$=q.call(B,Array.prototype.concat),J=q.call(M,Array.prototype.splice),se=q.call(B,String.prototype.replace),ue=q.call(B,String.prototype.slice),ne=q.call(B,RegExp.prototype.exec),ge=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,de=function(ae){var pe=ue(ae,0,1),we=ue(ae,-1);if(pe==="%"&&we!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(we==="%"&&pe!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var Te=[];return se(ae,ge,function(Y,I,j,W){Te[Te.length]=j?se(W,X,"$1"):I||Y}),Te},be=function(ae,pe){var we=ae,Te;if(L(k,we)&&(Te=k[we],we="%"+Te[0]+"%"),L(N,we)){var Y=N[we];if(Y===A&&(Y=C(we)),typeof Y>"u"&&!pe)throw new o("intrinsic "+ae+" exists, but is not available. Please file an issue!");return{alias:Te,name:we,value:Y}}throw new s("intrinsic "+ae+" does not exist!")};return xc=function(ae,pe){if(typeof ae!="string"||ae.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof pe!="boolean")throw new o('"allowMissing" argument must be a boolean');if(ne(/^%?[^%]*%?$/,ae)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var we=de(ae),Te=we.length>0?we[0]:"",Y=be("%"+Te+"%",pe),I=Y.name,j=Y.value,W=!1,G=Y.alias;G&&(Te=G[0],J(we,$([0,1],G)));for(var H=1,ee=!0;H<we.length;H+=1){var v=we[H],V=ue(v,0,1),K=ue(v,-1);if((V==='"'||V==="'"||V==="`"||K==='"'||K==="'"||K==="`")&&V!==K)throw new s("property names with quotes must have matching quotes");if((v==="constructor"||!ee)&&(W=!0),Te+="."+v,I="%"+Te+"%",L(N,I))j=N[I];else if(j!=null){if(!(v in j)){if(!pe)throw new o("base intrinsic for "+ae+" exists, but the property is not available.");return}if(y&&H+1>=we.length){var ce=y(j,v);ee=!!ce,ee&&"get"in ce&&!("originalValue"in ce.get)?j=ce.get:j=j[v]}else ee=L(j,v),j=j[v];ee&&!W&&(N[I]=j)}}return j},xc}var wc,wg;function lF(){if(wg)return wc;wg=1;var t=lb();return wc=function(){return t()&&!!Symbol.toStringTag},wc}var Ec,Eg;function fF(){if(Eg)return Ec;Eg=1;var t=cF(),e=t("%Object.defineProperty%",!0),r=lF()(),n=Jf(),i=Yf(),a=r?Symbol.toStringTag:null;return Ec=function(o,c){var l=arguments.length>2&&!!arguments[2]&&arguments[2].force,f=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof l<"u"&&typeof l!="boolean"||typeof f<"u"&&typeof f!="boolean")throw new i("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");a&&(l||!n(o,a))&&(e?e(o,a,{configurable:!f,enumerable:!1,value:c,writable:!1}):o[a]=c)},Ec}var Fc,Fg;function pF(){return Fg||(Fg=1,Fc=function(t,e){return Object.keys(e).forEach(function(r){t[r]=t[r]||e[r]}),t}),Fc}var Cc,Cg;function dF(){if(Cg)return Cc;Cg=1;var t=RE(),e=Ve,r=Ie,n=Rn,i=Mi,a=er.parse,s=$e,o=Me.Stream,c=yy,l=PE(),f=jE(),p=fF(),u=Jf(),h=pF();function d(b){if(!(this instanceof d))return new d(b);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],t.call(this),b=b||{};for(var D in b)this[D]=b[D]}return e.inherits(d,t),d.LINE_BREAK=`\r
|
|
46
|
-
`,d.DEFAULT_CONTENT_TYPE="application/octet-stream",d.prototype.append=function(b,D,g){g=g||{},typeof g=="string"&&(g={filename:g});var y=t.prototype.append.bind(this);if((typeof D=="number"||D==null)&&(D=String(D)),Array.isArray(D)){this._error(new Error("Arrays are not supported."));return}var w=this._multiPartHeader(b,D,g),E=this._multiPartFooter();y(w),y(D),y(E),this._trackLength(w,D,g)},d.prototype._trackLength=function(b,D,g){var y=0;g.knownLength!=null?y+=Number(g.knownLength):Buffer.isBuffer(D)?y=D.length:typeof D=="string"&&(y=Buffer.byteLength(D)),this._valueLength+=y,this._overheadLength+=Buffer.byteLength(b)+d.LINE_BREAK.length,!(!D||!D.path&&!(D.readable&&u(D,"httpVersion"))&&!(D instanceof o))&&(g.knownLength||this._valuesToMeasure.push(D))},d.prototype._lengthRetriever=function(b,D){u(b,"fd")?b.end!=null&&b.end!=1/0&&b.start!=null?D(null,b.end+1-(b.start?b.start:0)):s.stat(b.path,function(g,y){if(g){D(g);return}var w=y.size-(b.start?b.start:0);D(null,w)}):u(b,"httpVersion")?D(null,Number(b.headers["content-length"])):u(b,"httpModule")?(b.on("response",function(g){b.pause(),D(null,Number(g.headers["content-length"]))}),b.resume()):D("Unknown stream")},d.prototype._multiPartHeader=function(b,D,g){if(typeof g.header=="string")return g.header;var y=this._getContentDisposition(D,g),w=this._getContentType(D,g),E="",x={"Content-Disposition":["form-data",'name="'+b+'"'].concat(y||[]),"Content-Type":[].concat(w||[])};typeof g.header=="object"&&h(x,g.header);var m;for(var F in x)if(u(x,F)){if(m=x[F],m==null)continue;Array.isArray(m)||(m=[m]),m.length&&(E+=F+": "+m.join("; ")+d.LINE_BREAK)}return"--"+this.getBoundary()+d.LINE_BREAK+E+d.LINE_BREAK},d.prototype._getContentDisposition=function(b,D){var g;if(typeof D.filepath=="string"?g=r.normalize(D.filepath).replace(/\\/g,"/"):D.filename||b&&(b.name||b.path)?g=r.basename(D.filename||b&&(b.name||b.path)):b&&b.readable&&u(b,"httpVersion")&&(g=r.basename(b.client._httpMessage.path||"")),g)return'filename="'+g+'"'},d.prototype._getContentType=function(b,D){var g=D.contentType;return!g&&b&&b.name&&(g=l.lookup(b.name)),!g&&b&&b.path&&(g=l.lookup(b.path)),!g&&b&&b.readable&&u(b,"httpVersion")&&(g=b.headers["content-type"]),!g&&(D.filepath||D.filename)&&(g=l.lookup(D.filepath||D.filename)),!g&&b&&typeof b=="object"&&(g=d.DEFAULT_CONTENT_TYPE),g},d.prototype._multiPartFooter=function(){return function(b){var D=d.LINE_BREAK,g=this._streams.length===0;g&&(D+=this._lastBoundary()),b(D)}.bind(this)},d.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+d.LINE_BREAK},d.prototype.getHeaders=function(b){var D,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(D in b)u(b,D)&&(g[D.toLowerCase()]=b[D]);return g},d.prototype.setBoundary=function(b){if(typeof b!="string")throw new TypeError("FormData boundary must be a string");this._boundary=b},d.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},d.prototype.getBuffer=function(){for(var b=new Buffer.alloc(0),D=this.getBoundary(),g=0,y=this._streams.length;g<y;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?b=Buffer.concat([b,this._streams[g]]):b=Buffer.concat([b,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,D.length+2)!==D)&&(b=Buffer.concat([b,Buffer.from(d.LINE_BREAK)])));return Buffer.concat([b,Buffer.from(this._lastBoundary())])},d.prototype._generateBoundary=function(){this._boundary="--------------------------"+c.randomBytes(12).toString("hex")},d.prototype.getLengthSync=function(){var b=this._overheadLength+this._valueLength;return this._streams.length&&(b+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),b},d.prototype.hasKnownLength=function(){var b=!0;return this._valuesToMeasure.length&&(b=!1),b},d.prototype.getLength=function(b){var D=this._overheadLength+this._valueLength;if(this._streams.length&&(D+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(b.bind(this,null,D));return}f.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,y){if(g){b(g);return}y.forEach(function(w){D+=w}),b(null,D)})},d.prototype.submit=function(b,D){var g,y,w={method:"post"};return typeof b=="string"?(b=a(b),y=h({port:b.port,path:b.pathname,host:b.hostname,protocol:b.protocol},w)):(y=h(b,w),y.port||(y.port=y.protocol==="https:"?443:80)),y.headers=this.getHeaders(b.headers),y.protocol==="https:"?g=i.request(y):g=n.request(y),this.getLength(function(E,x){if(E&&E!=="Unknown stream"){this._error(E);return}if(x&&g.setHeader("Content-Length",x),this.pipe(g),D){var m,F=function(_,T){return g.removeListener("error",F),g.removeListener("response",m),D.call(this,_,T)};m=F.bind(this,null),g.on("error",F),g.on("response",m)}}.bind(this)),g},d.prototype._error=function(b){this.error||(this.error=b,this.pause(),this.emit("error",b))},d.prototype.toString=function(){return"[object FormData]"},p(d.prototype,"FormData"),Cc=d,Cc}var Ac,Ag;function hF(){return Ag||(Ag=1,Ac=dF()),Ac}var _c,_g;function Kf(){if(_g)return _c;_g=1;var t=it(),e=gE(),r=pn(),n=Vf(),i=Xy(),a={"Content-Type":"application/x-www-form-urlencoded"};function s(f,p){!t.isUndefined(f)&&t.isUndefined(f["Content-Type"])&&(f["Content-Type"]=p)}function o(){var f;return typeof XMLHttpRequest<"u"?f=EE():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(f=TE()),f}function c(f,p,u){if(t.isString(f))try{return(p||JSON.parse)(f),t.trim(f)}catch(h){if(h.name!=="SyntaxError")throw h}return(u||JSON.stringify)(f)}var l={transitional:n,adapter:o(),transformRequest:[function(p,u){if(e(u,"Accept"),e(u,"Content-Type"),t.isFormData(p)||t.isArrayBuffer(p)||t.isBuffer(p)||t.isStream(p)||t.isFile(p)||t.isBlob(p))return p;if(t.isArrayBufferView(p))return p.buffer;if(t.isURLSearchParams(p))return s(u,"application/x-www-form-urlencoded;charset=utf-8"),p.toString();var h=t.isObject(p),d=u&&u["Content-Type"],b;if((b=t.isFileList(p))||h&&d==="multipart/form-data"){var D=this.env&&this.env.FormData;return i(b?{"files[]":p}:p,D&&new D)}else if(h||d==="application/json")return s(u,"application/json"),c(p);return p}],transformResponse:[function(p){var u=this.transitional||l.transitional,h=u&&u.silentJSONParsing,d=u&&u.forcedJSONParsing,b=!h&&this.responseType==="json";if(b||d&&t.isString(p)&&p.length)try{return JSON.parse(p)}catch(D){if(b)throw D.name==="SyntaxError"?r.from(D,r.ERR_BAD_RESPONSE,this,null,this.response):D}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:hF()},validateStatus:function(p){return p>=200&&p<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(p){l.headers[p]={}}),t.forEach(["post","put","patch"],function(p){l.headers[p]=t.merge(a)}),_c=l,_c}var Sc,Sg;function mF(){if(Sg)return Sc;Sg=1;var t=it(),e=Kf();return Sc=function(n,i,a){var s=this||e;return t.forEach(a,function(c){n=c.call(s,n,i)}),n},Sc}var Oc,Og;function hb(){return Og||(Og=1,Oc=function(e){return!!(e&&e.__CANCEL__)}),Oc}var Tc,Tg;function gF(){if(Tg)return Tc;Tg=1;var t=it(),e=mF(),r=hb(),n=Kf(),i=zi();function a(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new i}return Tc=function(o){a(o),o.headers=o.headers||{},o.data=e.call(o,o.data,o.headers,o.transformRequest),o.headers=t.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),t.forEach(["delete","get","head","post","put","patch","common"],function(f){delete o.headers[f]});var c=o.adapter||n.adapter;return c(o).then(function(f){return a(o),f.data=e.call(o,f.data,f.headers,o.transformResponse),f},function(f){return r(f)||(a(o),f&&f.response&&(f.response.data=e.call(o,f.response.data,f.response.headers,o.transformResponse))),Promise.reject(f)})},Tc}var Bc,Bg;function mb(){if(Bg)return Bc;Bg=1;var t=it();return Bc=function(r,n){n=n||{};var i={};function a(p,u){return t.isPlainObject(p)&&t.isPlainObject(u)?t.merge(p,u):t.isPlainObject(u)?t.merge({},u):t.isArray(u)?u.slice():u}function s(p){if(t.isUndefined(n[p])){if(!t.isUndefined(r[p]))return a(void 0,r[p])}else return a(r[p],n[p])}function o(p){if(!t.isUndefined(n[p]))return a(void 0,n[p])}function c(p){if(t.isUndefined(n[p])){if(!t.isUndefined(r[p]))return a(void 0,r[p])}else return a(void 0,n[p])}function l(p){if(p in n)return a(r[p],n[p]);if(p in r)return a(void 0,r[p])}var f={url:o,method:o,data:o,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:l};return t.forEach(Object.keys(r).concat(Object.keys(n)),function(u){var h=f[u]||s,d=h(u);t.isUndefined(d)&&h!==l||(i[u]=d)}),i},Bc}var Rc,Rg;function DF(){if(Rg)return Rc;Rg=1;var t=Gf().version,e=pn(),r={};["object","boolean","number","function","string","symbol"].forEach(function(a,s){r[a]=function(c){return typeof c===a||"a"+(s<1?"n ":" ")+a}});var n={};r.transitional=function(s,o,c){function l(f,p){return"[Axios v"+t+"] Transitional option '"+f+"'"+p+(c?". "+c:"")}return function(f,p,u){if(s===!1)throw new e(l(p," has been removed"+(o?" in "+o:"")),e.ERR_DEPRECATED);return o&&!n[p]&&(n[p]=!0,console.warn(l(p," has been deprecated since v"+o+" and will be removed in the near future"))),s?s(f,p,u):!0}};function i(a,s,o){if(typeof a!="object")throw new e("options must be an object",e.ERR_BAD_OPTION_VALUE);for(var c=Object.keys(a),l=c.length;l-- >0;){var f=c[l],p=s[f];if(p){var u=a[f],h=u===void 0||p(u,f,a);if(h!==!0)throw new e("option "+f+" must be "+h,e.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new e("Unknown option "+f,e.ERR_BAD_OPTION)}}return Rc={assertOptions:i,validators:r},Rc}var kc,kg;function yF(){if(kg)return kc;kg=1;var t=it(),e=Hf(),r=mE(),n=gF(),i=mb(),a=Wf(),s=DF(),o=s.validators;function c(l){this.defaults=l,this.interceptors={request:new r,response:new r}}return c.prototype.request=function(f,p){typeof f=="string"?(p=p||{},p.url=f):p=f||{},p=i(this.defaults,p),p.method?p.method=p.method.toLowerCase():this.defaults.method?p.method=this.defaults.method.toLowerCase():p.method="get";var u=p.transitional;u!==void 0&&s.assertOptions(u,{silentJSONParsing:o.transitional(o.boolean),forcedJSONParsing:o.transitional(o.boolean),clarifyTimeoutError:o.transitional(o.boolean)},!1);var h=[],d=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(p)===!1||(d=d&&m.synchronous,h.unshift(m.fulfilled,m.rejected))});var b=[];this.interceptors.response.forEach(function(m){b.push(m.fulfilled,m.rejected)});var D;if(!d){var g=[n,void 0];for(Array.prototype.unshift.apply(g,h),g=g.concat(b),D=Promise.resolve(p);g.length;)D=D.then(g.shift(),g.shift());return D}for(var y=p;h.length;){var w=h.shift(),E=h.shift();try{y=w(y)}catch(x){E(x);break}}try{D=n(y)}catch(x){return Promise.reject(x)}for(;b.length;)D=D.then(b.shift(),b.shift());return D},c.prototype.getUri=function(f){f=i(this.defaults,f);var p=a(f.baseURL,f.url);return e(p,f.params,f.paramsSerializer)},t.forEach(["delete","get","head","options"],function(f){c.prototype[f]=function(p,u){return this.request(i(u||{},{method:f,url:p,data:(u||{}).data}))}}),t.forEach(["post","put","patch"],function(f){function p(u){return function(d,b,D){return this.request(i(D||{},{method:f,headers:u?{"Content-Type":"multipart/form-data"}:{},url:d,data:b}))}}c.prototype[f]=p(),c.prototype[f+"Form"]=p(!0)}),kc=c,kc}var qc,qg;function bF(){if(qg)return qc;qg=1;var t=zi();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var i=this;this.promise.then(function(a){if(i._listeners){var s,o=i._listeners.length;for(s=0;s<o;s++)i._listeners[s](a);i._listeners=null}}),this.promise.then=function(a){var s,o=new Promise(function(c){i.subscribe(c),s=c}).then(a);return o.cancel=function(){i.unsubscribe(s)},o},r(function(s){i.reason||(i.reason=new t(s),n(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},e.prototype.unsubscribe=function(n){if(this._listeners){var i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}},e.source=function(){var n,i=new e(function(s){n=s});return{token:i,cancel:n}},qc=e,qc}var Pc,Pg;function vF(){return Pg||(Pg=1,Pc=function(e){return function(n){return e.apply(null,n)}}),Pc}var Ic,Ig;function xF(){if(Ig)return Ic;Ig=1;var t=it();return Ic=function(r){return t.isObject(r)&&r.isAxiosError===!0},Ic}var Ng;function wF(){if(Ng)return Cs.exports;Ng=1;var t=it(),e=Ky(),r=yF(),n=mb(),i=Kf();function a(o){var c=new r(o),l=e(r.prototype.request,c);return t.extend(l,r.prototype,c),t.extend(l,c),l.create=function(p){return a(n(o,p))},l}var s=a(i);return s.Axios=r,s.CanceledError=zi(),s.CancelToken=bF(),s.isCancel=hb(),s.VERSION=Gf().version,s.toFormData=Xy(),s.AxiosError=pn(),s.Cancel=s.CanceledError,s.all=function(c){return Promise.all(c)},s.spread=vF(),s.isAxiosError=xF(),Cs.exports=s,Cs.exports.default=s,Cs.exports}var Nc,Mg;function EF(){return Mg||(Mg=1,Nc=wF()),Nc}var ti={},zr={},Hr={},ri={},jg;function FF(){if(jg)return ri;jg=1,Object.defineProperty(ri,"__esModule",{value:!0}),ri.sequence=void 0;function t(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(e.length===0)throw new Error("Failed creating sequence: No functions provided");return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];for(var s=i,o=this;e.length>0;){var c=e.shift();s=[c.apply(o,s)]}return s[0]}}return ri.sequence=t,ri}var Lg;function CF(){if(Lg)return Hr;Lg=1;var t=Hr&&Hr.__spreadArray||function(s,o,c){if(c||arguments.length===2)for(var l=0,f=o.length,p;l<f;l++)(p||!(l in o))&&(p||(p=Array.prototype.slice.call(o,0,l)),p[l]=o[l]);return s.concat(p||Array.prototype.slice.call(o))};Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.HotPatcher=void 0;var e=FF(),r="@@HOTPATCHER",n=function(){};function i(s){return{original:s,methods:[s],final:!1}}var a=(function(){function s(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=r}return Object.defineProperty(s.prototype,"configuration",{get:function(){return this._configuration},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"getEmptyAction",{get:function(){return this.configuration.getEmptyAction},set:function(o){this.configuration.getEmptyAction=o},enumerable:!1,configurable:!0}),s.prototype.control=function(o,c){var l=this;if(c===void 0&&(c=!1),!o||o.__type__!==r)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(o.configuration.registry).forEach(function(f){l.configuration.registry.hasOwnProperty(f)?c&&(l.configuration.registry[f]=Object.assign({},o.configuration.registry[f])):l.configuration.registry[f]=Object.assign({},o.configuration.registry[f])}),o._configuration=this.configuration,this},s.prototype.execute=function(o){for(var c=[],l=1;l<arguments.length;l++)c[l-1]=arguments[l];var f=this.get(o)||n;return f.apply(void 0,c)},s.prototype.get=function(o){var c=this.configuration.registry[o];if(!c)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error("Failed handling method request: No method provided for override: ".concat(o));default:throw new Error("Failed handling request which resulted in an empty method: Invalid empty-action specified: ".concat(this.getEmptyAction))}return e.sequence.apply(void 0,c.methods)},s.prototype.isPatched=function(o){return!!this.configuration.registry[o]},s.prototype.patch=function(o,c,l){l===void 0&&(l={});var f=l.chain,p=f===void 0?!1:f;if(this.configuration.registry[o]&&this.configuration.registry[o].final)throw new Error("Failed patching '".concat(o,"': Method marked as being final"));if(typeof c!="function")throw new Error("Failed patching '".concat(o,"': Provided method is not a function"));if(p)this.configuration.registry[o]?this.configuration.registry[o].methods.push(c):this.configuration.registry[o]=i(c);else if(this.isPatched(o)){var u=this.configuration.registry[o].original;this.configuration.registry[o]=Object.assign(i(c),{original:u})}else this.configuration.registry[o]=i(c);return this},s.prototype.patchInline=function(o,c){for(var l=[],f=2;f<arguments.length;f++)l[f-2]=arguments[f];return this.isPatched(o)||this.patch(o,c),this.execute.apply(this,t([o],l,!1))},s.prototype.plugin=function(o){for(var c=this,l=[],f=1;f<arguments.length;f++)l[f-1]=arguments[f];return l.forEach(function(p){c.patch(o,p,{chain:!0})}),this},s.prototype.restore=function(o){if(this.isPatched(o)){if(typeof this.configuration.registry[o].original!="function")throw new Error("Failed restoring method: Original method not found or of invalid type for key: ".concat(o))}else throw new Error("Failed restoring method: No method present for key: ".concat(o));return this.configuration.registry[o].methods=[this.configuration.registry[o].original],this},s.prototype.setFinal=function(o){if(!this.configuration.registry.hasOwnProperty(o))throw new Error("Failed marking '".concat(o,"' as final: No method found for key"));return this.configuration.registry[o].final=!0,this},s})();return Hr.HotPatcher=a,Hr}var Mc={},$g;function AF(){return $g||($g=1,Object.defineProperty(Mc,"__esModule",{value:!0})),Mc}var Ug;function _F(){return Ug||(Ug=1,(function(t){var e=zr&&zr.__createBinding||(Object.create?(function(i,a,s,o){o===void 0&&(o=s);var c=Object.getOwnPropertyDescriptor(a,s);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(i,o,c)}):(function(i,a,s,o){o===void 0&&(o=s),i[o]=a[s]})),r=zr&&zr.__exportStar||function(i,a){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(a,s)&&e(a,i,s)};Object.defineProperty(t,"__esModule",{value:!0}),t.HotPatcher=void 0;var n=CF();Object.defineProperty(t,"HotPatcher",{enumerable:!0,get:function(){return n.HotPatcher}}),r(AF(),t)})(zr)),zr}var zg;function gb(){if(zg)return ti;zg=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.getPatcher=void 0;var t=_F(),e=null;function r(){return e||(e=new t.HotPatcher),e}return ti.getPatcher=r,ti}var fr={},Hg;function SF(){if(Hg)return fr;Hg=1;var t=fr&&fr.__spreadArray||function(a,s,o){if(o||arguments.length===2)for(var c=0,l=s.length,f;c<l;c++)(f||!(c in s))&&(f||(f=Array.prototype.slice.call(s,0,c)),f[c]=s[c]);return a.concat(f||Array.prototype.slice.call(s))};Object.defineProperty(fr,"__esModule",{value:!0}),fr.merge=fr.cloneShallow=void 0;function e(a){return r(a)?Object.assign({},a):Object.setPrototypeOf(Object.assign({},a),Object.getPrototypeOf(a))}fr.cloneShallow=e;function r(a){if(typeof a!="object"||a===null||Object.prototype.toString.call(a)!="[object Object]")return!1;if(Object.getPrototypeOf(a)===null)return!0;for(var s=a;Object.getPrototypeOf(s)!==null;)s=Object.getPrototypeOf(s);return Object.getPrototypeOf(a)===s}function n(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];for(var o=null,c=t([],a,!0);c.length>0;){var l=c.shift();o?o=i(o,l):o=e(l)}return o}fr.merge=n;function i(a,s){var o=e(a);return Object.keys(s).forEach(function(c){if(!o.hasOwnProperty(c)){o[c]=s[c];return}Array.isArray(s[c])?o[c]=Array.isArray(o[c])?t(t([],o[c],!0),s[c],!0):t([],s[c],!0):typeof s[c]=="object"&&s[c]?o[c]=typeof o[c]=="object"&&o[c]?i(o[c],s[c]):e(s[c]):o[c]=s[c]}),o}return fr}var ni={},Vg;function OF(){if(Vg)return ni;Vg=1,Object.defineProperty(ni,"__esModule",{value:!0}),ni.mergeHeaders=void 0;function t(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(e.length===0)return{};var n={};return e.reduce(function(i,a){return Object.keys(a).forEach(function(s){var o=s.toLowerCase();n.hasOwnProperty(o)?i[n[o]]=a[s]:(n[o]=s,i[s]=a[s])}),i},{})}return ni.mergeHeaders=t,ni}var Wg;function Mt(){if(Wg)return lr;Wg=1;var t=lr&&lr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(lr,"__esModule",{value:!0}),lr.request=lr.prepareRequestOptions=void 0;var e=t(EF()),r=gb(),n=Jy(),i=SF(),a=OF();function s(l){return(0,r.getPatcher)().patchInline("request",function(f){return(0,e.default)(f)},l)}function o(l,f,p){var u=(0,i.cloneShallow)(l);return u.headers=(0,a.mergeHeaders)(f.headers,u.headers||{},p.headers||{}),typeof p.data<"u"&&(u.data=p.data),p.signal&&(u.signal=p.signal),f.httpAgent&&(u.httpAgent=f.httpAgent),f.httpsAgent&&(u.httpsAgent=f.httpsAgent),f.digest&&(u._digest=f.digest),typeof f.withCredentials=="boolean"&&(u.withCredentials=f.withCredentials),f.maxContentLength&&(u.maxContentLength=f.maxContentLength),f.maxBodyLength&&(u.maxBodyLength=f.maxBodyLength),p.hasOwnProperty("onUploadProgress")&&(u.onUploadProgress=p.onUploadProgress),p.hasOwnProperty("onDownloadProgress")&&(u.onDownloadProgress=p.onDownloadProgress),u.validateStatus=function(){return!0},u}lr.prepareRequestOptions=o;function c(l){if(!l._digest)return s(l);var f=l._digest;return delete l._digest,f.hasDigestAuth&&(l=(0,i.merge)(l,{headers:{Authorization:(0,n.generateDigestAuthHeader)(l,f)}})),s(l).then(function(p){if(p.status==401){if(f.hasDigestAuth=(0,n.parseDigestAuth)(p,f),f.hasDigestAuth)return l=(0,i.merge)(l,{headers:{Authorization:(0,n.generateDigestAuthHeader)(l,f)}}),s(l).then(function(u){return u.status==401?f.hasDigestAuth=!1:f.nc++,u})}else f.nc++;return p})}return lr.request=c,lr}var Dt={},jc,Gg;function TF(){return Gg||(Gg=1,jc=typeof process=="object"&&process&&process.platform==="win32"?{sep:"\\"}:{sep:"/"}),jc}var Lc,Yg;function BF(){if(Yg)return Lc;Yg=1,Lc=t;function t(n,i,a){n instanceof RegExp&&(n=e(n,a)),i instanceof RegExp&&(i=e(i,a));var s=r(n,i,a);return s&&{start:s[0],end:s[1],pre:a.slice(0,s[0]),body:a.slice(s[0]+n.length,s[1]),post:a.slice(s[1]+i.length)}}function e(n,i){var a=i.match(n);return a?a[0]:null}t.range=r;function r(n,i,a){var s,o,c,l,f,p=a.indexOf(n),u=a.indexOf(i,p+1),h=p;if(p>=0&&u>0){if(n===i)return[p,u];for(s=[],c=a.length;h>=0&&!f;)h==p?(s.push(h),p=a.indexOf(n,h+1)):s.length==1?f=[s.pop(),u]:(o=s.pop(),o<c&&(c=o,l=u),u=a.indexOf(i,h+1)),h=p<u&&p>=0?p:u;s.length&&(f=[c,l])}return f}return Lc}var $c,Zg;function RF(){if(Zg)return $c;Zg=1;var t=BF();$c=f;var e="\0SLASH"+Math.random()+"\0",r="\0OPEN"+Math.random()+"\0",n="\0CLOSE"+Math.random()+"\0",i="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function s(D){return parseInt(D,10)==D?parseInt(D,10):D.charCodeAt(0)}function o(D){return D.split("\\\\").join(e).split("\\{").join(r).split("\\}").join(n).split("\\,").join(i).split("\\.").join(a)}function c(D){return D.split(e).join("\\").split(r).join("{").split(n).join("}").split(i).join(",").split(a).join(".")}function l(D){if(!D)return[""];var g=[],y=t("{","}",D);if(!y)return D.split(",");var w=y.pre,E=y.body,x=y.post,m=w.split(",");m[m.length-1]+="{"+E+"}";var F=l(x);return x.length&&(m[m.length-1]+=F.shift(),m.push.apply(m,F)),g.push.apply(g,m),g}function f(D,g){if(!D)return[];g=g||{};var y=g.max==null?1/0:g.max;return D.substr(0,2)==="{}"&&(D="\\{\\}"+D.substr(2)),b(o(D),y,!0).map(c)}function p(D){return"{"+D+"}"}function u(D){return/^-?0\d/.test(D)}function h(D,g){return D<=g}function d(D,g){return D>=g}function b(D,g,y){var w=[],E=t("{","}",D);if(!E)return[D];var x=E.pre,m=E.post.length?b(E.post,g,!1):[""];if(/\$$/.test(E.pre))for(var F=0;F<m.length&&F<g;F++){var _=x+"{"+E.body+"}"+m[F];w.push(_)}else{var T=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(E.body),M=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(E.body),B=T||M,A=E.body.indexOf(",")>=0;if(!B&&!A)return E.post.match(/,(?!,).*\}/)?(D=E.pre+"{"+E.body+n+E.post,b(D,g,!0)):[D];var O;if(B)O=E.body.split(/\.\./);else if(O=l(E.body),O.length===1&&(O=b(O[0],g,!1).map(p),O.length===1))return m.map(function(de){return E.pre+O[0]+de});var N;if(B){var z=s(O[0]),C=s(O[1]),k=Math.max(O[0].length,O[1].length),q=O.length==3?Math.max(Math.abs(s(O[2])),1):1,L=h,$=C<z;$&&(q*=-1,L=d);var J=O.some(u);N=[];for(var se=z;L(se,C);se+=q){var ue;if(M)ue=String.fromCharCode(se),ue==="\\"&&(ue="");else if(ue=String(se),J){var ne=k-ue.length;if(ne>0){var ge=new Array(ne+1).join("0");se<0?ue="-"+ge+ue.slice(1):ue=ge+ue}}N.push(ue)}}else{N=[];for(var X=0;X<O.length;X++)N.push.apply(N,b(O[X],g,!1))}for(var X=0;X<N.length;X++)for(var F=0;F<m.length&&w.length<g;F++){var _=x+N[X]+m[F];(!y||B||_)&&w.push(_)}}return w}return $c}var Ts,Jg;function kF(){if(Jg)return Ts;Jg=1;const t=Ts=(F,_,T={})=>(D(_),!T.nocomment&&_.charAt(0)==="#"?!1:new m(_,T).match(F));Ts=t;const e=TF();t.sep=e.sep;const r=Symbol("globstar **");t.GLOBSTAR=r;const n=RF(),i={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",s=a+"*?",o="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",c="(?:(?!(?:\\/|^)\\.).)*?",l=F=>F.split("").reduce((_,T)=>(_[T]=!0,_),{}),f=l("().*{}+?[]^$\\!"),p=l("[.("),u=/\/+/;t.filter=(F,_={})=>(T,M,B)=>t(T,F,_);const h=(F,_={})=>{const T={};return Object.keys(F).forEach(M=>T[M]=F[M]),Object.keys(_).forEach(M=>T[M]=_[M]),T};t.defaults=F=>{if(!F||typeof F!="object"||!Object.keys(F).length)return t;const _=t,T=(M,B,A)=>_(M,B,h(F,A));return T.Minimatch=class extends _.Minimatch{constructor(B,A){super(B,h(F,A))}},T.Minimatch.defaults=M=>_.defaults(h(F,M)).Minimatch,T.filter=(M,B)=>_.filter(M,h(F,B)),T.defaults=M=>_.defaults(h(F,M)),T.makeRe=(M,B)=>_.makeRe(M,h(F,B)),T.braceExpand=(M,B)=>_.braceExpand(M,h(F,B)),T.match=(M,B,A)=>_.match(M,B,h(F,A)),T},t.braceExpand=(F,_)=>d(F,_);const d=(F,_={})=>(D(F),_.nobrace||!/\{(?:(?!\{).)*\}/.test(F)?[F]:n(F)),b=1024*64,D=F=>{if(typeof F!="string")throw new TypeError("invalid pattern");if(F.length>b)throw new TypeError("pattern is too long")},g=Symbol("subparse");t.makeRe=(F,_)=>new m(F,_||{}).makeRe(),t.match=(F,_,T={})=>{const M=new m(_,T);return F=F.filter(B=>M.match(B)),M.options.nonull&&!F.length&&F.push(_),F};const y=F=>F.replace(/\\(.)/g,"$1"),w=F=>F.replace(/\\([^-\]])/g,"$1"),E=F=>F.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),x=F=>F.replace(/[[\]\\]/g,"\\$&");class m{constructor(_,T){D(_),T||(T={}),this.options=T,this.maxGlobstarRecursion=T.maxGlobstarRecursion!==void 0?T.maxGlobstarRecursion:200,this.set=[],this.pattern=_,this.windowsPathsNoEscape=!!T.windowsPathsNoEscape||T.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!T.partial,this.make()}debug(){}make(){const _=this.pattern,T=this.options;if(!T.nocomment&&_.charAt(0)==="#"){this.comment=!0;return}if(!_){this.empty=!0;return}this.parseNegate();let M=this.globSet=this.braceExpand();T.debug&&(this.debug=(...B)=>console.error(...B)),this.debug(this.pattern,M),M=this.globParts=M.map(B=>B.split(u)),this.debug(this.pattern,M),M=M.map((B,A,O)=>B.map(this.parse,this)),this.debug(this.pattern,M),M=M.filter(B=>B.indexOf(!1)===-1),this.debug(this.pattern,M),this.set=M}parseNegate(){if(this.options.nonegate)return;const _=this.pattern;let T=!1,M=0;for(let B=0;B<_.length&&_.charAt(B)==="!";B++)T=!T,M++;M&&(this.pattern=_.slice(M)),this.negate=T}matchOne(_,T,M){return T.indexOf(r)!==-1?this._matchGlobstar(_,T,M,0,0):this._matchOne(_,T,M,0,0)}_matchGlobstar(_,T,M,B,A){let O=-1;for(let ge=A;ge<T.length;ge++)if(T[ge]===r){O=ge;break}let N=-1;for(let ge=T.length-1;ge>=0;ge--)if(T[ge]===r){N=ge;break}const z=T.slice(A,O),C=M?T.slice(O+1):T.slice(O+1,N),k=M?[]:T.slice(N+1);if(z.length){const ge=_.slice(B,B+z.length);if(!this._matchOne(ge,z,M,0,0))return!1;B+=z.length}let q=0;if(k.length){if(k.length+B>_.length)return!1;const ge=_.length-k.length;if(this._matchOne(_,k,M,ge,0))q=k.length;else{if(_[_.length-1]!==""||B+k.length===_.length||!this._matchOne(_,k,M,ge-1,0))return!1;q=k.length+1}}if(!C.length){let ge=!!q;for(let X=B;X<_.length-q;X++){const de=String(_[X]);if(ge=!0,de==="."||de===".."||!this.options.dot&&de.charAt(0)===".")return!1}return M||ge}const L=[[[],0]];let $=L[0],J=0;const se=[0];for(const ge of C)ge===r?(se.push(J),$=[[],0],L.push($)):($[0].push(ge),J++);let ue=L.length-1;const ne=_.length-q;for(const ge of L)ge[1]=ne-(se[ue--]+ge[0].length);return!!this._matchGlobStarBodySections(_,L,B,0,M,0,!!q)}_matchGlobStarBodySections(_,T,M,B,A,O,N){const z=T[B];if(!z){for(let q=M;q<_.length;q++){N=!0;const L=_[q];if(L==="."||L===".."||!this.options.dot&&L.charAt(0)===".")return!1}return N}const[C,k]=z;for(;M<=k;){if(this._matchOne(_.slice(0,M+C.length),C,A,M,0)&&O<this.maxGlobstarRecursion){const $=this._matchGlobStarBodySections(_,T,M+C.length,B+1,A,O+1,N);if($!==!1)return $}const L=_[M];if(L==="."||L===".."||!this.options.dot&&L.charAt(0)===".")return!1;M++}return A||null}_matchOne(_,T,M,B,A){let O,N,z,C;for(O=B,N=A,z=_.length,C=T.length;O<z&&N<C;O++,N++){this.debug("matchOne loop");const k=T[N],q=_[O];if(this.debug(T,k,q),k===!1||k===r)return!1;let L;if(typeof k=="string"?(L=q===k,this.debug("string match",k,q,L)):(L=q.match(k),this.debug("pattern match",k,q,L)),!L)return!1}if(O===z&&N===C)return!0;if(O===z)return M;if(N===C)return O===z-1&&_[O]==="";throw new Error("wtf?")}braceExpand(){return d(this.pattern,this.options)}parse(_,T){D(_);const M=this.options;if(_==="**")if(M.noglobstar)_="*";else return r;if(_==="")return"";let B="",A=!1,O=!1;const N=[],z=[];let C,k=!1,q=-1,L=-1,$,J,se,ue=_.charAt(0)===".",ne=M.dot||ue;const ge=()=>ue?"":ne?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",X=ae=>ae.charAt(0)==="."?"":M.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",de=()=>{if(C){switch(C){case"*":B+=s,A=!0;break;case"?":B+=a,A=!0;break;default:B+="\\"+C;break}this.debug("clearStateChar %j %j",C,B),C=!1}};for(let ae=0,pe;ae<_.length&&(pe=_.charAt(ae));ae++){if(this.debug("%s %s %s %j",_,ae,B,pe),O){if(pe==="/")return!1;f[pe]&&(B+="\\"),B+=pe,O=!1;continue}switch(pe){case"/":return!1;case"\\":if(k&&_.charAt(ae+1)==="-"){B+=pe;continue}de(),O=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",_,ae,B,pe),k){this.debug(" in class"),pe==="!"&&ae===L+1&&(pe="^"),B+=pe;continue}if(pe==="*"&&C==="*")continue;this.debug("call clearStateChar %j",C),de(),C=pe,M.noext&&de();continue;case"(":{if(k){B+="(";continue}if(!C){B+="\\(";continue}const we={type:C,start:ae-1,reStart:B.length,open:i[C].open,close:i[C].close};this.debug(this.pattern," ",we),N.push(we),B+=we.open,we.start===0&&we.type!=="!"&&(ue=!0,B+=X(_.slice(ae+1))),this.debug("plType %j %j",C,B),C=!1;continue}case")":{const we=N[N.length-1];if(k||!we){B+="\\)";continue}N.pop(),de(),A=!0,J=we,B+=J.close,J.type==="!"&&z.push(Object.assign(J,{reEnd:B.length}));continue}case"|":{const we=N[N.length-1];if(k||!we){B+="\\|";continue}de(),B+="|",we.start===0&&we.type!=="!"&&(ue=!0,B+=X(_.slice(ae+1)));continue}case"[":if(de(),k){B+="\\"+pe;continue}k=!0,L=ae,q=B.length,B+=pe;continue;case"]":if(ae===L+1||!k){B+="\\"+pe;continue}$=_.substring(L+1,ae);try{RegExp("["+x(w($))+"]"),B+=pe}catch{B=B.substring(0,q)+"(?:$.)"}A=!0,k=!1;continue;default:de(),f[pe]&&!(pe==="^"&&k)&&(B+="\\"),B+=pe;break}}for(k&&($=_.slice(L+1),se=this.parse($,g),B=B.substring(0,q)+"\\["+se[0],A=A||se[1]),J=N.pop();J;J=N.pop()){let ae;ae=B.slice(J.reStart+J.open.length),this.debug("setting tail",B,J),ae=ae.replace(/((?:\\{2}){0,64})(\\?)\|/g,(we,Te,Y)=>(Y||(Y="\\"),Te+Te+Y+"|")),this.debug(`tail=%j
|
|
47
|
-
%s`,ae,ae,J,B);const pe=J.type==="*"?s:J.type==="?"?a:"\\"+J.type;A=!0,B=B.slice(0,J.reStart)+pe+"\\("+ae}de(),O&&(B+="\\\\");const be=p[B.charAt(0)];for(let ae=z.length-1;ae>-1;ae--){const pe=z[ae],we=B.slice(0,pe.reStart),Te=B.slice(pe.reStart,pe.reEnd-8);let Y=B.slice(pe.reEnd);const I=B.slice(pe.reEnd-8,pe.reEnd)+Y,j=we.split(")").length,W=we.split("(").length-j;let G=Y;for(let ee=0;ee<W;ee++)G=G.replace(/\)[+*?]?/,"");Y=G;const H=Y===""&&T!==g?"(?:$|\\/)":"";B=we+Te+Y+H+I}if(B!==""&&A&&(B="(?=.)"+B),be&&(B=ge()+B),T===g)return[B,A];if(M.nocase&&!A&&(A=_.toUpperCase()!==_.toLowerCase()),!A)return y(_);const De=M.nocase?"i":"";try{return Object.assign(new RegExp("^"+B+"$",De),{_glob:_,_src:B})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const _=this.set;if(!_.length)return this.regexp=!1,this.regexp;const T=this.options,M=T.noglobstar?s:T.dot?o:c,B=T.nocase?"i":"";let A=_.map(O=>(O=O.map(N=>typeof N=="string"?E(N):N===r?r:N._src).reduce((N,z)=>(N[N.length-1]===r&&z===r||N.push(z),N),[]),O.forEach((N,z)=>{N!==r||O[z-1]===r||(z===0?O.length>1?O[z+1]="(?:\\/|"+M+"\\/)?"+O[z+1]:O[z]=M:z===O.length-1?O[z-1]+="(?:\\/|"+M+")?":(O[z-1]+="(?:\\/|\\/"+M+"\\/)"+O[z+1],O[z+1]=r))}),O.filter(N=>N!==r).join("/"))).join("|");A="^(?:"+A+")$",this.negate&&(A="^(?!"+A+").*$");try{this.regexp=new RegExp(A,B)}catch{this.regexp=!1}return this.regexp}match(_,T=this.partial){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return _==="";if(_==="/"&&T)return!0;const M=this.options;e.sep!=="/"&&(_=_.split(e.sep).join("/")),_=_.split(u),this.debug(this.pattern,"split",_);const B=this.set;this.debug(this.pattern,"set",B);let A;for(let O=_.length-1;O>=0&&(A=_[O],!A);O--);for(let O=0;O<B.length;O++){const N=B[O];let z=_;if(M.matchBase&&N.length===1&&(z=[A]),this.matchOne(z,N,T))return M.flipNegate?!0:!this.negate}return M.flipNegate?!1:this.negate}static defaults(_){return t.defaults(_).Minimatch}}return t.Minimatch=m,Ts}var Kg;function jt(){if(Kg)return Dt;Kg=1;var t=Dt&&Dt.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.processResponsePayload=Dt.processGlobFilter=Dt.handleResponseCode=Dt.createErrorFromResponse=void 0;var e=t(kF());function r(s,o){o===void 0&&(o="");var c=new Error("".concat(o,"Invalid response: ").concat(s.status," ").concat(s.statusText));return c.status=s.status,c.response=s,c}Dt.createErrorFromResponse=r;function n(s,o){var c=o.status;if(c===401&&s.digest)return o;if(c>=400){var l=r(o);throw l}return o}Dt.handleResponseCode=n;function i(s,o){return s.filter(function(c){return(0,e.default)(c.filename,o,{matchBase:!0})})}Dt.processGlobFilter=i;function a(s,o,c){return c===void 0&&(c=!1),c?{data:o,headers:s.headers||{},status:s.status,statusText:s.statusText}:o}return Dt.processResponsePayload=a,Dt}var Xg;function qF(){if(Xg)return cr;Xg=1;var t=cr&&cr.__awaiter||function(o,c,l,f){function p(u){return u instanceof l?u:new l(function(h){h(u)})}return new(l||(l=Promise))(function(u,h){function d(g){try{D(f.next(g))}catch(y){h(y)}}function b(g){try{D(f.throw(g))}catch(y){h(y)}}function D(g){g.done?u(g.value):p(g.value).then(d,b)}D((f=f.apply(o,c||[])).next())})},e=cr&&cr.__generator||function(o,c){var l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},f,p,u,h;return h={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function d(D){return function(g){return b([D,g])}}function b(D){if(f)throw new TypeError("Generator is already executing.");for(;l;)try{if(f=1,p&&(u=D[0]&2?p.return:D[0]?p.throw||((u=p.return)&&u.call(p),0):p.next)&&!(u=u.call(p,D[1])).done)return u;switch(p=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return l.label++,{value:D[1],done:!1};case 5:l.label++,p=D[1],D=[0];continue;case 7:D=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){l=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]<u[3])){l.label=D[1];break}if(D[0]===6&&l.label<u[1]){l.label=u[1],u=D;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(D);break}u[2]&&l.ops.pop(),l.trys.pop();continue}D=c.call(o,l)}catch(g){D=[6,g],p=0}finally{f=u=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}};Object.defineProperty(cr,"__esModule",{value:!0}),cr.copyFile=void 0;var r=St(),n=_t(),i=Mt(),a=jt();function s(o,c,l,f){return f===void 0&&(f={}),t(this,void 0,void 0,function(){var p,u;return e(this,function(h){switch(h.label){case 0:return p=(0,i.prepareRequestOptions)({url:(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(c)),method:"COPY",headers:{Destination:(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(l))}},o,f),[4,(0,i.request)(p)];case 1:return u=h.sent(),(0,a.handleResponseCode)(o,u),[2]}})})}return cr.copyFile=s,cr}var Ut={},pr={},yt={},Uc={},zc={},Hc={},Qg;function wr(){return Qg||(Qg=1,(function(t){const e=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=e+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",n="["+e+"]["+r+"]*",i=new RegExp("^"+n+"$"),a=function(o,c){const l=[];let f=c.exec(o);for(;f;){const p=[];p.startIndex=c.lastIndex-f[0].length;const u=f.length;for(let h=0;h<u;h++)p.push(f[h]);l.push(p),f=c.exec(o)}return l},s=function(o){const c=i.exec(o);return!(c===null||typeof c>"u")};t.isExist=function(o){return typeof o<"u"},t.isEmptyObject=function(o){return Object.keys(o).length===0},t.merge=function(o,c,l){if(c){const f=Object.keys(c),p=f.length;for(let u=0;u<p;u++)l==="strict"?o[f[u]]=[c[f[u]]]:o[f[u]]=c[f[u]]}},t.getValue=function(o){return t.isExist(o)?o:""},t.buildOptions=function(o,c,l){let f={};if(!o)return c;for(let p=0;p<l.length;p++)o[l[p]]!==void 0?f[l[p]]=o[l[p]]:f[l[p]]=c[l[p]];return f},t.isTagNameInArrayMode=function(o,c,l){return c===!1?!1:c instanceof RegExp?c.test(o):typeof c=="function"?!!c(o,l):c==="strict"},t.isName=s,t.getAllMatches=a,t.nameRegexp=n})(Hc)),Hc}var e0;function PF(){if(e0)return zc;e0=1;const t=wr(),e=function(r,n,i){const a={};if(!n.alwaysCreateTextNode&&(!r.child||t.isEmptyObject(r.child))&&(!r.attrsMap||t.isEmptyObject(r.attrsMap)))return t.isExist(r.val)?r.val:"";if(t.isExist(r.val)&&!(typeof r.val=="string"&&(r.val===""||r.val===n.cdataPositionChar))){const o=t.isTagNameInArrayMode(r.tagname,n.arrayMode,i);a[n.textNodeName]=o?[r.val]:r.val}t.merge(a,r.attrsMap,n.arrayMode);const s=Object.keys(r.child);for(let o=0;o<s.length;o++){const c=s[o];if(r.child[c]&&r.child[c].length>1){a[c]=[];for(let l in r.child[c])r.child[c].hasOwnProperty(l)&&a[c].push(e(r.child[c][l],n,c))}else{const l=e(r.child[c][0],n,c),f=n.arrayMode===!0&&typeof l=="object"||t.isTagNameInArrayMode(c,n.arrayMode,i);a[c]=f?[l]:l}}return a};return zc.convertToJson=e,zc}var ii={},Vc,t0;function IF(){return t0||(t0=1,Vc=function(t,e,r){this.tagname=t,this.parent=e,this.child={},this.attrsMap={},this.val=r,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}),Vc}var Wc,r0;function NF(){if(r0)return Wc;r0=1;const t=/^[-+]?0x[a-fA-F0-9]+$/,e=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function n(s,o={}){if(o=Object.assign({},r,o),!s||typeof s!="string")return s;let c=s.trim();if(o.skipLike!==void 0&&o.skipLike.test(c))return s;if(s==="0")return 0;if(o.hex&&t.test(c))return a(c,16);if(c.search(/[eE]/)!==-1){const l=c.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(l){if(o.leadingZeros)c=(l[1]||"")+l[3];else if(!(l[2]==="0"&&l[3][0]==="."))return s;return o.eNotation?Number(c):s}else return s}else{const l=e.exec(c);if(l){const f=l[1],p=l[2];let u=i(l[3]);if(!o.leadingZeros&&p.length>0&&f&&c[2]!==".")return s;if(!o.leadingZeros&&p.length>0&&!f&&c[1]!==".")return s;if(o.leadingZeros&&p===s)return 0;{const h=Number(c),d=""+h;return d.search(/[eE]/)!==-1?o.eNotation?h:s:c.indexOf(".")!==-1?d==="0"&&u===""||d===u||f&&d==="-"+u?h:s:p?u===d||f+u===d?h:s:c===d||c===f+d?h:s}}else return s}}function i(s){return s&&s.indexOf(".")!==-1&&(s=s.replace(/0+$/,""),s==="."?s="0":s[0]==="."?s="0"+s:s[s.length-1]==="."&&(s=s.substr(0,s.length-1))),s}function a(s,o){if(parseInt)return parseInt(s,o);if(Number.parseInt)return Number.parseInt(s,o);if(window&&window.parseInt)return window.parseInt(s,o);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}return Wc=n,Wc}var n0;function ga(){if(n0)return ii;n0=1;const t=wr(),e=wr().buildOptions,r=IF(),n=NF();"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,t.nameRegexp),!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(d,b){return d},attrValueProcessor:function(d,b){return d},stopNodes:[],alwaysCreateTextNode:!1};ii.defaultOptions=i;const a=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];ii.props=a;function s(d,b,D){return b&&(D.trimValues&&(b=b.trim()),b=D.tagValueProcessor(b,d),b=c(b,D.parseNodeValue,D.numParseOptions)),b}function o(d,b){if(b.ignoreNameSpace){const D=d.split(":"),g=d.charAt(0)==="/"?"/":"";if(D[0]==="xmlns")return"";D.length===2&&(d=g+D[1])}return d}function c(d,b,D){if(b&&typeof d=="string"){const g=d.trim();return g==="true"?!0:g==="false"?!1:n(d,D)}else return t.isExist(d)?d:""}const l=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function f(d,b){if(!b.ignoreAttributes&&typeof d=="string"){d=d.replace(/\r?\n/g," ");const D=t.getAllMatches(d,l),g=D.length,y={};for(let w=0;w<g;w++){const E=o(D[w][1],b);E.length&&(D[w][4]!==void 0?(b.trimValues&&(D[w][4]=D[w][4].trim()),D[w][4]=b.attrValueProcessor(D[w][4],E),y[b.attributeNamePrefix+E]=c(D[w][4],b.parseAttributeValue,b.numParseOptions)):b.allowBooleanAttributes&&(y[b.attributeNamePrefix+E]=!0))}if(!Object.keys(y).length)return;if(b.attrNodeName){const w={};return w[b.attrNodeName]=y,w}return y}}const p=function(d,b){d=d.replace(/\r\n?/g,`
|
|
48
|
-
`),b=e(b,i,a);const D=new r("!xml");let g=D,y="";for(let w=0;w<d.length;w++)if(d[w]==="<")if(d[w+1]==="/"){const x=h(d,">",w,"Closing Tag is not closed.");let m=d.substring(w+2,x).trim();if(b.ignoreNameSpace){const F=m.indexOf(":");F!==-1&&(m=m.substr(F+1))}g&&(g.val?g.val=t.getValue(g.val)+""+s(m,y,b):g.val=s(m,y,b)),b.stopNodes.length&&b.stopNodes.includes(g.tagname)&&(g.child=[],g.attrsMap==null&&(g.attrsMap={}),g.val=d.substr(g.startIndex+1,w-g.startIndex-1)),g=g.parent,y="",w=x}else if(d[w+1]==="?")w=h(d,"?>",w,"Pi Tag is not closed.");else if(d.substr(w+1,3)==="!--")w=h(d,"-->",w,"Comment is not closed.");else if(d.substr(w+1,2)==="!D"){const x=h(d,">",w,"DOCTYPE is not closed.");d.substring(w,x).indexOf("[")>=0?w=d.indexOf("]>",w)+1:w=x}else if(d.substr(w+1,2)==="!["){const x=h(d,"]]>",w,"CDATA is not closed.")-2,m=d.substring(w+9,x);if(y&&(g.val=t.getValue(g.val)+""+s(g.tagname,y,b),y=""),b.cdataTagName){const F=new r(b.cdataTagName,g,m);g.addChild(F),g.val=t.getValue(g.val)+b.cdataPositionChar,m&&(F.val=m)}else g.val=(g.val||"")+(m||"");w=x+2}else{const x=u(d,w+1);let m=x.data;const F=x.index,_=m.indexOf(" ");let T=m,M=!0;if(_!==-1&&(T=m.substr(0,_).replace(/\s\s*$/,""),m=m.substr(_+1)),b.ignoreNameSpace){const B=T.indexOf(":");B!==-1&&(T=T.substr(B+1),M=T!==x.data.substr(B+1))}if(g&&y&&g.tagname!=="!xml"&&(g.val=t.getValue(g.val)+""+s(g.tagname,y,b)),m.length>0&&m.lastIndexOf("/")===m.length-1){T[T.length-1]==="/"?(T=T.substr(0,T.length-1),m=T):m=m.substr(0,m.length-1);const B=new r(T,g,"");T!==m&&(B.attrsMap=f(m,b)),g.addChild(B)}else{const B=new r(T,g);b.stopNodes.length&&b.stopNodes.includes(B.tagname)&&(B.startIndex=F),T!==m&&M&&(B.attrsMap=f(m,b)),g.addChild(B),g=B}y="",w=F}else y+=d[w];return D};function u(d,b){let D,g="";for(let y=b;y<d.length;y++){let w=d[y];if(D)w===D&&(D="");else if(w==='"'||w==="'")D=w;else{if(w===">")return{data:g,index:y};w===" "&&(w=" ")}g+=w}}function h(d,b,D,g){const y=d.indexOf(b,D);if(y===-1)throw new Error(g);return y+b.length-1}return ii.getTraversalObj=p,ii}var Gc={},i0;function MF(){if(i0)return Gc;i0=1;const t=wr(),e={allowBooleanAttributes:!1},r=["allowBooleanAttributes"];Gc.validate=function(g,y){y=t.buildOptions(y,e,r);const w=[];let E=!1,x=!1;g[0]==="\uFEFF"&&(g=g.substr(1));for(let m=0;m<g.length;m++)if(g[m]==="<"&&g[m+1]==="?"){if(m+=2,m=n(g,m),m.err)return m}else if(g[m]==="<"){let F=m;if(m++,g[m]==="!"){m=i(g,m);continue}else{let _=!1;g[m]==="/"&&(_=!0,m++);let T="";for(;m<g.length&&g[m]!==">"&&g[m]!==" "&&g[m]!==" "&&g[m]!==`
|
|
49
|
-
`&&g[m]!=="\r";m++)T+=g[m];if(T=T.trim(),T[T.length-1]==="/"&&(T=T.substring(0,T.length-1),m--),!d(T)){let A;return T.trim().length===0?A="Invalid space after '<'.":A="Tag '"+T+"' is an invalid name.",u("InvalidTag",A,b(g,m))}const M=o(g,m);if(M===!1)return u("InvalidAttr","Attributes for '"+T+"' have open quote.",b(g,m));let B=M.value;if(m=M.index,B[B.length-1]==="/"){const A=m-B.length;B=B.substring(0,B.length-1);const O=l(B,y);if(O===!0)E=!0;else return u(O.err.code,O.err.msg,b(g,A+O.err.line))}else if(_)if(M.tagClosed){if(B.trim().length>0)return u("InvalidTag","Closing tag '"+T+"' can't have attributes or invalid starting.",b(g,F));{const A=w.pop();if(T!==A.tagName){let O=b(g,A.tagStartPos);return u("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+O.line+", col "+O.col+") instead of closing tag '"+T+"'.",b(g,F))}w.length==0&&(x=!0)}}else return u("InvalidTag","Closing tag '"+T+"' doesn't have proper closing.",b(g,m));else{const A=l(B,y);if(A!==!0)return u(A.err.code,A.err.msg,b(g,m-B.length+A.err.line));if(x===!0)return u("InvalidXml","Multiple possible root nodes found.",b(g,m));w.push({tagName:T,tagStartPos:F}),E=!0}for(m++;m<g.length;m++)if(g[m]==="<")if(g[m+1]==="!"){m++,m=i(g,m);continue}else if(g[m+1]==="?"){if(m=n(g,++m),m.err)return m}else break;else if(g[m]==="&"){const A=p(g,m);if(A==-1)return u("InvalidChar","char '&' is not expected.",b(g,m));m=A}g[m]==="<"&&m--}}else{if(g[m]===" "||g[m]===" "||g[m]===`
|
|
50
|
-
`||g[m]==="\r")continue;return u("InvalidChar","char '"+g[m]+"' is not expected.",b(g,m))}if(E){if(w.length==1)return u("InvalidTag","Unclosed tag '"+w[0].tagName+"'.",b(g,w[0].tagStartPos));if(w.length>0)return u("InvalidXml","Invalid '"+JSON.stringify(w.map(m=>m.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return u("InvalidXml","Start tag expected.",1);return!0};function n(g,y){const w=y;for(;y<g.length;y++)if(g[y]=="?"||g[y]==" "){const E=g.substr(w,y-w);if(y>5&&E==="xml")return u("InvalidXml","XML declaration allowed only at the start of the document.",b(g,y));if(g[y]=="?"&&g[y+1]==">"){y++;break}else continue}return y}function i(g,y){if(g.length>y+5&&g[y+1]==="-"&&g[y+2]==="-"){for(y+=3;y<g.length;y++)if(g[y]==="-"&&g[y+1]==="-"&&g[y+2]===">"){y+=2;break}}else if(g.length>y+8&&g[y+1]==="D"&&g[y+2]==="O"&&g[y+3]==="C"&&g[y+4]==="T"&&g[y+5]==="Y"&&g[y+6]==="P"&&g[y+7]==="E"){let w=1;for(y+=8;y<g.length;y++)if(g[y]==="<")w++;else if(g[y]===">"&&(w--,w===0))break}else if(g.length>y+9&&g[y+1]==="["&&g[y+2]==="C"&&g[y+3]==="D"&&g[y+4]==="A"&&g[y+5]==="T"&&g[y+6]==="A"&&g[y+7]==="["){for(y+=8;y<g.length;y++)if(g[y]==="]"&&g[y+1]==="]"&&g[y+2]===">"){y+=2;break}}return y}const a='"',s="'";function o(g,y){let w="",E="",x=!1;for(;y<g.length;y++){if(g[y]===a||g[y]===s)E===""?E=g[y]:E!==g[y]||(E="");else if(g[y]===">"&&E===""){x=!0;break}w+=g[y]}return E!==""?!1:{value:w,index:y,tagClosed:x}}const c=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function l(g,y){const w=t.getAllMatches(g,c),E={};for(let x=0;x<w.length;x++){if(w[x][1].length===0)return u("InvalidAttr","Attribute '"+w[x][2]+"' has no space in starting.",D(w[x]));if(w[x][3]===void 0&&!y.allowBooleanAttributes)return u("InvalidAttr","boolean attribute '"+w[x][2]+"' is not allowed.",D(w[x]));const m=w[x][2];if(!h(m))return u("InvalidAttr","Attribute '"+m+"' is an invalid name.",D(w[x]));if(!E.hasOwnProperty(m))E[m]=1;else return u("InvalidAttr","Attribute '"+m+"' is repeated.",D(w[x]))}return!0}function f(g,y){let w=/\d/;for(g[y]==="x"&&(y++,w=/[\da-fA-F]/);y<g.length;y++){if(g[y]===";")return y;if(!g[y].match(w))break}return-1}function p(g,y){if(y++,g[y]===";")return-1;if(g[y]==="#")return y++,f(g,y);let w=0;for(;y<g.length;y++,w++)if(!(g[y].match(/\w/)&&w<20)){if(g[y]===";")break;return-1}return y}function u(g,y,w){return{err:{code:g,msg:y,line:w.line||w,col:w.col}}}function h(g){return t.isName(g)}function d(g){return t.isName(g)}function b(g,y){const w=g.substring(0,y).split(/\r?\n/);return{line:w.length,col:w[w.length-1].length+1}}function D(g){return g.startIndex+g[1].length}return Gc}var Yc={},s0;function jF(){if(s0)return Yc;s0=1;const t=function(p){return String.fromCharCode(p)},e={nilChar:t(176),missingChar:t(201),nilPremitive:t(175),missingPremitive:t(200),emptyChar:t(178),emptyValue:t(177),boundryChar:t(179),objStart:t(198),arrStart:t(204),arrayEnd:t(185)},r=[e.nilChar,e.nilPremitive,e.missingChar,e.missingPremitive,e.boundryChar,e.emptyChar,e.emptyValue,e.arrayEnd,e.objStart,e.arrStart],n=function(p,u,h){if(typeof u=="string")return p&&p[0]&&p[0].val!==void 0?i(p[0].val):i(p);{const d=o(p);if(d===!0){let b="";if(Array.isArray(u)){b+=e.arrStart;const D=u[0],g=p.length;if(typeof D=="string")for(let y=0;y<g;y++){const w=i(p[y].val);b=a(b,w)}else for(let y=0;y<g;y++){const w=n(p[y],D,h);b=a(b,w)}b+=e.arrayEnd}else{b+=e.objStart;const D=Object.keys(u);Array.isArray(p)&&(p=p[0]);for(let g in D){const y=D[g];let w;!h.ignoreAttributes&&p.attrsMap&&p.attrsMap[y]?w=n(p.attrsMap[y],u[y],h):y===h.textNodeName?w=n(p.val,u[y],h):w=n(p.child[y],u[y],h),b=a(b,w)}}return b}else return d}},i=function(p){switch(p){case void 0:return e.missingPremitive;case null:return e.nilPremitive;case"":return e.emptyValue;default:return p}},a=function(p,u){return!s(u[0])&&!s(p[p.length-1])&&(p+=e.boundryChar),p+u},s=function(p){return r.indexOf(p)!==-1};function o(p){return p===void 0?e.missingChar:p===null?e.nilChar:p.child&&Object.keys(p.child).length===0&&(!p.attrsMap||Object.keys(p.attrsMap).length===0)?e.emptyChar:!0}const c=ga(),l=wr().buildOptions,f=function(p,u,h){return h=l(h,c.defaultOptions,c.props),n(p,u,h)};return Yc.convert2nimn=f,Yc}var Zc={},a0;function LF(){if(a0)return Zc;a0=1;const t=wr(),e=wr().buildOptions,r=ga(),n=function(s,o){return o=e(o,r.defaultOptions,r.props),o.indentBy=o.indentBy||"",i(s,o)},i=function(s,o,c){let l="{";const f=Object.keys(s.child);for(let p=0;p<f.length;p++){const u=f[p];if(s.child[u]&&s.child[u].length>1){l+='"'+u+'" : [ ';for(let h in s.child[u])l+=i(s.child[u][h],o)+" , ";l=l.substr(0,l.length-1)+" ] "}else l+='"'+u+'" : '+i(s.child[u][0],o)+" ,"}return t.merge(l,s.attrsMap),t.isEmptyObject(l)?t.isExist(s.val)?s.val:"":(t.isExist(s.val)&&(typeof s.val=="string"&&(s.val===""||s.val===o.cdataPositionChar)||(l+='"'+o.textNodeName+'" : '+a(s.val))),l[l.length-1]===","&&(l=l.substr(0,l.length-2)),l+"}")};function a(s){return s===!0||s===!1||!isNaN(s)?s:'"'+s+'"'}return Zc.convertToJsonString=n,Zc}var Jc,o0;function $F(){if(o0)return Jc;o0=1;const t=wr().buildOptions,e={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(d){return d},attrValueProcessor:function(d){return d}},r=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function n(d){this.options=t(d,e,r),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=u),this.options.cdataTagName?this.isCDATA=h:this.isCDATA=function(){return!1},this.replaceCDATAstr=a,this.replaceCDATAarr=s,this.processTextOrObjNode=i,this.options.format?(this.indentate=p,this.tagEndChar=`>
|
|
51
|
-
`,this.newLine=`
|
|
52
|
-
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=f,this.buildObjNode=c):(this.buildTextNode=l,this.buildObjNode=o),this.buildTextValNode=l,this.buildObjectNode=o}n.prototype.parse=function(d){return Array.isArray(d)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(d={[this.options.rootNodeName]:d}),this.j2x(d,0).val},n.prototype.j2x=function(d,b){let D="",g="";for(let y in d)if(!(typeof d[y]>"u"))if(d[y]===null)g+=this.indentate(b)+"<"+y+"/"+this.tagEndChar;else if(d[y]instanceof Date)g+=this.buildTextNode(d[y],y,"",b);else if(typeof d[y]!="object"){const w=this.isAttribute(y);w?D+=" "+w+'="'+this.options.attrValueProcessor(""+d[y])+'"':this.isCDATA(y)?d[this.options.textNodeName]?g+=this.replaceCDATAstr(d[this.options.textNodeName],d[y]):g+=this.replaceCDATAstr("",d[y]):y===this.options.textNodeName?d[this.options.cdataTagName]||(g+=this.options.tagValueProcessor(""+d[y])):g+=this.buildTextNode(d[y],y,"",b)}else if(Array.isArray(d[y]))if(this.isCDATA(y))g+=this.indentate(b),d[this.options.textNodeName]?g+=this.replaceCDATAarr(d[this.options.textNodeName],d[y]):g+=this.replaceCDATAarr("",d[y]);else{const w=d[y].length;for(let E=0;E<w;E++){const x=d[y][E];typeof x>"u"||(x===null?g+=this.indentate(b)+"<"+y+"/"+this.tagEndChar:typeof x=="object"?g+=this.processTextOrObjNode(x,y,b):g+=this.buildTextNode(x,y,"",b))}}else if(this.options.attrNodeName&&y===this.options.attrNodeName){const w=Object.keys(d[y]),E=w.length;for(let x=0;x<E;x++)D+=" "+w[x]+'="'+this.options.attrValueProcessor(""+d[y][w[x]])+'"'}else g+=this.processTextOrObjNode(d[y],y,b);return{attrStr:D,val:g}};function i(d,b,D){const g=this.j2x(d,D+1);return d[this.options.textNodeName]!==void 0&&Object.keys(d).length===1?this.buildTextNode(g.val,b,g.attrStr,D):this.buildObjNode(g.val,b,g.attrStr,D)}function a(d,b){return d=this.options.tagValueProcessor(""+d),this.options.cdataPositionChar===""||d===""?d+"<![CDATA["+b+"]]"+this.tagEndChar:d.replace(this.options.cdataPositionChar,"<![CDATA["+b+"]]"+this.tagEndChar)}function s(d,b){if(d=this.options.tagValueProcessor(""+d),this.options.cdataPositionChar===""||d==="")return d+"<![CDATA["+b.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(let D in b)d=d.replace(this.options.cdataPositionChar,"<![CDATA["+b[D]+"]]>");return d+this.newLine}function o(d,b,D,g){return D&&d.indexOf("<")===-1?this.indentate(g)+"<"+b+D+">"+d+"</"+b+this.tagEndChar:this.indentate(g)+"<"+b+D+this.tagEndChar+d+this.indentate(g)+"</"+b+this.tagEndChar}function c(d,b,D,g){return d!==""?this.buildObjectNode(d,b,D,g):this.indentate(g)+"<"+b+D+"/"+this.tagEndChar}function l(d,b,D,g){return this.indentate(g)+"<"+b+D+">"+this.options.tagValueProcessor(d)+"</"+b+this.tagEndChar}function f(d,b,D,g){return d!==""?this.buildTextValNode(d,b,D,g):this.indentate(g)+"<"+b+D+"/"+this.tagEndChar}function p(d){return this.options.indentBy.repeat(d)}function u(d){return d.startsWith(this.options.attributeNamePrefix)?d.substr(this.attrPrefixLen):!1}function h(d){return d===this.options.cdataTagName}return Jc=n,Jc}var u0;function Db(){return u0||(u0=1,(function(t){const e=PF(),r=ga(),n=ga(),i=wr().buildOptions,a=MF();t.parse=function(s,o={},c){if(c){c===!0&&(c={});const p=a.validate(s,c);if(p!==!0)throw Error(p.err.msg)}o.parseTrueNumberOnly&&o.parseNodeValue!==!1&&!o.numParseOptions&&(o.numParseOptions={leadingZeros:!1});let l=i(o,n.defaultOptions,n.props);const f=r.getTraversalObj(s,l);return e.convertToJson(f,l)},t.convertTonimn=jF().convert2nimn,t.getTraversalObj=r.getTraversalObj,t.convertToJson=e.convertToJson,t.convertToJsonString=LF().convertToJsonString,t.validate=a.validate,t.j2xParser=$F(),t.parseToNimn=function(s,o,c){return t.convertTonimn(t.getTraversalObj(s,c),o,c)}})(Uc)),Uc}var Kc,c0;function yb(){if(c0)return Kc;c0=1;function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(m){return typeof m}:t=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},t(E)}function e(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}function r(E,x){return x&&(t(x)==="object"||typeof x=="function")?x:n(E)}function n(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function i(E,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(x&&x.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),x&&l(E,x)}function a(E){var x=typeof Map=="function"?new Map:void 0;return a=function(F){if(F===null||!c(F))return F;if(typeof F!="function")throw new TypeError("Super expression must either be null or a function");if(typeof x<"u"){if(x.has(F))return x.get(F);x.set(F,_)}function _(){return s(F,arguments,f(this).constructor)}return _.prototype=Object.create(F.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),l(_,F)},a(E)}function s(E,x,m){return o()?s=Reflect.construct:s=function(_,T,M){var B=[null];B.push.apply(B,T);var A=Function.bind.apply(_,B),O=new A;return M&&l(O,M.prototype),O},s.apply(null,arguments)}function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function c(E){return Function.toString.call(E).indexOf("[native code]")!==-1}function l(E,x){return l=Object.setPrototypeOf||function(F,_){return F.__proto__=_,F},l(E,x)}function f(E){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},f(E)}var p="+",u=".",h=(function(E){i(x,E);function x(m){var F;return e(this,x),F=r(this,f(x).call(this,m)),F.name="ObjectPrototypeMutationError",F}return x})(a(Error));Kc={set:D,get:d,has:b,hasOwn:function(x,m,F){return this.has(x,m,F||{own:!0})},isIn:g,ObjectPrototypeMutationError:h};function d(E,x){if(t(E)!="object"||E===null||typeof x>"u")return E;if(typeof x=="number")return E[x];try{return y(E,x,function(F,_){return F[_]})}catch{return E}}function b(E,x){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t(E)!="object"||E===null||typeof x>"u")return!1;if(typeof x=="number")return x in E;try{var F=!1;return y(E,x,function(T,M,B,A){if(w(B,A))m.own?F=T.hasOwnProperty(M):F=M in T;else return T&&T[M]}),F}catch{return!1}}function D(E,x,m){if(t(E)!="object"||E===null||typeof x>"u")return E;if(typeof x=="number")return E[x]=m,E[x];try{return y(E,x,function(_,T,M,B){if(_===Reflect.getPrototypeOf({}))throw new h("Attempting to mutate Object.prototype");if(!_[T]){var A=Number.isInteger(Number(M[B+1])),O=M[B+1]===p;A||O?_[T]=[]:_[T]={}}return w(M,B)&&(_[T]=m),_[T]})}catch(F){if(F instanceof h)throw F;return E}}function g(E,x,m){var F=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t(E)!="object"||E===null||typeof x>"u")return!1;try{var _=!1,T=!1;return y(E,x,function(B,A,O,N){return _=_||B===m||!!B&&B[A]===m,T=w(O,N)&&t(B)==="object"&&A in B,B&&B[A]}),F.validPath?_&&T:_}catch{return!1}}function y(E,x){for(var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},F=x.split(u),_=F.length,T=function(O){var N=F[O];if(!E)return{v:void 0};if(N===p){if(Array.isArray(E))return{v:E.map(function(C,k){var q=F.slice(O+1);return q.length>0?y(C,q.join(u),m):m(E,k,F,O)})};var z=F.slice(0,O).join(u);throw new Error("Object at wildcard (".concat(z,") is not an array"))}else E=m(E,N,F,O)},M=0;M<_;M++){var B=T(M);if(t(B)==="object")return B.v}return E}function w(E,x){return E.length===x+1}return Kc}var l0;function Hi(){if(l0)return yt;l0=1;var t=yt&&yt.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(yt,"__esModule",{value:!0}),yt.translateDiskSpace=yt.parseStat=yt.prepareFileFromProps=yt.parseXML=void 0;var e=t(zf()),r=t(Db()),n=t(yb()),i=Ba(),a=_t(),s;(function(d){d.Array="array",d.Object="object",d.Original="original"})(s||(s={}));function o(d,b,D){D===void 0&&(D=s.Original);var g=n.default.get(d,b);return D==="array"&&Array.isArray(g)===!1?[g]:D==="object"&&Array.isArray(g)?g[0]:g}function c(d){var b=Object.assign({},d);return n.default.set(b,"propstat",o(b,"propstat",s.Object)),n.default.set(b,"propstat.prop",o(b,"propstat.prop",s.Object)),b}function l(d){var b=d.multistatus;if(b==="")return{multistatus:{response:[]}};if(!b)throw new Error("Invalid response: No root multistatus found");var D={multistatus:Array.isArray(b)?b[0]:b};return n.default.set(D,"multistatus.response",o(D,"multistatus.response",s.Array)),n.default.set(D,"multistatus.response",n.default.get(D,"multistatus.response").map(function(g){return c(g)})),D}function f(d){return new Promise(function(b){var D=r.default.parse(d,{arrayMode:!1,ignoreNameSpace:!0});b(l(D))})}yt.parseXML=f;function p(d,b,D){D===void 0&&(D=!1);var g=d.getlastmodified,y=g===void 0?null:g,w=d.getcontentlength,E=w===void 0?"0":w,x=d.resourcetype,m=x===void 0?null:x,F=d.getcontenttype,_=F===void 0?null:F,T=d.getetag,M=T===void 0?null:T,B=m&&typeof m=="object"&&typeof m.collection<"u"?"directory":"file",A=(0,i.decodeHTMLEntities)(b),O={filename:A,basename:e.default.basename(A),lastmod:y,size:parseInt(E,10),type:B,etag:typeof M=="string"?M.replace(/"/g,""):null};return B==="file"&&(O.mime=_&&typeof _=="string"?_.split(";")[0]:""),D&&(O.props=d),O}yt.prepareFileFromProps=p;function u(d,b,D){D===void 0&&(D=!1);var g=null;try{g=d.multistatus.response[0]}catch{}if(!g)throw new Error("Failed getting item stat: bad response");var y=g.propstat,w=y.prop,E=y.status,x=E.split(" ",3);x[0];var m=x[1],F=x[2],_=parseInt(m,10);if(_>=400){var T=new Error("Invalid response: ".concat(_," ").concat(F));throw T.status=_,T}var M=(0,a.normalisePath)(b);return p(w,M,D)}yt.parseStat=u;function h(d){switch(d.toString()){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(d,10)}}return yt.translateDiskSpace=h,yt}var f0;function Xf(){if(f0)return pr;f0=1;var t=pr&&pr.__awaiter||function(c,l,f,p){function u(h){return h instanceof f?h:new f(function(d){d(h)})}return new(f||(f=Promise))(function(h,d){function b(y){try{g(p.next(y))}catch(w){d(w)}}function D(y){try{g(p.throw(y))}catch(w){d(w)}}function g(y){y.done?h(y.value):u(y.value).then(b,D)}g((p=p.apply(c,l||[])).next())})},e=pr&&pr.__generator||function(c,l){var f={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,u,h,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(g){return function(y){return D([g,y])}}function D(g){if(p)throw new TypeError("Generator is already executing.");for(;f;)try{if(p=1,u&&(h=g[0]&2?u.return:g[0]?u.throw||((h=u.return)&&h.call(u),0):u.next)&&!(h=h.call(u,g[1])).done)return h;switch(u=0,h&&(g=[g[0]&2,h.value]),g[0]){case 0:case 1:h=g;break;case 4:return f.label++,{value:g[1],done:!1};case 5:f.label++,u=g[1],g=[0];continue;case 7:g=f.ops.pop(),f.trys.pop();continue;default:if(h=f.trys,!(h=h.length>0&&h[h.length-1])&&(g[0]===6||g[0]===2)){f=0;continue}if(g[0]===3&&(!h||g[1]>h[0]&&g[1]<h[3])){f.label=g[1];break}if(g[0]===6&&f.label<h[1]){f.label=h[1],h=g;break}if(h&&f.label<h[2]){f.label=h[2],f.ops.push(g);break}h[2]&&f.ops.pop(),f.trys.pop();continue}g=l.call(c,f)}catch(y){g=[6,y],u=0}finally{p=h=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(pr,"__esModule",{value:!0}),pr.getStat=void 0;var r=Hi(),n=St(),i=_t(),a=Mt(),s=jt();function o(c,l,f){return f===void 0&&(f={}),t(this,void 0,void 0,function(){var p,u,h,d,b,D;return e(this,function(g){switch(g.label){case 0:return p=f.details,u=p===void 0?!1:p,h=(0,a.prepareRequestOptions)({url:(0,n.joinURL)(c.remoteURL,(0,i.encodePath)(l)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"},responseType:"text"},c,f),[4,(0,a.request)(h)];case 1:return d=g.sent(),(0,s.handleResponseCode)(c,d),[4,(0,r.parseXML)(d.data)];case 2:return b=g.sent(),D=(0,r.parseStat)(b,l,u),[2,(0,s.processResponsePayload)(d,D,u)]}})})}return pr.getStat=o,pr}var p0;function UF(){if(p0)return Ut;p0=1;var t=Ut&&Ut.__assign||function(){return t=Object.assign||function(p){for(var u,h=1,d=arguments.length;h<d;h++){u=arguments[h];for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(p[b]=u[b])}return p},t.apply(this,arguments)},e=Ut&&Ut.__awaiter||function(p,u,h,d){function b(D){return D instanceof h?D:new h(function(g){g(D)})}return new(h||(h=Promise))(function(D,g){function y(x){try{E(d.next(x))}catch(m){g(m)}}function w(x){try{E(d.throw(x))}catch(m){g(m)}}function E(x){x.done?D(x.value):b(x.value).then(y,w)}E((d=d.apply(p,u||[])).next())})},r=Ut&&Ut.__generator||function(p,u){var h={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},d,b,D,g;return g={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function y(E){return function(x){return w([E,x])}}function w(E){if(d)throw new TypeError("Generator is already executing.");for(;h;)try{if(d=1,b&&(D=E[0]&2?b.return:E[0]?b.throw||((D=b.return)&&D.call(b),0):b.next)&&!(D=D.call(b,E[1])).done)return D;switch(b=0,D&&(E=[E[0]&2,D.value]),E[0]){case 0:case 1:D=E;break;case 4:return h.label++,{value:E[1],done:!1};case 5:h.label++,b=E[1],E=[0];continue;case 7:E=h.ops.pop(),h.trys.pop();continue;default:if(D=h.trys,!(D=D.length>0&&D[D.length-1])&&(E[0]===6||E[0]===2)){h=0;continue}if(E[0]===3&&(!D||E[1]>D[0]&&E[1]<D[3])){h.label=E[1];break}if(E[0]===6&&h.label<D[1]){h.label=D[1],D=E;break}if(D&&h.label<D[2]){h.label=D[2],h.ops.push(E);break}D[2]&&h.ops.pop(),h.trys.pop();continue}E=u.call(p,h)}catch(x){E=[6,x],b=0}finally{d=D=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}};Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createDirectory=void 0;var n=St(),i=_t(),a=Mt(),s=jt(),o=Xf();function c(p,u,h){return h===void 0&&(h={}),e(this,void 0,void 0,function(){var d,b;return r(this,function(D){switch(D.label){case 0:return h.recursive===!0?[2,f(p,u,h)]:(d=(0,a.prepareRequestOptions)({url:(0,n.joinURL)(p.remoteURL,l((0,i.encodePath)(u))),method:"MKCOL"},p,h),[4,(0,a.request)(d)]);case 1:return b=D.sent(),(0,s.handleResponseCode)(p,b),[2]}})})}Ut.createDirectory=c;function l(p){return p.endsWith("/")?p:p+"/"}function f(p,u,h){return h===void 0&&(h={}),e(this,void 0,void 0,function(){var d,b,D,g,y,w,E,x;return r(this,function(m){switch(m.label){case 0:d=(0,i.getAllDirectories)((0,i.normalisePath)(u)),d.sort(function(F,_){return F.length>_.length?1:_.length>F.length?-1:0}),b=!1,D=0,g=d,m.label=1;case 1:return D<g.length?(y=g[D],b?[4,c(p,y,t(t({},h),{recursive:!1}))]:[3,3]):[3,10];case 2:return m.sent(),[3,9];case 3:return m.trys.push([3,5,,9]),[4,(0,o.getStat)(p,y)];case 4:if(w=m.sent(),w.type!=="directory")throw new Error("Path includes a file: ".concat(u));return[3,9];case 5:return E=m.sent(),x=E,x.status!==404?[3,7]:(b=!0,[4,c(p,y,t(t({},h),{recursive:!1}))]);case 6:return m.sent(),[3,8];case 7:throw E;case 8:return[3,9];case 9:return D++,[3,1];case 10:return[2]}})})}return Ut}var bt={},d0;function zF(){if(d0)return bt;d0=1;var t=bt&&bt.__awaiter||function(u,h,d,b){function D(g){return g instanceof d?g:new d(function(y){y(g)})}return new(d||(d=Promise))(function(g,y){function w(m){try{x(b.next(m))}catch(F){y(F)}}function E(m){try{x(b.throw(m))}catch(F){y(F)}}function x(m){m.done?g(m.value):D(m.value).then(w,E)}x((b=b.apply(u,h||[])).next())})},e=bt&&bt.__generator||function(u,h){var d={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},b,D,g,y;return y={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function w(x){return function(m){return E([x,m])}}function E(x){if(b)throw new TypeError("Generator is already executing.");for(;d;)try{if(b=1,D&&(g=x[0]&2?D.return:x[0]?D.throw||((g=D.return)&&g.call(D),0):D.next)&&!(g=g.call(D,x[1])).done)return g;switch(D=0,g&&(x=[x[0]&2,g.value]),x[0]){case 0:case 1:g=x;break;case 4:return d.label++,{value:x[1],done:!1};case 5:d.label++,D=x[1],x=[0];continue;case 7:x=d.ops.pop(),d.trys.pop();continue;default:if(g=d.trys,!(g=g.length>0&&g[g.length-1])&&(x[0]===6||x[0]===2)){d=0;continue}if(x[0]===3&&(!g||x[1]>g[0]&&x[1]<g[3])){d.label=x[1];break}if(x[0]===6&&d.label<g[1]){d.label=g[1],g=x;break}if(g&&d.label<g[2]){d.label=g[2],d.ops.push(x);break}g[2]&&d.ops.pop(),d.trys.pop();continue}x=h.call(u,d)}catch(m){x=[6,m],D=0}finally{b=g=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}},r=bt&&bt.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(bt,"__esModule",{value:!0}),bt.createWriteStream=bt.createReadStream=void 0;var n=r(Me),i=St(),a=_t(),s=Mt(),o=jt(),c=function(){};function l(u,h,d){d===void 0&&(d={});var b=n.default.PassThrough,D=new b;return p(u,h,d).then(function(g){g.pipe(D)}).catch(function(g){D.emit("error",g)}),D}bt.createReadStream=l;function f(u,h,d,b){d===void 0&&(d={}),b===void 0&&(b=c);var D=n.default.PassThrough,g=new D,y={};d.overwrite===!1&&(y["If-None-Match"]="*");var w=(0,s.prepareRequestOptions)({url:(0,i.joinURL)(u.remoteURL,(0,a.encodePath)(h)),method:"PUT",headers:y,data:g,maxRedirects:0},u,d);return(0,s.request)(w).then(function(E){return(0,o.handleResponseCode)(u,E)}).then(function(E){setTimeout(function(){b(E)},0)}).catch(function(E){g.emit("error",E)}),g}bt.createWriteStream=f;function p(u,h,d){return d===void 0&&(d={}),t(this,void 0,void 0,function(){var b,D,g,y,w;return e(this,function(E){switch(E.label){case 0:return b={},typeof d.range=="object"&&typeof d.range.start=="number"&&(D="bytes=".concat(d.range.start,"-"),typeof d.range.end=="number"&&(D="".concat(D).concat(d.range.end)),b.Range=D),g=(0,s.prepareRequestOptions)({url:(0,i.joinURL)(u.remoteURL,(0,a.encodePath)(h)),method:"GET",headers:b,responseType:"stream"},u,d),[4,(0,s.request)(g)];case 1:if(y=E.sent(),(0,o.handleResponseCode)(u,y),b.Range&&y.status!==206)throw w=new Error("Invalid response code for partial request: ".concat(y.status)),w.status=y.status,w;return d.callback&&setTimeout(function(){d.callback(y)},0),[2,y.data]}})})}return bt}var dr={},h0;function HF(){if(h0)return dr;h0=1;var t=dr&&dr.__awaiter||function(o,c,l,f){function p(u){return u instanceof l?u:new l(function(h){h(u)})}return new(l||(l=Promise))(function(u,h){function d(g){try{D(f.next(g))}catch(y){h(y)}}function b(g){try{D(f.throw(g))}catch(y){h(y)}}function D(g){g.done?u(g.value):p(g.value).then(d,b)}D((f=f.apply(o,c||[])).next())})},e=dr&&dr.__generator||function(o,c){var l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},f,p,u,h;return h={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function d(D){return function(g){return b([D,g])}}function b(D){if(f)throw new TypeError("Generator is already executing.");for(;l;)try{if(f=1,p&&(u=D[0]&2?p.return:D[0]?p.throw||((u=p.return)&&u.call(p),0):p.next)&&!(u=u.call(p,D[1])).done)return u;switch(p=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return l.label++,{value:D[1],done:!1};case 5:l.label++,p=D[1],D=[0];continue;case 7:D=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){l=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]<u[3])){l.label=D[1];break}if(D[0]===6&&l.label<u[1]){l.label=u[1],u=D;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(D);break}u[2]&&l.ops.pop(),l.trys.pop();continue}D=c.call(o,l)}catch(g){D=[6,g],p=0}finally{f=u=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}};Object.defineProperty(dr,"__esModule",{value:!0}),dr.customRequest=void 0;var r=St(),n=_t(),i=Mt(),a=jt();function s(o,c,l){return t(this,void 0,void 0,function(){var f,p;return e(this,function(u){switch(u.label){case 0:return l.url||(l.url=(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(c))),f=(0,i.prepareRequestOptions)(l,o,{}),[4,(0,i.request)(f)];case 1:return p=u.sent(),(0,a.handleResponseCode)(o,p),[2,p]}})})}return dr.customRequest=s,dr}var hr={},m0;function VF(){if(m0)return hr;m0=1;var t=hr&&hr.__awaiter||function(o,c,l,f){function p(u){return u instanceof l?u:new l(function(h){h(u)})}return new(l||(l=Promise))(function(u,h){function d(g){try{D(f.next(g))}catch(y){h(y)}}function b(g){try{D(f.throw(g))}catch(y){h(y)}}function D(g){g.done?u(g.value):p(g.value).then(d,b)}D((f=f.apply(o,c||[])).next())})},e=hr&&hr.__generator||function(o,c){var l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},f,p,u,h;return h={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function d(D){return function(g){return b([D,g])}}function b(D){if(f)throw new TypeError("Generator is already executing.");for(;l;)try{if(f=1,p&&(u=D[0]&2?p.return:D[0]?p.throw||((u=p.return)&&u.call(p),0):p.next)&&!(u=u.call(p,D[1])).done)return u;switch(p=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return l.label++,{value:D[1],done:!1};case 5:l.label++,p=D[1],D=[0];continue;case 7:D=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){l=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]<u[3])){l.label=D[1];break}if(D[0]===6&&l.label<u[1]){l.label=u[1],u=D;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(D);break}u[2]&&l.ops.pop(),l.trys.pop();continue}D=c.call(o,l)}catch(g){D=[6,g],p=0}finally{f=u=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}};Object.defineProperty(hr,"__esModule",{value:!0}),hr.deleteFile=void 0;var r=St(),n=_t(),i=Mt(),a=jt();function s(o,c,l){return l===void 0&&(l={}),t(this,void 0,void 0,function(){var f,p;return e(this,function(u){switch(u.label){case 0:return f=(0,i.prepareRequestOptions)({url:(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(c)),method:"DELETE"},o,l),[4,(0,i.request)(f)];case 1:return p=u.sent(),(0,a.handleResponseCode)(o,p),[2]}})})}return hr.deleteFile=s,hr}var mr={},g0;function WF(){if(g0)return mr;g0=1;var t=mr&&mr.__awaiter||function(i,a,s,o){function c(l){return l instanceof s?l:new s(function(f){f(l)})}return new(s||(s=Promise))(function(l,f){function p(d){try{h(o.next(d))}catch(b){f(b)}}function u(d){try{h(o.throw(d))}catch(b){f(b)}}function h(d){d.done?l(d.value):c(d.value).then(p,u)}h((o=o.apply(i,a||[])).next())})},e=mr&&mr.__generator||function(i,a){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},o,c,l,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(h){return function(d){return u([h,d])}}function u(h){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,c&&(l=h[0]&2?c.return:h[0]?c.throw||((l=c.return)&&l.call(c),0):c.next)&&!(l=l.call(c,h[1])).done)return l;switch(c=0,l&&(h=[h[0]&2,l.value]),h[0]){case 0:case 1:l=h;break;case 4:return s.label++,{value:h[1],done:!1};case 5:s.label++,c=h[1],h=[0];continue;case 7:h=s.ops.pop(),s.trys.pop();continue;default:if(l=s.trys,!(l=l.length>0&&l[l.length-1])&&(h[0]===6||h[0]===2)){s=0;continue}if(h[0]===3&&(!l||h[1]>l[0]&&h[1]<l[3])){s.label=h[1];break}if(h[0]===6&&s.label<l[1]){s.label=l[1],l=h;break}if(l&&s.label<l[2]){s.label=l[2],s.ops.push(h);break}l[2]&&s.ops.pop(),s.trys.pop();continue}h=a.call(i,s)}catch(d){h=[6,d],c=0}finally{o=l=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(mr,"__esModule",{value:!0}),mr.exists=void 0;var r=Xf();function n(i,a,s){return s===void 0&&(s={}),t(this,void 0,void 0,function(){var o;return e(this,function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,(0,r.getStat)(i,a,s)];case 1:return c.sent(),[2,!0];case 2:if(o=c.sent(),o.status===404)return[2,!1];throw o;case 3:return[2]}})})}return mr.exists=n,mr}var zt={},D0;function GF(){if(D0)return zt;D0=1;var t=zt&&zt.__awaiter||function(p,u,h,d){function b(D){return D instanceof h?D:new h(function(g){g(D)})}return new(h||(h=Promise))(function(D,g){function y(x){try{E(d.next(x))}catch(m){g(m)}}function w(x){try{E(d.throw(x))}catch(m){g(m)}}function E(x){x.done?D(x.value):b(x.value).then(y,w)}E((d=d.apply(p,u||[])).next())})},e=zt&&zt.__generator||function(p,u){var h={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},d,b,D,g;return g={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function y(E){return function(x){return w([E,x])}}function w(E){if(d)throw new TypeError("Generator is already executing.");for(;h;)try{if(d=1,b&&(D=E[0]&2?b.return:E[0]?b.throw||((D=b.return)&&D.call(b),0):b.next)&&!(D=D.call(b,E[1])).done)return D;switch(b=0,D&&(E=[E[0]&2,D.value]),E[0]){case 0:case 1:D=E;break;case 4:return h.label++,{value:E[1],done:!1};case 5:h.label++,b=E[1],E=[0];continue;case 7:E=h.ops.pop(),h.trys.pop();continue;default:if(D=h.trys,!(D=D.length>0&&D[D.length-1])&&(E[0]===6||E[0]===2)){h=0;continue}if(E[0]===3&&(!D||E[1]>D[0]&&E[1]<D[3])){h.label=E[1];break}if(E[0]===6&&h.label<D[1]){h.label=D[1],D=E;break}if(D&&h.label<D[2]){h.label=D[2],h.ops.push(E);break}D[2]&&h.ops.pop(),h.trys.pop();continue}E=u.call(p,h)}catch(x){E=[6,x],b=0}finally{d=D=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}},r=zt&&zt.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(zt,"__esModule",{value:!0}),zt.getDirectoryContents=void 0;var n=r(zf()),i=St(),a=_t(),s=Hi(),o=Mt(),c=jt();function l(p,u,h){return h===void 0&&(h={}),t(this,void 0,void 0,function(){var d,b,D,g,y;return e(this,function(w){switch(w.label){case 0:return d=(0,o.prepareRequestOptions)({url:(0,i.joinURL)(p.remoteURL,(0,a.encodePath)(u),"/"),method:"PROPFIND",headers:{Accept:"text/plain",Depth:h.deep?"infinity":"1"},responseType:"text"},p,h),[4,(0,o.request)(d)];case 1:return b=w.sent(),(0,c.handleResponseCode)(p,b),[4,(0,s.parseXML)(b.data)];case 2:return D=w.sent(),g=u.startsWith("/")?u:"/"+u,y=f(D,p.remotePath,g,h.details),h.glob&&(y=(0,c.processGlobFilter)(y,h.glob)),[2,(0,c.processResponsePayload)(b,y,h.details)]}})})}zt.getDirectoryContents=l;function f(p,u,h,d){d===void 0&&(d=!1);var b=n.default.join(u,"/"),D=p.multistatus.response;return D.map(function(g){var y=(0,i.normaliseHREF)(g.href),w=g.propstat.prop,E=decodeURIComponent(b==="/"?(0,a.normalisePath)(y):(0,a.normalisePath)(n.default.relative(b,y)));return(0,s.prepareFileFromProps)(w,E,d)}).filter(function(g){return g.basename&&(g.type==="file"||g.filename!==h.replace(/\/$/,""))})}return zt}var Ht={},y0;function YF(){if(y0)return Ht;y0=1;var t=Ht&&Ht.__awaiter||function(d,b,D,g){function y(w){return w instanceof D?w:new D(function(E){E(w)})}return new(D||(D=Promise))(function(w,E){function x(_){try{F(g.next(_))}catch(T){E(T)}}function m(_){try{F(g.throw(_))}catch(T){E(T)}}function F(_){_.done?w(_.value):y(_.value).then(x,m)}F((g=g.apply(d,b||[])).next())})},e=Ht&&Ht.__generator||function(d,b){var D={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},g,y,w,E;return E={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function x(F){return function(_){return m([F,_])}}function m(F){if(g)throw new TypeError("Generator is already executing.");for(;D;)try{if(g=1,y&&(w=F[0]&2?y.return:F[0]?y.throw||((w=y.return)&&w.call(y),0):y.next)&&!(w=w.call(y,F[1])).done)return w;switch(y=0,w&&(F=[F[0]&2,w.value]),F[0]){case 0:case 1:w=F;break;case 4:return D.label++,{value:F[1],done:!1};case 5:D.label++,y=F[1],F=[0];continue;case 7:F=D.ops.pop(),D.trys.pop();continue;default:if(w=D.trys,!(w=w.length>0&&w[w.length-1])&&(F[0]===6||F[0]===2)){D=0;continue}if(F[0]===3&&(!w||F[1]>w[0]&&F[1]<w[3])){D.label=F[1];break}if(F[0]===6&&D.label<w[1]){D.label=w[1],w=F;break}if(w&&D.label<w[2]){D.label=w[2],D.ops.push(F);break}w[2]&&D.ops.pop(),D.trys.pop();continue}F=b.call(d,D)}catch(_){F=[6,_],y=0}finally{g=w=0}if(F[0]&5)throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.getFileDownloadLink=Ht.getFileContents=void 0;var r=Ta(),n=St(),i=_t(),a=Ba(),s=Mt(),o=jt(),c=Ln(),l=function(d){return d};function f(d,b,D){return D===void 0&&(D={}),t(this,void 0,void 0,function(){var g,y;return e(this,function(w){if(g=D.format,y=g===void 0?"binary":g,y!=="binary"&&y!=="text")throw new r.Layerr({info:{code:c.ErrorCode.InvalidOutputFormat}},"Invalid output format: ".concat(y));return[2,y==="text"?u(d,b,D):p(d,b,D)]})})}Ht.getFileContents=f;function p(d,b,D){return D===void 0&&(D={}),t(this,void 0,void 0,function(){var g,y;return e(this,function(w){switch(w.label){case 0:return g=(0,s.prepareRequestOptions)({url:(0,n.joinURL)(d.remoteURL,(0,i.encodePath)(b)),method:"GET",responseType:"arraybuffer"},d,D),[4,(0,s.request)(g)];case 1:return y=w.sent(),(0,o.handleResponseCode)(d,y),[2,(0,o.processResponsePayload)(y,y.data,D.details)]}})})}function u(d,b,D){return D===void 0&&(D={}),t(this,void 0,void 0,function(){var g,y;return e(this,function(w){switch(w.label){case 0:return g=(0,s.prepareRequestOptions)({url:(0,n.joinURL)(d.remoteURL,(0,i.encodePath)(b)),method:"GET",responseType:"text",transformResponse:[l]},d,D),[4,(0,s.request)(g)];case 1:return y=w.sent(),(0,o.handleResponseCode)(d,y),[2,(0,o.processResponsePayload)(y,y.data,D.details)]}})})}function h(d,b){var D=(0,n.joinURL)(d.remoteURL,(0,i.encodePath)(b)),g=/^https:/i.test(D)?"https":"http";switch(d.authType){case c.AuthType.None:break;case c.AuthType.Password:{var y=d.headers.Authorization.replace(/^Basic /i,"").trim(),w=(0,a.fromBase64)(y);D=D.replace(/^https?:\/\//,"".concat(g,"://").concat(w,"@"));break}default:throw new r.Layerr({info:{code:c.ErrorCode.LinkUnsupportedAuthType}},"Unsupported auth type for file link: ".concat(d.authType))}return D}return Ht.getFileDownloadLink=h,Ht}var vt={},ft={},b0;function ZF(){if(b0)return ft;b0=1;var t=ft&&ft.__assign||function(){return t=Object.assign||function(l){for(var f,p=1,u=arguments.length;p<u;p++){f=arguments[p];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(l[h]=f[h])}return l},t.apply(this,arguments)},e=ft&&ft.__createBinding||(Object.create?(function(l,f,p,u){u===void 0&&(u=p);var h=Object.getOwnPropertyDescriptor(f,p);(!h||("get"in h?!f.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return f[p]}}),Object.defineProperty(l,u,h)}):(function(l,f,p,u){u===void 0&&(u=p),l[u]=f[p]})),r=ft&&ft.__setModuleDefault||(Object.create?(function(l,f){Object.defineProperty(l,"default",{enumerable:!0,value:f})}):function(l,f){l.default=f}),n=ft&&ft.__importStar||function(l){if(l&&l.__esModule)return l;var f={};if(l!=null)for(var p in l)p!=="default"&&Object.prototype.hasOwnProperty.call(l,p)&&e(f,l,p);return r(f,l),f};Object.defineProperty(ft,"__esModule",{value:!0}),ft.parseGenericResponse=ft.generateLockXML=void 0;var i=n(Db());function a(l){return s().parse(o({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:l}}},"d"))}ft.generateLockXML=a;function s(){return new i.j2xParser({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,supressEmptyNode:!0})}function o(l,f){var p=t({},l);for(var u in p)p.hasOwnProperty(u)&&(p[u]&&typeof p[u]=="object"&&u.indexOf(":")===-1?(p["".concat(f,":").concat(u)]=o(p[u],f),delete p[u]):/^@_/.test(u)===!1&&(p["".concat(f,":").concat(u)]=p[u],delete p[u]));return p}function c(l){return i.default.parse(l,{arrayMode:!1,ignoreNameSpace:!0,parseAttributeValue:!0,parseNodeValue:!0})}return ft.parseGenericResponse=c,ft}var v0;function JF(){if(v0)return vt;v0=1;var t=vt&&vt.__awaiter||function(u,h,d,b){function D(g){return g instanceof d?g:new d(function(y){y(g)})}return new(d||(d=Promise))(function(g,y){function w(m){try{x(b.next(m))}catch(F){y(F)}}function E(m){try{x(b.throw(m))}catch(F){y(F)}}function x(m){m.done?g(m.value):D(m.value).then(w,E)}x((b=b.apply(u,h||[])).next())})},e=vt&&vt.__generator||function(u,h){var d={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},b,D,g,y;return y={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function w(x){return function(m){return E([x,m])}}function E(x){if(b)throw new TypeError("Generator is already executing.");for(;d;)try{if(b=1,D&&(g=x[0]&2?D.return:x[0]?D.throw||((g=D.return)&&g.call(D),0):D.next)&&!(g=g.call(D,x[1])).done)return g;switch(D=0,g&&(x=[x[0]&2,g.value]),x[0]){case 0:case 1:g=x;break;case 4:return d.label++,{value:x[1],done:!1};case 5:d.label++,D=x[1],x=[0];continue;case 7:x=d.ops.pop(),d.trys.pop();continue;default:if(g=d.trys,!(g=g.length>0&&g[g.length-1])&&(x[0]===6||x[0]===2)){d=0;continue}if(x[0]===3&&(!g||x[1]>g[0]&&x[1]<g[3])){d.label=x[1];break}if(x[0]===6&&d.label<g[1]){d.label=g[1],g=x;break}if(g&&d.label<g[2]){d.label=g[2],d.ops.push(x);break}g[2]&&d.ops.pop(),d.trys.pop();continue}x=h.call(u,d)}catch(m){x=[6,m],D=0}finally{b=g=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}},r=vt&&vt.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(vt,"__esModule",{value:!0}),vt.unlock=vt.lock=void 0;var n=r(yb()),i=St(),a=_t(),s=ZF(),o=Mt(),c=jt(),l="Infinite, Second-4100000000";function f(u,h,d){return d===void 0&&(d={}),t(this,void 0,void 0,function(){var b,D,g,y,w,E,x,m,F,_;return e(this,function(T){switch(T.label){case 0:return b=d.refreshToken,D=d.timeout,g=D===void 0?l:D,y={Accept:"text/plain,application/xml",Timeout:g},b&&(y.If=b),w=(0,o.prepareRequestOptions)({url:(0,i.joinURL)(u.remoteURL,(0,a.encodePath)(h)),method:"LOCK",headers:y,data:(0,s.generateLockXML)(u.contactHref),responseType:"text"},u,d),[4,(0,o.request)(w)];case 1:if(E=T.sent(),(0,c.handleResponseCode)(u,E),x=(0,s.parseGenericResponse)(E.data),m=n.default.get(x,"prop.lockdiscovery.activelock.locktoken.href"),F=n.default.get(x,"prop.lockdiscovery.activelock.timeout"),!m)throw _=(0,c.createErrorFromResponse)(E,"No lock token received: "),_;return[2,{token:m,serverTimeout:F}]}})})}vt.lock=f;function p(u,h,d,b){return b===void 0&&(b={}),t(this,void 0,void 0,function(){var D,g,y;return e(this,function(w){switch(w.label){case 0:return D=(0,o.prepareRequestOptions)({url:(0,i.joinURL)(u.remoteURL,(0,a.encodePath)(h)),method:"UNLOCK",headers:{"Lock-Token":d}},u,b),[4,(0,o.request)(D)];case 1:if(g=w.sent(),(0,c.handleResponseCode)(u,g),g.status!==204&&g.status!==200)throw y=(0,c.createErrorFromResponse)(g),y;return[2]}})})}return vt.unlock=p,vt}var gr={},si={},x0;function KF(){if(x0)return si;x0=1,Object.defineProperty(si,"__esModule",{value:!0}),si.parseQuota=void 0;var t=Hi();function e(r){try{var n=r.multistatus.response[0],i=n.propstat.prop,a=i["quota-used-bytes"],s=i["quota-available-bytes"];return typeof a<"u"&&typeof s<"u"?{used:parseInt(a,10),available:(0,t.translateDiskSpace)(s)}:null}catch{}return null}return si.parseQuota=e,si}var w0;function XF(){if(w0)return gr;w0=1;var t=gr&&gr.__awaiter||function(c,l,f,p){function u(h){return h instanceof f?h:new f(function(d){d(h)})}return new(f||(f=Promise))(function(h,d){function b(y){try{g(p.next(y))}catch(w){d(w)}}function D(y){try{g(p.throw(y))}catch(w){d(w)}}function g(y){y.done?h(y.value):u(y.value).then(b,D)}g((p=p.apply(c,l||[])).next())})},e=gr&&gr.__generator||function(c,l){var f={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,u,h,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(g){return function(y){return D([g,y])}}function D(g){if(p)throw new TypeError("Generator is already executing.");for(;f;)try{if(p=1,u&&(h=g[0]&2?u.return:g[0]?u.throw||((h=u.return)&&h.call(u),0):u.next)&&!(h=h.call(u,g[1])).done)return h;switch(u=0,h&&(g=[g[0]&2,h.value]),g[0]){case 0:case 1:h=g;break;case 4:return f.label++,{value:g[1],done:!1};case 5:f.label++,u=g[1],g=[0];continue;case 7:g=f.ops.pop(),f.trys.pop();continue;default:if(h=f.trys,!(h=h.length>0&&h[h.length-1])&&(g[0]===6||g[0]===2)){f=0;continue}if(g[0]===3&&(!h||g[1]>h[0]&&g[1]<h[3])){f.label=g[1];break}if(g[0]===6&&f.label<h[1]){f.label=h[1],h=g;break}if(h&&f.label<h[2]){f.label=h[2],f.ops.push(g);break}h[2]&&f.ops.pop(),f.trys.pop();continue}g=l.call(c,f)}catch(y){g=[6,y],u=0}finally{p=h=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(gr,"__esModule",{value:!0}),gr.getQuota=void 0;var r=Mt(),n=jt(),i=Hi(),a=St(),s=KF();function o(c,l){return l===void 0&&(l={}),t(this,void 0,void 0,function(){var f,p,u,h,d;return e(this,function(b){switch(b.label){case 0:return f=l.path||"/",p=(0,r.prepareRequestOptions)({url:(0,a.joinURL)(c.remoteURL,f),method:"PROPFIND",headers:{Accept:"text/plain",Depth:"0"},responseType:"text"},c,l),[4,(0,r.request)(p)];case 1:return u=b.sent(),(0,n.handleResponseCode)(c,u),[4,(0,i.parseXML)(u.data)];case 2:return h=b.sent(),d=(0,s.parseQuota)(h),[2,(0,n.processResponsePayload)(u,d,l.details)]}})})}return gr.getQuota=o,gr}var Dr={},E0;function QF(){if(E0)return Dr;E0=1;var t=Dr&&Dr.__awaiter||function(o,c,l,f){function p(u){return u instanceof l?u:new l(function(h){h(u)})}return new(l||(l=Promise))(function(u,h){function d(g){try{D(f.next(g))}catch(y){h(y)}}function b(g){try{D(f.throw(g))}catch(y){h(y)}}function D(g){g.done?u(g.value):p(g.value).then(d,b)}D((f=f.apply(o,c||[])).next())})},e=Dr&&Dr.__generator||function(o,c){var l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},f,p,u,h;return h={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function d(D){return function(g){return b([D,g])}}function b(D){if(f)throw new TypeError("Generator is already executing.");for(;l;)try{if(f=1,p&&(u=D[0]&2?p.return:D[0]?p.throw||((u=p.return)&&u.call(p),0):p.next)&&!(u=u.call(p,D[1])).done)return u;switch(p=0,u&&(D=[D[0]&2,u.value]),D[0]){case 0:case 1:u=D;break;case 4:return l.label++,{value:D[1],done:!1};case 5:l.label++,p=D[1],D=[0];continue;case 7:D=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(D[0]===6||D[0]===2)){l=0;continue}if(D[0]===3&&(!u||D[1]>u[0]&&D[1]<u[3])){l.label=D[1];break}if(D[0]===6&&l.label<u[1]){l.label=u[1],u=D;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(D);break}u[2]&&l.ops.pop(),l.trys.pop();continue}D=c.call(o,l)}catch(g){D=[6,g],p=0}finally{f=u=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.moveFile=void 0;var r=St(),n=_t(),i=Mt(),a=jt();function s(o,c,l,f){return f===void 0&&(f={}),t(this,void 0,void 0,function(){var p,u;return e(this,function(h){switch(h.label){case 0:return p=(0,i.prepareRequestOptions)({url:(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(c)),method:"MOVE",headers:{Destination:(0,r.joinURL)(o.remoteURL,(0,n.encodePath)(l))}},o,f),[4,(0,i.request)(p)];case 1:return u=h.sent(),(0,a.handleResponseCode)(o,u),[2]}})})}return Dr.moveFile=s,Dr}var xt={},ai={},Bs={},F0;function eC(){if(F0)return Bs;F0=1,Object.defineProperty(Bs,"__esModule",{value:!0});function t(e){if(!e)return 0;e=e.toString();for(var r=e.length,n=e.length;n--;){var i=e.charCodeAt(n);56320<=i&&i<=57343&&n--,127<i&&i<=2047?r++:2047<i&&i<=65535&&(r+=2)}return r}return Bs.byteLength=t,Bs}var oi={},C0;function tC(){if(C0)return oi;C0=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.isArrayBuffer=void 0;var t=typeof ArrayBuffer=="function",e=Object.prototype.toString;function r(n){return t&&(n instanceof ArrayBuffer||e.call(n)==="[object ArrayBuffer]")}return oi.isArrayBuffer=r,oi}var ui={},A0;function rC(){if(A0)return ui;A0=1,Object.defineProperty(ui,"__esModule",{value:!0}),ui.isBuffer=void 0;function t(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}return ui.isBuffer=t,ui}var _0;function nC(){if(_0)return ai;_0=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.calculateDataLength=void 0;var t=Ta(),e=eC(),r=tC(),n=rC(),i=Ln();function a(s){if((0,r.isArrayBuffer)(s))return s.byteLength;if((0,n.isBuffer)(s))return s.length;if(typeof s=="string")return(0,e.byteLength)(s);throw new t.Layerr({info:{code:i.ErrorCode.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}return ai.calculateDataLength=a,ai}var S0;function iC(){if(S0)return xt;S0=1;var t=xt&&xt.__awaiter||function(d,b,D,g){function y(w){return w instanceof D?w:new D(function(E){E(w)})}return new(D||(D=Promise))(function(w,E){function x(_){try{F(g.next(_))}catch(T){E(T)}}function m(_){try{F(g.throw(_))}catch(T){E(T)}}function F(_){_.done?w(_.value):y(_.value).then(x,m)}F((g=g.apply(d,b||[])).next())})},e=xt&&xt.__generator||function(d,b){var D={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},g,y,w,E;return E={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function x(F){return function(_){return m([F,_])}}function m(F){if(g)throw new TypeError("Generator is already executing.");for(;D;)try{if(g=1,y&&(w=F[0]&2?y.return:F[0]?y.throw||((w=y.return)&&w.call(y),0):y.next)&&!(w=w.call(y,F[1])).done)return w;switch(y=0,w&&(F=[F[0]&2,w.value]),F[0]){case 0:case 1:w=F;break;case 4:return D.label++,{value:F[1],done:!1};case 5:D.label++,y=F[1],F=[0];continue;case 7:F=D.ops.pop(),D.trys.pop();continue;default:if(w=D.trys,!(w=w.length>0&&w[w.length-1])&&(F[0]===6||F[0]===2)){D=0;continue}if(F[0]===3&&(!w||F[1]>w[0]&&F[1]<w[3])){D.label=F[1];break}if(F[0]===6&&D.label<w[1]){D.label=w[1],w=F;break}if(w&&D.label<w[2]){D.label=w[2],D.ops.push(F);break}w[2]&&D.ops.pop(),D.trys.pop();continue}F=b.call(d,D)}catch(_){F=[6,_],y=0}finally{g=w=0}if(F[0]&5)throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}},r=xt&&xt.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(xt,"__esModule",{value:!0}),xt.getFileUploadLink=xt.putFileContents=void 0;var n=Ta(),i=r(Me),a=Ba(),s=St(),o=_t(),c=Mt(),l=jt(),f=nC(),p=Ln();function u(d,b,D,g){return g===void 0&&(g={}),t(this,void 0,void 0,function(){var y,w,E,x,m,F,_,T;return e(this,function(M){switch(M.label){case 0:return y=g.contentLength,w=y===void 0?!0:y,E=g.overwrite,x=E===void 0?!0:E,m={"Content-Type":"application/octet-stream"},typeof WEB>"u"&&typeof i.default<"u"&&typeof(i.default===null||i.default===void 0?void 0:i.default.Readable)<"u"&&D instanceof i.default.Readable||w===!1||(typeof w=="number"?m["Content-Length"]="".concat(w):m["Content-Length"]="".concat((0,f.calculateDataLength)(D))),x||(m["If-None-Match"]="*"),F=(0,c.prepareRequestOptions)({url:(0,s.joinURL)(d.remoteURL,(0,o.encodePath)(b)),method:"PUT",headers:m,data:D},d,g),[4,(0,c.request)(F)];case 1:_=M.sent();try{(0,l.handleResponseCode)(d,_)}catch(B){if(T=B,T.status===412&&!x)return[2,!1];throw T}return[2,!0]}})})}xt.putFileContents=u;function h(d,b){var D="".concat((0,s.joinURL)(d.remoteURL,(0,o.encodePath)(b)),"?Content-Type=application/octet-stream"),g=/^https:/i.test(D)?"https":"http";switch(d.authType){case p.AuthType.None:break;case p.AuthType.Password:{var y=d.headers.Authorization.replace(/^Basic /i,"").trim(),w=(0,a.fromBase64)(y);D=D.replace(/^https?:\/\//,"".concat(g,"://").concat(w,"@"));break}default:throw new n.Layerr({info:{code:p.ErrorCode.LinkUnsupportedAuthType}},"Unsupported auth type for file link: ".concat(d.authType))}return D}return xt.getFileUploadLink=h,xt}var O0;function sC(){if(O0)return Yn;O0=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.createClient=void 0;var t=St(),e=hE(),r=qF(),n=UF(),i=zF(),a=HF(),s=VF(),o=WF(),c=GF(),l=YF(),f=JF(),p=XF(),u=Xf(),h=QF(),d=iC(),b=Ln(),D="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function g(y,w){w===void 0&&(w={});var E=w.authType,x=E===void 0?null:E,m=w.contactHref,F=m===void 0?D:m,_=w.headers,T=_===void 0?{}:_,M=w.httpAgent,B=w.httpsAgent,A=w.maxBodyLength,O=w.maxContentLength,N=w.password,z=w.token,C=w.username,k=w.withCredentials,q=x;q||(q=C||N?b.AuthType.Password:b.AuthType.None);var L={authType:q,contactHref:F,headers:Object.assign({},T),httpAgent:M,httpsAgent:B,maxBodyLength:A,maxContentLength:O,remotePath:(0,t.extractURLPath)(y),remoteURL:y,password:N,token:z,username:C,withCredentials:k};return(0,e.setupAuth)(L,C,N,z),{copyFile:function($,J,se){return(0,r.copyFile)(L,$,J,se)},createDirectory:function($,J){return(0,n.createDirectory)(L,$,J)},createReadStream:function($,J){return(0,i.createReadStream)(L,$,J)},createWriteStream:function($,J,se){return(0,i.createWriteStream)(L,$,J,se)},customRequest:function($,J){return(0,a.customRequest)(L,$,J)},deleteFile:function($,J){return(0,s.deleteFile)(L,$,J)},exists:function($,J){return(0,o.exists)(L,$,J)},getDirectoryContents:function($,J){return(0,c.getDirectoryContents)(L,$,J)},getFileContents:function($,J){return(0,l.getFileContents)(L,$,J)},getFileDownloadLink:function($){return(0,l.getFileDownloadLink)(L,$)},getFileUploadLink:function($){return(0,d.getFileUploadLink)(L,$)},getHeaders:function(){return Object.assign({},L.headers)},getQuota:function($){return(0,p.getQuota)(L,$)},lock:function($,J){return(0,f.lock)(L,$,J)},moveFile:function($,J,se){return(0,h.moveFile)(L,$,J,se)},putFileContents:function($,J,se){return(0,d.putFileContents)(L,$,J,se)},setHeaders:function($){L.headers=Object.assign({},$)},stat:function($,J){return(0,u.getStat)(L,$,J)},unlock:function($,J,se){return(0,f.unlock)(L,$,J,se)}}}return Yn.createClient=g,Yn}var T0;function aC(){return T0||(T0=1,(function(t){var e=Lr&&Lr.__createBinding||(Object.create?(function(s,o,c,l){l===void 0&&(l=c);var f=Object.getOwnPropertyDescriptor(o,c);(!f||("get"in f?!o.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return o[c]}}),Object.defineProperty(s,l,f)}):(function(s,o,c,l){l===void 0&&(l=c),s[l]=o[c]})),r=Lr&&Lr.__exportStar||function(s,o){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(o,c)&&e(o,s,c)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseXML=t.parseStat=t.getPatcher=t.createClient=void 0;var n=sC();Object.defineProperty(t,"createClient",{enumerable:!0,get:function(){return n.createClient}});var i=gb();Object.defineProperty(t,"getPatcher",{enumerable:!0,get:function(){return i.getPatcher}}),r(Ln(),t);var a=Hi();Object.defineProperty(t,"parseStat",{enumerable:!0,get:function(){return a.parseStat}}),Object.defineProperty(t,"parseXML",{enumerable:!0,get:function(){return a.parseXML}})})(Lr)),Lr}var na={exports:{}},Xc,B0;function oC(){return B0||(B0=1,Xc={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Xc}var Qc,R0;function bb(){if(R0)return Qc;R0=1;const t=oC(),e={};for(const i of Object.keys(t))e[t[i]]=i;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Qc=r;for(const i of Object.keys(r)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);const{channels:a,labels:s}=r[i];delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:a}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(i){const a=i[0]/255,s=i[1]/255,o=i[2]/255,c=Math.min(a,s,o),l=Math.max(a,s,o),f=l-c;let p,u;l===c?p=0:a===l?p=(s-o)/f:s===l?p=2+(o-a)/f:o===l&&(p=4+(a-s)/f),p=Math.min(p*60,360),p<0&&(p+=360);const h=(c+l)/2;return l===c?u=0:h<=.5?u=f/(l+c):u=f/(2-l-c),[p,u*100,h*100]},r.rgb.hsv=function(i){let a,s,o,c,l;const f=i[0]/255,p=i[1]/255,u=i[2]/255,h=Math.max(f,p,u),d=h-Math.min(f,p,u),b=function(D){return(h-D)/6/d+1/2};return d===0?(c=0,l=0):(l=d/h,a=b(f),s=b(p),o=b(u),f===h?c=o-s:p===h?c=1/3+a-o:u===h&&(c=2/3+s-a),c<0?c+=1:c>1&&(c-=1)),[c*360,l*100,h*100]},r.rgb.hwb=function(i){const a=i[0],s=i[1];let o=i[2];const c=r.rgb.hsl(i)[0],l=1/255*Math.min(a,Math.min(s,o));return o=1-1/255*Math.max(a,Math.max(s,o)),[c,l*100,o*100]},r.rgb.cmyk=function(i){const a=i[0]/255,s=i[1]/255,o=i[2]/255,c=Math.min(1-a,1-s,1-o),l=(1-a-c)/(1-c)||0,f=(1-s-c)/(1-c)||0,p=(1-o-c)/(1-c)||0;return[l*100,f*100,p*100,c*100]};function n(i,a){return(i[0]-a[0])**2+(i[1]-a[1])**2+(i[2]-a[2])**2}return r.rgb.keyword=function(i){const a=e[i];if(a)return a;let s=1/0,o;for(const c of Object.keys(t)){const l=t[c],f=n(i,l);f<s&&(s=f,o=c)}return o},r.keyword.rgb=function(i){return t[i]},r.rgb.xyz=function(i){let a=i[0]/255,s=i[1]/255,o=i[2]/255;a=a>.04045?((a+.055)/1.055)**2.4:a/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const c=a*.4124+s*.3576+o*.1805,l=a*.2126+s*.7152+o*.0722,f=a*.0193+s*.1192+o*.9505;return[c*100,l*100,f*100]},r.rgb.lab=function(i){const a=r.rgb.xyz(i);let s=a[0],o=a[1],c=a[2];s/=95.047,o/=100,c/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;const l=116*o-16,f=500*(s-o),p=200*(o-c);return[l,f,p]},r.hsl.rgb=function(i){const a=i[0]/360,s=i[1]/100,o=i[2]/100;let c,l,f;if(s===0)return f=o*255,[f,f,f];o<.5?c=o*(1+s):c=o+s-o*s;const p=2*o-c,u=[0,0,0];for(let h=0;h<3;h++)l=a+1/3*-(h-1),l<0&&l++,l>1&&l--,6*l<1?f=p+(c-p)*6*l:2*l<1?f=c:3*l<2?f=p+(c-p)*(2/3-l)*6:f=p,u[h]=f*255;return u},r.hsl.hsv=function(i){const a=i[0];let s=i[1]/100,o=i[2]/100,c=s;const l=Math.max(o,.01);o*=2,s*=o<=1?o:2-o,c*=l<=1?l:2-l;const f=(o+s)/2,p=o===0?2*c/(l+c):2*s/(o+s);return[a,p*100,f*100]},r.hsv.rgb=function(i){const a=i[0]/60,s=i[1]/100;let o=i[2]/100;const c=Math.floor(a)%6,l=a-Math.floor(a),f=255*o*(1-s),p=255*o*(1-s*l),u=255*o*(1-s*(1-l));switch(o*=255,c){case 0:return[o,u,f];case 1:return[p,o,f];case 2:return[f,o,u];case 3:return[f,p,o];case 4:return[u,f,o];case 5:return[o,f,p]}},r.hsv.hsl=function(i){const a=i[0],s=i[1]/100,o=i[2]/100,c=Math.max(o,.01);let l,f;f=(2-s)*o;const p=(2-s)*c;return l=s*c,l/=p<=1?p:2-p,l=l||0,f/=2,[a,l*100,f*100]},r.hwb.rgb=function(i){const a=i[0]/360;let s=i[1]/100,o=i[2]/100;const c=s+o;let l;c>1&&(s/=c,o/=c);const f=Math.floor(6*a),p=1-o;l=6*a-f,(f&1)!==0&&(l=1-l);const u=s+l*(p-s);let h,d,b;switch(f){default:case 6:case 0:h=p,d=u,b=s;break;case 1:h=u,d=p,b=s;break;case 2:h=s,d=p,b=u;break;case 3:h=s,d=u,b=p;break;case 4:h=u,d=s,b=p;break;case 5:h=p,d=s,b=u;break}return[h*255,d*255,b*255]},r.cmyk.rgb=function(i){const a=i[0]/100,s=i[1]/100,o=i[2]/100,c=i[3]/100,l=1-Math.min(1,a*(1-c)+c),f=1-Math.min(1,s*(1-c)+c),p=1-Math.min(1,o*(1-c)+c);return[l*255,f*255,p*255]},r.xyz.rgb=function(i){const a=i[0]/100,s=i[1]/100,o=i[2]/100;let c,l,f;return c=a*3.2406+s*-1.5372+o*-.4986,l=a*-.9689+s*1.8758+o*.0415,f=a*.0557+s*-.204+o*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,c=Math.min(Math.max(0,c),1),l=Math.min(Math.max(0,l),1),f=Math.min(Math.max(0,f),1),[c*255,l*255,f*255]},r.xyz.lab=function(i){let a=i[0],s=i[1],o=i[2];a/=95.047,s/=100,o/=108.883,a=a>.008856?a**(1/3):7.787*a+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const c=116*s-16,l=500*(a-s),f=200*(s-o);return[c,l,f]},r.lab.xyz=function(i){const a=i[0],s=i[1],o=i[2];let c,l,f;l=(a+16)/116,c=s/500+l,f=l-o/200;const p=l**3,u=c**3,h=f**3;return l=p>.008856?p:(l-16/116)/7.787,c=u>.008856?u:(c-16/116)/7.787,f=h>.008856?h:(f-16/116)/7.787,c*=95.047,l*=100,f*=108.883,[c,l,f]},r.lab.lch=function(i){const a=i[0],s=i[1],o=i[2];let c;c=Math.atan2(o,s)*360/2/Math.PI,c<0&&(c+=360);const f=Math.sqrt(s*s+o*o);return[a,f,c]},r.lch.lab=function(i){const a=i[0],s=i[1],c=i[2]/360*2*Math.PI,l=s*Math.cos(c),f=s*Math.sin(c);return[a,l,f]},r.rgb.ansi16=function(i,a=null){const[s,o,c]=i;let l=a===null?r.rgb.hsv(i)[2]:a;if(l=Math.round(l/50),l===0)return 30;let f=30+(Math.round(c/255)<<2|Math.round(o/255)<<1|Math.round(s/255));return l===2&&(f+=60),f},r.hsv.ansi16=function(i){return r.rgb.ansi16(r.hsv.rgb(i),i[2])},r.rgb.ansi256=function(i){const a=i[0],s=i[1],o=i[2];return a===s&&s===o?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(s/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(i){let a=i%10;if(a===0||a===7)return i>50&&(a+=3.5),a=a/10.5*255,[a,a,a];const s=(~~(i>50)+1)*.5,o=(a&1)*s*255,c=(a>>1&1)*s*255,l=(a>>2&1)*s*255;return[o,c,l]},r.ansi256.rgb=function(i){if(i>=232){const l=(i-232)*10+8;return[l,l,l]}i-=16;let a;const s=Math.floor(i/36)/5*255,o=Math.floor((a=i%36)/6)/5*255,c=a%6/5*255;return[s,o,c]},r.rgb.hex=function(i){const s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(i){const a=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];let s=a[0];a[0].length===3&&(s=s.split("").map(p=>p+p).join(""));const o=parseInt(s,16),c=o>>16&255,l=o>>8&255,f=o&255;return[c,l,f]},r.rgb.hcg=function(i){const a=i[0]/255,s=i[1]/255,o=i[2]/255,c=Math.max(Math.max(a,s),o),l=Math.min(Math.min(a,s),o),f=c-l;let p,u;return f<1?p=l/(1-f):p=0,f<=0?u=0:c===a?u=(s-o)/f%6:c===s?u=2+(o-a)/f:u=4+(a-s)/f,u/=6,u%=1,[u*360,f*100,p*100]},r.hsl.hcg=function(i){const a=i[1]/100,s=i[2]/100,o=s<.5?2*a*s:2*a*(1-s);let c=0;return o<1&&(c=(s-.5*o)/(1-o)),[i[0],o*100,c*100]},r.hsv.hcg=function(i){const a=i[1]/100,s=i[2]/100,o=a*s;let c=0;return o<1&&(c=(s-o)/(1-o)),[i[0],o*100,c*100]},r.hcg.rgb=function(i){const a=i[0]/360,s=i[1]/100,o=i[2]/100;if(s===0)return[o*255,o*255,o*255];const c=[0,0,0],l=a%1*6,f=l%1,p=1-f;let u=0;switch(Math.floor(l)){case 0:c[0]=1,c[1]=f,c[2]=0;break;case 1:c[0]=p,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=f;break;case 3:c[0]=0,c[1]=p,c[2]=1;break;case 4:c[0]=f,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=p}return u=(1-s)*o,[(s*c[0]+u)*255,(s*c[1]+u)*255,(s*c[2]+u)*255]},r.hcg.hsv=function(i){const a=i[1]/100,s=i[2]/100,o=a+s*(1-a);let c=0;return o>0&&(c=a/o),[i[0],c*100,o*100]},r.hcg.hsl=function(i){const a=i[1]/100,o=i[2]/100*(1-a)+.5*a;let c=0;return o>0&&o<.5?c=a/(2*o):o>=.5&&o<1&&(c=a/(2*(1-o))),[i[0],c*100,o*100]},r.hcg.hwb=function(i){const a=i[1]/100,s=i[2]/100,o=a+s*(1-a);return[i[0],(o-a)*100,(1-o)*100]},r.hwb.hcg=function(i){const a=i[1]/100,o=1-i[2]/100,c=o-a;let l=0;return c<1&&(l=(o-c)/(1-c)),[i[0],c*100,l*100]},r.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},r.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},r.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},r.gray.hsl=function(i){return[0,0,i[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(i){return[0,100,i[0]]},r.gray.cmyk=function(i){return[0,0,0,i[0]]},r.gray.lab=function(i){return[i[0],0,0]},r.gray.hex=function(i){const a=Math.round(i[0]/100*255)&255,o=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(o.length)+o},r.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]},Qc}var el,k0;function uC(){if(k0)return el;k0=1;const t=bb();function e(){const a={},s=Object.keys(t);for(let o=s.length,c=0;c<o;c++)a[s[c]]={distance:-1,parent:null};return a}function r(a){const s=e(),o=[a];for(s[a].distance=0;o.length;){const c=o.pop(),l=Object.keys(t[c]);for(let f=l.length,p=0;p<f;p++){const u=l[p],h=s[u];h.distance===-1&&(h.distance=s[c].distance+1,h.parent=c,o.unshift(u))}}return s}function n(a,s){return function(o){return s(a(o))}}function i(a,s){const o=[s[a].parent,a];let c=t[s[a].parent][a],l=s[a].parent;for(;s[l].parent;)o.unshift(s[l].parent),c=n(t[s[l].parent][l],c),l=s[l].parent;return c.conversion=o,c}return el=function(a){const s=r(a),o={},c=Object.keys(s);for(let l=c.length,f=0;f<l;f++){const p=c[f];s[p].parent!==null&&(o[p]=i(p,s))}return o},el}var tl,q0;function cC(){if(q0)return tl;q0=1;const t=bb(),e=uC(),r={},n=Object.keys(t);function i(s){const o=function(...c){const l=c[0];return l==null?l:(l.length>1&&(c=l),s(c))};return"conversion"in s&&(o.conversion=s.conversion),o}function a(s){const o=function(...c){const l=c[0];if(l==null)return l;l.length>1&&(c=l);const f=s(c);if(typeof f=="object")for(let p=f.length,u=0;u<p;u++)f[u]=Math.round(f[u]);return f};return"conversion"in s&&(o.conversion=s.conversion),o}return n.forEach(s=>{r[s]={},Object.defineProperty(r[s],"channels",{value:t[s].channels}),Object.defineProperty(r[s],"labels",{value:t[s].labels});const o=e(s);Object.keys(o).forEach(l=>{const f=o[l];r[s][l]=a(f),r[s][l].raw=i(f)})}),tl=r,tl}na.exports;var P0;function lC(){return P0||(P0=1,(function(t){const e=(f,p)=>(...u)=>`\x1B[${f(...u)+p}m`,r=(f,p)=>(...u)=>{const h=f(...u);return`\x1B[${38+p};5;${h}m`},n=(f,p)=>(...u)=>{const h=f(...u);return`\x1B[${38+p};2;${h[0]};${h[1]};${h[2]}m`},i=f=>f,a=(f,p,u)=>[f,p,u],s=(f,p,u)=>{Object.defineProperty(f,p,{get:()=>{const h=u();return Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})};let o;const c=(f,p,u,h)=>{o===void 0&&(o=cC());const d=h?10:0,b={};for(const[D,g]of Object.entries(o)){const y=D==="ansi16"?"ansi":D;D===p?b[y]=f(u,d):typeof g=="object"&&(b[y]=f(g[p],d))}return b};function l(){const f=new Map,p={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};p.color.gray=p.color.blackBright,p.bgColor.bgGray=p.bgColor.bgBlackBright,p.color.grey=p.color.blackBright,p.bgColor.bgGrey=p.bgColor.bgBlackBright;for(const[u,h]of Object.entries(p)){for(const[d,b]of Object.entries(h))p[d]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},h[d]=p[d],f.set(b[0],b[1]);Object.defineProperty(p,u,{value:h,enumerable:!1})}return Object.defineProperty(p,"codes",{value:f,enumerable:!1}),p.color.close="\x1B[39m",p.bgColor.close="\x1B[49m",s(p.color,"ansi",()=>c(e,"ansi16",i,!1)),s(p.color,"ansi256",()=>c(r,"ansi256",i,!1)),s(p.color,"ansi16m",()=>c(n,"rgb",a,!1)),s(p.bgColor,"ansi",()=>c(e,"ansi16",i,!0)),s(p.bgColor,"ansi256",()=>c(r,"ansi256",i,!0)),s(p.bgColor,"ansi16m",()=>c(n,"rgb",a,!0)),p}Object.defineProperty(t,"exports",{enumerable:!0,get:l})})(na)),na.exports}var rl,I0;function fC(){if(I0)return rl;I0=1;const t=dt,e=un,r=tb(),{env:n}=process;let i;r("no-color")||r("no-colors")||r("color=false")||r("color=never")?i=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(i=1),"FORCE_COLOR"in n&&(n.FORCE_COLOR==="true"?i=1:n.FORCE_COLOR==="false"?i=0:i=n.FORCE_COLOR.length===0?1:Math.min(parseInt(n.FORCE_COLOR,10),3));function a(c){return c===0?!1:{level:c,hasBasic:!0,has256:c>=2,has16m:c>=3}}function s(c,l){if(i===0)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(c&&!l&&i===void 0)return 0;const f=i||0;if(n.TERM==="dumb")return f;if(process.platform==="win32"){const p=t.release().split(".");return Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(p=>p in n)||n.CI_NAME==="codeship"?1:f;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if(n.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in n){const p=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:f}function o(c){const l=s(c,c&&c.isTTY);return a(l)}return rl={supportsColor:o,stdout:a(s(!0,e.isatty(1))),stderr:a(s(!0,e.isatty(2)))},rl}var nl,N0;function pC(){return N0||(N0=1,nl={stringReplaceAll:(r,n,i)=>{let a=r.indexOf(n);if(a===-1)return r;const s=n.length;let o=0,c="";do c+=r.substr(o,a-o)+n+i,o=a+s,a=r.indexOf(n,o);while(a!==-1);return c+=r.substr(o),c},stringEncaseCRLFWithFirstIndex:(r,n,i,a)=>{let s=0,o="";do{const c=r[a-1]==="\r";o+=r.substr(s,(c?a-1:a)-s)+n+(c?`\r
|
|
53
|
-
`:`
|
|
54
|
-
`)+i,s=a+1,a=r.indexOf(`
|
|
55
|
-
`,s)}while(a!==-1);return o+=r.substr(s),o}}),nl}var il,M0;function dC(){if(M0)return il;M0=1;const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,e=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
56
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function a(l){const f=l[0]==="u",p=l[1]==="{";return f&&!p&&l.length===5||l[0]==="x"&&l.length===3?String.fromCharCode(parseInt(l.slice(1),16)):f&&p?String.fromCodePoint(parseInt(l.slice(2,-1),16)):i.get(l)||l}function s(l,f){const p=[],u=f.trim().split(/\s*,\s*/g);let h;for(const d of u){const b=Number(d);if(!Number.isNaN(b))p.push(b);else if(h=d.match(r))p.push(h[2].replace(n,(D,g,y)=>g?a(g):y));else throw new Error(`Invalid Chalk template style argument: ${d} (in style '${l}')`)}return p}function o(l){e.lastIndex=0;const f=[];let p;for(;(p=e.exec(l))!==null;){const u=p[1];if(p[2]){const h=s(u,p[2]);f.push([u].concat(h))}else f.push([u])}return f}function c(l,f){const p={};for(const h of f)for(const d of h.styles)p[d[0]]=h.inverse?null:d.slice(1);let u=l;for(const[h,d]of Object.entries(p))if(Array.isArray(d)){if(!(h in u))throw new Error(`Unknown Chalk style: ${h}`);u=d.length>0?u[h](...d):u[h]}return u}return il=(l,f)=>{const p=[],u=[];let h=[];if(f.replace(t,(d,b,D,g,y,w)=>{if(b)h.push(a(b));else if(g){const E=h.join("");h=[],u.push(p.length===0?E:c(l,p)(E)),p.push({inverse:D,styles:o(g)})}else if(y){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(c(l,p)(h.join(""))),h=[],p.pop()}else h.push(w)}),u.push(h.join("")),p.length>0){const d=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(d)}return u.join("")},il}var sl,j0;function hC(){if(j0)return sl;j0=1;const t=lC(),{stdout:e,stderr:r}=fC(),{stringReplaceAll:n,stringEncaseCRLFWithFirstIndex:i}=pC(),{isArray:a}=Array,s=["ansi","ansi","ansi256","ansi16m"],o=Object.create(null),c=(E,x={})=>{if(x.level&&!(Number.isInteger(x.level)&&x.level>=0&&x.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const m=e?e.level:0;E.level=x.level===void 0?m:x.level};class l{constructor(x){return f(x)}}const f=E=>{const x={};return c(x,E),x.template=(...m)=>y(x.template,...m),Object.setPrototypeOf(x,p.prototype),Object.setPrototypeOf(x.template,x),x.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},x.template.Instance=l,x.template};function p(E){return f(E)}for(const[E,x]of Object.entries(t))o[E]={get(){const m=b(this,d(x.open,x.close,this._styler),this._isEmpty);return Object.defineProperty(this,E,{value:m}),m}};o.visible={get(){const E=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:E}),E}};const u=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of u)o[E]={get(){const{level:x}=this;return function(...m){const F=d(t.color[s[x]][E](...m),t.color.close,this._styler);return b(this,F,this._isEmpty)}}};for(const E of u){const x="bg"+E[0].toUpperCase()+E.slice(1);o[x]={get(){const{level:m}=this;return function(...F){const _=d(t.bgColor[s[m]][E](...F),t.bgColor.close,this._styler);return b(this,_,this._isEmpty)}}}}const h=Object.defineProperties(()=>{},{...o,level:{enumerable:!0,get(){return this._generator.level},set(E){this._generator.level=E}}}),d=(E,x,m)=>{let F,_;return m===void 0?(F=E,_=x):(F=m.openAll+E,_=x+m.closeAll),{open:E,close:x,openAll:F,closeAll:_,parent:m}},b=(E,x,m)=>{const F=(..._)=>a(_[0])&&a(_[0].raw)?D(F,y(F,..._)):D(F,_.length===1?""+_[0]:_.join(" "));return Object.setPrototypeOf(F,h),F._generator=E,F._styler=x,F._isEmpty=m,F},D=(E,x)=>{if(E.level<=0||!x)return E._isEmpty?"":x;let m=E._styler;if(m===void 0)return x;const{openAll:F,closeAll:_}=m;if(x.indexOf("\x1B")!==-1)for(;m!==void 0;)x=n(x,m.close,m.open),m=m.parent;const T=x.indexOf(`
|
|
57
|
-
`);return T!==-1&&(x=i(x,_,F,T)),F+x+_};let g;const y=(E,...x)=>{const[m]=x;if(!a(m)||!a(m.raw))return x.join(" ");const F=x.slice(1),_=[m.raw[0]];for(let T=1;T<m.length;T++)_.push(String(F[T-1]).replace(/[{}\\]/g,"\\$&"),String(m.raw[T]));return g===void 0&&(g=dC()),g(E,_.join(""))};Object.defineProperties(p.prototype,o);const w=p();return w.supportsColor=e,w.stderr=p({level:r?r.level:0}),w.stderr.supportsColor=r,sl=w,sl}var ia={exports:{}},mC=ia.exports,L0;function gC(){return L0||(L0=1,(function(t,e){(function(r,n){t.exports=n()})(mC,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",c="hour",l="day",f="week",p="month",u="quarter",h="year",d="date",b="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var z=["th","st","nd","rd"],C=N%100;return"["+N+(z[(C-20)%10]||z[C]||z[0])+"]"}},w=function(N,z,C){var k=String(N);return!k||k.length>=z?N:""+Array(z+1-k.length).join(C)+N},E={s:w,z:function(N){var z=-N.utcOffset(),C=Math.abs(z),k=Math.floor(C/60),q=C%60;return(z<=0?"+":"-")+w(k,2,"0")+":"+w(q,2,"0")},m:function N(z,C){if(z.date()<C.date())return-N(C,z);var k=12*(C.year()-z.year())+(C.month()-z.month()),q=z.clone().add(k,p),L=C-q<0,$=z.clone().add(k+(L?-1:1),p);return+(-(k+(C-q)/(L?q-$:$-q))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:p,y:h,w:f,d:l,D:d,h:c,m:o,s,ms:a,Q:u}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},x="en",m={};m[x]=y;var F="$isDayjsObject",_=function(N){return N instanceof A||!(!N||!N[F])},T=function N(z,C,k){var q;if(!z)return x;if(typeof z=="string"){var L=z.toLowerCase();m[L]&&(q=L),C&&(m[L]=C,q=L);var $=z.split("-");if(!q&&$.length>1)return N($[0])}else{var J=z.name;m[J]=z,q=J}return!k&&q&&(x=q),q||!k&&x},M=function(N,z){if(_(N))return N.clone();var C=typeof z=="object"?z:{};return C.date=N,C.args=arguments,new A(C)},B=E;B.l=T,B.i=_,B.w=function(N,z){return M(N,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var A=(function(){function N(C){this.$L=T(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[F]=!0}var z=N.prototype;return z.parse=function(C){this.$d=(function(k){var q=k.date,L=k.utc;if(q===null)return new Date(NaN);if(B.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var $=q.match(D);if($){var J=$[2]-1||0,se=($[7]||"0").substring(0,3);return L?new Date(Date.UTC($[1],J,$[3]||1,$[4]||0,$[5]||0,$[6]||0,se)):new Date($[1],J,$[3]||1,$[4]||0,$[5]||0,$[6]||0,se)}}return new Date(q)})(C),this.init()},z.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},z.$utils=function(){return B},z.isValid=function(){return this.$d.toString()!==b},z.isSame=function(C,k){var q=M(C);return this.startOf(k)<=q&&q<=this.endOf(k)},z.isAfter=function(C,k){return M(C)<this.startOf(k)},z.isBefore=function(C,k){return this.endOf(k)<M(C)},z.$g=function(C,k,q){return B.u(C)?this[k]:this.set(q,C)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(C,k){var q=this,L=!!B.u(k)||k,$=B.p(C),J=function(De,ae){var pe=B.w(q.$u?Date.UTC(q.$y,ae,De):new Date(q.$y,ae,De),q);return L?pe:pe.endOf(l)},se=function(De,ae){return B.w(q.toDate()[De].apply(q.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(ae)),q)},ue=this.$W,ne=this.$M,ge=this.$D,X="set"+(this.$u?"UTC":"");switch($){case h:return L?J(1,0):J(31,11);case p:return L?J(1,ne):J(0,ne+1);case f:var de=this.$locale().weekStart||0,be=(ue<de?ue+7:ue)-de;return J(L?ge-be:ge+(6-be),ne);case l:case d:return se(X+"Hours",0);case c:return se(X+"Minutes",1);case o:return se(X+"Seconds",2);case s:return se(X+"Milliseconds",3);default:return this.clone()}},z.endOf=function(C){return this.startOf(C,!1)},z.$set=function(C,k){var q,L=B.p(C),$="set"+(this.$u?"UTC":""),J=(q={},q[l]=$+"Date",q[d]=$+"Date",q[p]=$+"Month",q[h]=$+"FullYear",q[c]=$+"Hours",q[o]=$+"Minutes",q[s]=$+"Seconds",q[a]=$+"Milliseconds",q)[L],se=L===l?this.$D+(k-this.$W):k;if(L===p||L===h){var ue=this.clone().set(d,1);ue.$d[J](se),ue.init(),this.$d=ue.set(d,Math.min(this.$D,ue.daysInMonth())).$d}else J&&this.$d[J](se);return this.init(),this},z.set=function(C,k){return this.clone().$set(C,k)},z.get=function(C){return this[B.p(C)]()},z.add=function(C,k){var q,L=this;C=Number(C);var $=B.p(k),J=function(ne){var ge=M(L);return B.w(ge.date(ge.date()+Math.round(ne*C)),L)};if($===p)return this.set(p,this.$M+C);if($===h)return this.set(h,this.$y+C);if($===l)return J(1);if($===f)return J(7);var se=(q={},q[o]=n,q[c]=i,q[s]=r,q)[$]||1,ue=this.$d.getTime()+C*se;return B.w(ue,this)},z.subtract=function(C,k){return this.add(-1*C,k)},z.format=function(C){var k=this,q=this.$locale();if(!this.isValid())return q.invalidDate||b;var L=C||"YYYY-MM-DDTHH:mm:ssZ",$=B.z(this),J=this.$H,se=this.$m,ue=this.$M,ne=q.weekdays,ge=q.months,X=q.meridiem,de=function(ae,pe,we,Te){return ae&&(ae[pe]||ae(k,L))||we[pe].slice(0,Te)},be=function(ae){return B.s(J%12||12,ae,"0")},De=X||function(ae,pe,we){var Te=ae<12?"AM":"PM";return we?Te.toLowerCase():Te};return L.replace(g,(function(ae,pe){return pe||(function(we){switch(we){case"YY":return String(k.$y).slice(-2);case"YYYY":return B.s(k.$y,4,"0");case"M":return ue+1;case"MM":return B.s(ue+1,2,"0");case"MMM":return de(q.monthsShort,ue,ge,3);case"MMMM":return de(ge,ue);case"D":return k.$D;case"DD":return B.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return de(q.weekdaysMin,k.$W,ne,2);case"ddd":return de(q.weekdaysShort,k.$W,ne,3);case"dddd":return ne[k.$W];case"H":return String(J);case"HH":return B.s(J,2,"0");case"h":return be(1);case"hh":return be(2);case"a":return De(J,se,!0);case"A":return De(J,se,!1);case"m":return String(se);case"mm":return B.s(se,2,"0");case"s":return String(k.$s);case"ss":return B.s(k.$s,2,"0");case"SSS":return B.s(k.$ms,3,"0");case"Z":return $}return null})(ae)||$.replace(":","")}))},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(C,k,q){var L,$=this,J=B.p(k),se=M(C),ue=(se.utcOffset()-this.utcOffset())*n,ne=this-se,ge=function(){return B.m($,se)};switch(J){case h:L=ge()/12;break;case p:L=ge();break;case u:L=ge()/3;break;case f:L=(ne-ue)/6048e5;break;case l:L=(ne-ue)/864e5;break;case c:L=ne/i;break;case o:L=ne/n;break;case s:L=ne/r;break;default:L=ne}return q?L:B.a(L)},z.daysInMonth=function(){return this.endOf(p).$D},z.$locale=function(){return m[this.$L]},z.locale=function(C,k){if(!C)return this.$L;var q=this.clone(),L=T(C,k,!0);return L&&(q.$L=L),q},z.clone=function(){return B.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},N})(),O=A.prototype;return M.prototype=O,[["$ms",a],["$s",s],["$m",o],["$H",c],["$W",l],["$M",p],["$y",h],["$D",d]].forEach((function(N){O[N[1]]=function(z){return this.$g(z,N[0],N[1])}})),M.extend=function(N,z){return N.$i||(N(z,A,M),N.$i=!0),M},M.locale=T,M.isDayjs=_,M.unix=function(N){return M(1e3*N)},M.en=m[x],M.Ls=m,M.p={},M}))})(ia)),ia.exports}const DC="cli-io",yC="0.9.13",bC={name:DC,version:yC};var al,$0;function vC(){if($0)return al;$0=1;const t=Ie,e=$e,r=rw(),n=aw(),i=uw(),a=Jw(),s=aC(),o=hC(),c=gC(),l=bC;class f{constructor(u={}){let h=t.basename(process.argv[1]);h=h.replace(/\.[a-zA-Z]+$/,""),this.options={encoding:"utf8",logLevel:"info",logTime:!0,logPrefix:h,...u},this.logLevels={none:{level:0},error:{level:1,tag:"ERROR",color:"red"},warning:{level:2,tag:"WARNING",color:"yellow"},info:{level:3,tag:"INFO"},debug:{level:4,tag:"DEBUG",color:"blue"}}}async input(u,h={}){h={encoding:this.options.encoding,agent:`${l.name}/${l.version}`,...h};let d;return u==="-"||u==="stdin:"?d=await r(process.stdin,{encoding:h.encoding}):u.match(/^https?:\/\/.+/)?d=await a({url:u,encoding:h.encoding,headers:{"User-Agent":h.agent}}):(u=u.replace(/^file:(?:\/\/)?/,""),d=await e.promises.readFile(u,{encoding:h.encoding})),d}async output(u,h,d={}){if(d={dump:!1,format:"json",trailingNewline:!1,noColor:!1,encoding:this.options.encoding,mode:438,flag:"w",...d},d.dump)if(d.format==="json")h=JSON.stringify(h,null," ");else if(d.format==="yaml")h=n.dump(h);else throw new Error(`invalid output format "${d.format}"`);if(d.trailingNewline&&!h.match(/\n$/)&&(h+=`
|
|
58
|
-
`),!d.dump&&d.noColor&&(h=i(h)),u==="-"||u==="stdout:")await new Promise((b,D)=>{process.stdout.write(h,d.encoding,g=>{g?D(g):b()})});else if(u.match(/^https?:\/\/.+/)){const b={},D=new URL(u);D.username&&(b.username=D.username),D.password&&(b.password=D.password);const g=`${D.protocol}://${D.hostname}:${D.port}`,y=D.pathname;await s.createClient(g,b).putFileContents(y,h,{overwrite:!0})}else u=u.replace(/^file:(?:\/\/)?/,""),await e.promises.writeFile(u,h,{encoding:d.encoding,mode:d.mode,flag:d.flag})}async log(u,h){const d=this.logLevels[u];if(d===void 0)throw new Error("invalid log level");const b=this.logLevels[this.options.logLevel];if(d.level>b.level)return;let D="";d.tag&&(D=d.tag),d.color&&process.stderr.isTTY&&(D=o[d.color](D)),h=`${D}: ${h}`,this.options.logTime&&(h=`[${c().format("YYYY-MM-DD HH:mm:ss.SSS")}] ${h}`),this.options.logPrefix!==""&&(h=`${this.options.logPrefix}: ${h}`),h.match(/\n$/)||(h+=`
|
|
59
|
-
`),process.stderr.isTTY||(h=i(h)),await new Promise(g=>{process.stderr.write(h,"utf8",()=>{g()})})}}return al=f,al}var xC=vC();const wC=Li(xC),EC={right:OC,center:TC},FC=0,sa=1,CC=2,aa=3;class AC{constructor(e){var r;this.width=e.width,this.wrap=(r=e.wrap)!==null&&r!==void 0?r:!0,this.rows=[]}span(...e){const r=this.div(...e);r.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);const r=e.map(n=>typeof n=="string"?this.colFromString(n):n);return this.rows.push(r),r}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const r=e.split(`
|
|
60
|
-
`).map(i=>i.split(" "));let n=0;return r.forEach(i=>{i.length>1&&Ct.stringWidth(i[0])>n&&(n=Math.min(Math.floor(this.width*.5),Ct.stringWidth(i[0])))}),r.forEach(i=>{this.div(...i.map((a,s)=>({text:a.trim(),padding:this.measurePadding(a),width:s===0&&i.length>1?n:void 0})))}),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const r=Ct.stripAnsi(e);return[0,r.match(/\s*$/)[0].length,0,r.match(/^\s*/)[0].length]}toString(){const e=[];return this.rows.forEach(r=>{this.rowToString(r,e)}),e.filter(r=>!r.hidden).map(r=>r.text).join(`
|
|
61
|
-
`)}rowToString(e,r){return this.rasterize(e).forEach((n,i)=>{let a="";n.forEach((s,o)=>{const{width:c}=e[o],l=this.negatePadding(e[o]);let f=s;if(l>Ct.stringWidth(s)&&(f+=" ".repeat(l-Ct.stringWidth(s))),e[o].align&&e[o].align!=="left"&&this.wrap){const u=EC[e[o].align];f=u(f,l),Ct.stringWidth(f)<l&&(f+=" ".repeat((c||0)-Ct.stringWidth(f)-1))}const p=e[o].padding||[0,0,0,0];p[aa]&&(a+=" ".repeat(p[aa])),a+=U0(e[o],f,"| "),a+=f,a+=U0(e[o],f," |"),p[sa]&&(a+=" ".repeat(p[sa])),i===0&&r.length>0&&(a=this.renderInline(a,r[r.length-1]))}),r.push({text:a.replace(/ +$/,""),span:e.span})}),r}renderInline(e,r){const n=e.match(/^ */),i=n?n[0].length:0,a=r.text,s=Ct.stringWidth(a.trimRight());return r.span?this.wrap?i<s?e:(r.hidden=!0,a.trimRight()+" ".repeat(i-s)+e.trimLeft()):(r.hidden=!0,a+e):e}rasterize(e){const r=[],n=this.columnWidths(e);let i;return e.forEach((a,s)=>{a.width=n[s],this.wrap?i=Ct.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
62
|
-
`):i=a.text.split(`
|
|
63
|
-
`),a.border&&(i.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),i.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(i.unshift(...new Array(a.padding[FC]||0).fill("")),i.push(...new Array(a.padding[CC]||0).fill(""))),i.forEach((o,c)=>{r[c]||r.push([]);const l=r[c];for(let f=0;f<s;f++)l[f]===void 0&&l.push("");l.push(o)})}),r}negatePadding(e){let r=e.width||0;return e.padding&&(r-=(e.padding[aa]||0)+(e.padding[sa]||0)),e.border&&(r-=4),r}columnWidths(e){if(!this.wrap)return e.map(s=>s.width||Ct.stringWidth(s.text));let r=e.length,n=this.width;const i=e.map(s=>{if(s.width)return r--,n-=s.width,s.width}),a=r?Math.floor(n/r):0;return i.map((s,o)=>s===void 0?Math.max(a,_C(e[o])):s)}}function U0(t,e,r){return t.border?/[.']-+[.']/.test(e)?"":e.trim().length!==0?r:" ":""}function _C(t){const e=t.padding||[],r=1+(e[aa]||0)+(e[sa]||0);return t.border?r+4:r}function SC(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function OC(t,e){t=t.trim();const r=Ct.stringWidth(t);return r<e?" ".repeat(e-r)+t:t}function TC(t,e){t=t.trim();const r=Ct.stringWidth(t);return r>=e?t:" ".repeat(e-r>>1)+t}let Ct;function BC(t,e){return Ct=e,new AC({width:t?.width||SC(),wrap:t?.wrap})}function RC({onlyFirst:t=!1}={}){const i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,t?void 0:"g")}const kC=RC();function ka(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return!t.includes("\x1B")&&!t.includes("")?t:t.replace(kC,"")}const Qf=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],ep=[12288,12288,65281,65376,65504,65510],qa=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],tp=(t,e)=>{let r=0,n=Math.floor(t.length/2)-1;for(;r<=n;){const i=Math.floor((r+n)/2),a=i*2;if(e<t[a])n=i-1;else if(e>t[a+1])r=i+1;else return!0}return!1},qC=Qf[0],PC=Qf.at(-1),IC=ep[0],NC=ep.at(-1),MC=qa[0],jC=qa.at(-1),z0=19968,[LC,$C]=UC(qa);function UC(t){let e=t[0],r=t[1];for(let n=0;n<t.length;n+=2){const i=t[n],a=t[n+1];if(z0>=i&&z0<=a)return[i,a];a-i>r-e&&(e=i,r=a)}return[e,r]}const zC=t=>t<qC||t>PC?!1:tp(Qf,t),HC=t=>t<IC||t>NC?!1:tp(ep,t),VC=t=>t>=LC&&t<=$C?!0:t<MC||t>jC?!1:tp(qa,t);function WC(t){if(!Number.isSafeInteger(t))throw new TypeError(`Expected a code point, got \`${typeof t}\`.`)}function vb(t,{ambiguousAsWide:e=!1}={}){return WC(t),HC(t)||VC(t)||e&&zC(t)?2:1}const GC=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,YC=new Intl.Segmenter,ZC=/^\p{Default_Ignorable_Code_Point}$/u;function kn(t,e={}){if(typeof t!="string"||t.length===0)return 0;const{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=e;if(n||(t=ka(t)),t.length===0)return 0;let i=0;const a={ambiguousAsWide:!r};for(const{segment:s}of YC.segment(t)){const o=s.codePointAt(0);if(!(o<=31||o>=127&&o<=159)&&!(o>=8203&&o<=8207||o===65279)&&!(o>=768&&o<=879||o>=6832&&o<=6911||o>=7616&&o<=7679||o>=8400&&o<=8447||o>=65056&&o<=65071)&&!(o>=55296&&o<=57343)&&!(o>=65024&&o<=65039)&&!ZC.test(s)){if(GC().test(s)){i+=2;continue}i+=vb(o,a)}}return i}const ol=10,H0=(t=0)=>e=>`\x1B[${e+t}m`,V0=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,W0=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,Ye={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(Ye.modifier);const JC=Object.keys(Ye.color),KC=Object.keys(Ye.bgColor);[...JC,...KC];function XC(){const t=new Map;for(const[e,r]of Object.entries(Ye)){for(const[n,i]of Object.entries(r))Ye[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Ye[n],t.set(i[0],i[1]);Object.defineProperty(Ye,e,{value:r,enumerable:!1})}return Object.defineProperty(Ye,"codes",{value:t,enumerable:!1}),Ye.color.close="\x1B[39m",Ye.bgColor.close="\x1B[49m",Ye.color.ansi=H0(),Ye.color.ansi256=V0(),Ye.color.ansi16m=W0(),Ye.bgColor.ansi=H0(ol),Ye.bgColor.ansi256=V0(ol),Ye.bgColor.ansi16m=W0(ol),Object.defineProperties(Ye,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(a=>a+a).join(""));const i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Ye.rgbToAnsi256(...Ye.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;const o=e%36;r=Math.floor(e/36)/5,n=Math.floor(o/6)/5,i=o%6/5}const a=Math.max(r,n,i)*2;if(a===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return a===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Ye.ansi256ToAnsi(Ye.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Ye.ansi256ToAnsi(Ye.hexToAnsi256(e)),enumerable:!1}}),Ye}const QC=XC(),Pa=new Set(["\x1B",""]),eA=39,rp="\x07",xb="[",tA="]",wb="m",Da=`${tA}8;;`,G0=t=>`${Pa.values().next().value}${xb}${t}${wb}`,Y0=t=>`${Pa.values().next().value}${Da}${t}${rp}`,rA=t=>t.split(" ").map(e=>kn(e)),ul=(t,e,r)=>{const n=[...e];let i=!1,a=!1,s=kn(ka(t.at(-1)));for(const[o,c]of n.entries()){const l=kn(c);if(s+l<=r?t[t.length-1]+=c:(t.push(c),s=0),Pa.has(c)&&(i=!0,a=n.slice(o+1,o+1+Da.length).join("")===Da),i){a?c===rp&&(i=!1,a=!1):c===wb&&(i=!1);continue}s+=l,s===r&&o<n.length-1&&(t.push(""),s=0)}!s&&t.at(-1).length>0&&t.length>1&&(t[t.length-2]+=t.pop())},nA=t=>{const e=t.split(" ");let r=e.length;for(;r>0&&!(kn(e[r-1])>0);)r--;return r===e.length?t:e.slice(0,r).join(" ")+e.slice(r).join("")},iA=(t,e,r={})=>{if(r.trim!==!1&&t.trim()==="")return"";let n="",i,a;const s=rA(t);let o=[""];for(const[p,u]of t.split(" ").entries()){r.trim!==!1&&(o[o.length-1]=o.at(-1).trimStart());let h=kn(o.at(-1));if(p!==0&&(h>=e&&(r.wordWrap===!1||r.trim===!1)&&(o.push(""),h=0),(h>0||r.trim===!1)&&(o[o.length-1]+=" ",h++)),r.hard&&s[p]>e){const d=e-h,b=1+Math.floor((s[p]-d-1)/e);Math.floor((s[p]-1)/e)<b&&o.push(""),ul(o,u,e);continue}if(h+s[p]>e&&h>0&&s[p]>0){if(r.wordWrap===!1&&h<e){ul(o,u,e);continue}o.push("")}if(h+s[p]>e&&r.wordWrap===!1){ul(o,u,e);continue}o[o.length-1]+=u}r.trim!==!1&&(o=o.map(p=>nA(p)));const c=o.join(`
|
|
64
|
-
`),l=[...c];let f=0;for(const[p,u]of l.entries()){if(n+=u,Pa.has(u)){const{groups:d}=new RegExp(`(?:\\${xb}(?<code>\\d+)m|\\${Da}(?<uri>.*)${rp})`).exec(c.slice(f))||{groups:{}};if(d.code!==void 0){const b=Number.parseFloat(d.code);i=b===eA?void 0:b}else d.uri!==void 0&&(a=d.uri.length===0?void 0:d.uri)}const h=QC.codes.get(Number(i));l[p+1]===`
|
|
65
|
-
`?(a&&(n+=Y0("")),i&&h&&(n+=G0(h))):u===`
|
|
66
|
-
`&&(i&&h&&(n+=G0(i)),a&&(n+=Y0(a))),f+=u.length}return n};function sA(t,e,r){return String(t).normalize().replaceAll(`\r
|
|
67
|
-
`,`
|
|
68
|
-
`).split(`
|
|
69
|
-
`).map(n=>iA(n,e,r)).join(`
|
|
70
|
-
`)}function aA(t){return BC(t,{stringWidth:kn,stripAnsi:ka,wrap:sA})}function oA(t,e){let r=Ie.resolve(".",t),n;for($e.statSync(r).isDirectory()||(r=Ie.dirname(r));;){if(n=e(r,$e.readdirSync(r)),n)return Ie.resolve(r,n);if(r=Ie.dirname(n=r),n===r)break}}function Di(t){if(t!==t.toLowerCase()&&t!==t.toUpperCase()||(t=t.toLowerCase()),t.indexOf("-")===-1&&t.indexOf("_")===-1)return t;{let r="",n=!1;const i=t.match(/^-+/);for(let a=i?i[0].length:0;a<t.length;a++){let s=t.charAt(a);n&&(n=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?n=!0:s!=="-"&&s!=="_"&&(r+=s)}return r}}function Eb(t,e){const r=t.toLowerCase();e=e||"-";let n="";for(let i=0;i<t.length;i++){const a=r.charAt(i),s=t.charAt(i);a!==s&&i>0?n+=`${e}${r.charAt(i)}`:n+=s}return n}function Fb(t){return t==null?!1:typeof t=="number"||/^0x[0-9a-f]+$/i.test(t)?!0:/^0[^.]/.test(t)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function uA(t){if(Array.isArray(t))return t.map(s=>typeof s!="string"?s+"":s);t=t.trim();let e=0,r=null,n=null,i=null;const a=[];for(let s=0;s<t.length;s++){if(r=n,n=t.charAt(s),n===" "&&!i){r!==" "&&e++;continue}n===i?i=null:(n==="'"||n==='"')&&!i&&(i=n),a[e]||(a[e]=""),a[e]+=n}return a}var Yt;(function(t){t.BOOLEAN="boolean",t.STRING="string",t.NUMBER="number",t.ARRAY="array"})(Yt||(Yt={}));let yr;class cA{constructor(e){yr=e}parse(e,r){const n=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},r),i=uA(e),a=typeof e=="string",s=lA(Object.assign(Object.create(null),n.alias)),o=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},n.configuration),c=Object.assign(Object.create(null),n.default),l=n.configObjects||[],f=n.envPrefix,p=o["populate--"],u=p?"--":"_",h=Object.create(null),d=Object.create(null),b=n.__||yr.format,D={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},g=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,y=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(n.array||[]).filter(Boolean).forEach(function(I){const j=typeof I=="object"?I.key:I,W=Object.keys(I).map(function(G){return{boolean:"bools",string:"strings",number:"numbers"}[G]}).filter(Boolean).pop();W&&(D[W][j]=!0),D.arrays[j]=!0,D.keys.push(j)}),[].concat(n.boolean||[]).filter(Boolean).forEach(function(I){D.bools[I]=!0,D.keys.push(I)}),[].concat(n.string||[]).filter(Boolean).forEach(function(I){D.strings[I]=!0,D.keys.push(I)}),[].concat(n.number||[]).filter(Boolean).forEach(function(I){D.numbers[I]=!0,D.keys.push(I)}),[].concat(n.count||[]).filter(Boolean).forEach(function(I){D.counts[I]=!0,D.keys.push(I)}),[].concat(n.normalize||[]).filter(Boolean).forEach(function(I){D.normalize[I]=!0,D.keys.push(I)}),typeof n.narg=="object"&&Object.entries(n.narg).forEach(([I,j])=>{typeof j=="number"&&(D.nargs[I]=j,D.keys.push(I))}),typeof n.coerce=="object"&&Object.entries(n.coerce).forEach(([I,j])=>{typeof j=="function"&&(D.coercions[I]=j,D.keys.push(I))}),typeof n.config<"u"&&(Array.isArray(n.config)||typeof n.config=="string"?[].concat(n.config).filter(Boolean).forEach(function(I){D.configs[I]=!0}):typeof n.config=="object"&&Object.entries(n.config).forEach(([I,j])=>{(typeof j=="boolean"||typeof j=="function")&&(D.configs[I]=j)})),ue(n.key,s,n.default,D.arrays),Object.keys(c).forEach(function(I){(D.aliases[I]||[]).forEach(function(j){c[j]=c[I]})});let w=null;Y();let E=[];const x=Object.assign(Object.create(null),{_:[]}),m={};for(let I=0;I<i.length;I++){const j=i[I],W=j.replace(/^-{3,}/,"---");let G,H,ee,v,V,K;if(j!=="--"&&/^-/.test(j)&&be(j))F(j);else if(W.match(/^---+(=|$)/)){F(j);continue}else if(j.match(/^--.+=/)||!o["short-option-groups"]&&j.match(/^-.+=/))v=j.match(/^--?([^=]+)=([\s\S]*)$/),v!==null&&Array.isArray(v)&&v.length>=3&&(ne(v[1],D.arrays)?I=T(I,v[1],i,v[2]):ne(v[1],D.nargs)!==!1?I=_(I,v[1],i,v[2]):M(v[1],v[2],!0));else if(j.match(y)&&o["boolean-negation"])v=j.match(y),v!==null&&Array.isArray(v)&&v.length>=2&&(H=v[1],M(H,ne(H,D.arrays)?[!1]:!1));else if(j.match(/^--.+/)||!o["short-option-groups"]&&j.match(/^-[^-]+/))v=j.match(/^--?(.+)/),v!==null&&Array.isArray(v)&&v.length>=2&&(H=v[1],ne(H,D.arrays)?I=T(I,H,i):ne(H,D.nargs)!==!1?I=_(I,H,i):(V=i[I+1],V!==void 0&&(!V.match(/^-/)||V.match(g))&&!ne(H,D.bools)&&!ne(H,D.counts)||/^(true|false)$/.test(V)?(M(H,V),I++):M(H,ae(H))));else if(j.match(/^-.\..+=/))v=j.match(/^-([^=]+)=([\s\S]*)$/),v!==null&&Array.isArray(v)&&v.length>=3&&M(v[1],v[2]);else if(j.match(/^-.\..+/)&&!j.match(g))V=i[I+1],v=j.match(/^-(.\..+)/),v!==null&&Array.isArray(v)&&v.length>=2&&(H=v[1],V!==void 0&&!V.match(/^-/)&&!ne(H,D.bools)&&!ne(H,D.counts)?(M(H,V),I++):M(H,ae(H)));else if(j.match(/^-[^-]+/)&&!j.match(g)){ee=j.slice(1,-1).split(""),G=!1;for(let ce=0;ce<ee.length;ce++){if(V=j.slice(ce+2),ee[ce+1]&&ee[ce+1]==="="){K=j.slice(ce+3),H=ee[ce],ne(H,D.arrays)?I=T(I,H,i,K):ne(H,D.nargs)!==!1?I=_(I,H,i,K):M(H,K),G=!0;break}if(V==="-"){M(ee[ce],V);continue}if(/[A-Za-z]/.test(ee[ce])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(V)&&ne(V,D.bools)===!1){M(ee[ce],V),G=!0;break}if(ee[ce+1]&&ee[ce+1].match(/\W/)){M(ee[ce],V),G=!0;break}else M(ee[ce],ae(ee[ce]))}H=j.slice(-1)[0],!G&&H!=="-"&&(ne(H,D.arrays)?I=T(I,H,i):ne(H,D.nargs)!==!1?I=_(I,H,i):(V=i[I+1],V!==void 0&&(!/^(-|--)[^-]/.test(V)||V.match(g))&&!ne(H,D.bools)&&!ne(H,D.counts)||/^(true|false)$/.test(V)?(M(H,V),I++):M(H,ae(H))))}else if(j.match(/^-[0-9]$/)&&j.match(g)&&ne(j.slice(1),D.bools))H=j.slice(1),M(H,ae(H));else if(j==="--"){E=i.slice(I+1);break}else if(o["halt-at-non-option"]){E=i.slice(I);break}else F(j)}k(x,!0),k(x,!1),N(x),C(),$(x,D.aliases,c,!0),q(x),o["set-placeholder-key"]&&L(x),Object.keys(D.counts).forEach(function(I){J(x,I.split("."))||M(I,0)}),p&&E.length&&(x[u]=[]),E.forEach(function(I){x[u].push(I)}),o["camel-case-expansion"]&&o["strip-dashed"]&&Object.keys(x).filter(I=>I!=="--"&&I.includes("-")).forEach(I=>{delete x[I]}),o["strip-aliased"]&&[].concat(...Object.keys(s).map(I=>s[I])).forEach(I=>{o["camel-case-expansion"]&&I.includes("-")&&delete x[I.split(".").map(j=>Di(j)).join(".")],delete x[I]});function F(I){const j=O("_",I);(typeof j=="string"||typeof j=="number")&&x._.push(j)}function _(I,j,W,G){let H,ee=ne(j,D.nargs);if(ee=typeof ee!="number"||isNaN(ee)?1:ee,ee===0)return Te(G)||(w=Error(b("Argument unexpected for: %s",j))),M(j,ae(j)),I;let v=Te(G)?0:1;if(o["nargs-eats-options"])W.length-(I+1)+v<ee&&(w=Error(b("Not enough arguments following: %s",j))),v=ee;else{for(H=I+1;H<W.length&&(!W[H].match(/^-[^0-9]/)||W[H].match(g)||be(W[H]));H++)v++;v<ee&&(w=Error(b("Not enough arguments following: %s",j)))}let V=Math.min(v,ee);for(!Te(G)&&V>0&&(M(j,G),V--),H=I+1;H<V+I+1;H++)M(j,W[H]);return I+V}function T(I,j,W,G){let H=[],ee=G||W[I+1];const v=ne(j,D.nargs);if(ne(j,D.bools)&&!/^(true|false)$/.test(ee))H.push(!0);else if(Te(ee)||Te(G)&&/^-/.test(ee)&&!g.test(ee)&&!be(ee)){if(c[j]!==void 0){const V=c[j];H=Array.isArray(V)?V:[V]}}else{Te(G)||H.push(A(j,G,!0));for(let V=I+1;V<W.length&&!(!o["greedy-arrays"]&&H.length>0||v&&typeof v=="number"&&H.length>=v||(ee=W[V],/^-/.test(ee)&&!g.test(ee)&&!be(ee)));V++)I=V,H.push(A(j,ee,a))}return typeof v=="number"&&(v&&H.length<v||isNaN(v)&&H.length===0)&&(w=Error(b("Not enough arguments following: %s",j))),M(j,H),I}function M(I,j,W=a){if(/-/.test(I)&&o["camel-case-expansion"]){const ee=I.split(".").map(function(v){return Di(v)}).join(".");B(I,ee)}const G=A(I,j,W),H=I.split(".");se(x,H,G),D.aliases[I]&&D.aliases[I].forEach(function(ee){const v=ee.split(".");se(x,v,G)}),H.length>1&&o["dot-notation"]&&(D.aliases[H[0]]||[]).forEach(function(ee){let v=ee.split(".");const V=[].concat(H);V.shift(),v=v.concat(V),(D.aliases[I]||[]).includes(v.join("."))||se(x,v,G)}),ne(I,D.normalize)&&!ne(I,D.arrays)&&[I].concat(D.aliases[I]||[]).forEach(function(v){Object.defineProperty(m,v,{enumerable:!0,get(){return j},set(V){j=typeof V=="string"?yr.normalize(V):V}})})}function B(I,j){D.aliases[I]&&D.aliases[I].length||(D.aliases[I]=[j],h[j]=!0),D.aliases[j]&&D.aliases[j].length||B(j,I)}function A(I,j,W){W&&(j=fA(j)),(ne(I,D.bools)||ne(I,D.counts))&&typeof j=="string"&&(j=j==="true");let G=Array.isArray(j)?j.map(function(H){return O(I,H)}):O(I,j);return ne(I,D.counts)&&(Te(G)||typeof G=="boolean")&&(G=cl()),ne(I,D.normalize)&&ne(I,D.arrays)&&(Array.isArray(j)?G=j.map(H=>yr.normalize(H)):G=yr.normalize(j)),G}function O(I,j){return!o["parse-positional-numbers"]&&I==="_"||!ne(I,D.strings)&&!ne(I,D.bools)&&!Array.isArray(j)&&(Fb(j)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${j}`)))||!Te(j)&&ne(I,D.numbers))&&(j=Number(j)),j}function N(I){const j=Object.create(null);$(j,D.aliases,c),Object.keys(D.configs).forEach(function(W){const G=I[W]||j[W];if(G)try{let H=null;const ee=yr.resolve(yr.cwd(),G),v=D.configs[W];if(typeof v=="function"){try{H=v(ee)}catch(V){H=V}if(H instanceof Error){w=H;return}}else H=yr.require(ee);z(H)}catch(H){H.name==="PermissionDenied"?w=H:I[W]&&(w=Error(b("Invalid JSON config file: %s",G)))}})}function z(I,j){Object.keys(I).forEach(function(W){const G=I[W],H=j?j+"."+W:W;typeof G=="object"&&G!==null&&!Array.isArray(G)&&o["dot-notation"]?z(G,H):(!J(x,H.split("."))||ne(H,D.arrays)&&o["combine-arrays"])&&M(H,G)})}function C(){typeof l<"u"&&l.forEach(function(I){z(I)})}function k(I,j){if(typeof f>"u")return;const W=typeof f=="string"?f:"",G=yr.env();Object.keys(G).forEach(function(H){if(W===""||H.lastIndexOf(W,0)===0){const ee=H.split("__").map(function(v,V){return V===0&&(v=v.substring(W.length)),Di(v)});(j&&D.configs[ee.join(".")]||!j)&&!J(I,ee)&&M(ee.join("."),G[H])}})}function q(I){let j;const W=new Set;Object.keys(I).forEach(function(G){if(!W.has(G)&&(j=ne(G,D.coercions),typeof j=="function"))try{const H=O(G,j(I[G]));[].concat(D.aliases[G]||[],G).forEach(ee=>{W.add(ee),I[ee]=H})}catch(H){w=H}})}function L(I){return D.keys.forEach(j=>{~j.indexOf(".")||typeof I[j]>"u"&&(I[j]=void 0)}),I}function $(I,j,W,G=!1){Object.keys(W).forEach(function(H){J(I,H.split("."))||(se(I,H.split("."),W[H]),G&&(d[H]=!0),(j[H]||[]).forEach(function(ee){J(I,ee.split("."))||se(I,ee.split("."),W[H])}))})}function J(I,j){let W=I;o["dot-notation"]||(j=[j.join(".")]),j.slice(0,-1).forEach(function(H){W=W[H]||{}});const G=j[j.length-1];return typeof W!="object"?!1:G in W}function se(I,j,W){let G=I;o["dot-notation"]||(j=[j.join(".")]),j.slice(0,-1).forEach(function(K){K=Z0(K),typeof G=="object"&&G[K]===void 0&&(G[K]={}),typeof G[K]!="object"||Array.isArray(G[K])?(Array.isArray(G[K])?G[K].push({}):G[K]=[G[K],{}],G=G[K][G[K].length-1]):G=G[K]});const H=Z0(j[j.length-1]),ee=ne(j.join("."),D.arrays),v=Array.isArray(W);let V=o["duplicate-arguments-array"];!V&&ne(H,D.nargs)&&(V=!0,(!Te(G[H])&&D.nargs[H]===1||Array.isArray(G[H])&&G[H].length===D.nargs[H])&&(G[H]=void 0)),W===cl()?G[H]=cl(G[H]):Array.isArray(G[H])?V&&ee&&v?G[H]=o["flatten-duplicate-arrays"]?G[H].concat(W):(Array.isArray(G[H][0])?G[H]:[G[H]]).concat([W]):!V&&!!ee==!!v?G[H]=W:G[H]=G[H].concat([W]):G[H]===void 0&&ee?G[H]=v?W:[W]:V&&!(G[H]===void 0||ne(H,D.counts)||ne(H,D.bools))?G[H]=[G[H],W]:G[H]=W}function ue(...I){I.forEach(function(j){Object.keys(j||{}).forEach(function(W){D.aliases[W]||(D.aliases[W]=[].concat(s[W]||[]),D.aliases[W].concat(W).forEach(function(G){if(/-/.test(G)&&o["camel-case-expansion"]){const H=Di(G);H!==W&&D.aliases[W].indexOf(H)===-1&&(D.aliases[W].push(H),h[H]=!0)}}),D.aliases[W].concat(W).forEach(function(G){if(G.length>1&&/[A-Z]/.test(G)&&o["camel-case-expansion"]){const H=Eb(G,"-");H!==W&&D.aliases[W].indexOf(H)===-1&&(D.aliases[W].push(H),h[H]=!0)}}),D.aliases[W].forEach(function(G){D.aliases[G]=[W].concat(D.aliases[W].filter(function(H){return G!==H}))}))})})}function ne(I,j){const W=[].concat(D.aliases[I]||[],I),G=Object.keys(j),H=W.find(ee=>G.includes(ee));return H?j[H]:!1}function ge(I){const j=Object.keys(D);return[].concat(j.map(G=>D[G])).some(function(G){return Array.isArray(G)?G.includes(I):G[I]})}function X(I,...j){return[].concat(...j).some(function(G){const H=I.match(G);return H&&ge(H[1])})}function de(I){if(I.match(g)||!I.match(/^-[^-]+/))return!1;let j=!0,W;const G=I.slice(1).split("");for(let H=0;H<G.length;H++){if(W=I.slice(H+2),!ge(G[H])){j=!1;break}if(G[H+1]&&G[H+1]==="="||W==="-"||/[A-Za-z]/.test(G[H])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(W)||G[H+1]&&G[H+1].match(/\W/))break}return j}function be(I){return o["unknown-options-as-args"]&&De(I)}function De(I){return I=I.replace(/^-{3,}/,"--"),I.match(g)||de(I)?!1:!X(I,/^-+([^=]+?)=[\s\S]*$/,y,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function ae(I){return!ne(I,D.bools)&&!ne(I,D.counts)&&`${I}`in c?c[I]:pe(we(I))}function pe(I){return{[Yt.BOOLEAN]:!0,[Yt.STRING]:"",[Yt.NUMBER]:void 0,[Yt.ARRAY]:[]}[I]}function we(I){let j=Yt.BOOLEAN;return ne(I,D.strings)?j=Yt.STRING:ne(I,D.numbers)?j=Yt.NUMBER:ne(I,D.bools)?j=Yt.BOOLEAN:ne(I,D.arrays)&&(j=Yt.ARRAY),j}function Te(I){return I===void 0}function Y(){Object.keys(D.counts).find(I=>ne(I,D.arrays)?(w=Error(b("Invalid configuration: %s, opts.count excludes opts.array.",I)),!0):ne(I,D.nargs)?(w=Error(b("Invalid configuration: %s, opts.count excludes opts.narg.",I)),!0):!1)}return{aliases:Object.assign({},D.aliases),argv:Object.assign(m,x),configuration:o,defaulted:Object.assign({},d),error:w,newAliases:Object.assign({},h)}}}function lA(t){const e=[],r=Object.create(null);let n=!0;for(Object.keys(t).forEach(function(i){e.push([].concat(t[i],i))});n;){n=!1;for(let i=0;i<e.length;i++)for(let a=i+1;a<e.length;a++)if(e[i].filter(function(o){return e[a].indexOf(o)!==-1}).length){e[i]=e[i].concat(e[a]),e.splice(a,1),n=!0;break}}return e.forEach(function(i){i=i.filter(function(s,o,c){return c.indexOf(s)===o});const a=i.pop();a!==void 0&&typeof a=="string"&&(r[a]=i)}),r}function cl(t){return t!==void 0?t+1:1}function Z0(t){return t==="__proto__"?"___proto___":t}function fA(t){return typeof t=="string"&&(t[0]==="'"||t[0]==='"')&&t[t.length-1]===t[0]?t.substring(1,t.length-1):t}var ll,fl,pl;const J0=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20,K0=(fl=(ll=process==null?void 0:process.versions)===null||ll===void 0?void 0:ll.node)!==null&&fl!==void 0?fl:(pl=process==null?void 0:process.version)===null||pl===void 0?void 0:pl.slice(1);if(K0&&Number(K0.match(/^([^.]+)/)[1])<J0)throw Error(`yargs parser supports a minimum Node.js version of ${J0}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);const pA=process?process.env:{},X0=ef.createRequire?ef.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:xr&&xr.tagName.toUpperCase()==="SCRIPT"&&xr.src||new URL("stx.js",document.baseURI).href):void 0,Cb=new cA({cwd:process.cwd,env:()=>pA,format:Ve.format,normalize:Ie.normalize,resolve:Ie.resolve,require:t=>{if(typeof X0<"u")return X0(t);if(t.match(/\.json$/))return JSON.parse($e.readFileSync(t,"utf8"));throw Error("only .json config files are supported in ESM")}}),Vi=function(e,r){return Cb.parse(e.slice(),r).argv};Vi.detailed=function(t,e){return Cb.parse(t.slice(),e)};Vi.camelCase=Di;Vi.decamelize=Eb;Vi.looksLikeNumber=Fb;function dA(){return hA()?0:1}function hA(){return mA()&&!process.defaultApp}function mA(){return!!process.versions.electron}function gA(){return process.argv[dA()]}const DA=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,yA=new Intl.Segmenter,bA=/^\p{Default_Ignorable_Code_Point}$/u;function vA(t,e={}){if(typeof t!="string"||t.length===0)return 0;const{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=e;if(n||(t=ka(t)),t.length===0)return 0;let i=0;const a={ambiguousAsWide:!r};for(const{segment:s}of yA.segment(t)){const o=s.codePointAt(0);if(!(o<=31||o>=127&&o<=159)&&!(o>=8203&&o<=8207||o===65279)&&!(o>=768&&o<=879||o>=6832&&o<=6911||o>=7616&&o<=7679||o>=8400&&o<=8447||o>=65056&&o<=65071)&&!(o>=55296&&o<=57343)&&!(o>=65024&&o<=65039)&&!bA.test(s)){if(DA().test(s)){i+=2;continue}i+=vb(o,a)}}return i}const xA={fs:{readFileSync:$e.readFileSync,writeFile:$e.writeFile},format:Ve.format,resolve:Ie.resolve,exists:t=>{try{return $e.statSync(t).isFile()}catch{return!1}}};let Gt;class wA{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles=typeof e.updateFiles=="boolean"?e.updateFiles:!0,this.locale=e.locale||"en",this.fallbackToLanguage=typeof e.fallbackToLanguage=="boolean"?e.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);const r=e.shift();let n=function(){};return typeof e[e.length-1]=="function"&&(n=e.pop()),n=n||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][r]&&this.updateFiles?(this.cache[this.locale][r]=r,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:n})):n(),Gt.format.apply(Gt.format,[this.cache[this.locale][r]||r].concat(e))}__n(){const e=Array.prototype.slice.call(arguments),r=e.shift(),n=e.shift(),i=e.shift();let a=function(){};typeof e[e.length-1]=="function"&&(a=e.pop()),this.cache[this.locale]||this._readLocaleFile();let s=i===1?r:n;this.cache[this.locale][r]&&(s=this.cache[this.locale][r][i===1?"one":"other"]),!this.cache[this.locale][r]&&this.updateFiles?(this.cache[this.locale][r]={one:r,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();const o=[s];return~s.indexOf("%d")&&o.push(i),Gt.format.apply(Gt.format,o.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this.cache[this.locale][r]=e[r])}_taggedLiteral(e,...r){let n="";return e.forEach(function(i,a){const s=r[a+1];n+=i,typeof s<"u"&&(n+="%s")}),this.__.apply(this,[n].concat([].slice.call(r,1)))}_enqueueWrite(e){this.writeQueue.push(e),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){const e=this,r=this.writeQueue[0],n=r.directory,i=r.locale,a=r.cb,s=this._resolveLocaleFile(n,i),o=JSON.stringify(this.cache[i],null,2);Gt.fs.writeFile(s,o,"utf-8",function(c){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),a(c)})}_readLocaleFile(){let e={};const r=this._resolveLocaleFile(this.directory,this.locale);try{Gt.fs.readFileSync&&(e=JSON.parse(Gt.fs.readFileSync(r,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+r),n.code==="ENOENT")e={};else throw n}this.cache[this.locale]=e}_resolveLocaleFile(e,r){let n=Gt.resolve(e,"./",r+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~r.lastIndexOf("_")){const i=Gt.resolve(e,"./",r.split("_")[0]+".json");this._fileExistsSync(i)&&(n=i)}return n}_fileExistsSync(e){return Gt.exists(e)}}function EA(t,e){Gt=e;const r=new wA(t);return{__:r.__.bind(r),__n:r.__n.bind(r),setLocale:r.setLocale.bind(r),getLocale:r.getLocale.bind(r),updateLocale:r.updateLocale.bind(r),locale:r.locale}}const FA=t=>EA(t,xA);var dl,Q0;function CA(){return Q0||(Q0=1,dl=function(e){if(e===void 0&&(e=2),e>=Error.stackTraceLimit)throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+e+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var r=Error.prepareStackTrace;Error.prepareStackTrace=function(i,a){return a};var n=new Error().stack;if(Error.prepareStackTrace=r,n!==null&&typeof n=="object")return n[e]?n[e].getFileName():void 0}),dl}var AA=CA();const _A=Li(AA),tf=er.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:xr&&xr.tagName.toUpperCase()==="SCRIPT"&&xr.src||new URL("stx.js",document.baseURI).href),SA=tf.substring(0,tf.lastIndexOf("node_modules")),OA=ef.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:xr&&xr.tagName.toUpperCase()==="SCRIPT"&&xr.src||new URL("stx.js",document.baseURI).href),TA={assert:{notStrictEqual:Ql.notStrictEqual,strictEqual:Ql.strictEqual},cliui:aA,findUp:oA,getEnv:t=>process.env[t],inspect:Ve.inspect,getProcessArgvBin:gA,mainFilename:SA||process.cwd(),Parser:Vi,path:{basename:Ie.basename,dirname:Ie.dirname,extname:Ie.extname,relative:Ie.relative,resolve:Ie.resolve,join:Ie.join},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(t,e)=>process.emitWarning(t,e),execPath:()=>process.execPath,exit:t=>{process.exit(t)},nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:$e.readFileSync,readdirSync:$e.readdirSync,require:OA,getCallerFile:()=>{const t=_A(3);return t.match(/^file:\/\//)?er.fileURLToPath(t):t},stringWidth:vA,y18n:FA({directory:Ie.resolve(tf,"../../../locales"),updateFiles:!1})};function Zt(t,e,r,n){r.assert.notStrictEqual(t,e,n)}function e2(t,e){e.assert.strictEqual(typeof t,"string")}function oa(t){return Object.keys(t)}function rt(t){return!!t&&!!t.then&&typeof t.then=="function"}class st extends Error{constructor(e){super(e||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,st)}}function Ai(t){const r=t.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),n=/\.*[\][<>]/g,i=r.shift();if(!i)throw new Error(`No command found in: ${t}`);const a={cmd:i.replace(n,""),demanded:[],optional:[]};return r.forEach((s,o)=>{let c=!1;s=s.replace(/\s/g,""),/\.+[\]>]/.test(s)&&o===r.length-1&&(c=!0),/^\[/.test(s)?a.optional.push({cmd:s.replace(n,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(n,"").split("|"),variadic:c})}),a}const BA=["first","second","third","fourth","fifth","sixth"];function Se(t,e,r){function n(){return typeof t=="object"?[{demanded:[],optional:[]},t,e]:[Ai(`cmd ${t}`),e,r]}try{let i=0;const[a,s,o]=n(),c=[].slice.call(s);for(;c.length&&c[c.length-1]===void 0;)c.pop();const l=o||c.length;if(l<a.demanded.length)throw new st(`Not enough arguments provided. Expected ${a.demanded.length} but received ${c.length}.`);const f=a.demanded.length+a.optional.length;if(l>f)throw new st(`Too many arguments provided. Expected max ${f} but received ${l}.`);a.demanded.forEach(p=>{const u=c.shift(),h=t2(u);p.cmd.filter(b=>b===h||b==="*").length===0&&r2(h,p.cmd,i),i+=1}),a.optional.forEach(p=>{if(c.length===0)return;const u=c.shift(),h=t2(u);p.cmd.filter(b=>b===h||b==="*").length===0&&r2(h,p.cmd,i),i+=1})}catch(i){console.warn(i.stack)}}function t2(t){return Array.isArray(t)?"array":t===null?"null":typeof t}function r2(t,e,r){throw new st(`Invalid ${BA[r]||"manyith"} argument. Expected ${e.join(" or ")} but received ${t}.`)}class RA{constructor(e){this.globalMiddleware=[],this.frozens=[],this.yargs=e}addMiddleware(e,r,n=!0,i=!1){if(Se("<array|function> [boolean] [boolean] [boolean]",[e,r,n],arguments.length),Array.isArray(e)){for(let a=0;a<e.length;a++){if(typeof e[a]!="function")throw Error("middleware must be a function");const s=e[a];s.applyBeforeValidation=r,s.global=n}Array.prototype.push.apply(this.globalMiddleware,e)}else if(typeof e=="function"){const a=e;a.applyBeforeValidation=r,a.global=n,a.mutates=i,this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,r){const n=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(i=>{const a=[...n[r]||[],r];return i.option?!a.includes(i.option):!0}),e.option=r,this.addMiddleware(e,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const e=this.frozens.pop();e!==void 0&&(this.globalMiddleware=e)}reset(){this.globalMiddleware=this.globalMiddleware.filter(e=>e.global)}}function kA(t){return t?t.map(e=>(e.applyBeforeValidation=!1,e)):[]}function _i(t,e,r,n){return r.reduce((i,a)=>{if(a.applyBeforeValidation!==n)return i;if(a.mutates){if(a.applied)return i;a.applied=!0}if(rt(i))return i.then(s=>Promise.all([s,a(s,e)])).then(([s,o])=>Object.assign(s,o));{const s=a(i,e);return rt(s)?s.then(o=>Object.assign(i,o)):Object.assign(i,s)}},t)}function Si(t,e,r=n=>{throw n}){try{const n=qA(t)?t():t;return rt(n)?n.then(i=>e(i)):e(n)}catch(n){return r(n)}}function qA(t){return typeof t=="function"}const vn=/(^\*)|(^\$0)/;class PA{constructor(e,r,n,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=e,this.globalMiddleware=n,this.validation=r}addDirectory(e,r,n,i){i=i||{},this.requireCache.add(n);const a=this.shim.path.resolve(this.shim.path.dirname(n),e),s=this.shim.readdirSync(a,{recursive:!!i.recurse});Array.isArray(i.extensions)||(i.extensions=["js"]);const o=typeof i.visit=="function"?i.visit:c=>c;for(const c of s){const l=c.toString();if(i.exclude){let p=!1;if(typeof i.exclude=="function"?p=i.exclude(l):p=i.exclude.test(l),p)continue}if(i.include){let p=!1;if(typeof i.include=="function"?p=i.include(l):p=i.include.test(l),!p)continue}let f=!1;for(const p of i.extensions)l.endsWith(p)&&(f=!0);if(f){const p=this.shim.path.join(a,l),u=r(p),h=Object.create(null,Object.getOwnPropertyDescriptors({...u}));if(o(h,p,l)){if(this.requireCache.has(p))continue;this.requireCache.add(p),h.command||(h.command=this.shim.path.basename(p,this.shim.path.extname(p))),this.addHandler(h)}}}}addHandler(e,r,n,i,a,s){let o=[];const c=kA(a);if(i=i||(()=>{}),Array.isArray(e))if(NA(e))[e,...o]=e;else for(const l of e)this.addHandler(l);else if(jA(e)){let l=Array.isArray(e.command)||typeof e.command=="string"?e.command:null;if(l===null)throw new Error(`No command name given for module: ${this.shim.inspect(e)}`);e.aliases&&(l=[].concat(l).concat(e.aliases)),this.addHandler(l,this.extractDesc(e),e.builder,e.handler,e.middlewares,e.deprecated);return}else if(n2(n)){this.addHandler([e].concat(o),r,n.builder,n.handler,n.middlewares,n.deprecated);return}if(typeof e=="string"){const l=Ai(e);o=o.map(u=>Ai(u).cmd);let f=!1;const p=[l.cmd].concat(o).filter(u=>vn.test(u)?(f=!0,!1):!0);p.length===0&&f&&p.push("$0"),f&&(l.cmd=p[0],o=p.slice(1),e=e.replace(vn,l.cmd)),o.forEach(u=>{this.aliasMap[u]=l.cmd}),r!==!1&&this.usage.command(e,r,f,o,s),this.handlers[l.cmd]={original:e,description:r,handler:i,builder:n||{},middlewares:c,deprecated:s,demanded:l.demanded,optional:l.optional},f&&(this.defaultCommand=this.handlers[l.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,r,n,i,a,s){const o=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand,c=r.getInternalMethods().getContext(),l=c.commands.slice(),f=!e;e&&(c.commands.push(e),c.fullCommands.push(o.original));const p=this.applyBuilderUpdateUsageAndParse(f,o,r,n.aliases,l,i,a,s);return rt(p)?p.then(u=>this.applyMiddlewareAndGetResult(f,o,u.innerArgv,c,a,u.aliases,r)):this.applyMiddlewareAndGetResult(f,o,p.innerArgv,c,a,p.aliases,r)}applyBuilderUpdateUsageAndParse(e,r,n,i,a,s,o,c){const l=r.builder;let f=n;if(rf(l)){n.getInternalMethods().getUsageInstance().freeze();const p=l(n.getInternalMethods().reset(i),c);if(rt(p))return p.then(u=>(f=r3(u)?u:n,this.parseAndUpdateUsage(e,r,f,a,s,o)))}else MA(l)&&(n.getInternalMethods().getUsageInstance().freeze(),f=n.getInternalMethods().reset(i),Object.keys(r.builder).forEach(p=>{f.option(p,l[p])}));return this.parseAndUpdateUsage(e,r,f,a,s,o)}parseAndUpdateUsage(e,r,n,i,a,s){e&&n.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(n)&&n.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,r),r.description);const o=n.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return rt(o)?o.then(c=>({aliases:n.parsed.aliases,innerArgv:c})):{aliases:n.parsed.aliases,innerArgv:o}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&e.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(e,r){const n=vn.test(r.original)?r.original.replace(vn,"").trim():r.original,i=e.filter(a=>!vn.test(a));return i.push(n),`$0 ${i.join(" ")}`}handleValidationAndGetResult(e,r,n,i,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){const l=s.getInternalMethods().runValidation(a,c,s.parsed.error,e);n=Si(n,f=>(l(f),f))}if(r.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();const l=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(n,l,!1,!1),n=_i(n,s,o,!1),n=Si(n,f=>{const p=r.handler(f);return rt(p)?p.then(()=>f):f}),e||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),rt(n)&&!s.getInternalMethods().hasParseCallback()&&n.catch(f=>{try{s.getInternalMethods().getUsageInstance().fail(null,f)}catch{}})}return e||(i.commands.pop(),i.fullCommands.pop()),n}applyMiddlewareAndGetResult(e,r,n,i,a,s,o){let c={};if(a)return n;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(r,n,i,o));const l=this.globalMiddleware.getMiddleware().slice(0).concat(r.middlewares),f=_i(n,o,l,!0);return rt(f)?f.then(p=>this.handleValidationAndGetResult(e,r,p,i,s,o,l,c)):this.handleValidationAndGetResult(e,r,f,i,s,o,l,c)}populatePositionals(e,r,n,i){r._=r._.slice(n.commands.length);const a=e.demanded.slice(0),s=e.optional.slice(0),o={};for(this.validation.positionalCount(a.length,r._.length);a.length;){const c=a.shift();this.populatePositional(c,r,o)}for(;s.length;){const c=s.shift();this.populatePositional(c,r,o)}return r._=n.commands.concat(r._.map(c=>""+c)),this.postProcessPositionals(r,o,this.cmdToParseOptions(e.original),i),o}populatePositional(e,r,n){const i=e.cmd[0];e.variadic?n[i]=r._.splice(0).map(String):r._.length&&(n[i]=[String(r._.shift())])}cmdToParseOptions(e){const r={array:[],default:{},alias:{},demand:{}},n=Ai(e);return n.demanded.forEach(i=>{const[a,...s]=i.cmd;i.variadic&&(r.array.push(a),r.default[a]=[]),r.alias[a]=s,r.demand[a]=!0}),n.optional.forEach(i=>{const[a,...s]=i.cmd;i.variadic&&(r.array.push(a),r.default[a]=[]),r.alias[a]=s}),r}postProcessPositionals(e,r,n,i){const a=Object.assign({},i.getOptions());a.default=Object.assign(n.default,a.default);for(const l of Object.keys(n.alias))a.alias[l]=(a.alias[l]||[]).concat(n.alias[l]);a.array=a.array.concat(n.array),a.config={};const s=[];if(Object.keys(r).forEach(l=>{r[l].map(f=>{a.configuration["unknown-options-as-args"]&&(a.key[l]=!0),s.push(`--${l}`),s.push(f)})}),!s.length)return;const o=Object.assign({},a.configuration,{"populate--":!1}),c=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(c.error)i.getInternalMethods().getUsageInstance().fail(c.error.message,c.error);else{const l=Object.keys(r);Object.keys(r).forEach(f=>{l.push(...c.aliases[f])}),Object.keys(c.argv).forEach(f=>{l.includes(f)&&(r[f]||(r[f]=c.argv[f]),!this.isInConfigs(i,f)&&!this.isDefaulted(i,f)&&Object.prototype.hasOwnProperty.call(e,f)&&Object.prototype.hasOwnProperty.call(c.argv,f)&&(Array.isArray(e[f])||Array.isArray(c.argv[f]))?e[f]=[].concat(e[f],c.argv[f]):e[f]=c.argv[f])})}}isDefaulted(e,r){const{default:n}=e.getOptions();return Object.prototype.hasOwnProperty.call(n,r)||Object.prototype.hasOwnProperty.call(n,this.shim.Parser.camelCase(r))}isInConfigs(e,r){const{configObjects:n}=e.getOptions();return n.some(i=>Object.prototype.hasOwnProperty.call(i,r))||n.some(i=>Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(r)))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const n=vn.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");e.getInternalMethods().getUsageInstance().usage(n,this.defaultCommand.description)}const r=this.defaultCommand.builder;if(rf(r))return r(e,!0);n2(r)||Object.keys(r).forEach(n=>{e.option(n,r[n])})}extractDesc({describe:e,description:r,desc:n}){for(const i of[e,r,n]){if(typeof i=="string"||i===!1)return i;Zt(i,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();Zt(e,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=e}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function IA(t,e,r,n){return new PA(t,e,r,n)}function n2(t){return typeof t=="object"&&!!t.builder&&typeof t.handler=="function"}function NA(t){return t.every(e=>typeof e=="string")}function rf(t){return typeof t=="function"}function MA(t){return typeof t=="object"}function jA(t){return typeof t=="object"&&!Array.isArray(t)}function Ri(t={},e=()=>!0){const r={};return oa(t).forEach(n=>{e(n,t[n])&&(r[n]=t[n])}),r}function yi(t){typeof process>"u"||[process.stdout,process.stderr].forEach(e=>{const r=e;r._handle&&r.isTTY&&typeof r._handle.setBlocking=="function"&&r._handle.setBlocking(t)})}function LA(t){return typeof t=="boolean"}function $A(t,e){const r=e.y18n.__,n={},i=[];n.failFn=function(A){i.push(A)};let a=null,s=null,o=!0;n.showHelpOnFail=function(A=!0,O){const[N,z]=typeof A=="string"?[!0,A]:[A,O];return t.getInternalMethods().isGlobalContext()&&(s=z),a=z,o=N,n};let c=!1;n.fail=function(A,O){const N=t.getInternalMethods().getLoggerInstance();if(i.length)for(let z=i.length-1;z>=0;--z){const C=i[z];if(LA(C)){if(O)throw O;if(A)throw Error(A)}else C(A,O,n)}else{if(t.getExitProcess()&&yi(!0),!c){c=!0,o&&(t.showHelp("error"),N.error()),(A||O)&&N.error(A||O);const z=a||s;z&&((A||O)&&N.error(""),N.error(z))}if(O=O||new st(A),t.getExitProcess())return t.exit(1);if(t.getInternalMethods().hasParseCallback())return t.exit(1,O);throw O}};let l=[],f=!1;n.usage=(B,A)=>B===null?(f=!0,l=[],n):(f=!1,l.push([B,A||""]),n),n.getUsage=()=>l,n.getUsageDisabled=()=>f,n.getPositionalGroupName=()=>r("Positionals:");let p=[];n.example=(B,A)=>{p.push([B,A||""])};let u=[];n.command=function(A,O,N,z,C=!1){N&&(u=u.map(k=>(k[2]=!1,k))),u.push([A,O||"",N,z,C])},n.getCommands=()=>u;let h={};n.describe=function(A,O){Array.isArray(A)?A.forEach(N=>{n.describe(N,O)}):typeof A=="object"?Object.keys(A).forEach(N=>{n.describe(N,A[N])}):h[A]=O},n.getDescriptions=()=>h;let d=[];n.epilog=B=>{d.push(B)};let b=!1,D;n.wrap=B=>{b=!0,D=B},n.getWrap=()=>e.getEnv("YARGS_DISABLE_WRAP")?null:(b||(D=_(),b=!0),D);const g="__yargsString__:";n.deferY18nLookup=B=>g+B,n.help=function(){if(E)return E;w();const A=t.customScriptName?t.$0:e.path.basename(t.$0),O=t.getDemandedOptions(),N=t.getDemandedCommands(),z=t.getDeprecatedOptions(),C=t.getGroups(),k=t.getOptions();let q=[];q=q.concat(Object.keys(h)),q=q.concat(Object.keys(O)),q=q.concat(Object.keys(N)),q=q.concat(Object.keys(k.default)),q=q.filter(m),q=Object.keys(q.reduce((X,de)=>(de!=="_"&&(X[de]=!0),X),{}));const L=n.getWrap(),$=e.cliui({width:L,wrap:!!L});if(!f){if(l.length)l.forEach(X=>{$.div({text:`${X[0].replace(/\$0/g,A)}`}),X[1]&&$.div({text:`${X[1]}`,padding:[1,0,0,0]})}),$.div();else if(u.length){let X=null;N._?X=`${A} <${r("command")}>
|
|
71
|
-
`:X=`${A} [${r("command")}]
|
|
72
|
-
`,$.div(`${X}`)}}if(u.length>1||u.length===1&&!u[0][2]){$.div(r("Commands:"));const X=t.getInternalMethods().getContext(),de=X.commands.length?`${X.commands.join(" ")} `:"";t.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(u=u.sort((De,ae)=>De[0].localeCompare(ae[0])));const be=A?`${A} `:"";u.forEach(De=>{const ae=`${be}${de}${De[0].replace(/^\$0 ?/,"")}`;$.span({text:ae,padding:[0,2,0,2],width:y(u,L,`${A}${de}`)+4},{text:De[1]});const pe=[];De[2]&&pe.push(`[${r("default")}]`),De[3]&&De[3].length&&pe.push(`[${r("aliases:")} ${De[3].join(", ")}]`),De[4]&&(typeof De[4]=="string"?pe.push(`[${r("deprecated: %s",De[4])}]`):pe.push(`[${r("deprecated")}]`)),pe.length?$.div({text:pe.join(" "),padding:[0,0,0,2],align:"right"}):$.div()}),$.div()}const J=(Object.keys(k.alias)||[]).concat(Object.keys(t.parsed.newAliases)||[]);q=q.filter(X=>!t.parsed.newAliases[X]&&J.every(de=>(k.alias[de]||[]).indexOf(X)===-1));const se=r("Options:");C[se]||(C[se]=[]),x(q,k.alias,C,se);const ue=X=>/^--/.test(Rs(X)),ne=Object.keys(C).filter(X=>C[X].length>0).map(X=>{const de=C[X].filter(m).map(be=>{if(J.includes(be))return be;for(let De=0,ae;(ae=J[De])!==void 0;De++)if((k.alias[ae]||[]).includes(be))return ae;return be});return{groupName:X,normalizedKeys:de}}).filter(({normalizedKeys:X})=>X.length>0).map(({groupName:X,normalizedKeys:de})=>{const be=de.reduce((De,ae)=>(De[ae]=[ae].concat(k.alias[ae]||[]).map(pe=>X===n.getPositionalGroupName()?pe:(/^[0-9]$/.test(pe)?k.boolean.includes(ae)?"-":"--":pe.length>1?"--":"-")+pe).sort((pe,we)=>ue(pe)===ue(we)?0:ue(pe)?1:-1).join(", "),De),{});return{groupName:X,normalizedKeys:de,switches:be}});if(ne.filter(({groupName:X})=>X!==n.getPositionalGroupName()).some(({normalizedKeys:X,switches:de})=>!X.every(be=>ue(de[be])))&&ne.filter(({groupName:X})=>X!==n.getPositionalGroupName()).forEach(({normalizedKeys:X,switches:de})=>{X.forEach(be=>{ue(de[be])&&(de[be]=UA(de[be],4))})}),ne.forEach(({groupName:X,normalizedKeys:de,switches:be})=>{$.div(X),de.forEach(De=>{const ae=be[De];let pe=h[De]||"",we=null;pe.includes(g)&&(pe=r(pe.substring(g.length))),k.boolean.includes(De)&&(we=`[${r("boolean")}]`),k.count.includes(De)&&(we=`[${r("count")}]`),k.string.includes(De)&&(we=`[${r("string")}]`),k.normalize.includes(De)&&(we=`[${r("string")}]`),k.array.includes(De)&&(we=`[${r("array")}]`),k.number.includes(De)&&(we=`[${r("number")}]`);const Te=j=>typeof j=="string"?`[${r("deprecated: %s",j)}]`:`[${r("deprecated")}]`,Y=[De in z?Te(z[De]):null,we,De in O?`[${r("required")}]`:null,k.choices&&k.choices[De]?`[${r("choices:")} ${n.stringifiedValues(k.choices[De])}]`:null,F(k.default[De],k.defaultDescription[De])].filter(Boolean).join(" ");$.span({text:Rs(ae),padding:[0,2,0,2+i2(ae)],width:y(be,L)+4},pe);const I=t.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;Y&&!I?$.div({text:Y,padding:[0,0,0,2],align:"right"}):$.div()}),$.div()}),p.length&&($.div(r("Examples:")),p.forEach(X=>{X[0]=X[0].replace(/\$0/g,A)}),p.forEach(X=>{X[1]===""?$.div({text:X[0],padding:[0,2,0,2]}):$.div({text:X[0],padding:[0,2,0,2],width:y(p,L)+4},{text:X[1]})}),$.div()),d.length>0){const X=d.map(de=>de.replace(/\$0/g,A)).join(`
|
|
73
|
-
`);$.div(`${X}
|
|
74
|
-
`)}return $.toString().replace(/\s*$/,"")};function y(B,A,O){let N=0;return Array.isArray(B)||(B=Object.values(B).map(z=>[z])),B.forEach(z=>{N=Math.max(e.stringWidth(O?`${O} ${Rs(z[0])}`:Rs(z[0]))+i2(z[0]),N)}),A&&(N=Math.min(N,parseInt((A*.5).toString(),10))),N}function w(){const B=t.getDemandedOptions(),A=t.getOptions();(Object.keys(A.alias)||[]).forEach(O=>{A.alias[O].forEach(N=>{h[N]&&n.describe(O,h[N]),N in B&&t.demandOption(O,B[N]),A.boolean.includes(N)&&t.boolean(O),A.count.includes(N)&&t.count(O),A.string.includes(N)&&t.string(O),A.normalize.includes(N)&&t.normalize(O),A.array.includes(N)&&t.array(O),A.number.includes(N)&&t.number(O)})})}let E;n.cacheHelpMessage=function(){E=this.help()},n.clearCachedHelpMessage=function(){E=void 0},n.hasCachedHelpMessage=function(){return!!E};function x(B,A,O,N){let z=[],C=null;return Object.keys(O).forEach(k=>{z=z.concat(O[k])}),B.forEach(k=>{C=[k].concat(A[k]),C.some(q=>z.indexOf(q)!==-1)||O[N].push(k)}),z}function m(B){return t.getOptions().hiddenOptions.indexOf(B)<0||t.parsed.argv[t.getOptions().showHiddenOpt]}n.showHelp=B=>{const A=t.getInternalMethods().getLoggerInstance();B||(B="error"),(typeof B=="function"?B:A[B])(n.help())},n.functionDescription=B=>["(",B.name?e.Parser.decamelize(B.name,"-"):r("generated-value"),")"].join(""),n.stringifiedValues=function(A,O){let N="";const z=O||", ",C=[].concat(A);return!A||!C.length||C.forEach(k=>{N.length&&(N+=z),N+=JSON.stringify(k)}),N};function F(B,A){let O=`[${r("default:")} `;if(B===void 0&&!A)return null;if(A)O+=A;else switch(typeof B){case"string":O+=`"${B}"`;break;case"object":O+=JSON.stringify(B);break;default:O+=B}return`${O}]`}function _(){return e.process.stdColumns?Math.min(80,e.process.stdColumns):80}let T=null;n.version=B=>{T=B},n.showVersion=B=>{const A=t.getInternalMethods().getLoggerInstance();B||(B="error"),(typeof B=="function"?B:A[B])(T)},n.reset=function(A){return a=null,c=!1,l=[],f=!1,d=[],p=[],u=[],h=Ri(h,O=>!A[O]),n};const M=[];return n.freeze=function(){M.push({failMessage:a,failureOutput:c,usages:l,usageDisabled:f,epilogs:d,examples:p,commands:u,descriptions:h})},n.unfreeze=function(A=!1){const O=M.pop();O&&(A?(h={...O.descriptions,...h},u=[...O.commands,...u],l=[...O.usages,...l],p=[...O.examples,...p],d=[...O.epilogs,...d]):{failMessage:a,failureOutput:c,usages:l,usageDisabled:f,epilogs:d,examples:p,commands:u,descriptions:h}=O)},n}function np(t){return typeof t=="object"}function UA(t,e){return np(t)?{text:t.text,indentation:t.indentation+e}:{text:t,indentation:e}}function i2(t){return np(t)?t.indentation:0}function Rs(t){return np(t)?t.text:t}const zA=`###-begin-{{app_name}}-completions-###
|
|
75
|
-
#
|
|
76
|
-
# yargs command completion script
|
|
77
|
-
#
|
|
78
|
-
# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc
|
|
79
|
-
# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.
|
|
80
|
-
#
|
|
81
|
-
_{{app_name}}_yargs_completions()
|
|
82
|
-
{
|
|
83
|
-
local cur_word args type_list
|
|
84
|
-
|
|
85
|
-
cur_word="\${COMP_WORDS[COMP_CWORD]}"
|
|
86
|
-
args=("\${COMP_WORDS[@]}")
|
|
87
|
-
|
|
88
|
-
# ask yargs to generate completions.
|
|
89
|
-
# see https://stackoverflow.com/a/40944195/7080036 for the spaces-handling awk
|
|
90
|
-
mapfile -t type_list < <({{app_path}} --get-yargs-completions "\${args[@]}")
|
|
91
|
-
mapfile -t COMPREPLY < <(compgen -W "$( printf '%q ' "\${type_list[@]}" )" -- "\${cur_word}" |
|
|
92
|
-
awk '/ / { print "\\""$0"\\"" } /^[^ ]+$/ { print $0 }')
|
|
93
|
-
|
|
94
|
-
# if no match was found, fall back to filename completion
|
|
95
|
-
if [ \${#COMPREPLY[@]} -eq 0 ]; then
|
|
96
|
-
COMPREPLY=()
|
|
97
|
-
fi
|
|
98
|
-
|
|
99
|
-
return 0
|
|
100
|
-
}
|
|
101
|
-
complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
|
|
102
|
-
###-end-{{app_name}}-completions-###
|
|
103
|
-
`,HA=`#compdef {{app_name}}
|
|
104
|
-
###-begin-{{app_name}}-completions-###
|
|
105
|
-
#
|
|
106
|
-
# yargs command completion script
|
|
107
|
-
#
|
|
108
|
-
# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc
|
|
109
|
-
# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.
|
|
110
|
-
#
|
|
111
|
-
_{{app_name}}_yargs_completions()
|
|
112
|
-
{
|
|
113
|
-
local reply
|
|
114
|
-
local si=$IFS
|
|
115
|
-
IFS=$'
|
|
116
|
-
' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "\${words[@]}"))
|
|
117
|
-
IFS=$si
|
|
118
|
-
if [[ \${#reply} -gt 0 ]]; then
|
|
119
|
-
_describe 'values' reply
|
|
120
|
-
else
|
|
121
|
-
_default
|
|
122
|
-
fi
|
|
123
|
-
}
|
|
124
|
-
if [[ "'\${zsh_eval_context[-1]}" == "loadautofunc" ]]; then
|
|
125
|
-
_{{app_name}}_yargs_completions "$@"
|
|
126
|
-
else
|
|
127
|
-
compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
128
|
-
fi
|
|
129
|
-
###-end-{{app_name}}-completions-###
|
|
130
|
-
`;class VA{constructor(e,r,n,i){var a,s,o;this.yargs=e,this.usage=r,this.command=n,this.shim=i,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(o=((a=this.shim.getEnv("SHELL"))===null||a===void 0?void 0:a.includes("zsh"))||((s=this.shim.getEnv("ZSH_NAME"))===null||s===void 0?void 0:s.includes("zsh")))!==null&&o!==void 0?o:!1}defaultCompletion(e,r,n,i){const a=this.command.getCommandHandlers();for(let o=0,c=e.length;o<c;++o)if(a[e[o]]&&a[e[o]].builder){const l=a[e[o]].builder;if(rf(l)){this.indexAfterLastReset=o+1;const f=this.yargs.getInternalMethods().reset();return l(f,!0),f.argv}}const s=[];this.commandCompletions(s,e,n),this.optionCompletions(s,e,r,n),this.choicesFromOptionsCompletions(s,e,r,n),this.choicesFromPositionalsCompletions(s,e,r,n),i(null,s)}commandCompletions(e,r,n){const i=this.yargs.getInternalMethods().getContext().commands;!n.match(/^-/)&&i[i.length-1]!==n&&!this.previousArgHasChoices(r)&&this.usage.getCommands().forEach(a=>{const s=Ai(a[0]).cmd;if(r.indexOf(s)===-1)if(!this.zshShell)e.push(s);else{const o=a[1]||"";e.push(s.replace(/:/g,"\\:")+":"+o)}})}optionCompletions(e,r,n,i){if((i.match(/^-/)||i===""&&e.length===0)&&!this.previousArgHasChoices(r)){const a=this.yargs.getOptions(),s=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(a.key).forEach(o=>{const c=!!a.configuration["boolean-negation"]&&a.boolean.includes(o);!s.includes(o)&&!a.hiddenOptions.includes(o)&&!this.argsContainKey(r,o,c)&&this.completeOptionKey(o,e,i,c&&!!a.default[o])})}}choicesFromOptionsCompletions(e,r,n,i){if(this.previousArgHasChoices(r)){const a=this.getPreviousArgChoices(r);a&&a.length>0&&e.push(...a.map(s=>s.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(e,r,n,i){if(i===""&&e.length>0&&this.previousArgHasChoices(r))return;const a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],s=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=a[n._.length-s-1];if(!o)return;const c=this.yargs.getOptions().choices[o]||[];for(const l of c)l.startsWith(i)&&e.push(l.replace(/:/g,"\\:"))}getPreviousArgChoices(e){if(e.length<1)return;let r=e[e.length-1],n="";if(!r.startsWith("-")&&e.length>1&&(n=r,r=e[e.length-2]),!r.startsWith("-"))return;const i=r.replace(/^-+/,""),a=this.yargs.getOptions(),s=[i,...this.yargs.getAliases()[i]||[]];let o;for(const c of s)if(Object.prototype.hasOwnProperty.call(a.key,c)&&Array.isArray(a.choices[c])){o=a.choices[c];break}if(o)return o.filter(c=>!n||c.startsWith(n))}previousArgHasChoices(e){const r=this.getPreviousArgChoices(e);return r!==void 0&&r.length>0}argsContainKey(e,r,n){const i=a=>e.indexOf((/^[^0-9]$/.test(a)?"-":"--")+a)!==-1;if(i(r)||n&&i(`no-${r}`))return!0;if(this.aliases){for(const a of this.aliases[r])if(i(a))return!0}return!1}completeOptionKey(e,r,n,i){var a,s,o,c;let l=e;if(this.zshShell){const h=this.usage.getDescriptions(),d=(s=(a=this===null||this===void 0?void 0:this.aliases)===null||a===void 0?void 0:a[e])===null||s===void 0?void 0:s.find(g=>{const y=h[g];return typeof y=="string"&&y.length>0}),b=d?h[d]:void 0,D=(c=(o=h[e])!==null&&o!==void 0?o:b)!==null&&c!==void 0?c:"";l=`${e.replace(/:/g,"\\:")}:${D.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const f=h=>/^--/.test(h),p=h=>/^[^0-9]$/.test(h),u=!f(n)&&p(e)?"-":"--";r.push(u+l),i&&r.push(u+"no-"+l)}customCompletion(e,r,n,i){if(Zt(this.customCompletionFunction,null,this.shim),GA(this.customCompletionFunction)){const a=this.customCompletionFunction(n,r);return rt(a)?a.then(s=>{this.shim.process.nextTick(()=>{i(null,s)})}).catch(s=>{this.shim.process.nextTick(()=>{i(s,void 0)})}):i(null,a)}else return YA(this.customCompletionFunction)?this.customCompletionFunction(n,r,(a=i)=>this.defaultCompletion(e,r,n,a),a=>{i(null,a)}):this.customCompletionFunction(n,r,a=>{i(null,a)})}getCompletion(e,r){const n=e.length?e[e.length-1]:"",i=this.yargs.parse(e,!0),a=this.customCompletionFunction?s=>this.customCompletion(e,s,n,r):s=>this.defaultCompletion(e,s,n,r);return rt(i)?i.then(a):a(i)}generateCompletionScript(e,r){let n=this.zshShell?HA:zA;const i=this.shim.path.basename(e);return e.match(/\.js$/)&&(e=`./${e}`),n=n.replace(/{{app_name}}/g,i),n=n.replace(/{{completion_command}}/g,r),n.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function WA(t,e,r,n){return new VA(t,e,r,n)}function GA(t){return t.length<3}function YA(t){return t.length>3}function ZA(t,e){if(t.length===0)return e.length;if(e.length===0)return t.length;const r=[];let n;for(n=0;n<=e.length;n++)r[n]=[n];let i;for(i=0;i<=t.length;i++)r[0][i]=i;for(n=1;n<=e.length;n++)for(i=1;i<=t.length;i++)e.charAt(n-1)===t.charAt(i-1)?r[n][i]=r[n-1][i-1]:n>1&&i>1&&e.charAt(n-2)===t.charAt(i-1)&&e.charAt(n-1)===t.charAt(i-2)?r[n][i]=r[n-2][i-2]+1:r[n][i]=Math.min(r[n-1][i-1]+1,Math.min(r[n][i-1]+1,r[n-1][i]+1));return r[e.length][t.length]}const s2=["$0","--","_"];function JA(t,e,r){const n=r.y18n.__,i=r.y18n.__n,a={};a.nonOptionCount=function(p){const u=t.getDemandedCommands(),d=p._.length+(p["--"]?p["--"].length:0)-t.getInternalMethods().getContext().commands.length;u._&&(d<u._.min||d>u._.max)&&(d<u._.min?u._.minMsg!==void 0?e.fail(u._.minMsg?u._.minMsg.replace(/\$0/g,d.toString()).replace(/\$1/,u._.min.toString()):null):e.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",d,d.toString(),u._.min.toString())):d>u._.max&&(u._.maxMsg!==void 0?e.fail(u._.maxMsg?u._.maxMsg.replace(/\$0/g,d.toString()).replace(/\$1/,u._.max.toString()):null):e.fail(i("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",d,d.toString(),u._.max.toString()))))},a.positionalCount=function(p,u){u<p&&e.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",u,u+"",p+""))},a.requiredArguments=function(p,u){let h=null;for(const d of Object.keys(u))(!Object.prototype.hasOwnProperty.call(p,d)||typeof p[d]>"u")&&(h=h||{},h[d]=u[d]);if(h){const d=[];for(const D of Object.keys(h)){const g=h[D];g&&d.indexOf(g)<0&&d.push(g)}const b=d.length?`
|
|
131
|
-
${d.join(`
|
|
132
|
-
`)}`:"";e.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(h).length,Object.keys(h).join(", ")+b))}},a.unknownArguments=function(p,u,h,d,b=!0){var D;const g=t.getInternalMethods().getCommandInstance().getCommands(),y=[],w=t.getInternalMethods().getContext();if(Object.keys(p).forEach(E=>{!s2.includes(E)&&!Object.prototype.hasOwnProperty.call(h,E)&&!Object.prototype.hasOwnProperty.call(t.getInternalMethods().getParseContext(),E)&&!a.isValidAndSomeAliasIsNotNew(E,u)&&y.push(E)}),b&&(w.commands.length>0||g.length>0||d)&&p._.slice(w.commands.length).forEach(E=>{g.includes(""+E)||y.push(""+E)}),b){const x=((D=t.getDemandedCommands()._)===null||D===void 0?void 0:D.max)||0,m=w.commands.length+x;m<p._.length&&p._.slice(m).forEach(F=>{F=String(F),!w.commands.includes(F)&&!y.includes(F)&&y.push(F)})}y.length&&e.fail(i("Unknown argument: %s","Unknown arguments: %s",y.length,y.map(E=>E.trim()?E:`"${E}"`).join(", ")))},a.unknownCommands=function(p){const u=t.getInternalMethods().getCommandInstance().getCommands(),h=[],d=t.getInternalMethods().getContext();return(d.commands.length>0||u.length>0)&&p._.slice(d.commands.length).forEach(b=>{u.includes(""+b)||h.push(""+b)}),h.length>0?(e.fail(i("Unknown command: %s","Unknown commands: %s",h.length,h.join(", "))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(p,u){if(!Object.prototype.hasOwnProperty.call(u,p))return!1;const h=t.parsed.newAliases;return[p,...u[p]].some(d=>!Object.prototype.hasOwnProperty.call(h,d)||!h[p])},a.limitedChoices=function(p){const u=t.getOptions(),h={};if(!Object.keys(u.choices).length)return;Object.keys(p).forEach(D=>{s2.indexOf(D)===-1&&Object.prototype.hasOwnProperty.call(u.choices,D)&&[].concat(p[D]).forEach(g=>{u.choices[D].indexOf(g)===-1&&g!==void 0&&(h[D]=(h[D]||[]).concat(g))})});const d=Object.keys(h);if(!d.length)return;let b=n("Invalid values:");d.forEach(D=>{b+=`
|
|
133
|
-
${n("Argument: %s, Given: %s, Choices: %s",D,e.stringifiedValues(h[D]),e.stringifiedValues(u.choices[D]))}`}),e.fail(b)};let s={};a.implies=function(p,u){Se("<string|object> [array|number|string]",[p,u],arguments.length),typeof p=="object"?Object.keys(p).forEach(h=>{a.implies(h,p[h])}):(t.global(p),s[p]||(s[p]=[]),Array.isArray(u)?u.forEach(h=>a.implies(p,h)):(Zt(u,void 0,r),s[p].push(u)))},a.getImplied=function(){return s};function o(f,p){const u=Number(p);return p=isNaN(u)?p:u,typeof p=="number"?p=f._.length>=p:p.match(/^--no-.+/)?(p=p.match(/^--no-(.+)/)[1],p=!Object.prototype.hasOwnProperty.call(f,p)):p=Object.prototype.hasOwnProperty.call(f,p),p}a.implications=function(p){const u=[];if(Object.keys(s).forEach(h=>{const d=h;(s[h]||[]).forEach(b=>{let D=d;const g=b;D=o(p,D),b=o(p,b),D&&!b&&u.push(` ${d} -> ${g}`)})}),u.length){let h=`${n("Implications failed:")}
|
|
134
|
-
`;u.forEach(d=>{h+=d}),e.fail(h)}};let c={};a.conflicts=function(p,u){Se("<string|object> [array|string]",[p,u],arguments.length),typeof p=="object"?Object.keys(p).forEach(h=>{a.conflicts(h,p[h])}):(t.global(p),c[p]||(c[p]=[]),Array.isArray(u)?u.forEach(h=>a.conflicts(p,h)):c[p].push(u))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(u=>{c[u]&&c[u].forEach(h=>{h&&p[u]!==void 0&&p[h]!==void 0&&e.fail(n("Arguments %s and %s are mutually exclusive",u,h))})}),t.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(u=>{c[u].forEach(h=>{h&&p[r.Parser.camelCase(u)]!==void 0&&p[r.Parser.camelCase(h)]!==void 0&&e.fail(n("Arguments %s and %s are mutually exclusive",u,h))})})},a.recommendCommands=function(p,u){u=u.sort((D,g)=>g.length-D.length);let d=null,b=1/0;for(let D=0,g;(g=u[D])!==void 0;D++){const y=ZA(p,g);y<=3&&y<b&&(b=y,d=g)}d&&e.fail(n("Did you mean %s?",d))},a.reset=function(p){return s=Ri(s,u=>!p[u]),c=Ri(c,u=>!p[u]),a};const l=[];return a.freeze=function(){l.push({implied:s,conflicting:c})},a.unfreeze=function(){const p=l.pop();Zt(p,void 0,r),{implied:s,conflicting:c}=p},a}let nf=[],bi;function sf(t,e,r,n){bi=n;let i={};if(Object.prototype.hasOwnProperty.call(t,"extends")){if(typeof t.extends!="string")return i;const a=/\.json|\..*rc$/.test(t.extends);let s=null;if(a)s=XA(e,t.extends);else try{s=(void 0)(t.extends)}catch{return t}KA(s),nf.push(s),i=a?JSON.parse(bi.readFileSync(s,"utf8")):n.require(t.extends),delete t.extends,i=sf(i,bi.path.dirname(s),r,bi)}return nf=[],r?Ab(i,t):Object.assign({},i,t)}function KA(t){if(nf.indexOf(t)>-1)throw new st(`Circular extended configurations: '${t}'.`)}function XA(t,e){return bi.path.resolve(t,e)}function Ab(t,e){const r={};function n(i){return i&&typeof i=="object"&&!Array.isArray(i)}Object.assign(r,t);for(const i of Object.keys(e))n(e[i])&&n(r[i])?r[i]=Ab(t[i],e[i]):r[i]=e[i];return r}var _e=function(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r},P=function(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)},et,Vr,ci,mt,wt,ks,Cr,Wr,qs,Ot,Ps,Tt,tr,Et,Bt,Is,Gr,nt,Oe,Ns,Ms,Ft,Yr,xn,Zr,Ar,js,Re,Jr,Kr,Xr,Pe,Ls,rr,Ke;function QA(t){return(e=[],r=t.process.cwd(),n)=>{const i=new t3(e,r,n,t);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}}const a2=Symbol("copyDoubleDash"),o2=Symbol("copyDoubleDash"),hl=Symbol("deleteFromParserHintObject"),u2=Symbol("emitWarning"),c2=Symbol("freeze"),l2=Symbol("getDollarZero"),Qr=Symbol("getParserConfiguration"),f2=Symbol("getUsageConfiguration"),ml=Symbol("guessLocale"),p2=Symbol("guessVersion"),d2=Symbol("parsePositionalNumbers"),gl=Symbol("pkgUp"),_r=Symbol("populateParserHintArray"),wn=Symbol("populateParserHintSingleValueDictionary"),Dl=Symbol("populateParserHintArrayDictionary"),yl=Symbol("populateParserHintDictionary"),bl=Symbol("sanitizeKey"),vl=Symbol("setKey"),xl=Symbol("unfreeze"),h2=Symbol("validateAsync"),m2=Symbol("getCommandInstance"),g2=Symbol("getContext"),D2=Symbol("getHasOutput"),y2=Symbol("getLoggerInstance"),b2=Symbol("getParseContext"),v2=Symbol("getUsageInstance"),x2=Symbol("getValidationInstance"),$s=Symbol("hasParseCallback"),w2=Symbol("isGlobalContext"),en=Symbol("postProcess"),E2=Symbol("rebase"),wl=Symbol("reset"),li=Symbol("runYargsParserAndExecuteCommands"),El=Symbol("runValidation"),F2=Symbol("setHasOutput"),tn=Symbol("kTrackManuallySetKeys"),e3="en_US";class t3{constructor(e=[],r,n,i){this.customScriptName=!1,this.parsed=!1,et.set(this,void 0),Vr.set(this,void 0),ci.set(this,{commands:[],fullCommands:[]}),mt.set(this,null),wt.set(this,null),ks.set(this,"show-hidden"),Cr.set(this,null),Wr.set(this,!0),qs.set(this,{}),Ot.set(this,!0),Ps.set(this,[]),Tt.set(this,void 0),tr.set(this,{}),Et.set(this,!1),Bt.set(this,null),Is.set(this,!0),Gr.set(this,void 0),nt.set(this,""),Oe.set(this,void 0),Ns.set(this,void 0),Ms.set(this,{}),Ft.set(this,null),Yr.set(this,null),xn.set(this,{}),Zr.set(this,{}),Ar.set(this,void 0),js.set(this,!1),Re.set(this,void 0),Jr.set(this,!1),Kr.set(this,!1),Xr.set(this,!1),Pe.set(this,void 0),Ls.set(this,{}),rr.set(this,null),Ke.set(this,void 0),_e(this,Re,i,"f"),_e(this,Ar,e,"f"),_e(this,Vr,r,"f"),_e(this,Ns,n,"f"),_e(this,Tt,new RA(this),"f"),this.$0=this[l2](),this[wl](),_e(this,et,P(this,et,"f"),"f"),_e(this,Pe,P(this,Pe,"f"),"f"),_e(this,Ke,P(this,Ke,"f"),"f"),_e(this,Oe,P(this,Oe,"f"),"f"),P(this,Oe,"f").showHiddenOpt=P(this,ks,"f"),_e(this,Gr,this[o2](),"f"),P(this,Re,"f").y18n.setLocale(e3)}addHelpOpt(e,r){const n="help";return Se("[string|boolean] [string]",[e,r],arguments.length),P(this,Bt,"f")&&(this[hl](P(this,Bt,"f")),_e(this,Bt,null,"f")),e===!1&&r===void 0?this:(_e(this,Bt,typeof e=="string"?e:n,"f"),this.boolean(P(this,Bt,"f")),this.describe(P(this,Bt,"f"),r||P(this,Pe,"f").deferY18nLookup("Show help")),this)}help(e,r){return this.addHelpOpt(e,r)}addShowHiddenOpt(e,r){if(Se("[string|boolean] [string]",[e,r],arguments.length),e===!1&&r===void 0)return this;const n=typeof e=="string"?e:P(this,ks,"f");return this.boolean(n),this.describe(n,r||P(this,Pe,"f").deferY18nLookup("Show hidden options")),P(this,Oe,"f").showHiddenOpt=n,this}showHidden(e,r){return this.addShowHiddenOpt(e,r)}alias(e,r){return Se("<object|string|array> [string|array]",[e,r],arguments.length),this[Dl](this.alias.bind(this),"alias",e,r),this}array(e){return Se("<array|string>",[e],arguments.length),this[_r]("array",e),this[tn](e),this}boolean(e){return Se("<array|string>",[e],arguments.length),this[_r]("boolean",e),this[tn](e),this}check(e,r){return Se("<function> [boolean]",[e,r],arguments.length),this.middleware((n,i)=>Si(()=>e(n,i.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&P(this,Pe,"f").fail(a.toString(),a):P(this,Pe,"f").fail(P(this,Re,"f").y18n.__("Argument check failed: %s",e.toString())),n),a=>(P(this,Pe,"f").fail(a.message?a.message:a.toString(),a),n)),!1,r),this}choices(e,r){return Se("<object|string|array> [string|array]",[e,r],arguments.length),this[Dl](this.choices.bind(this),"choices",e,r),this}coerce(e,r){if(Se("<object|string|array> [function]",[e,r],arguments.length),Array.isArray(e)){if(!r)throw new st("coerce callback must be provided");for(const i of e)this.coerce(i,r);return this}else if(typeof e=="object"){for(const i of Object.keys(e))this.coerce(i,e[i]);return this}if(!r)throw new st("coerce callback must be provided");const n=e;return P(this,Oe,"f").key[n]=!0,P(this,Tt,"f").addCoerceMiddleware((i,a)=>{var s;const o=(s=a.getAliases()[n])!==null&&s!==void 0?s:[],c=[n,...o].filter(l=>Object.prototype.hasOwnProperty.call(i,l));return c.length===0?i:Si(()=>r(i[c[0]]),l=>(c.forEach(f=>{i[f]=l}),i),l=>{throw new st(l.message)})},n),this}conflicts(e,r){return Se("<string|object> [string|array]",[e,r],arguments.length),P(this,Ke,"f").conflicts(e,r),this}config(e="config",r,n){return Se("[object|string] [string|function] [function]",[e,r,n],arguments.length),typeof e=="object"&&!Array.isArray(e)?(e=sf(e,P(this,Vr,"f"),this[Qr]()["deep-merge-config"]||!1,P(this,Re,"f")),P(this,Oe,"f").configObjects=(P(this,Oe,"f").configObjects||[]).concat(e),this):(typeof r=="function"&&(n=r,r=void 0),this.describe(e,r||P(this,Pe,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(e)?e:[e]).forEach(i=>{P(this,Oe,"f").config[i]=n||!0}),this)}completion(e,r,n){return Se("[string] [string|boolean|function] [function]",[e,r,n],arguments.length),typeof r=="function"&&(n=r,r=void 0),_e(this,wt,e||P(this,wt,"f")||"completion","f"),!r&&r!==!1&&(r="generate completion script"),this.command(P(this,wt,"f"),r),n&&P(this,mt,"f").registerFunction(n),this}command(e,r,n,i,a,s){return Se("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,r,n,i,a,s],arguments.length),P(this,et,"f").addHandler(e,r,n,i,a,s),this}commands(e,r,n,i,a,s){return this.command(e,r,n,i,a,s)}commandDir(e,r){Se("<string> [object]",[e,r],arguments.length);const n=P(this,Ns,"f")||P(this,Re,"f").require;return P(this,et,"f").addDirectory(e,n,P(this,Re,"f").getCallerFile(),r),this}count(e){return Se("<array|string>",[e],arguments.length),this[_r]("count",e),this[tn](e),this}default(e,r,n){return Se("<object|string|array> [*] [string]",[e,r,n],arguments.length),n&&(e2(e,P(this,Re,"f")),P(this,Oe,"f").defaultDescription[e]=n),typeof r=="function"&&(e2(e,P(this,Re,"f")),P(this,Oe,"f").defaultDescription[e]||(P(this,Oe,"f").defaultDescription[e]=P(this,Pe,"f").functionDescription(r)),r=r.call()),this[wn](this.default.bind(this),"default",e,r),this}defaults(e,r,n){return this.default(e,r,n)}demandCommand(e=1,r,n,i){return Se("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,r,n,i],arguments.length),typeof r!="number"&&(n=r,r=1/0),this.global("_",!1),P(this,Oe,"f").demandedCommands._={min:e,max:r,minMsg:n,maxMsg:i},this}demand(e,r,n){return Array.isArray(r)?(r.forEach(i=>{Zt(n,!0,P(this,Re,"f")),this.demandOption(i,n)}),r=1/0):typeof r!="number"&&(n=r,r=1/0),typeof e=="number"?(Zt(n,!0,P(this,Re,"f")),this.demandCommand(e,r,n,n)):Array.isArray(e)?e.forEach(i=>{Zt(n,!0,P(this,Re,"f")),this.demandOption(i,n)}):typeof n=="string"?this.demandOption(e,n):(n===!0||typeof n>"u")&&this.demandOption(e),this}demandOption(e,r){return Se("<object|string|array> [string]",[e,r],arguments.length),this[wn](this.demandOption.bind(this),"demandedOptions",e,r),this}deprecateOption(e,r){return Se("<string> [string|boolean]",[e,r],arguments.length),P(this,Oe,"f").deprecatedOptions[e]=r,this}describe(e,r){return Se("<object|string|array> [string]",[e,r],arguments.length),this[vl](e,!0),P(this,Pe,"f").describe(e,r),this}detectLocale(e){return Se("<boolean>",[e],arguments.length),_e(this,Wr,e,"f"),this}env(e){return Se("[string|boolean]",[e],arguments.length),e===!1?delete P(this,Oe,"f").envPrefix:P(this,Oe,"f").envPrefix=e||"",this}epilogue(e){return Se("<string>",[e],arguments.length),P(this,Pe,"f").epilog(e),this}epilog(e){return this.epilogue(e)}example(e,r){return Se("<string|array> [string]",[e,r],arguments.length),Array.isArray(e)?e.forEach(n=>this.example(...n)):P(this,Pe,"f").example(e,r),this}exit(e,r){_e(this,Et,!0,"f"),_e(this,Cr,r,"f"),P(this,Ot,"f")&&P(this,Re,"f").process.exit(e)}exitProcess(e=!0){return Se("[boolean]",[e],arguments.length),_e(this,Ot,e,"f"),this}fail(e){if(Se("<function|boolean>",[e],arguments.length),typeof e=="boolean"&&e!==!1)throw new st("Invalid first argument. Expected function or boolean 'false'");return P(this,Pe,"f").failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,r){return Se("<array> [function]",[e,r],arguments.length),r?P(this,mt,"f").getCompletion(e,r):new Promise((n,i)=>{P(this,mt,"f").getCompletion(e,(a,s)=>{a?i(a):n(s)})})}getDemandedOptions(){return Se([],0),P(this,Oe,"f").demandedOptions}getDemandedCommands(){return Se([],0),P(this,Oe,"f").demandedCommands}getDeprecatedOptions(){return Se([],0),P(this,Oe,"f").deprecatedOptions}getDetectLocale(){return P(this,Wr,"f")}getExitProcess(){return P(this,Ot,"f")}getGroups(){return Object.assign({},P(this,tr,"f"),P(this,Zr,"f"))}getHelp(){if(_e(this,Et,!0,"f"),!P(this,Pe,"f").hasCachedHelpMessage()){if(!this.parsed){const r=this[li](P(this,Ar,"f"),void 0,void 0,0,!0);if(rt(r))return r.then(()=>P(this,Pe,"f").help())}const e=P(this,et,"f").runDefaultBuilderOn(this);if(rt(e))return e.then(()=>P(this,Pe,"f").help())}return Promise.resolve(P(this,Pe,"f").help())}getOptions(){return P(this,Oe,"f")}getStrict(){return P(this,Jr,"f")}getStrictCommands(){return P(this,Kr,"f")}getStrictOptions(){return P(this,Xr,"f")}global(e,r){return Se("<string|array> [boolean]",[e,r],arguments.length),e=[].concat(e),r!==!1?P(this,Oe,"f").local=P(this,Oe,"f").local.filter(n=>e.indexOf(n)===-1):e.forEach(n=>{P(this,Oe,"f").local.includes(n)||P(this,Oe,"f").local.push(n)}),this}group(e,r){Se("<string|array> <string>",[e,r],arguments.length);const n=P(this,Zr,"f")[r]||P(this,tr,"f")[r];P(this,Zr,"f")[r]&&delete P(this,Zr,"f")[r];const i={};return P(this,tr,"f")[r]=(n||[]).concat(e).filter(a=>i[a]?!1:i[a]=!0),this}hide(e){return Se("<string>",[e],arguments.length),P(this,Oe,"f").hiddenOptions.push(e),this}implies(e,r){return Se("<string|object> [number|string|array]",[e,r],arguments.length),P(this,Ke,"f").implies(e,r),this}locale(e){return Se("[string]",[e],arguments.length),e===void 0?(this[ml](),P(this,Re,"f").y18n.getLocale()):(_e(this,Wr,!1,"f"),P(this,Re,"f").y18n.setLocale(e),this)}middleware(e,r,n){return P(this,Tt,"f").addMiddleware(e,!!r,n)}nargs(e,r){return Se("<string|object|array> [number]",[e,r],arguments.length),this[wn](this.nargs.bind(this),"narg",e,r),this}normalize(e){return Se("<array|string>",[e],arguments.length),this[_r]("normalize",e),this}number(e){return Se("<array|string>",[e],arguments.length),this[_r]("number",e),this[tn](e),this}option(e,r){if(Se("<string|object> [object]",[e,r],arguments.length),typeof e=="object")Object.keys(e).forEach(n=>{this.options(n,e[n])});else{typeof r!="object"&&(r={}),this[tn](e),P(this,rr,"f")&&(e==="version"||r?.alias==="version")&&this[u2](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
|
|
135
|
-
`),void 0,"versionWarning"),P(this,Oe,"f").key[e]=!0,r.alias&&this.alias(e,r.alias);const n=r.deprecate||r.deprecated;n&&this.deprecateOption(e,n);const i=r.demand||r.required||r.require;i&&this.demand(e,i),r.demandOption&&this.demandOption(e,typeof r.demandOption=="string"?r.demandOption:void 0),r.conflicts&&this.conflicts(e,r.conflicts),"default"in r&&this.default(e,r.default),r.implies!==void 0&&this.implies(e,r.implies),r.nargs!==void 0&&this.nargs(e,r.nargs),r.config&&this.config(e,r.configParser),r.normalize&&this.normalize(e),r.choices&&this.choices(e,r.choices),r.coerce&&this.coerce(e,r.coerce),r.group&&this.group(e,r.group),(r.boolean||r.type==="boolean")&&(this.boolean(e),r.alias&&this.boolean(r.alias)),(r.array||r.type==="array")&&(this.array(e),r.alias&&this.array(r.alias)),(r.number||r.type==="number")&&(this.number(e),r.alias&&this.number(r.alias)),(r.string||r.type==="string")&&(this.string(e),r.alias&&this.string(r.alias)),(r.count||r.type==="count")&&this.count(e),typeof r.global=="boolean"&&this.global(e,r.global),r.defaultDescription&&(P(this,Oe,"f").defaultDescription[e]=r.defaultDescription),r.skipValidation&&this.skipValidation(e);const a=r.describe||r.description||r.desc,s=P(this,Pe,"f").getDescriptions();(!Object.prototype.hasOwnProperty.call(s,e)||typeof a=="string")&&this.describe(e,a),r.hidden&&this.hide(e),r.requiresArg&&this.requiresArg(e)}return this}options(e,r){return this.option(e,r)}parse(e,r,n){Se("[string|array] [function|boolean|object] [function]",[e,r,n],arguments.length),this[c2](),typeof e>"u"&&(e=P(this,Ar,"f")),typeof r=="object"&&(_e(this,Yr,r,"f"),r=n),typeof r=="function"&&(_e(this,Ft,r,"f"),r=!1),r||_e(this,Ar,e,"f"),P(this,Ft,"f")&&_e(this,Ot,!1,"f");const i=this[li](e,!!r),a=this.parsed;return P(this,mt,"f").setParsed(this.parsed),rt(i)?i.then(s=>(P(this,Ft,"f")&&P(this,Ft,"f").call(this,P(this,Cr,"f"),s,P(this,nt,"f")),s)).catch(s=>{throw P(this,Ft,"f")&&P(this,Ft,"f")(s,this.parsed.argv,P(this,nt,"f")),s}).finally(()=>{this[xl](),this.parsed=a}):(P(this,Ft,"f")&&P(this,Ft,"f").call(this,P(this,Cr,"f"),i,P(this,nt,"f")),this[xl](),this.parsed=a,i)}parseAsync(e,r,n){const i=this.parse(e,r,n);return rt(i)?i:Promise.resolve(i)}parseSync(e,r,n){const i=this.parse(e,r,n);if(rt(i))throw new st(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return i}parserConfiguration(e){return Se("<object>",[e],arguments.length),_e(this,Ms,e,"f"),this}pkgConf(e,r){Se("<string> [string]",[e,r],arguments.length);let n=null;const i=this[gl](r||P(this,Vr,"f"));return i[e]&&typeof i[e]=="object"&&(n=sf(i[e],r||P(this,Vr,"f"),this[Qr]()["deep-merge-config"]||!1,P(this,Re,"f")),P(this,Oe,"f").configObjects=(P(this,Oe,"f").configObjects||[]).concat(n)),this}positional(e,r){Se("<string> <object>",[e,r],arguments.length);const n=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];r=Ri(r,(s,o)=>s==="type"&&!["string","number","boolean"].includes(o)?!1:n.includes(s));const i=P(this,ci,"f").fullCommands[P(this,ci,"f").fullCommands.length-1],a=i?P(this,et,"f").cmdToParseOptions(i):{array:[],alias:{},default:{},demand:{}};return oa(a).forEach(s=>{const o=a[s];Array.isArray(o)?o.indexOf(e)!==-1&&(r[s]=!0):o[e]&&!(s in r)&&(r[s]=o[e])}),this.group(e,P(this,Pe,"f").getPositionalGroupName()),this.option(e,r)}recommendCommands(e=!0){return Se("[boolean]",[e],arguments.length),_e(this,js,e,"f"),this}required(e,r,n){return this.demand(e,r,n)}require(e,r,n){return this.demand(e,r,n)}requiresArg(e){return Se("<array|string|object> [number]",[e],arguments.length),typeof e=="string"&&P(this,Oe,"f").narg[e]?this:(this[wn](this.requiresArg.bind(this),"narg",e,NaN),this)}showCompletionScript(e,r){return Se("[string] [string]",[e,r],arguments.length),e=e||this.$0,P(this,Gr,"f").log(P(this,mt,"f").generateCompletionScript(e,r||P(this,wt,"f")||"completion")),this}showHelp(e){if(Se("[string|function]",[e],arguments.length),_e(this,Et,!0,"f"),!P(this,Pe,"f").hasCachedHelpMessage()){if(!this.parsed){const n=this[li](P(this,Ar,"f"),void 0,void 0,0,!0);if(rt(n))return n.then(()=>{P(this,Pe,"f").showHelp(e)}),this}const r=P(this,et,"f").runDefaultBuilderOn(this);if(rt(r))return r.then(()=>{P(this,Pe,"f").showHelp(e)}),this}return P(this,Pe,"f").showHelp(e),this}scriptName(e){return this.customScriptName=!0,this.$0=e,this}showHelpOnFail(e,r){return Se("[boolean|string] [string]",[e,r],arguments.length),P(this,Pe,"f").showHelpOnFail(e,r),this}showVersion(e){return Se("[string|function]",[e],arguments.length),P(this,Pe,"f").showVersion(e),this}skipValidation(e){return Se("<array|string>",[e],arguments.length),this[_r]("skipValidation",e),this}strict(e){return Se("[boolean]",[e],arguments.length),_e(this,Jr,e!==!1,"f"),this}strictCommands(e){return Se("[boolean]",[e],arguments.length),_e(this,Kr,e!==!1,"f"),this}strictOptions(e){return Se("[boolean]",[e],arguments.length),_e(this,Xr,e!==!1,"f"),this}string(e){return Se("<array|string>",[e],arguments.length),this[_r]("string",e),this[tn](e),this}terminalWidth(){return Se([],0),P(this,Re,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return Se("<object>",[e],arguments.length),_e(this,Wr,!1,"f"),P(this,Re,"f").y18n.updateLocale(e),this}usage(e,r,n,i){if(Se("<string|null|undefined> [string|boolean] [function|object] [function]",[e,r,n,i],arguments.length),r!==void 0){if(Zt(e,null,P(this,Re,"f")),(e||"").match(/^\$0( |$)/))return this.command(e,r,n,i);throw new st(".usage() description must start with $0 if being used as alias for .command()")}else return P(this,Pe,"f").usage(e),this}usageConfiguration(e){return Se("<object>",[e],arguments.length),_e(this,Ls,e,"f"),this}version(e,r,n){const i="version";if(Se("[boolean|string] [string] [string]",[e,r,n],arguments.length),P(this,rr,"f")&&(this[hl](P(this,rr,"f")),P(this,Pe,"f").version(void 0),_e(this,rr,null,"f")),arguments.length===0)n=this[p2](),e=i;else if(arguments.length===1){if(e===!1)return this;n=e,e=i}else arguments.length===2&&(n=r,r=void 0);return _e(this,rr,typeof e=="string"?e:i,"f"),r=r||P(this,Pe,"f").deferY18nLookup("Show version number"),P(this,Pe,"f").version(n||void 0),this.boolean(P(this,rr,"f")),this.describe(P(this,rr,"f"),r),this}wrap(e){return Se("<number|null|undefined>",[e],arguments.length),P(this,Pe,"f").wrap(e),this}[(et=new WeakMap,Vr=new WeakMap,ci=new WeakMap,mt=new WeakMap,wt=new WeakMap,ks=new WeakMap,Cr=new WeakMap,Wr=new WeakMap,qs=new WeakMap,Ot=new WeakMap,Ps=new WeakMap,Tt=new WeakMap,tr=new WeakMap,Et=new WeakMap,Bt=new WeakMap,Is=new WeakMap,Gr=new WeakMap,nt=new WeakMap,Oe=new WeakMap,Ns=new WeakMap,Ms=new WeakMap,Ft=new WeakMap,Yr=new WeakMap,xn=new WeakMap,Zr=new WeakMap,Ar=new WeakMap,js=new WeakMap,Re=new WeakMap,Jr=new WeakMap,Kr=new WeakMap,Xr=new WeakMap,Pe=new WeakMap,Ls=new WeakMap,rr=new WeakMap,Ke=new WeakMap,a2)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch{}return e}[o2](){return{log:(...e)=>{this[$s]()||console.log(...e),_e(this,Et,!0,"f"),P(this,nt,"f").length&&_e(this,nt,P(this,nt,"f")+`
|
|
136
|
-
`,"f"),_e(this,nt,P(this,nt,"f")+e.join(" "),"f")},error:(...e)=>{this[$s]()||console.error(...e),_e(this,Et,!0,"f"),P(this,nt,"f").length&&_e(this,nt,P(this,nt,"f")+`
|
|
137
|
-
`,"f"),_e(this,nt,P(this,nt,"f")+e.join(" "),"f")}}}[hl](e){oa(P(this,Oe,"f")).forEach(r=>{if((i=>i==="configObjects")(r))return;const n=P(this,Oe,"f")[r];Array.isArray(n)?n.includes(e)&&n.splice(n.indexOf(e),1):typeof n=="object"&&delete n[e]}),delete P(this,Pe,"f").getDescriptions()[e]}[u2](e,r,n){P(this,qs,"f")[n]||(P(this,Re,"f").process.emitWarning(e,r),P(this,qs,"f")[n]=!0)}[c2](){P(this,Ps,"f").push({options:P(this,Oe,"f"),configObjects:P(this,Oe,"f").configObjects.slice(0),exitProcess:P(this,Ot,"f"),groups:P(this,tr,"f"),strict:P(this,Jr,"f"),strictCommands:P(this,Kr,"f"),strictOptions:P(this,Xr,"f"),completionCommand:P(this,wt,"f"),output:P(this,nt,"f"),exitError:P(this,Cr,"f"),hasOutput:P(this,Et,"f"),parsed:this.parsed,parseFn:P(this,Ft,"f"),parseContext:P(this,Yr,"f")}),P(this,Pe,"f").freeze(),P(this,Ke,"f").freeze(),P(this,et,"f").freeze(),P(this,Tt,"f").freeze()}[l2](){let e="",r;return/\b(node|iojs|electron)(\.exe)?$/.test(P(this,Re,"f").process.argv()[0])?r=P(this,Re,"f").process.argv().slice(1,2):r=P(this,Re,"f").process.argv().slice(0,1),e=r.map(n=>{const i=this[E2](P(this,Vr,"f"),n);return n.match(/^(\/|([a-zA-Z]:)?\\)/)&&i.length<n.length?i:n}).join(" ").trim(),P(this,Re,"f").getEnv("_")&&P(this,Re,"f").getProcessArgvBin()===P(this,Re,"f").getEnv("_")&&(e=P(this,Re,"f").getEnv("_").replace(`${P(this,Re,"f").path.dirname(P(this,Re,"f").process.execPath())}/`,"")),e}[Qr](){return P(this,Ms,"f")}[f2](){return P(this,Ls,"f")}[ml](){if(!P(this,Wr,"f"))return;const e=P(this,Re,"f").getEnv("LC_ALL")||P(this,Re,"f").getEnv("LC_MESSAGES")||P(this,Re,"f").getEnv("LANG")||P(this,Re,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[p2](){return this[gl]().version||"unknown"}[d2](e){const r=e["--"]?e["--"]:e._;for(let n=0,i;(i=r[n])!==void 0;n++)P(this,Re,"f").Parser.looksLikeNumber(i)&&Number.isSafeInteger(Math.floor(parseFloat(`${i}`)))&&(r[n]=Number(i));return e}[gl](e){const r=e||"*";if(P(this,xn,"f")[r])return P(this,xn,"f")[r];let n={};try{let i=e||P(this,Re,"f").mainFilename;P(this,Re,"f").path.extname(i)&&(i=P(this,Re,"f").path.dirname(i));const a=P(this,Re,"f").findUp(i,(s,o)=>{if(o.includes("package.json"))return"package.json"});Zt(a,void 0,P(this,Re,"f")),n=JSON.parse(P(this,Re,"f").readFileSync(a,"utf8"))}catch{}return P(this,xn,"f")[r]=n||{},P(this,xn,"f")[r]}[_r](e,r){r=[].concat(r),r.forEach(n=>{n=this[bl](n),P(this,Oe,"f")[e].push(n)})}[wn](e,r,n,i){this[yl](e,r,n,i,(a,s,o)=>{P(this,Oe,"f")[a][s]=o})}[Dl](e,r,n,i){this[yl](e,r,n,i,(a,s,o)=>{P(this,Oe,"f")[a][s]=(P(this,Oe,"f")[a][s]||[]).concat(o)})}[yl](e,r,n,i,a){if(Array.isArray(n))n.forEach(s=>{e(s,i)});else if((s=>typeof s=="object")(n))for(const s of oa(n))e(s,n[s]);else a(r,this[bl](n),i)}[bl](e){return e==="__proto__"?"___proto___":e}[vl](e,r){return this[wn](this[vl].bind(this),"key",e,r),this}[xl](){var e,r,n,i,a,s,o,c,l,f,p,u;const h=P(this,Ps,"f").pop();Zt(h,void 0,P(this,Re,"f"));let d;e=this,r=this,n=this,i=this,a=this,s=this,o=this,c=this,l=this,f=this,p=this,u=this,{options:{set value(b){_e(e,Oe,b,"f")}}.value,configObjects:d,exitProcess:{set value(b){_e(r,Ot,b,"f")}}.value,groups:{set value(b){_e(n,tr,b,"f")}}.value,output:{set value(b){_e(i,nt,b,"f")}}.value,exitError:{set value(b){_e(a,Cr,b,"f")}}.value,hasOutput:{set value(b){_e(s,Et,b,"f")}}.value,parsed:this.parsed,strict:{set value(b){_e(o,Jr,b,"f")}}.value,strictCommands:{set value(b){_e(c,Kr,b,"f")}}.value,strictOptions:{set value(b){_e(l,Xr,b,"f")}}.value,completionCommand:{set value(b){_e(f,wt,b,"f")}}.value,parseFn:{set value(b){_e(p,Ft,b,"f")}}.value,parseContext:{set value(b){_e(u,Yr,b,"f")}}.value}=h,P(this,Oe,"f").configObjects=d,P(this,Pe,"f").unfreeze(),P(this,Ke,"f").unfreeze(),P(this,et,"f").unfreeze(),P(this,Tt,"f").unfreeze()}[h2](e,r){return Si(r,n=>(e(n),n))}getInternalMethods(){return{getCommandInstance:this[m2].bind(this),getContext:this[g2].bind(this),getHasOutput:this[D2].bind(this),getLoggerInstance:this[y2].bind(this),getParseContext:this[b2].bind(this),getParserConfiguration:this[Qr].bind(this),getUsageConfiguration:this[f2].bind(this),getUsageInstance:this[v2].bind(this),getValidationInstance:this[x2].bind(this),hasParseCallback:this[$s].bind(this),isGlobalContext:this[w2].bind(this),postProcess:this[en].bind(this),reset:this[wl].bind(this),runValidation:this[El].bind(this),runYargsParserAndExecuteCommands:this[li].bind(this),setHasOutput:this[F2].bind(this)}}[m2](){return P(this,et,"f")}[g2](){return P(this,ci,"f")}[D2](){return P(this,Et,"f")}[y2](){return P(this,Gr,"f")}[b2](){return P(this,Yr,"f")||{}}[v2](){return P(this,Pe,"f")}[x2](){return P(this,Ke,"f")}[$s](){return!!P(this,Ft,"f")}[w2](){return P(this,Is,"f")}[en](e,r,n,i){return n||rt(e)||(r||(e=this[a2](e)),(this[Qr]()["parse-positional-numbers"]||this[Qr]()["parse-positional-numbers"]===void 0)&&(e=this[d2](e)),i&&(e=_i(e,this,P(this,Tt,"f").getMiddleware(),!1))),e}[wl](e={}){_e(this,Oe,P(this,Oe,"f")||{},"f");const r={};r.local=P(this,Oe,"f").local||[],r.configObjects=P(this,Oe,"f").configObjects||[];const n={};r.local.forEach(s=>{n[s]=!0,(e[s]||[]).forEach(o=>{n[o]=!0})}),Object.assign(P(this,Zr,"f"),Object.keys(P(this,tr,"f")).reduce((s,o)=>{const c=P(this,tr,"f")[o].filter(l=>!(l in n));return c.length>0&&(s[o]=c),s},{})),_e(this,tr,{},"f");const i=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return i.forEach(s=>{r[s]=(P(this,Oe,"f")[s]||[]).filter(o=>!n[o])}),a.forEach(s=>{r[s]=Ri(P(this,Oe,"f")[s],o=>!n[o])}),r.envPrefix=P(this,Oe,"f").envPrefix,_e(this,Oe,r,"f"),_e(this,Pe,P(this,Pe,"f")?P(this,Pe,"f").reset(n):$A(this,P(this,Re,"f")),"f"),_e(this,Ke,P(this,Ke,"f")?P(this,Ke,"f").reset(n):JA(this,P(this,Pe,"f"),P(this,Re,"f")),"f"),_e(this,et,P(this,et,"f")?P(this,et,"f").reset():IA(P(this,Pe,"f"),P(this,Ke,"f"),P(this,Tt,"f"),P(this,Re,"f")),"f"),P(this,mt,"f")||_e(this,mt,WA(this,P(this,Pe,"f"),P(this,et,"f"),P(this,Re,"f")),"f"),P(this,Tt,"f").reset(),_e(this,wt,null,"f"),_e(this,nt,"","f"),_e(this,Cr,null,"f"),_e(this,Et,!1,"f"),this.parsed=!1,this}[E2](e,r){return P(this,Re,"f").path.relative(e,r)}[li](e,r,n,i=0,a=!1){var s,o,c,l;let f=!!n||a;e=e||P(this,Ar,"f"),P(this,Oe,"f").__=P(this,Re,"f").y18n.__,P(this,Oe,"f").configuration=this[Qr]();const p=!!P(this,Oe,"f").configuration["populate--"],u=Object.assign({},P(this,Oe,"f").configuration,{"populate--":!0}),h=P(this,Re,"f").Parser.detailed(e,Object.assign({},P(this,Oe,"f"),{configuration:{"parse-positional-numbers":!1,...u}})),d=Object.assign(h.argv,P(this,Yr,"f"));let b;const D=h.aliases;let g=!1,y=!1;Object.keys(d).forEach(w=>{w===P(this,Bt,"f")&&d[w]?g=!0:w===P(this,rr,"f")&&d[w]&&(y=!0)}),d.$0=this.$0,this.parsed=h,i===0&&P(this,Pe,"f").clearCachedHelpMessage();try{if(this[ml](),r)return this[en](d,p,!!n,!1);P(this,Bt,"f")&&[P(this,Bt,"f")].concat(D[P(this,Bt,"f")]||[]).filter(F=>F.length>1).includes(""+d._[d._.length-1])&&(d._.pop(),g=!0),_e(this,Is,!1,"f");const w=P(this,et,"f").getCommands(),E=!((s=P(this,mt,"f"))===null||s===void 0)&&s.completionKey?[(o=P(this,mt,"f"))===null||o===void 0?void 0:o.completionKey,...(l=this.getAliases()[(c=P(this,mt,"f"))===null||c===void 0?void 0:c.completionKey])!==null&&l!==void 0?l:[]].some(m=>Object.prototype.hasOwnProperty.call(d,m)):!1,x=g||E||a;if(d._.length){if(w.length){let m;for(let F=i||0,_;d._[F]!==void 0;F++)if(_=String(d._[F]),w.includes(_)&&_!==P(this,wt,"f")){const T=P(this,et,"f").runCommand(_,this,h,F+1,a,g||y||a);return this[en](T,p,!!n,!1)}else if(!m&&_!==P(this,wt,"f")){m=_;break}!P(this,et,"f").hasDefaultCommand()&&P(this,js,"f")&&m&&!x&&P(this,Ke,"f").recommendCommands(m,w)}P(this,wt,"f")&&d._.includes(P(this,wt,"f"))&&!E&&(P(this,Ot,"f")&&yi(!0),this.showCompletionScript(),this.exit(0))}if(P(this,et,"f").hasDefaultCommand()&&!x){const m=P(this,et,"f").runCommand(null,this,h,0,a,g||y||a);return this[en](m,p,!!n,!1)}if(E){P(this,Ot,"f")&&yi(!0),e=[].concat(e);const m=e.slice(e.indexOf(`--${P(this,mt,"f").completionKey}`)+1);return P(this,mt,"f").getCompletion(m,(F,_)=>{if(F)throw new st(F.message);(_||[]).forEach(T=>{P(this,Gr,"f").log(T)}),this.exit(0)}),this[en](d,!p,!!n,!1)}if(P(this,Et,"f")||(g?(P(this,Ot,"f")&&yi(!0),f=!0,this.showHelp(m=>{P(this,Gr,"f").log(m),this.exit(0)})):y&&(P(this,Ot,"f")&&yi(!0),f=!0,P(this,Pe,"f").showVersion("log"),this.exit(0))),!f&&P(this,Oe,"f").skipValidation.length>0&&(f=Object.keys(d).some(m=>P(this,Oe,"f").skipValidation.indexOf(m)>=0&&d[m]===!0)),!f){if(h.error)throw new st(h.error.message);if(!E){const m=this[El](D,{},h.error);n||(b=_i(d,this,P(this,Tt,"f").getMiddleware(),!0)),b=this[h2](m,b??d),rt(b)&&!n&&(b=b.then(()=>_i(d,this,P(this,Tt,"f").getMiddleware(),!1)))}}}catch(w){if(w instanceof st)P(this,Pe,"f").fail(w.message,w);else throw w}return this[en](b??d,p,!!n,!0)}[El](e,r,n,i){const a={...this.getDemandedOptions()};return s=>{if(n)throw new st(n.message);P(this,Ke,"f").nonOptionCount(s),P(this,Ke,"f").requiredArguments(s,a);let o=!1;P(this,Kr,"f")&&(o=P(this,Ke,"f").unknownCommands(s)),P(this,Jr,"f")&&!o?P(this,Ke,"f").unknownArguments(s,e,r,!!i):P(this,Xr,"f")&&P(this,Ke,"f").unknownArguments(s,e,{},!1,!1),P(this,Ke,"f").limitedChoices(s),P(this,Ke,"f").implications(s),P(this,Ke,"f").conflicting(s)}}[F2](){_e(this,Et,!0,"f")}[tn](e){if(typeof e=="string")P(this,Oe,"f").key[e]=!0;else for(const r of e)P(this,Oe,"f").key[r]=!0}}function r3(t){return!!t&&typeof t.getInternalMethods=="function"}const n3=QA(TA);function i3(t){const e=t.match(/^[ \t]*(?=\S)/gm);if(!e)return t;let r=Number.POSITIVE_INFINITY;for(const n of e)r=Math.min(r,n.length);return r===0||r===Number.POSITIVE_INFINITY?t:t.replace(new RegExp(`^[ \\t]{${r}}`,"gm"),"")}const Us=t=>t.charCodeAt(0).toString(16).toUpperCase(),_b=(t,e)=>{const r=t.length,n=Math.max(e-20,0),i=Math.min(e+20,r),a=(s,o,c)=>s.substring(o,o+c).replaceAll(/\\/g,"\\\\").replaceAll(/\x08/g,"\\b").replaceAll(/\t/g,"\\t").replaceAll(/\n/g,"\\n").replaceAll(/\f/g,"\\f").replaceAll(/\r/g,"\\r").replaceAll(/[\x00-\x07\x0B\x0E\x0F]/g,l=>"\\x0"+Us(l)).replaceAll(/[\x10-\x1F\x80-\xFF]/g,l=>"\\x"+Us(l)).replaceAll(/[\u0100-\u0FFF]/g,l=>"\\u0"+Us(l)).replaceAll(/[\u1000-\uFFFF]/g,l=>"\\u"+Us(l));return{prologTrunc:n>0,prologText:a(t,n,e-n),tokenText:a(t,e,1),epilogText:a(t,e+1,i-(e+1)),epilogTrunc:i<r}};class af{constructor(e,r,n,i=0,a=0,s=0){this.type=e,this.value=r,this.text=n,this.pos=i,this.line=a,this.column=s}toString(e=(r,n)=>n){return`${e("type",this.type)} (value: ${e("value",JSON.stringify(this.value))}, text: ${e("text",JSON.stringify(this.text))}, pos: ${e("pos",this.pos.toString())}, line: ${e("line",this.line.toString())}, column: ${e("column",this.column.toString())})`}isA(e,r){return!(e!==this.type||r!==void 0&&r!==this.value)}}class Fl extends Error{constructor(e,r,n,i,a){super(e),this.name="ParsingError",this.message=e,this.pos=r,this.line=n,this.column=i,this.input=a}toString(){const e=_b(this.input,this.pos),r=`line ${this.line} (column ${this.column}): `,n=e.prologTrunc?"...":'"',i=e.epilogTrunc?"...":'"',a=" ".repeat(r.length+n.length+e.prologText.length);return"Parsing Error: "+this.message+`
|
|
138
|
-
`+r+n+e.prologText+e.tokenText+e.epilogText+i+`
|
|
139
|
-
`+a+"^"}}class Cl{constructor(e){this._tokenizr=e,this._data={},this._repeat=!1,this._reject=!1,this._ignore=!1,this._match=null}data(e,r){const n=this._data[e];return arguments.length===2&&(this._data[e]=r),n}info(){return{line:this._tokenizr._line,column:this._tokenizr._column,pos:this._tokenizr._pos,len:this._match?.[0]?.length??0}}push(e){return this._tokenizr.push(e),this}pop(){return this._tokenizr.pop()}state(e){return e!==void 0?(this._tokenizr.state(e),this):this._tokenizr.state()}tag(e){return this._tokenizr.tag(e),this}tagged(e){return this._tokenizr.tagged(e)}untag(e){return this._tokenizr.untag(e),this}repeat(){return this._tokenizr._log(" REPEAT"),this._repeat=!0,this}reject(){return this._tokenizr._log(" REJECT"),this._reject=!0,this}ignore(){return this._tokenizr._log(" IGNORE"),this._ignore=!0,this}accept(e,r){return r=r??this._match?.[0],this._tokenizr._log(` ACCEPT: type: ${e}, value: ${JSON.stringify(r)} (${typeof r}), text: "${this._match?.[0]??""}"`),this._tokenizr._pending.push(new af(e,r,this._match?.[0]??"",this._tokenizr._pos,this._tokenizr._line,this._tokenizr._column)),this}stop(){return this._tokenizr._stopped=!0,this}}class s3{constructor(){this._before=null,this._after=null,this._finish=null,this._rules=[],this._debug=!1,this._input="",this._len=0,this._eof=!1,this._pos=0,this._line=1,this._column=1,this._state=["default"],this._tag={},this._transaction=[],this._pending=[],this._stopped=!1,this._ctx=new Cl(this)}reset(){return this._input="",this._len=0,this._eof=!1,this._pos=0,this._line=1,this._column=1,this._state=["default"],this._tag={},this._transaction=[],this._pending=[],this._stopped=!1,this._ctx=new Cl(this),this}error(e){return new Fl(e,this._pos,this._line,this._column,this._input)}debug(e){return this._debug=e,this}_log(e){this._debug&&console.log(`tokenizr: ${e}`)}input(e){if(typeof e!="string")throw new Error('parameter "input" not a String');return this.reset(),this._input=e,this._len=e.length,this}push(e){if(arguments.length!==1)throw new Error("invalid number of arguments");if(typeof e!="string")throw new Error('parameter "state" not a String');return this._log(` STATE (PUSH): old: <${this._state[this._state.length-1]}>, new: <${e}>`),this._state.push(e),this}pop(){if(arguments.length!==0)throw new Error("invalid number of arguments");if(this._state.length<2)throw new Error("no more custom states to pop");return this._log(` STATE (POP): old: <${this._state[this._state.length-1]}>, new: <${this._state[this._state.length-2]}>`),this._state.pop()}state(e){if(arguments.length===1){if(typeof e!="string")throw new Error('parameter "state" not a String');return this._log(` STATE (SET): old: <${this._state[this._state.length-1]}>, new: <${e}>`),this._state[this._state.length-1]=e,this}else if(arguments.length===0)return this._state[this._state.length-1];throw new Error("invalid number of arguments")}tag(e){if(arguments.length!==1)throw new Error("invalid number of arguments");if(typeof e!="string")throw new Error('parameter "tag" not a String');return this._log(` TAG (ADD): ${e}`),this._tag[e]=!0,this}tagged(e){if(arguments.length!==1)throw new Error("invalid number of arguments");if(typeof e!="string")throw new Error('parameter "tag" not a String');return this._tag[e]===!0}untag(e){if(arguments.length!==1)throw new Error("invalid number of arguments");if(typeof e!="string")throw new Error('parameter "tag" not a String');return this._log(` TAG (DEL): ${e}`),delete this._tag[e],this}before(e){return this._before=e,this}after(e){return this._after=e,this}finish(e){return this._finish=e,this}rule(e,r,n,i="unknown"){if(arguments.length===2&&typeof r=="function"?([r,n]=[e,r],e="*"):arguments.length===3&&typeof r=="function"&&([r,n,i]=[e,r,n],e="*"),typeof e!="string")throw new Error('parameter "state" not a String');if(!(r instanceof RegExp))throw new Error('parameter "pattern" not a RegExp');if(typeof n!="function")throw new Error('parameter "action" not a Function');if(typeof i!="string")throw new Error('parameter "name" not a String');const a=e.split(/\s*,\s*/g).map(c=>{const l=c.split(/\s+/g),f=l.filter(u=>!u.startsWith("#")),p=l.filter(u=>u.startsWith("#")).map(u=>u.slice(1));if(f.length!==1)throw new Error("exactly one state required");return{state:f[0],tags:p}});let s="y";r.multiline&&(s+="m"),r.dotAll&&(s+="s"),r.ignoreCase&&(s+="i"),r.unicode&&(s+="u");const o=new RegExp(r.source,s);return this._log(`RULE: configure rule (state: ${e}, pattern: ${o.source})`),this._rules.push({state:a,pattern:o,action:n,name:i}),this}_progress(e,r){const n=this._line,i=this._column,a=this._input;for(let s=e;s<r;s++){const o=a.charAt(s);o==="\r"?(this._line++,this._column=1,s+1<r&&a.charAt(s+1)===`
|
|
140
|
-
`&&s++):o===`
|
|
141
|
-
`?(this._line++,this._column=1):o===" "?this._column+=8-(this._column-1)%8:this._column++}this._log(` PROGRESS: characters: ${r-e}, from: <line ${n}, column ${i}>, to: <line ${this._line}, column ${this._column}>`)}_tokenize(){const e=()=>{this._eof||(this._finish!==null&&this._finish.call(this._ctx,this._ctx),this._eof=!0,this._pending.push(new af("EOF","","",this._pos,this._line,this._column)))};if(this._stopped||this._pos>=this._len){e();return}let r=!0;for(;r;){if(r=!1,this._debug){const n=_b(this._input,this._pos),i=Object.keys(this._tag).map(a=>`#${a}`).join(" ");this._log(`INPUT: state: <${this._state[this._state.length-1]}>, tags: <${i}>, text: `+(n.prologTrunc?"...":'"')+`${n.prologText}<${n.tokenText}>${n.epilogText}`+(n.epilogTrunc?"...":'"')+`, at: <line ${this._line}, column ${this._column}>`)}for(let n=0;n<this._rules.length;n++){if(this._debug){const o=this._rules[n].state.map(c=>{let l=c.state;return c.tags.length>0&&(l+=" "+c.tags.map(f=>`#${f}`).join(" ")),l}).join(", ");this._log(` RULE: state(s): <${o}>, pattern: ${this._rules[n].pattern.source}`)}let i=!1,a=this._rules[n].state.findIndex(o=>o.state===this._state[this._state.length-1]);if(a<0&&(a=this._rules[n].state.findIndex(o=>o.state==="*")),a>=0&&(i=this._rules[n].state[a].tags.every(c=>this._tag[c])),!i)continue;this._rules[n].pattern.lastIndex=this._pos;const s=this._rules[n].pattern.exec(this._input);if(s!==null&&s.index===this._pos)if(this._debug&&this._log(" MATCHED: "+JSON.stringify(s)),this._ctx._match=s,this._ctx._repeat=!1,this._ctx._reject=!1,this._ctx._ignore=!1,this._before!==null&&this._before.call(this._ctx,this._ctx,s,this._rules[n]),this._rules[n].action.call(this._ctx,this._ctx,s),this._after!==null&&this._after.call(this._ctx,this._ctx,s,this._rules[n]),this._stopped){e();return}else{if(this._ctx._reject)continue;if(this._ctx._repeat){r=!0;break}else if(this._ctx._ignore){if(this._progress(this._pos,this._rules[n].pattern.lastIndex),this._pos=this._rules[n].pattern.lastIndex,this._pos>=this._len){e();return}r=!0;break}else if(this._pending.length>0){this._progress(this._pos,this._rules[n].pattern.lastIndex),this._pos=this._rules[n].pattern.lastIndex,this._pos>=this._len&&e();return}else throw new Error('action of pattern "'+this._rules[n].pattern.source+'" neither rejected nor accepted any token(s)')}}}throw this.error("token not recognized")}token(){if(this._pending.length===0&&this._tokenize(),this._pending.length>0){const e=this._pending.shift();return this._transaction.length>0&&this._transaction[0].push(e),this._log(`TOKEN: ${e.toString()}`),e}return null}tokens(){const e=[];let r;for(;(r=this.token())!==null;)e.push(r);return e}peek(e){if(arguments.length===0&&(e=0),typeof e!="number"||e<0)throw new Error('parameter "offset" not a positive Number');for(;e>=this._pending.length;){const r=this._pending.length;if(this._tokenize(),this._eof||this._pending.length===r)break}if(e>=this._pending.length)throw new Error("not enough tokens available for peek operation");return this._log(`PEEK: ${this._pending[e].toString()}`),this._pending[e]}skip(e){e===void 0&&(e=1);for(let r=0;r<e;r++)if(this.token()===null)throw new Error("not enough tokens available for skip operation");return this}consume(e,r){if(this._pending.length===0&&this._tokenize(),this._pending.length===0)throw new Error("not enough tokens available for consume operation");const n=this.token();this._log(`CONSUME: ${n.toString()}`);const i=()=>{throw new Fl(`expected: <type: ${e}, value: ${JSON.stringify(r)} (${typeof r})>, found: <type: ${n.type}, value: ${JSON.stringify(n.value)} (${typeof n.value})>`,n.pos,n.line,n.column,this._input)};return(arguments.length===2&&!n.isA(e,r)||arguments.length===1&&!n.isA(e))&&i(),n}begin(){return this._log(`BEGIN: level ${this._transaction.length}`),this._transaction.unshift([]),this}depth(){if(this._transaction.length===0)throw new Error("cannot determine depth -- no active transaction");return this._transaction[0].length}commit(){if(this._transaction.length===0)throw new Error("cannot commit transaction -- no active transaction");const e=this._transaction.shift();return this._transaction.length>0&&(this._transaction[0]=this._transaction[0].concat(e)),this._log(`COMMIT: level ${this._transaction.length}`),this}rollback(){if(this._transaction.length===0)throw new Error("cannot rollback transaction -- no active transaction");const e=this._transaction.shift();return this._pending=e.concat(this._pending),this._log(`ROLLBACK: level ${this._transaction.length}`),this}alternatives(...e){let r=null,n=!1;const i=[];for(let a=0;a<e.length;a++){let s=0;try{this.begin(),s=this._transaction.length,r=e[a].call(this),this.commit(),n=!0;break}catch(o){for(;this._transaction.length>s;)this.rollback();o instanceof Error?(this._log(`EXCEPTION: ${o.message}`),i.push({ex:o,depth:this.depth()})):(this._log("EXCEPTION: alternative failed"),i.push({ex:new Error("alternative failed"),depth:this.depth()})),this.rollback();continue}}if(!n&&i.length>0)throw i.sort((a,s)=>s.depth-a.depth),i[0].ex;return r}static{this.Token=af}static{this.ParsingError=Fl}static{this.ActionContext=Cl}}const Al=10,C2=(t=0)=>e=>`\x1B[${e+t}m`,A2=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,_2=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,Ze={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(Ze.modifier);const a3=Object.keys(Ze.color),o3=Object.keys(Ze.bgColor);[...a3,...o3];function u3(){const t=new Map;for(const[e,r]of Object.entries(Ze)){for(const[n,i]of Object.entries(r))Ze[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Ze[n],t.set(i[0],i[1]);Object.defineProperty(Ze,e,{value:r,enumerable:!1})}return Object.defineProperty(Ze,"codes",{value:t,enumerable:!1}),Ze.color.close="\x1B[39m",Ze.bgColor.close="\x1B[49m",Ze.color.ansi=C2(),Ze.color.ansi256=A2(),Ze.color.ansi16m=_2(),Ze.bgColor.ansi=C2(Al),Ze.bgColor.ansi256=A2(Al),Ze.bgColor.ansi16m=_2(Al),Object.defineProperties(Ze,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(a=>a+a).join(""));const i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Ze.rgbToAnsi256(...Ze.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;const o=e%36;r=Math.floor(e/36)/5,n=Math.floor(o/6)/5,i=o%6/5}const a=Math.max(r,n,i)*2;if(a===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return a===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Ze.ansi256ToAnsi(Ze.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Ze.ansi256ToAnsi(Ze.hexToAnsi256(e)),enumerable:!1}}),Ze}const nr=u3();function qt(t,e=globalThis.Deno?globalThis.Deno.args:Ge.argv){const r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}const{env:Je}=Ge;let ya;qt("no-color")||qt("no-colors")||qt("color=false")||qt("color=never")?ya=0:(qt("color")||qt("colors")||qt("color=true")||qt("color=always"))&&(ya=1);function c3(){if("FORCE_COLOR"in Je)return Je.FORCE_COLOR==="true"?1:Je.FORCE_COLOR==="false"?0:Je.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Je.FORCE_COLOR,10),3)}function l3(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function f3(t,{streamIsTTY:e,sniffFlags:r=!0}={}){const n=c3();n!==void 0&&(ya=n);const i=r?ya:n;if(i===0)return 0;if(r){if(qt("color=16m")||qt("color=full")||qt("color=truecolor"))return 3;if(qt("color=256"))return 2}if("TF_BUILD"in Je&&"AGENT_NAME"in Je)return 1;if(t&&!e&&i===void 0)return 0;const a=i||0;if(Je.TERM==="dumb")return a;if(Ge.platform==="win32"){const s=dt.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Je)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(s=>s in Je)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in Je)||Je.CI_NAME==="codeship"?1:a;if("TEAMCITY_VERSION"in Je)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Je.TEAMCITY_VERSION)?1:0;if(Je.COLORTERM==="truecolor"||Je.TERM==="xterm-kitty"||Je.TERM==="xterm-ghostty"||Je.TERM==="wezterm")return 3;if("TERM_PROGRAM"in Je){const s=Number.parseInt((Je.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Je.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Je.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Je.TERM)||"COLORTERM"in Je?1:a}function S2(t,e={}){const r=f3(t,{streamIsTTY:t&&t.isTTY,...e});return l3(r)}const p3={stdout:S2({isTTY:un.isatty(1)}),stderr:S2({isTTY:un.isatty(2)})};function d3(t,e,r){let n=t.indexOf(e);if(n===-1)return t;const i=e.length;let a=0,s="";do s+=t.slice(a,n)+e+r,a=n+i,n=t.indexOf(e,a);while(n!==-1);return s+=t.slice(a),s}function h3(t,e,r,n){let i=0,a="";do{const s=t[n-1]==="\r";a+=t.slice(i,s?n-1:n)+e+(s?`\r
|
|
142
|
-
`:`
|
|
143
|
-
`)+r,i=n+1,n=t.indexOf(`
|
|
144
|
-
`,i)}while(n!==-1);return a+=t.slice(i),a}const{stdout:O2,stderr:T2}=p3,of=Symbol("GENERATOR"),qn=Symbol("STYLER"),ki=Symbol("IS_EMPTY"),B2=["ansi","ansi","ansi256","ansi16m"],Pn=Object.create(null),m3=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=O2?O2.level:0;t.level=e.level===void 0?r:e.level},g3=t=>{const e=(...r)=>r.join(" ");return m3(e,t),Object.setPrototypeOf(e,Wi.prototype),e};function Wi(t){return g3(t)}Object.setPrototypeOf(Wi.prototype,Function.prototype);for(const[t,e]of Object.entries(nr))Pn[t]={get(){const r=ba(this,cf(e.open,e.close,this[qn]),this[ki]);return Object.defineProperty(this,t,{value:r}),r}};Pn.visible={get(){const t=ba(this,this[qn],!0);return Object.defineProperty(this,"visible",{value:t}),t}};const uf=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?nr[r].ansi16m(...n):e==="ansi256"?nr[r].ansi256(nr.rgbToAnsi256(...n)):nr[r].ansi(nr.rgbToAnsi(...n)):t==="hex"?uf("rgb",e,r,...nr.hexToRgb(...n)):nr[r][t](...n),D3=["rgb","hex","ansi256"];for(const t of D3){Pn[t]={get(){const{level:r}=this;return function(...n){const i=cf(uf(t,B2[r],"color",...n),nr.color.close,this[qn]);return ba(this,i,this[ki])}}};const e="bg"+t[0].toUpperCase()+t.slice(1);Pn[e]={get(){const{level:r}=this;return function(...n){const i=cf(uf(t,B2[r],"bgColor",...n),nr.bgColor.close,this[qn]);return ba(this,i,this[ki])}}}}const y3=Object.defineProperties(()=>{},{...Pn,level:{enumerable:!0,get(){return this[of].level},set(t){this[of].level=t}}}),cf=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},ba=(t,e,r)=>{const n=(...i)=>b3(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,y3),n[of]=t,n[qn]=e,n[ki]=r,n},b3=(t,e)=>{if(t.level<=0||!e)return t[ki]?"":e;let r=t[qn];if(r===void 0)return e;const{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=d3(e,r.close,r.open),r=r.parent;const a=e.indexOf(`
|
|
145
|
-
`);return a!==-1&&(e=h3(e,i,n,a)),n+e+i};Object.defineProperties(Wi.prototype,Pn);const Ne=Wi();Wi({level:T2?T2.level:0});const Sb=(t,e,r)=>{const n=t instanceof RegExp?R2(t,r):t,i=e instanceof RegExp?R2(e,r):e,a=n!==null&&i!=null&&v3(n,i,r);return a&&{start:a[0],end:a[1],pre:r.slice(0,a[0]),body:r.slice(a[0]+n.length,a[1]),post:r.slice(a[1]+i.length)}},R2=(t,e)=>{const r=e.match(t);return r?r[0]:null},v3=(t,e,r)=>{let n,i,a,s,o,c=r.indexOf(t),l=r.indexOf(e,c+1),f=c;if(c>=0&&l>0){if(t===e)return[c,l];for(n=[],a=r.length;f>=0&&!o;){if(f===c)n.push(f),c=r.indexOf(t,f+1);else if(n.length===1){const p=n.pop();p!==void 0&&(o=[p,l])}else i=n.pop(),i!==void 0&&i<a&&(a=i,s=l),l=r.indexOf(e,f+1);f=c<l&&c>=0?c:l}n.length&&s!==void 0&&(o=[a,s])}return o},Ob="\0SLASH"+Math.random()+"\0",Tb="\0OPEN"+Math.random()+"\0",ip="\0CLOSE"+Math.random()+"\0",Bb="\0COMMA"+Math.random()+"\0",Rb="\0PERIOD"+Math.random()+"\0",x3=new RegExp(Ob,"g"),w3=new RegExp(Tb,"g"),E3=new RegExp(ip,"g"),F3=new RegExp(Bb,"g"),C3=new RegExp(Rb,"g"),A3=/\\\\/g,_3=/\\{/g,S3=/\\}/g,O3=/\\,/g,T3=/\\\./g,B3=1e5;function _l(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}function R3(t){return t.replace(A3,Ob).replace(_3,Tb).replace(S3,ip).replace(O3,Bb).replace(T3,Rb)}function k3(t){return t.replace(x3,"\\").replace(w3,"{").replace(E3,"}").replace(F3,",").replace(C3,".")}function kb(t){if(!t)return[""];const e=[],r=Sb("{","}",t);if(!r)return t.split(",");const{pre:n,body:i,post:a}=r,s=n.split(",");s[s.length-1]+="{"+i+"}";const o=kb(a);return a.length&&(s[s.length-1]+=o.shift(),s.push.apply(s,o)),e.push.apply(e,s),e}function q3(t,e={}){if(!t)return[];const{max:r=B3}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),vi(R3(t),r,!0).map(k3)}function P3(t){return"{"+t+"}"}function I3(t){return/^-?0\d/.test(t)}function N3(t,e){return t<=e}function M3(t,e){return t>=e}function vi(t,e,r){const n=[],i=Sb("{","}",t);if(!i)return[t];const a=i.pre,s=i.post.length?vi(i.post,e,!1):[""];if(/\$$/.test(i.pre))for(let o=0;o<s.length&&o<e;o++){const c=a+"{"+i.body+"}"+s[o];n.push(c)}else{const o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),l=o||c,f=i.body.indexOf(",")>=0;if(!l&&!f)return i.post.match(/,(?!,).*\}/)?(t=i.pre+"{"+i.body+ip+i.post,vi(t,e,!0)):[t];let p;if(l)p=i.body.split(/\.\./);else if(p=kb(i.body),p.length===1&&p[0]!==void 0&&(p=vi(p[0],e,!1).map(P3),p.length===1))return s.map(h=>i.pre+p[0]+h);let u;if(l&&p[0]!==void 0&&p[1]!==void 0){const h=_l(p[0]),d=_l(p[1]),b=Math.max(p[0].length,p[1].length);let D=p.length===3&&p[2]!==void 0?Math.max(Math.abs(_l(p[2])),1):1,g=N3;d<h&&(D*=-1,g=M3);const w=p.some(I3);u=[];for(let E=h;g(E,d);E+=D){let x;if(c)x=String.fromCharCode(E),x==="\\"&&(x="");else if(x=String(E),w){const m=b-x.length;if(m>0){const F=new Array(m+1).join("0");E<0?x="-"+F+x.slice(1):x=F+x}}u.push(x)}}else{u=[];for(let h=0;h<p.length;h++)u.push.apply(u,vi(p[h],e,!1))}for(let h=0;h<u.length;h++)for(let d=0;d<s.length&&n.length<e;d++){const b=a+u[h]+s[d];(!r||l||b)&&n.push(b)}}return n}const j3=1024*64,va=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>j3)throw new TypeError("pattern is too long")},L3={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},fi=t=>t.replace(/[[\]\\-]/g,"\\$&"),$3=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),k2=t=>t.join(""),U3=(t,e)=>{const r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");const n=[],i=[];let a=r+1,s=!1,o=!1,c=!1,l=!1,f=r,p="";e:for(;a<t.length;){const b=t.charAt(a);if((b==="!"||b==="^")&&a===r+1){l=!0,a++;continue}if(b==="]"&&s&&!c){f=a+1;break}if(s=!0,b==="\\"&&!c){c=!0,a++;continue}if(b==="["&&!c){for(const[D,[g,y,w]]of Object.entries(L3))if(t.startsWith(D,a)){if(p)return["$.",!1,t.length-r,!0];a+=D.length,w?i.push(g):n.push(g),o=o||y;continue e}}if(c=!1,p){b>p?n.push(fi(p)+"-"+fi(b)):b===p&&n.push(fi(b)),p="",a++;continue}if(t.startsWith("-]",a+1)){n.push(fi(b+"-")),a+=2;continue}if(t.startsWith("-",a+1)){p=b,a+=2;continue}n.push(fi(b)),a++}if(f<a)return["",!1,0,!1];if(!n.length&&!i.length)return["$.",!1,t.length-r,!0];if(i.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!l){const b=n[0].length===2?n[0].slice(-1):n[0];return[$3(b),!1,f-r,!1]}const u="["+(l?"^":"")+k2(n)+"]",h="["+(l?"":"^")+k2(i)+"]";return[n.length&&i.length?"("+u+"|"+h+")":n.length?u:h,o,f-r,!0]},xi=(t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!0}={})=>r?e?t.replace(/\[([^/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):e?t.replace(/\[([^/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1");var gt;const z3=new Set(["!","?","+","*","@"]),lf=t=>z3.has(t),q2=t=>lf(t.type),H3=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),V3=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),W3=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),P2=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),G3="(?!(?:^|/)\\.\\.?(?:$|/))",zs="(?!\\.)",Y3=new Set(["[","."]),Z3=new Set(["..","."]),J3=new Set("().*{}+?[]^$\\!"),K3=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),sp="[^/]",I2=sp+"*?",N2=sp+"+?";let X3=0;class ap{type;#r;#n;#t=!1;#e=[];#i;#s;#a;#u=!1;#o;#c;#l=!1;id=++X3;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#r.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#e.length,parts:this.#e}}constructor(e,r,n={}){this.type=e,e&&(this.#n=!0),this.#i=r,this.#r=this.#i?this.#i.#r:this,this.#o=this.#r===this?n:this.#r.#o,this.#a=this.#r===this?[]:this.#r.#a,e==="!"&&!this.#r.#u&&this.#a.push(this),this.#s=this.#i?this.#i.#e.length:0}get hasMagic(){if(this.#n!==void 0)return this.#n;for(const e of this.#e)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#n=!0;return this.#n}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#e.map(e=>String(e)).join("|")+")":this.#c=this.#e.map(e=>String(e)).join("")}#D(){if(this!==this.#r)throw new Error("should only call on root");if(this.#u)return this;this.toString(),this.#u=!0;let e;for(;e=this.#a.pop();){if(e.type!=="!")continue;let r=e,n=r.#i;for(;n;){for(let i=r.#s+1;!n.type&&i<n.#e.length;i++)for(const a of e.#e){if(typeof a=="string")throw new Error("string part in extglob AST??");a.copyIn(n.#e[i])}r=n,n=r.#i}}return this}push(...e){for(const r of e)if(r!==""){if(typeof r!="string"&&!(r instanceof gt&&r.#i===this))throw new Error("invalid part: "+r);this.#e.push(r)}}toJSON(){const e=this.type===null?this.#e.slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...this.#e.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#r||this.#r.#u&&this.#i?.type==="!")&&e.push({}),e}isStart(){if(this.#r===this)return!0;if(!this.#i?.isStart())return!1;if(this.#s===0)return!0;const e=this.#i;for(let r=0;r<this.#s;r++){const n=e.#e[r];if(!(n instanceof gt&&n.type==="!"))return!1}return!0}isEnd(){if(this.#r===this||this.#i?.type==="!")return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();const e=this.#i?this.#i.#e.length:0;return this.#s===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){const r=new gt(this.type,e);for(const n of this.#e)r.copyIn(n);return r}static#f(e,r,n,i,a){const s=i.maxExtglobRecursion??2;let o=!1,c=!1,l=-1,f=!1;if(r.type===null){let b=n,D="";for(;b<e.length;){const g=e.charAt(b++);if(o||g==="\\"){o=!o,D+=g;continue}if(c){b===l+1?(g==="^"||g==="!")&&(f=!0):g==="]"&&!(b===l+2&&f)&&(c=!1),D+=g;continue}else if(g==="["){c=!0,l=b,f=!1,D+=g;continue}if(!i.noext&&lf(g)&&e.charAt(b)==="("&&a<=s){r.push(D),D="";const w=new gt(g,r);b=gt.#f(e,w,b,i,a+1),r.push(w);continue}D+=g}return r.push(D),b}let p=n+1,u=new gt(null,r);const h=[];let d="";for(;p<e.length;){const b=e.charAt(p++);if(o||b==="\\"){o=!o,d+=b;continue}if(c){p===l+1?(b==="^"||b==="!")&&(f=!0):b==="]"&&!(p===l+2&&f)&&(c=!1),d+=b;continue}else if(b==="["){c=!0,l=p,f=!1,d+=b;continue}if(!i.noext&&lf(b)&&e.charAt(p)==="("&&(a<=s||r&&r.#p(b))){const g=r&&r.#p(b)?0:1;u.push(d),d="";const y=new gt(b,u);u.push(y),p=gt.#f(e,y,p,i,a+g);continue}if(b==="|"){u.push(d),d="",h.push(u),u=new gt(null,r);continue}if(b===")")return d===""&&r.#e.length===0&&(r.#l=!0),u.push(d),d="",r.push(...h,u),p;d+=b}return r.type=null,r.#n=void 0,r.#e=[e.substring(n-1)],p}#y(e){return this.#h(e,V3)}#h(e,r=H3){if(!e||typeof e!="object"||e.type!==null||e.#e.length!==1||this.type===null)return!1;const n=e.#e[0];return!n||typeof n!="object"||n.type===null?!1:this.#p(n.type,r)}#p(e,r=W3){return!!r.get(this.type)?.includes(e)}#b(e,r){const n=e.#e[0],i=new gt(null,n,this.options);i.#e.push(""),n.push(i),this.#m(e,r)}#m(e,r){const n=e.#e[0];this.#e.splice(r,1,...n.#e);for(const i of n.#e)typeof i=="object"&&(i.#i=this);this.#c=void 0}#v(e){return!!P2.get(this.type)?.has(e)}#x(e){if(!e||typeof e!="object"||e.type!==null||e.#e.length!==1||this.type===null||this.#e.length!==1)return!1;const r=e.#e[0];return!r||typeof r!="object"||r.type===null?!1:this.#v(r.type)}#w(e){const r=P2.get(this.type),n=e.#e[0],i=r?.get(n.type);if(!i)return!1;this.#e=n.#e;for(const a of this.#e)typeof a=="object"&&(a.#i=this);this.type=i,this.#c=void 0,this.#l=!1}static fromGlob(e,r={}){const n=new gt(null,void 0,r);return gt.#f(e,n,0,r,0),n}toMMPattern(){if(this!==this.#r)return this.#r.toMMPattern();const e=this.toString(),[r,n,i,a]=this.toRegExpSource();if(!(i||this.#n||this.#o.nocase&&!this.#o.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;const o=(this.#o.nocase?"i":"")+(a?"u":"");return Object.assign(new RegExp(`^${r}$`,o),{_src:r,_glob:e})}get options(){return this.#o}toRegExpSource(e){const r=e??!!this.#o.dot;if(this.#r===this&&(this.#d(),this.#D()),!q2(this)){const c=this.isStart()&&this.isEnd()&&!this.#e.some(h=>typeof h!="string"),l=this.#e.map(h=>{const[d,b,D,g]=typeof h=="string"?gt.#E(h,this.#n,c):h.toRegExpSource(e);return this.#n=this.#n||D,this.#t=this.#t||g,d}).join("");let f="";if(this.isStart()&&typeof this.#e[0]=="string"&&!(this.#e.length===1&&Z3.has(this.#e[0]))){const d=Y3,b=r&&d.has(l.charAt(0))||l.startsWith("\\.")&&d.has(l.charAt(2))||l.startsWith("\\.\\.")&&d.has(l.charAt(4)),D=!r&&!e&&d.has(l.charAt(0));f=b?G3:D?zs:""}let p="";return this.isEnd()&&this.#r.#u&&this.#i?.type==="!"&&(p="(?:$|\\/)"),[f+l+p,xi(l),this.#n=!!this.#n,this.#t]}const n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let a=this.#g(r);if(this.isStart()&&this.isEnd()&&!a&&this.type!=="!"){const c=this.toString(),l=this;return l.#e=[c],l.type=null,l.#n=void 0,[c,xi(this.toString()),!1,!1]}let s=!n||e||r||!zs?"":this.#g(!0);s===a&&(s=""),s&&(a=`(?:${a})(?:${s})*?`);let o="";if(this.type==="!"&&this.#l)o=(this.isStart()&&!r?zs:"")+N2;else{const c=this.type==="!"?"))"+(this.isStart()&&!r&&!e?zs:"")+I2+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&s?")":this.type==="*"&&s?")?":`)${this.type}`;o=i+a+c}return[o,xi(a),this.#n=!!this.#n,this.#t]}#d(){if(q2(this)){let e=0,r=!1;do{r=!0;for(let n=0;n<this.#e.length;n++){const i=this.#e[n];typeof i=="object"&&(i.#d(),this.#h(i)?(r=!1,this.#m(i,n)):this.#y(i)?(r=!1,this.#b(i,n)):this.#x(i)&&(r=!1,this.#w(i)))}}while(!r&&++e<10)}else for(const e of this.#e)typeof e=="object"&&e.#d();this.#c=void 0}#g(e){return this.#e.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");const[n,i,a,s]=r.toRegExpSource(e);return this.#t=this.#t||s,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#E(e,r,n=!1){let i=!1,a="",s=!1,o=!1;for(let c=0;c<e.length;c++){const l=e.charAt(c);if(i){i=!1,a+=(J3.has(l)?"\\":"")+l;continue}if(l==="*"){if(o)continue;o=!0,a+=n&&/^[*]+$/.test(e)?N2:I2,r=!0;continue}else o=!1;if(l==="\\"){c===e.length-1?a+="\\\\":i=!0;continue}if(l==="["){const[f,p,u,h]=U3(e,c);if(u){a+=f,s=s||p,c+=u-1,r=r||h;continue}}if(l==="?"){a+=sp,r=!0;continue}a+=K3(l)}return[a,xi(e),!!r,s]}}gt=ap;const Q3=(t,{windowsPathsNoEscape:e=!1,magicalBraces:r=!1}={})=>r?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),lt=(t,e,r={})=>(va(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Ia(e,r).match(t)),e_=/^\*+([^+@!?*[(]*)$/,t_=t=>e=>!e.startsWith(".")&&e.endsWith(t),r_=t=>e=>e.endsWith(t),n_=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),i_=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),s_=/^\*+\.\*+$/,a_=t=>!t.startsWith(".")&&t.includes("."),o_=t=>t!=="."&&t!==".."&&t.includes("."),u_=/^\.\*+$/,c_=t=>t!=="."&&t!==".."&&t.startsWith("."),l_=/^\*+$/,f_=t=>t.length!==0&&!t.startsWith("."),p_=t=>t.length!==0&&t!=="."&&t!=="..",d_=/^\?+([^+@!?*[(]*)?$/,h_=([t,e=""])=>{const r=qb([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},m_=([t,e=""])=>{const r=Pb([t]);return e?(e=e.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(e)):r},g_=([t,e=""])=>{const r=Pb([t]);return e?n=>r(n)&&n.endsWith(e):r},D_=([t,e=""])=>{const r=qb([t]);return e?n=>r(n)&&n.endsWith(e):r},qb=([t])=>{const e=t.length;return r=>r.length===e&&!r.startsWith(".")},Pb=([t])=>{const e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},Ib=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",M2={win32:{sep:"\\"},posix:{sep:"/"}},y_=Ib==="win32"?M2.win32.sep:M2.posix.sep;lt.sep=y_;const ot=Symbol("globstar **");lt.GLOBSTAR=ot;const b_="[^/]",v_=b_+"*?",x_="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",w_="(?:(?!(?:\\/|^)\\.).)*?",E_=(t,e={})=>r=>lt(r,t,e);lt.filter=E_;const Rt=(t,e={})=>Object.assign({},t,e),F_=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return lt;const e=lt;return Object.assign((n,i,a={})=>e(n,i,Rt(t,a)),{Minimatch:class extends e.Minimatch{constructor(i,a={}){super(i,Rt(t,a))}static defaults(i){return e.defaults(Rt(t,i)).Minimatch}},AST:class extends e.AST{constructor(i,a,s={}){super(i,a,Rt(t,s))}static fromGlob(i,a={}){return e.AST.fromGlob(i,Rt(t,a))}},unescape:(n,i={})=>e.unescape(n,Rt(t,i)),escape:(n,i={})=>e.escape(n,Rt(t,i)),filter:(n,i={})=>e.filter(n,Rt(t,i)),defaults:n=>e.defaults(Rt(t,n)),makeRe:(n,i={})=>e.makeRe(n,Rt(t,i)),braceExpand:(n,i={})=>e.braceExpand(n,Rt(t,i)),match:(n,i,a={})=>e.match(n,i,Rt(t,a)),sep:e.sep,GLOBSTAR:ot})};lt.defaults=F_;const Nb=(t,e={})=>(va(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:q3(t,{max:e.braceExpandMax}));lt.braceExpand=Nb;const C_=(t,e={})=>new Ia(t,e).makeRe();lt.makeRe=C_;const A_=(t,e,r={})=>{const n=new Ia(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};lt.match=A_;const j2=/[?*]|[+@!]\(.*?\)|\[|\]/,__=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Ia{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,r={}){va(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||Ib,this.isWindows=this.platform==="win32";const n="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[n]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){const e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...a)=>console.error(...a)),this.debug(this.pattern,this.globSet);const n=this.globSet.map(a=>this.slashSplit(a));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((a,s,o)=>{if(this.isWindows&&this.windowsNoMagicRoot){const c=a[0]===""&&a[1]===""&&(a[2]==="?"||!j2.test(a[2]))&&!j2.test(a[3]),l=/^[a-z]:/i.test(a[0]);if(c)return[...a.slice(0,4),...a.slice(4).map(f=>this.parse(f))];if(l)return[a[0],...a.slice(1).map(f=>this.parse(f))]}return a.map(c=>this.parse(c))});if(this.debug(this.pattern,i),this.set=i.filter(a=>a.indexOf(!1)===-1),this.isWindows)for(let a=0;a<this.set.length;a++){const s=this.set[a];s[0]===""&&s[1]===""&&this.globParts[a][2]==="?"&&typeof s[3]=="string"&&/^[a-z]:$/i.test(s[3])&&(s[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(const n of e)for(let i=0;i<n.length;i++)n[i]==="**"&&(n[i]="*");const{optimizationLevel:r=1}=this.options;return r>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((n,i)=>{const a=n[n.length-1];return i==="**"&&a==="**"?n:i===".."&&a&&a!==".."&&a!=="."&&a!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;i<e.length-1;i++){const a=e[i];i===1&&a===""&&e[0]===""||(a==="."||a==="")&&(r=!0,e.splice(i,1),i--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(r=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){const i=e[n-1];i&&i!=="."&&i!==".."&&i!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,e.splice(n-1,2),n-=2)}}while(r);return e.length===0?[""]:e}firstPhasePreProcess(e){let r=!1;do{r=!1;for(let n of e){let i=-1;for(;(i=n.indexOf("**",i+1))!==-1;){let s=i;for(;n[s+1]==="**";)s++;s>i&&n.splice(i+1,s-i);let o=n[i+1];const c=n[i+2],l=n[i+3];if(o!==".."||!c||c==="."||c===".."||!l||l==="."||l==="..")continue;r=!0,n.splice(i,1);const f=n.slice(0);f[i]="**",e.push(f),i--}if(!this.preserveMultipleSlashes){for(let s=1;s<n.length-1;s++){const o=n[s];s===1&&o===""&&n[0]===""||(o==="."||o==="")&&(r=!0,n.splice(s,1),s--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(r=!0,n.pop())}let a=0;for(;(a=n.indexOf("..",a+1))!==-1;){const s=n[a-1];if(s&&s!=="."&&s!==".."&&s!=="**"){r=!0;const c=a===1&&n[a+1]==="**"?["."]:[];n.splice(a-1,2,...c),n.length===0&&n.push(""),a-=2}}}}while(r);return e}secondPhasePreProcess(e){for(let r=0;r<e.length-1;r++)for(let n=r+1;n<e.length;n++){const i=this.partsMatch(e[r],e[n],!this.preserveMultipleSlashes);if(i){e[r]=[],e[n]=i;break}}return e.filter(r=>r.length)}partsMatch(e,r,n=!1){let i=0,a=0,s=[],o="";for(;i<e.length&&a<r.length;)if(e[i]===r[a])s.push(o==="b"?r[a]:e[i]),i++,a++;else if(n&&e[i]==="**"&&r[a]===e[i+1])s.push(e[i]),i++;else if(n&&r[a]==="**"&&e[i]===r[a+1])s.push(r[a]),a++;else if(e[i]==="*"&&r[a]&&(this.options.dot||!r[a].startsWith("."))&&r[a]!=="**"){if(o==="b")return!1;o="a",s.push(e[i]),i++,a++}else if(r[a]==="*"&&e[i]&&(this.options.dot||!e[i].startsWith("."))&&e[i]!=="**"){if(o==="a")return!1;o="b",s.push(r[a]),i++,a++}else return!1;return e.length===r.length&&s}parseNegate(){if(this.nonegate)return;const e=this.pattern;let r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n=!1){let i=0,a=0;if(this.isWindows){const o=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),c=!o&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),l=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),f=!l&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3]),p=c?3:o?0:void 0,u=f?3:l?0:void 0;if(typeof p=="number"&&typeof u=="number"){const[h,d]=[e[p],r[u]];h.toLowerCase()===d.toLowerCase()&&(r[u]=h,a=u,i=p)}}const{optimizationLevel:s=1}=this.options;return s>=2&&(e=this.levelTwoFileOptimize(e)),r.includes(ot)?this.#r(e,r,n,i,a):this.#t(e,r,n,i,a)}#r(e,r,n,i,a){const s=r.indexOf(ot,a),o=r.lastIndexOf(ot),[c,l,f]=n?[r.slice(a,s),r.slice(s+1),[]]:[r.slice(a,s),r.slice(s+1,o),r.slice(o+1)];if(c.length){const y=e.slice(i,i+c.length);if(!this.#t(y,c,n,0,0))return!1;i+=c.length,a+=c.length}let p=0;if(f.length){if(f.length+i>e.length)return!1;let y=e.length-f.length;if(this.#t(e,f,n,y,0))p=f.length;else{if(e[e.length-1]!==""||i+f.length===e.length||(y--,!this.#t(e,f,n,y,0)))return!1;p=f.length+1}}if(!l.length){let y=!!p;for(let w=i;w<e.length-p;w++){const E=String(e[w]);if(y=!0,E==="."||E===".."||!this.options.dot&&E.startsWith("."))return!1}return n||y}const u=[[[],0]];let h=u[0],d=0;const b=[0];for(const y of l)y===ot?(b.push(d),h=[[],0],u.push(h)):(h[0].push(y),d++);let D=u.length-1;const g=e.length-p;for(const y of u)y[1]=g-(b[D--]+y[0].length);return!!this.#n(e,u,i,0,n,0,!!p)}#n(e,r,n,i,a,s,o){const c=r[i];if(!c){for(let p=n;p<e.length;p++){o=!0;const u=e[p];if(u==="."||u===".."||!this.options.dot&&u.startsWith("."))return!1}return o}const[l,f]=c;for(;n<=f;){if(this.#t(e.slice(0,n+l.length),l,a,n,0)&&s<this.maxGlobstarRecursion){const h=this.#n(e,r,n+l.length,i+1,a,s+1,o);if(h!==!1)return h}const u=e[n];if(u==="."||u===".."||!this.options.dot&&u.startsWith("."))return!1;n++}return a||null}#t(e,r,n,i,a){let s,o,c,l;for(s=i,o=a,l=e.length,c=r.length;s<l&&o<c;s++,o++){this.debug("matchOne loop");let f=r[o],p=e[s];if(this.debug(r,f,p),f===!1||f===ot)return!1;let u;if(typeof f=="string"?(u=p===f,this.debug("string match",f,p,u)):(u=f.test(p),this.debug("pattern match",f,p,u)),!u)return!1}if(s===l&&o===c)return!0;if(s===l)return n;if(o===c)return s===l-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return Nb(this.pattern,this.options)}parse(e){va(e);const r=this.options;if(e==="**")return ot;if(e==="")return"";let n,i=null;(n=e.match(l_))?i=r.dot?p_:f_:(n=e.match(e_))?i=(r.nocase?r.dot?i_:n_:r.dot?r_:t_)(n[1]):(n=e.match(d_))?i=(r.nocase?r.dot?m_:h_:r.dot?g_:D_)(n):(n=e.match(s_))?i=r.dot?o_:a_:(n=e.match(u_))&&(i=c_);const a=ap.fromGlob(e,this.options).toMMPattern();return i&&typeof a=="object"&&Reflect.defineProperty(a,"test",{value:i}),a}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const r=this.options,n=r.noglobstar?v_:r.dot?x_:w_,i=new Set(r.nocase?["i"]:[]);let a=e.map(c=>{const l=c.map(p=>{if(p instanceof RegExp)for(const u of p.flags.split(""))i.add(u);return typeof p=="string"?__(p):p===ot?ot:p._src});l.forEach((p,u)=>{const h=l[u+1],d=l[u-1];p!==ot||d===ot||(d===void 0?h!==void 0&&h!==ot?l[u+1]="(?:\\/|"+n+"\\/)?"+h:l[u]=n:h===void 0?l[u-1]=d+"(?:\\/|\\/"+n+")?":h!==ot&&(l[u-1]=d+"(?:\\/|\\/"+n+"\\/)"+h,l[u+1]=ot))});const f=l.filter(p=>p!==ot);if(this.partial&&f.length>=1){const p=[];for(let u=1;u<=f.length;u++)p.push(f.slice(0,u).join("/"));return"(?:"+p.join("|")+")"}return f.join("/")}).join("|");const[s,o]=e.length>1?["(?:",")"]:["",""];a="^"+s+a+o+"$",this.partial&&(a="^(?:\\/|"+s+a.slice(1,-1)+o+")$"),this.negate&&(a="^(?!"+a+").+$");try{this.regexp=new RegExp(a,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;const n=this.options;this.isWindows&&(e=e.split("\\").join("/"));const i=this.slashSplit(e);this.debug(this.pattern,"split",i);const a=this.set;this.debug(this.pattern,"set",a);let s=i[i.length-1];if(!s)for(let o=i.length-2;!s&&o>=0;o--)s=i[o];for(const o of a){let c=i;if(n.matchBase&&o.length===1&&(c=[s]),this.matchOne(c,o,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return lt.defaults(e).Minimatch}}lt.AST=ap;lt.Minimatch=Ia;lt.escape=Q3;lt.unescape=xi;var Sl={exports:{}};var L2;function S_(){return L2||(L2=1,(function(t){const e=$e,r=dt,n=Ie,i=yy,a={fs:e.constants,os:r.constants},s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",o=/XXXXXX/,c=3,l=(a.O_CREAT||a.fs.O_CREAT)|(a.O_EXCL||a.fs.O_EXCL)|(a.O_RDWR||a.fs.O_RDWR),f=r.platform()==="win32",p=a.EBADF||a.os.errno.EBADF,u=a.ENOENT||a.os.errno.ENOENT,h=448,d=384,b="exit",D=[],g=e.rmdirSync.bind(e);let y=!1;function w(Y,I){return e.rm(Y,{recursive:!0},I)}function E(Y){return e.rmSync(Y,{recursive:!0})}function x(Y,I){const j=L(Y,I),W=j[0],G=j[1];X(W,function(H,ee){if(H)return G(H);let v=ee.tries;(function V(){try{const K=se(ee);e.stat(K,function(ce){if(!ce)return v-- >0?V():G(new Error("Could not get a unique tmp filename, max tries reached "+K));G(null,K)})}catch(K){G(K)}})()})}function m(Y){const I=L(Y),j=I[0],W=de(j);let G=W.tries;do{const H=se(W);try{e.statSync(H)}catch{return H}}while(G-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function F(Y,I){const j=L(Y,I),W=j[0],G=j[1];x(W,function(ee,v){if(ee)return G(ee);e.open(v,l,W.mode||d,function(K,ce){if(K)return G(K);if(W.discardDescriptor)return e.close(ce,function(ve){return G(ve,v,void 0,O(v,-1,W,!1))});{const oe=W.discardDescriptor||W.detachDescriptor;G(null,v,ce,O(v,oe?-1:ce,W,!1))}})})}function _(Y){const I=L(Y),j=I[0],W=j.discardDescriptor||j.detachDescriptor,G=m(j);let H=e.openSync(G,l,j.mode||d);return j.discardDescriptor&&(e.closeSync(H),H=void 0),{name:G,fd:H,removeCallback:O(G,W?-1:H,j,!0)}}function T(Y,I){const j=L(Y,I),W=j[0],G=j[1];x(W,function(ee,v){if(ee)return G(ee);e.mkdir(v,W.mode||h,function(K){if(K)return G(K);G(null,v,N(v,W,!1))})})}function M(Y){const I=L(Y),j=I[0],W=m(j);return e.mkdirSync(W,j.mode||h),{name:W,removeCallback:N(W,j,!0)}}function B(Y,I){const j=function(W){if(W&&!De(W))return I(W);I()};0<=Y[0]?e.close(Y[0],function(){e.unlink(Y[1],j)}):e.unlink(Y[1],j)}function A(Y){let I=null;try{0<=Y[0]&&e.closeSync(Y[0])}catch(j){if(!be(j)&&!De(j))throw j}finally{try{e.unlinkSync(Y[1])}catch(j){De(j)||(I=j)}}if(I!==null)throw I}function O(Y,I,j,W){const G=z(A,[I,Y],W),H=z(B,[I,Y],W,G);return j.keep||D.unshift(G),W?G:H}function N(Y,I,j){const W=I.unsafeCleanup?w:e.rmdir.bind(e),G=I.unsafeCleanup?E:g,H=z(G,Y,j),ee=z(W,Y,j,H);return I.keep||D.unshift(H),j?H:ee}function z(Y,I,j,W){let G=!1;return function H(ee){if(!G){const v=W||H,V=D.indexOf(v);return V>=0&&D.splice(V,1),G=!0,j||Y===g||Y===E?Y(I):Y(I,ee||function(){})}}}function C(){if(y)for(;D.length;)try{D[0]()}catch{}}function k(Y){let I=[],j=null;try{j=i.randomBytes(Y)}catch{j=i.pseudoRandomBytes(Y)}for(let W=0;W<Y;W++)I.push(s[j[W]%s.length]);return I.join("")}function q(Y){return typeof Y>"u"}function L(Y,I){if(typeof Y=="function")return[{},Y];if(q(Y))return[{},I];const j={};for(const W of Object.getOwnPropertyNames(Y))j[W]=Y[W];return[j,I]}function $(Y,I,j){const W=n.isAbsolute(Y)?Y:n.join(I,Y);e.stat(W,function(G){G?e.realpath(n.dirname(W),function(H,ee){if(H)return j(H);j(null,n.join(ee,n.basename(W)))}):e.realpath(W,j)})}function J(Y,I){const j=n.isAbsolute(Y)?Y:n.join(I,Y);try{return e.statSync(j),e.realpathSync(j)}catch{const G=e.realpathSync(n.dirname(j));return n.join(G,n.basename(j))}}function se(Y){const I=Y.tmpdir;if(!q(Y.name))return n.join(I,Y.dir,Y.name);if(!q(Y.template))return n.join(I,Y.dir,Y.template).replace(o,k(6));const j=[Y.prefix?Y.prefix:"tmp","-",process.pid,"-",k(12),Y.postfix?"-"+Y.postfix:""].join("");return n.join(I,Y.dir,j)}function ue(Y){if(!q(Y.name)){const I=Y.name;if(n.isAbsolute(I))throw new Error(`name option must not contain an absolute path, found "${I}".`);const j=n.basename(I);if(j===".."||j==="."||j!==I)throw new Error(`name option must not contain a path, found "${I}".`)}if(!q(Y.template)&&!Y.template.match(o))throw new Error(`Invalid template, found "${Y.template}".`);if(!q(Y.tries)&&isNaN(Y.tries)||Y.tries<0)throw new Error(`Invalid tries, found "${Y.tries}".`);Y.tries=q(Y.name)?Y.tries||c:1,Y.keep=!!Y.keep,Y.detachDescriptor=!!Y.detachDescriptor,Y.discardDescriptor=!!Y.discardDescriptor,Y.unsafeCleanup=!!Y.unsafeCleanup,Y.prefix=q(Y.prefix)?"":Y.prefix,Y.postfix=q(Y.postfix)?"":Y.postfix}function ne(Y,I,j,W){if(q(I))return W(null);$(I,j,function(G,H){if(G)return W(G);const ee=n.relative(j,H);if(!H.startsWith(j))return W(new Error(`${Y} option must be relative to "${j}", found "${ee}".`));W(null,ee)})}function ge(Y,I,j){if(q(I))return;const W=J(I,j),G=n.relative(j,W);if(!W.startsWith(j))throw new Error(`${Y} option must be relative to "${j}", found "${G}".`);return G}function X(Y,I){we(Y,function(j,W){if(j)return I(j);Y.tmpdir=W;try{ue(Y,W)}catch(G){return I(G)}ne("dir",Y.dir,W,function(G,H){if(G)return I(G);Y.dir=q(H)?"":H,ne("template",Y.template,W,function(ee,v){if(ee)return I(ee);Y.template=v,I(null,Y)})})})}function de(Y){const I=Y.tmpdir=Te(Y);ue(Y);const j=ge("dir",Y.dir,I);return Y.dir=q(j)?"":j,Y.template=ge("template",Y.template,I),Y}function be(Y){return ae(Y,-p,"EBADF")}function De(Y){return ae(Y,-u,"ENOENT")}function ae(Y,I,j){return f?Y.code===j:Y.code===j&&Y.errno===I}function pe(){y=!0}function we(Y,I){return e.realpath(Y&&Y.tmpdir||r.tmpdir(),I)}function Te(Y){return e.realpathSync(Y&&Y.tmpdir||r.tmpdir())}process.addListener(b,C),Object.defineProperty(t.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return Te()}}),t.exports.dir=T,t.exports.dirSync=M,t.exports.file=F,t.exports.fileSync=_,t.exports.tmpName=x,t.exports.tmpNameSync=m,t.exports.setGracefulCleanup=pe})(Sl)),Sl.exports}var O_=S_();const $2=Li(O_);function Nt(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}const op=(t,e)=>{const r=jb(T_(t));if(typeof r!="string")throw new TypeError(`${e} must be a string or a file URL: ${r}.`);return r},T_=t=>Mb(t)?t.toString():t,Mb=t=>typeof t!="string"&&t&&Object.getPrototypeOf(t)===String.prototype,jb=t=>t instanceof URL?er.fileURLToPath(t):t,Lb=(t,e=[],r={})=>{const n=op(t,"First argument"),[i,a]=Nt(e)?[[],e]:[e,r];if(!Array.isArray(i))throw new TypeError(`Second argument must be either an array of arguments or an options object: ${i}`);if(i.some(c=>typeof c=="object"&&c!==null))throw new TypeError(`Second argument must be an array of strings: ${i}`);const s=i.map(String),o=s.find(c=>c.includes("\0"));if(o!==void 0)throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${o}`);if(!Nt(a))throw new TypeError(`Last argument must be an options object: ${a}`);return[n,s,a]},{toString:$b}=Object.prototype,B_=t=>$b.call(t)==="[object ArrayBuffer]",Xt=t=>$b.call(t)==="[object Uint8Array]",qi=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),R_=new TextEncoder,Ub=t=>R_.encode(t),k_=new TextDecoder,zb=t=>k_.decode(t),q_=(t,e)=>P_(t,e).join(""),P_=(t,e)=>{if(e==="utf8"&&t.every(a=>typeof a=="string"))return t;const r=new by.StringDecoder(e),n=t.map(a=>typeof a=="string"?Ub(a):a).map(a=>r.write(a)),i=r.end();return i===""?n:[...n,i]},up=t=>t.length===1&&Xt(t[0])?t[0]:Hb(I_(t)),I_=t=>t.map(e=>typeof e=="string"?Ub(e):e),Hb=t=>{const e=new Uint8Array(N_(t));let r=0;for(const n of t)e.set(n,r),r+=n.length;return e},N_=t=>{let e=0;for(const r of t)e+=r.length;return e},M_=t=>Array.isArray(t)&&Array.isArray(t.raw),j_=(t,e)=>{let r=[];for(const[a,s]of t.entries())r=L_({templates:t,expressions:e,tokens:r,index:a,template:s});if(r.length===0)throw new TypeError("Template script must not be empty");const[n,...i]=r;return[n,i,{}]},L_=({templates:t,expressions:e,tokens:r,index:n,template:i})=>{if(i===void 0)throw new TypeError(`Invalid backslash sequence: ${t.raw[n]}`);const{nextTokens:a,leadingWhitespaces:s,trailingWhitespaces:o}=$_(i,t.raw[n]),c=z2(r,a,s);if(n===e.length)return c;const l=e[n],f=Array.isArray(l)?l.map(p=>H2(p)):[H2(l)];return z2(c,f,o)},$_=(t,e)=>{if(e.length===0)return{nextTokens:[],leadingWhitespaces:!1,trailingWhitespaces:!1};const r=[];let n=0;const i=U2.has(e[0]);for(let s=0,o=0;s<t.length;s+=1,o+=1){const c=e[o];if(U2.has(c))n!==s&&r.push(t.slice(n,s)),n=s+1;else if(c==="\\"){const l=e[o+1];l===`
|
|
146
|
-
`?(s-=1,o+=1):l==="u"&&e[o+2]==="{"?o=e.indexOf("}",o+3):o+=U_[l]??1}}const a=n===t.length;return a||r.push(t.slice(n)),{nextTokens:r,leadingWhitespaces:i,trailingWhitespaces:a}},U2=new Set([" "," ","\r",`
|
|
147
|
-
`]),U_={x:3,u:5},z2=(t,e,r)=>r||t.length===0||e.length===0?[...t,...e]:[...t.slice(0,-1),`${t.at(-1)}${e[0]}`,...e.slice(1)],H2=t=>{const e=typeof t;if(e==="string")return t;if(e==="number")return String(t);if(Nt(t)&&("stdout"in t||"isMaxBuffer"in t))return z_(t);throw t instanceof jn.ChildProcess||Object.prototype.toString.call(t)==="[object Promise]"?new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}."):new TypeError(`Unexpected "${e}" in template expression`)},z_=({stdout:t})=>{if(typeof t=="string")return t;if(Xt(t))return zb(t);throw t===void 0?new TypeError(`Missing result.stdout in template expression. This is probably due to the previous subprocess' "stdout" option.`):new TypeError(`Unexpected "${typeof t}" stdout in template expression`)},cn=t=>cp.includes(t),cp=[Ge.stdin,Ge.stdout,Ge.stderr],sr=["stdin","stdout","stderr"],Vb=t=>sr[t]??`stdio[${t}]`,H_=t=>{const e={...t};for(const r of Yb)e[r]=Wb(t,r);return e},Wb=(t,e)=>{const r=Array.from({length:V_(t)+1}),n=W_(t[e],r,e);return K_(n,e)},V_=({stdio:t})=>Array.isArray(t)?Math.max(t.length,sr.length):sr.length,W_=(t,e,r)=>Nt(t)?G_(t,e,r):e.fill(t),G_=(t,e,r)=>{for(const n of Object.keys(t).sort(Y_))for(const i of Z_(n,r,e))e[i]=t[n];return e},Y_=(t,e)=>V2(t)<V2(e)?1:-1,V2=t=>t==="stdout"||t==="stderr"?0:t==="all"?2:1,Z_=(t,e,r)=>{if(t==="ipc")return[r.length-1];const n=Gb(t);if(n===void 0||n===0)throw new TypeError(`"${e}.${t}" is invalid.
|
|
148
|
-
It must be "${e}.stdout", "${e}.stderr", "${e}.all", "${e}.ipc", or "${e}.fd3", "${e}.fd4" (and so on).`);if(n>=r.length)throw new TypeError(`"${e}.${t}" is invalid: that file descriptor does not exist.
|
|
149
|
-
Please set the "stdio" option to ensure that file descriptor exists.`);return n==="all"?[1,2]:[n]},Gb=t=>{if(t==="all")return t;if(sr.includes(t))return sr.indexOf(t);const e=J_.exec(t);if(e!==null)return Number(e[1])},J_=/^fd(\d+)$/,K_=(t,e)=>t.map(r=>r===void 0?Q_[e]:r),X_=Ve.debuglog("execa").enabled?"full":"none",Q_={lines:!1,buffer:!0,maxBuffer:1e3*1e3*100,verbose:X_,stripFinalNewline:!0},Yb=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],Pi=(t,e)=>e==="ipc"?t.at(-1):t[e],lp=({verbose:t},e)=>pp(t,e)!=="none",fp=({verbose:t},e)=>!["none","short"].includes(pp(t,e)),eS=({verbose:t},e)=>{const r=pp(t,e);return dp(r)?r:void 0},pp=(t,e)=>e===void 0?tS(t):Pi(t,e),tS=t=>t.find(e=>dp(e))??ff.findLast(e=>t.includes(e)),dp=t=>typeof t=="function",ff=["none","short","full"],rS=(t,e)=>{const r=[t,...e],n=r.join(" "),i=r.map(a=>uS(Zb(a))).join(" ");return{command:n,escapedCommand:i}},hp=t=>Ve.stripVTControlCharacters(t).split(`
|
|
150
|
-
`).map(e=>Zb(e)).join(`
|
|
151
|
-
`),Zb=t=>t.replaceAll(sS,e=>nS(e)),nS=t=>{const e=aS[t];if(e!==void 0)return e;const r=t.codePointAt(0),n=r.toString(16);return r<=oS?`\\u${n.padStart(4,"0")}`:`\\U${n}`},iS=()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return/[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}},sS=iS(),aS={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},oS=65535,uS=t=>cS.test(t)?t:Ge.platform==="win32"?`"${t.replaceAll('"','""')}"`:`'${t.replaceAll("'","'\\''")}'`,cS=/^[\w./-]+$/;function lS(){const{env:t}=Ge,{TERM:e,TERM_PROGRAM:r}=t;return Ge.platform!=="win32"?e!=="linux":!!t.WT_SESSION||!!t.TERMINUS_SUBLIME||t.ConEmuTask==="{cmd::Cmder}"||r==="Terminus-Sublime"||r==="vscode"||e==="xterm-256color"||e==="alacritty"||e==="rxvt-unicode"||e==="rxvt-unicode-256color"||t.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const Jb={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"█",squareDarkShade:"▓",squareMediumShade:"▒",squareLightShade:"░",squareTop:"▀",squareBottom:"▄",squareLeft:"▌",squareRight:"▐",squareCenter:"■",bullet:"●",dot:"․",ellipsis:"…",pointerSmall:"›",triangleUp:"▲",triangleUpSmall:"▴",triangleDown:"▼",triangleDownSmall:"▾",triangleLeftSmall:"◂",triangleRightSmall:"▸",home:"⌂",heart:"♥",musicNote:"♪",musicNoteBeamed:"♫",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",arrowLeftRight:"↔",arrowUpDown:"↕",almostEqual:"≈",notEqual:"≠",lessOrEqual:"≤",greaterOrEqual:"≥",identical:"≡",infinity:"∞",subscriptZero:"₀",subscriptOne:"₁",subscriptTwo:"₂",subscriptThree:"₃",subscriptFour:"₄",subscriptFive:"₅",subscriptSix:"₆",subscriptSeven:"₇",subscriptEight:"₈",subscriptNine:"₉",oneHalf:"½",oneThird:"⅓",oneQuarter:"¼",oneFifth:"⅕",oneSixth:"⅙",oneEighth:"⅛",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"¾",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞",line:"─",lineBold:"━",lineDouble:"═",lineDashed0:"┄",lineDashed1:"┅",lineDashed2:"┈",lineDashed3:"┉",lineDashed4:"╌",lineDashed5:"╍",lineDashed6:"╴",lineDashed7:"╶",lineDashed8:"╸",lineDashed9:"╺",lineDashed10:"╼",lineDashed11:"╾",lineDashed12:"−",lineDashed13:"–",lineDashed14:"‐",lineDashed15:"⁃",lineVertical:"│",lineVerticalBold:"┃",lineVerticalDouble:"║",lineVerticalDashed0:"┆",lineVerticalDashed1:"┇",lineVerticalDashed2:"┊",lineVerticalDashed3:"┋",lineVerticalDashed4:"╎",lineVerticalDashed5:"╏",lineVerticalDashed6:"╵",lineVerticalDashed7:"╷",lineVerticalDashed8:"╹",lineVerticalDashed9:"╻",lineVerticalDashed10:"╽",lineVerticalDashed11:"╿",lineDownLeft:"┐",lineDownLeftArc:"╮",lineDownBoldLeftBold:"┓",lineDownBoldLeft:"┒",lineDownLeftBold:"┑",lineDownDoubleLeftDouble:"╗",lineDownDoubleLeft:"╖",lineDownLeftDouble:"╕",lineDownRight:"┌",lineDownRightArc:"╭",lineDownBoldRightBold:"┏",lineDownBoldRight:"┎",lineDownRightBold:"┍",lineDownDoubleRightDouble:"╔",lineDownDoubleRight:"╓",lineDownRightDouble:"╒",lineUpLeft:"┘",lineUpLeftArc:"╯",lineUpBoldLeftBold:"┛",lineUpBoldLeft:"┚",lineUpLeftBold:"┙",lineUpDoubleLeftDouble:"╝",lineUpDoubleLeft:"╜",lineUpLeftDouble:"╛",lineUpRight:"└",lineUpRightArc:"╰",lineUpBoldRightBold:"┗",lineUpBoldRight:"┖",lineUpRightBold:"┕",lineUpDoubleRightDouble:"╚",lineUpDoubleRight:"╙",lineUpRightDouble:"╘",lineUpDownLeft:"┤",lineUpBoldDownBoldLeftBold:"┫",lineUpBoldDownBoldLeft:"┨",lineUpDownLeftBold:"┥",lineUpBoldDownLeftBold:"┩",lineUpDownBoldLeftBold:"┪",lineUpDownBoldLeft:"┧",lineUpBoldDownLeft:"┦",lineUpDoubleDownDoubleLeftDouble:"╣",lineUpDoubleDownDoubleLeft:"╢",lineUpDownLeftDouble:"╡",lineUpDownRight:"├",lineUpBoldDownBoldRightBold:"┣",lineUpBoldDownBoldRight:"┠",lineUpDownRightBold:"┝",lineUpBoldDownRightBold:"┡",lineUpDownBoldRightBold:"┢",lineUpDownBoldRight:"┟",lineUpBoldDownRight:"┞",lineUpDoubleDownDoubleRightDouble:"╠",lineUpDoubleDownDoubleRight:"╟",lineUpDownRightDouble:"╞",lineDownLeftRight:"┬",lineDownBoldLeftBoldRightBold:"┳",lineDownLeftBoldRightBold:"┯",lineDownBoldLeftRight:"┰",lineDownBoldLeftBoldRight:"┱",lineDownBoldLeftRightBold:"┲",lineDownLeftRightBold:"┮",lineDownLeftBoldRight:"┭",lineDownDoubleLeftDoubleRightDouble:"╦",lineDownDoubleLeftRight:"╥",lineDownLeftDoubleRightDouble:"╤",lineUpLeftRight:"┴",lineUpBoldLeftBoldRightBold:"┻",lineUpLeftBoldRightBold:"┷",lineUpBoldLeftRight:"┸",lineUpBoldLeftBoldRight:"┹",lineUpBoldLeftRightBold:"┺",lineUpLeftRightBold:"┶",lineUpLeftBoldRight:"┵",lineUpDoubleLeftDoubleRightDouble:"╩",lineUpDoubleLeftRight:"╨",lineUpLeftDoubleRightDouble:"╧",lineUpDownLeftRight:"┼",lineUpBoldDownBoldLeftBoldRightBold:"╋",lineUpDownBoldLeftBoldRightBold:"╈",lineUpBoldDownLeftBoldRightBold:"╇",lineUpBoldDownBoldLeftRightBold:"╊",lineUpBoldDownBoldLeftBoldRight:"╉",lineUpBoldDownLeftRight:"╀",lineUpDownBoldLeftRight:"╁",lineUpDownLeftBoldRight:"┽",lineUpDownLeftRightBold:"┾",lineUpBoldDownBoldLeftRight:"╂",lineUpDownLeftBoldRightBold:"┿",lineUpBoldDownLeftBoldRight:"╃",lineUpBoldDownLeftRightBold:"╄",lineUpDownBoldLeftBoldRight:"╅",lineUpDownBoldLeftRightBold:"╆",lineUpDoubleDownDoubleLeftDoubleRightDouble:"╬",lineUpDoubleDownDoubleLeftRight:"╫",lineUpDownLeftDoubleRightDouble:"╪",lineCross:"╳",lineBackslash:"╲",lineSlash:"╱"},fS={tick:"✔",info:"ℹ",warning:"⚠",cross:"✘",squareSmall:"◻",squareSmallFilled:"◼",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",pointer:"❯",triangleUpOutline:"△",triangleLeft:"◀",triangleRight:"▶",lozenge:"◆",lozengeOutline:"◇",hamburger:"☰",smiley:"㋡",mustache:"෴",star:"★",play:"▶",nodejs:"⬢",oneSeventh:"⅐",oneNinth:"⅑",oneTenth:"⅒"},pS={tick:"√",info:"i",warning:"‼",cross:"×",squareSmall:"□",squareSmallFilled:"■",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(×)",circlePipe:"(│)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[×]",checkboxOff:"[ ]",checkboxCircleOn:"(×)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"∆",triangleLeft:"◄",triangleRight:"►",lozenge:"♦",lozengeOutline:"◊",hamburger:"≡",smiley:"☺",mustache:"┌─┐",star:"✶",play:"►",nodejs:"♦",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},dS={...Jb,...fS},hS={...Jb,...pS},mS=lS(),Ol=mS?dS:hS,gS=un?.WriteStream?.prototype?.hasColors?.()??!1,Na=(t,e)=>{if(!gS)return i=>i;const r=`\x1B[${t}m`,n=`\x1B[${e}m`;return i=>{const a=i+"";let s=a.indexOf(n);if(s===-1)return r+a+n;let o=r,c=0;const f=(e===22?n:"")+r;for(;s!==-1;)o+=a.slice(c,s)+f,c=s+n.length,s=a.indexOf(n,c);return o+=a.slice(c)+n,o}},DS=Na(1,22),pf=Na(90,39),yS=Na(91,39),bS=Na(93,39),vS=({type:t,message:e,timestamp:r,piped:n,commandId:i,result:{failed:a=!1}={},options:{reject:s=!0}})=>{const o=xS(r),c=wS[t]({failed:a,reject:s,piped:n}),l=ES[t]({reject:s});return`${pf(`[${o}]`)} ${pf(`[${i}]`)} ${l(c)} ${l(e)}`},xS=t=>`${Hs(t.getHours(),2)}:${Hs(t.getMinutes(),2)}:${Hs(t.getSeconds(),2)}.${Hs(t.getMilliseconds(),3)}`,Hs=(t,e)=>String(t).padStart(e,"0"),W2=({failed:t,reject:e})=>t?e?Ol.cross:Ol.warning:Ol.tick,wS={command:({piped:t})=>t?"|":"$",output:()=>" ",ipc:()=>"*",error:W2,duration:W2},G2=t=>t,ES={command:()=>DS,output:()=>G2,ipc:()=>G2,error:({reject:t})=>t?yS:bS,duration:()=>pf},FS=(t,e,r)=>{const n=eS(e,r);return t.map(({verboseLine:i,verboseObject:a})=>CS(i,a,n)).filter(i=>i!==void 0).map(i=>AS(i)).join("")},CS=(t,e,r)=>{if(r===void 0)return t;const n=r(t,e);if(typeof n=="string")return n},AS=t=>t.endsWith(`
|
|
152
|
-
`)?t:`${t}
|
|
153
|
-
`,Gi=({type:t,verboseMessage:e,fdNumber:r,verboseInfo:n,result:i})=>{const a=_S({type:t,result:i,verboseInfo:n}),s=SS(e,a),o=FS(s,n,r);o!==""&&console.warn(o.slice(0,-1))},_S=({type:t,result:e,verboseInfo:{escapedCommand:r,commandId:n,rawOptions:{piped:i=!1,...a}}})=>({type:t,escapedCommand:r,commandId:`${n}`,timestamp:new Date,piped:i,result:e,options:a}),SS=(t,e)=>t.split(`
|
|
154
|
-
`).map(r=>OS({...e,message:r})),OS=t=>({verboseLine:vS(t),verboseObject:t}),Kb=t=>{const e=typeof t=="string"?t:Ve.inspect(t);return hp(e).replaceAll(" "," ".repeat(TS))},TS=2,BS=(t,e)=>{lp(e)&&Gi({type:"command",verboseMessage:t,verboseInfo:e})},RS=(t,e,r)=>{PS(t);const n=kS(t);return{verbose:t,escapedCommand:e,commandId:n,rawOptions:r}},kS=t=>lp({verbose:t})?qS++:void 0;let qS=0n;const PS=t=>{for(const e of t){if(e===!1)throw new TypeError(`The "verbose: false" option was renamed to "verbose: 'none'".`);if(e===!0)throw new TypeError(`The "verbose: true" option was renamed to "verbose: 'short'".`);if(!ff.includes(e)&&!dp(e)){const r=ff.map(n=>`'${n}'`).join(", ");throw new TypeError(`The "verbose" option must not be ${e}. Allowed values are: ${r} or a function.`)}}},Xb=()=>Ge.hrtime.bigint(),Qb=t=>Number(Ge.hrtime.bigint()-t)/1e6,ev=(t,e,r)=>{const n=Xb(),{command:i,escapedCommand:a}=rS(t,e),s=Wb(r,"verbose"),o=RS(s,a,{...r});return BS(a,o),{command:i,escapedCommand:a,startTime:n,verboseInfo:o}};var rn={exports:{}},Tl,Y2;function IS(){if(Y2)return Tl;Y2=1,Tl=n,n.sync=i;var t=$e;function e(a,s){var o=s.pathExt!==void 0?s.pathExt:process.env.PATHEXT;if(!o||(o=o.split(";"),o.indexOf("")!==-1))return!0;for(var c=0;c<o.length;c++){var l=o[c].toLowerCase();if(l&&a.substr(-l.length).toLowerCase()===l)return!0}return!1}function r(a,s,o){return!a.isSymbolicLink()&&!a.isFile()?!1:e(s,o)}function n(a,s,o){t.stat(a,function(c,l){o(c,c?!1:r(l,a,s))})}function i(a,s){return r(t.statSync(a),a,s)}return Tl}var Bl,Z2;function NS(){if(Z2)return Bl;Z2=1,Bl=e,e.sync=r;var t=$e;function e(a,s,o){t.stat(a,function(c,l){o(c,c?!1:n(l,s))})}function r(a,s){return n(t.statSync(a),s)}function n(a,s){return a.isFile()&&i(a,s)}function i(a,s){var o=a.mode,c=a.uid,l=a.gid,f=s.uid!==void 0?s.uid:process.getuid&&process.getuid(),p=s.gid!==void 0?s.gid:process.getgid&&process.getgid(),u=parseInt("100",8),h=parseInt("010",8),d=parseInt("001",8),b=u|h,D=o&d||o&h&&l===p||o&u&&c===f||o&b&&f===0;return D}return Bl}var Rl,J2;function MS(){if(J2)return Rl;J2=1;var t;process.platform==="win32"||Rr.TESTING_WINDOWS?t=IS():t=NS(),Rl=e,e.sync=r;function e(n,i,a){if(typeof i=="function"&&(a=i,i={}),!a){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,o){e(n,i||{},function(c,l){c?o(c):s(l)})})}t(n,i||{},function(s,o){s&&(s.code==="EACCES"||i&&i.ignoreErrors)&&(s=null,o=!1),a(s,o)})}function r(n,i){try{return t.sync(n,i||{})}catch(a){if(i&&i.ignoreErrors||a.code==="EACCES")return!1;throw a}}return Rl}var kl,K2;function jS(){if(K2)return kl;K2=1;const t=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",e=Ie,r=t?";":":",n=MS(),i=c=>Object.assign(new Error(`not found: ${c}`),{code:"ENOENT"}),a=(c,l)=>{const f=l.colon||r,p=c.match(/\//)||t&&c.match(/\\/)?[""]:[...t?[process.cwd()]:[],...(l.path||process.env.PATH||"").split(f)],u=t?l.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",h=t?u.split(f):[""];return t&&c.indexOf(".")!==-1&&h[0]!==""&&h.unshift(""),{pathEnv:p,pathExt:h,pathExtExe:u}},s=(c,l,f)=>{typeof l=="function"&&(f=l,l={}),l||(l={});const{pathEnv:p,pathExt:u,pathExtExe:h}=a(c,l),d=[],b=g=>new Promise((y,w)=>{if(g===p.length)return l.all&&d.length?y(d):w(i(c));const E=p[g],x=/^".*"$/.test(E)?E.slice(1,-1):E,m=e.join(x,c),F=!x&&/^\.[\\\/]/.test(c)?c.slice(0,2)+m:m;y(D(F,g,0))}),D=(g,y,w)=>new Promise((E,x)=>{if(w===u.length)return E(b(y+1));const m=u[w];n(g+m,{pathExt:h},(F,_)=>{if(!F&&_)if(l.all)d.push(g+m);else return E(g+m);return E(D(g,y,w+1))})});return f?b(0).then(g=>f(null,g),f):b(0)},o=(c,l)=>{l=l||{};const{pathEnv:f,pathExt:p,pathExtExe:u}=a(c,l),h=[];for(let d=0;d<f.length;d++){const b=f[d],D=/^".*"$/.test(b)?b.slice(1,-1):b,g=e.join(D,c),y=!D&&/^\.[\\\/]/.test(c)?c.slice(0,2)+g:g;for(let w=0;w<p.length;w++){const E=y+p[w];try{if(n.sync(E,{pathExt:u}))if(l.all)h.push(E);else return E}catch{}}}if(l.all&&h.length)return h;if(l.nothrow)return null;throw i(c)};return kl=s,s.sync=o,kl}var Vs={exports:{}},X2;function LS(){if(X2)return Vs.exports;X2=1;const t=(e={})=>{const r=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(r).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};return Vs.exports=t,Vs.exports.default=t,Vs.exports}var ql,Q2;function $S(){if(Q2)return ql;Q2=1;const t=Ie,e=jS(),r=LS();function n(a,s){const o=a.options.env||process.env,c=process.cwd(),l=a.options.cwd!=null,f=l&&process.chdir!==void 0&&!process.chdir.disabled;if(f)try{process.chdir(a.options.cwd)}catch{}let p;try{p=e.sync(a.command,{path:o[r({env:o})],pathExt:s?t.delimiter:void 0})}catch{}finally{f&&process.chdir(c)}return p&&(p=t.resolve(l?a.options.cwd:"",p)),p}function i(a){return n(a)||n(a,!0)}return ql=i,ql}var Ws={},eD;function US(){if(eD)return Ws;eD=1;const t=/([()\][%!^"`<>&|;, *?])/g;function e(n){return n=n.replace(t,"^$1"),n}function r(n,i){return n=`${n}`,n=n.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),n=n.replace(/(?=(\\+?)?)\1$/,"$1$1"),n=`"${n}"`,n=n.replace(t,"^$1"),i&&(n=n.replace(t,"^$1")),n}return Ws.command=e,Ws.argument=r,Ws}var Pl,tD;function zS(){return tD||(tD=1,Pl=/^#!(.*)/),Pl}var Il,rD;function HS(){if(rD)return Il;rD=1;const t=zS();return Il=(e="")=>{const r=e.match(t);if(!r)return null;const[n,i]=r[0].replace(/#! ?/,"").split(" "),a=n.split("/").pop();return a==="env"?i:i?`${a} ${i}`:a},Il}var Nl,nD;function VS(){if(nD)return Nl;nD=1;const t=$e,e=HS();function r(n){const a=Buffer.alloc(150);let s;try{s=t.openSync(n,"r"),t.readSync(s,a,0,150,0),t.closeSync(s)}catch{}return e(a.toString())}return Nl=r,Nl}var Ml,iD;function WS(){if(iD)return Ml;iD=1;const t=Ie,e=$S(),r=US(),n=VS(),i=process.platform==="win32",a=/\.(?:com|exe)$/i,s=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function o(f){f.file=e(f);const p=f.file&&n(f.file);return p?(f.args.unshift(f.file),f.command=p,e(f)):f.file}function c(f){if(!i)return f;const p=o(f),u=!a.test(p);if(f.options.forceShell||u){const h=s.test(p);f.command=t.normalize(f.command),f.command=r.command(f.command),f.args=f.args.map(b=>r.argument(b,h));const d=[f.command].concat(f.args).join(" ");f.args=["/d","/s","/c",`"${d}"`],f.command=process.env.comspec||"cmd.exe",f.options.windowsVerbatimArguments=!0}return f}function l(f,p,u){p&&!Array.isArray(p)&&(u=p,p=null),p=p?p.slice(0):[],u=Object.assign({},u);const h={command:f,args:p,options:u,file:void 0,original:{command:f,args:p}};return u.shell?h:c(h)}return Ml=l,Ml}var jl,sD;function GS(){if(sD)return jl;sD=1;const t=process.platform==="win32";function e(a,s){return Object.assign(new Error(`${s} ${a.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${s} ${a.command}`,path:a.command,spawnargs:a.args})}function r(a,s){if(!t)return;const o=a.emit;a.emit=function(c,l){if(c==="exit"){const f=n(l,s);if(f)return o.call(a,"error",f)}return o.apply(a,arguments)}}function n(a,s){return t&&a===1&&!s.file?e(s.original,"spawn"):null}function i(a,s){return t&&a===1&&!s.file?e(s.original,"spawnSync"):null}return jl={hookChildProcess:r,verifyENOENT:n,verifyENOENTSync:i,notFoundError:e},jl}var aD;function YS(){if(aD)return rn.exports;aD=1;const t=jn,e=WS(),r=GS();function n(a,s,o){const c=e(a,s,o),l=t.spawn(c.command,c.args,c.options);return r.hookChildProcess(l,c),l}function i(a,s,o){const c=e(a,s,o),l=t.spawnSync(c.command,c.args,c.options);return l.error=l.error||r.verifyENOENTSync(l.status,c),l}return rn.exports=n,rn.exports.spawn=n,rn.exports.sync=i,rn.exports._parse=e,rn.exports._enoent=r,rn.exports}var ZS=YS();const JS=Li(ZS);function tv(t={}){const{env:e=process.env,platform:r=process.platform}=t;return r!=="win32"?"PATH":Object.keys(e).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"}Ve.promisify(jn.execFile);function mp(t){return t instanceof URL?er.fileURLToPath(t):t}function KS(t){return{*[Symbol.iterator](){let e=Ie.resolve(mp(t)),r;for(;r!==e;)yield e,r=e,e=Ie.resolve(e,"..")}}}const XS=({cwd:t=Ge.cwd(),path:e=Ge.env[tv()],preferLocal:r=!0,execPath:n=Ge.execPath,addExecPath:i=!0}={})=>{const a=Ie.resolve(mp(t)),s=[],o=e.split(Ie.delimiter);return r&&QS(s,o,a),i&&e8(s,o,n,a),e===""||e===Ie.delimiter?`${s.join(Ie.delimiter)}${e}`:[...s,e].join(Ie.delimiter)},QS=(t,e,r)=>{for(const n of KS(r)){const i=Ie.join(n,"node_modules/.bin");e.includes(i)||t.push(i)}},e8=(t,e,r,n)=>{const i=Ie.resolve(n,mp(r),"..");e.includes(i)||t.push(i)},t8=({env:t=Ge.env,...e}={})=>{t={...t};const r=tv({env:t});return e.path=t[r],t[r]=XS(e),t},r8=(t,e,r)=>{const n=r?mf:hf,i=t instanceof Yi?{}:{cause:t};return new n(e,i)};class Yi extends Error{}const rv=(t,e)=>{Object.defineProperty(t.prototype,"name",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,nv,{value:!0,writable:!1,enumerable:!1,configurable:!1})},n8=t=>df(t)&&nv in t,nv=Symbol("isExecaError"),df=t=>Object.prototype.toString.call(t)==="[object Error]";class hf extends Error{}rv(hf,hf.name);class mf extends Error{}rv(mf,mf.name);const i8=()=>{const t=sv-iv+1;return Array.from({length:t},s8)},s8=(t,e)=>({name:`SIGRT${e+1}`,number:iv+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),iv=34,sv=64,a8=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],av=()=>{const t=i8();return[...a8,...t].map(o8)},o8=({name:t,number:e,description:r,action:n,forced:i=!1,standard:a})=>{const{signals:{[t]:s}}=dt.constants,o=s!==void 0;return{name:t,number:o?s:e,description:r,supported:o,action:n,forced:i,standard:a}},u8=()=>{const t=av();return Object.fromEntries(t.map(c8))},c8=({name:t,number:e,description:r,supported:n,action:i,forced:a,standard:s})=>[t,{name:t,number:e,description:r,supported:n,action:i,forced:a,standard:s}],l8=u8(),f8=()=>{const t=av(),e=sv+1,r=Array.from({length:e},(n,i)=>p8(i,t));return Object.assign({},...r)},p8=(t,e)=>{const r=d8(t,e);if(r===void 0)return{};const{name:n,description:i,supported:a,action:s,forced:o,standard:c}=r;return{[t]:{name:n,number:t,description:i,supported:a,action:s,forced:o,standard:c}}},d8=(t,e)=>{const r=e.find(({name:n})=>dt.constants.signals[n]===t);return r!==void 0?r:e.find(n=>n.number===t)};f8();const h8=t=>{const e="option `killSignal`";if(t===0)throw new TypeError(`Invalid ${e}: 0 cannot be used.`);return ov(t,e)},m8=t=>t===0?t:ov(t,"`subprocess.kill()`'s argument"),ov=(t,e)=>{if(Number.isInteger(t))return g8(t,e);if(typeof t=="string")return y8(t,e);throw new TypeError(`Invalid ${e} ${String(t)}: it must be a string or an integer.
|
|
155
|
-
${gp()}`)},g8=(t,e)=>{if(oD.has(t))return oD.get(t);throw new TypeError(`Invalid ${e} ${t}: this signal integer does not exist.
|
|
156
|
-
${gp()}`)},D8=()=>new Map(Object.entries(dt.constants.signals).reverse().map(([t,e])=>[e,t])),oD=D8(),y8=(t,e)=>{if(t in dt.constants.signals)return t;throw t.toUpperCase()in dt.constants.signals?new TypeError(`Invalid ${e} '${t}': please rename it to '${t.toUpperCase()}'.`):new TypeError(`Invalid ${e} '${t}': this signal name does not exist.
|
|
157
|
-
${gp()}`)},gp=()=>`Available signal names: ${b8()}.
|
|
158
|
-
Available signal numbers: ${v8()}.`,b8=()=>Object.keys(dt.constants.signals).sort().map(t=>`'${t}'`).join(", "),v8=()=>[...new Set(Object.values(dt.constants.signals).sort((t,e)=>t-e))].join(", "),uv=t=>l8[t].description,x8=t=>{if(t===!1)return t;if(t===!0)return w8;if(!Number.isFinite(t)||t<0)throw new TypeError(`Expected the \`forceKillAfterDelay\` option to be a non-negative integer, got \`${t}\` (${typeof t})`);return t},w8=1e3*5,E8=({kill:t,options:{forceKillAfterDelay:e,killSignal:r},onInternalError:n,context:i,controller:a},s,o)=>{const{signal:c,error:l}=F8(s,o,r);C8(l,n);const f=t(c);return A8({kill:t,signal:c,forceKillAfterDelay:e,killSignal:r,killResult:f,context:i,controller:a}),f},F8=(t,e,r)=>{const[n=r,i]=df(t)?[void 0,t]:[t,e];if(typeof n!="string"&&!Number.isInteger(n))throw new TypeError(`The first argument must be an error instance or a signal name string/integer: ${String(n)}`);if(i!==void 0&&!df(i))throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${i}`);return{signal:m8(n),error:i}},C8=(t,e)=>{t!==void 0&&e.reject(t)},A8=async({kill:t,signal:e,forceKillAfterDelay:r,killSignal:n,killResult:i,context:a,controller:s})=>{e===n&&i&&cv({kill:t,forceKillAfterDelay:r,context:a,controllerSignal:s.signal})},cv=async({kill:t,forceKillAfterDelay:e,context:r,controllerSignal:n})=>{if(e!==!1)try{await ji.setTimeout(e,void 0,{signal:n}),t("SIGKILL")&&(r.isForcefullyTerminated??=!0)}catch{}},lv=async(t,e)=>{t.aborted||await He.once(t,"abort",{signal:e})},_8=({cancelSignal:t})=>{if(t!==void 0&&Object.prototype.toString.call(t)!=="[object AbortSignal]")throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(t)}`)},S8=({subprocess:t,cancelSignal:e,gracefulCancel:r,context:n,controller:i})=>e===void 0||r?[]:[O8(t,e,n,i)],O8=async(t,e,r,{signal:n})=>{throw await lv(e,n),r.terminationReason??="cancel",t.kill(),e.reason},Dp=({methodName:t,isSubprocess:e,ipc:r,isConnected:n})=>{T8(t,e,r),fv(t,e,n)},T8=(t,e,r)=>{if(!r)throw new Error(`${Kt(t,e)} can only be used if the \`ipc\` option is \`true\`.`)},fv=(t,e,r)=>{if(!r)throw new Error(`${Kt(t,e)} cannot be used: the ${Pr(e)} has already exited or disconnected.`)},B8=t=>{throw new Error(`${Kt("getOneMessage",t)} could not complete: the ${Pr(t)} exited or disconnected.`)},R8=t=>{throw new Error(`${Kt("sendMessage",t)} failed: the ${Pr(t)} is sending a message too, instead of listening to incoming messages.
|
|
159
|
-
This can be fixed by both sending a message and listening to incoming messages at the same time:
|
|
160
|
-
|
|
161
|
-
const [receivedMessage] = await Promise.all([
|
|
162
|
-
${Kt("getOneMessage",t)},
|
|
163
|
-
${Kt("sendMessage",t,"message, {strict: true}")},
|
|
164
|
-
]);`)},pv=(t,e)=>new Error(`${Kt("sendMessage",e)} failed when sending an acknowledgment response to the ${Pr(e)}.`,{cause:t}),k8=t=>{throw new Error(`${Kt("sendMessage",t)} failed: the ${Pr(t)} is not listening to incoming messages.`)},q8=t=>{throw new Error(`${Kt("sendMessage",t)} failed: the ${Pr(t)} exited without listening to incoming messages.`)},P8=()=>new Error(`\`cancelSignal\` aborted: the ${Pr(!0)} disconnected.`),I8=()=>{throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.")},N8=({error:t,methodName:e,isSubprocess:r})=>{if(t.code==="EPIPE")throw new Error(`${Kt(e,r)} cannot be used: the ${Pr(r)} is disconnecting.`,{cause:t})},M8=({error:t,methodName:e,isSubprocess:r,message:n})=>{if(j8(t))throw new Error(`${Kt(e,r)}'s argument type is invalid: the message cannot be serialized: ${String(n)}.`,{cause:t})},j8=({code:t,message:e})=>L8.has(t)||$8.some(r=>e.includes(r)),L8=new Set(["ERR_MISSING_ARGS","ERR_INVALID_ARG_TYPE"]),$8=["could not be cloned","circular structure","call stack size exceeded"],Kt=(t,e,r="")=>t==="cancelSignal"?"`cancelSignal`'s `controller.abort()`":`${U8(e)}${t}(${r})`,U8=t=>t?"":"subprocess.",Pr=t=>t?"parent process":"subprocess",yp=t=>{t.connected&&t.disconnect()},Zi=()=>{const t={},e=new Promise((r,n)=>{Object.assign(t,{resolve:r,reject:n})});return Object.assign(e,t)},dv=(t,e="stdin")=>{const{options:n,fileDescriptors:i}=ln.get(t),a=hv(i,e,!0),s=t.stdio[a];if(s===null)throw new TypeError(mv(a,e,n,!0));return s},bp=(t,e="stdout")=>{const{options:n,fileDescriptors:i}=ln.get(t),a=hv(i,e,!1),s=a==="all"?t.all:t.stdio[a];if(s==null)throw new TypeError(mv(a,e,n,!1));return s},ln=new WeakMap,hv=(t,e,r)=>{const n=z8(e,r);return H8(n,e,r,t),n},z8=(t,e)=>{const r=Gb(t);if(r!==void 0)return r;const{validOptions:n,defaultValue:i}=e?{validOptions:'"stdin"',defaultValue:"stdin"}:{validOptions:'"stdout", "stderr", "all"',defaultValue:"stdout"};throw new TypeError(`"${Oi(e)}" must not be "${t}".
|
|
165
|
-
It must be ${n} or "fd3", "fd4" (and so on).
|
|
166
|
-
It is optional and defaults to "${i}".`)},H8=(t,e,r,n)=>{const i=n[gv(t)];if(i===void 0)throw new TypeError(`"${Oi(r)}" must not be ${e}. That file descriptor does not exist.
|
|
167
|
-
Please set the "stdio" option to ensure that file descriptor exists.`);if(i.direction==="input"&&!r)throw new TypeError(`"${Oi(r)}" must not be ${e}. It must be a readable stream, not writable.`);if(i.direction!=="input"&&r)throw new TypeError(`"${Oi(r)}" must not be ${e}. It must be a writable stream, not readable.`)},mv=(t,e,r,n)=>{if(t==="all"&&!r.all)return`The "all" option must be true to use "from: 'all'".`;const{optionName:i,optionValue:a}=V8(t,r);return`The "${i}: ${gf(a)}" option is incompatible with using "${Oi(n)}: ${gf(e)}".
|
|
168
|
-
Please set this option with "pipe" instead.`},V8=(t,{stdin:e,stdout:r,stderr:n,stdio:i})=>{const a=gv(t);return a===0&&e!==void 0?{optionName:"stdin",optionValue:e}:a===1&&r!==void 0?{optionName:"stdout",optionValue:r}:a===2&&n!==void 0?{optionName:"stderr",optionValue:n}:{optionName:`stdio[${a}]`,optionValue:i[a]}},gv=t=>t==="all"?1:t,Oi=t=>t?"to":"from",gf=t=>typeof t=="string"?`'${t}'`:typeof t=="number"?`${t}`:"Stream",xa=(t,e,r)=>{const n=t.getMaxListeners();n===0||n===Number.POSITIVE_INFINITY||(t.setMaxListeners(n+e),He.addAbortListener(r,()=>{t.setMaxListeners(t.getMaxListeners()-e)}))},Dv=(t,e)=>{e&&Df(t)},Df=t=>{t.refCounted()},yv=(t,e)=>{e&&yf(t)},yf=t=>{t.unrefCounted()},W8=(t,e)=>{e&&(yf(t),yf(t))},G8=(t,e)=>{e&&(Df(t),Df(t))},Y8=async({anyProcess:t,channel:e,isSubprocess:r,ipcEmitter:n},i)=>{if(tO(i)||dO(i))return;ua.has(t)||ua.set(t,[]);const a=ua.get(t);if(a.push(i),!(a.length>1))for(;a.length>0;){await aO(t,n,i),await ji.scheduler.yield();const s=await eO({wrappedMessage:a[0],anyProcess:t,channel:e,isSubprocess:r,ipcEmitter:n});a.shift(),n.emit("message",s),n.emit("message:done")}},Z8=async({anyProcess:t,channel:e,isSubprocess:r,ipcEmitter:n,boundOnMessage:i})=>{Fv();const a=ua.get(t);for(;a?.length>0;)await He.once(n,"message:done");t.removeListener("message",i),G8(e,r),n.connected=!1,n.emit("disconnect")},ua=new WeakMap,Ma=(t,e,r)=>{if(ca.has(t))return ca.get(t);const n=new He.EventEmitter;return n.connected=!0,ca.set(t,n),J8({ipcEmitter:n,anyProcess:t,channel:e,isSubprocess:r}),n},ca=new WeakMap,J8=({ipcEmitter:t,anyProcess:e,channel:r,isSubprocess:n})=>{const i=Y8.bind(void 0,{anyProcess:e,channel:r,isSubprocess:n,ipcEmitter:t});e.on("message",i),e.once("disconnect",Z8.bind(void 0,{anyProcess:e,channel:r,isSubprocess:n,ipcEmitter:t,boundOnMessage:i})),W8(r,n)},bv=t=>{const e=ca.get(t);return e===void 0?t.channel!==null:e.connected},K8=({anyProcess:t,channel:e,isSubprocess:r,message:n,strict:i})=>{if(!i)return n;const a=Ma(t,e,r),s=vp(t,a);return{id:X8++,type:ja,message:n,hasListeners:s}};let X8=0n;const Q8=(t,e)=>{if(!(e?.type!==ja||e.hasListeners))for(const{id:r}of t)r!==void 0&&wa[r].resolve({isDeadlock:!0,hasListeners:!1})},eO=async({wrappedMessage:t,anyProcess:e,channel:r,isSubprocess:n,ipcEmitter:i})=>{if(t?.type!==ja||!e.connected)return t;const{id:a,message:s}=t,o={id:a,type:vv,message:vp(e,i)};try{await xv({anyProcess:e,channel:r,isSubprocess:n,ipc:!0},o)}catch(c){i.emit("strict:error",c)}return s},tO=t=>{if(t?.type!==vv)return!1;const{id:e,message:r}=t;return wa[e]?.resolve({isDeadlock:!1,hasListeners:r}),!0},rO=async(t,e,r)=>{if(t?.type!==ja)return;const n=Zi();wa[t.id]=n;const i=new AbortController;try{const{isDeadlock:a,hasListeners:s}=await Promise.race([n,nO(e,r,i)]);a&&R8(r),s||k8(r)}finally{i.abort(),delete wa[t.id]}},wa={},nO=async(t,e,{signal:r})=>{xa(t,1,r),await He.once(t,"disconnect",{signal:r}),q8(e)},ja="execa:ipc:request",vv="execa:ipc:response",iO=(t,e,r)=>{Ti.has(t)||Ti.set(t,new Set);const n=Ti.get(t),i=Zi(),a=r?e.id:void 0,s={onMessageSent:i,id:a};return n.add(s),{outgoingMessages:n,outgoingMessage:s}},sO=({outgoingMessages:t,outgoingMessage:e})=>{t.delete(e),e.onMessageSent.resolve()},aO=async(t,e,r)=>{for(;!vp(t,e)&&Ti.get(t)?.size>0;){const n=[...Ti.get(t)];Q8(n,r),await Promise.all(n.map(({onMessageSent:i})=>i))}},Ti=new WeakMap,vp=(t,e)=>e.listenerCount("message")>oO(t),oO=t=>ln.has(t)&&!Pi(ln.get(t).options.buffer,"ipc")?1:0,xv=({anyProcess:t,channel:e,isSubprocess:r,ipc:n},i,{strict:a=!1}={})=>{const s="sendMessage";return Dp({methodName:s,isSubprocess:r,ipc:n,isConnected:t.connected}),uO({anyProcess:t,channel:e,methodName:s,isSubprocess:r,message:i,strict:a})},uO=async({anyProcess:t,channel:e,methodName:r,isSubprocess:n,message:i,strict:a})=>{const s=K8({anyProcess:t,channel:e,isSubprocess:n,message:i,strict:a}),o=iO(t,s,a);try{await wv({anyProcess:t,methodName:r,isSubprocess:n,wrappedMessage:s,message:i})}catch(c){throw yp(t),c}finally{sO(o)}},wv=async({anyProcess:t,methodName:e,isSubprocess:r,wrappedMessage:n,message:i})=>{const a=cO(t);try{await Promise.all([rO(n,t,r),a(n)])}catch(s){throw N8({error:s,methodName:e,isSubprocess:r}),M8({error:s,methodName:e,isSubprocess:r,message:i}),s}},cO=t=>{if(Ll.has(t))return Ll.get(t);const e=Ve.promisify(t.send.bind(t));return Ll.set(t,e),e},Ll=new WeakMap,lO=(t,e)=>{const r="cancelSignal";return fv(r,!1,t.connected),wv({anyProcess:t,methodName:r,isSubprocess:!1,wrappedMessage:{type:Ev,message:e},message:e})},fO=async({anyProcess:t,channel:e,isSubprocess:r,ipc:n})=>(await pO({anyProcess:t,channel:e,isSubprocess:r,ipc:n}),xp.signal),pO=async({anyProcess:t,channel:e,isSubprocess:r,ipc:n})=>{if(!uD){if(uD=!0,!n){I8();return}if(e===null){Fv();return}Ma(t,e,r),await ji.scheduler.yield()}};let uD=!1;const dO=t=>t?.type!==Ev?!1:(xp.abort(t.message),!0),Ev="execa:ipc:cancel",Fv=()=>{xp.abort(P8())},xp=new AbortController,hO=({gracefulCancel:t,cancelSignal:e,ipc:r,serialization:n})=>{if(t){if(e===void 0)throw new Error("The `cancelSignal` option must be defined when setting the `gracefulCancel` option.");if(!r)throw new Error("The `ipc` option cannot be false when setting the `gracefulCancel` option.");if(n==="json")throw new Error("The `serialization` option cannot be 'json' when setting the `gracefulCancel` option.")}},mO=({subprocess:t,cancelSignal:e,gracefulCancel:r,forceKillAfterDelay:n,context:i,controller:a})=>r?[gO({subprocess:t,cancelSignal:e,forceKillAfterDelay:n,context:i,controller:a})]:[],gO=async({subprocess:t,cancelSignal:e,forceKillAfterDelay:r,context:n,controller:{signal:i}})=>{await lv(e,i);const a=DO(e);throw await lO(t,a),cv({kill:t.kill,forceKillAfterDelay:r,context:n,controllerSignal:i}),n.terminationReason??="gracefulCancel",e.reason},DO=({reason:t})=>{if(!(t instanceof DOMException))return t;const e=new Error(t.message);return Object.defineProperty(e,"stack",{value:t.stack,enumerable:!1,configurable:!0,writable:!0}),e},yO=({timeout:t})=>{if(t!==void 0&&(!Number.isFinite(t)||t<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`)},bO=(t,e,r,n)=>e===0||e===void 0?[]:[vO(t,e,r,n)],vO=async(t,e,r,{signal:n})=>{throw await ji.setTimeout(e,void 0,{signal:n}),r.terminationReason??="timeout",t.kill(),new Yi},xO=({options:t})=>{if(t.node===!1)throw new TypeError('The "node" option cannot be false with `execaNode()`.');return{options:{...t,node:!0}}},wO=(t,e,{node:r=!1,nodePath:n=Ge.execPath,nodeOptions:i=Ge.execArgv.filter(c=>!c.startsWith("--inspect")),cwd:a,execPath:s,...o})=>{if(s!==void 0)throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.');const c=op(n,'The "nodePath" option'),l=Ie.resolve(a,c),f={...o,nodePath:l,node:r,cwd:a};if(!r)return[t,e,f];if(Ie.basename(t,".exe")==="node")throw new TypeError('When the "node" option is true, the first argument does not need to be "node".');return[l,[...i,t,...e],{ipc:!0,...f,shell:!1}]},EO=({ipcInput:t,ipc:e,serialization:r})=>{if(t!==void 0){if(!e)throw new Error("The `ipcInput` option cannot be set unless the `ipc` option is `true`.");AO[r](t)}},FO=t=>{try{Qx.serialize(t)}catch(e){throw new Error("The `ipcInput` option is not serializable with a structured clone.",{cause:e})}},CO=t=>{try{JSON.stringify(t)}catch(e){throw new Error("The `ipcInput` option is not serializable with JSON.",{cause:e})}},AO={advanced:FO,json:CO},_O=async(t,e)=>{e!==void 0&&await t.sendMessage(e)},SO=({encoding:t})=>{if(bf.has(t))return;const e=TO(t);if(e!==void 0)throw new TypeError(`Invalid option \`encoding: ${Gs(t)}\`.
|
|
169
|
-
Please rename it to ${Gs(e)}.`);const r=[...bf].map(n=>Gs(n)).join(", ");throw new TypeError(`Invalid option \`encoding: ${Gs(t)}\`.
|
|
170
|
-
Please rename it to one of: ${r}.`)},OO=new Set(["utf8","utf16le"]),dn=new Set(["buffer","hex","base64","base64url","latin1","ascii"]),bf=new Set([...OO,...dn]),TO=t=>{if(t===null)return"buffer";if(typeof t!="string")return;const e=t.toLowerCase();if(e in cD)return cD[e];if(bf.has(e))return e},cD={"utf-8":"utf8","utf-16le":"utf16le","ucs-2":"utf16le",ucs2:"utf16le",binary:"latin1"},Gs=t=>typeof t=="string"?`"${t}"`:String(t),BO=(t=Cv())=>{const e=op(t,'The "cwd" option');return Ie.resolve(e)},Cv=()=>{try{return Ge.cwd()}catch(t){throw t.message=`The current directory does not exist.
|
|
171
|
-
${t.message}`,t}},RO=(t,e)=>{if(e===Cv())return t;let r;try{r=$e.statSync(e)}catch(n){return`The "cwd" option is invalid: ${e}.
|
|
172
|
-
${n.message}
|
|
173
|
-
${t}`}return r.isDirectory()?t:`The "cwd" option is not a directory: ${e}.
|
|
174
|
-
${t}`},Av=(t,e,r)=>{r.cwd=BO(r.cwd);const[n,i,a]=wO(t,e,r),{command:s,args:o,options:c}=JS._parse(n,i,a),l=H_(c),f=kO(l);return yO(f),SO(f),EO(f),_8(f),hO(f),f.shell=jb(f.shell),f.env=qO(f),f.killSignal=h8(f.killSignal),f.forceKillAfterDelay=x8(f.forceKillAfterDelay),f.lines=f.lines.map((p,u)=>p&&!dn.has(f.encoding)&&f.buffer[u]),Ge.platform==="win32"&&Ie.basename(s,".exe")==="cmd"&&o.unshift("/q"),{file:s,commandArguments:o,options:f}},kO=({extendEnv:t=!0,preferLocal:e=!1,cwd:r,localDir:n=r,encoding:i="utf8",reject:a=!0,cleanup:s=!0,all:o=!1,windowsHide:c=!0,killSignal:l="SIGTERM",forceKillAfterDelay:f=!0,gracefulCancel:p=!1,ipcInput:u,ipc:h=u!==void 0||p,serialization:d="advanced",...b})=>({...b,extendEnv:t,preferLocal:e,cwd:r,localDirectory:n,encoding:i,reject:a,cleanup:s,all:o,windowsHide:c,killSignal:l,forceKillAfterDelay:f,gracefulCancel:p,ipcInput:u,ipc:h,serialization:d}),qO=({env:t,extendEnv:e,preferLocal:r,node:n,localDirectory:i,nodePath:a})=>{const s=e?{...Ge.env,...t}:t;return r||n?t8({env:s,cwd:i,execPath:a,preferLocal:r,addExecPath:n}):s},_v=(t,e,r)=>r.shell&&e.length>0?[[t,...e].join(" "),[],r]:[t,e,r];function wp(t){if(typeof t=="string")return PO(t);if(!(ArrayBuffer.isView(t)&&t.BYTES_PER_ELEMENT===1))throw new Error("Input must be a string or a Uint8Array");return IO(t)}const PO=t=>t.at(-1)===Sv?t.slice(0,t.at(-2)===Ov?-2:-1):t,IO=t=>t.at(-1)===NO?t.subarray(0,t.at(-2)===MO?-2:-1):t,Sv=`
|
|
175
|
-
`,NO=Sv.codePointAt(0),Ov="\r",MO=Ov.codePointAt(0);function hn(t,{checkOpen:e=!0}={}){return t!==null&&typeof t=="object"&&(t.writable||t.readable||!e||t.writable===void 0&&t.readable===void 0)&&typeof t.pipe=="function"}function Tv(t,{checkOpen:e=!0}={}){return hn(t,{checkOpen:e})&&(t.writable||!e)&&typeof t.write=="function"&&typeof t.end=="function"&&typeof t.writable=="boolean"&&typeof t.writableObjectMode=="boolean"&&typeof t.destroy=="function"&&typeof t.destroyed=="boolean"}function La(t,{checkOpen:e=!0}={}){return hn(t,{checkOpen:e})&&(t.readable||!e)&&typeof t.read=="function"&&typeof t.readable=="boolean"&&typeof t.readableObjectMode=="boolean"&&typeof t.destroy=="function"&&typeof t.destroyed=="boolean"}function Bv(t,e){return Tv(t,e)&&La(t,e)}const jO=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class LO{#r;#n;#t=!1;#e=void 0;constructor(e,r){this.#r=e,this.#n=r}next(){const e=()=>this.#i();return this.#e=this.#e?this.#e.then(e,e):e(),this.#e}return(e){const r=()=>this.#s(e);return this.#e?this.#e.then(r,r):r()}async#i(){if(this.#t)return{done:!0,value:void 0};let e;try{e=await this.#r.read()}catch(r){throw this.#e=void 0,this.#t=!0,this.#r.releaseLock(),r}return e.done&&(this.#e=void 0,this.#t=!0,this.#r.releaseLock()),e}async#s(e){if(this.#t)return{done:!0,value:e};if(this.#t=!0,!this.#n){const r=this.#r.cancel(e);return this.#r.releaseLock(),await r,{done:!0,value:e}}return this.#r.releaseLock(),{done:!0,value:e}}}const Ep=Symbol();function Rv(){return this[Ep].next()}Object.defineProperty(Rv,"name",{value:"next"});function kv(t){return this[Ep].return(t)}Object.defineProperty(kv,"name",{value:"return"});const $O=Object.create(jO,{next:{enumerable:!0,configurable:!0,writable:!0,value:Rv},return:{enumerable:!0,configurable:!0,writable:!0,value:kv}});function UO({preventCancel:t=!1}={}){const e=this.getReader(),r=new LO(e,t),n=Object.create($O);return n[Ep]=r,n}const zO=t=>{if(La(t,{checkOpen:!1})&&Fp.on!==void 0)return VO(t);if(typeof t?.[Symbol.asyncIterator]=="function")return t;if(HO.call(t)==="[object ReadableStream]")return UO.call(t);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:HO}=Object.prototype,VO=async function*(t){const e=new AbortController,r={};WO(t,e,r);try{for await(const[n]of Fp.on(t,"data",{signal:e.signal}))yield n}catch(n){if(r.error!==void 0)throw r.error;if(!e.signal.aborted)throw n}finally{t.destroy()}},WO=async(t,e,r)=>{try{await Fp.finished(t,{cleanup:!0,readable:!0,writable:!1,error:!1})}catch(n){r.error=n}finally{e.abort()}},Fp={},Cp=async(t,{init:e,convertChunk:r,getSize:n,truncateChunk:i,addChunk:a,getFinalChunk:s,finalize:o},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{const l=zO(t),f=e();f.length=0;try{for await(const p of l){const u=YO(p),h=r[u](p,f);qv({convertedChunk:h,state:f,getSize:n,truncateChunk:i,addChunk:a,maxBuffer:c})}return GO({state:f,convertChunk:r,getSize:n,truncateChunk:i,addChunk:a,getFinalChunk:s,maxBuffer:c}),o(f)}catch(p){const u=typeof p=="object"&&p!==null?p:new Error(p);throw u.bufferedData=o(f),u}},GO=({state:t,getSize:e,truncateChunk:r,addChunk:n,getFinalChunk:i,maxBuffer:a})=>{const s=i(t);s!==void 0&&qv({convertedChunk:s,state:t,getSize:e,truncateChunk:r,addChunk:n,maxBuffer:a})},qv=({convertedChunk:t,state:e,getSize:r,truncateChunk:n,addChunk:i,maxBuffer:a})=>{const s=r(t),o=e.length+s;if(o<=a){lD(t,e,i,o);return}const c=n(t,a-e.length);throw c!==void 0&&lD(c,e,i,a),new $a},lD=(t,e,r,n)=>{e.contents=r(t,e,n),e.length=n},YO=t=>{const e=typeof t;if(e==="string")return"string";if(e!=="object"||t===null)return"others";if(globalThis.Buffer?.isBuffer(t))return"buffer";const r=fD.call(t);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(t.byteLength)&&Number.isInteger(t.byteOffset)&&fD.call(t.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:fD}=Object.prototype;class $a extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}const an=t=>t,vf=()=>{},Pv=({contents:t})=>t,Iv=t=>{throw new Error(`Streams in object mode are not supported: ${String(t)}`)},Nv=t=>t.length;async function ZO(t,e){return Cp(t,QO,e)}const JO=()=>({contents:[]}),KO=()=>1,XO=(t,{contents:e})=>(e.push(t),e),QO={init:JO,convertChunk:{string:an,buffer:an,arrayBuffer:an,dataView:an,typedArray:an,others:an},getSize:KO,truncateChunk:vf,addChunk:XO,getFinalChunk:vf,finalize:Pv};async function e6(t,e){return Cp(t,c6,e)}const t6=()=>({contents:new ArrayBuffer(0)}),r6=t=>n6.encode(t),n6=new TextEncoder,pD=t=>new Uint8Array(t),dD=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),i6=(t,e)=>t.slice(0,e),s6=(t,{contents:e,length:r},n)=>{const i=jv()?o6(e,n):a6(e,n);return new Uint8Array(i).set(t,r),i},a6=(t,e)=>{if(e<=t.byteLength)return t;const r=new ArrayBuffer(Mv(e));return new Uint8Array(r).set(new Uint8Array(t),0),r},o6=(t,e)=>{if(e<=t.maxByteLength)return t.resize(e),t;const r=new ArrayBuffer(e,{maxByteLength:Mv(e)});return new Uint8Array(r).set(new Uint8Array(t),0),r},Mv=t=>hD**Math.ceil(Math.log(t)/Math.log(hD)),hD=2,u6=({contents:t,length:e})=>jv()?t:t.slice(0,e),jv=()=>"resize"in ArrayBuffer.prototype,c6={init:t6,convertChunk:{string:r6,buffer:pD,arrayBuffer:pD,dataView:dD,typedArray:dD,others:Iv},getSize:Nv,truncateChunk:i6,addChunk:s6,getFinalChunk:vf,finalize:u6};async function l6(t,e){return Cp(t,m6,e)}const f6=()=>({contents:"",textDecoder:new TextDecoder}),Ys=(t,{textDecoder:e})=>e.decode(t,{stream:!0}),p6=(t,{contents:e})=>e+t,d6=(t,e)=>t.slice(0,e),h6=({textDecoder:t})=>{const e=t.decode();return e===""?void 0:e},m6={init:f6,convertChunk:{string:an,buffer:Ys,arrayBuffer:Ys,dataView:Ys,typedArray:Ys,others:Iv},getSize:Nv,truncateChunk:d6,addChunk:p6,getFinalChunk:h6,finalize:Pv},g6=({error:t,stream:e,readableObjectMode:r,lines:n,encoding:i,fdNumber:a})=>{if(!(t instanceof $a))throw t;if(a==="all")return t;const s=D6(r,n,i);throw t.maxBufferInfo={fdNumber:a,unit:s},e.destroy(),t},D6=(t,e,r)=>t?"objects":e?"lines":r==="buffer"?"bytes":"characters",y6=(t,e,r)=>{if(e.length!==r)return;const n=new $a;throw n.maxBufferInfo={fdNumber:"ipc"},n},b6=(t,e)=>{const{streamName:r,threshold:n,unit:i}=v6(t,e);return`Command's ${r} was larger than ${n} ${i}`},v6=(t,e)=>{if(t?.maxBufferInfo===void 0)return{streamName:"output",threshold:e[1],unit:"bytes"};const{maxBufferInfo:{fdNumber:r,unit:n}}=t;delete t.maxBufferInfo;const i=Pi(e,r);return r==="ipc"?{streamName:"IPC output",threshold:i,unit:"messages"}:{streamName:Vb(r),threshold:i,unit:n}},x6=(t,e,r)=>t?.code==="ENOBUFS"&&e!==null&&e.some(n=>n!==null&&n.length>Ap(r)),w6=(t,e,r)=>{if(!e)return t;const n=Ap(r);return t.length>n?t.slice(0,n):t},Ap=([,t])=>t,E6=({stdio:t,all:e,ipcOutput:r,originalError:n,signal:i,signalDescription:a,exitCode:s,escapedCommand:o,timedOut:c,isCanceled:l,isGracefullyCanceled:f,isMaxBuffer:p,isForcefullyTerminated:u,forceKillAfterDelay:h,killSignal:d,maxBuffer:b,timeout:D,cwd:g})=>{const y=n?.code,w=F6({originalError:n,timedOut:c,timeout:D,isMaxBuffer:p,maxBuffer:b,errorCode:y,signal:i,signalDescription:a,exitCode:s,isCanceled:l,isGracefullyCanceled:f,isForcefullyTerminated:u,forceKillAfterDelay:h,killSignal:d}),E=A6(n,g),x=E===void 0?"":`
|
|
176
|
-
${E}`,m=`${w}: ${o}${x}`,F=e===void 0?[t[2],t[1]]:[e],_=[m,...F,...t.slice(3),r.map(T=>_6(T)).join(`
|
|
177
|
-
`)].map(T=>hp(wp(S6(T)))).filter(Boolean).join(`
|
|
178
|
-
|
|
179
|
-
`);return{originalMessage:E,shortMessage:m,message:_}},F6=({originalError:t,timedOut:e,timeout:r,isMaxBuffer:n,maxBuffer:i,errorCode:a,signal:s,signalDescription:o,exitCode:c,isCanceled:l,isGracefullyCanceled:f,isForcefullyTerminated:p,forceKillAfterDelay:u,killSignal:h})=>{const d=C6(p,u);return e?`Command timed out after ${r} milliseconds${d}`:f?s===void 0?`Command was gracefully canceled with exit code ${c}`:p?`Command was gracefully canceled${d}`:`Command was gracefully canceled with ${s} (${o})`:l?`Command was canceled${d}`:n?`${b6(t,i)}${d}`:a!==void 0?`Command failed with ${a}${d}`:p?`Command was killed with ${h} (${uv(h)})${d}`:s!==void 0?`Command was killed with ${s} (${o})`:c!==void 0?`Command failed with exit code ${c}`:"Command failed"},C6=(t,e)=>t?` and was forcefully terminated after ${e} milliseconds`:"",A6=(t,e)=>{if(t instanceof Yi)return;const r=n8(t)?t.originalMessage:String(t?.message??t),n=hp(RO(r,e));return n===""?void 0:n},_6=t=>typeof t=="string"?t:Ve.inspect(t),S6=t=>Array.isArray(t)?t.map(e=>wp(mD(e))).filter(Boolean).join(`
|
|
180
|
-
`):mD(t),mD=t=>typeof t=="string"?t:Xt(t)?zb(t):"",Lv=({command:t,escapedCommand:e,stdio:r,all:n,ipcOutput:i,options:{cwd:a},startTime:s})=>$v({command:t,escapedCommand:e,cwd:a,durationMs:Qb(s),failed:!1,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isTerminated:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,exitCode:0,stdout:r[1],stderr:r[2],all:n,stdio:r,ipcOutput:i,pipedFrom:[]}),_p=({error:t,command:e,escapedCommand:r,fileDescriptors:n,options:i,startTime:a,isSync:s})=>Sp({error:t,command:e,escapedCommand:r,startTime:a,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,stdio:Array.from({length:n.length}),ipcOutput:[],options:i,isSync:s}),Sp=({error:t,command:e,escapedCommand:r,startTime:n,timedOut:i,isCanceled:a,isGracefullyCanceled:s,isMaxBuffer:o,isForcefullyTerminated:c,exitCode:l,signal:f,stdio:p,all:u,ipcOutput:h,options:{timeoutDuration:d,timeout:b=d,forceKillAfterDelay:D,killSignal:g,cwd:y,maxBuffer:w},isSync:E})=>{const{exitCode:x,signal:m,signalDescription:F}=T6(l,f),{originalMessage:_,shortMessage:T,message:M}=E6({stdio:p,all:u,ipcOutput:h,originalError:t,signal:m,signalDescription:F,exitCode:x,escapedCommand:r,timedOut:i,isCanceled:a,isGracefullyCanceled:s,isMaxBuffer:o,isForcefullyTerminated:c,forceKillAfterDelay:D,killSignal:g,maxBuffer:w,timeout:b,cwd:y}),B=r8(t,M,E);return Object.assign(B,O6({error:B,command:e,escapedCommand:r,startTime:n,timedOut:i,isCanceled:a,isGracefullyCanceled:s,isMaxBuffer:o,isForcefullyTerminated:c,exitCode:x,signal:m,signalDescription:F,stdio:p,all:u,ipcOutput:h,cwd:y,originalMessage:_,shortMessage:T})),B},O6=({error:t,command:e,escapedCommand:r,startTime:n,timedOut:i,isCanceled:a,isGracefullyCanceled:s,isMaxBuffer:o,isForcefullyTerminated:c,exitCode:l,signal:f,signalDescription:p,stdio:u,all:h,ipcOutput:d,cwd:b,originalMessage:D,shortMessage:g})=>$v({shortMessage:g,originalMessage:D,command:e,escapedCommand:r,cwd:b,durationMs:Qb(n),failed:!0,timedOut:i,isCanceled:a,isGracefullyCanceled:s,isTerminated:f!==void 0,isMaxBuffer:o,isForcefullyTerminated:c,exitCode:l,signal:f,signalDescription:p,code:t.cause?.code,stdout:u[1],stderr:u[2],all:h,stdio:u,ipcOutput:d,pipedFrom:[]}),$v=t=>Object.fromEntries(Object.entries(t).filter(([,e])=>e!==void 0)),T6=(t,e)=>{const r=t===null?void 0:t,n=e===null?void 0:e,i=n===void 0?void 0:uv(e);return{exitCode:r,signal:n,signalDescription:i}},gD=t=>Number.isFinite(t)?t:0;function B6(t){return{days:Math.trunc(t/864e5),hours:Math.trunc(t/36e5%24),minutes:Math.trunc(t/6e4%60),seconds:Math.trunc(t/1e3%60),milliseconds:Math.trunc(t%1e3),microseconds:Math.trunc(gD(t*1e3)%1e3),nanoseconds:Math.trunc(gD(t*1e6)%1e3)}}function R6(t){return{days:t/86400000n,hours:t/3600000n%24n,minutes:t/60000n%60n,seconds:t/1000n%60n,milliseconds:t%1000n,microseconds:0n,nanoseconds:0n}}function k6(t){switch(typeof t){case"number":{if(Number.isFinite(t))return B6(t);break}case"bigint":return R6(t)}throw new TypeError("Expected a finite number or bigint")}const q6=t=>t===0||t===0n,P6=(t,e)=>e===1||e===1n?t:`${t}s`,I6=1e-7,N6=24n*60n*60n*1000n;function M6(t,e){const r=typeof t=="bigint";if(!r&&!Number.isFinite(t))throw new TypeError("Expected a finite number or bigint");e={...e};const n=t<0?"-":"";t=t<0?-t:t,e.colonNotation&&(e.compact=!1,e.formatSubMilliseconds=!1,e.separateMilliseconds=!1,e.verbose=!1),e.compact&&(e.unitCount=1,e.secondsDecimalDigits=0,e.millisecondsDecimalDigits=0);let i=[];const a=(f,p)=>{const u=Math.floor(f*10**p+I6);return(Math.round(u)/10**p).toFixed(p)},s=(f,p,u,h)=>{if(!((i.length===0||!e.colonNotation)&&q6(f)&&!(e.colonNotation&&u==="m"))){if(h??=String(f),e.colonNotation){const d=h.includes(".")?h.split(".")[0].length:h.length,b=i.length>0?2:1;h="0".repeat(Math.max(0,b-d))+h}else h+=e.verbose?" "+P6(p,f):u;i.push(h)}},o=k6(t),c=BigInt(o.days);if(e.hideYearAndDays?s(BigInt(c)*24n+BigInt(o.hours),"hour","h"):(e.hideYear?s(c,"day","d"):(s(c/365n,"year","y"),s(c%365n,"day","d")),s(Number(o.hours),"hour","h")),s(Number(o.minutes),"minute","m"),!e.hideSeconds)if(e.separateMilliseconds||e.formatSubMilliseconds||!e.colonNotation&&t<1e3&&!e.subSecondsAsDecimals){const f=Number(o.seconds),p=Number(o.milliseconds),u=Number(o.microseconds),h=Number(o.nanoseconds);if(s(f,"second","s"),e.formatSubMilliseconds)s(p,"millisecond","ms"),s(u,"microsecond","µs"),s(h,"nanosecond","ns");else{const d=p+u/1e3+h/1e6,b=typeof e.millisecondsDecimalDigits=="number"?e.millisecondsDecimalDigits:0,D=d>=1?Math.round(d):Math.ceil(d),g=b?d.toFixed(b):D;s(Number.parseFloat(g),"millisecond","ms",g)}}else{const f=(r?Number(t%N6):t)/1e3%60,p=typeof e.secondsDecimalDigits=="number"?e.secondsDecimalDigits:1,u=a(f,p),h=e.keepDecimalsOnWholeSeconds?u:u.replace(/\.0+$/,"");s(Number.parseFloat(h),"second","s",h)}if(i.length===0)return n+"0"+(e.verbose?" milliseconds":"ms");const l=e.colonNotation?":":" ";return typeof e.unitCount=="number"&&(i=i.slice(0,Math.max(e.unitCount,1))),n+i.join(l)}const j6=(t,e)=>{t.failed&&Gi({type:"error",verboseMessage:t.shortMessage,verboseInfo:e,result:t})},L6=(t,e)=>{lp(e)&&(j6(t,e),$6(t,e))},$6=(t,e)=>{const r=`(done in ${M6(t.durationMs)})`;Gi({type:"duration",verboseMessage:r,verboseInfo:e,result:t})},Op=(t,e,{reject:r})=>{if(L6(t,e),t.failed&&r)throw t;return t},U6=(t,e)=>In(t)?"asyncGenerator":Hv(t)?"generator":Tp(t)?"fileUrl":Y6(t)?"filePath":X6(t)?"webStream":hn(t,{checkOpen:!1})?"native":Xt(t)?"uint8Array":Q6(t)?"asyncIterable":eT(t)?"iterable":Rp(t)?Uv({},e):W6(t)?z6(t,e):"native",z6=(t,e)=>Bv(t.transform,{checkOpen:!1})?H6(t,e):Rp(t.transform)?Uv(t,e):V6(t,e),H6=(t,e)=>(zv(t,e,"Duplex stream"),"duplex"),Uv=(t,e)=>(zv(t,e,"web TransformStream"),"webTransform"),zv=({final:t,binary:e,objectMode:r},n,i)=>{DD(t,`${n}.final`,i),DD(e,`${n}.binary`,i),xf(r,`${n}.objectMode`)},DD=(t,e,r)=>{if(t!==void 0)throw new TypeError(`The \`${e}\` option can only be defined when using a generator, not a ${r}.`)},V6=({transform:t,final:e,binary:r,objectMode:n},i)=>{if(t!==void 0&&!yD(t))throw new TypeError(`The \`${i}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);if(Bv(e,{checkOpen:!1}))throw new TypeError(`The \`${i}.final\` option must not be a Duplex stream.`);if(Rp(e))throw new TypeError(`The \`${i}.final\` option must not be a web TransformStream.`);if(e!==void 0&&!yD(e))throw new TypeError(`The \`${i}.final\` option must be a generator.`);return xf(r,`${i}.binary`),xf(n,`${i}.objectMode`),In(t)||In(e)?"asyncGenerator":"generator"},xf=(t,e)=>{if(t!==void 0&&typeof t!="boolean")throw new TypeError(`The \`${e}\` option must use a boolean.`)},yD=t=>In(t)||Hv(t),In=t=>Object.prototype.toString.call(t)==="[object AsyncGeneratorFunction]",Hv=t=>Object.prototype.toString.call(t)==="[object GeneratorFunction]",W6=t=>Nt(t)&&(t.transform!==void 0||t.final!==void 0),Tp=t=>Object.prototype.toString.call(t)==="[object URL]",G6=t=>Tp(t)&&t.protocol!=="file:",Y6=t=>Nt(t)&&Object.keys(t).length>0&&Object.keys(t).every(e=>Z6.has(e))&&Vv(t.file),Z6=new Set(["file","append"]),Vv=t=>typeof t=="string",J6=(t,e)=>t==="native"&&typeof e=="string"&&!K6.has(e),K6=new Set(["ipc","ignore","inherit","overlapped","pipe"]),Wv=t=>Object.prototype.toString.call(t)==="[object ReadableStream]",Bp=t=>Object.prototype.toString.call(t)==="[object WritableStream]",X6=t=>Wv(t)||Bp(t),Rp=t=>Wv(t?.readable)&&Bp(t?.writable),Q6=t=>Gv(t)&&typeof t[Symbol.asyncIterator]=="function",eT=t=>Gv(t)&&typeof t[Symbol.iterator]=="function",Gv=t=>typeof t=="object"&&t!==null,fn=new Set(["generator","asyncGenerator","duplex","webTransform"]),Yv=new Set(["fileUrl","filePath","fileNumber"]),Zv=new Set(["fileUrl","filePath"]),tT=new Set([...Zv,"webStream","nodeStream"]),rT=new Set(["webTransform","duplex"]),Ua={generator:"a generator",asyncGenerator:"an async generator",fileUrl:"a file URL",filePath:"a file path string",fileNumber:"a file descriptor number",webStream:"a web stream",nodeStream:"a Node.js stream",webTransform:"a web TransformStream",duplex:"a Duplex stream",native:"any value",iterable:"an iterable",asyncIterable:"an async iterable",string:"a string",uint8Array:"a Uint8Array"},Jv=(t,e,r,n)=>n==="output"?nT(t,e,r):iT(t,e,r),nT=(t,e,r)=>{const n=e!==0&&r[e-1].value.readableObjectMode;return{writableObjectMode:n,readableObjectMode:t??n}},iT=(t,e,r)=>{const n=e===0?t===!0:r[e-1].value.readableObjectMode,i=e!==r.length-1&&(t??n);return{writableObjectMode:n,readableObjectMode:i}},sT=(t,e)=>{const r=t.findLast(({type:n})=>fn.has(n));return r===void 0?!1:e==="input"?r.value.writableObjectMode:r.value.readableObjectMode},aT=(t,e,r,n)=>[...t.filter(({type:i})=>!fn.has(i)),...oT(t,e,r,n)],oT=(t,e,r,{encoding:n})=>{const i=t.filter(({type:s})=>fn.has(s)),a=Array.from({length:i.length});for(const[s,o]of Object.entries(i))a[s]=uT({stdioItem:o,index:Number(s),newTransforms:a,optionName:e,direction:r,encoding:n});return pT(a,r)},uT=({stdioItem:t,stdioItem:{type:e},index:r,newTransforms:n,optionName:i,direction:a,encoding:s})=>e==="duplex"?cT({stdioItem:t,optionName:i}):e==="webTransform"?lT({stdioItem:t,index:r,newTransforms:n,direction:a}):fT({stdioItem:t,index:r,newTransforms:n,direction:a,encoding:s}),cT=({stdioItem:t,stdioItem:{value:{transform:e,transform:{writableObjectMode:r,readableObjectMode:n},objectMode:i=n}},optionName:a})=>{if(i&&!n)throw new TypeError(`The \`${a}.objectMode\` option can only be \`true\` if \`new Duplex({objectMode: true})\` is used.`);if(!i&&n)throw new TypeError(`The \`${a}.objectMode\` option cannot be \`false\` if \`new Duplex({objectMode: true})\` is used.`);return{...t,value:{transform:e,writableObjectMode:r,readableObjectMode:n}}},lT=({stdioItem:t,stdioItem:{value:e},index:r,newTransforms:n,direction:i})=>{const{transform:a,objectMode:s}=Nt(e)?e:{transform:e},{writableObjectMode:o,readableObjectMode:c}=Jv(s,r,n,i);return{...t,value:{transform:a,writableObjectMode:o,readableObjectMode:c}}},fT=({stdioItem:t,stdioItem:{value:e},index:r,newTransforms:n,direction:i,encoding:a})=>{const{transform:s,final:o,binary:c=!1,preserveNewlines:l=!1,objectMode:f}=Nt(e)?e:{transform:e},p=c||dn.has(a),{writableObjectMode:u,readableObjectMode:h}=Jv(f,r,n,i);return{...t,value:{transform:s,final:o,binary:p,preserveNewlines:l,writableObjectMode:u,readableObjectMode:h}}},pT=(t,e)=>e==="input"?t.reverse():t,dT=(t,e,r)=>{const n=t.map(i=>hT(i,e));if(n.includes("input")&&n.includes("output"))throw new TypeError(`The \`${r}\` option must not be an array of both readable and writable values.`);return n.find(Boolean)??DT},hT=({type:t,value:e},r)=>mT[r]??Kv[t](e),mT=["input","output","output"],En=()=>{},$l=()=>"input",Kv={generator:En,asyncGenerator:En,fileUrl:En,filePath:En,iterable:$l,asyncIterable:$l,uint8Array:$l,webStream:t=>Bp(t)?"output":"input",nodeStream(t){return La(t,{checkOpen:!1})?Tv(t,{checkOpen:!1})?void 0:"input":"output"},webTransform:En,duplex:En,native(t){const e=gT(t);if(e!==void 0)return e;if(hn(t,{checkOpen:!1}))return Kv.nodeStream(t)}},gT=t=>{if([0,Ge.stdin].includes(t))return"input";if([1,2,Ge.stdout,Ge.stderr].includes(t))return"output"},DT="output",yT=(t,e)=>e&&!t.includes("ipc")?[...t,"ipc"]:t,bT=({stdio:t,ipc:e,buffer:r,...n},i,a)=>{const s=vT(t,n).map((o,c)=>Xv(o,c));return a?wT(s,r,i):yT(s,e)},vT=(t,e)=>{if(t===void 0)return sr.map(n=>e[n]);if(xT(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${sr.map(n=>`\`${n}\``).join(", ")}`);if(typeof t=="string")return[t,t,t];if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const r=Math.max(t.length,sr.length);return Array.from({length:r},(n,i)=>t[i])},xT=t=>sr.some(e=>t[e]!==void 0),Xv=(t,e)=>Array.isArray(t)?t.map(r=>Xv(r,e)):t??(e>=sr.length?"ignore":"pipe"),wT=(t,e,r)=>t.map((n,i)=>!e[i]&&i!==0&&!fp(r,i)&&ET(n)?"ignore":n),ET=t=>t==="pipe"||Array.isArray(t)&&t.every(e=>e==="pipe"),FT=({stdioItem:t,stdioItem:{type:e},isStdioArray:r,fdNumber:n,direction:i,isSync:a})=>!r||e!=="native"?t:a?CT({stdioItem:t,fdNumber:n,direction:i}):ST({stdioItem:t,fdNumber:n}),CT=({stdioItem:t,stdioItem:{value:e,optionName:r},fdNumber:n,direction:i})=>{const a=AT({value:e,optionName:r,fdNumber:n,direction:i});if(a!==void 0)return a;if(hn(e,{checkOpen:!1}))throw new TypeError(`The \`${r}: Stream\` option cannot both be an array and include a stream with synchronous methods.`);return t},AT=({value:t,optionName:e,fdNumber:r,direction:n})=>{const i=_T(t,r);if(i!==void 0){if(n==="output")return{type:"fileNumber",value:i,optionName:e};if(un.isatty(i))throw new TypeError(`The \`${e}: ${gf(t)}\` option is invalid: it cannot be a TTY with synchronous methods.`);return{type:"uint8Array",value:qi($e.readFileSync(i)),optionName:e}}},_T=(t,e)=>{if(t==="inherit")return e;if(typeof t=="number")return t;const r=cp.indexOf(t);if(r!==-1)return r},ST=({stdioItem:t,stdioItem:{value:e,optionName:r},fdNumber:n})=>e==="inherit"?{type:"nodeStream",value:bD(n,e,r),optionName:r}:typeof e=="number"?{type:"nodeStream",value:bD(e,e,r),optionName:r}:hn(e,{checkOpen:!1})?{type:"nodeStream",value:e,optionName:r}:t,bD=(t,e,r)=>{const n=cp[t];if(n===void 0)throw new TypeError(`The \`${r}: ${e}\` option is invalid: no such standard stream.`);return n},OT=({input:t,inputFile:e},r)=>r===0?[...TT(t),...RT(e)]:[],TT=t=>t===void 0?[]:[{type:BT(t),value:t,optionName:"input"}],BT=t=>{if(La(t,{checkOpen:!1}))return"nodeStream";if(typeof t=="string")return"string";if(Xt(t))return"uint8Array";throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.")},RT=t=>t===void 0?[]:[{...kT(t),optionName:"inputFile"}],kT=t=>{if(Tp(t))return{type:"fileUrl",value:t};if(Vv(t))return{type:"filePath",value:{file:t}};throw new Error("The `inputFile` option must be a file path string or a file URL.")},qT=t=>t.filter((e,r)=>t.every((n,i)=>e.value!==n.value||r>=i||e.type==="generator"||e.type==="asyncGenerator")),PT=({stdioItem:{type:t,value:e,optionName:r},direction:n,fileDescriptors:i,isSync:a})=>{const s=IT(i,t);if(s.length!==0){if(a){NT({otherStdioItems:s,type:t,value:e,optionName:r,direction:n});return}if(tT.has(t))return Qv({otherStdioItems:s,type:t,value:e,optionName:r,direction:n});rT.has(t)&&jT({otherStdioItems:s,type:t,value:e,optionName:r})}},IT=(t,e)=>t.flatMap(({direction:r,stdioItems:n})=>n.filter(i=>i.type===e).map((i=>({...i,direction:r})))),NT=({otherStdioItems:t,type:e,value:r,optionName:n,direction:i})=>{Zv.has(e)&&Qv({otherStdioItems:t,type:e,value:r,optionName:n,direction:i})},Qv=({otherStdioItems:t,type:e,value:r,optionName:n,direction:i})=>{const a=t.filter(o=>MT(o,r));if(a.length===0)return;const s=a.find(o=>o.direction!==i);return e1(s,n,e),i==="output"?a[0].stream:void 0},MT=({type:t,value:e},r)=>t==="filePath"?e.file===r.file:t==="fileUrl"?e.href===r.href:e===r,jT=({otherStdioItems:t,type:e,value:r,optionName:n})=>{const i=t.find(({value:{transform:a}})=>a===r.transform);e1(i,n,e)},e1=(t,e,r)=>{if(t!==void 0)throw new TypeError(`The \`${t.optionName}\` and \`${e}\` options must not target ${Ua[r]} that is the same.`)},t1=(t,e,r,n)=>{const a=bT(e,r,n).map((o,c)=>LT({stdioOption:o,fdNumber:c,options:e,isSync:n})),s=YT({initialFileDescriptors:a,addProperties:t,options:e,isSync:n});return e.stdio=s.map(({stdioItems:o})=>KT(o)),s},LT=({stdioOption:t,fdNumber:e,options:r,isSync:n})=>{const i=Vb(e),{stdioItems:a,isStdioArray:s}=$T({stdioOption:t,fdNumber:e,options:r,optionName:i}),o=dT(a,e,i),c=a.map(p=>FT({stdioItem:p,isStdioArray:s,fdNumber:e,direction:o,isSync:n})),l=aT(c,i,o,r),f=sT(l,o);return GT(l,f),{direction:o,objectMode:f,stdioItems:l}},$T=({stdioOption:t,fdNumber:e,options:r,optionName:n})=>{const a=[...(Array.isArray(t)?t:[t]).map(c=>UT(c,n)),...OT(r,e)],s=qT(a),o=s.length>1;return zT(s,o,n),VT(s),{stdioItems:s,isStdioArray:o}},UT=(t,e)=>({type:U6(t,e),value:t,optionName:e}),zT=(t,e,r)=>{if(t.length===0)throw new TypeError(`The \`${r}\` option must not be an empty array.`);if(e){for(const{value:n,optionName:i}of t)if(HT.has(n))throw new Error(`The \`${i}\` option must not include \`${n}\`.`)}},HT=new Set(["ignore","ipc"]),VT=t=>{for(const e of t)WT(e)},WT=({type:t,value:e,optionName:r})=>{if(G6(e))throw new TypeError(`The \`${r}: URL\` option must use the \`file:\` scheme.
|
|
181
|
-
For example, you can use the \`pathToFileURL()\` method of the \`url\` core module.`);if(J6(t,e))throw new TypeError(`The \`${r}: { file: '...' }\` option must be used instead of \`${r}: '...'\`.`)},GT=(t,e)=>{if(!e)return;const r=t.find(({type:n})=>Yv.has(n));if(r!==void 0)throw new TypeError(`The \`${r.optionName}\` option cannot use both files and transforms in objectMode.`)},YT=({initialFileDescriptors:t,addProperties:e,options:r,isSync:n})=>{const i=[];try{for(const a of t)i.push(ZT({fileDescriptor:a,fileDescriptors:i,addProperties:e,options:r,isSync:n}));return i}catch(a){throw r1(i),a}},ZT=({fileDescriptor:{direction:t,objectMode:e,stdioItems:r},fileDescriptors:n,addProperties:i,options:a,isSync:s})=>{const o=r.map(c=>JT({stdioItem:c,addProperties:i,direction:t,options:a,fileDescriptors:n,isSync:s}));return{direction:t,objectMode:e,stdioItems:o}},JT=({stdioItem:t,addProperties:e,direction:r,options:n,fileDescriptors:i,isSync:a})=>{const s=PT({stdioItem:t,direction:r,fileDescriptors:i,isSync:a});return s!==void 0?{...t,stream:s}:{...t,...e[r][t.type](t,n)}},r1=t=>{for(const{stdioItems:e}of t)for(const{stream:r}of e)r!==void 0&&!cn(r)&&r.destroy()},KT=t=>{if(t.length>1)return t.some(({value:n})=>n==="overlapped")?"overlapped":"pipe";const[{type:e,value:r}]=t;return e==="native"?r:"pipe"},XT=(t,e)=>t1(e5,t,e,!0),ir=({type:t,optionName:e})=>{n1(e,Ua[t])},QT=({optionName:t,value:e})=>((e==="ipc"||e==="overlapped")&&n1(t,`"${e}"`),{}),n1=(t,e)=>{throw new TypeError(`The \`${t}\` option cannot be ${e} with synchronous methods.`)},vD={generator(){},asyncGenerator:ir,webStream:ir,nodeStream:ir,webTransform:ir,duplex:ir,asyncIterable:ir,native:QT},e5={input:{...vD,fileUrl:({value:t})=>({contents:[qi($e.readFileSync(t))]}),filePath:({value:{file:t}})=>({contents:[qi($e.readFileSync(t))]}),fileNumber:ir,iterable:({value:t})=>({contents:[...t]}),string:({value:t})=>({contents:[t]}),uint8Array:({value:t})=>({contents:[t]})},output:{...vD,fileUrl:({value:t})=>({path:t}),filePath:({value:{file:t,append:e}})=>({path:t,append:e}),fileNumber:({value:t})=>({path:t}),iterable:ir,string:ir,uint8Array:ir}},Nn=(t,{stripFinalNewline:e},r)=>i1(e,r)&&t!==void 0&&!Array.isArray(t)?wp(t):t,i1=(t,e)=>e==="all"?t[1]||t[2]:t[e],s1=(t,e,r,n)=>t||r?void 0:o1(e,n),a1=(t,e,r)=>r?t.flatMap(n=>xD(n,e)):xD(t,e),xD=(t,e)=>{const{transform:r,final:n}=o1(e,{});return[...r(t),...n()]},o1=(t,e)=>(e.previousChunks="",{transform:t5.bind(void 0,e,t),final:n5.bind(void 0,e)}),t5=function*(t,e,r){if(typeof r!="string"){yield r;return}let{previousChunks:n}=t,i=-1;for(let a=0;a<r.length;a+=1)if(r[a]===`
|
|
182
|
-
`){const s=r5(r,a,e,t);let o=r.slice(i+1,a+1-s);n.length>0&&(o=wf(n,o),n=""),yield o,i=a}i!==r.length-1&&(n=wf(n,r.slice(i+1))),t.previousChunks=n},r5=(t,e,r,n)=>r?0:(n.isWindowsNewline=e!==0&&t[e-1]==="\r",n.isWindowsNewline?2:1),n5=function*({previousChunks:t}){t.length>0&&(yield t)},i5=({binary:t,preserveNewlines:e,readableObjectMode:r,state:n})=>t||e||r?void 0:{transform:s5.bind(void 0,n)},s5=function*({isWindowsNewline:t=!1},e){const{unixNewline:r,windowsNewline:n,LF:i,concatBytes:a}=typeof e=="string"?a5:u5;if(e.at(-1)===i){yield e;return}yield a(e,t?n:r)},wf=(t,e)=>`${t}${e}`,a5={windowsNewline:`\r
|
|
183
|
-
`,unixNewline:`
|
|
184
|
-
`,LF:`
|
|
185
|
-
`,concatBytes:wf},o5=(t,e)=>{const r=new Uint8Array(t.length+e.length);return r.set(t,0),r.set(e,t.length),r},u5={windowsNewline:new Uint8Array([13,10]),unixNewline:new Uint8Array([10]),LF:10,concatBytes:o5},c5=(t,e)=>t?void 0:l5.bind(void 0,e),l5=function*(t,e){if(typeof e!="string"&&!Xt(e)&&!Ni.Buffer.isBuffer(e))throw new TypeError(`The \`${t}\` option's transform must use "objectMode: true" to receive as input: ${typeof e}.`);yield e},f5=(t,e)=>t?p5.bind(void 0,e):d5.bind(void 0,e),p5=function*(t,e){u1(t,e),yield e},d5=function*(t,e){if(u1(t,e),typeof e!="string"&&!Xt(e))throw new TypeError(`The \`${t}\` option's function must yield a string or an Uint8Array, not ${typeof e}.`);yield e},u1=(t,e)=>{if(e==null)throw new TypeError(`The \`${t}\` option's function must not call \`yield ${e}\`.
|
|
186
|
-
Instead, \`yield\` should either be called with a value, or not be called at all. For example:
|
|
187
|
-
if (condition) { yield value; }`)},c1=(t,e,r)=>{if(r)return;if(t)return{transform:h5.bind(void 0,new TextEncoder)};const n=new by.StringDecoder(e);return{transform:m5.bind(void 0,n),final:g5.bind(void 0,n)}},h5=function*(t,e){Ni.Buffer.isBuffer(e)?yield qi(e):typeof e=="string"?yield t.encode(e):yield e},m5=function*(t,e){yield Xt(e)?t.write(e):e},g5=function*(t){const e=t.end();e!==""&&(yield e)},wD=Ve.callbackify(async(t,e,r,n)=>{e.currentIterable=t(...r);try{for await(const i of e.currentIterable)n.push(i)}finally{delete e.currentIterable}}),kp=async function*(t,e,r){if(r===e.length){yield t;return}const{transform:n=v5}=e[r];for await(const i of n(t))yield*kp(i,e,r+1)},D5=async function*(t){for(const[e,{final:r}]of Object.entries(t))yield*y5(r,Number(e),t)},y5=async function*(t,e,r){if(t!==void 0)for await(const n of t())yield*kp(n,r,e+1)},b5=Ve.callbackify(async({currentIterable:t},e)=>{if(t!==void 0){await(e?t.throw(e):t.return());return}if(e)throw e}),v5=function*(t){yield t},ED=(t,e,r,n)=>{try{for(const i of t(...e))r.push(i);n()}catch(i){n(i)}},x5=(t,e)=>[...e.flatMap(r=>[...Ji(r,t,0)]),...qp(t)],Ji=function*(t,e,r){if(r===e.length){yield t;return}const{transform:n=E5}=e[r];for(const i of n(t))yield*Ji(i,e,r+1)},qp=function*(t){for(const[e,{final:r}]of Object.entries(t))yield*w5(r,Number(e),t)},w5=function*(t,e,r){if(t!==void 0)for(const n of t())yield*Ji(n,r,e+1)},E5=function*(t){yield t},FD=({value:t,value:{transform:e,final:r,writableObjectMode:n,readableObjectMode:i},optionName:a},{encoding:s})=>{const o={},c=f1(t,s,a),l=In(e),f=In(r),p=l?wD.bind(void 0,kp,o):ED.bind(void 0,Ji),u=l||f?wD.bind(void 0,D5,o):ED.bind(void 0,qp),h=l||f?b5.bind(void 0,o):void 0;return{stream:new Me.Transform({writableObjectMode:n,writableHighWaterMark:Me.getDefaultHighWaterMark(n),readableObjectMode:i,readableHighWaterMark:Me.getDefaultHighWaterMark(i),transform(b,D,g){p([b,c,0],this,g)},flush(b){u([c],this,b)},destroy:h})}},l1=(t,e,r,n)=>{const i=e.filter(({type:s})=>s==="generator"),a=n?i.reverse():i;for(const{value:s,optionName:o}of a){const c=f1(s,r,o);t=x5(c,t)}return t},f1=({transform:t,final:e,binary:r,writableObjectMode:n,readableObjectMode:i,preserveNewlines:a},s,o)=>{const c={};return[{transform:c5(n,o)},c1(r,s,n),s1(r,a,n,c),{transform:t,final:e},{transform:f5(i,o)},i5({binary:r,preserveNewlines:a,readableObjectMode:i,state:c})].filter(Boolean)},F5=(t,e)=>{for(const r of C5(t))A5(t,r,e)},C5=t=>new Set(Object.entries(t).filter(([,{direction:e}])=>e==="input").map(([e])=>Number(e))),A5=(t,e,r)=>{const{stdioItems:n}=t[e],i=n.filter(({contents:o})=>o!==void 0);if(i.length===0)return;if(e!==0){const[{type:o,optionName:c}]=i;throw new TypeError(`Only the \`stdin\` option, not \`${c}\`, can be ${Ua[o]} with synchronous methods.`)}const s=i.map(({contents:o})=>o).map(o=>_5(o,n));r.input=up(s)},_5=(t,e)=>{const r=l1(t,e,"utf8",!0);return S5(r),up(r)},S5=t=>{const e=t.find(r=>typeof r!="string"&&!Xt(r));if(e!==void 0)throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${e}.`)},p1=({stdioItems:t,encoding:e,verboseInfo:r,fdNumber:n})=>n!=="all"&&fp(r,n)&&!dn.has(e)&&O5(n)&&(t.some(({type:i,value:a})=>i==="native"&&T5.has(a))||t.every(({type:i})=>fn.has(i))),O5=t=>t===1||t===2,T5=new Set(["pipe","overlapped"]),B5=async(t,e,r,n)=>{for await(const i of t)k5(e)||d1(i,r,n)},R5=(t,e,r)=>{for(const n of t)d1(n,e,r)},k5=t=>t._readableState.pipes.length>0,d1=(t,e,r)=>{const n=Kb(t);Gi({type:"output",verboseMessage:n,fdNumber:e,verboseInfo:r})},q5=({fileDescriptors:t,syncResult:{output:e},options:r,isMaxBuffer:n,verboseInfo:i})=>{if(e===null)return{output:Array.from({length:3})};const a={},s=new Set([]);return{output:e.map((c,l)=>P5({result:c,fileDescriptors:t,fdNumber:l,state:a,outputFiles:s,isMaxBuffer:n,verboseInfo:i},r)),...a}},P5=({result:t,fileDescriptors:e,fdNumber:r,state:n,outputFiles:i,isMaxBuffer:a,verboseInfo:s},{buffer:o,encoding:c,lines:l,stripFinalNewline:f,maxBuffer:p})=>{if(t===null)return;const u=w6(t,a,p),h=qi(u),{stdioItems:d,objectMode:b}=e[r],D=I5([h],d,c,n),{serializedResult:g,finalResult:y=g}=N5({chunks:D,objectMode:b,encoding:c,lines:l,stripFinalNewline:f,fdNumber:r});M5({serializedResult:g,fdNumber:r,state:n,verboseInfo:s,encoding:c,stdioItems:d,objectMode:b});const w=o[r]?y:void 0;try{return n.error===void 0&&j5(g,d,i),w}catch(E){return n.error=E,w}},I5=(t,e,r,n)=>{try{return l1(t,e,r,!1)}catch(i){return n.error=i,t}},N5=({chunks:t,objectMode:e,encoding:r,lines:n,stripFinalNewline:i,fdNumber:a})=>{if(e)return{serializedResult:t};if(r==="buffer")return{serializedResult:up(t)};const s=q_(t,r);return n[a]?{serializedResult:s,finalResult:a1(s,!i[a],e)}:{serializedResult:s}},M5=({serializedResult:t,fdNumber:e,state:r,verboseInfo:n,encoding:i,stdioItems:a,objectMode:s})=>{if(!p1({stdioItems:a,encoding:i,verboseInfo:n,fdNumber:e}))return;const o=a1(t,!1,s);try{R5(o,e,n)}catch(c){r.error??=c}},j5=(t,e,r)=>{for(const{path:n,append:i}of e.filter(({type:a})=>Yv.has(a))){const a=typeof n=="string"?n:n.toString();i||r.has(a)?$e.appendFileSync(n,t):(r.add(a),$e.writeFileSync(n,t))}},L5=([,t,e],r)=>{if(r.all)return t===void 0?e:e===void 0?t:Array.isArray(t)?Array.isArray(e)?[...t,...e]:[...t,Nn(e,r,"all")]:Array.isArray(e)?[Nn(t,r,"all"),...e]:Xt(t)&&Xt(e)?Hb([t,e]):`${t}${e}`},$5=async(t,e)=>{const[r,n]=await U5(t);return e.isForcefullyTerminated??=!1,[r,n]},U5=async t=>{const[e,r]=await Promise.allSettled([He.once(t,"spawn"),He.once(t,"exit")]);return e.status==="rejected"?[]:r.status==="rejected"?h1(t):r.value},h1=async t=>{try{return await He.once(t,"exit")}catch{return h1(t)}},z5=async t=>{const[e,r]=await t;if(!H5(e,r)&&m1(e,r))throw new Yi;return[e,r]},H5=(t,e)=>t===void 0&&e===void 0,m1=(t,e)=>t!==0||e!==null,V5=({error:t,status:e,signal:r,output:n},{maxBuffer:i})=>{const a=W5(t,e,r),s=a?.code==="ETIMEDOUT",o=x6(a,n,i);return{resultError:a,exitCode:e,signal:r,timedOut:s,isMaxBuffer:o}},W5=(t,e,r)=>t!==void 0?t:m1(e,r)?new Yi:void 0,G5=(t,e,r)=>{const{file:n,commandArguments:i,command:a,escapedCommand:s,startTime:o,verboseInfo:c,options:l,fileDescriptors:f}=Y5(t,e,r),p=K5({file:n,commandArguments:i,options:l,command:a,escapedCommand:s,verboseInfo:c,fileDescriptors:f,startTime:o});return Op(p,c,l)},Y5=(t,e,r)=>{const{command:n,escapedCommand:i,startTime:a,verboseInfo:s}=ev(t,e,r),o=Z5(r),{file:c,commandArguments:l,options:f}=Av(t,e,o);J5(f);const p=XT(f,s);return{file:c,commandArguments:l,command:n,escapedCommand:i,startTime:a,verboseInfo:s,options:f,fileDescriptors:p}},Z5=t=>t.node&&!t.ipc?{...t,ipc:!1}:t,J5=({ipc:t,ipcInput:e,detached:r,cancelSignal:n})=>{e&&Zs("ipcInput"),t&&Zs("ipc: true"),r&&Zs("detached: true"),n&&Zs("cancelSignal")},Zs=t=>{throw new TypeError(`The "${t}" option cannot be used with synchronous methods.`)},K5=({file:t,commandArguments:e,options:r,command:n,escapedCommand:i,verboseInfo:a,fileDescriptors:s,startTime:o})=>{const c=X5({file:t,commandArguments:e,options:r,command:n,escapedCommand:i,fileDescriptors:s,startTime:o});if(c.failed)return c;const{resultError:l,exitCode:f,signal:p,timedOut:u,isMaxBuffer:h}=V5(c,r),{output:d,error:b=l}=q5({fileDescriptors:s,syncResult:c,options:r,isMaxBuffer:h,verboseInfo:a}),D=d.map((y,w)=>Nn(y,r,w)),g=Nn(L5(d,r),r,"all");return eB({error:b,exitCode:f,signal:p,timedOut:u,isMaxBuffer:h,stdio:D,all:g,options:r,command:n,escapedCommand:i,startTime:o})},X5=({file:t,commandArguments:e,options:r,command:n,escapedCommand:i,fileDescriptors:a,startTime:s})=>{try{F5(a,r);const o=Q5(r);return jn.spawnSync(..._v(t,e,o))}catch(o){return _p({error:o,command:n,escapedCommand:i,fileDescriptors:a,options:r,startTime:s,isSync:!0})}},Q5=({encoding:t,maxBuffer:e,...r})=>({...r,encoding:"buffer",maxBuffer:Ap(e)}),eB=({error:t,exitCode:e,signal:r,timedOut:n,isMaxBuffer:i,stdio:a,all:s,options:o,command:c,escapedCommand:l,startTime:f})=>t===void 0?Lv({command:c,escapedCommand:l,stdio:a,all:s,ipcOutput:[],options:o,startTime:f}):Sp({error:t,command:c,escapedCommand:l,timedOut:n,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:i,isForcefullyTerminated:!1,exitCode:e,signal:r,stdio:a,all:s,ipcOutput:[],options:o,startTime:f,isSync:!0}),tB=({anyProcess:t,channel:e,isSubprocess:r,ipc:n},{reference:i=!0,filter:a}={})=>(Dp({methodName:"getOneMessage",isSubprocess:r,ipc:n,isConnected:bv(t)}),rB({anyProcess:t,channel:e,isSubprocess:r,filter:a,reference:i})),rB=async({anyProcess:t,channel:e,isSubprocess:r,filter:n,reference:i})=>{Dv(e,i);const a=Ma(t,e,r),s=new AbortController;try{return await Promise.race([nB(a,n,s),iB(a,r,s),sB(a,r,s)])}catch(o){throw yp(t),o}finally{s.abort(),yv(e,i)}},nB=async(t,e,{signal:r})=>{if(e===void 0){const[n]=await He.once(t,"message",{signal:r});return n}for await(const[n]of He.on(t,"message",{signal:r}))if(e(n))return n},iB=async(t,e,{signal:r})=>{await He.once(t,"disconnect",{signal:r}),B8(e)},sB=async(t,e,{signal:r})=>{const[n]=await He.once(t,"strict:error",{signal:r});throw pv(n,e)},aB=({anyProcess:t,channel:e,isSubprocess:r,ipc:n},{reference:i=!0}={})=>g1({anyProcess:t,channel:e,isSubprocess:r,ipc:n,shouldAwait:!r,reference:i}),g1=({anyProcess:t,channel:e,isSubprocess:r,ipc:n,shouldAwait:i,reference:a})=>{Dp({methodName:"getEachMessage",isSubprocess:r,ipc:n,isConnected:bv(t)}),Dv(e,a);const s=Ma(t,e,r),o=new AbortController,c={};return oB(t,s,o),uB({ipcEmitter:s,isSubprocess:r,controller:o,state:c}),cB({anyProcess:t,channel:e,ipcEmitter:s,isSubprocess:r,shouldAwait:i,controller:o,state:c,reference:a})},oB=async(t,e,r)=>{try{await He.once(e,"disconnect",{signal:r.signal}),r.abort()}catch{}},uB=async({ipcEmitter:t,isSubprocess:e,controller:r,state:n})=>{try{const[i]=await He.once(t,"strict:error",{signal:r.signal});n.error=pv(i,e),r.abort()}catch{}},cB=async function*({anyProcess:t,channel:e,ipcEmitter:r,isSubprocess:n,shouldAwait:i,controller:a,state:s,reference:o}){try{for await(const[c]of He.on(r,"message",{signal:a.signal}))CD(s),yield c}catch{CD(s)}finally{a.abort(),yv(e,o),n||yp(t),i&&await t}},CD=({error:t})=>{if(t)throw t},lB=(t,{ipc:e})=>{Object.assign(t,D1(t,!1,e))},fB=()=>{const t=Ge,e=!0,r=Ge.channel!==void 0;return{...D1(t,e,r),getCancelSignal:fO.bind(void 0,{anyProcess:t,channel:t.channel,isSubprocess:e,ipc:r})}},D1=(t,e,r)=>({sendMessage:xv.bind(void 0,{anyProcess:t,channel:t.channel,isSubprocess:e,ipc:r}),getOneMessage:tB.bind(void 0,{anyProcess:t,channel:t.channel,isSubprocess:e,ipc:r}),getEachMessage:aB.bind(void 0,{anyProcess:t,channel:t.channel,isSubprocess:e,ipc:r})}),pB=({error:t,command:e,escapedCommand:r,fileDescriptors:n,options:i,startTime:a,verboseInfo:s})=>{r1(n);const o=new jn.ChildProcess;dB(o,n),Object.assign(o,{readable:hB,writable:mB,duplex:gB});const c=_p({error:t,command:e,escapedCommand:r,fileDescriptors:n,options:i,startTime:a,isSync:!1}),l=DB(c,s,i);return{subprocess:o,promise:l}},dB=(t,e)=>{const r=pi(),n=pi(),i=pi(),a=Array.from({length:e.length-3},pi),s=pi(),o=[r,n,i,...a];Object.assign(t,{stdin:r,stdout:n,stderr:i,all:s,stdio:o})},pi=()=>{const t=new Me.PassThrough;return t.end(),t},hB=()=>new Me.Readable({read(){}}),mB=()=>new Me.Writable({write(){}}),gB=()=>new Me.Duplex({read(){},write(){}}),DB=async(t,e,r)=>Op(t,e,r),yB=(t,e)=>t1(bB,t,e,!1),wi=({type:t,optionName:e})=>{throw new TypeError(`The \`${e}\` option cannot be ${Ua[t]}.`)},AD={fileNumber:wi,generator:FD,asyncGenerator:FD,nodeStream:({value:t})=>({stream:t}),webTransform({value:{transform:t,writableObjectMode:e,readableObjectMode:r}}){const n=e||r;return{stream:Me.Duplex.fromWeb(t,{objectMode:n})}},duplex:({value:{transform:t}})=>({stream:t}),native(){}},bB={input:{...AD,fileUrl:({value:t})=>({stream:$e.createReadStream(t)}),filePath:({value:{file:t}})=>({stream:$e.createReadStream(t)}),webStream:({value:t})=>({stream:Me.Readable.fromWeb(t)}),iterable:({value:t})=>({stream:Me.Readable.from(t)}),asyncIterable:({value:t})=>({stream:Me.Readable.from(t)}),string:({value:t})=>({stream:Me.Readable.from(t)}),uint8Array:({value:t})=>({stream:Me.Readable.from(Ni.Buffer.from(t))})},output:{...AD,fileUrl:({value:t})=>({stream:$e.createWriteStream(t)}),filePath:({value:{file:t,append:e}})=>({stream:$e.createWriteStream(t,e?{flags:"a"}:{})}),webStream:({value:t})=>({stream:Me.Writable.fromWeb(t)}),iterable:wi,asyncIterable:wi,string:wi,uint8Array:wi}};function Pp(t){if(!Array.isArray(t))throw new TypeError(`Expected an array, got \`${typeof t}\`.`);for(const i of t)Ef(i);const e=t.some(({readableObjectMode:i})=>i),r=vB(t,e),n=new xB({objectMode:e,writableHighWaterMark:r,readableHighWaterMark:r});for(const i of t)n.add(i);return n}const vB=(t,e)=>{if(t.length===0)return Me.getDefaultHighWaterMark(e);const r=t.filter(({readableObjectMode:n})=>n===e).map(({readableHighWaterMark:n})=>n);return Math.max(...r)};class xB extends Me.PassThrough{#r=new Set([]);#n=new Set([]);#t=new Set([]);#e;#i=Symbol("unpipe");#s=new WeakMap;add(e){if(Ef(e),this.#r.has(e))return;this.#r.add(e),this.#e??=wB(this,this.#r,this.#i);const r=CB({passThroughStream:this,stream:e,streams:this.#r,ended:this.#n,aborted:this.#t,onFinished:this.#e,unpipeEvent:this.#i});this.#s.set(e,r),e.pipe(this,{end:!1})}async remove(e){if(Ef(e),!this.#r.has(e))return!1;const r=this.#s.get(e);return r===void 0?!1:(this.#s.delete(e),e.unpipe(this),await r,!0)}}const wB=async(t,e,r)=>{Ea(t,_D);const n=new AbortController;try{await Promise.race([EB(t,n),FB(t,e,r,n)])}finally{n.abort(),Ea(t,-_D)}},EB=async(t,{signal:e})=>{try{await kr.finished(t,{signal:e,cleanup:!0})}catch(r){throw y1(t,r),r}},FB=async(t,e,r,{signal:n})=>{for await(const[i]of He.on(t,"unpipe",{signal:n}))e.has(i)&&i.emit(r)},Ef=t=>{if(typeof t?.pipe!="function")throw new TypeError(`Expected a readable stream, got: \`${typeof t}\`.`)},CB=async({passThroughStream:t,stream:e,streams:r,ended:n,aborted:i,onFinished:a,unpipeEvent:s})=>{Ea(t,SD);const o=new AbortController;try{await Promise.race([AB(a,e,o),_B({passThroughStream:t,stream:e,streams:r,ended:n,aborted:i,controller:o}),SB({stream:e,streams:r,ended:n,aborted:i,unpipeEvent:s,controller:o})])}finally{o.abort(),Ea(t,-SD)}r.size>0&&r.size===n.size+i.size&&(n.size===0&&i.size>0?Ip(t):OB(t))},AB=async(t,e,{signal:r})=>{try{await t,r.aborted||Ip(e)}catch(n){r.aborted||y1(e,n)}},_B=async({passThroughStream:t,stream:e,streams:r,ended:n,aborted:i,controller:{signal:a}})=>{try{await kr.finished(e,{signal:a,cleanup:!0,readable:!0,writable:!1}),r.has(e)&&n.add(e)}catch(s){if(a.aborted||!r.has(e))return;b1(s)?i.add(e):v1(t,s)}},SB=async({stream:t,streams:e,ended:r,aborted:n,unpipeEvent:i,controller:{signal:a}})=>{if(await He.once(t,i,{signal:a}),!t.readable)return He.once(a,"abort",{signal:a});e.delete(t),r.delete(t),n.delete(t)},OB=t=>{t.writable&&t.end()},y1=(t,e)=>{b1(e)?Ip(t):v1(t,e)},b1=t=>t?.code==="ERR_STREAM_PREMATURE_CLOSE",Ip=t=>{(t.readable||t.writable)&&t.destroy()},v1=(t,e)=>{t.destroyed||(t.once("error",TB),t.destroy(e))},TB=()=>{},Ea=(t,e)=>{const r=t.getMaxListeners();r!==0&&r!==Number.POSITIVE_INFINITY&&t.setMaxListeners(r+e)},_D=2,SD=1,Fa=(t,e)=>{t.pipe(e),BB(t,e),RB(t,e)},BB=async(t,e)=>{if(!(cn(t)||cn(e))){try{await kr.finished(t,{cleanup:!0,readable:!0,writable:!1})}catch{}x1(e)}},x1=t=>{t.writable&&t.end()},RB=async(t,e)=>{if(!(cn(t)||cn(e))){try{await kr.finished(e,{cleanup:!0,readable:!1,writable:!0})}catch{}w1(t)}},w1=t=>{t.readable&&t.destroy()},kB=(t,e,r)=>{const n=new Map;for(const[i,{stdioItems:a,direction:s}]of Object.entries(e)){for(const{stream:o}of a.filter(({type:c})=>fn.has(c)))qB(t,o,s,i);for(const{stream:o}of a.filter(({type:c})=>!fn.has(c)))IB({subprocess:t,stream:o,direction:s,fdNumber:i,pipeGroups:n,controller:r})}for(const[i,a]of n.entries()){const s=a.length===1?a[0]:Pp(a);Fa(s,i)}},qB=(t,e,r,n)=>{r==="output"?Fa(t.stdio[n],e):Fa(e,t.stdio[n]);const i=PB[n];i!==void 0&&(t[i]=e),t.stdio[n]=e},PB=["stdin","stdout","stderr"],IB=({subprocess:t,stream:e,direction:r,fdNumber:n,pipeGroups:i,controller:a})=>{if(e===void 0)return;NB(e,a);const[s,o]=r==="output"?[e,t.stdio[n]]:[t.stdio[n],e],c=i.get(s)??[];i.set(s,[...c,o])},NB=(t,{signal:e})=>{cn(t)&&xa(t,MB,e)},MB=2,On=[];On.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&On.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&On.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const la=t=>!!t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function",Ul=Symbol.for("signal-exit emitter"),zl=globalThis,jB=Object.defineProperty.bind(Object);class LB{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(zl[Ul])return zl[Ul];jB(zl,Ul,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,r){this.listeners[e].push(r)}removeListener(e,r){const n=this.listeners[e],i=n.indexOf(r);i!==-1&&(i===0&&n.length===1?n.length=0:n.splice(i,1))}emit(e,r,n){if(this.emitted[e])return!1;this.emitted[e]=!0;let i=!1;for(const a of this.listeners[e])i=a(r,n)===!0||i;return e==="exit"&&(i=this.emit("afterExit",r,n)||i),i}}class E1{}const $B=t=>({onExit(e,r){return t.onExit(e,r)},load(){return t.load()},unload(){return t.unload()}});class UB extends E1{onExit(){return()=>{}}load(){}unload(){}}class zB extends E1{#r=Ff.platform==="win32"?"SIGINT":"SIGHUP";#n=new LB;#t;#e;#i;#s={};#a=!1;constructor(e){super(),this.#t=e,this.#s={};for(const r of On)this.#s[r]=()=>{const n=this.#t.listeners(r);let{count:i}=this.#n;const a=e;if(typeof a.__signal_exit_emitter__=="object"&&typeof a.__signal_exit_emitter__.count=="number"&&(i+=a.__signal_exit_emitter__.count),n.length===i){this.unload();const s=this.#n.emit("exit",null,r),o=r==="SIGHUP"?this.#r:r;s||e.kill(e.pid,o)}};this.#i=e.reallyExit,this.#e=e.emit}onExit(e,r){if(!la(this.#t))return()=>{};this.#a===!1&&this.load();const n=r?.alwaysLast?"afterExit":"exit";return this.#n.on(n,e),()=>{this.#n.removeListener(n,e),this.#n.listeners.exit.length===0&&this.#n.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#a){this.#a=!0,this.#n.count+=1;for(const e of On)try{const r=this.#s[e];r&&this.#t.on(e,r)}catch{}this.#t.emit=(e,...r)=>this.#o(e,...r),this.#t.reallyExit=e=>this.#u(e)}}unload(){this.#a&&(this.#a=!1,On.forEach(e=>{const r=this.#s[e];if(!r)throw new Error("Listener not defined for signal: "+e);try{this.#t.removeListener(e,r)}catch{}}),this.#t.emit=this.#e,this.#t.reallyExit=this.#i,this.#n.count-=1)}#u(e){return la(this.#t)?(this.#t.exitCode=e||0,this.#n.emit("exit",this.#t.exitCode,null),this.#i.call(this.#t,this.#t.exitCode)):0}#o(e,...r){const n=this.#e;if(e==="exit"&&la(this.#t)){typeof r[0]=="number"&&(this.#t.exitCode=r[0]);const i=n.call(this.#t,e,...r);return this.#n.emit("exit",this.#t.exitCode,null),i}else return n.call(this.#t,e,...r)}}const Ff=globalThis.process,{onExit:HB}=$B(la(Ff)?new zB(Ff):new UB),VB=(t,{cleanup:e,detached:r},{signal:n})=>{if(!e||r)return;const i=HB(()=>{t.kill()});He.addAbortListener(n,()=>{i()})},WB=({source:t,sourcePromise:e,boundOptions:r,createNested:n},...i)=>{const a=Xb(),{destination:s,destinationStream:o,destinationError:c,from:l,unpipeSignal:f}=GB(r,n,i),{sourceStream:p,sourceError:u}=ZB(t,l),{options:h,fileDescriptors:d}=ln.get(t);return{sourcePromise:e,sourceStream:p,sourceOptions:h,sourceError:u,destination:s,destinationStream:o,destinationError:c,unpipeSignal:f,fileDescriptors:d,startTime:a}},GB=(t,e,r)=>{try{const{destination:n,pipeOptions:{from:i,to:a,unpipeSignal:s}={}}=YB(t,e,...r),o=dv(n,a);return{destination:n,destinationStream:o,from:i,unpipeSignal:s}}catch(n){return{destinationError:n}}},YB=(t,e,r,...n)=>{if(Array.isArray(r))return{destination:e(OD,t)(r,...n),pipeOptions:t};if(typeof r=="string"||r instanceof URL||Mb(r)){if(Object.keys(t).length>0)throw new TypeError('Please use .pipe("file", ..., options) or .pipe(execa("file", ..., options)) instead of .pipe(options)("file", ...).');const[i,a,s]=Lb(r,...n);return{destination:e(OD)(i,a,s),pipeOptions:s}}if(ln.has(r)){if(Object.keys(t).length>0)throw new TypeError("Please use .pipe(options)`command` or .pipe($(options)`command`) instead of .pipe(options)($`command`).");return{destination:r,pipeOptions:n[0]}}throw new TypeError(`The first argument must be a template string, an options object, or an Execa subprocess: ${r}`)},OD=({options:t})=>({options:{...t,stdin:"pipe",piped:!0}}),ZB=(t,e)=>{try{return{sourceStream:bp(t,e)}}catch(r){return{sourceError:r}}},JB=({sourceStream:t,sourceError:e,destinationStream:r,destinationError:n,fileDescriptors:i,sourceOptions:a,startTime:s})=>{const o=KB({sourceStream:t,sourceError:e,destinationStream:r,destinationError:n});if(o!==void 0)throw F1({error:o,fileDescriptors:i,sourceOptions:a,startTime:s})},KB=({sourceStream:t,sourceError:e,destinationStream:r,destinationError:n})=>{if(e!==void 0&&n!==void 0)return n;if(n!==void 0)return w1(t),n;if(e!==void 0)return x1(r),e},F1=({error:t,fileDescriptors:e,sourceOptions:r,startTime:n})=>_p({error:t,command:TD,escapedCommand:TD,fileDescriptors:e,options:r,startTime:n,isSync:!1}),TD="source.pipe(destination)",XB=async t=>{const[{status:e,reason:r,value:n=r},{status:i,reason:a,value:s=a}]=await t;if(s.pipedFrom.includes(n)||s.pipedFrom.push(n),i==="rejected")throw s;if(e==="rejected")throw n;return s},QB=(t,e,r)=>{const n=za.has(e)?tR(t,e):eR(t,e);return xa(t,nR,r.signal),xa(e,iR,r.signal),rR(e),n},eR=(t,e)=>{const r=Pp([t]);return Fa(r,e),za.set(e,r),r},tR=(t,e)=>{const r=za.get(e);return r.add(t),r},rR=async t=>{try{await kr.finished(t,{cleanup:!0,readable:!1,writable:!0})}catch{}za.delete(t)},za=new WeakMap,nR=2,iR=1,sR=(t,e)=>t===void 0?[]:[aR(t,e)],aR=async(t,{sourceStream:e,mergedStream:r,fileDescriptors:n,sourceOptions:i,startTime:a})=>{await Ve.aborted(t,e),await r.remove(e);const s=new Error("Pipe canceled by `unpipeSignal` option.");throw F1({error:s,fileDescriptors:n,sourceOptions:i,startTime:a})},Cf=(t,...e)=>{if(Nt(e[0]))return Cf.bind(void 0,{...t,boundOptions:{...t.boundOptions,...e[0]}});const{destination:r,...n}=WB(t,...e),i=oR({...n,destination:r});return i.pipe=Cf.bind(void 0,{...t,source:r,sourcePromise:i,boundOptions:{}}),i},oR=async({sourcePromise:t,sourceStream:e,sourceOptions:r,sourceError:n,destination:i,destinationStream:a,destinationError:s,unpipeSignal:o,fileDescriptors:c,startTime:l})=>{const f=uR(t,i);JB({sourceStream:e,sourceError:n,destinationStream:a,destinationError:s,fileDescriptors:c,sourceOptions:r,startTime:l});const p=new AbortController;try{const u=QB(e,a,p);return await Promise.race([XB(f),...sR(o,{sourceStream:e,mergedStream:u,sourceOptions:r,fileDescriptors:c,startTime:l})])}finally{p.abort()}},uR=(t,e)=>Promise.allSettled([t,e]),C1=({subprocessStdout:t,subprocess:e,binary:r,shouldEncode:n,encoding:i,preserveNewlines:a})=>{const s=new AbortController;return cR(e,s),_1({stream:t,controller:s,binary:r,shouldEncode:!t.readableObjectMode&&n,encoding:i,shouldSplit:!t.readableObjectMode,preserveNewlines:a})},cR=async(t,e)=>{try{await t}catch{}finally{e.abort()}},A1=({stream:t,onStreamEnd:e,lines:r,encoding:n,stripFinalNewline:i,allMixed:a})=>{const s=new AbortController;lR(e,s,t);const o=t.readableObjectMode&&!a;return _1({stream:t,controller:s,binary:n==="buffer",shouldEncode:!o,encoding:n,shouldSplit:!o&&r,preserveNewlines:!i})},lR=async(t,e,r)=>{try{await t}catch{r.destroy()}finally{e.abort()}},_1=({stream:t,controller:e,binary:r,shouldEncode:n,encoding:i,shouldSplit:a,preserveNewlines:s})=>{const o=He.on(t,"data",{signal:e.signal,highWaterMark:BD,highWatermark:BD});return fR({onStdoutChunk:o,controller:e,binary:r,shouldEncode:n,encoding:i,shouldSplit:a,preserveNewlines:s})},S1=Me.getDefaultHighWaterMark(!0),BD=S1,fR=async function*({onStdoutChunk:t,controller:e,binary:r,shouldEncode:n,encoding:i,shouldSplit:a,preserveNewlines:s}){const o=pR({binary:r,shouldEncode:n,encoding:i,shouldSplit:a,preserveNewlines:s});try{for await(const[c]of t)yield*Ji(c,o,0)}catch(c){if(!e.signal.aborted)throw c}finally{yield*qp(o)}},pR=({binary:t,shouldEncode:e,encoding:r,shouldSplit:n,preserveNewlines:i})=>[c1(t,r,!e),s1(t,i,!n,{})].filter(Boolean),dR=async({stream:t,onStreamEnd:e,fdNumber:r,encoding:n,buffer:i,maxBuffer:a,lines:s,allMixed:o,stripFinalNewline:c,verboseInfo:l,streamInfo:f})=>{const p=hR({stream:t,onStreamEnd:e,fdNumber:r,encoding:n,allMixed:o,verboseInfo:l,streamInfo:f});if(!i){await Promise.all([mR(t),p]);return}const u=i1(c,r),h=A1({stream:t,onStreamEnd:e,lines:s,encoding:n,stripFinalNewline:u,allMixed:o}),[d]=await Promise.all([gR({stream:t,iterable:h,fdNumber:r,encoding:n,maxBuffer:a,lines:s}),p]);return d},hR=async({stream:t,onStreamEnd:e,fdNumber:r,encoding:n,allMixed:i,verboseInfo:a,streamInfo:{fileDescriptors:s}})=>{if(!p1({stdioItems:s[r]?.stdioItems,encoding:n,verboseInfo:a,fdNumber:r}))return;const o=A1({stream:t,onStreamEnd:e,lines:!0,encoding:n,stripFinalNewline:!0,allMixed:i});await B5(o,t,r,a)},mR=async t=>{await ji.setImmediate(),t.readableFlowing===null&&t.resume()},gR=async({stream:t,stream:{readableObjectMode:e},iterable:r,fdNumber:n,encoding:i,maxBuffer:a,lines:s})=>{try{return e||s?await ZO(r,{maxBuffer:a}):i==="buffer"?new Uint8Array(await e6(r,{maxBuffer:a})):await l6(r,{maxBuffer:a})}catch(o){return O1(g6({error:o,stream:t,readableObjectMode:e,lines:s,encoding:i,fdNumber:n}))}},RD=async t=>{try{return await t}catch(e){return O1(e)}},O1=({bufferedData:t})=>B_(t)?new Uint8Array(t):t,Np=async(t,e,r,{isSameDirection:n,stopOnExit:i=!1}={})=>{const a=DR(t,r),s=new AbortController;try{await Promise.race([...i?[r.exitPromise]:[],kr.finished(t,{cleanup:!0,signal:s.signal})])}catch(o){a.stdinCleanedUp||vR(o,e,r,n)}finally{s.abort()}},DR=(t,{originalStreams:[e],subprocess:r})=>{const n={stdinCleanedUp:!1};return t===e&&yR(t,r,n),n},yR=(t,e,r)=>{const{_destroy:n}=t;t._destroy=(...i)=>{bR(e,r),n.call(t,...i)}},bR=({exitCode:t,signalCode:e},r)=>{(t!==null||e!==null)&&(r.stdinCleanedUp=!0)},vR=(t,e,r,n)=>{if(!xR(t,e,r,n))throw t},xR=(t,e,r,n=!0)=>r.propagating?kD(t)||Af(t):(r.propagating=!0,T1(r,e)===n?kD(t):Af(t)),T1=({fileDescriptors:t},e)=>e!=="all"&&t[e].direction==="input",Af=t=>t?.code==="ERR_STREAM_PREMATURE_CLOSE",kD=t=>t?.code==="EPIPE",wR=({subprocess:t,encoding:e,buffer:r,maxBuffer:n,lines:i,stripFinalNewline:a,verboseInfo:s,streamInfo:o})=>t.stdio.map((c,l)=>B1({stream:c,fdNumber:l,encoding:e,buffer:r[l],maxBuffer:n[l],lines:i[l],allMixed:!1,stripFinalNewline:a,verboseInfo:s,streamInfo:o})),B1=async({stream:t,fdNumber:e,encoding:r,buffer:n,maxBuffer:i,lines:a,allMixed:s,stripFinalNewline:o,verboseInfo:c,streamInfo:l})=>{if(!t)return;const f=Np(t,e,l);if(T1(l,e)){await f;return}const[p]=await Promise.all([dR({stream:t,onStreamEnd:f,fdNumber:e,encoding:r,buffer:n,maxBuffer:i,lines:a,allMixed:s,stripFinalNewline:o,verboseInfo:c,streamInfo:l}),f]);return p},ER=({stdout:t,stderr:e},{all:r})=>r&&(t||e)?Pp([t,e].filter(Boolean)):void 0,FR=({subprocess:t,encoding:e,buffer:r,maxBuffer:n,lines:i,stripFinalNewline:a,verboseInfo:s,streamInfo:o})=>B1({...CR(t,r),fdNumber:"all",encoding:e,maxBuffer:n[1]+n[2],lines:i[1]||i[2],allMixed:AR(t),stripFinalNewline:a,verboseInfo:s,streamInfo:o}),CR=({stdout:t,stderr:e,all:r},[,n,i])=>{const a=n||i;return a?n?i?{stream:r,buffer:a}:{stream:t,buffer:a}:{stream:e,buffer:a}:{stream:r,buffer:a}},AR=({all:t,stdout:e,stderr:r})=>t&&e&&r&&e.readableObjectMode!==r.readableObjectMode,_R=t=>fp(t,"ipc"),SR=(t,e)=>{const r=Kb(t);Gi({type:"ipc",verboseMessage:r,fdNumber:"ipc",verboseInfo:e})},OR=async({subprocess:t,buffer:e,maxBuffer:r,ipc:n,ipcOutput:i,verboseInfo:a})=>{if(!n)return i;const s=_R(a),o=Pi(e,"ipc"),c=Pi(r,"ipc");for await(const l of g1({anyProcess:t,channel:t.channel,isSubprocess:!1,ipc:n,shouldAwait:!1,reference:!0}))o&&(y6(t,i,c),i.push(l)),s&&SR(l,a);return i},TR=async(t,e)=>(await Promise.allSettled([t]),e),BR=async({subprocess:t,options:{encoding:e,buffer:r,maxBuffer:n,lines:i,timeoutDuration:a,cancelSignal:s,gracefulCancel:o,forceKillAfterDelay:c,stripFinalNewline:l,ipc:f,ipcInput:p},context:u,verboseInfo:h,fileDescriptors:d,originalStreams:b,onInternalError:D,controller:g})=>{const y=$5(t,u),w={originalStreams:b,fileDescriptors:d,subprocess:t,exitPromise:y,propagating:!1},E=wR({subprocess:t,encoding:e,buffer:r,maxBuffer:n,lines:i,stripFinalNewline:l,verboseInfo:h,streamInfo:w}),x=FR({subprocess:t,encoding:e,buffer:r,maxBuffer:n,lines:i,stripFinalNewline:l,verboseInfo:h,streamInfo:w}),m=[],F=OR({subprocess:t,buffer:r,maxBuffer:n,ipc:f,ipcOutput:m,verboseInfo:h}),_=RR(b,t,w),T=kR(d,w);try{return await Promise.race([Promise.all([{},z5(y),Promise.all(E),x,F,_O(t,p),..._,...T]),D,qR(t,g),...bO(t,a,u,g),...S8({subprocess:t,cancelSignal:s,gracefulCancel:o,context:u,controller:g}),...mO({subprocess:t,cancelSignal:s,gracefulCancel:o,forceKillAfterDelay:c,context:u,controller:g})])}catch(M){return u.terminationReason??="other",Promise.all([{error:M},y,Promise.all(E.map(B=>RD(B))),RD(x),TR(F,m),Promise.allSettled(_),Promise.allSettled(T)])}},RR=(t,e,r)=>t.map((n,i)=>n===e.stdio[i]?void 0:Np(n,i,r)),kR=(t,e)=>t.flatMap(({stdioItems:r},n)=>r.filter(({value:i,stream:a=i})=>hn(a,{checkOpen:!1})&&!cn(a)).map(({type:i,value:a,stream:s=a})=>Np(s,n,e,{isSameDirection:fn.has(i),stopOnExit:i==="native"}))),qR=async(t,{signal:e})=>{const[r]=await He.once(t,"error",{signal:e});throw r},PR=()=>({readableDestroy:new WeakMap,writableFinal:new WeakMap,writableDestroy:new WeakMap}),_f=(t,e,r)=>{const n=t[r];n.has(e)||n.set(e,[]);const i=n.get(e),a=Zi();return i.push(a),{resolve:a.resolve.bind(a),promises:i}},Ca=async({resolve:t,promises:e},r)=>{t();const[n]=await Promise.race([Promise.allSettled([!0,r]),Promise.all([!1,...e])]);return!n},qD=async t=>{if(t!==void 0)try{await R1(t)}catch{}},IR=async t=>{if(t!==void 0)try{await k1(t)}catch{}},R1=async t=>{await kr.finished(t,{cleanup:!0,readable:!1,writable:!0})},k1=async t=>{await kr.finished(t,{cleanup:!0,readable:!0,writable:!1})},q1=async(t,e)=>{if(await t,e)throw e},P1=(t,e,r)=>{r&&!Af(r)?t.destroy(r):e&&t.destroy()},NR=({subprocess:t,concurrentStreams:e,encoding:r},{from:n,binary:i=!0,preserveNewlines:a=!0}={})=>{const s=i||dn.has(r),{subprocessStdout:o,waitReadableDestroy:c}=I1(t,n,e),{readableEncoding:l,readableObjectMode:f,readableHighWaterMark:p}=N1(o,s),{read:u,onStdoutDataDone:h}=M1({subprocessStdout:o,subprocess:t,binary:s,encoding:r,preserveNewlines:a}),d=new Me.Readable({read:u,destroy:Ve.callbackify(L1.bind(void 0,{subprocessStdout:o,subprocess:t,waitReadableDestroy:c})),highWaterMark:p,objectMode:f,encoding:l});return j1({subprocessStdout:o,onStdoutDataDone:h,readable:d,subprocess:t}),d},I1=(t,e,r)=>{const n=bp(t,e),i=_f(r,n,"readableDestroy");return{subprocessStdout:n,waitReadableDestroy:i}},N1=({readableEncoding:t,readableObjectMode:e,readableHighWaterMark:r},n)=>n?{readableEncoding:t,readableObjectMode:e,readableHighWaterMark:r}:{readableEncoding:t,readableObjectMode:!0,readableHighWaterMark:S1},M1=({subprocessStdout:t,subprocess:e,binary:r,encoding:n,preserveNewlines:i})=>{const a=Zi(),s=C1({subprocessStdout:t,subprocess:e,binary:r,shouldEncode:!r,encoding:n,preserveNewlines:i});return{read(){MR(this,s,a)},onStdoutDataDone:a}},MR=async(t,e,r)=>{try{const{value:n,done:i}=await e.next();i?r.resolve():t.push(n)}catch{}},j1=async({subprocessStdout:t,onStdoutDataDone:e,readable:r,subprocess:n,subprocessStdin:i})=>{try{await k1(t),await n,await qD(i),await e,r.readable&&r.push(null)}catch(a){await qD(i),$1(r,a)}},L1=async({subprocessStdout:t,subprocess:e,waitReadableDestroy:r},n)=>{await Ca(r,e)&&($1(t,n),await q1(e,n))},$1=(t,e)=>{P1(t,t.readable,e)},jR=({subprocess:t,concurrentStreams:e},{to:r}={})=>{const{subprocessStdin:n,waitWritableFinal:i,waitWritableDestroy:a}=U1(t,r,e),s=new Me.Writable({...z1(n,t,i),destroy:Ve.callbackify(V1.bind(void 0,{subprocessStdin:n,subprocess:t,waitWritableFinal:i,waitWritableDestroy:a})),highWaterMark:n.writableHighWaterMark,objectMode:n.writableObjectMode});return H1(n,s),s},U1=(t,e,r)=>{const n=dv(t,e),i=_f(r,n,"writableFinal"),a=_f(r,n,"writableDestroy");return{subprocessStdin:n,waitWritableFinal:i,waitWritableDestroy:a}},z1=(t,e,r)=>({write:LR.bind(void 0,t),final:Ve.callbackify($R.bind(void 0,t,e,r))}),LR=(t,e,r,n)=>{t.write(e,r)?n():t.once("drain",n)},$R=async(t,e,r)=>{await Ca(r,e)&&(t.writable&&t.end(),await e)},H1=async(t,e,r)=>{try{await R1(t),e.writable&&e.end()}catch(n){await IR(r),W1(e,n)}},V1=async({subprocessStdin:t,subprocess:e,waitWritableFinal:r,waitWritableDestroy:n},i)=>{await Ca(r,e),await Ca(n,e)&&(W1(t,i),await q1(e,i))},W1=(t,e)=>{P1(t,t.writable,e)},UR=({subprocess:t,concurrentStreams:e,encoding:r},{from:n,to:i,binary:a=!0,preserveNewlines:s=!0}={})=>{const o=a||dn.has(r),{subprocessStdout:c,waitReadableDestroy:l}=I1(t,n,e),{subprocessStdin:f,waitWritableFinal:p,waitWritableDestroy:u}=U1(t,i,e),{readableEncoding:h,readableObjectMode:d,readableHighWaterMark:b}=N1(c,o),{read:D,onStdoutDataDone:g}=M1({subprocessStdout:c,subprocess:t,binary:o,encoding:r,preserveNewlines:s}),y=new Me.Duplex({read:D,...z1(f,t,p),destroy:Ve.callbackify(zR.bind(void 0,{subprocessStdout:c,subprocessStdin:f,subprocess:t,waitReadableDestroy:l,waitWritableFinal:p,waitWritableDestroy:u})),readableHighWaterMark:b,writableHighWaterMark:f.writableHighWaterMark,readableObjectMode:d,writableObjectMode:f.writableObjectMode,encoding:h});return j1({subprocessStdout:c,onStdoutDataDone:g,readable:y,subprocess:t,subprocessStdin:f}),H1(f,y,c),y},zR=async({subprocessStdout:t,subprocessStdin:e,subprocess:r,waitReadableDestroy:n,waitWritableFinal:i,waitWritableDestroy:a},s)=>{await Promise.all([L1({subprocessStdout:t,subprocess:r,waitReadableDestroy:n},s),V1({subprocessStdin:e,subprocess:r,waitWritableFinal:i,waitWritableDestroy:a},s)])},PD=(t,e,{from:r,binary:n=!1,preserveNewlines:i=!1}={})=>{const a=n||dn.has(e),s=bp(t,r),o=C1({subprocessStdout:s,subprocess:t,binary:a,shouldEncode:!0,encoding:e,preserveNewlines:i});return HR(o,s,t)},HR=async function*(t,e,r){try{yield*t}finally{e.readable&&e.destroy(),await r}},VR=(t,{encoding:e})=>{const r=PR();t.readable=NR.bind(void 0,{subprocess:t,concurrentStreams:r,encoding:e}),t.writable=jR.bind(void 0,{subprocess:t,concurrentStreams:r}),t.duplex=UR.bind(void 0,{subprocess:t,concurrentStreams:r,encoding:e}),t.iterable=PD.bind(void 0,t,e),t[Symbol.asyncIterator]=PD.bind(void 0,t,e,{})},WR=(t,e)=>{for(const[r,n]of YR){const i=n.value.bind(e);Reflect.defineProperty(t,r,{...n,value:i})}},GR=(async()=>{})().constructor.prototype,YR=["then","catch","finally"].map(t=>[t,Reflect.getOwnPropertyDescriptor(GR,t)]),ZR=(t,e,r,n)=>{const{file:i,commandArguments:a,command:s,escapedCommand:o,startTime:c,verboseInfo:l,options:f,fileDescriptors:p}=JR(t,e,r),{subprocess:u,promise:h}=XR({file:i,commandArguments:a,options:f,startTime:c,verboseInfo:l,command:s,escapedCommand:o,fileDescriptors:p});return u.pipe=Cf.bind(void 0,{source:u,sourcePromise:h,boundOptions:{},createNested:n}),WR(u,h),ln.set(u,{options:f,fileDescriptors:p}),u},JR=(t,e,r)=>{const{command:n,escapedCommand:i,startTime:a,verboseInfo:s}=ev(t,e,r),{file:o,commandArguments:c,options:l}=Av(t,e,r),f=KR(l),p=yB(f,s);return{file:o,commandArguments:c,command:n,escapedCommand:i,startTime:a,verboseInfo:s,options:f,fileDescriptors:p}},KR=({timeout:t,signal:e,...r})=>{if(e!==void 0)throw new TypeError('The "signal" option has been renamed to "cancelSignal" instead.');return{...r,timeoutDuration:t}},XR=({file:t,commandArguments:e,options:r,startTime:n,verboseInfo:i,command:a,escapedCommand:s,fileDescriptors:o})=>{let c;try{c=jn.spawn(..._v(t,e,r))}catch(d){return pB({error:d,command:a,escapedCommand:s,fileDescriptors:o,options:r,startTime:n,verboseInfo:i})}const l=new AbortController;He.setMaxListeners(Number.POSITIVE_INFINITY,l.signal);const f=[...c.stdio];kB(c,o,l),VB(c,r,l);const p={},u=Zi();c.kill=E8.bind(void 0,{kill:c.kill.bind(c),options:r,onInternalError:u,context:p,controller:l}),c.all=ER(c,r),VR(c,r),lB(c,r);const h=QR({subprocess:c,options:r,startTime:n,verboseInfo:i,fileDescriptors:o,originalStreams:f,command:a,escapedCommand:s,context:p,onInternalError:u,controller:l});return{subprocess:c,promise:h}},QR=async({subprocess:t,options:e,startTime:r,verboseInfo:n,fileDescriptors:i,originalStreams:a,command:s,escapedCommand:o,context:c,onInternalError:l,controller:f})=>{const[p,[u,h],d,b,D]=await BR({subprocess:t,options:e,context:c,verboseInfo:n,fileDescriptors:i,originalStreams:a,onInternalError:l,controller:f});f.abort(),l.resolve();const g=d.map((E,x)=>Nn(E,e,x)),y=Nn(b,e,"all"),w=e9({errorInfo:p,exitCode:u,signal:h,stdio:g,all:y,ipcOutput:D,context:c,options:e,command:s,escapedCommand:o,startTime:r});return Op(w,n,e)},e9=({errorInfo:t,exitCode:e,signal:r,stdio:n,all:i,ipcOutput:a,context:s,options:o,command:c,escapedCommand:l,startTime:f})=>"error"in t?Sp({error:t.error,command:c,escapedCommand:l,timedOut:s.terminationReason==="timeout",isCanceled:s.terminationReason==="cancel"||s.terminationReason==="gracefulCancel",isGracefullyCanceled:s.terminationReason==="gracefulCancel",isMaxBuffer:t.error instanceof $a,isForcefullyTerminated:s.isForcefullyTerminated,exitCode:e,signal:r,stdio:n,all:i,ipcOutput:a,options:o,startTime:f,isSync:!1}):Lv({command:c,escapedCommand:l,stdio:n,all:i,ipcOutput:a,options:o,startTime:f}),Sf=(t,e)=>{const r=Object.fromEntries(Object.entries(e).map(([n,i])=>[n,t9(n,t[n],i)]));return{...t,...r}},t9=(t,e,r)=>r9.has(t)&&Nt(e)&&Nt(r)?{...e,...r}:r,r9=new Set(["env",...Yb]),mn=(t,e,r,n)=>{const i=(s,o,c)=>mn(s,o,r,c),a=(...s)=>n9({mapArguments:t,deepOptions:r,boundOptions:e,setBoundExeca:n,createNested:i},...s);return n!==void 0&&n(a,i,e),a},n9=({mapArguments:t,deepOptions:e={},boundOptions:r={},setBoundExeca:n,createNested:i},a,...s)=>{if(Nt(a))return i(t,Sf(r,a),n);const{file:o,commandArguments:c,options:l,isSync:f}=i9({mapArguments:t,firstArgument:a,nextArguments:s,deepOptions:e,boundOptions:r});return f?G5(o,c,l):ZR(o,c,l,i)},i9=({mapArguments:t,firstArgument:e,nextArguments:r,deepOptions:n,boundOptions:i})=>{const a=M_(e)?j_(e,r):[e,...r],[s,o,c]=Lb(...a),l=Sf(Sf(n,i),c),{file:f=s,commandArguments:p=o,options:u=l,isSync:h=!1}=t({file:s,commandArguments:o,options:l});return{file:f,commandArguments:p,options:u,isSync:h}},s9=({file:t,commandArguments:e})=>G1(t,e),a9=({file:t,commandArguments:e})=>({...G1(t,e),isSync:!0}),G1=(t,e)=>{if(e.length>0)throw new TypeError(`The command and its arguments must be passed as a single string: ${t} ${e}.`);const[r,...n]=o9(t);return{file:r,commandArguments:n}},o9=t=>{if(typeof t!="string")throw new TypeError(`The command must be a string: ${String(t)}.`);const e=t.trim();if(e==="")return[];const r=[];for(const n of e.split(u9)){const i=r.at(-1);i&&i.endsWith("\\")?r[r.length-1]=`${i.slice(0,-1)} ${n}`:r.push(n)}return r},u9=/ +/g,c9=(t,e,r)=>{t.sync=e(f9,r),t.s=t.sync},l9=({options:t})=>Y1(t),f9=({options:t})=>({...Y1(t),isSync:!0}),Y1=t=>({options:{...p9(t),...t}}),p9=({input:t,inputFile:e,stdio:r})=>t===void 0&&e===void 0&&r===void 0?{stdin:"inherit"}:{},d9={preferLocal:!0},h9=mn(()=>({}));mn(()=>({isSync:!0}));mn(s9);mn(a9);mn(xO);mn(l9,{},d9,c9);fB();class gn extends Error{}class m9 extends gn{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class g9 extends gn{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class D9 extends gn{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Sn extends gn{}class Z1 extends gn{constructor(e){super(`Invalid unit ${e}`)}}class ut extends gn{}class Sr extends gn{constructor(){super("Zone is an abstract class")}}const Fe="numeric",Qt="short",At="long",Aa={year:Fe,month:Fe,day:Fe},J1={year:Fe,month:Qt,day:Fe},y9={year:Fe,month:Qt,day:Fe,weekday:Qt},K1={year:Fe,month:At,day:Fe},X1={year:Fe,month:At,day:Fe,weekday:At},Q1={hour:Fe,minute:Fe},ex={hour:Fe,minute:Fe,second:Fe},tx={hour:Fe,minute:Fe,second:Fe,timeZoneName:Qt},rx={hour:Fe,minute:Fe,second:Fe,timeZoneName:At},nx={hour:Fe,minute:Fe,hourCycle:"h23"},ix={hour:Fe,minute:Fe,second:Fe,hourCycle:"h23"},sx={hour:Fe,minute:Fe,second:Fe,hourCycle:"h23",timeZoneName:Qt},ax={hour:Fe,minute:Fe,second:Fe,hourCycle:"h23",timeZoneName:At},ox={year:Fe,month:Fe,day:Fe,hour:Fe,minute:Fe},ux={year:Fe,month:Fe,day:Fe,hour:Fe,minute:Fe,second:Fe},cx={year:Fe,month:Qt,day:Fe,hour:Fe,minute:Fe},lx={year:Fe,month:Qt,day:Fe,hour:Fe,minute:Fe,second:Fe},b9={year:Fe,month:Qt,day:Fe,weekday:Qt,hour:Fe,minute:Fe},fx={year:Fe,month:At,day:Fe,hour:Fe,minute:Fe,timeZoneName:Qt},px={year:Fe,month:At,day:Fe,hour:Fe,minute:Fe,second:Fe,timeZoneName:Qt},dx={year:Fe,month:At,day:Fe,weekday:At,hour:Fe,minute:Fe,timeZoneName:At},hx={year:Fe,month:At,day:Fe,weekday:At,hour:Fe,minute:Fe,second:Fe,timeZoneName:At};class Ki{get type(){throw new Sr}get name(){throw new Sr}get ianaName(){return this.name}get isUniversal(){throw new Sr}offsetName(e,r){throw new Sr}formatOffset(e,r){throw new Sr}offset(e){throw new Sr}equals(e){throw new Sr}get isValid(){throw new Sr}}let Hl=null;class Ha extends Ki{static get instance(){return Hl===null&&(Hl=new Ha),Hl}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Cx(e,r,n)}formatOffset(e,r){return Bi(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const Of=new Map;function v9(t){let e=Of.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Of.set(t,e)),e}const x9={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function w9(t,e){const r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,a,s,o,c,l,f]=n;return[s,i,a,o,c,l,f]}function E9(t,e){const r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){const{type:a,value:s}=r[i],o=x9[a];a==="era"?n[o]=s:qe(o)||(n[o]=parseInt(s,10))}return n}const Vl=new Map;class Er extends Ki{static create(e){let r=Vl.get(e);return r===void 0&&Vl.set(e,r=new Er(e)),r}static resetCache(){Vl.clear(),Of.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Er.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Cx(e,r,n,this.name)}formatOffset(e,r){return Bi(this.offset(e),r)}offset(e){if(!this.valid)return NaN;const r=new Date(e);if(isNaN(r))return NaN;const n=v9(this.name);let[i,a,s,o,c,l,f]=n.formatToParts?E9(n,r):w9(n,r);o==="BC"&&(i=-Math.abs(i)+1);const u=Wa({year:i,month:a,day:s,hour:c===24?0:c,minute:l,second:f,millisecond:0});let h=+r;const d=h%1e3;return h-=d>=0?d:1e3+d,(u-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let ID={};function F9(t,e={}){const r=JSON.stringify([t,e]);let n=ID[r];return n||(n=new Intl.ListFormat(t,e),ID[r]=n),n}const Tf=new Map;function Bf(t,e={}){const r=JSON.stringify([t,e]);let n=Tf.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),Tf.set(r,n)),n}const Rf=new Map;function C9(t,e={}){const r=JSON.stringify([t,e]);let n=Rf.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Rf.set(r,n)),n}const kf=new Map;function A9(t,e={}){const{base:r,...n}=e,i=JSON.stringify([t,n]);let a=kf.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(t,e),kf.set(i,a)),a}let Ei=null;function _9(){return Ei||(Ei=new Intl.DateTimeFormat().resolvedOptions().locale,Ei)}const qf=new Map;function mx(t){let e=qf.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),qf.set(t,e)),e}const Pf=new Map;function S9(t){let e=Pf.get(t);if(!e){const r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...gx,...e}),Pf.set(t,e)}return e}function O9(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Bf(t).resolvedOptions(),i=t}catch{const c=t.substring(0,r);n=Bf(c).resolvedOptions(),i=c}const{numberingSystem:a,calendar:s}=n;return[i,a,s]}}function T9(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function B9(t){const e=[];for(let r=1;r<=12;r++){const n=ke.utc(2009,r,1);e.push(t(n))}return e}function R9(t){const e=[];for(let r=1;r<=7;r++){const n=ke.utc(2016,11,13+r);e.push(t(n))}return e}function Js(t,e,r,n){const i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function k9(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||mx(t.locale).numberingSystem==="latn"}class q9{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:i,floor:a,...s}=n;if(!r||Object.keys(s).length>0){const o={useGrouping:!1,...n};n.padTo>0&&(o.minimumIntegerDigits=n.padTo),this.inf=C9(e,o)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):Up(e,3);return tt(r,this.padTo)}}}class P9{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const s=-1*(e.offset/60),o=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&Er.create(o).valid?(i=o,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const a={...this.opts};a.timeZone=a.timeZone||i,this.dtf=Bf(r,a)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){const n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class I9{constructor(e,r,n){this.opts={style:"long",...n},!r&&Ex()&&(this.rtf=A9(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):i4(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}const gx={firstDay:1,minimalDays:4,weekend:[6,7]};class Ue{static fromOpts(e){return Ue.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,a=!1){const s=e||Qe.defaultLocale,o=s||(a?"en-US":_9()),c=r||Qe.defaultNumberingSystem,l=n||Qe.defaultOutputCalendar,f=Nf(i)||Qe.defaultWeekSettings;return new Ue(o,c,l,f,s)}static resetCache(){Ei=null,Tf.clear(),Rf.clear(),kf.clear(),qf.clear(),Pf.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return Ue.create(e,r,n,i)}constructor(e,r,n,i,a){const[s,o,c]=O9(e);this.locale=s,this.numberingSystem=r||o||null,this.outputCalendar=n||c||null,this.weekSettings=i,this.intl=T9(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=k9(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Ue.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Nf(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return Js(this,e,Sx,()=>{const n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;const i=r?{month:e,day:"numeric"}:{month:e},a=r?"format":"standalone";if(!this.monthsCache[a][e]){const s=n?o=>this.dtFormatter(o,i).format():o=>this.extract(o,i,"month");this.monthsCache[a][e]=B9(s)}return this.monthsCache[a][e]})}weekdays(e,r=!1){return Js(this,e,Bx,()=>{const n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=R9(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Js(this,void 0,()=>Rx,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ke.utc(2016,11,13,9),ke.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Js(this,e,kx,()=>{const r={era:e};return this.eraCache[e]||(this.eraCache[e]=[ke.utc(-40,1,1),ke.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){const i=this.dtFormatter(e,r),a=i.formatToParts(),s=a.find(o=>o.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new q9(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new P9(e,this.intl,r)}relFormatter(e={}){return new I9(this.intl,this.isEnglish(),e)}listFormatter(e={}){return F9(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||mx(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fx()?S9(this.locale):gx}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Wl=null;class pt extends Ki{static get utcInstance(){return Wl===null&&(Wl=new pt(0)),Wl}static instance(e){return e===0?pt.utcInstance:new pt(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new pt(Ga(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Bi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Bi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Bi(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class N9 extends Ki{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Tr(t,e){if(qe(t)||t===null)return e;if(t instanceof Ki)return t;if(z9(t)){const r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Ha.instance:r==="utc"||r==="gmt"?pt.utcInstance:pt.parseSpecifier(r)||Er.create(t)}else return Br(t)?pt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new N9(t)}const Mp={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ND={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},M9=Mp.hanidec.replace(/[\[|\]]/g,"").split("");function j9(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);if(t[r].search(Mp.hanidec)!==-1)e+=M9.indexOf(t[r]);else for(const i in ND){const[a,s]=ND[i];n>=a&&n<=s&&(e+=n-a)}}return parseInt(e,10)}else return e}const If=new Map;function L9(){If.clear()}function Vt({numberingSystem:t},e=""){const r=t||"latn";let n=If.get(r);n===void 0&&(n=new Map,If.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${Mp[r]}${e}`),n.set(e,i)),i}let MD=()=>Date.now(),jD="system",LD=null,$D=null,UD=null,zD=60,HD,VD=null;class Qe{static get now(){return MD}static set now(e){MD=e}static set defaultZone(e){jD=e}static get defaultZone(){return Tr(jD,Ha.instance)}static get defaultLocale(){return LD}static set defaultLocale(e){LD=e}static get defaultNumberingSystem(){return $D}static set defaultNumberingSystem(e){$D=e}static get defaultOutputCalendar(){return UD}static set defaultOutputCalendar(e){UD=e}static get defaultWeekSettings(){return VD}static set defaultWeekSettings(e){VD=Nf(e)}static get twoDigitCutoffYear(){return zD}static set twoDigitCutoffYear(e){zD=e%100}static get throwOnInvalid(){return HD}static set throwOnInvalid(e){HD=e}static resetCaches(){Ue.resetCache(),Er.resetCache(),ke.resetCache(),L9()}}class Jt{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Dx=[0,31,59,90,120,151,181,212,243,273,304,334],yx=[0,31,60,91,121,152,182,213,244,274,305,335];function Pt(t,e){return new Jt("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function jp(t,e,r){const n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const i=n.getUTCDay();return i===0?7:i}function bx(t,e,r){return r+(Xi(t)?yx:Dx)[e-1]}function vx(t,e){const r=Xi(t)?yx:Dx,n=r.findIndex(a=>a<e),i=e-r[n];return{month:n+1,day:i}}function Lp(t,e){return(t-e+7)%7+1}function _a(t,e=4,r=1){const{year:n,month:i,day:a}=t,s=bx(n,i,a),o=Lp(jp(n,i,a),r);let c=Math.floor((s-o+14-e)/7),l;return c<1?(l=n-1,c=Ii(l,e,r)):c>Ii(n,e,r)?(l=n+1,c=1):l=n,{weekYear:l,weekNumber:c,weekday:o,...Ya(t)}}function WD(t,e=4,r=1){const{weekYear:n,weekNumber:i,weekday:a}=t,s=Lp(jp(n,1,e),r),o=Tn(n);let c=i*7+a-s-7+e,l;c<1?(l=n-1,c+=Tn(l)):c>o?(l=n+1,c-=Tn(n)):l=n;const{month:f,day:p}=vx(l,c);return{year:l,month:f,day:p,...Ya(t)}}function Gl(t){const{year:e,month:r,day:n}=t,i=bx(e,r,n);return{year:e,ordinal:i,...Ya(t)}}function GD(t){const{year:e,ordinal:r}=t,{month:n,day:i}=vx(e,r);return{year:e,month:n,day:i,...Ya(t)}}function YD(t,e){if(!qe(t.localWeekday)||!qe(t.localWeekNumber)||!qe(t.localWeekYear)){if(!qe(t.weekday)||!qe(t.weekNumber)||!qe(t.weekYear))throw new Sn("Cannot mix locale-based week fields with ISO-based week fields");return qe(t.localWeekday)||(t.weekday=t.localWeekday),qe(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),qe(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function $9(t,e=4,r=1){const n=Va(t.weekYear),i=It(t.weekNumber,1,Ii(t.weekYear,e,r)),a=It(t.weekday,1,7);return n?i?a?!1:Pt("weekday",t.weekday):Pt("week",t.weekNumber):Pt("weekYear",t.weekYear)}function U9(t){const e=Va(t.year),r=It(t.ordinal,1,Tn(t.year));return e?r?!1:Pt("ordinal",t.ordinal):Pt("year",t.year)}function xx(t){const e=Va(t.year),r=It(t.month,1,12),n=It(t.day,1,Sa(t.year,t.month));return e?r?n?!1:Pt("day",t.day):Pt("month",t.month):Pt("year",t.year)}function wx(t){const{hour:e,minute:r,second:n,millisecond:i}=t,a=It(e,0,23)||e===24&&r===0&&n===0&&i===0,s=It(r,0,59),o=It(n,0,59),c=It(i,0,999);return a?s?o?c?!1:Pt("millisecond",i):Pt("second",n):Pt("minute",r):Pt("hour",e)}function qe(t){return typeof t>"u"}function Br(t){return typeof t=="number"}function Va(t){return typeof t=="number"&&t%1===0}function z9(t){return typeof t=="string"}function H9(t){return Object.prototype.toString.call(t)==="[object Date]"}function Ex(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Fx(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function V9(t){return Array.isArray(t)?t:[t]}function ZD(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{const a=[e(i),i];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function W9(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Mn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Nf(t){if(t==null)return null;if(typeof t!="object")throw new ut("Week settings must be an object");if(!It(t.firstDay,1,7)||!It(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!It(e,1,7)))throw new ut("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function It(t,e,r){return Va(t)&&t>=e&&t<=r}function G9(t,e){return t-e*Math.floor(t/e)}function tt(t,e=2){const r=t<0;let n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function Or(t){if(!(qe(t)||t===null||t===""))return parseInt(t,10)}function nn(t){if(!(qe(t)||t===null||t===""))return parseFloat(t)}function $p(t){if(!(qe(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Up(t,e,r="round"){const n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Xi(t){return t%4===0&&(t%100!==0||t%400===0)}function Tn(t){return Xi(t)?366:365}function Sa(t,e){const r=G9(e-1,12)+1,n=t+(e-r)/12;return r===2?Xi(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Wa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function JD(t,e,r){return-Lp(jp(t,1,e),r)+e-1}function Ii(t,e=4,r=1){const n=JD(t,e,r),i=JD(t+1,e,r);return(Tn(t)-n+i)/7}function Mf(t){return t>99?t:t>Qe.twoDigitCutoffYear?1900+t:2e3+t}function Cx(t,e,r,n=null){const i=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);const s={timeZoneName:e,...a},o=new Intl.DateTimeFormat(r,s).formatToParts(i).find(c=>c.type.toLowerCase()==="timezonename");return o?o.value:null}function Ga(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function Ax(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new ut(`Invalid unit value ${t}`);return e}function Oa(t,e){const r={};for(const n in t)if(Mn(t,n)){const i=t[n];if(i==null)continue;r[e(n)]=Ax(i)}return r}function Bi(t,e){const r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${tt(r,2)}:${tt(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${tt(r,2)}${tt(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ya(t){return W9(t,["hour","minute","second","millisecond"])}const Y9=["January","February","March","April","May","June","July","August","September","October","November","December"],_x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Z9=["J","F","M","A","M","J","J","A","S","O","N","D"];function Sx(t){switch(t){case"narrow":return[...Z9];case"short":return[..._x];case"long":return[...Y9];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ox=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Tx=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],J9=["M","T","W","T","F","S","S"];function Bx(t){switch(t){case"narrow":return[...J9];case"short":return[...Tx];case"long":return[...Ox];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Rx=["AM","PM"],K9=["Before Christ","Anno Domini"],X9=["BC","AD"],Q9=["B","A"];function kx(t){switch(t){case"narrow":return[...Q9];case"short":return[...X9];case"long":return[...K9];default:return null}}function e4(t){return Rx[t.hour<12?0:1]}function t4(t,e){return Bx(e)[t.weekday-1]}function r4(t,e){return Sx(e)[t.month-1]}function n4(t,e){return kx(e)[t.year<0?0:1]}function i4(t,e,r="always",n=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){const p=t==="days";switch(e){case 1:return p?"tomorrow":`next ${i[t][0]}`;case-1:return p?"yesterday":`last ${i[t][0]}`;case 0:return p?"today":`this ${i[t][0]}`}}const s=Object.is(e,-0)||e<0,o=Math.abs(e),c=o===1,l=i[t],f=n?c?l[1]:l[2]||l[1]:c?i[t][0]:t;return s?`${o} ${f} ago`:`in ${o} ${f}`}function KD(t,e){let r="";for(const n of t)n.literal?r+=n.val:r+=e(n.val);return r}const s4={D:Aa,DD:J1,DDD:K1,DDDD:X1,t:Q1,tt:ex,ttt:tx,tttt:rx,T:nx,TT:ix,TTT:sx,TTTT:ax,f:ox,ff:cx,fff:fx,ffff:dx,F:ux,FF:lx,FFF:px,FFFF:hx};class ct{static create(e,r={}){return new ct(e,r)}static parseFormat(e){let r=null,n="",i=!1;const a=[];for(let s=0;s<e.length;s++){const o=e.charAt(s);o==="'"?((n.length>0||i)&&a.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||o===r?n+=o:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=o,r=o)}return n.length>0&&a.push({literal:i||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return s4[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return tt(e,r);const i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){const n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(h,d)=>this.loc.extract(e,h,d),s=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",o=()=>n?e4(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(h,d)=>n?r4(e,h):a(d?{month:h}:{month:h,day:"numeric"},"month"),l=(h,d)=>n?t4(e,h):a(d?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),f=h=>{const d=ct.macroTokenToFormatOpts(h);return d?this.formatWithSystemDefault(e,d):h},p=h=>n?n4(e,h):a({era:h},"era"),u=h=>{switch(h){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return i?a({day:"numeric"},"day"):this.num(e.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(e.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(e.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return p("short");case"GG":return p("long");case"GGGGG":return p("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return f(h)}};return KD(ct.parseFormat(r),u)}formatDurationFromString(e,r){const n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=f=>{switch(f[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=(f,p)=>u=>{const h=i(u);if(h){const d=p.isNegativeDuration&&h!==p.largestUnit?n:1;let b;return this.opts.signMode==="negativeLargestOnly"&&h!==p.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(f.get(h)*d,u.length,b)}else return u},s=ct.parseFormat(r),o=s.reduce((f,{literal:p,val:u})=>p?f:f.concat(u),[]),c=e.shiftTo(...o.map(i).filter(f=>f)),l={isNegativeDuration:c<0,largestUnit:Object.keys(c.values)[0]};return KD(s,a(c,l))}}const qx=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function $n(...t){const e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Un(...t){return e=>t.reduce(([r,n,i],a)=>{const[s,o,c]=a(e,i);return[{...r,...s},o||n,c]},[{},null,1]).slice(0,2)}function zn(t,...e){if(t==null)return[null,null];for(const[r,n]of e){const i=r.exec(t);if(i)return n(i)}return[null,null]}function Px(...t){return(e,r)=>{const n={};let i;for(i=0;i<t.length;i++)n[t[i]]=Or(e[r+i]);return[n,null,r+i]}}const Ix=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,a4=`(?:${Ix.source}?(?:\\[(${qx.source})\\])?)?`,zp=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nx=RegExp(`${zp.source}${a4}`),Hp=RegExp(`(?:[Tt]${Nx.source})?`),o4=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,u4=/(\d{4})-?W(\d\d)(?:-?(\d))?/,c4=/(\d{4})-?(\d{3})/,l4=Px("weekYear","weekNumber","weekDay"),f4=Px("year","ordinal"),p4=/(\d{4})-(\d\d)-(\d\d)/,Mx=RegExp(`${zp.source} ?(?:${Ix.source}|(${qx.source}))?`),d4=RegExp(`(?: ${Mx.source})?`);function Bn(t,e,r){const n=t[e];return qe(n)?r:Or(n)}function h4(t,e){return[{year:Bn(t,e),month:Bn(t,e+1,1),day:Bn(t,e+2,1)},null,e+3]}function Hn(t,e){return[{hours:Bn(t,e,0),minutes:Bn(t,e+1,0),seconds:Bn(t,e+2,0),milliseconds:$p(t[e+3])},null,e+4]}function Qi(t,e){const r=!t[e]&&!t[e+1],n=Ga(t[e+1],t[e+2]),i=r?null:pt.instance(n);return[{},i,e+3]}function es(t,e){const r=t[e]?Er.create(t[e]):null;return[{},r,e+1]}const m4=RegExp(`^T?${zp.source}$`),g4=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function D4(t){const[e,r,n,i,a,s,o,c,l]=t,f=e[0]==="-",p=c&&c[0]==="-",u=(h,d=!1)=>h!==void 0&&(d||h&&f)?-h:h;return[{years:u(nn(r)),months:u(nn(n)),weeks:u(nn(i)),days:u(nn(a)),hours:u(nn(s)),minutes:u(nn(o)),seconds:u(nn(c),c==="-0"),milliseconds:u($p(l),p)}]}const y4={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vp(t,e,r,n,i,a,s){const o={year:e.length===2?Mf(Or(e)):Or(e),month:_x.indexOf(r)+1,day:Or(n),hour:Or(i),minute:Or(a)};return s&&(o.second=Or(s)),t&&(o.weekday=t.length>3?Ox.indexOf(t)+1:Tx.indexOf(t)+1),o}const b4=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function v4(t){const[,e,r,n,i,a,s,o,c,l,f,p]=t,u=Vp(e,i,n,r,a,s,o);let h;return c?h=y4[c]:l?h=0:h=Ga(f,p),[u,new pt(h)]}function x4(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const w4=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,E4=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,F4=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function XD(t){const[,e,r,n,i,a,s,o]=t;return[Vp(e,i,n,r,a,s,o),pt.utcInstance]}function C4(t){const[,e,r,n,i,a,s,o]=t;return[Vp(e,o,r,n,i,a,s),pt.utcInstance]}const A4=$n(o4,Hp),_4=$n(u4,Hp),S4=$n(c4,Hp),O4=$n(Nx),jx=Un(h4,Hn,Qi,es),T4=Un(l4,Hn,Qi,es),B4=Un(f4,Hn,Qi,es),R4=Un(Hn,Qi,es);function k4(t){return zn(t,[A4,jx],[_4,T4],[S4,B4],[O4,R4])}function q4(t){return zn(x4(t),[b4,v4])}function P4(t){return zn(t,[w4,XD],[E4,XD],[F4,C4])}function I4(t){return zn(t,[g4,D4])}const N4=Un(Hn);function M4(t){return zn(t,[m4,N4])}const j4=$n(p4,d4),L4=$n(Mx),$4=Un(Hn,Qi,es);function U4(t){return zn(t,[j4,jx],[L4,$4])}const QD="Invalid Duration",Lx={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},z4={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Lx},kt=146097/400,Fn=146097/4800,H4={years:{quarters:4,months:12,weeks:kt/7,days:kt,hours:kt*24,minutes:kt*24*60,seconds:kt*24*60*60,milliseconds:kt*24*60*60*1e3},quarters:{months:3,weeks:kt/28,days:kt/4,hours:kt*24/4,minutes:kt*24*60/4,seconds:kt*24*60*60/4,milliseconds:kt*24*60*60*1e3/4},months:{weeks:Fn/7,days:Fn,hours:Fn*24,minutes:Fn*24*60,seconds:Fn*24*60*60,milliseconds:Fn*24*60*60*1e3},...Lx},on=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],V4=on.slice(0).reverse();function br(t,e,r=!1){const n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new je(n)}function $x(t,e){let r=e.milliseconds??0;for(const n of V4.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function ey(t,e){const r=$x(t,e)<0?-1:1;on.reduceRight((n,i)=>{if(qe(e[i]))return n;if(n){const a=e[n]*r,s=t[i][n],o=Math.floor(a/s);e[i]+=o*r,e[n]-=o*s*r}return i},null),on.reduce((n,i)=>{if(qe(e[i]))return n;if(n){const a=e[n]%1;e[n]-=a,e[i]+=a*t[n][i]}return i},null)}function ty(t){const e={};for(const[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}class je{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;let n=r?H4:z4;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||Ue.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return je.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new ut(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new je({values:Oa(e,je.normalizeUnit),loc:Ue.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(Br(e))return je.fromMillis(e);if(je.isDuration(e))return e;if(typeof e=="object")return je.fromObject(e);throw new ut(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[n]=I4(e);return n?je.fromObject(n,r):je.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[n]=M4(e);return n?je.fromObject(n,r):je.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new ut("need to specify a reason the Duration is invalid");const n=e instanceof Jt?e:new Jt(e,r);if(Qe.throwOnInvalid)throw new D9(n);return new je({invalid:n})}static normalizeUnit(e){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new Z1(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?ct.create(this.loc,n).formatDurationFromString(this,e):QD}toHuman(e={}){if(!this.isValid)return QD;const r=e.showZeros!==!1,n=on.map(i=>{const a=this.values[i];return qe(a)||a===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Up(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},ke.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?$x(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=je.fromDurationLike(e),n={};for(const i of on)(Mn(r.values,i)||Mn(this.values,i))&&(n[i]=r.get(i)+this.get(i));return br(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const r=je.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const n of Object.keys(this.values))r[n]=Ax(e(this.values[n],n));return br(this,{values:r},!0)}get(e){return this[je.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...Oa(e,je.normalizeUnit)};return br(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){const s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return br(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return ey(this.matrix,e),br(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ty(this.normalize().shiftToAll().toObject());return br(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>je.normalizeUnit(s));const r={},n={},i=this.toObject();let a;for(const s of on)if(e.indexOf(s)>=0){a=s;let o=0;for(const l in n)o+=this.matrix[l][s]*n[l],n[l]=0;Br(i[s])&&(o+=i[s]);const c=Math.trunc(o);r[s]=c,n[s]=(o*1e3-c*1e3)/1e3}else Br(i[s])&&(n[s]=i[s]);for(const s in n)n[s]!==0&&(r[a]+=s===a?n[s]:n[s]/this.matrix[a][s]);return ey(this.matrix,r),br(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return br(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=ty(this.values);return br(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(const n of on)if(!r(this.values[n],e.values[n]))return!1;return!0}}const Cn="Invalid Interval";function W4(t,e){return!t||!t.isValid?Xe.invalid("missing or invalid start"):!e||!e.isValid?Xe.invalid("missing or invalid end"):e<t?Xe.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class Xe{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new ut("need to specify a reason the Interval is invalid");const n=e instanceof Jt?e:new Jt(e,r);if(Qe.throwOnInvalid)throw new g9(n);return new Xe({invalid:n})}static fromDateTimes(e,r){const n=di(e),i=di(r),a=W4(n,i);return a??new Xe({start:n,end:i})}static after(e,r){const n=je.fromDurationLike(r),i=di(e);return Xe.fromDateTimes(i,i.plus(n))}static before(e,r){const n=je.fromDurationLike(r),i=di(e);return Xe.fromDateTimes(i.minus(n),i)}static fromISO(e,r){const[n,i]=(e||"").split("/",2);if(n&&i){let a,s;try{a=ke.fromISO(n,r),s=a.isValid}catch{s=!1}let o,c;try{o=ke.fromISO(i,r),c=o.isValid}catch{c=!1}if(s&&c)return Xe.fromDateTimes(a,o);if(s){const l=je.fromISO(i,r);if(l.isValid)return Xe.after(a,l)}else if(c){const l=je.fromISO(n,r);if(l.isValid)return Xe.before(o,l)}}return Xe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;const n=this.start.startOf(e,r);let i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?Xe.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(di).filter(s=>this.contains(s)).sort((s,o)=>s.toMillis()-o.toMillis()),n=[];let{s:i}=this,a=0;for(;i<this.e;){const s=r[a]||this.e,o=+s>+this.e?this.e:s;n.push(Xe.fromDateTimes(i,o)),i=o,a+=1}return n}splitBy(e){const r=je.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,a;const s=[];for(;n<this.e;){const o=this.start.plus(r.mapUnits(c=>c*i));a=+o>+this.e?this.e:o,s.push(Xe.fromDateTimes(n,a)),n=a,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:Xe.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;const r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return Xe.fromDateTimes(r,n)}static merge(e){const[r,n]=e.sort((i,a)=>i.s-a.s).reduce(([i,a],s)=>a?a.overlaps(s)||a.abutsStart(s)?[i,a.union(s)]:[i.concat([a]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0;const i=[],a=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),s=Array.prototype.concat(...a),o=s.sort((c,l)=>c.time-l.time);for(const c of o)n+=c.type==="s"?1:-1,n===1?r=c.time:(r&&+r!=+c.time&&i.push(Xe.fromDateTimes(r,c.time)),r=null);return Xe.merge(i)}difference(...e){return Xe.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Cn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Aa,r={}){return this.isValid?ct.create(this.s.loc.clone(r),e).formatInterval(this):Cn}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Cn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Cn}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Cn}toFormat(e,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Cn}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):je.invalid(this.invalidReason)}mapEndpoints(e){return Xe.fromDateTimes(e(this.s),e(this.e))}}class Ks{static hasDST(e=Qe.defaultZone){const r=ke.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return Er.isValidZone(e)}static normalizeZone(e){return Tr(e,Qe.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||Ue.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||Ue.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||Ue.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:a="gregory"}={}){return(i||Ue.create(r,n,a)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:a="gregory"}={}){return(i||Ue.create(r,n,a)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Ue.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Ue.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ue.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return Ue.create(r,null,"gregory").eras(e)}static features(){return{relative:Ex(),localeWeek:Fx()}}}function ry(t,e){const r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(je.fromMillis(n).as("days"))}function G4(t,e,r){const n=[["years",(c,l)=>l.year-c.year],["quarters",(c,l)=>l.quarter-c.quarter+(l.year-c.year)*4],["months",(c,l)=>l.month-c.month+(l.year-c.year)*12],["weeks",(c,l)=>{const f=ry(c,l);return(f-f%7)/7}],["days",ry]],i={},a=t;let s,o;for(const[c,l]of n)r.indexOf(c)>=0&&(s=c,i[c]=l(t,e),o=a.plus(i),o>e?(i[c]--,t=a.plus(i),t>e&&(o=t,i[c]--,t=a.plus(i))):t=o);return[t,i,o,s]}function Y4(t,e,r,n){let[i,a,s,o]=G4(t,e,r);const c=e-i,l=r.filter(p=>["hours","minutes","seconds","milliseconds"].indexOf(p)>=0);l.length===0&&(s<e&&(s=i.plus({[o]:1})),s!==i&&(a[o]=(a[o]||0)+c/(s-i)));const f=je.fromObject(a,n);return l.length>0?je.fromMillis(c,n).shiftTo(...l).plus(f):f}const Z4="missing Intl.DateTimeFormat.formatToParts support";function Le(t,e=r=>r){return{regex:t,deser:([r])=>e(j9(r))}}const J4=" ",Ux=`[ ${J4}]`,zx=new RegExp(Ux,"g");function K4(t){return t.replace(/\./g,"\\.?").replace(zx,Ux)}function ny(t){return t.replace(/\./g,"").replace(zx," ").toLowerCase()}function Wt(t,e){return t===null?null:{regex:RegExp(t.map(K4).join("|")),deser:([r])=>t.findIndex(n=>ny(r)===ny(n))+e}}function iy(t,e){return{regex:t,deser:([,r,n])=>Ga(r,n),groups:e}}function Xs(t){return{regex:t,deser:([e])=>e}}function X4(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Q4(t,e){const r=Vt(e),n=Vt(e,"{2}"),i=Vt(e,"{3}"),a=Vt(e,"{4}"),s=Vt(e,"{6}"),o=Vt(e,"{1,2}"),c=Vt(e,"{1,3}"),l=Vt(e,"{1,6}"),f=Vt(e,"{1,9}"),p=Vt(e,"{2,4}"),u=Vt(e,"{4,6}"),h=D=>({regex:RegExp(X4(D.val)),deser:([g])=>g,literal:!0}),b=(D=>{if(t.literal)return h(D);switch(D.val){case"G":return Wt(e.eras("short"),0);case"GG":return Wt(e.eras("long"),0);case"y":return Le(l);case"yy":return Le(p,Mf);case"yyyy":return Le(a);case"yyyyy":return Le(u);case"yyyyyy":return Le(s);case"M":return Le(o);case"MM":return Le(n);case"MMM":return Wt(e.months("short",!0),1);case"MMMM":return Wt(e.months("long",!0),1);case"L":return Le(o);case"LL":return Le(n);case"LLL":return Wt(e.months("short",!1),1);case"LLLL":return Wt(e.months("long",!1),1);case"d":return Le(o);case"dd":return Le(n);case"o":return Le(c);case"ooo":return Le(i);case"HH":return Le(n);case"H":return Le(o);case"hh":return Le(n);case"h":return Le(o);case"mm":return Le(n);case"m":return Le(o);case"q":return Le(o);case"qq":return Le(n);case"s":return Le(o);case"ss":return Le(n);case"S":return Le(c);case"SSS":return Le(i);case"u":return Xs(f);case"uu":return Xs(o);case"uuu":return Le(r);case"a":return Wt(e.meridiems(),0);case"kkkk":return Le(a);case"kk":return Le(p,Mf);case"W":return Le(o);case"WW":return Le(n);case"E":case"c":return Le(r);case"EEE":return Wt(e.weekdays("short",!1),1);case"EEEE":return Wt(e.weekdays("long",!1),1);case"ccc":return Wt(e.weekdays("short",!0),1);case"cccc":return Wt(e.weekdays("long",!0),1);case"Z":case"ZZ":return iy(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return iy(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return Xs(/[a-z_+-/]{1,256}?/i);case" ":return Xs(/[^\S\n\r]/);default:return h(D)}})(t)||{invalidReason:Z4};return b.token=t,b}const ek={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tk(t,e,r){const{type:n,value:i}=t;if(n==="literal"){const c=/^\s+$/.test(i);return{literal:!c,val:c?" ":i}}const a=e[n];let s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let o=ek[s];if(typeof o=="object"&&(o=o[a]),o)return{literal:!1,val:o}}function rk(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function nk(t,e,r){const n=t.match(e);if(n){const i={};let a=1;for(const s in r)if(Mn(r,s)){const o=r[s],c=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(n.slice(a,a+c))),a+=c}return[n,i]}else return[n,{}]}function ik(t){const e=a=>{switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,n;return qe(t.z)||(r=Er.create(t.z)),qe(t.Z)||(r||(r=new pt(t.Z)),n=t.Z),qe(t.q)||(t.M=(t.q-1)*3+1),qe(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),qe(t.u)||(t.S=$p(t.u)),[Object.keys(t).reduce((a,s)=>{const o=e(s);return o&&(a[o]=t[s]),a},{}),r,n]}let Yl=null;function sk(){return Yl||(Yl=ke.fromMillis(1555555555555)),Yl}function ak(t,e){if(t.literal)return t;const r=ct.macroTokenToFormatOpts(t.val),n=Gx(r,e);return n==null||n.includes(void 0)?t:n}function Hx(t,e){return Array.prototype.concat(...t.map(r=>ak(r,e)))}class Vx{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Hx(ct.parseFormat(r),e),this.units=this.tokens.map(n=>Q4(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){const[n,i]=rk(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[r,n]=nk(e,this.regex,this.handlers),[i,a,s]=n?ik(n):[null,null,void 0];if(Mn(n,"a")&&Mn(n,"H"))throw new Sn("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:a,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Wx(t,e,r){return new Vx(t,r).explainFromTokens(e)}function ok(t,e,r){const{result:n,zone:i,specificOffset:a,invalidReason:s}=Wx(t,e,r);return[n,i,a,s]}function Gx(t,e){if(!t)return null;const n=ct.create(e,t).dtFormatter(sk()),i=n.formatToParts(),a=n.resolvedOptions();return i.map(s=>tk(s,t,a))}const Zl="Invalid DateTime",sy=864e13;function Fi(t){return new Jt("unsupported zone",`the zone "${t.name}" is not supported`)}function Jl(t){return t.weekData===null&&(t.weekData=_a(t.c)),t.weekData}function Kl(t){return t.localWeekData===null&&(t.localWeekData=_a(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function sn(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ke({...r,...e,old:r})}function Yx(t,e,r){let n=t-e*60*1e3;const i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;const a=r.offset(n);return i===a?[n,i]:[t-Math.min(i,a)*60*1e3,Math.max(i,a)]}function Qs(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fa(t,e,r){return Yx(Wa(t),e,r)}function ay(t,e){const r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a={...t.c,year:n,month:i,day:Math.min(t.c.day,Sa(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=je.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Wa(a);let[c,l]=Yx(o,r,t.zone);return s!==0&&(c+=s,l=t.zone.offset(c)),{ts:c,o:l}}function An(t,e,r,n,i,a){const{setZone:s,zone:o}=r;if(t&&Object.keys(t).length!==0||e){const c=e||o,l=ke.fromObject(t,{...r,zone:c,specificOffset:a});return s?l:l.setZone(o)}else return ke.invalid(new Jt("unparsable",`the input "${i}" can't be parsed as ${n}`))}function ea(t,e,r=!0){return t.isValid?ct.create(Ue.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xl(t,e,r){const n=t.c.year>9999||t.c.year<0;let i="";if(n&&t.c.year>=0&&(i+="+"),i+=tt(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=tt(t.c.month),r==="month")return i;i+="-"}else if(i+=tt(t.c.month),r==="month")return i;return i+=tt(t.c.day),i}function oy(t,e,r,n,i,a,s){let o=!r||t.c.millisecond!==0||t.c.second!==0,c="";switch(s){case"day":case"month":case"year":break;default:if(c+=tt(t.c.hour),s==="hour")break;if(e){if(c+=":",c+=tt(t.c.minute),s==="minute")break;o&&(c+=":",c+=tt(t.c.second))}else{if(c+=tt(t.c.minute),s==="minute")break;o&&(c+=tt(t.c.second))}if(s==="second")break;o&&(!n||t.c.millisecond!==0)&&(c+=".",c+=tt(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!a?c+="Z":t.o<0?(c+="-",c+=tt(Math.trunc(-t.o/60)),c+=":",c+=tt(Math.trunc(-t.o%60))):(c+="+",c+=tt(Math.trunc(t.o/60)),c+=":",c+=tt(Math.trunc(t.o%60)))),a&&(c+="["+t.zone.ianaName+"]"),c}const Zx={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},uk={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ck={ordinal:1,hour:0,minute:0,second:0,millisecond:0},pa=["year","month","day","hour","minute","second","millisecond"],lk=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],fk=["year","ordinal","hour","minute","second","millisecond"];function da(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Z1(t);return e}function uy(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return da(t)}}function pk(t){if(Ci===void 0&&(Ci=Qe.now()),t.type!=="iana")return t.offset(Ci);const e=t.name;let r=jf.get(e);return r===void 0&&(r=t.offset(Ci),jf.set(e,r)),r}function cy(t,e){const r=Tr(e.zone,Qe.defaultZone);if(!r.isValid)return ke.invalid(Fi(r));const n=Ue.fromObject(e);let i,a;if(qe(t.year))i=Qe.now();else{for(const c of pa)qe(t[c])&&(t[c]=Zx[c]);const s=xx(t)||wx(t);if(s)return ke.invalid(s);const o=pk(r);[i,a]=fa(t,o,r)}return new ke({ts:i,zone:r,loc:n,o:a})}function ly(t,e,r){const n=qe(r.round)?!0:r.round,i=qe(r.rounding)?"trunc":r.rounding,a=(o,c)=>(o=Up(o,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(o,c)),s=o=>r.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(r.unit)return a(s(r.unit),r.unit);for(const o of r.units){const c=s(o);if(Math.abs(c)>=1)return a(c,o)}return a(t>e?-0:0,r.units[r.units.length-1])}function fy(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}let Ci;const jf=new Map;class ke{constructor(e){const r=e.zone||Qe.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new Jt("invalid input"):null)||(r.isValid?null:Fi(r));this.ts=qe(e.ts)?Qe.now():e.ts;let i=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,a]=[e.old.c,e.old.o];else{const o=Br(e.o)&&!e.old?e.o:r.offset(this.ts);i=Qs(this.ts,o),n=Number.isNaN(i.year)?new Jt("invalid input"):null,i=n?null:i,a=n?null:o}this._zone=r,this.loc=e.loc||Ue.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new ke({})}static local(){const[e,r]=fy(arguments),[n,i,a,s,o,c,l]=r;return cy({year:n,month:i,day:a,hour:s,minute:o,second:c,millisecond:l},e)}static utc(){const[e,r]=fy(arguments),[n,i,a,s,o,c,l]=r;return e.zone=pt.utcInstance,cy({year:n,month:i,day:a,hour:s,minute:o,second:c,millisecond:l},e)}static fromJSDate(e,r={}){const n=H9(e)?e.valueOf():NaN;if(Number.isNaN(n))return ke.invalid("invalid input");const i=Tr(r.zone,Qe.defaultZone);return i.isValid?new ke({ts:n,zone:i,loc:Ue.fromObject(r)}):ke.invalid(Fi(i))}static fromMillis(e,r={}){if(Br(e))return e<-sy||e>sy?ke.invalid("Timestamp out of range"):new ke({ts:e,zone:Tr(r.zone,Qe.defaultZone),loc:Ue.fromObject(r)});throw new ut(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(Br(e))return new ke({ts:e*1e3,zone:Tr(r.zone,Qe.defaultZone),loc:Ue.fromObject(r)});throw new ut("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const n=Tr(r.zone,Qe.defaultZone);if(!n.isValid)return ke.invalid(Fi(n));const i=Ue.fromObject(r),a=Oa(e,uy),{minDaysInFirstWeek:s,startOfWeek:o}=YD(a,i),c=Qe.now(),l=qe(r.specificOffset)?n.offset(c):r.specificOffset,f=!qe(a.ordinal),p=!qe(a.year),u=!qe(a.month)||!qe(a.day),h=p||u,d=a.weekYear||a.weekNumber;if((h||f)&&d)throw new Sn("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&f)throw new Sn("Can't mix ordinal dates with month/day");const b=d||a.weekday&&!h;let D,g,y=Qs(c,l);b?(D=lk,g=uk,y=_a(y,s,o)):f?(D=fk,g=ck,y=Gl(y)):(D=pa,g=Zx);let w=!1;for(const M of D){const B=a[M];qe(B)?w?a[M]=g[M]:a[M]=y[M]:w=!0}const E=b?$9(a,s,o):f?U9(a):xx(a),x=E||wx(a);if(x)return ke.invalid(x);const m=b?WD(a,s,o):f?GD(a):a,[F,_]=fa(m,l,n),T=new ke({ts:F,zone:n,o:_,loc:i});return a.weekday&&h&&e.weekday!==T.weekday?ke.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${T.toISO()}`):T.isValid?T:ke.invalid(T.invalid)}static fromISO(e,r={}){const[n,i]=k4(e);return An(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[n,i]=q4(e);return An(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[n,i]=P4(e);return An(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(qe(e)||qe(r))throw new ut("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:a=null}=n,s=Ue.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[o,c,l,f]=ok(s,e,r);return f?ke.invalid(f):An(o,c,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return ke.fromFormat(e,r,n)}static fromSQL(e,r={}){const[n,i]=U4(e);return An(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new ut("need to specify a reason the DateTime is invalid");const n=e instanceof Jt?e:new Jt(e,r);if(Qe.throwOnInvalid)throw new m9(n);return new ke({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){const n=Gx(e,Ue.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Hx(ct.parseFormat(e),Ue.fromObject(r)).map(i=>i.val).join("")}static resetCache(){Ci=void 0,jf.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Jl(this).weekYear:NaN}get weekNumber(){return this.isValid?Jl(this).weekNumber:NaN}get weekday(){return this.isValid?Jl(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Kl(this).weekday:NaN}get localWeekNumber(){return this.isValid?Kl(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Kl(this).weekYear:NaN}get ordinal(){return this.isValid?Gl(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ks.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ks.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ks.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ks.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,r=6e4,n=Wa(this.c),i=this.zone.offset(n-e),a=this.zone.offset(n+e),s=this.zone.offset(n-i*r),o=this.zone.offset(n-a*r);if(s===o)return[this];const c=n-s*r,l=n-o*r,f=Qs(c,s),p=Qs(l,o);return f.hour===p.hour&&f.minute===p.minute&&f.second===p.second&&f.millisecond===p.millisecond?[sn(this,{ts:c}),sn(this,{ts:l})]:[this]}get isInLeapYear(){return Xi(this.year)}get daysInMonth(){return Sa(this.year,this.month)}get daysInYear(){return this.isValid?Tn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ii(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ii(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:n,calendar:i}=ct.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(pt.instance(e),r)}toLocal(){return this.setZone(Qe.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=Tr(e,Qe.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){const a=e.offset(this.ts),s=this.toObject();[i]=fa(s,a,e)}return sn(this,{ts:i,zone:e})}else return ke.invalid(Fi(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){const i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return sn(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=Oa(e,uy),{minDaysInFirstWeek:n,startOfWeek:i}=YD(r,this.loc),a=!qe(r.weekYear)||!qe(r.weekNumber)||!qe(r.weekday),s=!qe(r.ordinal),o=!qe(r.year),c=!qe(r.month)||!qe(r.day),l=o||c,f=r.weekYear||r.weekNumber;if((l||s)&&f)throw new Sn("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new Sn("Can't mix ordinal dates with month/day");let p;a?p=WD({..._a(this.c,n,i),...r},n,i):qe(r.ordinal)?(p={...this.toObject(),...r},qe(r.day)&&(p.day=Math.min(Sa(p.year,p.month),p.day))):p=GD({...Gl(this.c),...r});const[u,h]=fa(p,this.o,this.zone);return sn(this,{ts:u,o:h})}plus(e){if(!this.isValid)return this;const r=je.fromDurationLike(e);return sn(this,ay(this,r))}minus(e){if(!this.isValid)return this;const r=je.fromDurationLike(e).negate();return sn(this,ay(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const n={},i=je.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){const a=this.loc.getStartOfWeek(),{weekday:s}=this;s<a&&(n.weekNumber=this.weekNumber-1),n.weekday=a}else n.weekday=1;if(i==="quarters"){const a=Math.ceil(this.month/3);n.month=(a-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?ct.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Zl}toLocaleString(e=Aa,r={}){return this.isValid?ct.create(this.loc.clone(r),e).formatDateTime(this):Zl}toLocaleParts(e={}){return this.isValid?ct.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:a=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=da(s);const o=e==="extended";let c=Xl(this,o,s);return pa.indexOf(s)>=3&&(c+="T"),c+=oy(this,o,r,n,i,a,s),c}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?Xl(this,e==="extended",da(r)):null}toISOWeekDate(){return ea(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:a=!1,format:s="extended",precision:o="milliseconds"}={}){return this.isValid?(o=da(o),(i&&pa.indexOf(o)>=3?"T":"")+oy(this,s==="extended",r,e,n,a,o)):null}toRFC2822(){return ea(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ea(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xl(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),ea(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Zl}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return je.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...n},a=V9(r).map(je.normalizeUnit),s=e.valueOf()>this.valueOf(),o=s?this:e,c=s?e:this,l=Y4(o,c,a,i);return s?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(ke.now(),e,r)}until(e){return this.isValid?Xe.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;const i=e.valueOf(),a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(r,n)<=i&&i<=a.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||ke.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0;let i=["years","months","days","hours","minutes","seconds"],a=e.unit;return Array.isArray(e.unit)&&(i=e.unit,a=void 0),ly(r,this.plus(n),{...e,numeric:"always",units:i,unit:a})}toRelativeCalendar(e={}){return this.isValid?ly(e.base||ke.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(ke.isDateTime))throw new ut("min requires all arguments be DateTimes");return ZD(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(ke.isDateTime))throw new ut("max requires all arguments be DateTimes");return ZD(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){const{locale:i=null,numberingSystem:a=null}=n,s=Ue.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return Wx(s,e,r)}static fromStringExplain(e,r,n={}){return ke.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){const{locale:n=null,numberingSystem:i=null}=r,a=Ue.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Vx(a,e)}static fromFormatParser(e,r,n={}){if(qe(e)||qe(r))throw new ut("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:a=null}=n,s=Ue.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!s.equals(r.locale))throw new ut(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);const{result:o,zone:c,specificOffset:l,invalidReason:f}=r.explainFromTokens(e);return f?ke.invalid(f):An(o,c,n,`format ${r.format}`,e,l)}static get DATE_SHORT(){return Aa}static get DATE_MED(){return J1}static get DATE_MED_WITH_WEEKDAY(){return y9}static get DATE_FULL(){return K1}static get DATE_HUGE(){return X1}static get TIME_SIMPLE(){return Q1}static get TIME_WITH_SECONDS(){return ex}static get TIME_WITH_SHORT_OFFSET(){return tx}static get TIME_WITH_LONG_OFFSET(){return rx}static get TIME_24_SIMPLE(){return nx}static get TIME_24_WITH_SECONDS(){return ix}static get TIME_24_WITH_SHORT_OFFSET(){return sx}static get TIME_24_WITH_LONG_OFFSET(){return ax}static get DATETIME_SHORT(){return ox}static get DATETIME_SHORT_WITH_SECONDS(){return ux}static get DATETIME_MED(){return cx}static get DATETIME_MED_WITH_SECONDS(){return lx}static get DATETIME_MED_WITH_WEEKDAY(){return b9}static get DATETIME_FULL(){return fx}static get DATETIME_FULL_WITH_SECONDS(){return px}static get DATETIME_HUGE(){return dx}static get DATETIME_HUGE_WITH_SECONDS(){return hx}}function di(t){if(ke.isDateTime(t))return t;if(t&&t.valueOf&&Br(t.valueOf()))return ke.fromJSDate(t);if(t&&typeof t=="object")return ke.fromObject(t);throw new ut(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const dk=Jx(2);Jx(3);function Jx(t){if(typeof t!="number"||Number.isNaN(t)||t<1||t===Number.POSITIVE_INFINITY)throw new Error("`"+t+"` is not a valid argument for `n-gram`");return e;function e(r){const n=[];if(r==null)return n;const i=typeof r.slice=="function"?r:String(r);let a=i.length-t+1;if(a<1)return n;for(;a--;)n[a]=i.slice(a,a+t);return n}}function hk(t,e){const r=py(t),n=py(e);let i=-1,a=0;for(;++i<r.length;){const s=r[i];let o=-1;for(;++o<n.length;){const c=n[o];if(s===c){a++,n[o]="";break}}}return 2*a/(r.length+n.length)}function py(t){if(Array.isArray(t))return t.map(r=>dy(r));const e=dy(t);return e.length===1?[e]:dk(e)}function dy(t){return String(t).toLowerCase()}var ta={exports:{}};const vr=new Uint32Array(65536),mk=(t,e)=>{const r=t.length,n=e.length,i=1<<r-1;let a=-1,s=0,o=r,c=r;for(;c--;)vr[t.charCodeAt(c)]|=1<<c;for(c=0;c<n;c++){let l=vr[e.charCodeAt(c)];const f=l|s;l|=(l&a)+a^a,s|=~(l|a),a&=l,s&i&&o++,a&i&&o--,s=s<<1|1,a=a<<1|~(f|s),s&=f}for(c=r;c--;)vr[t.charCodeAt(c)]=0;return o},gk=(t,e)=>{const r=e.length,n=t.length,i=[],a=[],s=Math.ceil(r/32),o=Math.ceil(n/32);for(let d=0;d<s;d++)a[d]=-1,i[d]=0;let c=0;for(;c<o-1;c++){let d=0,b=-1;const D=c*32,g=Math.min(32,n)+D;for(let y=D;y<g;y++)vr[t.charCodeAt(y)]|=1<<y;for(let y=0;y<r;y++){const w=vr[e.charCodeAt(y)],E=a[y/32|0]>>>y&1,x=i[y/32|0]>>>y&1,m=w|d,F=((w|x)&b)+b^b|w|x;let _=d|~(F|b),T=b&F;_>>>31^E&&(a[y/32|0]^=1<<y),T>>>31^x&&(i[y/32|0]^=1<<y),_=_<<1|E,T=T<<1|x,b=T|~(m|_),d=_&m}for(let y=D;y<g;y++)vr[t.charCodeAt(y)]=0}let l=0,f=-1;const p=c*32,u=Math.min(32,n-p)+p;for(let d=p;d<u;d++)vr[t.charCodeAt(d)]|=1<<d;let h=n;for(let d=0;d<r;d++){const b=vr[e.charCodeAt(d)],D=a[d/32|0]>>>d&1,g=i[d/32|0]>>>d&1,y=b|l,w=((b|g)&f)+f^f|b|g;let E=l|~(w|f),x=f&w;h+=E>>>n-1&1,h-=x>>>n-1&1,E>>>31^D&&(a[d/32|0]^=1<<d),x>>>31^g&&(i[d/32|0]^=1<<d),E=E<<1|D,x=x<<1|g,f=x|~(y|E),l=E&y}for(let d=p;d<u;d++)vr[t.charCodeAt(d)]=0;return h},Kx=(t,e)=>{if(t.length<e.length){const r=e;e=t,t=r}return e.length===0?t.length:t.length<=32?mk(t,e):gk(t,e)},Dk=(t,e)=>{let r=1/0,n=0;for(let i=0;i<e.length;i++){const a=Kx(t,e[i]);a<r&&(r=a,n=i)}return e[n]},yk=Object.freeze(Object.defineProperty({__proto__:null,closest:Dk,distance:Kx},Symbol.toStringTag,{value:"Module"})),bk=ew(yk);var hy;function vk(){return hy||(hy=1,(function(t,e){(function(){var r;try{r=typeof Intl<"u"&&typeof Intl.Collator<"u"?Intl.Collator("generic",{sensitivity:"base"}):null}catch{console.log("Collator could not be initialized and wouldn't be used")}var n=bk,i=[],a=[],s={get:function(o,c,l){var f=l&&r&&l.useCollator;if(f){var p=o.length,u=c.length;if(p===0)return u;if(u===0)return p;var h,d,b,D,g;for(b=0;b<u;++b)i[b]=b,a[b]=c.charCodeAt(b);i[u]=u;var y;for(b=0;b<p;++b){for(d=b+1,D=0;D<u;++D)h=d,y=r.compare(o.charAt(b),String.fromCharCode(a[D]))===0,d=i[D]+(y?0:1),g=h+1,d>g&&(d=g),g=i[D+1]+1,d>g&&(d=g),i[D]=h;i[D]=d}return d}return n.distance(o,c)}};t!==null&&t.exports===e?t.exports=s:typeof self<"u"&&typeof self.postMessage=="function"&&typeof self.importScripts=="function"?self.Levenshtein=s:typeof window<"u"&&window!==null&&(window.Levenshtein=s)})()})(ta,ta.exports)),ta.exports}var xk=vk();const wk=Li(xk),Ek="http://github.com/rse/stx",Fk="1.1.4",Ck="MIT",Ak={name:"Dr. Ralf S. Engelschall",url:"http://engelschall.com"},_n={homepage:Ek,version:Fk,license:Ck,author:Ak};(async()=>{const t=await n3().version(!1).strict().showHelpOnFail(!0).demand(0).usage("Usage: $0 [-h|--help] [-V|--version] [-l|--log <logging-level>] [-v|--verbose <verbosity-level>] [-c|--config <config-file>] [-e|--env <key>=<val>] [-p|--prefix <task-name-prefix>] [-s|--single] [<task-name> [<task-option> [...]] [...]").help("h").alias("h","help").default("h",!1).describe("h","show usage help").option("V",{alias:"version",type:"boolean",default:!1,describe:"show program version information"}).option("l",{alias:"log",type:"string",nargs:1,default:"warning",describe:"set logging level for showing execution information ('error', 'warning', 'info', 'debug')"}).option("v",{alias:"verbose",type:"number",nargs:1,default:0,describe:"set verbosity level for showing script information (0-4)"}).option("c",{alias:"config",type:"string",nargs:1,default:"etc/stx.conf",describe:"path to the configuration file"}).option("e",{alias:"env",type:"string",array:!0,nargs:1,default:[],describe:"set environment variable for executed scripts"}).option("p",{alias:"prefix",type:"string",default:"",describe:"prefix all task names before calling"}).option("s",{alias:"single",type:"boolean",default:!1,describe:"pass all arguments to a single task"}).parserConfiguration({"halt-at-non-option":!0}).parse(process.argv.slice(2));t.V&&(process.stderr.write(`stx ${_n.version} <${_n.homepage}>
|
|
188
|
-
`),process.stderr.write(`Copyright (c) 2025-2026 ${_n.author.name} <${_n.author.url}>
|
|
189
|
-
`),process.stderr.write(`Licensed under ${_n.license} <http://spdx.org/licenses/${_n.license}.html>
|
|
190
|
-
`),process.exit(0));const e=new wC({encoding:"utf8",logLevel:t.l,logTime:!1,logPrefix:"stx"});e.log("info",`reading task configuration file "${Ne.blue(t.c)}"`);const r=await $e.promises.readFile(t.c,"utf8").catch(()=>{e.log("error",`failed to read task configuration file "${t.c}"`),process.exit(1)}),n=(m,...F)=>new RegExp(String.raw(m,...F)),i=new s3,a="[a-zA-Z][a-zA-Z0-9]*",s="[_.:-]",o="\\r?\\n",c="[ \\t]",l="[^\\r\\n]",f="[^ \\t\\r\\n]",p=`${a}(?:${s}${a})*`,u=`(?:.|${o})`;i.rule("default",n`#+${c}*(${l}*)`,(m,F)=>{m.accept("comment",F[1])}),i.rule("default",n`${f}+`,(m,F)=>{m.state("target"),m.repeat()}),i.rule("default",n`${c}*${o}`,(m,F)=>{m.ignore()}),i.rule("target,source",n`"((?:\\"|${l})*)"`,(m,F)=>{m.accept(i.state(),F[1].replace(/\\"/g,'"'))}),i.rule("source",n`@?${p}\??`,(m,F)=>{m.accept(i.state())}),i.rule("target,source",n`@?${p}`,(m,F)=>{m.accept(i.state())}),i.rule("target,source",n`\[(!?${l}+?)\]`,(m,F)=>{m.accept("constraint",F[1])}),i.rule("target,source",n`\{(${l}+?)\}`,(m,F)=>{m.accept("language",F[1])}),i.rule("target",n`${c}*:${c}*`,(m,F)=>{m.ignore(),m.state("source")}),i.rule("target,source",n`${c}+`,(m,F)=>{m.ignore()}),i.rule("target,source",n`${o}`,(m,F)=>{m.state("script"),m.ignore()});const h=`${c}+${l}*${o}`,d=`${c}*${o}`;i.rule("script",n`${h}+(?:(?:${h}|${d})*${h})?`,(m,F)=>{m.accept("script",F[0]),m.state("default")}),i.rule("script",n`${u}`,(m,F)=>{m.state("default"),m.repeat()}),i.rule("*",n`${u}`,(m,F)=>{m.reject()});const b=[];let D=0;i.input(r),i.debug(!1),i.state("default");const g=()=>(b[D]===void 0&&(b[D]={comment:"",targets:[],sources:[],constraints:[],language:"",script:""}),b[D]);let y="";i.tokens().forEach(m=>{if(e.log("debug",`parsing token: type: "${m.type}", value: "${m.value}"`),m.type==="comment")y=m.value;else if(m.type==="target"){let F=g();(F.sources.length>0||F.constraints.length>0||F.language!=="")&&(D++,F=g()),y!==""&&(F.comment=y),y="",F.targets.push(m.value)}else if(m.type==="source")g().sources.push(m.value);else if(m.type==="constraint")g().constraints.push(m.value);else if(m.type==="language"){const F=g();F.language=m.value}else if(m.type==="script"){const F=g();let _=i3(m.value);_=_.replaceAll(/\r\n/g,`
|
|
191
|
-
`),_=_.replace(/^\n+/,""),_=_.replace(/\n{2,}$/,`
|
|
192
|
-
`),F.script=_,D++}else if(m.type!=="EOF")throw new Error(`invalid token: ${m.type} ("${m.text}")`)});const w=m=>{let F="";return m==="machine"?F=dt.machine():m==="platform"?F=dt.platform():m==="hostname"&&(F=dt.hostname()),F},E=new Map;for(const m of b){e.log("debug",`task: targets: ${JSON.stringify(m.targets)}, sources: ${JSON.stringify(m.sources)}, constraints: ${JSON.stringify(m.constraints)}, language: "${m.language}", comment: "${m.comment}", script: ${JSON.stringify(m.script)}`);let F=!1;for(const _ of m.constraints){const T=_.match(/^(.+?)=(!)?(.+)$/);if(T===null)throw new Error(`invalid constraint: "${_}"`);const M=T[1],B=!!T[2],A=T[3],O=lt(w(M),A);if(!O&&!B||O&&B){F=!0;break}}if(!F)for(const _ of m.targets){if(E.has(_))throw new Error(`target ${Ne.blue(_)} defined multiple times`);E.set(_,m)}}for(const m of b)for(let F of m.sources){const _=F.match(/^(.+?)\?$/);if(_!==null&&(F=_[1]),F.match(/^@(.+)$/)===null&&!E.has(F))throw new Error(`source task "${F}" not defined as a target`)}$2.setGracefulCleanup();const x=m=>new Promise((F,_)=>{$2.file({mode:384,prefix:"stx-",postfix:`.${m}`},(T,M,B)=>{T?_(T):F({path:M,fd:B})})});if(t._.length===0){process.stdout.write(`Available tasks:
|
|
193
|
-
`);for(const m of E.keys().toArray().sort()){const F=E.get(m);if(F.comment!==""){const _=m.padEnd(25," "),T=F.comment;process.stdout.write(`${Ne.blue(_)} ${Ne.grey(T)}
|
|
194
|
-
`)}else process.stdout.write(`${Ne.blue(m)}
|
|
195
|
-
`)}}else{const m=async(T,M,B=new Set)=>{if(B.has(T))return 0;if(B.add(T),!E.has(T))throw new Error(`task target "${T}" not defined`);const A=E.get(T);let O=0,N=ke.now().toUnixInteger();const z=T.match(/^@(.+)$/);if(z!==null){const[,be]=z,De=await $e.promises.stat(be).catch(()=>null);De!==null&&(N=ke.fromJSDate(De.mtime).toUnixInteger())}for(let be of A.sources){let De=!1,ae=be.match(/^(.+?)\?$/);if(ae!==null&&(be=ae[1],De=!0),ae=be.match(/^@(.+)$/),ae!==null){const pe=ae[1],we=await $e.promises.stat(pe).catch(()=>null),Te=we!==null?ke.fromJSDate(we.mtime).toUnixInteger():0;if(N>Te){if(E.has(be)){O++;const Y=await m(be,[],B);if(Y!==0&&!De)return Y}else if(we!==null)O++;else if(we===null&&!De)throw new Error(`mandatory source file "${Ne.red(be)}" not found`)}}else{const pe=await m(be,[],B);if(pe!==0&&!De)return pe}}if(A.sources.length>0&&A.sources.length===O)return e.log("info",`task <${Ne.blue(T)}> still up-to-date`),0;const C=be=>be.map(De=>(De.match(/\s/)&&(De=`"${De.replaceAll(/"/g,'\\"')}"`),De)).join(" ");let k=`task <${Ne.blue(T)}>`;if(M.length>0&&(k+=` [${Ne.blue(C(M))}]`),A.comment!==""&&(k+=Ne.grey(` "${A.comment}"`)),A.script===""?k+=" is fulfilled":k+=" is executed",e.log("info",k),A.script==="")return 0;const q=()=>{let be="";for(const De of module.paths)be!==""&&(be+=process.platform==="win32"?";":":"),be+=De;return be},L=async be=>{for(const De of module.paths.reverse()){const ae=Ie.join(De,".bin"),pe=await $e.promises.stat(ae).catch(()=>null);pe!==null&&pe.isDirectory()&&(be!==""&&(be=`${process.platform==="win32"?";":":"}${be}`),be=`${Ie.join(De,".bin")}${be}`)}return be};let $="shell",J=[],se="";const ue={...process.env};A.language==="js"?($=process.execPath,ue.NODE_PATH=q(),se="js"):A.language==="ts"?($=process.execPath,ue.NODE_PATH=q(),se="ts"):A.language==="sh"?($="sh",se="sh"):A.language==="cmd"?($="cmd",J=["/c"],se="bat"):A.language!==""&&A.language!==$&&($=A.language,se=A.language);let ne=A.script;$==="shell"&&($=process.platform==="win32"?"cmd":"sh",J=process.platform==="win32"?["/c"]:[],se=process.platform==="win32"?"bat":"sh",process.platform==="win32"?(ne=ne.replaceAll(/\r?\n/g,`\r
|
|
196
|
-
`),ne=ne.replaceAll(/\\\r\n/g,`^\r
|
|
197
|
-
`),ne=ne.replaceAll(/\$\{([a-zA-Z_][a-zA-Z0-9_]*)\}/g,"%$1%"),ne=ne.replaceAll(/\$([a-zA-Z_][a-zA-Z0-9_]*)/g,"%$1%")):ne=ne.replaceAll(/\r?\n/g,`
|
|
198
|
-
`));const ge=await x(se);await $e.promises.writeFile(ge.path,ne,"utf8");const X=C([$,...J,ge.path]);if(M.length>0){const be=C(M);e.log("info",`command: ${Ne.blue(X)}, args: ${Ne.blue(be)}`)}else e.log("info",`command: ${Ne.blue(X)}`);for(const be of ne.split(`
|
|
199
|
-
`).slice(0,-1))e.log("debug",`| ${Ne.blue(be)}`);if(t.v>=4&&process.stderr.write(`${Ne.grey("_".repeat(78))}
|
|
200
|
-
`),t.v>=3&&A.comment!==""&&process.stderr.write(`${Ne.grey.italic.inverse(" "+A.comment+" ")}
|
|
201
|
-
`),t.v>=2){const be=C(M);process.stderr.write(`${Ne.grey("$")} ${Ne.blue($)} ${Ne.grey("[...]")} ${be!==""?Ne.blue(be):""}
|
|
202
|
-
`)}if(t.v>=1)for(const be of ne.split(`
|
|
203
|
-
`).slice(0,-1))process.stderr.write(`${Ne.grey("| ")}${Ne.blue(be)}
|
|
204
|
-
`);ue.PATH=await L(ue.PATH??ue.Path),ue.STX_CMD=C([$,...J,ge.path]),ue.STX_ARGS=C(M);for(const be of t.e){const De=be.match(/^(.+?)=(.+)$/);if(De!==null){const[,ae,pe]=De;ue[ae]=pe}else ue[be]="1"}const de=await h9($,[...J,ge.path,...M],{stdio:["inherit","inherit","inherit"],reject:!1,env:ue});return de.failed?de.isTerminated?(e.log("error",`task <${Ne.blue(T)}> terminated with signal ${Ne.red(de.signal)}`),-1):de.exitCode!==0?(e.log("error",`task <${Ne.blue(T)}> terminated with non-zero exit code ${Ne.red(de.exitCode)}`),de.exitCode??1):de.code!==""?(e.log("error",`task <${Ne.blue(T)}> terminated with Node error code ${Ne.red(de.code)} (${de.originalMessage})`),-1):(e.log("error",`task <${Ne.blue(T)}> terminated for unknown reasons`),-1):0},F=async(T,M)=>{if(t.p!==""&&(T=t.p+T),!E.has(T)){const B=[{name:"exact match",cb:(z,C)=>z===C},{name:"case-insensitive match",cb:(z,C)=>z.toLowerCase()===C.toLowerCase()},{name:"fuzzy match",cb:(z,C)=>Math.abs(z.length-C.length)<=1&&(hk(z,C)>=.5||wk.get(z,C)<=2)},{name:"prefix match",cb:(z,C)=>C.startsWith(z)},{name:"case-insensitive prefix match",cb:(z,C)=>C.toLowerCase().startsWith(z.toLowerCase())}],A=T.split(/[^a-zA-Z0-9]+/),O=E.keys().toArray().sort().map(z=>({name:z,segs:z.split(/[^a-zA-Z0-9]+/)})),N=[];for(const z of O){const C=z.segs;if(A.length===C.length){let k=!0;for(let q=0;q<A.length;q++){let L=!1;for(const $ of B)if($.cb(A[q],C[q])){L=!0;break}if(!L){k=!1;break}}k&&N.push(z.name)}}if(N.length===0)return e.log("error",`task request "${Ne.red(T)}" does not match any task`),-1;if(N.length>1){const z=N.sort().map(C=>`<${Ne.blue(C)}>`).join(", ");return e.log("error",`task request "${Ne.red(T)}" ambiguously matches more than one task: ${z}`),-1}else N[0]!==T&&(e.log("info",`task request "${Ne.red(T)}" expanded to task <${Ne.blue(N[0])}>`),T=N[0])}return await m(T,M)};let _=0;if(t.s){const T=String(t._[0]),M=t._.slice(1).map(B=>String(B));_=await F(T,M)}else{let T=[];const M=t._.map(A=>String(A)),B=async()=>{let A=0;if(T.length>0){const O=T[0],N=T.slice(1);A=await F(O,N),T=[]}return A};for(let A=0;A<M.length&&!(A>0&&M[A].match(/^[-+].+/)===null&&(_=await B(),_!==0));A++){const O=M[A].match(/^\+(.+)$/);O!==null?T.push(O[1]):T.push(M[A])}_===0&&(_=await B())}process.exit(_)}})().catch(t=>{process.stderr.write(`stx: ${Ne.red("ERROR:")} ${t}
|
|
205
|
-
`),process.exit(1)});
|