pecunia-root 0.1.0 → 0.1.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 (358) hide show
  1. package/dist/_virtual/rolldown_runtime.mjs +8 -0
  2. package/dist/adapters/drizzle-adapter/index.mjs +4 -1
  3. package/dist/adapters/drizzle-adapter/index.mjs.map +1 -1
  4. package/dist/adapters/mongodb-adapter/index.mjs +12 -11
  5. package/dist/adapters/mongodb-adapter/index.mjs.map +1 -1
  6. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs +14 -0
  7. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs.map +1 -0
  8. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs +54 -0
  9. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs.map +1 -0
  10. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs +36 -0
  11. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs.map +1 -0
  12. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs +27 -0
  13. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs.map +1 -0
  14. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs +3728 -0
  15. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs.map +1 -0
  16. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column-builder.mjs +108 -0
  17. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column-builder.mjs.map +1 -0
  18. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column.mjs +55 -0
  19. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/column.mjs.map +1 -0
  20. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/entity.mjs +18 -0
  21. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/entity.mjs.map +1 -0
  22. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/common.mjs +183 -0
  23. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/common.mjs.map +1 -0
  24. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/enum.mjs +35 -0
  25. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/columns/enum.mjs.map +1 -0
  26. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/foreign-keys.mjs +68 -0
  27. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/foreign-keys.mjs.map +1 -0
  28. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/unique-constraint.mjs +56 -0
  29. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/unique-constraint.mjs.map +1 -0
  30. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/utils/array.mjs +65 -0
  31. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/pg-core/utils/array.mjs.map +1 -0
  32. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/conditions.mjs +69 -0
  33. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/conditions.mjs.map +1 -0
  34. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/select.mjs +13 -0
  35. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/expressions/select.mjs.map +1 -0
  36. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/functions/aggregate.mjs +10 -0
  37. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/functions/aggregate.mjs.map +1 -0
  38. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/sql.mjs +366 -0
  39. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/sql/sql.mjs.map +1 -0
  40. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/subquery.mjs +22 -0
  41. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/subquery.mjs.map +1 -0
  42. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.mjs +62 -0
  43. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.mjs.map +1 -0
  44. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.utils.mjs +6 -0
  45. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/table.utils.mjs.map +1 -0
  46. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing-utils.mjs +8 -0
  47. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing-utils.mjs.map +1 -0
  48. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing.mjs +8 -0
  49. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/tracing.mjs.map +1 -0
  50. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/view-common.mjs +6 -0
  51. package/dist/node_modules/.pnpm/drizzle-orm@0.41.0_@prisma_client@5.22.0_prisma@5.22.0__@types_better-sqlite3@7.6.13_@t_b8c798d02fdf3681c336f03696200539/node_modules/drizzle-orm/view-common.mjs.map +1 -0
  52. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs +137 -0
  53. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs.map +1 -0
  54. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs +211 -0
  55. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs.map +1 -0
  56. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs +95 -0
  57. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs.map +1 -0
  58. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs +158 -0
  59. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs.map +1 -0
  60. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs +195 -0
  61. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs.map +1 -0
  62. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs +710 -0
  63. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs.map +1 -0
  64. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs +53 -0
  65. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs.map +1 -0
  66. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs +63 -0
  67. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs.map +1 -0
  68. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs +368 -0
  69. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs.map +1 -0
  70. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs +234 -0
  71. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs.map +1 -0
  72. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs +545 -0
  73. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs.map +1 -0
  74. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs +83 -0
  75. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs.map +1 -0
  76. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs +146 -0
  77. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs.map +1 -0
  78. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs +58 -0
  79. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs.map +1 -0
  80. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs +30 -0
  81. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs.map +1 -0
  82. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs +135 -0
  83. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs.map +1 -0
  84. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs +25 -0
  85. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs.map +1 -0
  86. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs +47 -0
  87. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs.map +1 -0
  88. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs +362 -0
  89. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs.map +1 -0
  90. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs +58 -0
  91. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs.map +1 -0
  92. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs +123 -0
  93. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs.map +1 -0
  94. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs +128 -0
  95. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs.map +1 -0
  96. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs +133 -0
  97. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs.map +1 -0
  98. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs +126 -0
  99. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs.map +1 -0
  100. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs +79 -0
  101. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs.map +1 -0
  102. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs +65 -0
  103. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs.map +1 -0
  104. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs +127 -0
  105. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs.map +1 -0
  106. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs +47 -0
  107. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs.map +1 -0
  108. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs +44 -0
  109. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs.map +1 -0
  110. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs +101 -0
  111. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs.map +1 -0
  112. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs +33 -0
  113. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs.map +1 -0
  114. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs +53 -0
  115. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs.map +1 -0
  116. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs +29 -0
  117. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs.map +1 -0
  118. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs +83 -0
  119. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs.map +1 -0
  120. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs +36 -0
  121. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs.map +1 -0
  122. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs +32 -0
  123. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs.map +1 -0
  124. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs +206 -0
  125. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs.map +1 -0
  126. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs +45 -0
  127. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs.map +1 -0
  128. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs +213 -0
  129. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs.map +1 -0
  130. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs +411 -0
  131. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs.map +1 -0
  132. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs +288 -0
  133. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs.map +1 -0
  134. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs +423 -0
  135. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs.map +1 -0
  136. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs +483 -0
  137. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +1 -0
  138. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs +207 -0
  139. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs.map +1 -0
  140. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs +116 -0
  141. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs.map +1 -0
  142. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs +183 -0
  143. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs.map +1 -0
  144. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs +55 -0
  145. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map +1 -0
  146. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs +60 -0
  147. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs.map +1 -0
  148. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs +139 -0
  149. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs.map +1 -0
  150. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs +28 -0
  151. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs.map +1 -0
  152. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs +117 -0
  153. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs.map +1 -0
  154. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs +182 -0
  155. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs.map +1 -0
  156. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs +304 -0
  157. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs.map +1 -0
  158. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs +34 -0
  159. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs.map +1 -0
  160. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs +739 -0
  161. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs.map +1 -0
  162. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs +805 -0
  163. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs.map +1 -0
  164. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs +174 -0
  165. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs.map +1 -0
  166. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs +726 -0
  167. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs.map +1 -0
  168. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs +172 -0
  169. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs.map +1 -0
  170. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs +103 -0
  171. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs.map +1 -0
  172. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs +66 -0
  173. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs.map +1 -0
  174. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs +41 -0
  175. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs.map +1 -0
  176. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs +365 -0
  177. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs.map +1 -0
  178. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs +50 -0
  179. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs.map +1 -0
  180. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs +48 -0
  181. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs.map +1 -0
  182. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs +23 -0
  183. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs.map +1 -0
  184. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs +106 -0
  185. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs.map +1 -0
  186. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs +428 -0
  187. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs.map +1 -0
  188. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs +124 -0
  189. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs.map +1 -0
  190. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs +95 -0
  191. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs.map +1 -0
  192. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs +1305 -0
  193. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs.map +1 -0
  194. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs +59 -0
  195. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs.map +1 -0
  196. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs +250 -0
  197. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs.map +1 -0
  198. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs +170 -0
  199. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs.map +1 -0
  200. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs +315 -0
  201. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs.map +1 -0
  202. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs +925 -0
  203. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs.map +1 -0
  204. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs +520 -0
  205. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs.map +1 -0
  206. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs +90 -0
  207. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs.map +1 -0
  208. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs +582 -0
  209. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs.map +1 -0
  210. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs +64 -0
  211. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs.map +1 -0
  212. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs +86 -0
  213. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs.map +1 -0
  214. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs +60 -0
  215. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs.map +1 -0
  216. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs +264 -0
  217. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs.map +1 -0
  218. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs +109 -0
  219. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs.map +1 -0
  220. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs +172 -0
  221. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs.map +1 -0
  222. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs +68 -0
  223. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs.map +1 -0
  224. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs +53 -0
  225. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs.map +1 -0
  226. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs +123 -0
  227. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs.map +1 -0
  228. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs +119 -0
  229. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs.map +1 -0
  230. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs +65 -0
  231. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs.map +1 -0
  232. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs +97 -0
  233. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs.map +1 -0
  234. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs +47 -0
  235. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +1 -0
  236. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs +188 -0
  237. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs.map +1 -0
  238. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs +103 -0
  239. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs.map +1 -0
  240. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs +136 -0
  241. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +1 -0
  242. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs +61 -0
  243. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs.map +1 -0
  244. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs +179 -0
  245. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs.map +1 -0
  246. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs +77 -0
  247. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs.map +1 -0
  248. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs +48 -0
  249. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs.map +1 -0
  250. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs +60 -0
  251. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs.map +1 -0
  252. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs +43 -0
  253. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs.map +1 -0
  254. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs +105 -0
  255. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs.map +1 -0
  256. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs +50 -0
  257. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs.map +1 -0
  258. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs +39 -0
  259. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs.map +1 -0
  260. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs +49 -0
  261. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs.map +1 -0
  262. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs +58 -0
  263. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs.map +1 -0
  264. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs +46 -0
  265. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs.map +1 -0
  266. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs +48 -0
  267. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs.map +1 -0
  268. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs +46 -0
  269. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs.map +1 -0
  270. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs +67 -0
  271. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +1 -0
  272. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs +37 -0
  273. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs.map +1 -0
  274. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs +171 -0
  275. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs.map +1 -0
  276. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs +45 -0
  277. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs.map +1 -0
  278. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs +71 -0
  279. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs.map +1 -0
  280. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs +165 -0
  281. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs.map +1 -0
  282. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs +62 -0
  283. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs.map +1 -0
  284. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs +51 -0
  285. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs.map +1 -0
  286. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs +156 -0
  287. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs.map +1 -0
  288. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs +477 -0
  289. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs.map +1 -0
  290. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs +315 -0
  291. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs.map +1 -0
  292. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs +157 -0
  293. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs.map +1 -0
  294. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs +184 -0
  295. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs.map +1 -0
  296. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs +96 -0
  297. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs.map +1 -0
  298. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs +107 -0
  299. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs.map +1 -0
  300. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs +540 -0
  301. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs.map +1 -0
  302. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs +298 -0
  303. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs.map +1 -0
  304. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs +623 -0
  305. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs.map +1 -0
  306. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs +91 -0
  307. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs.map +1 -0
  308. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs +254 -0
  309. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs.map +1 -0
  310. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs +138 -0
  311. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs.map +1 -0
  312. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs +993 -0
  313. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs.map +1 -0
  314. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs +81 -0
  315. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs.map +1 -0
  316. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs +171 -0
  317. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs.map +1 -0
  318. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs +295 -0
  319. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs.map +1 -0
  320. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs +81 -0
  321. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs.map +1 -0
  322. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs +206 -0
  323. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs.map +1 -0
  324. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs +33590 -0
  325. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs.map +1 -0
  326. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs +37 -0
  327. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs.map +1 -0
  328. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs +18 -0
  329. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs.map +1 -0
  330. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs +252 -0
  331. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs.map +1 -0
  332. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs +41 -0
  333. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs.map +1 -0
  334. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs +41 -0
  335. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs.map +1 -0
  336. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs +173 -0
  337. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs.map +1 -0
  338. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs +334 -0
  339. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs.map +1 -0
  340. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs +90 -0
  341. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs.map +1 -0
  342. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs +356 -0
  343. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs.map +1 -0
  344. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs +23 -0
  345. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map +1 -0
  346. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs +29 -0
  347. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs.map +1 -0
  348. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs +140 -0
  349. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs.map +1 -0
  350. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs +831 -0
  351. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs.map +1 -0
  352. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs +77 -0
  353. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs.map +1 -0
  354. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs +147 -0
  355. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs.map +1 -0
  356. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs +17 -0
  357. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs.map +1 -0
  358. package/package.json +1 -39
