monocart-coverage-reports 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,13 +23,13 @@
23
23
  * [Node.js V8 Coverage Report for Server Side](#nodejs-v8-coverage-report-for-server-side)
24
24
  * [Multiprocessing Support](#multiprocessing-support)
25
25
  * [Merge Coverage Reports](#merge-coverage-reports)
26
- * [Integration](#integration)
27
26
  * [Ignoring Uncovered Codes](#ignoring-uncovered-codes)
28
27
  * [Chromium Coverage API](#chromium-coverage-api)
29
28
  * [V8 Coverage Data Format](#v8-coverage-data-format)
30
29
  * [How to convert V8 to Istanbul](#how-to-convert-v8-to-istanbul)
31
30
  - [Using `v8-to-istanbul`](#using-v8-to-istanbul)
32
31
  - [How Monocart Works](#how-monocart-works)
32
+ * [Integration](#integration) - Playwright, Jest, Vitest, Codecov, Coveralls, Sonar Cloud
33
33
  * [Istanbul Introduction](#istanbul-introduction)
34
34
  * [Thanks](#thanks)
35
35
 
@@ -342,7 +342,7 @@ Possible solutions:
342
342
  - Sets Node.js env `NODE_V8_COVERAGE`=`dir` before the program running, the coverage data will be saved to the `dir` after the program exits gracefully.
343
343
  - Read the JSON file(s) from the `dir` and generate coverage report.
344
344
  - Example:
345
- > cross-env NODE_V8_COVERAGE=`.temp/v8-coverage-env` node [./test/test-node-env.js](./test/test-node-env.js) && node [./test/generate-node-report.js](./test/generate-node-report.js)
345
+ > cross-env NODE_V8_COVERAGE=`.temp/v8-coverage-env` node [./test/test-node-env.js](./test/test-node-env.js) && node [./test/generate-report.js](./test/generate-report.js)
346
346
 
347
347
  - [V8](https://nodejs.org/docs/latest/api/v8.html#v8takecoverage) API + NODE_V8_COVERAGE
348
348
  - Writing the coverage started by NODE_V8_COVERAGE to disk on demand with `v8.takeCoverage()`, it does not require waiting until the program exits gracefully.
@@ -420,7 +420,8 @@ const coverageOptions = {
420
420
  ```
421
421
  Then, after all the tests are completed, generate a merged report with option `inputDir`:
422
422
  ```js
423
- import {CoverageReport} from 'monocart-coverage-reports';
423
+ import fs from "fs";
424
+ import { CoverageReport } from 'monocart-coverage-reports';
424
425
  const coverageOptions = {
425
426
  name: 'My Merged Coverage Report',
426
427
  inputDir: [
@@ -431,7 +432,14 @@ const coverageOptions = {
431
432
  reports: [
432
433
  ['v8'],
433
434
  ['console-summary']
434
- ]
435
+ ],
436
+ onEnd: () => {
437
+ // remove the raw files if it useless
438
+ fs.rmSync('./coverage-reports/unit/raw', {
439
+ recursive: true,
440
+ force: true
441
+ })
442
+ }
435
443
  };
436
444
  await new CoverageReport(coverageOptions).generate();
437
445
  ```
@@ -452,11 +460,6 @@ const coverageOptions = {
452
460
  ```
453
461
  see example: [./test/test-merge.js](./test/test-merge.js)
454
462
 
455
- ## Integration
456
- - [monocart-reporter](https://cenfun.github.io/monocart-reporter/) - Test reporter for [Playwright](https://github.com/microsoft/playwright)
457
- - [jest-monocart-coverage](https://github.com/cenfun/jest-monocart-coverage) - Integration with [Jest](https://github.com/jestjs/jest/) for coverage reports
458
- - [vitest-monocart-coverage](https://github.com/cenfun/vitest-monocart-coverage) - Integration with [Vitest](https://github.com/vitest-dev/vitest) for coverage reports
459
-
460
463
  ## Ignoring Uncovered Codes
461
464
  To ignore codes, use the special comment which starts with `v8 ignore `:
462
465
  - Ignoring all until stop
@@ -574,6 +577,58 @@ We implemented new converter instead of v8-to-istanbul:
574
577
  | LogicalExpression | ✔ Not Perfect |
575
578
  | SwitchStatement | ✔ Not Perfect |
576
579
 
580
+ ## Integration
581
+ - [monocart-reporter](https://github.com/cenfun/monocart-reporter) - A [Playwright](https://github.com/microsoft/playwright) custom reporter, supports generating [Code Coverage Report](https://github.com/cenfun/monocart-reporter?#code-coverage-report)
582
+ - [jest-monocart-coverage](https://github.com/cenfun/jest-monocart-coverage) - A [Jest](https://github.com/jestjs/jest/) custom reporter for coverage reports
583
+ - [vitest-monocart-coverage](https://github.com/cenfun/vitest-monocart-coverage) - A [Vitest](https://github.com/vitest-dev/vitest) custom provider module for coverage reports
584
+ - [Codecov](https://codecov.com/)
585
+ - [![codecov](https://codecov.io/gh/cenfun/monocart-coverage-reports/graph/badge.svg?token=H0LW7UKYU3)](https://codecov.io/gh/cenfun/monocart-coverage-reports)
586
+ - Supports native `codecov` built-in report ([specification](https://docs.codecov.com/docs/codecov-custom-coverage-format))
587
+ ```js
588
+ const coverageOptions = {
589
+ outputDir: "./coverage-reports",
590
+ reports: [
591
+ ['codecov']
592
+ ]
593
+ };
594
+ ```
595
+ - Github Actions example:
596
+ ```yml
597
+ - name: Codecov
598
+ uses: codecov/codecov-action@v3
599
+ with:
600
+ files: ./coverage-reports/codecov.json
601
+ ```
602
+ - [Coveralls](https://coveralls.io/)
603
+ - [![Coverage Status](https://coveralls.io/repos/github/cenfun/monocart-coverage-reports/badge.svg?branch=main)](https://coveralls.io/github/cenfun/monocart-coverage-reports?branch=main)
604
+ - Github Actions example:
605
+ ```yml
606
+ - name: Coveralls
607
+ uses: coverallsapp/github-action@v2
608
+ with:
609
+ files: ./coverage-reports/lcov.info
610
+ ```
611
+ - [Sonar Cloud](https://sonarcloud.io/)
612
+ - [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=monocart-coverage-reports&metric=coverage)](https://sonarcloud.io/summary/new_code?id=monocart-coverage-reports)
613
+ - Github Actions example:
614
+ ```yml
615
+ - name: Analyze with SonarCloud
616
+ uses: sonarsource/sonarcloud-github-action@master
617
+ env:
618
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
619
+ with:
620
+ projectBaseDir: ./
621
+ args: >
622
+ -Dsonar.organization=cenfun
623
+ -Dsonar.projectKey=monocart-coverage-reports
624
+ -Dsonar.projectName=monocart-coverage-reports
625
+ -Dsonar.javascript.lcov.reportPaths=docs/mcr/lcov.info
626
+ -Dsonar.sources=lib
627
+ -Dsonar.tests=test
628
+ -Dsonar.exclusions=dist/*,packages/*
629
+ ```
630
+
631
+
577
632
  ## Istanbul Introduction
578
633
  - [Istanbul coverage report](https://istanbul.js.org/) - Instrumenting source codes and generating coverage reports
579
634
  - [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul)
package/lib/cli.js CHANGED
@@ -16,12 +16,7 @@ const defaultOptions = require('./default/options.js');
16
16
  const version = require('../package.json').version;
17
17
 
18
18
  const cleanDir = (dir) => {
19
- if (fs.existsSync(dir)) {
20
- fs.rmSync(dir, {
21
- recursive: true,
22
- force: true
23
- });
24
- }
19
+ Util.rmSync(dir);
25
20
  };
26
21
 
27
22
  const initOptions = (cliOptions) => {
@@ -127,6 +122,7 @@ program
127
122
  .option('-o, --outputDir <dir>', 'output dir for reports')
128
123
  .option('-r, --reports <name[,name]>', 'coverage reports to use')
129
124
  .option('-n, --name <name>', 'report name for title')
125
+ .option('-i, --inputDir <dir>', 'input dir for merging raw files')
130
126
 
131
127
  .option('--outputFile <path>', 'output file for v8 report')
132
128
  .option('--inline', 'inline html for v8 report')
@@ -43,7 +43,7 @@ const collectAstInfo = (ast, state) => {
43
43
  count: functionRoot.count,
44
44
  range: functionRoot
45
45
  };
46
- createBranches(ast, rootFunctionInfo, branchMap);
46
+ createBranches(rootFunctionInfo, branchMap, ast);
47
47
  }
48
48
 
49
49
  // functions branches
@@ -63,7 +63,7 @@ const collectAstInfo = (ast, state) => {
63
63
  },
64
64
 
65
65
  // Function include FunctionDeclaration, ArrowFunctionExpression, FunctionExpression
66
- Function(node) {
66
+ Function(node, parents) {
67
67
 
68
68
  const {
69
69
  start, end, id
@@ -94,7 +94,7 @@ const collectAstInfo = (ast, state) => {
94
94
 
95
95
  functions.push(functionInfo);
96
96
 
97
- createBranches(node.body, functionInfo, branchMap);
97
+ createBranches(functionInfo, branchMap, node.body, node.params, parents);
98
98
 
99
99
  }
100
100
 
@@ -146,12 +146,30 @@ const addNodeCount = (node, parents, functionInfo) => {
146
146
 
147
147
  // =======================================================================================
148
148
 
149
- const createBranches = (ast, functionInfo, branchMap) => {
149
+ const addAssignmentPattern = (params, parents, functionInfo, branchMap, locationMap) => {
150
+ if (!Util.isList(params)) {
151
+ return;
152
+ }
153
+
154
+ params.forEach((param) => {
155
+ if (param.type !== 'AssignmentPattern') {
156
+ return;
157
+ }
158
+ const start = param.start;
159
+ const group = createBranchGroup('AssignmentPattern', start, parents, branchMap, functionInfo);
160
+ addBranch(group, param, locationMap, functionInfo);
161
+ });
162
+ };
163
+
164
+ const createBranches = (functionInfo, branchMap, body, params, functionParents = []) => {
150
165
 
151
166
  // locationMap for chain LogicalExpression locations
152
167
  const locationMap = new Map();
153
168
 
154
- Util.visitAst(ast, {
169
+ // function's arguments
170
+ addAssignmentPattern(params, functionParents, functionInfo, branchMap, locationMap);
171
+
172
+ Util.visitAst(body, {
155
173
 
156
174
  Function() {
157
175
  return 'break';
@@ -195,7 +213,7 @@ const createBranches = (ast, functionInfo, branchMap) => {
195
213
 
196
214
  // binary-expr
197
215
  // var b = a || b || c;
198
- // do not using BinaryExpression
216
+ // do not use BinaryExpression
199
217
  LogicalExpression: (node, parents) => {
200
218
  addNodeCount(node, parents, functionInfo);
201
219
 
@@ -245,10 +263,6 @@ const createBranches = (ast, functionInfo, branchMap) => {
245
263
  });
246
264
  }
247
265
 
248
- // default-arg - seems that V8 coverage do NOT supported
249
- // (a = 0) => {}
250
- // AssignmentPattern: (node) => {}
251
-
252
266
  });
253
267
 
254
268
  };
@@ -367,7 +381,10 @@ const updateBranchCount = (group) => {
367
381
  SwitchStatement
368
382
  };
369
383
 
370
- handlers[type](group, parentCount, noBlockList, blockCount);
384
+ const handler = handlers[type];
385
+ if (handler) {
386
+ handler(group, parentCount, noBlockList, blockCount);
387
+ }
371
388
 
372
389
  };
373
390
 
@@ -1,6 +1,6 @@
1
1
  const fs = require('fs');
2
2
  const EC = require('eight-colors');
3
- const { fileURLToPath } = require('url');
3
+ const { fileURLToPath, pathToFileURL } = require('url');
4
4
  const Concurrency = require('../platform/concurrency.js');
5
5
  const { convertSourceMap, axios } = require('../packages/monocart-coverage-vendor.js');
6
6
 
@@ -21,7 +21,7 @@ const request = async (options) => {
21
21
 
22
22
  const loadSourceMap = async (url = '') => {
23
23
 
24
- if (url.startsWith('file://')) {
24
+ if (url.startsWith('file:')) {
25
25
  const p = fileURLToPath(url);
26
26
  const content = Util.readFileSync(p);
27
27
  if (!content) {
@@ -55,6 +55,10 @@ const getSourceMapUrl = (content, url) => {
55
55
  // for some odd reason //# .. captures in 1 and /* .. */ in 2
56
56
  const filename = r[1] || r[2];
57
57
 
58
+ if (!URL.canParse(filename, url)) {
59
+ url = pathToFileURL(url).toString();
60
+ }
61
+
58
62
  let mapUrl;
59
63
 
60
64
  try {
@@ -3,9 +3,6 @@
3
3
  * @copyright https://github.com/cenfun/monocart-coverage-reports
4
4
  * @author cenfun@gmail.com
5
5
  */
6
-
7
- const path = require('path');
8
-
9
6
  const Util = require('../utils/util.js');
10
7
 
11
8
  // position mapping for conversion between offset and line/column
@@ -421,7 +418,7 @@ const handleBytesCoverage = (state) => {
421
418
 
422
419
  // ========================================================================================================
423
420
 
424
- const handleOriginalFunctionsCoverage = (state, originalMap) => {
421
+ const handleOriginalFunctionsCoverage = (state, originalStateMap) => {
425
422
 
426
423
  // functions only for js
427
424
  if (!state.js) {
@@ -447,7 +444,7 @@ const handleOriginalFunctionsCoverage = (state, originalMap) => {
447
444
  endOffset: end
448
445
  };
449
446
 
450
- const result = findOriginalRange(range, state, originalMap);
447
+ const result = findOriginalRange(range, state, originalStateMap);
451
448
  if (result.error) {
452
449
  return;
453
450
  }
@@ -471,7 +468,7 @@ const handleOriginalFunctionsCoverage = (state, originalMap) => {
471
468
 
472
469
  };
473
470
 
474
- const handleOriginalBranchesCoverage = (state, originalMap) => {
471
+ const handleOriginalBranchesCoverage = (state, originalStateMap) => {
475
472
 
476
473
  // branches only for js
477
474
  if (!state.js) {
@@ -492,7 +489,7 @@ const handleOriginalBranchesCoverage = (state, originalMap) => {
492
489
  };
493
490
 
494
491
  // start
495
- const result = findOriginalRange(bRange, state, originalMap);
492
+ const result = findOriginalRange(bRange, state, originalStateMap);
496
493
  if (result.error) {
497
494
  // not in the original files
498
495
  return;
@@ -521,7 +518,7 @@ const handleOriginalBranchesCoverage = (state, originalMap) => {
521
518
  startOffset: start,
522
519
  endOffset: end
523
520
  };
524
- const res = findOriginalRange(lRange, state, originalMap);
521
+ const res = findOriginalRange(lRange, state, originalStateMap);
525
522
  if (res.error) {
526
523
  // It should not happen unless it is minify files, the SourceMap has some order problems
527
524
 
@@ -559,7 +556,7 @@ const handleOriginalBranchesCoverage = (state, originalMap) => {
559
556
 
560
557
  };
561
558
 
562
- const handleOriginalBytesCoverage = (state, originalMap) => {
559
+ const handleOriginalBytesCoverage = (state, originalStateMap) => {
563
560
 
564
561
  const { js, coverageList } = state;
565
562
 
@@ -575,7 +572,7 @@ const handleOriginalBytesCoverage = (state, originalMap) => {
575
572
  return;
576
573
  }
577
574
 
578
- const result = findOriginalRange(range, state, originalMap);
575
+ const result = findOriginalRange(range, state, originalStateMap);
579
576
  if (result.error) {
580
577
  return;
581
578
  }
@@ -599,6 +596,47 @@ const handleOriginalBytesCoverage = (state, originalMap) => {
599
596
  // });
600
597
  }
601
598
 
599
+ // check original bytes if fully in a wrapper range
600
+ originalStateMap.forEach((originalState) => {
601
+ const bytes = originalState.bytes;
602
+ if (Util.isList(bytes)) {
603
+ return;
604
+ }
605
+
606
+ const { decodedMappings } = originalState;
607
+ const len = decodedMappings.length;
608
+ if (len < 2) {
609
+ return;
610
+ }
611
+ // sort by original line/column
612
+ const startMapping = decodedMappings[0];
613
+ const endMapping = decodedMappings[len - 1];
614
+ // console.log(startMapping, endMapping);
615
+ const startOffset = startMapping.generatedOffset;
616
+ const endOffset = endMapping.generatedEndOffset || endMapping.generatedOffset;
617
+
618
+ // console.log('===========================================================', originalState.sourcePath);
619
+ // console.log(originalState.source.length, endMapping);
620
+
621
+ // only check uncovered range
622
+ // because a uncovered range could be in a covered wrapper
623
+ // { start: 0, end: 12137, count: 1 }, could be { start: > 0, end: < 12137, count: 0 }
624
+ for (const range of state.bytes) {
625
+ if (range.count > 0) {
626
+ continue;
627
+ }
628
+ if (startOffset >= range.start && endOffset <= range.end) {
629
+ bytes.push({
630
+ start: 0,
631
+ end: originalState.source.length,
632
+ count: 0
633
+ });
634
+ break;
635
+ }
636
+ }
637
+
638
+ });
639
+
602
640
  };
603
641
 
604
642
  // ========================================================================================================
@@ -705,7 +743,7 @@ const initOriginalList = (state, originalDecodedMap, options) => {
705
743
  }
706
744
 
707
745
  // create original content mappings
708
- const originalMap = new Map();
746
+ const originalStateMap = new Map();
709
747
 
710
748
  const { sources, sourcesContent } = state.sourceMap;
711
749
 
@@ -752,19 +790,19 @@ const initOriginalList = (state, originalDecodedMap, options) => {
752
790
  v8Data: {}
753
791
  };
754
792
 
755
- originalMap.set(sourceIndex, originalState);
793
+ originalStateMap.set(sourceIndex, originalState);
756
794
  });
757
795
 
758
- return originalMap;
796
+ return originalStateMap;
759
797
  };
760
798
 
761
- const collectOriginalList = (state, originalMap) => {
799
+ const collectOriginalList = (state, originalStateMap) => {
762
800
 
763
- const { fileUrls, sourceMap } = state;
764
- const distFile = sourceMap.file || path.basename(state.sourcePath);
801
+ const { fileUrls } = state;
802
+ const distFile = state.sourcePath;
765
803
 
766
804
  // collect original files
767
- originalMap.forEach((originalState) => {
805
+ originalStateMap.forEach((originalState) => {
768
806
 
769
807
  const {
770
808
  js, type, sourcePath, source
@@ -821,18 +859,18 @@ const unpackSourceMap = (state, options) => {
821
859
  state.decodedMappings = decodeSourceMappings(state, originalDecodedMap);
822
860
 
823
861
  // filter original list and init list
824
- const originalMap = initOriginalList(state, originalDecodedMap, options);
862
+ const originalStateMap = initOriginalList(state, originalDecodedMap, options);
825
863
 
826
864
  originalDecodedMap.clear();
827
865
 
828
866
  // ===============================================
829
867
 
830
868
  // handle functions before handle original state functions
831
- handleOriginalFunctionsCoverage(state, originalMap);
832
- handleOriginalBranchesCoverage(state, originalMap);
869
+ handleOriginalFunctionsCoverage(state, originalStateMap);
870
+ handleOriginalBranchesCoverage(state, originalStateMap);
833
871
 
834
872
  // handle lines info before handle ranges to update line count
835
- originalMap.forEach((originalState) => {
873
+ originalStateMap.forEach((originalState) => {
836
874
 
837
875
  handleFunctionsCoverage(originalState);
838
876
  handleBranchesCoverage(originalState);
@@ -844,10 +882,10 @@ const unpackSourceMap = (state, options) => {
844
882
  });
845
883
 
846
884
  // handle ranges after lines ready
847
- handleOriginalBytesCoverage(state, originalMap);
885
+ handleOriginalBytesCoverage(state, originalStateMap);
848
886
 
849
887
  // collect coverage for original list
850
- collectOriginalList(state, originalMap);
888
+ collectOriginalList(state, originalStateMap);
851
889
 
852
890
  };
853
891
 
@@ -583,6 +583,8 @@ const findOriginalRange = (range, state, originalMap) => {
583
583
  // fix end
584
584
  fixEndColumn(endMapping, range, startMapping, state, originalState);
585
585
 
586
+ // after column fixed, the originalOffset could be not right
587
+
586
588
  const locator = originalState.locator;
587
589
  const originalStart = locator.locationToOffset({
588
590
  line: startMapping.originalLine + 1,
@@ -52,7 +52,7 @@ const saveIstanbulReports = (coverageData, fileSources, options) => {
52
52
  coverageMap,
53
53
  // The summarizer to default to (may be overridden by some reports)
54
54
  // values can be nested/flat/pkg. Defaults to 'pkg'
55
- defaultSummarizer: options.defaultSummarizer || 'pkg',
55
+ defaultSummarizer: options.defaultSummarizer || 'nested',
56
56
 
57
57
  dir: options.outputDir,
58
58
  watermarks,
@@ -50,12 +50,13 @@ Expecting one of '${s.join("', '")}'`);return this._lifeCycleHooks[e]?this._life
50
50
  `),this.outputHelp({error:!0}));let s=i||{},n=s.exitCode||1,r=s.code||"commander.error";this._exit(n,r,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in z.env){let i=e.attributeName();(this.getOptionValue(i)===void 0||["default","config","env"].includes(this.getOptionValueSource(i)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,z.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new Zv(this.options),i=s=>this.getOptionValue(s)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(s));this.options.filter(s=>s.implied!==void 0&&i(s.attributeName())&&e.valueFromOption(this.getOptionValue(s.attributeName()),s)).forEach(s=>{Object.keys(s.implied).filter(n=>!i(n)).forEach(n=>{this.setOptionValueWithSource(n,s.implied[n],"implied")})})}missingArgument(e){let i=`error: missing required argument '${e}'`;this.error(i,{code:"commander.missingArgument"})}optionMissingArgument(e){let i=`error: option '${e.flags}' argument missing`;this.error(i,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let i=`error: required option '${e.flags}' not specified`;this.error(i,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,i){let s=a=>{let o=a.attributeName(),u=this.getOptionValue(o),p=this.options.find(h=>h.negate&&o===h.attributeName()),l=this.options.find(h=>!h.negate&&o===h.attributeName());return p&&(p.presetArg===void 0&&u===!1||p.presetArg!==void 0&&u===p.presetArg)?p:l||a},n=a=>{let o=s(a),u=o.attributeName();return this.getOptionValueSource(u)==="env"?`environment variable '${o.envVar}'`:`option '${o.flags}'`},r=`error: ${n(e)} cannot be used with ${n(i)}`;this.error(r,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let i="";if(e.startsWith("--")&&this._showSuggestionAfterError){let n=[],r=this;do{let a=r.createHelp().visibleOptions(r).filter(o=>o.long).map(o=>o.long);n=n.concat(a),r=r.parent}while(r&&!r._enablePositionalOptions);i=pp(e,n)}let s=`error: unknown option '${e}'${i}`;this.error(s,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let i=this.registeredArguments.length,s=i===1?"":"s",r=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${i} argument${s} but got ${e.length}.`;this.error(r,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],i="";if(this._showSuggestionAfterError){let n=[];this.createHelp().visibleCommands(this).forEach(r=>{n.push(r.name()),r.alias()&&n.push(r.alias())}),i=pp(e,n)}let s=`error: unknown command '${e}'${i}`;this.error(s,{code:"commander.unknownCommand"})}version(e,i,s){if(e===void 0)return this._version;this._version=e,i=i||"-V, --version",s=s||"output the version number";let n=this.createOption(i,s);return this._versionOptionName=n.attributeName(),this.options.push(n),this.on("option:"+n.name(),()=>{this._outputConfiguration.writeOut(`${e}
51
51
  `),this._exit(0,"commander.version",e)}),this}description(e,i){return e===void 0&&i===void 0?this._description:(this._description=e,i&&(this._argsDescription=i),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let i=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(i=this.commands[this.commands.length-1]),e===i._name)throw new Error("Command alias can't be the same as its name");return i._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(i=>this.alias(i)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let i=this.registeredArguments.map(s=>Qv(s));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?i:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=Ke.basename(e,Ke.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let i=this.createHelp();return i.helpWidth===void 0&&(i.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),i.formatHelp(this,i)}_getHelpContext(e){e=e||{};let i={error:!!e.error},s;return i.error?s=n=>this._outputConfiguration.writeErr(n):s=n=>this._outputConfiguration.writeOut(n),i.write=e.write||s,i.command=this,i}outputHelp(e){let i;typeof e=="function"&&(i=e,e=void 0);let s=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(r=>r.emit("beforeAllHelp",s)),this.emit("beforeHelp",s);let n=this.helpInformation(s);if(i&&(n=i(n),typeof n!="string"&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");s.write(n),this._helpLongFlag&&this.emit(this._helpLongFlag),this.emit("afterHelp",s),this._getCommandAndAncestors().forEach(r=>r.emit("afterAllHelp",s))}helpOption(e,i){if(typeof e=="boolean")return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=i||this._helpDescription;let s=Xv(this._helpFlags);return this._helpShortFlag=s.shortFlag,this._helpLongFlag=s.longFlag,this}help(e){this.outputHelp(e);let i=z.exitCode||0;i===0&&e&&typeof e!="function"&&e.error&&(i=1),this._exit(i,"commander.help","(outputHelp)")}addHelpText(e,i){let s=["beforeAll","before","after","afterAll"];if(!s.includes(e))throw new Error(`Unexpected value for position to addHelpText.
52
52
  Expecting one of '${s.join("', '")}'`);let n=`${e}Help`;return this.on(n,r=>{let a;typeof i=="function"?a=i({error:r.error,command:r.command}):a=i,a&&r.write(`${a}
53
- `)}),this}};function hp(t,e){t._hasHelpOption&&e.find(s=>s===t._helpLongFlag||s===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function fp(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let i,s="127.0.0.1",n="9229",r;return(r=e.match(/^(--inspect(-brk)?)$/))!==null?i=r[1]:(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(i=r[1],/^\d+$/.test(r[3])?n=r[3]:s=r[3]):(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(i=r[1],s=r[3],n=r[4]),i&&n!=="0"?`${i}=${s}:${parseInt(n)+1}`:e})}dp.Command=Qr});var bp=y((Pe,gp)=>{var{Argument:eg}=Rs(),{Command:xp}=mp(),{CommanderError:tg,InvalidArgumentError:vp}=Pi(),{Help:ig}=zr(),{Option:sg}=Wr();Pe=gp.exports=new xp;Pe.program=Pe;Pe.Command=xp;Pe.Option=sg;Pe.Argument=eg;Pe.Help=ig;Pe.CommanderError=tg;Pe.InvalidArgumentError=vp;Pe.InvalidOptionArgumentError=vp});var Ep=y((j1,kp)=>{kp.exports=Sp;Sp.sync=rg;var _p=require("fs");function ng(t,e){var i=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!i||(i=i.split(";"),i.indexOf("")!==-1))return!0;for(var s=0;s<i.length;s++){var n=i[s].toLowerCase();if(n&&t.substr(-n.length).toLowerCase()===n)return!0}return!1}function Cp(t,e,i){return!t.isSymbolicLink()&&!t.isFile()?!1:ng(e,i)}function Sp(t,e,i){_p.stat(t,function(s,n){i(s,s?!1:Cp(n,t,e))})}function rg(t,e){return Cp(_p.statSync(t),t,e)}});var Rp=y((M1,Lp)=>{Lp.exports=Op;Op.sync=ag;var Ap=require("fs");function Op(t,e,i){Ap.stat(t,function(s,n){i(s,s?!1:Np(n,e))})}function ag(t,e){return Np(Ap.statSync(t),e)}function Np(t,e){return t.isFile()&&og(t,e)}function og(t,e){var i=t.mode,s=t.uid,n=t.gid,r=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),a=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),o=parseInt("100",8),u=parseInt("010",8),p=parseInt("001",8),l=o|u,h=i&p||i&u&&n===a||i&o&&s===r||i&l&&r===0;return h}});var Pp=y((D1,Ip)=>{var B1=require("fs"),Ps;process.platform==="win32"||global.TESTING_WINDOWS?Ps=Ep():Ps=Rp();Ip.exports=Yr;Yr.sync=cg;function Yr(t,e,i){if(typeof e=="function"&&(i=e,e={}),!i){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,n){Yr(t,e||{},function(r,a){r?n(r):s(a)})})}Ps(t,e||{},function(s,n){s&&(s.code==="EACCES"||e&&e.ignoreErrors)&&(s=null,n=!1),i(s,n)})}function cg(t,e){try{return Ps.sync(t,e||{})}catch(i){if(e&&e.ignoreErrors||i.code==="EACCES")return!1;throw i}}});var qp=y((q1,Dp)=>{var Kt=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Tp=require("path"),ug=Kt?";":":",Fp=Pp(),jp=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),Mp=(t,e)=>{let i=e.colon||ug,s=t.match(/\//)||Kt&&t.match(/\\/)?[""]:[...Kt?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(i)],n=Kt?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=Kt?n.split(i):[""];return Kt&&t.indexOf(".")!==-1&&r[0]!==""&&r.unshift(""),{pathEnv:s,pathExt:r,pathExtExe:n}},Bp=(t,e,i)=>{typeof e=="function"&&(i=e,e={}),e||(e={});let{pathEnv:s,pathExt:n,pathExtExe:r}=Mp(t,e),a=[],o=p=>new Promise((l,h)=>{if(p===s.length)return e.all&&a.length?l(a):h(jp(t));let f=s[p],v=/^".*"$/.test(f)?f.slice(1,-1):f,m=Tp.join(v,t),x=!v&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;l(u(x,p,0))}),u=(p,l,h)=>new Promise((f,v)=>{if(h===n.length)return f(o(l+1));let m=n[h];Fp(p+m,{pathExt:r},(x,g)=>{if(!x&&g)if(e.all)a.push(p+m);else return f(p+m);return f(u(p,l,h+1))})});return i?o(0).then(p=>i(null,p),i):o(0)},lg=(t,e)=>{e=e||{};let{pathEnv:i,pathExt:s,pathExtExe:n}=Mp(t,e),r=[];for(let a=0;a<i.length;a++){let o=i[a],u=/^".*"$/.test(o)?o.slice(1,-1):o,p=Tp.join(u,t),l=!u&&/^\.[\\\/]/.test(t)?t.slice(0,2)+p:p;for(let h=0;h<s.length;h++){let f=l+s[h];try{if(Fp.sync(f,{pathExt:n}))if(e.all)r.push(f);else return f}catch{}}}if(e.all&&r.length)return r;if(e.nothrow)return null;throw jp(t)};Dp.exports=Bp;Bp.sync=lg});var Up=y((V1,Xr)=>{"use strict";var Vp=(t={})=>{let e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};Xr.exports=Vp;Xr.exports.default=Vp});var Wp=y((U1,Gp)=>{"use strict";var zp=require("path"),pg=qp(),hg=Up();function Hp(t,e){let i=t.options.env||process.env,s=process.cwd(),n=t.options.cwd!=null,r=n&&process.chdir!==void 0&&!process.chdir.disabled;if(r)try{process.chdir(t.options.cwd)}catch{}let a;try{a=pg.sync(t.command,{path:i[hg({env:i})],pathExt:e?zp.delimiter:void 0})}catch{}finally{r&&process.chdir(s)}return a&&(a=zp.resolve(n?t.options.cwd:"",a)),a}function fg(t){return Hp(t)||Hp(t,!0)}Gp.exports=fg});var $p=y((z1,ea)=>{"use strict";var Zr=/([()\][%!^"`<>&|;, *?])/g;function dg(t){return t=t.replace(Zr,"^$1"),t}function mg(t,e){return t=`${t}`,t=t.replace(/(\\*)"/g,'$1$1\\"'),t=t.replace(/(\\*)$/,"$1$1"),t=`"${t}"`,t=t.replace(Zr,"^$1"),e&&(t=t.replace(Zr,"^$1")),t}ea.exports.command=dg;ea.exports.argument=mg});var Jp=y((H1,Kp)=>{"use strict";Kp.exports=/^#!(.*)/});var Yp=y((G1,Qp)=>{"use strict";var xg=Jp();Qp.exports=(t="")=>{let e=t.match(xg);if(!e)return null;let[i,s]=e[0].replace(/#! ?/,"").split(" "),n=i.split("/").pop();return n==="env"?s:s?`${n} ${s}`:n}});var Zp=y((W1,Xp)=>{"use strict";var ta=require("fs"),vg=Yp();function gg(t){let i=Buffer.alloc(150),s;try{s=ta.openSync(t,"r"),ta.readSync(s,i,0,150,0),ta.closeSync(s)}catch{}return vg(i.toString())}Xp.exports=gg});var sh=y(($1,ih)=>{"use strict";var bg=require("path"),eh=Wp(),th=$p(),yg=Zp(),wg=process.platform==="win32",_g=/\.(?:com|exe)$/i,Cg=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Sg(t){t.file=eh(t);let e=t.file&&yg(t.file);return e?(t.args.unshift(t.file),t.command=e,eh(t)):t.file}function kg(t){if(!wg)return t;let e=Sg(t),i=!_g.test(e);if(t.options.forceShell||i){let s=Cg.test(e);t.command=bg.normalize(t.command),t.command=th.command(t.command),t.args=t.args.map(r=>th.argument(r,s));let n=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${n}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}function Eg(t,e,i){e&&!Array.isArray(e)&&(i=e,e=null),e=e?e.slice(0):[],i=Object.assign({},i);let s={command:t,args:e,options:i,file:void 0,original:{command:t,args:e}};return i.shell?s:kg(s)}ih.exports=Eg});var ah=y((K1,rh)=>{"use strict";var ia=process.platform==="win32";function sa(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function Ag(t,e){if(!ia)return;let i=t.emit;t.emit=function(s,n){if(s==="exit"){let r=nh(n,e,"spawn");if(r)return i.call(t,"error",r)}return i.apply(t,arguments)}}function nh(t,e){return ia&&t===1&&!e.file?sa(e.original,"spawn"):null}function Og(t,e){return ia&&t===1&&!e.file?sa(e.original,"spawnSync"):null}rh.exports={hookChildProcess:Ag,verifyENOENT:nh,verifyENOENTSync:Og,notFoundError:sa}});var uh=y((J1,Jt)=>{"use strict";var oh=require("child_process"),na=sh(),ra=ah();function ch(t,e,i){let s=na(t,e,i),n=oh.spawn(s.command,s.args,s.options);return ra.hookChildProcess(n,s),n}function Ng(t,e,i){let s=na(t,e,i),n=oh.spawnSync(s.command,s.args,s.options);return n.error=n.error||ra.verifyENOENTSync(n.status,s),n}Jt.exports=ch;Jt.exports.spawn=ch;Jt.exports.sync=Ng;Jt.exports._parse=na;Jt.exports._enoent=ra});var Bg={};Yt(Bg,{acorn:()=>tr,acornLoose:()=>ir,acornWalk:()=>nr,axios:()=>ss,convertSourceMap:()=>Mg,decode:()=>Sc,foregroundChild:()=>vh,mergeScriptCovs:()=>gh.mergeScriptCovs,parseCss:()=>bh.default,program:()=>wp});module.exports=Eh(Bg);var Mg=Q(ma());function Xt(t,e){return function(){return t.apply(e,arguments)}}var{toString:Fh}=Object.prototype,{getPrototypeOf:Vs}=Object,Di=(t=>e=>{let i=Fh.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),je=t=>(t=t.toLowerCase(),e=>Di(e)===t),qi=t=>e=>typeof e===t,{isArray:Ct}=Array,Zt=qi("undefined");function jh(t){return t!==null&&!Zt(t)&&t.constructor!==null&&!Zt(t.constructor)&&ge(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var ga=je("ArrayBuffer");function Mh(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ga(t.buffer),e}var Bh=qi("string"),ge=qi("function"),ba=qi("number"),Vi=t=>t!==null&&typeof t=="object",Dh=t=>t===!0||t===!1,Bi=t=>{if(Di(t)!=="object")return!1;let e=Vs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},qh=je("Date"),Vh=je("File"),Uh=je("Blob"),zh=je("FileList"),Hh=t=>Vi(t)&&ge(t.pipe),Gh=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ge(t.append)&&((e=Di(t))==="formdata"||e==="object"&&ge(t.toString)&&t.toString()==="[object FormData]"))},Wh=je("URLSearchParams"),$h=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ei(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let s,n;if(typeof t!="object"&&(t=[t]),Ct(t))for(s=0,n=t.length;s<n;s++)e.call(null,t[s],s,t);else{let r=i?Object.getOwnPropertyNames(t):Object.keys(t),a=r.length,o;for(s=0;s<a;s++)o=r[s],e.call(null,t[o],o,t)}}function ya(t,e){e=e.toLowerCase();let i=Object.keys(t),s=i.length,n;for(;s-- >0;)if(n=i[s],e===n.toLowerCase())return n;return null}var wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_a=t=>!Zt(t)&&t!==wa;function qs(){let{caseless:t}=_a(this)&&this||{},e={},i=(s,n)=>{let r=t&&ya(e,n)||n;Bi(e[r])&&Bi(s)?e[r]=qs(e[r],s):Bi(s)?e[r]=qs({},s):Ct(s)?e[r]=s.slice():e[r]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&ei(arguments[s],i);return e}var Kh=(t,e,i,{allOwnKeys:s}={})=>(ei(e,(n,r)=>{i&&ge(n)?t[r]=Xt(n,i):t[r]=n},{allOwnKeys:s}),t),Jh=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Qh=(t,e,i,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},Yh=(t,e,i,s)=>{let n,r,a,o={};if(e=e||{},t==null)return e;do{for(n=Object.getOwnPropertyNames(t),r=n.length;r-- >0;)a=n[r],(!s||s(a,t,e))&&!o[a]&&(e[a]=t[a],o[a]=!0);t=i!==!1&&Vs(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},Xh=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;let s=t.indexOf(e,i);return s!==-1&&s===i},Zh=t=>{if(!t)return null;if(Ct(t))return t;let e=t.length;if(!ba(e))return null;let i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},ef=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Vs(Uint8Array)),tf=(t,e)=>{let s=(t&&t[Symbol.iterator]).call(t),n;for(;(n=s.next())&&!n.done;){let r=n.value;e.call(t,r[0],r[1])}},sf=(t,e)=>{let i,s=[];for(;(i=t.exec(e))!==null;)s.push(i);return s},nf=je("HTMLFormElement"),rf=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,n){return s.toUpperCase()+n}),xa=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),af=je("RegExp"),Ca=(t,e)=>{let i=Object.getOwnPropertyDescriptors(t),s={};ei(i,(n,r)=>{let a;(a=e(n,r,t))!==!1&&(s[r]=a||n)}),Object.defineProperties(t,s)},of=t=>{Ca(t,(e,i)=>{if(ge(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;let s=t[i];if(ge(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},cf=(t,e)=>{let i={},s=n=>{n.forEach(r=>{i[r]=!0})};return Ct(t)?s(t):s(String(t).split(e)),i},uf=()=>{},lf=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ds="abcdefghijklmnopqrstuvwxyz",va="0123456789",Sa={DIGIT:va,ALPHA:Ds,ALPHA_DIGIT:Ds+Ds.toUpperCase()+va},pf=(t=16,e=Sa.ALPHA_DIGIT)=>{let i="",{length:s}=e;for(;t--;)i+=e[Math.random()*s|0];return i};function hf(t){return!!(t&&ge(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}var ff=t=>{let e=new Array(10),i=(s,n)=>{if(Vi(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[n]=s;let r=Ct(s)?[]:{};return ei(s,(a,o)=>{let u=i(a,n+1);!Zt(u)&&(r[o]=u)}),e[n]=void 0,r}}return s};return i(t,0)},df=je("AsyncFunction"),mf=t=>t&&(Vi(t)||ge(t))&&ge(t.then)&&ge(t.catch),d={isArray:Ct,isArrayBuffer:ga,isBuffer:jh,isFormData:Gh,isArrayBufferView:Mh,isString:Bh,isNumber:ba,isBoolean:Dh,isObject:Vi,isPlainObject:Bi,isUndefined:Zt,isDate:qh,isFile:Vh,isBlob:Uh,isRegExp:af,isFunction:ge,isStream:Hh,isURLSearchParams:Wh,isTypedArray:ef,isFileList:zh,forEach:ei,merge:qs,extend:Kh,trim:$h,stripBOM:Jh,inherits:Qh,toFlatObject:Yh,kindOf:Di,kindOfTest:je,endsWith:Xh,toArray:Zh,forEachEntry:tf,matchAll:sf,isHTMLForm:nf,hasOwnProperty:xa,hasOwnProp:xa,reduceDescriptors:Ca,freezeMethods:of,toObjectSet:cf,toCamelCase:rf,noop:uf,toFiniteNumber:lf,findKey:ya,global:wa,isContextDefined:_a,ALPHABET:Sa,generateString:pf,isSpecCompliantForm:hf,toJSONObject:ff,isAsyncFn:df,isThenable:mf};function St(t,e,i,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),s&&(this.request=s),n&&(this.response=n)}d.inherits(St,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:d.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ka=St.prototype,Ea={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Ea[t]={value:t}});Object.defineProperties(St,Ea);Object.defineProperty(ka,"isAxiosError",{value:!0});St.from=(t,e,i,s,n,r)=>{let a=Object.create(ka);return d.toFlatObject(t,a,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),St.call(a,t.message,e,i,s,n),a.cause=t,a.name=t.name,r&&Object.assign(a,r),a};var w=St;var co=Q(oo(),1),Hi=co.default;function Xs(t){return d.isPlainObject(t)||d.isArray(t)}function lo(t){return d.endsWith(t,"[]")?t.slice(0,-2):t}function uo(t,e,i){return t?t.concat(e).map(function(n,r){return n=lo(n),!i&&r?"["+n+"]":n}).join(i?".":""):e}function Xf(t){return d.isArray(t)&&!t.some(Xs)}var Zf=d.toFlatObject(d,{},null,function(e){return/^is[A-Z]/.test(e)});function ed(t,e,i){if(!d.isObject(t))throw new TypeError("target must be an object");e=e||new(Hi||FormData),i=d.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,g){return!d.isUndefined(g[x])});let s=i.metaTokens,n=i.visitor||l,r=i.dots,a=i.indexes,u=(i.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(e);if(!d.isFunction(n))throw new TypeError("visitor must be a function");function p(m){if(m===null)return"";if(d.isDate(m))return m.toISOString();if(!u&&d.isBlob(m))throw new w("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(m)||d.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function l(m,x,g){let S=m;if(m&&!g&&typeof m=="object"){if(d.endsWith(x,"{}"))x=s?x:x.slice(0,-2),m=JSON.stringify(m);else if(d.isArray(m)&&Xf(m)||(d.isFileList(m)||d.endsWith(x,"[]"))&&(S=d.toArray(m)))return x=lo(x),S.forEach(function(R,D){!(d.isUndefined(R)||R===null)&&e.append(a===!0?uo([x],D,r):a===null?x:x+"[]",p(R))}),!1}return Xs(m)?!0:(e.append(uo(g,x,r),p(m)),!1)}let h=[],f=Object.assign(Zf,{defaultVisitor:l,convertValue:p,isVisitable:Xs});function v(m,x){if(!d.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+x.join("."));h.push(m),d.forEach(m,function(S,L){(!(d.isUndefined(S)||S===null)&&n.call(e,S,d.isString(L)?L.trim():L,x,f))===!0&&v(S,x?x.concat(L):[L])}),h.pop()}}if(!d.isObject(t))throw new TypeError("data must be an object");return v(t),e}var Qe=ed;function po(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function ho(t,e){this._pairs=[],t&&Qe(t,this,e)}var fo=ho.prototype;fo.append=function(e,i){this._pairs.push([e,i])};fo.toString=function(e){let i=e?function(s){return e.call(this,s,po)}:po;return this._pairs.map(function(n){return i(n[0])+"="+i(n[1])},"").join("&")};var mo=ho;function td(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ut(t,e,i){if(!e)return t;let s=i&&i.encode||td,n=i&&i.serialize,r;if(n?r=n(e,i):r=d.isURLSearchParams(e)?e.toString():new mo(e,i).toString(s),r){let a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}var Zs=class{constructor(){this.handlers=[]}use(e,i,s){return this.handlers.push({fulfilled:e,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){d.forEach(this.handlers,function(s){s!==null&&e(s)})}},en=Zs;var kt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var xo=Q(require("url"),1),vo=xo.default.URLSearchParams;var go={isNode:!0,classes:{URLSearchParams:vo,FormData:Hi,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};var tn={};Yt(tn,{hasBrowserEnv:()=>bo,hasStandardBrowserEnv:()=>id,hasStandardBrowserWebWorkerEnv:()=>sd});var bo=typeof window<"u"&&typeof document<"u",id=(t=>bo&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),sd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var K={...tn,...go};function sn(t,e){return Qe(t,new K.classes.URLSearchParams,Object.assign({visitor:function(i,s,n,r){return K.isNode&&d.isBuffer(i)?(this.append(s,i.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function nd(t){return d.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function rd(t){let e={},i=Object.keys(t),s,n=i.length,r;for(s=0;s<n;s++)r=i[s],e[r]=t[r];return e}function ad(t){function e(i,s,n,r){let a=i[r++];if(a==="__proto__")return!0;let o=Number.isFinite(+a),u=r>=i.length;return a=!a&&d.isArray(n)?n.length:a,u?(d.hasOwnProp(n,a)?n[a]=[n[a],s]:n[a]=s,!o):((!n[a]||!d.isObject(n[a]))&&(n[a]=[]),e(i,s,n[a],r)&&d.isArray(n[a])&&(n[a]=rd(n[a])),!o)}if(d.isFormData(t)&&d.isFunction(t.entries)){let i={};return d.forEachEntry(t,(s,n)=>{e(nd(s),n,i,0)}),i}return null}var Gi=ad;function od(t,e,i){if(d.isString(t))try{return(e||JSON.parse)(t),d.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(t)}var nn={transitional:kt,adapter:["xhr","http"],transformRequest:[function(e,i){let s=i.getContentType()||"",n=s.indexOf("application/json")>-1,r=d.isObject(e);if(r&&d.isHTMLForm(e)&&(e=new FormData(e)),d.isFormData(e))return n&&n?JSON.stringify(Gi(e)):e;if(d.isArrayBuffer(e)||d.isBuffer(e)||d.isStream(e)||d.isFile(e)||d.isBlob(e))return e;if(d.isArrayBufferView(e))return e.buffer;if(d.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return sn(e,this.formSerializer).toString();if((o=d.isFileList(e))||s.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Qe(o?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||n?(i.setContentType("application/json",!1),od(e)):e}],transformResponse:[function(e){let i=this.transitional||nn.transitional,s=i&&i.forcedJSONParsing,n=this.responseType==="json";if(e&&d.isString(e)&&(s&&!this.responseType||n)){let a=!(i&&i.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?w.from(o,w.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:K.classes.FormData,Blob:K.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],t=>{nn.headers[t]={}});var Et=nn;var cd=d.toObjectSet(["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"]),yo=t=>{let e={},i,s,n;return t&&t.split(`
53
+ `)}),this}};function hp(t,e){t._hasHelpOption&&e.find(s=>s===t._helpLongFlag||s===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function fp(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let i,s="127.0.0.1",n="9229",r;return(r=e.match(/^(--inspect(-brk)?)$/))!==null?i=r[1]:(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(i=r[1],/^\d+$/.test(r[3])?n=r[3]:s=r[3]):(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(i=r[1],s=r[3],n=r[4]),i&&n!=="0"?`${i}=${s}:${parseInt(n)+1}`:e})}dp.Command=Qr});var bp=y((Pe,gp)=>{var{Argument:eg}=Rs(),{Command:xp}=mp(),{CommanderError:tg,InvalidArgumentError:vp}=Pi(),{Help:ig}=zr(),{Option:sg}=Wr();Pe=gp.exports=new xp;Pe.program=Pe;Pe.Command=xp;Pe.Option=sg;Pe.Argument=eg;Pe.Help=ig;Pe.CommanderError=tg;Pe.InvalidArgumentError=vp;Pe.InvalidOptionArgumentError=vp});var Ep=y((j1,kp)=>{kp.exports=Sp;Sp.sync=rg;var _p=require("fs");function ng(t,e){var i=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!i||(i=i.split(";"),i.indexOf("")!==-1))return!0;for(var s=0;s<i.length;s++){var n=i[s].toLowerCase();if(n&&t.substr(-n.length).toLowerCase()===n)return!0}return!1}function Cp(t,e,i){return!t.isSymbolicLink()&&!t.isFile()?!1:ng(e,i)}function Sp(t,e,i){_p.stat(t,function(s,n){i(s,s?!1:Cp(n,t,e))})}function rg(t,e){return Cp(_p.statSync(t),t,e)}});var Rp=y((M1,Lp)=>{Lp.exports=Op;Op.sync=ag;var Ap=require("fs");function Op(t,e,i){Ap.stat(t,function(s,n){i(s,s?!1:Np(n,e))})}function ag(t,e){return Np(Ap.statSync(t),e)}function Np(t,e){return t.isFile()&&og(t,e)}function og(t,e){var i=t.mode,s=t.uid,n=t.gid,r=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),a=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),o=parseInt("100",8),u=parseInt("010",8),p=parseInt("001",8),l=o|u,h=i&p||i&u&&n===a||i&o&&s===r||i&l&&r===0;return h}});var Pp=y((D1,Ip)=>{var B1=require("fs"),Ps;process.platform==="win32"||global.TESTING_WINDOWS?Ps=Ep():Ps=Rp();Ip.exports=Yr;Yr.sync=cg;function Yr(t,e,i){if(typeof e=="function"&&(i=e,e={}),!i){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,n){Yr(t,e||{},function(r,a){r?n(r):s(a)})})}Ps(t,e||{},function(s,n){s&&(s.code==="EACCES"||e&&e.ignoreErrors)&&(s=null,n=!1),i(s,n)})}function cg(t,e){try{return Ps.sync(t,e||{})}catch(i){if(e&&e.ignoreErrors||i.code==="EACCES")return!1;throw i}}});var qp=y((q1,Dp)=>{var Kt=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Tp=require("path"),ug=Kt?";":":",Fp=Pp(),jp=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),Mp=(t,e)=>{let i=e.colon||ug,s=t.match(/\//)||Kt&&t.match(/\\/)?[""]:[...Kt?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(i)],n=Kt?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=Kt?n.split(i):[""];return Kt&&t.indexOf(".")!==-1&&r[0]!==""&&r.unshift(""),{pathEnv:s,pathExt:r,pathExtExe:n}},Bp=(t,e,i)=>{typeof e=="function"&&(i=e,e={}),e||(e={});let{pathEnv:s,pathExt:n,pathExtExe:r}=Mp(t,e),a=[],o=p=>new Promise((l,h)=>{if(p===s.length)return e.all&&a.length?l(a):h(jp(t));let f=s[p],v=/^".*"$/.test(f)?f.slice(1,-1):f,m=Tp.join(v,t),x=!v&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;l(u(x,p,0))}),u=(p,l,h)=>new Promise((f,v)=>{if(h===n.length)return f(o(l+1));let m=n[h];Fp(p+m,{pathExt:r},(x,g)=>{if(!x&&g)if(e.all)a.push(p+m);else return f(p+m);return f(u(p,l,h+1))})});return i?o(0).then(p=>i(null,p),i):o(0)},lg=(t,e)=>{e=e||{};let{pathEnv:i,pathExt:s,pathExtExe:n}=Mp(t,e),r=[];for(let a=0;a<i.length;a++){let o=i[a],u=/^".*"$/.test(o)?o.slice(1,-1):o,p=Tp.join(u,t),l=!u&&/^\.[\\\/]/.test(t)?t.slice(0,2)+p:p;for(let h=0;h<s.length;h++){let f=l+s[h];try{if(Fp.sync(f,{pathExt:n}))if(e.all)r.push(f);else return f}catch{}}}if(e.all&&r.length)return r;if(e.nothrow)return null;throw jp(t)};Dp.exports=Bp;Bp.sync=lg});var Up=y((V1,Xr)=>{"use strict";var Vp=(t={})=>{let e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};Xr.exports=Vp;Xr.exports.default=Vp});var Wp=y((U1,Gp)=>{"use strict";var zp=require("path"),pg=qp(),hg=Up();function Hp(t,e){let i=t.options.env||process.env,s=process.cwd(),n=t.options.cwd!=null,r=n&&process.chdir!==void 0&&!process.chdir.disabled;if(r)try{process.chdir(t.options.cwd)}catch{}let a;try{a=pg.sync(t.command,{path:i[hg({env:i})],pathExt:e?zp.delimiter:void 0})}catch{}finally{r&&process.chdir(s)}return a&&(a=zp.resolve(n?t.options.cwd:"",a)),a}function fg(t){return Hp(t)||Hp(t,!0)}Gp.exports=fg});var $p=y((z1,ea)=>{"use strict";var Zr=/([()\][%!^"`<>&|;, *?])/g;function dg(t){return t=t.replace(Zr,"^$1"),t}function mg(t,e){return t=`${t}`,t=t.replace(/(\\*)"/g,'$1$1\\"'),t=t.replace(/(\\*)$/,"$1$1"),t=`"${t}"`,t=t.replace(Zr,"^$1"),e&&(t=t.replace(Zr,"^$1")),t}ea.exports.command=dg;ea.exports.argument=mg});var Jp=y((H1,Kp)=>{"use strict";Kp.exports=/^#!(.*)/});var Yp=y((G1,Qp)=>{"use strict";var xg=Jp();Qp.exports=(t="")=>{let e=t.match(xg);if(!e)return null;let[i,s]=e[0].replace(/#! ?/,"").split(" "),n=i.split("/").pop();return n==="env"?s:s?`${n} ${s}`:n}});var Zp=y((W1,Xp)=>{"use strict";var ta=require("fs"),vg=Yp();function gg(t){let i=Buffer.alloc(150),s;try{s=ta.openSync(t,"r"),ta.readSync(s,i,0,150,0),ta.closeSync(s)}catch{}return vg(i.toString())}Xp.exports=gg});var sh=y(($1,ih)=>{"use strict";var bg=require("path"),eh=Wp(),th=$p(),yg=Zp(),wg=process.platform==="win32",_g=/\.(?:com|exe)$/i,Cg=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Sg(t){t.file=eh(t);let e=t.file&&yg(t.file);return e?(t.args.unshift(t.file),t.command=e,eh(t)):t.file}function kg(t){if(!wg)return t;let e=Sg(t),i=!_g.test(e);if(t.options.forceShell||i){let s=Cg.test(e);t.command=bg.normalize(t.command),t.command=th.command(t.command),t.args=t.args.map(r=>th.argument(r,s));let n=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${n}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}function Eg(t,e,i){e&&!Array.isArray(e)&&(i=e,e=null),e=e?e.slice(0):[],i=Object.assign({},i);let s={command:t,args:e,options:i,file:void 0,original:{command:t,args:e}};return i.shell?s:kg(s)}ih.exports=Eg});var ah=y((K1,rh)=>{"use strict";var ia=process.platform==="win32";function sa(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function Ag(t,e){if(!ia)return;let i=t.emit;t.emit=function(s,n){if(s==="exit"){let r=nh(n,e,"spawn");if(r)return i.call(t,"error",r)}return i.apply(t,arguments)}}function nh(t,e){return ia&&t===1&&!e.file?sa(e.original,"spawn"):null}function Og(t,e){return ia&&t===1&&!e.file?sa(e.original,"spawnSync"):null}rh.exports={hookChildProcess:Ag,verifyENOENT:nh,verifyENOENTSync:Og,notFoundError:sa}});var uh=y((J1,Jt)=>{"use strict";var oh=require("child_process"),na=sh(),ra=ah();function ch(t,e,i){let s=na(t,e,i),n=oh.spawn(s.command,s.args,s.options);return ra.hookChildProcess(n,s),n}function Ng(t,e,i){let s=na(t,e,i),n=oh.spawnSync(s.command,s.args,s.options);return n.error=n.error||ra.verifyENOENTSync(n.status,s),n}Jt.exports=ch;Jt.exports.spawn=ch;Jt.exports.sync=Ng;Jt.exports._parse=na;Jt.exports._enoent=ra});var Bg={};Yt(Bg,{acorn:()=>tr,acornLoose:()=>ir,acornWalk:()=>nr,axios:()=>ss,convertSourceMap:()=>Mg,decode:()=>Sc,foregroundChild:()=>vh,mergeScriptCovs:()=>gh.mergeScriptCovs,parseCss:()=>bh.default,program:()=>wp});module.exports=Eh(Bg);var Mg=Q(ma());function Xt(t,e){return function(){return t.apply(e,arguments)}}var{toString:Fh}=Object.prototype,{getPrototypeOf:Vs}=Object,Di=(t=>e=>{let i=Fh.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),je=t=>(t=t.toLowerCase(),e=>Di(e)===t),qi=t=>e=>typeof e===t,{isArray:Ct}=Array,Zt=qi("undefined");function jh(t){return t!==null&&!Zt(t)&&t.constructor!==null&&!Zt(t.constructor)&&ge(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var ga=je("ArrayBuffer");function Mh(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ga(t.buffer),e}var Bh=qi("string"),ge=qi("function"),ba=qi("number"),Vi=t=>t!==null&&typeof t=="object",Dh=t=>t===!0||t===!1,Bi=t=>{if(Di(t)!=="object")return!1;let e=Vs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},qh=je("Date"),Vh=je("File"),Uh=je("Blob"),zh=je("FileList"),Hh=t=>Vi(t)&&ge(t.pipe),Gh=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ge(t.append)&&((e=Di(t))==="formdata"||e==="object"&&ge(t.toString)&&t.toString()==="[object FormData]"))},Wh=je("URLSearchParams"),$h=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ei(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let s,n;if(typeof t!="object"&&(t=[t]),Ct(t))for(s=0,n=t.length;s<n;s++)e.call(null,t[s],s,t);else{let r=i?Object.getOwnPropertyNames(t):Object.keys(t),a=r.length,o;for(s=0;s<a;s++)o=r[s],e.call(null,t[o],o,t)}}function ya(t,e){e=e.toLowerCase();let i=Object.keys(t),s=i.length,n;for(;s-- >0;)if(n=i[s],e===n.toLowerCase())return n;return null}var wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_a=t=>!Zt(t)&&t!==wa;function qs(){let{caseless:t}=_a(this)&&this||{},e={},i=(s,n)=>{let r=t&&ya(e,n)||n;Bi(e[r])&&Bi(s)?e[r]=qs(e[r],s):Bi(s)?e[r]=qs({},s):Ct(s)?e[r]=s.slice():e[r]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&ei(arguments[s],i);return e}var Kh=(t,e,i,{allOwnKeys:s}={})=>(ei(e,(n,r)=>{i&&ge(n)?t[r]=Xt(n,i):t[r]=n},{allOwnKeys:s}),t),Jh=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Qh=(t,e,i,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},Yh=(t,e,i,s)=>{let n,r,a,o={};if(e=e||{},t==null)return e;do{for(n=Object.getOwnPropertyNames(t),r=n.length;r-- >0;)a=n[r],(!s||s(a,t,e))&&!o[a]&&(e[a]=t[a],o[a]=!0);t=i!==!1&&Vs(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},Xh=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;let s=t.indexOf(e,i);return s!==-1&&s===i},Zh=t=>{if(!t)return null;if(Ct(t))return t;let e=t.length;if(!ba(e))return null;let i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},ef=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Vs(Uint8Array)),tf=(t,e)=>{let s=(t&&t[Symbol.iterator]).call(t),n;for(;(n=s.next())&&!n.done;){let r=n.value;e.call(t,r[0],r[1])}},sf=(t,e)=>{let i,s=[];for(;(i=t.exec(e))!==null;)s.push(i);return s},nf=je("HTMLFormElement"),rf=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,n){return s.toUpperCase()+n}),xa=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),af=je("RegExp"),Ca=(t,e)=>{let i=Object.getOwnPropertyDescriptors(t),s={};ei(i,(n,r)=>{let a;(a=e(n,r,t))!==!1&&(s[r]=a||n)}),Object.defineProperties(t,s)},of=t=>{Ca(t,(e,i)=>{if(ge(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;let s=t[i];if(ge(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},cf=(t,e)=>{let i={},s=n=>{n.forEach(r=>{i[r]=!0})};return Ct(t)?s(t):s(String(t).split(e)),i},uf=()=>{},lf=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ds="abcdefghijklmnopqrstuvwxyz",va="0123456789",Sa={DIGIT:va,ALPHA:Ds,ALPHA_DIGIT:Ds+Ds.toUpperCase()+va},pf=(t=16,e=Sa.ALPHA_DIGIT)=>{let i="",{length:s}=e;for(;t--;)i+=e[Math.random()*s|0];return i};function hf(t){return!!(t&&ge(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}var ff=t=>{let e=new Array(10),i=(s,n)=>{if(Vi(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[n]=s;let r=Ct(s)?[]:{};return ei(s,(a,o)=>{let u=i(a,n+1);!Zt(u)&&(r[o]=u)}),e[n]=void 0,r}}return s};return i(t,0)},df=je("AsyncFunction"),mf=t=>t&&(Vi(t)||ge(t))&&ge(t.then)&&ge(t.catch),d={isArray:Ct,isArrayBuffer:ga,isBuffer:jh,isFormData:Gh,isArrayBufferView:Mh,isString:Bh,isNumber:ba,isBoolean:Dh,isObject:Vi,isPlainObject:Bi,isUndefined:Zt,isDate:qh,isFile:Vh,isBlob:Uh,isRegExp:af,isFunction:ge,isStream:Hh,isURLSearchParams:Wh,isTypedArray:ef,isFileList:zh,forEach:ei,merge:qs,extend:Kh,trim:$h,stripBOM:Jh,inherits:Qh,toFlatObject:Yh,kindOf:Di,kindOfTest:je,endsWith:Xh,toArray:Zh,forEachEntry:tf,matchAll:sf,isHTMLForm:nf,hasOwnProperty:xa,hasOwnProp:xa,reduceDescriptors:Ca,freezeMethods:of,toObjectSet:cf,toCamelCase:rf,noop:uf,toFiniteNumber:lf,findKey:ya,global:wa,isContextDefined:_a,ALPHABET:Sa,generateString:pf,isSpecCompliantForm:hf,toJSONObject:ff,isAsyncFn:df,isThenable:mf};function St(t,e,i,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),s&&(this.request=s),n&&(this.response=n)}d.inherits(St,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:d.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ka=St.prototype,Ea={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Ea[t]={value:t}});Object.defineProperties(St,Ea);Object.defineProperty(ka,"isAxiosError",{value:!0});St.from=(t,e,i,s,n,r)=>{let a=Object.create(ka);return d.toFlatObject(t,a,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),St.call(a,t.message,e,i,s,n),a.cause=t,a.name=t.name,r&&Object.assign(a,r),a};var w=St;var co=Q(oo(),1),Hi=co.default;function Xs(t){return d.isPlainObject(t)||d.isArray(t)}function lo(t){return d.endsWith(t,"[]")?t.slice(0,-2):t}function uo(t,e,i){return t?t.concat(e).map(function(n,r){return n=lo(n),!i&&r?"["+n+"]":n}).join(i?".":""):e}function Xf(t){return d.isArray(t)&&!t.some(Xs)}var Zf=d.toFlatObject(d,{},null,function(e){return/^is[A-Z]/.test(e)});function ed(t,e,i){if(!d.isObject(t))throw new TypeError("target must be an object");e=e||new(Hi||FormData),i=d.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,g){return!d.isUndefined(g[x])});let s=i.metaTokens,n=i.visitor||l,r=i.dots,a=i.indexes,u=(i.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(e);if(!d.isFunction(n))throw new TypeError("visitor must be a function");function p(m){if(m===null)return"";if(d.isDate(m))return m.toISOString();if(!u&&d.isBlob(m))throw new w("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(m)||d.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function l(m,x,g){let S=m;if(m&&!g&&typeof m=="object"){if(d.endsWith(x,"{}"))x=s?x:x.slice(0,-2),m=JSON.stringify(m);else if(d.isArray(m)&&Xf(m)||(d.isFileList(m)||d.endsWith(x,"[]"))&&(S=d.toArray(m)))return x=lo(x),S.forEach(function(R,D){!(d.isUndefined(R)||R===null)&&e.append(a===!0?uo([x],D,r):a===null?x:x+"[]",p(R))}),!1}return Xs(m)?!0:(e.append(uo(g,x,r),p(m)),!1)}let h=[],f=Object.assign(Zf,{defaultVisitor:l,convertValue:p,isVisitable:Xs});function v(m,x){if(!d.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+x.join("."));h.push(m),d.forEach(m,function(S,L){(!(d.isUndefined(S)||S===null)&&n.call(e,S,d.isString(L)?L.trim():L,x,f))===!0&&v(S,x?x.concat(L):[L])}),h.pop()}}if(!d.isObject(t))throw new TypeError("data must be an object");return v(t),e}var Qe=ed;function po(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function ho(t,e){this._pairs=[],t&&Qe(t,this,e)}var fo=ho.prototype;fo.append=function(e,i){this._pairs.push([e,i])};fo.toString=function(e){let i=e?function(s){return e.call(this,s,po)}:po;return this._pairs.map(function(n){return i(n[0])+"="+i(n[1])},"").join("&")};var mo=ho;function td(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ut(t,e,i){if(!e)return t;let s=i&&i.encode||td,n=i&&i.serialize,r;if(n?r=n(e,i):r=d.isURLSearchParams(e)?e.toString():new mo(e,i).toString(s),r){let a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}var Zs=class{constructor(){this.handlers=[]}use(e,i,s){return this.handlers.push({fulfilled:e,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){d.forEach(this.handlers,function(s){s!==null&&e(s)})}},en=Zs;var kt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var xo=Q(require("url"),1),vo=xo.default.URLSearchParams;var go={isNode:!0,classes:{URLSearchParams:vo,FormData:Hi,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};var tn={};Yt(tn,{hasBrowserEnv:()=>bo,hasStandardBrowserEnv:()=>id,hasStandardBrowserWebWorkerEnv:()=>sd});var bo=typeof window<"u"&&typeof document<"u",id=(t=>bo&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),sd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var K={...tn,...go};function sn(t,e){return Qe(t,new K.classes.URLSearchParams,Object.assign({visitor:function(i,s,n,r){return K.isNode&&d.isBuffer(i)?(this.append(s,i.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function nd(t){return d.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function rd(t){let e={},i=Object.keys(t),s,n=i.length,r;for(s=0;s<n;s++)r=i[s],e[r]=t[r];return e}function ad(t){function e(i,s,n,r){let a=i[r++];if(a==="__proto__")return!0;let o=Number.isFinite(+a),u=r>=i.length;return a=!a&&d.isArray(n)?n.length:a,u?(d.hasOwnProp(n,a)?n[a]=[n[a],s]:n[a]=s,!o):((!n[a]||!d.isObject(n[a]))&&(n[a]=[]),e(i,s,n[a],r)&&d.isArray(n[a])&&(n[a]=rd(n[a])),!o)}if(d.isFormData(t)&&d.isFunction(t.entries)){let i={};return d.forEachEntry(t,(s,n)=>{e(nd(s),n,i,0)}),i}return null}var Gi=ad;function od(t,e,i){if(d.isString(t))try{return(e||JSON.parse)(t),d.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(t)}var nn={transitional:kt,adapter:["xhr","http"],transformRequest:[function(e,i){let s=i.getContentType()||"",n=s.indexOf("application/json")>-1,r=d.isObject(e);if(r&&d.isHTMLForm(e)&&(e=new FormData(e)),d.isFormData(e))return n?JSON.stringify(Gi(e)):e;if(d.isArrayBuffer(e)||d.isBuffer(e)||d.isStream(e)||d.isFile(e)||d.isBlob(e))return e;if(d.isArrayBufferView(e))return e.buffer;if(d.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return sn(e,this.formSerializer).toString();if((o=d.isFileList(e))||s.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Qe(o?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||n?(i.setContentType("application/json",!1),od(e)):e}],transformResponse:[function(e){let i=this.transitional||nn.transitional,s=i&&i.forcedJSONParsing,n=this.responseType==="json";if(e&&d.isString(e)&&(s&&!this.responseType||n)){let a=!(i&&i.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?w.from(o,w.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:K.classes.FormData,Blob:K.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],t=>{nn.headers[t]={}});var Et=nn;var cd=d.toObjectSet(["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"]),yo=t=>{let e={},i,s,n;return t&&t.split(`
54
54
  `).forEach(function(a){n=a.indexOf(":"),i=a.substring(0,n).trim().toLowerCase(),s=a.substring(n+1).trim(),!(!i||e[i]&&cd[i])&&(i==="set-cookie"?e[i]?e[i].push(s):e[i]=[s]:e[i]=e[i]?e[i]+", "+s:s)}),e};var wo=Symbol("internals");function ti(t){return t&&String(t).trim().toLowerCase()}function Wi(t){return t===!1||t==null?t:d.isArray(t)?t.map(Wi):String(t)}function ud(t){let e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,s;for(;s=i.exec(t);)e[s[1]]=s[2];return e}var ld=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function rn(t,e,i,s,n){if(d.isFunction(s))return s.call(this,e,i);if(n&&(e=i),!!d.isString(e)){if(d.isString(s))return e.indexOf(s)!==-1;if(d.isRegExp(s))return s.test(e)}}function pd(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,s)=>i.toUpperCase()+s)}function hd(t,e){let i=d.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+i,{value:function(n,r,a){return this[s].call(this,e,n,r,a)},configurable:!0})})}var At=class{constructor(e){e&&this.set(e)}set(e,i,s){let n=this;function r(o,u,p){let l=ti(u);if(!l)throw new Error("header name must be a non-empty string");let h=d.findKey(n,l);(!h||n[h]===void 0||p===!0||p===void 0&&n[h]!==!1)&&(n[h||u]=Wi(o))}let a=(o,u)=>d.forEach(o,(p,l)=>r(p,l,u));return d.isPlainObject(e)||e instanceof this.constructor?a(e,i):d.isString(e)&&(e=e.trim())&&!ld(e)?a(yo(e),i):e!=null&&r(i,e,s),this}get(e,i){if(e=ti(e),e){let s=d.findKey(this,e);if(s){let n=this[s];if(!i)return n;if(i===!0)return ud(n);if(d.isFunction(i))return i.call(this,n,s);if(d.isRegExp(i))return i.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=ti(e),e){let s=d.findKey(this,e);return!!(s&&this[s]!==void 0&&(!i||rn(this,this[s],s,i)))}return!1}delete(e,i){let s=this,n=!1;function r(a){if(a=ti(a),a){let o=d.findKey(s,a);o&&(!i||rn(s,s[o],o,i))&&(delete s[o],n=!0)}}return d.isArray(e)?e.forEach(r):r(e),n}clear(e){let i=Object.keys(this),s=i.length,n=!1;for(;s--;){let r=i[s];(!e||rn(this,this[r],r,e,!0))&&(delete this[r],n=!0)}return n}normalize(e){let i=this,s={};return d.forEach(this,(n,r)=>{let a=d.findKey(s,r);if(a){i[a]=Wi(n),delete i[r];return}let o=e?pd(r):String(r).trim();o!==r&&delete i[r],i[o]=Wi(n),s[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let i=Object.create(null);return d.forEach(this,(s,n)=>{s!=null&&s!==!1&&(i[n]=e&&d.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(`
55
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){let s=new this(e);return i.forEach(n=>s.set(n)),s}static accessor(e){let s=(this[wo]=this[wo]={accessors:{}}).accessors,n=this.prototype;function r(a){let o=ti(a);s[o]||(hd(n,a),s[o]=!0)}return d.isArray(e)?e.forEach(r):r(e),this}};At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(At.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[i]=s}}});d.freezeMethods(At);var J=At;function ii(t,e){let i=this||Et,s=e||i,n=J.from(s.headers),r=s.data;return d.forEach(t,function(o){r=o.call(i,r,n.normalize(),e?e.status:void 0)}),n.normalize(),r}function si(t){return!!(t&&t.__CANCEL__)}function _o(t,e,i){w.call(this,t??"canceled",w.ERR_CANCELED,e,i),this.name="CanceledError"}d.inherits(_o,w,{__CANCEL__:!0});var Ne=_o;function Ye(t,e,i){let s=i.config.validateStatus;!i.status||!s||s(i.status)?t(i):e(new w("Request failed with status code "+i.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function an(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function on(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function lt(t,e){return t&&!an(e)?on(t,e):e}var sc=Q(So(),1),nc=Q(require("http"),1),rc=Q(require("https"),1),ac=Q(require("util"),1),oc=Q(zo(),1),Ve=Q(require("zlib"),1);var ft="1.6.5";function ui(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var Yd=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Sn(t,e,i){let s=i&&i.Blob||K.classes.Blob,n=ui(t);if(e===void 0&&s&&(e=!0),n==="data"){t=n.length?t.slice(n.length+1):t;let r=Yd.exec(t);if(!r)throw new w("Invalid URL",w.ERR_INVALID_URL);let a=r[1],o=r[2],u=r[3],p=Buffer.from(decodeURIComponent(u),o?"base64":"utf8");if(e){if(!s)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new s([p],{type:a})}return p}throw new w("Unsupported protocol "+n,w.ERR_NOT_SUPPORT)}var dt=Q(require("stream"),1);var Go=Q(require("stream"),1);function Xd(t,e){let i=0,s=1e3/e,n=null;return function(a,o){let u=Date.now();if(a||u-i>s)return n&&(clearTimeout(n),n=null),i=u,t.apply(null,o);n||(n=setTimeout(()=>(n=null,i=Date.now(),t.apply(null,o)),s-(u-i)))}}var Ho=Xd;function Zd(t,e){t=t||10;let i=new Array(t),s=new Array(t),n=0,r=0,a;return e=e!==void 0?e:1e3,function(u){let p=Date.now(),l=s[r];a||(a=p),i[n]=u,s[n]=p;let h=r,f=0;for(;h!==n;)f+=i[h++],h=h%t;if(n=(n+1)%t,n===r&&(r=(r+1)%t),p-a<e)return;let v=l&&p-l;return v?Math.round(f*1e3/v):void 0}}var Yi=Zd;var Xi=Symbol("internals"),kn=class extends Go.default.Transform{constructor(e){e=d.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(o,u)=>!d.isUndefined(u[o])),super({readableHighWaterMark:e.chunkSize});let i=this,s=this[Xi]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},n=Yi(s.ticksRate*e.samplesCount,s.timeWindow);this.on("newListener",o=>{o==="progress"&&(s.isCaptured||(s.isCaptured=!0))});let r=0;s.updateProgress=Ho(function(){let u=s.length,p=s.bytesSeen,l=p-r;if(!l||i.destroyed)return;let h=n(l);r=p,process.nextTick(()=>{i.emit("progress",{loaded:p,total:u,progress:u?p/u:void 0,bytes:l,rate:h||void 0,estimated:h&&u&&p<=u?(u-p)/h:void 0})})},s.ticksRate);let a=()=>{s.updateProgress(!0)};this.once("end",a),this.once("error",a)}_read(e){let i=this[Xi];return i.onReadCallback&&i.onReadCallback(),super._read(e)}_transform(e,i,s){let n=this,r=this[Xi],a=r.maxRate,o=this.readableHighWaterMark,u=r.timeWindow,p=1e3/u,l=a/p,h=r.minChunkSize!==!1?Math.max(r.minChunkSize,l*.01):0;function f(m,x){let g=Buffer.byteLength(m);r.bytesSeen+=g,r.bytes+=g,r.isCaptured&&r.updateProgress(),n.push(m)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}}let v=(m,x)=>{let g=Buffer.byteLength(m),S=null,L=o,R,D=0;if(a){let q=Date.now();(!r.ts||(D=q-r.ts)>=u)&&(r.ts=q,R=l-r.bytes,r.bytes=R<0?-R:0,D=0),R=l-r.bytes}if(a){if(R<=0)return setTimeout(()=>{x(null,m)},u-D);R<L&&(L=R)}L&&g>L&&g-L>h&&(S=m.subarray(L),m=m.subarray(0,L)),f(m,S?()=>{process.nextTick(x,null,S)}:x)};v(e,function m(x,g){if(x)return s(x);g?v(g,m):s(null)})}setLength(e){return this[Xi].length=+e,this}},En=kn;var cc=Q(require("events"),1);var $o=require("util"),Ko=require("stream");var{asyncIterator:Wo}=Symbol,em=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Wo]?yield*t[Wo]():yield t},Zi=em;var tm=d.ALPHABET.ALPHA_DIGIT+"-_",li=new $o.TextEncoder,Ze=`\r
56
- `,im=li.encode(Ze),sm=2,An=class{constructor(e,i){let{escapeName:s}=this.constructor,n=d.isString(i),r=`Content-Disposition: form-data; name="${s(e)}"${!n&&i.name?`; filename="${s(i.name)}"`:""}${Ze}`;n?i=li.encode(String(i).replace(/\r?\n|\r\n?/g,Ze)):r+=`Content-Type: ${i.type||"application/octet-stream"}${Ze}`,this.headers=li.encode(r+Ze),this.contentLength=n?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+sm,this.name=e,this.value=i}async*encode(){yield this.headers;let{value:e}=this;d.isTypedArray(e)?yield e:yield*Zi(e),yield im}static escapeName(e){return String(e).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}},nm=(t,e,i)=>{let{tag:s="form-data-boundary",size:n=25,boundary:r=s+"-"+d.generateString(n,tm)}=i||{};if(!d.isFormData(t))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let a=li.encode("--"+r+Ze),o=li.encode("--"+r+"--"+Ze+Ze),u=o.byteLength,p=Array.from(t.entries()).map(([h,f])=>{let v=new An(h,f);return u+=v.size,v});u+=a.byteLength*p.length,u=d.toFiniteNumber(u);let l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(l["Content-Length"]=u),e&&e(l),Ko.Readable.from(async function*(){for(let h of p)yield a,yield*h.encode();yield o}())},Jo=nm;var Qo=Q(require("stream"),1),On=class extends Qo.default.Transform{__transform(e,i,s){this.push(e),s()}_transform(e,i,s){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,i)}this.__transform(e,i,s)}},Yo=On;var rm=(t,e)=>d.isAsyncFn(t)?function(...i){let s=i.pop();t.apply(this,i).then(n=>{try{e?s(null,...e(n)):s(null,n)}catch(r){s(r)}},s)}:t,Xo=rm;var Zo={flush:Ve.default.constants.Z_SYNC_FLUSH,finishFlush:Ve.default.constants.Z_SYNC_FLUSH},am={flush:Ve.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ve.default.constants.BROTLI_OPERATION_FLUSH},ec=d.isFunction(Ve.default.createBrotliDecompress),{http:om,https:cm}=oc.default,um=/https:?/,tc=K.protocols.map(t=>t+":");function lm(t){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t)}function uc(t,e,i){let s=e;if(!s&&s!==!1){let n=(0,sc.getProxyForUrl)(i);n&&(s=new URL(n))}if(s){if(s.username&&(s.auth=(s.username||"")+":"+(s.password||"")),s.auth){(s.auth.username||s.auth.password)&&(s.auth=(s.auth.username||"")+":"+(s.auth.password||""));let r=Buffer.from(s.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+r}t.headers.host=t.hostname+(t.port?":"+t.port:"");let n=s.hostname||s.host;t.hostname=n,t.host=n,t.port=s.port,t.path=i,s.protocol&&(t.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`)}t.beforeRedirects.proxy=function(r){uc(r,e,r.href)}}var pm=typeof process<"u"&&d.kindOf(process)==="process",hm=t=>new Promise((e,i)=>{let s,n,r=(u,p)=>{n||(n=!0,s&&s(u,p))},a=u=>{r(u),e(u)},o=u=>{r(u,!0),i(u)};t(a,o,u=>s=u).catch(o)}),fm=({address:t,family:e})=>{if(!d.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},ic=(t,e)=>fm(d.isObject(t)?t:{address:t,family:e}),lc=pm&&function(e){return hm(async function(s,n,r){let{data:a,lookup:o,family:u}=e,{responseType:p,responseEncoding:l}=e,h=e.method.toUpperCase(),f,v=!1,m;if(o){let A=Xo(o,O=>d.isArray(O)?O:[O]);o=(O,ne,ct)=>{A(O,ne,(Z,Je,Ms)=>{if(Z)return ct(Z);let Fe=d.isArray(Je)?Je.map(Ae=>ic(Ae)):[ic(Je,Ms)];ne.all?ct(Z,Fe):ct(Z,Fe[0].address,Fe[0].family)})}}let x=new cc.default,g=()=>{e.cancelToken&&e.cancelToken.unsubscribe(S),e.signal&&e.signal.removeEventListener("abort",S),x.removeAllListeners()};r((A,O)=>{f=!0,O&&(v=!0,g())});function S(A){x.emit("abort",!A||A.type?new Ne(null,e,m):A)}x.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(S),e.signal&&(e.signal.aborted?S():e.signal.addEventListener("abort",S)));let L=lt(e.baseURL,e.url),R=new URL(L,"http://localhost"),D=R.protocol||tc[0];if(D==="data:"){let A;if(h!=="GET")return Ye(s,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{A=Sn(e.url,p==="blob",{Blob:e.env&&e.env.Blob})}catch(O){throw w.from(O,w.ERR_BAD_REQUEST,e)}return p==="text"?(A=A.toString(l),(!l||l==="utf8")&&(A=d.stripBOM(A))):p==="stream"&&(A=dt.default.Readable.from(A)),Ye(s,n,{data:A,status:200,statusText:"OK",headers:new J,config:e})}if(tc.indexOf(D)===-1)return n(new w("Unsupported protocol "+D,w.ERR_BAD_REQUEST,e));let q=J.from(e.headers).normalize();q.set("User-Agent","axios/"+ft,!1);let le=e.onDownloadProgress,ot=e.onUploadProgress,pe=e.maxRate,Te,_t;if(d.isSpecCompliantForm(a)){let A=q.getContentType(/boundary=([-_\w\d]{10,70})/i);a=Jo(a,O=>{q.set(O)},{tag:`axios-${ft}-boundary`,boundary:A&&A[1]||void 0})}else if(d.isFormData(a)&&d.isFunction(a.getHeaders)){if(q.set(a.getHeaders()),!q.hasContentLength())try{let A=await ac.default.promisify(a.getLength).call(a);Number.isFinite(A)&&A>=0&&q.setContentLength(A)}catch{}}else if(d.isBlob(a))a.size&&q.setContentType(a.type||"application/octet-stream"),q.setContentLength(a.size||0),a=dt.default.Readable.from(Zi(a));else if(a&&!d.isStream(a)){if(!Buffer.isBuffer(a))if(d.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(d.isString(a))a=Buffer.from(a,"utf-8");else return n(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(q.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let yh=d.toFiniteNumber(q.getContentLength());d.isArray(pe)?(Te=pe[0],_t=pe[1]):Te=_t=pe,a&&(ot||Te)&&(d.isStream(a)||(a=dt.default.Readable.from(a,{objectMode:!1})),a=dt.default.pipeline([a,new En({length:yh,maxRate:d.toFiniteNumber(Te)})],d.noop),ot&&a.on("progress",A=>{ot(Object.assign(A,{upload:!0}))}));let Qt;if(e.auth){let A=e.auth.username||"",O=e.auth.password||"";Qt=A+":"+O}if(!Qt&&R.username){let A=R.username,O=R.password;Qt=A+":"+O}Qt&&q.delete("authorization");let ha;try{ha=ut(R.pathname+R.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(A){let O=new Error(A.message);return O.config=e,O.url=e.url,O.exists=!0,n(O)}q.set("Accept-Encoding","gzip, compress, deflate"+(ec?", br":""),!1);let he={path:ha,method:h,headers:q.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:Qt,protocol:D,family:u,beforeRedirect:lm,beforeRedirects:{}};!d.isUndefined(o)&&(he.lookup=o),e.socketPath?he.socketPath=e.socketPath:(he.hostname=R.hostname,he.port=R.port,uc(he,e.proxy,D+"//"+R.hostname+(R.port?":"+R.port:"")+he.path));let Ti,js=um.test(he.protocol);if(he.agent=js?e.httpsAgent:e.httpAgent,e.transport?Ti=e.transport:e.maxRedirects===0?Ti=js?rc.default:nc.default:(e.maxRedirects&&(he.maxRedirects=e.maxRedirects),e.beforeRedirect&&(he.beforeRedirects.config=e.beforeRedirect),Ti=js?cm:om),e.maxBodyLength>-1?he.maxBodyLength=e.maxBodyLength:he.maxBodyLength=1/0,e.insecureHTTPParser&&(he.insecureHTTPParser=e.insecureHTTPParser),m=Ti.request(he,function(O){if(m.destroyed)return;let ne=[O],ct=+O.headers["content-length"];if(le){let Ae=new En({length:d.toFiniteNumber(ct),maxRate:d.toFiniteNumber(_t)});le&&Ae.on("progress",Fi=>{le(Object.assign(Fi,{download:!0}))}),ne.push(Ae)}let Z=O,Je=O.req||m;if(e.decompress!==!1&&O.headers["content-encoding"])switch((h==="HEAD"||O.statusCode===204)&&delete O.headers["content-encoding"],(O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ne.push(Ve.default.createUnzip(Zo)),delete O.headers["content-encoding"];break;case"deflate":ne.push(new Yo),ne.push(Ve.default.createUnzip(Zo)),delete O.headers["content-encoding"];break;case"br":ec&&(ne.push(Ve.default.createBrotliDecompress(am)),delete O.headers["content-encoding"])}Z=ne.length>1?dt.default.pipeline(ne,d.noop):ne[0];let Ms=dt.default.finished(Z,()=>{Ms(),g()}),Fe={status:O.statusCode,statusText:O.statusMessage,headers:new J(O.headers),config:e,request:Je};if(p==="stream")Fe.data=Z,Ye(s,n,Fe);else{let Ae=[],Fi=0;Z.on("data",function(ae){Ae.push(ae),Fi+=ae.length,e.maxContentLength>-1&&Fi>e.maxContentLength&&(v=!0,Z.destroy(),n(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,Je)))}),Z.on("aborted",function(){if(v)return;let ae=new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,Je);Z.destroy(ae),n(ae)}),Z.on("error",function(ae){m.destroyed||n(w.from(ae,null,e,Je))}),Z.on("end",function(){try{let ae=Ae.length===1?Ae[0]:Buffer.concat(Ae);p!=="arraybuffer"&&(ae=ae.toString(l),(!l||l==="utf8")&&(ae=d.stripBOM(ae))),Fe.data=ae}catch(ae){return n(w.from(ae,null,e,Fe.request,Fe))}Ye(s,n,Fe)})}x.once("abort",Ae=>{Z.destroyed||(Z.emit("error",Ae),Z.destroy())})}),x.once("abort",A=>{n(A),m.destroy(A)}),m.on("error",function(O){n(w.from(O,null,e,m))}),m.on("socket",function(O){O.setKeepAlive(!0,1e3*60)}),e.timeout){let A=parseInt(e.timeout,10);if(Number.isNaN(A)){n(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,m));return}m.setTimeout(A,function(){if(f)return;let ne=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",ct=e.transitional||kt;e.timeoutErrorMessage&&(ne=e.timeoutErrorMessage),n(new w(ne,ct.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,m)),S()})}if(d.isStream(a)){let A=!1,O=!1;a.on("end",()=>{A=!0}),a.once("error",ne=>{O=!0,m.destroy(ne)}),a.on("close",()=>{!A&&!O&&S(new Ne("Request stream has been aborted",e,m))}),a.pipe(m)}else m.end(a)})};var pc=K.hasStandardBrowserEnv?{write(t,e,i,s,n,r){let a=[t+"="+encodeURIComponent(e)];d.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),d.isString(s)&&a.push("path="+s),d.isString(n)&&a.push("domain="+n),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};var hc=K.hasStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),s;function n(r){let a=r;return e&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return s=n(window.location.href),function(a){let o=d.isString(a)?n(a):a;return o.protocol===s.protocol&&o.host===s.host}}():function(){return function(){return!0}}();function fc(t,e){let i=0,s=Yi(50,250);return n=>{let r=n.loaded,a=n.lengthComputable?n.total:void 0,o=r-i,u=s(o),p=r<=a;i=r;let l={loaded:r,total:a,progress:a?r/a:void 0,bytes:o,rate:u||void 0,estimated:u&&a&&p?(a-r)/u:void 0,event:n};l[e?"download":"upload"]=!0,t(l)}}var dm=typeof XMLHttpRequest<"u",dc=dm&&function(t){return new Promise(function(i,s){let n=t.data,r=J.from(t.headers).normalize(),{responseType:a,withXSRFToken:o}=t,u;function p(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}let l;if(d.isFormData(n)){if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((l=r.getContentType())!==!1){let[x,...g]=l?l.split(";").map(S=>S.trim()).filter(Boolean):[];r.setContentType([x||"multipart/form-data",...g].join("; "))}}let h=new XMLHttpRequest;if(t.auth){let x=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(x+":"+g))}let f=lt(t.baseURL,t.url);h.open(t.method.toUpperCase(),ut(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function v(){if(!h)return;let x=J.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:x,config:t,request:h};Ye(function(R){i(R),p()},function(R){s(R),p()},S),h=null}if("onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(v)},h.onabort=function(){h&&(s(new w("Request aborted",w.ECONNABORTED,t,h)),h=null)},h.onerror=function(){s(new w("Network Error",w.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",S=t.transitional||kt;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new w(g,S.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,h)),h=null},K.hasStandardBrowserEnv&&(o&&d.isFunction(o)&&(o=o(t)),o||o!==!1&&hc(f))){let x=t.xsrfHeaderName&&t.xsrfCookieName&&pc.read(t.xsrfCookieName);x&&r.set(t.xsrfHeaderName,x)}n===void 0&&r.setContentType(null),"setRequestHeader"in h&&d.forEach(r.toJSON(),function(g,S){h.setRequestHeader(S,g)}),d.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",fc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",fc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(u=x=>{h&&(s(!x||x.type?new Ne(null,t,h):x),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u)));let m=ui(f);if(m&&K.protocols.indexOf(m)===-1){s(new w("Unsupported protocol "+m+":",w.ERR_BAD_REQUEST,t));return}h.send(n||null)})};var Nn={http:lc,xhr:dc};d.forEach(Nn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var mc=t=>`- ${t}`,mm=t=>d.isFunction(t)||t===null||t===!1,es={getAdapter:t=>{t=d.isArray(t)?t:[t];let{length:e}=t,i,s,n={};for(let r=0;r<e;r++){i=t[r];let a;if(s=i,!mm(i)&&(s=Nn[(a=String(i)).toLowerCase()],s===void 0))throw new w(`Unknown adapter '${a}'`);if(s)break;n[a||"#"+r]=s}if(!s){let r=Object.entries(n).map(([o,u])=>`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build")),a=e?r.length>1?`since :
55
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){let s=new this(e);return i.forEach(n=>s.set(n)),s}static accessor(e){let s=(this[wo]=this[wo]={accessors:{}}).accessors,n=this.prototype;function r(a){let o=ti(a);s[o]||(hd(n,a),s[o]=!0)}return d.isArray(e)?e.forEach(r):r(e),this}};At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(At.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[i]=s}}});d.freezeMethods(At);var J=At;function ii(t,e){let i=this||Et,s=e||i,n=J.from(s.headers),r=s.data;return d.forEach(t,function(o){r=o.call(i,r,n.normalize(),e?e.status:void 0)}),n.normalize(),r}function si(t){return!!(t&&t.__CANCEL__)}function _o(t,e,i){w.call(this,t??"canceled",w.ERR_CANCELED,e,i),this.name="CanceledError"}d.inherits(_o,w,{__CANCEL__:!0});var Ne=_o;function Ye(t,e,i){let s=i.config.validateStatus;!i.status||!s||s(i.status)?t(i):e(new w("Request failed with status code "+i.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function an(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function on(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function lt(t,e){return t&&!an(e)?on(t,e):e}var sc=Q(So(),1),nc=Q(require("http"),1),rc=Q(require("https"),1),ac=Q(require("util"),1),oc=Q(zo(),1),Ve=Q(require("zlib"),1);var ft="1.6.7";function ui(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var Yd=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Sn(t,e,i){let s=i&&i.Blob||K.classes.Blob,n=ui(t);if(e===void 0&&s&&(e=!0),n==="data"){t=n.length?t.slice(n.length+1):t;let r=Yd.exec(t);if(!r)throw new w("Invalid URL",w.ERR_INVALID_URL);let a=r[1],o=r[2],u=r[3],p=Buffer.from(decodeURIComponent(u),o?"base64":"utf8");if(e){if(!s)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new s([p],{type:a})}return p}throw new w("Unsupported protocol "+n,w.ERR_NOT_SUPPORT)}var dt=Q(require("stream"),1);var Go=Q(require("stream"),1);function Xd(t,e){let i=0,s=1e3/e,n=null;return function(a,o){let u=Date.now();if(a||u-i>s)return n&&(clearTimeout(n),n=null),i=u,t.apply(null,o);n||(n=setTimeout(()=>(n=null,i=Date.now(),t.apply(null,o)),s-(u-i)))}}var Ho=Xd;function Zd(t,e){t=t||10;let i=new Array(t),s=new Array(t),n=0,r=0,a;return e=e!==void 0?e:1e3,function(u){let p=Date.now(),l=s[r];a||(a=p),i[n]=u,s[n]=p;let h=r,f=0;for(;h!==n;)f+=i[h++],h=h%t;if(n=(n+1)%t,n===r&&(r=(r+1)%t),p-a<e)return;let v=l&&p-l;return v?Math.round(f*1e3/v):void 0}}var Yi=Zd;var Xi=Symbol("internals"),kn=class extends Go.default.Transform{constructor(e){e=d.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(o,u)=>!d.isUndefined(u[o])),super({readableHighWaterMark:e.chunkSize});let i=this,s=this[Xi]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},n=Yi(s.ticksRate*e.samplesCount,s.timeWindow);this.on("newListener",o=>{o==="progress"&&(s.isCaptured||(s.isCaptured=!0))});let r=0;s.updateProgress=Ho(function(){let u=s.length,p=s.bytesSeen,l=p-r;if(!l||i.destroyed)return;let h=n(l);r=p,process.nextTick(()=>{i.emit("progress",{loaded:p,total:u,progress:u?p/u:void 0,bytes:l,rate:h||void 0,estimated:h&&u&&p<=u?(u-p)/h:void 0})})},s.ticksRate);let a=()=>{s.updateProgress(!0)};this.once("end",a),this.once("error",a)}_read(e){let i=this[Xi];return i.onReadCallback&&i.onReadCallback(),super._read(e)}_transform(e,i,s){let n=this,r=this[Xi],a=r.maxRate,o=this.readableHighWaterMark,u=r.timeWindow,p=1e3/u,l=a/p,h=r.minChunkSize!==!1?Math.max(r.minChunkSize,l*.01):0;function f(m,x){let g=Buffer.byteLength(m);r.bytesSeen+=g,r.bytes+=g,r.isCaptured&&r.updateProgress(),n.push(m)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}}let v=(m,x)=>{let g=Buffer.byteLength(m),S=null,L=o,R,D=0;if(a){let q=Date.now();(!r.ts||(D=q-r.ts)>=u)&&(r.ts=q,R=l-r.bytes,r.bytes=R<0?-R:0,D=0),R=l-r.bytes}if(a){if(R<=0)return setTimeout(()=>{x(null,m)},u-D);R<L&&(L=R)}L&&g>L&&g-L>h&&(S=m.subarray(L),m=m.subarray(0,L)),f(m,S?()=>{process.nextTick(x,null,S)}:x)};v(e,function m(x,g){if(x)return s(x);g?v(g,m):s(null)})}setLength(e){return this[Xi].length=+e,this}},En=kn;var cc=Q(require("events"),1);var $o=require("util"),Ko=require("stream");var{asyncIterator:Wo}=Symbol,em=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Wo]?yield*t[Wo]():yield t},Zi=em;var tm=d.ALPHABET.ALPHA_DIGIT+"-_",li=new $o.TextEncoder,Ze=`\r
56
+ `,im=li.encode(Ze),sm=2,An=class{constructor(e,i){let{escapeName:s}=this.constructor,n=d.isString(i),r=`Content-Disposition: form-data; name="${s(e)}"${!n&&i.name?`; filename="${s(i.name)}"`:""}${Ze}`;n?i=li.encode(String(i).replace(/\r?\n|\r\n?/g,Ze)):r+=`Content-Type: ${i.type||"application/octet-stream"}${Ze}`,this.headers=li.encode(r+Ze),this.contentLength=n?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+sm,this.name=e,this.value=i}async*encode(){yield this.headers;let{value:e}=this;d.isTypedArray(e)?yield e:yield*Zi(e),yield im}static escapeName(e){return String(e).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}},nm=(t,e,i)=>{let{tag:s="form-data-boundary",size:n=25,boundary:r=s+"-"+d.generateString(n,tm)}=i||{};if(!d.isFormData(t))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let a=li.encode("--"+r+Ze),o=li.encode("--"+r+"--"+Ze+Ze),u=o.byteLength,p=Array.from(t.entries()).map(([h,f])=>{let v=new An(h,f);return u+=v.size,v});u+=a.byteLength*p.length,u=d.toFiniteNumber(u);let l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(l["Content-Length"]=u),e&&e(l),Ko.Readable.from(async function*(){for(let h of p)yield a,yield*h.encode();yield o}())},Jo=nm;var Qo=Q(require("stream"),1),On=class extends Qo.default.Transform{__transform(e,i,s){this.push(e),s()}_transform(e,i,s){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,i)}this.__transform(e,i,s)}},Yo=On;var rm=(t,e)=>d.isAsyncFn(t)?function(...i){let s=i.pop();t.apply(this,i).then(n=>{try{e?s(null,...e(n)):s(null,n)}catch(r){s(r)}},s)}:t,Xo=rm;var Zo={flush:Ve.default.constants.Z_SYNC_FLUSH,finishFlush:Ve.default.constants.Z_SYNC_FLUSH},am={flush:Ve.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ve.default.constants.BROTLI_OPERATION_FLUSH},ec=d.isFunction(Ve.default.createBrotliDecompress),{http:om,https:cm}=oc.default,um=/https:?/,tc=K.protocols.map(t=>t+":");function lm(t,e){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t,e)}function uc(t,e,i){let s=e;if(!s&&s!==!1){let n=(0,sc.getProxyForUrl)(i);n&&(s=new URL(n))}if(s){if(s.username&&(s.auth=(s.username||"")+":"+(s.password||"")),s.auth){(s.auth.username||s.auth.password)&&(s.auth=(s.auth.username||"")+":"+(s.auth.password||""));let r=Buffer.from(s.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+r}t.headers.host=t.hostname+(t.port?":"+t.port:"");let n=s.hostname||s.host;t.hostname=n,t.host=n,t.port=s.port,t.path=i,s.protocol&&(t.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`)}t.beforeRedirects.proxy=function(r){uc(r,e,r.href)}}var pm=typeof process<"u"&&d.kindOf(process)==="process",hm=t=>new Promise((e,i)=>{let s,n,r=(u,p)=>{n||(n=!0,s&&s(u,p))},a=u=>{r(u),e(u)},o=u=>{r(u,!0),i(u)};t(a,o,u=>s=u).catch(o)}),fm=({address:t,family:e})=>{if(!d.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},ic=(t,e)=>fm(d.isObject(t)?t:{address:t,family:e}),lc=pm&&function(e){return hm(async function(s,n,r){let{data:a,lookup:o,family:u}=e,{responseType:p,responseEncoding:l}=e,h=e.method.toUpperCase(),f,v=!1,m;if(o){let A=Xo(o,O=>d.isArray(O)?O:[O]);o=(O,ne,ct)=>{A(O,ne,(Z,Je,Ms)=>{if(Z)return ct(Z);let Fe=d.isArray(Je)?Je.map(Ae=>ic(Ae)):[ic(Je,Ms)];ne.all?ct(Z,Fe):ct(Z,Fe[0].address,Fe[0].family)})}}let x=new cc.default,g=()=>{e.cancelToken&&e.cancelToken.unsubscribe(S),e.signal&&e.signal.removeEventListener("abort",S),x.removeAllListeners()};r((A,O)=>{f=!0,O&&(v=!0,g())});function S(A){x.emit("abort",!A||A.type?new Ne(null,e,m):A)}x.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(S),e.signal&&(e.signal.aborted?S():e.signal.addEventListener("abort",S)));let L=lt(e.baseURL,e.url),R=new URL(L,"http://localhost"),D=R.protocol||tc[0];if(D==="data:"){let A;if(h!=="GET")return Ye(s,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{A=Sn(e.url,p==="blob",{Blob:e.env&&e.env.Blob})}catch(O){throw w.from(O,w.ERR_BAD_REQUEST,e)}return p==="text"?(A=A.toString(l),(!l||l==="utf8")&&(A=d.stripBOM(A))):p==="stream"&&(A=dt.default.Readable.from(A)),Ye(s,n,{data:A,status:200,statusText:"OK",headers:new J,config:e})}if(tc.indexOf(D)===-1)return n(new w("Unsupported protocol "+D,w.ERR_BAD_REQUEST,e));let q=J.from(e.headers).normalize();q.set("User-Agent","axios/"+ft,!1);let le=e.onDownloadProgress,ot=e.onUploadProgress,pe=e.maxRate,Te,_t;if(d.isSpecCompliantForm(a)){let A=q.getContentType(/boundary=([-_\w\d]{10,70})/i);a=Jo(a,O=>{q.set(O)},{tag:`axios-${ft}-boundary`,boundary:A&&A[1]||void 0})}else if(d.isFormData(a)&&d.isFunction(a.getHeaders)){if(q.set(a.getHeaders()),!q.hasContentLength())try{let A=await ac.default.promisify(a.getLength).call(a);Number.isFinite(A)&&A>=0&&q.setContentLength(A)}catch{}}else if(d.isBlob(a))a.size&&q.setContentType(a.type||"application/octet-stream"),q.setContentLength(a.size||0),a=dt.default.Readable.from(Zi(a));else if(a&&!d.isStream(a)){if(!Buffer.isBuffer(a))if(d.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(d.isString(a))a=Buffer.from(a,"utf-8");else return n(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(q.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let yh=d.toFiniteNumber(q.getContentLength());d.isArray(pe)?(Te=pe[0],_t=pe[1]):Te=_t=pe,a&&(ot||Te)&&(d.isStream(a)||(a=dt.default.Readable.from(a,{objectMode:!1})),a=dt.default.pipeline([a,new En({length:yh,maxRate:d.toFiniteNumber(Te)})],d.noop),ot&&a.on("progress",A=>{ot(Object.assign(A,{upload:!0}))}));let Qt;if(e.auth){let A=e.auth.username||"",O=e.auth.password||"";Qt=A+":"+O}if(!Qt&&R.username){let A=R.username,O=R.password;Qt=A+":"+O}Qt&&q.delete("authorization");let ha;try{ha=ut(R.pathname+R.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(A){let O=new Error(A.message);return O.config=e,O.url=e.url,O.exists=!0,n(O)}q.set("Accept-Encoding","gzip, compress, deflate"+(ec?", br":""),!1);let he={path:ha,method:h,headers:q.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:Qt,protocol:D,family:u,beforeRedirect:lm,beforeRedirects:{}};!d.isUndefined(o)&&(he.lookup=o),e.socketPath?he.socketPath=e.socketPath:(he.hostname=R.hostname,he.port=R.port,uc(he,e.proxy,D+"//"+R.hostname+(R.port?":"+R.port:"")+he.path));let Ti,js=um.test(he.protocol);if(he.agent=js?e.httpsAgent:e.httpAgent,e.transport?Ti=e.transport:e.maxRedirects===0?Ti=js?rc.default:nc.default:(e.maxRedirects&&(he.maxRedirects=e.maxRedirects),e.beforeRedirect&&(he.beforeRedirects.config=e.beforeRedirect),Ti=js?cm:om),e.maxBodyLength>-1?he.maxBodyLength=e.maxBodyLength:he.maxBodyLength=1/0,e.insecureHTTPParser&&(he.insecureHTTPParser=e.insecureHTTPParser),m=Ti.request(he,function(O){if(m.destroyed)return;let ne=[O],ct=+O.headers["content-length"];if(le){let Ae=new En({length:d.toFiniteNumber(ct),maxRate:d.toFiniteNumber(_t)});le&&Ae.on("progress",Fi=>{le(Object.assign(Fi,{download:!0}))}),ne.push(Ae)}let Z=O,Je=O.req||m;if(e.decompress!==!1&&O.headers["content-encoding"])switch((h==="HEAD"||O.statusCode===204)&&delete O.headers["content-encoding"],(O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ne.push(Ve.default.createUnzip(Zo)),delete O.headers["content-encoding"];break;case"deflate":ne.push(new Yo),ne.push(Ve.default.createUnzip(Zo)),delete O.headers["content-encoding"];break;case"br":ec&&(ne.push(Ve.default.createBrotliDecompress(am)),delete O.headers["content-encoding"])}Z=ne.length>1?dt.default.pipeline(ne,d.noop):ne[0];let Ms=dt.default.finished(Z,()=>{Ms(),g()}),Fe={status:O.statusCode,statusText:O.statusMessage,headers:new J(O.headers),config:e,request:Je};if(p==="stream")Fe.data=Z,Ye(s,n,Fe);else{let Ae=[],Fi=0;Z.on("data",function(ae){Ae.push(ae),Fi+=ae.length,e.maxContentLength>-1&&Fi>e.maxContentLength&&(v=!0,Z.destroy(),n(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,Je)))}),Z.on("aborted",function(){if(v)return;let ae=new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,Je);Z.destroy(ae),n(ae)}),Z.on("error",function(ae){m.destroyed||n(w.from(ae,null,e,Je))}),Z.on("end",function(){try{let ae=Ae.length===1?Ae[0]:Buffer.concat(Ae);p!=="arraybuffer"&&(ae=ae.toString(l),(!l||l==="utf8")&&(ae=d.stripBOM(ae))),Fe.data=ae}catch(ae){return n(w.from(ae,null,e,Fe.request,Fe))}Ye(s,n,Fe)})}x.once("abort",Ae=>{Z.destroyed||(Z.emit("error",Ae),Z.destroy())})}),x.once("abort",A=>{n(A),m.destroy(A)}),m.on("error",function(O){n(w.from(O,null,e,m))}),m.on("socket",function(O){O.setKeepAlive(!0,1e3*60)}),e.timeout){let A=parseInt(e.timeout,10);if(Number.isNaN(A)){n(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,m));return}m.setTimeout(A,function(){if(f)return;let ne=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",ct=e.transitional||kt;e.timeoutErrorMessage&&(ne=e.timeoutErrorMessage),n(new w(ne,ct.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,m)),S()})}if(d.isStream(a)){let A=!1,O=!1;a.on("end",()=>{A=!0}),a.once("error",ne=>{O=!0,m.destroy(ne)}),a.on("close",()=>{!A&&!O&&S(new Ne("Request stream has been aborted",e,m))}),a.pipe(m)}else m.end(a)})};var pc=K.hasStandardBrowserEnv?{write(t,e,i,s,n,r){let a=[t+"="+encodeURIComponent(e)];d.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),d.isString(s)&&a.push("path="+s),d.isString(n)&&a.push("domain="+n),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};var hc=K.hasStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),s;function n(r){let a=r;return e&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return s=n(window.location.href),function(a){let o=d.isString(a)?n(a):a;return o.protocol===s.protocol&&o.host===s.host}}():function(){return function(){return!0}}();function fc(t,e){let i=0,s=Yi(50,250);return n=>{let r=n.loaded,a=n.lengthComputable?n.total:void 0,o=r-i,u=s(o),p=r<=a;i=r;let l={loaded:r,total:a,progress:a?r/a:void 0,bytes:o,rate:u||void 0,estimated:u&&a&&p?(a-r)/u:void 0,event:n};l[e?"download":"upload"]=!0,t(l)}}var dm=typeof XMLHttpRequest<"u",dc=dm&&function(t){return new Promise(function(i,s){let n=t.data,r=J.from(t.headers).normalize(),{responseType:a,withXSRFToken:o}=t,u;function p(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}let l;if(d.isFormData(n)){if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((l=r.getContentType())!==!1){let[x,...g]=l?l.split(";").map(S=>S.trim()).filter(Boolean):[];r.setContentType([x||"multipart/form-data",...g].join("; "))}}let h=new XMLHttpRequest;if(t.auth){let x=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(x+":"+g))}let f=lt(t.baseURL,t.url);h.open(t.method.toUpperCase(),ut(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function v(){if(!h)return;let x=J.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:x,config:t,request:h};Ye(function(R){i(R),p()},function(R){s(R),p()},S),h=null}if("onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(v)},h.onabort=function(){h&&(s(new w("Request aborted",w.ECONNABORTED,t,h)),h=null)},h.onerror=function(){s(new w("Network Error",w.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",S=t.transitional||kt;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new w(g,S.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,h)),h=null},K.hasStandardBrowserEnv&&(o&&d.isFunction(o)&&(o=o(t)),o||o!==!1&&hc(f))){let x=t.xsrfHeaderName&&t.xsrfCookieName&&pc.read(t.xsrfCookieName);x&&r.set(t.xsrfHeaderName,x)}n===void 0&&r.setContentType(null),"setRequestHeader"in h&&d.forEach(r.toJSON(),function(g,S){h.setRequestHeader(S,g)}),d.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",fc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",fc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(u=x=>{h&&(s(!x||x.type?new Ne(null,t,h):x),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u)));let m=ui(f);if(m&&K.protocols.indexOf(m)===-1){s(new w("Unsupported protocol "+m+":",w.ERR_BAD_REQUEST,t));return}h.send(n||null)})};var Nn={http:lc,xhr:dc};d.forEach(Nn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var mc=t=>`- ${t}`,mm=t=>d.isFunction(t)||t===null||t===!1,es={getAdapter:t=>{t=d.isArray(t)?t:[t];let{length:e}=t,i,s,n={};for(let r=0;r<e;r++){i=t[r];let a;if(s=i,!mm(i)&&(s=Nn[(a=String(i)).toLowerCase()],s===void 0))throw new w(`Unknown adapter '${a}'`);if(s)break;n[a||"#"+r]=s}if(!s){let r=Object.entries(n).map(([o,u])=>`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build")),a=e?r.length>1?`since :
57
57
  `+r.map(mc).join(`
58
- `):" "+mc(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:Nn};function Ln(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ne(null,t)}function ts(t){return Ln(t),t.headers=J.from(t.headers),t.data=ii.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),es.getAdapter(t.adapter||Et.adapter)(t).then(function(s){return Ln(t),s.data=ii.call(t,t.transformResponse,s),s.headers=J.from(s.headers),s},function(s){return si(s)||(Ln(t),s&&s.response&&(s.response.data=ii.call(t,t.transformResponse,s.response),s.response.headers=J.from(s.response.headers))),Promise.reject(s)})}var xc=t=>t instanceof J?t.toJSON():t;function Ue(t,e){e=e||{};let i={};function s(p,l,h){return d.isPlainObject(p)&&d.isPlainObject(l)?d.merge.call({caseless:h},p,l):d.isPlainObject(l)?d.merge({},l):d.isArray(l)?l.slice():l}function n(p,l,h){if(d.isUndefined(l)){if(!d.isUndefined(p))return s(void 0,p,h)}else return s(p,l,h)}function r(p,l){if(!d.isUndefined(l))return s(void 0,l)}function a(p,l){if(d.isUndefined(l)){if(!d.isUndefined(p))return s(void 0,p)}else return s(void 0,l)}function o(p,l,h){if(h in e)return s(p,l);if(h in t)return s(void 0,p)}let u={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(p,l)=>n(xc(p),xc(l),!0)};return d.forEach(Object.keys(Object.assign({},t,e)),function(l){let h=u[l]||n,f=h(t[l],e[l],l);d.isUndefined(f)&&h!==o||(i[l]=f)}),i}var Rn={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Rn[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});var vc={};Rn.transitional=function(e,i,s){function n(r,a){return"[Axios v"+ft+"] Transitional option '"+r+"'"+a+(s?". "+s:"")}return(r,a,o)=>{if(e===!1)throw new w(n(a," has been removed"+(i?" in "+i:"")),w.ERR_DEPRECATED);return i&&!vc[a]&&(vc[a]=!0,console.warn(n(a," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(r,a,o):!0}};function xm(t,e,i){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let s=Object.keys(t),n=s.length;for(;n-- >0;){let r=s[n],a=e[r];if(a){let o=t[r],u=o===void 0||a(o,r,t);if(u!==!0)throw new w("option "+r+" must be "+u,w.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new w("Unknown option "+r,w.ERR_BAD_OPTION)}}var is={assertOptions:xm,validators:Rn};var et=is.validators,It=class{constructor(e){this.defaults=e,this.interceptors={request:new en,response:new en}}request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=Ue(this.defaults,i);let{transitional:s,paramsSerializer:n,headers:r}=i;s!==void 0&&is.assertOptions(s,{silentJSONParsing:et.transitional(et.boolean),forcedJSONParsing:et.transitional(et.boolean),clarifyTimeoutError:et.transitional(et.boolean)},!1),n!=null&&(d.isFunction(n)?i.paramsSerializer={serialize:n}:is.assertOptions(n,{encode:et.function,serialize:et.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=r&&d.merge(r.common,r[i.method]);r&&d.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),i.headers=J.concat(a,r);let o=[],u=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(i)===!1||(u=u&&x.synchronous,o.unshift(x.fulfilled,x.rejected))});let p=[];this.interceptors.response.forEach(function(x){p.push(x.fulfilled,x.rejected)});let l,h=0,f;if(!u){let m=[ts.bind(this),void 0];for(m.unshift.apply(m,o),m.push.apply(m,p),f=m.length,l=Promise.resolve(i);h<f;)l=l.then(m[h++],m[h++]);return l}f=o.length;let v=i;for(h=0;h<f;){let m=o[h++],x=o[h++];try{v=m(v)}catch(g){x.call(this,g);break}}try{l=ts.call(this,v)}catch(m){return Promise.reject(m)}for(h=0,f=p.length;h<f;)l=l.then(p[h++],p[h++]);return l}getUri(e){e=Ue(this.defaults,e);let i=lt(e.baseURL,e.url);return ut(i,e.params,e.paramsSerializer)}};d.forEach(["delete","get","head","options"],function(e){It.prototype[e]=function(i,s){return this.request(Ue(s||{},{method:e,url:i,data:(s||{}).data}))}});d.forEach(["post","put","patch"],function(e){function i(s){return function(r,a,o){return this.request(Ue(o||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:a}))}}It.prototype[e]=i(),It.prototype[e+"Form"]=i(!0)});var pi=It;var In=class t{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(r){i=r});let s=this;this.promise.then(n=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](n);s._listeners=null}),this.promise.then=n=>{let r,a=new Promise(o=>{s.subscribe(o),r=o}).then(n);return a.cancel=function(){s.unsubscribe(r)},a},e(function(r,a,o){s.reason||(s.reason=new Ne(r,a,o),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}static source(){let e;return{token:new t(function(n){e=n}),cancel:e}}},gc=In;function Pn(t){return function(i){return t.apply(null,i)}}function Tn(t){return d.isObject(t)&&t.isAxiosError===!0}var Fn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fn).forEach(([t,e])=>{Fn[e]=t});var bc=Fn;function yc(t){let e=new pi(t),i=Xt(pi.prototype.request,e);return d.extend(i,pi.prototype,e,{allOwnKeys:!0}),d.extend(i,e,null,{allOwnKeys:!0}),i.create=function(n){return yc(Ue(t,n))},i}var W=yc(Et);W.Axios=pi;W.CanceledError=Ne;W.CancelToken=gc;W.isCancel=si;W.VERSION=ft;W.toFormData=Qe;W.AxiosError=w;W.Cancel=W.CanceledError;W.all=function(e){return Promise.all(e)};W.spread=Pn;W.isAxiosError=Tn;W.mergeConfig=Ue;W.AxiosHeaders=J;W.formToJSON=t=>Gi(d.isHTMLForm(t)?new FormData(t):t);W.getAdapter=es.getAdapter;W.HttpStatusCode=bc;W.default=W;var ss=W;var{Axios:xw,AxiosError:vw,CanceledError:gw,isCancel:bw,CancelToken:yw,VERSION:ww,all:_w,Cancel:Cw,isAxiosError:Sw,spread:kw,toFormData:Ew,AxiosHeaders:Aw,HttpStatusCode:Ow,formToJSON:Nw,getAdapter:Lw,mergeConfig:Rw}=ss;var wc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vm=new Uint8Array(64),Cc=new Uint8Array(128);for(let t=0;t<wc.length;t++){let e=wc.charCodeAt(t);vm[t]=e,Cc[e]=t}function Sc(t){let e=new Int32Array(5),i=[],s=0;do{let n=gm(t,s),r=[],a=!0,o=0;e[0]=0;for(let u=s;u<n;u++){let p;u=hi(t,u,e,0);let l=e[0];l<o&&(a=!1),o=l,_c(t,u,n)?(u=hi(t,u,e,1),u=hi(t,u,e,2),u=hi(t,u,e,3),_c(t,u,n)?(u=hi(t,u,e,4),p=[l,e[1],e[2],e[3],e[4]]):p=[l,e[1],e[2],e[3]]):p=[l],r.push(p)}a||bm(r),i.push(r),s=n+1}while(s<=t.length);return i}function gm(t,e){let i=t.indexOf(";",e);return i===-1?t.length:i}function hi(t,e,i,s){let n=0,r=0,a=0;do{let u=t.charCodeAt(e++);a=Cc[u],n|=(a&31)<<r,r+=5}while(a&32);let o=n&1;return n>>>=1,o&&(n=-2147483648|-n),i[s]+=n,e}function _c(t,e,i){return e>=i?!1:t.charCodeAt(e)!==44}function bm(t){t.sort(ym)}function ym(t,e){return t[0]-e[0]}var gh=Q(Hc());var tr={};Yt(tr,{Node:()=>Ge,Parser:()=>V,Position:()=>jt,SourceLocation:()=>nt,TokContext:()=>_e,Token:()=>qt,TokenType:()=>P,defaultOptions:()=>Mt,getLineInfo:()=>xt,isIdentifierChar:()=>mt,isIdentifierStart:()=>Me,isNewLine:()=>Le,keywordTypes:()=>fs,lineBreak:()=>oe,lineBreakG:()=>gi,nonASCIIwhitespace:()=>Kn,parse:()=>bx,parseExpressionAt:()=>yx,tokContexts:()=>M,tokTypes:()=>c,tokenizer:()=>wx,version:()=>Lu});var qm=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],Qc=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Vm="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",Yc="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",zn={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Hn="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Um={5:Hn,"5module":Hn+" export import",6:Hn+" const class extends export import super"},zm=/^in(stanceof)?$/,Hm=new RegExp("["+Yc+"]"),Gm=new RegExp("["+Yc+Vm+"]");function Wn(t,e){for(var i=65536,s=0;s<e.length;s+=2){if(i+=e[s],i>t)return!1;if(i+=e[s+1],i>=t)return!0}return!1}function Me(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Hm.test(String.fromCharCode(t)):e===!1?!1:Wn(t,Qc)}function mt(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Gm.test(String.fromCharCode(t)):e===!1?!1:Wn(t,Qc)||Wn(t,qm)}var P=function(e,i){i===void 0&&(i={}),this.label=e,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function ye(t,e){return new P(t,{beforeExpr:!0,binop:e})}var we={beforeExpr:!0},me={startsExpr:!0},fs={};function I(t,e){return e===void 0&&(e={}),e.keyword=t,fs[t]=new P(t,e)}var c={num:new P("num",me),regexp:new P("regexp",me),string:new P("string",me),name:new P("name",me),privateId:new P("privateId",me),eof:new P("eof"),bracketL:new P("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new P("]"),braceL:new P("{",{beforeExpr:!0,startsExpr:!0}),braceR:new P("}"),parenL:new P("(",{beforeExpr:!0,startsExpr:!0}),parenR:new P(")"),comma:new P(",",we),semi:new P(";",we),colon:new P(":",we),dot:new P("."),question:new P("?",we),questionDot:new P("?."),arrow:new P("=>",we),template:new P("template"),invalidTemplate:new P("invalidTemplate"),ellipsis:new P("...",we),backQuote:new P("`",me),dollarBraceL:new P("${",{beforeExpr:!0,startsExpr:!0}),eq:new P("=",{beforeExpr:!0,isAssign:!0}),assign:new P("_=",{beforeExpr:!0,isAssign:!0}),incDec:new P("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new P("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("</>/<=/>=",7),bitShift:ye("<</>>/>>>",8),plusMin:new P("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new P("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:I("break"),_case:I("case",we),_catch:I("catch"),_continue:I("continue"),_debugger:I("debugger"),_default:I("default",we),_do:I("do",{isLoop:!0,beforeExpr:!0}),_else:I("else",we),_finally:I("finally"),_for:I("for",{isLoop:!0}),_function:I("function",me),_if:I("if"),_return:I("return",we),_switch:I("switch"),_throw:I("throw",we),_try:I("try"),_var:I("var"),_const:I("const"),_while:I("while",{isLoop:!0}),_with:I("with"),_new:I("new",{beforeExpr:!0,startsExpr:!0}),_this:I("this",me),_super:I("super",me),_class:I("class",me),_extends:I("extends",we),_export:I("export"),_import:I("import",me),_null:I("null",me),_true:I("true",me),_false:I("false",me),_in:I("in",{beforeExpr:!0,binop:7}),_instanceof:I("instanceof",{beforeExpr:!0,binop:7}),_typeof:I("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:I("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:I("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},oe=/\r\n?|\n|\u2028|\u2029/,gi=new RegExp(oe.source,"g");function Le(t){return t===10||t===13||t===8232||t===8233}function Xc(t,e,i){i===void 0&&(i=t.length);for(var s=e;s<i;s++){var n=t.charCodeAt(s);if(Le(n))return s<i-1&&n===13&&t.charCodeAt(s+1)===10?s+2:s+1}return-1}var Kn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ce=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Zc=Object.prototype,Wm=Zc.hasOwnProperty,$m=Zc.toString,bi=Object.hasOwn||function(t,e){return Wm.call(t,e)},Gc=Array.isArray||function(t){return $m.call(t)==="[object Array]"},Wc=Object.create(null);function it(t){return Wc[t]||(Wc[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function st(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var Km=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,jt=function(e,i){this.line=e,this.column=i};jt.prototype.offset=function(e){return new jt(this.line,this.column+e)};var nt=function(e,i,s){this.start=i,this.end=s,e.sourceFile!==null&&(this.source=e.sourceFile)};function xt(t,e){for(var i=1,s=0;;){var n=Xc(t,s,e);if(n<0)return new jt(i,e-s);++i,s=n}}var Mt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$c=!1;function Jm(t){var e={};for(var i in Mt)e[i]=t&&bi(t,i)?t[i]:Mt[i];if(e.ecmaVersion==="latest"?e.ecmaVersion=1e8:e.ecmaVersion==null?(!$c&&typeof console=="object"&&console.warn&&($c=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
58
+ `):" "+mc(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:Nn};function Ln(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ne(null,t)}function ts(t){return Ln(t),t.headers=J.from(t.headers),t.data=ii.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),es.getAdapter(t.adapter||Et.adapter)(t).then(function(s){return Ln(t),s.data=ii.call(t,t.transformResponse,s),s.headers=J.from(s.headers),s},function(s){return si(s)||(Ln(t),s&&s.response&&(s.response.data=ii.call(t,t.transformResponse,s.response),s.response.headers=J.from(s.response.headers))),Promise.reject(s)})}var xc=t=>t instanceof J?t.toJSON():t;function Ue(t,e){e=e||{};let i={};function s(p,l,h){return d.isPlainObject(p)&&d.isPlainObject(l)?d.merge.call({caseless:h},p,l):d.isPlainObject(l)?d.merge({},l):d.isArray(l)?l.slice():l}function n(p,l,h){if(d.isUndefined(l)){if(!d.isUndefined(p))return s(void 0,p,h)}else return s(p,l,h)}function r(p,l){if(!d.isUndefined(l))return s(void 0,l)}function a(p,l){if(d.isUndefined(l)){if(!d.isUndefined(p))return s(void 0,p)}else return s(void 0,l)}function o(p,l,h){if(h in e)return s(p,l);if(h in t)return s(void 0,p)}let u={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(p,l)=>n(xc(p),xc(l),!0)};return d.forEach(Object.keys(Object.assign({},t,e)),function(l){let h=u[l]||n,f=h(t[l],e[l],l);d.isUndefined(f)&&h!==o||(i[l]=f)}),i}var Rn={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Rn[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});var vc={};Rn.transitional=function(e,i,s){function n(r,a){return"[Axios v"+ft+"] Transitional option '"+r+"'"+a+(s?". "+s:"")}return(r,a,o)=>{if(e===!1)throw new w(n(a," has been removed"+(i?" in "+i:"")),w.ERR_DEPRECATED);return i&&!vc[a]&&(vc[a]=!0,console.warn(n(a," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(r,a,o):!0}};function xm(t,e,i){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let s=Object.keys(t),n=s.length;for(;n-- >0;){let r=s[n],a=e[r];if(a){let o=t[r],u=o===void 0||a(o,r,t);if(u!==!0)throw new w("option "+r+" must be "+u,w.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new w("Unknown option "+r,w.ERR_BAD_OPTION)}}var is={assertOptions:xm,validators:Rn};var et=is.validators,It=class{constructor(e){this.defaults=e,this.interceptors={request:new en,response:new en}}async request(e,i){try{return await this._request(e,i)}catch(s){if(s instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;let r=n.stack?n.stack.replace(/^.+\n/,""):"";s.stack?r&&!String(s.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(s.stack+=`
59
+ `+r):s.stack=r}throw s}}_request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=Ue(this.defaults,i);let{transitional:s,paramsSerializer:n,headers:r}=i;s!==void 0&&is.assertOptions(s,{silentJSONParsing:et.transitional(et.boolean),forcedJSONParsing:et.transitional(et.boolean),clarifyTimeoutError:et.transitional(et.boolean)},!1),n!=null&&(d.isFunction(n)?i.paramsSerializer={serialize:n}:is.assertOptions(n,{encode:et.function,serialize:et.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=r&&d.merge(r.common,r[i.method]);r&&d.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),i.headers=J.concat(a,r);let o=[],u=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(i)===!1||(u=u&&x.synchronous,o.unshift(x.fulfilled,x.rejected))});let p=[];this.interceptors.response.forEach(function(x){p.push(x.fulfilled,x.rejected)});let l,h=0,f;if(!u){let m=[ts.bind(this),void 0];for(m.unshift.apply(m,o),m.push.apply(m,p),f=m.length,l=Promise.resolve(i);h<f;)l=l.then(m[h++],m[h++]);return l}f=o.length;let v=i;for(h=0;h<f;){let m=o[h++],x=o[h++];try{v=m(v)}catch(g){x.call(this,g);break}}try{l=ts.call(this,v)}catch(m){return Promise.reject(m)}for(h=0,f=p.length;h<f;)l=l.then(p[h++],p[h++]);return l}getUri(e){e=Ue(this.defaults,e);let i=lt(e.baseURL,e.url);return ut(i,e.params,e.paramsSerializer)}};d.forEach(["delete","get","head","options"],function(e){It.prototype[e]=function(i,s){return this.request(Ue(s||{},{method:e,url:i,data:(s||{}).data}))}});d.forEach(["post","put","patch"],function(e){function i(s){return function(r,a,o){return this.request(Ue(o||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:a}))}}It.prototype[e]=i(),It.prototype[e+"Form"]=i(!0)});var pi=It;var In=class t{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(r){i=r});let s=this;this.promise.then(n=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](n);s._listeners=null}),this.promise.then=n=>{let r,a=new Promise(o=>{s.subscribe(o),r=o}).then(n);return a.cancel=function(){s.unsubscribe(r)},a},e(function(r,a,o){s.reason||(s.reason=new Ne(r,a,o),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}static source(){let e;return{token:new t(function(n){e=n}),cancel:e}}},gc=In;function Pn(t){return function(i){return t.apply(null,i)}}function Tn(t){return d.isObject(t)&&t.isAxiosError===!0}var Fn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fn).forEach(([t,e])=>{Fn[e]=t});var bc=Fn;function yc(t){let e=new pi(t),i=Xt(pi.prototype.request,e);return d.extend(i,pi.prototype,e,{allOwnKeys:!0}),d.extend(i,e,null,{allOwnKeys:!0}),i.create=function(n){return yc(Ue(t,n))},i}var W=yc(Et);W.Axios=pi;W.CanceledError=Ne;W.CancelToken=gc;W.isCancel=si;W.VERSION=ft;W.toFormData=Qe;W.AxiosError=w;W.Cancel=W.CanceledError;W.all=function(e){return Promise.all(e)};W.spread=Pn;W.isAxiosError=Tn;W.mergeConfig=Ue;W.AxiosHeaders=J;W.formToJSON=t=>Gi(d.isHTMLForm(t)?new FormData(t):t);W.getAdapter=es.getAdapter;W.HttpStatusCode=bc;W.default=W;var ss=W;var{Axios:xw,AxiosError:vw,CanceledError:gw,isCancel:bw,CancelToken:yw,VERSION:ww,all:_w,Cancel:Cw,isAxiosError:Sw,spread:kw,toFormData:Ew,AxiosHeaders:Aw,HttpStatusCode:Ow,formToJSON:Nw,getAdapter:Lw,mergeConfig:Rw}=ss;var wc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vm=new Uint8Array(64),Cc=new Uint8Array(128);for(let t=0;t<wc.length;t++){let e=wc.charCodeAt(t);vm[t]=e,Cc[e]=t}function Sc(t){let e=new Int32Array(5),i=[],s=0;do{let n=gm(t,s),r=[],a=!0,o=0;e[0]=0;for(let u=s;u<n;u++){let p;u=hi(t,u,e,0);let l=e[0];l<o&&(a=!1),o=l,_c(t,u,n)?(u=hi(t,u,e,1),u=hi(t,u,e,2),u=hi(t,u,e,3),_c(t,u,n)?(u=hi(t,u,e,4),p=[l,e[1],e[2],e[3],e[4]]):p=[l,e[1],e[2],e[3]]):p=[l],r.push(p)}a||bm(r),i.push(r),s=n+1}while(s<=t.length);return i}function gm(t,e){let i=t.indexOf(";",e);return i===-1?t.length:i}function hi(t,e,i,s){let n=0,r=0,a=0;do{let u=t.charCodeAt(e++);a=Cc[u],n|=(a&31)<<r,r+=5}while(a&32);let o=n&1;return n>>>=1,o&&(n=-2147483648|-n),i[s]+=n,e}function _c(t,e,i){return e>=i?!1:t.charCodeAt(e)!==44}function bm(t){t.sort(ym)}function ym(t,e){return t[0]-e[0]}var gh=Q(Hc());var tr={};Yt(tr,{Node:()=>Ge,Parser:()=>V,Position:()=>jt,SourceLocation:()=>nt,TokContext:()=>_e,Token:()=>qt,TokenType:()=>P,defaultOptions:()=>Mt,getLineInfo:()=>xt,isIdentifierChar:()=>mt,isIdentifierStart:()=>Me,isNewLine:()=>Le,keywordTypes:()=>fs,lineBreak:()=>oe,lineBreakG:()=>gi,nonASCIIwhitespace:()=>Kn,parse:()=>bx,parseExpressionAt:()=>yx,tokContexts:()=>M,tokTypes:()=>c,tokenizer:()=>wx,version:()=>Lu});var qm=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],Qc=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Vm="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",Yc="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",zn={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Hn="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Um={5:Hn,"5module":Hn+" export import",6:Hn+" const class extends export import super"},zm=/^in(stanceof)?$/,Hm=new RegExp("["+Yc+"]"),Gm=new RegExp("["+Yc+Vm+"]");function Wn(t,e){for(var i=65536,s=0;s<e.length;s+=2){if(i+=e[s],i>t)return!1;if(i+=e[s+1],i>=t)return!0}return!1}function Me(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Hm.test(String.fromCharCode(t)):e===!1?!1:Wn(t,Qc)}function mt(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Gm.test(String.fromCharCode(t)):e===!1?!1:Wn(t,Qc)||Wn(t,qm)}var P=function(e,i){i===void 0&&(i={}),this.label=e,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function ye(t,e){return new P(t,{beforeExpr:!0,binop:e})}var we={beforeExpr:!0},me={startsExpr:!0},fs={};function I(t,e){return e===void 0&&(e={}),e.keyword=t,fs[t]=new P(t,e)}var c={num:new P("num",me),regexp:new P("regexp",me),string:new P("string",me),name:new P("name",me),privateId:new P("privateId",me),eof:new P("eof"),bracketL:new P("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new P("]"),braceL:new P("{",{beforeExpr:!0,startsExpr:!0}),braceR:new P("}"),parenL:new P("(",{beforeExpr:!0,startsExpr:!0}),parenR:new P(")"),comma:new P(",",we),semi:new P(";",we),colon:new P(":",we),dot:new P("."),question:new P("?",we),questionDot:new P("?."),arrow:new P("=>",we),template:new P("template"),invalidTemplate:new P("invalidTemplate"),ellipsis:new P("...",we),backQuote:new P("`",me),dollarBraceL:new P("${",{beforeExpr:!0,startsExpr:!0}),eq:new P("=",{beforeExpr:!0,isAssign:!0}),assign:new P("_=",{beforeExpr:!0,isAssign:!0}),incDec:new P("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new P("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("</>/<=/>=",7),bitShift:ye("<</>>/>>>",8),plusMin:new P("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new P("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:I("break"),_case:I("case",we),_catch:I("catch"),_continue:I("continue"),_debugger:I("debugger"),_default:I("default",we),_do:I("do",{isLoop:!0,beforeExpr:!0}),_else:I("else",we),_finally:I("finally"),_for:I("for",{isLoop:!0}),_function:I("function",me),_if:I("if"),_return:I("return",we),_switch:I("switch"),_throw:I("throw",we),_try:I("try"),_var:I("var"),_const:I("const"),_while:I("while",{isLoop:!0}),_with:I("with"),_new:I("new",{beforeExpr:!0,startsExpr:!0}),_this:I("this",me),_super:I("super",me),_class:I("class",me),_extends:I("extends",we),_export:I("export"),_import:I("import",me),_null:I("null",me),_true:I("true",me),_false:I("false",me),_in:I("in",{beforeExpr:!0,binop:7}),_instanceof:I("instanceof",{beforeExpr:!0,binop:7}),_typeof:I("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:I("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:I("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},oe=/\r\n?|\n|\u2028|\u2029/,gi=new RegExp(oe.source,"g");function Le(t){return t===10||t===13||t===8232||t===8233}function Xc(t,e,i){i===void 0&&(i=t.length);for(var s=e;s<i;s++){var n=t.charCodeAt(s);if(Le(n))return s<i-1&&n===13&&t.charCodeAt(s+1)===10?s+2:s+1}return-1}var Kn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ce=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Zc=Object.prototype,Wm=Zc.hasOwnProperty,$m=Zc.toString,bi=Object.hasOwn||function(t,e){return Wm.call(t,e)},Gc=Array.isArray||function(t){return $m.call(t)==="[object Array]"},Wc=Object.create(null);function it(t){return Wc[t]||(Wc[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function st(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var Km=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,jt=function(e,i){this.line=e,this.column=i};jt.prototype.offset=function(e){return new jt(this.line,this.column+e)};var nt=function(e,i,s){this.start=i,this.end=s,e.sourceFile!==null&&(this.source=e.sourceFile)};function xt(t,e){for(var i=1,s=0;;){var n=Xc(t,s,e);if(n<0)return new jt(i,e-s);++i,s=n}}var Mt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$c=!1;function Jm(t){var e={};for(var i in Mt)e[i]=t&&bi(t,i)?t[i]:Mt[i];if(e.ecmaVersion==="latest"?e.ecmaVersion=1e8:e.ecmaVersion==null?(!$c&&typeof console=="object"&&console.warn&&($c=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
59
60
  Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),(!t||t.allowHashBang==null)&&(e.allowHashBang=e.ecmaVersion>=14),Gc(e.onToken)){var s=e.onToken;e.onToken=function(n){return s.push(n)}}return Gc(e.onComment)&&(e.onComment=Qm(e,e.onComment)),e}function Qm(t,e){return function(i,s,n,r,a,o){var u={type:i?"Block":"Line",value:s,start:n,end:r};t.locations&&(u.loc=new nt(this,a,o)),t.ranges&&(u.range=[n,r]),e.push(u)}}var vi=1,Bt=2,Jn=4,eu=8,tu=16,iu=32,Qn=64,su=128,yi=256,Yn=vi|Bt|yi;function Xn(t,e){return Bt|(t?Jn:0)|(e?eu:0)}var ls=0,Zn=1,He=2,nu=3,ru=4,au=5,V=function(e,i,s){this.options=e=Jm(e),this.sourceFile=e.sourceFile,this.keywords=it(Um[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";e.allowReserved!==!0&&(n=zn[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3],e.sourceType==="module"&&(n+=" await")),this.reservedWords=it(n);var r=(n?n+" ":"")+zn.strict;this.reservedWordsStrict=it(r),this.reservedWordsStrictBind=it(r+" "+zn.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
60
61
  `,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(oe).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(vi),this.regexpState=null,this.privateNameStack=[]},Be={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};V.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};Be.inFunction.get=function(){return(this.currentVarScope().flags&Bt)>0};Be.inGenerator.get=function(){return(this.currentVarScope().flags&eu)>0&&!this.currentVarScope().inClassFieldInit};Be.inAsync.get=function(){return(this.currentVarScope().flags&Jn)>0&&!this.currentVarScope().inClassFieldInit};Be.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t];if(e.inClassFieldInit||e.flags&yi)return!1;if(e.flags&Bt)return(e.flags&Jn)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Be.allowSuper.get=function(){var t=this.currentThisScope(),e=t.flags,i=t.inClassFieldInit;return(e&Qn)>0||i||this.options.allowSuperOutsideMethod};Be.allowDirectSuper.get=function(){return(this.currentThisScope().flags&su)>0};Be.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Be.allowNewDotTarget.get=function(){var t=this.currentThisScope(),e=t.flags,i=t.inClassFieldInit;return(e&(Bt|yi))>0||i};Be.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&yi)>0};V.extend=function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];for(var s=this,n=0;n<e.length;n++)s=e[n](s);return s};V.parse=function(e,i){return new this(i,e).parse()};V.parseExpressionAt=function(e,i,s){var n=new this(s,e,i);return n.nextToken(),n.parseExpression()};V.tokenizer=function(e,i){return new this(i,e)};Object.defineProperties(V.prototype,Be);var ce=V.prototype,Ym=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ce.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){Ce.lastIndex=t,t+=Ce.exec(this.input)[0].length;var e=Ym.exec(this.input.slice(t));if(!e)return!1;if((e[1]||e[2])==="use strict"){Ce.lastIndex=t+e[0].length;var i=Ce.exec(this.input),s=i.index+i[0].length,n=this.input.charAt(s);return n===";"||n==="}"||oe.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(s+1)==="=")}t+=e[0].length,Ce.lastIndex=t,t+=Ce.exec(this.input)[0].length,this.input[t]===";"&&t++}};ce.eat=function(t){return this.type===t?(this.next(),!0):!1};ce.isContextual=function(t){return this.type===c.name&&this.value===t&&!this.containsEsc};ce.eatContextual=function(t){return this.isContextual(t)?(this.next(),!0):!1};ce.expectContextual=function(t){this.eatContextual(t)||this.unexpected()};ce.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||oe.test(this.input.slice(this.lastTokEnd,this.start))};ce.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};ce.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()};ce.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0};ce.expect=function(t){this.eat(t)||this.unexpected()};ce.unexpected=function(t){this.raise(t??this.start,"Unexpected token")};var ds=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ce.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,e?"Assigning to rvalue":"Parenthesized pattern")}};ce.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,s=t.doubleProto;if(!e)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")};ce.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};ce.isSimpleAssignTarget=function(t){return t.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(t.expression):t.type==="Identifier"||t.type==="MemberExpression"};var k=V.prototype;k.parseTopLevel=function(t){var e=Object.create(null);for(t.body||(t.body=[]);this.type!==c.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var s=0,n=Object.keys(this.undefinedExports);s<n.length;s+=1){var r=n[s];this.raiseRecoverable(this.undefinedExports[r].start,"Export '"+r+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var er={kind:"loop"},Xm={kind:"switch"};k.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Ce.lastIndex=this.pos;var e=Ce.exec(this.input),i=this.pos+e[0].length,s=this.input.charCodeAt(i);if(s===91||s===92)return!0;if(t)return!1;if(s===123||s>55295&&s<56320)return!0;if(Me(s,!0)){for(var n=i+1;mt(s=this.input.charCodeAt(n),!0);)++n;if(s===92||s>55295&&s<56320)return!0;var r=this.input.slice(i,n);if(!zm.test(r))return!0}return!1};k.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Ce.lastIndex=this.pos;var t=Ce.exec(this.input),e=this.pos+t[0].length,i;return!oe.test(this.input.slice(this.pos,e))&&this.input.slice(e,e+8)==="function"&&(e+8===this.input.length||!(mt(i=this.input.charCodeAt(e+8))||i>55295&&i<56320))};k.parseStatement=function(t,e,i){var s=this.type,n=this.startNode(),r;switch(this.isLet(t)&&(s=c._var,r="let"),s){case c._break:case c._continue:return this.parseBreakContinueStatement(n,s.keyword);case c._debugger:return this.parseDebuggerStatement(n);case c._do:return this.parseDoStatement(n);case c._for:return this.parseForStatement(n);case c._function:return t&&(this.strict||t!=="if"&&t!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!t);case c._class:return t&&this.unexpected(),this.parseClass(n,!0);case c._if:return this.parseIfStatement(n);case c._return:return this.parseReturnStatement(n);case c._switch:return this.parseSwitchStatement(n);case c._throw:return this.parseThrowStatement(n);case c._try:return this.parseTryStatement(n);case c._const:case c._var:return r=r||this.value,t&&r!=="var"&&this.unexpected(),this.parseVarStatement(n,r);case c._while:return this.parseWhileStatement(n);case c._with:return this.parseWithStatement(n);case c.braceL:return this.parseBlock(!0,n);case c.semi:return this.parseEmptyStatement(n);case c._export:case c._import:if(this.options.ecmaVersion>10&&s===c._import){Ce.lastIndex=this.pos;var a=Ce.exec(this.input),o=this.pos+a[0].length,u=this.input.charCodeAt(o);if(u===40||u===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===c._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!t);var p=this.value,l=this.parseExpression();return s===c.name&&l.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(n,p,l,t):this.parseExpressionStatement(n,l)}};k.parseBreakContinueStatement=function(t,e){var i=e==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?t.label=null:this.type!==c.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var n=this.labels[s];if((t.label==null||n.name===t.label.name)&&(n.kind!=null&&(i||n.kind==="loop")||t.label&&i))break}return s===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")};k.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")};k.parseDoStatement=function(t){return this.next(),this.labels.push(er),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")};k.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(er),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===c._var||this.type===c._const||i){var s=this.startNode(),n=i?"let":this.value;return this.next(),this.parseVar(s,!0,n),this.finishNode(s,"VariableDeclaration"),(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,s)):(e>-1&&this.unexpected(e),this.parseFor(t,s))}var r=this.isContextual("let"),a=!1,o=new ds,u=this.parseExpression(e>-1?"await":!0,o);return this.type===c._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===c._in?e>-1&&this.unexpected(e):t.await=e>-1),r&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,o),this.checkLValPattern(u),this.parseForIn(t,u)):(this.checkExpressionErrors(o,!0),e>-1&&this.unexpected(e),this.parseFor(t,u))};k.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,xi|(i?0:$n),!1,e)};k.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")};k.parseReturnStatement=function(t){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")};k.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(c.braceL),this.labels.push(Xm),this.enterScope(0);for(var e,i=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var s=this.type===c._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),s?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(c.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")};k.parseThrowStatement=function(t){return this.next(),oe.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Zm=[];k.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),e=t.type==="Identifier";return this.enterScope(e?iu:0),this.checkLValPattern(t,e?ru:He),this.expect(c.parenR),t};k.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===c._catch){var e=this.startNode();this.next(),this.eat(c.parenL)?e.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0)),e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(c._finally)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")};k.parseVarStatement=function(t,e,i){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")};k.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(er),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")};k.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")};k.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")};k.parseLabeledStatement=function(t,e,i,s){for(var n=0,r=this.labels;n<r.length;n+=1){var a=r[n];a.name===e&&this.raise(i.start,"Label '"+e+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===c._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var p=this.labels[u];if(p.statementStart===t.start)p.statementStart=this.start,p.kind=o;else break}return this.labels.push({name:e,kind:o,statementStart:this.start}),t.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")};k.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")};k.parseBlock=function(t,e,i){for(t===void 0&&(t=!0),e===void 0&&(e=this.startNode()),e.body=[],this.expect(c.braceL),t&&this.enterScope(0);this.type!==c.braceR;){var s=this.parseStatement(null);e.body.push(s)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")};k.parseFor=function(t,e){return t.init=e,this.expect(c.semi),t.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),t.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")};k.parseForIn=function(t,e){var i=this.type===c._in;return this.next(),e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(e.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")};k.parseVar=function(t,e,i,s){for(t.declarations=[],t.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(c.eq)?n.init=this.parseMaybeAssign(e):!s&&i==="const"&&!(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&n.id.type!=="Identifier"&&!(e&&(this.type===c._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(c.comma))break}return t};k.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,e==="var"?Zn:He,!1)};var xi=1,$n=2,ou=4;k.parseFunction=function(t,e,i,s,n){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===c.star&&e&$n&&this.unexpected(),t.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(t.async=!!s),e&xi&&(t.id=e&ou&&this.type!==c.name?null:this.parseIdent(),t.id&&!(e&$n)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?Zn:He:nu));var r=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Xn(t.async,t.generator)),e&xi||(t.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1,n),this.yieldPos=r,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(t,e&xi?"FunctionDeclaration":"FunctionExpression")};k.parseFunctionParams=function(t){this.expect(c.parenL),t.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};k.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var s=this.enterClassBody(),n=this.startNode(),r=!1;for(n.body=[],this.expect(c.braceL);this.type!==c.braceR;){var a=this.parseClassElement(t.superClass!==null);a&&(n.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"?(r&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),r=!0):a.key&&a.key.type==="PrivateIdentifier"&&ex(s,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=i,this.next(),t.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")};k.parseClassElement=function(t){if(this.eat(c.semi))return null;var e=this.options.ecmaVersion,i=this.startNode(),s="",n=!1,r=!1,a="method",o=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(c.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===c.star?o=!0:s="static"}if(i.static=o,!s&&e>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===c.star)&&!this.canInsertSemicolon()?r=!0:s="async"),!s&&(e>=9||!r)&&this.eat(c.star)&&(n=!0),!s&&!r&&!n){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=u:s=u)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),e<13||this.type===c.parenL||a!=="method"||n||r){var p=!i.static&&ps(i,"constructor"),l=p&&t;p&&a!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=p?"constructor":a,this.parseClassMethod(i,n,r,l)}else this.parseClassField(i);return i};k.isClassElementNameStart=function(){return this.type===c.name||this.type===c.privateId||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword};k.parseClassElementName=function(t){this.type===c.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)};k.parseClassMethod=function(t,e,i,s){var n=t.key;t.kind==="constructor"?(e&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):t.static&&ps(t,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var r=t.value=this.parseMethod(e,i,s);return t.kind==="get"&&r.params.length!==0&&this.raiseRecoverable(r.start,"getter should have no params"),t.kind==="set"&&r.params.length!==1&&this.raiseRecoverable(r.start,"setter should have exactly one param"),t.kind==="set"&&r.params[0].type==="RestElement"&&this.raiseRecoverable(r.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")};k.parseClassField=function(t){if(ps(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&ps(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(c.eq)){var e=this.currentThisScope(),i=e.inClassFieldInit;e.inClassFieldInit=!0,t.value=this.parseMaybeAssign(),e.inClassFieldInit=i}else t.value=null;return this.semicolon(),this.finishNode(t,"PropertyDefinition")};k.parseClassStaticBlock=function(t){t.body=[];var e=this.labels;for(this.labels=[],this.enterScope(yi|Qn);this.type!==c.braceR;){var i=this.parseStatement(null);t.body.push(i)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")};k.parseClassId=function(t,e){this.type===c.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,He,!1)):(e===!0&&this.unexpected(),t.id=null)};k.parseClassSuper=function(t){t.superClass=this.eat(c._extends)?this.parseExprSubscripts(null,!1):null};k.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared};k.exitClassBody=function(){var t=this.privateNameStack.pop(),e=t.declared,i=t.used;if(this.options.checkPrivateFields)for(var s=this.privateNameStack.length,n=s===0?null:this.privateNameStack[s-1],r=0;r<i.length;++r){var a=i[r];bi(e,a.name)||(n?n.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};function ex(t,e){var i=e.key.name,s=t[i],n="true";return e.type==="MethodDefinition"&&(e.kind==="get"||e.kind==="set")&&(n=(e.static?"s":"i")+e.kind),s==="iget"&&n==="iset"||s==="iset"&&n==="iget"||s==="sget"&&n==="sset"||s==="sset"&&n==="sget"?(t[i]="true",!1):s?!0:(t[i]=n,!1)}function ps(t,e){var i=t.computed,s=t.key;return!i&&(s.type==="Identifier"&&s.name===e||s.type==="Literal"&&s.value===e)}k.parseExportAllDeclaration=function(t,e){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==c.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")};k.parseExport=function(t,e){if(this.next(),this.eat(c.star))return this.parseExportAllDeclaration(t,e);if(this.eat(c._default))return this.checkExport(e,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),t.declaration.type==="VariableDeclaration"?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var i=0,s=t.specifiers;i<s.length;i+=1){var n=s[i];this.checkUnreserved(n.local),this.checkLocalExport(n.local),n.local.type==="Literal"&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")};k.parseExportDeclaration=function(t){return this.parseStatement(null)};k.parseExportDefaultDeclaration=function(){var t;if(this.type===c._function||(t=this.isAsyncFunction())){var e=this.startNode();return this.next(),t&&this.next(),this.parseFunction(e,xi|ou,!1,t)}else if(this.type===c._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var s=this.parseMaybeAssign();return this.semicolon(),s}};k.checkExport=function(t,e,i){t&&(typeof e!="string"&&(e=e.type==="Identifier"?e.name:e.value),bi(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0)};k.checkPatternExport=function(t,e){var i=e.type;if(i==="Identifier")this.checkExport(t,e,e.start);else if(i==="ObjectPattern")for(var s=0,n=e.properties;s<n.length;s+=1){var r=n[s];this.checkPatternExport(t,r)}else if(i==="ArrayPattern")for(var a=0,o=e.elements;a<o.length;a+=1){var u=o[a];u&&this.checkPatternExport(t,u)}else i==="Property"?this.checkPatternExport(t,e.value):i==="AssignmentPattern"?this.checkPatternExport(t,e.left):i==="RestElement"&&this.checkPatternExport(t,e.argument)};k.checkVariableExport=function(t,e){if(t)for(var i=0,s=e;i<s.length;i+=1){var n=s[i];this.checkPatternExport(t,n.id)}};k.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};k.parseExportSpecifier=function(t){var e=this.startNode();return e.local=this.parseModuleExportName(),e.exported=this.eatContextual("as")?this.parseModuleExportName():e.local,this.checkExport(t,e.exported,e.exported.start),this.finishNode(e,"ExportSpecifier")};k.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(i)i=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;e.push(this.parseExportSpecifier(t))}return e};k.parseImport=function(t){return this.next(),this.type===c.string?(t.specifiers=Zm,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")};k.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,He),this.finishNode(t,"ImportSpecifier")};k.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,He),this.finishNode(t,"ImportDefaultSpecifier")};k.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,He),this.finishNode(t,"ImportNamespaceSpecifier")};k.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===c.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(c.comma)))return t;if(this.type===c.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(c.braceL);!this.eat(c.braceR);){if(e)e=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;t.push(this.parseImportSpecifier())}return t};k.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===c.string){var t=this.parseLiteral(this.value);return Km.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)};k.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)};k.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&(this.input[t.start]==='"'||this.input[t.start]==="'")};var ke=V.prototype;ke.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&t.name==="await"&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,n=t.properties;s<n.length;s+=1){var r=n[s];this.toAssignable(r,e),r.type==="RestElement"&&(r.argument.type==="ArrayPattern"||r.argument.type==="ObjectPattern")&&this.raise(r.argument.start,"Unexpected token")}break;case"Property":t.kind!=="init"&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),t.argument.type==="AssignmentPattern"&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":t.operator!=="="&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t};ke.toAssignableList=function(t,e){for(var i=t.length,s=0;s<i;s++){var n=t[s];n&&this.toAssignable(n,e)}if(i){var r=t[i-1];this.options.ecmaVersion===6&&e&&r&&r.type==="RestElement"&&r.argument.type!=="Identifier"&&this.unexpected(r.argument.start)}return t};ke.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")};ke.parseRestBinding=function(){var t=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")};ke.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()};ke.parseBindingList=function(t,e,i,s){for(var n=[],r=!0;!this.eat(t);)if(r?r=!1:this.expect(c.comma),e&&this.type===c.comma)n.push(null);else{if(i&&this.afterTrailingComma(t))break;if(this.type===c.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else n.push(this.parseAssignableListItem(s))}return n};ke.parseAssignableListItem=function(t){var e=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(e),e};ke.parseBindingListItem=function(t){return t};ke.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return i;var s=this.startNodeAt(t,e);return s.left=i,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")};ke.checkLValSimple=function(t,e,i){e===void 0&&(e=ls);var s=e!==ls;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(s?"Binding ":"Assigning to ")+t.name+" in strict mode"),s&&(e===He&&t.name==="let"&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),i&&(bi(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),e!==au&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,i);default:this.raise(t.start,(s?"Binding":"Assigning to")+" rvalue")}};ke.checkLValPattern=function(t,e,i){switch(e===void 0&&(e=ls),t.type){case"ObjectPattern":for(var s=0,n=t.properties;s<n.length;s+=1){var r=n[s];this.checkLValInnerPattern(r,e,i)}break;case"ArrayPattern":for(var a=0,o=t.elements;a<o.length;a+=1){var u=o[a];u&&this.checkLValInnerPattern(u,e,i)}break;default:this.checkLValSimple(t,e,i)}};ke.checkLValInnerPattern=function(t,e,i){switch(e===void 0&&(e=ls),t.type){case"Property":this.checkLValInnerPattern(t.value,e,i);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,i);break;case"RestElement":this.checkLValPattern(t.argument,e,i);break;default:this.checkLValPattern(t,e,i)}};var _e=function(e,i,s,n,r){this.token=e,this.isExpr=!!i,this.preserveSpace=!!s,this.override=n,this.generator=!!r},M={b_stat:new _e("{",!1),b_expr:new _e("{",!0),b_tmpl:new _e("${",!1),p_stat:new _e("(",!1),p_expr:new _e("(",!0),q_tmpl:new _e("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new _e("function",!1),f_expr:new _e("function",!0),f_expr_gen:new _e("function",!0,!1,null,!0),f_gen:new _e("function",!1,!1,null,!0)},Dt=V.prototype;Dt.initialContext=function(){return[M.b_stat]};Dt.curContext=function(){return this.context[this.context.length-1]};Dt.braceIsBlock=function(t){var e=this.curContext();return e===M.f_expr||e===M.f_stat?!0:t===c.colon&&(e===M.b_stat||e===M.b_expr)?!e.isExpr:t===c._return||t===c.name&&this.exprAllowed?oe.test(this.input.slice(this.lastTokEnd,this.start)):t===c._else||t===c.semi||t===c.eof||t===c.parenR||t===c.arrow?!0:t===c.braceL?e===M.b_stat:t===c._var||t===c._const||t===c.name?!1:!this.exprAllowed};Dt.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if(e.token==="function")return e.generator}return!1};Dt.updateContext=function(t){var e,i=this.type;i.keyword&&t===c.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr};Dt.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)};c.parenR.updateContext=c.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var t=this.context.pop();t===M.b_stat&&this.curContext().token==="function"&&(t=this.context.pop()),this.exprAllowed=!t.isExpr};c.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?M.b_stat:M.b_expr),this.exprAllowed=!0};c.dollarBraceL.updateContext=function(){this.context.push(M.b_tmpl),this.exprAllowed=!0};c.parenL.updateContext=function(t){var e=t===c._if||t===c._for||t===c._with||t===c._while;this.context.push(e?M.p_stat:M.p_expr),this.exprAllowed=!0};c.incDec.updateContext=function(){};c._function.updateContext=c._class.updateContext=function(t){t.beforeExpr&&t!==c._else&&!(t===c.semi&&this.curContext()!==M.p_stat)&&!(t===c._return&&oe.test(this.input.slice(this.lastTokEnd,this.start)))&&!((t===c.colon||t===c.braceL)&&this.curContext()===M.b_stat)?this.context.push(M.f_expr):this.context.push(M.f_stat),this.exprAllowed=!1};c.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};c.backQuote.updateContext=function(){this.curContext()===M.q_tmpl?this.context.pop():this.context.push(M.q_tmpl),this.exprAllowed=!1};c.star.updateContext=function(t){if(t===c._function){var e=this.context.length-1;this.context[e]===M.f_expr?this.context[e]=M.f_expr_gen:this.context[e]=M.f_gen}this.exprAllowed=!0};c.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==c.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var E=V.prototype;E.checkPropClash=function(t,e,i){if(!(this.options.ecmaVersion>=9&&t.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var s=t.key,n;switch(s.type){case"Identifier":n=s.name;break;case"Literal":n=String(s.value);break;default:return}var r=t.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&r==="init"&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),e.proto=!0);return}n="$"+n;var a=e[n];if(a){var o;r==="init"?o=this.strict&&a.init||a.get||a.set:o=a.init||a[r],o&&this.raiseRecoverable(s.start,"Redefinition of property")}else a=e[n]={init:!1,get:!1,set:!1};a[r]=!0}};E.parseExpression=function(t,e){var i=this.start,s=this.startLoc,n=this.parseMaybeAssign(t,e);if(this.type===c.comma){var r=this.startNodeAt(i,s);for(r.expressions=[n];this.eat(c.comma);)r.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(r,"SequenceExpression")}return n};E.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var s=!1,n=-1,r=-1,a=-1;e?(n=e.parenthesizedAssign,r=e.trailingComma,a=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new ds,s=!0);var o=this.start,u=this.startLoc;(this.type===c.parenL||this.type===c.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=t==="await");var p=this.parseMaybeConditional(t,e);if(i&&(p=i.call(this,p,o,u)),this.type.isAssign){var l=this.startNodeAt(o,u);return l.operator=this.value,this.type===c.eq&&(p=this.toAssignable(p,!1,e)),s||(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=p.start&&(e.shorthandAssign=-1),this.type===c.eq?this.checkLValPattern(p):this.checkLValSimple(p),l.left=p,this.next(),l.right=this.parseMaybeAssign(t),a>-1&&(e.doubleProto=a),this.finishNode(l,"AssignmentExpression")}else s&&this.checkExpressionErrors(e,!0);return n>-1&&(e.parenthesizedAssign=n),r>-1&&(e.trailingComma=r),p};E.parseMaybeConditional=function(t,e){var i=this.start,s=this.startLoc,n=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return n;if(this.eat(c.question)){var r=this.startNodeAt(i,s);return r.test=n,r.consequent=this.parseMaybeAssign(),this.expect(c.colon),r.alternate=this.parseMaybeAssign(t),this.finishNode(r,"ConditionalExpression")}return n};E.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,n=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)||n.start===i&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,i,s,-1,t)};E.parseExprOp=function(t,e,i,s,n){var r=this.type.binop;if(r!=null&&(!n||this.type!==c._in)&&r>s){var a=this.type===c.logicalOR||this.type===c.logicalAND,o=this.type===c.coalesce;o&&(r=c.logicalAND.binop);var u=this.value;this.next();var p=this.start,l=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),p,l,r,n),f=this.buildBinary(e,i,t,h,u,a||o);return(a&&this.type===c.coalesce||o&&(this.type===c.logicalOR||this.type===c.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,e,i,s,n)}return t};E.buildBinary=function(t,e,i,s,n,r){s.type==="PrivateIdentifier"&&this.raise(s.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(t,e);return a.left=i,a.operator=n,a.right=s,this.finishNode(a,r?"LogicalExpression":"BinaryExpression")};E.parseMaybeUnary=function(t,e,i,s){var n=this.start,r=this.startLoc,a;if(this.isContextual("await")&&this.canAwait)a=this.parseAwait(s),e=!0;else if(this.type.prefix){var o=this.startNode(),u=this.type===c.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,u,s),this.checkExpressionErrors(t,!0),u?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&cu(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):e=!0,a=this.finishNode(o,u?"UpdateExpression":"UnaryExpression")}else if(!e&&this.type===c.privateId)(s||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),a=this.parsePrivateIdent(),this.type!==c._in&&this.unexpected();else{if(a=this.parseExprSubscripts(t,s),this.checkExpressionErrors(t))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var p=this.startNodeAt(n,r);p.operator=this.value,p.prefix=!1,p.argument=a,this.checkLValSimple(a),this.next(),a=this.finishNode(p,"UpdateExpression")}}if(!i&&this.eat(c.starstar))if(e)this.unexpected(this.lastTokStart);else return this.buildBinary(n,r,a,this.parseMaybeUnary(null,!1,!1,s),"**",!1);else return a};function cu(t){return t.type==="MemberExpression"&&t.property.type==="PrivateIdentifier"||t.type==="ChainExpression"&&cu(t.expression)}E.parseExprSubscripts=function(t,e){var i=this.start,s=this.startLoc,n=this.parseExprAtom(t,e);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var r=this.parseSubscripts(n,i,s,!1,e);return t&&r.type==="MemberExpression"&&(t.parenthesizedAssign>=r.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=r.start&&(t.parenthesizedBind=-1),t.trailingComma>=r.start&&(t.trailingComma=-1)),r};E.parseSubscripts=function(t,e,i,s,n){for(var r=this.options.ecmaVersion>=8&&t.type==="Identifier"&&t.name==="async"&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.potentialArrowAt===t.start,a=!1;;){var o=this.parseSubscript(t,e,i,s,r,a,n);if(o.optional&&(a=!0),o===t||o.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(e,i);u.expression=o,o=this.finishNode(u,"ChainExpression")}return o}t=o}};E.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(c.arrow)};E.parseSubscriptAsyncArrow=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!0,s)};E.parseSubscript=function(t,e,i,s,n,r,a){var o=this.options.ecmaVersion>=11,u=o&&this.eat(c.questionDot);s&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(c.bracketL);if(p||u&&this.type!==c.parenL&&this.type!==c.backQuote||this.eat(c.dot)){var l=this.startNodeAt(e,i);l.object=t,p?(l.property=this.parseExpression(),this.expect(c.bracketR)):this.type===c.privateId&&t.type!=="Super"?l.property=this.parsePrivateIdent():l.property=this.parseIdent(this.options.allowReserved!=="never"),l.computed=!!p,o&&(l.optional=u),t=this.finishNode(l,"MemberExpression")}else if(!s&&this.eat(c.parenL)){var h=new ds,f=this.yieldPos,v=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var x=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1,h);if(n&&!u&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=f,this.awaitPos=v,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(e,i,x,a);this.checkExpressionErrors(h,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=v||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var g=this.startNodeAt(e,i);g.callee=t,g.arguments=x,o&&(g.optional=u),t=this.finishNode(g,"CallExpression")}else if(this.type===c.backQuote){(u||r)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var S=this.startNodeAt(e,i);S.tag=t,S.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(S,"TaggedTemplateExpression")}return t};E.parseExprAtom=function(t,e,i){this.type===c.slash&&this.readRegexp();var s,n=this.potentialArrowAt===this.start;switch(this.type){case c._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),s=this.startNode(),this.next(),this.type===c.parenL&&!this.allowDirectSuper&&this.raise(s.start,"super() call outside constructor of a subclass"),this.type!==c.dot&&this.type!==c.bracketL&&this.type!==c.parenL&&this.unexpected(),this.finishNode(s,"Super");case c._this:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case c.name:var r=this.start,a=this.startLoc,o=this.containsEsc,u=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(c._function))return this.overrideContext(M.f_expr),this.parseFunction(this.startNodeAt(r,a),0,!1,!0,e);if(n&&!this.canInsertSemicolon()){if(this.eat(c.arrow))return this.parseArrowExpression(this.startNodeAt(r,a),[u],!1,e);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===c.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(c.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,a),[u],!0,e)}return u;case c.regexp:var p=this.value;return s=this.parseLiteral(p.value),s.regex={pattern:p.pattern,flags:p.flags},s;case c.num:case c.string:return this.parseLiteral(this.value);case c._null:case c._true:case c._false:return s=this.startNode(),s.value=this.type===c._null?null:this.type===c._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case c.parenL:var l=this.start,h=this.parseParenAndDistinguishExpression(n,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(t.parenthesizedAssign=l),t.parenthesizedBind<0&&(t.parenthesizedBind=l)),h;case c.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(c.bracketR,!0,!0,t),this.finishNode(s,"ArrayExpression");case c.braceL:return this.overrideContext(M.b_expr),this.parseObj(!1,t);case c._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case c._class:return this.parseClass(this.startNode(),!1);case c._new:return this.parseNew();case c.backQuote:return this.parseTemplate();case c._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};E.parseExprAtomDefault=function(){this.unexpected()};E.parseExprImport=function(t){var e=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===c.parenL&&!t)return this.parseDynamicImport(e);if(this.type===c.dot){var i=this.startNodeAt(e.start,e.loc&&e.loc.start);return i.name="import",e.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(e)}else this.unexpected()};E.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),!this.eat(c.parenR)){var e=this.start;this.eat(c.comma)&&this.eat(c.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")};E.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="meta"&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")};E.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),e.raw.charCodeAt(e.raw.length-1)===110&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")};E.parseParenExpression=function(){this.expect(c.parenL);var t=this.parseExpression();return this.expect(c.parenR),t};E.shouldParseArrow=function(t){return!this.canInsertSemicolon()};E.parseParenAndDistinguishExpression=function(t,e){var i=this.start,s=this.startLoc,n,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc,u=[],p=!0,l=!1,h=new ds,f=this.yieldPos,v=this.awaitPos,m;for(this.yieldPos=0,this.awaitPos=0;this.type!==c.parenR;)if(p?p=!1:this.expect(c.comma),r&&this.afterTrailingComma(c.parenR,!0)){l=!0;break}else if(this.type===c.ellipsis){m=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var x=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(c.parenR),t&&this.shouldParseArrow(u)&&this.eat(c.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=v,this.parseParenArrowList(i,s,u,e);(!u.length||l)&&this.unexpected(this.lastTokStart),m&&this.unexpected(m),this.checkExpressionErrors(h,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=v||this.awaitPos,u.length>1?(n=this.startNodeAt(a,o),n.expressions=u,this.finishNodeAt(n,"SequenceExpression",x,g)):n=u[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var S=this.startNodeAt(i,s);return S.expression=n,this.finishNode(S,"ParenthesizedExpression")}else return n};E.parseParenItem=function(t){return t};E.parseParenArrowList=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!1,s)};var tx=[];E.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===c.dot){var e=this.startNodeAt(t.start,t.loc&&t.loc.start);e.name="new",t.meta=this.finishNode(e,"Identifier"),this.next();var i=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="target"&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var s=this.start,n=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,n,!0,!1),this.eat(c.parenL)?t.arguments=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1):t.arguments=tx,this.finishNode(t,"NewExpression")};E.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===c.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
61
62
  `),cooked:this.value},this.next(),i.tail=this.type===c.backQuote,this.finishNode(i,"TemplateElement")};E.parseTemplate=function(t){t===void 0&&(t={});var e=t.isTagged;e===void 0&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:e});for(i.quasis=[s];!s.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(c.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")};E.isAsyncProp=function(t){return!t.computed&&t.key.type==="Identifier"&&t.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!oe.test(this.input.slice(this.lastTokEnd,this.start))};E.parseObj=function(t,e){var i=this.startNode(),s=!0,n={};for(i.properties=[],this.next();!this.eat(c.braceR);){if(s)s=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var r=this.parseProperty(t,e);t||this.checkPropClash(r,n,e),i.properties.push(r)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")};E.parseProperty=function(t,e){var i=this.startNode(),s,n,r,a;if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return t?(i.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,e),this.type===c.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(t||e)&&(r=this.start,a=this.startLoc),t||(s=this.eat(c.star)));var o=this.containsEsc;return this.parsePropertyName(i),!t&&!o&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)?(n=!0,s=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,t,s,n,r,a,e,o),this.finishNode(i,"Property")};E.parseGetterSetter=function(t){t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var e=t.kind==="get"?0:1;if(t.value.params.length!==e){var i=t.value.start;t.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else t.kind==="set"&&t.value.params[0].type==="RestElement"&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")};E.parsePropertyValue=function(t,e,i,s,n,r,a,o){(i||s)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,s)):!e&&!o&&this.options.ecmaVersion>=5&&!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.type!==c.comma&&this.type!==c.braceR&&this.type!==c.eq?((i||s)&&this.unexpected(),this.parseGetterSetter(t)):this.options.ecmaVersion>=6&&!t.computed&&t.key.type==="Identifier"?((i||s)&&this.unexpected(),this.checkUnreserved(t.key),t.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),t.kind="init",e?t.value=this.parseMaybeDefault(n,r,this.copyNode(t.key)):this.type===c.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(n,r,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.shorthand=!0):this.unexpected()};E.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(c.bracketR),t.key;t.computed=!1}return t.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};E.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)};E.parseMethod=function(t,e,i){var s=this.startNode(),n=this.yieldPos,r=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=t),this.options.ecmaVersion>=8&&(s.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Xn(e,s.generator)|Qn|(i?su:0)),this.expect(c.parenL),s.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=a,this.finishNode(s,"FunctionExpression")};E.parseArrowExpression=function(t,e,i,s){var n=this.yieldPos,r=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(Xn(i,!1)|tu),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,s),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=a,this.finishNode(t,"ArrowFunctionExpression")};E.parseFunctionBody=function(t,e,i,s){var n=e&&this.type!==c.braceL,r=this.strict,a=!1;if(n)t.body=this.parseMaybeAssign(s),t.expression=!0,this.checkParams(t,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);(!r||o)&&(a=this.strictDirective(this.end),a&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(t,!r&&!a&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,au),t.body=this.parseBlock(!1,void 0,a&&!r),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=u}this.exitScope()};E.isSimpleParamList=function(t){for(var e=0,i=t;e<i.length;e+=1){var s=i[e];if(s.type!=="Identifier")return!1}return!0};E.checkParams=function(t,e){for(var i=Object.create(null),s=0,n=t.params;s<n.length;s+=1){var r=n[s];this.checkLValInnerPattern(r,Zn,e?null:i)}};E.parseExprList=function(t,e,i,s){for(var n=[],r=!0;!this.eat(t);){if(r)r=!1;else if(this.expect(c.comma),e&&this.afterTrailingComma(t))break;var a=void 0;i&&this.type===c.comma?a=null:this.type===c.ellipsis?(a=this.parseSpread(s),s&&this.type===c.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):a=this.parseMaybeAssign(!1,s),n.push(a)}return n};E.checkUnreserved=function(t){var e=t.start,i=t.end,s=t.name;if(this.inGenerator&&s==="yield"&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&s==="await"&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&s==="arguments"&&this.raiseRecoverable(e,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(s==="arguments"||s==="await")&&this.raise(e,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(e,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6&&this.input.slice(e,i).indexOf("\\")!==-1)){var n=this.strict?this.reservedWordsStrict:this.reservedWords;n.test(s)&&(!this.inAsync&&s==="await"&&this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+s+"' is reserved"))}};E.parseIdent=function(t){var e=this.parseIdentNode();return this.next(!!t),this.finishNode(e,"Identifier"),t||(this.checkUnreserved(e),e.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=e.start)),e};E.parseIdentNode=function(){var t=this.startNode();return this.type===c.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,(t.name==="class"||t.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=c.name):this.unexpected(),t};E.parsePrivateIdent=function(){var t=this.startNode();return this.type===c.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(t)),t};E.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===c.semi||this.canInsertSemicolon()||this.type!==c.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(c.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")};E.parseAwait=function(t){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var hs=V.prototype;hs.raise=function(t,e){var i=xt(this.input,t);e+=" ("+i.line+":"+i.column+")";var s=new SyntaxError(e);throw s.pos=t,s.loc=i,s.raisedAt=this.pos,s};hs.raiseRecoverable=hs.raise;hs.curPosition=function(){if(this.options.locations)return new jt(this.curLine,this.pos-this.lineStart)};var rt=V.prototype,ix=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};rt.enterScope=function(t){this.scopeStack.push(new ix(t))};rt.exitScope=function(){this.scopeStack.pop()};rt.treatFunctionsAsVarInScope=function(t){return t.flags&Bt||!this.inModule&&t.flags&vi};rt.declareName=function(t,e,i){var s=!1;if(e===He){var n=this.currentScope();s=n.lexical.indexOf(t)>-1||n.functions.indexOf(t)>-1||n.var.indexOf(t)>-1,n.lexical.push(t),this.inModule&&n.flags&vi&&delete this.undefinedExports[t]}else if(e===ru){var r=this.currentScope();r.lexical.push(t)}else if(e===nu){var a=this.currentScope();this.treatFunctionsAsVar?s=a.lexical.indexOf(t)>-1:s=a.lexical.indexOf(t)>-1||a.var.indexOf(t)>-1,a.functions.push(t)}else for(var o=this.scopeStack.length-1;o>=0;--o){var u=this.scopeStack[o];if(u.lexical.indexOf(t)>-1&&!(u.flags&iu&&u.lexical[0]===t)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(t)>-1){s=!0;break}if(u.var.push(t),this.inModule&&u.flags&vi&&delete this.undefinedExports[t],u.flags&Yn)break}s&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")};rt.checkLocalExport=function(t){this.scopeStack[0].lexical.indexOf(t.name)===-1&&this.scopeStack[0].var.indexOf(t.name)===-1&&(this.undefinedExports[t.name]=t)};rt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};rt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&Yn)return e}};rt.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&Yn&&!(e.flags&tu))return e}};var Ge=function(e,i,s){this.type="",this.start=i,this.end=0,e.options.locations&&(this.loc=new nt(e,s)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[i,0])},wi=V.prototype;wi.startNode=function(){return new Ge(this,this.start,this.startLoc)};wi.startNodeAt=function(t,e){return new Ge(this,t,e)};function uu(t,e,i,s){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=s),this.options.ranges&&(t.range[1]=i),t}wi.finishNode=function(t,e){return uu.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)};wi.finishNodeAt=function(t,e,i,s){return uu.call(this,t,e,i,s)};wi.copyNode=function(t){var e=new Ge(this,t.start,this.startLoc);for(var i in t)e[i]=t[i];return e};var lu="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",pu=lu+" Extended_Pictographic",hu=pu,fu=hu+" EBase EComp EMod EPres ExtPict",du=fu,sx=du,nx={9:lu,10:pu,11:hu,12:fu,13:du,14:sx},rx="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",ax={9:"",10:"",11:"",12:"",13:"",14:rx},Kc="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",mu="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",xu=mu+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",vu=xu+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",gu=vu+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",bu=gu+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ox=bu+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",cx={9:mu,10:xu,11:vu,12:gu,13:bu,14:ox},yu={};function ux(t){var e=yu[t]={binary:it(nx[t]+" "+Kc),binaryOfStrings:it(ax[t]),nonBinary:{General_Category:it(Kc),Script:it(cx[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}for(us=0,Gn=[9,10,11,12,13,14];us<Gn.length;us+=1)Jc=Gn[us],ux(Jc);var Jc,us,Gn,_=V.prototype,De=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=yu[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};De.prototype.reset=function(e,i,s){var n=s.indexOf("v")!==-1,r=s.indexOf("u")!==-1;this.start=e|0,this.source=i+"",this.flags=s,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)};De.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};De.prototype.at=function(e,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(e>=n)return-1;var r=s.charCodeAt(e);if(!(i||this.switchU)||r<=55295||r>=57344||e+1>=n)return r;var a=s.charCodeAt(e+1);return a>=56320&&a<=57343?(r<<10)+a-56613888:r};De.prototype.nextIndex=function(e,i){i===void 0&&(i=!1);var s=this.source,n=s.length;if(e>=n)return n;var r=s.charCodeAt(e),a;return!(i||this.switchU)||r<=55295||r>=57344||e+1>=n||(a=s.charCodeAt(e+1))<56320||a>57343?e+1:e+2};De.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)};De.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)};De.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)};De.prototype.eat=function(e,i){return i===void 0&&(i=!1),this.current(i)===e?(this.advance(i),!0):!1};De.prototype.eatChars=function(e,i){i===void 0&&(i=!1);for(var s=this.pos,n=0,r=e;n<r.length;n+=1){var a=r[n],o=this.at(s,i);if(o===-1||o!==a)return!1;s=this.nextIndex(s,i)}return this.pos=s,!0};_.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,s=!1,n=!1,r=0;r<i.length;r++){var a=i.charAt(r);e.indexOf(a)===-1&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(a,r+1)>-1&&this.raise(t.start,"Duplicate regular expression flag"),a==="u"&&(s=!0),a==="v"&&(n=!0)}this.options.ecmaVersion>=15&&s&&n&&this.raise(t.start,"Invalid regular expression flag")};_.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))};_.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames.length=0,t.backReferenceNames.length=0,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,i=t.backReferenceNames;e<i.length;e+=1){var s=i[e];t.groupNames.indexOf(s)===-1&&t.raise("Invalid named capture referenced")}};_.regexp_disjunction=function(t){for(this.regexp_alternative(t);t.eat(124);)this.regexp_alternative(t);this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")};_.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););};_.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):(t.switchU?this.regexp_eatAtom(t):this.regexp_eatExtendedAtom(t))?(this.regexp_eatQuantifier(t),!0):!1};_.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1};_.regexp_eatQuantifier=function(t,e){return e===void 0&&(e=!1),this.regexp_eatQuantifierPrefix(t,e)?(t.eat(63),!0):!1};_.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)};_.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var s=0,n=-1;if(this.regexp_eatDecimalDigits(t)&&(s=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(n=t.lastIntValue),t.eat(125)))return n!==-1&&n<s&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1};_.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)};_.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1};_.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)&&t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}t.pos=e}return!1};_.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):t.current()===63&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1};_.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)};_.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1};_.regexp_eatSyntaxCharacter=function(t){var e=t.current();return wu(e)?(t.lastIntValue=e,t.advance(),!0):!1};function wu(t){return t===36||t>=40&&t<=43||t===46||t===63||t>=91&&t<=94||t>=123&&t<=125}_.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;(i=t.current())!==-1&&!wu(i);)t.advance();return t.pos!==e};_.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return e!==-1&&e!==36&&!(e>=40&&e<=43)&&e!==46&&e!==63&&e!==91&&e!==94&&e!==124?(t.advance(),!0):!1};_.regexp_groupSpecifier=function(t){if(t.eat(63)){if(this.regexp_eatGroupName(t)){t.groupNames.indexOf(t.lastStringValue)!==-1&&t.raise("Duplicate capture group name"),t.groupNames.push(t.lastStringValue);return}t.raise("Invalid group")}};_.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1};_.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=st(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=st(t.lastIntValue);return!0}return!1};_.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return t.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),lx(s)?(t.lastIntValue=s,!0):(t.pos=e,!1)};function lx(t){return Me(t,!0)||t===36||t===95}_.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return t.advance(i),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),px(s)?(t.lastIntValue=s,!0):(t.pos=e,!1)};function px(t){return mt(t,!0)||t===36||t===95||t===8204||t===8205}_.regexp_eatAtomEscape=function(t){return this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t)?!0:(t.switchU&&(t.current()===99&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)};_.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1};_.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1};_.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)};_.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1};_.regexp_eatZero=function(t){return t.current()===48&&!ms(t.lookahead())?(t.lastIntValue=0,t.advance(),!0):!1};_.regexp_eatControlEscape=function(t){var e=t.current();return e===116?(t.lastIntValue=9,t.advance(),!0):e===110?(t.lastIntValue=10,t.advance(),!0):e===118?(t.lastIntValue=11,t.advance(),!0):e===102?(t.lastIntValue=12,t.advance(),!0):e===114?(t.lastIntValue=13,t.advance(),!0):!1};_.regexp_eatControlLetter=function(t){var e=t.current();return _u(e)?(t.lastIntValue=e%32,t.advance(),!0):!1};function _u(t){return t>=65&&t<=90||t>=97&&t<=122}_.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){e===void 0&&(e=!1);var i=t.pos,s=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(s&&n>=55296&&n<=56319){var r=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var a=t.lastIntValue;if(a>=56320&&a<=57343)return t.lastIntValue=(n-55296)*1024+(a-56320)+65536,!0}t.pos=r,t.lastIntValue=n}return!0}if(s&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&hx(t.lastIntValue))return!0;s&&t.raise("Invalid unicode escape"),t.pos=i}return!1};function hx(t){return t>=0&&t<=1114111}_.regexp_eatIdentityEscape=function(t){if(t.switchU)return this.regexp_eatSyntaxCharacter(t)?!0:t.eat(47)?(t.lastIntValue=47,!0):!1;var e=t.current();return e!==99&&(!t.switchN||e!==107)?(t.lastIntValue=e,t.advance(),!0):!1};_.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do t.lastIntValue=10*t.lastIntValue+(e-48),t.advance();while((e=t.current())>=48&&e<=57);return!0}return!1};var Cu=0,ze=1,Se=2;_.regexp_eatCharacterClassEscape=function(t){var e=t.current();if(fx(e))return t.lastIntValue=-1,t.advance(),ze;var i=!1;if(t.switchU&&this.options.ecmaVersion>=9&&((i=e===80)||e===112)){t.lastIntValue=-1,t.advance();var s;if(t.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(t))&&t.eat(125))return i&&s===Se&&t.raise("Invalid property name"),s;t.raise("Invalid property name")}return Cu};function fx(t){return t===100||t===68||t===115||t===83||t===119||t===87}_.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var s=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,s),ze}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var n=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,n)}return Cu};_.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){bi(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(i)||t.raise("Invalid property value")};_.regexp_validateUnicodePropertyNameOrValue=function(t,e){if(t.unicodeProperties.binary.test(e))return ze;if(t.switchV&&t.unicodeProperties.binaryOfStrings.test(e))return Se;t.raise("Invalid property name")};_.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";Su(e=t.current());)t.lastStringValue+=st(e),t.advance();return t.lastStringValue!==""};function Su(t){return _u(t)||t===95}_.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";dx(e=t.current());)t.lastStringValue+=st(e),t.advance();return t.lastStringValue!==""};function dx(t){return Su(t)||ms(t)}_.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)};_.regexp_eatCharacterClass=function(t){if(t.eat(91)){var e=t.eat(94),i=this.regexp_classContents(t);return t.eat(93)||t.raise("Unterminated character class"),e&&i===Se&&t.raise("Negated character class may contain strings"),!0}return!1};_.regexp_classContents=function(t){return t.current()===93?ze:t.switchV?this.regexp_classSetExpression(t):(this.regexp_nonEmptyClassRanges(t),ze)};_.regexp_nonEmptyClassRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;t.switchU&&(e===-1||i===-1)&&t.raise("Invalid character class"),e!==-1&&i!==-1&&e>i&&t.raise("Range out of order in character class")}}};_.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(i===99||Au(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var s=t.current();return s!==93?(t.lastIntValue=s,t.advance(),!0):!1};_.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)};_.regexp_classSetExpression=function(t){var e=ze,i;if(!this.regexp_eatClassSetRange(t))if(i=this.regexp_eatClassSetOperand(t)){i===Se&&(e=Se);for(var s=t.pos;t.eatChars([38,38]);){if(t.current()!==38&&(i=this.regexp_eatClassSetOperand(t))){i!==Se&&(e=ze);continue}t.raise("Invalid character in character class")}if(s!==t.pos)return e;for(;t.eatChars([45,45]);)this.regexp_eatClassSetOperand(t)||t.raise("Invalid character in character class");if(s!==t.pos)return e}else t.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(t)){if(i=this.regexp_eatClassSetOperand(t),!i)return e;i===Se&&(e=Se)}};_.regexp_eatClassSetRange=function(t){var e=t.pos;if(this.regexp_eatClassSetCharacter(t)){var i=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassSetCharacter(t)){var s=t.lastIntValue;return i!==-1&&s!==-1&&i>s&&t.raise("Range out of order in character class"),!0}t.pos=e}return!1};_.regexp_eatClassSetOperand=function(t){return this.regexp_eatClassSetCharacter(t)?ze:this.regexp_eatClassStringDisjunction(t)||this.regexp_eatNestedClass(t)};_.regexp_eatNestedClass=function(t){var e=t.pos;if(t.eat(91)){var i=t.eat(94),s=this.regexp_classContents(t);if(t.eat(93))return i&&s===Se&&t.raise("Negated character class may contain strings"),s;t.pos=e}if(t.eat(92)){var n=this.regexp_eatCharacterClassEscape(t);if(n)return n;t.pos=e}return null};_.regexp_eatClassStringDisjunction=function(t){var e=t.pos;if(t.eatChars([92,113])){if(t.eat(123)){var i=this.regexp_classStringDisjunctionContents(t);if(t.eat(125))return i}else t.raise("Invalid escape");t.pos=e}return null};_.regexp_classStringDisjunctionContents=function(t){for(var e=this.regexp_classString(t);t.eat(124);)this.regexp_classString(t)===Se&&(e=Se);return e};_.regexp_classString=function(t){for(var e=0;this.regexp_eatClassSetCharacter(t);)e++;return e===1?ze:Se};_.regexp_eatClassSetCharacter=function(t){var e=t.pos;if(t.eat(92))return this.regexp_eatCharacterEscape(t)||this.regexp_eatClassSetReservedPunctuator(t)?!0:t.eat(98)?(t.lastIntValue=8,!0):(t.pos=e,!1);var i=t.current();return i<0||i===t.lookahead()&&mx(i)||xx(i)?!1:(t.advance(),t.lastIntValue=i,!0)};function mx(t){return t===33||t>=35&&t<=38||t>=42&&t<=44||t===46||t>=58&&t<=64||t===94||t===96||t===126}function xx(t){return t===40||t===41||t===45||t===47||t>=91&&t<=93||t>=123&&t<=125}_.regexp_eatClassSetReservedPunctuator=function(t){var e=t.current();return vx(e)?(t.lastIntValue=e,t.advance(),!0):!1};function vx(t){return t===33||t===35||t===37||t===38||t===44||t===45||t>=58&&t<=62||t===64||t===96||t===126}_.regexp_eatClassControlLetter=function(t){var e=t.current();return ms(e)||e===95?(t.lastIntValue=e%32,t.advance(),!0):!1};_.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1};_.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;ms(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e};function ms(t){return t>=48&&t<=57}_.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;ku(i=t.current());)t.lastIntValue=16*t.lastIntValue+Eu(i),t.advance();return t.pos!==e};function ku(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Eu(t){return t>=65&&t<=70?10+(t-65):t>=97&&t<=102?10+(t-97):t-48}_.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=e*64+i*8+t.lastIntValue:t.lastIntValue=e*8+i}else t.lastIntValue=e;return!0}return!1};_.regexp_eatOctalDigit=function(t){var e=t.current();return Au(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)};function Au(t){return t>=48&&t<=55}_.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var s=0;s<e;++s){var n=t.current();if(!ku(n))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+Eu(n),t.advance()}return!0};var qt=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new nt(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},N=V.prototype;N.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new qt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};N.getToken=function(){return this.next(),new qt(this)};typeof Symbol<"u"&&(N[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===c.eof,value:e}}}});N.nextToken=function(){var t=this.curContext();if((!t||!t.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(c.eof);if(t.override)return t.override(this);this.readToken(this.fullCharCodeAtPos())};N.readToken=function(t){return Me(t,this.options.ecmaVersion>=6)||t===92?this.readWord():this.getTokenFromCode(t)};N.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(t<=55295||t>=56320)return t;var e=this.input.charCodeAt(this.pos+1);return e<=56319||e>=57344?t:(t<<10)+e-56613888};N.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,n=e;(s=Xc(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(e+2,i),e,this.pos,t,this.curPosition())};N.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!Le(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())};N.skipSpace=function(){e:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(t>8&&t<14||t>=5760&&Kn.test(String.fromCharCode(t)))++this.pos;else break e}}};N.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)};N.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&t===46&&e===46?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))};N.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):t===61?this.finishOp(c.assign,2):this.finishOp(c.slash,1)};N.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,s=t===42?c.star:c.modulo;return this.options.ecmaVersion>=7&&t===42&&e===42&&(++i,s=c.starstar,e=this.input.charCodeAt(this.pos+2)),e===61?this.finishOp(c.assign,i+1):this.finishOp(s,i)};N.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(c.assign,3)}return this.finishOp(t===124?c.logicalOR:c.logicalAND,2)}return e===61?this.finishOp(c.assign,2):this.finishOp(t===124?c.bitwiseOR:c.bitwiseAND,1)};N.readToken_caret=function(){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)};N.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?e===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||oe.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(c.incDec,2):e===61?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)};N.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;return e===t?(i=t===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(c.assign,i+1):this.finishOp(c.bitShift,i)):e===33&&t===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(e===61&&(i=2),this.finishOp(c.relational,i))};N.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(c.equality,this.input.charCodeAt(this.pos+2)===61?3:2):t===61&&e===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(t===61?c.eq:c.prefix,1)};N.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(e===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(c.questionDot,2)}if(e===63){if(t>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(c.assign,3)}return this.finishOp(c.coalesce,2)}}return this.finishOp(c.question,1)};N.readToken_numberSign=function(){var t=this.options.ecmaVersion,e=35;if(t>=13&&(++this.pos,e=this.fullCharCodeAtPos(),Me(e,!0)||e===92))return this.finishToken(c.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+st(e)+"'")};N.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(e===120||e===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(e===111||e===79)return this.readRadixNumber(8);if(e===98||e===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(c.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+st(t)+"'")};N.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)};N.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(oe.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if(s==="[")e=!0;else if(s==="]"&&e)e=!1;else if(s==="/"&&!e)break;t=s==="\\"}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var r=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(r);var o=this.regexpState||(this.regexpState=new De(this));o.reset(i,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var u=null;try{u=new RegExp(n,a)}catch{}return this.finishToken(c.regexp,{pattern:n,flags:a,value:u})};N.readInt=function(t,e,i){for(var s=this.options.ecmaVersion>=12&&e===void 0,n=i&&this.input.charCodeAt(this.pos)===48,r=this.pos,a=0,o=0,u=0,p=e??1/0;u<p;++u,++this.pos){var l=this.input.charCodeAt(this.pos),h=void 0;if(s&&l===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),o===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=l;continue}if(l>=97?h=l-97+10:l>=65?h=l-65+10:l>=48&&l<=57?h=l-48:h=1/0,h>=t)break;o=l,a=a*t+h}return s&&o===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||e!=null&&this.pos-r!==e?null:a};function gx(t,e){return e?parseInt(t,8):parseFloat(t.replace(/_/g,""))}function Ou(t){return typeof BigInt!="function"?null:BigInt(t.replace(/_/g,""))}N.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var i=this.readInt(t);return i==null&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Ou(this.input.slice(e,this.pos)),++this.pos):Me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,i)};N.readNumber=function(t){var e=this.pos;!t&&this.readInt(10,void 0,!0)===null&&this.raise(e,"Invalid number");var i=this.pos-e>=2&&this.input.charCodeAt(e)===48;i&&this.strict&&this.raise(e,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!t&&this.options.ecmaVersion>=11&&s===110){var n=Ou(this.input.slice(e,this.pos));return++this.pos,Me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,n)}i&&/[89]/.test(this.input.slice(e,this.pos))&&(i=!1),s===46&&!i&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!i&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(e,"Invalid number")),Me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r=gx(this.input.slice(e,this.pos),i);return this.finishToken(c.num,r)};N.readCodePoint=function(){var t=this.input.charCodeAt(this.pos),e;if(t===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else e=this.readHexChar(4);return e};N.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;s===92?(e+=this.input.slice(i,this.pos),e+=this.readEscapedChar(!1),i=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Le(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(c.string,e)};var Nu={};N.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t===Nu)this.readInvalidTemplateToken();else throw t}this.inTemplateElement=!1};N.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Nu;this.raise(t,e)};N.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===c.template||this.type===c.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote)):(t+=this.input.slice(e,this.pos),this.finishToken(c.template,t));if(i===92)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(Le(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:t+=`
@@ -39,8 +39,8 @@ const getSourcePath = (url, index = '', type = '') => {
39
39
  url = pathToFileURL(['anonymous', index ? `-${index}` : '', type ? `.${type}` : ''].join('')).toString();
40
40
  }
41
41
 
42
- // url could be a absolute path
43
- if (path.isAbsolute(url)) {
42
+ // url could be a path
43
+ if (!URL.canParse(url)) {
44
44
  url = pathToFileURL(url).toString();
45
45
  }
46
46
 
package/lib/utils/util.js CHANGED
@@ -377,11 +377,17 @@ const Util = {
377
377
  },
378
378
 
379
379
  rmSync: (p) => {
380
- if (fs.existsSync(p)) {
380
+ if (!fs.existsSync(p)) {
381
+ return;
382
+ }
383
+ try {
381
384
  fs.rmSync(p, {
382
385
  recursive: true,
383
- force: true
386
+ force: true,
387
+ maxRetries: 10
384
388
  });
389
+ } catch (err) {
390
+ console.log(err.message);
385
391
  }
386
392
  },
387
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-coverage-reports",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Monocart coverage reports",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -21,17 +21,22 @@
21
21
  "build-test": "node ./scripts/build-test.js",
22
22
  "build": "sf lint && sf b -p && npm run build-test",
23
23
  "test-node": "npm run test-node-env && npm run test-node-api && npm run test-node-ins && npm run test-node-cdp && npm run test-node-koa && npm run test-vm",
24
- "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-node-report.js",
24
+ "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
25
25
  "test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
26
26
  "test-node-fgc": "node ./test/test-node-fgc.js",
27
27
  "test-node-ins": "node ./test/test-node-ins.js",
28
28
  "test-node-cdp": "node --inspect=9229 ./test/test-node-cdp.js",
29
29
  "test-node-koa": "node ./test/test-node-koa.js",
30
30
  "test-vm": "node ./test/test-vm.js",
31
- "test-browser": "node ./test/test.js",
31
+ "test-istanbul": "node ./test/test-istanbul.js",
32
+ "test-v8": "node ./test/test-v8.js",
33
+ "test-browser": "node ./test/test.js && npm run test-istanbul && npm run test-v8 && npm run test-anonymous && npm run test-css",
34
+ "test-anonymous": "node ./test/test-anonymous.js",
35
+ "test-css": "node ./test/test-css.js",
32
36
  "test-cli": "npx mcr \"node ./test/test-node-env.js\" -o docs/cli -c test/cli-options.js",
33
37
  "test-merge": "node ./test/test-merge.js",
34
- "test": "npm run test-browser && npm run test-node && npm run test-cli && npm run test-merge && npm run build-docs",
38
+ "test-all": "npm run test-browser && npm run test-node && npm run test-cli && npm run test-merge && npm run build-docs",
39
+ "test": "npx mcr \"npm run test-all\" -c test/mcr-options.js",
35
40
  "dev": "sf d v8",
36
41
  "open": "node ./scripts/open.js",
37
42
  "patch": "npm run build && sf publish patch -r"
@@ -56,7 +61,7 @@
56
61
  "istanbul-reports": "~3.1.6",
57
62
  "lz-utils": "~2.0.2",
58
63
  "monocart-code-viewer": "~1.0.13",
59
- "monocart-formatter": "~2.3.0",
64
+ "monocart-formatter": "~2.3.1",
60
65
  "turbogrid": "^3.0.13"
61
66
  },
62
67
  "devDependencies": {