@indiciaosint/sdk 0.0.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 (844) hide show
  1. package/.devcontainer/README.md +30 -0
  2. package/FUNCTIONS.md +87 -0
  3. package/README.md +526 -0
  4. package/RUNTIMES.md +48 -0
  5. package/docs/sdks/indicia/README.md +3053 -0
  6. package/esm/core.d.ts +10 -0
  7. package/esm/core.d.ts.map +1 -0
  8. package/esm/core.js +13 -0
  9. package/esm/core.js.map +1 -0
  10. package/esm/funcs/delete-v1-activity-by-id.d.ts +14 -0
  11. package/esm/funcs/delete-v1-activity-by-id.d.ts.map +1 -0
  12. package/esm/funcs/delete-v1-activity-by-id.js +82 -0
  13. package/esm/funcs/delete-v1-activity-by-id.js.map +1 -0
  14. package/esm/funcs/get-v1-activity-by-id.d.ts +14 -0
  15. package/esm/funcs/get-v1-activity-by-id.d.ts.map +1 -0
  16. package/esm/funcs/get-v1-activity-by-id.js +82 -0
  17. package/esm/funcs/get-v1-activity-by-id.js.map +1 -0
  18. package/esm/funcs/get-v1-activity.d.ts +14 -0
  19. package/esm/funcs/get-v1-activity.d.ts.map +1 -0
  20. package/esm/funcs/get-v1-activity.js +81 -0
  21. package/esm/funcs/get-v1-activity.js.map +1 -0
  22. package/esm/funcs/get-v1-info.d.ts +14 -0
  23. package/esm/funcs/get-v1-info.d.ts.map +1 -0
  24. package/esm/funcs/get-v1-info.js +66 -0
  25. package/esm/funcs/get-v1-info.js.map +1 -0
  26. package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts +14 -0
  27. package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts.map +1 -0
  28. package/esm/funcs/get-v1-organizations-by-id-audit-log.js +87 -0
  29. package/esm/funcs/get-v1-organizations-by-id-audit-log.js.map +1 -0
  30. package/esm/funcs/get-v1-organizations-by-id-cases.d.ts +14 -0
  31. package/esm/funcs/get-v1-organizations-by-id-cases.d.ts.map +1 -0
  32. package/esm/funcs/get-v1-organizations-by-id-cases.js +82 -0
  33. package/esm/funcs/get-v1-organizations-by-id-cases.js.map +1 -0
  34. package/esm/funcs/get-v1-organizations-by-id-members.d.ts +14 -0
  35. package/esm/funcs/get-v1-organizations-by-id-members.d.ts.map +1 -0
  36. package/esm/funcs/get-v1-organizations-by-id-members.js +82 -0
  37. package/esm/funcs/get-v1-organizations-by-id-members.js.map +1 -0
  38. package/esm/funcs/get-v1-organizations-by-id.d.ts +14 -0
  39. package/esm/funcs/get-v1-organizations-by-id.d.ts.map +1 -0
  40. package/esm/funcs/get-v1-organizations-by-id.js +82 -0
  41. package/esm/funcs/get-v1-organizations-by-id.js.map +1 -0
  42. package/esm/funcs/get-v1-organizations.d.ts +14 -0
  43. package/esm/funcs/get-v1-organizations.d.ts.map +1 -0
  44. package/esm/funcs/get-v1-organizations.js +66 -0
  45. package/esm/funcs/get-v1-organizations.js.map +1 -0
  46. package/esm/funcs/get-v1-pricing.d.ts +14 -0
  47. package/esm/funcs/get-v1-pricing.d.ts.map +1 -0
  48. package/esm/funcs/get-v1-pricing.js +66 -0
  49. package/esm/funcs/get-v1-pricing.js.map +1 -0
  50. package/esm/funcs/post-v1-organizations-by-id-credits.d.ts +14 -0
  51. package/esm/funcs/post-v1-organizations-by-id-credits.d.ts.map +1 -0
  52. package/esm/funcs/post-v1-organizations-by-id-credits.js +83 -0
  53. package/esm/funcs/post-v1-organizations-by-id-credits.js.map +1 -0
  54. package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts +18 -0
  55. package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
  56. package/esm/funcs/post-v1-search-infrastructure-certificates.js +85 -0
  57. package/esm/funcs/post-v1-search-infrastructure-certificates.js.map +1 -0
  58. package/esm/funcs/post-v1-search-infrastructure-dns.d.ts +18 -0
  59. package/esm/funcs/post-v1-search-infrastructure-dns.d.ts.map +1 -0
  60. package/esm/funcs/post-v1-search-infrastructure-dns.js +84 -0
  61. package/esm/funcs/post-v1-search-infrastructure-dns.js.map +1 -0
  62. package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts +18 -0
  63. package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
  64. package/esm/funcs/post-v1-search-infrastructure-ipinfo.js +84 -0
  65. package/esm/funcs/post-v1-search-infrastructure-ipinfo.js.map +1 -0
  66. package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts +144 -0
  67. package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
  68. package/esm/funcs/post-v1-search-infrastructure-portscan.js +213 -0
  69. package/esm/funcs/post-v1-search-infrastructure-portscan.js.map +1 -0
  70. package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts +18 -0
  71. package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
  72. package/esm/funcs/post-v1-search-infrastructure-shodan.js +84 -0
  73. package/esm/funcs/post-v1-search-infrastructure-shodan.js.map +1 -0
  74. package/esm/funcs/post-v1-search-infrastructure-whois.d.ts +18 -0
  75. package/esm/funcs/post-v1-search-infrastructure-whois.d.ts.map +1 -0
  76. package/esm/funcs/post-v1-search-infrastructure-whois.js +84 -0
  77. package/esm/funcs/post-v1-search-infrastructure-whois.js.map +1 -0
  78. package/esm/funcs/post-v1-search-intelligence-address.d.ts +15 -0
  79. package/esm/funcs/post-v1-search-intelligence-address.d.ts.map +1 -0
  80. package/esm/funcs/post-v1-search-intelligence-address.js +81 -0
  81. package/esm/funcs/post-v1-search-intelligence-address.js.map +1 -0
  82. package/esm/funcs/post-v1-search-intelligence-email.d.ts +18 -0
  83. package/esm/funcs/post-v1-search-intelligence-email.d.ts.map +1 -0
  84. package/esm/funcs/post-v1-search-intelligence-email.js +84 -0
  85. package/esm/funcs/post-v1-search-intelligence-email.js.map +1 -0
  86. package/esm/funcs/post-v1-search-intelligence-facial.d.ts +37 -0
  87. package/esm/funcs/post-v1-search-intelligence-facial.d.ts.map +1 -0
  88. package/esm/funcs/post-v1-search-intelligence-facial.js +106 -0
  89. package/esm/funcs/post-v1-search-intelligence-facial.js.map +1 -0
  90. package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts +29 -0
  91. package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
  92. package/esm/funcs/post-v1-search-intelligence-geolocation.js +106 -0
  93. package/esm/funcs/post-v1-search-intelligence-geolocation.js.map +1 -0
  94. package/esm/funcs/post-v1-search-intelligence-gmail.d.ts +18 -0
  95. package/esm/funcs/post-v1-search-intelligence-gmail.d.ts.map +1 -0
  96. package/esm/funcs/post-v1-search-intelligence-gmail.js +84 -0
  97. package/esm/funcs/post-v1-search-intelligence-gmail.js.map +1 -0
  98. package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts +18 -0
  99. package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
  100. package/esm/funcs/post-v1-search-intelligence-hudsonrock.js +85 -0
  101. package/esm/funcs/post-v1-search-intelligence-hudsonrock.js.map +1 -0
  102. package/esm/funcs/post-v1-search-intelligence-person.d.ts +18 -0
  103. package/esm/funcs/post-v1-search-intelligence-person.d.ts.map +1 -0
  104. package/esm/funcs/post-v1-search-intelligence-person.js +84 -0
  105. package/esm/funcs/post-v1-search-intelligence-person.js.map +1 -0
  106. package/esm/funcs/post-v1-search-intelligence-phone.d.ts +18 -0
  107. package/esm/funcs/post-v1-search-intelligence-phone.d.ts.map +1 -0
  108. package/esm/funcs/post-v1-search-intelligence-phone.js +84 -0
  109. package/esm/funcs/post-v1-search-intelligence-phone.js.map +1 -0
  110. package/esm/funcs/post-v1-search-intelligence-seon.d.ts +18 -0
  111. package/esm/funcs/post-v1-search-intelligence-seon.d.ts.map +1 -0
  112. package/esm/funcs/post-v1-search-intelligence-seon.js +84 -0
  113. package/esm/funcs/post-v1-search-intelligence-seon.js.map +1 -0
  114. package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts +18 -0
  115. package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
  116. package/esm/funcs/post-v1-search-intelligence-web-dbs.js +84 -0
  117. package/esm/funcs/post-v1-search-intelligence-web-dbs.js.map +1 -0
  118. package/esm/funcs/post-v1-search-socials-discord.d.ts +18 -0
  119. package/esm/funcs/post-v1-search-socials-discord.d.ts.map +1 -0
  120. package/esm/funcs/post-v1-search-socials-discord.js +84 -0
  121. package/esm/funcs/post-v1-search-socials-discord.js.map +1 -0
  122. package/esm/funcs/post-v1-search-socials-github.d.ts +18 -0
  123. package/esm/funcs/post-v1-search-socials-github.d.ts.map +1 -0
  124. package/esm/funcs/post-v1-search-socials-github.js +84 -0
  125. package/esm/funcs/post-v1-search-socials-github.js.map +1 -0
  126. package/esm/funcs/post-v1-search-socials-roblox.d.ts +18 -0
  127. package/esm/funcs/post-v1-search-socials-roblox.d.ts.map +1 -0
  128. package/esm/funcs/post-v1-search-socials-roblox.js +84 -0
  129. package/esm/funcs/post-v1-search-socials-roblox.js.map +1 -0
  130. package/esm/funcs/post-v1-search-socials-tiktok.d.ts +18 -0
  131. package/esm/funcs/post-v1-search-socials-tiktok.d.ts.map +1 -0
  132. package/esm/funcs/post-v1-search-socials-tiktok.js +84 -0
  133. package/esm/funcs/post-v1-search-socials-tiktok.js.map +1 -0
  134. package/esm/funcs/post-v1-tools-doogle.d.ts +18 -0
  135. package/esm/funcs/post-v1-tools-doogle.d.ts.map +1 -0
  136. package/esm/funcs/post-v1-tools-doogle.js +84 -0
  137. package/esm/funcs/post-v1-tools-doogle.js.map +1 -0
  138. package/esm/funcs/post-v1-tools-doublecounter.d.ts +18 -0
  139. package/esm/funcs/post-v1-tools-doublecounter.d.ts.map +1 -0
  140. package/esm/funcs/post-v1-tools-doublecounter.js +84 -0
  141. package/esm/funcs/post-v1-tools-doublecounter.js.map +1 -0
  142. package/esm/funcs/post-v1-tools-intelx.d.ts +18 -0
  143. package/esm/funcs/post-v1-tools-intelx.d.ts.map +1 -0
  144. package/esm/funcs/post-v1-tools-intelx.js +84 -0
  145. package/esm/funcs/post-v1-tools-intelx.js.map +1 -0
  146. package/esm/funcs/post-v2-search-socials-username.d.ts +18 -0
  147. package/esm/funcs/post-v2-search-socials-username.d.ts.map +1 -0
  148. package/esm/funcs/post-v2-search-socials-username.js +84 -0
  149. package/esm/funcs/post-v2-search-socials-username.js.map +1 -0
  150. package/esm/hooks/hooks.d.ts +25 -0
  151. package/esm/hooks/hooks.d.ts.map +1 -0
  152. package/esm/hooks/hooks.js +80 -0
  153. package/esm/hooks/hooks.js.map +1 -0
  154. package/esm/hooks/index.d.ts +3 -0
  155. package/esm/hooks/index.d.ts.map +1 -0
  156. package/esm/hooks/index.js +6 -0
  157. package/esm/hooks/index.js.map +1 -0
  158. package/esm/hooks/types.d.ts +77 -0
  159. package/esm/hooks/types.d.ts.map +1 -0
  160. package/esm/hooks/types.js +5 -0
  161. package/esm/hooks/types.js.map +1 -0
  162. package/esm/index.d.ts +6 -0
  163. package/esm/index.d.ts.map +1 -0
  164. package/esm/index.js +8 -0
  165. package/esm/index.js.map +1 -0
  166. package/esm/lib/base64.d.ts +10 -0
  167. package/esm/lib/base64.d.ts.map +1 -0
  168. package/esm/lib/base64.js +31 -0
  169. package/esm/lib/base64.js.map +1 -0
  170. package/esm/lib/config.d.ts +38 -0
  171. package/esm/lib/config.d.ts.map +1 -0
  172. package/esm/lib/config.js +31 -0
  173. package/esm/lib/config.js.map +1 -0
  174. package/esm/lib/encodings.d.ts +54 -0
  175. package/esm/lib/encodings.d.ts.map +1 -0
  176. package/esm/lib/encodings.js +391 -0
  177. package/esm/lib/encodings.js.map +1 -0
  178. package/esm/lib/env.d.ts +15 -0
  179. package/esm/lib/env.d.ts.map +1 -0
  180. package/esm/lib/env.js +44 -0
  181. package/esm/lib/env.js.map +1 -0
  182. package/esm/lib/files.d.ts +26 -0
  183. package/esm/lib/files.d.ts.map +1 -0
  184. package/esm/lib/files.js +91 -0
  185. package/esm/lib/files.js.map +1 -0
  186. package/esm/lib/http.d.ts +67 -0
  187. package/esm/lib/http.d.ts.map +1 -0
  188. package/esm/lib/http.js +209 -0
  189. package/esm/lib/http.js.map +1 -0
  190. package/esm/lib/logger.d.ts +6 -0
  191. package/esm/lib/logger.d.ts.map +1 -0
  192. package/esm/lib/logger.js +5 -0
  193. package/esm/lib/logger.js.map +1 -0
  194. package/esm/lib/matchers.d.ts +59 -0
  195. package/esm/lib/matchers.d.ts.map +1 -0
  196. package/esm/lib/matchers.js +202 -0
  197. package/esm/lib/matchers.js.map +1 -0
  198. package/esm/lib/primitives.d.ts +27 -0
  199. package/esm/lib/primitives.d.ts.map +1 -0
  200. package/esm/lib/primitives.js +120 -0
  201. package/esm/lib/primitives.js.map +1 -0
  202. package/esm/lib/retries.d.ts +38 -0
  203. package/esm/lib/retries.d.ts.map +1 -0
  204. package/esm/lib/retries.js +157 -0
  205. package/esm/lib/retries.js.map +1 -0
  206. package/esm/lib/schemas.d.ts +21 -0
  207. package/esm/lib/schemas.d.ts.map +1 -0
  208. package/esm/lib/schemas.js +57 -0
  209. package/esm/lib/schemas.js.map +1 -0
  210. package/esm/lib/sdks.d.ts +63 -0
  211. package/esm/lib/sdks.d.ts.map +1 -0
  212. package/esm/lib/sdks.js +294 -0
  213. package/esm/lib/sdks.js.map +1 -0
  214. package/esm/lib/security.d.ts +83 -0
  215. package/esm/lib/security.d.ts.map +1 -0
  216. package/esm/lib/security.js +149 -0
  217. package/esm/lib/security.js.map +1 -0
  218. package/esm/lib/url.d.ts +5 -0
  219. package/esm/lib/url.d.ts.map +1 -0
  220. package/esm/lib/url.js +24 -0
  221. package/esm/lib/url.js.map +1 -0
  222. package/esm/models/errors/http-client-errors.d.ts +44 -0
  223. package/esm/models/errors/http-client-errors.d.ts.map +1 -0
  224. package/esm/models/errors/http-client-errors.js +56 -0
  225. package/esm/models/errors/http-client-errors.js.map +1 -0
  226. package/esm/models/errors/index.d.ts +30 -0
  227. package/esm/models/errors/index.d.ts.map +1 -0
  228. package/esm/models/errors/index.js +33 -0
  229. package/esm/models/errors/index.js.map +1 -0
  230. package/esm/models/errors/indicia-default-error.d.ts +10 -0
  231. package/esm/models/errors/indicia-default-error.d.ts.map +1 -0
  232. package/esm/models/errors/indicia-default-error.js +30 -0
  233. package/esm/models/errors/indicia-default-error.js.map +1 -0
  234. package/esm/models/errors/indicia-error.d.ts +19 -0
  235. package/esm/models/errors/indicia-error.d.ts.map +1 -0
  236. package/esm/models/errors/indicia-error.js +26 -0
  237. package/esm/models/errors/indicia-error.js.map +1 -0
  238. package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts +29 -0
  239. package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
  240. package/esm/models/errors/post-v1-search-infrastructure-certificates.js +46 -0
  241. package/esm/models/errors/post-v1-search-infrastructure-certificates.js.map +1 -0
  242. package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts +26 -0
  243. package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts.map +1 -0
  244. package/esm/models/errors/post-v1-search-infrastructure-dns.js +42 -0
  245. package/esm/models/errors/post-v1-search-infrastructure-dns.js.map +1 -0
  246. package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts +26 -0
  247. package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
  248. package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js +41 -0
  249. package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js.map +1 -0
  250. package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts +72 -0
  251. package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
  252. package/esm/models/errors/post-v1-search-infrastructure-portscan.js +110 -0
  253. package/esm/models/errors/post-v1-search-infrastructure-portscan.js.map +1 -0
  254. package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts +26 -0
  255. package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
  256. package/esm/models/errors/post-v1-search-infrastructure-shodan.js +41 -0
  257. package/esm/models/errors/post-v1-search-infrastructure-shodan.js.map +1 -0
  258. package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts +26 -0
  259. package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts.map +1 -0
  260. package/esm/models/errors/post-v1-search-infrastructure-whois.js +42 -0
  261. package/esm/models/errors/post-v1-search-infrastructure-whois.js.map +1 -0
  262. package/esm/models/errors/post-v1-search-intelligence-address.d.ts +26 -0
  263. package/esm/models/errors/post-v1-search-intelligence-address.d.ts.map +1 -0
  264. package/esm/models/errors/post-v1-search-intelligence-address.js +42 -0
  265. package/esm/models/errors/post-v1-search-intelligence-address.js.map +1 -0
  266. package/esm/models/errors/post-v1-search-intelligence-email.d.ts +26 -0
  267. package/esm/models/errors/post-v1-search-intelligence-email.d.ts.map +1 -0
  268. package/esm/models/errors/post-v1-search-intelligence-email.js +42 -0
  269. package/esm/models/errors/post-v1-search-intelligence-email.js.map +1 -0
  270. package/esm/models/errors/post-v1-search-intelligence-facial.d.ts +72 -0
  271. package/esm/models/errors/post-v1-search-intelligence-facial.d.ts.map +1 -0
  272. package/esm/models/errors/post-v1-search-intelligence-facial.js +112 -0
  273. package/esm/models/errors/post-v1-search-intelligence-facial.js.map +1 -0
  274. package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts +72 -0
  275. package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
  276. package/esm/models/errors/post-v1-search-intelligence-geolocation.js +110 -0
  277. package/esm/models/errors/post-v1-search-intelligence-geolocation.js.map +1 -0
  278. package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts +26 -0
  279. package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts.map +1 -0
  280. package/esm/models/errors/post-v1-search-intelligence-gmail.js +42 -0
  281. package/esm/models/errors/post-v1-search-intelligence-gmail.js.map +1 -0
  282. package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts +26 -0
  283. package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
  284. package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js +41 -0
  285. package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js.map +1 -0
  286. package/esm/models/errors/post-v1-search-intelligence-person.d.ts +26 -0
  287. package/esm/models/errors/post-v1-search-intelligence-person.d.ts.map +1 -0
  288. package/esm/models/errors/post-v1-search-intelligence-person.js +42 -0
  289. package/esm/models/errors/post-v1-search-intelligence-person.js.map +1 -0
  290. package/esm/models/errors/post-v1-search-intelligence-phone.d.ts +26 -0
  291. package/esm/models/errors/post-v1-search-intelligence-phone.d.ts.map +1 -0
  292. package/esm/models/errors/post-v1-search-intelligence-phone.js +42 -0
  293. package/esm/models/errors/post-v1-search-intelligence-phone.js.map +1 -0
  294. package/esm/models/errors/post-v1-search-intelligence-seon.d.ts +26 -0
  295. package/esm/models/errors/post-v1-search-intelligence-seon.d.ts.map +1 -0
  296. package/esm/models/errors/post-v1-search-intelligence-seon.js +42 -0
  297. package/esm/models/errors/post-v1-search-intelligence-seon.js.map +1 -0
  298. package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts +49 -0
  299. package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
  300. package/esm/models/errors/post-v1-search-intelligence-web-dbs.js +77 -0
  301. package/esm/models/errors/post-v1-search-intelligence-web-dbs.js.map +1 -0
  302. package/esm/models/errors/post-v1-search-socials-discord.d.ts +26 -0
  303. package/esm/models/errors/post-v1-search-socials-discord.d.ts.map +1 -0
  304. package/esm/models/errors/post-v1-search-socials-discord.js +42 -0
  305. package/esm/models/errors/post-v1-search-socials-discord.js.map +1 -0
  306. package/esm/models/errors/post-v1-search-socials-github.d.ts +26 -0
  307. package/esm/models/errors/post-v1-search-socials-github.d.ts.map +1 -0
  308. package/esm/models/errors/post-v1-search-socials-github.js +41 -0
  309. package/esm/models/errors/post-v1-search-socials-github.js.map +1 -0
  310. package/esm/models/errors/post-v1-search-socials-roblox.d.ts +26 -0
  311. package/esm/models/errors/post-v1-search-socials-roblox.d.ts.map +1 -0
  312. package/esm/models/errors/post-v1-search-socials-roblox.js +41 -0
  313. package/esm/models/errors/post-v1-search-socials-roblox.js.map +1 -0
  314. package/esm/models/errors/post-v1-search-socials-tiktok.d.ts +26 -0
  315. package/esm/models/errors/post-v1-search-socials-tiktok.d.ts.map +1 -0
  316. package/esm/models/errors/post-v1-search-socials-tiktok.js +41 -0
  317. package/esm/models/errors/post-v1-search-socials-tiktok.js.map +1 -0
  318. package/esm/models/errors/post-v1-tools-doogle.d.ts +29 -0
  319. package/esm/models/errors/post-v1-tools-doogle.d.ts.map +1 -0
  320. package/esm/models/errors/post-v1-tools-doogle.js +46 -0
  321. package/esm/models/errors/post-v1-tools-doogle.js.map +1 -0
  322. package/esm/models/errors/post-v1-tools-doublecounter.d.ts +26 -0
  323. package/esm/models/errors/post-v1-tools-doublecounter.d.ts.map +1 -0
  324. package/esm/models/errors/post-v1-tools-doublecounter.js +41 -0
  325. package/esm/models/errors/post-v1-tools-doublecounter.js.map +1 -0
  326. package/esm/models/errors/post-v1-tools-intelx.d.ts +49 -0
  327. package/esm/models/errors/post-v1-tools-intelx.d.ts.map +1 -0
  328. package/esm/models/errors/post-v1-tools-intelx.js +75 -0
  329. package/esm/models/errors/post-v1-tools-intelx.js.map +1 -0
  330. package/esm/models/errors/post-v2-search-socials-username.d.ts +26 -0
  331. package/esm/models/errors/post-v2-search-socials-username.d.ts.map +1 -0
  332. package/esm/models/errors/post-v2-search-socials-username.js +42 -0
  333. package/esm/models/errors/post-v2-search-socials-username.js.map +1 -0
  334. package/esm/models/errors/response-validation-error.d.ts +26 -0
  335. package/esm/models/errors/response-validation-error.d.ts.map +1 -0
  336. package/esm/models/errors/response-validation-error.js +37 -0
  337. package/esm/models/errors/response-validation-error.js.map +1 -0
  338. package/esm/models/errors/sdk-validation-error.d.ts +21 -0
  339. package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
  340. package/esm/models/errors/sdk-validation-error.js +52 -0
  341. package/esm/models/errors/sdk-validation-error.js.map +1 -0
  342. package/esm/models/index.d.ts +2 -0
  343. package/esm/models/index.d.ts.map +1 -0
  344. package/esm/models/index.js +5 -0
  345. package/esm/models/index.js.map +1 -0
  346. package/esm/models/operations/delete-v1-activity-by-id.d.ts +15 -0
  347. package/esm/models/operations/delete-v1-activity-by-id.d.ts.map +1 -0
  348. package/esm/models/operations/delete-v1-activity-by-id.js +12 -0
  349. package/esm/models/operations/delete-v1-activity-by-id.js.map +1 -0
  350. package/esm/models/operations/get-v1-activity-by-id.d.ts +105 -0
  351. package/esm/models/operations/get-v1-activity-by-id.d.ts.map +1 -0
  352. package/esm/models/operations/get-v1-activity-by-id.js +107 -0
  353. package/esm/models/operations/get-v1-activity-by-id.js.map +1 -0
  354. package/esm/models/operations/get-v1-activity.d.ts +104 -0
  355. package/esm/models/operations/get-v1-activity.d.ts.map +1 -0
  356. package/esm/models/operations/get-v1-activity.js +108 -0
  357. package/esm/models/operations/get-v1-activity.js.map +1 -0
  358. package/esm/models/operations/get-v1-info.d.ts +136 -0
  359. package/esm/models/operations/get-v1-info.d.ts.map +1 -0
  360. package/esm/models/operations/get-v1-info.js +119 -0
  361. package/esm/models/operations/get-v1-info.js.map +1 -0
  362. package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts +43 -0
  363. package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts.map +1 -0
  364. package/esm/models/operations/get-v1-organizations-by-id-audit-log.js +35 -0
  365. package/esm/models/operations/get-v1-organizations-by-id-audit-log.js.map +1 -0
  366. package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts +38 -0
  367. package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts.map +1 -0
  368. package/esm/models/operations/get-v1-organizations-by-id-cases.js +34 -0
  369. package/esm/models/operations/get-v1-organizations-by-id-cases.js.map +1 -0
  370. package/esm/models/operations/get-v1-organizations-by-id-members.d.ts +39 -0
  371. package/esm/models/operations/get-v1-organizations-by-id-members.d.ts.map +1 -0
  372. package/esm/models/operations/get-v1-organizations-by-id-members.js +35 -0
  373. package/esm/models/operations/get-v1-organizations-by-id-members.js.map +1 -0
  374. package/esm/models/operations/get-v1-organizations-by-id.d.ts +41 -0
  375. package/esm/models/operations/get-v1-organizations-by-id.d.ts.map +1 -0
  376. package/esm/models/operations/get-v1-organizations-by-id.js +37 -0
  377. package/esm/models/operations/get-v1-organizations-by-id.js.map +1 -0
  378. package/esm/models/operations/get-v1-organizations.d.ts +31 -0
  379. package/esm/models/operations/get-v1-organizations.d.ts.map +1 -0
  380. package/esm/models/operations/get-v1-organizations.js +30 -0
  381. package/esm/models/operations/get-v1-organizations.js.map +1 -0
  382. package/esm/models/operations/get-v1-pricing.d.ts +17 -0
  383. package/esm/models/operations/get-v1-pricing.d.ts.map +1 -0
  384. package/esm/models/operations/get-v1-pricing.js +16 -0
  385. package/esm/models/operations/get-v1-pricing.js.map +1 -0
  386. package/esm/models/operations/index.d.ts +36 -0
  387. package/esm/models/operations/index.d.ts.map +1 -0
  388. package/esm/models/operations/index.js +39 -0
  389. package/esm/models/operations/index.js.map +1 -0
  390. package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts +39 -0
  391. package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts.map +1 -0
  392. package/esm/models/operations/post-v1-organizations-by-id-credits.js +32 -0
  393. package/esm/models/operations/post-v1-organizations-by-id-credits.js.map +1 -0
  394. package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts +53 -0
  395. package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
  396. package/esm/models/operations/post-v1-search-infrastructure-certificates.js +78 -0
  397. package/esm/models/operations/post-v1-search-infrastructure-certificates.js.map +1 -0
  398. package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts +194 -0
  399. package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts.map +1 -0
  400. package/esm/models/operations/post-v1-search-infrastructure-dns.js +268 -0
  401. package/esm/models/operations/post-v1-search-infrastructure-dns.js.map +1 -0
  402. package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts +58 -0
  403. package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
  404. package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js +57 -0
  405. package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js.map +1 -0
  406. package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts +28 -0
  407. package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
  408. package/esm/models/operations/post-v1-search-infrastructure-portscan.js +22 -0
  409. package/esm/models/operations/post-v1-search-infrastructure-portscan.js.map +1 -0
  410. package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts +215 -0
  411. package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
  412. package/esm/models/operations/post-v1-search-infrastructure-shodan.js +271 -0
  413. package/esm/models/operations/post-v1-search-infrastructure-shodan.js.map +1 -0
  414. package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts +97 -0
  415. package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts.map +1 -0
  416. package/esm/models/operations/post-v1-search-infrastructure-whois.js +123 -0
  417. package/esm/models/operations/post-v1-search-infrastructure-whois.js.map +1 -0
  418. package/esm/models/operations/post-v1-search-intelligence-address.d.ts +77 -0
  419. package/esm/models/operations/post-v1-search-intelligence-address.d.ts.map +1 -0
  420. package/esm/models/operations/post-v1-search-intelligence-address.js +82 -0
  421. package/esm/models/operations/post-v1-search-intelligence-address.js.map +1 -0
  422. package/esm/models/operations/post-v1-search-intelligence-email.d.ts +39 -0
  423. package/esm/models/operations/post-v1-search-intelligence-email.d.ts.map +1 -0
  424. package/esm/models/operations/post-v1-search-intelligence-email.js +38 -0
  425. package/esm/models/operations/post-v1-search-intelligence-email.js.map +1 -0
  426. package/esm/models/operations/post-v1-search-intelligence-facial.d.ts +12 -0
  427. package/esm/models/operations/post-v1-search-intelligence-facial.d.ts.map +1 -0
  428. package/esm/models/operations/post-v1-search-intelligence-facial.js +12 -0
  429. package/esm/models/operations/post-v1-search-intelligence-facial.js.map +1 -0
  430. package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts +24 -0
  431. package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
  432. package/esm/models/operations/post-v1-search-intelligence-geolocation.js +20 -0
  433. package/esm/models/operations/post-v1-search-intelligence-geolocation.js.map +1 -0
  434. package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts +196 -0
  435. package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts.map +1 -0
  436. package/esm/models/operations/post-v1-search-intelligence-gmail.js +214 -0
  437. package/esm/models/operations/post-v1-search-intelligence-gmail.js.map +1 -0
  438. package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts +265 -0
  439. package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
  440. package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js +355 -0
  441. package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js.map +1 -0
  442. package/esm/models/operations/post-v1-search-intelligence-person.d.ts +74 -0
  443. package/esm/models/operations/post-v1-search-intelligence-person.d.ts.map +1 -0
  444. package/esm/models/operations/post-v1-search-intelligence-person.js +81 -0
  445. package/esm/models/operations/post-v1-search-intelligence-person.js.map +1 -0
  446. package/esm/models/operations/post-v1-search-intelligence-phone.d.ts +111 -0
  447. package/esm/models/operations/post-v1-search-intelligence-phone.d.ts.map +1 -0
  448. package/esm/models/operations/post-v1-search-intelligence-phone.js +154 -0
  449. package/esm/models/operations/post-v1-search-intelligence-phone.js.map +1 -0
  450. package/esm/models/operations/post-v1-search-intelligence-seon.d.ts +413 -0
  451. package/esm/models/operations/post-v1-search-intelligence-seon.d.ts.map +1 -0
  452. package/esm/models/operations/post-v1-search-intelligence-seon.js +598 -0
  453. package/esm/models/operations/post-v1-search-intelligence-seon.js.map +1 -0
  454. package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts +581 -0
  455. package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
  456. package/esm/models/operations/post-v1-search-intelligence-web-dbs.js +736 -0
  457. package/esm/models/operations/post-v1-search-intelligence-web-dbs.js.map +1 -0
  458. package/esm/models/operations/post-v1-search-socials-discord.d.ts +243 -0
  459. package/esm/models/operations/post-v1-search-socials-discord.d.ts.map +1 -0
  460. package/esm/models/operations/post-v1-search-socials-discord.js +264 -0
  461. package/esm/models/operations/post-v1-search-socials-discord.js.map +1 -0
  462. package/esm/models/operations/post-v1-search-socials-github.d.ts +48 -0
  463. package/esm/models/operations/post-v1-search-socials-github.d.ts.map +1 -0
  464. package/esm/models/operations/post-v1-search-socials-github.js +52 -0
  465. package/esm/models/operations/post-v1-search-socials-github.js.map +1 -0
  466. package/esm/models/operations/post-v1-search-socials-roblox.d.ts +119 -0
  467. package/esm/models/operations/post-v1-search-socials-roblox.d.ts.map +1 -0
  468. package/esm/models/operations/post-v1-search-socials-roblox.js +118 -0
  469. package/esm/models/operations/post-v1-search-socials-roblox.js.map +1 -0
  470. package/esm/models/operations/post-v1-search-socials-tiktok.d.ts +389 -0
  471. package/esm/models/operations/post-v1-search-socials-tiktok.d.ts.map +1 -0
  472. package/esm/models/operations/post-v1-search-socials-tiktok.js +617 -0
  473. package/esm/models/operations/post-v1-search-socials-tiktok.js.map +1 -0
  474. package/esm/models/operations/post-v1-tools-doogle.d.ts +97 -0
  475. package/esm/models/operations/post-v1-tools-doogle.d.ts.map +1 -0
  476. package/esm/models/operations/post-v1-tools-doogle.js +103 -0
  477. package/esm/models/operations/post-v1-tools-doogle.js.map +1 -0
  478. package/esm/models/operations/post-v1-tools-doublecounter.d.ts +24 -0
  479. package/esm/models/operations/post-v1-tools-doublecounter.d.ts.map +1 -0
  480. package/esm/models/operations/post-v1-tools-doublecounter.js +22 -0
  481. package/esm/models/operations/post-v1-tools-doublecounter.js.map +1 -0
  482. package/esm/models/operations/post-v1-tools-intelx.d.ts +88 -0
  483. package/esm/models/operations/post-v1-tools-intelx.d.ts.map +1 -0
  484. package/esm/models/operations/post-v1-tools-intelx.js +82 -0
  485. package/esm/models/operations/post-v1-tools-intelx.js.map +1 -0
  486. package/esm/models/operations/post-v2-search-socials-username.d.ts +282 -0
  487. package/esm/models/operations/post-v2-search-socials-username.d.ts.map +1 -0
  488. package/esm/models/operations/post-v2-search-socials-username.js +416 -0
  489. package/esm/models/operations/post-v2-search-socials-username.js.map +1 -0
  490. package/esm/models/security.d.ts +12 -0
  491. package/esm/models/security.d.ts.map +1 -0
  492. package/esm/models/security.js +17 -0
  493. package/esm/models/security.js.map +1 -0
  494. package/esm/sdk/index.d.ts +2 -0
  495. package/esm/sdk/index.d.ts.map +1 -0
  496. package/esm/sdk/index.js +5 -0
  497. package/esm/sdk/index.js.map +1 -0
  498. package/esm/sdk/sdk.d.ts +370 -0
  499. package/esm/sdk/sdk.d.ts.map +1 -0
  500. package/esm/sdk/sdk.js +478 -0
  501. package/esm/sdk/sdk.js.map +1 -0
  502. package/esm/types/async.d.ts +23 -0
  503. package/esm/types/async.d.ts.map +1 -0
  504. package/esm/types/async.js +28 -0
  505. package/esm/types/async.js.map +1 -0
  506. package/esm/types/blobs.d.ts +4 -0
  507. package/esm/types/blobs.d.ts.map +1 -0
  508. package/esm/types/blobs.js +25 -0
  509. package/esm/types/blobs.js.map +1 -0
  510. package/esm/types/const-date-time.d.ts +3 -0
  511. package/esm/types/const-date-time.d.ts.map +1 -0
  512. package/esm/types/const-date-time.js +10 -0
  513. package/esm/types/const-date-time.js.map +1 -0
  514. package/esm/types/default-to-zero-value.d.ts +12 -0
  515. package/esm/types/default-to-zero-value.d.ts.map +1 -0
  516. package/esm/types/default-to-zero-value.js +31 -0
  517. package/esm/types/default-to-zero-value.js.map +1 -0
  518. package/esm/types/enums.d.ts +9 -0
  519. package/esm/types/enums.d.ts.map +1 -0
  520. package/esm/types/enums.js +27 -0
  521. package/esm/types/enums.js.map +1 -0
  522. package/esm/types/fp.d.ts +31 -0
  523. package/esm/types/fp.d.ts.map +1 -0
  524. package/esm/types/fp.js +31 -0
  525. package/esm/types/fp.js.map +1 -0
  526. package/esm/types/index.d.ts +10 -0
  527. package/esm/types/index.d.ts.map +1 -0
  528. package/esm/types/index.js +10 -0
  529. package/esm/types/index.js.map +1 -0
  530. package/esm/types/operations.d.ts +27 -0
  531. package/esm/types/operations.d.ts.map +1 -0
  532. package/esm/types/operations.js +77 -0
  533. package/esm/types/operations.js.map +1 -0
  534. package/esm/types/primitives.d.ts +9 -0
  535. package/esm/types/primitives.d.ts.map +1 -0
  536. package/esm/types/primitives.js +109 -0
  537. package/esm/types/primitives.js.map +1 -0
  538. package/esm/types/rfcdate.d.ts +21 -0
  539. package/esm/types/rfcdate.d.ts.map +1 -0
  540. package/esm/types/rfcdate.js +43 -0
  541. package/esm/types/rfcdate.js.map +1 -0
  542. package/esm/types/smart-union.d.ts +7 -0
  543. package/esm/types/smart-union.d.ts.map +1 -0
  544. package/esm/types/smart-union.js +117 -0
  545. package/esm/types/smart-union.js.map +1 -0
  546. package/esm/types/streams.d.ts +2 -0
  547. package/esm/types/streams.d.ts.map +1 -0
  548. package/esm/types/streams.js +15 -0
  549. package/esm/types/streams.js.map +1 -0
  550. package/esm/types/unrecognized.d.ts +16 -0
  551. package/esm/types/unrecognized.d.ts.map +1 -0
  552. package/esm/types/unrecognized.js +31 -0
  553. package/esm/types/unrecognized.js.map +1 -0
  554. package/examples/README.md +31 -0
  555. package/examples/getV1Info.example.ts +26 -0
  556. package/examples/node_modules/@esbuild/darwin-arm64/README.md +3 -0
  557. package/examples/node_modules/@types/node/LICENSE +21 -0
  558. package/examples/node_modules/@types/node/README.md +15 -0
  559. package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
  560. package/examples/node_modules/@types/node/assert.d.ts +1062 -0
  561. package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
  562. package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
  563. package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
  564. package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
  565. package/examples/node_modules/@types/node/cluster.d.ts +577 -0
  566. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  567. package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
  568. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  569. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  570. package/examples/node_modules/@types/node/console.d.ts +452 -0
  571. package/examples/node_modules/@types/node/constants.d.ts +21 -0
  572. package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
  573. package/examples/node_modules/@types/node/dgram.d.ts +597 -0
  574. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  575. package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
  576. package/examples/node_modules/@types/node/dns.d.ts +871 -0
  577. package/examples/node_modules/@types/node/domain.d.ts +170 -0
  578. package/examples/node_modules/@types/node/events.d.ts +977 -0
  579. package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
  580. package/examples/node_modules/@types/node/fs.d.ts +4375 -0
  581. package/examples/node_modules/@types/node/globals.d.ts +172 -0
  582. package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  583. package/examples/node_modules/@types/node/http.d.ts +2049 -0
  584. package/examples/node_modules/@types/node/http2.d.ts +2712 -0
  585. package/examples/node_modules/@types/node/https.d.ts +578 -0
  586. package/examples/node_modules/@types/node/index.d.ts +93 -0
  587. package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
  588. package/examples/node_modules/@types/node/module.d.ts +539 -0
  589. package/examples/node_modules/@types/node/net.d.ts +1031 -0
  590. package/examples/node_modules/@types/node/os.d.ts +506 -0
  591. package/examples/node_modules/@types/node/path.d.ts +200 -0
  592. package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
  593. package/examples/node_modules/@types/node/process.d.ts +1961 -0
  594. package/examples/node_modules/@types/node/punycode.d.ts +117 -0
  595. package/examples/node_modules/@types/node/querystring.d.ts +152 -0
  596. package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
  597. package/examples/node_modules/@types/node/readline.d.ts +589 -0
  598. package/examples/node_modules/@types/node/repl.d.ts +430 -0
  599. package/examples/node_modules/@types/node/sea.d.ts +153 -0
  600. package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
  601. package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
  602. package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
  603. package/examples/node_modules/@types/node/stream.d.ts +1698 -0
  604. package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
  605. package/examples/node_modules/@types/node/test.d.ts +1787 -0
  606. package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
  607. package/examples/node_modules/@types/node/timers.d.ts +286 -0
  608. package/examples/node_modules/@types/node/tls.d.ts +1259 -0
  609. package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
  610. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  611. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  612. package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
  613. package/examples/node_modules/@types/node/tty.d.ts +208 -0
  614. package/examples/node_modules/@types/node/url.d.ts +964 -0
  615. package/examples/node_modules/@types/node/util.d.ts +2331 -0
  616. package/examples/node_modules/@types/node/v8.d.ts +809 -0
  617. package/examples/node_modules/@types/node/vm.d.ts +1001 -0
  618. package/examples/node_modules/@types/node/wasi.d.ts +181 -0
  619. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  620. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  621. package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
  622. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  623. package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
  624. package/examples/node_modules/@types/node/zlib.d.ts +598 -0
  625. package/examples/node_modules/dotenv/LICENSE +23 -0
  626. package/examples/node_modules/dotenv/README.md +645 -0
  627. package/examples/node_modules/dotenv/config.d.ts +1 -0
  628. package/examples/node_modules/dotenv/config.js +9 -0
  629. package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
  630. package/examples/node_modules/dotenv/lib/env-options.js +28 -0
  631. package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
  632. package/examples/node_modules/dotenv/lib/main.js +386 -0
  633. package/examples/node_modules/esbuild/LICENSE.md +21 -0
  634. package/examples/node_modules/esbuild/README.md +3 -0
  635. package/examples/node_modules/esbuild/install.js +300 -0
  636. package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
  637. package/examples/node_modules/esbuild/lib/main.js +2532 -0
  638. package/examples/node_modules/fsevents/LICENSE +22 -0
  639. package/examples/node_modules/fsevents/README.md +89 -0
  640. package/examples/node_modules/fsevents/fsevents.d.ts +46 -0
  641. package/examples/node_modules/fsevents/fsevents.js +83 -0
  642. package/examples/node_modules/tsx/LICENSE +21 -0
  643. package/examples/node_modules/tsx/README.md +32 -0
  644. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
  645. package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
  646. package/examples/node_modules/tsx/dist/cli.mjs +55 -0
  647. package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +1 -0
  648. package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
  649. package/examples/node_modules/tsx/dist/esm/index.mjs +1 -0
  650. package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +1 -0
  651. package/examples/node_modules/tsx/dist/index-XurvG3JN.mjs +14 -0
  652. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
  653. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
  654. package/examples/node_modules/tsx/dist/loader.mjs +1 -0
  655. package/examples/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +1 -0
  656. package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +1 -0
  657. package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
  658. package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
  659. package/examples/node_modules/tsx/dist/register-BnTWPeIB.mjs +10 -0
  660. package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +2 -0
  661. package/examples/node_modules/tsx/dist/repl.mjs +3 -0
  662. package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +1 -0
  663. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
  664. package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +1 -0
  665. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
  666. package/examples/node_modules/undici-types/LICENSE +21 -0
  667. package/examples/node_modules/undici-types/README.md +6 -0
  668. package/examples/node_modules/undici-types/agent.d.ts +31 -0
  669. package/examples/node_modules/undici-types/api.d.ts +43 -0
  670. package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
  671. package/examples/node_modules/undici-types/cache.d.ts +36 -0
  672. package/examples/node_modules/undici-types/client.d.ts +108 -0
  673. package/examples/node_modules/undici-types/connector.d.ts +34 -0
  674. package/examples/node_modules/undici-types/content-type.d.ts +21 -0
  675. package/examples/node_modules/undici-types/cookies.d.ts +28 -0
  676. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  677. package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
  678. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  679. package/examples/node_modules/undici-types/errors.d.ts +149 -0
  680. package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
  681. package/examples/node_modules/undici-types/fetch.d.ts +209 -0
  682. package/examples/node_modules/undici-types/file.d.ts +39 -0
  683. package/examples/node_modules/undici-types/filereader.d.ts +54 -0
  684. package/examples/node_modules/undici-types/formdata.d.ts +108 -0
  685. package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  686. package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
  687. package/examples/node_modules/undici-types/handlers.d.ts +15 -0
  688. package/examples/node_modules/undici-types/header.d.ts +4 -0
  689. package/examples/node_modules/undici-types/index.d.ts +71 -0
  690. package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
  691. package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
  692. package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
  693. package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
  694. package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  695. package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
  696. package/examples/node_modules/undici-types/patch.d.ts +33 -0
  697. package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
  698. package/examples/node_modules/undici-types/pool.d.ts +39 -0
  699. package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
  700. package/examples/node_modules/undici-types/readable.d.ts +65 -0
  701. package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
  702. package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
  703. package/examples/node_modules/undici-types/util.d.ts +18 -0
  704. package/examples/node_modules/undici-types/webidl.d.ts +228 -0
  705. package/examples/node_modules/undici-types/websocket.d.ts +150 -0
  706. package/jsr.json +27 -0
  707. package/package.json +59 -0
  708. package/src/core.ts +13 -0
  709. package/src/funcs/delete-v1-activity-by-id.ts +166 -0
  710. package/src/funcs/get-v1-activity-by-id.ts +166 -0
  711. package/src/funcs/get-v1-activity.ts +169 -0
  712. package/src/funcs/get-v1-info.ts +141 -0
  713. package/src/funcs/get-v1-organizations-by-id-audit-log.ts +178 -0
  714. package/src/funcs/get-v1-organizations-by-id-cases.ts +169 -0
  715. package/src/funcs/get-v1-organizations-by-id-members.ts +169 -0
  716. package/src/funcs/get-v1-organizations-by-id.ts +166 -0
  717. package/src/funcs/get-v1-organizations.ts +141 -0
  718. package/src/funcs/get-v1-pricing.ts +141 -0
  719. package/src/funcs/post-v1-organizations-by-id-credits.ts +173 -0
  720. package/src/funcs/post-v1-search-infrastructure-certificates.ts +183 -0
  721. package/src/funcs/post-v1-search-infrastructure-dns.ts +179 -0
  722. package/src/funcs/post-v1-search-infrastructure-ipinfo.ts +182 -0
  723. package/src/funcs/post-v1-search-infrastructure-portscan.ts +322 -0
  724. package/src/funcs/post-v1-search-infrastructure-shodan.ts +182 -0
  725. package/src/funcs/post-v1-search-infrastructure-whois.ts +182 -0
  726. package/src/funcs/post-v1-search-intelligence-address.ts +179 -0
  727. package/src/funcs/post-v1-search-intelligence-email.ts +179 -0
  728. package/src/funcs/post-v1-search-intelligence-facial.ts +216 -0
  729. package/src/funcs/post-v1-search-intelligence-geolocation.ts +216 -0
  730. package/src/funcs/post-v1-search-intelligence-gmail.ts +179 -0
  731. package/src/funcs/post-v1-search-intelligence-hudsonrock.ts +183 -0
  732. package/src/funcs/post-v1-search-intelligence-person.ts +182 -0
  733. package/src/funcs/post-v1-search-intelligence-phone.ts +179 -0
  734. package/src/funcs/post-v1-search-intelligence-seon.ts +179 -0
  735. package/src/funcs/post-v1-search-intelligence-web-dbs.ts +189 -0
  736. package/src/funcs/post-v1-search-socials-discord.ts +179 -0
  737. package/src/funcs/post-v1-search-socials-github.ts +179 -0
  738. package/src/funcs/post-v1-search-socials-roblox.ts +179 -0
  739. package/src/funcs/post-v1-search-socials-tiktok.ts +179 -0
  740. package/src/funcs/post-v1-tools-doogle.ts +173 -0
  741. package/src/funcs/post-v1-tools-doublecounter.ts +176 -0
  742. package/src/funcs/post-v1-tools-intelx.ts +177 -0
  743. package/src/funcs/post-v2-search-socials-username.ts +179 -0
  744. package/src/hooks/hooks.ts +129 -0
  745. package/src/hooks/index.ts +6 -0
  746. package/src/hooks/types.ts +108 -0
  747. package/src/index.ts +9 -0
  748. package/src/lib/base64.ts +39 -0
  749. package/src/lib/config.ts +64 -0
  750. package/src/lib/encodings.ts +529 -0
  751. package/src/lib/env.ts +61 -0
  752. package/src/lib/files.ts +104 -0
  753. package/src/lib/http.ts +323 -0
  754. package/src/lib/logger.ts +9 -0
  755. package/src/lib/matchers.ts +353 -0
  756. package/src/lib/primitives.ts +166 -0
  757. package/src/lib/retries.ts +226 -0
  758. package/src/lib/schemas.ts +94 -0
  759. package/src/lib/sdks.ts +442 -0
  760. package/src/lib/security.ts +275 -0
  761. package/src/lib/url.ts +35 -0
  762. package/src/models/errors/http-client-errors.ts +62 -0
  763. package/src/models/errors/index.ts +33 -0
  764. package/src/models/errors/indicia-default-error.ts +40 -0
  765. package/src/models/errors/indicia-error.ts +35 -0
  766. package/src/models/errors/post-v1-search-infrastructure-certificates.ts +79 -0
  767. package/src/models/errors/post-v1-search-infrastructure-dns.ts +63 -0
  768. package/src/models/errors/post-v1-search-infrastructure-ipinfo.ts +63 -0
  769. package/src/models/errors/post-v1-search-infrastructure-portscan.ts +179 -0
  770. package/src/models/errors/post-v1-search-infrastructure-shodan.ts +63 -0
  771. package/src/models/errors/post-v1-search-infrastructure-whois.ts +63 -0
  772. package/src/models/errors/post-v1-search-intelligence-address.ts +63 -0
  773. package/src/models/errors/post-v1-search-intelligence-email.ts +63 -0
  774. package/src/models/errors/post-v1-search-intelligence-facial.ts +175 -0
  775. package/src/models/errors/post-v1-search-intelligence-geolocation.ts +179 -0
  776. package/src/models/errors/post-v1-search-intelligence-gmail.ts +63 -0
  777. package/src/models/errors/post-v1-search-intelligence-hudsonrock.ts +65 -0
  778. package/src/models/errors/post-v1-search-intelligence-person.ts +63 -0
  779. package/src/models/errors/post-v1-search-intelligence-phone.ts +63 -0
  780. package/src/models/errors/post-v1-search-intelligence-seon.ts +63 -0
  781. package/src/models/errors/post-v1-search-intelligence-web-dbs.ts +119 -0
  782. package/src/models/errors/post-v1-search-socials-discord.ts +63 -0
  783. package/src/models/errors/post-v1-search-socials-github.ts +60 -0
  784. package/src/models/errors/post-v1-search-socials-roblox.ts +60 -0
  785. package/src/models/errors/post-v1-search-socials-tiktok.ts +60 -0
  786. package/src/models/errors/post-v1-tools-doogle.ts +71 -0
  787. package/src/models/errors/post-v1-tools-doublecounter.ts +60 -0
  788. package/src/models/errors/post-v1-tools-intelx.ts +117 -0
  789. package/src/models/errors/post-v2-search-socials-username.ts +63 -0
  790. package/src/models/errors/response-validation-error.ts +50 -0
  791. package/src/models/errors/sdk-validation-error.ts +54 -0
  792. package/src/models/index.ts +5 -0
  793. package/src/models/operations/delete-v1-activity-by-id.ts +35 -0
  794. package/src/models/operations/get-v1-activity-by-id.ts +218 -0
  795. package/src/models/operations/get-v1-activity.ts +218 -0
  796. package/src/models/operations/get-v1-info.ts +230 -0
  797. package/src/models/operations/get-v1-organizations-by-id-audit-log.ts +99 -0
  798. package/src/models/operations/get-v1-organizations-by-id-cases.ts +96 -0
  799. package/src/models/operations/get-v1-organizations-by-id-members.ts +98 -0
  800. package/src/models/operations/get-v1-organizations-by-id.ts +105 -0
  801. package/src/models/operations/get-v1-organizations.ts +79 -0
  802. package/src/models/operations/get-v1-pricing.ts +38 -0
  803. package/src/models/operations/index.ts +39 -0
  804. package/src/models/operations/post-v1-organizations-by-id-credits.ts +102 -0
  805. package/src/models/operations/post-v1-search-infrastructure-certificates.ts +189 -0
  806. package/src/models/operations/post-v1-search-infrastructure-dns.ts +609 -0
  807. package/src/models/operations/post-v1-search-infrastructure-ipinfo.ts +147 -0
  808. package/src/models/operations/post-v1-search-infrastructure-portscan.ts +62 -0
  809. package/src/models/operations/post-v1-search-infrastructure-shodan.ts +647 -0
  810. package/src/models/operations/post-v1-search-infrastructure-whois.ts +313 -0
  811. package/src/models/operations/post-v1-search-intelligence-address.ts +217 -0
  812. package/src/models/operations/post-v1-search-intelligence-email.ts +104 -0
  813. package/src/models/operations/post-v1-search-intelligence-facial.ts +33 -0
  814. package/src/models/operations/post-v1-search-intelligence-geolocation.ts +50 -0
  815. package/src/models/operations/post-v1-search-intelligence-gmail.ts +565 -0
  816. package/src/models/operations/post-v1-search-intelligence-hudsonrock.ts +882 -0
  817. package/src/models/operations/post-v1-search-intelligence-person.ts +206 -0
  818. package/src/models/operations/post-v1-search-intelligence-phone.ts +366 -0
  819. package/src/models/operations/post-v1-search-intelligence-seon.ts +1384 -0
  820. package/src/models/operations/post-v1-search-intelligence-web-dbs.ts +1652 -0
  821. package/src/models/operations/post-v1-search-socials-discord.ts +678 -0
  822. package/src/models/operations/post-v1-search-socials-github.ts +127 -0
  823. package/src/models/operations/post-v1-search-socials-roblox.ts +312 -0
  824. package/src/models/operations/post-v1-search-socials-tiktok.ts +1449 -0
  825. package/src/models/operations/post-v1-tools-doogle.ts +282 -0
  826. package/src/models/operations/post-v1-tools-doublecounter.ts +63 -0
  827. package/src/models/operations/post-v1-tools-intelx.ts +157 -0
  828. package/src/models/operations/post-v2-search-socials-username.ts +870 -0
  829. package/src/models/security.ts +34 -0
  830. package/src/sdk/index.ts +5 -0
  831. package/src/sdk/sdk.ts +753 -0
  832. package/src/types/async.ts +69 -0
  833. package/src/types/blobs.ts +33 -0
  834. package/src/types/const-date-time.ts +15 -0
  835. package/src/types/default-to-zero-value.ts +33 -0
  836. package/src/types/enums.ts +45 -0
  837. package/src/types/fp.ts +50 -0
  838. package/src/types/index.ts +13 -0
  839. package/src/types/operations.ts +105 -0
  840. package/src/types/primitives.ts +140 -0
  841. package/src/types/rfcdate.ts +54 -0
  842. package/src/types/smart-union.ts +153 -0
  843. package/src/types/streams.ts +21 -0
  844. package/src/types/unrecognized.ts +35 -0
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env node
2
+ var Rn=Object.defineProperty;var a=(t,e)=>Rn(t,"name",{value:e,configurable:!0});import{constants as lt}from"node:os";import bn from"tty";import{transformSync as vn}from"esbuild";import{v as Sn}from"./package-Bj47PlGH.mjs";import{r as Ie,g as Bn,i as $n}from"./get-pipe-path-_tAJyU_v.mjs";import{pathToFileURL as Tn,fileURLToPath as xn}from"node:url";import On from"child_process";import z from"path";import De from"fs";import{i as mu,a as Nn,t as Hn}from"./node-features-B9BBLzwu.mjs";import Pn from"node:path";import Ln from"events";import ge from"util";import In from"stream";import _u from"os";import{g as kn,l as Mn,e as Gn,f as Wn,y as me}from"./index-gbaejti9.mjs";import jn from"node:net";import ct from"node:fs";import{t as Un}from"./temporary-directory-BDDVQOvU.mjs";import"module";const Kn="known-flag",Vn="unknown-flag",zn="argument",{stringify:_e}=JSON,Yn=/\B([A-Z])/g,qn=a(t=>t.replace(Yn,"-$1").toLowerCase(),"v$1"),{hasOwnProperty:Xn}=Object.prototype,Ae=a((t,e)=>Xn.call(t,e),"w$2"),Qn=a(t=>Array.isArray(t),"L$2"),Au=a(t=>typeof t=="function"?[t,!1]:Qn(t)?[t[0],!0]:Au(t.type),"b$2"),Zn=a((t,e)=>t===Boolean?e!=="false":e,"d$2"),Jn=a((t,e)=>typeof e=="boolean"?e:t===Number&&e===""?Number.NaN:t(e),"m$1"),er=/[\s.:=]/,tr=a(t=>{const e=`Flag name ${_e(t)}`;if(t.length===0)throw new Error(`${e} cannot be empty`);if(t.length===1)throw new Error(`${e} must be longer than a character`);const u=t.match(er);if(u)throw new Error(`${e} cannot contain ${_e(u?.[0])}`)},"B"),ur=a(t=>{const e={},u=a((s,n)=>{if(Ae(e,s))throw new Error(`Duplicate flags named ${_e(s)}`);e[s]=n},"r");for(const s in t){if(!Ae(t,s))continue;tr(s);const n=t[s],r=[[],...Au(n),n];u(s,r);const i=qn(s);if(s!==i&&u(i,r),"alias"in n&&typeof n.alias=="string"){const{alias:D}=n,o=`Flag alias ${_e(D)} for flag ${_e(s)}`;if(D.length===0)throw new Error(`${o} cannot be empty`);if(D.length>1)throw new Error(`${o} must be a single character`);u(D,r)}}return e},"K$1"),sr=a((t,e)=>{const u={};for(const s in t){if(!Ae(t,s))continue;const[n,,r,i]=e[s];if(n.length===0&&"default"in i){let{default:D}=i;typeof D=="function"&&(D=D()),u[s]=D}else u[s]=r?n:n.pop()}return u},"_$2"),ke="--",nr=/[.:=]/,rr=/^-{1,2}\w/,ir=a(t=>{if(!rr.test(t))return;const e=!t.startsWith(ke);let u=t.slice(e?1:2),s;const n=u.match(nr);if(n){const{index:r}=n;s=u.slice(r+1),u=u.slice(0,r)}return[u,s,e]},"N"),Dr=a((t,{onFlag:e,onArgument:u})=>{let s;const n=a((r,i)=>{if(typeof s!="function")return!0;s(r,i),s=void 0},"o");for(let r=0;r<t.length;r+=1){const i=t[r];if(i===ke){n();const o=t.slice(r+1);u?.(o,[r],!0);break}const D=ir(i);if(D){if(n(),!e)continue;const[o,c,f]=D;if(f)for(let h=0;h<o.length;h+=1){n();const l=h===o.length-1;s=e(o[h],l?c:void 0,[r,h+1,l])}else s=e(o,c,[r])}else n(i,[r])&&u?.([i],[r])}n()},"$$1"),or=a((t,e)=>{for(const[u,s,n]of e.reverse()){if(s){const r=t[u];let i=r.slice(0,s);if(n||(i+=r.slice(s+1)),i!=="-"){t[u]=i;continue}}t.splice(u,1)}},"E"),yu=a((t,e=process.argv.slice(2),{ignore:u}={})=>{const s=[],n=ur(t),r={},i=[];return i[ke]=[],Dr(e,{onFlag(D,o,c){const f=Ae(n,D);if(!u?.(f?Kn:Vn,D,o)){if(f){const[h,l]=n[D],p=Zn(l,o),C=a((g,y)=>{s.push(c),y&&s.push(y),h.push(Jn(l,g||""))},"p");return p===void 0?C:C(p)}Ae(r,D)||(r[D]=[]),r[D].push(o===void 0?!0:o),s.push(c)}},onArgument(D,o,c){u?.(zn,e[o[0]])||(i.push(...D),c?(i[ke]=D,e.splice(o[0])):s.push(o))}}),or(e,s),{flags:sr(t,n),unknownFlags:r,_:i}},"U$2");var ar=Object.create,Me=Object.defineProperty,lr=Object.defineProperties,cr=Object.getOwnPropertyDescriptor,fr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertyNames,wu=Object.getOwnPropertySymbols,dr=Object.getPrototypeOf,Ru=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,bu=a((t,e,u)=>e in t?Me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):t[e]=u,"W$1"),Ge=a((t,e)=>{for(var u in e||(e={}))Ru.call(e,u)&&bu(t,u,e[u]);if(wu)for(var u of wu(e))Er.call(e,u)&&bu(t,u,e[u]);return t},"p"),ft=a((t,e)=>lr(t,fr(e)),"c"),pr=a(t=>Me(t,"__esModule",{value:!0}),"nD"),Cr=a((t,e)=>()=>(t&&(e=t(t=0)),e),"rD"),Fr=a((t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),"iD"),gr=a((t,e,u,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of hr(e))!Ru.call(t,n)&&n!=="default"&&Me(t,n,{get:a(()=>e[n],"get"),enumerable:!(s=cr(e,n))||s.enumerable});return t},"oD"),mr=a((t,e)=>gr(pr(Me(t!=null?ar(dr(t)):{},"default",{value:t,enumerable:!0})),t),"BD"),K=Cr(()=>{}),_r=Fr((t,e)=>{K(),e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});K(),K(),K();var Ar=a(t=>{var e,u,s;let n=(e=process.stdout.columns)!=null?e:Number.POSITIVE_INFINITY;return typeof t=="function"&&(t=t(n)),t||(t={}),Array.isArray(t)?{columns:t,stdoutColumns:n}:{columns:(u=t.columns)!=null?u:[],stdoutColumns:(s=t.stdoutColumns)!=null?s:n}},"v");K(),K(),K(),K(),K();function yr({onlyFirst:t=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}a(yr,"w$1");function vu(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(yr(),"")}a(vu,"d$1"),K();function wr(t){return Number.isInteger(t)?t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141):!1}a(wr,"y$1");var Rr=mr(_r());function oe(t){if(typeof t!="string"||t.length===0||(t=vu(t),t.length===0))return 0;t=t.replace((0,Rr.default)()," ");let e=0;for(let u=0;u<t.length;u++){let s=t.codePointAt(u);s<=31||s>=127&&s<=159||s>=768&&s<=879||(s>65535&&u++,e+=wr(s)?2:1)}return e}a(oe,"g");var Su=a(t=>Math.max(...t.split(`
3
+ `).map(oe)),"b$1"),br=a(t=>{let e=[];for(let u of t){let{length:s}=u,n=s-e.length;for(let r=0;r<n;r+=1)e.push(0);for(let r=0;r<s;r+=1){let i=Su(u[r]);i>e[r]&&(e[r]=i)}}return e},"k$1");K();var Bu=/^\d+%$/,$u={width:"auto",align:"left",contentWidth:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,horizontalPadding:0,paddingLeftString:"",paddingRightString:""},vr=a((t,e)=>{var u;let s=[];for(let n=0;n<t.length;n+=1){let r=(u=e[n])!=null?u:"auto";if(typeof r=="number"||r==="auto"||r==="content-width"||typeof r=="string"&&Bu.test(r)){s.push(ft(Ge({},$u),{width:r,contentWidth:t[n]}));continue}if(r&&typeof r=="object"){let i=ft(Ge(Ge({},$u),r),{contentWidth:t[n]});i.horizontalPadding=i.paddingLeft+i.paddingRight,s.push(i);continue}throw new Error(`Invalid column width: ${JSON.stringify(r)}`)}return s},"sD");function Sr(t,e){for(let u of t){let{width:s}=u;if(s==="content-width"&&(u.width=u.contentWidth),s==="auto"){let o=Math.min(20,u.contentWidth);u.width=o,u.autoOverflow=u.contentWidth-o}if(typeof s=="string"&&Bu.test(s)){let o=Number.parseFloat(s.slice(0,-1))/100;u.width=Math.floor(e*o)-(u.paddingLeft+u.paddingRight)}let{horizontalPadding:n}=u,r=1,i=r+n;if(i>=e){let o=i-e,c=Math.ceil(u.paddingLeft/n*o),f=o-c;u.paddingLeft-=c,u.paddingRight-=f,u.horizontalPadding=u.paddingLeft+u.paddingRight}u.paddingLeftString=u.paddingLeft?" ".repeat(u.paddingLeft):"",u.paddingRightString=u.paddingRight?" ".repeat(u.paddingRight):"";let D=e-u.horizontalPadding;u.width=Math.max(Math.min(u.width,D),r)}}a(Sr,"aD");var Tu=a(()=>Object.assign([],{columns:0}),"G$1");function Br(t,e){let u=[Tu()],[s]=u;for(let n of t){let r=n.width+n.horizontalPadding;s.columns+r>e&&(s=Tu(),u.push(s)),s.push(n),s.columns+=r}for(let n of u){let r=n.reduce((l,p)=>l+p.width+p.horizontalPadding,0),i=e-r;if(i===0)continue;let D=n.filter(l=>"autoOverflow"in l),o=D.filter(l=>l.autoOverflow>0),c=o.reduce((l,p)=>l+p.autoOverflow,0),f=Math.min(c,i);for(let l of o){let p=Math.floor(l.autoOverflow/c*f);l.width+=p,i-=p}let h=Math.floor(i/D.length);for(let l=0;l<D.length;l+=1){let p=D[l];l===D.length-1?p.width+=i:p.width+=h,i-=h}}return u}a(Br,"lD");function $r(t,e,u){let s=vr(u,e);return Sr(s,t),Br(s,t)}a($r,"Z$1"),K(),K(),K();var ht=10,xu=a((t=0)=>e=>`\x1B[${e+t}m`,"U$1"),Ou=a((t=0)=>e=>`\x1B[${38+t};5;${e}m`,"V$1"),Nu=a((t=0)=>(e,u,s)=>`\x1B[${38+t};2;${e};${u};${s}m`,"Y");function Tr(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[u,s]of Object.entries(e)){for(let[n,r]of Object.entries(s))e[n]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},s[n]=e[n],t.set(r[0],r[1]);Object.defineProperty(e,u,{value:s,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi=xu(),e.color.ansi256=Ou(),e.color.ansi16m=Nu(),e.bgColor.ansi=xu(ht),e.bgColor.ansi256=Ou(ht),e.bgColor.ansi16m=Nu(ht),Object.defineProperties(e,{rgbToAnsi256:{value:a((u,s,n)=>u===s&&s===n?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(s/255*5)+Math.round(n/255*5),"value"),enumerable:!1},hexToRgb:{value:a(u=>{let s=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!s)return[0,0,0];let{colorString:n}=s.groups;n.length===3&&(n=n.split("").map(i=>i+i).join(""));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},"value"),enumerable:!1},hexToAnsi256:{value:a(u=>e.rgbToAnsi256(...e.hexToRgb(u)),"value"),enumerable:!1},ansi256ToAnsi:{value:a(u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let s,n,r;if(u>=232)s=((u-232)*10+8)/255,n=s,r=s;else{u-=16;let o=u%36;s=Math.floor(u/36)/5,n=Math.floor(o/6)/5,r=o%6/5}let i=Math.max(s,n,r)*2;if(i===0)return 30;let D=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(s));return i===2&&(D+=60),D},"value"),enumerable:!1},rgbToAnsi:{value:a((u,s,n)=>e.ansi256ToAnsi(e.rgbToAnsi256(u,s,n)),"value"),enumerable:!1},hexToAnsi:{value:a(u=>e.ansi256ToAnsi(e.hexToAnsi256(u)),"value"),enumerable:!1}}),e}a(Tr,"AD");var xr=Tr(),Or=xr,We=new Set(["\x1B","\x9B"]),Nr=39,dt="\x07",Hu="[",Hr="]",Pu="m",Et=`${Hr}8;;`,Lu=a(t=>`${We.values().next().value}${Hu}${t}${Pu}`,"J$1"),Iu=a(t=>`${We.values().next().value}${Et}${t}${dt}`,"Q"),Pr=a(t=>t.split(" ").map(e=>oe(e)),"hD"),pt=a((t,e,u)=>{let s=[...e],n=!1,r=!1,i=oe(vu(t[t.length-1]));for(let[D,o]of s.entries()){let c=oe(o);if(i+c<=u?t[t.length-1]+=o:(t.push(o),i=0),We.has(o)&&(n=!0,r=s.slice(D+1).join("").startsWith(Et)),n){r?o===dt&&(n=!1,r=!1):o===Pu&&(n=!1);continue}i+=c,i===u&&D<s.length-1&&(t.push(""),i=0)}!i&&t[t.length-1].length>0&&t.length>1&&(t[t.length-2]+=t.pop())},"S$1"),Lr=a(t=>{let e=t.split(" "),u=e.length;for(;u>0&&!(oe(e[u-1])>0);)u--;return u===e.length?t:e.slice(0,u).join(" ")+e.slice(u).join("")},"cD"),Ir=a((t,e,u={})=>{if(u.trim!==!1&&t.trim()==="")return"";let s="",n,r,i=Pr(t),D=[""];for(let[c,f]of t.split(" ").entries()){u.trim!==!1&&(D[D.length-1]=D[D.length-1].trimStart());let h=oe(D[D.length-1]);if(c!==0&&(h>=e&&(u.wordWrap===!1||u.trim===!1)&&(D.push(""),h=0),(h>0||u.trim===!1)&&(D[D.length-1]+=" ",h++)),u.hard&&i[c]>e){let l=e-h,p=1+Math.floor((i[c]-l-1)/e);Math.floor((i[c]-1)/e)<p&&D.push(""),pt(D,f,e);continue}if(h+i[c]>e&&h>0&&i[c]>0){if(u.wordWrap===!1&&h<e){pt(D,f,e);continue}D.push("")}if(h+i[c]>e&&u.wordWrap===!1){pt(D,f,e);continue}D[D.length-1]+=f}u.trim!==!1&&(D=D.map(c=>Lr(c)));let o=[...D.join(`
4
+ `)];for(let[c,f]of o.entries()){if(s+=f,We.has(f)){let{groups:l}=new RegExp(`(?:\\${Hu}(?<code>\\d+)m|\\${Et}(?<uri>.*)${dt})`).exec(o.slice(c).join(""))||{groups:{}};if(l.code!==void 0){let p=Number.parseFloat(l.code);n=p===Nr?void 0:p}else l.uri!==void 0&&(r=l.uri.length===0?void 0:l.uri)}let h=Or.codes.get(Number(n));o[c+1]===`
5
+ `?(r&&(s+=Iu("")),n&&h&&(s+=Lu(h))):f===`
6
+ `&&(n&&h&&(s+=Lu(n)),r&&(s+=Iu(r)))}return s},"dD");function kr(t,e,u){return String(t).normalize().replace(/\r\n/g,`
7
+ `).split(`
8
+ `).map(s=>Ir(s,e,u)).join(`
9
+ `)}a(kr,"T$1");var ku=a(t=>Array.from({length:t}).fill(""),"X");function Mr(t,e){let u=[],s=0;for(let n of t){let r=0,i=n.map(o=>{var c;let f=(c=e[s])!=null?c:"";s+=1,o.preprocess&&(f=o.preprocess(f)),Su(f)>o.width&&(f=kr(f,o.width,{hard:!0}));let h=f.split(`
10
+ `);if(o.postprocess){let{postprocess:l}=o;h=h.map((p,C)=>l.call(o,p,C))}return o.paddingTop&&h.unshift(...ku(o.paddingTop)),o.paddingBottom&&h.push(...ku(o.paddingBottom)),h.length>r&&(r=h.length),ft(Ge({},o),{lines:h})}),D=[];for(let o=0;o<r;o+=1){let c=i.map(f=>{var h;let l=(h=f.lines[o])!=null?h:"",p=Number.isFinite(f.width)?" ".repeat(f.width-oe(l)):"",C=f.paddingLeftString;return f.align==="right"&&(C+=p),C+=l,f.align==="left"&&(C+=p),C+f.paddingRightString}).join("");D.push(c)}u.push(D.join(`
11
+ `))}return u.join(`
12
+ `)}a(Mr,"P");function Gr(t,e){if(!t||t.length===0)return"";let u=br(t),s=u.length;if(s===0)return"";let{stdoutColumns:n,columns:r}=Ar(e);if(r.length>s)throw new Error(`${r.length} columns defined, but only ${s} columns found`);let i=$r(n,r,u);return t.map(D=>Mr(i,D)).join(`
13
+ `)}a(Gr,"mD"),K();var Wr=["<",">","=",">=","<="];function jr(t){if(!Wr.includes(t))throw new TypeError(`Invalid breakpoint operator: ${t}`)}a(jr,"xD");function Ur(t){let e=Object.keys(t).map(u=>{let[s,n]=u.split(" ");jr(s);let r=Number.parseInt(n,10);if(Number.isNaN(r))throw new TypeError(`Invalid breakpoint value: ${n}`);let i=t[u];return{operator:s,breakpoint:r,value:i}}).sort((u,s)=>s.breakpoint-u.breakpoint);return u=>{var s;return(s=e.find(({operator:n,breakpoint:r})=>n==="="&&u===r||n===">"&&u>r||n==="<"&&u<r||n===">="&&u>=r||n==="<="&&u<=r))==null?void 0:s.value}}a(Ur,"wD");const Kr=a(t=>t.replace(/[\W_]([a-z\d])?/gi,(e,u)=>u?u.toUpperCase():""),"S"),Vr=a(t=>t.replace(/\B([A-Z])/g,"-$1").toLowerCase(),"q"),zr={"> 80":[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"auto"}],"> 40":[{width:"auto",paddingLeft:2,paddingRight:8,preprocess:a(t=>t.trim(),"preprocess")},{width:"100%",paddingLeft:2,paddingBottom:1}],"> 0":{stdoutColumns:1e3,columns:[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"content-width"}]}};function Yr(t){let e=!1;return{type:"table",data:{tableData:Object.keys(t).sort((u,s)=>u.localeCompare(s)).map(u=>{const s=t[u],n="alias"in s;return n&&(e=!0),{name:u,flag:s,flagFormatted:`--${Vr(u)}`,aliasesEnabled:e,aliasFormatted:n?`-${s.alias}`:void 0}}).map(u=>(u.aliasesEnabled=e,[{type:"flagName",data:u},{type:"flagDescription",data:u}])),tableBreakpoints:zr}}}a(Yr,"D");const Mu=a(t=>!t||(t.version??(t.help?t.help.version:void 0)),"A"),Gu=a(t=>{const e="parent"in t&&t.parent?.name;return(e?`${e} `:"")+t.name},"C");function qr(t){const e=[];t.name&&e.push(Gu(t));const u=Mu(t)??("parent"in t&&Mu(t.parent));if(u&&e.push(`v${u}`),e.length!==0)return{id:"name",type:"text",data:`${e.join(" ")}
14
+ `}}a(qr,"R");function Xr(t){const{help:e}=t;if(!(!e||!e.description))return{id:"description",type:"text",data:`${e.description}
15
+ `}}a(Xr,"L");function Qr(t){const e=t.help||{};if("usage"in e)return e.usage?{id:"usage",type:"section",data:{title:"Usage:",body:Array.isArray(e.usage)?e.usage.join(`
16
+ `):e.usage}}:void 0;if(t.name){const u=[],s=[Gu(t)];if(t.flags&&Object.keys(t.flags).length>0&&s.push("[flags...]"),t.parameters&&t.parameters.length>0){const{parameters:n}=t,r=n.indexOf("--"),i=r>-1&&n.slice(r+1).some(D=>D.startsWith("<"));s.push(n.map(D=>D!=="--"?D:i?"--":"[--]").join(" "))}if(s.length>1&&u.push(s.join(" ")),"commands"in t&&t.commands?.length&&u.push(`${t.name} <command>`),u.length>0)return{id:"usage",type:"section",data:{title:"Usage:",body:u.join(`
17
+ `)}}}}a(Qr,"T");function Zr(t){return!("commands"in t)||!t.commands?.length?void 0:{id:"commands",type:"section",data:{title:"Commands:",body:{type:"table",data:{tableData:t.commands.map(e=>[e.options.name,e.options.help?e.options.help.description:""]),tableOptions:[{width:"content-width",paddingLeft:2,paddingRight:8}]}},indentBody:0}}}a(Zr,"_");function Jr(t){if(!(!t.flags||Object.keys(t.flags).length===0))return{id:"flags",type:"section",data:{title:"Flags:",body:Yr(t.flags),indentBody:0}}}a(Jr,"k");function ei(t){const{help:e}=t;if(!e||!e.examples||e.examples.length===0)return;let{examples:u}=e;if(Array.isArray(u)&&(u=u.join(`
18
+ `)),u)return{id:"examples",type:"section",data:{title:"Examples:",body:u}}}a(ei,"F");function ti(t){if(!("alias"in t)||!t.alias)return;const{alias:e}=t;return{id:"aliases",type:"section",data:{title:"Aliases:",body:Array.isArray(e)?e.join(", "):e}}}a(ti,"H");const ui=a(t=>[qr,Xr,Qr,Zr,Jr,ei,ti].map(e=>e(t)).filter(Boolean),"U"),si=bn.WriteStream.prototype.hasColors();class ni{static{a(this,"M")}text(e){return e}bold(e){return si?`\x1B[1m${e}\x1B[22m`:e.toLocaleUpperCase()}indentText({text:e,spaces:u}){return e.replace(/^/gm," ".repeat(u))}heading(e){return this.bold(e)}section({title:e,body:u,indentBody:s=2}){return`${(e?`${this.heading(e)}
19
+ `:"")+(u?this.indentText({text:this.render(u),spaces:s}):"")}
20
+ `}table({tableData:e,tableOptions:u,tableBreakpoints:s}){return Gr(e.map(n=>n.map(r=>this.render(r))),s?Ur(s):u)}flagParameter(e){return e===Boolean?"":e===String?"<string>":e===Number?"<number>":Array.isArray(e)?this.flagParameter(e[0]):"<value>"}flagOperator(e){return" "}flagName(e){const{flag:u,flagFormatted:s,aliasesEnabled:n,aliasFormatted:r}=e;let i="";if(r?i+=`${r}, `:n&&(i+=" "),i+=s,"placeholder"in u&&typeof u.placeholder=="string")i+=`${this.flagOperator(e)}${u.placeholder}`;else{const D=this.flagParameter("type"in u?u.type:u);D&&(i+=`${this.flagOperator(e)}${D}`)}return i}flagDefault(e){return JSON.stringify(e)}flagDescription({flag:e}){let u="description"in e?e.description??"":"";if("default"in e){let{default:s}=e;typeof s=="function"&&(s=s()),s&&(u+=` (default: ${this.flagDefault(s)})`)}return u}render(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(u=>this.render(u)).join(`
21
+ `);if("type"in e&&this[e.type]){const u=this[e.type];if(typeof u=="function")return u.call(this,e.data)}throw new Error(`Invalid node type: ${JSON.stringify(e)}`)}}const Ct=/^[\w.-]+$/,{stringify:ee}=JSON,ri=/[|\\{}()[\]^$+*?.]/;function Ft(t){const e=[];let u,s;for(const n of t){if(s)throw new Error(`Invalid parameter: Spread parameter ${ee(s)} must be last`);const r=n[0],i=n[n.length-1];let D;if(r==="<"&&i===">"&&(D=!0,u))throw new Error(`Invalid parameter: Required parameter ${ee(n)} cannot come after optional parameter ${ee(u)}`);if(r==="["&&i==="]"&&(D=!1,u=n),D===void 0)throw new Error(`Invalid parameter: ${ee(n)}. Must be wrapped in <> (required parameter) or [] (optional parameter)`);let o=n.slice(1,-1);const c=o.slice(-3)==="...";c&&(s=n,o=o.slice(0,-3));const f=o.match(ri);if(f)throw new Error(`Invalid parameter: ${ee(n)}. Invalid character found ${ee(f[0])}`);e.push({name:o,required:D,spread:c})}return e}a(Ft,"w");function gt(t,e,u,s){for(let n=0;n<e.length;n+=1){const{name:r,required:i,spread:D}=e[n],o=Kr(r);if(o in t)throw new Error(`Invalid parameter: ${ee(r)} is used more than once.`);const c=D?u.slice(n):u[n];if(D&&(n=e.length),i&&(!c||D&&c.length===0))return console.error(`Error: Missing required parameter ${ee(r)}
22
+ `),s(),process.exit(1);t[o]=c}}a(gt,"b");function ii(t){return t===void 0||t!==!1}a(ii,"W");function Wu(t,e,u,s){const n={...e.flags},r=e.version;r&&(n.version={type:Boolean,description:"Show version"});const{help:i}=e,D=ii(i);D&&!("help"in n)&&(n.help={type:Boolean,alias:"h",description:"Show help"});const o=yu(n,s,{ignore:e.ignoreArgv}),c=a(()=>{console.log(e.version)},"f");if(r&&o.flags.version===!0)return c(),process.exit(0);const f=new ni,h=D&&i?.render?i.render:C=>f.render(C),l=a(C=>{const g=ui({...e,...C?{help:C}:{},flags:n});console.log(h(g,f))},"u");if(D&&o.flags.help===!0)return l(),process.exit(0);if(e.parameters){let{parameters:C}=e,g=o._;const y=C.indexOf("--"),B=C.slice(y+1),H=Object.create(null);if(y>-1&&B.length>0){C=C.slice(0,y);const $=o._["--"];g=g.slice(0,-$.length||void 0),gt(H,Ft(C),g,l),gt(H,Ft(B),$,l)}else gt(H,Ft(C),g,l);Object.assign(o._,H)}const p={...o,showVersion:c,showHelp:l};return typeof u=="function"&&u(p),{command:t,...p}}a(Wu,"x");function Di(t,e){const u=new Map;for(const s of e){const n=[s.options.name],{alias:r}=s.options;r&&(Array.isArray(r)?n.push(...r):n.push(r));for(const i of n){if(u.has(i))throw new Error(`Duplicate command name found: ${ee(i)}`);u.set(i,s)}}return u.get(t)}a(Di,"z");function ju(t,e,u=process.argv.slice(2)){if(!t)throw new Error("Options is required");if("name"in t&&(!t.name||!Ct.test(t.name)))throw new Error(`Invalid script name: ${ee(t.name)}`);const s=u[0];if(t.commands&&Ct.test(s)){const n=Di(s,t.commands);if(n)return Wu(n.options.name,{...n.options,parent:t},n.callback,u.slice(1))}return Wu(void 0,t,e,u)}a(ju,"Z");function oi(t,e){if(!t)throw new Error("Command options are required");const{name:u}=t;if(t.name===void 0)throw new Error("Command name is required");if(!Ct.test(u))throw new Error(`Invalid command name ${JSON.stringify(u)}. Command names must be one word.`);return{options:t,callback:e}}a(oi,"G");var ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function li(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}a(li,"getDefaultExportFromCjs");var fe={exports:{}},mt,Uu;function ci(){if(Uu)return mt;Uu=1,mt=s,s.sync=n;var t=De;function e(r,i){var D=i.pathExt!==void 0?i.pathExt:process.env.PATHEXT;if(!D||(D=D.split(";"),D.indexOf("")!==-1))return!0;for(var o=0;o<D.length;o++){var c=D[o].toLowerCase();if(c&&r.substr(-c.length).toLowerCase()===c)return!0}return!1}a(e,"checkPathExt");function u(r,i,D){return!r.isSymbolicLink()&&!r.isFile()?!1:e(i,D)}a(u,"checkStat");function s(r,i,D){t.stat(r,function(o,c){D(o,o?!1:u(c,r,i))})}a(s,"isexe");function n(r,i){return u(t.statSync(r),r,i)}return a(n,"sync"),mt}a(ci,"requireWindows");var _t,Ku;function fi(){if(Ku)return _t;Ku=1,_t=e,e.sync=u;var t=De;function e(r,i,D){t.stat(r,function(o,c){D(o,o?!1:s(c,i))})}a(e,"isexe");function u(r,i){return s(t.statSync(r),i)}a(u,"sync");function s(r,i){return r.isFile()&&n(r,i)}a(s,"checkStat");function n(r,i){var D=r.mode,o=r.uid,c=r.gid,f=i.uid!==void 0?i.uid:process.getuid&&process.getuid(),h=i.gid!==void 0?i.gid:process.getgid&&process.getgid(),l=parseInt("100",8),p=parseInt("010",8),C=parseInt("001",8),g=l|p,y=D&C||D&p&&c===h||D&l&&o===f||D&g&&f===0;return y}return a(n,"checkMode"),_t}a(fi,"requireMode");var je;process.platform==="win32"||ai.TESTING_WINDOWS?je=ci():je=fi();var hi=At;At.sync=di;function At(t,e,u){if(typeof e=="function"&&(u=e,e={}),!u){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,n){At(t,e||{},function(r,i){r?n(r):s(i)})})}je(t,e||{},function(s,n){s&&(s.code==="EACCES"||e&&e.ignoreErrors)&&(s=null,n=!1),u(s,n)})}a(At,"isexe$1");function di(t,e){try{return je.sync(t,e||{})}catch(u){if(e&&e.ignoreErrors||u.code==="EACCES")return!1;throw u}}a(di,"sync");const he=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Vu=z,Ei=he?";":":",zu=hi,Yu=a(t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),"getNotFoundError"),qu=a((t,e)=>{const u=e.colon||Ei,s=t.match(/\//)||he&&t.match(/\\/)?[""]:[...he?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(u)],n=he?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=he?n.split(u):[""];return he&&t.indexOf(".")!==-1&&r[0]!==""&&r.unshift(""),{pathEnv:s,pathExt:r,pathExtExe:n}},"getPathInfo"),Xu=a((t,e,u)=>{typeof e=="function"&&(u=e,e={}),e||(e={});const{pathEnv:s,pathExt:n,pathExtExe:r}=qu(t,e),i=[],D=a(c=>new Promise((f,h)=>{if(c===s.length)return e.all&&i.length?f(i):h(Yu(t));const l=s[c],p=/^".*"$/.test(l)?l.slice(1,-1):l,C=Vu.join(p,t),g=!p&&/^\.[\\\/]/.test(t)?t.slice(0,2)+C:C;f(o(g,c,0))}),"step"),o=a((c,f,h)=>new Promise((l,p)=>{if(h===n.length)return l(D(f+1));const C=n[h];zu(c+C,{pathExt:r},(g,y)=>{if(!g&&y)if(e.all)i.push(c+C);else return l(c+C);return l(o(c,f,h+1))})}),"subStep");return u?D(0).then(c=>u(null,c),u):D(0)},"which$1"),pi=a((t,e)=>{e=e||{};const{pathEnv:u,pathExt:s,pathExtExe:n}=qu(t,e),r=[];for(let i=0;i<u.length;i++){const D=u[i],o=/^".*"$/.test(D)?D.slice(1,-1):D,c=Vu.join(o,t),f=!o&&/^\.[\\\/]/.test(t)?t.slice(0,2)+c:c;for(let h=0;h<s.length;h++){const l=f+s[h];try{if(zu.sync(l,{pathExt:n}))if(e.all)r.push(l);else return l}catch{}}}if(e.all&&r.length)return r;if(e.nothrow)return null;throw Yu(t)},"whichSync");var Ci=Xu;Xu.sync=pi;var yt={exports:{}};const Qu=a((t={})=>{const e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"},"pathKey");yt.exports=Qu,yt.exports.default=Qu;var Fi=yt.exports;const Zu=z,gi=Ci,mi=Fi;function Ju(t,e){const u=t.options.env||process.env,s=process.cwd(),n=t.options.cwd!=null,r=n&&process.chdir!==void 0&&!process.chdir.disabled;if(r)try{process.chdir(t.options.cwd)}catch{}let i;try{i=gi.sync(t.command,{path:u[mi({env:u})],pathExt:e?Zu.delimiter:void 0})}catch{}finally{r&&process.chdir(s)}return i&&(i=Zu.resolve(n?t.options.cwd:"",i)),i}a(Ju,"resolveCommandAttempt");function _i(t){return Ju(t)||Ju(t,!0)}a(_i,"resolveCommand$1");var Ai=_i,wt={};const Rt=/([()\][%!^"`<>&|;, *?])/g;function yi(t){return t=t.replace(Rt,"^$1"),t}a(yi,"escapeCommand");function wi(t,e){return t=`${t}`,t=t.replace(/(\\*)"/g,'$1$1\\"'),t=t.replace(/(\\*)$/,"$1$1"),t=`"${t}"`,t=t.replace(Rt,"^$1"),e&&(t=t.replace(Rt,"^$1")),t}a(wi,"escapeArgument"),wt.command=yi,wt.argument=wi;var Ri=/^#!(.*)/;const bi=Ri;var vi=a((t="")=>{const e=t.match(bi);if(!e)return null;const[u,s]=e[0].replace(/#! ?/,"").split(" "),n=u.split("/").pop();return n==="env"?s:s?`${n} ${s}`:n},"shebangCommand$1");const bt=De,Si=vi;function Bi(t){const u=Buffer.alloc(150);let s;try{s=bt.openSync(t,"r"),bt.readSync(s,u,0,150,0),bt.closeSync(s)}catch{}return Si(u.toString())}a(Bi,"readShebang$1");var $i=Bi;const Ti=z,es=Ai,ts=wt,xi=$i,Oi=process.platform==="win32",Ni=/\.(?:com|exe)$/i,Hi=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Pi(t){t.file=es(t);const e=t.file&&xi(t.file);return e?(t.args.unshift(t.file),t.command=e,es(t)):t.file}a(Pi,"detectShebang");function Li(t){if(!Oi)return t;const e=Pi(t),u=!Ni.test(e);if(t.options.forceShell||u){const s=Hi.test(e);t.command=Ti.normalize(t.command),t.command=ts.command(t.command),t.args=t.args.map(r=>ts.argument(r,s));const n=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${n}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}a(Li,"parseNonShell");function Ii(t,e,u){e&&!Array.isArray(e)&&(u=e,e=null),e=e?e.slice(0):[],u=Object.assign({},u);const s={command:t,args:e,options:u,file:void 0,original:{command:t,args:e}};return u.shell?s:Li(s)}a(Ii,"parse$5");var ki=Ii;const vt=process.platform==="win32";function St(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}a(St,"notFoundError");function Mi(t,e){if(!vt)return;const u=t.emit;t.emit=function(s,n){if(s==="exit"){const r=us(n,e);if(r)return u.call(t,"error",r)}return u.apply(t,arguments)}}a(Mi,"hookChildProcess");function us(t,e){return vt&&t===1&&!e.file?St(e.original,"spawn"):null}a(us,"verifyENOENT");function Gi(t,e){return vt&&t===1&&!e.file?St(e.original,"spawnSync"):null}a(Gi,"verifyENOENTSync");var Wi={hookChildProcess:Mi,verifyENOENT:us,verifyENOENTSync:Gi,notFoundError:St};const ss=On,Bt=ki,$t=Wi;function ns(t,e,u){const s=Bt(t,e,u),n=ss.spawn(s.command,s.args,s.options);return $t.hookChildProcess(n,s),n}a(ns,"spawn");function ji(t,e,u){const s=Bt(t,e,u),n=ss.spawnSync(s.command,s.args,s.options);return n.error=n.error||$t.verifyENOENTSync(n.status,s),n}a(ji,"spawnSync"),fe.exports=ns,fe.exports.spawn=ns,fe.exports.sync=ji,fe.exports._parse=Bt,fe.exports._enoent=$t;var Ui=fe.exports,Ki=li(Ui);const rs=a((t,e)=>{const u={...process.env},s=["inherit","inherit","inherit"];process.send&&s.push("ipc"),e&&(e.noCache&&(u.TSX_DISABLE_CACHE="1"),e.tsconfigPath&&(u.TSX_TSCONFIG_PATH=e.tsconfigPath));const n=t.filter(r=>r!=="-i"&&r!=="--interactive").length===0;return Ki(process.execPath,["--require",Ie.resolve("./preflight.cjs"),...n?["--require",Ie.resolve("./patch-repl.cjs")]:[],mu(Nn)?"--import":"--loader",Tn(Ie.resolve("./loader.mjs")).toString(),...t],{stdio:s,env:u})},"run");var Ue={};const Vi=z,te="\\\\/",is=`[^${te}]`,ue="\\.",zi="\\+",Yi="\\?",Ke="\\/",qi="(?=.)",Ds="[^/]",Tt=`(?:${Ke}|$)`,os=`(?:^|${Ke})`,xt=`${ue}{1,2}${Tt}`,Xi=`(?!${ue})`,Qi=`(?!${os}${xt})`,Zi=`(?!${ue}{0,1}${Tt})`,Ji=`(?!${xt})`,eD=`[^.${Ke}]`,tD=`${Ds}*?`,as={DOT_LITERAL:ue,PLUS_LITERAL:zi,QMARK_LITERAL:Yi,SLASH_LITERAL:Ke,ONE_CHAR:qi,QMARK:Ds,END_ANCHOR:Tt,DOTS_SLASH:xt,NO_DOT:Xi,NO_DOTS:Qi,NO_DOT_SLASH:Zi,NO_DOTS_SLASH:Ji,QMARK_NO_DOT:eD,STAR:tD,START_ANCHOR:os},uD={...as,SLASH_LITERAL:`[${te}]`,QMARK:is,STAR:`${is}*?`,DOTS_SLASH:`${ue}{1,2}(?:[${te}]|$)`,NO_DOT:`(?!${ue})`,NO_DOTS:`(?!(?:^|[${te}])${ue}{1,2}(?:[${te}]|$))`,NO_DOT_SLASH:`(?!${ue}{0,1}(?:[${te}]|$))`,NO_DOTS_SLASH:`(?!${ue}{1,2}(?:[${te}]|$))`,QMARK_NO_DOT:`[^.${te}]`,START_ANCHOR:`(?:^|[${te}])`,END_ANCHOR:`(?:[${te}]|$)`},sD={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var Ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:sD,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Vi.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?uD:as}};(function(t){const e=z,u=process.platform==="win32",{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:r,REGEX_SPECIAL_CHARS_GLOBAL:i}=Ve;t.isObject=D=>D!==null&&typeof D=="object"&&!Array.isArray(D),t.hasRegexChars=D=>r.test(D),t.isRegexChar=D=>D.length===1&&t.hasRegexChars(D),t.escapeRegex=D=>D.replace(i,"\\$1"),t.toPosixSlashes=D=>D.replace(s,"/"),t.removeBackslashes=D=>D.replace(n,o=>o==="\\"?"":o),t.supportsLookbehinds=()=>{const D=process.version.slice(1).split(".").map(Number);return D.length===3&&D[0]>=9||D[0]===8&&D[1]>=10},t.isWindows=D=>D&&typeof D.windows=="boolean"?D.windows:u===!0||e.sep==="\\",t.escapeLast=(D,o,c)=>{const f=D.lastIndexOf(o,c);return f===-1?D:D[f-1]==="\\"?t.escapeLast(D,o,f-1):`${D.slice(0,f)}\\${D.slice(f)}`},t.removePrefix=(D,o={})=>{let c=D;return c.startsWith("./")&&(c=c.slice(2),o.prefix="./"),c},t.wrapOutput=(D,o={},c={})=>{const f=c.contains?"":"^",h=c.contains?"":"$";let l=`${f}(?:${D})${h}`;return o.negated===!0&&(l=`(?:^(?!${l}).*$)`),l}})(Ue);const ls=Ue,{CHAR_ASTERISK:Ot,CHAR_AT:nD,CHAR_BACKWARD_SLASH:ye,CHAR_COMMA:rD,CHAR_DOT:Nt,CHAR_EXCLAMATION_MARK:Ht,CHAR_FORWARD_SLASH:cs,CHAR_LEFT_CURLY_BRACE:Pt,CHAR_LEFT_PARENTHESES:Lt,CHAR_LEFT_SQUARE_BRACKET:iD,CHAR_PLUS:DD,CHAR_QUESTION_MARK:fs,CHAR_RIGHT_CURLY_BRACE:oD,CHAR_RIGHT_PARENTHESES:hs,CHAR_RIGHT_SQUARE_BRACKET:aD}=Ve,ds=a(t=>t===cs||t===ye,"isPathSeparator"),Es=a(t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},"depth"),lD=a((t,e)=>{const u=e||{},s=t.length-1,n=u.parts===!0||u.scanToEnd===!0,r=[],i=[],D=[];let o=t,c=-1,f=0,h=0,l=!1,p=!1,C=!1,g=!1,y=!1,B=!1,H=!1,$=!1,Q=!1,G=!1,ne=0,W,A,v={value:"",depth:0,isGlob:!1};const M=a(()=>c>=s,"eos"),F=a(()=>o.charCodeAt(c+1),"peek"),O=a(()=>(W=A,o.charCodeAt(++c)),"advance");for(;c<s;){A=O();let j;if(A===ye){H=v.backslashes=!0,A=O(),A===Pt&&(B=!0);continue}if(B===!0||A===Pt){for(ne++;M()!==!0&&(A=O());){if(A===ye){H=v.backslashes=!0,O();continue}if(A===Pt){ne++;continue}if(B!==!0&&A===Nt&&(A=O())===Nt){if(l=v.isBrace=!0,C=v.isGlob=!0,G=!0,n===!0)continue;break}if(B!==!0&&A===rD){if(l=v.isBrace=!0,C=v.isGlob=!0,G=!0,n===!0)continue;break}if(A===oD&&(ne--,ne===0)){B=!1,l=v.isBrace=!0,G=!0;break}}if(n===!0)continue;break}if(A===cs){if(r.push(c),i.push(v),v={value:"",depth:0,isGlob:!1},G===!0)continue;if(W===Nt&&c===f+1){f+=2;continue}h=c+1;continue}if(u.noext!==!0&&(A===DD||A===nD||A===Ot||A===fs||A===Ht)===!0&&F()===Lt){if(C=v.isGlob=!0,g=v.isExtglob=!0,G=!0,A===Ht&&c===f&&(Q=!0),n===!0){for(;M()!==!0&&(A=O());){if(A===ye){H=v.backslashes=!0,A=O();continue}if(A===hs){C=v.isGlob=!0,G=!0;break}}continue}break}if(A===Ot){if(W===Ot&&(y=v.isGlobstar=!0),C=v.isGlob=!0,G=!0,n===!0)continue;break}if(A===fs){if(C=v.isGlob=!0,G=!0,n===!0)continue;break}if(A===iD){for(;M()!==!0&&(j=O());){if(j===ye){H=v.backslashes=!0,O();continue}if(j===aD){p=v.isBracket=!0,C=v.isGlob=!0,G=!0;break}}if(n===!0)continue;break}if(u.nonegate!==!0&&A===Ht&&c===f){$=v.negated=!0,f++;continue}if(u.noparen!==!0&&A===Lt){if(C=v.isGlob=!0,n===!0){for(;M()!==!0&&(A=O());){if(A===Lt){H=v.backslashes=!0,A=O();continue}if(A===hs){G=!0;break}}continue}break}if(C===!0){if(G=!0,n===!0)continue;break}}u.noext===!0&&(g=!1,C=!1);let T=o,re="",d="";f>0&&(re=o.slice(0,f),o=o.slice(f),h-=f),T&&C===!0&&h>0?(T=o.slice(0,h),d=o.slice(h)):C===!0?(T="",d=o):T=o,T&&T!==""&&T!=="/"&&T!==o&&ds(T.charCodeAt(T.length-1))&&(T=T.slice(0,-1)),u.unescape===!0&&(d&&(d=ls.removeBackslashes(d)),T&&H===!0&&(T=ls.removeBackslashes(T)));const E={prefix:re,input:t,start:f,base:T,glob:d,isBrace:l,isBracket:p,isGlob:C,isExtglob:g,isGlobstar:y,negated:$,negatedExtglob:Q};if(u.tokens===!0&&(E.maxDepth=0,ds(A)||i.push(v),E.tokens=i),u.parts===!0||u.tokens===!0){let j;for(let b=0;b<r.length;b++){const Z=j?j+1:f,J=r[b],V=t.slice(Z,J);u.tokens&&(b===0&&f!==0?(i[b].isPrefix=!0,i[b].value=re):i[b].value=V,Es(i[b]),E.maxDepth+=i[b].depth),(b!==0||V!=="")&&D.push(V),j=J}if(j&&j+1<t.length){const b=t.slice(j+1);D.push(b),u.tokens&&(i[i.length-1].value=b,Es(i[i.length-1]),E.maxDepth+=i[i.length-1].depth)}E.slashes=r,E.parts=D}return E},"scan$1");var cD=lD;const ze=Ve,Y=Ue,{MAX_LENGTH:Ye,POSIX_REGEX_SOURCE:fD,REGEX_NON_SPECIAL_CHARS:hD,REGEX_SPECIAL_CHARS_BACKREF:dD,REPLACEMENTS:ps}=ze,ED=a((t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();const u=`[${t.join("-")}]`;try{new RegExp(u)}catch{return t.map(n=>Y.escapeRegex(n)).join("..")}return u},"expandRange"),de=a((t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,"syntaxError"),It=a((t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=ps[t]||t;const u={...e},s=typeof u.maxLength=="number"?Math.min(Ye,u.maxLength):Ye;let n=t.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);const r={type:"bos",value:"",output:u.prepend||""},i=[r],D=u.capture?"":"?:",o=Y.isWindows(e),c=ze.globChars(o),f=ze.extglobChars(c),{DOT_LITERAL:h,PLUS_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:C,DOTS_SLASH:g,NO_DOT:y,NO_DOT_SLASH:B,NO_DOTS_SLASH:H,QMARK:$,QMARK_NO_DOT:Q,STAR:G,START_ANCHOR:ne}=c,W=a(_=>`(${D}(?:(?!${ne}${_.dot?g:h}).)*?)`,"globstar"),A=u.dot?"":y,v=u.dot?$:Q;let M=u.bash===!0?W(u):G;u.capture&&(M=`(${M})`),typeof u.noext=="boolean"&&(u.noextglob=u.noext);const F={input:t,index:-1,start:0,dot:u.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:i};t=Y.removePrefix(t,F),n=t.length;const O=[],T=[],re=[];let d=r,E;const j=a(()=>F.index===n-1,"eos"),b=F.peek=(_=1)=>t[F.index+_],Z=F.advance=()=>t[++F.index]||"",J=a(()=>t.slice(F.index+1),"remaining"),V=a((_="",x=0)=>{F.consumed+=_,F.index+=x},"consume"),Ne=a(_=>{F.output+=_.output!=null?_.output:_.value,V(_.value)},"append"),yn=a(()=>{let _=1;for(;b()==="!"&&(b(2)!=="("||b(3)==="?");)Z(),F.start++,_++;return _%2===0?!1:(F.negated=!0,F.start++,!0)},"negate"),He=a(_=>{F[_]++,re.push(_)},"increment"),ie=a(_=>{F[_]--,re.pop()},"decrement"),R=a(_=>{if(d.type==="globstar"){const x=F.braces>0&&(_.type==="comma"||_.type==="brace"),m=_.extglob===!0||O.length&&(_.type==="pipe"||_.type==="paren");_.type!=="slash"&&_.type!=="paren"&&!x&&!m&&(F.output=F.output.slice(0,-d.output.length),d.type="star",d.value="*",d.output=M,F.output+=d.output)}if(O.length&&_.type!=="paren"&&(O[O.length-1].inner+=_.value),(_.value||_.output)&&Ne(_),d&&d.type==="text"&&_.type==="text"){d.value+=_.value,d.output=(d.output||"")+_.value;return}_.prev=d,i.push(_),d=_},"push"),Pe=a((_,x)=>{const m={...f[x],conditions:1,inner:""};m.prev=d,m.parens=F.parens,m.output=F.output;const w=(u.capture?"(":"")+m.open;He("parens"),R({type:_,value:x,output:F.output?"":C}),R({type:"paren",extglob:!0,value:Z(),output:w}),O.push(m)},"extglobOpen"),wn=a(_=>{let x=_.close+(u.capture?")":""),m;if(_.type==="negate"){let w=M;if(_.inner&&_.inner.length>1&&_.inner.includes("/")&&(w=W(u)),(w!==M||j()||/^\)+$/.test(J()))&&(x=_.close=`)$))${w}`),_.inner.includes("*")&&(m=J())&&/^\.[^\\/.]+$/.test(m)){const N=It(m,{...e,fastpaths:!1}).output;x=_.close=`)${N})${w})`}_.prev.type==="bos"&&(F.negatedExtglob=!0)}R({type:"paren",extglob:!0,value:E,output:x}),ie("parens")},"extglobClose");if(u.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let _=!1,x=t.replace(dD,(m,w,N,U,L,at)=>U==="\\"?(_=!0,m):U==="?"?w?w+U+(L?$.repeat(L.length):""):at===0?v+(L?$.repeat(L.length):""):$.repeat(N.length):U==="."?h.repeat(N.length):U==="*"?w?w+U+(L?M:""):M:w?m:`\\${m}`);return _===!0&&(u.unescape===!0?x=x.replace(/\\/g,""):x=x.replace(/\\+/g,m=>m.length%2===0?"\\\\":m?"\\":"")),x===t&&u.contains===!0?(F.output=t,F):(F.output=Y.wrapOutput(x,F,e),F)}for(;!j();){if(E=Z(),E==="\0")continue;if(E==="\\"){const m=b();if(m==="/"&&u.bash!==!0||m==="."||m===";")continue;if(!m){E+="\\",R({type:"text",value:E});continue}const w=/^\\+/.exec(J());let N=0;if(w&&w[0].length>2&&(N=w[0].length,F.index+=N,N%2!==0&&(E+="\\")),u.unescape===!0?E=Z():E+=Z(),F.brackets===0){R({type:"text",value:E});continue}}if(F.brackets>0&&(E!=="]"||d.value==="["||d.value==="[^")){if(u.posix!==!1&&E===":"){const m=d.value.slice(1);if(m.includes("[")&&(d.posix=!0,m.includes(":"))){const w=d.value.lastIndexOf("["),N=d.value.slice(0,w),U=d.value.slice(w+2),L=fD[U];if(L){d.value=N+L,F.backtrack=!0,Z(),!r.output&&i.indexOf(d)===1&&(r.output=C);continue}}}(E==="["&&b()!==":"||E==="-"&&b()==="]")&&(E=`\\${E}`),E==="]"&&(d.value==="["||d.value==="[^")&&(E=`\\${E}`),u.posix===!0&&E==="!"&&d.value==="["&&(E="^"),d.value+=E,Ne({value:E});continue}if(F.quotes===1&&E!=='"'){E=Y.escapeRegex(E),d.value+=E,Ne({value:E});continue}if(E==='"'){F.quotes=F.quotes===1?0:1,u.keepQuotes===!0&&R({type:"text",value:E});continue}if(E==="("){He("parens"),R({type:"paren",value:E});continue}if(E===")"){if(F.parens===0&&u.strictBrackets===!0)throw new SyntaxError(de("opening","("));const m=O[O.length-1];if(m&&F.parens===m.parens+1){wn(O.pop());continue}R({type:"paren",value:E,output:F.parens?")":"\\)"}),ie("parens");continue}if(E==="["){if(u.nobracket===!0||!J().includes("]")){if(u.nobracket!==!0&&u.strictBrackets===!0)throw new SyntaxError(de("closing","]"));E=`\\${E}`}else He("brackets");R({type:"bracket",value:E});continue}if(E==="]"){if(u.nobracket===!0||d&&d.type==="bracket"&&d.value.length===1){R({type:"text",value:E,output:`\\${E}`});continue}if(F.brackets===0){if(u.strictBrackets===!0)throw new SyntaxError(de("opening","["));R({type:"text",value:E,output:`\\${E}`});continue}ie("brackets");const m=d.value.slice(1);if(d.posix!==!0&&m[0]==="^"&&!m.includes("/")&&(E=`/${E}`),d.value+=E,Ne({value:E}),u.literalBrackets===!1||Y.hasRegexChars(m))continue;const w=Y.escapeRegex(d.value);if(F.output=F.output.slice(0,-d.value.length),u.literalBrackets===!0){F.output+=w,d.value=w;continue}d.value=`(${D}${w}|${d.value})`,F.output+=d.value;continue}if(E==="{"&&u.nobrace!==!0){He("braces");const m={type:"brace",value:E,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};T.push(m),R(m);continue}if(E==="}"){const m=T[T.length-1];if(u.nobrace===!0||!m){R({type:"text",value:E,output:E});continue}let w=")";if(m.dots===!0){const N=i.slice(),U=[];for(let L=N.length-1;L>=0&&(i.pop(),N[L].type!=="brace");L--)N[L].type!=="dots"&&U.unshift(N[L].value);w=ED(U,u),F.backtrack=!0}if(m.comma!==!0&&m.dots!==!0){const N=F.output.slice(0,m.outputIndex),U=F.tokens.slice(m.tokensIndex);m.value=m.output="\\{",E=w="\\}",F.output=N;for(const L of U)F.output+=L.output||L.value}R({type:"brace",value:E,output:w}),ie("braces"),T.pop();continue}if(E==="|"){O.length>0&&O[O.length-1].conditions++,R({type:"text",value:E});continue}if(E===","){let m=E;const w=T[T.length-1];w&&re[re.length-1]==="braces"&&(w.comma=!0,m="|"),R({type:"comma",value:E,output:m});continue}if(E==="/"){if(d.type==="dot"&&F.index===F.start+1){F.start=F.index+1,F.consumed="",F.output="",i.pop(),d=r;continue}R({type:"slash",value:E,output:p});continue}if(E==="."){if(F.braces>0&&d.type==="dot"){d.value==="."&&(d.output=h);const m=T[T.length-1];d.type="dots",d.output+=E,d.value+=E,m.dots=!0;continue}if(F.braces+F.parens===0&&d.type!=="bos"&&d.type!=="slash"){R({type:"text",value:E,output:h});continue}R({type:"dot",value:E,output:h});continue}if(E==="?"){if(!(d&&d.value==="(")&&u.noextglob!==!0&&b()==="("&&b(2)!=="?"){Pe("qmark",E);continue}if(d&&d.type==="paren"){const w=b();let N=E;if(w==="<"&&!Y.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(d.value==="("&&!/[!=<:]/.test(w)||w==="<"&&!/<([!=]|\w+>)/.test(J()))&&(N=`\\${E}`),R({type:"text",value:E,output:N});continue}if(u.dot!==!0&&(d.type==="slash"||d.type==="bos")){R({type:"qmark",value:E,output:Q});continue}R({type:"qmark",value:E,output:$});continue}if(E==="!"){if(u.noextglob!==!0&&b()==="("&&(b(2)!=="?"||!/[!=<:]/.test(b(3)))){Pe("negate",E);continue}if(u.nonegate!==!0&&F.index===0){yn();continue}}if(E==="+"){if(u.noextglob!==!0&&b()==="("&&b(2)!=="?"){Pe("plus",E);continue}if(d&&d.value==="("||u.regex===!1){R({type:"plus",value:E,output:l});continue}if(d&&(d.type==="bracket"||d.type==="paren"||d.type==="brace")||F.parens>0){R({type:"plus",value:E});continue}R({type:"plus",value:l});continue}if(E==="@"){if(u.noextglob!==!0&&b()==="("&&b(2)!=="?"){R({type:"at",extglob:!0,value:E,output:""});continue}R({type:"text",value:E});continue}if(E!=="*"){(E==="$"||E==="^")&&(E=`\\${E}`);const m=hD.exec(J());m&&(E+=m[0],F.index+=m[0].length),R({type:"text",value:E});continue}if(d&&(d.type==="globstar"||d.star===!0)){d.type="star",d.star=!0,d.value+=E,d.output=M,F.backtrack=!0,F.globstar=!0,V(E);continue}let _=J();if(u.noextglob!==!0&&/^\([^?]/.test(_)){Pe("star",E);continue}if(d.type==="star"){if(u.noglobstar===!0){V(E);continue}const m=d.prev,w=m.prev,N=m.type==="slash"||m.type==="bos",U=w&&(w.type==="star"||w.type==="globstar");if(u.bash===!0&&(!N||_[0]&&_[0]!=="/")){R({type:"star",value:E,output:""});continue}const L=F.braces>0&&(m.type==="comma"||m.type==="brace"),at=O.length&&(m.type==="pipe"||m.type==="paren");if(!N&&m.type!=="paren"&&!L&&!at){R({type:"star",value:E,output:""});continue}for(;_.slice(0,3)==="/**";){const Le=t[F.index+4];if(Le&&Le!=="/")break;_=_.slice(3),V("/**",3)}if(m.type==="bos"&&j()){d.type="globstar",d.value+=E,d.output=W(u),F.output=d.output,F.globstar=!0,V(E);continue}if(m.type==="slash"&&m.prev.type!=="bos"&&!U&&j()){F.output=F.output.slice(0,-(m.output+d.output).length),m.output=`(?:${m.output}`,d.type="globstar",d.output=W(u)+(u.strictSlashes?")":"|$)"),d.value+=E,F.globstar=!0,F.output+=m.output+d.output,V(E);continue}if(m.type==="slash"&&m.prev.type!=="bos"&&_[0]==="/"){const Le=_[1]!==void 0?"|$":"";F.output=F.output.slice(0,-(m.output+d.output).length),m.output=`(?:${m.output}`,d.type="globstar",d.output=`${W(u)}${p}|${p}${Le})`,d.value+=E,F.output+=m.output+d.output,F.globstar=!0,V(E+Z()),R({type:"slash",value:"/",output:""});continue}if(m.type==="bos"&&_[0]==="/"){d.type="globstar",d.value+=E,d.output=`(?:^|${p}|${W(u)}${p})`,F.output=d.output,F.globstar=!0,V(E+Z()),R({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-d.output.length),d.type="globstar",d.output=W(u),d.value+=E,F.output+=d.output,F.globstar=!0,V(E);continue}const x={type:"star",value:E,output:M};if(u.bash===!0){x.output=".*?",(d.type==="bos"||d.type==="slash")&&(x.output=A+x.output),R(x);continue}if(d&&(d.type==="bracket"||d.type==="paren")&&u.regex===!0){x.output=E,R(x);continue}(F.index===F.start||d.type==="slash"||d.type==="dot")&&(d.type==="dot"?(F.output+=B,d.output+=B):u.dot===!0?(F.output+=H,d.output+=H):(F.output+=A,d.output+=A),b()!=="*"&&(F.output+=C,d.output+=C)),R(x)}for(;F.brackets>0;){if(u.strictBrackets===!0)throw new SyntaxError(de("closing","]"));F.output=Y.escapeLast(F.output,"["),ie("brackets")}for(;F.parens>0;){if(u.strictBrackets===!0)throw new SyntaxError(de("closing",")"));F.output=Y.escapeLast(F.output,"("),ie("parens")}for(;F.braces>0;){if(u.strictBrackets===!0)throw new SyntaxError(de("closing","}"));F.output=Y.escapeLast(F.output,"{"),ie("braces")}if(u.strictSlashes!==!0&&(d.type==="star"||d.type==="bracket")&&R({type:"maybe_slash",value:"",output:`${p}?`}),F.backtrack===!0){F.output="";for(const _ of F.tokens)F.output+=_.output!=null?_.output:_.value,_.suffix&&(F.output+=_.suffix)}return F},"parse$3");It.fastpaths=(t,e)=>{const u={...e},s=typeof u.maxLength=="number"?Math.min(Ye,u.maxLength):Ye,n=t.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);t=ps[t]||t;const r=Y.isWindows(e),{DOT_LITERAL:i,SLASH_LITERAL:D,ONE_CHAR:o,DOTS_SLASH:c,NO_DOT:f,NO_DOTS:h,NO_DOTS_SLASH:l,STAR:p,START_ANCHOR:C}=ze.globChars(r),g=u.dot?h:f,y=u.dot?l:f,B=u.capture?"":"?:",H={negated:!1,prefix:""};let $=u.bash===!0?".*?":p;u.capture&&($=`(${$})`);const Q=a(A=>A.noglobstar===!0?$:`(${B}(?:(?!${C}${A.dot?c:i}).)*?)`,"globstar"),G=a(A=>{switch(A){case"*":return`${g}${o}${$}`;case".*":return`${i}${o}${$}`;case"*.*":return`${g}${$}${i}${o}${$}`;case"*/*":return`${g}${$}${D}${o}${y}${$}`;case"**":return g+Q(u);case"**/*":return`(?:${g}${Q(u)}${D})?${y}${o}${$}`;case"**/*.*":return`(?:${g}${Q(u)}${D})?${y}${$}${i}${o}${$}`;case"**/.*":return`(?:${g}${Q(u)}${D})?${i}${o}${$}`;default:{const v=/^(.*?)\.(\w+)$/.exec(A);if(!v)return;const M=G(v[1]);return M?M+i+v[2]:void 0}}},"create"),ne=Y.removePrefix(t,H);let W=G(ne);return W&&u.strictSlashes!==!0&&(W+=`${D}?`),W};var pD=It;const CD=z,FD=cD,kt=pD,Mt=Ue,gD=Ve,mD=a(t=>t&&typeof t=="object"&&!Array.isArray(t),"isObject$1"),P=a((t,e,u=!1)=>{if(Array.isArray(t)){const f=t.map(l=>P(l,e,u));return a(l=>{for(const p of f){const C=p(l);if(C)return C}return!1},"arrayMatcher")}const s=mD(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!s)throw new TypeError("Expected pattern to be a non-empty string");const n=e||{},r=Mt.isWindows(e),i=s?P.compileRe(t,e):P.makeRe(t,e,!1,!0),D=i.state;delete i.state;let o=a(()=>!1,"isIgnored");if(n.ignore){const f={...e,ignore:null,onMatch:null,onResult:null};o=P(n.ignore,f,u)}const c=a((f,h=!1)=>{const{isMatch:l,match:p,output:C}=P.test(f,i,e,{glob:t,posix:r}),g={glob:t,state:D,regex:i,posix:r,input:f,output:C,match:p,isMatch:l};return typeof n.onResult=="function"&&n.onResult(g),l===!1?(g.isMatch=!1,h?g:!1):o(f)?(typeof n.onIgnore=="function"&&n.onIgnore(g),g.isMatch=!1,h?g:!1):(typeof n.onMatch=="function"&&n.onMatch(g),h?g:!0)},"matcher");return u&&(c.state=D),c},"picomatch$3");P.test=(t,e,u,{glob:s,posix:n}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};const r=u||{},i=r.format||(n?Mt.toPosixSlashes:null);let D=t===s,o=D&&i?i(t):t;return D===!1&&(o=i?i(t):t,D=o===s),(D===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?D=P.matchBase(t,e,u,n):D=e.exec(o)),{isMatch:!!D,match:D,output:o}},P.matchBase=(t,e,u,s=Mt.isWindows(u))=>(e instanceof RegExp?e:P.makeRe(e,u)).test(CD.basename(t)),P.isMatch=(t,e,u)=>P(e,u)(t),P.parse=(t,e)=>Array.isArray(t)?t.map(u=>P.parse(u,e)):kt(t,{...e,fastpaths:!1}),P.scan=(t,e)=>FD(t,e),P.compileRe=(t,e,u=!1,s=!1)=>{if(u===!0)return t.output;const n=e||{},r=n.contains?"":"^",i=n.contains?"":"$";let D=`${r}(?:${t.output})${i}`;t&&t.negated===!0&&(D=`^(?!${D}).*$`);const o=P.toRegex(D,e);return s===!0&&(o.state=t),o},P.makeRe=(t,e={},u=!1,s=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(n.output=kt.fastpaths(t,e)),n.output||(n=kt(t,e)),P.compileRe(n,e,u,s)},P.toRegex=(t,e)=>{try{const u=e||{};return new RegExp(t,u.flags||(u.nocase?"i":""))}catch(u){if(e&&e.debug===!0)throw u;return/$^/}},P.constants=gD;var _D=P,Cs=_D;const we=De,{Readable:AD}=In,Re=z,{promisify:qe}=ge,Gt=Cs,yD=qe(we.readdir),wD=qe(we.stat),Fs=qe(we.lstat),RD=qe(we.realpath),bD="!",gs="READDIRP_RECURSIVE_ERROR",vD=new Set(["ENOENT","EPERM","EACCES","ELOOP",gs]),Wt="files",ms="directories",Xe="files_directories",Qe="all",_s=[Wt,ms,Xe,Qe],SD=a(t=>vD.has(t.code),"isNormalFlowError"),[As,BD]=process.versions.node.split(".").slice(0,2).map(t=>Number.parseInt(t,10)),$D=process.platform==="win32"&&(As>10||As===10&&BD>=5),ys=a(t=>{if(t!==void 0){if(typeof t=="function")return t;if(typeof t=="string"){const e=Gt(t.trim());return u=>e(u.basename)}if(Array.isArray(t)){const e=[],u=[];for(const s of t){const n=s.trim();n.charAt(0)===bD?u.push(Gt(n.slice(1))):e.push(Gt(n))}return u.length>0?e.length>0?s=>e.some(n=>n(s.basename))&&!u.some(n=>n(s.basename)):s=>!u.some(n=>n(s.basename)):s=>e.some(n=>n(s.basename))}}},"normalizeFilter");class ot extends AD{static{a(this,"ReaddirpStream")}static get defaultOptions(){return{root:".",fileFilter:a(e=>!0,"fileFilter"),directoryFilter:a(e=>!0,"directoryFilter"),type:Wt,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const u={...ot.defaultOptions,...e},{root:s,type:n}=u;this._fileFilter=ys(u.fileFilter),this._directoryFilter=ys(u.directoryFilter);const r=u.lstat?Fs:wD;$D?this._stat=i=>r(i,{bigint:!0}):this._stat=r,this._maxDepth=u.depth,this._wantsDir=[ms,Xe,Qe].includes(n),this._wantsFile=[Wt,Xe,Qe].includes(n),this._wantsEverything=n===Qe,this._root=Re.resolve(s),this._isDirent="Dirent"in we&&!u.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(s,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:u,depth:s,files:n=[]}=this.parent||{};if(n.length>0){const r=n.splice(0,e).map(i=>this._formatEntry(i,u));for(const i of await Promise.all(r)){if(this.destroyed)return;const D=await this._getEntryType(i);D==="directory"&&this._directoryFilter(i)?(s<=this._maxDepth&&this.parents.push(this._exploreDir(i.fullPath,s+1)),this._wantsDir&&(this.push(i),e--)):(D==="file"||this._includeAsFile(i))&&this._fileFilter(i)&&this._wantsFile&&(this.push(i),e--)}}else{const r=this.parents.pop();if(!r){this.push(null);break}if(this.parent=await r,this.destroyed)return}}}catch(u){this.destroy(u)}finally{this.reading=!1}}}async _exploreDir(e,u){let s;try{s=await yD(e,this._rdOptions)}catch(n){this._onError(n)}return{files:s,depth:u,path:e}}async _formatEntry(e,u){let s;try{const n=this._isDirent?e.name:e,r=Re.resolve(Re.join(u,n));s={path:Re.relative(this._root,r),fullPath:r,basename:n},s[this._statsProp]=this._isDirent?e:await this._stat(r)}catch(n){this._onError(n)}return s}_onError(e){SD(e)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const u=e&&e[this._statsProp];if(u){if(u.isFile())return"file";if(u.isDirectory())return"directory";if(u&&u.isSymbolicLink()){const s=e.fullPath;try{const n=await RD(s),r=await Fs(n);if(r.isFile())return"file";if(r.isDirectory()){const i=n.length;if(s.startsWith(n)&&s.substr(i,1)===Re.sep){const D=new Error(`Circular symlink detected: "${s}" points to "${n}"`);return D.code=gs,this._onError(D)}return"directory"}}catch(n){this._onError(n)}}}}_includeAsFile(e){const u=e&&e[this._statsProp];return u&&this._wantsEverything&&!u.isDirectory()}}const Ee=a((t,e={})=>{let u=e.entryType||e.type;if(u==="both"&&(u=Xe),u&&(e.type=u),t){if(typeof t!="string")throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(u&&!_s.includes(u))throw new Error(`readdirp: Invalid type passed. Use one of ${_s.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return e.root=t,new ot(e)},"readdirp$1"),TD=a((t,e={})=>new Promise((u,s)=>{const n=[];Ee(t,e).on("data",r=>n.push(r)).on("end",()=>u(n)).on("error",r=>s(r))}),"readdirpPromise");Ee.promise=TD,Ee.ReaddirpStream=ot,Ee.default=Ee;var xD=Ee,jt={exports:{}};/*!
23
+ * normalize-path <https://github.com/jonschlinkert/normalize-path>
24
+ *
25
+ * Copyright (c) 2014-2018, Jon Schlinkert.
26
+ * Released under the MIT License.
27
+ */var ws=a(function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var u=t.length;if(u<=1)return t;var s="";if(u>4&&t[3]==="\\"){var n=t[2];(n==="?"||n===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),s="//")}var r=t.split(/[/\\]+/);return e!==!1&&r[r.length-1]===""&&r.pop(),s+r.join("/")},"normalizePath$2"),OD=jt.exports;Object.defineProperty(OD,"__esModule",{value:!0});const Rs=Cs,ND=ws,bs="!",HD={returnIndex:!1},PD=a(t=>Array.isArray(t)?t:[t],"arrify$1"),LD=a((t,e)=>{if(typeof t=="function")return t;if(typeof t=="string"){const u=Rs(t,e);return s=>t===s||u(s)}return t instanceof RegExp?u=>t.test(u):u=>!1},"createPattern"),vs=a((t,e,u,s)=>{const n=Array.isArray(u),r=n?u[0]:u;if(!n&&typeof r!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));const i=ND(r,!1);for(let o=0;o<e.length;o++){const c=e[o];if(c(i))return s?-1:!1}const D=n&&[i].concat(u.slice(1));for(let o=0;o<t.length;o++){const c=t[o];if(n?c(...D):c(i))return s?o:!0}return s?-1:!1},"matchPatterns"),Ut=a((t,e,u=HD)=>{if(t==null)throw new TypeError("anymatch: specify first argument");const s=typeof u=="boolean"?{returnIndex:u}:u,n=s.returnIndex||!1,r=PD(t),i=r.filter(o=>typeof o=="string"&&o.charAt(0)===bs).map(o=>o.slice(1)).map(o=>Rs(o,s)),D=r.filter(o=>typeof o!="string"||typeof o=="string"&&o.charAt(0)!==bs).map(o=>LD(o,s));return e==null?(o,c=!1)=>vs(D,i,o,typeof c=="boolean"?c:!1):vs(D,i,e,n)},"anymatch$1");Ut.default=Ut,jt.exports=Ut;var ID=jt.exports;/*!
28
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
29
+ *
30
+ * Copyright (c) 2014-2016, Jon Schlinkert.
31
+ * Licensed under the MIT License.
32
+ */var kD=a(function(e){if(typeof e!="string"||e==="")return!1;for(var u;u=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(u[2])return!0;e=e.slice(u.index+u[0].length)}return!1},"isExtglob");/*!
33
+ * is-glob <https://github.com/jonschlinkert/is-glob>
34
+ *
35
+ * Copyright (c) 2014-2017, Jon Schlinkert.
36
+ * Released under the MIT License.
37
+ */var MD=kD,Ss={"{":"}","(":")","[":"]"},GD=a(function(t){if(t[0]==="!")return!0;for(var e=0,u=-2,s=-2,n=-2,r=-2,i=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||s!==-1&&t[e]==="["&&t[e+1]!=="]"&&(s<e&&(s=t.indexOf("]",e)),s>e&&(i===-1||i>s||(i=t.indexOf("\\",e),i===-1||i>s)))||n!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(n=t.indexOf("}",e),n>e&&(i=t.indexOf("\\",e),i===-1||i>n))||r!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(r=t.indexOf(")",e),r>e&&(i=t.indexOf("\\",e),i===-1||i>r))||u!==-1&&t[e]==="("&&t[e+1]!=="|"&&(u<e&&(u=t.indexOf("|",e)),u!==-1&&t[u+1]!==")"&&(r=t.indexOf(")",u),r>u&&(i=t.indexOf("\\",u),i===-1||i>r))))return!0;if(t[e]==="\\"){var D=t[e+1];e+=2;var o=Ss[D];if(o){var c=t.indexOf(o,e);c!==-1&&(e=c+1)}if(t[e]==="!")return!0}else e++}return!1},"strictCheck"),WD=a(function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var u=t[e+1];e+=2;var s=Ss[u];if(s){var n=t.indexOf(s,e);n!==-1&&(e=n+1)}if(t[e]==="!")return!0}else e++}return!1},"relaxedCheck"),Bs=a(function(e,u){if(typeof e!="string"||e==="")return!1;if(MD(e))return!0;var s=GD;return u&&u.strict===!1&&(s=WD),s(e)},"isGlob"),jD=Bs,UD=z.posix.dirname,KD=_u.platform()==="win32",Kt="/",VD=/\\/g,zD=/[\{\[].*[\}\]]$/,YD=/(^|[^\\])([\{\[]|\([^\)]+$)/,qD=/\\([\!\*\?\|\[\]\(\)\{\}])/g,XD=a(function(e,u){var s=Object.assign({flipBackslashes:!0},u);s.flipBackslashes&&KD&&e.indexOf(Kt)<0&&(e=e.replace(VD,Kt)),zD.test(e)&&(e+=Kt),e+="a";do e=UD(e);while(jD(e)||YD.test(e));return e.replace(qD,"$1")},"globParent"),Ze={};(function(t){t.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1,t.find=(e,u)=>e.nodes.find(s=>s.type===u),t.exceedsLimit=(e,u,s=1,n)=>n===!1||!t.isInteger(e)||!t.isInteger(u)?!1:(Number(u)-Number(e))/Number(s)>=n,t.escapeNode=(e,u=0,s)=>{let n=e.nodes[u];n&&(s&&n.type===s||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)},t.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0),t.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1,t.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0,t.reduce=e=>e.reduce((u,s)=>(s.type==="text"&&u.push(s.value),s.type==="range"&&(s.type="text"),u),[]),t.flatten=(...e)=>{const u=[],s=a(n=>{for(let r=0;r<n.length;r++){let i=n[r];Array.isArray(i)?s(i):i!==void 0&&u.push(i)}return u},"flat");return s(e),u}})(Ze);const $s=Ze;var Vt=a((t,e={})=>{let u=a((s,n={})=>{let r=e.escapeInvalid&&$s.isInvalidBrace(n),i=s.invalid===!0&&e.escapeInvalid===!0,D="";if(s.value)return(r||i)&&$s.isOpenOrClose(s)?"\\"+s.value:s.value;if(s.value)return s.value;if(s.nodes)for(let o of s.nodes)D+=u(o);return D},"stringify");return u(t)},"stringify$4");/*!
38
+ * is-number <https://github.com/jonschlinkert/is-number>
39
+ *
40
+ * Copyright (c) 2014-present, Jon Schlinkert.
41
+ * Released under the MIT License.
42
+ */var QD=a(function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1},"isNumber$2");/*!
43
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
44
+ *
45
+ * Copyright (c) 2015-present, Jon Schlinkert.
46
+ * Released under the MIT License.
47
+ */const Ts=QD,ae=a((t,e,u)=>{if(Ts(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(Ts(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...u};typeof s.strictZeros=="boolean"&&(s.relaxZeros=s.strictZeros===!1);let n=String(s.relaxZeros),r=String(s.shorthand),i=String(s.capture),D=String(s.wrap),o=t+":"+e+"="+n+r+i+D;if(ae.cache.hasOwnProperty(o))return ae.cache[o].result;let c=Math.min(t,e),f=Math.max(t,e);if(Math.abs(c-f)===1){let g=t+"|"+e;return s.capture?`(${g})`:s.wrap===!1?g:`(?:${g})`}let h=Ls(t)||Ls(e),l={min:t,max:e,a:c,b:f},p=[],C=[];if(h&&(l.isPadded=h,l.maxLen=String(l.max).length),c<0){let g=f<0?Math.abs(f):1;C=xs(g,Math.abs(c),l,s),c=l.a=0}return f>=0&&(p=xs(c,f,l,s)),l.negatives=C,l.positives=p,l.result=ZD(C,p),s.capture===!0?l.result=`(${l.result})`:s.wrap!==!1&&p.length+C.length>1&&(l.result=`(?:${l.result})`),ae.cache[o]=l,l.result},"toRegexRange$1");function ZD(t,e,u){let s=zt(t,e,"-",!1)||[],n=zt(e,t,"",!1)||[],r=zt(t,e,"-?",!0)||[];return s.concat(r).concat(n).join("|")}a(ZD,"collatePatterns");function JD(t,e){let u=1,s=1,n=Ns(t,u),r=new Set([e]);for(;t<=n&&n<=e;)r.add(n),u+=1,n=Ns(t,u);for(n=Hs(e+1,s)-1;t<n&&n<=e;)r.add(n),s+=1,n=Hs(e+1,s)-1;return r=[...r],r.sort(uo),r}a(JD,"splitToRanges");function eo(t,e,u){if(t===e)return{pattern:t,count:[],digits:0};let s=to(t,e),n=s.length,r="",i=0;for(let D=0;D<n;D++){let[o,c]=s[D];o===c?r+=o:o!=="0"||c!=="9"?r+=so(o,c):i++}return i&&(r+=u.shorthand===!0?"\\d":"[0-9]"),{pattern:r,count:[i],digits:n}}a(eo,"rangeToPattern");function xs(t,e,u,s){let n=JD(t,e),r=[],i=t,D;for(let o=0;o<n.length;o++){let c=n[o],f=eo(String(i),String(c),s),h="";if(!u.isPadded&&D&&D.pattern===f.pattern){D.count.length>1&&D.count.pop(),D.count.push(f.count[0]),D.string=D.pattern+Ps(D.count),i=c+1;continue}u.isPadded&&(h=no(c,u,s)),f.string=h+f.pattern+Ps(f.count),r.push(f),i=c+1,D=f}return r}a(xs,"splitToPatterns");function zt(t,e,u,s,n){let r=[];for(let i of t){let{string:D}=i;!s&&!Os(e,"string",D)&&r.push(u+D),s&&Os(e,"string",D)&&r.push(u+D)}return r}a(zt,"filterPatterns");function to(t,e){let u=[];for(let s=0;s<t.length;s++)u.push([t[s],e[s]]);return u}a(to,"zip");function uo(t,e){return t>e?1:e>t?-1:0}a(uo,"compare");function Os(t,e,u){return t.some(s=>s[e]===u)}a(Os,"contains");function Ns(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}a(Ns,"countNines");function Hs(t,e){return t-t%Math.pow(10,e)}a(Hs,"countZeros");function Ps(t){let[e=0,u=""]=t;return u||e>1?`{${e+(u?","+u:"")}}`:""}a(Ps,"toQuantifier");function so(t,e,u){return`[${t}${e-t===1?"":"-"}${e}]`}a(so,"toCharacterClass");function Ls(t){return/^-?(0+)\d/.test(t)}a(Ls,"hasPadding");function no(t,e,u){if(!e.isPadded)return t;let s=Math.abs(e.maxLen-String(t).length),n=u.relaxZeros!==!1;switch(s){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${s}}`:`0{${s}}`}}a(no,"padZeros"),ae.cache={},ae.clearCache=()=>ae.cache={};var ro=ae;/*!
48
+ * fill-range <https://github.com/jonschlinkert/fill-range>
49
+ *
50
+ * Copyright (c) 2014-present, Jon Schlinkert.
51
+ * Licensed under the MIT License.
52
+ */const io=ge,Is=ro,ks=a(t=>t!==null&&typeof t=="object"&&!Array.isArray(t),"isObject"),Do=a(t=>e=>t===!0?Number(e):String(e),"transform"),Yt=a(t=>typeof t=="number"||typeof t=="string"&&t!=="","isValidValue"),be=a(t=>Number.isInteger(+t),"isNumber"),qt=a(t=>{let e=`${t}`,u=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++u]==="0";);return u>0},"zeros"),oo=a((t,e,u)=>typeof t=="string"||typeof e=="string"?!0:u.stringify===!0,"stringify$3"),ao=a((t,e,u)=>{if(e>0){let s=t[0]==="-"?"-":"";s&&(t=t.slice(1)),t=s+t.padStart(s?e-1:e,"0")}return u===!1?String(t):t},"pad"),Ms=a((t,e)=>{let u=t[0]==="-"?"-":"";for(u&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return u?"-"+t:t},"toMaxLen"),lo=a((t,e)=>{t.negatives.sort((i,D)=>i<D?-1:i>D?1:0),t.positives.sort((i,D)=>i<D?-1:i>D?1:0);let u=e.capture?"":"?:",s="",n="",r;return t.positives.length&&(s=t.positives.join("|")),t.negatives.length&&(n=`-(${u}${t.negatives.join("|")})`),s&&n?r=`${s}|${n}`:r=s||n,e.wrap?`(${u}${r})`:r},"toSequence"),Gs=a((t,e,u,s)=>{if(u)return Is(t,e,{wrap:!1,...s});let n=String.fromCharCode(t);if(t===e)return n;let r=String.fromCharCode(e);return`[${n}-${r}]`},"toRange"),Ws=a((t,e,u)=>{if(Array.isArray(t)){let s=u.wrap===!0,n=u.capture?"":"?:";return s?`(${n}${t.join("|")})`:t.join("|")}return Is(t,e,u)},"toRegex"),js=a((...t)=>new RangeError("Invalid range arguments: "+io.inspect(...t)),"rangeError"),Us=a((t,e,u)=>{if(u.strictRanges===!0)throw js([t,e]);return[]},"invalidRange"),co=a((t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},"invalidStep"),fo=a((t,e,u=1,s={})=>{let n=Number(t),r=Number(e);if(!Number.isInteger(n)||!Number.isInteger(r)){if(s.strictRanges===!0)throw js([t,e]);return[]}n===0&&(n=0),r===0&&(r=0);let i=n>r,D=String(t),o=String(e),c=String(u);u=Math.max(Math.abs(u),1);let f=qt(D)||qt(o)||qt(c),h=f?Math.max(D.length,o.length,c.length):0,l=f===!1&&oo(t,e,s)===!1,p=s.transform||Do(l);if(s.toRegex&&u===1)return Gs(Ms(t,h),Ms(e,h),!0,s);let C={negatives:[],positives:[]},g=a(H=>C[H<0?"negatives":"positives"].push(Math.abs(H)),"push"),y=[],B=0;for(;i?n>=r:n<=r;)s.toRegex===!0&&u>1?g(n):y.push(ao(p(n,B),h,l)),n=i?n-u:n+u,B++;return s.toRegex===!0?u>1?lo(C,s):Ws(y,null,{wrap:!1,...s}):y},"fillNumbers"),ho=a((t,e,u=1,s={})=>{if(!be(t)&&t.length>1||!be(e)&&e.length>1)return Us(t,e,s);let n=s.transform||(l=>String.fromCharCode(l)),r=`${t}`.charCodeAt(0),i=`${e}`.charCodeAt(0),D=r>i,o=Math.min(r,i),c=Math.max(r,i);if(s.toRegex&&u===1)return Gs(o,c,!1,s);let f=[],h=0;for(;D?r>=i:r<=i;)f.push(n(r,h)),r=D?r-u:r+u,h++;return s.toRegex===!0?Ws(f,null,{wrap:!1,options:s}):f},"fillLetters"),Je=a((t,e,u,s={})=>{if(e==null&&Yt(t))return[t];if(!Yt(t)||!Yt(e))return Us(t,e,s);if(typeof u=="function")return Je(t,e,1,{transform:u});if(ks(u))return Je(t,e,0,u);let n={...s};return n.capture===!0&&(n.wrap=!0),u=u||n.step||1,be(u)?be(t)&&be(e)?fo(t,e,u,n):ho(t,e,Math.max(Math.abs(u),1),n):u!=null&&!ks(u)?co(u,n):Je(t,e,1,u)},"fill$2");var Ks=Je;const Eo=Ks,Vs=Ze,po=a((t,e={})=>{let u=a((s,n={})=>{let r=Vs.isInvalidBrace(n),i=s.invalid===!0&&e.escapeInvalid===!0,D=r===!0||i===!0,o=e.escapeInvalid===!0?"\\":"",c="";if(s.isOpen===!0||s.isClose===!0)return o+s.value;if(s.type==="open")return D?o+s.value:"(";if(s.type==="close")return D?o+s.value:")";if(s.type==="comma")return s.prev.type==="comma"?"":D?s.value:"|";if(s.value)return s.value;if(s.nodes&&s.ranges>0){let f=Vs.reduce(s.nodes),h=Eo(...f,{...e,wrap:!1,toRegex:!0});if(h.length!==0)return f.length>1&&h.length>1?`(${h})`:h}if(s.nodes)for(let f of s.nodes)c+=u(f,s);return c},"walk");return u(t)},"compile$1");var Co=po;const Fo=Ks,zs=Vt,pe=Ze,le=a((t="",e="",u=!1)=>{let s=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return u?pe.flatten(e).map(n=>`{${n}}`):e;for(let n of t)if(Array.isArray(n))for(let r of n)s.push(le(r,e,u));else for(let r of e)u===!0&&typeof r=="string"&&(r=`{${r}}`),s.push(Array.isArray(r)?le(n,r,u):n+r);return pe.flatten(s)},"append"),go=a((t,e={})=>{let u=e.rangeLimit===void 0?1e3:e.rangeLimit,s=a((n,r={})=>{n.queue=[];let i=r,D=r.queue;for(;i.type!=="brace"&&i.type!=="root"&&i.parent;)i=i.parent,D=i.queue;if(n.invalid||n.dollar){D.push(le(D.pop(),zs(n,e)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){D.push(le(D.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let h=pe.reduce(n.nodes);if(pe.exceedsLimit(...h,e.step,u))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let l=Fo(...h,e);l.length===0&&(l=zs(n,e)),D.push(le(D.pop(),l)),n.nodes=[];return}let o=pe.encloseBrace(n),c=n.queue,f=n;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,c=f.queue;for(let h=0;h<n.nodes.length;h++){let l=n.nodes[h];if(l.type==="comma"&&n.type==="brace"){h===1&&c.push(""),c.push("");continue}if(l.type==="close"){D.push(le(D.pop(),c,o));continue}if(l.value&&l.type!=="open"){c.push(le(c.pop(),l.value));continue}l.nodes&&s(l,n)}return c},"walk");return pe.flatten(s(t))},"expand$1");var mo=go,_o={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
53
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"};const Ao=Vt,{MAX_LENGTH:Ys,CHAR_BACKSLASH:Xt,CHAR_BACKTICK:yo,CHAR_COMMA:wo,CHAR_DOT:Ro,CHAR_LEFT_PARENTHESES:bo,CHAR_RIGHT_PARENTHESES:vo,CHAR_LEFT_CURLY_BRACE:So,CHAR_RIGHT_CURLY_BRACE:Bo,CHAR_LEFT_SQUARE_BRACKET:qs,CHAR_RIGHT_SQUARE_BRACKET:Xs,CHAR_DOUBLE_QUOTE:$o,CHAR_SINGLE_QUOTE:To,CHAR_NO_BREAK_SPACE:xo,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Oo}=_o,No=a((t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let u=e||{},s=typeof u.maxLength=="number"?Math.min(Ys,u.maxLength):Ys;if(t.length>s)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${s})`);let n={type:"root",input:t,nodes:[]},r=[n],i=n,D=n,o=0,c=t.length,f=0,h=0,l;const p=a(()=>t[f++],"advance"),C=a(g=>{if(g.type==="text"&&D.type==="dot"&&(D.type="text"),D&&D.type==="text"&&g.type==="text"){D.value+=g.value;return}return i.nodes.push(g),g.parent=i,g.prev=D,D=g,g},"push");for(C({type:"bos"});f<c;)if(i=r[r.length-1],l=p(),!(l===Oo||l===xo)){if(l===Xt){C({type:"text",value:(e.keepEscaping?l:"")+p()});continue}if(l===Xs){C({type:"text",value:"\\"+l});continue}if(l===qs){o++;let g;for(;f<c&&(g=p());){if(l+=g,g===qs){o++;continue}if(g===Xt){l+=p();continue}if(g===Xs&&(o--,o===0))break}C({type:"text",value:l});continue}if(l===bo){i=C({type:"paren",nodes:[]}),r.push(i),C({type:"text",value:l});continue}if(l===vo){if(i.type!=="paren"){C({type:"text",value:l});continue}i=r.pop(),C({type:"text",value:l}),i=r[r.length-1];continue}if(l===$o||l===To||l===yo){let g=l,y;for(e.keepQuotes!==!0&&(l="");f<c&&(y=p());){if(y===Xt){l+=y+p();continue}if(y===g){e.keepQuotes===!0&&(l+=y);break}l+=y}C({type:"text",value:l});continue}if(l===So){h++;let y={type:"brace",open:!0,close:!1,dollar:D.value&&D.value.slice(-1)==="$"||i.dollar===!0,depth:h,commas:0,ranges:0,nodes:[]};i=C(y),r.push(i),C({type:"open",value:l});continue}if(l===Bo){if(i.type!=="brace"){C({type:"text",value:l});continue}let g="close";i=r.pop(),i.close=!0,C({type:g,value:l}),h--,i=r[r.length-1];continue}if(l===wo&&h>0){if(i.ranges>0){i.ranges=0;let g=i.nodes.shift();i.nodes=[g,{type:"text",value:Ao(i)}]}C({type:"comma",value:l}),i.commas++;continue}if(l===Ro&&h>0&&i.commas===0){let g=i.nodes;if(h===0||g.length===0){C({type:"text",value:l});continue}if(D.type==="dot"){if(i.range=[],D.value+=l,D.type="range",i.nodes.length!==3&&i.nodes.length!==5){i.invalid=!0,i.ranges=0,D.type="text";continue}i.ranges++,i.args=[];continue}if(D.type==="range"){g.pop();let y=g[g.length-1];y.value+=D.value+l,D=y,i.ranges--;continue}C({type:"dot",value:l});continue}C({type:"text",value:l})}do if(i=r.pop(),i.type!=="root"){i.nodes.forEach(B=>{B.nodes||(B.type==="open"&&(B.isOpen=!0),B.type==="close"&&(B.isClose=!0),B.nodes||(B.type="text"),B.invalid=!0)});let g=r[r.length-1],y=g.nodes.indexOf(i);g.nodes.splice(y,1,...i.nodes)}while(r.length>0);return C({type:"eos"}),n},"parse$1");var Ho=No;const Qs=Vt,Po=Co,Lo=mo,Io=Ho,q=a((t,e={})=>{let u=[];if(Array.isArray(t))for(let s of t){let n=q.create(s,e);Array.isArray(n)?u.push(...n):u.push(n)}else u=[].concat(q.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(u=[...new Set(u)]),u},"braces$1");q.parse=(t,e={})=>Io(t,e),q.stringify=(t,e={})=>Qs(typeof t=="string"?q.parse(t,e):t,e),q.compile=(t,e={})=>(typeof t=="string"&&(t=q.parse(t,e)),Po(t,e)),q.expand=(t,e={})=>{typeof t=="string"&&(t=q.parse(t,e));let u=Lo(t,e);return e.noempty===!0&&(u=u.filter(Boolean)),e.nodupes===!0&&(u=[...new Set(u)]),u},q.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?q.compile(t,e):q.expand(t,e);var ko=q,Mo=["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"],Go=Mo;const Wo=z,jo=Go,Uo=new Set(jo);var Ko=a(t=>Uo.has(Wo.extname(t).slice(1).toLowerCase()),"isBinaryPath$1"),et={};(function(t){const{sep:e}=z,{platform:u}=process,s=_u;t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_FLAG_MUST_SCAN_SUBDIRS=1,t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH=`.${e}`,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=n=>n,t.isWindows=u==="win32",t.isMacos=u==="darwin",t.isLinux=u==="linux",t.isIBMi=s.type()==="OS400"})(et);const se=De,I=z,{promisify:ve}=ge,Vo=Ko,{isWindows:zo,isLinux:Yo,EMPTY_FN:qo,EMPTY_STR:Xo,KEY_LISTENERS:Ce,KEY_ERR:Qt,KEY_RAW:Se,HANDLER_KEYS:Qo,EV_CHANGE:tt,EV_ADD:ut,EV_ADD_DIR:Zo,EV_ERROR:Zs,STR_DATA:Jo,STR_END:ea,BRACE_START:ta,STAR:ua}=et,sa="watch",na=ve(se.open),Js=ve(se.stat),ra=ve(se.lstat),ia=ve(se.close),Zt=ve(se.realpath),Da={lstat:ra,stat:Js},Jt=a((t,e)=>{t instanceof Set?t.forEach(e):e(t)},"foreach"),Be=a((t,e,u)=>{let s=t[e];s instanceof Set||(t[e]=s=new Set([s])),s.add(u)},"addAndConvert"),oa=a(t=>e=>{const u=t[e];u instanceof Set?u.clear():delete t[e]},"clearItem"),$e=a((t,e,u)=>{const s=t[e];s instanceof Set?s.delete(u):s===u&&delete t[e]},"delFromSet"),en=a(t=>t instanceof Set?t.size===0:!t,"isEmptySet"),st=new Map;function tn(t,e,u,s,n){const r=a((i,D)=>{u(t),n(i,D,{watchedPath:t}),D&&t!==D&&nt(I.resolve(t,D),Ce,I.join(t,D))},"handleEvent");try{return se.watch(t,e,r)}catch(i){s(i)}}a(tn,"createFsWatchInstance");const nt=a((t,e,u,s,n)=>{const r=st.get(t);r&&Jt(r[e],i=>{i(u,s,n)})},"fsWatchBroadcast"),aa=a((t,e,u,s)=>{const{listener:n,errHandler:r,rawEmitter:i}=s;let D=st.get(e),o;if(!u.persistent)return o=tn(t,u,n,r,i),o.close.bind(o);if(D)Be(D,Ce,n),Be(D,Qt,r),Be(D,Se,i);else{if(o=tn(t,u,nt.bind(null,e,Ce),r,nt.bind(null,e,Se)),!o)return;o.on(Zs,async c=>{const f=nt.bind(null,e,Qt);if(D.watcherUnusable=!0,zo&&c.code==="EPERM")try{const h=await na(t,"r");await ia(h),f(c)}catch{}else f(c)}),D={listeners:n,errHandlers:r,rawEmitters:i,watcher:o},st.set(e,D)}return()=>{$e(D,Ce,n),$e(D,Qt,r),$e(D,Se,i),en(D.listeners)&&(D.watcher.close(),st.delete(e),Qo.forEach(oa(D)),D.watcher=void 0,Object.freeze(D))}},"setFsWatchListener"),eu=new Map,la=a((t,e,u,s)=>{const{listener:n,rawEmitter:r}=s;let i=eu.get(e);const D=i&&i.options;return D&&(D.persistent<u.persistent||D.interval>u.interval)&&(i.listeners,i.rawEmitters,se.unwatchFile(e),i=void 0),i?(Be(i,Ce,n),Be(i,Se,r)):(i={listeners:n,rawEmitters:r,options:u,watcher:se.watchFile(e,u,(o,c)=>{Jt(i.rawEmitters,h=>{h(tt,e,{curr:o,prev:c})});const f=o.mtimeMs;(o.size!==c.size||f>c.mtimeMs||f===0)&&Jt(i.listeners,h=>h(t,o))})},eu.set(e,i)),()=>{$e(i,Ce,n),$e(i,Se,r),en(i.listeners)&&(eu.delete(e),se.unwatchFile(e),i.options=i.watcher=void 0,Object.freeze(i))}},"setFsWatchFileListener");let ca=class{static{a(this,"NodeFsHandler")}constructor(e){this.fsw=e,this._boundHandleError=u=>e._handleError(u)}_watchWithNodeFs(e,u){const s=this.fsw.options,n=I.dirname(e),r=I.basename(e);this.fsw._getWatchedDir(n).add(r);const D=I.resolve(e),o={persistent:s.persistent};u||(u=qo);let c;return s.usePolling?(o.interval=s.enableBinaryInterval&&Vo(r)?s.binaryInterval:s.interval,c=la(e,D,o,{listener:u,rawEmitter:this.fsw._emitRaw})):c=aa(e,D,o,{listener:u,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),c}_handleFile(e,u,s){if(this.fsw.closed)return;const n=I.dirname(e),r=I.basename(e),i=this.fsw._getWatchedDir(n);let D=u;if(i.has(r))return;const o=a(async(f,h)=>{if(this.fsw._throttle(sa,e,5)){if(!h||h.mtimeMs===0)try{const l=await Js(e);if(this.fsw.closed)return;const p=l.atimeMs,C=l.mtimeMs;(!p||p<=C||C!==D.mtimeMs)&&this.fsw._emit(tt,e,l),Yo&&D.ino!==l.ino?(this.fsw._closeFile(f),D=l,this.fsw._addPathCloser(f,this._watchWithNodeFs(e,o))):D=l}catch{this.fsw._remove(n,r)}else if(i.has(r)){const l=h.atimeMs,p=h.mtimeMs;(!l||l<=p||p!==D.mtimeMs)&&this.fsw._emit(tt,e,h),D=h}}},"listener"),c=this._watchWithNodeFs(e,o);if(!(s&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(ut,e,0))return;this.fsw._emit(ut,e,u)}return c}async _handleSymlink(e,u,s,n){if(this.fsw.closed)return;const r=e.fullPath,i=this.fsw._getWatchedDir(u);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let D;try{D=await Zt(s)}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(i.has(n)?this.fsw._symlinkPaths.get(r)!==D&&(this.fsw._symlinkPaths.set(r,D),this.fsw._emit(tt,s,e.stats)):(i.add(n),this.fsw._symlinkPaths.set(r,D),this.fsw._emit(ut,s,e.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(r))return!0;this.fsw._symlinkPaths.set(r,!0)}_handleRead(e,u,s,n,r,i,D){if(e=I.join(e,Xo),!s.hasGlob&&(D=this.fsw._throttle("readdir",e,1e3),!D))return;const o=this.fsw._getWatchedDir(s.path),c=new Set;let f=this.fsw._readdirp(e,{fileFilter:a(h=>s.filterPath(h),"fileFilter"),directoryFilter:a(h=>s.filterDir(h),"directoryFilter"),depth:0}).on(Jo,async h=>{if(this.fsw.closed){f=void 0;return}const l=h.path;let p=I.join(e,l);if(c.add(l),!(h.stats.isSymbolicLink()&&await this._handleSymlink(h,e,p,l))){if(this.fsw.closed){f=void 0;return}(l===n||!n&&!o.has(l))&&(this.fsw._incrReadyCount(),p=I.join(r,I.relative(r,p)),this._addToNodeFs(p,u,s,i+1))}}).on(Zs,this._boundHandleError);return new Promise(h=>f.once(ea,()=>{if(this.fsw.closed){f=void 0;return}const l=D?D.clear():!1;h(),o.getChildren().filter(p=>p!==e&&!c.has(p)&&(!s.hasGlob||s.filterPath({fullPath:I.resolve(e,p)}))).forEach(p=>{this.fsw._remove(e,p)}),f=void 0,l&&this._handleRead(e,!1,s,n,r,i,D)}))}async _handleDir(e,u,s,n,r,i,D){const o=this.fsw._getWatchedDir(I.dirname(e)),c=o.has(I.basename(e));!(s&&this.fsw.options.ignoreInitial)&&!r&&!c&&(!i.hasGlob||i.globFilter(e))&&this.fsw._emit(Zo,e,u),o.add(I.basename(e)),this.fsw._getWatchedDir(e);let f,h;const l=this.fsw.options.depth;if((l==null||n<=l)&&!this.fsw._symlinkPaths.has(D)){if(!r&&(await this._handleRead(e,s,i,r,e,n,f),this.fsw.closed))return;h=this._watchWithNodeFs(e,(p,C)=>{C&&C.mtimeMs===0||this._handleRead(p,!1,i,r,e,n,f)})}return h}async _addToNodeFs(e,u,s,n,r){const i=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return i(),!1;const D=this.fsw._getWatchHelpers(e,n);!D.hasGlob&&s&&(D.hasGlob=s.hasGlob,D.globFilter=s.globFilter,D.filterPath=o=>s.filterPath(o),D.filterDir=o=>s.filterDir(o));try{const o=await Da[D.statMethod](D.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(D.watchPath,o))return i(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(ua)&&!e.includes(ta);let f;if(o.isDirectory()){const h=I.resolve(e),l=c?await Zt(e):e;if(this.fsw.closed||(f=await this._handleDir(D.watchPath,o,u,n,r,D,l),this.fsw.closed))return;h!==l&&l!==void 0&&this.fsw._symlinkPaths.set(h,l)}else if(o.isSymbolicLink()){const h=c?await Zt(e):e;if(this.fsw.closed)return;const l=I.dirname(D.watchPath);if(this.fsw._getWatchedDir(l).add(D.watchPath),this.fsw._emit(ut,D.watchPath,o),f=await this._handleDir(l,o,u,n,e,D,h),this.fsw.closed)return;h!==void 0&&this.fsw._symlinkPaths.set(I.resolve(e),h)}else f=this._handleFile(D.watchPath,o,u);return i(),this.fsw._addPathCloser(e,f),!1}catch(o){if(this.fsw._handleError(o))return i(),e}}};var fa=ca,tu={exports:{}};const uu=De,k=z,{promisify:su}=ge;let Fe;try{Fe=Ie("fsevents")}catch(t){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(t)}if(Fe){const t=process.version.match(/v(\d+)\.(\d+)/);if(t&&t[1]&&t[2]){const e=Number.parseInt(t[1],10),u=Number.parseInt(t[2],10);e===8&&u<16&&(Fe=void 0)}}const{EV_ADD:nu,EV_CHANGE:ha,EV_ADD_DIR:un,EV_UNLINK:rt,EV_ERROR:da,STR_DATA:Ea,STR_END:pa,FSEVENT_CREATED:Ca,FSEVENT_MODIFIED:Fa,FSEVENT_DELETED:ga,FSEVENT_MOVED:ma,FSEVENT_UNKNOWN:_a,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:Aa,FSEVENT_TYPE_FILE:ya,FSEVENT_TYPE_DIRECTORY:Te,FSEVENT_TYPE_SYMLINK:sn,ROOT_GLOBSTAR:nn,DIR_SUFFIX:wa,DOT_SLASH:rn,FUNCTION_TYPE:ru,EMPTY_FN:Ra,IDENTITY_FN:ba}=et,va=a(t=>isNaN(t)?{}:{depth:t},"Depth"),iu=su(uu.stat),Sa=su(uu.lstat),Dn=su(uu.realpath),Ba={stat:iu,lstat:Sa},ce=new Map,$a=10,Ta=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),xa=a((t,e)=>({stop:Fe.watch(t,e)}),"createFSEventsInstance");function Oa(t,e,u,s){let n=k.extname(e)?k.dirname(e):e;const r=k.dirname(n);let i=ce.get(n);Na(r)&&(n=r);const D=k.resolve(t),o=D!==e,c=a((h,l,p)=>{o&&(h=h.replace(e,D)),(h===D||!h.indexOf(D+k.sep))&&u(h,l,p)},"filteredListener");let f=!1;for(const h of ce.keys())if(e.indexOf(k.resolve(h)+k.sep)===0){n=h,i=ce.get(n),f=!0;break}return i||f?i.listeners.add(c):(i={listeners:new Set([c]),rawEmitter:s,watcher:xa(n,(h,l)=>{if(!i.listeners.size||l&Aa)return;const p=Fe.getInfo(h,l);i.listeners.forEach(C=>{C(h,l,p)}),i.rawEmitter(p.event,h,p)})},ce.set(n,i)),()=>{const h=i.listeners;if(h.delete(c),!h.size&&(ce.delete(n),i.watcher))return i.watcher.stop().then(()=>{i.rawEmitter=i.watcher=void 0,Object.freeze(i)})}}a(Oa,"setFSEventsListener");const Na=a(t=>{let e=0;for(const u of ce.keys())if(u.indexOf(t)===0&&(e++,e>=$a))return!0;return!1},"couldConsolidate"),Ha=a(()=>Fe&&ce.size<128,"canUse"),Du=a((t,e)=>{let u=0;for(;!t.indexOf(e)&&(t=k.dirname(t))!==e;)u++;return u},"calcDepth"),on=a((t,e)=>t.type===Te&&e.isDirectory()||t.type===sn&&e.isSymbolicLink()||t.type===ya&&e.isFile(),"sameTypes");let Pa=class{static{a(this,"FsEventsHandler")}constructor(e){this.fsw=e}checkIgnored(e,u){const s=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,u))return s.add(e),u&&u.isDirectory()&&s.add(e+nn),!0;s.delete(e),s.delete(e+nn)}addOrChange(e,u,s,n,r,i,D,o){const c=r.has(i)?ha:nu;this.handleEvent(c,e,u,s,n,r,i,D,o)}async checkExists(e,u,s,n,r,i,D,o){try{const c=await iu(e);if(this.fsw.closed)return;on(D,c)?this.addOrChange(e,u,s,n,r,i,D,o):this.handleEvent(rt,e,u,s,n,r,i,D,o)}catch(c){c.code==="EACCES"?this.addOrChange(e,u,s,n,r,i,D,o):this.handleEvent(rt,e,u,s,n,r,i,D,o)}}handleEvent(e,u,s,n,r,i,D,o,c){if(!(this.fsw.closed||this.checkIgnored(u)))if(e===rt){const f=o.type===Te;(f||i.has(D))&&this.fsw._remove(r,D,f)}else{if(e===nu){if(o.type===Te&&this.fsw._getWatchedDir(u),o.type===sn&&c.followSymlinks){const h=c.depth===void 0?void 0:Du(s,n)+1;return this._addToFsEvents(u,!1,!0,h)}this.fsw._getWatchedDir(r).add(D)}const f=o.type===Te?e+wa:e;this.fsw._emit(f,u),f===un&&this._addToFsEvents(u,!1,!0)}}_watchWithFsEvents(e,u,s,n){if(this.fsw.closed||this.fsw._isIgnored(e))return;const r=this.fsw.options,D=Oa(e,u,a(async(o,c,f)=>{if(this.fsw.closed||r.depth!==void 0&&Du(o,u)>r.depth)return;const h=s(k.join(e,k.relative(e,o)));if(n&&!n(h))return;const l=k.dirname(h),p=k.basename(h),C=this.fsw._getWatchedDir(f.type===Te?h:l);if(Ta.has(c)||f.event===_a)if(typeof r.ignored===ru){let g;try{g=await iu(h)}catch{}if(this.fsw.closed||this.checkIgnored(h,g))return;on(f,g)?this.addOrChange(h,o,u,l,C,p,f,r):this.handleEvent(rt,h,o,u,l,C,p,f,r)}else this.checkExists(h,o,u,l,C,p,f,r);else switch(f.event){case Ca:case Fa:return this.addOrChange(h,o,u,l,C,p,f,r);case ga:case ma:return this.checkExists(h,o,u,l,C,p,f,r)}},"watchCallback"),this.fsw._emitRaw);return this.fsw._emitReady(),D}async _handleFsEventsSymlink(e,u,s,n){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(u))){this.fsw._symlinkPaths.set(u,!0),this.fsw._incrReadyCount();try{const r=await Dn(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(r))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(r||e,i=>{let D=e;return r&&r!==rn?D=i.replace(r,e):i!==rn&&(D=k.join(e,i)),s(D)},!1,n)}catch(r){if(this.fsw._handleError(r))return this.fsw._emitReady()}}}emitAdd(e,u,s,n,r){const i=s(e),D=u.isDirectory(),o=this.fsw._getWatchedDir(k.dirname(i)),c=k.basename(i);D&&this.fsw._getWatchedDir(i),!o.has(c)&&(o.add(c),(!n.ignoreInitial||r===!0)&&this.fsw._emit(D?un:nu,i,u))}initWatch(e,u,s,n){if(this.fsw.closed)return;const r=this._watchWithFsEvents(s.watchPath,k.resolve(e||s.watchPath),n,s.globFilter);this.fsw._addPathCloser(u,r)}async _addToFsEvents(e,u,s,n){if(this.fsw.closed)return;const r=this.fsw.options,i=typeof u===ru?u:ba,D=this.fsw._getWatchHelpers(e);try{const o=await Ba[D.statMethod](D.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(D.watchPath,o))throw null;if(o.isDirectory()){if(D.globFilter||this.emitAdd(i(e),o,i,r,s),n&&n>r.depth)return;this.fsw._readdirp(D.watchPath,{fileFilter:a(c=>D.filterPath(c),"fileFilter"),directoryFilter:a(c=>D.filterDir(c),"directoryFilter"),...va(r.depth-(n||0))}).on(Ea,c=>{if(this.fsw.closed||c.stats.isDirectory()&&!D.filterPath(c))return;const f=k.join(D.watchPath,c.path),{fullPath:h}=c;if(D.followSymlinks&&c.stats.isSymbolicLink()){const l=r.depth===void 0?void 0:Du(f,k.resolve(D.watchPath))+1;this._handleFsEventsSymlink(f,h,i,l)}else this.emitAdd(f,c.stats,i,r,s)}).on(da,Ra).on(pa,()=>{this.fsw._emitReady()})}else this.emitAdd(D.watchPath,o,i,r,s),this.fsw._emitReady()}catch(o){(!o||this.fsw._handleError(o))&&(this.fsw._emitReady(),this.fsw._emitReady())}if(r.persistent&&s!==!0)if(typeof u===ru)this.initWatch(void 0,e,D,i);else{let o;try{o=await Dn(D.watchPath)}catch{}this.initWatch(o,e,D,i)}}};tu.exports=Pa,tu.exports.canUse=Ha;var La=tu.exports;const{EventEmitter:Ia}=Ln,ou=De,S=z,{promisify:an}=ge,ka=xD,au=ID.default,Ma=XD,lu=Bs,Ga=ko,Wa=ws,ja=fa,ln=La,{EV_ALL:cu,EV_READY:Ua,EV_ADD:it,EV_CHANGE:xe,EV_UNLINK:cn,EV_ADD_DIR:Ka,EV_UNLINK_DIR:Va,EV_RAW:za,EV_ERROR:fu,STR_CLOSE:Ya,STR_END:qa,BACK_SLASH_RE:Xa,DOUBLE_SLASH_RE:fn,SLASH_OR_BACK_SLASH_RE:Qa,DOT_RE:Za,REPLACER_RE:Ja,SLASH:hu,SLASH_SLASH:el,BRACE_START:tl,BANG:du,ONE_DOT:hn,TWO_DOTS:ul,GLOBSTAR:sl,SLASH_GLOBSTAR:Eu,ANYMATCH_OPTS:pu,STRING_TYPE:Cu,FUNCTION_TYPE:nl,EMPTY_STR:Fu,EMPTY_FN:rl,isWindows:il,isMacos:Dl,isIBMi:ol}=et,al=an(ou.stat),ll=an(ou.readdir),gu=a((t=[])=>Array.isArray(t)?t:[t],"arrify"),dn=a((t,e=[])=>(t.forEach(u=>{Array.isArray(u)?dn(u,e):e.push(u)}),e),"flatten"),En=a(t=>{const e=dn(gu(t));if(!e.every(u=>typeof u===Cu))throw new TypeError(`Non-string provided as watch path: ${e}`);return e.map(Cn)},"unifyPaths"),pn=a(t=>{let e=t.replace(Xa,hu),u=!1;for(e.startsWith(el)&&(u=!0);e.match(fn);)e=e.replace(fn,hu);return u&&(e=hu+e),e},"toUnix"),Cn=a(t=>pn(S.normalize(pn(t))),"normalizePathToUnix"),Fn=a((t=Fu)=>e=>typeof e!==Cu?e:Cn(S.isAbsolute(e)?e:S.join(t,e)),"normalizeIgnored"),cl=a((t,e)=>S.isAbsolute(t)?t:t.startsWith(du)?du+S.join(e,t.slice(1)):S.join(e,t),"getAbsolutePath"),X=a((t,e)=>t[e]===void 0,"undef");class fl{static{a(this,"DirEntry")}constructor(e,u){this.path=e,this._removeWatcher=u,this.items=new Set}add(e){const{items:u}=this;u&&e!==hn&&e!==ul&&u.add(e)}async remove(e){const{items:u}=this;if(!u||(u.delete(e),u.size>0))return;const s=this.path;try{await ll(s)}catch{this._removeWatcher&&this._removeWatcher(S.dirname(s),S.basename(s))}}has(e){const{items:u}=this;if(u)return u.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}const hl="stat",dl="lstat";class El{static{a(this,"WatchHelper")}constructor(e,u,s,n){this.fsw=n,this.path=e=e.replace(Ja,Fu),this.watchPath=u,this.fullWatchPath=S.resolve(u),this.hasGlob=u!==e,e===Fu&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&s?void 0:!1,this.globFilter=this.hasGlob?au(e,void 0,pu):!1,this.dirParts=this.getDirParts(e),this.dirParts.forEach(r=>{r.length>1&&r.pop()}),this.followSymlinks=s,this.statMethod=s?hl:dl}checkGlobSymlink(e){return this.globSymlink===void 0&&(this.globSymlink=e.fullParentDir===this.fullWatchPath?!1:{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return S.join(this.watchPath,S.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:u}=e;if(u&&u.isSymbolicLink())return this.filterDir(e);const s=this.entryPath(e);return(this.hasGlob&&typeof this.globFilter===nl?this.globFilter(s):!0)&&this.fsw._isntIgnored(s,u)&&this.fsw._hasReadPermissions(u)}getDirParts(e){if(!this.hasGlob)return[];const u=[];return(e.includes(tl)?Ga.expand(e):[e]).forEach(n=>{u.push(S.relative(this.watchPath,n).split(Qa))}),u}filterDir(e){if(this.hasGlob){const u=this.getDirParts(this.checkGlobSymlink(e));let s=!1;this.unmatchedGlob=!this.dirParts.some(n=>n.every((r,i)=>(r===sl&&(s=!0),s||!u[0][i]||au(r,u[0][i],pu))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class pl extends Ia{static{a(this,"FSWatcher")}constructor(e){super();const u={};e&&Object.assign(u,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,X(u,"persistent")&&(u.persistent=!0),X(u,"ignoreInitial")&&(u.ignoreInitial=!1),X(u,"ignorePermissionErrors")&&(u.ignorePermissionErrors=!1),X(u,"interval")&&(u.interval=100),X(u,"binaryInterval")&&(u.binaryInterval=300),X(u,"disableGlobbing")&&(u.disableGlobbing=!1),u.enableBinaryInterval=u.binaryInterval!==u.interval,X(u,"useFsEvents")&&(u.useFsEvents=!u.usePolling),ln.canUse()||(u.useFsEvents=!1),X(u,"usePolling")&&!u.useFsEvents&&(u.usePolling=Dl),ol&&(u.usePolling=!0);const n=process.env.CHOKIDAR_USEPOLLING;if(n!==void 0){const o=n.toLowerCase();o==="false"||o==="0"?u.usePolling=!1:o==="true"||o==="1"?u.usePolling=!0:u.usePolling=!!o}const r=process.env.CHOKIDAR_INTERVAL;r&&(u.interval=Number.parseInt(r,10)),X(u,"atomic")&&(u.atomic=!u.usePolling&&!u.useFsEvents),u.atomic&&(this._pendingUnlinks=new Map),X(u,"followSymlinks")&&(u.followSymlinks=!0),X(u,"awaitWriteFinish")&&(u.awaitWriteFinish=!1),u.awaitWriteFinish===!0&&(u.awaitWriteFinish={});const i=u.awaitWriteFinish;i&&(i.stabilityThreshold||(i.stabilityThreshold=2e3),i.pollInterval||(i.pollInterval=100),this._pendingWrites=new Map),u.ignored&&(u.ignored=gu(u.ignored));let D=0;this._emitReady=()=>{D++,D>=this._readyCount&&(this._emitReady=rl,this._readyEmitted=!0,process.nextTick(()=>this.emit(Ua)))},this._emitRaw=(...o)=>this.emit(za,...o),this._readyEmitted=!1,this.options=u,u.useFsEvents?this._fsEventsHandler=new ln(this):this._nodeFsHandler=new ja(this),Object.freeze(u)}add(e,u,s){const{cwd:n,disableGlobbing:r}=this.options;this.closed=!1;let i=En(e);return n&&(i=i.map(D=>{const o=cl(D,n);return r||!lu(D)?o:Wa(o)})),i=i.filter(D=>D.startsWith(du)?(this._ignoredPaths.add(D.slice(1)),!1):(this._ignoredPaths.delete(D),this._ignoredPaths.delete(D+Eu),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=i.length),this.options.persistent&&(this._readyCount+=i.length),i.forEach(D=>this._fsEventsHandler._addToFsEvents(D))):(this._readyCount||(this._readyCount=0),this._readyCount+=i.length,Promise.all(i.map(async D=>{const o=await this._nodeFsHandler._addToNodeFs(D,!s,0,0,u);return o&&this._emitReady(),o})).then(D=>{this.closed||D.filter(o=>o).forEach(o=>{this.add(S.dirname(o),S.basename(u||o))})})),this}unwatch(e){if(this.closed)return this;const u=En(e),{cwd:s}=this.options;return u.forEach(n=>{!S.isAbsolute(n)&&!this._closers.has(n)&&(s&&(n=S.join(s,n)),n=S.resolve(n)),this._closePath(n),this._ignoredPaths.add(n),this._watched.has(n)&&this._ignoredPaths.add(n+Eu),this._userIgnored=void 0}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach(u=>u.forEach(s=>{const n=s();n instanceof Promise&&e.push(n)})),this._streams.forEach(u=>u.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(u=>u.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(u=>{this[`_${u}`].clear()}),this._closePromise=e.length?Promise.all(e).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach((u,s)=>{const n=this.options.cwd?S.relative(this.options.cwd,s):s;e[n||hn]=u.getChildren().sort()}),e}emitWithAll(e,u){this.emit(...u),e!==fu&&this.emit(cu,...u)}async _emit(e,u,s,n,r){if(this.closed)return;const i=this.options;il&&(u=S.normalize(u)),i.cwd&&(u=S.relative(i.cwd,u));const D=[e,u];r!==void 0?D.push(s,n,r):n!==void 0?D.push(s,n):s!==void 0&&D.push(s);const o=i.awaitWriteFinish;let c;if(o&&(c=this._pendingWrites.get(u)))return c.lastChange=new Date,this;if(i.atomic){if(e===cn)return this._pendingUnlinks.set(u,D),setTimeout(()=>{this._pendingUnlinks.forEach((f,h)=>{this.emit(...f),this.emit(cu,...f),this._pendingUnlinks.delete(h)})},typeof i.atomic=="number"?i.atomic:100),this;e===it&&this._pendingUnlinks.has(u)&&(e=D[0]=xe,this._pendingUnlinks.delete(u))}if(o&&(e===it||e===xe)&&this._readyEmitted){const f=a((h,l)=>{h?(e=D[0]=fu,D[1]=h,this.emitWithAll(e,D)):l&&(D.length>2?D[2]=l:D.push(l),this.emitWithAll(e,D))},"awfEmit");return this._awaitWriteFinish(u,o.stabilityThreshold,e,f),this}if(e===xe&&!this._throttle(xe,u,50))return this;if(i.alwaysStat&&s===void 0&&(e===it||e===Ka||e===xe)){const f=i.cwd?S.join(i.cwd,u):u;let h;try{h=await al(f)}catch{}if(!h||this.closed)return;D.push(h)}return this.emitWithAll(e,D),this}_handleError(e){const u=e&&e.code;return e&&u!=="ENOENT"&&u!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||u!=="EPERM"&&u!=="EACCES")&&this.emit(fu,e),e||this.closed}_throttle(e,u,s){this._throttled.has(e)||this._throttled.set(e,new Map);const n=this._throttled.get(e),r=n.get(u);if(r)return r.count++,!1;let i;const D=a(()=>{const c=n.get(u),f=c?c.count:0;return n.delete(u),clearTimeout(i),c&&clearTimeout(c.timeoutObject),f},"clear");i=setTimeout(D,s);const o={timeoutObject:i,clear:D,count:0};return n.set(u,o),o}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,u,s,n){let r,i=e;this.options.cwd&&!S.isAbsolute(e)&&(i=S.join(this.options.cwd,e));const D=new Date,o=a(c=>{ou.stat(i,(f,h)=>{if(f||!this._pendingWrites.has(e)){f&&f.code!=="ENOENT"&&n(f);return}const l=Number(new Date);c&&h.size!==c.size&&(this._pendingWrites.get(e).lastChange=l);const p=this._pendingWrites.get(e);l-p.lastChange>=u?(this._pendingWrites.delete(e),n(void 0,h)):r=setTimeout(o,this.options.awaitWriteFinish.pollInterval,h)})},"awaitWriteFinish");this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:D,cancelWait:a(()=>(this._pendingWrites.delete(e),clearTimeout(r),s),"cancelWait")}),r=setTimeout(o,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,u){if(this.options.atomic&&Za.test(e))return!0;if(!this._userIgnored){const{cwd:s}=this.options,n=this.options.ignored,r=n&&n.map(Fn(s)),i=gu(r).filter(o=>typeof o===Cu&&!lu(o)).map(o=>o+Eu),D=this._getGlobIgnored().map(Fn(s)).concat(r,i);this._userIgnored=au(D,void 0,pu)}return this._userIgnored([e,u])}_isntIgnored(e,u){return!this._isIgnored(e,u)}_getWatchHelpers(e,u){const s=u||this.options.disableGlobbing||!lu(e)?e:Ma(e),n=this.options.followSymlinks;return new El(e,s,n,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const u=S.resolve(e);return this._watched.has(u)||this._watched.set(u,new fl(u,this._boundRemove)),this._watched.get(u)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const s=(e&&Number.parseInt(e.mode,10))&511;return!!(4&Number.parseInt(s.toString(8)[0],10))}_remove(e,u,s){const n=S.join(e,u),r=S.resolve(n);if(s=s??(this._watched.has(n)||this._watched.has(r)),!this._throttle("remove",n,100))return;!s&&!this.options.useFsEvents&&this._watched.size===1&&this.add(e,u,!0),this._getWatchedDir(n).getChildren().forEach(l=>this._remove(n,l));const o=this._getWatchedDir(e),c=o.has(u);o.remove(u),this._symlinkPaths.has(r)&&this._symlinkPaths.delete(r);let f=n;if(this.options.cwd&&(f=S.relative(this.options.cwd,n)),this.options.awaitWriteFinish&&this._pendingWrites.has(f)&&this._pendingWrites.get(f).cancelWait()===it)return;this._watched.delete(n),this._watched.delete(r);const h=s?Va:cn;c&&!this._isIgnored(n)&&this._emit(h,n),this.options.useFsEvents||this._closePath(n)}_closePath(e){this._closeFile(e);const u=S.dirname(e);this._getWatchedDir(u).remove(S.basename(e))}_closeFile(e){const u=this._closers.get(e);u&&(u.forEach(s=>s()),this._closers.delete(e))}_addPathCloser(e,u){if(!u)return;let s=this._closers.get(e);s||(s=[],this._closers.set(e,s)),s.push(u)}_readdirp(e,u){if(this.closed)return;const s={type:cu,alwaysStat:!0,lstat:!0,...u};let n=ka(e,s);return this._streams.add(n),n.once(Ya,()=>{n=void 0}),n.once(qa,()=>{n&&(this._streams.delete(n),n=void 0)}),n}}const Cl=a((t,e)=>{const u=new pl(e);return u.add(t),u},"watch");var Fl=Cl;const Dt=a((t=!0)=>{let e=!1;return u=>{if(e||u==="unknown-flag")return!0;if(u==="argument")return e=!0,t}},"ignoreAfterArgument"),gn=a((t,e=process.argv.slice(2))=>(yu(t,e,{ignore:Dt()}),e),"removeArgvFlags"),gl=a(t=>{let e=Buffer.alloc(0);return u=>{for(e=Buffer.concat([e,u]);e.length>4;){const s=e.readInt32BE(0);if(e.length>=4+s){const n=e.slice(4,4+s);t(n),e=e.slice(4+s)}else break}}},"bufferData"),mn=a(async()=>{const t=jn.createServer(u=>{u.on("data",gl(s=>{const n=JSON.parse(s.toString());t.emit("data",n)}))}),e=Bn(process.pid);return await ct.promises.mkdir(Un,{recursive:!0}),await ct.promises.rm(e,{force:!0}),await new Promise((u,s)=>{t.listen(e,u),t.on("error",s)}),t.unref(),process.on("exit",()=>{if(t.close(),!$n)try{ct.rmSync(e)}catch{}}),t},"createIpcServer"),ml=a(()=>new Date().toLocaleTimeString(),"currentTime"),Oe=a((...t)=>console.log(kn(ml()),Mn("[tsx]"),...t),"log"),_l="\x1Bc",Al=a((t,e)=>{let u;return function(){u&&clearTimeout(u),u=setTimeout(()=>Reflect.apply(t,this,arguments),e)}},"debounce"),_n={noCache:{type:Boolean,description:"Disable caching",default:!1},tsconfig:{type:String,description:"Custom tsconfig.json path"},clearScreen:{type:Boolean,description:"Clearing the screen on rerun",default:!0},ignore:{type:[String],description:"Paths & globs to exclude from being watched (Deprecated: use --exclude)"},include:{type:[String],description:"Additional paths & globs to watch"},exclude:{type:[String],description:"Paths & globs to exclude from being watched"}},yl=oi({name:"watch",parameters:["<script path>"],flags:_n,help:{description:"Run the script and watch for changes"},ignoreArgv:Dt(!1)},async t=>{const e=gn(_n,process.argv.slice(3)),u={noCache:t.flags.noCache,tsconfigPath:t.flags.tsconfig,clearScreen:t.flags.clearScreen,include:t.flags.include,exclude:[...t.flags.ignore,...t.flags.exclude],ipc:!0};let s,n=!1;(await mn()).on("data",l=>{if(l&&typeof l=="object"&&"type"in l&&l.type==="dependency"&&"path"in l&&typeof l.path=="string"){const p=l.path.startsWith("file:")?xn(l.path):l.path;Pn.isAbsolute(p)&&h.add(p)}});const i=a(()=>{if(!n)return rs(e,u)},"spawnProcess");let D=!1;const o=a(async(l,p="SIGTERM",C=5e3)=>{let g=!1;const y=new Promise(B=>{l.on("exit",H=>{g=!0,D=!1,B(H)})});return D=!0,l.kill(p),setTimeout(()=>{g||(Oe(me(`Process didn't exit in ${Math.floor(C/1e3)}s. Force killing...`)),l.kill("SIGKILL"))},C),await y},"killProcess"),c=Al(async(l,p)=>{const C=l?`${l?Gn(l):""}${p?` in ${Wn(`./${p}`)}`:""}`:"";if(D){Oe(C,me("Process hasn't exited. Killing process...")),s.kill("SIGKILL");return}s&&(s.exitCode===null?(Oe(C,me("Restarting...")),await o(s)):Oe(C,me("Rerunning...")),u.clearScreen&&process.stdout.write(_l)),s=i()},100);c();const f=a(l=>{n=!0,s?.exitCode===null?(D&&Oe(me("Previous process hasn't exited yet. Force killing...")),o(s,D?"SIGKILL":l).then(p=>{process.exit(p??0)},()=>{})):process.exit(lt.signals[l])},"relaySignal");process.on("SIGINT",f),process.on("SIGTERM",f);const h=Fl([...t._,...u.include],{cwd:process.cwd(),ignoreInitial:!0,ignored:["**/.*/**","**/.*","**/{node_modules,bower_components,vendor}/**",...u.exclude],ignorePermissionErrors:!0}).on("all",c);process.stdin.on("data",()=>c("Return key"))}),wl=a((t,e)=>{let u;e.on("data",r=>{r&&r.type==="signal"&&u&&u(r.signal)});const s=a(()=>{const r=new Promise(i=>{setTimeout(()=>i(void 0),30),u=i});return r.then(()=>{u=void 0},()=>{}),r},"waitForSignalFromChild"),n=a(async r=>{await s()!==r&&(t.kill(r),await s()!==r&&(t.on("exit",()=>{const o=lt.signals[r];process.exit(128+o)}),t.kill("SIGKILL")))},"relaySignalToChild");process.on("SIGINT",n),process.on("SIGTERM",n)},"relaySignals"),An={noCache:{type:Boolean,description:"Disable caching"},tsconfig:{type:String,description:"Custom tsconfig.json path"}};ju({name:"tsx",parameters:["[script path]"],commands:[yl],flags:{...An,version:{type:Boolean,alias:"v",description:"Show version"},help:{type:Boolean,alias:"h",description:"Show help"}},help:!1,ignoreArgv:Dt()},async t=>{t.flags.version?process.stdout.write(`tsx v${Sn}
54
+ node `):t.flags.help&&(t.showHelp({description:"Node.js runtime enhanced with esbuild for loading TypeScript & ESM"}),console.log(`${"-".repeat(45)}
55
+ `));const e={eval:{type:String,alias:"e"},print:{type:String,alias:"p"}},{_:u,flags:s}=ju({flags:{...e,inputType:String,test:Boolean},help:!1,ignoreArgv:Dt(!1)}),n=gn({...An,...e}),i=["print","eval"].find(c=>!!s[c]);if(i){const{inputType:c}=s,f=s[i],h=vn(f,{loader:"default",sourcefile:"/eval.ts",format:c==="module"?"esm":"cjs"});n.unshift(`--${i}`,h.code)}mu(Hn)&&s.test&&u.length===0&&n.push("**/{test,test/**/*,test-*,*[.-_]test}.?(c|m)@(t|j)s");const D=await mn(),o=rs(n,{noCache:!!t.flags.noCache,tsconfigPath:t.flags.tsconfig});wl(o,D),process.send&&o.on("message",c=>{process.send(c)}),o.send&&process.on("message",c=>{o.send(c)}),o.on("close",c=>{c===null&&(c=lt.signals[o.signalCode]+128),process.exit(c)})});
@@ -0,0 +1 @@
1
+ var p=Object.defineProperty;var t=(e,n)=>p(e,"name",{value:n,configurable:!0});import g from"node:net";import{g as u}from"./get-pipe-path-_tAJyU_v.mjs";let o=[];const m=t(()=>new Promise(e=>{const n=u(process.ppid),r=g.createConnection(n,()=>{e(t(i=>{const c=Buffer.from(JSON.stringify(i)),f=Buffer.alloc(4);f.writeInt32BE(c.length,0),r.write(Buffer.concat([f,c]))},"sendToParent"))});r.on("error",()=>{e()}),r.unref()}),"connectToServer"),s={send:t(e=>{o.push(e)},"send")},a=m();a.then(e=>{if(e)for(const n of o)e(n);o=[],s.send=e},()=>{o=[],s.send=void 0});export{a as c,s as p};
@@ -0,0 +1 @@
1
+ var s=Object.defineProperty;var i=(r,t)=>s(r,"name",{value:t,configurable:!0});import{a as p}from"../../register-CqMfTiWi.mjs";import"../../get-pipe-path-_tAJyU_v.mjs";import{r as n,i as c,c as u}from"../../register-BnTWPeIB.mjs";import"../../require-DzmC1hVr.mjs";import{i as g,e as d}from"../../node-features-B9BBLzwu.mjs";import"node:module";import"node:worker_threads";import"node:url";import"node:fs";import"node:fs/promises";import"../../index-XurvG3JN.mjs";import"node:path";import"esbuild";import"node:crypto";import"node:os";import"../../temporary-directory-BDDVQOvU.mjs";import"../../client-D_mPDF5S.mjs";import"node:net";import"module";import"fs";import"os";import"path";import"node:util";import"../../index-gbaejti9.mjs";const f=i((r,t)=>{if(!t||typeof t=="object"&&!t.parentURL)throw new Error("The current file path (import.meta.url) must be provided in the second argument of tsImport()");const e=typeof t=="string",o=e?t:t.parentURL,m=Date.now().toString(),a=n({namespace:m});return!g(d)&&!c.test(r)&&u.test(r)?Promise.resolve(a.require(r,o)):p({namespace:m,...e?{}:t}).import(r,o)},"tsImport");export{p as register,f as tsImport};
@@ -0,0 +1 @@
1
+ import*as r from"node:worker_threads";import{i as o,m as i,a as t}from"../node-features-B9BBLzwu.mjs";import{a as m}from"../register-CqMfTiWi.mjs";import{g as P,i as S,l as c,r as q}from"../register-CqMfTiWi.mjs";import"../get-pipe-path-_tAJyU_v.mjs";import"node:module";import"node:path";import"node:url";import"../register-BnTWPeIB.mjs";import"node:fs";import"esbuild";import"node:crypto";import"../index-XurvG3JN.mjs";import"../client-D_mPDF5S.mjs";import"../require-DzmC1hVr.mjs";import"node:fs/promises";import"module";import"../temporary-directory-BDDVQOvU.mjs";import"node:os";import"fs";import"os";import"path";import"node:util";import"../index-gbaejti9.mjs";import"node:net";(o(i)&&!r.isInternalThread||o(t)&&r.isMainThread)&&m();export{P as globalPreload,S as initialize,c as load,q as resolve};
@@ -0,0 +1 @@
1
+ var o=Object.defineProperty;var t=(e,r)=>o(e,"name",{value:r,configurable:!0});import{createRequire as p}from"module";import a from"node:path";import{t as s}from"./temporary-directory-BDDVQOvU.mjs";var m=p(import.meta.url);const i=process.platform==="win32",n=t(e=>{const r=a.join(s,`${e}.pipe`);return i?`\\\\?\\pipe\\${r}`:r},"getPipePath");export{n as g,i,m as r};
@@ -0,0 +1,14 @@
1
+ var Xt=Object.defineProperty;var h=(s,e)=>Xt(s,"name",{value:e,configurable:!0});import J from"node:path";import{fileURLToPath as Kt,pathToFileURL as Yt}from"node:url";import{version as ye,transform as Qt,transformSync as De}from"esbuild";import Zt from"node:crypto";import{i as Vt,c as er}from"./node-features-B9BBLzwu.mjs";import j from"node:fs";import tr from"node:os";import{t as rr}from"./temporary-directory-BDDVQOvU.mjs";const Ce=h(s=>Zt.createHash("sha1").update(s).digest("hex"),"sha1");var nr=44,ir=59,Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Be=new Uint8Array(64),sr=new Uint8Array(128);for(let s=0;s<Fe.length;s++){const e=Fe.charCodeAt(s);Be[s]=e,sr[e]=s}function Y(s,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let o=i&31;i>>>=5,i>0&&(o|=32),s.write(Be[o])}while(i>0);return e}h(Y,"encodeInteger$1");var We=1024*16,Pe=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(s){return Buffer.from(s.buffer,s.byteOffset,s.byteLength).toString()}}:{decode(s){let e="";for(let r=0;r<s.length;r++)e+=String.fromCharCode(s[r]);return e}},or=class{static{h(this,"StringWriter")}constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(We)}write(s){const{buffer:e}=this;e[this.pos++]=s,this.pos===We&&(this.out+=Pe.decode(e),this.pos=0)}flush(){const{buffer:s,out:e,pos:r}=this;return r>0?e+Pe.decode(s.subarray(0,r)):e}};function ar(s){const e=new or;let r=0,i=0,o=0,c=0;for(let u=0;u<s.length;u++){const p=s[u];if(u>0&&e.write(ir),p.length===0)continue;let g=0;for(let b=0;b<p.length;b++){const d=p[b];b>0&&e.write(nr),g=Y(e,d[0],g),d.length!==1&&(r=Y(e,d[1],r),i=Y(e,d[2],i),o=Y(e,d[3],o),d.length!==4&&(c=Y(e,d[4],c)))}}return e.flush()}h(ar,"encode$1");class ue{static{h(this,"BitSet")}constructor(e){this.bits=e instanceof ue?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class re{static{h(this,"Chunk")}constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new re(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),o=this.original.slice(r);this.original=i;const c=new re(e,this.end,o);return c.outro=this.outro,this.outro="",this.end=e,this.edited?(c.edit("",!1),this.content=""):this.content=i,c.next=this.next,c.next&&(c.next.previous=c),c.previous=this,this.next=c,c}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function cr(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?s=>globalThis.btoa(unescape(encodeURIComponent(s))):typeof Buffer=="function"?s=>Buffer.from(s,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}h(cr,"getBtoa");const ur=cr();let lr=class{static{h(this,"SourceMap")}constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ar(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ur(this.toString())}};function fr(s){const e=s.split(`
2
+ `),r=e.filter(c=>/^\t+/.test(c)),i=e.filter(c=>/^ {2,}/.test(c));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return" ";const o=i.reduce((c,u)=>{const p=/^ +/.exec(u)[0].length;return Math.min(p,c)},1/0);return new Array(o+1).join(" ")}h(fr,"guessIndent");function hr(s,e){const r=s.split(/[/\\]/),i=e.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(i).join("/")}h(hr,"getRelativePath");const dr=Object.prototype.toString;function gr(s){return dr.call(s)==="[object Object]"}h(gr,"isObject");function Je(s){const e=s.split(`
3
+ `),r=[];for(let i=0,o=0;i<e.length;i++)r.push(o),o+=e[i].length+1;return h(function(o){let c=0,u=r.length;for(;c<u;){const b=c+u>>1;o<r[b]?u=b:c=b+1}const p=c-1,g=o-r[p];return{line:p,column:g}},"locate")}h(Je,"getLocator");const br=/\w/;class pr{static{h(this,"Mappings")}constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,i,o){if(r.length){const c=r.length-1;let u=r.indexOf(`
4
+ `,0),p=-1;for(;u>=0&&c>u;){const b=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&b.push(o),this.rawSegments.push(b),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=u,u=r.indexOf(`
5
+ `,u+1)}const g=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&g.push(o),this.rawSegments.push(g),this.advance(r.slice(p+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,i,o,c){let u=r.start,p=!0,g=!1;for(;u<r.end;){if(i[u]===`
6
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=!0,g=!1;else{if(this.hires||p||c.has(u)){const b=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?br.test(i[u])?g||(this.rawSegments.push(b),g=!0):(this.rawSegments.push(b),g=!1):this.rawSegments.push(b)}o.column+=1,this.generatedCodeColumn+=1,p=!1}u+=1}this.pending=null}advance(e){if(!e)return;const r=e.split(`
7
+ `);if(r.length>1){for(let i=0;i<r.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const Q=`
8
+ `,G={insertLeft:!1,insertRight:!1,storeName:!1};class Me{static{h(this,"MagicString")}constructor(e,r={}){const i=new re(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ue},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(r):this.outro+=r,this}clone(){const e=new Me(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const o=r.next,c=o&&o.clone();c&&(i.next=c,c.previous=i,i=c),r=o}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ue(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const r=0,i=Object.keys(this.storedNames),o=new pr(e.hires),c=Je(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(u=>{const p=c(u.start);u.intro.length&&o.advance(u.intro),u.edited?o.addEdit(r,u.content,p,u.storeName?i.indexOf(u.original):-1):o.addUneditedChunk(r,u,this.original,p,this.sourcemapLocations),u.outro.length&&o.advance(u.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?hr(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:i,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new lr(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=fr(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){const i=/^[^\r\n]/gm;if(gr(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};const o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let n=d[0];n<d[1];n+=1)o[n]=!0});let c=r.indentStart!==!1;const u=h(b=>c?`${e}${b}`:(c=!0,b),"replacer");this.intro=this.intro.replace(i,u);let p=0,g=this.firstChunk;for(;g;){const b=g.end;if(g.edited)o[p]||(g.content=g.content.replace(i,u),g.content.length&&(c=g.content[g.content.length-1]===`
9
+ `));else for(p=g.start;p<b;){if(!o[p]){const d=this.original[p];d===`
10
+ `?c=!0:d!=="\r"&&c&&(c=!1,p===g.start||(this._splitChunk(g,p),g=g.next),g.prependRight(e))}p+=1}p=g.end,g=g.next}return this.outro=this.outro.replace(i,u),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return G.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),G.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return G.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),G.insertRight=!0),this.prependRight(e,r)}move(e,r,i){if(e=e+this.offset,r=r+this.offset,i=i+this.offset,i>=e&&i<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(i);const o=this.byStart[e],c=this.byEnd[r],u=o.previous,p=c.next,g=this.byStart[i];if(!g&&c===this.lastChunk)return this;const b=g?g.previous:this.lastChunk;return u&&(u.next=p),p&&(p.previous=u),b&&(b.next=o),g&&(g.previous=c),o.previous||(this.firstChunk=c.next),c.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=b,c.next=g||null,b||(this.firstChunk=o),g||(this.lastChunk=c),this}overwrite(e,r,i,o){return o=o||{},this.update(e,r,i,{...o,overwrite:!o.contentOnly})}update(e,r,i,o){if(e=e+this.offset,r=r+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(G.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),G.storeName=!0),o={storeName:!0});const c=o!==void 0?o.storeName:!1,u=o!==void 0?o.overwrite:!1;if(c){const b=this.original.slice(e,r);Object.defineProperty(this.storedNames,b,{writable:!0,value:!0,enumerable:!0})}const p=this.byStart[e],g=this.byEnd[r];if(p){let b=p;for(;b!==g;){if(b.next!==this.byStart[b.end])throw new Error("Cannot overwrite across a split point");b=b.next,b.edit("",!1)}p.edit(i,c,!u)}else{const b=new re(e,r,"").edit(i,c);g.next=b,b.previous=g}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=r>i.end?this.byStart[i.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.reset(),i=r>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Q);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(Q),e!==-1)return i.outro.substr(e+1)+r;r=i.outro+r}if(i.content.length>0){if(e=i.content.lastIndexOf(Q),e!==-1)return i.content.substr(e+1)+r;r=i.content+r}if(i.intro.length>0){if(e=i.intro.lastIndexOf(Q),e!==-1)return i.intro.substr(e+1)+r;r=i.intro+r}}while(i=i.previous);return e=this.intro.lastIndexOf(Q),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let i="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return i;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const c=o;for(;o;){o.intro&&(c!==o||o.start===e)&&(i+=o.intro);const u=o.start<r&&o.end>=r;if(u&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const p=c===o?e-o.start:0,g=u?o.content.length+r-o.end:o.content.length;if(i+=o.content.slice(p,g),o.outro&&(!u||o.end===r)&&(i+=o.outro),u)break;o=o.next}return i}snip(e,r){const i=this.clone();return i.remove(0,e),i.remove(r,i.original.length),i}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,i=r;const o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===i)return;i=r}}_splitChunk(e,r){if(e.edited&&e.content.length){const o=Je(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}const i=e.split(r);return this.byEnd[r]=e,this.byStart[r]=i,this.byEnd[i.end]=i,e===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let i=this.lastChunk;do{const o=i.end,c=i.trimEnd(r);if(i.end!==o&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),c)return!0;i=i.previous}while(i);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let i=this.firstChunk;do{const o=i.end,c=i.trimStart(r);if(i.end!==o&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),c)return!0;i=i.next}while(i);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function i(c,u){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(p,g)=>g==="$"?"$":g==="&"?c[0]:+g<c.length?c[+g]:`$${g}`):r(...c,c.index,u,c.groups)}h(i,"getReplacement");function o(c,u){let p;const g=[];for(;p=c.exec(u);)g.push(p);return g}if(h(o,"matchAll"),e.global)o(e,this.original).forEach(u=>{if(u.index!=null){const p=i(u,this.original);p!==u[0]&&this.overwrite(u.index,u.index+u[0].length,p)}});else{const c=this.original.match(e);if(c&&c.index!=null){const u=i(c,this.original);u!==c[0]&&this.overwrite(c.index,c.index+c[0].length,u)}}return this}_replaceString(e,r){const{original:i}=this,o=i.indexOf(e);return o!==-1&&this.overwrite(o,o+e.length,r),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){const{original:i}=this,o=e.length;for(let c=i.indexOf(e);c!==-1;c=i.indexOf(e,c+o))i.slice(c,c+o)!==r&&this.overwrite(c,c+o,r);return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}}let x,se,Se,Z=2<<19;const Ge=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(s,e){const r=s.length;let i=0;for(;i<r;)e[i]=s.charCodeAt(i++)}:function(s,e){const r=s.length;let i=0;for(;i<r;){const o=s.charCodeAt(i);e[i++]=(255&o)<<8|o>>>8}},mr="xportmportlassforetaourceromsyncunctionssertvoyiedelecontininstantybreareturdebuggeawaithrwhileifcatcfinallels";let E,qe,y;function wr(s,e="@"){E=s,qe=e;const r=2*E.length+(2<<18);if(r>Z||!x){for(;r>Z;)Z*=2;se=new ArrayBuffer(Z),Ge(mr,new Uint16Array(se,16,110)),x=function(u,p,g){var b=new u.Int8Array(g),d=new u.Int16Array(g),n=new u.Int32Array(g),A=new u.Uint8Array(g),O=new u.Uint16Array(g),_=1040;function I(){var t=0,a=0,f=0,l=0,m=0,w=0,C=0;C=_,_=_+10240|0,b[804]=1,b[803]=0,d[399]=0,d[400]=0,n[69]=n[2],b[805]=0,n[68]=0,b[802]=0,n[70]=C+2048,n[71]=C,b[806]=0,t=(n[3]|0)+-2|0,n[72]=t,a=t+(n[66]<<1)|0,n[73]=a;e:for(;;){if(f=t+2|0,n[72]=f,t>>>0>=a>>>0){l=18;break}t:do switch(d[f>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(!(d[400]|0)&&X(f)|0&&!(R(t+4|0,16,10)|0)&&($(),(b[804]|0)==0)){l=9;break e}else l=17;break}case 105:{X(f)|0&&!(R(t+4|0,26,10)|0)&&B(),l=17;break}case 59:{l=17;break}case 47:switch(d[t+4>>1]|0){case 47:{ge();break t}case 42:{he(1);break t}default:{l=16;break e}}default:{l=16;break e}}while(!1);(l|0)==17&&(l=0,n[69]=n[72]),t=n[72]|0,a=n[73]|0}(l|0)==9?(t=n[72]|0,n[69]=t,l=19):(l|0)==16?(b[804]=0,n[72]=t,l=19):(l|0)==18&&(b[802]|0?t=0:(t=f,l=19));do if((l|0)==19){e:for(;;){if(a=t+2|0,n[72]=a,t>>>0>=(n[73]|0)>>>0){l=92;break}t:do switch(d[a>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{!(d[400]|0)&&X(a)|0&&!(R(t+4|0,16,10)|0)&&$(),l=91;break}case 105:{X(a)|0&&!(R(t+4|0,26,10)|0)&&B(),l=91;break}case 99:{X(a)|0&&!(R(t+4|0,36,8)|0)&&P(d[t+12>>1]|0)|0&&(b[806]=1),l=91;break}case 40:{f=n[70]|0,t=d[400]|0,l=t&65535,n[f+(l<<3)>>2]=1,a=n[69]|0,d[400]=t+1<<16>>16,n[f+(l<<3)+4>>2]=a,l=91;break}case 41:{if(a=d[400]|0,!(a<<16>>16)){l=36;break e}f=a+-1<<16>>16,d[400]=f,l=d[399]|0,a=l&65535,l<<16>>16&&(n[(n[70]|0)+((f&65535)<<3)>>2]|0)==5&&(a=n[(n[71]|0)+(a+-1<<2)>>2]|0,f=a+4|0,n[f>>2]|0||(n[f>>2]=(n[69]|0)+2),n[a+12>>2]=t+4,d[399]=l+-1<<16>>16),l=91;break}case 123:{l=n[69]|0,f=n[63]|0,t=l;do if((d[l>>1]|0)==41&(f|0)!=0&&(n[f+4>>2]|0)==(l|0))if(a=n[64]|0,n[63]=a,a){n[a+32>>2]=0;break}else{n[59]=0;break}while(!1);f=n[70]|0,a=d[400]|0,l=a&65535,n[f+(l<<3)>>2]=b[806]|0?6:2,d[400]=a+1<<16>>16,n[f+(l<<3)+4>>2]=t,b[806]=0,l=91;break}case 125:{if(t=d[400]|0,!(t<<16>>16)){l=49;break e}f=n[70]|0,l=t+-1<<16>>16,d[400]=l,(n[f+((l&65535)<<3)>>2]|0)==4&&$e(),l=91;break}case 39:{N(39),l=91;break}case 34:{N(34),l=91;break}case 47:switch(d[t+4>>1]|0){case 47:{ge();break t}case 42:{he(1);break t}default:{t=n[69]|0,a=d[t>>1]|0;r:do if(!(_t(a)|0))a<<16>>16==41?(f=d[400]|0,At(n[(n[70]|0)+((f&65535)<<3)+4>>2]|0)|0||(l=65)):l=64;else switch(a<<16>>16){case 46:if(((d[t+-2>>1]|0)+-48&65535)<10){l=64;break r}else break r;case 43:if((d[t+-2>>1]|0)==43){l=64;break r}else break r;case 45:if((d[t+-2>>1]|0)==45){l=64;break r}else break r;default:break r}while(!1);(l|0)==64&&(f=d[400]|0,l=65);r:do if((l|0)==65){if(l=0,f<<16>>16&&(m=n[70]|0,w=(f&65535)+-1|0,a<<16>>16==102?(n[m+(w<<3)>>2]|0)==1:0)){if((d[t+-2>>1]|0)==111&&L(n[m+(w<<3)+4>>2]|0,44,3)|0)break}else l=69;if((l|0)==69&&a<<16>>16==125&&(l=n[70]|0,f=f&65535,xt(n[l+(f<<3)+4>>2]|0)|0||(n[l+(f<<3)>>2]|0)==6))break;if(!(St(t)|0)){switch(a<<16>>16){case 0:break r;case 47:{if(b[805]|0)break r;break}default:}if(l=n[65]|0,l|0&&t>>>0>=(n[l>>2]|0)>>>0&&t>>>0<=(n[l+4>>2]|0)>>>0){fe(),b[805]=0,l=91;break t}f=n[3]|0;do{if(t>>>0<=f>>>0)break;t=t+-2|0,n[69]=t,a=d[t>>1]|0}while(!(de(a)|0));if(ie(a)|0){do{if(t>>>0<=f>>>0)break;t=t+-2|0,n[69]=t}while(ie(d[t>>1]|0)|0);if(Lt(t)|0){fe(),b[805]=0,l=91;break t}}b[805]=1,l=91;break t}}while(!1);fe(),b[805]=0,l=91;break t}}case 96:{f=n[70]|0,a=d[400]|0,l=a&65535,n[f+(l<<3)+4>>2]=n[69],d[400]=a+1<<16>>16,n[f+(l<<3)>>2]=3,$e(),l=91;break}default:l=91}while(!1);(l|0)==91&&(l=0,n[69]=n[72]),t=n[72]|0}if((l|0)==36){M(),t=0;break}else if((l|0)==49){M(),t=0;break}else if((l|0)==92){t=b[802]|0?0:(d[399]|d[400])<<16>>16==0;break}}while(!1);return _=C,t|0}h(I,"b");function $(){var t=0,a=0,f=0,l=0,m=0,w=0,C=0,D=0,pe=0,me=0,we=0,ke=0,S=0,v=0;D=n[72]|0,pe=n[65]|0,v=D+12|0,n[72]=v,f=k(1)|0,t=n[72]|0,(t|0)==(v|0)&&!(ne(f)|0)||(S=3);e:do if((S|0)==3){t:do switch(f<<16>>16){case 123:{for(n[72]=t+2,t=k(1)|0,a=n[72]|0;;){if(K(t)|0?(N(t),t=(n[72]|0)+2|0,n[72]=t):(U(t)|0,t=n[72]|0),k(1)|0,t=je(a,t)|0,t<<16>>16==44&&(n[72]=(n[72]|0)+2,t=k(1)|0),t<<16>>16==125){S=15;break}if(v=a,a=n[72]|0,(a|0)==(v|0)){S=12;break}if(a>>>0>(n[73]|0)>>>0){S=14;break}}if((S|0)==12){M();break e}else if((S|0)==14){M();break e}else if((S|0)==15){b[803]=1,n[72]=(n[72]|0)+2;break t}break}case 42:{n[72]=t+2,k(1)|0,v=n[72]|0,je(v,v)|0;break}default:{switch(b[804]=0,f<<16>>16){case 100:{switch(D=t+14|0,n[72]=D,(k(1)|0)<<16>>16){case 97:{a=n[72]|0,!(R(a+2|0,72,8)|0)&&(m=a+10|0,ie(d[m>>1]|0)|0)&&(n[72]=m,k(0)|0,S=22);break}case 102:{S=22;break}case 99:{a=n[72]|0,!(R(a+2|0,36,8)|0)&&(l=a+10|0,v=d[l>>1]|0,P(v)|0|v<<16>>16==123)&&(n[72]=l,w=k(1)|0,w<<16>>16!=123)&&(ke=w,S=31);break}default:}r:do if((S|0)==22&&(C=n[72]|0,(R(C+2|0,80,14)|0)==0)){if(f=C+16|0,a=d[f>>1]|0,!(P(a)|0))switch(a<<16>>16){case 40:case 42:break;default:break r}n[72]=f,a=k(1)|0,a<<16>>16==42&&(n[72]=(n[72]|0)+2,a=k(1)|0),a<<16>>16!=40&&(ke=a,S=31)}while(!1);if((S|0)==31&&(me=n[72]|0,U(ke)|0,we=n[72]|0,we>>>0>me>>>0)){W(t,D,me,we),n[72]=(n[72]|0)+-2;break e}W(t,D,0,0),n[72]=t+12;break e}case 97:{n[72]=t+10,k(0)|0,t=n[72]|0,S=35;break}case 102:{S=35;break}case 99:{if(!(R(t+2|0,36,8)|0)&&(a=t+10|0,de(d[a>>1]|0)|0)){n[72]=a,v=k(1)|0,S=n[72]|0,U(v)|0,v=n[72]|0,W(S,v,S,v),n[72]=(n[72]|0)+-2;break e}t=t+4|0,n[72]=t;break}case 108:case 118:break;default:break e}if((S|0)==35){n[72]=t+16,t=k(1)|0,t<<16>>16==42&&(n[72]=(n[72]|0)+2,t=k(1)|0),S=n[72]|0,U(t)|0,v=n[72]|0,W(S,v,S,v),n[72]=(n[72]|0)+-2;break e}n[72]=t+6,b[804]=0,f=k(1)|0,t=n[72]|0,f=(U(f)|0|32)<<16>>16==123,l=n[72]|0,f&&(n[72]=l+2,v=k(1)|0,t=n[72]|0,U(v)|0);r:for(;a=n[72]|0,(a|0)!=(t|0);){if(W(t,a,t,a),a=k(1)|0,f)switch(a<<16>>16){case 93:case 125:break e;default:}if(t=n[72]|0,a<<16>>16!=44){S=51;break}switch(n[72]=t+2,a=k(1)|0,t=n[72]|0,a<<16>>16){case 91:case 123:{S=51;break r}default:}U(a)|0}if((S|0)==51&&(n[72]=t+-2),!f)break e;n[72]=l+-2;break e}}while(!1);if(v=(k(1)|0)<<16>>16==102,t=n[72]|0,v&&!(R(t+2|0,66,6)|0))for(n[72]=t+8,z(D,k(1)|0,0),t=pe|0?pe+16|0:240;;){if(t=n[t>>2]|0,!t)break e;n[t+12>>2]=0,n[t+8>>2]=0,t=t+16|0}n[72]=t+-2}while(!1)}h($,"k");function B(){var t=0,a=0,f=0,l=0,m=0,w=0,C=0;m=n[72]|0,f=m+12|0,n[72]=f,l=k(1)|0,a=n[72]|0;e:do if(l<<16>>16!=46)l<<16>>16==115&a>>>0>f>>>0?!(R(a+2|0,56,10)|0)&&(t=a+12|0,P(d[t>>1]|0)|0)?w=14:(a=6,f=0,w=46):(t=l,f=0,w=15);else switch(n[72]=a+2,(k(1)|0)<<16>>16){case 109:{if(t=n[72]|0,R(t+2|0,50,6)|0||(a=n[69]|0,!(be(a)|0)&&(d[a>>1]|0)==46))break e;le(m,m,t+8|0,2);break e}case 115:{if(t=n[72]|0,R(t+2|0,56,10)|0||(a=n[69]|0,!(be(a)|0)&&(d[a>>1]|0)==46))break e;t=t+12|0,w=14;break e}default:break e}while(!1);(w|0)==14&&(n[72]=t,t=k(1)|0,f=1,w=15);e:do if((w|0)==15)switch(t<<16>>16){case 40:{if(a=n[70]|0,C=d[400]|0,l=C&65535,n[a+(l<<3)>>2]=5,t=n[72]|0,d[400]=C+1<<16>>16,n[a+(l<<3)+4>>2]=t,(d[n[69]>>1]|0)==46)break e;switch(n[72]=t+2,a=k(1)|0,le(m,n[72]|0,0,t),f?(t=n[63]|0,n[t+28>>2]=5):t=n[63]|0,m=n[71]|0,C=d[399]|0,d[399]=C+1<<16>>16,n[m+((C&65535)<<2)>>2]=t,a<<16>>16){case 39:{N(39);break}case 34:{N(34);break}default:{n[72]=(n[72]|0)+-2;break e}}switch(t=(n[72]|0)+2|0,n[72]=t,(k(1)|0)<<16>>16){case 44:{n[72]=(n[72]|0)+2,k(1)|0,m=n[63]|0,n[m+4>>2]=t,C=n[72]|0,n[m+16>>2]=C,b[m+24>>0]=1,n[72]=C+-2;break e}case 41:{d[400]=(d[400]|0)+-1<<16>>16,C=n[63]|0,n[C+4>>2]=t,n[C+12>>2]=(n[72]|0)+2,b[C+24>>0]=1,d[399]=(d[399]|0)+-1<<16>>16;break e}default:{n[72]=(n[72]|0)+-2;break e}}}case 123:{if(f){a=12,f=1,w=46;break e}if(t=n[72]|0,d[400]|0){n[72]=t+-2;break e}for(;!(t>>>0>=(n[73]|0)>>>0);){if(t=k(1)|0,K(t)|0)N(t);else if(t<<16>>16==125){w=36;break}t=(n[72]|0)+2|0,n[72]=t}if((w|0)==36&&(n[72]=(n[72]|0)+2),C=(k(1)|0)<<16>>16==102,t=n[72]|0,C&&R(t+2|0,66,6)|0){M();break e}if(n[72]=t+8,t=k(1)|0,K(t)|0){z(m,t,0);break e}else{M();break e}}default:{if(f){a=12,f=1,w=46;break e}switch(t<<16>>16){case 42:case 39:case 34:{f=0,w=48;break e}default:{a=6,f=0,w=46;break e}}}}while(!1);(w|0)==46&&(t=n[72]|0,(t|0)==(m+(a<<1)|0)?n[72]=t+-2:w=48);do if((w|0)==48){if(d[400]|0){n[72]=(n[72]|0)+-2;break}for(t=n[73]|0,a=n[72]|0;;){if(a>>>0>=t>>>0){w=55;break}if(l=d[a>>1]|0,K(l)|0){w=53;break}C=a+2|0,n[72]=C,a=C}if((w|0)==53){z(m,l,f);break}else if((w|0)==55){M();break}}while(!1)}h(B,"l");function z(t,a,f){t=t|0,a=a|0,f=f|0;var l=0,m=0;switch(l=(n[72]|0)+2|0,a<<16>>16){case 39:{N(39),m=5;break}case 34:{N(34),m=5;break}default:M()}do if((m|0)==5){if(le(t,l,n[72]|0,1),f&&(n[(n[63]|0)+28>>2]=4),n[72]=(n[72]|0)+2,a=k(0)|0,f=a<<16>>16==97,f?(l=n[72]|0,R(l+2|0,94,10)|0&&(m=13)):(l=n[72]|0,a<<16>>16==119&&(d[l+2>>1]|0)==105&&(d[l+4>>1]|0)==116&&(d[l+6>>1]|0)==104||(m=13)),(m|0)==13){n[72]=l+-2;break}if(n[72]=l+((f?6:4)<<1),(k(1)|0)<<16>>16!=123){n[72]=l;break}f=n[72]|0,a=f;e:for(;;){switch(n[72]=a+2,a=k(1)|0,a<<16>>16){case 39:{N(39),n[72]=(n[72]|0)+2,a=k(1)|0;break}case 34:{N(34),n[72]=(n[72]|0)+2,a=k(1)|0;break}default:a=U(a)|0}if(a<<16>>16!=58){m=22;break}switch(n[72]=(n[72]|0)+2,(k(1)|0)<<16>>16){case 39:{N(39);break}case 34:{N(34);break}default:{m=26;break e}}switch(n[72]=(n[72]|0)+2,(k(1)|0)<<16>>16){case 125:{m=31;break e}case 44:break;default:{m=30;break e}}if(n[72]=(n[72]|0)+2,(k(1)|0)<<16>>16==125){m=31;break}a=n[72]|0}if((m|0)==22){n[72]=l;break}else if((m|0)==26){n[72]=l;break}else if((m|0)==30){n[72]=l;break}else if((m|0)==31){m=n[63]|0,n[m+16>>2]=f,n[m+12>>2]=(n[72]|0)+2;break}}while(!1)}h(z,"u");function St(t){t=t|0;e:do switch(d[t>>1]|0){case 100:switch(d[t+-2>>1]|0){case 105:{t=L(t+-4|0,104,2)|0;break e}case 108:{t=L(t+-4|0,108,3)|0;break e}default:{t=0;break e}}case 101:switch(d[t+-2>>1]|0){case 115:switch(d[t+-4>>1]|0){case 108:{t=H(t+-6|0,101)|0;break e}case 97:{t=H(t+-6|0,99)|0;break e}default:{t=0;break e}}case 116:{t=L(t+-4|0,114,4)|0;break e}case 117:{t=L(t+-4|0,122,6)|0;break e}default:{t=0;break e}}case 102:{if((d[t+-2>>1]|0)==111&&(d[t+-4>>1]|0)==101)switch(d[t+-6>>1]|0){case 99:{t=L(t+-8|0,134,6)|0;break e}case 112:{t=L(t+-8|0,146,2)|0;break e}default:{t=0;break e}}else t=0;break}case 107:{t=L(t+-2|0,150,4)|0;break}case 110:{t=t+-2|0,H(t,105)|0?t=1:t=L(t,158,5)|0;break}case 111:{t=H(t+-2|0,100)|0;break}case 114:{t=L(t+-2|0,168,7)|0;break}case 116:{t=L(t+-2|0,182,4)|0;break}case 119:switch(d[t+-2>>1]|0){case 101:{t=H(t+-4|0,110)|0;break e}case 111:{t=L(t+-4|0,190,3)|0;break e}default:{t=0;break e}}default:t=0}while(!1);return t|0}h(St,"o");function $e(){var t=0,a=0,f=0,l=0;a=n[73]|0,f=n[72]|0;e:for(;;){if(t=f+2|0,f>>>0>=a>>>0){a=10;break}switch(d[t>>1]|0){case 96:{a=7;break e}case 36:{if((d[f+4>>1]|0)==123){a=6;break e}break}case 92:{t=f+4|0;break}default:}f=t}(a|0)==6?(t=f+4|0,n[72]=t,a=n[70]|0,l=d[400]|0,f=l&65535,n[a+(f<<3)>>2]=4,d[400]=l+1<<16>>16,n[a+(f<<3)+4>>2]=t):(a|0)==7?(n[72]=t,f=n[70]|0,l=(d[400]|0)+-1<<16>>16,d[400]=l,(n[f+((l&65535)<<3)>>2]|0)!=3&&M()):(a|0)==10&&(n[72]=t,M())}h($e,"h");function k(t){t=t|0;var a=0,f=0,l=0;f=n[72]|0;e:do{a=d[f>>1]|0;t:do if(a<<16>>16!=47)if(t){if(P(a)|0)break;break e}else{if(ie(a)|0)break;break e}else switch(d[f+2>>1]|0){case 47:{ge();break t}case 42:{he(t);break t}default:{a=47;break e}}while(!1);l=n[72]|0,f=l+2|0,n[72]=f}while(l>>>0<(n[73]|0)>>>0);return a|0}h(k,"w");function le(t,a,f,l){t=t|0,a=a|0,f=f|0,l=l|0;var m=0,w=0;w=n[67]|0,n[67]=w+36,m=n[63]|0,n[(m|0?m+32|0:236)>>2]=w,n[64]=m,n[63]=w,n[w+8>>2]=t,(l|0)==2?(t=3,m=f):(m=(l|0)==1,t=m?1:2,m=m?f+2|0:0),n[w+12>>2]=m,n[w+28>>2]=t,n[w>>2]=a,n[w+4>>2]=f,n[w+16>>2]=0,n[w+20>>2]=l,a=(l|0)==1,b[w+24>>0]=a&1,n[w+32>>2]=0,a|(l|0)==2&&(b[803]=1)}h(le,"d");function N(t){t=t|0;var a=0,f=0,l=0,m=0;for(m=n[73]|0,a=n[72]|0;;){if(l=a+2|0,a>>>0>=m>>>0){a=9;break}if(f=d[l>>1]|0,f<<16>>16==t<<16>>16){a=10;break}if(f<<16>>16==92)f=a+4|0,(d[f>>1]|0)==13?(a=a+6|0,a=(d[a>>1]|0)==10?a:f):a=f;else if(Te(f)|0){a=9;break}else a=l}(a|0)==9?(n[72]=l,M()):(a|0)==10&&(n[72]=l)}h(N,"v");function je(t,a){t=t|0,a=a|0;var f=0,l=0,m=0,w=0;return f=n[72]|0,l=d[f>>1]|0,w=(t|0)==(a|0),m=w?0:t,w=w?0:a,l<<16>>16==97&&(n[72]=f+4,f=k(1)|0,t=n[72]|0,K(f)|0?(N(f),a=(n[72]|0)+2|0,n[72]=a):(U(f)|0,a=n[72]|0),l=k(1)|0,f=n[72]|0),(f|0)!=(t|0)&&W(t,a,m,w),l|0}h(je,"A");function vt(){var t=0,a=0,f=0;f=n[73]|0,a=n[72]|0;e:for(;;){if(t=a+2|0,a>>>0>=f>>>0){a=6;break}switch(d[t>>1]|0){case 13:case 10:{a=6;break e}case 93:{a=7;break e}case 92:{t=a+4|0;break}default:}a=t}return(a|0)==6?(n[72]=t,M(),t=0):(a|0)==7&&(n[72]=t,t=93),t|0}h(vt,"C");function fe(){var t=0,a=0,f=0;e:for(;;){if(t=n[72]|0,a=t+2|0,n[72]=a,t>>>0>=(n[73]|0)>>>0){f=7;break}switch(d[a>>1]|0){case 13:case 10:{f=7;break e}case 47:break e;case 91:{vt()|0;break}case 92:{n[72]=t+4;break}default:}}(f|0)==7&&M()}h(fe,"g");function xt(t){switch(t=t|0,d[t>>1]|0){case 62:{t=(d[t+-2>>1]|0)==61;break}case 41:case 59:{t=1;break}case 104:{t=L(t+-2|0,210,4)|0;break}case 121:{t=L(t+-2|0,218,6)|0;break}case 101:{t=L(t+-2|0,230,3)|0;break}default:t=0}return t|0}h(xt,"p");function he(t){t=t|0;var a=0,f=0,l=0,m=0,w=0;for(m=(n[72]|0)+2|0,n[72]=m,f=n[73]|0;a=m+2|0,!(m>>>0>=f>>>0||(l=d[a>>1]|0,!t&&Te(l)|0));){if(l<<16>>16==42&&(d[m+4>>1]|0)==47){w=8;break}m=a}(w|0)==8&&(n[72]=a,a=m+4|0),n[72]=a}h(he,"y");function R(t,a,f){t=t|0,a=a|0,f=f|0;var l=0,m=0;e:do if(!f)t=0;else{for(;l=b[t>>0]|0,m=b[a>>0]|0,l<<24>>24==m<<24>>24;)if(f=f+-1|0,f)t=t+1|0,a=a+1|0;else{t=0;break e}t=(l&255)-(m&255)|0}while(!1);return t|0}h(R,"m");function ne(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:{t=1;break}default:if((t&-8)<<16>>16==40|(t+-58&65535)<6)t=1;else{switch(t<<16>>16){case 91:case 93:case 94:{t=1;break e}default:}t=(t+-123&65535)<4}}while(!1);return t|0}h(ne,"I");function _t(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:break;default:if(!((t+-58&65535)<6|(t+-40&65535)<7&t<<16>>16!=41)){switch(t<<16>>16){case 91:case 94:break e;default:}return t<<16>>16!=125&(t+-123&65535)<4|0}}while(!1);return 1}h(_t,"U");function Ue(t){t=t|0;var a=0;a=d[t>>1]|0;e:do if((a+-9&65535)>=5){switch(a<<16>>16){case 160:case 32:{a=1;break e}default:}if(ne(a)|0)return a<<16>>16!=46|(be(t)|0)|0;a=0}else a=1;while(!1);return a|0}h(Ue,"x");function Et(t){t=t|0;var a=0,f=0,l=0,m=0;return f=_,_=_+16|0,l=f,n[l>>2]=0,n[66]=t,a=n[3]|0,m=a+(t<<1)|0,t=m+2|0,d[m>>1]=0,n[l>>2]=t,n[67]=t,n[59]=0,n[63]=0,n[61]=0,n[60]=0,n[65]=0,n[62]=0,_=f,a|0}h(Et,"S");function W(t,a,f,l){t=t|0,a=a|0,f=f|0,l=l|0;var m=0,w=0;m=n[67]|0,n[67]=m+20,w=n[65]|0,n[(w|0?w+16|0:240)>>2]=m,n[65]=m,n[m>>2]=t,n[m+4>>2]=a,n[m+8>>2]=f,n[m+12>>2]=l,n[m+16>>2]=0,b[803]=1}h(W,"O");function L(t,a,f){t=t|0,a=a|0,f=f|0;var l=0,m=0;return l=t+(0-f<<1)|0,m=l+2|0,t=n[3]|0,m>>>0>=t>>>0&&!(R(m,a,f<<1)|0)?(m|0)==(t|0)?t=1:t=Ue(l)|0:t=0,t|0}h(L,"$");function Lt(t){switch(t=t|0,d[t>>1]|0){case 107:{t=L(t+-2|0,150,4)|0;break}case 101:{(d[t+-2>>1]|0)==117?t=L(t+-4|0,122,6)|0:t=0;break}default:t=0}return t|0}h(Lt,"j");function H(t,a){t=t|0,a=a|0;var f=0;return f=n[3]|0,f>>>0<=t>>>0&&(d[t>>1]|0)==a<<16>>16?(f|0)==(t|0)?f=1:f=de(d[t+-2>>1]|0)|0:f=0,f|0}h(H,"B");function de(t){t=t|0;e:do if((t+-9&65535)<5)t=1;else{switch(t<<16>>16){case 32:case 160:{t=1;break e}default:}t=t<<16>>16!=46&(ne(t)|0)}while(!1);return t|0}h(de,"E");function ge(){var t=0,a=0,f=0;t=n[73]|0,f=n[72]|0;e:for(;a=f+2|0,!(f>>>0>=t>>>0);)switch(d[a>>1]|0){case 13:case 10:break e;default:f=a}n[72]=a}h(ge,"P");function U(t){for(t=t|0;!(P(t)|0||ne(t)|0);)if(t=(n[72]|0)+2|0,n[72]=t,t=d[t>>1]|0,!(t<<16>>16)){t=0;break}return t|0}h(U,"q");function Ot(){var t=0;switch(t=n[(n[61]|0)+20>>2]|0,t|0){case 1:{t=-1;break}case 2:{t=-2;break}default:t=t-(n[3]|0)>>1}return t|0}h(Ot,"z");function At(t){return t=t|0,!(L(t,196,5)|0)&&!(L(t,44,3)|0)?t=L(t,206,2)|0:t=1,t|0}h(At,"D");function ie(t){switch(t=t|0,t<<16>>16){case 160:case 32:case 12:case 11:case 9:{t=1;break}default:t=0}return t|0}h(ie,"F");function be(t){return t=t|0,(d[t>>1]|0)==46&&(d[t+-2>>1]|0)==46?t=(d[t+-4>>1]|0)==46:t=0,t|0}h(be,"G");function X(t){return t=t|0,(n[3]|0)==(t|0)?t=1:t=Ue(t+-2|0)|0,t|0}h(X,"H");function Rt(){var t=0;return t=n[(n[62]|0)+12>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}h(Rt,"J");function It(){var t=0;return t=n[(n[61]|0)+12>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}h(It,"K");function Nt(){var t=0;return t=n[(n[62]|0)+8>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}h(Nt,"L");function Mt(){var t=0;return t=n[(n[61]|0)+16>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}h(Mt,"M");function $t(){var t=0;return t=n[(n[61]|0)+4>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}h($t,"N");function jt(){var t=0;return t=n[61]|0,t=n[(t|0?t+32|0:236)>>2]|0,n[61]=t,(t|0)!=0|0}h(jt,"Q");function Ut(){var t=0;return t=n[62]|0,t=n[(t|0?t+16|0:240)>>2]|0,n[62]=t,(t|0)!=0|0}h(Ut,"R");function M(){b[802]=1,n[68]=(n[72]|0)-(n[3]|0)>>1,n[72]=(n[73]|0)+2}h(M,"T");function P(t){return t=t|0,(t|128)<<16>>16==160|(t+-9&65535)<5|0}h(P,"V");function K(t){return t=t|0,t<<16>>16==39|t<<16>>16==34|0}h(K,"W");function Tt(){return(n[(n[61]|0)+8>>2]|0)-(n[3]|0)>>1|0}h(Tt,"X");function Dt(){return(n[(n[62]|0)+4>>2]|0)-(n[3]|0)>>1|0}h(Dt,"Y");function Te(t){return t=t|0,t<<16>>16==13|t<<16>>16==10|0}h(Te,"Z");function Ft(){return(n[n[61]>>2]|0)-(n[3]|0)>>1|0}h(Ft,"_");function Bt(){return(n[n[62]>>2]|0)-(n[3]|0)>>1|0}h(Bt,"ee");function Wt(){return A[(n[61]|0)+24>>0]|0|0}h(Wt,"ae");function Pt(t){t=t|0,n[3]=t}h(Pt,"re");function Jt(){return n[(n[61]|0)+28>>2]|0}h(Jt,"ie");function Gt(){return(b[803]|0)!=0|0}h(Gt,"se");function qt(){return(b[804]|0)!=0|0}h(qt,"fe");function zt(){return n[68]|0}h(zt,"te");function Ht(t){return t=t|0,_=t+992+15&-16,992}return h(Ht,"ce"),{su:Ht,ai:Mt,e:zt,ee:Dt,ele:Rt,els:Nt,es:Bt,f:qt,id:Ot,ie:$t,ip:Wt,is:Ft,it:Jt,ms:Gt,p:I,re:Ut,ri:jt,sa:Et,se:It,ses:Pt,ss:Tt}}(typeof self<"u"?self:global,{},se),Se=x.su(Z-(2<<17))}const i=E.length+1;x.ses(Se),x.sa(i-1),Ge(E,new Uint16Array(se,Se,i)),x.p()||(y=x.e(),T());const o=[],c=[];for(;x.ri();){const u=x.is(),p=x.ie(),g=x.ai(),b=x.id(),d=x.ss(),n=x.se(),A=x.it();let O;x.ip()&&(O=ve(b===-1?u:u+1,E.charCodeAt(b===-1?u-1:u))),o.push({t:A,n:O,s:u,e:p,ss:d,se:n,d:b,a:g})}for(;x.re();){const u=x.es(),p=x.ee(),g=x.els(),b=x.ele(),d=E.charCodeAt(u),n=g>=0?E.charCodeAt(g):-1;c.push({s:u,e:p,ls:g,le:b,n:d===34||d===39?ve(u+1,d):E.slice(u,p),ln:g<0?void 0:n===34||n===39?ve(g+1,n):E.slice(g,b)})}return[o,c,!!x.f(),!!x.ms()]}h(wr,"parse");function ve(s,e){y=s;let r="",i=y;for(;;){y>=E.length&&T();const o=E.charCodeAt(y);if(o===e)break;o===92?(r+=E.slice(i,y),r+=kr(),i=y):(o===8232||o===8233||ze(o)&&T(),++y)}return r+=E.slice(i,y++),r}h(ve,"b");function kr(){let s=E.charCodeAt(++y);switch(++y,s){case 110:return`
11
+ `;case 114:return"\r";case 120:return String.fromCharCode(xe(2));case 117:return function(){const e=E.charCodeAt(y);let r;return e===123?(++y,r=xe(E.indexOf("}",y)-y),++y,r>1114111&&T()):r=xe(4),r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode(55296+(r>>10),56320+(1023&r)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:E.charCodeAt(y)===10&&++y;case 10:return"";case 56:case 57:T();default:if(s>=48&&s<=55){let e=E.substr(y-1,3).match(/^[0-7]+/)[0],r=parseInt(e,8);return r>255&&(e=e.slice(0,-1),r=parseInt(e,8)),y+=e.length-1,s=E.charCodeAt(y),e==="0"&&s!==56&&s!==57||T(),String.fromCharCode(r)}return ze(s)?"":String.fromCharCode(s)}}h(kr,"k");function xe(s){const e=y;let r=0,i=0;for(let o=0;o<s;++o,++y){let c,u=E.charCodeAt(y);if(u!==95){if(u>=97)c=u-97+10;else if(u>=65)c=u-65+10;else{if(!(u>=48&&u<=57))break;c=u-48}if(c>=16)break;i=u,r=16*r+c}else i!==95&&o!==0||T(),i=u}return i!==95&&y-e===s||T(),r}h(xe,"l");function ze(s){return s===13||s===10}h(ze,"u");function T(){throw Object.assign(Error(`Parse error ${qe}:${E.slice(0,y).split(`
12
+ `).length}:${y-E.lastIndexOf(`
13
+ `,y-1)}`),{idx:y})}h(T,"o");let _e;typeof WebAssembly<"u"&&(async()=>{const{parse:s,init:e}=await import("./lexer-DQCqS3nf.mjs");await e,_e=s})();const Ee=h((s,e)=>_e?_e(s,e):wr(s,e),"parseEsm"),yr=h(s=>{if(!s.includes("import")&&!s.includes("export"))return!1;try{return Ee(s)[3]}catch{return!0}},"isESM"),Le="2",Cr=(s=>{const e="default";return s[e]&&typeof s[e]=="object"&&"__esModule"in s[e]?s[e]:s}).toString(),Sr=`.then(${Cr})`,oe=h((s,e,r)=>{if(r){if(!e.includes("import("))return}else if(!e.includes("import"))return;const o=Ee(e,s)[0].filter(g=>g.d>-1);if(o.length===0)return;const c=new Me(e);for(const g of o)c.appendRight(g.se,Sr);const u=c.toString(),p=c.generateMap({source:s,includeContent:!1,hires:"boundary"});return{code:u,map:p}},"transformDynamicImport"),He=h(s=>{try{const e=j.readFileSync(s,"utf8");return JSON.parse(e)}catch{}},"readJsonFile"),Xe=h(()=>{},"noop"),Ke=h(()=>Math.floor(Date.now()/1e8),"getTime");class vr extends Map{static{h(this,"FileCache")}cacheDirectory=rr;oldCacheDirectory=J.join(tr.tmpdir(),"tsx");cacheFiles;constructor(){super(),j.mkdirSync(this.cacheDirectory,{recursive:!0}),this.cacheFiles=j.readdirSync(this.cacheDirectory).map(e=>{const[r,i]=e.split("-");return{time:Number(r),key:i,fileName:e}}),setImmediate(()=>{this.expireDiskCache(),this.removeOldCacheDirectory()})}get(e){const r=super.get(e);if(r)return r;const i=this.cacheFiles.find(u=>u.key===e);if(!i)return;const o=J.join(this.cacheDirectory,i.fileName),c=He(o);if(!c){j.promises.unlink(o).then(()=>{const u=this.cacheFiles.indexOf(i);this.cacheFiles.splice(u,1)},()=>{});return}return super.set(e,c),c}set(e,r){if(super.set(e,r),r){const i=Ke();j.promises.writeFile(J.join(this.cacheDirectory,`${i}-${e}`),JSON.stringify(r)).catch(Xe)}return this}expireDiskCache(){const e=Ke();for(const r of this.cacheFiles)e-r.time>7&&j.promises.unlink(J.join(this.cacheDirectory,r.fileName)).catch(Xe)}async removeOldCacheDirectory(){try{await j.promises.access(this.oldCacheDirectory).then(()=>!0)&&("rm"in j.promises?await j.promises.rm(this.oldCacheDirectory,{recursive:!0,force:!0}):await j.promises.rmdir(this.oldCacheDirectory,{recursive:!0}))}catch{}}}var q=process.env.TSX_DISABLE_CACHE?new Map:new vr;const Ye=44,xr=59,Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ze=new Uint8Array(64),Ve=new Uint8Array(128);for(let s=0;s<Qe.length;s++){const e=Qe.charCodeAt(s);Ze[s]=e,Ve[e]=s}const Oe=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(s){return Buffer.from(s.buffer,s.byteOffset,s.byteLength).toString()}}:{decode(s){let e="";for(let r=0;r<s.length;r++)e+=String.fromCharCode(s[r]);return e}};function _r(s){const e=new Int32Array(5),r=[];let i=0;do{const o=Er(s,i),c=[];let u=!0,p=0;e[0]=0;for(let g=i;g<o;g++){let b;g=V(s,g,e,0);const d=e[0];d<p&&(u=!1),p=d,et(s,g,o)?(g=V(s,g,e,1),g=V(s,g,e,2),g=V(s,g,e,3),et(s,g,o)?(g=V(s,g,e,4),b=[d,e[1],e[2],e[3],e[4]]):b=[d,e[1],e[2],e[3]]):b=[d],c.push(b)}u||Lr(c),r.push(c),i=o+1}while(i<=s.length);return r}h(_r,"decode");function Er(s,e){const r=s.indexOf(";",e);return r===-1?s.length:r}h(Er,"indexOf");function V(s,e,r,i){let o=0,c=0,u=0;do{const g=s.charCodeAt(e++);u=Ve[g],o|=(u&31)<<c,c+=5}while(u&32);const p=o&1;return o>>>=1,p&&(o=-2147483648|-o),r[i]+=o,e}h(V,"decodeInteger");function et(s,e,r){return e>=r?!1:s.charCodeAt(e)!==Ye}h(et,"hasMoreVlq");function Lr(s){s.sort(Or)}h(Lr,"sort");function Or(s,e){return s[0]-e[0]}h(Or,"sortComparator$1");function Ar(s){const e=new Int32Array(5),r=1024*16,i=r-36,o=new Uint8Array(r),c=o.subarray(0,i);let u=0,p="";for(let g=0;g<s.length;g++){const b=s[g];if(g>0&&(u===r&&(p+=Oe.decode(o),u=0),o[u++]=xr),b.length!==0){e[0]=0;for(let d=0;d<b.length;d++){const n=b[d];u>i&&(p+=Oe.decode(c),o.copyWithin(0,i,u),u-=i),d>0&&(o[u++]=Ye),u=ee(o,u,e,n,0),n.length!==1&&(u=ee(o,u,e,n,1),u=ee(o,u,e,n,2),u=ee(o,u,e,n,3),n.length!==4&&(u=ee(o,u,e,n,4)))}}}return p+Oe.decode(o.subarray(0,u))}h(Ar,"encode");function ee(s,e,r,i,o){const c=i[o];let u=c-r[o];r[o]=c,u=u<0?-u<<1|1:u<<1;do{let p=u&31;u>>>=5,u>0&&(p|=32),s[e++]=Ze[p]}while(u>0);return e}h(ee,"encodeInteger");const Rr=/^[\w+.-]+:\/\//,Ir=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Nr=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function Mr(s){return Rr.test(s)}h(Mr,"isAbsoluteUrl");function $r(s){return s.startsWith("//")}h($r,"isSchemeRelativeUrl");function tt(s){return s.startsWith("/")}h(tt,"isAbsolutePath");function jr(s){return s.startsWith("file:")}h(jr,"isFileUrl");function rt(s){return/^[.?#]/.test(s)}h(rt,"isRelative");function ae(s){const e=Ir.exec(s);return nt(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}h(ae,"parseAbsoluteUrl");function Ur(s){const e=Nr.exec(s),r=e[2];return nt("file:","",e[1]||"","",tt(r)?r:"/"+r,e[3]||"",e[4]||"")}h(Ur,"parseFileUrl");function nt(s,e,r,i,o,c,u){return{scheme:s,user:e,host:r,port:i,path:o,query:c,hash:u,type:7}}h(nt,"makeUrl");function it(s){if($r(s)){const r=ae("http:"+s);return r.scheme="",r.type=6,r}if(tt(s)){const r=ae("http://foo.com"+s);return r.scheme="",r.host="",r.type=5,r}if(jr(s))return Ur(s);if(Mr(s))return ae(s);const e=ae("http://foo.com/"+s);return e.scheme="",e.host="",e.type=s?s.startsWith("?")?3:s.startsWith("#")?2:4:1,e}h(it,"parseUrl");function Tr(s){if(s.endsWith("/.."))return s;const e=s.lastIndexOf("/");return s.slice(0,e+1)}h(Tr,"stripPathFilename");function Dr(s,e){st(e,e.type),s.path==="/"?s.path=e.path:s.path=Tr(e.path)+s.path}h(Dr,"mergePaths");function st(s,e){const r=e<=4,i=s.path.split("/");let o=1,c=0,u=!1;for(let g=1;g<i.length;g++){const b=i[g];if(!b){u=!0;continue}if(u=!1,b!=="."){if(b===".."){c?(u=!0,c--,o--):r&&(i[o++]=b);continue}i[o++]=b,c++}}let p="";for(let g=1;g<o;g++)p+="/"+i[g];(!p||u&&!p.endsWith("/.."))&&(p+="/"),s.path=p}h(st,"normalizePath");function Fr(s,e){if(!s&&!e)return"";const r=it(s);let i=r.type;if(e&&i!==7){const c=it(e),u=c.type;switch(i){case 1:r.hash=c.hash;case 2:r.query=c.query;case 3:case 4:Dr(r,c);case 5:r.user=c.user,r.host=c.host,r.port=c.port;case 6:r.scheme=c.scheme}u>i&&(i=u)}st(r,i);const o=r.query+r.hash;switch(i){case 2:case 3:return o;case 4:{const c=r.path.slice(1);return c?rt(e||s)&&!rt(c)?"./"+c+o:c+o:o||"."}case 5:return r.path+o;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+o}}h(Fr,"resolve$1");function ot(s,e){return e&&!e.endsWith("/")&&(e+="/"),Fr(s,e)}h(ot,"resolve");function Br(s){if(!s)return"";const e=s.lastIndexOf("/");return s.slice(0,e+1)}h(Br,"stripFilename");const F=0;function Wr(s,e){const r=at(s,0);if(r===s.length)return s;e||(s=s.slice());for(let i=r;i<s.length;i=at(s,i+1))s[i]=Jr(s[i],e);return s}h(Wr,"maybeSort");function at(s,e){for(let r=e;r<s.length;r++)if(!Pr(s[r]))return r;return s.length}h(at,"nextUnsortedSegmentLine");function Pr(s){for(let e=1;e<s.length;e++)if(s[e][F]<s[e-1][F])return!1;return!0}h(Pr,"isSorted");function Jr(s,e){return e||(s=s.slice()),s.sort(Gr)}h(Jr,"sortSegments");function Gr(s,e){return s[F]-e[F]}h(Gr,"sortComparator");let ce=!1;function qr(s,e,r,i){for(;r<=i;){const o=r+(i-r>>1),c=s[o][F]-e;if(c===0)return ce=!0,o;c<0?r=o+1:i=o-1}return ce=!1,r-1}h(qr,"binarySearch");function zr(s,e,r){for(let i=r-1;i>=0&&s[i][F]===e;r=i--);return r}h(zr,"lowerBound");function Hr(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}h(Hr,"memoizedState");function Xr(s,e,r,i){const{lastKey:o,lastNeedle:c,lastIndex:u}=r;let p=0,g=s.length-1;if(i===o){if(e===c)return ce=u!==-1&&s[u][F]===e,u;e>=c?p=u===-1?0:u:g=u}return r.lastKey=i,r.lastNeedle=e,r.lastIndex=qr(s,e,p,g)}h(Xr,"memoizedBinarySearch");class ct{static{h(this,"TraceMap")}constructor(e,r){const i=typeof e=="string";if(!i&&e._decodedMemo)return e;const o=i?JSON.parse(e):e,{version:c,file:u,names:p,sourceRoot:g,sources:b,sourcesContent:d}=o;this.version=c,this.file=u,this.names=p||[],this.sourceRoot=g,this.sources=b,this.sourcesContent=d,this.ignoreList=o.ignoreList||o.x_google_ignoreList||void 0;const n=ot(g||"",Br(r));this.resolvedSources=b.map(O=>ot(O||"",n));const{mappings:A}=o;typeof A=="string"?(this._encoded=A,this._decoded=void 0):(this._encoded=void 0,this._decoded=Wr(A,i)),this._decodedMemo=Hr(),this._bySources=void 0,this._bySourceMemos=void 0}}function Fn(s){return s}h(Fn,"cast$2");function ut(s){var e;return(e=s)._decoded||(e._decoded=_r(s._encoded))}h(ut,"decodedMappings");function Kr(s,e,r){const i=ut(s);if(e>=i.length)return null;const o=i[e],c=Yr(o,s._decodedMemo,e,r);return c===-1?null:o[c]}h(Kr,"traceSegment");function Yr(s,e,r,i,o){let c=Xr(s,i,e,r);return ce&&(c=zr(s,i,c)),c===-1||c===s.length?-1:c}h(Yr,"traceSegmentInternal");class Ae{static{h(this,"SetArray")}constructor(){this._indexes={__proto__:null},this.array=[]}}function Bn(s){return s}h(Bn,"cast$1");function lt(s,e){return s._indexes[e]}h(lt,"get");function te(s,e){const r=lt(s,e);if(r!==void 0)return r;const{array:i,_indexes:o}=s,c=i.push(e);return o[e]=c-1}h(te,"put");function Qr(s,e){const r=lt(s,e);if(r===void 0)return;const{array:i,_indexes:o}=s;for(let c=r+1;c<i.length;c++){const u=i[c];i[c-1]=u,o[u]--}o[e]=void 0,i.pop()}h(Qr,"remove");const Zr=0,Vr=1,en=2,tn=3,rn=4,ft=-1;class nn{static{h(this,"GenMapping")}constructor({file:e,sourceRoot:r}={}){this._names=new Ae,this._sources=new Ae,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=r,this._ignoreList=new Ae}}function Wn(s){return s}h(Wn,"cast");const sn=h((s,e,r,i,o,c,u,p)=>un(!0,s,e,r,i,o,c,u),"maybeAddSegment");function on(s,e,r){const{_sources:i,_sourcesContent:o}=s,c=te(i,e);o[c]=r}h(on,"setSourceContent");function an(s,e,r=!0){const{_sources:i,_sourcesContent:o,_ignoreList:c}=s,u=te(i,e);u===o.length&&(o[u]=null),r?te(c,u):Qr(c,u)}h(an,"setIgnore");function ht(s){const{_mappings:e,_sources:r,_sourcesContent:i,_names:o,_ignoreList:c}=s;return hn(e),{version:3,file:s.file||void 0,names:o.array,sourceRoot:s.sourceRoot||void 0,sources:r.array,sourcesContent:i,mappings:e,ignoreList:c.array}}h(ht,"toDecodedMap");function cn(s){const e=ht(s);return Object.assign(Object.assign({},e),{mappings:Ar(e.mappings)})}h(cn,"toEncodedMap");function un(s,e,r,i,o,c,u,p,g){const{_mappings:b,_sources:d,_sourcesContent:n,_names:A}=e,O=ln(b,r),_=fn(O,i);if(!o)return dn(O,_)?void 0:dt(O,_,[i]);const I=te(d,o),$=p?te(A,p):ft;if(I===n.length&&(n[I]=null),!gn(O,_,I,c,u,$))return dt(O,_,p?[i,I,c,u,$]:[i,I,c,u])}h(un,"addSegmentInternal");function ln(s,e){for(let r=s.length;r<=e;r++)s[r]=[];return s[e]}h(ln,"getLine");function fn(s,e){let r=s.length;for(let i=r-1;i>=0;r=i--){const o=s[i];if(e>=o[Zr])break}return r}h(fn,"getColumnIndex");function dt(s,e,r){for(let i=s.length;i>e;i--)s[i]=s[i-1];s[e]=r}h(dt,"insert");function hn(s){const{length:e}=s;let r=e;for(let i=r-1;i>=0&&!(s[i].length>0);r=i,i--);r<e&&(s.length=r)}h(hn,"removeEmptyFinalLines");function dn(s,e){return e===0?!0:s[e-1].length===1}h(dn,"skipSourceless");function gn(s,e,r,i,o,c){if(e===0)return!1;const u=s[e-1];return u.length===1?!1:r===u[Vr]&&i===u[en]&&o===u[tn]&&c===(u.length===5?u[rn]:ft)}h(gn,"skipSource");const gt=bt("",-1,-1,"",null,!1),bn=[];function bt(s,e,r,i,o,c){return{source:s,line:e,column:r,name:i,content:o,ignore:c}}h(bt,"SegmentObject");function pt(s,e,r,i,o){return{map:s,sources:e,source:r,content:i,ignore:o}}h(pt,"Source");function mt(s,e){return pt(s,e,"",null,!1)}h(mt,"MapSource");function pn(s,e,r){return pt(null,bn,s,e,r)}h(pn,"OriginalSource");function mn(s){const e=new nn({file:s.map.file}),{sources:r,map:i}=s,o=i.names,c=ut(i);for(let u=0;u<c.length;u++){const p=c[u];for(let g=0;g<p.length;g++){const b=p[g],d=b[0];let n=gt;if(b.length!==1){const z=r[b[1]];if(n=wt(z,b[2],b[3],b.length===5?o[b[4]]:""),n==null)continue}const{column:A,line:O,name:_,content:I,source:$,ignore:B}=n;sn(e,u,d,$,O,A,_),$&&I!=null&&on(e,$,I),B&&an(e,$,!0)}}return e}h(mn,"traceMappings");function wt(s,e,r,i){if(!s.map)return bt(s.source,e,r,i,s.content,s.ignore);const o=Kr(s.map,e,r);return o==null?null:o.length===1?gt:wt(s.sources[o[1]],o[2],o[3],o.length===5?s.map.names[o[4]]:i)}h(wt,"originalPositionFor");function wn(s){return Array.isArray(s)?s:[s]}h(wn,"asArray");function kn(s,e){const r=wn(s).map(c=>new ct(c,"")),i=r.pop();for(let c=0;c<r.length;c++)if(r[c].sources.length>1)throw new Error(`Transformation map ${c} must have exactly one source file.
14
+ Did you specify these with the most recent transformation maps first?`);let o=kt(i,e,"",0);for(let c=r.length-1;c>=0;c--)o=mt(r[c],[o]);return o}h(kn,"buildSourceMapTree");function kt(s,e,r,i){const{resolvedSources:o,sourcesContent:c,ignoreList:u}=s,p=i+1,g=o.map((b,d)=>{const n={importer:r,depth:p,source:b||"",content:void 0,ignore:void 0},A=e(n.source,n),{source:O,content:_,ignore:I}=n;if(A)return kt(new ct(A,O),e,O,p);const $=_!==void 0?_:c?c[d]:null,B=I!==void 0?I:u?u.includes(d):!1;return pn(O,$,B)});return mt(s,g)}h(kt,"build");class yn{static{h(this,"SourceMap")}constructor(e,r){const i=r.decodedMappings?ht(e):cn(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,r.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function yt(s,e,r){const i={excludeContent:!!r,decodedMappings:!1},o=kn(s,e);return new yn(mn(o),i)}h(yt,"remapping");const Ct=h((s,e,r)=>{const i=[],o={code:e};for(const c of r){const u=c(s,o.code);u&&(Object.assign(o,u),i.unshift(u.map))}return{...o,map:yt(i,()=>null)}},"applyTransformersSync"),Cn=h(async(s,e,r)=>{const i=[],o={code:e};for(const c of r){const u=await c(s,o.code);u&&(Object.assign(o,u),i.unshift(u.map))}return{...o,map:yt(i,()=>null)}},"applyTransformers"),Sn=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),vn=/^--inspect(?:-brk|-port|-publish-uid|-wait)?(?:=|$)/,xn=process.execArgv.some(s=>vn.test(s)),Re={...Sn,sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||xn,minifyWhitespace:!0,keepNames:!0},Ie=h(s=>{const e=s.sourcefile;if(e){const r=J.extname(e.split("?")[0]);r?r===".cts"||r===".mts"?s.sourcefile=`${e.slice(0,-3)}ts`:r===".mjs"&&(s.sourcefile=`${e.slice(0,-3)}js`):s.sourcefile+=".js"}return r=>(r.map&&(s.sourcefile!==e&&(r.map=r.map.replace(JSON.stringify(s.sourcefile),JSON.stringify(e))),r.map=JSON.parse(r.map)),r)},"patchOptions"),Ne=h(s=>{throw s.name="TransformError",delete s.errors,delete s.warnings,s},"formatEsbuildError"),_n=h((s,e)=>({...Vt(er)?{dirname:J.dirname(s),filename:s}:{},url:e}),"getImportMeta"),En=h((s,e,r)=>{let i,o,c;if(e.startsWith("file://")){i=e;const n=new URL(e);o=Kt(n)}else[o,c]=e.split("?"),i=Yt(o)+(c?`?${c}`:"");const{cjsBanner:u,...p}=r??{},g={...Re,format:"cjs",sourcefile:o,banner:`__filename=${JSON.stringify(o)};(()=>{${u??""}`,footer:"})()",platform:"node",...p};s.includes("import.meta")&&g.format==="cjs"&&!o.endsWith(".cjs")&&!o.endsWith(".cts")&&(g.define={...g.define,"import.meta":JSON.stringify(_n(o,i))});const b=Ce([s,i,JSON.stringify(g),ye,Le].join("-"));let d=q.get(b);return d||(d=Ct(e,s,[(n,A)=>{const O=Ie(g);let _;try{_=De(A,g)}catch(I){throw Ne(I)}return O(_)},(n,A)=>oe(n,A,!0)]),q.set(b,d)),d},"transformSync"),Ln=h(async(s,e,r)=>{const i={...Re,format:"esm",sourcefile:e,...r},o=Ce([s,JSON.stringify(i),ye,Le].join("-"));let c=q.get(o);return c||(c=await Cn(e,s,[async(u,p)=>{const g=Ie(i);let b;try{b=await Qt(p,i)}catch(d){throw Ne(d)}return g(b)},(u,p)=>oe(u,p,!0)]),q.set(o,c)),c},"transform"),On=h((s,e,r)=>{const i={...Re,format:"esm",sourcefile:e,...r},o=Ce([s,JSON.stringify(i),ye,Le].join("-"));let c=q.get(o);return c||(c=Ct(e,s,[(u,p)=>{const g=Ie(i);let b;try{b=De(p,i)}catch(d){throw Ne(d)}return g(b)},(u,p)=>oe(u,p,!0)]),q.set(o,c)),c},"transformEsmSync");export{En as a,oe as b,On as c,yr as i,Ee as p,He as r,Ln as t};
@@ -0,0 +1 @@
1
+ var u=Object.defineProperty;var g=(s,n)=>u(s,"name",{value:n,configurable:!0});let t=!0;const l=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};let i=0;if(l.process&&l.process.env&&l.process.stdout){const{FORCE_COLOR:s,NODE_DISABLE_COLORS:n,NO_COLOR:r,TERM:o,COLORTERM:c}=l.process.env;n||r||s==="0"?t=!1:s==="1"||s==="2"||s==="3"?t=!0:o==="dumb"?t=!1:"CI"in l.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(a=>a in l.process.env)?t=!0:t=process.stdout.isTTY,t&&(process.platform==="win32"||c&&(c==="truecolor"||c==="24bit")?i=3:o&&(o.endsWith("-256color")||o.endsWith("256"))?i=2:i=1)}let f={enabled:t,supportLevel:i};function e(s,n,r=1){const o=`\x1B[${s}m`,c=`\x1B[${n}m`,a=new RegExp(`\\x1b\\[${n}m`,"g");return p=>f.enabled&&f.supportLevel>=r?o+(""+p).replace(a,o)+c:""+p}g(e,"kolorist");const b=e(30,39),d=e(33,39),O=e(90,39),C=e(92,39),R=e(95,39),I=e(96,39),L=e(44,49),E=e(100,49),T=e(103,49);export{b as a,T as b,L as c,E as d,R as e,C as f,O as g,I as l,f as o,d as y};