@sentry/server-utils 10.68.0 → 11.0.0-alpha.0

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 (1233) hide show
  1. package/README.md +1 -1
  2. package/build/THIRD-PARTY-LICENSES.txt +976 -0
  3. package/build/cjs/_virtual/_commonjsHelpers.js +8 -0
  4. package/build/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  5. package/build/cjs/_virtual/array-set.js +6 -0
  6. package/build/cjs/_virtual/array-set.js.map +1 -0
  7. package/build/cjs/_virtual/astring.js +6 -0
  8. package/build/cjs/_virtual/astring.js.map +1 -0
  9. package/build/cjs/_virtual/base64-vlq.js +6 -0
  10. package/build/cjs/_virtual/base64-vlq.js.map +1 -0
  11. package/build/cjs/_virtual/base64.js +6 -0
  12. package/build/cjs/_virtual/base64.js.map +1 -0
  13. package/build/cjs/_virtual/binary-search.js +6 -0
  14. package/build/cjs/_virtual/binary-search.js.map +1 -0
  15. package/build/cjs/_virtual/mapping-list.js +6 -0
  16. package/build/cjs/_virtual/mapping-list.js.map +1 -0
  17. package/build/cjs/_virtual/meriyah.js +6 -0
  18. package/build/cjs/_virtual/meriyah.js.map +1 -0
  19. package/build/cjs/_virtual/node.js +6 -0
  20. package/build/cjs/_virtual/node.js.map +1 -0
  21. package/build/cjs/_virtual/quick-sort.js +6 -0
  22. package/build/cjs/_virtual/quick-sort.js.map +1 -0
  23. package/build/cjs/_virtual/source-map-consumer.js +6 -0
  24. package/build/cjs/_virtual/source-map-consumer.js.map +1 -0
  25. package/build/cjs/_virtual/source-map-generator.js +6 -0
  26. package/build/cjs/_virtual/source-map-generator.js.map +1 -0
  27. package/build/cjs/_virtual/source-map.js +6 -0
  28. package/build/cjs/_virtual/source-map.js.map +1 -0
  29. package/build/cjs/_virtual/source-node.js +6 -0
  30. package/build/cjs/_virtual/source-node.js.map +1 -0
  31. package/build/cjs/_virtual/util.js +6 -0
  32. package/build/cjs/_virtual/util.js.map +1 -0
  33. package/build/cjs/ai/anthropic-ai/constants.js +16 -0
  34. package/build/cjs/ai/anthropic-ai/constants.js.map +1 -0
  35. package/build/cjs/ai/anthropic-ai/index.js +250 -0
  36. package/build/cjs/ai/anthropic-ai/index.js.map +1 -0
  37. package/build/cjs/ai/anthropic-ai/streaming.js +154 -0
  38. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -0
  39. package/build/cjs/ai/anthropic-ai/utils.js +61 -0
  40. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -0
  41. package/build/cjs/ai/core/gen-ai-attributes.js +20 -0
  42. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -0
  43. package/build/cjs/ai/core/utils.js +134 -0
  44. package/build/cjs/ai/core/utils.js.map +1 -0
  45. package/build/cjs/ai/google-genai/constants.js +17 -0
  46. package/build/cjs/ai/google-genai/constants.js.map +1 -0
  47. package/build/cjs/ai/google-genai/index.js +251 -0
  48. package/build/cjs/ai/google-genai/index.js.map +1 -0
  49. package/build/cjs/ai/google-genai/streaming.js +71 -0
  50. package/build/cjs/ai/google-genai/streaming.js.map +1 -0
  51. package/build/cjs/ai/google-genai/utils.js +21 -0
  52. package/build/cjs/ai/google-genai/utils.js.map +1 -0
  53. package/build/cjs/ai/langchain/constants.js +17 -0
  54. package/build/cjs/ai/langchain/constants.js.map +1 -0
  55. package/build/cjs/ai/langchain/embeddings.js +85 -0
  56. package/build/cjs/ai/langchain/embeddings.js.map +1 -0
  57. package/build/cjs/ai/langchain/index.js +257 -0
  58. package/build/cjs/ai/langchain/index.js.map +1 -0
  59. package/build/cjs/ai/langchain/utils.js +272 -0
  60. package/build/cjs/ai/langchain/utils.js.map +1 -0
  61. package/build/cjs/ai/langgraph/constants.js +8 -0
  62. package/build/cjs/ai/langgraph/constants.js.map +1 -0
  63. package/build/cjs/ai/langgraph/index.js +176 -0
  64. package/build/cjs/ai/langgraph/index.js.map +1 -0
  65. package/build/cjs/ai/langgraph/utils.js +231 -0
  66. package/build/cjs/ai/langgraph/utils.js.map +1 -0
  67. package/build/cjs/ai/openai/constants.js +33 -0
  68. package/build/cjs/ai/openai/constants.js.map +1 -0
  69. package/build/cjs/ai/openai/index.js +173 -0
  70. package/build/cjs/ai/openai/index.js.map +1 -0
  71. package/build/cjs/ai/openai/streaming.js +126 -0
  72. package/build/cjs/ai/openai/streaming.js.map +1 -0
  73. package/build/cjs/ai/openai/utils.js +111 -0
  74. package/build/cjs/ai/openai/utils.js.map +1 -0
  75. package/build/cjs/ai/vercel-ai/constants.js +23 -0
  76. package/build/cjs/ai/vercel-ai/constants.js.map +1 -0
  77. package/build/cjs/ai/vercel-ai/index.js +343 -0
  78. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  79. package/build/cjs/ai/vercel-ai/utils.js +171 -0
  80. package/build/cjs/ai/vercel-ai/utils.js.map +1 -0
  81. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js +50 -0
  82. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  83. package/build/cjs/ai/workers-ai/constants.js +10 -0
  84. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  85. package/build/cjs/ai/workers-ai/index.js +83 -0
  86. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  87. package/build/cjs/ai/workers-ai/streaming.js +150 -0
  88. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  89. package/build/cjs/ai/workers-ai/utils.js +132 -0
  90. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  91. package/build/cjs/async-context.js +64 -0
  92. package/build/cjs/async-context.js.map +1 -0
  93. package/build/cjs/debug-build.js.map +1 -1
  94. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  95. package/build/cjs/graphql/index.js +15 -2
  96. package/build/cjs/graphql/index.js.map +1 -1
  97. package/build/cjs/graphql/utils.js +2 -0
  98. package/build/cjs/graphql/utils.js.map +1 -1
  99. package/build/cjs/index.js +42 -17
  100. package/build/cjs/index.js.map +1 -1
  101. package/build/cjs/index.no-diagnostic-channels.js +31 -0
  102. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  103. package/build/cjs/integrations/tracing-channel/amqplib.js +46 -35
  104. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -1
  105. package/build/cjs/integrations/tracing-channel/anthropic.js +53 -41
  106. package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -1
  107. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +3 -1
  108. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  109. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +114 -115
  110. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  111. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  112. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  113. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +8 -4
  114. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  115. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  116. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  117. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  118. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  119. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -1
  120. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  121. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  122. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  123. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  124. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  125. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +3 -4
  126. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  127. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +4 -5
  128. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  129. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  130. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  131. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  132. package/build/cjs/integrations/tracing-channel/dataloader.js +25 -12
  133. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  134. package/build/cjs/integrations/tracing-channel/express/index.js +24 -11
  135. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -1
  136. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +11 -16
  137. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  138. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -1
  139. package/build/cjs/integrations/tracing-channel/fastify/errors.js +14 -1
  140. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -1
  141. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  142. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +25 -10
  143. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  144. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  145. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +16 -3
  146. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  147. package/build/cjs/integrations/tracing-channel/firebase/functions.js +6 -4
  148. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -1
  149. package/build/cjs/integrations/tracing-channel/firebase/index.js +8 -12
  150. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -1
  151. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +17 -14
  152. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  153. package/build/cjs/integrations/tracing-channel/generic-pool.js +22 -10
  154. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -1
  155. package/build/cjs/integrations/tracing-channel/google-genai.js +54 -42
  156. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -1
  157. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -1
  158. package/build/cjs/integrations/tracing-channel/graphql/index.js +40 -36
  159. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -1
  160. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  161. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  162. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -1
  163. package/build/cjs/integrations/tracing-channel/hapi-utils.js +13 -21
  164. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -1
  165. package/build/cjs/integrations/tracing-channel/hapi.js +51 -36
  166. package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -1
  167. package/build/cjs/integrations/tracing-channel/ioredis.js +52 -41
  168. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  169. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  170. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +28 -15
  171. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  172. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  173. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +8 -7
  174. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  175. package/build/cjs/integrations/tracing-channel/knex.js +24 -10
  176. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -1
  177. package/build/cjs/integrations/tracing-channel/koa.js +42 -39
  178. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -1
  179. package/build/cjs/integrations/tracing-channel/langchain.js +59 -40
  180. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -1
  181. package/build/cjs/integrations/tracing-channel/langgraph.js +64 -64
  182. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -1
  183. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +27 -16
  184. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  185. package/build/cjs/integrations/tracing-channel/mongodb.js +29 -16
  186. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -1
  187. package/build/cjs/integrations/tracing-channel/mongoose.js +25 -13
  188. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -1
  189. package/build/cjs/integrations/tracing-channel/mysql.js +65 -53
  190. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  191. package/build/cjs/integrations/tracing-channel/mysql2.js +27 -10
  192. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -1
  193. package/build/cjs/integrations/tracing-channel/openai.js +46 -34
  194. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  195. package/build/cjs/integrations/tracing-channel/postgres-js.js +96 -84
  196. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -1
  197. package/build/cjs/integrations/tracing-channel/postgres.js +35 -19
  198. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
  199. package/build/cjs/integrations/tracing-channel/redis.js +52 -31
  200. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  201. package/build/cjs/integrations/tracing-channel/tedious.js +35 -22
  202. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -1
  203. package/build/cjs/integrations/tracing-channel/vercel-ai.js +23 -10
  204. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
  205. package/build/cjs/mongodb/mongodb-span.js +15 -18
  206. package/build/cjs/mongodb/mongodb-span.js.map +1 -1
  207. package/build/cjs/mongoose/index.js +15 -2
  208. package/build/cjs/mongoose/index.js.map +1 -1
  209. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
  210. package/build/cjs/mongoose/mongoose-legacy-span.js +4 -3
  211. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -1
  212. package/build/cjs/mysql2/index.js +15 -2
  213. package/build/cjs/mysql2/index.js.map +1 -1
  214. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -1
  215. package/build/cjs/orchestrion/bundler/esbuild.js +22 -6
  216. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  217. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +43 -0
  218. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  219. package/build/cjs/orchestrion/bundler/options.js +5 -19
  220. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  221. package/build/cjs/orchestrion/bundler/resolve.js +23 -0
  222. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  223. package/build/cjs/orchestrion/bundler/rollup.js +21 -6
  224. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  225. package/build/cjs/orchestrion/bundler/vite.js +45 -7
  226. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  227. package/build/cjs/orchestrion/bundler/webpack-loader.js +22 -0
  228. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -0
  229. package/build/cjs/orchestrion/bundler/webpack.js +45 -24
  230. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  231. package/build/cjs/orchestrion/channels.js.map +1 -1
  232. package/build/cjs/orchestrion/config/amqplib.js +3 -3
  233. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  234. package/build/cjs/orchestrion/config/anthropic-ai.js +3 -3
  235. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  236. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  237. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  238. package/build/cjs/orchestrion/config/channel-integration-definitions.js +16 -16
  239. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  240. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  241. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  242. package/build/cjs/orchestrion/config/express.js +4 -4
  243. package/build/cjs/orchestrion/config/express.js.map +1 -1
  244. package/build/cjs/orchestrion/config/firebase.js +3 -3
  245. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  246. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  247. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  248. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  249. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  250. package/build/cjs/orchestrion/config/graphql.js +3 -3
  251. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  252. package/build/cjs/orchestrion/config/hapi.js +3 -3
  253. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  254. package/build/cjs/orchestrion/config/index.js +3 -32
  255. package/build/cjs/orchestrion/config/index.js.map +1 -1
  256. package/build/cjs/orchestrion/config/ioredis.js +3 -3
  257. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  258. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  259. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  260. package/build/cjs/orchestrion/config/knex.js +0 -4
  261. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  262. package/build/cjs/orchestrion/config/koa.js +3 -3
  263. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  264. package/build/cjs/orchestrion/config/langchain.js +3 -3
  265. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  266. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  267. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  268. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  269. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  270. package/build/cjs/orchestrion/config/module-names.js +8 -0
  271. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  272. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  273. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  274. package/build/cjs/orchestrion/config/mongoose.js +3 -3
  275. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  276. package/build/cjs/orchestrion/config/mysql.js +3 -3
  277. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  278. package/build/cjs/orchestrion/config/mysql2.js +3 -3
  279. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  280. package/build/cjs/orchestrion/config/nestjs.js +0 -4
  281. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  282. package/build/cjs/orchestrion/config/openai.js +3 -3
  283. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  284. package/build/cjs/orchestrion/config/pg.js +3 -3
  285. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  286. package/build/cjs/orchestrion/config/postgres.js +3 -3
  287. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  288. package/build/cjs/orchestrion/config/redis.js +3 -3
  289. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  290. package/build/cjs/orchestrion/config/remix.js +0 -4
  291. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  292. package/build/cjs/orchestrion/config/tedious.js +3 -3
  293. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  294. package/build/cjs/orchestrion/config/vercel-ai.js +3 -3
  295. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  296. package/build/cjs/orchestrion/detect.js +7 -1
  297. package/build/cjs/orchestrion/detect.js.map +1 -1
  298. package/build/cjs/orchestrion/index.js +51 -50
  299. package/build/cjs/orchestrion/index.js.map +1 -1
  300. package/build/cjs/orchestrion/instrumentation.js +86 -0
  301. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  302. package/build/cjs/orchestrion/moduleInjected.js +21 -0
  303. package/build/cjs/orchestrion/moduleInjected.js.map +1 -0
  304. package/build/cjs/orchestrion/runtime/hook.js +17 -0
  305. package/build/cjs/orchestrion/runtime/hook.js.map +1 -0
  306. package/build/cjs/orchestrion/runtime/register.js +46 -43
  307. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  308. package/build/cjs/otlp.js +45 -0
  309. package/build/cjs/otlp.js.map +1 -0
  310. package/build/cjs/prisma/global.js.map +1 -1
  311. package/build/cjs/prisma/index.js.map +1 -1
  312. package/build/cjs/prisma/tracing-helper.js +18 -10
  313. package/build/cjs/prisma/tracing-helper.js.map +1 -1
  314. package/build/cjs/redis/index.js +15 -2
  315. package/build/cjs/redis/index.js.map +1 -1
  316. package/build/cjs/redis/redis-dc-subscriber.js +5 -3
  317. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  318. package/build/cjs/redis/redis-statement-serializer.js.map +1 -1
  319. package/build/cjs/tracing-channel.js +9 -0
  320. package/build/cjs/tracing-channel.js.map +1 -1
  321. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  322. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  323. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +8 -0
  324. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  325. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +12 -0
  326. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  327. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +86 -0
  328. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  329. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +316 -0
  330. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  331. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +442 -0
  332. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  333. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +219 -0
  334. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  335. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +98 -0
  336. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  337. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +52 -0
  338. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  339. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1069 -0
  340. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  341. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +14 -0
  342. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  343. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  344. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  345. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +104 -0
  346. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  347. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +166 -0
  348. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  349. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +88 -0
  350. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  351. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +15 -0
  352. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  353. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +30 -0
  354. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  355. package/build/cjs/vendored/astring/dist/astring.js +1068 -0
  356. package/build/cjs/vendored/astring/dist/astring.js.map +1 -0
  357. package/build/cjs/vendored/debug/src/common.js +178 -0
  358. package/build/cjs/vendored/debug/src/common.js.map +1 -0
  359. package/build/cjs/vendored/debug/src/node.js +186 -0
  360. package/build/cjs/vendored/debug/src/node.js.map +1 -0
  361. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +847 -0
  362. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  363. package/build/cjs/vendored/has-flag/index.js +11 -0
  364. package/build/cjs/vendored/has-flag/index.js.map +1 -0
  365. package/build/cjs/vendored/meriyah/dist/meriyah.js +9192 -0
  366. package/build/cjs/vendored/meriyah/dist/meriyah.js.map +1 -0
  367. package/build/cjs/vendored/meriyah/dist/meriyah2.js +9209 -0
  368. package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +1 -0
  369. package/build/cjs/vendored/module-details-from-path/index.js +44 -0
  370. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -0
  371. package/build/cjs/vendored/ms/index.js +115 -0
  372. package/build/cjs/vendored/ms/index.js.map +1 -0
  373. package/build/cjs/vendored/semifies/index.js +111 -0
  374. package/build/cjs/vendored/semifies/index.js.map +1 -0
  375. package/build/cjs/vendored/source-map/lib/array-set.js +73 -0
  376. package/build/cjs/vendored/source-map/lib/array-set.js.map +1 -0
  377. package/build/cjs/vendored/source-map/lib/base64-vlq.js +57 -0
  378. package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +1 -0
  379. package/build/cjs/vendored/source-map/lib/base64.js +42 -0
  380. package/build/cjs/vendored/source-map/lib/base64.js.map +1 -0
  381. package/build/cjs/vendored/source-map/lib/binary-search.js +55 -0
  382. package/build/cjs/vendored/source-map/lib/binary-search.js.map +1 -0
  383. package/build/cjs/vendored/source-map/lib/mapping-list.js +42 -0
  384. package/build/cjs/vendored/source-map/lib/mapping-list.js.map +1 -0
  385. package/build/cjs/vendored/source-map/lib/quick-sort.js +36 -0
  386. package/build/cjs/vendored/source-map/lib/quick-sort.js.map +1 -0
  387. package/build/cjs/vendored/source-map/lib/source-map-consumer.js +612 -0
  388. package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  389. package/build/cjs/vendored/source-map/lib/source-map-generator.js +285 -0
  390. package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +1 -0
  391. package/build/cjs/vendored/source-map/lib/source-node.js +270 -0
  392. package/build/cjs/vendored/source-map/lib/source-node.js.map +1 -0
  393. package/build/cjs/vendored/source-map/lib/util.js +300 -0
  394. package/build/cjs/vendored/source-map/lib/util.js.map +1 -0
  395. package/build/cjs/vendored/source-map/source-map.js +16 -0
  396. package/build/cjs/vendored/source-map/source-map.js.map +1 -0
  397. package/build/cjs/vendored/supports-color/index.js +104 -0
  398. package/build/cjs/vendored/supports-color/index.js.map +1 -0
  399. package/build/cjs/vercel-ai/index.js +15 -2
  400. package/build/cjs/vercel-ai/index.js.map +1 -1
  401. package/build/cjs/vercel-ai/util.js.map +1 -1
  402. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +19 -19
  403. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  404. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  405. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  406. package/build/esm/_virtual/_commonjsHelpers.js +6 -0
  407. package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
  408. package/build/esm/_virtual/array-set.js +4 -0
  409. package/build/esm/_virtual/array-set.js.map +1 -0
  410. package/build/esm/_virtual/astring.js +4 -0
  411. package/build/esm/_virtual/astring.js.map +1 -0
  412. package/build/esm/_virtual/base64-vlq.js +4 -0
  413. package/build/esm/_virtual/base64-vlq.js.map +1 -0
  414. package/build/esm/_virtual/base64.js +4 -0
  415. package/build/esm/_virtual/base64.js.map +1 -0
  416. package/build/esm/_virtual/binary-search.js +4 -0
  417. package/build/esm/_virtual/binary-search.js.map +1 -0
  418. package/build/esm/_virtual/mapping-list.js +4 -0
  419. package/build/esm/_virtual/mapping-list.js.map +1 -0
  420. package/build/esm/_virtual/meriyah.js +4 -0
  421. package/build/esm/_virtual/meriyah.js.map +1 -0
  422. package/build/esm/_virtual/node.js +4 -0
  423. package/build/esm/_virtual/node.js.map +1 -0
  424. package/build/esm/_virtual/quick-sort.js +4 -0
  425. package/build/esm/_virtual/quick-sort.js.map +1 -0
  426. package/build/esm/_virtual/source-map-consumer.js +4 -0
  427. package/build/esm/_virtual/source-map-consumer.js.map +1 -0
  428. package/build/esm/_virtual/source-map-generator.js +4 -0
  429. package/build/esm/_virtual/source-map-generator.js.map +1 -0
  430. package/build/esm/_virtual/source-map.js +4 -0
  431. package/build/esm/_virtual/source-map.js.map +1 -0
  432. package/build/esm/_virtual/source-node.js +4 -0
  433. package/build/esm/_virtual/source-node.js.map +1 -0
  434. package/build/esm/_virtual/util.js +4 -0
  435. package/build/esm/_virtual/util.js.map +1 -0
  436. package/build/esm/ai/anthropic-ai/constants.js +13 -0
  437. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  438. package/build/esm/ai/anthropic-ai/index.js +245 -0
  439. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  440. package/build/esm/ai/anthropic-ai/streaming.js +151 -0
  441. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  442. package/build/esm/ai/anthropic-ai/utils.js +56 -0
  443. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  444. package/build/esm/ai/core/gen-ai-attributes.js +11 -0
  445. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  446. package/build/esm/ai/core/utils.js +126 -0
  447. package/build/esm/ai/core/utils.js.map +1 -0
  448. package/build/esm/ai/google-genai/constants.js +13 -0
  449. package/build/esm/ai/google-genai/constants.js.map +1 -0
  450. package/build/esm/ai/google-genai/index.js +245 -0
  451. package/build/esm/ai/google-genai/index.js.map +1 -0
  452. package/build/esm/ai/google-genai/streaming.js +69 -0
  453. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  454. package/build/esm/ai/google-genai/utils.js +19 -0
  455. package/build/esm/ai/google-genai/utils.js.map +1 -0
  456. package/build/esm/ai/langchain/constants.js +13 -0
  457. package/build/esm/ai/langchain/constants.js.map +1 -0
  458. package/build/esm/ai/langchain/embeddings.js +81 -0
  459. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  460. package/build/esm/ai/langchain/index.js +255 -0
  461. package/build/esm/ai/langchain/index.js.map +1 -0
  462. package/build/esm/ai/langchain/utils.js +263 -0
  463. package/build/esm/ai/langchain/utils.js.map +1 -0
  464. package/build/esm/ai/langgraph/constants.js +5 -0
  465. package/build/esm/ai/langgraph/constants.js.map +1 -0
  466. package/build/esm/ai/langgraph/index.js +171 -0
  467. package/build/esm/ai/langgraph/index.js.map +1 -0
  468. package/build/esm/ai/langgraph/utils.js +222 -0
  469. package/build/esm/ai/langgraph/utils.js.map +1 -0
  470. package/build/esm/ai/openai/constants.js +28 -0
  471. package/build/esm/ai/openai/constants.js.map +1 -0
  472. package/build/esm/ai/openai/index.js +169 -0
  473. package/build/esm/ai/openai/index.js.map +1 -0
  474. package/build/esm/ai/openai/streaming.js +124 -0
  475. package/build/esm/ai/openai/streaming.js.map +1 -0
  476. package/build/esm/ai/openai/utils.js +106 -0
  477. package/build/esm/ai/openai/utils.js.map +1 -0
  478. package/build/esm/ai/vercel-ai/constants.js +19 -0
  479. package/build/esm/ai/vercel-ai/constants.js.map +1 -0
  480. package/build/esm/ai/vercel-ai/index.js +339 -0
  481. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  482. package/build/esm/ai/vercel-ai/utils.js +164 -0
  483. package/build/esm/ai/vercel-ai/utils.js.map +1 -0
  484. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js +26 -0
  485. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  486. package/build/esm/ai/workers-ai/constants.js +6 -0
  487. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  488. package/build/esm/ai/workers-ai/index.js +81 -0
  489. package/build/esm/ai/workers-ai/index.js.map +1 -0
  490. package/build/esm/ai/workers-ai/streaming.js +148 -0
  491. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  492. package/build/esm/ai/workers-ai/utils.js +126 -0
  493. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  494. package/build/esm/async-context.js +62 -0
  495. package/build/esm/async-context.js.map +1 -0
  496. package/build/esm/debug-build.js.map +1 -1
  497. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  498. package/build/esm/graphql/index.js.map +1 -1
  499. package/build/esm/graphql/utils.js +3 -1
  500. package/build/esm/graphql/utils.js.map +1 -1
  501. package/build/esm/index.js +11 -0
  502. package/build/esm/index.js.map +1 -1
  503. package/build/esm/index.no-diagnostic-channels.js +12 -0
  504. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  505. package/build/esm/integrations/tracing-channel/amqplib.js +25 -27
  506. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -1
  507. package/build/esm/integrations/tracing-channel/anthropic.js +35 -36
  508. package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -1
  509. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +3 -2
  510. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  511. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +105 -119
  512. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  513. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  514. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  515. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +10 -6
  516. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  517. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  518. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  519. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  520. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  521. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +1 -2
  522. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  523. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  524. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  525. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  526. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  527. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +5 -6
  528. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  529. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +6 -7
  530. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  531. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  532. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  533. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  534. package/build/esm/integrations/tracing-channel/dataloader.js +10 -10
  535. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  536. package/build/esm/integrations/tracing-channel/express/index.js +11 -11
  537. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -1
  538. package/build/esm/integrations/tracing-channel/express/instrumentation.js +13 -18
  539. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  540. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -1
  541. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -1
  542. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  543. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +13 -11
  544. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  545. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  546. package/build/esm/integrations/tracing-channel/firebase/firestore.js +4 -4
  547. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  548. package/build/esm/integrations/tracing-channel/firebase/functions.js +8 -6
  549. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -1
  550. package/build/esm/integrations/tracing-channel/firebase/index.js +8 -12
  551. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -1
  552. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +3 -13
  553. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  554. package/build/esm/integrations/tracing-channel/generic-pool.js +9 -10
  555. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -1
  556. package/build/esm/integrations/tracing-channel/google-genai.js +38 -39
  557. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -1
  558. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -1
  559. package/build/esm/integrations/tracing-channel/graphql/index.js +30 -39
  560. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -1
  561. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  562. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  563. package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -1
  564. package/build/esm/integrations/tracing-channel/hapi-utils.js +14 -22
  565. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -1
  566. package/build/esm/integrations/tracing-channel/hapi.js +39 -37
  567. package/build/esm/integrations/tracing-channel/hapi.js.map +1 -1
  568. package/build/esm/integrations/tracing-channel/ioredis.js +40 -42
  569. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  570. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  571. package/build/esm/integrations/tracing-channel/kafkajs/index.js +14 -14
  572. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  573. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  574. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +10 -9
  575. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  576. package/build/esm/integrations/tracing-channel/knex.js +10 -9
  577. package/build/esm/integrations/tracing-channel/knex.js.map +1 -1
  578. package/build/esm/integrations/tracing-channel/koa.js +30 -40
  579. package/build/esm/integrations/tracing-channel/koa.js.map +1 -1
  580. package/build/esm/integrations/tracing-channel/langchain.js +45 -39
  581. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -1
  582. package/build/esm/integrations/tracing-channel/langgraph.js +50 -63
  583. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -1
  584. package/build/esm/integrations/tracing-channel/lru-memoizer.js +15 -17
  585. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  586. package/build/esm/integrations/tracing-channel/mongodb.js +14 -14
  587. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -1
  588. package/build/esm/integrations/tracing-channel/mongoose.js +11 -12
  589. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -1
  590. package/build/esm/integrations/tracing-channel/mysql.js +53 -54
  591. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  592. package/build/esm/integrations/tracing-channel/mysql2.js +14 -10
  593. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -1
  594. package/build/esm/integrations/tracing-channel/openai.js +32 -33
  595. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  596. package/build/esm/integrations/tracing-channel/postgres-js.js +85 -86
  597. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -1
  598. package/build/esm/integrations/tracing-channel/postgres.js +22 -19
  599. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
  600. package/build/esm/integrations/tracing-channel/redis.js +37 -29
  601. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  602. package/build/esm/integrations/tracing-channel/tedious.js +22 -22
  603. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -1
  604. package/build/esm/integrations/tracing-channel/vercel-ai.js +13 -13
  605. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
  606. package/build/esm/mongodb/mongodb-span.js +13 -16
  607. package/build/esm/mongodb/mongodb-span.js.map +1 -1
  608. package/build/esm/mongoose/index.js.map +1 -1
  609. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
  610. package/build/esm/mongoose/mongoose-legacy-span.js +3 -2
  611. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -1
  612. package/build/esm/mysql2/index.js.map +1 -1
  613. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -1
  614. package/build/esm/orchestrion/bundler/esbuild.js +22 -2
  615. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  616. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +40 -0
  617. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  618. package/build/esm/orchestrion/bundler/options.js +5 -20
  619. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  620. package/build/esm/orchestrion/bundler/resolve.js +20 -0
  621. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  622. package/build/esm/orchestrion/bundler/rollup.js +21 -2
  623. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  624. package/build/esm/orchestrion/bundler/vite.js +46 -4
  625. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  626. package/build/esm/orchestrion/bundler/webpack-loader.js +20 -0
  627. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -0
  628. package/build/esm/orchestrion/bundler/webpack.js +43 -18
  629. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  630. package/build/esm/orchestrion/channels.js.map +1 -1
  631. package/build/esm/orchestrion/config/amqplib.js +3 -3
  632. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  633. package/build/esm/orchestrion/config/anthropic-ai.js +3 -3
  634. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  635. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  636. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  637. package/build/esm/orchestrion/config/channel-integration-definitions.js +16 -16
  638. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  639. package/build/esm/orchestrion/config/dataloader.js +1 -4
  640. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  641. package/build/esm/orchestrion/config/express.js +4 -4
  642. package/build/esm/orchestrion/config/express.js.map +1 -1
  643. package/build/esm/orchestrion/config/firebase.js +3 -3
  644. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  645. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  646. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  647. package/build/esm/orchestrion/config/google-genai.js +8 -7
  648. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  649. package/build/esm/orchestrion/config/graphql.js +3 -3
  650. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  651. package/build/esm/orchestrion/config/hapi.js +3 -3
  652. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  653. package/build/esm/orchestrion/config/index.js +31 -61
  654. package/build/esm/orchestrion/config/index.js.map +1 -1
  655. package/build/esm/orchestrion/config/ioredis.js +3 -3
  656. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  657. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  658. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  659. package/build/esm/orchestrion/config/knex.js +1 -4
  660. package/build/esm/orchestrion/config/knex.js.map +1 -1
  661. package/build/esm/orchestrion/config/koa.js +3 -3
  662. package/build/esm/orchestrion/config/koa.js.map +1 -1
  663. package/build/esm/orchestrion/config/langchain.js +3 -3
  664. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  665. package/build/esm/orchestrion/config/langgraph.js +3 -3
  666. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  667. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  668. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  669. package/build/esm/orchestrion/config/module-names.js +6 -0
  670. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  671. package/build/esm/orchestrion/config/mongodb.js +3 -3
  672. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  673. package/build/esm/orchestrion/config/mongoose.js +3 -3
  674. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  675. package/build/esm/orchestrion/config/mysql.js +3 -3
  676. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  677. package/build/esm/orchestrion/config/mysql2.js +3 -3
  678. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  679. package/build/esm/orchestrion/config/nestjs.js +1 -4
  680. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  681. package/build/esm/orchestrion/config/openai.js +3 -3
  682. package/build/esm/orchestrion/config/openai.js.map +1 -1
  683. package/build/esm/orchestrion/config/pg.js +3 -3
  684. package/build/esm/orchestrion/config/pg.js.map +1 -1
  685. package/build/esm/orchestrion/config/postgres.js +3 -3
  686. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  687. package/build/esm/orchestrion/config/redis.js +3 -3
  688. package/build/esm/orchestrion/config/redis.js.map +1 -1
  689. package/build/esm/orchestrion/config/remix.js +1 -4
  690. package/build/esm/orchestrion/config/remix.js.map +1 -1
  691. package/build/esm/orchestrion/config/tedious.js +3 -3
  692. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  693. package/build/esm/orchestrion/config/vercel-ai.js +3 -3
  694. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  695. package/build/esm/orchestrion/detect.js +7 -2
  696. package/build/esm/orchestrion/detect.js.map +1 -1
  697. package/build/esm/orchestrion/index.js +51 -51
  698. package/build/esm/orchestrion/index.js.map +1 -1
  699. package/build/esm/orchestrion/instrumentation.js +71 -0
  700. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  701. package/build/esm/orchestrion/moduleInjected.js +19 -0
  702. package/build/esm/orchestrion/moduleInjected.js.map +1 -0
  703. package/build/esm/orchestrion/runtime/hook.js +8 -0
  704. package/build/esm/orchestrion/runtime/hook.js.map +1 -0
  705. package/build/esm/orchestrion/runtime/register.js +34 -45
  706. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  707. package/build/esm/otlp.js +42 -0
  708. package/build/esm/otlp.js.map +1 -0
  709. package/build/esm/package.json +1 -1
  710. package/build/esm/prisma/global.js.map +1 -1
  711. package/build/esm/prisma/index.js.map +1 -1
  712. package/build/esm/prisma/tracing-helper.js +14 -6
  713. package/build/esm/prisma/tracing-helper.js.map +1 -1
  714. package/build/esm/redis/index.js.map +1 -1
  715. package/build/esm/redis/redis-dc-subscriber.js +7 -5
  716. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  717. package/build/esm/redis/redis-statement-serializer.js.map +1 -1
  718. package/build/esm/tracing-channel.js +9 -1
  719. package/build/esm/tracing-channel.js.map +1 -1
  720. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  721. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  722. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +6 -0
  723. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  724. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +10 -0
  725. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  726. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +84 -0
  727. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  728. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +314 -0
  729. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  730. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +440 -0
  731. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  732. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +213 -0
  733. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  734. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +96 -0
  735. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  736. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +49 -0
  737. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  738. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1067 -0
  739. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  740. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +12 -0
  741. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  742. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  743. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  744. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +101 -0
  745. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  746. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +157 -0
  747. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  748. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +86 -0
  749. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  750. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +13 -0
  751. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  752. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +27 -0
  753. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  754. package/build/esm/vendored/astring/dist/astring.js +1066 -0
  755. package/build/esm/vendored/astring/dist/astring.js.map +1 -0
  756. package/build/esm/vendored/debug/src/common.js +176 -0
  757. package/build/esm/vendored/debug/src/common.js.map +1 -0
  758. package/build/esm/vendored/debug/src/node.js +183 -0
  759. package/build/esm/vendored/debug/src/node.js.map +1 -0
  760. package/build/esm/vendored/esquery/dist/esquery.esm.min.js +845 -0
  761. package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  762. package/build/esm/vendored/has-flag/index.js +9 -0
  763. package/build/esm/vendored/has-flag/index.js.map +1 -0
  764. package/build/esm/vendored/meriyah/dist/meriyah.js +9190 -0
  765. package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -0
  766. package/build/esm/vendored/meriyah/dist/meriyah2.js +9207 -0
  767. package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -0
  768. package/build/esm/vendored/module-details-from-path/index.js +41 -0
  769. package/build/esm/vendored/module-details-from-path/index.js.map +1 -0
  770. package/build/esm/vendored/ms/index.js +113 -0
  771. package/build/esm/vendored/ms/index.js.map +1 -0
  772. package/build/esm/vendored/semifies/index.js +109 -0
  773. package/build/esm/vendored/semifies/index.js.map +1 -0
  774. package/build/esm/vendored/source-map/lib/array-set.js +71 -0
  775. package/build/esm/vendored/source-map/lib/array-set.js.map +1 -0
  776. package/build/esm/vendored/source-map/lib/base64-vlq.js +55 -0
  777. package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -0
  778. package/build/esm/vendored/source-map/lib/base64.js +40 -0
  779. package/build/esm/vendored/source-map/lib/base64.js.map +1 -0
  780. package/build/esm/vendored/source-map/lib/binary-search.js +55 -0
  781. package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -0
  782. package/build/esm/vendored/source-map/lib/mapping-list.js +40 -0
  783. package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -0
  784. package/build/esm/vendored/source-map/lib/quick-sort.js +34 -0
  785. package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -0
  786. package/build/esm/vendored/source-map/lib/source-map-consumer.js +610 -0
  787. package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  788. package/build/esm/vendored/source-map/lib/source-map-generator.js +283 -0
  789. package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -0
  790. package/build/esm/vendored/source-map/lib/source-node.js +268 -0
  791. package/build/esm/vendored/source-map/lib/source-node.js.map +1 -0
  792. package/build/esm/vendored/source-map/lib/util.js +300 -0
  793. package/build/esm/vendored/source-map/lib/util.js.map +1 -0
  794. package/build/esm/vendored/source-map/source-map.js +14 -0
  795. package/build/esm/vendored/source-map/source-map.js.map +1 -0
  796. package/build/esm/vendored/supports-color/index.js +102 -0
  797. package/build/esm/vendored/supports-color/index.js.map +1 -0
  798. package/build/esm/vercel-ai/index.js.map +1 -1
  799. package/build/esm/vercel-ai/util.js.map +1 -1
  800. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +20 -20
  801. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  802. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  803. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  804. package/build/orchestrion/import-hook.mjs +1 -1
  805. package/build/types/ai/anthropic-ai/constants.d.ts +26 -0
  806. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  807. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  808. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  809. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  810. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  811. package/build/types/ai/anthropic-ai/types.d.ts +127 -0
  812. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  813. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  814. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  815. package/build/types/ai/core/gen-ai-attributes.d.ts +44 -0
  816. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  817. package/build/types/ai/core/utils.d.ts +84 -0
  818. package/build/types/ai/core/utils.d.ts.map +1 -0
  819. package/build/types/ai/google-genai/constants.d.ts +25 -0
  820. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  821. package/build/types/ai/google-genai/index.d.ts +47 -0
  822. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  823. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  824. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  825. package/build/types/ai/google-genai/types.d.ts +177 -0
  826. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  827. package/build/types/ai/google-genai/utils.d.ts +26 -0
  828. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  829. package/build/types/ai/index.d.ts +13 -0
  830. package/build/types/ai/index.d.ts.map +1 -0
  831. package/build/types/ai/langchain/constants.d.ts +4 -0
  832. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  833. package/build/types/ai/langchain/embeddings.d.ts +39 -0
  834. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  835. package/build/types/ai/langchain/index.d.ts +10 -0
  836. package/build/types/ai/langchain/index.d.ts.map +1 -0
  837. package/build/types/ai/langchain/types.d.ts +155 -0
  838. package/build/types/ai/langchain/types.d.ts.map +1 -0
  839. package/build/types/ai/langchain/utils.d.ts +67 -0
  840. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  841. package/build/types/ai/langgraph/constants.d.ts +3 -0
  842. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  843. package/build/types/ai/langgraph/index.d.ts +44 -0
  844. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  845. package/build/types/ai/langgraph/types.d.ts +78 -0
  846. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  847. package/build/types/ai/langgraph/utils.d.ts +45 -0
  848. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  849. package/build/types/ai/openai/constants.d.ts +18 -0
  850. package/build/types/ai/openai/constants.d.ts.map +1 -0
  851. package/build/types/ai/openai/index.d.ts +13 -0
  852. package/build/types/ai/openai/index.d.ts.map +1 -0
  853. package/build/types/ai/openai/streaming.d.ts +13 -0
  854. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  855. package/build/types/ai/openai/types.d.ts +321 -0
  856. package/build/types/ai/openai/types.d.ts.map +1 -0
  857. package/build/types/ai/openai/utils.d.ts +20 -0
  858. package/build/types/ai/openai/utils.d.ts.map +1 -0
  859. package/build/types/ai/vercel-ai/constants.d.ts +6 -0
  860. package/build/types/ai/vercel-ai/constants.d.ts.map +1 -0
  861. package/build/types/ai/vercel-ai/index.d.ts +24 -0
  862. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  863. package/build/types/ai/vercel-ai/types.d.ts +9 -0
  864. package/build/types/ai/vercel-ai/types.d.ts.map +1 -0
  865. package/build/types/ai/vercel-ai/utils.d.ts +47 -0
  866. package/build/types/ai/vercel-ai/utils.d.ts.map +1 -0
  867. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +432 -0
  868. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  869. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  870. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  871. package/build/types/ai/workers-ai/index.d.ts +18 -0
  872. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  873. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  874. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  875. package/build/types/ai/workers-ai/types.d.ts +50 -0
  876. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  877. package/build/types/ai/workers-ai/utils.d.ts +34 -0
  878. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  879. package/build/types/async-context.d.ts +15 -0
  880. package/build/types/async-context.d.ts.map +1 -0
  881. package/build/types/exports.d.ts +5 -0
  882. package/build/types/exports.d.ts.map +1 -0
  883. package/build/types/graphql/utils.d.ts.map +1 -1
  884. package/build/types/index.d.ts +1 -5
  885. package/build/types/index.d.ts.map +1 -1
  886. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  887. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  888. package/build/types/integrations/tracing-channel/amqplib.d.ts +2 -2
  889. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +1 -1
  890. package/build/types/integrations/tracing-channel/anthropic.d.ts +3 -3
  891. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +1 -1
  892. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +3 -2
  893. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -1
  894. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +4 -7
  895. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -1
  896. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -1
  897. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
  898. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -1
  899. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -1
  900. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -1
  901. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -1
  902. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -1
  903. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -1
  904. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -1
  905. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -1
  906. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -2
  907. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -1
  908. package/build/types/integrations/tracing-channel/dataloader.d.ts +2 -2
  909. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  910. package/build/types/integrations/tracing-channel/express/index.d.ts +3 -4
  911. package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -1
  912. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  913. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -1
  914. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  915. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +1 -2
  916. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -1
  917. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -1
  918. package/build/types/integrations/tracing-channel/firebase/index.d.ts +3 -6
  919. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -1
  920. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -1
  921. package/build/types/integrations/tracing-channel/generic-pool.d.ts +2 -2
  922. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -1
  923. package/build/types/integrations/tracing-channel/google-genai.d.ts +3 -3
  924. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -1
  925. package/build/types/integrations/tracing-channel/graphql/index.d.ts +7 -8
  926. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -1
  927. package/build/types/integrations/tracing-channel/hapi-types.d.ts +4 -4
  928. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +1 -1
  929. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +1 -1
  930. package/build/types/integrations/tracing-channel/hapi.d.ts +2 -2
  931. package/build/types/integrations/tracing-channel/hapi.d.ts.map +1 -1
  932. package/build/types/integrations/tracing-channel/ioredis.d.ts +1 -1
  933. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  934. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +3 -4
  935. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -1
  936. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +9 -9
  937. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -1
  938. package/build/types/integrations/tracing-channel/knex.d.ts +2 -2
  939. package/build/types/integrations/tracing-channel/knex.d.ts.map +1 -1
  940. package/build/types/integrations/tracing-channel/koa.d.ts +3 -3
  941. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -1
  942. package/build/types/integrations/tracing-channel/langchain.d.ts +3 -3
  943. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -1
  944. package/build/types/integrations/tracing-channel/langgraph.d.ts +3 -3
  945. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -1
  946. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +2 -2
  947. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +1 -1
  948. package/build/types/integrations/tracing-channel/mongodb.d.ts +2 -2
  949. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -1
  950. package/build/types/integrations/tracing-channel/mongoose.d.ts +2 -2
  951. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -1
  952. package/build/types/integrations/tracing-channel/mysql.d.ts +3 -3
  953. package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
  954. package/build/types/integrations/tracing-channel/mysql2.d.ts +9 -7
  955. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +1 -1
  956. package/build/types/integrations/tracing-channel/openai.d.ts +3 -3
  957. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  958. package/build/types/integrations/tracing-channel/postgres-js.d.ts +3 -3
  959. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -1
  960. package/build/types/integrations/tracing-channel/postgres.d.ts +2 -2
  961. package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -1
  962. package/build/types/integrations/tracing-channel/redis.d.ts +1 -1
  963. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  964. package/build/types/integrations/tracing-channel/tedious.d.ts +2 -2
  965. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -1
  966. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -1
  967. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  968. package/build/types/mongodb/mongodb-span.d.ts.map +1 -1
  969. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -1
  970. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -1
  971. package/build/types/orchestrion/apmTypes.d.ts +173 -0
  972. package/build/types/orchestrion/apmTypes.d.ts.map +1 -0
  973. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -2
  974. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  975. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +27 -0
  976. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  977. package/build/types/orchestrion/bundler/options.d.ts +19 -29
  978. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  979. package/build/types/orchestrion/bundler/resolve.d.ts +22 -0
  980. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  981. package/build/types/orchestrion/bundler/rollup.d.ts +2 -2
  982. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  983. package/build/types/orchestrion/bundler/vite.d.ts +2 -2
  984. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  985. package/build/types/orchestrion/bundler/webpack-loader.d.ts +28 -0
  986. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -0
  987. package/build/types/orchestrion/bundler/webpack.d.ts +9 -13
  988. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  989. package/build/types/orchestrion/channels.d.ts +125 -125
  990. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  991. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  992. package/build/types/orchestrion/config/anthropic-ai.d.ts +6 -7
  993. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  994. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  995. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  996. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +20 -20
  997. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  998. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  999. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1000. package/build/types/orchestrion/config/express.d.ts +5 -6
  1001. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1002. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1003. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1004. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1005. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1006. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1007. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1008. package/build/types/orchestrion/config/graphql.d.ts +4 -5
  1009. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1010. package/build/types/orchestrion/config/hapi.d.ts +3 -4
  1011. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1012. package/build/types/orchestrion/config/index.d.ts +1 -12
  1013. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1014. package/build/types/orchestrion/config/ioredis.d.ts +3 -3
  1015. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1016. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1017. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1018. package/build/types/orchestrion/config/knex.d.ts +4 -5
  1019. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1020. package/build/types/orchestrion/config/koa.d.ts +2 -3
  1021. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1022. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1023. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1024. package/build/types/orchestrion/config/langgraph.d.ts +7 -8
  1025. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1026. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1027. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1028. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1029. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1030. package/build/types/orchestrion/config/mongodb.d.ts +20 -21
  1031. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1032. package/build/types/orchestrion/config/mongoose.d.ts +12 -13
  1033. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1034. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1035. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1036. package/build/types/orchestrion/config/mysql2.d.ts +3 -4
  1037. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1038. package/build/types/orchestrion/config/nestjs.d.ts +9 -10
  1039. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1040. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1041. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1042. package/build/types/orchestrion/config/pg.d.ts +7 -8
  1043. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1044. package/build/types/orchestrion/config/postgres.d.ts +5 -5
  1045. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1046. package/build/types/orchestrion/config/redis.d.ts +10 -11
  1047. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1048. package/build/types/orchestrion/config/remix.d.ts +4 -5
  1049. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1050. package/build/types/orchestrion/config/tedious.d.ts +8 -8
  1051. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1052. package/build/types/orchestrion/config/vercel-ai.d.ts +8 -8
  1053. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1054. package/build/types/orchestrion/detect.d.ts +14 -1
  1055. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1056. package/build/types/orchestrion/index.d.ts +41 -48
  1057. package/build/types/orchestrion/index.d.ts.map +1 -1
  1058. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1059. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1060. package/build/types/orchestrion/moduleInjected.d.ts +25 -0
  1061. package/build/types/orchestrion/moduleInjected.d.ts.map +1 -0
  1062. package/build/types/orchestrion/runtime/register.d.ts +1 -12
  1063. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  1064. package/build/types/otlp.d.ts +49 -0
  1065. package/build/types/otlp.d.ts.map +1 -0
  1066. package/build/types/prisma/index.d.ts +0 -4
  1067. package/build/types/prisma/index.d.ts.map +1 -1
  1068. package/build/types/prisma/tracing-helper.d.ts.map +1 -1
  1069. package/build/types/prisma/types.d.ts +2 -2
  1070. package/build/types/prisma/types.d.ts.map +1 -1
  1071. package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
  1072. package/build/types/redis/redis-statement-serializer.d.ts.map +1 -1
  1073. package/build/types/tracing-channel.d.ts +2 -0
  1074. package/build/types/tracing-channel.d.ts.map +1 -1
  1075. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1076. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1077. package/build/types/vercel-ai/index.d.ts +2 -7
  1078. package/build/types/vercel-ai/index.d.ts.map +1 -1
  1079. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -1
  1080. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  1081. package/package.json +22 -37
  1082. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -40
  1083. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1084. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1085. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1086. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1087. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1088. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -38
  1089. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1090. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1091. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1092. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1093. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1094. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1095. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1096. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1097. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1098. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1099. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1100. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1101. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1102. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1103. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1104. package/build/types-ts3.8/index.d.ts +0 -23
  1105. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1106. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1107. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1108. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1109. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1110. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1111. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1112. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1113. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1114. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1115. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1116. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1117. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1118. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1119. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1120. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1121. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1122. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1123. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1124. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1125. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1126. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1127. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1128. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1129. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -64
  1130. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1131. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1132. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1133. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1134. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1135. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1136. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1137. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1138. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1139. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1140. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1141. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1142. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1143. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1144. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1145. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1146. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1147. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1148. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1149. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1150. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1151. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1152. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1153. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1154. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1155. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1156. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1157. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1158. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1159. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1160. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1161. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1162. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1163. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1164. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1165. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1166. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1167. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1168. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1169. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1170. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1171. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1172. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1173. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1174. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1175. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1176. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1177. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1178. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1179. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1180. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1181. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1182. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1183. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1184. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -24
  1185. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1186. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1187. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1188. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1189. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1190. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1191. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1192. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1193. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1194. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1195. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1196. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1197. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1198. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1199. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1200. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1201. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1202. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1203. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1204. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1205. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1206. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1207. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1208. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1209. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1210. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1211. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1212. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1213. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1214. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1215. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1216. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1217. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1218. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1219. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1220. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1221. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -25
  1222. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1223. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1224. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1225. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1226. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1227. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1228. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1229. package/build/types-ts3.8/tracing-channel.d.ts +0 -73
  1230. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1231. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1232. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1233. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
