@depup/sentry__server-utils 10.71.0-depup.0 → 10.72.0-depup.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (577) hide show
  1. package/README.md +4 -6
  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/chunk-D6vf50IK.js +6 -0
  16. package/build/cjs/_virtual/chunk-D6vf50IK.js.map +1 -0
  17. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js +6 -0
  18. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js.map +1 -0
  19. package/build/cjs/_virtual/mapping-list.js +6 -0
  20. package/build/cjs/_virtual/mapping-list.js.map +1 -0
  21. package/build/cjs/_virtual/meriyah.js +6 -0
  22. package/build/cjs/_virtual/meriyah.js.map +1 -0
  23. package/build/cjs/_virtual/node.js +6 -0
  24. package/build/cjs/_virtual/node.js.map +1 -0
  25. package/build/cjs/_virtual/quick-sort.js +6 -0
  26. package/build/cjs/_virtual/quick-sort.js.map +1 -0
  27. package/build/cjs/_virtual/source-map-consumer.js +6 -0
  28. package/build/cjs/_virtual/source-map-consumer.js.map +1 -0
  29. package/build/cjs/_virtual/source-map-generator.js +6 -0
  30. package/build/cjs/_virtual/source-map-generator.js.map +1 -0
  31. package/build/cjs/_virtual/source-map.js +6 -0
  32. package/build/cjs/_virtual/source-map.js.map +1 -0
  33. package/build/cjs/_virtual/source-node.js +6 -0
  34. package/build/cjs/_virtual/source-node.js.map +1 -0
  35. package/build/cjs/_virtual/transforms.js +6 -0
  36. package/build/cjs/_virtual/transforms.js.map +1 -0
  37. package/build/cjs/_virtual/util.js +6 -0
  38. package/build/cjs/_virtual/util.js.map +1 -0
  39. package/build/cjs/debug-build.js.map +1 -1
  40. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  41. package/build/cjs/graphql/index.js +15 -2
  42. package/build/cjs/graphql/index.js.map +1 -1
  43. package/build/cjs/graphql/utils.js.map +1 -1
  44. package/build/cjs/integrations/tracing-channel/amqplib.js +24 -11
  45. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -1
  46. package/build/cjs/integrations/tracing-channel/anthropic.js +15 -2
  47. package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -1
  48. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  49. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +15 -2
  50. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  51. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  52. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  53. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  54. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  55. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  56. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  57. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  58. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  59. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  60. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  61. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  62. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  63. package/build/cjs/integrations/tracing-channel/dataloader.js +17 -4
  64. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  65. package/build/cjs/integrations/tracing-channel/express/index.js +15 -2
  66. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -1
  67. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  68. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -1
  69. package/build/cjs/integrations/tracing-channel/fastify/errors.js +14 -1
  70. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -1
  71. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  72. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +14 -1
  73. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  74. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  75. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +14 -1
  76. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  77. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -1
  78. package/build/cjs/integrations/tracing-channel/firebase/index.js +14 -1
  79. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -1
  80. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +15 -2
  81. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  82. package/build/cjs/integrations/tracing-channel/generic-pool.js +15 -2
  83. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -1
  84. package/build/cjs/integrations/tracing-channel/google-genai.js +15 -2
  85. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -1
  86. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -1
  87. package/build/cjs/integrations/tracing-channel/graphql/index.js +17 -4
  88. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -1
  89. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  90. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  91. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -1
  92. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -1
  93. package/build/cjs/integrations/tracing-channel/hapi.js +16 -3
  94. package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -1
  95. package/build/cjs/integrations/tracing-channel/ioredis.js +16 -3
  96. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  97. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  98. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +16 -3
  99. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  100. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  101. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  102. package/build/cjs/integrations/tracing-channel/knex.js +16 -3
  103. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -1
  104. package/build/cjs/integrations/tracing-channel/koa.js +15 -2
  105. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -1
  106. package/build/cjs/integrations/tracing-channel/langchain.js +17 -5
  107. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -1
  108. package/build/cjs/integrations/tracing-channel/langgraph.js +16 -3
  109. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -1
  110. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +15 -2
  111. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  112. package/build/cjs/integrations/tracing-channel/mongodb.js +17 -4
  113. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -1
  114. package/build/cjs/integrations/tracing-channel/mongoose.js +17 -4
  115. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -1
  116. package/build/cjs/integrations/tracing-channel/mysql.js +15 -2
  117. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  118. package/build/cjs/integrations/tracing-channel/mysql2.js +16 -3
  119. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -1
  120. package/build/cjs/integrations/tracing-channel/openai.js +15 -2
  121. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  122. package/build/cjs/integrations/tracing-channel/postgres-js.js +18 -5
  123. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -1
  124. package/build/cjs/integrations/tracing-channel/postgres.js +15 -2
  125. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
  126. package/build/cjs/integrations/tracing-channel/redis.js +18 -5
  127. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  128. package/build/cjs/integrations/tracing-channel/tedious.js +16 -3
  129. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -1
  130. package/build/cjs/integrations/tracing-channel/vercel-ai.js +15 -2
  131. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
  132. package/build/cjs/mongodb/mongodb-span.js.map +1 -1
  133. package/build/cjs/mongoose/index.js +15 -2
  134. package/build/cjs/mongoose/index.js.map +1 -1
  135. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
  136. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -1
  137. package/build/cjs/mysql2/index.js +15 -2
  138. package/build/cjs/mysql2/index.js.map +1 -1
  139. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -1
  140. package/build/cjs/orchestrion/bundler/esbuild.js +2 -6
  141. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  142. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  143. package/build/cjs/orchestrion/bundler/rollup.js +2 -6
  144. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  145. package/build/cjs/orchestrion/bundler/subscribeInjection.js +3 -2
  146. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -1
  147. package/build/cjs/orchestrion/bundler/vite.js +2 -6
  148. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  149. package/build/cjs/orchestrion/bundler/webpack-loader.js +8 -0
  150. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -0
  151. package/build/cjs/orchestrion/bundler/webpack.js +29 -16
  152. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  153. package/build/cjs/orchestrion/channels.js.map +1 -1
  154. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  155. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  156. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  157. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  158. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  159. package/build/cjs/orchestrion/config/express.js.map +1 -1
  160. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  161. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  162. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  163. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  164. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  165. package/build/cjs/orchestrion/config/index.js.map +1 -1
  166. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  167. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  168. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  169. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  170. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  171. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  172. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  173. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  174. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  175. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  176. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  177. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  178. package/build/cjs/orchestrion/config/openai.js +4 -4
  179. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  180. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  181. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  182. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  183. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  184. package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -1
  185. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  186. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  187. package/build/cjs/orchestrion/detect.js.map +1 -1
  188. package/build/cjs/orchestrion/index.js.map +1 -1
  189. package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -1
  190. package/build/cjs/orchestrion/runtime/hook.js +17 -0
  191. package/build/cjs/orchestrion/runtime/hook.js.map +1 -0
  192. package/build/cjs/orchestrion/runtime/register.js +45 -38
  193. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  194. package/build/cjs/prisma/global.js.map +1 -1
  195. package/build/cjs/prisma/index.js.map +1 -1
  196. package/build/cjs/prisma/tracing-helper.js.map +1 -1
  197. package/build/cjs/redis/index.js +15 -2
  198. package/build/cjs/redis/index.js.map +1 -1
  199. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  200. package/build/cjs/redis/redis-statement-serializer.js.map +1 -1
  201. package/build/cjs/tracing-channel.js.map +1 -1
  202. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +8 -0
  203. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  204. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +12 -0
  205. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  206. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +83 -0
  207. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  208. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +314 -0
  209. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  210. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +406 -0
  211. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  212. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +33 -0
  213. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +1 -0
  214. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +66 -0
  215. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +1 -0
  216. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +90 -0
  217. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +1 -0
  218. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +219 -0
  219. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  220. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +98 -0
  221. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  222. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +29 -0
  223. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  224. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1069 -0
  225. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  226. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +14 -0
  227. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  228. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +75 -0
  229. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  230. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +166 -0
  231. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  232. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +88 -0
  233. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  234. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +15 -0
  235. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  236. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +30 -0
  237. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  238. package/build/cjs/vendored/astring/dist/astring.js +1068 -0
  239. package/build/cjs/vendored/astring/dist/astring.js.map +1 -0
  240. package/build/cjs/vendored/debug/src/common.js +178 -0
  241. package/build/cjs/vendored/debug/src/common.js.map +1 -0
  242. package/build/cjs/vendored/debug/src/node.js +186 -0
  243. package/build/cjs/vendored/debug/src/node.js.map +1 -0
  244. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +847 -0
  245. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  246. package/build/cjs/vendored/has-flag/index.js +11 -0
  247. package/build/cjs/vendored/has-flag/index.js.map +1 -0
  248. package/build/cjs/vendored/meriyah/dist/meriyah.js +9192 -0
  249. package/build/cjs/vendored/meriyah/dist/meriyah.js.map +1 -0
  250. package/build/cjs/vendored/meriyah/dist/meriyah2.js +9209 -0
  251. package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +1 -0
  252. package/build/cjs/vendored/module-details-from-path/index.js +44 -0
  253. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -0
  254. package/build/cjs/vendored/ms/index.js +115 -0
  255. package/build/cjs/vendored/ms/index.js.map +1 -0
  256. package/build/cjs/vendored/semifies/index.js +111 -0
  257. package/build/cjs/vendored/semifies/index.js.map +1 -0
  258. package/build/cjs/vendored/source-map/lib/array-set.js +73 -0
  259. package/build/cjs/vendored/source-map/lib/array-set.js.map +1 -0
  260. package/build/cjs/vendored/source-map/lib/base64-vlq.js +57 -0
  261. package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +1 -0
  262. package/build/cjs/vendored/source-map/lib/base64.js +42 -0
  263. package/build/cjs/vendored/source-map/lib/base64.js.map +1 -0
  264. package/build/cjs/vendored/source-map/lib/binary-search.js +55 -0
  265. package/build/cjs/vendored/source-map/lib/binary-search.js.map +1 -0
  266. package/build/cjs/vendored/source-map/lib/mapping-list.js +42 -0
  267. package/build/cjs/vendored/source-map/lib/mapping-list.js.map +1 -0
  268. package/build/cjs/vendored/source-map/lib/quick-sort.js +36 -0
  269. package/build/cjs/vendored/source-map/lib/quick-sort.js.map +1 -0
  270. package/build/cjs/vendored/source-map/lib/source-map-consumer.js +612 -0
  271. package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  272. package/build/cjs/vendored/source-map/lib/source-map-generator.js +285 -0
  273. package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +1 -0
  274. package/build/cjs/vendored/source-map/lib/source-node.js +270 -0
  275. package/build/cjs/vendored/source-map/lib/source-node.js.map +1 -0
  276. package/build/cjs/vendored/source-map/lib/util.js +300 -0
  277. package/build/cjs/vendored/source-map/lib/util.js.map +1 -0
  278. package/build/cjs/vendored/source-map/source-map.js +16 -0
  279. package/build/cjs/vendored/source-map/source-map.js.map +1 -0
  280. package/build/cjs/vendored/supports-color/index.js +104 -0
  281. package/build/cjs/vendored/supports-color/index.js.map +1 -0
  282. package/build/cjs/vercel-ai/index.js +15 -2
  283. package/build/cjs/vercel-ai/index.js.map +1 -1
  284. package/build/cjs/vercel-ai/util.js.map +1 -1
  285. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  286. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  287. package/build/esm/_virtual/_commonjsHelpers.js +6 -0
  288. package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
  289. package/build/esm/_virtual/array-set.js +4 -0
  290. package/build/esm/_virtual/array-set.js.map +1 -0
  291. package/build/esm/_virtual/astring.js +4 -0
  292. package/build/esm/_virtual/astring.js.map +1 -0
  293. package/build/esm/_virtual/base64-vlq.js +4 -0
  294. package/build/esm/_virtual/base64-vlq.js.map +1 -0
  295. package/build/esm/_virtual/base64.js +4 -0
  296. package/build/esm/_virtual/base64.js.map +1 -0
  297. package/build/esm/_virtual/binary-search.js +4 -0
  298. package/build/esm/_virtual/binary-search.js.map +1 -0
  299. package/build/esm/_virtual/chunk-D6vf50IK.js +4 -0
  300. package/build/esm/_virtual/chunk-D6vf50IK.js.map +1 -0
  301. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js +4 -0
  302. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js.map +1 -0
  303. package/build/esm/_virtual/mapping-list.js +4 -0
  304. package/build/esm/_virtual/mapping-list.js.map +1 -0
  305. package/build/esm/_virtual/meriyah.js +4 -0
  306. package/build/esm/_virtual/meriyah.js.map +1 -0
  307. package/build/esm/_virtual/node.js +4 -0
  308. package/build/esm/_virtual/node.js.map +1 -0
  309. package/build/esm/_virtual/quick-sort.js +4 -0
  310. package/build/esm/_virtual/quick-sort.js.map +1 -0
  311. package/build/esm/_virtual/source-map-consumer.js +4 -0
  312. package/build/esm/_virtual/source-map-consumer.js.map +1 -0
  313. package/build/esm/_virtual/source-map-generator.js +4 -0
  314. package/build/esm/_virtual/source-map-generator.js.map +1 -0
  315. package/build/esm/_virtual/source-map.js +4 -0
  316. package/build/esm/_virtual/source-map.js.map +1 -0
  317. package/build/esm/_virtual/source-node.js +4 -0
  318. package/build/esm/_virtual/source-node.js.map +1 -0
  319. package/build/esm/_virtual/transforms.js +4 -0
  320. package/build/esm/_virtual/transforms.js.map +1 -0
  321. package/build/esm/_virtual/util.js +4 -0
  322. package/build/esm/_virtual/util.js.map +1 -0
  323. package/build/esm/debug-build.js.map +1 -1
  324. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  325. package/build/esm/graphql/index.js.map +1 -1
  326. package/build/esm/graphql/utils.js.map +1 -1
  327. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -1
  328. package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -1
  329. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  330. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  331. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  332. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  333. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  334. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  335. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  336. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  337. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  338. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  339. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  340. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  341. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  342. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  343. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  344. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -1
  345. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  346. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -1
  347. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -1
  348. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  349. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  350. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  351. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  352. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -1
  353. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -1
  354. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  355. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -1
  356. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -1
  357. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -1
  358. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -1
  359. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  360. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  361. package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -1
  362. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -1
  363. package/build/esm/integrations/tracing-channel/hapi.js.map +1 -1
  364. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  365. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  366. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  367. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  368. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  369. package/build/esm/integrations/tracing-channel/knex.js.map +1 -1
  370. package/build/esm/integrations/tracing-channel/koa.js.map +1 -1
  371. package/build/esm/integrations/tracing-channel/langchain.js +1 -2
  372. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -1
  373. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -1
  374. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  375. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -1
  376. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -1
  377. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  378. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -1
  379. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  380. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -1
  381. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
  382. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  383. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -1
  384. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
  385. package/build/esm/mongodb/mongodb-span.js.map +1 -1
  386. package/build/esm/mongoose/index.js.map +1 -1
  387. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
  388. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -1
  389. package/build/esm/mysql2/index.js.map +1 -1
  390. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -1
  391. package/build/esm/orchestrion/bundler/esbuild.js +2 -2
  392. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  393. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  394. package/build/esm/orchestrion/bundler/rollup.js +2 -2
  395. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  396. package/build/esm/orchestrion/bundler/subscribeInjection.js +3 -2
  397. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -1
  398. package/build/esm/orchestrion/bundler/vite.js +2 -2
  399. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  400. package/build/esm/orchestrion/bundler/webpack-loader.js +6 -0
  401. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -0
  402. package/build/esm/orchestrion/bundler/webpack.js +25 -8
  403. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  404. package/build/esm/orchestrion/channels.js.map +1 -1
  405. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  406. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  407. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  408. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  409. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  410. package/build/esm/orchestrion/config/express.js.map +1 -1
  411. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  412. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  413. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  414. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  415. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  416. package/build/esm/orchestrion/config/index.js.map +1 -1
  417. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  418. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  419. package/build/esm/orchestrion/config/knex.js.map +1 -1
  420. package/build/esm/orchestrion/config/koa.js.map +1 -1
  421. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  422. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  423. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  424. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  425. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  426. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  427. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  428. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  429. package/build/esm/orchestrion/config/openai.js +4 -4
  430. package/build/esm/orchestrion/config/openai.js.map +1 -1
  431. package/build/esm/orchestrion/config/pg.js.map +1 -1
  432. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  433. package/build/esm/orchestrion/config/redis.js.map +1 -1
  434. package/build/esm/orchestrion/config/remix.js.map +1 -1
  435. package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -1
  436. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  437. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  438. package/build/esm/orchestrion/detect.js.map +1 -1
  439. package/build/esm/orchestrion/index.js.map +1 -1
  440. package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -1
  441. package/build/esm/orchestrion/runtime/hook.js +8 -0
  442. package/build/esm/orchestrion/runtime/hook.js.map +1 -0
  443. package/build/esm/orchestrion/runtime/register.js +33 -40
  444. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  445. package/build/esm/package.json +1 -1
  446. package/build/esm/prisma/global.js.map +1 -1
  447. package/build/esm/prisma/index.js.map +1 -1
  448. package/build/esm/prisma/tracing-helper.js.map +1 -1
  449. package/build/esm/redis/index.js.map +1 -1
  450. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  451. package/build/esm/redis/redis-statement-serializer.js.map +1 -1
  452. package/build/esm/tracing-channel.js.map +1 -1
  453. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +6 -0
  454. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  455. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +10 -0
  456. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  457. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +81 -0
  458. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  459. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +312 -0
  460. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  461. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +404 -0
  462. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  463. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +33 -0
  464. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +1 -0
  465. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +66 -0
  466. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +1 -0
  467. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +88 -0
  468. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +1 -0
  469. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +213 -0
  470. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  471. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +96 -0
  472. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  473. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +27 -0
  474. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  475. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1067 -0
  476. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  477. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +12 -0
  478. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  479. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +72 -0
  480. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  481. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +157 -0
  482. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  483. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +86 -0
  484. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  485. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +13 -0
  486. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  487. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +27 -0
  488. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  489. package/build/esm/vendored/astring/dist/astring.js +1066 -0
  490. package/build/esm/vendored/astring/dist/astring.js.map +1 -0
  491. package/build/esm/vendored/debug/src/common.js +176 -0
  492. package/build/esm/vendored/debug/src/common.js.map +1 -0
  493. package/build/esm/vendored/debug/src/node.js +183 -0
  494. package/build/esm/vendored/debug/src/node.js.map +1 -0
  495. package/build/esm/vendored/esquery/dist/esquery.esm.min.js +845 -0
  496. package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  497. package/build/esm/vendored/has-flag/index.js +9 -0
  498. package/build/esm/vendored/has-flag/index.js.map +1 -0
  499. package/build/esm/vendored/meriyah/dist/meriyah.js +9190 -0
  500. package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -0
  501. package/build/esm/vendored/meriyah/dist/meriyah2.js +9207 -0
  502. package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -0
  503. package/build/esm/vendored/module-details-from-path/index.js +41 -0
  504. package/build/esm/vendored/module-details-from-path/index.js.map +1 -0
  505. package/build/esm/vendored/ms/index.js +113 -0
  506. package/build/esm/vendored/ms/index.js.map +1 -0
  507. package/build/esm/vendored/semifies/index.js +109 -0
  508. package/build/esm/vendored/semifies/index.js.map +1 -0
  509. package/build/esm/vendored/source-map/lib/array-set.js +71 -0
  510. package/build/esm/vendored/source-map/lib/array-set.js.map +1 -0
  511. package/build/esm/vendored/source-map/lib/base64-vlq.js +55 -0
  512. package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -0
  513. package/build/esm/vendored/source-map/lib/base64.js +40 -0
  514. package/build/esm/vendored/source-map/lib/base64.js.map +1 -0
  515. package/build/esm/vendored/source-map/lib/binary-search.js +55 -0
  516. package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -0
  517. package/build/esm/vendored/source-map/lib/mapping-list.js +40 -0
  518. package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -0
  519. package/build/esm/vendored/source-map/lib/quick-sort.js +34 -0
  520. package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -0
  521. package/build/esm/vendored/source-map/lib/source-map-consumer.js +610 -0
  522. package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  523. package/build/esm/vendored/source-map/lib/source-map-generator.js +283 -0
  524. package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -0
  525. package/build/esm/vendored/source-map/lib/source-node.js +268 -0
  526. package/build/esm/vendored/source-map/lib/source-node.js.map +1 -0
  527. package/build/esm/vendored/source-map/lib/util.js +300 -0
  528. package/build/esm/vendored/source-map/lib/util.js.map +1 -0
  529. package/build/esm/vendored/source-map/source-map.js +14 -0
  530. package/build/esm/vendored/source-map/source-map.js.map +1 -0
  531. package/build/esm/vendored/supports-color/index.js +102 -0
  532. package/build/esm/vendored/supports-color/index.js.map +1 -0
  533. package/build/esm/vercel-ai/index.js.map +1 -1
  534. package/build/esm/vercel-ai/util.js.map +1 -1
  535. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  536. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  537. package/build/types/orchestrion/apmTypes.d.ts +169 -0
  538. package/build/types/orchestrion/apmTypes.d.ts.map +1 -0
  539. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -2
  540. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  541. package/build/types/orchestrion/bundler/options.d.ts +1 -1
  542. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  543. package/build/types/orchestrion/bundler/rollup.d.ts +2 -2
  544. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  545. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -1
  546. package/build/types/orchestrion/bundler/vite.d.ts +2 -2
  547. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  548. package/build/types/orchestrion/bundler/webpack-loader.d.ts +3 -0
  549. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -0
  550. package/build/types/orchestrion/bundler/webpack.d.ts +21 -10
  551. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  552. package/build/types/orchestrion/config/aws-sdk.d.ts +1 -1
  553. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  554. package/build/types/orchestrion/config/koa.d.ts +1 -1
  555. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  556. package/build/types/orchestrion/config/langgraph.d.ts +2 -2
  557. package/build/types/orchestrion/config/subscribe-injection.d.ts +1 -1
  558. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -1
  559. package/build/types/orchestrion/index.d.ts +1 -1
  560. package/build/types/orchestrion/index.d.ts.map +1 -1
  561. package/build/types/orchestrion/runtime/register.d.ts +3 -7
  562. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  563. package/build/types-ts3.8/orchestrion/apmTypes.d.ts +169 -0
  564. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -2
  565. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +1 -1
  566. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +2 -2
  567. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +2 -2
  568. package/build/types-ts3.8/orchestrion/bundler/webpack-loader.d.ts +3 -0
  569. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +21 -10
  570. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +1 -1
  571. package/build/types-ts3.8/orchestrion/config/koa.d.ts +1 -1
  572. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -2
  573. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +1 -1
  574. package/build/types-ts3.8/orchestrion/index.d.ts +1 -1
  575. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +3 -7
  576. package/changes.json +3 -11
  577. package/package.json +17 -18
