ADAPT-Chase commited on
Commit
9157d09
·
verified ·
1 Parent(s): 7a81071

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/README.md +248 -0
  2. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +11 -0
  3. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +41 -0
  4. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +1 -0
  5. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.d.ts +6 -0
  6. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.js +17 -0
  7. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +1 -0
  8. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.d.ts +6 -0
  9. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.js +7 -0
  10. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.js.map +1 -0
  11. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.d.ts +5 -0
  12. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +27 -0
  13. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +1 -0
  14. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.d.ts +6 -0
  15. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js +38 -0
  16. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js.map +1 -0
  17. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +12 -0
  18. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +70 -0
  19. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +1 -0
  20. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.d.ts +3 -0
  21. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.js +11 -0
  22. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.js.map +1 -0
  23. novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/package.json +63 -0
  24. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/LICENSE +22 -0
  25. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/README.md +19 -0
  26. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/lib/index.js +216 -0
  27. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  28. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/package.json +31 -0
  29. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  30. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  31. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  32. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  33. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  34. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  35. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  36. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  37. novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  38. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/LICENSE.md +21 -0
  39. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/README.md +289 -0
  40. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/browser-source-map-support.js +114 -0
  41. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/package.json +50 -0
  42. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register-hook-require.d.ts +7 -0
  43. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register-hook-require.js +3 -0
  44. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register.d.ts +7 -0
  45. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register.js +1 -0
  46. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/source-map-support.d.ts +76 -0
  47. novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/source-map-support.js +938 -0
  48. novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/LICENSE +21 -0
  49. novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/README.md +37 -0
  50. novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/index.d.mts +217 -0
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/README.md ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @alcalzone/ansi-tokenize
2
+
3
+ > Efficiently modify strings containing [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)
4
+
5
+ If you find yourself modifying styled strings repeatedly, alternatives like [`slice-ansi`](https://github.com/chalk/slice-ansi/) may end up doing a lot of unnecessary work by re-parsing the string each time. This module provides a way to parse the string into an array of tokens (characters or ANSI codes), which can then be modified and re-serialized into a styled string.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install @alcalzone/ansi-tokenize
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### Tokenize a string
16
+
17
+ ```js
18
+ import { tokenize } from "@alcalzone/ansi-tokenize";
19
+
20
+ // red "foo", followed by unstyled "bar"
21
+ const str = "\x1B[31mfoo\x1B[39mbar";
22
+ const tokens = tokenize(str);
23
+
24
+ // tokens will now look like this:
25
+ [
26
+ {
27
+ type: "ansi",
28
+ code: "\x1B[31m",
29
+ endCode: "\x1B[39m",
30
+ },
31
+ {
32
+ type: "char",
33
+ value: "f",
34
+ fullWidth: false,
35
+ },
36
+ {
37
+ type: "char",
38
+ value: "o",
39
+ fullWidth: false,
40
+ },
41
+ {
42
+ type: "char",
43
+ value: "o",
44
+ fullWidth: false,
45
+ },
46
+ {
47
+ type: "ansi",
48
+ code: "\x1B[39m",
49
+ endCode: "\x1B[39m",
50
+ },
51
+ {
52
+ type: "char",
53
+ value: "b",
54
+ fullWidth: false,
55
+ },
56
+ {
57
+ type: "char",
58
+ value: "a",
59
+ fullWidth: false,
60
+ },
61
+ {
62
+ type: "char",
63
+ value: "r",
64
+ fullWidth: false,
65
+ },
66
+ ];
67
+ ```
68
+
69
+ Each token is either a character
70
+
71
+ ```ts
72
+ export interface Char {
73
+ type: "char";
74
+ value: string;
75
+ fullWidth: boolean;
76
+ }
77
+ ```
78
+
79
+ where
80
+
81
+ - `value` is the string representation of the character
82
+ - `fullWidth` is `true` if the character is full width (takes up 2 characters in monospace, like CJK characters)
83
+
84
+ or an ANSI code
85
+
86
+ ```ts
87
+ export interface AnsiCode {
88
+ type: "ansi";
89
+ code: string;
90
+ endCode: string;
91
+ }
92
+ ```
93
+
94
+ where
95
+
96
+ - `code` is the ANSI code that starts the style
97
+ - and `endCode` is the corresponding ANSI code that ends the style.
98
+
99
+ An `AnsiCode` can also be an end code, in which case `code` and `endCode` will be the same.
100
+
101
+ ### Convert an array of tokens into an array of "styled" chars
102
+
103
+ This representation is a 1:1 mapping of the original string, but not very useful for modifying the string. The `styledCharsFromTokens` function converts a token array to an array of characters, where each character has an all currently active styles associated with it:
104
+
105
+ ```ts
106
+ export interface StyledChar {
107
+ type: "char";
108
+ value: string;
109
+ fullWidth: boolean;
110
+ styles: AnsiCode[];
111
+ }
112
+ ```
113
+
114
+ Using the above example:
115
+
116
+ ```js
117
+ import { tokenize, styledCharsFromTokens } from "@alcalzone/ansi-tokenize";
118
+
119
+ // red "foo", followed by unstyled "bar"
120
+ const str = "\x1B[31mfoo\x1B[39mbar";
121
+ const tokens = tokenize(str);
122
+
123
+ const styledChars = styledCharsFromTokens(tokens);
124
+
125
+ // styledChars will contain the following:
126
+ [
127
+ {
128
+ type: "char",
129
+ value: "f",
130
+ fullWidth: false,
131
+ styles: [
132
+ {
133
+ type: "ansi",
134
+ code: "\x1B[31m",
135
+ endCode: "\x1B[39m",
136
+ },
137
+ ],
138
+ },
139
+ {
140
+ type: "char",
141
+ value: "o",
142
+ fullWidth: false,
143
+ styles: [
144
+ {
145
+ type: "ansi",
146
+ code: "\x1B[31m",
147
+ endCode: "\x1B[39m",
148
+ },
149
+ ],
150
+ },
151
+ {
152
+ type: "char",
153
+ value: "o",
154
+ fullWidth: false,
155
+ styles: [
156
+ {
157
+ type: "ansi",
158
+ code: "\x1B[31m",
159
+ endCode: "\x1B[39m",
160
+ },
161
+ ],
162
+ },
163
+ {
164
+ type: "char",
165
+ value: "b",
166
+ fullWidth: false,
167
+ styles: [],
168
+ },
169
+ {
170
+ type: "char",
171
+ value: "a",
172
+ fullWidth: false,
173
+ styles: [],
174
+ },
175
+ {
176
+ type: "char",
177
+ value: "r",
178
+ fullWidth: false,
179
+ styles: [],
180
+ },
181
+ ];
182
+ ```
183
+
184
+ ### Modify an array of styled characters
185
+
186
+ For modification simply edit the items in the array as necessary, as long as the following rules are followed:
187
+
188
+ 1. The `code` and `endCode` properties must match. You can use the `ansi-styles` module to do this.
189
+ 2. The `fullWidth` property must be correct. You can use the `is-fullwidth-code-point` module to do this, or if working with multiple strings, turn those into styled char arrays first.
190
+
191
+ E.g. to make the first `o` blue and bold:
192
+
193
+ ```js
194
+ import ansiStyles from "ansi-styles";
195
+
196
+ // ... include the above code
197
+
198
+ styledChars[1].styles = [
199
+ {
200
+ type: "ansi",
201
+ code: ansiStyles.blue.open,
202
+ endCode: ansiStyles.blue.close,
203
+ },
204
+ {
205
+ type: "ansi",
206
+ code: ansiStyles.bold.open,
207
+ endCode: ansiStyles.bold.close,
208
+ },
209
+ ];
210
+ ```
211
+
212
+ ### Serialize a styled character array back to a string
213
+
214
+ The `styledCharsToString` function converts a styled character array back to a string:
215
+
216
+ ```js
217
+ import { styledCharsToString } from "@alcalzone/ansi-tokenize";
218
+
219
+ // ... include the above code
220
+
221
+ const strOut = styledCharsToString(styledChars);
222
+
223
+ // str will now be '\x1B[31mf\x1B[34m\x1B[1mo\x1B[22m\x1B[31mo\x1B[39mbar'
224
+ ```
225
+
226
+ This automatically figures out the least amount of escape codes necessary to achieve the desired result, as long as the `styles` arrays contain no unnecessary styles, e.g. blue + red foreground.
227
+
228
+ ## Changelog
229
+
230
+ <!--
231
+ Placeholder for next release:
232
+ ### __WORK IN PROGRESS__
233
+ -->
234
+ ### 0.1.3 (2023-09-07)
235
+
236
+ - Fix: Support links
237
+
238
+ ### 0.1.2 (2023-08-07)
239
+
240
+ - Fix: Reduce minimum Node.js version to `14.13.1`
241
+
242
+ ### 0.1.1 (2023-04-05)
243
+
244
+ - Fix: Active styles are now correctly reset at the end of the string
245
+
246
+ ### 0.1.0 (2023-03-20)
247
+
248
+ Initial release
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { AnsiCode } from "./tokenize.js";
2
+ export declare const ESCAPES: Set<number>;
3
+ export declare const endCodesSet: Set<string>;
4
+ export declare const linkStartCodePrefix = "\u001B]8;;";
5
+ export declare const linkStartCodePrefixCharCodes: number[];
6
+ export declare const linkCodeSuffix = "\u0007";
7
+ export declare const linkCodeSuffixCharCode: number;
8
+ export declare const linkEndCode: string;
9
+ export declare function getLinkStartCode(url: string): string;
10
+ export declare function getEndCode(code: string): string;
11
+ export declare function ansiCodesToString(codes: AnsiCode[]): string;
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ansiStyles from "ansi-styles";
2
+ export const ESCAPES = new Set([27, 155]); // \x1b and \x9b
3
+ export const endCodesSet = new Set();
4
+ const endCodesMap = new Map();
5
+ for (const [start, end] of ansiStyles.codes) {
6
+ endCodesSet.add(ansiStyles.color.ansi(end));
7
+ endCodesMap.set(ansiStyles.color.ansi(start), ansiStyles.color.ansi(end));
8
+ }
9
+ export const linkStartCodePrefix = "\x1B]8;;";
10
+ export const linkStartCodePrefixCharCodes = linkStartCodePrefix
11
+ .split("")
12
+ .map((char) => char.charCodeAt(0));
13
+ export const linkCodeSuffix = "\x07";
14
+ export const linkCodeSuffixCharCode = linkCodeSuffix.charCodeAt(0);
15
+ export const linkEndCode = `\x1B]8;;${linkCodeSuffix}`;
16
+ export function getLinkStartCode(url) {
17
+ return `${linkStartCodePrefix}${url}${linkCodeSuffix}`;
18
+ }
19
+ export function getEndCode(code) {
20
+ if (endCodesSet.has(code))
21
+ return code;
22
+ if (endCodesMap.has(code))
23
+ return endCodesMap.get(code);
24
+ if (code.startsWith(linkStartCodePrefix))
25
+ return linkEndCode;
26
+ code = code.slice(2);
27
+ if (code.includes(";")) {
28
+ code = code[0] + "0";
29
+ }
30
+ const ret = ansiStyles.codes.get(parseInt(code, 10));
31
+ if (ret) {
32
+ return ansiStyles.color.ansi(ret);
33
+ }
34
+ else {
35
+ return ansiStyles.reset.open;
36
+ }
37
+ }
38
+ export function ansiCodesToString(codes) {
39
+ return codes.map((code) => code.code).join("");
40
+ }
41
+ //# sourceMappingURL=ansiCodes.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ansiCodes.js","sourceRoot":"","sources":["../src/ansiCodes.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,aAAa,CAAC;AAGrC,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB;AAE3D,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,GAAG,EAAU,CAAC;AAC7C,MAAM,WAAW,GAAG,IAAI,GAAG,EAAkB,CAA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CAAC,GAAG,CAAC,EAAE;QACvB,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;KACrB;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IACrD,IAAI,GAAG,EAAE;QACR,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClC;SAAM;QACN,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;KAC7B;AACF,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,KAAiB;IAClD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.d.ts ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import type { AnsiCode } from "./tokenize.js";
2
+ /**
3
+ * Returns the minimum amount of ANSI codes necessary to get from the compound style `from` to `to`.
4
+ * Both `from` and `to` are expected to be reduced.
5
+ */
6
+ export declare function diffAnsiCodes(from: AnsiCode[], to: AnsiCode[]): AnsiCode[];
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { undoAnsiCodes } from "./undo.js";
2
+ /**
3
+ * Returns the minimum amount of ANSI codes necessary to get from the compound style `from` to `to`.
4
+ * Both `from` and `to` are expected to be reduced.
5
+ */
6
+ export function diffAnsiCodes(from, to) {
7
+ const endCodesInTo = new Set(to.map((code) => code.endCode));
8
+ const startCodesInFrom = new Set(from.map((code) => code.code));
9
+ return [
10
+ // Ignore all styles in `from` that are not overwritten or removed by `to`
11
+ // Disable all styles in `from` that are removed in `to`
12
+ ...undoAnsiCodes(from.filter((code) => !endCodesInTo.has(code.endCode))),
13
+ // Add all styles in `to` that don't exist in `from`
14
+ ...to.filter((code) => !startCodesInFrom.has(code.code)),
15
+ ];
16
+ }
17
+ //# sourceMappingURL=diff.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"diff.js","sourceRoot":"","sources":["../src/diff.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,IAAgB,EAAE,EAAc;IAC7D,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7D,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhE,OAAO;QACN,0EAA0E;QAC1E,wDAAwD;QACxD,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QACxE,oDAAoD;QACpD,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACxD,CAAC;AACH,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.d.ts ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ export { ansiCodesToString } from "./ansiCodes.js";
2
+ export { diffAnsiCodes } from "./diff.js";
3
+ export { reduceAnsiCodes, reduceAnsiCodesIncremental } from "./reduce.js";
4
+ export * from "./styledChars.js";
5
+ export * from "./tokenize.js";
6
+ export { undoAnsiCodes } from "./undo.js";
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ export { ansiCodesToString } from "./ansiCodes.js";
2
+ export { diffAnsiCodes } from "./diff.js";
3
+ export { reduceAnsiCodes, reduceAnsiCodesIncremental } from "./reduce.js";
4
+ export * from "./styledChars.js";
5
+ export * from "./tokenize.js";
6
+ export { undoAnsiCodes } from "./undo.js";
7
+ //# sourceMappingURL=index.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/index.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAC1E,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import type { AnsiCode } from "./tokenize.js";
2
+ /** Reduces the given array of ANSI codes to the minimum necessary to render with the same style */
3
+ export declare function reduceAnsiCodes(codes: AnsiCode[]): AnsiCode[];
4
+ /** Like {@link reduceAnsiCodes}, but assumes that `codes` is already reduced. Further reductions are only done for the items in `newCodes`. */
5
+ export declare function reduceAnsiCodesIncremental(codes: AnsiCode[], newCodes: AnsiCode[]): AnsiCode[];
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ansiStyles from "ansi-styles";
2
+ import { endCodesSet } from "./ansiCodes.js";
3
+ /** Reduces the given array of ANSI codes to the minimum necessary to render with the same style */
4
+ export function reduceAnsiCodes(codes) {
5
+ return reduceAnsiCodesIncremental([], codes);
6
+ }
7
+ /** Like {@link reduceAnsiCodes}, but assumes that `codes` is already reduced. Further reductions are only done for the items in `newCodes`. */
8
+ export function reduceAnsiCodesIncremental(codes, newCodes) {
9
+ let ret = [...codes];
10
+ for (const code of newCodes) {
11
+ if (code.code === ansiStyles.reset.open) {
12
+ // Reset code, disable all codes
13
+ ret = [];
14
+ }
15
+ else if (endCodesSet.has(code.code)) {
16
+ // This is an end code, disable all matching start codes
17
+ ret = ret.filter((retCode) => retCode.endCode !== code.code);
18
+ }
19
+ else {
20
+ // This is a start code. Disable all styles this "overrides", then enable it
21
+ ret = ret.filter((retCode) => retCode.endCode !== code.endCode);
22
+ ret.push(code);
23
+ }
24
+ }
25
+ return ret;
26
+ }
27
+ //# sourceMappingURL=reduce.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"reduce.js","sourceRoot":"","sources":["../src/reduce.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,mGAAmG;AACnG,MAAM,UAAU,eAAe,CAAC,KAAiB;IAChD,OAAO,0BAA0B,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,+IAA+I;AAC/I,MAAM,UAAU,0BAA0B,CAAC,KAAiB,EAAE,QAAoB;IACjF,IAAI,GAAG,GAAe,CAAC,GAAG,KAAK,CAAC,CAAC;IACjC,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE;QAC5B,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE;YACxC,gCAAgC;YAChC,GAAG,GAAG,EAAE,CAAC;SACT;aAAM,IAAI,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACtC,wDAAwD;YACxD,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;SAC7D;aAAM;YACN,4EAA4E;YAC5E,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,OAAO,CAAC,CAAC;YAChE,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACf;KACD;IAED,OAAO,GAAG,CAAC;AACZ,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.d.ts ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import type { AnsiCode, Char, Token } from "./tokenize.js";
2
+ export interface StyledChar extends Char {
3
+ styles: AnsiCode[];
4
+ }
5
+ export declare function styledCharsFromTokens(tokens: Token[]): StyledChar[];
6
+ export declare function styledCharsToString(chars: StyledChar[]): string;
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { ansiCodesToString } from "./ansiCodes.js";
2
+ import { diffAnsiCodes } from "./diff.js";
3
+ import { reduceAnsiCodesIncremental } from "./reduce.js";
4
+ export function styledCharsFromTokens(tokens) {
5
+ let codes = [];
6
+ const ret = [];
7
+ for (const token of tokens) {
8
+ if (token.type === "ansi") {
9
+ codes = reduceAnsiCodesIncremental(codes, [token]);
10
+ }
11
+ else if (token.type === "char") {
12
+ ret.push({
13
+ ...token,
14
+ styles: [...codes],
15
+ });
16
+ }
17
+ }
18
+ return ret;
19
+ }
20
+ export function styledCharsToString(chars) {
21
+ let ret = "";
22
+ for (let i = 0; i < chars.length; i++) {
23
+ const char = chars[i];
24
+ if (i === 0) {
25
+ ret += ansiCodesToString(char.styles);
26
+ }
27
+ else {
28
+ ret += ansiCodesToString(diffAnsiCodes(chars[i - 1].styles, char.styles));
29
+ }
30
+ ret += char.value;
31
+ // reset active styles at the end of the string
32
+ if (i === chars.length - 1) {
33
+ ret += ansiCodesToString(diffAnsiCodes(char.styles, []));
34
+ }
35
+ }
36
+ return ret;
37
+ }
38
+ //# sourceMappingURL=styledChars.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"styledChars.js","sourceRoot":"","sources":["../src/styledChars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAOzD,MAAM,UAAU,qBAAqB,CAAC,MAAe;IACpD,IAAI,KAAK,GAAe,EAAE,CAAC;IAC3B,MAAM,GAAG,GAAiB,EAAE,CAAC;IAC7B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC3B,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE;YAC1B,KAAK,GAAG,0BAA0B,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;SACnD;aAAM,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE;YACjC,GAAG,CAAC,IAAI,CAAC;gBACR,GAAG,KAAK;gBACR,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC;aAClB,CAAC,CAAC;SACH;KACD;IACD,OAAO,GAAG,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAAmB;IACtD,IAAI,GAAG,GAAG,EAAE,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACtC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACtB,IAAI,CAAC,KAAK,CAAC,EAAE;YACZ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACtC;aAAM;YACN,GAAG,IAAI,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;SAC1E;QACD,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC;QAClB,+CAA+C;QAC/C,IAAI,CAAC,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;YAC3B,GAAG,IAAI,iBAAiB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;SACzD;KACD;IACD,OAAO,GAAG,CAAC;AACZ,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export interface AnsiCode {
2
+ type: "ansi";
3
+ code: string;
4
+ endCode: string;
5
+ }
6
+ export interface Char {
7
+ type: "char";
8
+ value: string;
9
+ fullWidth: boolean;
10
+ }
11
+ export type Token = AnsiCode | Char;
12
+ export declare function tokenize(str: string, endChar?: number): Token[];
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import isFullwidthCodePoint from "is-fullwidth-code-point";
2
+ import { ESCAPES, getEndCode, linkStartCodePrefix, linkStartCodePrefixCharCodes, } from "./ansiCodes.js";
3
+ function findNumberIndex(str) {
4
+ for (let index = 0; index < str.length; index++) {
5
+ const charCode = str.charCodeAt(index);
6
+ if (charCode >= 48 && charCode <= 57) {
7
+ return index;
8
+ }
9
+ }
10
+ return -1;
11
+ }
12
+ function parseLinkCode(string, offset) {
13
+ string = string.slice(offset);
14
+ for (let index = 1; index < linkStartCodePrefixCharCodes.length; index++) {
15
+ if (string.charCodeAt(index) !== linkStartCodePrefixCharCodes[index]) {
16
+ return undefined;
17
+ }
18
+ }
19
+ // This is a link code (with or without the URL part). Find the end of it.
20
+ const endIndex = string.indexOf("\x07", linkStartCodePrefix.length);
21
+ if (endIndex === -1)
22
+ return undefined;
23
+ return string.slice(0, endIndex + 1);
24
+ }
25
+ function parseAnsiCode(string, offset) {
26
+ string = string.slice(offset, offset + 19);
27
+ const startIndex = findNumberIndex(string);
28
+ if (startIndex !== -1) {
29
+ let endIndex = string.indexOf("m", startIndex);
30
+ if (endIndex === -1) {
31
+ endIndex = string.length;
32
+ }
33
+ return string.slice(0, endIndex + 1);
34
+ }
35
+ }
36
+ export function tokenize(str, endChar = Number.POSITIVE_INFINITY) {
37
+ const ret = [];
38
+ let index = 0;
39
+ let visible = 0;
40
+ while (index < str.length) {
41
+ const codePoint = str.codePointAt(index);
42
+ if (ESCAPES.has(codePoint)) {
43
+ // TODO: We should probably decide on the next character ("[" or "]") which code path to take.
44
+ const code = parseLinkCode(str, index) || parseAnsiCode(str, index);
45
+ if (code) {
46
+ ret.push({
47
+ type: "ansi",
48
+ code,
49
+ endCode: getEndCode(code),
50
+ });
51
+ index += code.length;
52
+ continue;
53
+ }
54
+ }
55
+ const fullWidth = isFullwidthCodePoint(codePoint);
56
+ const character = String.fromCodePoint(codePoint);
57
+ ret.push({
58
+ type: "char",
59
+ value: character,
60
+ fullWidth,
61
+ });
62
+ index += character.length;
63
+ visible += fullWidth ? 2 : character.length;
64
+ if (visible >= endChar) {
65
+ break;
66
+ }
67
+ }
68
+ return ret;
69
+ }
70
+ //# sourceMappingURL=tokenize.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"tokenize.js","sourceRoot":"","sources":["../src/tokenize.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACN,OAAO,EACP,UAAU,EACV,mBAAmB,EACnB,4BAA4B,GAC5B,MAAM,gBAAgB,CAAC;AAgBxB,SAAS,eAAe,CAAC,GAAW;IACnC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACvC,IAAI,QAAQ,IAAI,EAAE,IAAI,QAAQ,IAAI,EAAE,EAAE;YACrC,OAAO,KAAK,CAAC;SACb;KACD;IAED,OAAO,CAAC,CAAC,CAAC;AACX,CAAC;AAED,SAAS,aAAa,CAAC,MAAc,EAAE,MAAc;IACpD,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,4BAA4B,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACzE,IAAI,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,4BAA4B,CAAC,KAAK,CAAC,EAAE;YACrE,OAAO,SAAS,CAAC;SACjB;KACD;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E,IAAI,IAAI,EAAE;gBACT,GAAG,CAAC,IAAI,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,IAAI;oBACJ,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC;iBACzB,CAAC,CAAC;gBACH,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC;gBACrB,SAAS;aACT;SACD;QAED,MAAM,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;QAClD,MAAM,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAElD,GAAG,CAAC,IAAI,CAAC;YACR,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,SAAS;YAChB,SAAS;SACT,CAAC,CAAC;QAEH,KAAK,IAAI,SAAS,CAAC,MAAM,CAAC;QAC1B,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC;QAE5C,IAAI,OAAO,IAAI,OAAO,EAAE;YACvB,MAAM;SACN;KACD;IAED,OAAO,GAAG,CAAC;AACZ,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.d.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import type { AnsiCode } from "./tokenize.js";
2
+ /** Returns the combination of ANSI codes needed to undo the given ANSI codes */
3
+ export declare function undoAnsiCodes(codes: AnsiCode[]): AnsiCode[];
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { reduceAnsiCodes } from "./reduce.js";
2
+ /** Returns the combination of ANSI codes needed to undo the given ANSI codes */
3
+ export function undoAnsiCodes(codes) {
4
+ return reduceAnsiCodes(codes)
5
+ .reverse()
6
+ .map((code) => ({
7
+ ...code,
8
+ code: code.endCode,
9
+ }));
10
+ }
11
+ //# sourceMappingURL=undo.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/build/undo.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"undo.js","sourceRoot":"","sources":["../src/undo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,gFAAgF;AAChF,MAAM,UAAU,aAAa,CAAC,KAAiB;IAC9C,OAAO,eAAe,CAAC,KAAK,CAAC;SAC3B,OAAO,EAAE;SACT,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACf,GAAG,IAAI;QACP,IAAI,EAAE,IAAI,CAAC,OAAO;KAClB,CAAC,CAAC,CAAC;AACN,CAAC"}
novas/novacore-zephyr/groq-code-cli/node_modules/@alcalzone/ansi-tokenize/package.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@alcalzone/ansi-tokenize",
3
+ "version": "0.1.3",
4
+ "description": "Efficiently modify strings containing ANSI escape codes",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "author": {
9
+ "name": "AlCalzone",
10
+ "email": "d.griesel@gmx.net"
11
+ },
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "module": "build/index.js",
15
+ "types": "build/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./build/index.d.ts",
19
+ "import": "./build/index.js"
20
+ },
21
+ "./package.json": "./package.json"
22
+ },
23
+ "files": [
24
+ "build"
25
+ ],
26
+ "engines": {
27
+ "node": ">=14.13.1"
28
+ },
29
+ "devDependencies": {
30
+ "@alcalzone/release-script": "~3.5.9",
31
+ "@alcalzone/release-script-plugin-license": "~3.5.9",
32
+ "@tsconfig/node14": "^14.1.0",
33
+ "@types/node": "^14.18.54",
34
+ "@typescript-eslint/eslint-plugin": "^5.55.0",
35
+ "@typescript-eslint/parser": "^5.55.0",
36
+ "ava": "^4.3.3",
37
+ "eslint": "^8.36.0",
38
+ "eslint-config-prettier": "^8.7.0",
39
+ "eslint-plugin-prettier": "^4.2.1",
40
+ "prettier": "^2.8.4",
41
+ "source-map-support": "^0.5.21",
42
+ "ts-node": "^10.9.1",
43
+ "tsx": "^3.12.8",
44
+ "typescript": "^5.0.2"
45
+ },
46
+ "dependencies": {
47
+ "ansi-styles": "^6.2.1",
48
+ "is-fullwidth-code-point": "^4.0.0"
49
+ },
50
+ "scripts": {
51
+ "prepare": "tsc -p tsconfig.build.json",
52
+ "build": "tsc -p tsconfig.build.json",
53
+ "test": "NODE_OPTIONS='--loader tsx' ava",
54
+ "lint": "eslint .",
55
+ "release": "release-script"
56
+ },
57
+ "ava": {
58
+ "extensions": {
59
+ "ts": "module"
60
+ }
61
+ },
62
+ "packageManager": "yarn@3.5.0"
63
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @babel/code-frame
2
+
3
+ > Generate errors that contain a code frame that point to source locations.
4
+
5
+ See our website [@babel/code-frame](https://babeljs.io/docs/babel-code-frame) for more information.
6
+
7
+ ## Install
8
+
9
+ Using npm:
10
+
11
+ ```sh
12
+ npm install --save-dev @babel/code-frame
13
+ ```
14
+
15
+ or using yarn:
16
+
17
+ ```sh
18
+ yarn add @babel/code-frame --dev
19
+ ```
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/lib/index.js ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var picocolors = require('picocolors');
6
+ var jsTokens = require('js-tokens');
7
+ var helperValidatorIdentifier = require('@babel/helper-validator-identifier');
8
+
9
+ function isColorSupported() {
10
+ return (typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported
11
+ );
12
+ }
13
+ const compose = (f, g) => v => f(g(v));
14
+ function buildDefs(colors) {
15
+ return {
16
+ keyword: colors.cyan,
17
+ capitalized: colors.yellow,
18
+ jsxIdentifier: colors.yellow,
19
+ punctuator: colors.yellow,
20
+ number: colors.magenta,
21
+ string: colors.green,
22
+ regex: colors.magenta,
23
+ comment: colors.gray,
24
+ invalid: compose(compose(colors.white, colors.bgRed), colors.bold),
25
+ gutter: colors.gray,
26
+ marker: compose(colors.red, colors.bold),
27
+ message: compose(colors.red, colors.bold),
28
+ reset: colors.reset
29
+ };
30
+ }
31
+ const defsOn = buildDefs(picocolors.createColors(true));
32
+ const defsOff = buildDefs(picocolors.createColors(false));
33
+ function getDefs(enabled) {
34
+ return enabled ? defsOn : defsOff;
35
+ }
36
+
37
+ const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]);
38
+ const NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
39
+ const BRACKET = /^[()[\]{}]$/;
40
+ let tokenize;
41
+ {
42
+ const JSX_TAG = /^[a-z][\w-]*$/i;
43
+ const getTokenType = function (token, offset, text) {
44
+ if (token.type === "name") {
45
+ if (helperValidatorIdentifier.isKeyword(token.value) || helperValidatorIdentifier.isStrictReservedWord(token.value, true) || sometimesKeywords.has(token.value)) {
46
+ return "keyword";
47
+ }
48
+ if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
49
+ return "jsxIdentifier";
50
+ }
51
+ if (token.value[0] !== token.value[0].toLowerCase()) {
52
+ return "capitalized";
53
+ }
54
+ }
55
+ if (token.type === "punctuator" && BRACKET.test(token.value)) {
56
+ return "bracket";
57
+ }
58
+ if (token.type === "invalid" && (token.value === "@" || token.value === "#")) {
59
+ return "punctuator";
60
+ }
61
+ return token.type;
62
+ };
63
+ tokenize = function* (text) {
64
+ let match;
65
+ while (match = jsTokens.default.exec(text)) {
66
+ const token = jsTokens.matchToToken(match);
67
+ yield {
68
+ type: getTokenType(token, match.index, text),
69
+ value: token.value
70
+ };
71
+ }
72
+ };
73
+ }
74
+ function highlight(text) {
75
+ if (text === "") return "";
76
+ const defs = getDefs(true);
77
+ let highlighted = "";
78
+ for (const {
79
+ type,
80
+ value
81
+ } of tokenize(text)) {
82
+ if (type in defs) {
83
+ highlighted += value.split(NEWLINE$1).map(str => defs[type](str)).join("\n");
84
+ } else {
85
+ highlighted += value;
86
+ }
87
+ }
88
+ return highlighted;
89
+ }
90
+
91
+ let deprecationWarningShown = false;
92
+ const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
93
+ function getMarkerLines(loc, source, opts) {
94
+ const startLoc = Object.assign({
95
+ column: 0,
96
+ line: -1
97
+ }, loc.start);
98
+ const endLoc = Object.assign({}, startLoc, loc.end);
99
+ const {
100
+ linesAbove = 2,
101
+ linesBelow = 3
102
+ } = opts || {};
103
+ const startLine = startLoc.line;
104
+ const startColumn = startLoc.column;
105
+ const endLine = endLoc.line;
106
+ const endColumn = endLoc.column;
107
+ let start = Math.max(startLine - (linesAbove + 1), 0);
108
+ let end = Math.min(source.length, endLine + linesBelow);
109
+ if (startLine === -1) {
110
+ start = 0;
111
+ }
112
+ if (endLine === -1) {
113
+ end = source.length;
114
+ }
115
+ const lineDiff = endLine - startLine;
116
+ const markerLines = {};
117
+ if (lineDiff) {
118
+ for (let i = 0; i <= lineDiff; i++) {
119
+ const lineNumber = i + startLine;
120
+ if (!startColumn) {
121
+ markerLines[lineNumber] = true;
122
+ } else if (i === 0) {
123
+ const sourceLength = source[lineNumber - 1].length;
124
+ markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
125
+ } else if (i === lineDiff) {
126
+ markerLines[lineNumber] = [0, endColumn];
127
+ } else {
128
+ const sourceLength = source[lineNumber - i].length;
129
+ markerLines[lineNumber] = [0, sourceLength];
130
+ }
131
+ }
132
+ } else {
133
+ if (startColumn === endColumn) {
134
+ if (startColumn) {
135
+ markerLines[startLine] = [startColumn, 0];
136
+ } else {
137
+ markerLines[startLine] = true;
138
+ }
139
+ } else {
140
+ markerLines[startLine] = [startColumn, endColumn - startColumn];
141
+ }
142
+ }
143
+ return {
144
+ start,
145
+ end,
146
+ markerLines
147
+ };
148
+ }
149
+ function codeFrameColumns(rawLines, loc, opts = {}) {
150
+ const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
151
+ const defs = getDefs(shouldHighlight);
152
+ const lines = rawLines.split(NEWLINE);
153
+ const {
154
+ start,
155
+ end,
156
+ markerLines
157
+ } = getMarkerLines(loc, lines, opts);
158
+ const hasColumns = loc.start && typeof loc.start.column === "number";
159
+ const numberMaxWidth = String(end).length;
160
+ const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;
161
+ let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => {
162
+ const number = start + 1 + index;
163
+ const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
164
+ const gutter = ` ${paddedNumber} |`;
165
+ const hasMarker = markerLines[number];
166
+ const lastMarkerLine = !markerLines[number + 1];
167
+ if (hasMarker) {
168
+ let markerLine = "";
169
+ if (Array.isArray(hasMarker)) {
170
+ const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
171
+ const numberOfMarkers = hasMarker[1] || 1;
172
+ markerLine = ["\n ", defs.gutter(gutter.replace(/\d/g, " ")), " ", markerSpacing, defs.marker("^").repeat(numberOfMarkers)].join("");
173
+ if (lastMarkerLine && opts.message) {
174
+ markerLine += " " + defs.message(opts.message);
175
+ }
176
+ }
177
+ return [defs.marker(">"), defs.gutter(gutter), line.length > 0 ? ` ${line}` : "", markerLine].join("");
178
+ } else {
179
+ return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`;
180
+ }
181
+ }).join("\n");
182
+ if (opts.message && !hasColumns) {
183
+ frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`;
184
+ }
185
+ if (shouldHighlight) {
186
+ return defs.reset(frame);
187
+ } else {
188
+ return frame;
189
+ }
190
+ }
191
+ function index (rawLines, lineNumber, colNumber, opts = {}) {
192
+ if (!deprecationWarningShown) {
193
+ deprecationWarningShown = true;
194
+ const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
195
+ if (process.emitWarning) {
196
+ process.emitWarning(message, "DeprecationWarning");
197
+ } else {
198
+ const deprecationError = new Error(message);
199
+ deprecationError.name = "DeprecationWarning";
200
+ console.warn(new Error(message));
201
+ }
202
+ }
203
+ colNumber = Math.max(colNumber, 0);
204
+ const location = {
205
+ start: {
206
+ column: colNumber,
207
+ line: lineNumber
208
+ }
209
+ };
210
+ return codeFrameColumns(rawLines, location, opts);
211
+ }
212
+
213
+ exports.codeFrameColumns = codeFrameColumns;
214
+ exports.default = index;
215
+ exports.highlight = highlight;
216
+ //# sourceMappingURL=index.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/lib/index.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"index.js","sources":["../src/defs.ts","../src/highlight.ts","../src/index.ts"],"sourcesContent":["import picocolors, { createColors } from \"picocolors\";\nimport type { Colors, Formatter } from \"picocolors/types\";\n\nexport function isColorSupported() {\n return (\n // See https://github.com/alexeyraspopov/picocolors/issues/62\n typeof process === \"object\" &&\n (process.env.FORCE_COLOR === \"0\" || process.env.FORCE_COLOR === \"false\")\n ? false\n : picocolors.isColorSupported\n );\n}\n\nexport type InternalTokenType =\n | \"keyword\"\n | \"capitalized\"\n | \"jsxIdentifier\"\n | \"punctuator\"\n | \"number\"\n | \"string\"\n | \"regex\"\n | \"comment\"\n | \"invalid\";\n\ntype UITokens = \"gutter\" | \"marker\" | \"message\";\n\nexport type Defs = {\n [_ in InternalTokenType | UITokens | \"reset\"]: Formatter;\n};\n\nconst compose: <T, U, V>(f: (gv: U) => V, g: (v: T) => U) => (v: T) => V =\n (f, g) => v =>\n f(g(v));\n\n/**\n * Styles for token types.\n */\nfunction buildDefs(colors: Colors): Defs {\n return {\n keyword: colors.cyan,\n capitalized: colors.yellow,\n jsxIdentifier: colors.yellow,\n punctuator: colors.yellow,\n number: colors.magenta,\n string: colors.green,\n regex: colors.magenta,\n comment: colors.gray,\n invalid: compose(compose(colors.white, colors.bgRed), colors.bold),\n\n gutter: colors.gray,\n marker: compose(colors.red, colors.bold),\n message: compose(colors.red, colors.bold),\n\n reset: colors.reset,\n };\n}\n\nconst defsOn = buildDefs(createColors(true));\nconst defsOff = buildDefs(createColors(false));\n\nexport function getDefs(enabled: boolean): Defs {\n return enabled ? defsOn : defsOff;\n}\n","import type { Token as JSToken, JSXToken } from \"js-tokens\";\nimport jsTokens from \"js-tokens\";\n\nimport {\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\nimport { getDefs, type InternalTokenType } from \"./defs.ts\";\n\n/**\n * Names that are always allowed as identifiers, but also appear as keywords\n * within certain syntactic productions.\n *\n * https://tc39.es/ecma262/#sec-keywords-and-reserved-words\n *\n * `target` has been omitted since it is very likely going to be a false\n * positive.\n */\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\n\ntype Token = {\n type: InternalTokenType | \"uncolored\";\n value: string;\n};\n\n/**\n * RegExp to test for newlines in terminal.\n */\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * RegExp to test for the three types of brackets.\n */\nconst BRACKET = /^[()[\\]{}]$/;\n\nlet tokenize: (\n text: string,\n) => Generator<{ type: InternalTokenType | \"uncolored\"; value: string }>;\n\nif (process.env.BABEL_8_BREAKING) {\n /**\n * Get the type of token, specifying punctuator type.\n */\n const getTokenType = function (\n token: JSToken | JSXToken,\n ): InternalTokenType | \"uncolored\" {\n if (token.type === \"IdentifierName\") {\n if (\n isKeyword(token.value) ||\n isStrictReservedWord(token.value, true) ||\n sometimesKeywords.has(token.value)\n ) {\n return \"keyword\";\n }\n\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n\n if (token.type === \"Punctuator\" && BRACKET.test(token.value)) {\n return \"uncolored\";\n }\n\n if (token.type === \"Invalid\" && token.value === \"@\") {\n return \"punctuator\";\n }\n\n switch (token.type) {\n case \"NumericLiteral\":\n return \"number\";\n\n case \"StringLiteral\":\n case \"JSXString\":\n case \"NoSubstitutionTemplate\":\n return \"string\";\n\n case \"RegularExpressionLiteral\":\n return \"regex\";\n\n case \"Punctuator\":\n case \"JSXPunctuator\":\n return \"punctuator\";\n\n case \"MultiLineComment\":\n case \"SingleLineComment\":\n return \"comment\";\n\n case \"Invalid\":\n case \"JSXInvalid\":\n return \"invalid\";\n\n case \"JSXIdentifier\":\n return \"jsxIdentifier\";\n\n default:\n return \"uncolored\";\n }\n };\n\n /**\n * Turn a string of JS into an array of objects.\n */\n tokenize = function* (text: string): Generator<Token> {\n for (const token of jsTokens(text, { jsx: true })) {\n switch (token.type) {\n case \"TemplateHead\":\n yield { type: \"string\", value: token.value.slice(0, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateMiddle\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateTail\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1) };\n break;\n\n default:\n yield {\n type: getTokenType(token),\n value: token.value,\n };\n }\n }\n };\n} else {\n /**\n * RegExp to test for what seems to be a JSX tag name.\n */\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n\n // The token here is defined in js-tokens@4. However we don't bother\n // typing it since the whole block will be removed in Babel 8\n const getTokenType = function (token: any, offset: number, text: string) {\n if (token.type === \"name\") {\n if (\n isKeyword(token.value) ||\n isStrictReservedWord(token.value, true) ||\n sometimesKeywords.has(token.value)\n ) {\n return \"keyword\";\n }\n\n if (\n JSX_TAG.test(token.value) &&\n (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) === \"</\")\n ) {\n return \"jsxIdentifier\";\n }\n\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n\n if (token.type === \"punctuator\" && BRACKET.test(token.value)) {\n return \"bracket\";\n }\n\n if (\n token.type === \"invalid\" &&\n (token.value === \"@\" || token.value === \"#\")\n ) {\n return \"punctuator\";\n }\n\n return token.type;\n };\n\n tokenize = function* (text: string) {\n let match;\n while ((match = (jsTokens as any).default.exec(text))) {\n const token = (jsTokens as any).matchToToken(match);\n\n yield {\n type: getTokenType(token, match.index, text),\n value: token.value,\n };\n }\n };\n}\n\nexport function highlight(text: string) {\n if (text === \"\") return \"\";\n\n const defs = getDefs(true);\n\n let highlighted = \"\";\n\n for (const { type, value } of tokenize(text)) {\n if (type in defs) {\n highlighted += value\n .split(NEWLINE)\n .map(str => defs[type as InternalTokenType](str))\n .join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n\n return highlighted;\n}\n","import { getDefs, isColorSupported } from \"./defs.ts\";\nimport { highlight } from \"./highlight.ts\";\n\nexport { highlight };\n\nlet deprecationWarningShown = false;\n\ntype Location = {\n column: number;\n line: number;\n};\n\ntype NodeLocation = {\n end?: Location;\n start: Location;\n};\n\nexport interface Options {\n /** Syntax highlight the code as JavaScript for terminals. default: false */\n highlightCode?: boolean;\n /** The number of lines to show above the error. default: 2 */\n linesAbove?: number;\n /** The number of lines to show below the error. default: 3 */\n linesBelow?: number;\n /**\n * Forcibly syntax highlight the code as JavaScript (for non-terminals);\n * overrides highlightCode.\n * default: false\n */\n forceColor?: boolean;\n /**\n * Pass in a string to be displayed inline (if possible) next to the\n * highlighted location in the code. If it can't be positioned inline,\n * it will be placed above the code frame.\n * default: nothing\n */\n message?: string;\n}\n\n/**\n * RegExp to test for newlines in terminal.\n */\n\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Extract what lines should be marked and highlighted.\n */\n\ntype MarkerLines = Record<number, true | [number, number]>;\n\nfunction getMarkerLines(\n loc: NodeLocation,\n source: Array<string>,\n opts: Options,\n): {\n start: number;\n end: number;\n markerLines: MarkerLines;\n} {\n const startLoc: Location = {\n column: 0,\n line: -1,\n ...loc.start,\n };\n const endLoc: Location = {\n ...startLoc,\n ...loc.end,\n };\n const { linesAbove = 2, linesBelow = 3 } = opts || {};\n const startLine = startLoc.line;\n const startColumn = startLoc.column;\n const endLine = endLoc.line;\n const endColumn = endLoc.column;\n\n let start = Math.max(startLine - (linesAbove + 1), 0);\n let end = Math.min(source.length, endLine + linesBelow);\n\n if (startLine === -1) {\n start = 0;\n }\n\n if (endLine === -1) {\n end = source.length;\n }\n\n const lineDiff = endLine - startLine;\n const markerLines: MarkerLines = {};\n\n if (lineDiff) {\n for (let i = 0; i <= lineDiff; i++) {\n const lineNumber = i + startLine;\n\n if (!startColumn) {\n markerLines[lineNumber] = true;\n } else if (i === 0) {\n const sourceLength = source[lineNumber - 1].length;\n\n markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];\n } else if (i === lineDiff) {\n markerLines[lineNumber] = [0, endColumn];\n } else {\n const sourceLength = source[lineNumber - i].length;\n\n markerLines[lineNumber] = [0, sourceLength];\n }\n }\n } else {\n if (startColumn === endColumn) {\n if (startColumn) {\n markerLines[startLine] = [startColumn, 0];\n } else {\n markerLines[startLine] = true;\n }\n } else {\n markerLines[startLine] = [startColumn, endColumn - startColumn];\n }\n }\n\n return { start, end, markerLines };\n}\n\nexport function codeFrameColumns(\n rawLines: string,\n loc: NodeLocation,\n opts: Options = {},\n): string {\n const shouldHighlight =\n opts.forceColor || (isColorSupported() && opts.highlightCode);\n const defs = getDefs(shouldHighlight);\n\n const lines = rawLines.split(NEWLINE);\n const { start, end, markerLines } = getMarkerLines(loc, lines, opts);\n const hasColumns = loc.start && typeof loc.start.column === \"number\";\n\n const numberMaxWidth = String(end).length;\n\n const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;\n\n let frame = highlightedLines\n .split(NEWLINE, end)\n .slice(start, end)\n .map((line, index) => {\n const number = start + 1 + index;\n const paddedNumber = ` ${number}`.slice(-numberMaxWidth);\n const gutter = ` ${paddedNumber} |`;\n const hasMarker = markerLines[number];\n const lastMarkerLine = !markerLines[number + 1];\n if (hasMarker) {\n let markerLine = \"\";\n if (Array.isArray(hasMarker)) {\n const markerSpacing = line\n .slice(0, Math.max(hasMarker[0] - 1, 0))\n .replace(/[^\\t]/g, \" \");\n const numberOfMarkers = hasMarker[1] || 1;\n\n markerLine = [\n \"\\n \",\n defs.gutter(gutter.replace(/\\d/g, \" \")),\n \" \",\n markerSpacing,\n defs.marker(\"^\").repeat(numberOfMarkers),\n ].join(\"\");\n\n if (lastMarkerLine && opts.message) {\n markerLine += \" \" + defs.message(opts.message);\n }\n }\n return [\n defs.marker(\">\"),\n defs.gutter(gutter),\n line.length > 0 ? ` ${line}` : \"\",\n markerLine,\n ].join(\"\");\n } else {\n return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : \"\"}`;\n }\n })\n .join(\"\\n\");\n\n if (opts.message && !hasColumns) {\n frame = `${\" \".repeat(numberMaxWidth + 1)}${opts.message}\\n${frame}`;\n }\n\n if (shouldHighlight) {\n return defs.reset(frame);\n } else {\n return frame;\n }\n}\n\n/**\n * Create a code frame, adding line numbers, code highlighting, and pointing to a given position.\n */\n\nexport default function (\n rawLines: string,\n lineNumber: number,\n colNumber?: number | null,\n opts: Options = {},\n): string {\n if (!deprecationWarningShown) {\n deprecationWarningShown = true;\n\n const message =\n \"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";\n\n if (process.emitWarning) {\n // A string is directly supplied to emitWarning, because when supplying an\n // Error object node throws in the tests because of different contexts\n process.emitWarning(message, \"DeprecationWarning\");\n } else {\n const deprecationError = new Error(message);\n deprecationError.name = \"DeprecationWarning\";\n console.warn(new Error(message));\n }\n }\n\n colNumber = Math.max(colNumber, 0);\n\n const location: NodeLocation = {\n start: { column: colNumber, line: lineNumber },\n };\n\n return codeFrameColumns(rawLines, location, opts);\n}\n"],"names":["isColorSupported","process","env","FORCE_COLOR","picocolors","compose","f","g","v","buildDefs","colors","keyword","cyan","capitalized","yellow","jsxIdentifier","punctuator","number","magenta","string","green","regex","comment","gray","invalid","white","bgRed","bold","gutter","marker","red","message","reset","defsOn","createColors","defsOff","getDefs","enabled","sometimesKeywords","Set","NEWLINE","BRACKET","tokenize","JSX_TAG","getTokenType","token","offset","text","type","isKeyword","value","isStrictReservedWord","has","test","slice","toLowerCase","match","jsTokens","default","exec","matchToToken","index","highlight","defs","highlighted","split","map","str","join","deprecationWarningShown","getMarkerLines","loc","source","opts","startLoc","Object","assign","column","line","start","endLoc","end","linesAbove","linesBelow","startLine","startColumn","endLine","endColumn","Math","max","min","length","lineDiff","markerLines","i","lineNumber","sourceLength","codeFrameColumns","rawLines","shouldHighlight","forceColor","highlightCode","lines","hasColumns","numberMaxWidth","String","highlightedLines","frame","paddedNumber","hasMarker","lastMarkerLine","markerLine","Array","isArray","markerSpacing","replace","numberOfMarkers","repeat","colNumber","emitWarning","deprecationError","Error","name","console","warn","location"],"mappings":";;;;;;;;AAGO,SAASA,gBAAgBA,GAAG;EACjC,QAEE,OAAOC,OAAO,KAAK,QAAQ,KACxBA,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,GAAG,IAAIF,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,OAAO,CAAC,GACtE,KAAK,GACLC,UAAU,CAACJ,gBAAAA;AAAgB,IAAA;AAEnC,CAAA;AAmBA,MAAMK,OAAkE,GACtEA,CAACC,CAAC,EAAEC,CAAC,KAAKC,CAAC,IACTF,CAAC,CAACC,CAAC,CA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AAK,CAAC1F,OAAO,CAAC,CAAC,CAAA;AAClC,KAAA;AACF,GAAA;EAEAuF,SAAS,GAAG9B,IAAI,CAACC,GAAG,CAAC6B,SAAS,EAAE,CAAC,CAAC,CAAA;AAElC,EAAA,MAAMO,QAAsB,GAAG;AAC7B9C,IAAAA,KAAK,EAAE;AAAEF,MAAAA,MAAM,EAAEyC,SAAS;AAAExC,MAAAA,IAAI,EAAEiB,UAAAA;AAAW,KAAA;GAC9C,CAAA;AAED,EAAA,OAAOE,gBAAgB,CAACC,QAAQ,EAAE2B,QAAQ,EAAEpD,IAAI,CAAC,CAAA;AACnD;;;;;;"}
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/code-frame/package.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@babel/code-frame",
3
+ "version": "7.27.1",
4
+ "description": "Generate errors that contain a code frame that point to source locations.",
5
+ "author": "The Babel Team (https://babel.dev/team)",
6
+ "homepage": "https://babel.dev/docs/en/next/babel-code-frame",
7
+ "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen",
8
+ "license": "MIT",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/babel/babel.git",
15
+ "directory": "packages/babel-code-frame"
16
+ },
17
+ "main": "./lib/index.js",
18
+ "dependencies": {
19
+ "@babel/helper-validator-identifier": "^7.27.1",
20
+ "js-tokens": "^4.0.0",
21
+ "picocolors": "^1.1.1"
22
+ },
23
+ "devDependencies": {
24
+ "import-meta-resolve": "^4.1.0",
25
+ "strip-ansi": "^4.0.0"
26
+ },
27
+ "engines": {
28
+ "node": ">=6.9.0"
29
+ },
30
+ "type": "commonjs"
31
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @babel/helper-validator-identifier
2
+
3
+ > Validate identifier/keywords name
4
+
5
+ See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/babel-helper-validator-identifier) for more information.
6
+
7
+ ## Install
8
+
9
+ Using npm:
10
+
11
+ ```sh
12
+ npm install --save @babel/helper-validator-identifier
13
+ ```
14
+
15
+ or using yarn:
16
+
17
+ ```sh
18
+ yarn add @babel/helper-validator-identifier
19
+ ```
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/identifier.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isIdentifierChar = isIdentifierChar;
7
+ exports.isIdentifierName = isIdentifierName;
8
+ exports.isIdentifierStart = isIdentifierStart;
9
+ let nonASCIIidentifierStartChars = "\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-\u1c8a\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-\ua7cd\ua7d0\ua7d1\ua7d3\ua7d5-\ua7dc\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";
10
+ let nonASCIIidentifierChars = "\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\u0897-\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";
11
+ const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
12
+ const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
13
+ nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
14
+ const astralIdentifierStartCodes = [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, 4, 51, 13, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 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, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 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, 200, 32, 32, 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, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 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, 229, 29, 3, 0, 496, 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];
15
+ const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 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, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 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, 343, 9, 54, 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, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 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, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
16
+ function isInAstralSet(code, set) {
17
+ let pos = 0x10000;
18
+ for (let i = 0, length = set.length; i < length; i += 2) {
19
+ pos += set[i];
20
+ if (pos > code) return false;
21
+ pos += set[i + 1];
22
+ if (pos >= code) return true;
23
+ }
24
+ return false;
25
+ }
26
+ function isIdentifierStart(code) {
27
+ if (code < 65) return code === 36;
28
+ if (code <= 90) return true;
29
+ if (code < 97) return code === 95;
30
+ if (code <= 122) return true;
31
+ if (code <= 0xffff) {
32
+ return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
33
+ }
34
+ return isInAstralSet(code, astralIdentifierStartCodes);
35
+ }
36
+ function isIdentifierChar(code) {
37
+ if (code < 48) return code === 36;
38
+ if (code < 58) return true;
39
+ if (code < 65) return false;
40
+ if (code <= 90) return true;
41
+ if (code < 97) return code === 95;
42
+ if (code <= 122) return true;
43
+ if (code <= 0xffff) {
44
+ return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));
45
+ }
46
+ return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
47
+ }
48
+ function isIdentifierName(name) {
49
+ let isFirst = true;
50
+ for (let i = 0; i < name.length; i++) {
51
+ let cp = name.charCodeAt(i);
52
+ if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {
53
+ const trail = name.charCodeAt(++i);
54
+ if ((trail & 0xfc00) === 0xdc00) {
55
+ cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);
56
+ }
57
+ }
58
+ if (isFirst) {
59
+ isFirst = false;
60
+ if (!isIdentifierStart(cp)) {
61
+ return false;
62
+ }
63
+ } else if (!isIdentifierChar(cp)) {
64
+ return false;
65
+ }
66
+ }
67
+ return !isFirst;
68
+ }
69
+
70
+ //# sourceMappingURL=identifier.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"names":["nonASCIIidentifierStartChars","nonASCIIidentifierChars","nonASCIIidentifierStart","RegExp","nonASCIIidentifier","astralIdentifierStartCodes","astralIdentifierCodes","isInAstralSet","code","set","pos","i","length","isIdentifierStart","test","String","fromCharCode","isIdentifierChar","isIdentifierName","name","isFirst","cp","charCodeAt","trail"],"sources":["../src/identifier.ts"],"sourcesContent":["// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point between 0x80 and 0xffff.\n// Generated by `scripts/generate-identifier-regex.cjs`.\n\n/* prettier-ignore */\nlet nonASCIIidentifierStartChars = \"\\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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\\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-\\u1c8a\\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-\\ua7cd\\ua7d0\\ua7d1\\ua7d3\\ua7d5-\\ua7dc\\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\";\n/* prettier-ignore */\nlet nonASCIIidentifierChars = \"\\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\\u0897-\\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\";\n\nconst nonASCIIidentifierStart = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + \"]\",\n);\nconst nonASCIIidentifier = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\",\n);\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset-encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by `scripts/generate-identifier-regex.cjs`.\n/* prettier-ignore */\nconst astralIdentifierStartCodes = [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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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];\n/* prettier-ignore */\nconst astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code: number, set: readonly number[]): boolean {\n let pos = 0x10000;\n for (let i = 0, length = set.length; i < length; i += 2) {\n pos += set[i];\n if (pos > code) return false;\n\n pos += set[i + 1];\n if (pos >= code) return true;\n }\n return false;\n}\n\n// Test whether a given character code starts an identifier.\n\nexport function isIdentifierStart(code: number): boolean {\n if (code < charCodes.uppercaseA) return code === charCodes.dollarSign;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return (\n code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))\n );\n }\n return isInAstralSet(code, astralIdentifierStartCodes);\n}\n\n// Test whether a given character is part of an identifier.\n\nexport function isIdentifierChar(code: number): boolean {\n if (code < charCodes.digit0) return code === charCodes.dollarSign;\n if (code < charCodes.colon) return true;\n if (code < charCodes.uppercaseA) return false;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n }\n return (\n isInAstralSet(code, astralIdentifierStartCodes) ||\n isInAstralSet(code, astralIdentifierCodes)\n );\n}\n\n// Test whether a given string is a valid identifier name\n\nexport function isIdentifierName(name: string): boolean {\n let isFirst = true;\n for (let i = 0; i < name.length; i++) {\n // The implementation is based on\n // https://source.chromium.org/chromium/chromium/src/+/master:v8/src/builtins/builtins-string-gen.cc;l=1455;drc=221e331b49dfefadbc6fa40b0c68e6f97606d0b3;bpv=0;bpt=1\n // We reimplement `codePointAt` because `codePointAt` is a V8 builtin which is not inlined by TurboFan (as of M91)\n // since `name` is mostly ASCII, an inlined `charCodeAt` wins here\n let cp = name.charCodeAt(i);\n if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {\n const trail = name.charCodeAt(++i);\n if ((trail & 0xfc00) === 0xdc00) {\n cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);\n }\n }\n if (isFirst) {\n isFirst = false;\n if (!isIdentifierStart(cp)) {\n return false;\n }\n } else if (!isIdentifierChar(cp)) {\n return false;\n }\n }\n return !isFirst;\n}\n"],"mappings":";;;;;;;;AAaA,IAAIA,4BAA4B,GAAG,8qIAA8qI;AAEjtI,IAAIC,uBAAuB,GAAG,+kFAA+kF;AAE7mF,MAAMC,uBAAuB,GAAG,IAAIC,MAAM,CACxC,GAAG,GAAGH,4BAA4B,GAAG,GACvC,CAAC;AACD,MAAMI,kBAAkB,GAAG,IAAID,MAAM,CACnC,GAAG,GAAGH,4BAA4B,GAAGC,uBAAuB,GAAG,GACjE,CAAC;AAEDD,4BAA4B,GAAGC,uBAAuB,GAAG,IAAI;AAQ7D,MAAMI,0BAA0B,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,EAAE,EAAC,EAAE,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,EAAE,EAAC,CAAC,EAAC,EAAE,EAAC,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC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;IAC3B,IAAI,CAACU,EAAE,GAAG,MAAM,MAAM,MAAM,IAAIV,CAAC,GAAG,CAAC,GAAGQ,IAAI,CAACP,MAAM,EAAE;MACnD,MAAMW,KAAK,GAAGJ,IAAI,CAACG,UAAU,CAAC,EAAEX,CAAC,CAAC;MAClC,IAAI,CAACY,KAAK,GAAG,MAAM,MAAM,MAAM,EAAE;QAC/BF,EAAE,GAAG,OAAO,IAAI,CAACA,EAAE,GAAG,KAAK,KAAK,EAAE,CAAC,IAAIE,KAAK,GAAG,KAAK,CAAC;MACvD;IACF;IACA,IAAIH,OAAO,EAAE;MACXA,OAAO,GAAG,KAAK;MACf,IAAI,CAACP,iBAAiB,CAACQ,EAAE,CAAC,EAAE;QAC1B,OAAO,KAAK;MACd;IACF,CAAC,MAAM,IAAI,CAACJ,gBAAgB,CAACI,EAAE,CAAC,EAAE;MAChC,OAAO,KAAK;IACd;EACF;EACA,OAAO,CAACD,OAAO;AACjB","ignoreList":[]}
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/index.js ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "isIdentifierChar", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _identifier.isIdentifierChar;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "isIdentifierName", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _identifier.isIdentifierName;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "isIdentifierStart", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _identifier.isIdentifierStart;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "isKeyword", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _keyword.isKeyword;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "isReservedWord", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _keyword.isReservedWord;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _keyword.isStrictBindOnlyReservedWord;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "isStrictBindReservedWord", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _keyword.isStrictBindReservedWord;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "isStrictReservedWord", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _keyword.isStrictReservedWord;
52
+ }
53
+ });
54
+ var _identifier = require("./identifier.js");
55
+ var _keyword = require("./keyword.js");
56
+
57
+ //# sourceMappingURL=index.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/index.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"names":["_identifier","require","_keyword"],"sources":["../src/index.ts"],"sourcesContent":["export {\n isIdentifierName,\n isIdentifierChar,\n isIdentifierStart,\n} from \"./identifier.ts\";\nexport {\n isReservedWord,\n isStrictBindOnlyReservedWord,\n isStrictBindReservedWord,\n isStrictReservedWord,\n isKeyword,\n} from \"./keyword.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAKA,IAAAC,QAAA,GAAAD,OAAA","ignoreList":[]}
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/keyword.js ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isKeyword = isKeyword;
7
+ exports.isReservedWord = isReservedWord;
8
+ exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
9
+ exports.isStrictBindReservedWord = isStrictBindReservedWord;
10
+ exports.isStrictReservedWord = isStrictReservedWord;
11
+ const reservedWords = {
12
+ keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"],
13
+ strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
14
+ strictBind: ["eval", "arguments"]
15
+ };
16
+ const keywords = new Set(reservedWords.keyword);
17
+ const reservedWordsStrictSet = new Set(reservedWords.strict);
18
+ const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
19
+ function isReservedWord(word, inModule) {
20
+ return inModule && word === "await" || word === "enum";
21
+ }
22
+ function isStrictReservedWord(word, inModule) {
23
+ return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
24
+ }
25
+ function isStrictBindOnlyReservedWord(word) {
26
+ return reservedWordsStrictBindSet.has(word);
27
+ }
28
+ function isStrictBindReservedWord(word, inModule) {
29
+ return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
30
+ }
31
+ function isKeyword(word) {
32
+ return keywords.has(word);
33
+ }
34
+
35
+ //# sourceMappingURL=keyword.js.map
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"names":["reservedWords","keyword","strict","strictBind","keywords","Set","reservedWordsStrictSet","reservedWordsStrictBindSet","isReservedWord","word","inModule","isStrictReservedWord","has","isStrictBindOnlyReservedWord","isStrictBindReservedWord","isKeyword"],"sources":["../src/keyword.ts"],"sourcesContent":["const reservedWords = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n ],\n strict: [\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n ],\n strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n word: string,\n inModule: boolean,\n): boolean {\n return (\n isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n );\n}\n\nexport function isKeyword(word: string): boolean {\n return keywords.has(word);\n}\n"],"mappings":";;;;;;;;;;AAAA,MAAMA,aAAa,GAAG;EACpBC,OAAO,EAAE,CACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,E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AACN,IAAY,EAAW;EAC/C,OAAOL,QAAQ,CAACQ,GAAG,CAACH,IAAI,CAAC;AAC3B","ignoreList":[]}
novas/novacore-zephyr/groq-code-cli/node_modules/@babel/helper-validator-identifier/package.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@babel/helper-validator-identifier",
3
+ "version": "7.27.1",
4
+ "description": "Validate identifier/keywords name",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/babel/babel.git",
8
+ "directory": "packages/babel-helper-validator-identifier"
9
+ },
10
+ "license": "MIT",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "main": "./lib/index.js",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/index.d.ts",
18
+ "default": "./lib/index.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "devDependencies": {
23
+ "@unicode/unicode-16.0.0": "^1.0.0",
24
+ "charcodes": "^0.2.0"
25
+ },
26
+ "engines": {
27
+ "node": ">=6.9.0"
28
+ },
29
+ "author": "The Babel Team (https://babel.dev/team)",
30
+ "type": "commonjs"
31
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/LICENSE.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Evan Wallace
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/README.md ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Source Map Support
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@cspotcode/source-map-support.svg?style=flat)](https://npmjs.org/package/@cspotcode/source-map-support)
4
+ [![NPM downloads](https://img.shields.io/npm/dm/@cspotcode/source-map-support.svg?style=flat)](https://npmjs.org/package/@cspotcode/source-map-support)
5
+ [![Build status](https://img.shields.io/github/workflow/status/cspotcode/node-source-map-support/Continuous%20Integration)](https://github.com/cspotcode/node-source-map-support/actions?query=workflow%3A%22Continuous+Integration%22)
6
+
7
+ This module provides source map support for stack traces in node via the [V8 stack trace API](https://github.com/v8/v8/wiki/Stack-Trace-API). It uses the [source-map](https://github.com/mozilla/source-map) module to replace the paths and line numbers of source-mapped files with their original paths and line numbers. The output mimics node's stack trace format with the goal of making every compile-to-JS language more of a first-class citizen. Source maps are completely general (not specific to any one language) so you can use source maps with multiple compile-to-JS languages in the same node process.
8
+
9
+ ## Installation and Usage
10
+
11
+ #### Node support
12
+
13
+ ```
14
+ $ npm install @cspotcode/source-map-support
15
+ ```
16
+
17
+ Source maps can be generated using libraries such as [source-map-index-generator](https://github.com/twolfson/source-map-index-generator). Once you have a valid source map, place a source mapping comment somewhere in the file (usually done automatically or with an option by your transpiler):
18
+
19
+ ```
20
+ //# sourceMappingURL=path/to/source.map
21
+ ```
22
+
23
+ If multiple sourceMappingURL comments exist in one file, the last sourceMappingURL comment will be
24
+ respected (e.g. if a file mentions the comment in code, or went through multiple transpilers).
25
+ The path should either be absolute or relative to the compiled file.
26
+
27
+ From here you have two options.
28
+
29
+ ##### CLI Usage
30
+
31
+ ```bash
32
+ node -r @cspotcode/source-map-support/register compiled.js
33
+ # Or to enable hookRequire
34
+ node -r @cspotcode/source-map-support/register-hook-require compiled.js
35
+ ```
36
+
37
+ ##### Programmatic Usage
38
+
39
+ Put the following line at the top of the compiled file.
40
+
41
+ ```js
42
+ require('@cspotcode/source-map-support').install();
43
+ ```
44
+
45
+ It is also possible to install the source map support directly by
46
+ requiring the `register` module which can be handy with ES6:
47
+
48
+ ```js
49
+ import '@cspotcode/source-map-support/register'
50
+
51
+ // Instead of:
52
+ import sourceMapSupport from '@cspotcode/source-map-support'
53
+ sourceMapSupport.install()
54
+ ```
55
+ Note: if you're using babel-register, it includes source-map-support already.
56
+
57
+ It is also very useful with Mocha:
58
+
59
+ ```
60
+ $ mocha --require @cspotcode/source-map-support/register tests/
61
+ ```
62
+
63
+ #### Browser support
64
+
65
+ This library also works in Chrome. While the DevTools console already supports source maps, the V8 engine doesn't and `Error.prototype.stack` will be incorrect without this library. Everything will just work if you deploy your source files using [browserify](http://browserify.org/). Just make sure to pass the `--debug` flag to the browserify command so your source maps are included in the bundled code.
66
+
67
+ This library also works if you use another build process or just include the source files directly. In this case, include the file `browser-source-map-support.js` in your page and call `sourceMapSupport.install()`. It contains the whole library already bundled for the browser using browserify.
68
+
69
+ ```html
70
+ <script src="browser-source-map-support.js"></script>
71
+ <script>sourceMapSupport.install();</script>
72
+ ```
73
+
74
+ This library also works if you use AMD (Asynchronous Module Definition), which is used in tools like [RequireJS](http://requirejs.org/). Just list `browser-source-map-support` as a dependency:
75
+
76
+ ```html
77
+ <script>
78
+ define(['browser-source-map-support'], function(sourceMapSupport) {
79
+ sourceMapSupport.install();
80
+ });
81
+ </script>
82
+ ```
83
+
84
+ ## Options
85
+
86
+ This module installs two things: a change to the `stack` property on `Error` objects and a handler for uncaught exceptions that mimics node's default exception handler (the handler can be seen in the demos below). You may want to disable the handler if you have your own uncaught exception handler. This can be done by passing an argument to the installer:
87
+
88
+ ```js
89
+ require('@cspotcode/source-map-support').install({
90
+ handleUncaughtExceptions: false
91
+ });
92
+ ```
93
+
94
+ This module loads source maps from the filesystem by default. You can provide alternate loading behavior through a callback as shown below. For example, [Meteor](https://github.com/meteor) keeps all source maps cached in memory to avoid disk access.
95
+
96
+ ```js
97
+ require('@cspotcode/source-map-support').install({
98
+ retrieveSourceMap: function(source) {
99
+ if (source === 'compiled.js') {
100
+ return {
101
+ url: 'original.js',
102
+ map: fs.readFileSync('compiled.js.map', 'utf8')
103
+ };
104
+ }
105
+ return null;
106
+ }
107
+ });
108
+ ```
109
+
110
+ The module will by default assume a browser environment if XMLHttpRequest and window are defined. If either of these do not exist it will instead assume a node environment.
111
+ In some rare cases, e.g. when running a browser emulation and where both variables are also set, you can explictly specify the environment to be either 'browser' or 'node'.
112
+
113
+ ```js
114
+ require('@cspotcode/source-map-support').install({
115
+ environment: 'node'
116
+ });
117
+ ```
118
+
119
+ To support files with inline source maps, the `hookRequire` options can be specified, which will monitor all source files for inline source maps.
120
+
121
+
122
+ ```js
123
+ require('@cspotcode/source-map-support').install({
124
+ hookRequire: true
125
+ });
126
+ ```
127
+
128
+ This monkey patches the `require` module loading chain, so is not enabled by default and is not recommended for any sort of production usage.
129
+
130
+ ## Demos
131
+
132
+ #### Basic Demo
133
+
134
+ original.js:
135
+
136
+ ```js
137
+ throw new Error('test'); // This is the original code
138
+ ```
139
+
140
+ compiled.js:
141
+
142
+ ```js
143
+ require('@cspotcode/source-map-support').install();
144
+
145
+ throw new Error('test'); // This is the compiled code
146
+ // The next line defines the sourceMapping.
147
+ //# sourceMappingURL=compiled.js.map
148
+ ```
149
+
150
+ compiled.js.map:
151
+
152
+ ```json
153
+ {
154
+ "version": 3,
155
+ "file": "compiled.js",
156
+ "sources": ["original.js"],
157
+ "names": [],
158
+ "mappings": ";;AAAA,MAAM,IAAI"
159
+ }
160
+ ```
161
+
162
+ Run compiled.js using node (notice how the stack trace uses original.js instead of compiled.js):
163
+
164
+ ```
165
+ $ node compiled.js
166
+
167
+ original.js:1
168
+ throw new Error('test'); // This is the original code
169
+ ^
170
+ Error: test
171
+ at Object.<anonymous> (original.js:1:7)
172
+ at Module._compile (module.js:456:26)
173
+ at Object.Module._extensions..js (module.js:474:10)
174
+ at Module.load (module.js:356:32)
175
+ at Function.Module._load (module.js:312:12)
176
+ at Function.Module.runMain (module.js:497:10)
177
+ at startup (node.js:119:16)
178
+ at node.js:901:3
179
+ ```
180
+
181
+ #### TypeScript Demo
182
+
183
+ demo.ts:
184
+
185
+ ```typescript
186
+ declare function require(name: string);
187
+ require('@cspotcode/source-map-support').install();
188
+ class Foo {
189
+ constructor() { this.bar(); }
190
+ bar() { throw new Error('this is a demo'); }
191
+ }
192
+ new Foo();
193
+ ```
194
+
195
+ Compile and run the file using the TypeScript compiler from the terminal:
196
+
197
+ ```
198
+ $ npm install source-map-support typescript
199
+ $ node_modules/typescript/bin/tsc -sourcemap demo.ts
200
+ $ node demo.js
201
+
202
+ demo.ts:5
203
+ bar() { throw new Error('this is a demo'); }
204
+ ^
205
+ Error: this is a demo
206
+ at Foo.bar (demo.ts:5:17)
207
+ at new Foo (demo.ts:4:24)
208
+ at Object.<anonymous> (demo.ts:7:1)
209
+ at Module._compile (module.js:456:26)
210
+ at Object.Module._extensions..js (module.js:474:10)
211
+ at Module.load (module.js:356:32)
212
+ at Function.Module._load (module.js:312:12)
213
+ at Function.Module.runMain (module.js:497:10)
214
+ at startup (node.js:119:16)
215
+ at node.js:901:3
216
+ ```
217
+
218
+ There is also the option to use `-r source-map-support/register` with typescript, without the need add the `require('@cspotcode/source-map-support').install()` in the code base:
219
+
220
+ ```
221
+ $ npm install source-map-support typescript
222
+ $ node_modules/typescript/bin/tsc -sourcemap demo.ts
223
+ $ node -r source-map-support/register demo.js
224
+
225
+ demo.ts:5
226
+ bar() { throw new Error('this is a demo'); }
227
+ ^
228
+ Error: this is a demo
229
+ at Foo.bar (demo.ts:5:17)
230
+ at new Foo (demo.ts:4:24)
231
+ at Object.<anonymous> (demo.ts:7:1)
232
+ at Module._compile (module.js:456:26)
233
+ at Object.Module._extensions..js (module.js:474:10)
234
+ at Module.load (module.js:356:32)
235
+ at Function.Module._load (module.js:312:12)
236
+ at Function.Module.runMain (module.js:497:10)
237
+ at startup (node.js:119:16)
238
+ at node.js:901:3
239
+ ```
240
+
241
+ #### CoffeeScript Demo
242
+
243
+ demo.coffee:
244
+
245
+ ```coffee
246
+ require('@cspotcode/source-map-support').install()
247
+ foo = ->
248
+ bar = -> throw new Error 'this is a demo'
249
+ bar()
250
+ foo()
251
+ ```
252
+
253
+ Compile and run the file using the CoffeeScript compiler from the terminal:
254
+
255
+ ```sh
256
+ $ npm install @cspotcode/source-map-support coffeescript
257
+ $ node_modules/.bin/coffee --map --compile demo.coffee
258
+ $ node demo.js
259
+
260
+ demo.coffee:3
261
+ bar = -> throw new Error 'this is a demo'
262
+ ^
263
+ Error: this is a demo
264
+ at bar (demo.coffee:3:22)
265
+ at foo (demo.coffee:4:3)
266
+ at Object.<anonymous> (demo.coffee:5:1)
267
+ at Object.<anonymous> (demo.coffee:1:1)
268
+ at Module._compile (module.js:456:26)
269
+ at Object.Module._extensions..js (module.js:474:10)
270
+ at Module.load (module.js:356:32)
271
+ at Function.Module._load (module.js:312:12)
272
+ at Function.Module.runMain (module.js:497:10)
273
+ at startup (node.js:119:16)
274
+ ```
275
+
276
+ ## Tests
277
+
278
+ This repo contains both automated tests for node and manual tests for the browser. The automated tests can be run using mocha (type `mocha` in the root directory). To run the manual tests:
279
+
280
+ * Build the tests using `build.js`
281
+ * Launch the HTTP server (`npm run serve-tests`) and visit
282
+ * http://127.0.0.1:1336/amd-test
283
+ * http://127.0.0.1:1336/browser-test
284
+ * http://127.0.0.1:1336/browserify-test - **Currently not working** due to a bug with browserify (see [pull request #66](https://github.com/evanw/node-source-map-support/pull/66) for details).
285
+ * For `header-test`, run `server.js` inside that directory and visit http://127.0.0.1:1337/
286
+
287
+ ## License
288
+
289
+ This code is available under the [MIT license](http://opensource.org/licenses/MIT).
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/browser-source-map-support.js ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Support for source maps in V8 stack traces
3
+ * https://github.com/evanw/node-source-map-support
4
+ */
5
+ /*
6
+ The buffer module from node.js, for the browser.
7
+
8
+ @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
9
+ license MIT
10
+ */
11
+ (this.define||function(R,U){this.sourceMapSupport=U()})("browser-source-map-support",function(R){(function e(C,J,A){function p(f,c){if(!J[f]){if(!C[f]){var l="function"==typeof require&&require;if(!c&&l)return l(f,!0);if(t)return t(f,!0);throw Error("Cannot find module '"+f+"'");}l=J[f]={exports:{}};C[f][0].call(l.exports,function(q){var r=C[f][1][q];return p(r?r:q)},l,l.exports,e,C,J,A)}return J[f].exports}for(var t="function"==typeof require&&require,m=0;m<A.length;m++)p(A[m]);return p})({1:[function(C,
12
+ J,A){R=C("./source-map-support")},{"./source-map-support":21}],2:[function(C,J,A){(function(e){function p(m){m=m.charCodeAt(0);if(43===m)return 62;if(47===m)return 63;if(48>m)return-1;if(58>m)return m-48+52;if(91>m)return m-65;if(123>m)return m-97+26}var t="undefined"!==typeof Uint8Array?Uint8Array:Array;e.toByteArray=function(m){function f(d){q[k++]=d}if(0<m.length%4)throw Error("Invalid string. Length must be a multiple of 4");var c=m.length;var l="="===m.charAt(c-2)?2:"="===m.charAt(c-1)?1:0;var q=
13
+ new t(3*m.length/4-l);var r=0<l?m.length-4:m.length;var k=0;for(c=0;c<r;c+=4){var u=p(m.charAt(c))<<18|p(m.charAt(c+1))<<12|p(m.charAt(c+2))<<6|p(m.charAt(c+3));f((u&16711680)>>16);f((u&65280)>>8);f(u&255)}2===l?(u=p(m.charAt(c))<<2|p(m.charAt(c+1))>>4,f(u&255)):1===l&&(u=p(m.charAt(c))<<10|p(m.charAt(c+1))<<4|p(m.charAt(c+2))>>2,f(u>>8&255),f(u&255));return q};e.fromByteArray=function(m){var f=m.length%3,c="",l;var q=0;for(l=m.length-f;q<l;q+=3){var r=(m[q]<<16)+(m[q+1]<<8)+m[q+2];r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>
14
+ 18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r&63);c+=r}switch(f){case 1:r=m[m.length-1];c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<4&63);c+="==";break;case 2:r=(m[m.length-2]<<8)+
15
+ m[m.length-1],c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>10),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>4&63),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<2&63),c+="="}return c}})("undefined"===typeof A?this.base64js={}:A)},{}],3:[function(C,J,A){},{}],4:[function(C,J,A){(function(e){var p=Object.prototype.toString,t="function"===typeof e.alloc&&"function"===typeof e.allocUnsafe&&"function"===
16
+ typeof e.from;J.exports=function(m,f,c){if("number"===typeof m)throw new TypeError('"value" argument must not be a number');if("ArrayBuffer"===p.call(m).slice(8,-1)){f>>>=0;var l=m.byteLength-f;if(0>l)throw new RangeError("'offset' is out of bounds");if(void 0===c)c=l;else if(c>>>=0,c>l)throw new RangeError("'length' is out of bounds");return t?e.from(m.slice(f,f+c)):new e(new Uint8Array(m.slice(f,f+c)))}if("string"===typeof m){c=f;if("string"!==typeof c||""===c)c="utf8";if(!e.isEncoding(c))throw new TypeError('"encoding" must be a valid string encoding');
17
+ return t?e.from(m,c):new e(m,c)}return t?e.from(m):new e(m)}}).call(this,C("buffer").Buffer)},{buffer:5}],5:[function(C,J,A){function e(a,b,h){if(!(this instanceof e))return new e(a,b,h);var w=typeof a;if("number"===w)var y=0<a?a>>>0:0;else if("string"===w){if("base64"===b)for(a=(a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(L,"");0!==a.length%4;)a+="=";y=e.byteLength(a,b)}else if("object"===w&&null!==a)"Buffer"===a.type&&z(a.data)&&(a=a.data),y=0<+a.length?Math.floor(+a.length):0;else throw new TypeError("must start with number, buffer, array or string");
18
+ if(this.length>G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");if(e.TYPED_ARRAY_SUPPORT)var I=e._augment(new Uint8Array(y));else I=this,I.length=y,I._isBuffer=!0;if(e.TYPED_ARRAY_SUPPORT&&"number"===typeof a.byteLength)I._set(a);else{var K=a;if(z(K)||e.isBuffer(K)||K&&"object"===typeof K&&"number"===typeof K.length)if(e.isBuffer(a))for(b=0;b<y;b++)I[b]=a.readUInt8(b);else for(b=0;b<y;b++)I[b]=(a[b]%256+256)%256;else if("string"===w)I.write(a,
19
+ 0,b);else if("number"===w&&!e.TYPED_ARRAY_SUPPORT&&!h)for(b=0;b<y;b++)I[b]=0}return I}function p(a,b,h){var w="";for(h=Math.min(a.length,h);b<h;b++)w+=String.fromCharCode(a[b]);return w}function t(a,b,h){if(0!==a%1||0>a)throw new RangeError("offset is not uint");if(a+b>h)throw new RangeError("Trying to access beyond buffer length");}function m(a,b,h,w,y,I){if(!e.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>y||b<I)throw new TypeError("value is out of bounds");if(h+w>a.length)throw new TypeError("index out of range");
20
+ }function f(a,b,h,w){0>b&&(b=65535+b+1);for(var y=0,I=Math.min(a.length-h,2);y<I;y++)a[h+y]=(b&255<<8*(w?y:1-y))>>>8*(w?y:1-y)}function c(a,b,h,w){0>b&&(b=4294967295+b+1);for(var y=0,I=Math.min(a.length-h,4);y<I;y++)a[h+y]=b>>>8*(w?y:3-y)&255}function l(a,b,h,w,y,I){if(b>y||b<I)throw new TypeError("value is out of bounds");if(h+w>a.length)throw new TypeError("index out of range");}function q(a,b,h,w,y){y||l(a,b,h,4,3.4028234663852886E38,-3.4028234663852886E38);v.write(a,b,h,w,23,4);return h+4}function r(a,
21
+ b,h,w,y){y||l(a,b,h,8,1.7976931348623157E308,-1.7976931348623157E308);v.write(a,b,h,w,52,8);return h+8}function k(a){for(var b=[],h=0;h<a.length;h++){var w=a.charCodeAt(h);if(127>=w)b.push(w);else{var y=h;55296<=w&&57343>=w&&h++;w=encodeURIComponent(a.slice(y,h+1)).substr(1).split("%");for(y=0;y<w.length;y++)b.push(parseInt(w[y],16))}}return b}function u(a){for(var b=[],h=0;h<a.length;h++)b.push(a.charCodeAt(h)&255);return b}function d(a,b,h,w,y){y&&(w-=w%y);for(y=0;y<w&&!(y+h>=b.length||y>=a.length);y++)b[y+
22
+ h]=a[y];return y}function g(a){try{return decodeURIComponent(a)}catch(b){return String.fromCharCode(65533)}}var n=C("base64-js"),v=C("ieee754"),z=C("is-array");A.Buffer=e;A.SlowBuffer=e;A.INSPECT_MAX_BYTES=50;e.poolSize=8192;var G=1073741823;e.TYPED_ARRAY_SUPPORT=function(){try{var a=new ArrayBuffer(0),b=new Uint8Array(a);b.foo=function(){return 42};return 42===b.foo()&&"function"===typeof b.subarray&&0===(new Uint8Array(1)).subarray(1,1).byteLength}catch(h){return!1}}();e.isBuffer=function(a){return!(null==
23
+ a||!a._isBuffer)};e.compare=function(a,b){if(!e.isBuffer(a)||!e.isBuffer(b))throw new TypeError("Arguments must be Buffers");for(var h=a.length,w=b.length,y=0,I=Math.min(h,w);y<I&&a[y]===b[y];y++);y!==I&&(h=a[y],w=b[y]);return h<w?-1:w<h?1:0};e.isEncoding=function(a){switch(String(a).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "raw":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;default:return!1}};e.concat=function(a,b){if(!z(a))throw new TypeError("Usage: Buffer.concat(list[, length])");
24
+ if(0===a.length)return new e(0);if(1===a.length)return a[0];var h;if(void 0===b)for(h=b=0;h<a.length;h++)b+=a[h].length;var w=new e(b),y=0;for(h=0;h<a.length;h++){var I=a[h];I.copy(w,y);y+=I.length}return w};e.byteLength=function(a,b){a+="";switch(b||"utf8"){case "ascii":case "binary":case "raw":var h=a.length;break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":h=2*a.length;break;case "hex":h=a.length>>>1;break;case "utf8":case "utf-8":h=k(a).length;break;case "base64":h=n.toByteArray(a).length;
25
+ break;default:h=a.length}return h};e.prototype.length=void 0;e.prototype.parent=void 0;e.prototype.toString=function(a,b,h){var w=!1;b>>>=0;h=void 0===h||Infinity===h?this.length:h>>>0;a||(a="utf8");0>b&&(b=0);h>this.length&&(h=this.length);if(h<=b)return"";for(;;)switch(a){case "hex":a=b;b=h;h=this.length;if(!a||0>a)a=0;if(!b||0>b||b>h)b=h;w="";for(h=a;h<b;h++)a=w,w=this[h],w=16>w?"0"+w.toString(16):w.toString(16),w=a+w;return w;case "utf8":case "utf-8":w=a="";for(h=Math.min(this.length,h);b<h;b++)127>=
26
+ this[b]?(a+=g(w)+String.fromCharCode(this[b]),w=""):w+="%"+this[b].toString(16);return a+g(w);case "ascii":return p(this,b,h);case "binary":return p(this,b,h);case "base64":return b=0===b&&h===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(b,h)),b;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=this.slice(b,h);h="";for(a=0;a<b.length;a+=2)h+=String.fromCharCode(b[a]+256*b[a+1]);return h;default:if(w)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase();w=!0}};
27
+ e.prototype.equals=function(a){if(!e.isBuffer(a))throw new TypeError("Argument must be a Buffer");return 0===e.compare(this,a)};e.prototype.inspect=function(){var a="",b=A.INSPECT_MAX_BYTES;0<this.length&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... "));return"<Buffer "+a+">"};e.prototype.compare=function(a){if(!e.isBuffer(a))throw new TypeError("Argument must be a Buffer");return e.compare(this,a)};e.prototype.get=function(a){console.log(".get() is deprecated. Access using array indexes instead.");
28
+ return this.readUInt8(a)};e.prototype.set=function(a,b){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(a,b)};e.prototype.write=function(a,b,h,w){if(isFinite(b))isFinite(h)||(w=h,h=void 0);else{var y=w;w=b;b=h;h=y}b=Number(b)||0;y=this.length-b;h?(h=Number(h),h>y&&(h=y)):h=y;w=String(w||"utf8").toLowerCase();switch(w){case "hex":b=Number(b)||0;w=this.length-b;h?(h=Number(h),h>w&&(h=w)):h=w;w=a.length;if(0!==w%2)throw Error("Invalid hex string");h>w/
29
+ 2&&(h=w/2);for(w=0;w<h;w++){y=parseInt(a.substr(2*w,2),16);if(isNaN(y))throw Error("Invalid hex string");this[b+w]=y}a=w;break;case "utf8":case "utf-8":a=d(k(a),this,b,h);break;case "ascii":a=d(u(a),this,b,h);break;case "binary":a=d(u(a),this,b,h);break;case "base64":a=d(n.toByteArray(a),this,b,h);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":y=[];for(var I=0;I<a.length;I++){var K=a.charCodeAt(I);w=K>>8;K%=256;y.push(K);y.push(w)}a=d(y,this,b,h,2);break;default:throw new TypeError("Unknown encoding: "+
30
+ w);}return a};e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};e.prototype.slice=function(a,b){var h=this.length;a=~~a;b=void 0===b?h:~~b;0>a?(a+=h,0>a&&(a=0)):a>h&&(a=h);0>b?(b+=h,0>b&&(b=0)):b>h&&(b=h);b<a&&(b=a);if(e.TYPED_ARRAY_SUPPORT)return e._augment(this.subarray(a,b));h=b-a;for(var w=new e(h,void 0,!0),y=0;y<h;y++)w[y]=this[y+a];return w};e.prototype.readUInt8=function(a,b){b||t(a,1,this.length);return this[a]};e.prototype.readUInt16LE=
31
+ function(a,b){b||t(a,2,this.length);return this[a]|this[a+1]<<8};e.prototype.readUInt16BE=function(a,b){b||t(a,2,this.length);return this[a]<<8|this[a+1]};e.prototype.readUInt32LE=function(a,b){b||t(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};e.prototype.readUInt32BE=function(a,b){b||t(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};e.prototype.readInt8=function(a,b){b||t(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};
32
+ e.prototype.readInt16LE=function(a,b){b||t(a,2,this.length);var h=this[a]|this[a+1]<<8;return h&32768?h|4294901760:h};e.prototype.readInt16BE=function(a,b){b||t(a,2,this.length);var h=this[a+1]|this[a]<<8;return h&32768?h|4294901760:h};e.prototype.readInt32LE=function(a,b){b||t(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};e.prototype.readInt32BE=function(a,b){b||t(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};e.prototype.readFloatLE=function(a,
33
+ b){b||t(a,4,this.length);return v.read(this,a,!0,23,4)};e.prototype.readFloatBE=function(a,b){b||t(a,4,this.length);return v.read(this,a,!1,23,4)};e.prototype.readDoubleLE=function(a,b){b||t(a,8,this.length);return v.read(this,a,!0,52,8)};e.prototype.readDoubleBE=function(a,b){b||t(a,8,this.length);return v.read(this,a,!1,52,8)};e.prototype.writeUInt8=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,1,255,0);e.TYPED_ARRAY_SUPPORT||(a=Math.floor(a));this[b]=a;return b+1};e.prototype.writeUInt16LE=function(a,
34
+ b,h){a=+a;b>>>=0;h||m(this,a,b,2,65535,0);e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8):f(this,a,b,!0);return b+2};e.prototype.writeUInt16BE=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,2,65535,0);e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=a):f(this,a,b,!1);return b+2};e.prototype.writeUInt32LE=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,4,4294967295,0);e.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=a):c(this,a,b,!0);return b+4};e.prototype.writeUInt32BE=function(a,
35
+ b,h){a=+a;b>>>=0;h||m(this,a,b,4,4294967295,0);e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=a):c(this,a,b,!1);return b+4};e.prototype.writeInt8=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,1,127,-128);e.TYPED_ARRAY_SUPPORT||(a=Math.floor(a));0>a&&(a=255+a+1);this[b]=a;return b+1};e.prototype.writeInt16LE=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,2,32767,-32768);e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8):f(this,a,b,!0);return b+2};e.prototype.writeInt16BE=function(a,
36
+ b,h){a=+a;b>>>=0;h||m(this,a,b,2,32767,-32768);e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=a):f(this,a,b,!1);return b+2};e.prototype.writeInt32LE=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,4,2147483647,-2147483648);e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):c(this,a,b,!0);return b+4};e.prototype.writeInt32BE=function(a,b,h){a=+a;b>>>=0;h||m(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+
37
+ 2]=a>>>8,this[b+3]=a):c(this,a,b,!1);return b+4};e.prototype.writeFloatLE=function(a,b,h){return q(this,a,b,!0,h)};e.prototype.writeFloatBE=function(a,b,h){return q(this,a,b,!1,h)};e.prototype.writeDoubleLE=function(a,b,h){return r(this,a,b,!0,h)};e.prototype.writeDoubleBE=function(a,b,h){return r(this,a,b,!1,h)};e.prototype.copy=function(a,b,h,w){h||(h=0);w||0===w||(w=this.length);b||(b=0);if(w!==h&&0!==a.length&&0!==this.length){if(w<h)throw new TypeError("sourceEnd < sourceStart");if(0>b||b>=a.length)throw new TypeError("targetStart out of bounds");
38
+ if(0>h||h>=this.length)throw new TypeError("sourceStart out of bounds");if(0>w||w>this.length)throw new TypeError("sourceEnd out of bounds");w>this.length&&(w=this.length);a.length-b<w-h&&(w=a.length-b+h);w-=h;if(1E3>w||!e.TYPED_ARRAY_SUPPORT)for(var y=0;y<w;y++)a[y+b]=this[y+h];else a._set(this.subarray(h,h+w),b)}};e.prototype.fill=function(a,b,h){a||(a=0);b||(b=0);h||(h=this.length);if(h<b)throw new TypeError("end < start");if(h!==b&&0!==this.length){if(0>b||b>=this.length)throw new TypeError("start out of bounds");
39
+ if(0>h||h>this.length)throw new TypeError("end out of bounds");if("number"===typeof a)for(;b<h;b++)this[b]=a;else{a=k(a.toString());for(var w=a.length;b<h;b++)this[b]=a[b%w]}return this}};e.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return(new e(this)).buffer;for(var a=new Uint8Array(this.length),b=0,h=a.length;b<h;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser");};var D=e.prototype;e._augment=
40
+ function(a){a.constructor=e;a._isBuffer=!0;a._get=a.get;a._set=a.set;a.get=D.get;a.set=D.set;a.write=D.write;a.toString=D.toString;a.toLocaleString=D.toString;a.toJSON=D.toJSON;a.equals=D.equals;a.compare=D.compare;a.copy=D.copy;a.slice=D.slice;a.readUInt8=D.readUInt8;a.readUInt16LE=D.readUInt16LE;a.readUInt16BE=D.readUInt16BE;a.readUInt32LE=D.readUInt32LE;a.readUInt32BE=D.readUInt32BE;a.readInt8=D.readInt8;a.readInt16LE=D.readInt16LE;a.readInt16BE=D.readInt16BE;a.readInt32LE=D.readInt32LE;a.readInt32BE=
41
+ D.readInt32BE;a.readFloatLE=D.readFloatLE;a.readFloatBE=D.readFloatBE;a.readDoubleLE=D.readDoubleLE;a.readDoubleBE=D.readDoubleBE;a.writeUInt8=D.writeUInt8;a.writeUInt16LE=D.writeUInt16LE;a.writeUInt16BE=D.writeUInt16BE;a.writeUInt32LE=D.writeUInt32LE;a.writeUInt32BE=D.writeUInt32BE;a.writeInt8=D.writeInt8;a.writeInt16LE=D.writeInt16LE;a.writeInt16BE=D.writeInt16BE;a.writeInt32LE=D.writeInt32LE;a.writeInt32BE=D.writeInt32BE;a.writeFloatLE=D.writeFloatLE;a.writeFloatBE=D.writeFloatBE;a.writeDoubleLE=
42
+ D.writeDoubleLE;a.writeDoubleBE=D.writeDoubleBE;a.fill=D.fill;a.inspect=D.inspect;a.toArrayBuffer=D.toArrayBuffer;return a};var L=/[^+\/0-9A-z]/g},{"base64-js":2,ieee754:6,"is-array":7}],6:[function(C,J,A){A.read=function(e,p,t,m,f){var c=8*f-m-1;var l=(1<<c)-1,q=l>>1,r=-7;f=t?f-1:0;var k=t?-1:1,u=e[p+f];f+=k;t=u&(1<<-r)-1;u>>=-r;for(r+=c;0<r;t=256*t+e[p+f],f+=k,r-=8);c=t&(1<<-r)-1;t>>=-r;for(r+=m;0<r;c=256*c+e[p+f],f+=k,r-=8);if(0===t)t=1-q;else{if(t===l)return c?NaN:Infinity*(u?-1:1);c+=Math.pow(2,
43
+ m);t-=q}return(u?-1:1)*c*Math.pow(2,t-m)};A.write=function(e,p,t,m,f,c){var l,q=8*c-f-1,r=(1<<q)-1,k=r>>1,u=23===f?Math.pow(2,-24)-Math.pow(2,-77):0;c=m?0:c-1;var d=m?1:-1,g=0>p||0===p&&0>1/p?1:0;p=Math.abs(p);isNaN(p)||Infinity===p?(p=isNaN(p)?1:0,m=r):(m=Math.floor(Math.log(p)/Math.LN2),1>p*(l=Math.pow(2,-m))&&(m--,l*=2),p=1<=m+k?p+u/l:p+u*Math.pow(2,1-k),2<=p*l&&(m++,l/=2),m+k>=r?(p=0,m=r):1<=m+k?(p=(p*l-1)*Math.pow(2,f),m+=k):(p=p*Math.pow(2,k-1)*Math.pow(2,f),m=0));for(;8<=f;e[t+c]=p&255,c+=
44
+ d,p/=256,f-=8);m=m<<f|p;for(q+=f;0<q;e[t+c]=m&255,c+=d,m/=256,q-=8);e[t+c-d]|=128*g}},{}],7:[function(C,J,A){var e=Object.prototype.toString;J.exports=Array.isArray||function(p){return!!p&&"[object Array]"==e.call(p)}},{}],8:[function(C,J,A){(function(e){function p(c,l){for(var q=0,r=c.length-1;0<=r;r--){var k=c[r];"."===k?c.splice(r,1):".."===k?(c.splice(r,1),q++):q&&(c.splice(r,1),q--)}if(l)for(;q--;q)c.unshift("..");return c}function t(c,l){if(c.filter)return c.filter(l);for(var q=[],r=0;r<c.length;r++)l(c[r],
45
+ r,c)&&q.push(c[r]);return q}var m=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;A.resolve=function(){for(var c="",l=!1,q=arguments.length-1;-1<=q&&!l;q--){var r=0<=q?arguments[q]:e.cwd();if("string"!==typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(c=r+"/"+c,l="/"===r.charAt(0))}c=p(t(c.split("/"),function(k){return!!k}),!l).join("/");return(l?"/":"")+c||"."};A.normalize=function(c){var l=A.isAbsolute(c),q="/"===f(c,-1);(c=p(t(c.split("/"),function(r){return!!r}),
46
+ !l).join("/"))||l||(c=".");c&&q&&(c+="/");return(l?"/":"")+c};A.isAbsolute=function(c){return"/"===c.charAt(0)};A.join=function(){var c=Array.prototype.slice.call(arguments,0);return A.normalize(t(c,function(l,q){if("string"!==typeof l)throw new TypeError("Arguments to path.join must be strings");return l}).join("/"))};A.relative=function(c,l){function q(n){for(var v=0;v<n.length&&""===n[v];v++);for(var z=n.length-1;0<=z&&""===n[z];z--);return v>z?[]:n.slice(v,z-v+1)}c=A.resolve(c).substr(1);l=A.resolve(l).substr(1);
47
+ for(var r=q(c.split("/")),k=q(l.split("/")),u=Math.min(r.length,k.length),d=u,g=0;g<u;g++)if(r[g]!==k[g]){d=g;break}u=[];for(g=d;g<r.length;g++)u.push("..");u=u.concat(k.slice(d));return u.join("/")};A.sep="/";A.delimiter=":";A.dirname=function(c){var l=m.exec(c).slice(1);c=l[0];l=l[1];if(!c&&!l)return".";l&&(l=l.substr(0,l.length-1));return c+l};A.basename=function(c,l){var q=m.exec(c).slice(1)[2];l&&q.substr(-1*l.length)===l&&(q=q.substr(0,q.length-l.length));return q};A.extname=function(c){return m.exec(c).slice(1)[3]};
48
+ var f="b"==="ab".substr(-1)?function(c,l,q){return c.substr(l,q)}:function(c,l,q){0>l&&(l=c.length+l);return c.substr(l,q)}}).call(this,C("g5I+bs"))},{"g5I+bs":9}],9:[function(C,J,A){function e(){}C=J.exports={};C.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(t){return window.setImmediate(t)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var p=[];window.addEventListener("message",function(t){var m=t.source;m!==window&&null!==
49
+ m||"process-tick"!==t.data||(t.stopPropagation(),0<p.length&&p.shift()())},!0);return function(t){p.push(t);window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}();C.title="browser";C.browser=!0;C.env={};C.argv=[];C.on=e;C.addListener=e;C.once=e;C.off=e;C.removeListener=e;C.removeAllListeners=e;C.emit=e;C.binding=function(p){throw Error("process.binding is not supported");};C.cwd=function(){return"/"};C.chdir=function(p){throw Error("process.chdir is not supported");}},{}],
50
+ 10:[function(C,J,A){function e(){this._array=[];this._set=m?new Map:Object.create(null)}var p=C("./util"),t=Object.prototype.hasOwnProperty,m="undefined"!==typeof Map;e.fromArray=function(f,c){for(var l=new e,q=0,r=f.length;q<r;q++)l.add(f[q],c);return l};e.prototype.size=function(){return m?this._set.size:Object.getOwnPropertyNames(this._set).length};e.prototype.add=function(f,c){var l=m?f:p.toSetString(f),q=m?this.has(f):t.call(this._set,l),r=this._array.length;q&&!c||this._array.push(f);q||(m?
51
+ this._set.set(f,r):this._set[l]=r)};e.prototype.has=function(f){if(m)return this._set.has(f);f=p.toSetString(f);return t.call(this._set,f)};e.prototype.indexOf=function(f){if(m){var c=this._set.get(f);if(0<=c)return c}else if(c=p.toSetString(f),t.call(this._set,c))return this._set[c];throw Error('"'+f+'" is not in the set.');};e.prototype.at=function(f){if(0<=f&&f<this._array.length)return this._array[f];throw Error("No element indexed by "+f);};e.prototype.toArray=function(){return this._array.slice()};
52
+ A.ArraySet=e},{"./util":19}],11:[function(C,J,A){var e=C("./base64");A.encode=function(p){var t="",m=0>p?(-p<<1)+1:p<<1;do p=m&31,m>>>=5,0<m&&(p|=32),t+=e.encode(p);while(0<m);return t};A.decode=function(p,t,m){var f=p.length,c=0,l=0;do{if(t>=f)throw Error("Expected more digits in base 64 VLQ value.");var q=e.decode(p.charCodeAt(t++));if(-1===q)throw Error("Invalid base64 digit: "+p.charAt(t-1));var r=!!(q&32);q&=31;c+=q<<l;l+=5}while(r);p=c>>1;m.value=1===(c&1)?-p:p;m.rest=t}},{"./base64":12}],12:[function(C,
53
+ J,A){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");A.encode=function(p){if(0<=p&&p<e.length)return e[p];throw new TypeError("Must be between 0 and 63: "+p);};A.decode=function(p){return 65<=p&&90>=p?p-65:97<=p&&122>=p?p-97+26:48<=p&&57>=p?p-48+52:43==p?62:47==p?63:-1}},{}],13:[function(C,J,A){function e(p,t,m,f,c,l){var q=Math.floor((t-p)/2)+p,r=c(m,f[q],!0);return 0===r?q:0<r?1<t-q?e(q,t,m,f,c,l):l==A.LEAST_UPPER_BOUND?t<f.length?t:-1:q:1<q-p?e(p,q,m,f,c,l):l==
54
+ A.LEAST_UPPER_BOUND?q:0>p?-1:p}A.GREATEST_LOWER_BOUND=1;A.LEAST_UPPER_BOUND=2;A.search=function(p,t,m,f){if(0===t.length)return-1;p=e(-1,t.length,p,t,m,f||A.GREATEST_LOWER_BOUND);if(0>p)return-1;for(;0<=p-1&&0===m(t[p],t[p-1],!0);)--p;return p}},{}],14:[function(C,J,A){function e(){this._array=[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var p=C("./util");e.prototype.unsortedForEach=function(t,m){this._array.forEach(t,m)};e.prototype.add=function(t){var m=this._last,f=m.generatedLine,
55
+ c=t.generatedLine,l=m.generatedColumn,q=t.generatedColumn;c>f||c==f&&q>=l||0>=p.compareByGeneratedPositionsInflated(m,t)?this._last=t:this._sorted=!1;this._array.push(t)};e.prototype.toArray=function(){this._sorted||(this._array.sort(p.compareByGeneratedPositionsInflated),this._sorted=!0);return this._array};A.MappingList=e},{"./util":19}],15:[function(C,J,A){function e(t,m,f){var c=t[m];t[m]=t[f];t[f]=c}function p(t,m,f,c){if(f<c){var l=f-1;e(t,Math.round(f+Math.random()*(c-f)),c);for(var q=t[c],
56
+ r=f;r<c;r++)0>=m(t[r],q)&&(l+=1,e(t,l,r));e(t,l+1,r);l+=1;p(t,m,f,l-1);p(t,m,l+1,c)}}A.quickSort=function(t,m){p(t,m,0,t.length-1)}},{}],16:[function(C,J,A){function e(k,u){var d=k;"string"===typeof k&&(d=f.parseSourceMapInput(k));return null!=d.sections?new m(d,u):new p(d,u)}function p(k,u){var d=k;"string"===typeof k&&(d=f.parseSourceMapInput(k));var g=f.getArg(d,"version"),n=f.getArg(d,"sources"),v=f.getArg(d,"names",[]),z=f.getArg(d,"sourceRoot",null),G=f.getArg(d,"sourcesContent",null),D=f.getArg(d,
57
+ "mappings");d=f.getArg(d,"file",null);if(g!=this._version)throw Error("Unsupported version: "+g);z&&(z=f.normalize(z));n=n.map(String).map(f.normalize).map(function(L){return z&&f.isAbsolute(z)&&f.isAbsolute(L)?f.relative(z,L):L});this._names=l.fromArray(v.map(String),!0);this._sources=l.fromArray(n,!0);this.sourceRoot=z;this.sourcesContent=G;this._mappings=D;this._sourceMapURL=u;this.file=d}function t(){this.generatedColumn=this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=
58
+ null}function m(k,u){var d=k;"string"===typeof k&&(d=f.parseSourceMapInput(k));var g=f.getArg(d,"version");d=f.getArg(d,"sections");if(g!=this._version)throw Error("Unsupported version: "+g);this._sources=new l;this._names=new l;var n={line:-1,column:0};this._sections=d.map(function(v){if(v.url)throw Error("Support for url field in sections not implemented.");var z=f.getArg(v,"offset"),G=f.getArg(z,"line"),D=f.getArg(z,"column");if(G<n.line||G===n.line&&D<n.column)throw Error("Section offsets must be ordered and non-overlapping.");
59
+ n=z;return{generatedOffset:{generatedLine:G+1,generatedColumn:D+1},consumer:new e(f.getArg(v,"map"),u)}})}var f=C("./util"),c=C("./binary-search"),l=C("./array-set").ArraySet,q=C("./base64-vlq"),r=C("./quick-sort").quickSort;e.fromSourceMap=function(k){return p.fromSourceMap(k)};e.prototype._version=3;e.prototype.__generatedMappings=null;Object.defineProperty(e.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){this.__generatedMappings||this._parseMappings(this._mappings,
60
+ this.sourceRoot);return this.__generatedMappings}});e.prototype.__originalMappings=null;Object.defineProperty(e.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});e.prototype._charIsMappingSeparator=function(k,u){var d=k.charAt(u);return";"===d||","===d};e.prototype._parseMappings=function(k,u){throw Error("Subclasses must implement _parseMappings");};e.GENERATED_ORDER=
61
+ 1;e.ORIGINAL_ORDER=2;e.GREATEST_LOWER_BOUND=1;e.LEAST_UPPER_BOUND=2;e.prototype.eachMapping=function(k,u,d){u=u||null;switch(d||e.GENERATED_ORDER){case e.GENERATED_ORDER:d=this._generatedMappings;break;case e.ORIGINAL_ORDER:d=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var g=this.sourceRoot;d.map(function(n){var v=null===n.source?null:this._sources.at(n.source);v=f.computeSourceURL(g,v,this._sourceMapURL);return{source:v,generatedLine:n.generatedLine,generatedColumn:n.generatedColumn,
62
+ originalLine:n.originalLine,originalColumn:n.originalColumn,name:null===n.name?null:this._names.at(n.name)}},this).forEach(k,u)};e.prototype.allGeneratedPositionsFor=function(k){var u=f.getArg(k,"line"),d={source:f.getArg(k,"source"),originalLine:u,originalColumn:f.getArg(k,"column",0)};null!=this.sourceRoot&&(d.source=f.relative(this.sourceRoot,d.source));if(!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var g=[];d=this._findMapping(d,this._originalMappings,"originalLine",
63
+ "originalColumn",f.compareByOriginalPositions,c.LEAST_UPPER_BOUND);if(0<=d){var n=this._originalMappings[d];if(void 0===k.column)for(u=n.originalLine;n&&n.originalLine===u;)g.push({line:f.getArg(n,"generatedLine",null),column:f.getArg(n,"generatedColumn",null),lastColumn:f.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++d];else for(k=n.originalColumn;n&&n.originalLine===u&&n.originalColumn==k;)g.push({line:f.getArg(n,"generatedLine",null),column:f.getArg(n,"generatedColumn",null),
64
+ lastColumn:f.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++d]}return g};A.SourceMapConsumer=e;p.prototype=Object.create(e.prototype);p.prototype.consumer=e;p.fromSourceMap=function(k,u){var d=Object.create(p.prototype),g=d._names=l.fromArray(k._names.toArray(),!0),n=d._sources=l.fromArray(k._sources.toArray(),!0);d.sourceRoot=k._sourceRoot;d.sourcesContent=k._generateSourcesContent(d._sources.toArray(),d.sourceRoot);d.file=k._file;d._sourceMapURL=u;for(var v=k._mappings.toArray().slice(),
65
+ z=d.__generatedMappings=[],G=d.__originalMappings=[],D=0,L=v.length;D<L;D++){var a=v[D],b=new t;b.generatedLine=a.generatedLine;b.generatedColumn=a.generatedColumn;a.source&&(b.source=n.indexOf(a.source),b.originalLine=a.originalLine,b.originalColumn=a.originalColumn,a.name&&(b.name=g.indexOf(a.name)),G.push(b));z.push(b)}r(d.__originalMappings,f.compareByOriginalPositions);return d};p.prototype._version=3;Object.defineProperty(p.prototype,"sources",{get:function(){return this._sources.toArray().map(function(k){return f.computeSourceURL(this.sourceRoot,
66
+ k,this._sourceMapURL)},this)}});p.prototype._parseMappings=function(k,u){for(var d=1,g=0,n=0,v=0,z=0,G=0,D=k.length,L=0,a={},b={},h=[],w=[],y,I,K,N,P;L<D;)if(";"===k.charAt(L))d++,L++,g=0;else if(","===k.charAt(L))L++;else{y=new t;y.generatedLine=d;for(N=L;N<D&&!this._charIsMappingSeparator(k,N);N++);I=k.slice(L,N);if(K=a[I])L+=I.length;else{for(K=[];L<N;)q.decode(k,L,b),P=b.value,L=b.rest,K.push(P);if(2===K.length)throw Error("Found a source, but no line and column");if(3===K.length)throw Error("Found a source and line, but no column");
67
+ a[I]=K}y.generatedColumn=g+K[0];g=y.generatedColumn;1<K.length&&(y.source=z+K[1],z+=K[1],y.originalLine=n+K[2],n=y.originalLine,y.originalLine+=1,y.originalColumn=v+K[3],v=y.originalColumn,4<K.length&&(y.name=G+K[4],G+=K[4]));w.push(y);"number"===typeof y.originalLine&&h.push(y)}r(w,f.compareByGeneratedPositionsDeflated);this.__generatedMappings=w;r(h,f.compareByOriginalPositions);this.__originalMappings=h};p.prototype._findMapping=function(k,u,d,g,n,v){if(0>=k[d])throw new TypeError("Line must be greater than or equal to 1, got "+
68
+ k[d]);if(0>k[g])throw new TypeError("Column must be greater than or equal to 0, got "+k[g]);return c.search(k,u,n,v)};p.prototype.computeColumnSpans=function(){for(var k=0;k<this._generatedMappings.length;++k){var u=this._generatedMappings[k];if(k+1<this._generatedMappings.length){var d=this._generatedMappings[k+1];if(u.generatedLine===d.generatedLine){u.lastGeneratedColumn=d.generatedColumn-1;continue}}u.lastGeneratedColumn=Infinity}};p.prototype.originalPositionFor=function(k){var u={generatedLine:f.getArg(k,
69
+ "line"),generatedColumn:f.getArg(k,"column")};k=this._findMapping(u,this._generatedMappings,"generatedLine","generatedColumn",f.compareByGeneratedPositionsDeflated,f.getArg(k,"bias",e.GREATEST_LOWER_BOUND));if(0<=k&&(k=this._generatedMappings[k],k.generatedLine===u.generatedLine)){u=f.getArg(k,"source",null);null!==u&&(u=this._sources.at(u),u=f.computeSourceURL(this.sourceRoot,u,this._sourceMapURL));var d=f.getArg(k,"name",null);null!==d&&(d=this._names.at(d));return{source:u,line:f.getArg(k,"originalLine",
70
+ null),column:f.getArg(k,"originalColumn",null),name:d}}return{source:null,line:null,column:null,name:null}};p.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(k){return null==k}):!1};p.prototype.sourceContentFor=function(k,u){if(!this.sourcesContent)return null;var d=k;null!=this.sourceRoot&&(d=f.relative(this.sourceRoot,d));if(this._sources.has(d))return this.sourcesContent[this._sources.indexOf(d)];
71
+ var g=this.sources,n;for(n=0;n<g.length;++n)if(g[n]==k)return this.sourcesContent[n];var v;if(null!=this.sourceRoot&&(v=f.urlParse(this.sourceRoot))){g=d.replace(/^file:\/\//,"");if("file"==v.scheme&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!v.path||"/"==v.path)&&this._sources.has("/"+d))return this.sourcesContent[this._sources.indexOf("/"+d)]}if(u)return null;throw Error('"'+d+'" is not in the SourceMap.');};p.prototype.generatedPositionFor=function(k){var u=
72
+ f.getArg(k,"source");null!=this.sourceRoot&&(u=f.relative(this.sourceRoot,u));if(!this._sources.has(u))return{line:null,column:null,lastColumn:null};u=this._sources.indexOf(u);u={source:u,originalLine:f.getArg(k,"line"),originalColumn:f.getArg(k,"column")};k=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",f.compareByOriginalPositions,f.getArg(k,"bias",e.GREATEST_LOWER_BOUND));return 0<=k&&(k=this._originalMappings[k],k.source===u.source)?{line:f.getArg(k,"generatedLine",
73
+ null),column:f.getArg(k,"generatedColumn",null),lastColumn:f.getArg(k,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};A.BasicSourceMapConsumer=p;m.prototype=Object.create(e.prototype);m.prototype.constructor=e;m.prototype._version=3;Object.defineProperty(m.prototype,"sources",{get:function(){for(var k=[],u=0;u<this._sections.length;u++)for(var d=0;d<this._sections[u].consumer.sources.length;d++)k.push(this._sections[u].consumer.sources[d]);return k}});m.prototype.originalPositionFor=
74
+ function(k){var u={generatedLine:f.getArg(k,"line"),generatedColumn:f.getArg(k,"column")},d=c.search(u,this._sections,function(g,n){var v=g.generatedLine-n.generatedOffset.generatedLine;return v?v:g.generatedColumn-n.generatedOffset.generatedColumn});return(d=this._sections[d])?d.consumer.originalPositionFor({line:u.generatedLine-(d.generatedOffset.generatedLine-1),column:u.generatedColumn-(d.generatedOffset.generatedLine===u.generatedLine?d.generatedOffset.generatedColumn-1:0),bias:k.bias}):{source:null,
75
+ line:null,column:null,name:null}};m.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(k){return k.consumer.hasContentsOfAllSources()})};m.prototype.sourceContentFor=function(k,u){for(var d=0;d<this._sections.length;d++){var g=this._sections[d].consumer.sourceContentFor(k,!0);if(g)return g}if(u)return null;throw Error('"'+k+'" is not in the SourceMap.');};m.prototype.generatedPositionFor=function(k){for(var u=0;u<this._sections.length;u++){var d=this._sections[u];if(-1!==
76
+ d.consumer.sources.indexOf(f.getArg(k,"source"))){var g=d.consumer.generatedPositionFor(k);if(g)return{line:g.line+(d.generatedOffset.generatedLine-1),column:g.column+(d.generatedOffset.generatedLine===g.line?d.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};m.prototype._parseMappings=function(k,u){this.__generatedMappings=[];this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var g=this._sections[d],n=g.consumer._generatedMappings,v=0;v<n.length;v++){var z=
77
+ n[v],G=g.consumer._sources.at(z.source);G=f.computeSourceURL(g.consumer.sourceRoot,G,this._sourceMapURL);this._sources.add(G);G=this._sources.indexOf(G);var D=null;z.name&&(D=g.consumer._names.at(z.name),this._names.add(D),D=this._names.indexOf(D));z={source:G,generatedLine:z.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:z.generatedColumn+(g.generatedOffset.generatedLine===z.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:z.originalLine,originalColumn:z.originalColumn,
78
+ name:D};this.__generatedMappings.push(z);"number"===typeof z.originalLine&&this.__originalMappings.push(z)}r(this.__generatedMappings,f.compareByGeneratedPositionsDeflated);r(this.__originalMappings,f.compareByOriginalPositions)};A.IndexedSourceMapConsumer=m},{"./array-set":10,"./base64-vlq":11,"./binary-search":13,"./quick-sort":15,"./util":19}],17:[function(C,J,A){function e(c){c||(c={});this._file=t.getArg(c,"file",null);this._sourceRoot=t.getArg(c,"sourceRoot",null);this._skipValidation=t.getArg(c,
79
+ "skipValidation",!1);this._sources=new m;this._names=new m;this._mappings=new f;this._sourcesContents=null}var p=C("./base64-vlq"),t=C("./util"),m=C("./array-set").ArraySet,f=C("./mapping-list").MappingList;e.prototype._version=3;e.fromSourceMap=function(c){var l=c.sourceRoot,q=new e({file:c.file,sourceRoot:l});c.eachMapping(function(r){var k={generated:{line:r.generatedLine,column:r.generatedColumn}};null!=r.source&&(k.source=r.source,null!=l&&(k.source=t.relative(l,k.source)),k.original={line:r.originalLine,
80
+ column:r.originalColumn},null!=r.name&&(k.name=r.name));q.addMapping(k)});c.sources.forEach(function(r){var k=r;null!==l&&(k=t.relative(l,r));q._sources.has(k)||q._sources.add(k);k=c.sourceContentFor(r);null!=k&&q.setSourceContent(r,k)});return q};e.prototype.addMapping=function(c){var l=t.getArg(c,"generated"),q=t.getArg(c,"original",null),r=t.getArg(c,"source",null);c=t.getArg(c,"name",null);this._skipValidation||this._validateMapping(l,q,r,c);null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r));
81
+ null!=c&&(c=String(c),this._names.has(c)||this._names.add(c));this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:null!=q&&q.line,originalColumn:null!=q&&q.column,source:r,name:c})};e.prototype.setSourceContent=function(c,l){var q=c;null!=this._sourceRoot&&(q=t.relative(this._sourceRoot,q));null!=l?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(q)]=l):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(q)],
82
+ 0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};e.prototype.applySourceMap=function(c,l,q){var r=l;if(null==l){if(null==c.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=c.file}var k=this._sourceRoot;null!=k&&(r=t.relative(k,r));var u=new m,d=new m;this._mappings.unsortedForEach(function(g){if(g.source===r&&null!=g.originalLine){var n=c.originalPositionFor({line:g.originalLine,
83
+ column:g.originalColumn});null!=n.source&&(g.source=n.source,null!=q&&(g.source=t.join(q,g.source)),null!=k&&(g.source=t.relative(k,g.source)),g.originalLine=n.line,g.originalColumn=n.column,null!=n.name&&(g.name=n.name))}n=g.source;null==n||u.has(n)||u.add(n);g=g.name;null==g||d.has(g)||d.add(g)},this);this._sources=u;this._names=d;c.sources.forEach(function(g){var n=c.sourceContentFor(g);null!=n&&(null!=q&&(g=t.join(q,g)),null!=k&&(g=t.relative(k,g)),this.setSourceContent(g,n))},this)};e.prototype._validateMapping=
84
+ function(c,l,q,r){if(l&&"number"!==typeof l.line&&"number"!==typeof l.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(c&&"line"in c&&"column"in c&&0<c.line&&0<=c.column&&!l&&!q&&!r||c&&"line"in c&&"column"in c&&l&&"line"in l&&"column"in l&&0<c.line&&0<=c.column&&0<l.line&&0<=l.column&&
85
+ q))throw Error("Invalid mapping: "+JSON.stringify({generated:c,source:q,original:l,name:r}));};e.prototype._serializeMappings=function(){for(var c=0,l=1,q=0,r=0,k=0,u=0,d="",g,n,v,z=this._mappings.toArray(),G=0,D=z.length;G<D;G++){n=z[G];g="";if(n.generatedLine!==l)for(c=0;n.generatedLine!==l;)g+=";",l++;else if(0<G){if(!t.compareByGeneratedPositionsInflated(n,z[G-1]))continue;g+=","}g+=p.encode(n.generatedColumn-c);c=n.generatedColumn;null!=n.source&&(v=this._sources.indexOf(n.source),g+=p.encode(v-
86
+ u),u=v,g+=p.encode(n.originalLine-1-r),r=n.originalLine-1,g+=p.encode(n.originalColumn-q),q=n.originalColumn,null!=n.name&&(n=this._names.indexOf(n.name),g+=p.encode(n-k),k=n));d+=g}return d};e.prototype._generateSourcesContent=function(c,l){return c.map(function(q){if(!this._sourcesContents)return null;null!=l&&(q=t.relative(l,q));q=t.toSetString(q);return Object.prototype.hasOwnProperty.call(this._sourcesContents,q)?this._sourcesContents[q]:null},this)};e.prototype.toJSON=function(){var c={version:this._version,
87
+ sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(c.file=this._file);null!=this._sourceRoot&&(c.sourceRoot=this._sourceRoot);this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot));return c};e.prototype.toString=function(){return JSON.stringify(this.toJSON())};A.SourceMapGenerator=e},{"./array-set":10,"./base64-vlq":11,"./mapping-list":14,"./util":19}],18:[function(C,J,A){function e(f,c,l,q,r){this.children=
88
+ [];this.sourceContents={};this.line=null==f?null:f;this.column=null==c?null:c;this.source=null==l?null:l;this.name=null==r?null:r;this.$$$isSourceNode$$$=!0;null!=q&&this.add(q)}var p=C("./source-map-generator").SourceMapGenerator,t=C("./util"),m=/(\r?\n)/;e.fromStringWithSourceMap=function(f,c,l){function q(z,G){if(null===z||void 0===z.source)r.add(G);else{var D=l?t.join(l,z.source):z.source;r.add(new e(z.originalLine,z.originalColumn,D,G,z.name))}}var r=new e,k=f.split(m),u=0,d=function(){var z=
89
+ u<k.length?k[u++]:void 0,G=(u<k.length?k[u++]:void 0)||"";return z+G},g=1,n=0,v=null;c.eachMapping(function(z){if(null!==v)if(g<z.generatedLine)q(v,d()),g++,n=0;else{var G=k[u]||"",D=G.substr(0,z.generatedColumn-n);k[u]=G.substr(z.generatedColumn-n);n=z.generatedColumn;q(v,D);v=z;return}for(;g<z.generatedLine;)r.add(d()),g++;n<z.generatedColumn&&(G=k[u]||"",r.add(G.substr(0,z.generatedColumn)),k[u]=G.substr(z.generatedColumn),n=z.generatedColumn);v=z},this);u<k.length&&(v&&q(v,d()),r.add(k.splice(u).join("")));
90
+ c.sources.forEach(function(z){var G=c.sourceContentFor(z);null!=G&&(null!=l&&(z=t.join(l,z)),r.setSourceContent(z,G))});return r};e.prototype.add=function(f){if(Array.isArray(f))f.forEach(function(c){this.add(c)},this);else if(f.$$$isSourceNode$$$||"string"===typeof f)f&&this.children.push(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this};e.prototype.prepend=function(f){if(Array.isArray(f))for(var c=f.length-1;0<=c;c--)this.prepend(f[c]);
91
+ else if(f.$$$isSourceNode$$$||"string"===typeof f)this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this};e.prototype.walk=function(f){for(var c,l=0,q=this.children.length;l<q;l++)c=this.children[l],c.$$$isSourceNode$$$?c.walk(f):""!==c&&f(c,{source:this.source,line:this.line,column:this.column,name:this.name})};e.prototype.join=function(f){var c,l=this.children.length;if(0<l){var q=[];for(c=0;c<l-1;c++)q.push(this.children[c]),
92
+ q.push(f);q.push(this.children[c]);this.children=q}return this};e.prototype.replaceRight=function(f,c){var l=this.children[this.children.length-1];l.$$$isSourceNode$$$?l.replaceRight(f,c):"string"===typeof l?this.children[this.children.length-1]=l.replace(f,c):this.children.push("".replace(f,c));return this};e.prototype.setSourceContent=function(f,c){this.sourceContents[t.toSetString(f)]=c};e.prototype.walkSourceContents=function(f){for(var c=0,l=this.children.length;c<l;c++)this.children[c].$$$isSourceNode$$$&&
93
+ this.children[c].walkSourceContents(f);var q=Object.keys(this.sourceContents);c=0;for(l=q.length;c<l;c++)f(t.fromSetString(q[c]),this.sourceContents[q[c]])};e.prototype.toString=function(){var f="";this.walk(function(c){f+=c});return f};e.prototype.toStringWithSourceMap=function(f){var c="",l=1,q=0,r=new p(f),k=!1,u=null,d=null,g=null,n=null;this.walk(function(v,z){c+=v;null!==z.source&&null!==z.line&&null!==z.column?(u===z.source&&d===z.line&&g===z.column&&n===z.name||r.addMapping({source:z.source,
94
+ original:{line:z.line,column:z.column},generated:{line:l,column:q},name:z.name}),u=z.source,d=z.line,g=z.column,n=z.name,k=!0):k&&(r.addMapping({generated:{line:l,column:q}}),u=null,k=!1);for(var G=0,D=v.length;G<D;G++)10===v.charCodeAt(G)?(l++,q=0,G+1===D?(u=null,k=!1):k&&r.addMapping({source:z.source,original:{line:z.line,column:z.column},generated:{line:l,column:q},name:z.name})):q++});this.walkSourceContents(function(v,z){r.setSourceContent(v,z)});return{code:c,map:r}};A.SourceNode=e},{"./source-map-generator":17,
95
+ "./util":19}],19:[function(C,J,A){function e(d){return(d=d.match(k))?{scheme:d[1],auth:d[2],host:d[3],port:d[4],path:d[5]}:null}function p(d){var g="";d.scheme&&(g+=d.scheme+":");g+="//";d.auth&&(g+=d.auth+"@");d.host&&(g+=d.host);d.port&&(g+=":"+d.port);d.path&&(g+=d.path);return g}function t(d){var g=d,n=e(d);if(n){if(!n.path)return d;g=n.path}d=A.isAbsolute(g);g=g.split(/\/+/);for(var v,z=0,G=g.length-1;0<=G;G--)v=g[G],"."===v?g.splice(G,1):".."===v?z++:0<z&&(""===v?(g.splice(G+1,z),z=0):(g.splice(G,
96
+ 2),z--));g=g.join("/");""===g&&(g=d?"/":".");return n?(n.path=g,p(n)):g}function m(d,g){""===d&&(d=".");""===g&&(g=".");var n=e(g),v=e(d);v&&(d=v.path||"/");if(n&&!n.scheme)return v&&(n.scheme=v.scheme),p(n);if(n||g.match(u))return g;if(v&&!v.host&&!v.path)return v.host=g,p(v);n="/"===g.charAt(0)?g:t(d.replace(/\/+$/,"")+"/"+g);return v?(v.path=n,p(v)):n}function f(d){return d}function c(d){return q(d)?"$"+d:d}function l(d){return q(d)?d.slice(1):d}function q(d){if(!d)return!1;var g=d.length;if(9>
97
+ g||95!==d.charCodeAt(g-1)||95!==d.charCodeAt(g-2)||111!==d.charCodeAt(g-3)||116!==d.charCodeAt(g-4)||111!==d.charCodeAt(g-5)||114!==d.charCodeAt(g-6)||112!==d.charCodeAt(g-7)||95!==d.charCodeAt(g-8)||95!==d.charCodeAt(g-9))return!1;for(g-=10;0<=g;g--)if(36!==d.charCodeAt(g))return!1;return!0}function r(d,g){return d===g?0:null===d?1:null===g?-1:d>g?1:-1}A.getArg=function(d,g,n){if(g in d)return d[g];if(3===arguments.length)return n;throw Error('"'+g+'" is a required argument.');};var k=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,
98
+ u=/^data:.+,.+$/;A.urlParse=e;A.urlGenerate=p;A.normalize=t;A.join=m;A.isAbsolute=function(d){return"/"===d.charAt(0)||k.test(d)};A.relative=function(d,g){""===d&&(d=".");d=d.replace(/\/$/,"");for(var n=0;0!==g.indexOf(d+"/");){var v=d.lastIndexOf("/");if(0>v)return g;d=d.slice(0,v);if(d.match(/^([^\/]+:\/)?\/*$/))return g;++n}return Array(n+1).join("../")+g.substr(d.length+1)};C=!("__proto__"in Object.create(null));A.toSetString=C?f:c;A.fromSetString=C?f:l;A.compareByOriginalPositions=function(d,
99
+ g,n){var v=r(d.source,g.source);if(0!==v)return v;v=d.originalLine-g.originalLine;if(0!==v)return v;v=d.originalColumn-g.originalColumn;if(0!==v||n)return v;v=d.generatedColumn-g.generatedColumn;if(0!==v)return v;v=d.generatedLine-g.generatedLine;return 0!==v?v:r(d.name,g.name)};A.compareByGeneratedPositionsDeflated=function(d,g,n){var v=d.generatedLine-g.generatedLine;if(0!==v)return v;v=d.generatedColumn-g.generatedColumn;if(0!==v||n)return v;v=r(d.source,g.source);if(0!==v)return v;v=d.originalLine-
100
+ g.originalLine;if(0!==v)return v;v=d.originalColumn-g.originalColumn;return 0!==v?v:r(d.name,g.name)};A.compareByGeneratedPositionsInflated=function(d,g){var n=d.generatedLine-g.generatedLine;if(0!==n)return n;n=d.generatedColumn-g.generatedColumn;if(0!==n)return n;n=r(d.source,g.source);if(0!==n)return n;n=d.originalLine-g.originalLine;if(0!==n)return n;n=d.originalColumn-g.originalColumn;return 0!==n?n:r(d.name,g.name)};A.parseSourceMapInput=function(d){return JSON.parse(d.replace(/^\)]}'[^\n]*\n/,
101
+ ""))};A.computeSourceURL=function(d,g,n){g=g||"";d&&("/"!==d[d.length-1]&&"/"!==g[0]&&(d+="/"),g=d+g);if(n){d=e(n);if(!d)throw Error("sourceMapURL could not be parsed");d.path&&(n=d.path.lastIndexOf("/"),0<=n&&(d.path=d.path.substring(0,n+1)));g=m(p(d),g)}return t(g)}},{}],20:[function(C,J,A){A.SourceMapGenerator=C("./lib/source-map-generator").SourceMapGenerator;A.SourceMapConsumer=C("./lib/source-map-consumer").SourceMapConsumer;A.SourceNode=C("./lib/source-node").SourceNode},{"./lib/source-map-consumer":16,
102
+ "./lib/source-map-generator":17,"./lib/source-node":18}],21:[function(C,J,A){(function(e){function p(){return"browser"===a?!0:"node"===a?!1:"undefined"!==typeof window&&"function"===typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type)}function t(x){return function(B){for(var F=0;F<x.length;F++){var E=x[F](B);if(E)return E}return null}}function m(x,B){if(!x)return B;var F=n.dirname(x),E=/^\w+:\/\/[^\/]*/.exec(F);E=E?E[0]:"";var H=F.slice(E.length);
103
+ return E&&/^\/\w:/.test(H)?(E+="/",E+n.resolve(F.slice(E.length),B).replace(/\\/g,"/")):E+n.resolve(F.slice(E.length),B)}function f(x){var B=h[x.source];if(!B){var F=N(x.source);F?(B=h[x.source]={url:F.url,map:new g(F.map)},B.map.sourcesContent&&B.map.sources.forEach(function(E,H){var M=B.map.sourcesContent[H];if(M){var S=m(B.url,E);b[S]=M}})):B=h[x.source]={url:null,map:null}}return B&&B.map&&"function"===typeof B.map.originalPositionFor&&(F=B.map.originalPositionFor(x),null!==F.source)?(F.source=
104
+ m(B.url,F.source),F):x}function c(x){var B=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(x);return B?(x=f({source:B[2],line:+B[3],column:B[4]-1}),"eval at "+B[1]+" ("+x.source+":"+x.line+":"+(x.column+1)+")"):(B=/^eval at ([^(]+) \((.+)\)$/.exec(x))?"eval at "+B[1]+" ("+c(B[2])+")":x}function l(){var x="";if(this.isNative())x="native";else{var B=this.getScriptNameOrSourceURL();!B&&this.isEval()&&(x=this.getEvalOrigin(),x+=", ");x=B?x+B:x+"<anonymous>";B=this.getLineNumber();null!=B&&(x+=":"+B,(B=
105
+ this.getColumnNumber())&&(x+=":"+B))}B="";var F=this.getFunctionName(),E=!0,H=this.isConstructor();if(this.isToplevel()||H)H?B+="new "+(F||"<anonymous>"):F?B+=F:(B+=x,E=!1);else{H=this.getTypeName();"[object Object]"===H&&(H="null");var M=this.getMethodName();F?(H&&0!=F.indexOf(H)&&(B+=H+"."),B+=F,M&&F.indexOf("."+M)!=F.length-M.length-1&&(B+=" [as "+M+"]")):B+=H+"."+(M||"<anonymous>")}E&&(B+=" ("+x+")");return B}function q(x){var B={};Object.getOwnPropertyNames(Object.getPrototypeOf(x)).forEach(function(F){B[F]=
106
+ /^(?:is|get)/.test(F)?function(){return x[F].call(x)}:x[F]});B.toString=l;return B}function r(x,B){void 0===B&&(B={nextPosition:null,curPosition:null});if(x.isNative())return B.curPosition=null,x;var F=x.getFileName()||x.getScriptNameOrSourceURL();if(F){var E=x.getLineNumber(),H=x.getColumnNumber()-1,M=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,S=M.test;var V="object"===typeof e&&null!==e?e.version:"";M=S.call(M,V)?0:62;1===E&&H>M&&!p()&&!x.isEval()&&(H-=M);var O=
107
+ f({source:F,line:E,column:H});B.curPosition=O;x=q(x);var T=x.getFunctionName;x.getFunctionName=function(){return null==B.nextPosition?T():B.nextPosition.name||T()};x.getFileName=function(){return O.source};x.getLineNumber=function(){return O.line};x.getColumnNumber=function(){return O.column+1};x.getScriptNameOrSourceURL=function(){return O.source};return x}var Q=x.isEval()&&x.getEvalOrigin();Q&&(Q=c(Q),x=q(x),x.getEvalOrigin=function(){return Q});return x}function k(x,B){L&&(b={},h={});for(var F=
108
+ (x.name||"Error")+": "+(x.message||""),E={nextPosition:null,curPosition:null},H=[],M=B.length-1;0<=M;M--)H.push("\n at "+r(B[M],E)),E.nextPosition=E.curPosition;E.curPosition=E.nextPosition=null;return F+H.reverse().join("")}function u(x){var B=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(x.stack);if(B){x=B[1];var F=+B[2];B=+B[3];var E=b[x];if(!E&&v&&v.existsSync(x))try{E=v.readFileSync(x,"utf8")}catch(H){E=""}if(E&&(E=E.split(/(?:\r\n|\r|\n)/)[F-1]))return x+":"+F+"\n"+E+"\n"+Array(B).join(" ")+
109
+ "^"}return null}function d(){var x=e.emit;e.emit=function(B){if("uncaughtException"===B){var F=arguments[1]&&arguments[1].stack,E=0<this.listeners(B).length;if(F&&!E){F=arguments[1];E=u(F);var H="object"===typeof e&&null!==e?e.stderr:void 0;H&&H._handle&&H._handle.setBlocking&&H._handle.setBlocking(!0);E&&(console.error(),console.error(E));console.error(F.stack);"object"===typeof e&&null!==e&&"function"===typeof e.exit&&e.exit(1);return}}return x.apply(this,arguments)}}var g=C("source-map").SourceMapConsumer,
110
+ n=C("path");try{var v=C("fs");v.existsSync&&v.readFileSync||(v=null)}catch(x){}var z=C("buffer-from"),G=!1,D=!1,L=!1,a="auto",b={},h={},w=/^data:application\/json[^,]+base64,/,y=[],I=[],K=t(y);y.push(function(x){x=x.trim();/^file:/.test(x)&&(x=x.replace(/file:\/\/\/(\w:)?/,function(E,H){return H?"":"/"}));if(x in b)return b[x];var B="";try{if(v)v.existsSync(x)&&(B=v.readFileSync(x,"utf8"));else{var F=new XMLHttpRequest;F.open("GET",x,!1);F.send(null);4===F.readyState&&200===F.status&&(B=F.responseText)}}catch(E){}return b[x]=
111
+ B});var N=t(I);I.push(function(x){a:{if(p())try{var B=new XMLHttpRequest;B.open("GET",x,!1);B.send(null);var F=B.getResponseHeader("SourceMap")||B.getResponseHeader("X-SourceMap");if(F){var E=F;break a}}catch(M){}E=K(x);B=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg;for(var H;F=B.exec(E);)H=F;E=H?H[1]:null}if(!E)return null;w.test(E)?(H=E.slice(E.indexOf(",")+1),H=z(H,"base64").toString(),E=x):(E=m(x,E),H=K(E));return H?{url:E,
112
+ map:H}:null});var P=y.slice(0),W=I.slice(0);A.wrapCallSite=r;A.getErrorSource=u;A.mapSourcePosition=f;A.retrieveSourceMap=N;A.install=function(x){x=x||{};if(x.environment&&(a=x.environment,-1===["node","browser","auto"].indexOf(a)))throw Error("environment "+a+" was unknown. Available options are {auto, browser, node}");x.retrieveFile&&(x.overrideRetrieveFile&&(y.length=0),y.unshift(x.retrieveFile));x.retrieveSourceMap&&(x.overrideRetrieveSourceMap&&(I.length=0),I.unshift(x.retrieveSourceMap));if(x.hookRequire&&
113
+ !p()){var B=J.require("module"),F=B.prototype._compile;F.__sourceMapSupport||(B.prototype._compile=function(E,H){b[H]=E;h[H]=void 0;return F.call(this,E,H)},B.prototype._compile.__sourceMapSupport=!0)}L||(L="emptyCacheBetweenOperations"in x?x.emptyCacheBetweenOperations:!1);G||(G=!0,Error.prepareStackTrace=k);if(!D){x="handleUncaughtExceptions"in x?x.handleUncaughtExceptions:!0;try{!1===J.require("worker_threads").isMainThread&&(x=!1)}catch(E){}x&&"object"===typeof e&&null!==e&&"function"===typeof e.on&&
114
+ (D=!0,d())}};A.resetRetrieveHandlers=function(){y.length=0;I.length=0;y=P.slice(0);I=W.slice(0);N=t(I);K=t(y)}}).call(this,C("g5I+bs"))},{"buffer-from":4,fs:3,"g5I+bs":9,path:8,"source-map":20}]},{},[1]);return R});
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/package.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@cspotcode/source-map-support",
3
+ "description": "Fixes stack traces for files with source maps",
4
+ "version": "0.8.1",
5
+ "main": "./source-map-support.js",
6
+ "types": "./source-map-support.d.ts",
7
+ "scripts": {
8
+ "build": "node build.js",
9
+ "serve-tests": "http-server -p 1336",
10
+ "test": "mocha"
11
+ },
12
+ "files": [
13
+ "/register.d.ts",
14
+ "/register.js",
15
+ "/register-hook-require.d.ts",
16
+ "/register-hook-require.js",
17
+ "/source-map-support.d.ts",
18
+ "/source-map-support.js",
19
+ "/browser-source-map-support.js"
20
+ ],
21
+ "dependencies": {
22
+ "@jridgewell/trace-mapping": "0.3.9"
23
+ },
24
+ "devDependencies": {
25
+ "@types/lodash": "^4.14.182",
26
+ "browserify": "^4.2.3",
27
+ "coffeescript": "^1.12.7",
28
+ "http-server": "^0.11.1",
29
+ "lodash": "^4.17.21",
30
+ "mocha": "^3.5.3",
31
+ "semver": "^7.3.7",
32
+ "source-map": "0.6.1",
33
+ "webpack": "^1.15.0"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/cspotcode/node-source-map-support"
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/cspotcode/node-source-map-support/issues"
41
+ },
42
+ "license": "MIT",
43
+ "engines": {
44
+ "node": ">=12"
45
+ },
46
+ "volta": {
47
+ "node": "16.11.0",
48
+ "npm": "7.24.2"
49
+ }
50
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register-hook-require.d.ts ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ // tslint:disable:no-useless-files
2
+
3
+ // For following usage:
4
+ // import '@cspotcode/source-map-support/register-hook-require'
5
+ // Instead of:
6
+ // import sourceMapSupport from '@cspotcode/source-map-support'
7
+ // sourceMapSupport.install({hookRequire: true})
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register-hook-require.js ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ require('./').install({
2
+ hookRequire: true
3
+ });
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register.d.ts ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ // tslint:disable:no-useless-files
2
+
3
+ // For following usage:
4
+ // import '@cspotcode/source-map-support/register'
5
+ // Instead of:
6
+ // import sourceMapSupport from '@cspotcode/source-map-support'
7
+ // sourceMapSupport.install()
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/register.js ADDED
@@ -0,0 +1 @@
 
 
1
+ require('./').install();
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/source-map-support.d.ts ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Type definitions for source-map-support 0.5
2
+ // Project: https://github.com/evanw/node-source-map-support
3
+ // Definitions by: Bart van der Schoor <https://github.com/Bartvds>
4
+ // Jason Cheatham <https://github.com/jason0x43>
5
+ // Alcedo Nathaniel De Guzman Jr <https://github.com/natealcedo>
6
+ // Griffin Yourick <https://github.com/tough-griff>
7
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
8
+
9
+ export interface RawSourceMap {
10
+ version: 3;
11
+ sources: string[];
12
+ names: string[];
13
+ sourceRoot?: string;
14
+ sourcesContent?: string[];
15
+ mappings: string;
16
+ file: string;
17
+ }
18
+
19
+ /**
20
+ * Output of retrieveSourceMap().
21
+ * From source-map-support:
22
+ * The map field may be either a string or the parsed JSON object (i.e.,
23
+ * it must be a valid argument to the SourceMapConsumer constructor).
24
+ */
25
+ export interface UrlAndMap {
26
+ url: string;
27
+ map: string | RawSourceMap;
28
+ }
29
+
30
+ /**
31
+ * Options to install().
32
+ */
33
+ export interface Options {
34
+ handleUncaughtExceptions?: boolean | undefined;
35
+ hookRequire?: boolean | undefined;
36
+ emptyCacheBetweenOperations?: boolean | undefined;
37
+ environment?: 'auto' | 'browser' | 'node' | undefined;
38
+ overrideRetrieveFile?: boolean | undefined;
39
+ overrideRetrieveSourceMap?: boolean | undefined;
40
+ retrieveFile?(path: string): string;
41
+ retrieveSourceMap?(source: string): UrlAndMap | null;
42
+ /**
43
+ * Set false to disable redirection of require / import `source-map-support` to `@cspotcode/source-map-support`
44
+ */
45
+ redirectConflictingLibrary?: boolean;
46
+ /**
47
+ * Callback will be called every time we redirect due to `redirectConflictingLibrary`
48
+ * This allows consumers to log helpful warnings if they choose.
49
+ * @param parent NodeJS.Module which made the require() or require.resolve() call
50
+ * @param options options object internally passed to node's `_resolveFilename` hook
51
+ */
52
+ onConflictingLibraryRedirect?: (request: string, parent: any, isMain: boolean, options: any, redirectedRequest: string) => void;
53
+ }
54
+
55
+ export interface Position {
56
+ source: string;
57
+ line: number;
58
+ column: number;
59
+ }
60
+
61
+ export function wrapCallSite(frame: any /* StackFrame */): any /* StackFrame */;
62
+ export function getErrorSource(error: Error): string | null;
63
+ export function mapSourcePosition(position: Position): Position;
64
+ export function retrieveSourceMap(source: string): UrlAndMap | null;
65
+ export function resetRetrieveHandlers(): void;
66
+
67
+ /**
68
+ * Install SourceMap support.
69
+ * @param options Can be used to e.g. disable uncaughtException handler.
70
+ */
71
+ export function install(options?: Options): void;
72
+
73
+ /**
74
+ * Uninstall SourceMap support.
75
+ */
76
+ export function uninstall(): void;
novas/novacore-zephyr/groq-code-cli/node_modules/@cspotcode/source-map-support/source-map-support.js ADDED
@@ -0,0 +1,938 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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{ TraceMap, originalPositionFor, AnyMap } = require('@jridgewell/trace-mapping');
2
+ var path = require('path');
3
+ const { fileURLToPath, pathToFileURL } = require('url');
4
+ var util = require('util');
5
+
6
+ var fs;
7
+ try {
8
+ fs = require('fs');
9
+ if (!fs.existsSync || !fs.readFileSync) {
10
+ // fs doesn't have all methods we need
11
+ fs = null;
12
+ }
13
+ } catch (err) {
14
+ /* nop */
15
+ }
16
+
17
+ /**
18
+ * Requires a module which is protected against bundler minification.
19
+ *
20
+ * @param {NodeModule} mod
21
+ * @param {string} request
22
+ */
23
+ function dynamicRequire(mod, request) {
24
+ return mod.require(request);
25
+ }
26
+
27
+ /**
28
+ * @typedef {{
29
+ * enabled: boolean;
30
+ * originalValue: any;
31
+ * installedValue: any;
32
+ * }} HookState
33
+ * Used for installing and uninstalling hooks
34
+ */
35
+
36
+ // Increment this if the format of sharedData changes in a breaking way.
37
+ var sharedDataVersion = 1;
38
+
39
+ /**
40
+ * @template T
41
+ * @param {T} defaults
42
+ * @returns {T}
43
+ */
44
+ function initializeSharedData(defaults) {
45
+ var sharedDataKey = 'source-map-support/sharedData';
46
+ if (typeof Symbol !== 'undefined') {
47
+ sharedDataKey = Symbol.for(sharedDataKey);
48
+ }
49
+ var sharedData = this[sharedDataKey];
50
+ if (!sharedData) {
51
+ sharedData = { version: sharedDataVersion };
52
+ if (Object.defineProperty) {
53
+ Object.defineProperty(this, sharedDataKey, { value: sharedData });
54
+ } else {
55
+ this[sharedDataKey] = sharedData;
56
+ }
57
+ }
58
+ if (sharedDataVersion !== sharedData.version) {
59
+ throw new Error("Multiple incompatible instances of source-map-support were loaded");
60
+ }
61
+ for (var key in defaults) {
62
+ if (!(key in sharedData)) {
63
+ sharedData[key] = defaults[key];
64
+ }
65
+ }
66
+ return sharedData;
67
+ }
68
+
69
+ // If multiple instances of source-map-support are loaded into the same
70
+ // context, they shouldn't overwrite each other. By storing handlers, caches,
71
+ // and other state on a shared object, different instances of
72
+ // source-map-support can work together in a limited way. This does require
73
+ // that future versions of source-map-support continue to support the fields on
74
+ // this object. If this internal contract ever needs to be broken, increment
75
+ // sharedDataVersion. (This version number is not the same as any of the
76
+ // package's version numbers, which should reflect the *external* API of
77
+ // source-map-support.)
78
+ var sharedData = initializeSharedData({
79
+
80
+ // Only install once if called multiple times
81
+ // Remember how the environment looked before installation so we can restore if able
82
+ /** @type {HookState} */
83
+ errorPrepareStackTraceHook: undefined,
84
+ /** @type {HookState} */
85
+ processEmitHook: undefined,
86
+ /** @type {HookState} */
87
+ moduleResolveFilenameHook: undefined,
88
+
89
+ /** @type {Array<(request: string, parent: any, isMain: boolean, options: any, redirectedRequest: string) => void>} */
90
+ onConflictingLibraryRedirectArr: [],
91
+
92
+ // If true, the caches are reset before a stack trace formatting operation
93
+ emptyCacheBetweenOperations: false,
94
+
95
+ // Maps a file path to a string containing the file contents
96
+ fileContentsCache: Object.create(null),
97
+
98
+ // Maps a file path to a source map for that file
99
+ /** @type {Record<string, {url: string, map: TraceMap}} */
100
+ sourceMapCache: Object.create(null),
101
+
102
+ // Priority list of retrieve handlers
103
+ retrieveFileHandlers: [],
104
+ retrieveMapHandlers: [],
105
+
106
+ // Priority list of internally-implemented handlers.
107
+ // When resetting state, we must keep these.
108
+ internalRetrieveFileHandlers: [],
109
+ internalRetrieveMapHandlers: [],
110
+
111
+ });
112
+
113
+ // Supports {browser, node, auto}
114
+ var environment = "auto";
115
+
116
+ // Regex for detecting source maps
117
+ var reSourceMap = /^data:application\/json[^,]+base64,/;
118
+
119
+ function isInBrowser() {
120
+ if (environment === "browser")
121
+ return true;
122
+ if (environment === "node")
123
+ return false;
124
+ return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function') && !(window.require && window.module && window.process && window.process.type === "renderer"));
125
+ }
126
+
127
+ function hasGlobalProcessEventEmitter() {
128
+ return ((typeof process === 'object') && (process !== null) && (typeof process.on === 'function'));
129
+ }
130
+
131
+ function tryFileURLToPath(v) {
132
+ if(isFileUrl(v)) {
133
+ return fileURLToPath(v);
134
+ }
135
+ return v;
136
+ }
137
+
138
+ // TODO un-copy these from resolve-uri; see if they can be exported from that lib
139
+ function isFileUrl(input) {
140
+ return input.startsWith('file:');
141
+ }
142
+ function isAbsoluteUrl(input) {
143
+ return schemeRegex.test(input);
144
+ }
145
+ // Matches the scheme of a URL, eg "http://"
146
+ const schemeRegex = /^[\w+.-]+:\/\//;
147
+ function isSchemeRelativeUrl(input) {
148
+ return input.startsWith('//');
149
+ }
150
+
151
+ // #region Caches
152
+ /** @param {string} pathOrFileUrl */
153
+ function getCacheKey(pathOrFileUrl) {
154
+ if(pathOrFileUrl.startsWith('node:')) return pathOrFileUrl;
155
+ if(isFileUrl(pathOrFileUrl)) {
156
+ // Must normalize spaces to %20, stuff like that
157
+ return new URL(pathOrFileUrl).toString();
158
+ } else {
159
+ try {
160
+ return pathToFileURL(pathOrFileUrl).toString();
161
+ } catch {
162
+ return pathOrFileUrl;
163
+ }
164
+ }
165
+ }
166
+ function getFileContentsCache(key) {
167
+ return sharedData.fileContentsCache[getCacheKey(key)];
168
+ }
169
+ function hasFileContentsCacheFromKey(key) {
170
+ return Object.prototype.hasOwnProperty.call(sharedData.fileContentsCache, key);
171
+ }
172
+ function getFileContentsCacheFromKey(key) {
173
+ return sharedData.fileContentsCache[key];
174
+ }
175
+ function setFileContentsCache(key, value) {
176
+ return sharedData.fileContentsCache[getCacheKey(key)] = value;
177
+ }
178
+ function getSourceMapCache(key) {
179
+ return sharedData.sourceMapCache[getCacheKey(key)];
180
+ }
181
+ function setSourceMapCache(key, value) {
182
+ return sharedData.sourceMapCache[getCacheKey(key)] = value;
183
+ }
184
+ function clearCaches() {
185
+ sharedData.fileContentsCache = Object.create(null);
186
+ sharedData.sourceMapCache = Object.create(null);
187
+ }
188
+ // #endregion Caches
189
+
190
+ function handlerExec(list, internalList) {
191
+ return function(arg) {
192
+ for (var i = 0; i < list.length; i++) {
193
+ var ret = list[i](arg);
194
+ if (ret) {
195
+ return ret;
196
+ }
197
+ }
198
+ for (var i = 0; i < internalList.length; i++) {
199
+ var ret = internalList[i](arg);
200
+ if (ret) {
201
+ return ret;
202
+ }
203
+ }
204
+ return null;
205
+ };
206
+ }
207
+
208
+ var retrieveFile = handlerExec(sharedData.retrieveFileHandlers, sharedData.internalRetrieveFileHandlers);
209
+
210
+ sharedData.internalRetrieveFileHandlers.push(function(path) {
211
+ // Trim the path to make sure there is no extra whitespace.
212
+ path = path.trim();
213
+ if (/^file:/.test(path)) {
214
+ // existsSync/readFileSync can't handle file protocol, but once stripped, it works
215
+ path = path.replace(/file:\/\/\/(\w:)?/, function(protocol, drive) {
216
+ return drive ?
217
+ '' : // file:///C:/dir/file -> C:/dir/file
218
+ '/'; // file:///root-dir/file -> /root-dir/file
219
+ });
220
+ }
221
+ const key = getCacheKey(path);
222
+ if(hasFileContentsCacheFromKey(key)) {
223
+ return getFileContentsCacheFromKey(key);
224
+ }
225
+
226
+ var contents = '';
227
+ try {
228
+ if (!fs) {
229
+ // Use SJAX if we are in the browser
230
+ var xhr = new XMLHttpRequest();
231
+ xhr.open('GET', path, /** async */ false);
232
+ xhr.send(null);
233
+ if (xhr.readyState === 4 && xhr.status === 200) {
234
+ contents = xhr.responseText;
235
+ }
236
+ } else if (fs.existsSync(path)) {
237
+ // Otherwise, use the filesystem
238
+ contents = fs.readFileSync(path, 'utf8');
239
+ }
240
+ } catch (er) {
241
+ /* ignore any errors */
242
+ }
243
+
244
+ return setFileContentsCache(path, contents);
245
+ });
246
+
247
+ // Support URLs relative to a directory, but be careful about a protocol prefix
248
+ // in case we are in the browser (i.e. directories may start with "http://" or "file:///")
249
+ function supportRelativeURL(file, url) {
250
+ if(!file) return url;
251
+ // given that this happens within error formatting codepath, probably best to
252
+ // fallback instead of throwing if anything goes wrong
253
+ try {
254
+ // if should output a URL
255
+ if(isAbsoluteUrl(file) || isSchemeRelativeUrl(file)) {
256
+ if(isAbsoluteUrl(url) || isSchemeRelativeUrl(url)) {
257
+ return new URL(url, file).toString();
258
+ }
259
+ if(path.isAbsolute(url)) {
260
+ return new URL(pathToFileURL(url), file).toString();
261
+ }
262
+ // url is relative path or URL
263
+ return new URL(url.replace(/\\/g, '/'), file).toString();
264
+ }
265
+ // if should output a path (unless URL is something like https://)
266
+ if(path.isAbsolute(file)) {
267
+ if(isFileUrl(url)) {
268
+ return fileURLToPath(url);
269
+ }
270
+ if(isSchemeRelativeUrl(url)) {
271
+ return fileURLToPath(new URL(url, 'file://'));
272
+ }
273
+ if(isAbsoluteUrl(url)) {
274
+ // url is a non-file URL
275
+ // Go with the URL
276
+ return url;
277
+ }
278
+ if(path.isAbsolute(url)) {
279
+ // Normalize at all? decodeURI or normalize slashes?
280
+ return path.normalize(url);
281
+ }
282
+ // url is relative path or URL
283
+ return path.join(file, '..', decodeURI(url));
284
+ }
285
+ // If we get here, file is relative.
286
+ // Shouldn't happen since node identifies modules with absolute paths or URLs.
287
+ // But we can take a stab at returning something meaningful anyway.
288
+ if(isAbsoluteUrl(url) || isSchemeRelativeUrl(url)) {
289
+ return url;
290
+ }
291
+ return path.join(file, '..', url);
292
+ } catch(e) {
293
+ return url;
294
+ }
295
+ }
296
+
297
+ // Return pathOrUrl in the same style as matchStyleOf: either a file URL or a native path
298
+ function matchStyleOfPathOrUrl(matchStyleOf, pathOrUrl) {
299
+ try {
300
+ if(isAbsoluteUrl(matchStyleOf) || isSchemeRelativeUrl(matchStyleOf)) {
301
+ if(isAbsoluteUrl(pathOrUrl) || isSchemeRelativeUrl(pathOrUrl)) return pathOrUrl;
302
+ if(path.isAbsolute(pathOrUrl)) return pathToFileURL(pathOrUrl).toString();
303
+ } else if(path.isAbsolute(matchStyleOf)) {
304
+ if(isAbsoluteUrl(pathOrUrl) || isSchemeRelativeUrl(pathOrUrl)) {
305
+ return fileURLToPath(new URL(pathOrUrl, 'file://'));
306
+ }
307
+ }
308
+ return pathOrUrl;
309
+ } catch(e) {
310
+ return pathOrUrl;
311
+ }
312
+ }
313
+
314
+ function retrieveSourceMapURL(source) {
315
+ var fileData;
316
+
317
+ if (isInBrowser()) {
318
+ try {
319
+ var xhr = new XMLHttpRequest();
320
+ xhr.open('GET', source, false);
321
+ xhr.send(null);
322
+ fileData = xhr.readyState === 4 ? xhr.responseText : null;
323
+
324
+ // Support providing a sourceMappingURL via the SourceMap header
325
+ var sourceMapHeader = xhr.getResponseHeader("SourceMap") ||
326
+ xhr.getResponseHeader("X-SourceMap");
327
+ if (sourceMapHeader) {
328
+ return sourceMapHeader;
329
+ }
330
+ } catch (e) {
331
+ }
332
+ }
333
+
334
+ // Get the URL of the source map
335
+ fileData = retrieveFile(tryFileURLToPath(source));
336
+ var re = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg;
337
+ // Keep executing the search to find the *last* sourceMappingURL to avoid
338
+ // picking up sourceMappingURLs from comments, strings, etc.
339
+ var lastMatch, match;
340
+ while (match = re.exec(fileData)) lastMatch = match;
341
+ if (!lastMatch) return null;
342
+ return lastMatch[1];
343
+ };
344
+
345
+ // Can be overridden by the retrieveSourceMap option to install. Takes a
346
+ // generated source filename; returns a {map, optional url} object, or null if
347
+ // there is no source map. The map field may be either a string or the parsed
348
+ // JSON object (ie, it must be a valid argument to the SourceMapConsumer
349
+ // constructor).
350
+ /** @type {(source: string) => import('./source-map-support').UrlAndMap | null} */
351
+ var retrieveSourceMap = handlerExec(sharedData.retrieveMapHandlers, sharedData.internalRetrieveMapHandlers);
352
+ sharedData.internalRetrieveMapHandlers.push(function(source) {
353
+ var sourceMappingURL = retrieveSourceMapURL(source);
354
+ if (!sourceMappingURL) return null;
355
+
356
+ // Read the contents of the source map
357
+ var sourceMapData;
358
+ if (reSourceMap.test(sourceMappingURL)) {
359
+ // Support source map URL as a data url
360
+ var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1);
361
+ sourceMapData = Buffer.from(rawData, "base64").toString();
362
+ sourceMappingURL = source;
363
+ } else {
364
+ // Support source map URLs relative to the source URL
365
+ sourceMappingURL = supportRelativeURL(source, sourceMappingURL);
366
+ sourceMapData = retrieveFile(tryFileURLToPath(sourceMappingURL));
367
+ }
368
+
369
+ if (!sourceMapData) {
370
+ return null;
371
+ }
372
+
373
+ return {
374
+ url: sourceMappingURL,
375
+ map: sourceMapData
376
+ };
377
+ });
378
+
379
+ function mapSourcePosition(position) {
380
+ var sourceMap = getSourceMapCache(position.source);
381
+ if (!sourceMap) {
382
+ // Call the (overrideable) retrieveSourceMap function to get the source map.
383
+ var urlAndMap = retrieveSourceMap(position.source);
384
+ if (urlAndMap) {
385
+ sourceMap = setSourceMapCache(position.source, {
386
+ url: urlAndMap.url,
387
+ map: new AnyMap(urlAndMap.map, urlAndMap.url)
388
+ });
389
+
390
+ // Overwrite trace-mapping's resolutions, because they do not handle
391
+ // Windows paths the way we want.
392
+ // TODO Remove now that windows path support was added to resolve-uri and thus trace-mapping?
393
+ sourceMap.map.resolvedSources = sourceMap.map.sources.map(s => supportRelativeURL(sourceMap.url, s));
394
+
395
+ // Load all sources stored inline with the source map into the file cache
396
+ // to pretend like they are already loaded. They may not exist on disk.
397
+ if (sourceMap.map.sourcesContent) {
398
+ sourceMap.map.resolvedSources.forEach(function(resolvedSource, i) {
399
+ var contents = sourceMap.map.sourcesContent[i];
400
+ if (contents) {
401
+ setFileContentsCache(resolvedSource, contents);
402
+ }
403
+ });
404
+ }
405
+ } else {
406
+ sourceMap = setSourceMapCache(position.source, {
407
+ url: null,
408
+ map: null
409
+ });
410
+ }
411
+ }
412
+
413
+ // Resolve the source URL relative to the URL of the source map
414
+ if (sourceMap && sourceMap.map) {
415
+ var originalPosition = originalPositionFor(sourceMap.map, position);
416
+
417
+ // Only return the original position if a matching line was found. If no
418
+ // matching line is found then we return position instead, which will cause
419
+ // the stack trace to print the path and line for the compiled file. It is
420
+ // better to give a precise location in the compiled file than a vague
421
+ // location in the original file.
422
+ if (originalPosition.source !== null) {
423
+ // originalPosition.source has *already* been resolved against sourceMap.url
424
+ // so is *already* as absolute as possible.
425
+ // However, we want to ensure we output in same format as input: URL or native path
426
+ originalPosition.source = matchStyleOfPathOrUrl(
427
+ position.source, originalPosition.source);
428
+ return originalPosition;
429
+ }
430
+ }
431
+
432
+ return position;
433
+ }
434
+
435
+ // Parses code generated by FormatEvalOrigin(), a function inside V8:
436
+ // https://code.google.com/p/v8/source/browse/trunk/src/messages.js
437
+ function mapEvalOrigin(origin) {
438
+ // Most eval() calls are in this format
439
+ var match = /^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(origin);
440
+ if (match) {
441
+ var position = mapSourcePosition({
442
+ source: match[2],
443
+ line: +match[3],
444
+ column: match[4] - 1
445
+ });
446
+ return 'eval at ' + match[1] + ' (' + position.source + ':' +
447
+ position.line + ':' + (position.column + 1) + ')';
448
+ }
449
+
450
+ // Parse nested eval() calls using recursion
451
+ match = /^eval at ([^(]+) \((.+)\)$/.exec(origin);
452
+ if (match) {
453
+ return 'eval at ' + match[1] + ' (' + mapEvalOrigin(match[2]) + ')';
454
+ }
455
+
456
+ // Make sure we still return useful information if we didn't find anything
457
+ return origin;
458
+ }
459
+
460
+ // This is copied almost verbatim from the V8 source code at
461
+ // https://code.google.com/p/v8/source/browse/trunk/src/messages.js
462
+ // Update 2022-04-29:
463
+ // https://github.com/v8/v8/blob/98f6f100c5ab8e390e51422747c4ef644d5ac6f2/src/builtins/builtins-callsite.cc#L175-L179
464
+ // https://github.com/v8/v8/blob/98f6f100c5ab8e390e51422747c4ef644d5ac6f2/src/objects/call-site-info.cc#L795-L804
465
+ // https://github.com/v8/v8/blob/98f6f100c5ab8e390e51422747c4ef644d5ac6f2/src/objects/call-site-info.cc#L717-L750
466
+ // The implementation of wrapCallSite() used to just forward to the actual source
467
+ // code of CallSite.prototype.toString but unfortunately a new release of V8
468
+ // did something to the prototype chain and broke the shim. The only fix I
469
+ // could find was copy/paste.
470
+ function CallSiteToString() {
471
+ var fileName;
472
+ var fileLocation = "";
473
+ if (this.isNative()) {
474
+ fileLocation = "native";
475
+ } else {
476
+ fileName = this.getScriptNameOrSourceURL();
477
+ if (!fileName && this.isEval()) {
478
+ fileLocation = this.getEvalOrigin();
479
+ fileLocation += ", "; // Expecting source position to follow.
480
+ }
481
+
482
+ if (fileName) {
483
+ fileLocation += fileName;
484
+ } else {
485
+ // Source code does not originate from a file and is not native, but we
486
+ // can still get the source position inside the source string, e.g. in
487
+ // an eval string.
488
+ fileLocation += "<anonymous>";
489
+ }
490
+ var lineNumber = this.getLineNumber();
491
+ if (lineNumber != null) {
492
+ fileLocation += ":" + lineNumber;
493
+ var columnNumber = this.getColumnNumber();
494
+ if (columnNumber) {
495
+ fileLocation += ":" + columnNumber;
496
+ }
497
+ }
498
+ }
499
+
500
+ var line = "";
501
+ var isAsync = this.isAsync ? this.isAsync() : false;
502
+ if(isAsync) {
503
+ line += 'async ';
504
+ var isPromiseAll = this.isPromiseAll ? this.isPromiseAll() : false;
505
+ var isPromiseAny = this.isPromiseAny ? this.isPromiseAny() : false;
506
+ if(isPromiseAny || isPromiseAll) {
507
+ line += isPromiseAll ? 'Promise.all (index ' : 'Promise.any (index ';
508
+ var promiseIndex = this.getPromiseIndex();
509
+ line += promiseIndex + ')';
510
+ }
511
+ }
512
+ var functionName = this.getFunctionName();
513
+ var addSuffix = true;
514
+ var isConstructor = this.isConstructor();
515
+ var isMethodCall = !(this.isToplevel() || isConstructor);
516
+ if (isMethodCall) {
517
+ var typeName = this.getTypeName();
518
+ // Fixes shim to be backward compatable with Node v0 to v4
519
+ if (typeName === "[object Object]") {
520
+ typeName = "null";
521
+ }
522
+ var methodName = this.getMethodName();
523
+ if (functionName) {
524
+ if (typeName && functionName.indexOf(typeName) != 0) {
525
+ line += typeName + ".";
526
+ }
527
+ line += functionName;
528
+ if (methodName && functionName.indexOf("." + methodName) != functionName.length - methodName.length - 1) {
529
+ line += " [as " + methodName + "]";
530
+ }
531
+ } else {
532
+ line += typeName + "." + (methodName || "<anonymous>");
533
+ }
534
+ } else if (isConstructor) {
535
+ line += "new " + (functionName || "<anonymous>");
536
+ } else if (functionName) {
537
+ line += functionName;
538
+ } else {
539
+ line += fileLocation;
540
+ addSuffix = false;
541
+ }
542
+ if (addSuffix) {
543
+ line += " (" + fileLocation + ")";
544
+ }
545
+ return line;
546
+ }
547
+
548
+ function cloneCallSite(frame) {
549
+ var object = {};
550
+ Object.getOwnPropertyNames(Object.getPrototypeOf(frame)).forEach(function(name) {
551
+ object[name] = /^(?:is|get)/.test(name) ? function() { return frame[name].call(frame); } : frame[name];
552
+ });
553
+ object.toString = CallSiteToString;
554
+ return object;
555
+ }
556
+
557
+ function wrapCallSite(frame, state) {
558
+ // provides interface backward compatibility
559
+ if (state === undefined) {
560
+ state = { nextPosition: null, curPosition: null }
561
+ }
562
+ if(frame.isNative()) {
563
+ state.curPosition = null;
564
+ return frame;
565
+ }
566
+
567
+ // Most call sites will return the source file from getFileName(), but code
568
+ // passed to eval() ending in "//# sourceURL=..." will return the source file
569
+ // from getScriptNameOrSourceURL() instead
570
+ var source = frame.getFileName() || frame.getScriptNameOrSourceURL();
571
+ if (source) {
572
+ // v8 does not expose its internal isWasm, etc methods, so we do this instead.
573
+ if(source.startsWith('wasm://')) {
574
+ state.curPosition = null;
575
+ return frame;
576
+ }
577
+
578
+ var line = frame.getLineNumber();
579
+ var column = frame.getColumnNumber() - 1;
580
+
581
+ // Fix position in Node where some (internal) code is prepended.
582
+ // See https://github.com/evanw/node-source-map-support/issues/36
583
+ // Header removed in node at ^10.16 || >=11.11.0
584
+ // v11 is not an LTS candidate, we can just test the one version with it.
585
+ // Test node versions for: 10.16-19, 10.20+, 12-19, 20-99, 100+, or 11.11
586
+ var noHeader = /^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;
587
+ var headerLength = noHeader.test(process.version) ? 0 : 62;
588
+ if (line === 1 && column > headerLength && !isInBrowser() && !frame.isEval()) {
589
+ column -= headerLength;
590
+ }
591
+
592
+ var position = mapSourcePosition({
593
+ source: source,
594
+ line: line,
595
+ column: column
596
+ });
597
+ state.curPosition = position;
598
+ frame = cloneCallSite(frame);
599
+ var originalFunctionName = frame.getFunctionName;
600
+ frame.getFunctionName = function() {
601
+ if (state.nextPosition == null) {
602
+ return originalFunctionName();
603
+ }
604
+ return state.nextPosition.name || originalFunctionName();
605
+ };
606
+ frame.getFileName = function() { return position.source; };
607
+ frame.getLineNumber = function() { return position.line; };
608
+ frame.getColumnNumber = function() { return position.column + 1; };
609
+ frame.getScriptNameOrSourceURL = function() { return position.source; };
610
+ return frame;
611
+ }
612
+
613
+ // Code called using eval() needs special handling
614
+ var origin = frame.isEval() && frame.getEvalOrigin();
615
+ if (origin) {
616
+ origin = mapEvalOrigin(origin);
617
+ frame = cloneCallSite(frame);
618
+ frame.getEvalOrigin = function() { return origin; };
619
+ return frame;
620
+ }
621
+
622
+ // If we get here then we were unable to change the source position
623
+ return frame;
624
+ }
625
+
626
+ var kIsNodeError = undefined;
627
+ try {
628
+ // Get a deliberate ERR_INVALID_ARG_TYPE
629
+ // TODO is there a better way to reliably get an instance of NodeError?
630
+ path.resolve(123);
631
+ } catch(e) {
632
+ const symbols = Object.getOwnPropertySymbols(e);
633
+ const symbol = symbols.find(function (s) {return s.toString().indexOf('kIsNodeError') >= 0});
634
+ if(symbol) kIsNodeError = symbol;
635
+ }
636
+
637
+ const ErrorPrototypeToString = (err) =>Error.prototype.toString.call(err);
638
+
639
+ /** @param {HookState} hookState */
640
+ function createPrepareStackTrace(hookState) {
641
+ return prepareStackTrace;
642
+
643
+ // This function is part of the V8 stack trace API, for more info see:
644
+ // https://v8.dev/docs/stack-trace-api
645
+ function prepareStackTrace(error, stack) {
646
+ if(!hookState.enabled) return hookState.originalValue.apply(this, arguments);
647
+
648
+ if (sharedData.emptyCacheBetweenOperations) {
649
+ clearCaches();
650
+ }
651
+
652
+ // node gives its own errors special treatment. Mimic that behavior
653
+ // https://github.com/nodejs/node/blob/3cbaabc4622df1b4009b9d026a1a970bdbae6e89/lib/internal/errors.js#L118-L128
654
+ // https://github.com/nodejs/node/pull/39182
655
+ var errorString;
656
+ if (kIsNodeError) {
657
+ if(kIsNodeError in error) {
658
+ errorString = `${error.name} [${error.code}]: ${error.message}`;
659
+ } else {
660
+ errorString = ErrorPrototypeToString(error);
661
+ }
662
+ } else {
663
+ var name = error.name || 'Error';
664
+ var message = error.message || '';
665
+ errorString = message ? name + ": " + message : name;
666
+ }
667
+
668
+ var state = { nextPosition: null, curPosition: null };
669
+ var processedStack = [];
670
+ for (var i = stack.length - 1; i >= 0; i--) {
671
+ processedStack.push('\n at ' + wrapCallSite(stack[i], state));
672
+ state.nextPosition = state.curPosition;
673
+ }
674
+ state.curPosition = state.nextPosition = null;
675
+ return errorString + processedStack.reverse().join('');
676
+ }
677
+ }
678
+
679
+ // Generate position and snippet of original source with pointer
680
+ function getErrorSource(error) {
681
+ var match = /\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(error.stack);
682
+ if (match) {
683
+ var source = match[1];
684
+ var line = +match[2];
685
+ var column = +match[3];
686
+
687
+ // Support the inline sourceContents inside the source map
688
+ var contents = getFileContentsCache(source);
689
+
690
+ const sourceAsPath = tryFileURLToPath(source);
691
+
692
+ // Support files on disk
693
+ if (!contents && fs && fs.existsSync(sourceAsPath)) {
694
+ try {
695
+ contents = fs.readFileSync(sourceAsPath, 'utf8');
696
+ } catch (er) {
697
+ contents = '';
698
+ }
699
+ }
700
+
701
+ // Format the line from the original source code like node does
702
+ if (contents) {
703
+ var code = contents.split(/(?:\r\n|\r|\n)/)[line - 1];
704
+ if (code) {
705
+ return source + ':' + line + '\n' + code + '\n' +
706
+ new Array(column).join(' ') + '^';
707
+ }
708
+ }
709
+ }
710
+ return null;
711
+ }
712
+
713
+ function printFatalErrorUponExit (error) {
714
+ var source = getErrorSource(error);
715
+
716
+ // Ensure error is printed synchronously and not truncated
717
+ if (process.stderr._handle && process.stderr._handle.setBlocking) {
718
+ process.stderr._handle.setBlocking(true);
719
+ }
720
+
721
+ if (source) {
722
+ console.error(source);
723
+ }
724
+
725
+ // Matches node's behavior for colorized output
726
+ console.error(
727
+ util.inspect(error, {
728
+ customInspect: false,
729
+ colors: process.stderr.isTTY
730
+ })
731
+ );
732
+ }
733
+
734
+ function shimEmitUncaughtException () {
735
+ const originalValue = process.emit;
736
+ var hook = sharedData.processEmitHook = {
737
+ enabled: true,
738
+ originalValue,
739
+ installedValue: undefined
740
+ };
741
+ var isTerminatingDueToFatalException = false;
742
+ var fatalException;
743
+
744
+ process.emit = sharedData.processEmitHook.installedValue = function (type) {
745
+ const hadListeners = originalValue.apply(this, arguments);
746
+ if(hook.enabled) {
747
+ if (type === 'uncaughtException' && !hadListeners) {
748
+ isTerminatingDueToFatalException = true;
749
+ fatalException = arguments[1];
750
+ process.exit(1);
751
+ }
752
+ if (type === 'exit' && isTerminatingDueToFatalException) {
753
+ printFatalErrorUponExit(fatalException);
754
+ }
755
+ }
756
+ return hadListeners;
757
+ };
758
+ }
759
+
760
+ var originalRetrieveFileHandlers = sharedData.retrieveFileHandlers.slice(0);
761
+ var originalRetrieveMapHandlers = sharedData.retrieveMapHandlers.slice(0);
762
+
763
+ exports.wrapCallSite = wrapCallSite;
764
+ exports.getErrorSource = getErrorSource;
765
+ exports.mapSourcePosition = mapSourcePosition;
766
+ exports.retrieveSourceMap = retrieveSourceMap;
767
+
768
+ exports.install = function(options) {
769
+ options = options || {};
770
+
771
+ if (options.environment) {
772
+ environment = options.environment;
773
+ if (["node", "browser", "auto"].indexOf(environment) === -1) {
774
+ throw new Error("environment " + environment + " was unknown. Available options are {auto, browser, node}")
775
+ }
776
+ }
777
+
778
+ // Use dynamicRequire to avoid including in browser bundles
779
+ var Module = dynamicRequire(module, 'module');
780
+
781
+ // Redirect subsequent imports of "source-map-support"
782
+ // to this package
783
+ const {redirectConflictingLibrary = true, onConflictingLibraryRedirect} = options;
784
+ if(redirectConflictingLibrary) {
785
+ if (!sharedData.moduleResolveFilenameHook) {
786
+ const originalValue = Module._resolveFilename;
787
+ const moduleResolveFilenameHook = sharedData.moduleResolveFilenameHook = {
788
+ enabled: true,
789
+ originalValue,
790
+ installedValue: undefined,
791
+ }
792
+ Module._resolveFilename = sharedData.moduleResolveFilenameHook.installedValue = function (request, parent, isMain, options) {
793
+ if (moduleResolveFilenameHook.enabled) {
794
+ // Match all source-map-support entrypoints: source-map-support, source-map-support/register
795
+ let requestRedirect;
796
+ if (request === 'source-map-support') {
797
+ requestRedirect = './';
798
+ } else if (request === 'source-map-support/register') {
799
+ requestRedirect = './register';
800
+ }
801
+
802
+ if (requestRedirect !== undefined) {
803
+ const newRequest = require.resolve(requestRedirect);
804
+ for (const cb of sharedData.onConflictingLibraryRedirectArr) {
805
+ cb(request, parent, isMain, options, newRequest);
806
+ }
807
+ request = newRequest;
808
+ }
809
+ }
810
+
811
+ return originalValue.call(this, request, parent, isMain, options);
812
+ }
813
+ }
814
+ if (onConflictingLibraryRedirect) {
815
+ sharedData.onConflictingLibraryRedirectArr.push(onConflictingLibraryRedirect);
816
+ }
817
+ }
818
+
819
+ // Allow sources to be found by methods other than reading the files
820
+ // directly from disk.
821
+ if (options.retrieveFile) {
822
+ if (options.overrideRetrieveFile) {
823
+ sharedData.retrieveFileHandlers.length = 0;
824
+ }
825
+
826
+ sharedData.retrieveFileHandlers.unshift(options.retrieveFile);
827
+ }
828
+
829
+ // Allow source maps to be found by methods other than reading the files
830
+ // directly from disk.
831
+ if (options.retrieveSourceMap) {
832
+ if (options.overrideRetrieveSourceMap) {
833
+ sharedData.retrieveMapHandlers.length = 0;
834
+ }
835
+
836
+ sharedData.retrieveMapHandlers.unshift(options.retrieveSourceMap);
837
+ }
838
+
839
+ // Support runtime transpilers that include inline source maps
840
+ if (options.hookRequire && !isInBrowser()) {
841
+ var $compile = Module.prototype._compile;
842
+
843
+ if (!$compile.__sourceMapSupport) {
844
+ Module.prototype._compile = function(content, filename) {
845
+ setFileContentsCache(filename, content);
846
+ setSourceMapCache(filename, undefined);
847
+ return $compile.call(this, content, filename);
848
+ };
849
+
850
+ Module.prototype._compile.__sourceMapSupport = true;
851
+ }
852
+ }
853
+
854
+ // Configure options
855
+ if (!sharedData.emptyCacheBetweenOperations) {
856
+ sharedData.emptyCacheBetweenOperations = 'emptyCacheBetweenOperations' in options ?
857
+ options.emptyCacheBetweenOperations : false;
858
+ }
859
+
860
+
861
+ // Install the error reformatter
862
+ if (!sharedData.errorPrepareStackTraceHook) {
863
+ const originalValue = Error.prepareStackTrace;
864
+ sharedData.errorPrepareStackTraceHook = {
865
+ enabled: true,
866
+ originalValue,
867
+ installedValue: undefined
868
+ };
869
+ Error.prepareStackTrace = sharedData.errorPrepareStackTraceHook.installedValue = createPrepareStackTrace(sharedData.errorPrepareStackTraceHook);
870
+ }
871
+
872
+ if (!sharedData.processEmitHook) {
873
+ var installHandler = 'handleUncaughtExceptions' in options ?
874
+ options.handleUncaughtExceptions : true;
875
+
876
+ // Do not override 'uncaughtException' with our own handler in Node.js
877
+ // Worker threads. Workers pass the error to the main thread as an event,
878
+ // rather than printing something to stderr and exiting.
879
+ try {
880
+ // We need to use `dynamicRequire` because `require` on it's own will be optimized by WebPack/Browserify.
881
+ var worker_threads = dynamicRequire(module, 'worker_threads');
882
+ if (worker_threads.isMainThread === false) {
883
+ installHandler = false;
884
+ }
885
+ } catch(e) {}
886
+
887
+ // Provide the option to not install the uncaught exception handler. This is
888
+ // to support other uncaught exception handlers (in test frameworks, for
889
+ // example). If this handler is not installed and there are no other uncaught
890
+ // exception handlers, uncaught exceptions will be caught by node's built-in
891
+ // exception handler and the process will still be terminated. However, the
892
+ // generated JavaScript code will be shown above the stack trace instead of
893
+ // the original source code.
894
+ if (installHandler && hasGlobalProcessEventEmitter()) {
895
+ shimEmitUncaughtException();
896
+ }
897
+ }
898
+ };
899
+
900
+ exports.uninstall = function() {
901
+ if(sharedData.processEmitHook) {
902
+ // Disable behavior
903
+ sharedData.processEmitHook.enabled = false;
904
+ // If possible, remove our hook function. May not be possible if subsequent third-party hooks have wrapped around us.
905
+ if(process.emit === sharedData.processEmitHook.installedValue) {
906
+ process.emit = sharedData.processEmitHook.originalValue;
907
+ }
908
+ sharedData.processEmitHook = undefined;
909
+ }
910
+ if(sharedData.errorPrepareStackTraceHook) {
911
+ // Disable behavior
912
+ sharedData.errorPrepareStackTraceHook.enabled = false;
913
+ // If possible or necessary, remove our hook function.
914
+ // In vanilla environments, prepareStackTrace is `undefined`.
915
+ // We cannot delegate to `undefined` the way we can to a function w/`.apply()`; our only option is to remove the function.
916
+ // If we are the *first* hook installed, and another was installed on top of us, we have no choice but to remove both.
917
+ if(Error.prepareStackTrace === sharedData.errorPrepareStackTraceHook.installedValue || typeof sharedData.errorPrepareStackTraceHook.originalValue !== 'function') {
918
+ Error.prepareStackTrace = sharedData.errorPrepareStackTraceHook.originalValue;
919
+ }
920
+ sharedData.errorPrepareStackTraceHook = undefined;
921
+ }
922
+ if (sharedData.moduleResolveFilenameHook) {
923
+ // Disable behavior
924
+ sharedData.moduleResolveFilenameHook.enabled = false;
925
+ // If possible, remove our hook function. May not be possible if subsequent third-party hooks have wrapped around us.
926
+ var Module = dynamicRequire(module, 'module');
927
+ if(Module._resolveFilename === sharedData.moduleResolveFilenameHook.installedValue) {
928
+ Module._resolveFilename = sharedData.moduleResolveFilenameHook.originalValue;
929
+ }
930
+ sharedData.moduleResolveFilenameHook = undefined;
931
+ }
932
+ sharedData.onConflictingLibraryRedirectArr.length = 0;
933
+ }
934
+
935
+ exports.resetRetrieveHandlers = function() {
936
+ sharedData.retrieveFileHandlers.length = 0;
937
+ sharedData.retrieveMapHandlers.length = 0;
938
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Toru Nagashima
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @eslint-community/eslint-utils
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@eslint-community/eslint-utils.svg)](https://www.npmjs.com/package/@eslint-community/eslint-utils)
4
+ [![Downloads/month](https://img.shields.io/npm/dm/@eslint-community/eslint-utils.svg)](http://www.npmtrends.com/@eslint-community/eslint-utils)
5
+ [![Build Status](https://github.com/eslint-community/eslint-utils/workflows/CI/badge.svg)](https://github.com/eslint-community/eslint-utils/actions)
6
+ [![Coverage Status](https://codecov.io/gh/eslint-community/eslint-utils/branch/main/graph/badge.svg)](https://codecov.io/gh/eslint-community/eslint-utils)
7
+
8
+ ## 🏁 Goal
9
+
10
+ This package provides utility functions and classes for make ESLint custom rules.
11
+
12
+ For examples:
13
+
14
+ - [`getStaticValue`](https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue) evaluates static value on AST.
15
+ - [`ReferenceTracker`](https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring.
16
+
17
+ ## 📖 Usage
18
+
19
+ See [documentation](https://eslint-community.github.io/eslint-utils).
20
+
21
+ ## 📰 Changelog
22
+
23
+ See [releases](https://github.com/eslint-community/eslint-utils/releases).
24
+
25
+ ## ❤️ Contributing
26
+
27
+ Welcome contributing!
28
+
29
+ Please use GitHub's Issues/PRs.
30
+
31
+ ### Development Tools
32
+
33
+ - `npm run test-coverage` runs tests and measures coverage.
34
+ - `npm run clean` removes the coverage result of `npm run test-coverage` command.
35
+ - `npm run coverage` shows the coverage result of the last `npm run test-coverage` command.
36
+ - `npm run lint` runs ESLint.
37
+ - `npm run watch` runs tests on each file change.
novas/novacore-zephyr/groq-code-cli/node_modules/@eslint-community/eslint-utils/index.d.mts ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as eslint from 'eslint';
2
+ import { Rule, AST } from 'eslint';
3
+ import * as estree from 'estree';
4
+
5
+ declare const READ: unique symbol;
6
+ declare const CALL: unique symbol;
7
+ declare const CONSTRUCT: unique symbol;
8
+ declare const ESM: unique symbol;
9
+ declare class ReferenceTracker {
10
+ constructor(globalScope: Scope$2, options?: {
11
+ mode?: "legacy" | "strict" | undefined;
12
+ globalObjectNames?: string[] | undefined;
13
+ } | undefined);
14
+ private variableStack;
15
+ private globalScope;
16
+ private mode;
17
+ private globalObjectNames;
18
+ iterateGlobalReferences<T>(traceMap: TraceMap$2<T>): IterableIterator<TrackedReferences$2<T>>;
19
+ iterateCjsReferences<T_1>(traceMap: TraceMap$2<T_1>): IterableIterator<TrackedReferences$2<T_1>>;
20
+ iterateEsmReferences<T_2>(traceMap: TraceMap$2<T_2>): IterableIterator<TrackedReferences$2<T_2>>;
21
+ iteratePropertyReferences<T_3>(node: Expression, traceMap: TraceMap$2<T_3>): IterableIterator<TrackedReferences$2<T_3>>;
22
+ private _iterateVariableReferences;
23
+ private _iteratePropertyReferences;
24
+ private _iterateLhsReferences;
25
+ private _iterateImportReferences;
26
+ }
27
+ declare namespace ReferenceTracker {
28
+ export { READ };
29
+ export { CALL };
30
+ export { CONSTRUCT };
31
+ export { ESM };
32
+ }
33
+ type Scope$2 = eslint.Scope.Scope;
34
+ type Expression = estree.Expression;
35
+ type TraceMap$2<T> = TraceMap$1<T>;
36
+ type TrackedReferences$2<T> = TrackedReferences$1<T>;
37
+
38
+ type StaticValue$2 = StaticValueProvided$1 | StaticValueOptional$1;
39
+ type StaticValueProvided$1 = {
40
+ optional?: undefined;
41
+ value: unknown;
42
+ };
43
+ type StaticValueOptional$1 = {
44
+ optional?: true;
45
+ value: undefined;
46
+ };
47
+ type ReferenceTrackerOptions$1 = {
48
+ globalObjectNames?: string[];
49
+ mode?: "legacy" | "strict";
50
+ };
51
+ type TraceMap$1<T = unknown> = {
52
+ [i: string]: TraceMapObject<T>;
53
+ };
54
+ type TraceMapObject<T> = {
55
+ [i: string]: TraceMapObject<T>;
56
+ [CALL]?: T;
57
+ [CONSTRUCT]?: T;
58
+ [READ]?: T;
59
+ [ESM]?: boolean;
60
+ };
61
+ type TrackedReferences$1<T> = {
62
+ info: T;
63
+ node: Rule.Node;
64
+ path: string[];
65
+ type: typeof CALL | typeof CONSTRUCT | typeof READ;
66
+ };
67
+ type HasSideEffectOptions$1 = {
68
+ considerGetters?: boolean;
69
+ considerImplicitTypeConversion?: boolean;
70
+ };
71
+ type PunctuatorToken<Value extends string> = AST.Token & {
72
+ type: "Punctuator";
73
+ value: Value;
74
+ };
75
+ type ArrowToken$1 = PunctuatorToken<"=>">;
76
+ type CommaToken$1 = PunctuatorToken<",">;
77
+ type SemicolonToken$1 = PunctuatorToken<";">;
78
+ type ColonToken$1 = PunctuatorToken<":">;
79
+ type OpeningParenToken$1 = PunctuatorToken<"(">;
80
+ type ClosingParenToken$1 = PunctuatorToken<")">;
81
+ type OpeningBracketToken$1 = PunctuatorToken<"[">;
82
+ type ClosingBracketToken$1 = PunctuatorToken<"]">;
83
+ type OpeningBraceToken$1 = PunctuatorToken<"{">;
84
+ type ClosingBraceToken$1 = PunctuatorToken<"}">;
85
+
86
+ declare function findVariable(initialScope: Scope$1, nameOrNode: string | Identifier): Variable | null;
87
+ type Scope$1 = eslint.Scope.Scope;
88
+ type Variable = eslint.Scope.Variable;
89
+ type Identifier = estree.Identifier;
90
+
91
+ declare function getFunctionHeadLocation(node: FunctionNode$1, sourceCode: SourceCode$2): SourceLocation | null;
92
+ type SourceCode$2 = eslint.SourceCode;
93
+ type FunctionNode$1 = estree.Function;
94
+ type SourceLocation = estree.SourceLocation;
95
+
96
+ declare function getFunctionNameWithKind(node: FunctionNode, sourceCode?: eslint.SourceCode | undefined): string;
97
+ type FunctionNode = estree.Function;
98
+
99
+ declare function getInnermostScope(initialScope: Scope, node: Node$4): Scope;
100
+ type Scope = eslint.Scope.Scope;
101
+ type Node$4 = estree.Node;
102
+
103
+ declare function getPropertyName(node: MemberExpression | MethodDefinition | Property | PropertyDefinition, initialScope?: eslint.Scope.Scope | undefined): string | null | undefined;
104
+ type MemberExpression = estree.MemberExpression;
105
+ type MethodDefinition = estree.MethodDefinition;
106
+ type Property = estree.Property;
107
+ type PropertyDefinition = estree.PropertyDefinition;
108
+
109
+ declare function getStaticValue(node: Node$3, initialScope?: eslint.Scope.Scope | null | undefined): StaticValue$1 | null;
110
+ type StaticValue$1 = StaticValue$2;
111
+ type Node$3 = estree.Node;
112
+
113
+ declare function getStringIfConstant(node: Node$2, initialScope?: eslint.Scope.Scope | null | undefined): string | null;
114
+ type Node$2 = estree.Node;
115
+
116
+ declare function hasSideEffect(node: Node$1, sourceCode: SourceCode$1, options?: HasSideEffectOptions$1 | undefined): boolean;
117
+ type Node$1 = estree.Node;
118
+ type SourceCode$1 = eslint.SourceCode;
119
+
120
+ declare function isArrowToken(token: CommentOrToken): token is ArrowToken$1;
121
+ declare function isCommaToken(token: CommentOrToken): token is CommaToken$1;
122
+ declare function isSemicolonToken(token: CommentOrToken): token is SemicolonToken$1;
123
+ declare function isColonToken(token: CommentOrToken): token is ColonToken$1;
124
+ declare function isOpeningParenToken(token: CommentOrToken): token is OpeningParenToken$1;
125
+ declare function isClosingParenToken(token: CommentOrToken): token is ClosingParenToken$1;
126
+ declare function isOpeningBracketToken(token: CommentOrToken): token is OpeningBracketToken$1;
127
+ declare function isClosingBracketToken(token: CommentOrToken): token is ClosingBracketToken$1;
128
+ declare function isOpeningBraceToken(token: CommentOrToken): token is OpeningBraceToken$1;
129
+ declare function isClosingBraceToken(token: CommentOrToken): token is ClosingBraceToken$1;
130
+ declare function isCommentToken(token: CommentOrToken): token is estree.Comment;
131
+ declare function isNotArrowToken(arg0: CommentOrToken): boolean;
132
+ declare function isNotCommaToken(arg0: CommentOrToken): boolean;
133
+ declare function isNotSemicolonToken(arg0: CommentOrToken): boolean;
134
+ declare function isNotColonToken(arg0: CommentOrToken): boolean;
135
+ declare function isNotOpeningParenToken(arg0: CommentOrToken): boolean;
136
+ declare function isNotClosingParenToken(arg0: CommentOrToken): boolean;
137
+ declare function isNotOpeningBracketToken(arg0: CommentOrToken): boolean;
138
+ declare function isNotClosingBracketToken(arg0: CommentOrToken): boolean;
139
+ declare function isNotOpeningBraceToken(arg0: CommentOrToken): boolean;
140
+ declare function isNotClosingBraceToken(arg0: CommentOrToken): boolean;
141
+ declare function isNotCommentToken(arg0: CommentOrToken): boolean;
142
+ type Token = eslint.AST.Token;
143
+ type Comment = estree.Comment;
144
+ type CommentOrToken = Comment | Token;
145
+
146
+ declare function isParenthesized(timesOrNode: Node | number, nodeOrSourceCode: Node | SourceCode, optionalSourceCode?: eslint.SourceCode | undefined): boolean;
147
+ type Node = estree.Node;
148
+ type SourceCode = eslint.SourceCode;
149
+
150
+ declare class PatternMatcher {
151
+ constructor(pattern: RegExp, options?: {
152
+ escaped?: boolean | undefined;
153
+ } | undefined);
154
+ execAll(str: string): IterableIterator<RegExpExecArray>;
155
+ test(str: string): boolean;
156
+ [Symbol.replace](str: string, replacer: string | ((...strs: string[]) => string)): string;
157
+ }
158
+
159
+ declare namespace _default {
160
+ export { CALL };
161
+ export { CONSTRUCT };
162
+ export { ESM };
163
+ export { findVariable };
164
+ export { getFunctionHeadLocation };
165
+ export { getFunctionNameWithKind };
166
+ export { getInnermostScope };
167
+ export { getPropertyName };
168
+ export { getStaticValue };
169
+ export { getStringIfConstant };
170
+ export { hasSideEffect };
171
+ export { isArrowToken };
172
+ export { isClosingBraceToken };
173
+ export { isClosingBracketToken };
174
+ export { isClosingParenToken };
175
+ export { isColonToken };
176
+ export { isCommaToken };
177
+ export { isCommentToken };
178
+ export { isNotArrowToken };
179
+ export { isNotClosingBraceToken };
180
+ export { isNotClosingBracketToken };
181
+ export { isNotClosingParenToken };
182
+ export { isNotColonToken };
183
+ export { isNotCommaToken };
184
+ export { isNotCommentToken };
185
+ export { isNotOpeningBraceToken };
186
+ export { isNotOpeningBracketToken };
187
+ export { isNotOpeningParenToken };
188
+ export { isNotSemicolonToken };
189
+ export { isOpeningBraceToken };
190
+ export { isOpeningBracketToken };
191
+ export { isOpeningParenToken };
192
+ export { isParenthesized };
193
+ export { isSemicolonToken };
194
+ export { PatternMatcher };
195
+ export { READ };
196
+ export { ReferenceTracker };
197
+ }
198
+
199
+ type StaticValue = StaticValue$2;
200
+ type StaticValueOptional = StaticValueOptional$1;
201
+ type StaticValueProvided = StaticValueProvided$1;
202
+ type ReferenceTrackerOptions = ReferenceTrackerOptions$1;
203
+ type TraceMap<T> = TraceMap$1<T>;
204
+ type TrackedReferences<T> = TrackedReferences$1<T>;
205
+ type HasSideEffectOptions = HasSideEffectOptions$1;
206
+ type ArrowToken = ArrowToken$1;
207
+ type CommaToken = CommaToken$1;
208
+ type SemicolonToken = SemicolonToken$1;
209
+ type ColonToken = ColonToken$1;
210
+ type OpeningParenToken = OpeningParenToken$1;
211
+ type ClosingParenToken = ClosingParenToken$1;
212
+ type OpeningBracketToken = OpeningBracketToken$1;
213
+ type ClosingBracketToken = ClosingBracketToken$1;
214
+ type OpeningBraceToken = OpeningBraceToken$1;
215
+ type ClosingBraceToken = ClosingBraceToken$1;
216
+
217
+ export { ArrowToken, CALL, CONSTRUCT, ClosingBraceToken, ClosingBracketToken, ClosingParenToken, ColonToken, CommaToken, ESM, HasSideEffectOptions, OpeningBraceToken, OpeningBracketToken, OpeningParenToken, PatternMatcher, READ, ReferenceTracker, ReferenceTrackerOptions, SemicolonToken, StaticValue, StaticValueOptional, StaticValueProvided, TraceMap, TrackedReferences, _default as default, findVariable, getFunctionHeadLocation, getFunctionNameWithKind, getInnermostScope, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isParenthesized, isSemicolonToken };