@@ -0,0 +1,845 @@
1
+ function e(e2, t2) {
2
+ (null == t2 || t2 > e2.length) && (t2 = e2.length);
3
+ for (var r2 = 0, n2 = Array(t2); r2 < t2; r2++) n2[r2] = e2[r2];
4
+ return n2;
5
+ }
6
+ function t(e2, t2) {
7
+ return (function(e3) {
8
+ if (Array.isArray(e3)) return e3;
9
+ })(e2) || (function(e3, t3) {
10
+ var r2 = null == e3 ? null : "undefined" != typeof Symbol && e3[Symbol.iterator] || e3["@@iterator"];
11
+ if (null != r2) {
12
+ var n2, o2, a2, i2, s2 = [], u2 = true, l2 = false;
13
+ try {
14
+ if (a2 = (r2 = r2.call(e3)).next, 0 === t3) ; else for (; !(u2 = (n2 = a2.call(r2)).done) && (s2.push(n2.value), s2.length !== t3); u2 = true) ;
15
+ } catch (e4) {
16
+ l2 = true, o2 = e4;
17
+ } finally {
18
+ try {
19
+ if (!u2 && null != r2.return && (i2 = r2.return(), Object(i2) !== i2)) return;
20
+ } finally {
21
+ if (l2) throw o2;
22
+ }
23
+ }
24
+ return s2;
25
+ }
26
+ })(e2, t2) || o(e2, t2) || (function() {
27
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
28
+ })();
29
+ }
30
+ function r(t2) {
31
+ return (function(t3) {
32
+ if (Array.isArray(t3)) return e(t3);
33
+ })(t2) || (function(e2) {
34
+ if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
35
+ })(t2) || o(t2) || (function() {
36
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
37
+ })();
38
+ }
39
+ function n(e2) {
40
+ return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
41
+ return typeof e3;
42
+ } : function(e3) {
43
+ return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
44
+ })(e2);
45
+ }
46
+ function o(t2, r2) {
47
+ if (t2) {
48
+ if ("string" == typeof t2) return e(t2, r2);
49
+ var n2 = {}.toString.call(t2).slice(8, -1);
50
+ return "Object" === n2 && t2.constructor && (n2 = t2.constructor.name), "Map" === n2 || "Set" === n2 ? Array.from(t2) : "Arguments" === n2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ? e(t2, r2) : void 0;
51
+ }
52
+ }
53
+ function a(e2, t2) {
54
+ return e2(t2 = { exports: {} }, t2.exports), t2.exports;
55
+ }
56
+ var i = a((function(e2, t2) {
57
+ !(function e3(t3) {
58
+ var r2, n2, o2, a2, i2, s2;
59
+ function u2(e4) {
60
+ var t4, r3, n3 = {};
61
+ for (t4 in e4) e4.hasOwnProperty(t4) && (r3 = e4[t4], n3[t4] = "object" == typeof r3 && null !== r3 ? u2(r3) : r3);
62
+ return n3;
63
+ }
64
+ function l2(e4, t4) {
65
+ this.parent = e4, this.key = t4;
66
+ }
67
+ function c2(e4, t4, r3, n3) {
68
+ this.node = e4, this.path = t4, this.wrap = r3, this.ref = n3;
69
+ }
70
+ function f2() {
71
+ }
72
+ function p2(e4) {
73
+ return null != e4 && ("object" == typeof e4 && "string" == typeof e4.type);
74
+ }
75
+ function h2(e4, t4) {
76
+ return (e4 === r2.ObjectExpression || e4 === r2.ObjectPattern) && "properties" === t4;
77
+ }
78
+ function y2(e4, t4) {
79
+ for (var r3 = e4.length - 1; r3 >= 0; --r3) if (e4[r3].node === t4) return true;
80
+ return false;
81
+ }
82
+ function d2(e4, t4) {
83
+ return new f2().traverse(e4, t4);
84
+ }
85
+ function m2(e4, t4) {
86
+ var r3;
87
+ return r3 = (function(e5, t5) {
88
+ var r4, n3, o3, a3;
89
+ for (n3 = e5.length, o3 = 0; n3; ) t5(e5[a3 = o3 + (r4 = n3 >>> 1)]) ? n3 = r4 : (o3 = a3 + 1, n3 -= r4 + 1);
90
+ return o3;
91
+ })(t4, (function(t5) {
92
+ return t5.range[0] > e4.range[0];
93
+ })), e4.extendedRange = [e4.range[0], e4.range[1]], r3 !== t4.length && (e4.extendedRange[1] = t4[r3].range[0]), (r3 -= 1) >= 0 && (e4.extendedRange[0] = t4[r3].range[1]), e4;
94
+ }
95
+ return r2 = { AssignmentExpression: "AssignmentExpression", AssignmentPattern: "AssignmentPattern", ArrayExpression: "ArrayExpression", ArrayPattern: "ArrayPattern", ArrowFunctionExpression: "ArrowFunctionExpression", AwaitExpression: "AwaitExpression", BlockStatement: "BlockStatement", BinaryExpression: "BinaryExpression", BreakStatement: "BreakStatement", CallExpression: "CallExpression", CatchClause: "CatchClause", ChainExpression: "ChainExpression", ClassBody: "ClassBody", ClassDeclaration: "ClassDeclaration", ClassExpression: "ClassExpression", ComprehensionBlock: "ComprehensionBlock", ComprehensionExpression: "ComprehensionExpression", ConditionalExpression: "ConditionalExpression", ContinueStatement: "ContinueStatement", DebuggerStatement: "DebuggerStatement", DirectiveStatement: "DirectiveStatement", DoWhileStatement: "DoWhileStatement", EmptyStatement: "EmptyStatement", ExportAllDeclaration: "ExportAllDeclaration", ExportDefaultDeclaration: "ExportDefaultDeclaration", ExportNamedDeclaration: "ExportNamedDeclaration", ExportSpecifier: "ExportSpecifier", ExpressionStatement: "ExpressionStatement", ForStatement: "ForStatement", ForInStatement: "ForInStatement", ForOfStatement: "ForOfStatement", FunctionDeclaration: "FunctionDeclaration", FunctionExpression: "FunctionExpression", GeneratorExpression: "GeneratorExpression", Identifier: "Identifier", IfStatement: "IfStatement", ImportExpression: "ImportExpression", ImportDeclaration: "ImportDeclaration", ImportDefaultSpecifier: "ImportDefaultSpecifier", ImportNamespaceSpecifier: "ImportNamespaceSpecifier", ImportSpecifier: "ImportSpecifier", Literal: "Literal", LabeledStatement: "LabeledStatement", LogicalExpression: "LogicalExpression", MemberExpression: "MemberExpression", MetaProperty: "MetaProperty", MethodDefinition: "MethodDefinition", ModuleSpecifier: "ModuleSpecifier", NewExpression: "NewExpression", ObjectExpression: "ObjectExpression", ObjectPattern: "ObjectPattern", PrivateIdentifier: "PrivateIdentifier", Program: "Program", Property: "Property", PropertyDefinition: "PropertyDefinition", RestElement: "RestElement", ReturnStatement: "ReturnStatement", SequenceExpression: "SequenceExpression", SpreadElement: "SpreadElement", Super: "Super", SwitchStatement: "SwitchStatement", SwitchCase: "SwitchCase", TaggedTemplateExpression: "TaggedTemplateExpression", TemplateElement: "TemplateElement", TemplateLiteral: "TemplateLiteral", ThisExpression: "ThisExpression", ThrowStatement: "ThrowStatement", TryStatement: "TryStatement", UnaryExpression: "UnaryExpression", UpdateExpression: "UpdateExpression", VariableDeclaration: "VariableDeclaration", VariableDeclarator: "VariableDeclarator", WhileStatement: "WhileStatement", WithStatement: "WithStatement", YieldExpression: "YieldExpression" }, o2 = { AssignmentExpression: ["left", "right"], AssignmentPattern: ["left", "right"], ArrayExpression: ["elements"], ArrayPattern: ["elements"], ArrowFunctionExpression: ["params", "body"], AwaitExpression: ["argument"], BlockStatement: ["body"], BinaryExpression: ["left", "right"], BreakStatement: ["label"], CallExpression: ["callee", "arguments"], CatchClause: ["param", "body"], ChainExpression: ["expression"], ClassBody: ["body"], ClassDeclaration: ["id", "superClass", "body"], ClassExpression: ["id", "superClass", "body"], ComprehensionBlock: ["left", "right"], ComprehensionExpression: ["blocks", "filter", "body"], ConditionalExpression: ["test", "consequent", "alternate"], ContinueStatement: ["label"], DebuggerStatement: [], DirectiveStatement: [], DoWhileStatement: ["body", "test"], EmptyStatement: [], ExportAllDeclaration: ["source"], ExportDefaultDeclaration: ["declaration"], ExportNamedDeclaration: ["declaration", "specifiers", "source"], ExportSpecifier: ["exported", "local"], ExpressionStatement: ["expression"], ForStatement: ["init", "test", "update", "body"], ForInStatement: ["left", "right", "body"], ForOfStatement: ["left", "right", "body"], FunctionDeclaration: ["id", "params", "body"], FunctionExpression: ["id", "params", "body"], GeneratorExpression: ["blocks", "filter", "body"], Identifier: [], IfStatement: ["test", "consequent", "alternate"], ImportExpression: ["source"], ImportDeclaration: ["specifiers", "source"], ImportDefaultSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportSpecifier: ["imported", "local"], Literal: [], LabeledStatement: ["label", "body"], LogicalExpression: ["left", "right"], MemberExpression: ["object", "property"], MetaProperty: ["meta", "property"], MethodDefinition: ["key", "value"], ModuleSpecifier: [], NewExpression: ["callee", "arguments"], ObjectExpression: ["properties"], ObjectPattern: ["properties"], PrivateIdentifier: [], Program: ["body"], Property: ["key", "value"], PropertyDefinition: ["key", "value"], RestElement: ["argument"], ReturnStatement: ["argument"], SequenceExpression: ["expressions"], SpreadElement: ["argument"], Super: [], SwitchStatement: ["discriminant", "cases"], SwitchCase: ["test", "consequent"], TaggedTemplateExpression: ["tag", "quasi"], TemplateElement: [], TemplateLiteral: ["quasis", "expressions"], ThisExpression: [], ThrowStatement: ["argument"], TryStatement: ["block", "handler", "finalizer"], UnaryExpression: ["argument"], UpdateExpression: ["argument"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id", "init"], WhileStatement: ["test", "body"], WithStatement: ["object", "body"], YieldExpression: ["argument"] }, n2 = { Break: a2 = {}, Skip: i2 = {}, Remove: s2 = {} }, l2.prototype.replace = function(e4) {
96
+ this.parent[this.key] = e4;
97
+ }, l2.prototype.remove = function() {
98
+ return Array.isArray(this.parent) ? (this.parent.splice(this.key, 1), true) : (this.replace(null), false);
99
+ }, f2.prototype.path = function() {
100
+ var e4, t4, r3, n3, o3;
101
+ function a3(e5, t5) {
102
+ if (Array.isArray(t5)) for (r3 = 0, n3 = t5.length; r3 < n3; ++r3) e5.push(t5[r3]);
103
+ else e5.push(t5);
104
+ }
105
+ if (!this.__current.path) return null;
106
+ for (o3 = [], e4 = 2, t4 = this.__leavelist.length; e4 < t4; ++e4) a3(o3, this.__leavelist[e4].path);
107
+ return a3(o3, this.__current.path), o3;
108
+ }, f2.prototype.type = function() {
109
+ return this.current().type || this.__current.wrap;
110
+ }, f2.prototype.parents = function() {
111
+ var e4, t4, r3;
112
+ for (r3 = [], e4 = 1, t4 = this.__leavelist.length; e4 < t4; ++e4) r3.push(this.__leavelist[e4].node);
113
+ return r3;
114
+ }, f2.prototype.current = function() {
115
+ return this.__current.node;
116
+ }, f2.prototype.__execute = function(e4, t4) {
117
+ var r3, n3;
118
+ return n3 = void 0, r3 = this.__current, this.__current = t4, this.__state = null, e4 && (n3 = e4.call(this, t4.node, this.__leavelist[this.__leavelist.length - 1].node)), this.__current = r3, n3;
119
+ }, f2.prototype.notify = function(e4) {
120
+ this.__state = e4;
121
+ }, f2.prototype.skip = function() {
122
+ this.notify(i2);
123
+ }, f2.prototype.break = function() {
124
+ this.notify(a2);
125
+ }, f2.prototype.remove = function() {
126
+ this.notify(s2);
127
+ }, f2.prototype.__initialize = function(e4, t4) {
128
+ this.visitor = t4, this.root = e4, this.__worklist = [], this.__leavelist = [], this.__current = null, this.__state = null, this.__fallback = null, "iteration" === t4.fallback ? this.__fallback = Object.keys : "function" == typeof t4.fallback && (this.__fallback = t4.fallback), this.__keys = o2, t4.keys && (this.__keys = Object.assign(Object.create(this.__keys), t4.keys));
129
+ }, f2.prototype.traverse = function(e4, t4) {
130
+ var r3, n3, o3, s3, u3, l3, f3, d3, m3, x2, v2, g2;
131
+ for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, r3.push(new c2(e4, null, null, null)), n3.push(new c2(null, null, null, null)); r3.length; ) if ((o3 = r3.pop()) !== g2) {
132
+ if (o3.node) {
133
+ if (l3 = this.__execute(t4.enter, o3), this.__state === a2 || l3 === a2) return;
134
+ if (r3.push(g2), n3.push(o3), this.__state === i2 || l3 === i2) continue;
135
+ if (u3 = (s3 = o3.node).type || o3.wrap, !(x2 = this.__keys[u3])) {
136
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
137
+ x2 = this.__fallback(s3);
138
+ }
139
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = s3[f3 = x2[d3]]) {
140
+ if (Array.isArray(v2)) {
141
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3] && !y2(n3, v2[m3])) {
142
+ if (h2(u3, x2[d3])) o3 = new c2(v2[m3], [f3, m3], "Property", null);
143
+ else {
144
+ if (!p2(v2[m3])) continue;
145
+ o3 = new c2(v2[m3], [f3, m3], null, null);
146
+ }
147
+ r3.push(o3);
148
+ }
149
+ } else if (p2(v2)) {
150
+ if (y2(n3, v2)) continue;
151
+ r3.push(new c2(v2, f3, null, null));
152
+ }
153
+ }
154
+ }
155
+ } else if (o3 = n3.pop(), l3 = this.__execute(t4.leave, o3), this.__state === a2 || l3 === a2) return;
156
+ }, f2.prototype.replace = function(e4, t4) {
157
+ var r3, n3, o3, u3, f3, y3, d3, m3, x2, v2, g2, A2, E;
158
+ function b(e5) {
159
+ var t5, n4, o4, a3;
160
+ if (e5.ref.remove()) {
161
+ for (n4 = e5.ref.key, a3 = e5.ref.parent, t5 = r3.length; t5--; ) if ((o4 = r3[t5]).ref && o4.ref.parent === a3) {
162
+ if (o4.ref.key < n4) break;
163
+ --o4.ref.key;
164
+ }
165
+ }
166
+ }
167
+ for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, y3 = new c2(e4, null, null, new l2(A2 = { root: e4 }, "root")), r3.push(y3), n3.push(y3); r3.length; ) if ((y3 = r3.pop()) !== g2) {
168
+ if (void 0 !== (f3 = this.__execute(t4.enter, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && (y3.ref.replace(f3), y3.node = f3), this.__state !== s2 && f3 !== s2 || (b(y3), y3.node = null), this.__state === a2 || f3 === a2) return A2.root;
169
+ if ((o3 = y3.node) && (r3.push(g2), n3.push(y3), this.__state !== i2 && f3 !== i2)) {
170
+ if (u3 = o3.type || y3.wrap, !(x2 = this.__keys[u3])) {
171
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
172
+ x2 = this.__fallback(o3);
173
+ }
174
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = o3[E = x2[d3]]) if (Array.isArray(v2)) {
175
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3]) {
176
+ if (h2(u3, x2[d3])) y3 = new c2(v2[m3], [E, m3], "Property", new l2(v2, m3));
177
+ else {
178
+ if (!p2(v2[m3])) continue;
179
+ y3 = new c2(v2[m3], [E, m3], null, new l2(v2, m3));
180
+ }
181
+ r3.push(y3);
182
+ }
183
+ } else p2(v2) && r3.push(new c2(v2, E, null, new l2(o3, E)));
184
+ }
185
+ } else if (y3 = n3.pop(), void 0 !== (f3 = this.__execute(t4.leave, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && y3.ref.replace(f3), this.__state !== s2 && f3 !== s2 || b(y3), this.__state === a2 || f3 === a2) return A2.root;
186
+ return A2.root;
187
+ }, t3.Syntax = r2, t3.traverse = d2, t3.replace = function(e4, t4) {
188
+ return new f2().replace(e4, t4);
189
+ }, t3.attachComments = function(e4, t4, r3) {
190
+ var o3, a3, i3, s3, l3 = [];
191
+ if (!e4.range) throw new Error("attachComments needs range information");
192
+ if (!r3.length) {
193
+ if (t4.length) {
194
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) (o3 = u2(t4[i3])).extendedRange = [0, e4.range[0]], l3.push(o3);
195
+ e4.leadingComments = l3;
196
+ }
197
+ return e4;
198
+ }
199
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) l3.push(m2(u2(t4[i3]), r3));
200
+ return s3 = 0, d2(e4, { enter: function(e5) {
201
+ for (var t5; s3 < l3.length && !((t5 = l3[s3]).extendedRange[1] > e5.range[0]); ) t5.extendedRange[1] === e5.range[0] ? (e5.leadingComments || (e5.leadingComments = []), e5.leadingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
202
+ return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
203
+ } }), s3 = 0, d2(e4, { leave: function(e5) {
204
+ for (var t5; s3 < l3.length && (t5 = l3[s3], !(e5.range[1] < t5.extendedRange[0])); ) e5.range[1] === t5.extendedRange[0] ? (e5.trailingComments || (e5.trailingComments = []), e5.trailingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
205
+ return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
206
+ } }), e4;
207
+ }, t3.VisitorKeys = o2, t3.VisitorOption = n2, t3.Controller = f2, t3.cloneEnvironment = function() {
208
+ return e3({});
209
+ }, t3;
210
+ })(t2);
211
+ })), s = a((function(e2) {
212
+ e2.exports && (e2.exports = (function() {
213
+ function e3(t2, r2, n2, o2) {
214
+ this.message = t2, this.expected = r2, this.found = n2, this.location = o2, this.name = "SyntaxError", "function" == typeof Error.captureStackTrace && Error.captureStackTrace(this, e3);
215
+ }
216
+ return (function(e4, t2) {
217
+ function r2() {
218
+ this.constructor = e4;
219
+ }
220
+ r2.prototype = t2.prototype, e4.prototype = new r2();
221
+ })(e3, Error), e3.buildMessage = function(e4, t2) {
222
+ var r2 = { literal: function(e5) {
223
+ return '"' + o2(e5.text) + '"';
224
+ }, class: function(e5) {
225
+ var t3, r3 = "";
226
+ for (t3 = 0; t3 < e5.parts.length; t3++) r3 += e5.parts[t3] instanceof Array ? a2(e5.parts[t3][0]) + "-" + a2(e5.parts[t3][1]) : a2(e5.parts[t3]);
227
+ return "[" + (e5.inverted ? "^" : "") + r3 + "]";
228
+ }, any: function(e5) {
229
+ return "any character";
230
+ }, end: function(e5) {
231
+ return "end of input";
232
+ }, other: function(e5) {
233
+ return e5.description;
234
+ } };
235
+ function n2(e5) {
236
+ return e5.charCodeAt(0).toString(16).toUpperCase();
237
+ }
238
+ function o2(e5) {
239
+ return e5.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (function(e6) {
240
+ return "\\x0" + n2(e6);
241
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
242
+ return "\\x" + n2(e6);
243
+ }));
244
+ }
245
+ function a2(e5) {
246
+ return e5.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (function(e6) {
247
+ return "\\x0" + n2(e6);
248
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
249
+ return "\\x" + n2(e6);
250
+ }));
251
+ }
252
+ return "Expected " + (function(e5) {
253
+ var t3, n3, o3, a3 = new Array(e5.length);
254
+ for (t3 = 0; t3 < e5.length; t3++) a3[t3] = (o3 = e5[t3], r2[o3.type](o3));
255
+ if (a3.sort(), a3.length > 0) {
256
+ for (t3 = 1, n3 = 1; t3 < a3.length; t3++) a3[t3 - 1] !== a3[t3] && (a3[n3] = a3[t3], n3++);
257
+ a3.length = n3;
258
+ }
259
+ switch (a3.length) {
260
+ case 1:
261
+ return a3[0];
262
+ case 2:
263
+ return a3[0] + " or " + a3[1];
264
+ default:
265
+ return a3.slice(0, -1).join(", ") + ", or " + a3[a3.length - 1];
266
+ }
267
+ })(e4) + " but " + (function(e5) {
268
+ return e5 ? '"' + o2(e5) + '"' : "end of input";
269
+ })(t2) + " found.";
270
+ }, { SyntaxError: e3, parse: function(t2, r2) {
271
+ r2 = void 0 !== r2 ? r2 : {};
272
+ var n2, o2, a2, i2, s2 = {}, u2 = { start: Ae }, l2 = Ae, c2 = de(" ", false), f2 = /^[^ [\],():#!=><~+.]/, p2 = me([" ", "[", "]", ",", "(", ")", ":", "#", "!", "=", ">", "<", "~", "+", "."], true, false), h2 = de(">", false), y2 = de("~", false), d2 = de("+", false), m2 = de(",", false), x2 = function(e4, t3) {
273
+ return [e4].concat(t3.map((function(e5) {
274
+ return e5[3];
275
+ })));
276
+ }, v2 = de("!", false), g2 = de("*", false), A2 = de("#", false), E = de("[", false), b = de("]", false), S = /^[><!]/, _ = me([">", "<", "!"], false, false), C = de("=", false), P = function(e4) {
277
+ return (e4 || "") + "=";
278
+ }, w = /^[><]/, k = me([">", "<"], false, false), D = de(".", false), I = function(e4, t3, r3) {
279
+ return { type: "attribute", name: e4, operator: t3, value: r3 };
280
+ }, j = de('"', false), T = /^[^\\"]/, F = me(["\\", '"'], true, false), R = de("\\", false), O = { type: "any" }, L = function(e4, t3) {
281
+ return e4 + t3;
282
+ }, M = function(e4) {
283
+ return { type: "literal", value: (t3 = e4.join(""), t3.replace(/\\(.)/g, (function(e5, t4) {
284
+ switch (t4) {
285
+ case "b":
286
+ return "\b";
287
+ case "f":
288
+ return "\f";
289
+ case "n":
290
+ return "\n";
291
+ case "r":
292
+ return "\r";
293
+ case "t":
294
+ return " ";
295
+ case "v":
296
+ return "\v";
297
+ default:
298
+ return t4;
299
+ }
300
+ }))) };
301
+ var t3;
302
+ }, B = de("'", false), U = /^[^\\']/, K = me(["\\", "'"], true, false), N = /^[0-9]/, W = me([["0", "9"]], false, false), V = de("type(", false), q = /^[^ )]/, G = me([" ", ")"], true, false), z = de(")", false), H = /^[imsu]/, Y = me(["i", "m", "s", "u"], false, false), $ = de("/", false), J = /^[^\]\\]/, Q = me(["]", "\\"], true, false), X = /^[^\/\\[]/, Z = me(["/", "\\", "["], true, false), ee = de(":not(", false), te = de(":matches(", false), re = function(e4) {
303
+ return { type: "matches", selectors: e4 };
304
+ }, ne = de(":is(", false), oe = de(":has(", false), ae = de(":first-child", false), ie = de(":last-child", false), se = de(":nth-child(", false), ue = de(":nth-last-child(", false), le = de(":", false), ce = 0, fe = [{ line: 1, column: 1 }], pe = 0, he = [], ye = {};
305
+ if ("startRule" in r2) {
306
+ if (!(r2.startRule in u2)) throw new Error(`Can't start parsing from rule "` + r2.startRule + '".');
307
+ l2 = u2[r2.startRule];
308
+ }
309
+ function de(e4, t3) {
310
+ return { type: "literal", text: e4, ignoreCase: t3 };
311
+ }
312
+ function me(e4, t3, r3) {
313
+ return { type: "class", parts: e4, inverted: t3, ignoreCase: r3 };
314
+ }
315
+ function xe(e4) {
316
+ var r3, n3 = fe[e4];
317
+ if (n3) return n3;
318
+ for (r3 = e4 - 1; !fe[r3]; ) r3--;
319
+ for (n3 = { line: (n3 = fe[r3]).line, column: n3.column }; r3 < e4; ) 10 === t2.charCodeAt(r3) ? (n3.line++, n3.column = 1) : n3.column++, r3++;
320
+ return fe[e4] = n3, n3;
321
+ }
322
+ function ve(e4, t3) {
323
+ var r3 = xe(e4), n3 = xe(t3);
324
+ return { start: { offset: e4, line: r3.line, column: r3.column }, end: { offset: t3, line: n3.line, column: n3.column } };
325
+ }
326
+ function ge(e4) {
327
+ ce < pe || (ce > pe && (pe = ce, he = []), he.push(e4));
328
+ }
329
+ function Ae() {
330
+ var e4, t3, r3, n3, o3 = 36 * ce + 0, a3 = ye[o3];
331
+ return a3 ? (ce = a3.nextPos, a3.result) : (e4 = ce, (t3 = Ee()) !== s2 && (r3 = _e()) !== s2 && Ee() !== s2 ? e4 = t3 = 1 === (n3 = r3).length ? n3[0] : { type: "matches", selectors: n3 } : (ce = e4, e4 = s2), e4 === s2 && (e4 = ce, (t3 = Ee()) !== s2 && (t3 = void 0), e4 = t3), ye[o3] = { nextPos: ce, result: e4 }, e4);
332
+ }
333
+ function Ee() {
334
+ var e4, r3, n3 = 36 * ce + 1, o3 = ye[n3];
335
+ if (o3) return ce = o3.nextPos, o3.result;
336
+ for (e4 = [], 32 === t2.charCodeAt(ce) ? (r3 = " ", ce++) : (r3 = s2, ge(c2)); r3 !== s2; ) e4.push(r3), 32 === t2.charCodeAt(ce) ? (r3 = " ", ce++) : (r3 = s2, ge(c2));
337
+ return ye[n3] = { nextPos: ce, result: e4 }, e4;
338
+ }
339
+ function be() {
340
+ var e4, r3, n3, o3 = 36 * ce + 2, a3 = ye[o3];
341
+ if (a3) return ce = a3.nextPos, a3.result;
342
+ if (r3 = [], f2.test(t2.charAt(ce)) ? (n3 = t2.charAt(ce), ce++) : (n3 = s2, ge(p2)), n3 !== s2) for (; n3 !== s2; ) r3.push(n3), f2.test(t2.charAt(ce)) ? (n3 = t2.charAt(ce), ce++) : (n3 = s2, ge(p2));
343
+ else r3 = s2;
344
+ return r3 !== s2 && (r3 = r3.join("")), e4 = r3, ye[o3] = { nextPos: ce, result: e4 }, e4;
345
+ }
346
+ function Se() {
347
+ var e4, r3, n3, o3 = 36 * ce + 3, a3 = ye[o3];
348
+ return a3 ? (ce = a3.nextPos, a3.result) : (e4 = ce, (r3 = Ee()) !== s2 ? (62 === t2.charCodeAt(ce) ? (n3 = ">", ce++) : (n3 = s2, ge(h2)), n3 !== s2 && Ee() !== s2 ? e4 = r3 = "child" : (ce = e4, e4 = s2)) : (ce = e4, e4 = s2), e4 === s2 && (e4 = ce, (r3 = Ee()) !== s2 ? (126 === t2.charCodeAt(ce) ? (n3 = "~", ce++) : (n3 = s2, ge(y2)), n3 !== s2 && Ee() !== s2 ? e4 = r3 = "sibling" : (ce = e4, e4 = s2)) : (ce = e4, e4 = s2), e4 === s2 && (e4 = ce, (r3 = Ee()) !== s2 ? (43 === t2.charCodeAt(ce) ? (n3 = "+", ce++) : (n3 = s2, ge(d2)), n3 !== s2 && Ee() !== s2 ? e4 = r3 = "adjacent" : (ce = e4, e4 = s2)) : (ce = e4, e4 = s2), e4 === s2 && (e4 = ce, 32 === t2.charCodeAt(ce) ? (r3 = " ", ce++) : (r3 = s2, ge(c2)), r3 !== s2 && (n3 = Ee()) !== s2 ? e4 = r3 = "descendant" : (ce = e4, e4 = s2)))), ye[o3] = { nextPos: ce, result: e4 }, e4);
349
+ }
350
+ function _e() {
351
+ var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 36 * ce + 5, f3 = ye[c3];
352
+ if (f3) return ce = f3.nextPos, f3.result;
353
+ if (e4 = ce, (r3 = Pe()) !== s2) {
354
+ for (n3 = [], o3 = ce, (a3 = Ee()) !== s2 ? (44 === t2.charCodeAt(ce) ? (i3 = ",", ce++) : (i3 = s2, ge(m2)), i3 !== s2 && (u3 = Ee()) !== s2 && (l3 = Pe()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ce = o3, o3 = s2)) : (ce = o3, o3 = s2); o3 !== s2; ) n3.push(o3), o3 = ce, (a3 = Ee()) !== s2 ? (44 === t2.charCodeAt(ce) ? (i3 = ",", ce++) : (i3 = s2, ge(m2)), i3 !== s2 && (u3 = Ee()) !== s2 && (l3 = Pe()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ce = o3, o3 = s2)) : (ce = o3, o3 = s2);
355
+ n3 !== s2 ? e4 = r3 = x2(r3, n3) : (ce = e4, e4 = s2);
356
+ } else ce = e4, e4 = s2;
357
+ return ye[c3] = { nextPos: ce, result: e4 }, e4;
358
+ }
359
+ function Ce() {
360
+ var e4, t3, r3, n3, o3, a3 = 36 * ce + 6, i3 = ye[a3];
361
+ return i3 ? (ce = i3.nextPos, i3.result) : (e4 = ce, (t3 = Se()) === s2 && (t3 = null), t3 !== s2 && (r3 = Pe()) !== s2 ? (o3 = r3, e4 = t3 = (n3 = t3) ? { type: n3, left: { type: "exactNode" }, right: o3 } : o3) : (ce = e4, e4 = s2), ye[a3] = { nextPos: ce, result: e4 }, e4);
362
+ }
363
+ function Pe() {
364
+ var e4, t3, r3, n3, o3, a3, i3, u3 = 36 * ce + 7, l3 = ye[u3];
365
+ if (l3) return ce = l3.nextPos, l3.result;
366
+ if (e4 = ce, (t3 = we()) !== s2) {
367
+ for (r3 = [], n3 = ce, (o3 = Se()) !== s2 && (a3 = we()) !== s2 ? n3 = o3 = [o3, a3] : (ce = n3, n3 = s2); n3 !== s2; ) r3.push(n3), n3 = ce, (o3 = Se()) !== s2 && (a3 = we()) !== s2 ? n3 = o3 = [o3, a3] : (ce = n3, n3 = s2);
368
+ r3 !== s2 ? (i3 = t3, e4 = t3 = r3.reduce((function(e5, t4) {
369
+ return { type: t4[0], left: e5, right: t4[1] };
370
+ }), i3)) : (ce = e4, e4 = s2);
371
+ } else ce = e4, e4 = s2;
372
+ return ye[u3] = { nextPos: ce, result: e4 }, e4;
373
+ }
374
+ function we() {
375
+ var e4, r3, n3, o3, a3, i3, u3, l3 = 36 * ce + 8, c3 = ye[l3];
376
+ if (c3) return ce = c3.nextPos, c3.result;
377
+ if (e4 = ce, 33 === t2.charCodeAt(ce) ? (r3 = "!", ce++) : (r3 = s2, ge(v2)), r3 === s2 && (r3 = null), r3 !== s2) {
378
+ if (n3 = [], (o3 = ke()) !== s2) for (; o3 !== s2; ) n3.push(o3), o3 = ke();
379
+ else n3 = s2;
380
+ n3 !== s2 ? (a3 = r3, u3 = 1 === (i3 = n3).length ? i3[0] : { type: "compound", selectors: i3 }, a3 && (u3.subject = true), e4 = r3 = u3) : (ce = e4, e4 = s2);
381
+ } else ce = e4, e4 = s2;
382
+ return ye[l3] = { nextPos: ce, result: e4 }, e4;
383
+ }
384
+ function ke() {
385
+ var e4, r3 = 36 * ce + 9, n3 = ye[r3];
386
+ return n3 ? (ce = n3.nextPos, n3.result) : ((e4 = (function() {
387
+ var e5, r4, n4 = 36 * ce + 10, o3 = ye[n4];
388
+ return o3 ? (ce = o3.nextPos, o3.result) : (42 === t2.charCodeAt(ce) ? (r4 = "*", ce++) : (r4 = s2, ge(g2)), r4 !== s2 && (r4 = { type: "wildcard", value: r4 }), e5 = r4, ye[n4] = { nextPos: ce, result: e5 }, e5);
389
+ })()) === s2 && (e4 = (function() {
390
+ var e5, r4, n4, o3 = 36 * ce + 11, a3 = ye[o3];
391
+ return a3 ? (ce = a3.nextPos, a3.result) : (e5 = ce, 35 === t2.charCodeAt(ce) ? (r4 = "#", ce++) : (r4 = s2, ge(A2)), r4 === s2 && (r4 = null), r4 !== s2 && (n4 = be()) !== s2 ? e5 = r4 = { type: "identifier", value: n4 } : (ce = e5, e5 = s2), ye[o3] = { nextPos: ce, result: e5 }, e5);
392
+ })()) === s2 && (e4 = (function() {
393
+ var e5, r4, n4, o3, a3 = 36 * ce + 12, i3 = ye[a3];
394
+ return i3 ? (ce = i3.nextPos, i3.result) : (e5 = ce, 91 === t2.charCodeAt(ce) ? (r4 = "[", ce++) : (r4 = s2, ge(E)), r4 !== s2 && Ee() !== s2 && (n4 = (function() {
395
+ var e6, r5, n5, o4, a4 = 36 * ce + 16, i4 = ye[a4];
396
+ return i4 ? (ce = i4.nextPos, i4.result) : (e6 = ce, (r5 = De()) !== s2 && Ee() !== s2 && (n5 = (function() {
397
+ var e7, r6, n6, o5 = 36 * ce + 14, a5 = ye[o5];
398
+ return a5 ? (ce = a5.nextPos, a5.result) : (e7 = ce, 33 === t2.charCodeAt(ce) ? (r6 = "!", ce++) : (r6 = s2, ge(v2)), r6 === s2 && (r6 = null), r6 !== s2 ? (61 === t2.charCodeAt(ce) ? (n6 = "=", ce++) : (n6 = s2, ge(C)), n6 !== s2 ? (r6 = P(r6), e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2), ye[o5] = { nextPos: ce, result: e7 }, e7);
399
+ })()) !== s2 && Ee() !== s2 ? ((o4 = (function() {
400
+ var e7, r6, n6, o5, a5, i5 = 36 * ce + 20, u3 = ye[i5];
401
+ if (u3) return ce = u3.nextPos, u3.result;
402
+ if (e7 = ce, "type(" === t2.substr(ce, 5) ? (r6 = "type(", ce += 5) : (r6 = s2, ge(V)), r6 !== s2) if (Ee() !== s2) {
403
+ if (n6 = [], q.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(G)), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), q.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(G));
404
+ else n6 = s2;
405
+ n6 !== s2 && (o5 = Ee()) !== s2 ? (41 === t2.charCodeAt(ce) ? (a5 = ")", ce++) : (a5 = s2, ge(z)), a5 !== s2 ? (r6 = { type: "type", value: n6.join("") }, e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2);
406
+ } else ce = e7, e7 = s2;
407
+ else ce = e7, e7 = s2;
408
+ return ye[i5] = { nextPos: ce, result: e7 }, e7;
409
+ })()) === s2 && (o4 = (function() {
410
+ var e7, r6, n6, o5, a5, i5, u3 = 36 * ce + 22, l3 = ye[u3];
411
+ if (l3) return ce = l3.nextPos, l3.result;
412
+ if (e7 = ce, 47 === t2.charCodeAt(ce) ? (r6 = "/", ce++) : (r6 = s2, ge($)), r6 !== s2) {
413
+ if (n6 = [], (o5 = Ie()) === s2 && (o5 = je()) === s2 && (o5 = Te()), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), (o5 = Ie()) === s2 && (o5 = je()) === s2 && (o5 = Te());
414
+ else n6 = s2;
415
+ n6 !== s2 ? (47 === t2.charCodeAt(ce) ? (o5 = "/", ce++) : (o5 = s2, ge($)), o5 !== s2 ? ((a5 = (function() {
416
+ var e8, r7, n7 = 36 * ce + 21, o6 = ye[n7];
417
+ if (o6) return ce = o6.nextPos, o6.result;
418
+ if (e8 = [], H.test(t2.charAt(ce)) ? (r7 = t2.charAt(ce), ce++) : (r7 = s2, ge(Y)), r7 !== s2) for (; r7 !== s2; ) e8.push(r7), H.test(t2.charAt(ce)) ? (r7 = t2.charAt(ce), ce++) : (r7 = s2, ge(Y));
419
+ else e8 = s2;
420
+ return ye[n7] = { nextPos: ce, result: e8 }, e8;
421
+ })()) === s2 && (a5 = null), a5 !== s2 ? (i5 = a5, r6 = { type: "regexp", value: new RegExp(n6.join(""), i5 ? i5.join("") : "") }, e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2);
422
+ } else ce = e7, e7 = s2;
423
+ return ye[u3] = { nextPos: ce, result: e7 }, e7;
424
+ })()), o4 !== s2 ? (r5 = I(r5, n5, o4), e6 = r5) : (ce = e6, e6 = s2)) : (ce = e6, e6 = s2), e6 === s2 && (e6 = ce, (r5 = De()) !== s2 && Ee() !== s2 && (n5 = (function() {
425
+ var e7, r6, n6, o5 = 36 * ce + 13, a5 = ye[o5];
426
+ return a5 ? (ce = a5.nextPos, a5.result) : (e7 = ce, S.test(t2.charAt(ce)) ? (r6 = t2.charAt(ce), ce++) : (r6 = s2, ge(_)), r6 === s2 && (r6 = null), r6 !== s2 ? (61 === t2.charCodeAt(ce) ? (n6 = "=", ce++) : (n6 = s2, ge(C)), n6 !== s2 ? (r6 = P(r6), e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2), e7 === s2 && (w.test(t2.charAt(ce)) ? (e7 = t2.charAt(ce), ce++) : (e7 = s2, ge(k))), ye[o5] = { nextPos: ce, result: e7 }, e7);
427
+ })()) !== s2 && Ee() !== s2 ? ((o4 = (function() {
428
+ var e7, r6, n6, o5, a5, i5, u3 = 36 * ce + 17, l3 = ye[u3];
429
+ if (l3) return ce = l3.nextPos, l3.result;
430
+ if (e7 = ce, 34 === t2.charCodeAt(ce) ? (r6 = '"', ce++) : (r6 = s2, ge(j)), r6 !== s2) {
431
+ for (n6 = [], T.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(F)), o5 === s2 && (o5 = ce, 92 === t2.charCodeAt(ce) ? (a5 = "\\", ce++) : (a5 = s2, ge(R)), a5 !== s2 ? (t2.length > ce ? (i5 = t2.charAt(ce), ce++) : (i5 = s2, ge(O)), i5 !== s2 ? (a5 = L(a5, i5), o5 = a5) : (ce = o5, o5 = s2)) : (ce = o5, o5 = s2)); o5 !== s2; ) n6.push(o5), T.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(F)), o5 === s2 && (o5 = ce, 92 === t2.charCodeAt(ce) ? (a5 = "\\", ce++) : (a5 = s2, ge(R)), a5 !== s2 ? (t2.length > ce ? (i5 = t2.charAt(ce), ce++) : (i5 = s2, ge(O)), i5 !== s2 ? (a5 = L(a5, i5), o5 = a5) : (ce = o5, o5 = s2)) : (ce = o5, o5 = s2));
432
+ n6 !== s2 ? (34 === t2.charCodeAt(ce) ? (o5 = '"', ce++) : (o5 = s2, ge(j)), o5 !== s2 ? (r6 = M(n6), e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2);
433
+ } else ce = e7, e7 = s2;
434
+ if (e7 === s2) if (e7 = ce, 39 === t2.charCodeAt(ce) ? (r6 = "'", ce++) : (r6 = s2, ge(B)), r6 !== s2) {
435
+ for (n6 = [], U.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(K)), o5 === s2 && (o5 = ce, 92 === t2.charCodeAt(ce) ? (a5 = "\\", ce++) : (a5 = s2, ge(R)), a5 !== s2 ? (t2.length > ce ? (i5 = t2.charAt(ce), ce++) : (i5 = s2, ge(O)), i5 !== s2 ? (a5 = L(a5, i5), o5 = a5) : (ce = o5, o5 = s2)) : (ce = o5, o5 = s2)); o5 !== s2; ) n6.push(o5), U.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(K)), o5 === s2 && (o5 = ce, 92 === t2.charCodeAt(ce) ? (a5 = "\\", ce++) : (a5 = s2, ge(R)), a5 !== s2 ? (t2.length > ce ? (i5 = t2.charAt(ce), ce++) : (i5 = s2, ge(O)), i5 !== s2 ? (a5 = L(a5, i5), o5 = a5) : (ce = o5, o5 = s2)) : (ce = o5, o5 = s2));
436
+ n6 !== s2 ? (39 === t2.charCodeAt(ce) ? (o5 = "'", ce++) : (o5 = s2, ge(B)), o5 !== s2 ? (r6 = M(n6), e7 = r6) : (ce = e7, e7 = s2)) : (ce = e7, e7 = s2);
437
+ } else ce = e7, e7 = s2;
438
+ return ye[u3] = { nextPos: ce, result: e7 }, e7;
439
+ })()) === s2 && (o4 = (function() {
440
+ var e7, r6, n6, o5, a5, i5, u3, l3 = 36 * ce + 18, c3 = ye[l3];
441
+ if (c3) return ce = c3.nextPos, c3.result;
442
+ for (e7 = ce, r6 = ce, n6 = [], N.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(W)); o5 !== s2; ) n6.push(o5), N.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(W));
443
+ if (n6 !== s2 ? (46 === t2.charCodeAt(ce) ? (o5 = ".", ce++) : (o5 = s2, ge(D)), o5 !== s2 ? r6 = n6 = [n6, o5] : (ce = r6, r6 = s2)) : (ce = r6, r6 = s2), r6 === s2 && (r6 = null), r6 !== s2) {
444
+ if (n6 = [], N.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(W)), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), N.test(t2.charAt(ce)) ? (o5 = t2.charAt(ce), ce++) : (o5 = s2, ge(W));
445
+ else n6 = s2;
446
+ n6 !== s2 ? (i5 = n6, u3 = (a5 = r6) ? [].concat.apply([], a5).join("") : "", r6 = { type: "literal", value: parseFloat(u3 + i5.join("")) }, e7 = r6) : (ce = e7, e7 = s2);
447
+ } else ce = e7, e7 = s2;
448
+ return ye[l3] = { nextPos: ce, result: e7 }, e7;
449
+ })()) === s2 && (o4 = (function() {
450
+ var e7, t3, r6 = 36 * ce + 19, n6 = ye[r6];
451
+ return n6 ? (ce = n6.nextPos, n6.result) : ((t3 = be()) !== s2 && (t3 = { type: "literal", value: t3 }), e7 = t3, ye[r6] = { nextPos: ce, result: e7 }, e7);
452
+ })()), o4 !== s2 ? (r5 = I(r5, n5, o4), e6 = r5) : (ce = e6, e6 = s2)) : (ce = e6, e6 = s2), e6 === s2 && (e6 = ce, (r5 = De()) !== s2 && (r5 = { type: "attribute", name: r5 }), e6 = r5)), ye[a4] = { nextPos: ce, result: e6 }, e6);
453
+ })()) !== s2 && Ee() !== s2 ? (93 === t2.charCodeAt(ce) ? (o3 = "]", ce++) : (o3 = s2, ge(b)), o3 !== s2 ? e5 = r4 = n4 : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2), ye[a3] = { nextPos: ce, result: e5 }, e5);
454
+ })()) === s2 && (e4 = (function() {
455
+ var e5, r4, n4, o3, a3, i3, u3, l3, c3 = 36 * ce + 26, f3 = ye[c3];
456
+ if (f3) return ce = f3.nextPos, f3.result;
457
+ if (e5 = ce, 46 === t2.charCodeAt(ce) ? (r4 = ".", ce++) : (r4 = s2, ge(D)), r4 !== s2) if ((n4 = be()) !== s2) {
458
+ for (o3 = [], a3 = ce, 46 === t2.charCodeAt(ce) ? (i3 = ".", ce++) : (i3 = s2, ge(D)), i3 !== s2 && (u3 = be()) !== s2 ? a3 = i3 = [i3, u3] : (ce = a3, a3 = s2); a3 !== s2; ) o3.push(a3), a3 = ce, 46 === t2.charCodeAt(ce) ? (i3 = ".", ce++) : (i3 = s2, ge(D)), i3 !== s2 && (u3 = be()) !== s2 ? a3 = i3 = [i3, u3] : (ce = a3, a3 = s2);
459
+ o3 !== s2 ? (l3 = n4, r4 = { type: "field", name: o3.reduce((function(e6, t3) {
460
+ return e6 + t3[0] + t3[1];
461
+ }), l3) }, e5 = r4) : (ce = e5, e5 = s2);
462
+ } else ce = e5, e5 = s2;
463
+ else ce = e5, e5 = s2;
464
+ return ye[c3] = { nextPos: ce, result: e5 }, e5;
465
+ })()) === s2 && (e4 = (function() {
466
+ var e5, r4, n4, o3, a3 = 36 * ce + 27, i3 = ye[a3];
467
+ return i3 ? (ce = i3.nextPos, i3.result) : (e5 = ce, ":not(" === t2.substr(ce, 5) ? (r4 = ":not(", ce += 5) : (r4 = s2, ge(ee)), r4 !== s2 && Ee() !== s2 && (n4 = _e()) !== s2 && Ee() !== s2 ? (41 === t2.charCodeAt(ce) ? (o3 = ")", ce++) : (o3 = s2, ge(z)), o3 !== s2 ? e5 = r4 = { type: "not", selectors: n4 } : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2), ye[a3] = { nextPos: ce, result: e5 }, e5);
468
+ })()) === s2 && (e4 = (function() {
469
+ var e5, r4, n4, o3, a3 = 36 * ce + 28, i3 = ye[a3];
470
+ return i3 ? (ce = i3.nextPos, i3.result) : (e5 = ce, ":matches(" === t2.substr(ce, 9) ? (r4 = ":matches(", ce += 9) : (r4 = s2, ge(te)), r4 !== s2 && Ee() !== s2 && (n4 = _e()) !== s2 && Ee() !== s2 ? (41 === t2.charCodeAt(ce) ? (o3 = ")", ce++) : (o3 = s2, ge(z)), o3 !== s2 ? (r4 = re(n4), e5 = r4) : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2), ye[a3] = { nextPos: ce, result: e5 }, e5);
471
+ })()) === s2 && (e4 = (function() {
472
+ var e5, r4, n4, o3, a3 = 36 * ce + 29, i3 = ye[a3];
473
+ return i3 ? (ce = i3.nextPos, i3.result) : (e5 = ce, ":is(" === t2.substr(ce, 4) ? (r4 = ":is(", ce += 4) : (r4 = s2, ge(ne)), r4 !== s2 && Ee() !== s2 && (n4 = _e()) !== s2 && Ee() !== s2 ? (41 === t2.charCodeAt(ce) ? (o3 = ")", ce++) : (o3 = s2, ge(z)), o3 !== s2 ? (r4 = re(n4), e5 = r4) : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2), ye[a3] = { nextPos: ce, result: e5 }, e5);
474
+ })()) === s2 && (e4 = (function() {
475
+ var e5, r4, n4, o3, a3 = 36 * ce + 30, i3 = ye[a3];
476
+ return i3 ? (ce = i3.nextPos, i3.result) : (e5 = ce, ":has(" === t2.substr(ce, 5) ? (r4 = ":has(", ce += 5) : (r4 = s2, ge(oe)), r4 !== s2 && Ee() !== s2 && (n4 = (function() {
477
+ var e6, r5, n5, o4, a4, i4, u3, l3, c3 = 36 * ce + 4, f3 = ye[c3];
478
+ if (f3) return ce = f3.nextPos, f3.result;
479
+ if (e6 = ce, (r5 = Ce()) !== s2) {
480
+ for (n5 = [], o4 = ce, (a4 = Ee()) !== s2 ? (44 === t2.charCodeAt(ce) ? (i4 = ",", ce++) : (i4 = s2, ge(m2)), i4 !== s2 && (u3 = Ee()) !== s2 && (l3 = Ce()) !== s2 ? o4 = a4 = [a4, i4, u3, l3] : (ce = o4, o4 = s2)) : (ce = o4, o4 = s2); o4 !== s2; ) n5.push(o4), o4 = ce, (a4 = Ee()) !== s2 ? (44 === t2.charCodeAt(ce) ? (i4 = ",", ce++) : (i4 = s2, ge(m2)), i4 !== s2 && (u3 = Ee()) !== s2 && (l3 = Ce()) !== s2 ? o4 = a4 = [a4, i4, u3, l3] : (ce = o4, o4 = s2)) : (ce = o4, o4 = s2);
481
+ n5 !== s2 ? e6 = r5 = x2(r5, n5) : (ce = e6, e6 = s2);
482
+ } else ce = e6, e6 = s2;
483
+ return ye[c3] = { nextPos: ce, result: e6 }, e6;
484
+ })()) !== s2 && Ee() !== s2 ? (41 === t2.charCodeAt(ce) ? (o3 = ")", ce++) : (o3 = s2, ge(z)), o3 !== s2 ? e5 = r4 = { type: "has", selectors: n4 } : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2), ye[a3] = { nextPos: ce, result: e5 }, e5);
485
+ })()) === s2 && (e4 = (function() {
486
+ var e5, r4, n4 = 36 * ce + 31, o3 = ye[n4];
487
+ return o3 ? (ce = o3.nextPos, o3.result) : (":first-child" === t2.substr(ce, 12) ? (r4 = ":first-child", ce += 12) : (r4 = s2, ge(ae)), r4 !== s2 && (r4 = Fe(1)), e5 = r4, ye[n4] = { nextPos: ce, result: e5 }, e5);
488
+ })()) === s2 && (e4 = (function() {
489
+ var e5, r4, n4 = 36 * ce + 32, o3 = ye[n4];
490
+ return o3 ? (ce = o3.nextPos, o3.result) : (":last-child" === t2.substr(ce, 11) ? (r4 = ":last-child", ce += 11) : (r4 = s2, ge(ie)), r4 !== s2 && (r4 = Re(1)), e5 = r4, ye[n4] = { nextPos: ce, result: e5 }, e5);
491
+ })()) === s2 && (e4 = (function() {
492
+ var e5, r4, n4, o3, a3, i3 = 36 * ce + 33, u3 = ye[i3];
493
+ if (u3) return ce = u3.nextPos, u3.result;
494
+ if (e5 = ce, ":nth-child(" === t2.substr(ce, 11) ? (r4 = ":nth-child(", ce += 11) : (r4 = s2, ge(se)), r4 !== s2) if (Ee() !== s2) {
495
+ if (n4 = [], N.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(W)), o3 !== s2) for (; o3 !== s2; ) n4.push(o3), N.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(W));
496
+ else n4 = s2;
497
+ n4 !== s2 && (o3 = Ee()) !== s2 ? (41 === t2.charCodeAt(ce) ? (a3 = ")", ce++) : (a3 = s2, ge(z)), a3 !== s2 ? (r4 = Fe(parseInt(n4.join(""), 10)), e5 = r4) : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2);
498
+ } else ce = e5, e5 = s2;
499
+ else ce = e5, e5 = s2;
500
+ return ye[i3] = { nextPos: ce, result: e5 }, e5;
501
+ })()) === s2 && (e4 = (function() {
502
+ var e5, r4, n4, o3, a3, i3 = 36 * ce + 34, u3 = ye[i3];
503
+ if (u3) return ce = u3.nextPos, u3.result;
504
+ if (e5 = ce, ":nth-last-child(" === t2.substr(ce, 16) ? (r4 = ":nth-last-child(", ce += 16) : (r4 = s2, ge(ue)), r4 !== s2) if (Ee() !== s2) {
505
+ if (n4 = [], N.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(W)), o3 !== s2) for (; o3 !== s2; ) n4.push(o3), N.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(W));
506
+ else n4 = s2;
507
+ n4 !== s2 && (o3 = Ee()) !== s2 ? (41 === t2.charCodeAt(ce) ? (a3 = ")", ce++) : (a3 = s2, ge(z)), a3 !== s2 ? (r4 = Re(parseInt(n4.join(""), 10)), e5 = r4) : (ce = e5, e5 = s2)) : (ce = e5, e5 = s2);
508
+ } else ce = e5, e5 = s2;
509
+ else ce = e5, e5 = s2;
510
+ return ye[i3] = { nextPos: ce, result: e5 }, e5;
511
+ })()) === s2 && (e4 = (function() {
512
+ var e5, r4, n4, o3 = 36 * ce + 35, a3 = ye[o3];
513
+ return a3 ? (ce = a3.nextPos, a3.result) : (e5 = ce, 58 === t2.charCodeAt(ce) ? (r4 = ":", ce++) : (r4 = s2, ge(le)), r4 !== s2 && (n4 = be()) !== s2 ? e5 = r4 = { type: "class", name: n4 } : (ce = e5, e5 = s2), ye[o3] = { nextPos: ce, result: e5 }, e5);
514
+ })()), ye[r3] = { nextPos: ce, result: e4 }, e4);
515
+ }
516
+ function De() {
517
+ var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 36 * ce + 15, f3 = ye[c3];
518
+ if (f3) return ce = f3.nextPos, f3.result;
519
+ if (e4 = ce, (r3 = be()) !== s2) {
520
+ for (n3 = [], o3 = ce, 46 === t2.charCodeAt(ce) ? (a3 = ".", ce++) : (a3 = s2, ge(D)), a3 !== s2 && (i3 = be()) !== s2 ? o3 = a3 = [a3, i3] : (ce = o3, o3 = s2); o3 !== s2; ) n3.push(o3), o3 = ce, 46 === t2.charCodeAt(ce) ? (a3 = ".", ce++) : (a3 = s2, ge(D)), a3 !== s2 && (i3 = be()) !== s2 ? o3 = a3 = [a3, i3] : (ce = o3, o3 = s2);
521
+ n3 !== s2 ? (u3 = r3, l3 = n3, e4 = r3 = [].concat.apply([u3], l3).join("")) : (ce = e4, e4 = s2);
522
+ } else ce = e4, e4 = s2;
523
+ return ye[c3] = { nextPos: ce, result: e4 }, e4;
524
+ }
525
+ function Ie() {
526
+ var e4, r3, n3, o3, a3 = 36 * ce + 23, i3 = ye[a3];
527
+ if (i3) return ce = i3.nextPos, i3.result;
528
+ if (e4 = ce, 91 === t2.charCodeAt(ce) ? (r3 = "[", ce++) : (r3 = s2, ge(E)), r3 !== s2) {
529
+ if (n3 = [], J.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(Q)), o3 === s2 && (o3 = je()), o3 !== s2) for (; o3 !== s2; ) n3.push(o3), J.test(t2.charAt(ce)) ? (o3 = t2.charAt(ce), ce++) : (o3 = s2, ge(Q)), o3 === s2 && (o3 = je());
530
+ else n3 = s2;
531
+ n3 !== s2 ? (93 === t2.charCodeAt(ce) ? (o3 = "]", ce++) : (o3 = s2, ge(b)), o3 !== s2 ? e4 = r3 = "[" + n3.join("") + "]" : (ce = e4, e4 = s2)) : (ce = e4, e4 = s2);
532
+ } else ce = e4, e4 = s2;
533
+ return ye[a3] = { nextPos: ce, result: e4 }, e4;
534
+ }
535
+ function je() {
536
+ var e4, r3, n3, o3 = 36 * ce + 24, a3 = ye[o3];
537
+ return a3 ? (ce = a3.nextPos, a3.result) : (e4 = ce, 92 === t2.charCodeAt(ce) ? (r3 = "\\", ce++) : (r3 = s2, ge(R)), r3 !== s2 ? (t2.length > ce ? (n3 = t2.charAt(ce), ce++) : (n3 = s2, ge(O)), n3 !== s2 ? e4 = r3 = "\\" + n3 : (ce = e4, e4 = s2)) : (ce = e4, e4 = s2), ye[o3] = { nextPos: ce, result: e4 }, e4);
538
+ }
539
+ function Te() {
540
+ var e4, r3, n3, o3 = 36 * ce + 25, a3 = ye[o3];
541
+ if (a3) return ce = a3.nextPos, a3.result;
542
+ if (r3 = [], X.test(t2.charAt(ce)) ? (n3 = t2.charAt(ce), ce++) : (n3 = s2, ge(Z)), n3 !== s2) for (; n3 !== s2; ) r3.push(n3), X.test(t2.charAt(ce)) ? (n3 = t2.charAt(ce), ce++) : (n3 = s2, ge(Z));
543
+ else r3 = s2;
544
+ return r3 !== s2 && (r3 = r3.join("")), e4 = r3, ye[o3] = { nextPos: ce, result: e4 }, e4;
545
+ }
546
+ function Fe(e4) {
547
+ return { type: "nth-child", index: { type: "literal", value: e4 } };
548
+ }
549
+ function Re(e4) {
550
+ return { type: "nth-last-child", index: { type: "literal", value: e4 } };
551
+ }
552
+ if ((n2 = l2()) !== s2 && ce === t2.length) return n2;
553
+ throw n2 !== s2 && ce < t2.length && ge({ type: "end" }), o2 = he, a2 = pe < t2.length ? t2.charAt(pe) : null, i2 = pe < t2.length ? ve(pe, pe + 1) : ve(pe, pe), new e3(e3.buildMessage(o2, a2), o2, a2, i2);
554
+ } };
555
+ })());
556
+ }));
557
+ function u(e2, t2) {
558
+ for (var r2 = 0; r2 < t2.length; ++r2) {
559
+ if (null == e2) return e2;
560
+ e2 = e2[t2[r2]];
561
+ }
562
+ return e2;
563
+ }
564
+ var l = "function" == typeof WeakMap ? /* @__PURE__ */ new WeakMap() : null;
565
+ function c(e2) {
566
+ if (null == e2) return function() {
567
+ return true;
568
+ };
569
+ if (null != l) {
570
+ var t2 = l.get(e2);
571
+ return null != t2 || (t2 = f(e2), l.set(e2, t2)), t2;
572
+ }
573
+ return f(e2);
574
+ }
575
+ function f(e2) {
576
+ switch (e2.type) {
577
+ case "wildcard":
578
+ return function() {
579
+ return true;
580
+ };
581
+ case "identifier":
582
+ var t2 = e2.value.toLowerCase();
583
+ return function(e3, r3, n2) {
584
+ var o3 = n2 && n2.nodeTypeKey || "type";
585
+ return t2 === e3[o3].toLowerCase();
586
+ };
587
+ case "exactNode":
588
+ return function(e3, t3) {
589
+ return 0 === t3.length;
590
+ };
591
+ case "field":
592
+ var r2 = e2.name.split(".");
593
+ return function(e3, t3) {
594
+ return (function e4(t4, r3, n2, o3) {
595
+ for (var a3 = r3, i2 = o3; i2 < n2.length; ++i2) {
596
+ if (null == a3) return false;
597
+ var s3 = a3[n2[i2]];
598
+ if (Array.isArray(s3)) {
599
+ for (var u2 = 0; u2 < s3.length; ++u2) if (e4(t4, s3[u2], n2, i2 + 1)) return true;
600
+ return false;
601
+ }
602
+ a3 = s3;
603
+ }
604
+ return t4 === a3;
605
+ })(e3, t3[r2.length - 1], r2, 0);
606
+ };
607
+ case "matches":
608
+ var o2 = e2.selectors.map(c);
609
+ return function(e3, t3, r3) {
610
+ for (var n2 = 0; n2 < o2.length; ++n2) if (o2[n2](e3, t3, r3)) return true;
611
+ return false;
612
+ };
613
+ case "compound":
614
+ var a2 = e2.selectors.map(c);
615
+ return function(e3, t3, r3) {
616
+ for (var n2 = 0; n2 < a2.length; ++n2) if (!a2[n2](e3, t3, r3)) return false;
617
+ return true;
618
+ };
619
+ case "not":
620
+ var s2 = e2.selectors.map(c);
621
+ return function(e3, t3, r3) {
622
+ for (var n2 = 0; n2 < s2.length; ++n2) if (s2[n2](e3, t3, r3)) return false;
623
+ return true;
624
+ };
625
+ case "has":
626
+ var l2 = e2.selectors.map(c);
627
+ return function(e3, t3, r3) {
628
+ var n2 = false, o3 = [];
629
+ return i.traverse(e3, { enter: function(e4, t4) {
630
+ null != t4 && o3.unshift(t4);
631
+ for (var a3 = 0; a3 < l2.length; ++a3) if (l2[a3](e4, o3, r3)) return n2 = true, void this.break();
632
+ }, leave: function() {
633
+ o3.shift();
634
+ }, keys: r3 && r3.visitorKeys, fallback: r3 && r3.fallback || "iteration" }), n2;
635
+ };
636
+ case "child":
637
+ var f2 = c(e2.left), p2 = c(e2.right);
638
+ return function(e3, t3, r3) {
639
+ return !!(t3.length > 0 && p2(e3, t3, r3)) && f2(t3[0], t3.slice(1), r3);
640
+ };
641
+ case "descendant":
642
+ var h2 = c(e2.left), x2 = c(e2.right);
643
+ return function(e3, t3, r3) {
644
+ if (x2(e3, t3, r3)) {
645
+ for (var n2 = 0, o3 = t3.length; n2 < o3; ++n2) if (h2(t3[n2], t3.slice(n2 + 1), r3)) return true;
646
+ }
647
+ return false;
648
+ };
649
+ case "attribute":
650
+ var v2 = e2.name.split(".");
651
+ switch (e2.operator) {
652
+ case void 0:
653
+ return function(e3) {
654
+ return null != u(e3, v2);
655
+ };
656
+ case "=":
657
+ switch (e2.value.type) {
658
+ case "regexp":
659
+ return function(t3) {
660
+ var r3 = u(t3, v2);
661
+ return "string" == typeof r3 && e2.value.value.test(r3);
662
+ };
663
+ case "literal":
664
+ var g2 = "".concat(e2.value.value);
665
+ return function(e3) {
666
+ return g2 === "".concat(u(e3, v2));
667
+ };
668
+ case "type":
669
+ return function(t3) {
670
+ return e2.value.value === n(u(t3, v2));
671
+ };
672
+ }
673
+ throw new Error("Unknown selector value type: ".concat(e2.value.type));
674
+ case "!=":
675
+ switch (e2.value.type) {
676
+ case "regexp":
677
+ return function(t3) {
678
+ return !e2.value.value.test(u(t3, v2));
679
+ };
680
+ case "literal":
681
+ var A2 = "".concat(e2.value.value);
682
+ return function(e3) {
683
+ return A2 !== "".concat(u(e3, v2));
684
+ };
685
+ case "type":
686
+ return function(t3) {
687
+ return e2.value.value !== n(u(t3, v2));
688
+ };
689
+ }
690
+ throw new Error("Unknown selector value type: ".concat(e2.value.type));
691
+ case "<=":
692
+ return function(t3) {
693
+ return u(t3, v2) <= e2.value.value;
694
+ };
695
+ case "<":
696
+ return function(t3) {
697
+ return u(t3, v2) < e2.value.value;
698
+ };
699
+ case ">":
700
+ return function(t3) {
701
+ return u(t3, v2) > e2.value.value;
702
+ };
703
+ case ">=":
704
+ return function(t3) {
705
+ return u(t3, v2) >= e2.value.value;
706
+ };
707
+ }
708
+ throw new Error("Unknown operator: ".concat(e2.operator));
709
+ case "sibling":
710
+ var E = c(e2.left), b = c(e2.right);
711
+ return function(t3, r3, n2) {
712
+ return b(t3, r3, n2) && y(t3, E, r3, "LEFT_SIDE", n2) || e2.left.subject && E(t3, r3, n2) && y(t3, b, r3, "RIGHT_SIDE", n2);
713
+ };
714
+ case "adjacent":
715
+ var S = c(e2.left), _ = c(e2.right);
716
+ return function(t3, r3, n2) {
717
+ return _(t3, r3, n2) && d(t3, S, r3, "LEFT_SIDE", n2) || e2.right.subject && S(t3, r3, n2) && d(t3, _, r3, "RIGHT_SIDE", n2);
718
+ };
719
+ case "nth-child":
720
+ var C = e2.index.value, P = c(e2.right);
721
+ return function(e3, t3, r3) {
722
+ return P(e3, t3, r3) && m(e3, t3, C, r3);
723
+ };
724
+ case "nth-last-child":
725
+ var w = -e2.index.value, k = c(e2.right);
726
+ return function(e3, t3, r3) {
727
+ return k(e3, t3, r3) && m(e3, t3, w, r3);
728
+ };
729
+ case "class":
730
+ var D = e2.name.toLowerCase();
731
+ return function(t3, r3, n2) {
732
+ if (n2 && n2.matchClass) return n2.matchClass(e2.name, t3, r3);
733
+ if (n2 && n2.nodeTypeKey) return false;
734
+ switch (D) {
735
+ case "statement":
736
+ if ("Statement" === t3.type.slice(-9)) return true;
737
+ case "declaration":
738
+ return "Declaration" === t3.type.slice(-11);
739
+ case "pattern":
740
+ if ("Pattern" === t3.type.slice(-7)) return true;
741
+ case "expression":
742
+ return "Expression" === t3.type.slice(-10) || "Literal" === t3.type.slice(-7) || "Identifier" === t3.type && (0 === r3.length || "MetaProperty" !== r3[0].type) || "MetaProperty" === t3.type;
743
+ case "function":
744
+ return "FunctionDeclaration" === t3.type || "FunctionExpression" === t3.type || "ArrowFunctionExpression" === t3.type;
745
+ }
746
+ throw new Error("Unknown class name: ".concat(e2.name));
747
+ };
748
+ }
749
+ throw new Error("Unknown selector type: ".concat(e2.type));
750
+ }
751
+ function p(e2, t2) {
752
+ var r2 = t2 && t2.nodeTypeKey || "type", n2 = e2[r2];
753
+ return t2 && t2.visitorKeys && t2.visitorKeys[n2] ? t2.visitorKeys[n2] : i.VisitorKeys[n2] ? i.VisitorKeys[n2] : t2 && "function" == typeof t2.fallback ? t2.fallback(e2) : Object.keys(e2).filter((function(e3) {
754
+ return e3 !== r2;
755
+ }));
756
+ }
757
+ function h(e2, t2) {
758
+ var r2 = t2 && t2.nodeTypeKey || "type";
759
+ return null !== e2 && "object" === n(e2) && "string" == typeof e2[r2];
760
+ }
761
+ function y(e2, r2, n2, o2, a2) {
762
+ var i2 = t(n2, 1)[0];
763
+ if (!i2) return false;
764
+ for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
765
+ var l2 = i2[s2[u2]];
766
+ if (Array.isArray(l2)) {
767
+ var c2 = l2.indexOf(e2);
768
+ if (c2 < 0) continue;
769
+ var f2 = void 0, y2 = void 0;
770
+ "LEFT_SIDE" === o2 ? (f2 = 0, y2 = c2) : (f2 = c2 + 1, y2 = l2.length);
771
+ for (var d2 = f2; d2 < y2; ++d2) if (h(l2[d2], a2) && r2(l2[d2], n2, a2)) return true;
772
+ }
773
+ }
774
+ return false;
775
+ }
776
+ function d(e2, r2, n2, o2, a2) {
777
+ var i2 = t(n2, 1)[0];
778
+ if (!i2) return false;
779
+ for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
780
+ var l2 = i2[s2[u2]];
781
+ if (Array.isArray(l2)) {
782
+ var c2 = l2.indexOf(e2);
783
+ if (c2 < 0) continue;
784
+ if ("LEFT_SIDE" === o2 && c2 > 0 && h(l2[c2 - 1], a2) && r2(l2[c2 - 1], n2, a2)) return true;
785
+ if ("RIGHT_SIDE" === o2 && c2 < l2.length - 1 && h(l2[c2 + 1], a2) && r2(l2[c2 + 1], n2, a2)) return true;
786
+ }
787
+ }
788
+ return false;
789
+ }
790
+ function m(e2, r2, n2, o2) {
791
+ if (0 === n2) return false;
792
+ var a2 = t(r2, 1)[0];
793
+ if (!a2) return false;
794
+ for (var i2 = p(a2, o2), s2 = 0; s2 < i2.length; ++s2) {
795
+ var u2 = a2[i2[s2]];
796
+ if (Array.isArray(u2)) {
797
+ var l2 = n2 < 0 ? u2.length + n2 : n2 - 1;
798
+ if (l2 >= 0 && l2 < u2.length && u2[l2] === e2) return true;
799
+ }
800
+ }
801
+ return false;
802
+ }
803
+ function x(e2, t2, o2, a2) {
804
+ if (t2) {
805
+ var s2 = [], u2 = c(t2), l2 = (function e3(t3, o3) {
806
+ if (null == t3 || "object" != n(t3)) return [];
807
+ null == o3 && (o3 = t3);
808
+ for (var a3 = t3.subject ? [o3] : [], i2 = Object.keys(t3), s3 = 0; s3 < i2.length; ++s3) {
809
+ var u3 = i2[s3], l3 = t3[u3];
810
+ a3.push.apply(a3, r(e3(l3, "left" === u3 ? l3 : o3)));
811
+ }
812
+ return a3;
813
+ })(t2).map(c);
814
+ i.traverse(e2, { enter: function(e3, t3) {
815
+ if (null != t3 && s2.unshift(t3), u2(e3, s2, a2)) if (l2.length) for (var r2 = 0, n2 = l2.length; r2 < n2; ++r2) {
816
+ l2[r2](e3, s2, a2) && o2(e3, t3, s2);
817
+ for (var i2 = 0, c2 = s2.length; i2 < c2; ++i2) {
818
+ var f2 = s2.slice(i2 + 1);
819
+ l2[r2](s2[i2], f2, a2) && o2(s2[i2], t3, f2);
820
+ }
821
+ }
822
+ else o2(e3, t3, s2);
823
+ }, leave: function() {
824
+ s2.shift();
825
+ }, keys: a2 && a2.visitorKeys, fallback: a2 && a2.fallback || "iteration" });
826
+ }
827
+ }
828
+ function v(e2, t2, r2) {
829
+ var n2 = [];
830
+ return x(e2, t2, (function(e3) {
831
+ n2.push(e3);
832
+ }), r2), n2;
833
+ }
834
+ function g(e2) {
835
+ return s.parse(e2);
836
+ }
837
+ function A(e2, t2, r2) {
838
+ return v(e2, g(t2), r2);
839
+ }
840
+ A.parse = g, A.match = v, A.traverse = x, A.matches = function(e2, t2, r2, n2) {
841
+ return !t2 || !!e2 && (r2 || (r2 = []), c(t2)(e2, r2, n2));
842
+ }, A.query = A;
843
+
844
+ export { A as default };
845
+ //# sourceMappingURL=esquery.esm.min.js.map