@@ -0,0 +1,847 @@
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+
3
+ function e(e2, t2) {
4
+ (null == t2 || t2 > e2.length) && (t2 = e2.length);
5
+ for (var r2 = 0, n2 = Array(t2); r2 < t2; r2++) n2[r2] = e2[r2];
6
+ return n2;
7
+ }
8
+ function t(e2, t2) {
9
+ return (function(e3) {
10
+ if (Array.isArray(e3)) return e3;
11
+ })(e2) || (function(e3, t3) {
12
+ var r2 = null == e3 ? null : "undefined" != typeof Symbol && e3[Symbol.iterator] || e3["@@iterator"];
13
+ if (null != r2) {
14
+ var n2, o2, a2, i2, s2 = [], u2 = true, l2 = false;
15
+ try {
16
+ 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) ;
17
+ } catch (e4) {
18
+ l2 = true, o2 = e4;
19
+ } finally {
20
+ try {
21
+ if (!u2 && null != r2.return && (i2 = r2.return(), Object(i2) !== i2)) return;
22
+ } finally {
23
+ if (l2) throw o2;
24
+ }
25
+ }
26
+ return s2;
27
+ }
28
+ })(e2, t2) || o(e2, t2) || (function() {
29
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
30
+ })();
31
+ }
32
+ function r(t2) {
33
+ return (function(t3) {
34
+ if (Array.isArray(t3)) return e(t3);
35
+ })(t2) || (function(e2) {
36
+ if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
37
+ })(t2) || o(t2) || (function() {
38
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
39
+ })();
40
+ }
41
+ function n(e2) {
42
+ return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
43
+ return typeof e3;
44
+ } : function(e3) {
45
+ return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
46
+ })(e2);
47
+ }
48
+ function o(t2, r2) {
49
+ if (t2) {
50
+ if ("string" == typeof t2) return e(t2, r2);
51
+ var n2 = {}.toString.call(t2).slice(8, -1);
52
+ 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;
53
+ }
54
+ }
55
+ function a(e2, t2) {
56
+ return e2(t2 = { exports: {} }, t2.exports), t2.exports;
57
+ }
58
+ var i = a((function(e2, t2) {
59
+ !(function e3(t3) {
60
+ var r2, n2, o2, a2, i2, s2;
61
+ function u2(e4) {
62
+ var t4, r3, n3 = {};
63
+ for (t4 in e4) e4.hasOwnProperty(t4) && (r3 = e4[t4], n3[t4] = "object" == typeof r3 && null !== r3 ? u2(r3) : r3);
64
+ return n3;
65
+ }
66
+ function l2(e4, t4) {
67
+ this.parent = e4, this.key = t4;
68
+ }
69
+ function c2(e4, t4, r3, n3) {
70
+ this.node = e4, this.path = t4, this.wrap = r3, this.ref = n3;
71
+ }
72
+ function f2() {
73
+ }
74
+ function p2(e4) {
75
+ return null != e4 && ("object" == typeof e4 && "string" == typeof e4.type);
76
+ }
77
+ function h2(e4, t4) {
78
+ return (e4 === r2.ObjectExpression || e4 === r2.ObjectPattern) && "properties" === t4;
79
+ }
80
+ function y2(e4, t4) {
81
+ for (var r3 = e4.length - 1; r3 >= 0; --r3) if (e4[r3].node === t4) return true;
82
+ return false;
83
+ }
84
+ function d2(e4, t4) {
85
+ return new f2().traverse(e4, t4);
86
+ }
87
+ function m2(e4, t4) {
88
+ var r3;
89
+ return r3 = (function(e5, t5) {
90
+ var r4, n3, o3, a3;
91
+ for (n3 = e5.length, o3 = 0; n3; ) t5(e5[a3 = o3 + (r4 = n3 >>> 1)]) ? n3 = r4 : (o3 = a3 + 1, n3 -= r4 + 1);
92
+ return o3;
93
+ })(t4, (function(t5) {
94
+ return t5.range[0] > e4.range[0];
95
+ })), 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;
96
+ }
97
+ 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) {
98
+ this.parent[this.key] = e4;
99
+ }, l2.prototype.remove = function() {
100
+ return Array.isArray(this.parent) ? (this.parent.splice(this.key, 1), true) : (this.replace(null), false);
101
+ }, f2.prototype.path = function() {
102
+ var e4, t4, r3, n3, o3;
103
+ function a3(e5, t5) {
104
+ if (Array.isArray(t5)) for (r3 = 0, n3 = t5.length; r3 < n3; ++r3) e5.push(t5[r3]);
105
+ else e5.push(t5);
106
+ }
107
+ if (!this.__current.path) return null;
108
+ for (o3 = [], e4 = 2, t4 = this.__leavelist.length; e4 < t4; ++e4) a3(o3, this.__leavelist[e4].path);
109
+ return a3(o3, this.__current.path), o3;
110
+ }, f2.prototype.type = function() {
111
+ return this.current().type || this.__current.wrap;
112
+ }, f2.prototype.parents = function() {
113
+ var e4, t4, r3;
114
+ for (r3 = [], e4 = 1, t4 = this.__leavelist.length; e4 < t4; ++e4) r3.push(this.__leavelist[e4].node);
115
+ return r3;
116
+ }, f2.prototype.current = function() {
117
+ return this.__current.node;
118
+ }, f2.prototype.__execute = function(e4, t4) {
119
+ var r3, n3;
120
+ 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;
121
+ }, f2.prototype.notify = function(e4) {
122
+ this.__state = e4;
123
+ }, f2.prototype.skip = function() {
124
+ this.notify(i2);
125
+ }, f2.prototype.break = function() {
126
+ this.notify(a2);
127
+ }, f2.prototype.remove = function() {
128
+ this.notify(s2);
129
+ }, f2.prototype.__initialize = function(e4, t4) {
130
+ 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));
131
+ }, f2.prototype.traverse = function(e4, t4) {
132
+ var r3, n3, o3, s3, u3, l3, f3, d3, m3, x2, v2, g2;
133
+ 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) {
134
+ if (o3.node) {
135
+ if (l3 = this.__execute(t4.enter, o3), this.__state === a2 || l3 === a2) return;
136
+ if (r3.push(g2), n3.push(o3), this.__state === i2 || l3 === i2) continue;
137
+ if (u3 = (s3 = o3.node).type || o3.wrap, !(x2 = this.__keys[u3])) {
138
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
139
+ x2 = this.__fallback(s3);
140
+ }
141
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = s3[f3 = x2[d3]]) {
142
+ if (Array.isArray(v2)) {
143
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3] && !y2(n3, v2[m3])) {
144
+ if (h2(u3, x2[d3])) o3 = new c2(v2[m3], [f3, m3], "Property", null);
145
+ else {
146
+ if (!p2(v2[m3])) continue;
147
+ o3 = new c2(v2[m3], [f3, m3], null, null);
148
+ }
149
+ r3.push(o3);
150
+ }
151
+ } else if (p2(v2)) {
152
+ if (y2(n3, v2)) continue;
153
+ r3.push(new c2(v2, f3, null, null));
154
+ }
155
+ }
156
+ }
157
+ } else if (o3 = n3.pop(), l3 = this.__execute(t4.leave, o3), this.__state === a2 || l3 === a2) return;
158
+ }, f2.prototype.replace = function(e4, t4) {
159
+ var r3, n3, o3, u3, f3, y3, d3, m3, x2, v2, g2, A2, E;
160
+ function b(e5) {
161
+ var t5, n4, o4, a3;
162
+ if (e5.ref.remove()) {
163
+ for (n4 = e5.ref.key, a3 = e5.ref.parent, t5 = r3.length; t5--; ) if ((o4 = r3[t5]).ref && o4.ref.parent === a3) {
164
+ if (o4.ref.key < n4) break;
165
+ --o4.ref.key;
166
+ }
167
+ }
168
+ }
169
+ 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) {
170
+ 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;
171
+ if ((o3 = y3.node) && (r3.push(g2), n3.push(y3), this.__state !== i2 && f3 !== i2)) {
172
+ if (u3 = o3.type || y3.wrap, !(x2 = this.__keys[u3])) {
173
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
174
+ x2 = this.__fallback(o3);
175
+ }
176
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = o3[E = x2[d3]]) if (Array.isArray(v2)) {
177
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3]) {
178
+ if (h2(u3, x2[d3])) y3 = new c2(v2[m3], [E, m3], "Property", new l2(v2, m3));
179
+ else {
180
+ if (!p2(v2[m3])) continue;
181
+ y3 = new c2(v2[m3], [E, m3], null, new l2(v2, m3));
182
+ }
183
+ r3.push(y3);
184
+ }
185
+ } else p2(v2) && r3.push(new c2(v2, E, null, new l2(o3, E)));
186
+ }
187
+ } 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;
188
+ return A2.root;
189
+ }, t3.Syntax = r2, t3.traverse = d2, t3.replace = function(e4, t4) {
190
+ return new f2().replace(e4, t4);
191
+ }, t3.attachComments = function(e4, t4, r3) {
192
+ var o3, a3, i3, s3, l3 = [];
193
+ if (!e4.range) throw new Error("attachComments needs range information");
194
+ if (!r3.length) {
195
+ if (t4.length) {
196
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) (o3 = u2(t4[i3])).extendedRange = [0, e4.range[0]], l3.push(o3);
197
+ e4.leadingComments = l3;
198
+ }
199
+ return e4;
200
+ }
201
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) l3.push(m2(u2(t4[i3]), r3));
202
+ return s3 = 0, d2(e4, { enter: function(e5) {
203
+ 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;
204
+ return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
205
+ } }), s3 = 0, d2(e4, { leave: function(e5) {
206
+ 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;
207
+ return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
208
+ } }), e4;
209
+ }, t3.VisitorKeys = o2, t3.VisitorOption = n2, t3.Controller = f2, t3.cloneEnvironment = function() {
210
+ return e3({});
211
+ }, t3;
212
+ })(t2);
213
+ })), s = a((function(e2) {
214
+ e2.exports && (e2.exports = (function() {
215
+ function e3(t2, r2, n2, o2) {
216
+ this.message = t2, this.expected = r2, this.found = n2, this.location = o2, this.name = "SyntaxError", "function" == typeof Error.captureStackTrace && Error.captureStackTrace(this, e3);
217
+ }
218
+ return (function(e4, t2) {
219
+ function r2() {
220
+ this.constructor = e4;
221
+ }
222
+ r2.prototype = t2.prototype, e4.prototype = new r2();
223
+ })(e3, Error), e3.buildMessage = function(e4, t2) {
224
+ var r2 = { literal: function(e5) {
225
+ return '"' + o2(e5.text) + '"';
226
+ }, class: function(e5) {
227
+ var t3, r3 = "";
228
+ 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]);
229
+ return "[" + (e5.inverted ? "^" : "") + r3 + "]";
230
+ }, any: function(e5) {
231
+ return "any character";
232
+ }, end: function(e5) {
233
+ return "end of input";
234
+ }, other: function(e5) {
235
+ return e5.description;
236
+ } };
237
+ function n2(e5) {
238
+ return e5.charCodeAt(0).toString(16).toUpperCase();
239
+ }
240
+ function o2(e5) {
241
+ 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) {
242
+ return "\\x0" + n2(e6);
243
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
244
+ return "\\x" + n2(e6);
245
+ }));
246
+ }
247
+ function a2(e5) {
248
+ 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) {
249
+ return "\\x0" + n2(e6);
250
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
251
+ return "\\x" + n2(e6);
252
+ }));
253
+ }
254
+ return "Expected " + (function(e5) {
255
+ var t3, n3, o3, a3 = new Array(e5.length);
256
+ for (t3 = 0; t3 < e5.length; t3++) a3[t3] = (o3 = e5[t3], r2[o3.type](o3));
257
+ if (a3.sort(), a3.length > 0) {
258
+ for (t3 = 1, n3 = 1; t3 < a3.length; t3++) a3[t3 - 1] !== a3[t3] && (a3[n3] = a3[t3], n3++);
259
+ a3.length = n3;
260
+ }
261
+ switch (a3.length) {
262
+ case 1:
263
+ return a3[0];
264
+ case 2:
265
+ return a3[0] + " or " + a3[1];
266
+ default:
267
+ return a3.slice(0, -1).join(", ") + ", or " + a3[a3.length - 1];
268
+ }
269
+ })(e4) + " but " + (function(e5) {
270
+ return e5 ? '"' + o2(e5) + '"' : "end of input";
271
+ })(t2) + " found.";
272
+ }, { SyntaxError: e3, parse: function(t2, r2) {
273
+ r2 = void 0 !== r2 ? r2 : {};
274
+ 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) {
275
+ return [e4].concat(t3.map((function(e5) {
276
+ return e5[3];
277
+ })));
278
+ }, 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) {
279
+ return (e4 || "") + "=";
280
+ }, w = /^[><]/, k = me([">", "<"], false, false), D = de(".", false), I = function(e4, t3, r3) {
281
+ return { type: "attribute", name: e4, operator: t3, value: r3 };
282
+ }, j = de('"', false), T = /^[^\\"]/, F = me(["\\", '"'], true, false), R = de("\\", false), O = { type: "any" }, L = function(e4, t3) {
283
+ return e4 + t3;
284
+ }, M = function(e4) {
285
+ return { type: "literal", value: (t3 = e4.join(""), t3.replace(/\\(.)/g, (function(e5, t4) {
286
+ switch (t4) {
287
+ case "b":
288
+ return "\b";
289
+ case "f":
290
+ return "\f";
291
+ case "n":
292
+ return "\n";
293
+ case "r":
294
+ return "\r";
295
+ case "t":
296
+ return " ";
297
+ case "v":
298
+ return "\v";
299
+ default:
300
+ return t4;
301
+ }
302
+ }))) };
303
+ var t3;
304
+ }, 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) {
305
+ return { type: "matches", selectors: e4 };
306
+ }, 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 = {};
307
+ if ("startRule" in r2) {
308
+ if (!(r2.startRule in u2)) throw new Error(`Can't start parsing from rule "` + r2.startRule + '".');
309
+ l2 = u2[r2.startRule];
310
+ }
311
+ function de(e4, t3) {
312
+ return { type: "literal", text: e4, ignoreCase: t3 };
313
+ }
314
+ function me(e4, t3, r3) {
315
+ return { type: "class", parts: e4, inverted: t3, ignoreCase: r3 };
316
+ }
317
+ function xe(e4) {
318
+ var r3, n3 = fe[e4];
319
+ if (n3) return n3;
320
+ for (r3 = e4 - 1; !fe[r3]; ) r3--;
321
+ for (n3 = { line: (n3 = fe[r3]).line, column: n3.column }; r3 < e4; ) 10 === t2.charCodeAt(r3) ? (n3.line++, n3.column = 1) : n3.column++, r3++;
322
+ return fe[e4] = n3, n3;
323
+ }
324
+ function ve(e4, t3) {
325
+ var r3 = xe(e4), n3 = xe(t3);
326
+ return { start: { offset: e4, line: r3.line, column: r3.column }, end: { offset: t3, line: n3.line, column: n3.column } };
327
+ }
328
+ function ge(e4) {
329
+ ce < pe || (ce > pe && (pe = ce, he = []), he.push(e4));
330
+ }
331
+ function Ae() {
332
+ var e4, t3, r3, n3, o3 = 36 * ce + 0, a3 = ye[o3];
333
+ 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);
334
+ }
335
+ function Ee() {
336
+ var e4, r3, n3 = 36 * ce + 1, o3 = ye[n3];
337
+ if (o3) return ce = o3.nextPos, o3.result;
338
+ 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));
339
+ return ye[n3] = { nextPos: ce, result: e4 }, e4;
340
+ }
341
+ function be() {
342
+ var e4, r3, n3, o3 = 36 * ce + 2, a3 = ye[o3];
343
+ if (a3) return ce = a3.nextPos, a3.result;
344
+ 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));
345
+ else r3 = s2;
346
+ return r3 !== s2 && (r3 = r3.join("")), e4 = r3, ye[o3] = { nextPos: ce, result: e4 }, e4;
347
+ }
348
+ function Se() {
349
+ var e4, r3, n3, o3 = 36 * ce + 3, a3 = ye[o3];
350
+ 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);
351
+ }
352
+ function _e() {
353
+ var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 36 * ce + 5, f3 = ye[c3];
354
+ if (f3) return ce = f3.nextPos, f3.result;
355
+ if (e4 = ce, (r3 = Pe()) !== s2) {
356
+ 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);
357
+ n3 !== s2 ? e4 = r3 = x2(r3, n3) : (ce = e4, e4 = s2);
358
+ } else ce = e4, e4 = s2;
359
+ return ye[c3] = { nextPos: ce, result: e4 }, e4;
360
+ }
361
+ function Ce() {
362
+ var e4, t3, r3, n3, o3, a3 = 36 * ce + 6, i3 = ye[a3];
363
+ 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);
364
+ }
365
+ function Pe() {
366
+ var e4, t3, r3, n3, o3, a3, i3, u3 = 36 * ce + 7, l3 = ye[u3];
367
+ if (l3) return ce = l3.nextPos, l3.result;
368
+ if (e4 = ce, (t3 = we()) !== s2) {
369
+ 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);
370
+ r3 !== s2 ? (i3 = t3, e4 = t3 = r3.reduce((function(e5, t4) {
371
+ return { type: t4[0], left: e5, right: t4[1] };
372
+ }), i3)) : (ce = e4, e4 = s2);
373
+ } else ce = e4, e4 = s2;
374
+ return ye[u3] = { nextPos: ce, result: e4 }, e4;
375
+ }
376
+ function we() {
377
+ var e4, r3, n3, o3, a3, i3, u3, l3 = 36 * ce + 8, c3 = ye[l3];
378
+ if (c3) return ce = c3.nextPos, c3.result;
379
+ if (e4 = ce, 33 === t2.charCodeAt(ce) ? (r3 = "!", ce++) : (r3 = s2, ge(v2)), r3 === s2 && (r3 = null), r3 !== s2) {
380
+ if (n3 = [], (o3 = ke()) !== s2) for (; o3 !== s2; ) n3.push(o3), o3 = ke();
381
+ else n3 = s2;
382
+ 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);
383
+ } else ce = e4, e4 = s2;
384
+ return ye[l3] = { nextPos: ce, result: e4 }, e4;
385
+ }
386
+ function ke() {
387
+ var e4, r3 = 36 * ce + 9, n3 = ye[r3];
388
+ return n3 ? (ce = n3.nextPos, n3.result) : ((e4 = (function() {
389
+ var e5, r4, n4 = 36 * ce + 10, o3 = ye[n4];
390
+ 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);
391
+ })()) === s2 && (e4 = (function() {
392
+ var e5, r4, n4, o3 = 36 * ce + 11, a3 = ye[o3];
393
+ 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);
394
+ })()) === s2 && (e4 = (function() {
395
+ var e5, r4, n4, o3, a3 = 36 * ce + 12, i3 = ye[a3];
396
+ 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() {
397
+ var e6, r5, n5, o4, a4 = 36 * ce + 16, i4 = ye[a4];
398
+ return i4 ? (ce = i4.nextPos, i4.result) : (e6 = ce, (r5 = De()) !== s2 && Ee() !== s2 && (n5 = (function() {
399
+ var e7, r6, n6, o5 = 36 * ce + 14, a5 = ye[o5];
400
+ 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);
401
+ })()) !== s2 && Ee() !== s2 ? ((o4 = (function() {
402
+ var e7, r6, n6, o5, a5, i5 = 36 * ce + 20, u3 = ye[i5];
403
+ if (u3) return ce = u3.nextPos, u3.result;
404
+ if (e7 = ce, "type(" === t2.substr(ce, 5) ? (r6 = "type(", ce += 5) : (r6 = s2, ge(V)), r6 !== s2) if (Ee() !== s2) {
405
+ 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));
406
+ else n6 = s2;
407
+ 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);
408
+ } else ce = e7, e7 = s2;
409
+ else ce = e7, e7 = s2;
410
+ return ye[i5] = { nextPos: ce, result: e7 }, e7;
411
+ })()) === s2 && (o4 = (function() {
412
+ var e7, r6, n6, o5, a5, i5, u3 = 36 * ce + 22, l3 = ye[u3];
413
+ if (l3) return ce = l3.nextPos, l3.result;
414
+ if (e7 = ce, 47 === t2.charCodeAt(ce) ? (r6 = "/", ce++) : (r6 = s2, ge($)), r6 !== s2) {
415
+ 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());
416
+ else n6 = s2;
417
+ n6 !== s2 ? (47 === t2.charCodeAt(ce) ? (o5 = "/", ce++) : (o5 = s2, ge($)), o5 !== s2 ? ((a5 = (function() {
418
+ var e8, r7, n7 = 36 * ce + 21, o6 = ye[n7];
419
+ if (o6) return ce = o6.nextPos, o6.result;
420
+ 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));
421
+ else e8 = s2;
422
+ return ye[n7] = { nextPos: ce, result: e8 }, e8;
423
+ })()) === 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);
424
+ } else ce = e7, e7 = s2;
425
+ return ye[u3] = { nextPos: ce, result: e7 }, e7;
426
+ })()), 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() {
427
+ var e7, r6, n6, o5 = 36 * ce + 13, a5 = ye[o5];
428
+ 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);
429
+ })()) !== s2 && Ee() !== s2 ? ((o4 = (function() {
430
+ var e7, r6, n6, o5, a5, i5, u3 = 36 * ce + 17, l3 = ye[u3];
431
+ if (l3) return ce = l3.nextPos, l3.result;
432
+ if (e7 = ce, 34 === t2.charCodeAt(ce) ? (r6 = '"', ce++) : (r6 = s2, ge(j)), r6 !== s2) {
433
+ 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));
434
+ 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);
435
+ } else ce = e7, e7 = s2;
436
+ if (e7 === s2) if (e7 = ce, 39 === t2.charCodeAt(ce) ? (r6 = "'", ce++) : (r6 = s2, ge(B)), r6 !== s2) {
437
+ 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));
438
+ 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);
439
+ } else ce = e7, e7 = s2;
440
+ return ye[u3] = { nextPos: ce, result: e7 }, e7;
441
+ })()) === s2 && (o4 = (function() {
442
+ var e7, r6, n6, o5, a5, i5, u3, l3 = 36 * ce + 18, c3 = ye[l3];
443
+ if (c3) return ce = c3.nextPos, c3.result;
444
+ 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));
445
+ 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) {
446
+ 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));
447
+ else n6 = s2;
448
+ 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);
449
+ } else ce = e7, e7 = s2;
450
+ return ye[l3] = { nextPos: ce, result: e7 }, e7;
451
+ })()) === s2 && (o4 = (function() {
452
+ var e7, t3, r6 = 36 * ce + 19, n6 = ye[r6];
453
+ return n6 ? (ce = n6.nextPos, n6.result) : ((t3 = be()) !== s2 && (t3 = { type: "literal", value: t3 }), e7 = t3, ye[r6] = { nextPos: ce, result: e7 }, e7);
454
+ })()), 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);
455
+ })()) !== 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);
456
+ })()) === s2 && (e4 = (function() {
457
+ var e5, r4, n4, o3, a3, i3, u3, l3, c3 = 36 * ce + 26, f3 = ye[c3];
458
+ if (f3) return ce = f3.nextPos, f3.result;
459
+ if (e5 = ce, 46 === t2.charCodeAt(ce) ? (r4 = ".", ce++) : (r4 = s2, ge(D)), r4 !== s2) if ((n4 = be()) !== s2) {
460
+ 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);
461
+ o3 !== s2 ? (l3 = n4, r4 = { type: "field", name: o3.reduce((function(e6, t3) {
462
+ return e6 + t3[0] + t3[1];
463
+ }), l3) }, e5 = r4) : (ce = e5, e5 = s2);
464
+ } else ce = e5, e5 = s2;
465
+ else ce = e5, e5 = s2;
466
+ return ye[c3] = { nextPos: ce, result: e5 }, e5;
467
+ })()) === s2 && (e4 = (function() {
468
+ var e5, r4, n4, o3, a3 = 36 * ce + 27, i3 = ye[a3];
469
+ 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);
470
+ })()) === s2 && (e4 = (function() {
471
+ var e5, r4, n4, o3, a3 = 36 * ce + 28, i3 = ye[a3];
472
+ 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);
473
+ })()) === s2 && (e4 = (function() {
474
+ var e5, r4, n4, o3, a3 = 36 * ce + 29, i3 = ye[a3];
475
+ 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);
476
+ })()) === s2 && (e4 = (function() {
477
+ var e5, r4, n4, o3, a3 = 36 * ce + 30, i3 = ye[a3];
478
+ 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() {
479
+ var e6, r5, n5, o4, a4, i4, u3, l3, c3 = 36 * ce + 4, f3 = ye[c3];
480
+ if (f3) return ce = f3.nextPos, f3.result;
481
+ if (e6 = ce, (r5 = Ce()) !== s2) {
482
+ 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);
483
+ n5 !== s2 ? e6 = r5 = x2(r5, n5) : (ce = e6, e6 = s2);
484
+ } else ce = e6, e6 = s2;
485
+ return ye[c3] = { nextPos: ce, result: e6 }, e6;
486
+ })()) !== 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);
487
+ })()) === s2 && (e4 = (function() {
488
+ var e5, r4, n4 = 36 * ce + 31, o3 = ye[n4];
489
+ 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);
490
+ })()) === s2 && (e4 = (function() {
491
+ var e5, r4, n4 = 36 * ce + 32, o3 = ye[n4];
492
+ 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);
493
+ })()) === s2 && (e4 = (function() {
494
+ var e5, r4, n4, o3, a3, i3 = 36 * ce + 33, u3 = ye[i3];
495
+ if (u3) return ce = u3.nextPos, u3.result;
496
+ if (e5 = ce, ":nth-child(" === t2.substr(ce, 11) ? (r4 = ":nth-child(", ce += 11) : (r4 = s2, ge(se)), r4 !== s2) if (Ee() !== s2) {
497
+ 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));
498
+ else n4 = s2;
499
+ 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);
500
+ } else ce = e5, e5 = s2;
501
+ else ce = e5, e5 = s2;
502
+ return ye[i3] = { nextPos: ce, result: e5 }, e5;
503
+ })()) === s2 && (e4 = (function() {
504
+ var e5, r4, n4, o3, a3, i3 = 36 * ce + 34, u3 = ye[i3];
505
+ if (u3) return ce = u3.nextPos, u3.result;
506
+ 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) {
507
+ 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));
508
+ else n4 = s2;
509
+ 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);
510
+ } else ce = e5, e5 = s2;
511
+ else ce = e5, e5 = s2;
512
+ return ye[i3] = { nextPos: ce, result: e5 }, e5;
513
+ })()) === s2 && (e4 = (function() {
514
+ var e5, r4, n4, o3 = 36 * ce + 35, a3 = ye[o3];
515
+ 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);
516
+ })()), ye[r3] = { nextPos: ce, result: e4 }, e4);
517
+ }
518
+ function De() {
519
+ var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 36 * ce + 15, f3 = ye[c3];
520
+ if (f3) return ce = f3.nextPos, f3.result;
521
+ if (e4 = ce, (r3 = be()) !== s2) {
522
+ 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);
523
+ n3 !== s2 ? (u3 = r3, l3 = n3, e4 = r3 = [].concat.apply([u3], l3).join("")) : (ce = e4, e4 = s2);
524
+ } else ce = e4, e4 = s2;
525
+ return ye[c3] = { nextPos: ce, result: e4 }, e4;
526
+ }
527
+ function Ie() {
528
+ var e4, r3, n3, o3, a3 = 36 * ce + 23, i3 = ye[a3];
529
+ if (i3) return ce = i3.nextPos, i3.result;
530
+ if (e4 = ce, 91 === t2.charCodeAt(ce) ? (r3 = "[", ce++) : (r3 = s2, ge(E)), r3 !== s2) {
531
+ 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());
532
+ else n3 = s2;
533
+ 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);
534
+ } else ce = e4, e4 = s2;
535
+ return ye[a3] = { nextPos: ce, result: e4 }, e4;
536
+ }
537
+ function je() {
538
+ var e4, r3, n3, o3 = 36 * ce + 24, a3 = ye[o3];
539
+ 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);
540
+ }
541
+ function Te() {
542
+ var e4, r3, n3, o3 = 36 * ce + 25, a3 = ye[o3];
543
+ if (a3) return ce = a3.nextPos, a3.result;
544
+ 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));
545
+ else r3 = s2;
546
+ return r3 !== s2 && (r3 = r3.join("")), e4 = r3, ye[o3] = { nextPos: ce, result: e4 }, e4;
547
+ }
548
+ function Fe(e4) {
549
+ return { type: "nth-child", index: { type: "literal", value: e4 } };
550
+ }
551
+ function Re(e4) {
552
+ return { type: "nth-last-child", index: { type: "literal", value: e4 } };
553
+ }
554
+ if ((n2 = l2()) !== s2 && ce === t2.length) return n2;
555
+ 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);
556
+ } };
557
+ })());
558
+ }));
559
+ function u(e2, t2) {
560
+ for (var r2 = 0; r2 < t2.length; ++r2) {
561
+ if (null == e2) return e2;
562
+ e2 = e2[t2[r2]];
563
+ }
564
+ return e2;
565
+ }
566
+ var l = "function" == typeof WeakMap ? /* @__PURE__ */ new WeakMap() : null;
567
+ function c(e2) {
568
+ if (null == e2) return function() {
569
+ return true;
570
+ };
571
+ if (null != l) {
572
+ var t2 = l.get(e2);
573
+ return null != t2 || (t2 = f(e2), l.set(e2, t2)), t2;
574
+ }
575
+ return f(e2);
576
+ }
577
+ function f(e2) {
578
+ switch (e2.type) {
579
+ case "wildcard":
580
+ return function() {
581
+ return true;
582
+ };
583
+ case "identifier":
584
+ var t2 = e2.value.toLowerCase();
585
+ return function(e3, r3, n2) {
586
+ var o3 = n2 && n2.nodeTypeKey || "type";
587
+ return t2 === e3[o3].toLowerCase();
588
+ };
589
+ case "exactNode":
590
+ return function(e3, t3) {
591
+ return 0 === t3.length;
592
+ };
593
+ case "field":
594
+ var r2 = e2.name.split(".");
595
+ return function(e3, t3) {
596
+ return (function e4(t4, r3, n2, o3) {
597
+ for (var a3 = r3, i2 = o3; i2 < n2.length; ++i2) {
598
+ if (null == a3) return false;
599
+ var s3 = a3[n2[i2]];
600
+ if (Array.isArray(s3)) {
601
+ for (var u2 = 0; u2 < s3.length; ++u2) if (e4(t4, s3[u2], n2, i2 + 1)) return true;
602
+ return false;
603
+ }
604
+ a3 = s3;
605
+ }
606
+ return t4 === a3;
607
+ })(e3, t3[r2.length - 1], r2, 0);
608
+ };
609
+ case "matches":
610
+ var o2 = e2.selectors.map(c);
611
+ return function(e3, t3, r3) {
612
+ for (var n2 = 0; n2 < o2.length; ++n2) if (o2[n2](e3, t3, r3)) return true;
613
+ return false;
614
+ };
615
+ case "compound":
616
+ var a2 = e2.selectors.map(c);
617
+ return function(e3, t3, r3) {
618
+ for (var n2 = 0; n2 < a2.length; ++n2) if (!a2[n2](e3, t3, r3)) return false;
619
+ return true;
620
+ };
621
+ case "not":
622
+ var s2 = e2.selectors.map(c);
623
+ return function(e3, t3, r3) {
624
+ for (var n2 = 0; n2 < s2.length; ++n2) if (s2[n2](e3, t3, r3)) return false;
625
+ return true;
626
+ };
627
+ case "has":
628
+ var l2 = e2.selectors.map(c);
629
+ return function(e3, t3, r3) {
630
+ var n2 = false, o3 = [];
631
+ return i.traverse(e3, { enter: function(e4, t4) {
632
+ null != t4 && o3.unshift(t4);
633
+ for (var a3 = 0; a3 < l2.length; ++a3) if (l2[a3](e4, o3, r3)) return n2 = true, void this.break();
634
+ }, leave: function() {
635
+ o3.shift();
636
+ }, keys: r3 && r3.visitorKeys, fallback: r3 && r3.fallback || "iteration" }), n2;
637
+ };
638
+ case "child":
639
+ var f2 = c(e2.left), p2 = c(e2.right);
640
+ return function(e3, t3, r3) {
641
+ return !!(t3.length > 0 && p2(e3, t3, r3)) && f2(t3[0], t3.slice(1), r3);
642
+ };
643
+ case "descendant":
644
+ var h2 = c(e2.left), x2 = c(e2.right);
645
+ return function(e3, t3, r3) {
646
+ if (x2(e3, t3, r3)) {
647
+ for (var n2 = 0, o3 = t3.length; n2 < o3; ++n2) if (h2(t3[n2], t3.slice(n2 + 1), r3)) return true;
648
+ }
649
+ return false;
650
+ };
651
+ case "attribute":
652
+ var v2 = e2.name.split(".");
653
+ switch (e2.operator) {
654
+ case void 0:
655
+ return function(e3) {
656
+ return null != u(e3, v2);
657
+ };
658
+ case "=":
659
+ switch (e2.value.type) {
660
+ case "regexp":
661
+ return function(t3) {
662
+ var r3 = u(t3, v2);
663
+ return "string" == typeof r3 && e2.value.value.test(r3);
664
+ };
665
+ case "literal":
666
+ var g2 = "".concat(e2.value.value);
667
+ return function(e3) {
668
+ return g2 === "".concat(u(e3, v2));
669
+ };
670
+ case "type":
671
+ return function(t3) {
672
+ return e2.value.value === n(u(t3, v2));
673
+ };
674
+ }
675
+ throw new Error("Unknown selector value type: ".concat(e2.value.type));
676
+ case "!=":
677
+ switch (e2.value.type) {
678
+ case "regexp":
679
+ return function(t3) {
680
+ return !e2.value.value.test(u(t3, v2));
681
+ };
682
+ case "literal":
683
+ var A2 = "".concat(e2.value.value);
684
+ return function(e3) {
685
+ return A2 !== "".concat(u(e3, v2));
686
+ };
687
+ case "type":
688
+ return function(t3) {
689
+ return e2.value.value !== n(u(t3, v2));
690
+ };
691
+ }
692
+ throw new Error("Unknown selector value type: ".concat(e2.value.type));
693
+ case "<=":
694
+ return function(t3) {
695
+ return u(t3, v2) <= e2.value.value;
696
+ };
697
+ case "<":
698
+ return function(t3) {
699
+ return u(t3, v2) < e2.value.value;
700
+ };
701
+ case ">":
702
+ return function(t3) {
703
+ return u(t3, v2) > e2.value.value;
704
+ };
705
+ case ">=":
706
+ return function(t3) {
707
+ return u(t3, v2) >= e2.value.value;
708
+ };
709
+ }
710
+ throw new Error("Unknown operator: ".concat(e2.operator));
711
+ case "sibling":
712
+ var E = c(e2.left), b = c(e2.right);
713
+ return function(t3, r3, n2) {
714
+ 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);
715
+ };
716
+ case "adjacent":
717
+ var S = c(e2.left), _ = c(e2.right);
718
+ return function(t3, r3, n2) {
719
+ return _(t3, r3, n2) && d(t3, S, r3, "LEFT_SIDE", n2) || e2.right.subject && S(t3, r3, n2) && d(t3, _, r3, "RIGHT_SIDE", n2);
720
+ };
721
+ case "nth-child":
722
+ var C = e2.index.value, P = c(e2.right);
723
+ return function(e3, t3, r3) {
724
+ return P(e3, t3, r3) && m(e3, t3, C, r3);
725
+ };
726
+ case "nth-last-child":
727
+ var w = -e2.index.value, k = c(e2.right);
728
+ return function(e3, t3, r3) {
729
+ return k(e3, t3, r3) && m(e3, t3, w, r3);
730
+ };
731
+ case "class":
732
+ var D = e2.name.toLowerCase();
733
+ return function(t3, r3, n2) {
734
+ if (n2 && n2.matchClass) return n2.matchClass(e2.name, t3, r3);
735
+ if (n2 && n2.nodeTypeKey) return false;
736
+ switch (D) {
737
+ case "statement":
738
+ if ("Statement" === t3.type.slice(-9)) return true;
739
+ case "declaration":
740
+ return "Declaration" === t3.type.slice(-11);
741
+ case "pattern":
742
+ if ("Pattern" === t3.type.slice(-7)) return true;
743
+ case "expression":
744
+ return "Expression" === t3.type.slice(-10) || "Literal" === t3.type.slice(-7) || "Identifier" === t3.type && (0 === r3.length || "MetaProperty" !== r3[0].type) || "MetaProperty" === t3.type;
745
+ case "function":
746
+ return "FunctionDeclaration" === t3.type || "FunctionExpression" === t3.type || "ArrowFunctionExpression" === t3.type;
747
+ }
748
+ throw new Error("Unknown class name: ".concat(e2.name));
749
+ };
750
+ }
751
+ throw new Error("Unknown selector type: ".concat(e2.type));
752
+ }
753
+ function p(e2, t2) {
754
+ var r2 = t2 && t2.nodeTypeKey || "type", n2 = e2[r2];
755
+ 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) {
756
+ return e3 !== r2;
757
+ }));
758
+ }
759
+ function h(e2, t2) {
760
+ var r2 = t2 && t2.nodeTypeKey || "type";
761
+ return null !== e2 && "object" === n(e2) && "string" == typeof e2[r2];
762
+ }
763
+ function y(e2, r2, n2, o2, a2) {
764
+ var i2 = t(n2, 1)[0];
765
+ if (!i2) return false;
766
+ for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
767
+ var l2 = i2[s2[u2]];
768
+ if (Array.isArray(l2)) {
769
+ var c2 = l2.indexOf(e2);
770
+ if (c2 < 0) continue;
771
+ var f2 = void 0, y2 = void 0;
772
+ "LEFT_SIDE" === o2 ? (f2 = 0, y2 = c2) : (f2 = c2 + 1, y2 = l2.length);
773
+ for (var d2 = f2; d2 < y2; ++d2) if (h(l2[d2], a2) && r2(l2[d2], n2, a2)) return true;
774
+ }
775
+ }
776
+ return false;
777
+ }
778
+ function d(e2, r2, n2, o2, a2) {
779
+ var i2 = t(n2, 1)[0];
780
+ if (!i2) return false;
781
+ for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
782
+ var l2 = i2[s2[u2]];
783
+ if (Array.isArray(l2)) {
784
+ var c2 = l2.indexOf(e2);
785
+ if (c2 < 0) continue;
786
+ if ("LEFT_SIDE" === o2 && c2 > 0 && h(l2[c2 - 1], a2) && r2(l2[c2 - 1], n2, a2)) return true;
787
+ if ("RIGHT_SIDE" === o2 && c2 < l2.length - 1 && h(l2[c2 + 1], a2) && r2(l2[c2 + 1], n2, a2)) return true;
788
+ }
789
+ }
790
+ return false;
791
+ }
792
+ function m(e2, r2, n2, o2) {
793
+ if (0 === n2) return false;
794
+ var a2 = t(r2, 1)[0];
795
+ if (!a2) return false;
796
+ for (var i2 = p(a2, o2), s2 = 0; s2 < i2.length; ++s2) {
797
+ var u2 = a2[i2[s2]];
798
+ if (Array.isArray(u2)) {
799
+ var l2 = n2 < 0 ? u2.length + n2 : n2 - 1;
800
+ if (l2 >= 0 && l2 < u2.length && u2[l2] === e2) return true;
801
+ }
802
+ }
803
+ return false;
804
+ }
805
+ function x(e2, t2, o2, a2) {
806
+ if (t2) {
807
+ var s2 = [], u2 = c(t2), l2 = (function e3(t3, o3) {
808
+ if (null == t3 || "object" != n(t3)) return [];
809
+ null == o3 && (o3 = t3);
810
+ for (var a3 = t3.subject ? [o3] : [], i2 = Object.keys(t3), s3 = 0; s3 < i2.length; ++s3) {
811
+ var u3 = i2[s3], l3 = t3[u3];
812
+ a3.push.apply(a3, r(e3(l3, "left" === u3 ? l3 : o3)));
813
+ }
814
+ return a3;
815
+ })(t2).map(c);
816
+ i.traverse(e2, { enter: function(e3, t3) {
817
+ if (null != t3 && s2.unshift(t3), u2(e3, s2, a2)) if (l2.length) for (var r2 = 0, n2 = l2.length; r2 < n2; ++r2) {
818
+ l2[r2](e3, s2, a2) && o2(e3, t3, s2);
819
+ for (var i2 = 0, c2 = s2.length; i2 < c2; ++i2) {
820
+ var f2 = s2.slice(i2 + 1);
821
+ l2[r2](s2[i2], f2, a2) && o2(s2[i2], t3, f2);
822
+ }
823
+ }
824
+ else o2(e3, t3, s2);
825
+ }, leave: function() {
826
+ s2.shift();
827
+ }, keys: a2 && a2.visitorKeys, fallback: a2 && a2.fallback || "iteration" });
828
+ }
829
+ }
830
+ function v(e2, t2, r2) {
831
+ var n2 = [];
832
+ return x(e2, t2, (function(e3) {
833
+ n2.push(e3);
834
+ }), r2), n2;
835
+ }
836
+ function g(e2) {
837
+ return s.parse(e2);
838
+ }
839
+ function A(e2, t2, r2) {
840
+ return v(e2, g(t2), r2);
841
+ }
842
+ A.parse = g, A.match = v, A.traverse = x, A.matches = function(e2, t2, r2, n2) {
843
+ return !t2 || !!e2 && (r2 || (r2 = []), c(t2)(e2, r2, n2));
844
+ }, A.query = A;
845
+
846
+ exports.default = A;
847
+ //# sourceMappingURL=esquery.esm.min.js.map