prismic-ts-codegen 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/bin/prismic-ts-codegen.js +3 -0
  2. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
  3. package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
  4. package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
  5. package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
  6. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
  7. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
  8. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
  9. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  10. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
  11. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
  12. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
  13. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  14. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
  15. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
  16. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
  17. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  18. package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
  19. package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
  20. package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
  21. package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
  22. package/dist/_node_modules/ansi-styles/index.cjs +146 -0
  23. package/dist/_node_modules/ansi-styles/index.cjs.map +1 -0
  24. package/dist/_node_modules/ansi-styles/index.js +146 -0
  25. package/dist/_node_modules/ansi-styles/index.js.map +1 -0
  26. package/dist/_node_modules/arrify/index.cjs +10 -0
  27. package/dist/_node_modules/arrify/index.cjs.map +1 -0
  28. package/dist/_node_modules/arrify/index.js +10 -0
  29. package/dist/_node_modules/arrify/index.js.map +1 -0
  30. package/dist/_node_modules/camelcase/index.cjs +83 -0
  31. package/dist/_node_modules/camelcase/index.cjs.map +1 -0
  32. package/dist/_node_modules/camelcase/index.js +84 -0
  33. package/dist/_node_modules/camelcase/index.js.map +1 -0
  34. package/dist/_node_modules/camelcase-keys/index.cjs +55 -0
  35. package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
  36. package/dist/_node_modules/camelcase-keys/index.js +56 -0
  37. package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
  38. package/dist/_node_modules/chalk/index.cjs +172 -0
  39. package/dist/_node_modules/chalk/index.cjs.map +1 -0
  40. package/dist/_node_modules/chalk/index.js +172 -0
  41. package/dist/_node_modules/chalk/index.js.map +1 -0
  42. package/dist/_node_modules/chalk/templates.cjs +108 -0
  43. package/dist/_node_modules/chalk/templates.cjs.map +1 -0
  44. package/dist/_node_modules/chalk/templates.js +108 -0
  45. package/dist/_node_modules/chalk/templates.js.map +1 -0
  46. package/dist/_node_modules/color-convert/conversions.cjs +710 -0
  47. package/dist/_node_modules/color-convert/conversions.cjs.map +1 -0
  48. package/dist/_node_modules/color-convert/conversions.js +710 -0
  49. package/dist/_node_modules/color-convert/conversions.js.map +1 -0
  50. package/dist/_node_modules/color-convert/index.cjs +59 -0
  51. package/dist/_node_modules/color-convert/index.cjs.map +1 -0
  52. package/dist/_node_modules/color-convert/index.js +59 -0
  53. package/dist/_node_modules/color-convert/index.js.map +1 -0
  54. package/dist/_node_modules/color-convert/route.cjs +69 -0
  55. package/dist/_node_modules/color-convert/route.cjs.map +1 -0
  56. package/dist/_node_modules/color-convert/route.js +69 -0
  57. package/dist/_node_modules/color-convert/route.js.map +1 -0
  58. package/dist/_node_modules/color-name/index.cjs +154 -0
  59. package/dist/_node_modules/color-name/index.cjs.map +1 -0
  60. package/dist/_node_modules/color-name/index.js +154 -0
  61. package/dist/_node_modules/color-name/index.js.map +1 -0
  62. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
  63. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
  64. package/dist/_node_modules/data-uri-to-buffer/dist/index.js +41 -0
  65. package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  66. package/dist/_node_modules/decamelize/index.cjs +38 -0
  67. package/dist/_node_modules/decamelize/index.cjs.map +1 -0
  68. package/dist/_node_modules/decamelize/index.js +39 -0
  69. package/dist/_node_modules/decamelize/index.js.map +1 -0
  70. package/dist/_node_modules/decamelize-keys/index.cjs +50 -0
  71. package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
  72. package/dist/_node_modules/decamelize-keys/index.js +51 -0
  73. package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
  74. package/dist/_node_modules/error-ex/index.cjs +109 -0
  75. package/dist/_node_modules/error-ex/index.cjs.map +1 -0
  76. package/dist/_node_modules/error-ex/index.js +109 -0
  77. package/dist/_node_modules/error-ex/index.js.map +1 -0
  78. package/dist/_node_modules/escape-string-regexp/index.cjs +11 -0
  79. package/dist/_node_modules/escape-string-regexp/index.cjs.map +1 -0
  80. package/dist/_node_modules/escape-string-regexp/index.js +11 -0
  81. package/dist/_node_modules/escape-string-regexp/index.js.map +1 -0
  82. package/dist/_node_modules/fetch-blob/file.cjs +61 -0
  83. package/dist/_node_modules/fetch-blob/file.cjs.map +1 -0
  84. package/dist/_node_modules/fetch-blob/file.js +61 -0
  85. package/dist/_node_modules/fetch-blob/file.js.map +1 -0
  86. package/dist/_node_modules/fetch-blob/index.cjs +223 -0
  87. package/dist/_node_modules/fetch-blob/index.cjs.map +1 -0
  88. package/dist/_node_modules/fetch-blob/index.js +223 -0
  89. package/dist/_node_modules/fetch-blob/index.js.map +1 -0
  90. package/dist/_node_modules/fetch-blob/streams.cjs +43 -0
  91. package/dist/_node_modules/fetch-blob/streams.cjs.map +1 -0
  92. package/dist/_node_modules/fetch-blob/streams.js +42 -0
  93. package/dist/_node_modules/fetch-blob/streams.js.map +1 -0
  94. package/dist/_node_modules/formdata-polyfill/esm.min.cjs +116 -0
  95. package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
  96. package/dist/_node_modules/formdata-polyfill/esm.min.js +116 -0
  97. package/dist/_node_modules/formdata-polyfill/esm.min.js.map +1 -0
  98. package/dist/_node_modules/function-bind/implementation.cjs +47 -0
  99. package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
  100. package/dist/_node_modules/function-bind/implementation.js +47 -0
  101. package/dist/_node_modules/function-bind/implementation.js.map +1 -0
  102. package/dist/_node_modules/function-bind/index.cjs +7 -0
  103. package/dist/_node_modules/function-bind/index.cjs.map +1 -0
  104. package/dist/_node_modules/function-bind/index.js +7 -0
  105. package/dist/_node_modules/function-bind/index.js.map +1 -0
  106. package/dist/_node_modules/hard-rejection/index.cjs +25 -0
  107. package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
  108. package/dist/_node_modules/hard-rejection/index.js +26 -0
  109. package/dist/_node_modules/hard-rejection/index.js.map +1 -0
  110. package/dist/_node_modules/has/src/index.cjs +7 -0
  111. package/dist/_node_modules/has/src/index.cjs.map +1 -0
  112. package/dist/_node_modules/has/src/index.js +7 -0
  113. package/dist/_node_modules/has/src/index.js.map +1 -0
  114. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs +93 -0
  115. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +1 -0
  116. package/dist/_node_modules/hosted-git-info/lib/from-url.js +93 -0
  117. package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +1 -0
  118. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +164 -0
  119. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +1 -0
  120. package/dist/_node_modules/hosted-git-info/lib/hosts.js +164 -0
  121. package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +1 -0
  122. package/dist/_node_modules/hosted-git-info/lib/index.cjs +168 -0
  123. package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
  124. package/dist/_node_modules/hosted-git-info/lib/index.js +168 -0
  125. package/dist/_node_modules/hosted-git-info/lib/index.js.map +1 -0
  126. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs +51 -0
  127. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
  128. package/dist/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
  129. package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
  130. package/dist/_node_modules/indent-string/index.cjs +34 -0
  131. package/dist/_node_modules/indent-string/index.cjs.map +1 -0
  132. package/dist/_node_modules/indent-string/index.js +35 -0
  133. package/dist/_node_modules/indent-string/index.js.map +1 -0
  134. package/dist/_node_modules/is-arrayish/index.cjs +10 -0
  135. package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
  136. package/dist/_node_modules/is-arrayish/index.js +10 -0
  137. package/dist/_node_modules/is-arrayish/index.js.map +1 -0
  138. package/dist/_node_modules/is-core-module/core.json.cjs +496 -0
  139. package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
  140. package/dist/_node_modules/is-core-module/core.json.js +496 -0
  141. package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
  142. package/dist/_node_modules/is-core-module/index.cjs +62 -0
  143. package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
  144. package/dist/_node_modules/is-core-module/index.js +62 -0
  145. package/dist/_node_modules/is-core-module/index.js.map +1 -0
  146. package/dist/_node_modules/is-plain-obj/index.cjs +9 -0
  147. package/dist/_node_modules/is-plain-obj/index.cjs.map +1 -0
  148. package/dist/_node_modules/is-plain-obj/index.js +9 -0
  149. package/dist/_node_modules/is-plain-obj/index.js.map +1 -0
  150. package/dist/_node_modules/js-tokens/index.cjs +27 -0
  151. package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
  152. package/dist/_node_modules/js-tokens/index.js +26 -0
  153. package/dist/_node_modules/js-tokens/index.js.map +1 -0
  154. package/dist/_node_modules/json-parse-even-better-errors/index.cjs +90 -0
  155. package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
  156. package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
  157. package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
  158. package/dist/_node_modules/kind-of/index.cjs +129 -0
  159. package/dist/_node_modules/kind-of/index.cjs.map +1 -0
  160. package/dist/_node_modules/kind-of/index.js +129 -0
  161. package/dist/_node_modules/kind-of/index.js.map +1 -0
  162. package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
  163. package/dist/_node_modules/lines-and-columns/build/index.cjs.map +1 -0
  164. package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
  165. package/dist/_node_modules/lines-and-columns/build/index.js.map +1 -0
  166. package/dist/_node_modules/lru-cache/index.cjs +1015 -0
  167. package/dist/_node_modules/lru-cache/index.cjs.map +1 -0
  168. package/dist/_node_modules/lru-cache/index.js +1015 -0
  169. package/dist/_node_modules/lru-cache/index.js.map +1 -0
  170. package/dist/_node_modules/map-obj/index.cjs +49 -0
  171. package/dist/_node_modules/map-obj/index.cjs.map +1 -0
  172. package/dist/_node_modules/map-obj/index.js +50 -0
  173. package/dist/_node_modules/map-obj/index.js.map +1 -0
  174. package/dist/_node_modules/meow/source/index.cjs +88 -0
  175. package/dist/_node_modules/meow/source/index.cjs.map +1 -0
  176. package/dist/_node_modules/meow/source/index.js +89 -0
  177. package/dist/_node_modules/meow/source/index.js.map +1 -0
  178. package/dist/_node_modules/meow/source/options.cjs +83 -0
  179. package/dist/_node_modules/meow/source/options.cjs.map +1 -0
  180. package/dist/_node_modules/meow/source/options.js +83 -0
  181. package/dist/_node_modules/meow/source/options.js.map +1 -0
  182. package/dist/_node_modules/meow/source/parser.cjs +61 -0
  183. package/dist/_node_modules/meow/source/parser.cjs.map +1 -0
  184. package/dist/_node_modules/meow/source/parser.js +61 -0
  185. package/dist/_node_modules/meow/source/parser.js.map +1 -0
  186. package/dist/_node_modules/meow/source/utils.cjs +8 -0
  187. package/dist/_node_modules/meow/source/utils.cjs.map +1 -0
  188. package/dist/_node_modules/meow/source/utils.js +8 -0
  189. package/dist/_node_modules/meow/source/utils.js.map +1 -0
  190. package/dist/_node_modules/meow/source/validate.cjs +102 -0
  191. package/dist/_node_modules/meow/source/validate.cjs.map +1 -0
  192. package/dist/_node_modules/meow/source/validate.js +102 -0
  193. package/dist/_node_modules/meow/source/validate.js.map +1 -0
  194. package/dist/_node_modules/min-indent/index.cjs +12 -0
  195. package/dist/_node_modules/min-indent/index.cjs.map +1 -0
  196. package/dist/_node_modules/min-indent/index.js +13 -0
  197. package/dist/_node_modules/min-indent/index.js.map +1 -0
  198. package/dist/_node_modules/minimist-options/index.cjs +94 -0
  199. package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
  200. package/dist/_node_modules/minimist-options/index.js +95 -0
  201. package/dist/_node_modules/minimist-options/index.js.map +1 -0
  202. package/dist/_node_modules/node-domexception/index.cjs +11 -0
  203. package/dist/_node_modules/node-domexception/index.cjs.map +1 -0
  204. package/dist/_node_modules/node-domexception/index.js +10 -0
  205. package/dist/_node_modules/node-domexception/index.js.map +1 -0
  206. package/dist/_node_modules/node-fetch/src/body.cjs +262 -0
  207. package/dist/_node_modules/node-fetch/src/body.cjs.map +1 -0
  208. package/dist/_node_modules/node-fetch/src/body.js +262 -0
  209. package/dist/_node_modules/node-fetch/src/body.js.map +1 -0
  210. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs +10 -0
  211. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
  212. package/dist/_node_modules/node-fetch/src/errors/abort-error.js +10 -0
  213. package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
  214. package/dist/_node_modules/node-fetch/src/errors/base.cjs +17 -0
  215. package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +1 -0
  216. package/dist/_node_modules/node-fetch/src/errors/base.js +17 -0
  217. package/dist/_node_modules/node-fetch/src/errors/base.js.map +1 -0
  218. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs +19 -0
  219. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
  220. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js +19 -0
  221. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
  222. package/dist/_node_modules/node-fetch/src/headers.cjs +190 -0
  223. package/dist/_node_modules/node-fetch/src/headers.cjs.map +1 -0
  224. package/dist/_node_modules/node-fetch/src/headers.js +190 -0
  225. package/dist/_node_modules/node-fetch/src/headers.js.map +1 -0
  226. package/dist/_node_modules/node-fetch/src/index.cjs +292 -0
  227. package/dist/_node_modules/node-fetch/src/index.cjs.map +1 -0
  228. package/dist/_node_modules/node-fetch/src/index.js +292 -0
  229. package/dist/_node_modules/node-fetch/src/index.js.map +1 -0
  230. package/dist/_node_modules/node-fetch/src/request.cjs +206 -0
  231. package/dist/_node_modules/node-fetch/src/request.cjs.map +1 -0
  232. package/dist/_node_modules/node-fetch/src/request.js +206 -0
  233. package/dist/_node_modules/node-fetch/src/request.js.map +1 -0
  234. package/dist/_node_modules/node-fetch/src/response.cjs +122 -0
  235. package/dist/_node_modules/node-fetch/src/response.cjs.map +1 -0
  236. package/dist/_node_modules/node-fetch/src/response.js +123 -0
  237. package/dist/_node_modules/node-fetch/src/response.js.map +1 -0
  238. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs +12 -0
  239. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
  240. package/dist/_node_modules/node-fetch/src/utils/get-search.js +12 -0
  241. package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +1 -0
  242. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs +8 -0
  243. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
  244. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js +8 -0
  245. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
  246. package/dist/_node_modules/node-fetch/src/utils/is.cjs +28 -0
  247. package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +1 -0
  248. package/dist/_node_modules/node-fetch/src/utils/is.js +28 -0
  249. package/dist/_node_modules/node-fetch/src/utils/is.js.map +1 -0
  250. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs +356 -0
  251. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
  252. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js +356 -0
  253. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
  254. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs +149 -0
  255. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
  256. package/dist/_node_modules/node-fetch/src/utils/referrer.js +149 -0
  257. package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +1 -0
  258. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs +24 -0
  259. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  260. package/dist/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
  261. package/dist/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  262. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  263. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  264. package/dist/_node_modules/normalize-package-data/lib/fixer.js +438 -0
  265. package/dist/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  266. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
  267. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  268. package/dist/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  269. package/dist/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  270. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
  271. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  272. package/dist/_node_modules/normalize-package-data/lib/normalize.js +59 -0
  273. package/dist/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  274. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  275. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  276. package/dist/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  277. package/dist/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  278. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  279. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  280. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  281. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  282. package/dist/_node_modules/parse-json/index.cjs +54 -0
  283. package/dist/_node_modules/parse-json/index.cjs.map +1 -0
  284. package/dist/_node_modules/parse-json/index.js +55 -0
  285. package/dist/_node_modules/parse-json/index.js.map +1 -0
  286. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +159 -0
  287. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
  288. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
  289. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
  290. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +88 -0
  291. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
  292. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
  293. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
  294. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +180 -0
  295. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
  296. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +180 -0
  297. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
  298. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +268 -0
  299. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
  300. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
  301. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
  302. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +20 -0
  303. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  304. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
  305. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  306. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  307. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  308. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +438 -0
  309. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  310. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +26 -0
  311. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  312. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  313. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  314. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +58 -0
  315. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  316. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +59 -0
  317. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  318. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  319. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  320. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  321. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  322. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  323. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  324. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  325. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  326. package/dist/_node_modules/read-pkg/index.cjs +20 -0
  327. package/dist/_node_modules/read-pkg/index.cjs.map +1 -0
  328. package/dist/_node_modules/read-pkg/index.js +20 -0
  329. package/dist/_node_modules/read-pkg/index.js.map +1 -0
  330. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs +48 -0
  331. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs.map +1 -0
  332. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js +48 -0
  333. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js.map +1 -0
  334. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs +43 -0
  335. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +1 -0
  336. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js +43 -0
  337. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +1 -0
  338. package/dist/_node_modules/read-pkg-up/index.cjs +17 -0
  339. package/dist/_node_modules/read-pkg-up/index.cjs.map +1 -0
  340. package/dist/_node_modules/read-pkg-up/index.js +17 -0
  341. package/dist/_node_modules/read-pkg-up/index.js.map +1 -0
  342. package/dist/_node_modules/redent/index.cjs +8 -0
  343. package/dist/_node_modules/redent/index.cjs.map +1 -0
  344. package/dist/_node_modules/redent/index.js +9 -0
  345. package/dist/_node_modules/redent/index.js.map +1 -0
  346. package/dist/_node_modules/semver/classes/semver.cjs +245 -0
  347. package/dist/_node_modules/semver/classes/semver.cjs.map +1 -0
  348. package/dist/_node_modules/semver/classes/semver.js +245 -0
  349. package/dist/_node_modules/semver/classes/semver.js.map +1 -0
  350. package/dist/_node_modules/semver/functions/clean.cjs +11 -0
  351. package/dist/_node_modules/semver/functions/clean.cjs.map +1 -0
  352. package/dist/_node_modules/semver/functions/clean.js +11 -0
  353. package/dist/_node_modules/semver/functions/clean.js.map +1 -0
  354. package/dist/_node_modules/semver/functions/parse.cjs +20 -0
  355. package/dist/_node_modules/semver/functions/parse.cjs.map +1 -0
  356. package/dist/_node_modules/semver/functions/parse.js +20 -0
  357. package/dist/_node_modules/semver/functions/parse.js.map +1 -0
  358. package/dist/_node_modules/semver/functions/valid.cjs +11 -0
  359. package/dist/_node_modules/semver/functions/valid.cjs.map +1 -0
  360. package/dist/_node_modules/semver/functions/valid.js +11 -0
  361. package/dist/_node_modules/semver/functions/valid.js.map +1 -0
  362. package/dist/_node_modules/semver/internal/constants.cjs +29 -0
  363. package/dist/_node_modules/semver/internal/constants.cjs.map +1 -0
  364. package/dist/_node_modules/semver/internal/constants.js +29 -0
  365. package/dist/_node_modules/semver/internal/constants.js.map +1 -0
  366. package/dist/_node_modules/semver/internal/debug.cjs +7 -0
  367. package/dist/_node_modules/semver/internal/debug.cjs.map +1 -0
  368. package/dist/_node_modules/semver/internal/debug.js +7 -0
  369. package/dist/_node_modules/semver/internal/debug.js.map +1 -0
  370. package/dist/_node_modules/semver/internal/identifiers.cjs +19 -0
  371. package/dist/_node_modules/semver/internal/identifiers.cjs.map +1 -0
  372. package/dist/_node_modules/semver/internal/identifiers.js +19 -0
  373. package/dist/_node_modules/semver/internal/identifiers.js.map +1 -0
  374. package/dist/_node_modules/semver/internal/parse-options.cjs +16 -0
  375. package/dist/_node_modules/semver/internal/parse-options.cjs.map +1 -0
  376. package/dist/_node_modules/semver/internal/parse-options.js +16 -0
  377. package/dist/_node_modules/semver/internal/parse-options.js.map +1 -0
  378. package/dist/_node_modules/semver/internal/re.cjs +82 -0
  379. package/dist/_node_modules/semver/internal/re.cjs.map +1 -0
  380. package/dist/_node_modules/semver/internal/re.js +82 -0
  381. package/dist/_node_modules/semver/internal/re.js.map +1 -0
  382. package/dist/_node_modules/spdx-correct/index.cjs +334 -0
  383. package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
  384. package/dist/_node_modules/spdx-correct/index.js +334 -0
  385. package/dist/_node_modules/spdx-correct/index.js.map +1 -0
  386. package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
  387. package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
  388. package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
  389. package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
  390. package/dist/_node_modules/spdx-expression-parse/index.cjs +11 -0
  391. package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
  392. package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
  393. package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
  394. package/dist/_node_modules/spdx-expression-parse/parse.cjs +111 -0
  395. package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
  396. package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
  397. package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
  398. package/dist/_node_modules/spdx-expression-parse/scan.cjs +104 -0
  399. package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
  400. package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
  401. package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
  402. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
  403. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
  404. package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
  405. package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
  406. package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
  407. package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
  408. package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
  409. package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
  410. package/dist/_node_modules/strip-indent/index.cjs +12 -0
  411. package/dist/_node_modules/strip-indent/index.cjs.map +1 -0
  412. package/dist/_node_modules/strip-indent/index.js +13 -0
  413. package/dist/_node_modules/strip-indent/index.js.map +1 -0
  414. package/dist/_node_modules/supports-color/browser.cjs +8 -0
  415. package/dist/_node_modules/supports-color/browser.cjs.map +1 -0
  416. package/dist/_node_modules/supports-color/browser.js +8 -0
  417. package/dist/_node_modules/supports-color/browser.js.map +1 -0
  418. package/dist/_node_modules/trim-newlines/index.cjs +15 -0
  419. package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
  420. package/dist/_node_modules/trim-newlines/index.js +15 -0
  421. package/dist/_node_modules/trim-newlines/index.js.map +1 -0
  422. package/dist/_node_modules/validate-npm-package-license/index.cjs +71 -0
  423. package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
  424. package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
  425. package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
  426. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -0
  427. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
  428. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +3822 -0
  429. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  430. package/dist/_node_modules/yallist/iterator.cjs +19 -0
  431. package/dist/_node_modules/yallist/iterator.cjs.map +1 -0
  432. package/dist/_node_modules/yallist/iterator.js +19 -0
  433. package/dist/_node_modules/yallist/iterator.js.map +1 -0
  434. package/dist/_node_modules/yallist/yallist.cjs +367 -0
  435. package/dist/_node_modules/yallist/yallist.cjs.map +1 -0
  436. package/dist/_node_modules/yallist/yallist.js +367 -0
  437. package/dist/_node_modules/yallist/yallist.js.map +1 -0
  438. package/dist/_node_modules/yargs-parser/build/lib/index.cjs +56 -0
  439. package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -0
  440. package/dist/_node_modules/yargs-parser/build/lib/index.js +57 -0
  441. package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -0
  442. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs +63 -0
  443. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -0
  444. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js +63 -0
  445. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -0
  446. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +39 -0
  447. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -0
  448. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js +39 -0
  449. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -0
  450. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +15 -0
  451. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -0
  452. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js +16 -0
  453. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +1 -0
  454. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs +847 -0
  455. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -0
  456. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js +847 -0
  457. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -0
  458. package/dist/_virtual/_commonjsHelpers.cjs +9 -0
  459. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  460. package/dist/_virtual/_commonjsHelpers.js +9 -0
  461. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  462. package/dist/_virtual/conversions.cjs +5 -0
  463. package/dist/_virtual/conversions.cjs.map +1 -0
  464. package/dist/_virtual/conversions.js +5 -0
  465. package/dist/_virtual/conversions.js.map +1 -0
  466. package/dist/_virtual/identifier.cjs +5 -0
  467. package/dist/_virtual/identifier.cjs.map +1 -0
  468. package/dist/_virtual/identifier.js +5 -0
  469. package/dist/_virtual/identifier.js.map +1 -0
  470. package/dist/_virtual/index.cjs +5 -0
  471. package/dist/_virtual/index.cjs.map +1 -0
  472. package/dist/_virtual/index.js +5 -0
  473. package/dist/_virtual/index.js.map +1 -0
  474. package/dist/_virtual/index10.cjs +5 -0
  475. package/dist/_virtual/index10.cjs.map +1 -0
  476. package/dist/_virtual/index10.js +5 -0
  477. package/dist/_virtual/index10.js.map +1 -0
  478. package/dist/_virtual/index11.cjs +5 -0
  479. package/dist/_virtual/index11.cjs.map +1 -0
  480. package/dist/_virtual/index11.js +5 -0
  481. package/dist/_virtual/index11.js.map +1 -0
  482. package/dist/_virtual/index2.cjs +5 -0
  483. package/dist/_virtual/index2.cjs.map +1 -0
  484. package/dist/_virtual/index2.js +5 -0
  485. package/dist/_virtual/index2.js.map +1 -0
  486. package/dist/_virtual/index3.cjs +5 -0
  487. package/dist/_virtual/index3.cjs.map +1 -0
  488. package/dist/_virtual/index3.js +5 -0
  489. package/dist/_virtual/index3.js.map +1 -0
  490. package/dist/_virtual/index4.cjs +5 -0
  491. package/dist/_virtual/index4.cjs.map +1 -0
  492. package/dist/_virtual/index4.js +5 -0
  493. package/dist/_virtual/index4.js.map +1 -0
  494. package/dist/_virtual/index5.cjs +5 -0
  495. package/dist/_virtual/index5.cjs.map +1 -0
  496. package/dist/_virtual/index5.js +5 -0
  497. package/dist/_virtual/index5.js.map +1 -0
  498. package/dist/_virtual/index6.cjs +5 -0
  499. package/dist/_virtual/index6.cjs.map +1 -0
  500. package/dist/_virtual/index6.js +5 -0
  501. package/dist/_virtual/index6.js.map +1 -0
  502. package/dist/_virtual/index7.cjs +5 -0
  503. package/dist/_virtual/index7.cjs.map +1 -0
  504. package/dist/_virtual/index7.js +5 -0
  505. package/dist/_virtual/index7.js.map +1 -0
  506. package/dist/_virtual/index8.cjs +5 -0
  507. package/dist/_virtual/index8.cjs.map +1 -0
  508. package/dist/_virtual/index8.js +5 -0
  509. package/dist/_virtual/index8.js.map +1 -0
  510. package/dist/_virtual/index9.cjs +5 -0
  511. package/dist/_virtual/index9.cjs.map +1 -0
  512. package/dist/_virtual/index9.js +5 -0
  513. package/dist/_virtual/index9.js.map +1 -0
  514. package/dist/_virtual/keyword.cjs +5 -0
  515. package/dist/_virtual/keyword.cjs.map +1 -0
  516. package/dist/_virtual/keyword.js +5 -0
  517. package/dist/_virtual/keyword.js.map +1 -0
  518. package/dist/_virtual/ponyfill.es2018.cjs +5 -0
  519. package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
  520. package/dist/_virtual/ponyfill.es2018.js +5 -0
  521. package/dist/_virtual/ponyfill.es2018.js.map +1 -0
  522. package/dist/_virtual/re.cjs +5 -0
  523. package/dist/_virtual/re.cjs.map +1 -0
  524. package/dist/_virtual/re.js +5 -0
  525. package/dist/_virtual/re.js.map +1 -0
  526. package/dist/cli/loadLocaleIDs.cjs +2 -2
  527. package/dist/cli/loadLocaleIDs.cjs.map +1 -1
  528. package/dist/cli/loadLocaleIDs.js +1 -1
  529. package/dist/cli/loadModels.cjs +2 -2
  530. package/dist/cli/loadModels.cjs.map +1 -1
  531. package/dist/cli/loadModels.js +1 -1
  532. package/dist/cli.cjs +2 -2
  533. package/dist/cli.cjs.map +1 -1
  534. package/dist/cli.js +1 -1
  535. package/dist/lib/buildFieldProperties.cjs +3 -0
  536. package/dist/lib/buildFieldProperties.cjs.map +1 -1
  537. package/dist/lib/buildFieldProperties.js +3 -0
  538. package/dist/lib/buildFieldProperties.js.map +1 -1
  539. package/dist/lib/buildSharedSliceType.cjs +2 -0
  540. package/dist/lib/buildSharedSliceType.cjs.map +1 -1
  541. package/dist/lib/buildSharedSliceType.js +2 -0
  542. package/dist/lib/buildSharedSliceType.js.map +1 -1
  543. package/package.json +2 -2
  544. package/src/lib/buildFieldProperties.ts +3 -0
  545. package/src/lib/buildSharedSliceType.ts +2 -0
  546. package/bin/prismic-ts-codegen.mjs +0 -3
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ const index = require("../../../../_virtual/index8.cjs");
3
+ require("./identifier.cjs");
4
+ require("./keyword.cjs");
5
+ const identifier = require("../../../../_virtual/identifier.cjs");
6
+ const keyword = require("../../../../_virtual/keyword.cjs");
7
+ (function(exports2) {
8
+ Object.defineProperty(exports2, "__esModule", {
9
+ value: true
10
+ });
11
+ Object.defineProperty(exports2, "isIdentifierChar", {
12
+ enumerable: true,
13
+ get: function() {
14
+ return _identifier.isIdentifierChar;
15
+ }
16
+ });
17
+ Object.defineProperty(exports2, "isIdentifierName", {
18
+ enumerable: true,
19
+ get: function() {
20
+ return _identifier.isIdentifierName;
21
+ }
22
+ });
23
+ Object.defineProperty(exports2, "isIdentifierStart", {
24
+ enumerable: true,
25
+ get: function() {
26
+ return _identifier.isIdentifierStart;
27
+ }
28
+ });
29
+ Object.defineProperty(exports2, "isKeyword", {
30
+ enumerable: true,
31
+ get: function() {
32
+ return _keyword.isKeyword;
33
+ }
34
+ });
35
+ Object.defineProperty(exports2, "isReservedWord", {
36
+ enumerable: true,
37
+ get: function() {
38
+ return _keyword.isReservedWord;
39
+ }
40
+ });
41
+ Object.defineProperty(exports2, "isStrictBindOnlyReservedWord", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return _keyword.isStrictBindOnlyReservedWord;
45
+ }
46
+ });
47
+ Object.defineProperty(exports2, "isStrictBindReservedWord", {
48
+ enumerable: true,
49
+ get: function() {
50
+ return _keyword.isStrictBindReservedWord;
51
+ }
52
+ });
53
+ Object.defineProperty(exports2, "isStrictReservedWord", {
54
+ enumerable: true,
55
+ get: function() {
56
+ return _keyword.isStrictReservedWord;
57
+ }
58
+ });
59
+ var _identifier = identifier.__exports;
60
+ var _keyword = keyword.__exports;
61
+ })(index.__exports);
62
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/@babel/helper-validator-identifier/lib/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isIdentifierChar\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierChar;\n }\n});\nObject.defineProperty(exports, \"isIdentifierName\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierName;\n }\n});\nObject.defineProperty(exports, \"isIdentifierStart\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierStart;\n }\n});\nObject.defineProperty(exports, \"isKeyword\", {\n enumerable: true,\n get: function () {\n return _keyword.isKeyword;\n }\n});\nObject.defineProperty(exports, \"isReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictBindOnlyReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictBindOnlyReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictBindReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictBindReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictReservedWord;\n }\n});\nvar _identifier = require(\"./identifier\");\nvar _keyword = require(\"./keyword\");\n\n//# sourceMappingURL=index.js.map\n"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;AAEA,SAAO,eAAwBA,UAAA,cAAc;AAAA,IAC3C,OAAO;AAAA,EACT,CAAC;AACD,SAAO,eAAeA,UAAS,oBAAoB;AAAA,IACjD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,oBAAoB;AAAA,IACjD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,qBAAqB;AAAA,IAClD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,aAAa;AAAA,IAC1C,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,kBAAkB;AAAA,IAC/C,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,gCAAgC;AAAA,IAC7D,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,4BAA4B;AAAA,IACzD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAeA,UAAS,wBAAwB;AAAA,IACrD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,MAAI,cAAcC,WAAAA;AAClB,MAAI,WAAWC,QAAAA;;","x_google_ignoreList":[0]}
@@ -0,0 +1,61 @@
1
+ import { __exports as lib } from "../../../../_virtual/index8.js";
2
+ import "./identifier.js";
3
+ import "./keyword.js";
4
+ import { __exports as identifier } from "../../../../_virtual/identifier.js";
5
+ import { __exports as keyword } from "../../../../_virtual/keyword.js";
6
+ (function(exports) {
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ Object.defineProperty(exports, "isIdentifierChar", {
11
+ enumerable: true,
12
+ get: function() {
13
+ return _identifier.isIdentifierChar;
14
+ }
15
+ });
16
+ Object.defineProperty(exports, "isIdentifierName", {
17
+ enumerable: true,
18
+ get: function() {
19
+ return _identifier.isIdentifierName;
20
+ }
21
+ });
22
+ Object.defineProperty(exports, "isIdentifierStart", {
23
+ enumerable: true,
24
+ get: function() {
25
+ return _identifier.isIdentifierStart;
26
+ }
27
+ });
28
+ Object.defineProperty(exports, "isKeyword", {
29
+ enumerable: true,
30
+ get: function() {
31
+ return _keyword.isKeyword;
32
+ }
33
+ });
34
+ Object.defineProperty(exports, "isReservedWord", {
35
+ enumerable: true,
36
+ get: function() {
37
+ return _keyword.isReservedWord;
38
+ }
39
+ });
40
+ Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
41
+ enumerable: true,
42
+ get: function() {
43
+ return _keyword.isStrictBindOnlyReservedWord;
44
+ }
45
+ });
46
+ Object.defineProperty(exports, "isStrictBindReservedWord", {
47
+ enumerable: true,
48
+ get: function() {
49
+ return _keyword.isStrictBindReservedWord;
50
+ }
51
+ });
52
+ Object.defineProperty(exports, "isStrictReservedWord", {
53
+ enumerable: true,
54
+ get: function() {
55
+ return _keyword.isStrictReservedWord;
56
+ }
57
+ });
58
+ var _identifier = identifier;
59
+ var _keyword = keyword;
60
+ })(lib);
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@babel/helper-validator-identifier/lib/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isIdentifierChar\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierChar;\n }\n});\nObject.defineProperty(exports, \"isIdentifierName\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierName;\n }\n});\nObject.defineProperty(exports, \"isIdentifierStart\", {\n enumerable: true,\n get: function () {\n return _identifier.isIdentifierStart;\n }\n});\nObject.defineProperty(exports, \"isKeyword\", {\n enumerable: true,\n get: function () {\n return _keyword.isKeyword;\n }\n});\nObject.defineProperty(exports, \"isReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictBindOnlyReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictBindOnlyReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictBindReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictBindReservedWord;\n }\n});\nObject.defineProperty(exports, \"isStrictReservedWord\", {\n enumerable: true,\n get: function () {\n return _keyword.isStrictReservedWord;\n }\n});\nvar _identifier = require(\"./identifier\");\nvar _keyword = require(\"./keyword\");\n\n//# sourceMappingURL=index.js.map\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;AAEA,SAAO,eAAwB,SAAA,cAAc;AAAA,IAC3C,OAAO;AAAA,EACT,CAAC;AACD,SAAO,eAAe,SAAS,oBAAoB;AAAA,IACjD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,oBAAoB;AAAA,IACjD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,qBAAqB;AAAA,IAClD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,YAAY;AAAA,IACpB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,aAAa;AAAA,IAC1C,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,kBAAkB;AAAA,IAC/C,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,gCAAgC;AAAA,IAC7D,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,4BAA4B;AAAA,IACzD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,SAAO,eAAe,SAAS,wBAAwB;AAAA,IACrD,YAAY;AAAA,IACZ,KAAK,WAAY;AACf,aAAO,SAAS;AAAA,IACjB;AAAA,EACH,CAAC;AACD,MAAI,cAAcA;AAClB,MAAI,WAAWC;;","x_google_ignoreList":[0]}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ const keyword = require("../../../../_virtual/keyword.cjs");
3
+ Object.defineProperty(keyword.__exports, "__esModule", {
4
+ value: true
5
+ });
6
+ keyword.__exports.isKeyword = isKeyword;
7
+ keyword.__exports.isReservedWord = isReservedWord;
8
+ keyword.__exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
9
+ keyword.__exports.isStrictBindReservedWord = isStrictBindReservedWord;
10
+ keyword.__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
+ module.exports = keyword.__exports;
35
+ //# sourceMappingURL=keyword.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyword.cjs","sources":["../../../../../node_modules/@babel/helper-validator-identifier/lib/keyword.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isKeyword = isKeyword;\nexports.isReservedWord = isReservedWord;\nexports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;\nexports.isStrictBindReservedWord = isStrictBindReservedWord;\nexports.isStrictReservedWord = isStrictReservedWord;\nconst reservedWords = {\n 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\"],\n strict: [\"implements\", \"interface\", \"let\", \"package\", \"private\", \"protected\", \"public\", \"static\", \"yield\"],\n strictBind: [\"eval\", \"arguments\"]\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\nfunction isReservedWord(word, inModule) {\n return inModule && word === \"await\" || word === \"enum\";\n}\nfunction isStrictReservedWord(word, inModule) {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\nfunction isStrictBindOnlyReservedWord(word) {\n return reservedWordsStrictBindSet.has(word);\n}\nfunction isStrictBindReservedWord(word, inModule) {\n return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);\n}\nfunction isKeyword(word) {\n return keywords.has(word);\n}\n\n//# sourceMappingURL=keyword.js.map\n"],"names":["keyword"],"mappings":";;AAEA,OAAO,eAAeA,QAAO,WAAE,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACgBA,QAAA,UAAA,YAAG;AACEA,QAAA,UAAA,iBAAG;AACWA,QAAA,UAAA,+BAAG;AACPA,QAAA,UAAA,2BAAG;AACPA,QAAA,UAAA,uBAAG;AAC/B,MAAM,gBAAgB;AAAA,EACpB,SAAS,CAAC,SAAS,QAAQ,SAAS,YAAY,YAAY,WAAW,MAAM,QAAQ,WAAW,OAAO,YAAY,MAAM,UAAU,UAAU,SAAS,OAAO,OAAO,SAAS,SAAS,QAAQ,OAAO,QAAQ,SAAS,SAAS,WAAW,UAAU,UAAU,QAAQ,QAAQ,SAAS,MAAM,cAAc,UAAU,QAAQ,QAAQ;AAAA,EACrU,QAAQ,CAAC,cAAc,aAAa,OAAO,WAAW,WAAW,aAAa,UAAU,UAAU,OAAO;AAAA,EACzG,YAAY,CAAC,QAAQ,WAAW;AAClC;AACA,MAAM,WAAW,IAAI,IAAI,cAAc,OAAO;AAC9C,MAAM,yBAAyB,IAAI,IAAI,cAAc,MAAM;AAC3D,MAAM,6BAA6B,IAAI,IAAI,cAAc,UAAU;AACnE,SAAS,eAAe,MAAM,UAAU;AACtC,SAAO,YAAY,SAAS,WAAW,SAAS;AAClD;AACA,SAAS,qBAAqB,MAAM,UAAU;AAC5C,SAAO,eAAe,MAAM,QAAQ,KAAK,uBAAuB,IAAI,IAAI;AAC1E;AACA,SAAS,6BAA6B,MAAM;AAC1C,SAAO,2BAA2B,IAAI,IAAI;AAC5C;AACA,SAAS,yBAAyB,MAAM,UAAU;AAChD,SAAO,qBAAqB,MAAM,QAAQ,KAAK,6BAA6B,IAAI;AAClF;AACA,SAAS,UAAU,MAAM;AACvB,SAAO,SAAS,IAAI,IAAI;AAC1B;;","x_google_ignoreList":[0]}
@@ -0,0 +1,36 @@
1
+ import { __exports as keyword } from "../../../../_virtual/keyword.js";
2
+ Object.defineProperty(keyword, "__esModule", {
3
+ value: true
4
+ });
5
+ keyword.isKeyword = isKeyword;
6
+ keyword.isReservedWord = isReservedWord;
7
+ keyword.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
8
+ keyword.isStrictBindReservedWord = isStrictBindReservedWord;
9
+ keyword.isStrictReservedWord = isStrictReservedWord;
10
+ const reservedWords = {
11
+ 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"],
12
+ strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
13
+ strictBind: ["eval", "arguments"]
14
+ };
15
+ const keywords = new Set(reservedWords.keyword);
16
+ const reservedWordsStrictSet = new Set(reservedWords.strict);
17
+ const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
18
+ function isReservedWord(word, inModule) {
19
+ return inModule && word === "await" || word === "enum";
20
+ }
21
+ function isStrictReservedWord(word, inModule) {
22
+ return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
23
+ }
24
+ function isStrictBindOnlyReservedWord(word) {
25
+ return reservedWordsStrictBindSet.has(word);
26
+ }
27
+ function isStrictBindReservedWord(word, inModule) {
28
+ return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
29
+ }
30
+ function isKeyword(word) {
31
+ return keywords.has(word);
32
+ }
33
+ export {
34
+ keyword as default
35
+ };
36
+ //# sourceMappingURL=keyword.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyword.js","sources":["../../../../../node_modules/@babel/helper-validator-identifier/lib/keyword.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isKeyword = isKeyword;\nexports.isReservedWord = isReservedWord;\nexports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;\nexports.isStrictBindReservedWord = isStrictBindReservedWord;\nexports.isStrictReservedWord = isStrictReservedWord;\nconst reservedWords = {\n 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\"],\n strict: [\"implements\", \"interface\", \"let\", \"package\", \"private\", \"protected\", \"public\", \"static\", \"yield\"],\n strictBind: [\"eval\", \"arguments\"]\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\nfunction isReservedWord(word, inModule) {\n return inModule && word === \"await\" || word === \"enum\";\n}\nfunction isStrictReservedWord(word, inModule) {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\nfunction isStrictBindOnlyReservedWord(word) {\n return reservedWordsStrictBindSet.has(word);\n}\nfunction isStrictBindReservedWord(word, inModule) {\n return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);\n}\nfunction isKeyword(word) {\n return keywords.has(word);\n}\n\n//# sourceMappingURL=keyword.js.map\n"],"names":[],"mappings":";AAEA,OAAO,eAAe,SAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACgB,QAAA,YAAG;AACE,QAAA,iBAAG;AACW,QAAA,+BAAG;AACP,QAAA,2BAAG;AACP,QAAA,uBAAG;AAC/B,MAAM,gBAAgB;AAAA,EACpB,SAAS,CAAC,SAAS,QAAQ,SAAS,YAAY,YAAY,WAAW,MAAM,QAAQ,WAAW,OAAO,YAAY,MAAM,UAAU,UAAU,SAAS,OAAO,OAAO,SAAS,SAAS,QAAQ,OAAO,QAAQ,SAAS,SAAS,WAAW,UAAU,UAAU,QAAQ,QAAQ,SAAS,MAAM,cAAc,UAAU,QAAQ,QAAQ;AAAA,EACrU,QAAQ,CAAC,cAAc,aAAa,OAAO,WAAW,WAAW,aAAa,UAAU,UAAU,OAAO;AAAA,EACzG,YAAY,CAAC,QAAQ,WAAW;AAClC;AACA,MAAM,WAAW,IAAI,IAAI,cAAc,OAAO;AAC9C,MAAM,yBAAyB,IAAI,IAAI,cAAc,MAAM;AAC3D,MAAM,6BAA6B,IAAI,IAAI,cAAc,UAAU;AACnE,SAAS,eAAe,MAAM,UAAU;AACtC,SAAO,YAAY,SAAS,WAAW,SAAS;AAClD;AACA,SAAS,qBAAqB,MAAM,UAAU;AAC5C,SAAO,eAAe,MAAM,QAAQ,KAAK,uBAAuB,IAAI,IAAI;AAC1E;AACA,SAAS,6BAA6B,MAAM;AAC1C,SAAO,2BAA2B,IAAI,IAAI;AAC5C;AACA,SAAS,yBAAyB,MAAM,UAAU;AAChD,SAAO,qBAAqB,MAAM,QAAQ,KAAK,6BAA6B,IAAI;AAClF;AACA,SAAS,UAAU,MAAM;AACvB,SAAO,SAAS,IAAI,IAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ const index = require("../../../../_virtual/index6.cjs");
3
+ require("../../../js-tokens/index.cjs");
4
+ require("../../helper-validator-identifier/lib/index.cjs");
5
+ const index$1 = require("../../../chalk/index.cjs");
6
+ const index$2 = require("../../../../_virtual/index7.cjs");
7
+ const index$3 = require("../../../../_virtual/index8.cjs");
8
+ Object.defineProperty(index.__exports, "__esModule", {
9
+ value: true
10
+ });
11
+ index.__exports.default = highlight;
12
+ index.__exports.getChalk = getChalk;
13
+ index.__exports.shouldHighlight = shouldHighlight;
14
+ var _jsTokens = index$2.__exports;
15
+ var _helperValidatorIdentifier = index$3.__exports;
16
+ var _chalk = index$1.chalkExports;
17
+ const sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
18
+ function getDefs(chalk) {
19
+ return {
20
+ keyword: chalk.cyan,
21
+ capitalized: chalk.yellow,
22
+ jsxIdentifier: chalk.yellow,
23
+ punctuator: chalk.yellow,
24
+ number: chalk.magenta,
25
+ string: chalk.green,
26
+ regex: chalk.magenta,
27
+ comment: chalk.grey,
28
+ invalid: chalk.white.bgRed.bold
29
+ };
30
+ }
31
+ const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
32
+ const BRACKET = /^[()[\]{}]$/;
33
+ let tokenize;
34
+ {
35
+ const JSX_TAG = /^[a-z][\w-]*$/i;
36
+ const getTokenType = function(token, offset, text) {
37
+ if (token.type === "name") {
38
+ if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
39
+ return "keyword";
40
+ }
41
+ if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
42
+ return "jsxIdentifier";
43
+ }
44
+ if (token.value[0] !== token.value[0].toLowerCase()) {
45
+ return "capitalized";
46
+ }
47
+ }
48
+ if (token.type === "punctuator" && BRACKET.test(token.value)) {
49
+ return "bracket";
50
+ }
51
+ if (token.type === "invalid" && (token.value === "@" || token.value === "#")) {
52
+ return "punctuator";
53
+ }
54
+ return token.type;
55
+ };
56
+ tokenize = function* (text) {
57
+ let match;
58
+ while (match = _jsTokens.default.exec(text)) {
59
+ const token = _jsTokens.matchToToken(match);
60
+ yield {
61
+ type: getTokenType(token, match.index, text),
62
+ value: token.value
63
+ };
64
+ }
65
+ };
66
+ }
67
+ function highlightTokens(defs, text) {
68
+ let highlighted = "";
69
+ for (const {
70
+ type,
71
+ value
72
+ } of tokenize(text)) {
73
+ const colorize = defs[type];
74
+ if (colorize) {
75
+ highlighted += value.split(NEWLINE).map((str) => colorize(str)).join("\n");
76
+ } else {
77
+ highlighted += value;
78
+ }
79
+ }
80
+ return highlighted;
81
+ }
82
+ function shouldHighlight(options) {
83
+ return !!_chalk.supportsColor || options.forceColor;
84
+ }
85
+ function getChalk(options) {
86
+ return options.forceColor ? new _chalk.constructor({
87
+ enabled: true,
88
+ level: 1
89
+ }) : _chalk;
90
+ }
91
+ function highlight(code, options = {}) {
92
+ if (code !== "" && shouldHighlight(options)) {
93
+ const chalk = getChalk(options);
94
+ const defs = getDefs(chalk);
95
+ return highlightTokens(defs, code);
96
+ } else {
97
+ return code;
98
+ }
99
+ }
100
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/@babel/highlight/lib/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = highlight;\nexports.getChalk = getChalk;\nexports.shouldHighlight = shouldHighlight;\nvar _jsTokens = require(\"js-tokens\");\nvar _helperValidatorIdentifier = require(\"@babel/helper-validator-identifier\");\nvar _chalk = require(\"chalk\");\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\nfunction getDefs(chalk) {\n return {\n keyword: chalk.cyan,\n capitalized: chalk.yellow,\n jsxIdentifier: chalk.yellow,\n punctuator: chalk.yellow,\n number: chalk.magenta,\n string: chalk.green,\n regex: chalk.magenta,\n comment: chalk.grey,\n invalid: chalk.white.bgRed.bold\n };\n}\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\nconst BRACKET = /^[()[\\]{}]$/;\nlet tokenize;\n{\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n const getTokenType = function (token, offset, text) {\n if (token.type === \"name\") {\n if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {\n return \"keyword\";\n }\n if (JSX_TAG.test(token.value) && (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) == \"</\")) {\n return \"jsxIdentifier\";\n }\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n if (token.type === \"punctuator\" && BRACKET.test(token.value)) {\n return \"bracket\";\n }\n if (token.type === \"invalid\" && (token.value === \"@\" || token.value === \"#\")) {\n return \"punctuator\";\n }\n return token.type;\n };\n tokenize = function* (text) {\n let match;\n while (match = _jsTokens.default.exec(text)) {\n const token = _jsTokens.matchToToken(match);\n yield {\n type: getTokenType(token, match.index, text),\n value: token.value\n };\n }\n };\n}\nfunction highlightTokens(defs, text) {\n let highlighted = \"\";\n for (const {\n type,\n value\n } of tokenize(text)) {\n const colorize = defs[type];\n if (colorize) {\n highlighted += value.split(NEWLINE).map(str => colorize(str)).join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n return highlighted;\n}\nfunction shouldHighlight(options) {\n return !!_chalk.supportsColor || options.forceColor;\n}\nfunction getChalk(options) {\n return options.forceColor ? new _chalk.constructor({\n enabled: true,\n level: 1\n }) : _chalk;\n}\nfunction highlight(code, options = {}) {\n if (code !== \"\" && shouldHighlight(options)) {\n const chalk = getChalk(options);\n const defs = getDefs(chalk);\n return highlightTokens(defs, code);\n } else {\n return code;\n }\n}\n\n//# sourceMappingURL=index.js.map\n"],"names":["lib","require$$0","require$$1","require$$2"],"mappings":";;;;;;;AAEA,OAAO,eAAeA,MAAO,WAAE,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACcA,MAAA,UAAA,UAAG;AACFA,MAAA,UAAA,WAAG;AACIA,MAAA,UAAA,kBAAG;AAC1B,IAAI,YAAYC,QAAAA;AAChB,IAAI,6BAA6BC,QAAAA;AACjC,IAAI,SAASC,QAAAA;AACb,MAAM,oBAAoB,oBAAI,IAAI,CAAC,MAAM,SAAS,QAAQ,OAAO,MAAM,KAAK,CAAC;AAC7E,SAAS,QAAQ,OAAO;AACtB,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IACf,aAAa,MAAM;AAAA,IACnB,eAAe,MAAM;AAAA,IACrB,YAAY,MAAM;AAAA,IAClB,QAAQ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,GAAG;AACnB,UAAM,WAAW,KAAK,IAAI;AAC1B,QAAI,UAAU;AACZ,qBAAe,MAAM,MAAM,OAAO,EAAE,IAAI,SAAO,SAAS,GAAG,CAAC,EAAE,KAAK,IAAI;AAAA,IAC7E,OAAW;AACL,qBAAe;AAAA,IAChB;AAAA,EACF;AACD,SAAO;AACT;AACA,SAAS,gBAAgB,SAAS;AAChC,SAAO,CAAC,CAAC,OAAO,iBAAiB,QAAQ;AAC3C;AACA,SAAS,SAAS,SAAS;AACzB,SAAO,QAAQ,aAAa,IAAI,OAAO,YAAY;AAAA,IACjD,SAAS;AAAA,IACT,OAAO;AAAA,EACR,CAAA,IAAI;AACP;AACA,SAAS,UAAU,MAAM,UAAU,IAAI;AACrC,MAAI,SAAS,MAAM,gBAAgB,OAAO,GAAG;AAC3C,UAAM,QAAQ,SAAS,OAAO;AAC9B,UAAM,OAAO,QAAQ,KAAK;AAC1B,WAAO,gBAAgB,MAAM,IAAI;AAAA,EACrC,OAAS;AACL,WAAO;AAAA,EACR;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,99 @@
1
+ import { __exports as lib } from "../../../../_virtual/index6.js";
2
+ import "../../../js-tokens/index.js";
3
+ import "../../helper-validator-identifier/lib/index.js";
4
+ import { c as chalkExports } from "../../../chalk/index.js";
5
+ import { __exports as jsTokens } from "../../../../_virtual/index7.js";
6
+ import { __exports as lib$1 } from "../../../../_virtual/index8.js";
7
+ Object.defineProperty(lib, "__esModule", {
8
+ value: true
9
+ });
10
+ lib.default = highlight;
11
+ lib.getChalk = getChalk;
12
+ lib.shouldHighlight = shouldHighlight;
13
+ var _jsTokens = jsTokens;
14
+ var _helperValidatorIdentifier = lib$1;
15
+ var _chalk = chalkExports;
16
+ const sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
17
+ function getDefs(chalk) {
18
+ return {
19
+ keyword: chalk.cyan,
20
+ capitalized: chalk.yellow,
21
+ jsxIdentifier: chalk.yellow,
22
+ punctuator: chalk.yellow,
23
+ number: chalk.magenta,
24
+ string: chalk.green,
25
+ regex: chalk.magenta,
26
+ comment: chalk.grey,
27
+ invalid: chalk.white.bgRed.bold
28
+ };
29
+ }
30
+ const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
31
+ const BRACKET = /^[()[\]{}]$/;
32
+ let tokenize;
33
+ {
34
+ const JSX_TAG = /^[a-z][\w-]*$/i;
35
+ const getTokenType = function(token, offset, text) {
36
+ if (token.type === "name") {
37
+ if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
38
+ return "keyword";
39
+ }
40
+ if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
41
+ return "jsxIdentifier";
42
+ }
43
+ if (token.value[0] !== token.value[0].toLowerCase()) {
44
+ return "capitalized";
45
+ }
46
+ }
47
+ if (token.type === "punctuator" && BRACKET.test(token.value)) {
48
+ return "bracket";
49
+ }
50
+ if (token.type === "invalid" && (token.value === "@" || token.value === "#")) {
51
+ return "punctuator";
52
+ }
53
+ return token.type;
54
+ };
55
+ tokenize = function* (text) {
56
+ let match;
57
+ while (match = _jsTokens.default.exec(text)) {
58
+ const token = _jsTokens.matchToToken(match);
59
+ yield {
60
+ type: getTokenType(token, match.index, text),
61
+ value: token.value
62
+ };
63
+ }
64
+ };
65
+ }
66
+ function highlightTokens(defs, text) {
67
+ let highlighted = "";
68
+ for (const {
69
+ type,
70
+ value
71
+ } of tokenize(text)) {
72
+ const colorize = defs[type];
73
+ if (colorize) {
74
+ highlighted += value.split(NEWLINE).map((str) => colorize(str)).join("\n");
75
+ } else {
76
+ highlighted += value;
77
+ }
78
+ }
79
+ return highlighted;
80
+ }
81
+ function shouldHighlight(options) {
82
+ return !!_chalk.supportsColor || options.forceColor;
83
+ }
84
+ function getChalk(options) {
85
+ return options.forceColor ? new _chalk.constructor({
86
+ enabled: true,
87
+ level: 1
88
+ }) : _chalk;
89
+ }
90
+ function highlight(code, options = {}) {
91
+ if (code !== "" && shouldHighlight(options)) {
92
+ const chalk = getChalk(options);
93
+ const defs = getDefs(chalk);
94
+ return highlightTokens(defs, code);
95
+ } else {
96
+ return code;
97
+ }
98
+ }
99
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@babel/highlight/lib/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = highlight;\nexports.getChalk = getChalk;\nexports.shouldHighlight = shouldHighlight;\nvar _jsTokens = require(\"js-tokens\");\nvar _helperValidatorIdentifier = require(\"@babel/helper-validator-identifier\");\nvar _chalk = require(\"chalk\");\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\nfunction getDefs(chalk) {\n return {\n keyword: chalk.cyan,\n capitalized: chalk.yellow,\n jsxIdentifier: chalk.yellow,\n punctuator: chalk.yellow,\n number: chalk.magenta,\n string: chalk.green,\n regex: chalk.magenta,\n comment: chalk.grey,\n invalid: chalk.white.bgRed.bold\n };\n}\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\nconst BRACKET = /^[()[\\]{}]$/;\nlet tokenize;\n{\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n const getTokenType = function (token, offset, text) {\n if (token.type === \"name\") {\n if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {\n return \"keyword\";\n }\n if (JSX_TAG.test(token.value) && (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) == \"</\")) {\n return \"jsxIdentifier\";\n }\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n if (token.type === \"punctuator\" && BRACKET.test(token.value)) {\n return \"bracket\";\n }\n if (token.type === \"invalid\" && (token.value === \"@\" || token.value === \"#\")) {\n return \"punctuator\";\n }\n return token.type;\n };\n tokenize = function* (text) {\n let match;\n while (match = _jsTokens.default.exec(text)) {\n const token = _jsTokens.matchToToken(match);\n yield {\n type: getTokenType(token, match.index, text),\n value: token.value\n };\n }\n };\n}\nfunction highlightTokens(defs, text) {\n let highlighted = \"\";\n for (const {\n type,\n value\n } of tokenize(text)) {\n const colorize = defs[type];\n if (colorize) {\n highlighted += value.split(NEWLINE).map(str => colorize(str)).join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n return highlighted;\n}\nfunction shouldHighlight(options) {\n return !!_chalk.supportsColor || options.forceColor;\n}\nfunction getChalk(options) {\n return options.forceColor ? new _chalk.constructor({\n enabled: true,\n level: 1\n }) : _chalk;\n}\nfunction highlight(code, options = {}) {\n if (code !== \"\" && shouldHighlight(options)) {\n const chalk = getChalk(options);\n const defs = getDefs(chalk);\n return highlightTokens(defs, code);\n } else {\n return code;\n }\n}\n\n//# sourceMappingURL=index.js.map\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;AAEA,OAAO,eAAe,KAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACc,IAAA,UAAG;AACF,IAAA,WAAG;AACI,IAAA,kBAAG;AAC1B,IAAI,YAAYA;AAChB,IAAI,6BAA6BC;AACjC,IAAI,SAASC;AACb,MAAM,oBAAoB,oBAAI,IAAI,CAAC,MAAM,SAAS,QAAQ,OAAO,MAAM,KAAK,CAAC;AAC7E,SAAS,QAAQ,OAAO;AACtB,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IACf,aAAa,MAAM;AAAA,IACnB,eAAe,MAAM;AAAA,IACrB,YAAY,MAAM;AAAA,IAClB,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,OAAO,MAAM;AAAA,IACb,SAAS,MAAM;AAAA,IACf,SAAS,MAAM,MAAM,MAAM;AAAA,EAC/B;AACA;AACA,MAAM,UAAU;AAChB,MAAM,UAAU;AAChB,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;AAAA,IAChB;AAAA,EACF;AACD,SAAO;AACT;AACA,SAAS,gBAAgB,SAAS;AAChC,SAAO,CAAC,CAAC,OAAO,iBAAiB,QAAQ;AAC3C;AACA,SAAS,SAAS,SAAS;AACzB,SAAO,QAAQ,aAAa,IAAI,OAAO,YAAY;AAAA,IACjD,SAAS;AAAA,IACT,OAAO;AAAA,EACR,CAAA,IAAI;AACP;AACA,SAAS,UAAU,MAAM,UAAU,IAAI;AACrC,MAAI,SAAS,MAAM,gBAAgB,OAAO,GAAG;AAC3C,UAAM,QAAQ,SAAS,OAAO;AAC9B,UAAM,OAAO,QAAQ,KAAK;AAC1B,WAAO,gBAAgB,MAAM,IAAI;AAAA,EACrC,OAAS;AACL,WAAO;AAAA,EACR;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index = require("../../_virtual/index11.cjs");
4
+ const index$1 = require("../color-convert/index.cjs");
5
+ index.__module.exports;
6
+ (function(module2) {
7
+ const colorConvert = index$1.colorConvert;
8
+ const wrapAnsi16 = (fn, offset) => function() {
9
+ const code = fn.apply(colorConvert, arguments);
10
+ return `\x1B[${code + offset}m`;
11
+ };
12
+ const wrapAnsi256 = (fn, offset) => function() {
13
+ const code = fn.apply(colorConvert, arguments);
14
+ return `\x1B[${38 + offset};5;${code}m`;
15
+ };
16
+ const wrapAnsi16m = (fn, offset) => function() {
17
+ const rgb = fn.apply(colorConvert, arguments);
18
+ return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
19
+ };
20
+ function assembleStyles() {
21
+ const codes = /* @__PURE__ */ new Map();
22
+ const styles = {
23
+ modifier: {
24
+ reset: [0, 0],
25
+ // 21 isn't widely supported and 22 does the same thing
26
+ bold: [1, 22],
27
+ dim: [2, 22],
28
+ italic: [3, 23],
29
+ underline: [4, 24],
30
+ inverse: [7, 27],
31
+ hidden: [8, 28],
32
+ strikethrough: [9, 29]
33
+ },
34
+ color: {
35
+ black: [30, 39],
36
+ red: [31, 39],
37
+ green: [32, 39],
38
+ yellow: [33, 39],
39
+ blue: [34, 39],
40
+ magenta: [35, 39],
41
+ cyan: [36, 39],
42
+ white: [37, 39],
43
+ gray: [90, 39],
44
+ // Bright color
45
+ redBright: [91, 39],
46
+ greenBright: [92, 39],
47
+ yellowBright: [93, 39],
48
+ blueBright: [94, 39],
49
+ magentaBright: [95, 39],
50
+ cyanBright: [96, 39],
51
+ whiteBright: [97, 39]
52
+ },
53
+ bgColor: {
54
+ bgBlack: [40, 49],
55
+ bgRed: [41, 49],
56
+ bgGreen: [42, 49],
57
+ bgYellow: [43, 49],
58
+ bgBlue: [44, 49],
59
+ bgMagenta: [45, 49],
60
+ bgCyan: [46, 49],
61
+ bgWhite: [47, 49],
62
+ // Bright color
63
+ bgBlackBright: [100, 49],
64
+ bgRedBright: [101, 49],
65
+ bgGreenBright: [102, 49],
66
+ bgYellowBright: [103, 49],
67
+ bgBlueBright: [104, 49],
68
+ bgMagentaBright: [105, 49],
69
+ bgCyanBright: [106, 49],
70
+ bgWhiteBright: [107, 49]
71
+ }
72
+ };
73
+ styles.color.grey = styles.color.gray;
74
+ for (const groupName of Object.keys(styles)) {
75
+ const group = styles[groupName];
76
+ for (const styleName of Object.keys(group)) {
77
+ const style = group[styleName];
78
+ styles[styleName] = {
79
+ open: `\x1B[${style[0]}m`,
80
+ close: `\x1B[${style[1]}m`
81
+ };
82
+ group[styleName] = styles[styleName];
83
+ codes.set(style[0], style[1]);
84
+ }
85
+ Object.defineProperty(styles, groupName, {
86
+ value: group,
87
+ enumerable: false
88
+ });
89
+ Object.defineProperty(styles, "codes", {
90
+ value: codes,
91
+ enumerable: false
92
+ });
93
+ }
94
+ const ansi2ansi = (n) => n;
95
+ const rgb2rgb = (r, g, b) => [r, g, b];
96
+ styles.color.close = "\x1B[39m";
97
+ styles.bgColor.close = "\x1B[49m";
98
+ styles.color.ansi = {
99
+ ansi: wrapAnsi16(ansi2ansi, 0)
100
+ };
101
+ styles.color.ansi256 = {
102
+ ansi256: wrapAnsi256(ansi2ansi, 0)
103
+ };
104
+ styles.color.ansi16m = {
105
+ rgb: wrapAnsi16m(rgb2rgb, 0)
106
+ };
107
+ styles.bgColor.ansi = {
108
+ ansi: wrapAnsi16(ansi2ansi, 10)
109
+ };
110
+ styles.bgColor.ansi256 = {
111
+ ansi256: wrapAnsi256(ansi2ansi, 10)
112
+ };
113
+ styles.bgColor.ansi16m = {
114
+ rgb: wrapAnsi16m(rgb2rgb, 10)
115
+ };
116
+ for (let key of Object.keys(colorConvert)) {
117
+ if (typeof colorConvert[key] !== "object") {
118
+ continue;
119
+ }
120
+ const suite = colorConvert[key];
121
+ if (key === "ansi16") {
122
+ key = "ansi";
123
+ }
124
+ if ("ansi16" in suite) {
125
+ styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
126
+ styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
127
+ }
128
+ if ("ansi256" in suite) {
129
+ styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
130
+ styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
131
+ }
132
+ if ("rgb" in suite) {
133
+ styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
134
+ styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
135
+ }
136
+ }
137
+ return styles;
138
+ }
139
+ Object.defineProperty(module2, "exports", {
140
+ enumerable: true,
141
+ get: assembleStyles
142
+ });
143
+ })(index.__module);
144
+ var ansiStylesExports = index.__module.exports;
145
+ exports.ansiStylesExports = ansiStylesExports;
146
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/ansi-styles/index.js"],"sourcesContent":["'use strict';\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n\tconst rgb = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39],\n\n\t\t\t// Bright color\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Fix humans\n\tstyles.color.grey = styles.color.gray;\n\n\tfor (const groupName of Object.keys(styles)) {\n\t\tconst group = styles[groupName];\n\n\t\tfor (const styleName of Object.keys(group)) {\n\t\t\tconst style = group[styleName];\n\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\n\t\tObject.defineProperty(styles, 'codes', {\n\t\t\tvalue: codes,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tconst ansi2ansi = n => n;\n\tconst rgb2rgb = (r, g, b) => [r, g, b];\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 0)\n\t};\n\n\tstyles.bgColor.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 10)\n\t};\n\n\tfor (let key of Object.keys(colorConvert)) {\n\t\tif (typeof colorConvert[key] !== 'object') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst suite = colorConvert[key];\n\n\t\tif (key === 'ansi16') {\n\t\t\tkey = 'ansi';\n\t\t}\n\n\t\tif ('ansi16' in suite) {\n\t\t\tstyles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n\t\t\tstyles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n\t\t}\n\n\t\tif ('ansi256' in suite) {\n\t\t\tstyles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n\t\t\tstyles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n\t\t}\n\n\t\tif ('rgb' in suite) {\n\t\t\tstyles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n\t\t\tstyles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n\t\t}\n\t}\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n"],"names":["require$$0","module"],"mappings":";;;;;;AACA,QAAM,eAAeA,QAAAA;AAErB,QAAM,aAAa,CAAC,IAAI,WAAW,WAAY;AAC9C,UAAM,OAAO,GAAG,MAAM,cAAc,SAAS;AAC7C,WAAO,QAAU,OAAO;AAAA,EACzB;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,OAAO,GAAG,MAAM,cAAc,SAAS;AAC7C,WAAO,QAAU,KAAK,YAAY;AAAA,EACnC;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,MAAM,GAAG,MAAM,cAAc,SAAS;AAC5C,WAAO,QAAU,KAAK,YAAY,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,IAAI,CAAC;AAAA,EAC5D;AAEA,WAAS,iBAAiB;AACzB,UAAM,QAAQ,oBAAI;AAClB,UAAM,SAAS;AAAA,MACd,UAAU;AAAA,QACT,OAAO,CAAC,GAAG,CAAC;AAAA;AAAA,QAEZ,MAAM,CAAC,GAAG,EAAE;AAAA,QACZ,KAAK,CAAC,GAAG,EAAE;AAAA,QAC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