sniff-qa 0.8.1 → 0.9.1

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 (176) hide show
  1. package/.claude-plugin/icon.png +0 -0
  2. package/.claude-plugin/plugin.json +9 -2
  3. package/CHANGELOG.md +73 -0
  4. package/NOTICE +7 -4
  5. package/README.md +169 -102
  6. package/THIRD-PARTY-NOTICES.md +1800 -0
  7. package/dist/{accessibility-JXRMWF5Y.js → accessibility-42JOUOGH.js} +8 -2
  8. package/dist/{anthropic-api-ZR3UEB3Z.js → anthropic-api-VSG2X6FS.js} +7 -5
  9. package/dist/assert-budget-WG4BRCLX.js +10 -0
  10. package/dist/{caps-G3ZGJI7B.js → caps-YZPFNPIN.js} +3 -2
  11. package/dist/{chunk-VEI2O6AK.js → chunk-33JL2AB5.js} +14 -6
  12. package/dist/{chunk-7ZOFYET5.js → chunk-3E4W4H6S.js} +36 -16
  13. package/dist/{chunk-EGANHIIE.js → chunk-3NR2K5B3.js} +49 -5
  14. package/dist/chunk-3ROWRVZE.js +422 -0
  15. package/dist/{chunk-MYWWSM3V.js → chunk-3YFE3H23.js} +2 -1
  16. package/dist/{chunk-MMISGY2Q.js → chunk-4F6ZXOPE.js} +2 -1
  17. package/dist/chunk-A4TTASVS.js +27862 -0
  18. package/dist/{chunk-IXDUD2UG.js → chunk-AA744N7E.js} +2 -1
  19. package/dist/chunk-DZMX3VT2.js +267 -0
  20. package/dist/{chunk-NG2IGCAK.js → chunk-FR5QCJLH.js} +2 -1
  21. package/dist/{chunk-GV27IOMC.js → chunk-GC47B6MM.js} +2 -1
  22. package/dist/chunk-HP4TY3UY.js +80 -0
  23. package/dist/chunk-LZAPYYNR.js +4595 -0
  24. package/dist/{chunk-ZM6MGWO4.js → chunk-NBJLMLDA.js} +2 -1
  25. package/dist/chunk-RAGYZ54R.js +15480 -0
  26. package/dist/{chunk-GX36BPK7.js → chunk-RSGFFRXQ.js} +2 -2
  27. package/dist/chunk-SOBWDC35.js +38 -0
  28. package/dist/{chunk-CZKMOAXU.js → chunk-US4HFUCH.js} +3 -2
  29. package/dist/chunk-YM22FEIA.js +5807 -0
  30. package/dist/{ci-ISCWZJD3.js → ci-F6FUXT3O.js} +5 -3
  31. package/dist/{classifier-MWQMQ727.js → classifier-5FQ2FBTO.js} +3 -1
  32. package/dist/{claude-code-ZFTBQXY4.js → claude-code-J43C22IR.js} +7 -5
  33. package/dist/{claude-exploration-provider-QJH6IPYU.js → claude-exploration-provider-EWQNNE7D.js} +4 -3
  34. package/dist/cli/index.js +87 -35
  35. package/dist/compiler-sfc.cjs-JX56AWNS.js +48568 -0
  36. package/dist/crawl-KN7SW753.js +26 -0
  37. package/dist/{crawl-command-RDWGHZC4.js → crawl-command-Y45FIXNK.js} +14 -9
  38. package/dist/{cross-reference-MHNPSLEN.js → cross-reference-XOOBW6UZ.js} +3 -1
  39. package/dist/{dev-server-detector-XQ5AYPDT.js → dev-server-detector-FMFVKDJR.js} +3 -1
  40. package/dist/{discover-QKGMYPHK.js → discover-HA63UA4K.js} +20 -18
  41. package/dist/dist-3CYER35S.js +8 -0
  42. package/dist/{domain-UQ34YE4B.js → domain-FU3WIW64.js} +45 -30
  43. package/dist/{edge-cases-ZADKDZHL.js → edge-cases-B6IV3IKK.js} +3 -1
  44. package/dist/{element-extractor-OZTFBVKZ.js → element-extractor-QAG4MRUO.js} +18 -6
  45. package/dist/engine-AXB5O4ZH.js +39 -0
  46. package/dist/ensure-browsers-TNMHMLRS.js +147 -0
  47. package/dist/errors-NWB25P4K.js +8 -0
  48. package/dist/esm-IMWPYLSN.js +3469 -0
  49. package/dist/{fix-R33D34NP.js → fix-IXOEHAOS.js} +12 -5
  50. package/dist/{flakiness-OLJAY7CS.js → flakiness-7SSSM4SW.js} +3 -2
  51. package/dist/flakiness-CBKV4U54.js +12 -0
  52. package/dist/formatter-N4CC7SCM.js +176 -0
  53. package/dist/{framework-detector-ISSM2Q2I.js → framework-detector-4ZVHNT7N.js} +3 -1
  54. package/dist/generator-GGJYWYI2.js +8 -0
  55. package/dist/index.d.ts +15 -5
  56. package/dist/index.js +9 -6
  57. package/dist/{init-IQKT4ANC.js → init-POX5ZJ6V.js} +4 -2
  58. package/dist/json-4VOVHDQG.js +10 -0
  59. package/dist/{junit-GL44ATRR.js → junit-V24COOSR.js} +3 -1
  60. package/dist/{llm-VJAI6H6G.js → llm-TZ2WZGRZ.js} +3 -1
  61. package/dist/{loader-Z2DUGG5Z.js → loader-AMM63AOJ.js} +12 -3
  62. package/dist/mcp/server.js +13049 -73
  63. package/dist/{model-SP6HJN6J.js → model-BL2AID5Q.js} +6 -5
  64. package/dist/page-hooks-SECSGZR6.js +14 -0
  65. package/dist/{page-state-extractor-GYYLYRFR.js → page-state-extractor-AP4FQVLY.js} +3 -1
  66. package/dist/{performance-7HWKY5O2.js → performance-JVEYVBTV.js} +9 -3
  67. package/dist/{persistence-XLFJ5EY4.js → persistence-SHKJVSIS.js} +5 -4
  68. package/dist/{persistence-KTCRIGHU.js → persistence-SQ6QT3HP.js} +3 -1
  69. package/dist/picocolors-3W2AX5TJ.js +6 -0
  70. package/dist/pixelmatch-GATIVDQX.js +188 -0
  71. package/dist/png-HTC2G4ZG.js +2093 -0
  72. package/dist/{prompt-builder-D3FBH534.js → prompt-builder-EI2BFKLZ.js} +4 -2
  73. package/dist/{provider-BCKFVPTN.js → provider-O3UOALQH.js} +14 -12
  74. package/dist/{quality-run-YAURB242.js → quality-run-CTLX5YA5.js} +12 -10
  75. package/dist/{redaction-CHAIVPCF.js → redaction-QNBV5QZ3.js} +4 -3
  76. package/dist/{registry-5XCXUAYJ.js → registry-JBBTSD7I.js} +3 -1
  77. package/dist/{repo-analyzer-4OURSITY.js → repo-analyzer-4XITIIAF.js} +6 -4
  78. package/dist/{report-SDZWX25B.js → report-4UVJL7QV.js} +3 -1
  79. package/dist/{report-7FQFH4HW.js → report-BOVSPRCR.js} +8 -6
  80. package/dist/{response-parser-PUGNWF7S.js → response-parser-GHVJSYXQ.js} +3 -2
  81. package/dist/{route-discoverer-QBZCRQLJ.js → route-discoverer-ZXYJQIYE.js} +15 -8
  82. package/dist/{runner-RDVVIGBU.js → runner-DOLCFA3S.js} +10 -5
  83. package/dist/{runner-QHSYX7J2.js → runner-MCSDHFLN.js} +12 -7
  84. package/dist/{runner-AXZXNWYH.js → runner-MUBXHOIG.js} +10 -4
  85. package/dist/{scenarios-I7YYVTD2.js → scenarios-T2U6ZDRL.js} +3 -1
  86. package/dist/sdk-FQKA5HSQ.js +7184 -0
  87. package/dist/{source-5LS2B7TN.js → source-T5MHBY5G.js} +14 -7
  88. package/dist/{tiebreak-L5UFNKU2.js → tiebreak-SXBXPT7B.js} +3 -1
  89. package/dist/{unified-YSOTPG5B.js → unified-NUR2X5JV.js} +23 -21
  90. package/dist/{update-baselines-JYKUUIZG.js → update-baselines-TMERPIDV.js} +4 -2
  91. package/dist/version-FEHABGAH.js +10 -0
  92. package/dist/{visual-EUZG2STF.js → visual-XHFPFQFX.js} +5 -3
  93. package/dist/{workflow-template-6DADGPHA.js → workflow-template-7C5CCK67.js} +13 -7
  94. package/dist/{write-report-6RJWN54I.js → write-report-6Q4MXBYD.js} +5 -4
  95. package/package.json +21 -14
  96. package/dist/accessibility-JXRMWF5Y.js.map +0 -1
  97. package/dist/anthropic-api-ZR3UEB3Z.js.map +0 -1
  98. package/dist/assert-budget-NBF3JYM7.js +0 -9
  99. package/dist/assert-budget-NBF3JYM7.js.map +0 -1
  100. package/dist/caps-G3ZGJI7B.js.map +0 -1
  101. package/dist/chunk-7ZOFYET5.js.map +0 -1
  102. package/dist/chunk-CZKMOAXU.js.map +0 -1
  103. package/dist/chunk-EGANHIIE.js.map +0 -1
  104. package/dist/chunk-GV27IOMC.js.map +0 -1
  105. package/dist/chunk-GX36BPK7.js.map +0 -1
  106. package/dist/chunk-IXDUD2UG.js.map +0 -1
  107. package/dist/chunk-MMISGY2Q.js.map +0 -1
  108. package/dist/chunk-MYWWSM3V.js.map +0 -1
  109. package/dist/chunk-NG2IGCAK.js.map +0 -1
  110. package/dist/chunk-VEI2O6AK.js.map +0 -1
  111. package/dist/chunk-ZM6MGWO4.js.map +0 -1
  112. package/dist/ci-ISCWZJD3.js.map +0 -1
  113. package/dist/classifier-MWQMQ727.js.map +0 -1
  114. package/dist/claude-code-ZFTBQXY4.js.map +0 -1
  115. package/dist/claude-exploration-provider-QJH6IPYU.js.map +0 -1
  116. package/dist/cli/index.js.map +0 -1
  117. package/dist/crawl-ZXZRF4Q7.js +0 -15
  118. package/dist/crawl-ZXZRF4Q7.js.map +0 -1
  119. package/dist/crawl-command-RDWGHZC4.js.map +0 -1
  120. package/dist/cross-reference-MHNPSLEN.js.map +0 -1
  121. package/dist/dev-server-detector-XQ5AYPDT.js.map +0 -1
  122. package/dist/discover-QKGMYPHK.js.map +0 -1
  123. package/dist/domain-UQ34YE4B.js.map +0 -1
  124. package/dist/edge-cases-ZADKDZHL.js.map +0 -1
  125. package/dist/element-extractor-OZTFBVKZ.js.map +0 -1
  126. package/dist/ensure-browsers-AYKMLUHV.js +0 -86
  127. package/dist/ensure-browsers-AYKMLUHV.js.map +0 -1
  128. package/dist/errors-RFEOR527.js +0 -7
  129. package/dist/errors-RFEOR527.js.map +0 -1
  130. package/dist/fix-R33D34NP.js.map +0 -1
  131. package/dist/flakiness-OLJAY7CS.js.map +0 -1
  132. package/dist/flakiness-OVC7KGN2.js +0 -11
  133. package/dist/flakiness-OVC7KGN2.js.map +0 -1
  134. package/dist/formatter-HC3LT3VH.js +0 -146
  135. package/dist/formatter-HC3LT3VH.js.map +0 -1
  136. package/dist/framework-detector-ISSM2Q2I.js.map +0 -1
  137. package/dist/generator-HIFV67NI.js +0 -7
  138. package/dist/generator-HIFV67NI.js.map +0 -1
  139. package/dist/index.js.map +0 -1
  140. package/dist/init-IQKT4ANC.js.map +0 -1
  141. package/dist/json-YDWEB33Q.js +0 -8
  142. package/dist/json-YDWEB33Q.js.map +0 -1
  143. package/dist/junit-GL44ATRR.js.map +0 -1
  144. package/dist/llm-VJAI6H6G.js.map +0 -1
  145. package/dist/loader-Z2DUGG5Z.js.map +0 -1
  146. package/dist/mcp/server.js.map +0 -1
  147. package/dist/model-SP6HJN6J.js.map +0 -1
  148. package/dist/page-hooks-6RALVZB5.js +0 -13
  149. package/dist/page-hooks-6RALVZB5.js.map +0 -1
  150. package/dist/page-state-extractor-GYYLYRFR.js.map +0 -1
  151. package/dist/performance-7HWKY5O2.js.map +0 -1
  152. package/dist/persistence-KTCRIGHU.js.map +0 -1
  153. package/dist/persistence-XLFJ5EY4.js.map +0 -1
  154. package/dist/prompt-builder-D3FBH534.js.map +0 -1
  155. package/dist/provider-BCKFVPTN.js.map +0 -1
  156. package/dist/quality-run-YAURB242.js.map +0 -1
  157. package/dist/redaction-CHAIVPCF.js.map +0 -1
  158. package/dist/registry-5XCXUAYJ.js.map +0 -1
  159. package/dist/repo-analyzer-4OURSITY.js.map +0 -1
  160. package/dist/report-7FQFH4HW.js.map +0 -1
  161. package/dist/report-SDZWX25B.js.map +0 -1
  162. package/dist/response-parser-PUGNWF7S.js.map +0 -1
  163. package/dist/route-discoverer-QBZCRQLJ.js.map +0 -1
  164. package/dist/runner-AXZXNWYH.js.map +0 -1
  165. package/dist/runner-QHSYX7J2.js.map +0 -1
  166. package/dist/runner-RDVVIGBU.js.map +0 -1
  167. package/dist/scenarios-I7YYVTD2.js.map +0 -1
  168. package/dist/source-5LS2B7TN.js.map +0 -1
  169. package/dist/tiebreak-L5UFNKU2.js.map +0 -1
  170. package/dist/unified-YSOTPG5B.js.map +0 -1
  171. package/dist/update-baselines-JYKUUIZG.js.map +0 -1
  172. package/dist/version-FLE7ZHDX.js +0 -7
  173. package/dist/version-FLE7ZHDX.js.map +0 -1
  174. package/dist/visual-EUZG2STF.js.map +0 -1
  175. package/dist/workflow-template-6DADGPHA.js.map +0 -1
  176. package/dist/write-report-6RJWN54I.js.map +0 -1