@@ -0,0 +1,831 @@
1
+ import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { require_tr46 } from "../../../../tr46@5.1.1/node_modules/tr46/index.mjs";
3
+ import { require_infra } from "./infra.mjs";
4
+ import { require_encoding } from "./encoding.mjs";
5
+ import { require_percent_encoding } from "./percent-encoding.mjs";
6
+
7
+ //#region ../../node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.js
8
+ var require_url_state_machine = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9
+ const tr46 = require_tr46();
10
+ const infra = require_infra();
11
+ const { utf8DecodeWithoutBOM } = require_encoding();
12
+ const { percentDecodeString, utf8PercentEncodeCodePoint, utf8PercentEncodeString, isC0ControlPercentEncode, isFragmentPercentEncode, isQueryPercentEncode, isSpecialQueryPercentEncode, isPathPercentEncode, isUserinfoPercentEncode } = require_percent_encoding();
13
+ function p(char) {
14
+ return char.codePointAt(0);
15
+ }
16
+ const specialSchemes = {
17
+ ftp: 21,
18
+ file: null,
19
+ http: 80,
20
+ https: 443,
21
+ ws: 80,
22
+ wss: 443
23
+ };
24
+ const failure = Symbol("failure");
25
+ function countSymbols(str) {
26
+ return [...str].length;
27
+ }
28
+ function at(input, idx) {
29
+ const c = input[idx];
30
+ return isNaN(c) ? void 0 : String.fromCodePoint(c);
31
+ }
32
+ function isSingleDot(buffer) {
33
+ return buffer === "." || buffer.toLowerCase() === "%2e";
34
+ }
35
+ function isDoubleDot(buffer) {
36
+ buffer = buffer.toLowerCase();
37
+ return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e";
38
+ }
39
+ function isWindowsDriveLetterCodePoints(cp1, cp2) {
40
+ return infra.isASCIIAlpha(cp1) && (cp2 === p(":") || cp2 === p("|"));
41
+ }
42
+ function isWindowsDriveLetterString(string) {
43
+ return string.length === 2 && infra.isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|");
44
+ }
45
+ function isNormalizedWindowsDriveLetterString(string) {
46
+ return string.length === 2 && infra.isASCIIAlpha(string.codePointAt(0)) && string[1] === ":";
47
+ }
48
+ function containsForbiddenHostCodePoint(string) {
49
+ return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u) !== -1;
50
+ }
51
+ function containsForbiddenDomainCodePoint(string) {
52
+ return containsForbiddenHostCodePoint(string) || string.search(/[\u0000-\u001F]|%|\u007F/u) !== -1;
53
+ }
54
+ function isSpecialScheme(scheme) {
55
+ return specialSchemes[scheme] !== void 0;
56
+ }
57
+ function isSpecial(url) {
58
+ return isSpecialScheme(url.scheme);
59
+ }
60
+ function isNotSpecial(url) {
61
+ return !isSpecialScheme(url.scheme);
62
+ }
63
+ function defaultPort(scheme) {
64
+ return specialSchemes[scheme];
65
+ }
66
+ function parseIPv4Number(input) {
67
+ if (input === "") return failure;
68
+ let R = 10;
69
+ if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") {
70
+ input = input.substring(2);
71
+ R = 16;
72
+ } else if (input.length >= 2 && input.charAt(0) === "0") {
73
+ input = input.substring(1);
74
+ R = 8;
75
+ }
76
+ if (input === "") return 0;
77
+ let regex = /[^0-7]/u;
78
+ if (R === 10) regex = /[^0-9]/u;
79
+ if (R === 16) regex = /[^0-9A-Fa-f]/u;
80
+ if (regex.test(input)) return failure;
81
+ return parseInt(input, R);
82
+ }
83
+ function parseIPv4(input) {
84
+ const parts = input.split(".");
85
+ if (parts[parts.length - 1] === "") {
86
+ if (parts.length > 1) parts.pop();
87
+ }
88
+ if (parts.length > 4) return failure;
89
+ const numbers = [];
90
+ for (const part of parts) {
91
+ const n = parseIPv4Number(part);
92
+ if (n === failure) return failure;
93
+ numbers.push(n);
94
+ }
95
+ for (let i = 0; i < numbers.length - 1; ++i) if (numbers[i] > 255) return failure;
96
+ if (numbers[numbers.length - 1] >= 256 ** (5 - numbers.length)) return failure;
97
+ let ipv4 = numbers.pop();
98
+ let counter = 0;
99
+ for (const n of numbers) {
100
+ ipv4 += n * 256 ** (3 - counter);
101
+ ++counter;
102
+ }
103
+ return ipv4;
104
+ }
105
+ function serializeIPv4(address) {
106
+ let output = "";
107
+ let n = address;
108
+ for (let i = 1; i <= 4; ++i) {
109
+ output = String(n % 256) + output;
110
+ if (i !== 4) output = `.${output}`;
111
+ n = Math.floor(n / 256);
112
+ }
113
+ return output;
114
+ }
115
+ function parseIPv6(input) {
116
+ const address = [
117
+ 0,
118
+ 0,
119
+ 0,
120
+ 0,
121
+ 0,
122
+ 0,
123
+ 0,
124
+ 0
125
+ ];
126
+ let pieceIndex = 0;
127
+ let compress = null;
128
+ let pointer = 0;
129
+ input = Array.from(input, (c) => c.codePointAt(0));
130
+ if (input[pointer] === p(":")) {
131
+ if (input[pointer + 1] !== p(":")) return failure;
132
+ pointer += 2;
133
+ ++pieceIndex;
134
+ compress = pieceIndex;
135
+ }
136
+ while (pointer < input.length) {
137
+ if (pieceIndex === 8) return failure;
138
+ if (input[pointer] === p(":")) {
139
+ if (compress !== null) return failure;
140
+ ++pointer;
141
+ ++pieceIndex;
142
+ compress = pieceIndex;
143
+ continue;
144
+ }
145
+ let value = 0;
146
+ let length = 0;
147
+ while (length < 4 && infra.isASCIIHex(input[pointer])) {
148
+ value = value * 16 + parseInt(at(input, pointer), 16);
149
+ ++pointer;
150
+ ++length;
151
+ }
152
+ if (input[pointer] === p(".")) {
153
+ if (length === 0) return failure;
154
+ pointer -= length;
155
+ if (pieceIndex > 6) return failure;
156
+ let numbersSeen = 0;
157
+ while (input[pointer] !== void 0) {
158
+ let ipv4Piece = null;
159
+ if (numbersSeen > 0) if (input[pointer] === p(".") && numbersSeen < 4) ++pointer;
160
+ else return failure;
161
+ if (!infra.isASCIIDigit(input[pointer])) return failure;
162
+ while (infra.isASCIIDigit(input[pointer])) {
163
+ const number = parseInt(at(input, pointer));
164
+ if (ipv4Piece === null) ipv4Piece = number;
165
+ else if (ipv4Piece === 0) return failure;
166
+ else ipv4Piece = ipv4Piece * 10 + number;
167
+ if (ipv4Piece > 255) return failure;
168
+ ++pointer;
169
+ }
170
+ address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
171
+ ++numbersSeen;
172
+ if (numbersSeen === 2 || numbersSeen === 4) ++pieceIndex;
173
+ }
174
+ if (numbersSeen !== 4) return failure;
175
+ break;
176
+ } else if (input[pointer] === p(":")) {
177
+ ++pointer;
178
+ if (input[pointer] === void 0) return failure;
179
+ } else if (input[pointer] !== void 0) return failure;
180
+ address[pieceIndex] = value;
181
+ ++pieceIndex;
182
+ }
183
+ if (compress !== null) {
184
+ let swaps = pieceIndex - compress;
185
+ pieceIndex = 7;
186
+ while (pieceIndex !== 0 && swaps > 0) {
187
+ const temp = address[compress + swaps - 1];
188
+ address[compress + swaps - 1] = address[pieceIndex];
189
+ address[pieceIndex] = temp;
190
+ --pieceIndex;
191
+ --swaps;
192
+ }
193
+ } else if (compress === null && pieceIndex !== 8) return failure;
194
+ return address;
195
+ }
196
+ function serializeIPv6(address) {
197
+ let output = "";
198
+ const compress = findTheIPv6AddressCompressedPieceIndex(address);
199
+ let ignore0 = false;
200
+ for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {
201
+ if (ignore0 && address[pieceIndex] === 0) continue;
202
+ else if (ignore0) ignore0 = false;
203
+ if (compress === pieceIndex) {
204
+ output += pieceIndex === 0 ? "::" : ":";
205
+ ignore0 = true;
206
+ continue;
207
+ }
208
+ output += address[pieceIndex].toString(16);
209
+ if (pieceIndex !== 7) output += ":";
210
+ }
211
+ return output;
212
+ }
213
+ function parseHost(input, isOpaque = false) {
214
+ if (input[0] === "[") {
215
+ if (input[input.length - 1] !== "]") return failure;
216
+ return parseIPv6(input.substring(1, input.length - 1));
217
+ }
218
+ if (isOpaque) return parseOpaqueHost(input);
219
+ const asciiDomain = domainToASCII(utf8DecodeWithoutBOM(percentDecodeString(input)));
220
+ if (asciiDomain === failure) return failure;
221
+ if (endsInANumber(asciiDomain)) return parseIPv4(asciiDomain);
222
+ return asciiDomain;
223
+ }
224
+ function endsInANumber(input) {
225
+ const parts = input.split(".");
226
+ if (parts[parts.length - 1] === "") {
227
+ if (parts.length === 1) return false;
228
+ parts.pop();
229
+ }
230
+ const last = parts[parts.length - 1];
231
+ if (parseIPv4Number(last) !== failure) return true;
232
+ if (/^[0-9]+$/u.test(last)) return true;
233
+ return false;
234
+ }
235
+ function parseOpaqueHost(input) {
236
+ if (containsForbiddenHostCodePoint(input)) return failure;
237
+ return utf8PercentEncodeString(input, isC0ControlPercentEncode);
238
+ }
239
+ function findTheIPv6AddressCompressedPieceIndex(address) {
240
+ let longestIndex = null;
241
+ let longestSize = 1;
242
+ let foundIndex = null;
243
+ let foundSize = 0;
244
+ for (let pieceIndex = 0; pieceIndex < address.length; ++pieceIndex) if (address[pieceIndex] !== 0) {
245
+ if (foundSize > longestSize) {
246
+ longestIndex = foundIndex;
247
+ longestSize = foundSize;
248
+ }
249
+ foundIndex = null;
250
+ foundSize = 0;
251
+ } else {
252
+ if (foundIndex === null) foundIndex = pieceIndex;
253
+ ++foundSize;
254
+ }
255
+ if (foundSize > longestSize) return foundIndex;
256
+ return longestIndex;
257
+ }
258
+ function serializeHost(host) {
259
+ if (typeof host === "number") return serializeIPv4(host);
260
+ if (host instanceof Array) return `[${serializeIPv6(host)}]`;
261
+ return host;
262
+ }
263
+ function domainToASCII(domain, beStrict = false) {
264
+ const result = tr46.toASCII(domain, {
265
+ checkHyphens: beStrict,
266
+ checkBidi: true,
267
+ checkJoiners: true,
268
+ useSTD3ASCIIRules: beStrict,
269
+ transitionalProcessing: false,
270
+ verifyDNSLength: beStrict,
271
+ ignoreInvalidPunycode: false
272
+ });
273
+ if (result === null) return failure;
274
+ if (!beStrict) {
275
+ if (result === "") return failure;
276
+ if (containsForbiddenDomainCodePoint(result)) return failure;
277
+ }
278
+ return result;
279
+ }
280
+ function trimControlChars(string) {
281
+ let start = 0;
282
+ let end = string.length;
283
+ for (; start < end; ++start) if (string.charCodeAt(start) > 32) break;
284
+ for (; end > start; --end) if (string.charCodeAt(end - 1) > 32) break;
285
+ return string.substring(start, end);
286
+ }
287
+ function trimTabAndNewline(url) {
288
+ return url.replace(/\u0009|\u000A|\u000D/gu, "");
289
+ }
290
+ function shortenPath(url) {
291
+ const { path } = url;
292
+ if (path.length === 0) return;
293
+ if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) return;
294
+ path.pop();
295
+ }
296
+ function includesCredentials(url) {
297
+ return url.username !== "" || url.password !== "";
298
+ }
299
+ function cannotHaveAUsernamePasswordPort(url) {
300
+ return url.host === null || url.host === "" || url.scheme === "file";
301
+ }
302
+ function hasAnOpaquePath(url) {
303
+ return typeof url.path === "string";
304
+ }
305
+ function isNormalizedWindowsDriveLetter(string) {
306
+ return /^[A-Za-z]:$/u.test(string);
307
+ }
308
+ function URLStateMachine(input, base, encodingOverride, url, stateOverride) {
309
+ this.pointer = 0;
310
+ this.input = input;
311
+ this.base = base || null;
312
+ this.encodingOverride = encodingOverride || "utf-8";
313
+ this.stateOverride = stateOverride;
314
+ this.url = url;
315
+ this.failure = false;
316
+ this.parseError = false;
317
+ if (!this.url) {
318
+ this.url = {
319
+ scheme: "",
320
+ username: "",
321
+ password: "",
322
+ host: null,
323
+ port: null,
324
+ path: [],
325
+ query: null,
326
+ fragment: null
327
+ };
328
+ const res$1 = trimControlChars(this.input);
329
+ if (res$1 !== this.input) this.parseError = true;
330
+ this.input = res$1;
331
+ }
332
+ const res = trimTabAndNewline(this.input);
333
+ if (res !== this.input) this.parseError = true;
334
+ this.input = res;
335
+ this.state = stateOverride || "scheme start";
336
+ this.buffer = "";
337
+ this.atFlag = false;
338
+ this.arrFlag = false;
339
+ this.passwordTokenSeenFlag = false;
340
+ this.input = Array.from(this.input, (c) => c.codePointAt(0));
341
+ for (; this.pointer <= this.input.length; ++this.pointer) {
342
+ const c = this.input[this.pointer];
343
+ const cStr = isNaN(c) ? void 0 : String.fromCodePoint(c);
344
+ const ret = this[`parse ${this.state}`](c, cStr);
345
+ if (!ret) break;
346
+ else if (ret === failure) {
347
+ this.failure = true;
348
+ break;
349
+ }
350
+ }
351
+ }
352
+ URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) {
353
+ if (infra.isASCIIAlpha(c)) {
354
+ this.buffer += cStr.toLowerCase();
355
+ this.state = "scheme";
356
+ } else if (!this.stateOverride) {
357
+ this.state = "no scheme";
358
+ --this.pointer;
359
+ } else {
360
+ this.parseError = true;
361
+ return failure;
362
+ }
363
+ return true;
364
+ };
365
+ URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) {
366
+ if (infra.isASCIIAlphanumeric(c) || c === p("+") || c === p("-") || c === p(".")) this.buffer += cStr.toLowerCase();
367
+ else if (c === p(":")) {
368
+ if (this.stateOverride) {
369
+ if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) return false;
370
+ if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) return false;
371
+ if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") return false;
372
+ if (this.url.scheme === "file" && this.url.host === "") return false;
373
+ }
374
+ this.url.scheme = this.buffer;
375
+ if (this.stateOverride) {
376
+ if (this.url.port === defaultPort(this.url.scheme)) this.url.port = null;
377
+ return false;
378
+ }
379
+ this.buffer = "";
380
+ if (this.url.scheme === "file") {
381
+ if (this.input[this.pointer + 1] !== p("/") || this.input[this.pointer + 2] !== p("/")) this.parseError = true;
382
+ this.state = "file";
383
+ } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) this.state = "special relative or authority";
384
+ else if (isSpecial(this.url)) this.state = "special authority slashes";
385
+ else if (this.input[this.pointer + 1] === p("/")) {
386
+ this.state = "path or authority";
387
+ ++this.pointer;
388
+ } else {
389
+ this.url.path = "";
390
+ this.state = "opaque path";
391
+ }
392
+ } else if (!this.stateOverride) {
393
+ this.buffer = "";
394
+ this.state = "no scheme";
395
+ this.pointer = -1;
396
+ } else {
397
+ this.parseError = true;
398
+ return failure;
399
+ }
400
+ return true;
401
+ };
402
+ URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) {
403
+ if (this.base === null || hasAnOpaquePath(this.base) && c !== p("#")) return failure;
404
+ else if (hasAnOpaquePath(this.base) && c === p("#")) {
405
+ this.url.scheme = this.base.scheme;
406
+ this.url.path = this.base.path;
407
+ this.url.query = this.base.query;
408
+ this.url.fragment = "";
409
+ this.state = "fragment";
410
+ } else if (this.base.scheme === "file") {
411
+ this.state = "file";
412
+ --this.pointer;
413
+ } else {
414
+ this.state = "relative";
415
+ --this.pointer;
416
+ }
417
+ return true;
418
+ };
419
+ URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) {
420
+ if (c === p("/") && this.input[this.pointer + 1] === p("/")) {
421
+ this.state = "special authority ignore slashes";
422
+ ++this.pointer;
423
+ } else {
424
+ this.parseError = true;
425
+ this.state = "relative";
426
+ --this.pointer;
427
+ }
428
+ return true;
429
+ };
430
+ URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) {
431
+ if (c === p("/")) this.state = "authority";
432
+ else {
433
+ this.state = "path";
434
+ --this.pointer;
435
+ }
436
+ return true;
437
+ };
438
+ URLStateMachine.prototype["parse relative"] = function parseRelative(c) {
439
+ this.url.scheme = this.base.scheme;
440
+ if (c === p("/")) this.state = "relative slash";
441
+ else if (isSpecial(this.url) && c === p("\\")) {
442
+ this.parseError = true;
443
+ this.state = "relative slash";
444
+ } else {
445
+ this.url.username = this.base.username;
446
+ this.url.password = this.base.password;
447
+ this.url.host = this.base.host;
448
+ this.url.port = this.base.port;
449
+ this.url.path = this.base.path.slice();
450
+ this.url.query = this.base.query;
451
+ if (c === p("?")) {
452
+ this.url.query = "";
453
+ this.state = "query";
454
+ } else if (c === p("#")) {
455
+ this.url.fragment = "";
456
+ this.state = "fragment";
457
+ } else if (!isNaN(c)) {
458
+ this.url.query = null;
459
+ this.url.path.pop();
460
+ this.state = "path";
461
+ --this.pointer;
462
+ }
463
+ }
464
+ return true;
465
+ };
466
+ URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) {
467
+ if (isSpecial(this.url) && (c === p("/") || c === p("\\"))) {
468
+ if (c === p("\\")) this.parseError = true;
469
+ this.state = "special authority ignore slashes";
470
+ } else if (c === p("/")) this.state = "authority";
471
+ else {
472
+ this.url.username = this.base.username;
473
+ this.url.password = this.base.password;
474
+ this.url.host = this.base.host;
475
+ this.url.port = this.base.port;
476
+ this.state = "path";
477
+ --this.pointer;
478
+ }
479
+ return true;
480
+ };
481
+ URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) {
482
+ if (c === p("/") && this.input[this.pointer + 1] === p("/")) {
483
+ this.state = "special authority ignore slashes";
484
+ ++this.pointer;
485
+ } else {
486
+ this.parseError = true;
487
+ this.state = "special authority ignore slashes";
488
+ --this.pointer;
489
+ }
490
+ return true;
491
+ };
492
+ URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) {
493
+ if (c !== p("/") && c !== p("\\")) {
494
+ this.state = "authority";
495
+ --this.pointer;
496
+ } else this.parseError = true;
497
+ return true;
498
+ };
499
+ URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) {
500
+ if (c === p("@")) {
501
+ this.parseError = true;
502
+ if (this.atFlag) this.buffer = `%40${this.buffer}`;
503
+ this.atFlag = true;
504
+ const len = countSymbols(this.buffer);
505
+ for (let pointer = 0; pointer < len; ++pointer) {
506
+ const codePoint = this.buffer.codePointAt(pointer);
507
+ if (codePoint === p(":") && !this.passwordTokenSeenFlag) {
508
+ this.passwordTokenSeenFlag = true;
509
+ continue;
510
+ }
511
+ const encodedCodePoints = utf8PercentEncodeCodePoint(codePoint, isUserinfoPercentEncode);
512
+ if (this.passwordTokenSeenFlag) this.url.password += encodedCodePoints;
513
+ else this.url.username += encodedCodePoints;
514
+ }
515
+ this.buffer = "";
516
+ } else if (isNaN(c) || c === p("/") || c === p("?") || c === p("#") || isSpecial(this.url) && c === p("\\")) {
517
+ if (this.atFlag && this.buffer === "") {
518
+ this.parseError = true;
519
+ return failure;
520
+ }
521
+ this.pointer -= countSymbols(this.buffer) + 1;
522
+ this.buffer = "";
523
+ this.state = "host";
524
+ } else this.buffer += cStr;
525
+ return true;
526
+ };
527
+ URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) {
528
+ if (this.stateOverride && this.url.scheme === "file") {
529
+ --this.pointer;
530
+ this.state = "file host";
531
+ } else if (c === p(":") && !this.arrFlag) {
532
+ if (this.buffer === "") {
533
+ this.parseError = true;
534
+ return failure;
535
+ }
536
+ if (this.stateOverride === "hostname") return false;
537
+ const host = parseHost(this.buffer, isNotSpecial(this.url));
538
+ if (host === failure) return failure;
539
+ this.url.host = host;
540
+ this.buffer = "";
541
+ this.state = "port";
542
+ } else if (isNaN(c) || c === p("/") || c === p("?") || c === p("#") || isSpecial(this.url) && c === p("\\")) {
543
+ --this.pointer;
544
+ if (isSpecial(this.url) && this.buffer === "") {
545
+ this.parseError = true;
546
+ return failure;
547
+ } else if (this.stateOverride && this.buffer === "" && (includesCredentials(this.url) || this.url.port !== null)) {
548
+ this.parseError = true;
549
+ return false;
550
+ }
551
+ const host = parseHost(this.buffer, isNotSpecial(this.url));
552
+ if (host === failure) return failure;
553
+ this.url.host = host;
554
+ this.buffer = "";
555
+ this.state = "path start";
556
+ if (this.stateOverride) return false;
557
+ } else {
558
+ if (c === p("[")) this.arrFlag = true;
559
+ else if (c === p("]")) this.arrFlag = false;
560
+ this.buffer += cStr;
561
+ }
562
+ return true;
563
+ };
564
+ URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) {
565
+ if (infra.isASCIIDigit(c)) this.buffer += cStr;
566
+ else if (isNaN(c) || c === p("/") || c === p("?") || c === p("#") || isSpecial(this.url) && c === p("\\") || this.stateOverride) {
567
+ if (this.buffer !== "") {
568
+ const port = parseInt(this.buffer);
569
+ if (port > 2 ** 16 - 1) {
570
+ this.parseError = true;
571
+ return failure;
572
+ }
573
+ this.url.port = port === defaultPort(this.url.scheme) ? null : port;
574
+ this.buffer = "";
575
+ }
576
+ if (this.stateOverride) return false;
577
+ this.state = "path start";
578
+ --this.pointer;
579
+ } else {
580
+ this.parseError = true;
581
+ return failure;
582
+ }
583
+ return true;
584
+ };
585
+ const fileOtherwiseCodePoints = new Set([
586
+ p("/"),
587
+ p("\\"),
588
+ p("?"),
589
+ p("#")
590
+ ]);
591
+ function startsWithWindowsDriveLetter(input, pointer) {
592
+ const length = input.length - pointer;
593
+ return length >= 2 && isWindowsDriveLetterCodePoints(input[pointer], input[pointer + 1]) && (length === 2 || fileOtherwiseCodePoints.has(input[pointer + 2]));
594
+ }
595
+ URLStateMachine.prototype["parse file"] = function parseFile(c) {
596
+ this.url.scheme = "file";
597
+ this.url.host = "";
598
+ if (c === p("/") || c === p("\\")) {
599
+ if (c === p("\\")) this.parseError = true;
600
+ this.state = "file slash";
601
+ } else if (this.base !== null && this.base.scheme === "file") {
602
+ this.url.host = this.base.host;
603
+ this.url.path = this.base.path.slice();
604
+ this.url.query = this.base.query;
605
+ if (c === p("?")) {
606
+ this.url.query = "";
607
+ this.state = "query";
608
+ } else if (c === p("#")) {
609
+ this.url.fragment = "";
610
+ this.state = "fragment";
611
+ } else if (!isNaN(c)) {
612
+ this.url.query = null;
613
+ if (!startsWithWindowsDriveLetter(this.input, this.pointer)) shortenPath(this.url);
614
+ else {
615
+ this.parseError = true;
616
+ this.url.path = [];
617
+ }
618
+ this.state = "path";
619
+ --this.pointer;
620
+ }
621
+ } else {
622
+ this.state = "path";
623
+ --this.pointer;
624
+ }
625
+ return true;
626
+ };
627
+ URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) {
628
+ if (c === p("/") || c === p("\\")) {
629
+ if (c === p("\\")) this.parseError = true;
630
+ this.state = "file host";
631
+ } else {
632
+ if (this.base !== null && this.base.scheme === "file") {
633
+ if (!startsWithWindowsDriveLetter(this.input, this.pointer) && isNormalizedWindowsDriveLetterString(this.base.path[0])) this.url.path.push(this.base.path[0]);
634
+ this.url.host = this.base.host;
635
+ }
636
+ this.state = "path";
637
+ --this.pointer;
638
+ }
639
+ return true;
640
+ };
641
+ URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) {
642
+ if (isNaN(c) || c === p("/") || c === p("\\") || c === p("?") || c === p("#")) {
643
+ --this.pointer;
644
+ if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {
645
+ this.parseError = true;
646
+ this.state = "path";
647
+ } else if (this.buffer === "") {
648
+ this.url.host = "";
649
+ if (this.stateOverride) return false;
650
+ this.state = "path start";
651
+ } else {
652
+ let host = parseHost(this.buffer, isNotSpecial(this.url));
653
+ if (host === failure) return failure;
654
+ if (host === "localhost") host = "";
655
+ this.url.host = host;
656
+ if (this.stateOverride) return false;
657
+ this.buffer = "";
658
+ this.state = "path start";
659
+ }
660
+ } else this.buffer += cStr;
661
+ return true;
662
+ };
663
+ URLStateMachine.prototype["parse path start"] = function parsePathStart(c) {
664
+ if (isSpecial(this.url)) {
665
+ if (c === p("\\")) this.parseError = true;
666
+ this.state = "path";
667
+ if (c !== p("/") && c !== p("\\")) --this.pointer;
668
+ } else if (!this.stateOverride && c === p("?")) {
669
+ this.url.query = "";
670
+ this.state = "query";
671
+ } else if (!this.stateOverride && c === p("#")) {
672
+ this.url.fragment = "";
673
+ this.state = "fragment";
674
+ } else if (c !== void 0) {
675
+ this.state = "path";
676
+ if (c !== p("/")) --this.pointer;
677
+ } else if (this.stateOverride && this.url.host === null) this.url.path.push("");
678
+ return true;
679
+ };
680
+ URLStateMachine.prototype["parse path"] = function parsePath(c) {
681
+ if (isNaN(c) || c === p("/") || isSpecial(this.url) && c === p("\\") || !this.stateOverride && (c === p("?") || c === p("#"))) {
682
+ if (isSpecial(this.url) && c === p("\\")) this.parseError = true;
683
+ if (isDoubleDot(this.buffer)) {
684
+ shortenPath(this.url);
685
+ if (c !== p("/") && !(isSpecial(this.url) && c === p("\\"))) this.url.path.push("");
686
+ } else if (isSingleDot(this.buffer) && c !== p("/") && !(isSpecial(this.url) && c === p("\\"))) this.url.path.push("");
687
+ else if (!isSingleDot(this.buffer)) {
688
+ if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) this.buffer = `${this.buffer[0]}:`;
689
+ this.url.path.push(this.buffer);
690
+ }
691
+ this.buffer = "";
692
+ if (c === p("?")) {
693
+ this.url.query = "";
694
+ this.state = "query";
695
+ }
696
+ if (c === p("#")) {
697
+ this.url.fragment = "";
698
+ this.state = "fragment";
699
+ }
700
+ } else {
701
+ if (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) this.parseError = true;
702
+ this.buffer += utf8PercentEncodeCodePoint(c, isPathPercentEncode);
703
+ }
704
+ return true;
705
+ };
706
+ URLStateMachine.prototype["parse opaque path"] = function parseOpaquePath(c) {
707
+ if (c === p("?")) {
708
+ this.url.query = "";
709
+ this.state = "query";
710
+ } else if (c === p("#")) {
711
+ this.url.fragment = "";
712
+ this.state = "fragment";
713
+ } else if (c === p(" ")) {
714
+ const remaining = this.input[this.pointer + 1];
715
+ if (remaining === p("?") || remaining === p("#")) this.url.path += "%20";
716
+ else this.url.path += " ";
717
+ } else {
718
+ if (!isNaN(c) && c !== p("%")) this.parseError = true;
719
+ if (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) this.parseError = true;
720
+ if (!isNaN(c)) this.url.path += utf8PercentEncodeCodePoint(c, isC0ControlPercentEncode);
721
+ }
722
+ return true;
723
+ };
724
+ URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) {
725
+ if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") this.encodingOverride = "utf-8";
726
+ if (!this.stateOverride && c === p("#") || isNaN(c)) {
727
+ const queryPercentEncodePredicate = isSpecial(this.url) ? isSpecialQueryPercentEncode : isQueryPercentEncode;
728
+ this.url.query += utf8PercentEncodeString(this.buffer, queryPercentEncodePredicate);
729
+ this.buffer = "";
730
+ if (c === p("#")) {
731
+ this.url.fragment = "";
732
+ this.state = "fragment";
733
+ }
734
+ } else if (!isNaN(c)) {
735
+ if (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) this.parseError = true;
736
+ this.buffer += cStr;
737
+ }
738
+ return true;
739
+ };
740
+ URLStateMachine.prototype["parse fragment"] = function parseFragment(c) {
741
+ if (!isNaN(c)) {
742
+ if (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) this.parseError = true;
743
+ this.url.fragment += utf8PercentEncodeCodePoint(c, isFragmentPercentEncode);
744
+ }
745
+ return true;
746
+ };
747
+ function serializeURL(url, excludeFragment) {
748
+ let output = `${url.scheme}:`;
749
+ if (url.host !== null) {
750
+ output += "//";
751
+ if (url.username !== "" || url.password !== "") {
752
+ output += url.username;
753
+ if (url.password !== "") output += `:${url.password}`;
754
+ output += "@";
755
+ }
756
+ output += serializeHost(url.host);
757
+ if (url.port !== null) output += `:${url.port}`;
758
+ }
759
+ if (url.host === null && !hasAnOpaquePath(url) && url.path.length > 1 && url.path[0] === "") output += "/.";
760
+ output += serializePath(url);
761
+ if (url.query !== null) output += `?${url.query}`;
762
+ if (!excludeFragment && url.fragment !== null) output += `#${url.fragment}`;
763
+ return output;
764
+ }
765
+ function serializeOrigin(tuple) {
766
+ let result = `${tuple.scheme}://`;
767
+ result += serializeHost(tuple.host);
768
+ if (tuple.port !== null) result += `:${tuple.port}`;
769
+ return result;
770
+ }
771
+ function serializePath(url) {
772
+ if (hasAnOpaquePath(url)) return url.path;
773
+ let output = "";
774
+ for (const segment of url.path) output += `/${segment}`;
775
+ return output;
776
+ }
777
+ module.exports.serializeURL = serializeURL;
778
+ module.exports.serializePath = serializePath;
779
+ module.exports.serializeURLOrigin = function(url) {
780
+ switch (url.scheme) {
781
+ case "blob": {
782
+ const pathURL = module.exports.parseURL(serializePath(url));
783
+ if (pathURL === null) return "null";
784
+ if (pathURL.scheme !== "http" && pathURL.scheme !== "https") return "null";
785
+ return module.exports.serializeURLOrigin(pathURL);
786
+ }
787
+ case "ftp":
788
+ case "http":
789
+ case "https":
790
+ case "ws":
791
+ case "wss": return serializeOrigin({
792
+ scheme: url.scheme,
793
+ host: url.host,
794
+ port: url.port
795
+ });
796
+ case "file": return "null";
797
+ default: return "null";
798
+ }
799
+ };
800
+ module.exports.basicURLParse = function(input, options) {
801
+ if (options === void 0) options = {};
802
+ const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);
803
+ if (usm.failure) return null;
804
+ return usm.url;
805
+ };
806
+ module.exports.setTheUsername = function(url, username) {
807
+ url.username = utf8PercentEncodeString(username, isUserinfoPercentEncode);
808
+ };
809
+ module.exports.setThePassword = function(url, password) {
810
+ url.password = utf8PercentEncodeString(password, isUserinfoPercentEncode);
811
+ };
812
+ module.exports.serializeHost = serializeHost;
813
+ module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;
814
+ module.exports.hasAnOpaquePath = hasAnOpaquePath;
815
+ module.exports.serializeInteger = function(integer) {
816
+ return String(integer);
817
+ };
818
+ module.exports.parseURL = function(input, options) {
819
+ if (options === void 0) options = {};
820
+ return module.exports.basicURLParse(input, {
821
+ baseURL: options.baseURL,
822
+ encodingOverride: options.encodingOverride
823
+ });
824
+ };
825
+ }));
826
+
827
+ //#endregion
828
+ export default require_url_state_machine();
829
+
830
+ export { require_url_state_machine };
831
+ //# sourceMappingURL=url-state-machine.mjs.map