@@ -0,0 +1,422 @@
1
+ import { createRequire as __sniffCreateRequire } from 'node:module'; const require = __sniffCreateRequire(import.meta.url);
2
+ import {
3
+ require_picocolors
4
+ } from "./chunk-HP4TY3UY.js";
5
+ import {
6
+ __commonJS
7
+ } from "./chunk-SOBWDC35.js";
8
+
9
+ // node_modules/@babel/helper-validator-identifier/lib/identifier.js
10
+ var require_identifier = __commonJS({
11
+ "node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) {
12
+ "use strict";
13
+ Object.defineProperty(exports, "__esModule", {
14
+ value: true
15
+ });
16
+ exports.isIdentifierChar = isIdentifierChar;
17
+ exports.isIdentifierName = isIdentifierName;
18
+ exports.isIdentifierStart = isIdentifierStart;
19
+ var 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-\u088F\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\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\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-\uA7DC\uA7F1-\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";
20
+ var 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-\u1ADD\u1AE0-\u1AEB\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";
21
+ var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
22
+ var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
23
+ nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
24
+ var 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, 7, 25, 39, 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, 5, 57, 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, 24, 43, 261, 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, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
25
+ var 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, 78, 5, 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, 199, 7, 137, 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, 55, 9, 266, 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, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
26
+ function isInAstralSet(code, set) {
27
+ let pos = 65536;
28
+ for (let i = 0, length = set.length; i < length; i += 2) {
29
+ pos += set[i];
30
+ if (pos > code) return false;
31
+ pos += set[i + 1];
32
+ if (pos >= code) return true;
33
+ }
34
+ return false;
35
+ }
36
+ function isIdentifierStart(code) {
37
+ if (code < 65) return code === 36;
38
+ if (code <= 90) return true;
39
+ if (code < 97) return code === 95;
40
+ if (code <= 122) return true;
41
+ if (code <= 65535) {
42
+ return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code));
43
+ }
44
+ return isInAstralSet(code, astralIdentifierStartCodes);
45
+ }
46
+ function isIdentifierChar(code) {
47
+ if (code < 48) return code === 36;
48
+ if (code < 58) return true;
49
+ if (code < 65) return false;
50
+ if (code <= 90) return true;
51
+ if (code < 97) return code === 95;
52
+ if (code <= 122) return true;
53
+ if (code <= 65535) {
54
+ return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code));
55
+ }
56
+ return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
57
+ }
58
+ function isIdentifierName(name) {
59
+ let isFirst = true;
60
+ for (let i = 0; i < name.length; i++) {
61
+ let cp = name.charCodeAt(i);
62
+ if ((cp & 64512) === 55296 && i + 1 < name.length) {
63
+ const trail = name.charCodeAt(++i);
64
+ if ((trail & 64512) === 56320) {
65
+ cp = 65536 + ((cp & 1023) << 10) + (trail & 1023);
66
+ }
67
+ }
68
+ if (isFirst) {
69
+ isFirst = false;
70
+ if (!isIdentifierStart(cp)) {
71
+ return false;
72
+ }
73
+ } else if (!isIdentifierChar(cp)) {
74
+ return false;
75
+ }
76
+ }
77
+ return !isFirst;
78
+ }
79
+ }
80
+ });
81
+
82
+ // node_modules/@babel/helper-validator-identifier/lib/keyword.js
83
+ var require_keyword = __commonJS({
84
+ "node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) {
85
+ "use strict";
86
+ Object.defineProperty(exports, "__esModule", {
87
+ value: true
88
+ });
89
+ exports.isKeyword = isKeyword;
90
+ exports.isReservedWord = isReservedWord;
91
+ exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
92
+ exports.isStrictBindReservedWord = isStrictBindReservedWord;
93
+ exports.isStrictReservedWord = isStrictReservedWord;
94
+ var reservedWords = {
95
+ 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"],
96
+ strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
97
+ strictBind: ["eval", "arguments"]
98
+ };
99
+ var keywords = new Set(reservedWords.keyword);
100
+ var reservedWordsStrictSet = new Set(reservedWords.strict);
101
+ var reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
102
+ function isReservedWord(word, inModule) {
103
+ return inModule && word === "await" || word === "enum";
104
+ }
105
+ function isStrictReservedWord(word, inModule) {
106
+ return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
107
+ }
108
+ function isStrictBindOnlyReservedWord(word) {
109
+ return reservedWordsStrictBindSet.has(word);
110
+ }
111
+ function isStrictBindReservedWord(word, inModule) {
112
+ return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
113
+ }
114
+ function isKeyword(word) {
115
+ return keywords.has(word);
116
+ }
117
+ }
118
+ });
119
+
120
+ // node_modules/@babel/helper-validator-identifier/lib/index.js
121
+ var require_lib = __commonJS({
122
+ "node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) {
123
+ "use strict";
124
+ Object.defineProperty(exports, "__esModule", {
125
+ value: true
126
+ });
127
+ Object.defineProperty(exports, "isIdentifierChar", {
128
+ enumerable: true,
129
+ get: function() {
130
+ return _identifier.isIdentifierChar;
131
+ }
132
+ });
133
+ Object.defineProperty(exports, "isIdentifierName", {
134
+ enumerable: true,
135
+ get: function() {
136
+ return _identifier.isIdentifierName;
137
+ }
138
+ });
139
+ Object.defineProperty(exports, "isIdentifierStart", {
140
+ enumerable: true,
141
+ get: function() {
142
+ return _identifier.isIdentifierStart;
143
+ }
144
+ });
145
+ Object.defineProperty(exports, "isKeyword", {
146
+ enumerable: true,
147
+ get: function() {
148
+ return _keyword.isKeyword;
149
+ }
150
+ });
151
+ Object.defineProperty(exports, "isReservedWord", {
152
+ enumerable: true,
153
+ get: function() {
154
+ return _keyword.isReservedWord;
155
+ }
156
+ });
157
+ Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
158
+ enumerable: true,
159
+ get: function() {
160
+ return _keyword.isStrictBindOnlyReservedWord;
161
+ }
162
+ });
163
+ Object.defineProperty(exports, "isStrictBindReservedWord", {
164
+ enumerable: true,
165
+ get: function() {
166
+ return _keyword.isStrictBindReservedWord;
167
+ }
168
+ });
169
+ Object.defineProperty(exports, "isStrictReservedWord", {
170
+ enumerable: true,
171
+ get: function() {
172
+ return _keyword.isStrictReservedWord;
173
+ }
174
+ });
175
+ var _identifier = require_identifier();
176
+ var _keyword = require_keyword();
177
+ }
178
+ });
179
+
180
+ // node_modules/js-tokens/index.js
181
+ var require_js_tokens = __commonJS({
182
+ "node_modules/js-tokens/index.js"(exports) {
183
+ "use strict";
184
+ Object.defineProperty(exports, "__esModule", {
185
+ value: true
186
+ });
187
+ exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
188
+ exports.matchToToken = function(match) {
189
+ var token = { type: "invalid", value: match[0], closed: void 0 };
190
+ if (match[1]) token.type = "string", token.closed = !!(match[3] || match[4]);
191
+ else if (match[5]) token.type = "comment";
192
+ else if (match[6]) token.type = "comment", token.closed = !!match[7];
193
+ else if (match[8]) token.type = "regex";
194
+ else if (match[9]) token.type = "number";
195
+ else if (match[10]) token.type = "name";
196
+ else if (match[11]) token.type = "punctuator";
197
+ else if (match[12]) token.type = "whitespace";
198
+ return token;
199
+ };
200
+ }
201
+ });
202
+
203
+ // node_modules/@babel/code-frame/lib/index.js
204
+ var require_lib2 = __commonJS({
205
+ "node_modules/@babel/code-frame/lib/index.js"(exports) {
206
+ "use strict";
207
+ Object.defineProperty(exports, "__esModule", { value: true });
208
+ var picocolors = require_picocolors();
209
+ var jsTokens = require_js_tokens();
210
+ var helperValidatorIdentifier = require_lib();
211
+ function isColorSupported() {
212
+ return typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported;
213
+ }
214
+ var compose = (f, g) => (v) => f(g(v));
215
+ function buildDefs(colors) {
216
+ return {
217
+ keyword: colors.cyan,
218
+ capitalized: colors.yellow,
219
+ jsxIdentifier: colors.yellow,
220
+ punctuator: colors.yellow,
221
+ number: colors.magenta,
222
+ string: colors.green,
223
+ regex: colors.magenta,
224
+ comment: colors.gray,
225
+ invalid: compose(compose(colors.white, colors.bgRed), colors.bold),
226
+ gutter: colors.gray,
227
+ marker: compose(colors.red, colors.bold),
228
+ message: compose(colors.red, colors.bold),
229
+ reset: colors.reset
230
+ };
231
+ }
232
+ var defsOn = buildDefs(picocolors.createColors(true));
233
+ var defsOff = buildDefs(picocolors.createColors(false));
234
+ function getDefs(enabled) {
235
+ return enabled ? defsOn : defsOff;
236
+ }
237
+ var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
238
+ var NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
239
+ var BRACKET = /^[()[\]{}]$/;
240
+ var tokenize;
241
+ var JSX_TAG = /^[a-z][\w-]*$/i;
242
+ var getTokenType = function(token, offset, text) {
243
+ if (token.type === "name") {
244
+ const tokenValue = token.value;
245
+ if (helperValidatorIdentifier.isKeyword(tokenValue) || helperValidatorIdentifier.isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) {
246
+ return "keyword";
247
+ }
248
+ if (JSX_TAG.test(tokenValue) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
249
+ return "jsxIdentifier";
250
+ }
251
+ const firstChar = String.fromCodePoint(tokenValue.codePointAt(0));
252
+ if (firstChar !== firstChar.toLowerCase()) {
253
+ return "capitalized";
254
+ }
255
+ }
256
+ if (token.type === "punctuator" && BRACKET.test(token.value)) {
257
+ return "bracket";
258
+ }
259
+ if (token.type === "invalid" && (token.value === "@" || token.value === "#")) {
260
+ return "punctuator";
261
+ }
262
+ return token.type;
263
+ };
264
+ tokenize = function* (text) {
265
+ let match;
266
+ while (match = jsTokens.default.exec(text)) {
267
+ const token = jsTokens.matchToToken(match);
268
+ yield {
269
+ type: getTokenType(token, match.index, text),
270
+ value: token.value
271
+ };
272
+ }
273
+ };
274
+ function highlight(text) {
275
+ if (text === "") return "";
276
+ const defs = getDefs(true);
277
+ let highlighted = "";
278
+ for (const {
279
+ type,
280
+ value
281
+ } of tokenize(text)) {
282
+ if (type in defs) {
283
+ highlighted += value.split(NEWLINE$1).map((str) => defs[type](str)).join("\n");
284
+ } else {
285
+ highlighted += value;
286
+ }
287
+ }
288
+ return highlighted;
289
+ }
290
+ var deprecationWarningShown = false;
291
+ var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
292
+ function getMarkerLines(loc, source, opts, startLineBaseZero) {
293
+ const startLoc = Object.assign({
294
+ column: 0,
295
+ line: -1
296
+ }, loc.start);
297
+ const endLoc = Object.assign({}, startLoc, loc.end);
298
+ const {
299
+ linesAbove = 2,
300
+ linesBelow = 3
301
+ } = opts || {};
302
+ const startLine = startLoc.line - startLineBaseZero;
303
+ const startColumn = startLoc.column;
304
+ const endLine = endLoc.line - startLineBaseZero;
305
+ const endColumn = endLoc.column;
306
+ let start = Math.max(startLine - (linesAbove + 1), 0);
307
+ let end = Math.min(source.length, endLine + linesBelow);
308
+ if (startLine === -1) {
309
+ start = 0;
310
+ }
311
+ if (endLine === -1) {
312
+ end = source.length;
313
+ }
314
+ const lineDiff = endLine - startLine;
315
+ const markerLines = {};
316
+ if (lineDiff) {
317
+ for (let i = 0; i <= lineDiff; i++) {
318
+ const lineNumber = i + startLine;
319
+ if (!startColumn) {
320
+ markerLines[lineNumber] = true;
321
+ } else if (i === 0) {
322
+ const sourceLength = source[lineNumber - 1].length;
323
+ markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
324
+ } else if (i === lineDiff) {
325
+ markerLines[lineNumber] = [0, endColumn];
326
+ } else {
327
+ const sourceLength = source[lineNumber - i].length;
328
+ markerLines[lineNumber] = [0, sourceLength];
329
+ }
330
+ }
331
+ } else {
332
+ if (startColumn === endColumn) {
333
+ if (startColumn) {
334
+ markerLines[startLine] = [startColumn, 0];
335
+ } else {
336
+ markerLines[startLine] = true;
337
+ }
338
+ } else {
339
+ markerLines[startLine] = [startColumn, endColumn - startColumn];
340
+ }
341
+ }
342
+ return {
343
+ start,
344
+ end,
345
+ markerLines
346
+ };
347
+ }
348
+ function codeFrameColumns(rawLines, loc, opts = {}) {
349
+ const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
350
+ const startLineBaseZero = (opts.startLine || 1) - 1;
351
+ const defs = getDefs(shouldHighlight);
352
+ const lines = rawLines.split(NEWLINE);
353
+ const {
354
+ start,
355
+ end,
356
+ markerLines
357
+ } = getMarkerLines(loc, lines, opts, startLineBaseZero);
358
+ const hasColumns = loc.start && typeof loc.start.column === "number";
359
+ const numberMaxWidth = String(end + startLineBaseZero).length;
360
+ const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;
361
+ let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index2) => {
362
+ const number = start + 1 + index2;
363
+ const paddedNumber = ` ${number + startLineBaseZero}`.slice(-numberMaxWidth);
364
+ const gutter = ` ${paddedNumber} |`;
365
+ const hasMarker = markerLines[number];
366
+ const lastMarkerLine = !markerLines[number + 1];
367
+ if (hasMarker) {
368
+ let markerLine = "";
369
+ if (Array.isArray(hasMarker)) {
370
+ const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
371
+ const numberOfMarkers = hasMarker[1] || 1;
372
+ markerLine = ["\n ", defs.gutter(gutter.replace(/\d/g, " ")), " ", markerSpacing, defs.marker("^").repeat(numberOfMarkers)].join("");
373
+ if (lastMarkerLine && opts.message) {
374
+ markerLine += " " + defs.message(opts.message);
375
+ }
376
+ }
377
+ return [defs.marker(">"), defs.gutter(gutter), line.length > 0 ? ` ${line}` : "", markerLine].join("");
378
+ } else {
379
+ return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`;
380
+ }
381
+ }).join("\n");
382
+ if (opts.message && !hasColumns) {
383
+ frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}
384
+ ${frame}`;
385
+ }
386
+ if (shouldHighlight) {
387
+ return defs.reset(frame);
388
+ } else {
389
+ return frame;
390
+ }
391
+ }
392
+ function index(rawLines, lineNumber, colNumber, opts = {}) {
393
+ if (!deprecationWarningShown) {
394
+ deprecationWarningShown = true;
395
+ const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
396
+ if (process.emitWarning) {
397
+ process.emitWarning(message, "DeprecationWarning");
398
+ } else {
399
+ const deprecationError = new Error(message);
400
+ deprecationError.name = "DeprecationWarning";
401
+ console.warn(new Error(message));
402
+ }
403
+ }
404
+ colNumber = Math.max(colNumber, 0);
405
+ const location = {
406
+ start: {
407
+ column: colNumber,
408
+ line: lineNumber
409
+ }
410
+ };
411
+ return codeFrameColumns(rawLines, location, opts);
412
+ }
413
+ exports.codeFrameColumns = codeFrameColumns;
414
+ exports.default = index;
415
+ exports.highlight = highlight;
416
+ }
417
+ });
418
+
419
+ export {
420
+ require_lib,
421
+ require_lib2
422
+ };
@@ -1,3 +1,5 @@
1
+ import { createRequire as __sniffCreateRequire } from 'node:module'; const require = __sniffCreateRequire(import.meta.url);
2
+
1
3
  // src/browser/page-hooks.ts
2
4
  import { join } from "path";
3
5
  var ConsoleErrorHook = class {
@@ -162,4 +164,3 @@ export {
162
164
  ScreenshotHook,
163
165
  PageHookPipeline
164
166
  };
165
- //# sourceMappingURL=chunk-MYWWSM3V.js.map
@@ -1,3 +1,5 @@
1
+ import { createRequire as __sniffCreateRequire } from 'node:module'; const require = __sniffCreateRequire(import.meta.url);
2
+
1
3
  // src/exploration/edge-cases.ts
2
4
  var EDGE_CASE_PAYLOADS = {
3
5
  xss: [
@@ -49,4 +51,3 @@ function selectPayload(inputType, stepIndex) {
49
51
  export {
50
52
  selectPayload
51
53
  };
52
- //# sourceMappingURL=chunk-MMISGY2Q.js.map