@openclaw/matrix 2026.5.20 → 2026.5.24-beta.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 (4520) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/{approval-handler.runtime-Dd07_8Bl.js → approval-handler.runtime-Bb6fxC96.js} +1 -1
  3. package/dist/{channel-D_CwbxZT.js → channel-nkcpZsMB.js} +2 -2
  4. package/dist/channel-plugin-api.js +1 -1
  5. package/dist/{monitor-BbxdWm4v.js → monitor-C-it5ue9.js} +23 -1
  6. package/dist/test-api.js +1 -1
  7. package/node_modules/@babel/runtime/LICENSE +22 -0
  8. package/node_modules/@babel/runtime/README.md +19 -0
  9. package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  10. package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  11. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  12. package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  13. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  15. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  16. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  17. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  18. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  19. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  20. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  21. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  22. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  23. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  24. package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  25. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  26. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  27. package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  28. package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  29. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  30. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  33. package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  34. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  36. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  37. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  38. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  46. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  47. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  50. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  51. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  56. package/node_modules/@babel/runtime/helpers/construct.js +10 -0
  57. package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  58. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  60. package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  61. package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  62. package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  63. package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  64. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  65. package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  66. package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  67. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  68. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  69. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  76. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  77. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  79. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  80. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  81. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  82. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  83. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  84. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  85. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  86. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  87. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  88. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  91. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  92. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  94. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  95. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  96. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  109. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  114. package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  115. package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  116. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  118. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  119. package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  120. package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  121. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  122. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  123. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  124. package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  125. package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  126. package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  127. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  128. package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  129. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  130. package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  131. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  132. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  133. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  134. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  135. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  137. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  139. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  141. package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  142. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  143. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  144. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  146. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  147. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  148. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  150. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  152. package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  153. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  154. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  155. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  156. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  157. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  163. package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  164. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  165. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  166. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  167. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  168. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  169. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  170. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  171. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  172. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  173. package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  174. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  175. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  176. package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  177. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  178. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  179. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  180. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  181. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  182. package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  183. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  184. package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  185. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  186. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
  187. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  188. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  189. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  190. package/node_modules/@babel/runtime/helpers/extends.js +10 -0
  191. package/node_modules/@babel/runtime/helpers/get.js +11 -0
  192. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  193. package/node_modules/@babel/runtime/helpers/identity.js +4 -0
  194. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  195. package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  196. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  197. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  198. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  199. package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  200. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  201. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  202. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  203. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  204. package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  205. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  206. package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  207. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  208. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  209. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  210. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  211. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  212. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  213. package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  214. package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  215. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  216. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  217. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  218. package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  219. package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  220. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  221. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  223. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  224. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  225. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  226. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  227. package/node_modules/@babel/runtime/helpers/set.js +22 -0
  228. package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  229. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  230. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  231. package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  232. package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  233. package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  234. package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  235. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  236. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  237. package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  238. package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  239. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  240. package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  241. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  242. package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  243. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  244. package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  245. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  246. package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  247. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  248. package/node_modules/@babel/runtime/helpers/using.js +12 -0
  249. package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  250. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
  251. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  252. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  253. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  254. package/node_modules/@babel/runtime/package.json +1107 -0
  255. package/node_modules/@babel/runtime/regenerator/index.js +15 -0
  256. package/node_modules/@borewit/text-codec/LICENSE.txt +9 -0
  257. package/node_modules/@borewit/text-codec/README.md +87 -0
  258. package/node_modules/@borewit/text-codec/lib/index.d.ts +6 -0
  259. package/node_modules/@borewit/text-codec/lib/index.js +380 -0
  260. package/node_modules/@borewit/text-codec/package.json +70 -0
  261. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/.node-version +1 -0
  262. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/CHANGELOG.md +104 -0
  263. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/LICENSE +177 -0
  264. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/README.md +225 -0
  265. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/RELEASING.md +15 -0
  266. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js +128 -0
  267. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.d.ts +989 -0
  268. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js +357 -0
  269. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/package.json +43 -0
  270. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/LICENSE +177 -0
  271. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/README.md +134 -0
  272. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index-wasm-esm.mjs +77 -0
  273. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.cjs +81 -0
  274. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.d.ts +49 -0
  275. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.mjs +83 -0
  276. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.cjs +128 -0
  277. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.mjs +125 -0
  278. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +88 -0
  279. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +5072 -0
  280. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +12674 -0
  281. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +12051 -0
  282. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  283. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +697 -0
  284. package/node_modules/@tokenizer/inflate/LICENSE +15 -0
  285. package/node_modules/@tokenizer/inflate/README.md +114 -0
  286. package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +6 -0
  287. package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +19 -0
  288. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +26 -0
  289. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +233 -0
  290. package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +94 -0
  291. package/node_modules/@tokenizer/inflate/lib/ZipToken.js +117 -0
  292. package/node_modules/@tokenizer/inflate/lib/index.d.ts +3 -0
  293. package/node_modules/@tokenizer/inflate/lib/index.js +2 -0
  294. package/node_modules/@tokenizer/inflate/package.json +76 -0
  295. package/node_modules/@tokenizer/token/README.md +19 -0
  296. package/node_modules/@tokenizer/token/index.d.ts +30 -0
  297. package/node_modules/@tokenizer/token/package.json +33 -0
  298. package/node_modules/@types/events/LICENSE +21 -0
  299. package/node_modules/@types/events/README.md +41 -0
  300. package/node_modules/@types/events/index.d.ts +22 -0
  301. package/node_modules/@types/events/package.json +30 -0
  302. package/node_modules/agent-base/LICENSE +22 -0
  303. package/node_modules/agent-base/README.md +69 -0
  304. package/node_modules/agent-base/dist/helpers.d.ts +15 -0
  305. package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  306. package/node_modules/agent-base/dist/helpers.js +66 -0
  307. package/node_modules/agent-base/dist/helpers.js.map +1 -0
  308. package/node_modules/agent-base/dist/index.d.ts +41 -0
  309. package/node_modules/agent-base/dist/index.d.ts.map +1 -0
  310. package/node_modules/agent-base/dist/index.js +178 -0
  311. package/node_modules/agent-base/dist/index.js.map +1 -0
  312. package/node_modules/agent-base/package.json +46 -0
  313. package/node_modules/another-json/.jshint +11 -0
  314. package/node_modules/another-json/.npmignore +2 -0
  315. package/node_modules/another-json/.travis.yml +3 -0
  316. package/node_modules/another-json/LICENSE +177 -0
  317. package/node_modules/another-json/README.md +17 -0
  318. package/node_modules/another-json/another-json.js +93 -0
  319. package/node_modules/another-json/package.json +28 -0
  320. package/node_modules/another-json/spec/another-json-spec.js +100 -0
  321. package/node_modules/argparse/CHANGELOG.md +216 -0
  322. package/node_modules/argparse/LICENSE +254 -0
  323. package/node_modules/argparse/README.md +84 -0
  324. package/node_modules/argparse/argparse.js +3707 -0
  325. package/node_modules/argparse/lib/sub.js +67 -0
  326. package/node_modules/argparse/lib/textwrap.js +440 -0
  327. package/node_modules/argparse/package.json +31 -0
  328. package/node_modules/base-x/LICENSE.md +22 -0
  329. package/node_modules/base-x/README.md +74 -0
  330. package/node_modules/base-x/package.json +58 -0
  331. package/node_modules/base-x/src/cjs/index.cjs +126 -0
  332. package/node_modules/base-x/src/cjs/index.d.ts +9 -0
  333. package/node_modules/base-x/src/esm/index.js +124 -0
  334. package/node_modules/bs58/LICENSE +21 -0
  335. package/node_modules/bs58/README.md +91 -0
  336. package/node_modules/bs58/package.json +54 -0
  337. package/node_modules/bs58/src/cjs/index.cjs +8 -0
  338. package/node_modules/bs58/src/cjs/index.d.ts +3 -0
  339. package/node_modules/bs58/src/esm/index.js +3 -0
  340. package/node_modules/content-type/HISTORY.md +29 -0
  341. package/node_modules/content-type/LICENSE +22 -0
  342. package/node_modules/content-type/README.md +94 -0
  343. package/node_modules/content-type/index.js +225 -0
  344. package/node_modules/content-type/package.json +42 -0
  345. package/node_modules/debug/LICENSE +20 -0
  346. package/node_modules/debug/README.md +481 -0
  347. package/node_modules/debug/package.json +64 -0
  348. package/node_modules/debug/src/browser.js +272 -0
  349. package/node_modules/debug/src/common.js +292 -0
  350. package/node_modules/debug/src/index.js +10 -0
  351. package/node_modules/debug/src/node.js +263 -0
  352. package/node_modules/entities/LICENSE +11 -0
  353. package/node_modules/entities/lib/decode.d.ts +211 -0
  354. package/node_modules/entities/lib/decode.d.ts.map +1 -0
  355. package/node_modules/entities/lib/decode.js +536 -0
  356. package/node_modules/entities/lib/decode.js.map +1 -0
  357. package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  358. package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  359. package/node_modules/entities/lib/decode_codepoint.js +76 -0
  360. package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  361. package/node_modules/entities/lib/encode.d.ts +22 -0
  362. package/node_modules/entities/lib/encode.d.ts.map +1 -0
  363. package/node_modules/entities/lib/encode.js +77 -0
  364. package/node_modules/entities/lib/encode.js.map +1 -0
  365. package/node_modules/entities/lib/escape.d.ts +43 -0
  366. package/node_modules/entities/lib/escape.d.ts.map +1 -0
  367. package/node_modules/entities/lib/escape.js +122 -0
  368. package/node_modules/entities/lib/escape.js.map +1 -0
  369. package/node_modules/entities/lib/esm/decode.d.ts +211 -0
  370. package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  371. package/node_modules/entities/lib/esm/decode.js +496 -0
  372. package/node_modules/entities/lib/esm/decode.js.map +1 -0
  373. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  374. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  375. package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  376. package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  377. package/node_modules/entities/lib/esm/encode.d.ts +22 -0
  378. package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  379. package/node_modules/entities/lib/esm/encode.js +69 -0
  380. package/node_modules/entities/lib/esm/encode.js.map +1 -0
  381. package/node_modules/entities/lib/esm/escape.d.ts +43 -0
  382. package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  383. package/node_modules/entities/lib/esm/escape.js +116 -0
  384. package/node_modules/entities/lib/esm/escape.js.map +1 -0
  385. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  386. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  387. package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  388. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  389. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  390. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  391. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  392. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  393. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  394. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  395. package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  396. package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  397. package/node_modules/entities/lib/esm/index.d.ts +96 -0
  398. package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  399. package/node_modules/entities/lib/esm/index.js +99 -0
  400. package/node_modules/entities/lib/esm/index.js.map +1 -0
  401. package/node_modules/entities/lib/esm/package.json +1 -0
  402. package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  403. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  404. package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  405. package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  406. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  407. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  408. package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  409. package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  410. package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  411. package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  412. package/node_modules/entities/lib/generated/encode-html.js +12 -0
  413. package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  414. package/node_modules/entities/lib/index.d.ts +96 -0
  415. package/node_modules/entities/lib/index.d.ts.map +1 -0
  416. package/node_modules/entities/lib/index.js +126 -0
  417. package/node_modules/entities/lib/index.js.map +1 -0
  418. package/node_modules/entities/package.json +90 -0
  419. package/node_modules/entities/readme.md +122 -0
  420. package/node_modules/events/.airtap.yml +15 -0
  421. package/node_modules/events/.github/FUNDING.yml +12 -0
  422. package/node_modules/events/.travis.yml +18 -0
  423. package/node_modules/events/History.md +118 -0
  424. package/node_modules/events/LICENSE +22 -0
  425. package/node_modules/events/Readme.md +50 -0
  426. package/node_modules/events/events.js +497 -0
  427. package/node_modules/events/package.json +37 -0
  428. package/node_modules/events/security.md +10 -0
  429. package/node_modules/events/tests/add-listeners.js +111 -0
  430. package/node_modules/events/tests/check-listener-leaks.js +101 -0
  431. package/node_modules/events/tests/common.js +104 -0
  432. package/node_modules/events/tests/errors.js +13 -0
  433. package/node_modules/events/tests/events-list.js +28 -0
  434. package/node_modules/events/tests/events-once.js +234 -0
  435. package/node_modules/events/tests/index.js +64 -0
  436. package/node_modules/events/tests/legacy-compat.js +16 -0
  437. package/node_modules/events/tests/listener-count.js +37 -0
  438. package/node_modules/events/tests/listeners-side-effects.js +56 -0
  439. package/node_modules/events/tests/listeners.js +168 -0
  440. package/node_modules/events/tests/max-listeners.js +47 -0
  441. package/node_modules/events/tests/method-names.js +35 -0
  442. package/node_modules/events/tests/modify-in-emit.js +90 -0
  443. package/node_modules/events/tests/num-args.js +60 -0
  444. package/node_modules/events/tests/once.js +83 -0
  445. package/node_modules/events/tests/prepend.js +31 -0
  446. package/node_modules/events/tests/remove-all-listeners.js +133 -0
  447. package/node_modules/events/tests/remove-listeners.js +212 -0
  448. package/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
  449. package/node_modules/events/tests/special-event-names.js +45 -0
  450. package/node_modules/events/tests/subclass.js +66 -0
  451. package/node_modules/events/tests/symbols.js +25 -0
  452. package/node_modules/fake-indexeddb/LICENSE +209 -0
  453. package/node_modules/fake-indexeddb/README.md +245 -0
  454. package/node_modules/fake-indexeddb/auto/index.js +52 -0
  455. package/node_modules/fake-indexeddb/auto/index.mjs +52 -0
  456. package/node_modules/fake-indexeddb/auto/package.json +3 -0
  457. package/node_modules/fake-indexeddb/auto.d.ts +1 -0
  458. package/node_modules/fake-indexeddb/build/cjs/FDBCursor.js +480 -0
  459. package/node_modules/fake-indexeddb/build/cjs/FDBCursorWithValue.js +19 -0
  460. package/node_modules/fake-indexeddb/build/cjs/FDBDatabase.js +179 -0
  461. package/node_modules/fake-indexeddb/build/cjs/FDBFactory.js +414 -0
  462. package/node_modules/fake-indexeddb/build/cjs/FDBIndex.js +217 -0
  463. package/node_modules/fake-indexeddb/build/cjs/FDBKeyRange.js +78 -0
  464. package/node_modules/fake-indexeddb/build/cjs/FDBObjectStore.js +409 -0
  465. package/node_modules/fake-indexeddb/build/cjs/FDBOpenDBRequest.js +17 -0
  466. package/node_modules/fake-indexeddb/build/cjs/FDBRecord.js +36 -0
  467. package/node_modules/fake-indexeddb/build/cjs/FDBRequest.js +41 -0
  468. package/node_modules/fake-indexeddb/build/cjs/FDBTransaction.js +272 -0
  469. package/node_modules/fake-indexeddb/build/cjs/FDBVersionChangeEvent.js +20 -0
  470. package/node_modules/fake-indexeddb/build/cjs/fakeIndexedDB.js +11 -0
  471. package/node_modules/fake-indexeddb/build/cjs/forceCloseDatabase.js +29 -0
  472. package/node_modules/fake-indexeddb/build/cjs/index.js +106 -0
  473. package/node_modules/fake-indexeddb/build/cjs/lib/Database.js +51 -0
  474. package/node_modules/fake-indexeddb/build/cjs/lib/FakeDOMStringList.js +48 -0
  475. package/node_modules/fake-indexeddb/build/cjs/lib/FakeEvent.js +45 -0
  476. package/node_modules/fake-indexeddb/build/cjs/lib/FakeEventTarget.js +127 -0
  477. package/node_modules/fake-indexeddb/build/cjs/lib/Index.js +180 -0
  478. package/node_modules/fake-indexeddb/build/cjs/lib/KeyGenerator.js +29 -0
  479. package/node_modules/fake-indexeddb/build/cjs/lib/ObjectStore.js +246 -0
  480. package/node_modules/fake-indexeddb/build/cjs/lib/RecordStore.js +112 -0
  481. package/node_modules/fake-indexeddb/build/cjs/lib/binarySearchTree.js +308 -0
  482. package/node_modules/fake-indexeddb/build/cjs/lib/canInjectKey.js +30 -0
  483. package/node_modules/fake-indexeddb/build/cjs/lib/cloneValueForInsertion.js +30 -0
  484. package/node_modules/fake-indexeddb/build/cjs/lib/closeConnection.js +36 -0
  485. package/node_modules/fake-indexeddb/build/cjs/lib/cmp.js +85 -0
  486. package/node_modules/fake-indexeddb/build/cjs/lib/enforceRange.js +20 -0
  487. package/node_modules/fake-indexeddb/build/cjs/lib/errors.js +100 -0
  488. package/node_modules/fake-indexeddb/build/cjs/lib/extractGetAllOptions.js +40 -0
  489. package/node_modules/fake-indexeddb/build/cjs/lib/extractKey.js +61 -0
  490. package/node_modules/fake-indexeddb/build/cjs/lib/getKeyPath.js +16 -0
  491. package/node_modules/fake-indexeddb/build/cjs/lib/intersection.js +18 -0
  492. package/node_modules/fake-indexeddb/build/cjs/lib/isPotentiallyValidKeyRange.js +26 -0
  493. package/node_modules/fake-indexeddb/build/cjs/lib/isSharedArrayBuffer.js +10 -0
  494. package/node_modules/fake-indexeddb/build/cjs/lib/scheduling.js +46 -0
  495. package/node_modules/fake-indexeddb/build/cjs/lib/types.js +1 -0
  496. package/node_modules/fake-indexeddb/build/cjs/lib/validateKeyPath.js +54 -0
  497. package/node_modules/fake-indexeddb/build/cjs/lib/validateRequiredArguments.js +13 -0
  498. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKey.js +22 -0
  499. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyRange.js +26 -0
  500. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyWithoutThrowing.js +102 -0
  501. package/node_modules/fake-indexeddb/build/cjs/package.json +1 -0
  502. package/node_modules/fake-indexeddb/build/esm/FDBCursor.js +472 -0
  503. package/node_modules/fake-indexeddb/build/esm/FDBCursorWithValue.js +11 -0
  504. package/node_modules/fake-indexeddb/build/esm/FDBDatabase.js +171 -0
  505. package/node_modules/fake-indexeddb/build/esm/FDBFactory.js +406 -0
  506. package/node_modules/fake-indexeddb/build/esm/FDBIndex.js +209 -0
  507. package/node_modules/fake-indexeddb/build/esm/FDBKeyRange.js +70 -0
  508. package/node_modules/fake-indexeddb/build/esm/FDBObjectStore.js +401 -0
  509. package/node_modules/fake-indexeddb/build/esm/FDBOpenDBRequest.js +9 -0
  510. package/node_modules/fake-indexeddb/build/esm/FDBRecord.js +29 -0
  511. package/node_modules/fake-indexeddb/build/esm/FDBRequest.js +33 -0
  512. package/node_modules/fake-indexeddb/build/esm/FDBTransaction.js +264 -0
  513. package/node_modules/fake-indexeddb/build/esm/FDBVersionChangeEvent.js +12 -0
  514. package/node_modules/fake-indexeddb/build/esm/fakeIndexedDB.js +3 -0
  515. package/node_modules/fake-indexeddb/build/esm/forceCloseDatabase.js +21 -0
  516. package/node_modules/fake-indexeddb/build/esm/index.js +16 -0
  517. package/node_modules/fake-indexeddb/build/esm/lib/Database.js +44 -0
  518. package/node_modules/fake-indexeddb/build/esm/lib/FakeDOMStringList.js +41 -0
  519. package/node_modules/fake-indexeddb/build/esm/lib/FakeEvent.js +38 -0
  520. package/node_modules/fake-indexeddb/build/esm/lib/FakeEventTarget.js +120 -0
  521. package/node_modules/fake-indexeddb/build/esm/lib/Index.js +172 -0
  522. package/node_modules/fake-indexeddb/build/esm/lib/KeyGenerator.js +22 -0
  523. package/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js +238 -0
  524. package/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js +104 -0
  525. package/node_modules/fake-indexeddb/build/esm/lib/binarySearchTree.js +299 -0
  526. package/node_modules/fake-indexeddb/build/esm/lib/canInjectKey.js +23 -0
  527. package/node_modules/fake-indexeddb/build/esm/lib/cloneValueForInsertion.js +24 -0
  528. package/node_modules/fake-indexeddb/build/esm/lib/closeConnection.js +28 -0
  529. package/node_modules/fake-indexeddb/build/esm/lib/cmp.js +77 -0
  530. package/node_modules/fake-indexeddb/build/esm/lib/enforceRange.js +13 -0
  531. package/node_modules/fake-indexeddb/build/esm/lib/errors.js +83 -0
  532. package/node_modules/fake-indexeddb/build/esm/lib/extractGetAllOptions.js +32 -0
  533. package/node_modules/fake-indexeddb/build/esm/lib/extractKey.js +53 -0
  534. package/node_modules/fake-indexeddb/build/esm/lib/getKeyPath.js +10 -0
  535. package/node_modules/fake-indexeddb/build/esm/lib/intersection.js +12 -0
  536. package/node_modules/fake-indexeddb/build/esm/lib/isPotentiallyValidKeyRange.js +18 -0
  537. package/node_modules/fake-indexeddb/build/esm/lib/isSharedArrayBuffer.js +3 -0
  538. package/node_modules/fake-indexeddb/build/esm/lib/scheduling.js +39 -0
  539. package/node_modules/fake-indexeddb/build/esm/lib/types.js +1 -0
  540. package/node_modules/fake-indexeddb/build/esm/lib/validateKeyPath.js +47 -0
  541. package/node_modules/fake-indexeddb/build/esm/lib/validateRequiredArguments.js +7 -0
  542. package/node_modules/fake-indexeddb/build/esm/lib/valueToKey.js +14 -0
  543. package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyRange.js +19 -0
  544. package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyWithoutThrowing.js +95 -0
  545. package/node_modules/fake-indexeddb/lib/FDBCursor.d.ts +2 -0
  546. package/node_modules/fake-indexeddb/lib/FDBCursor.js +1 -0
  547. package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.d.ts +2 -0
  548. package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.js +1 -0
  549. package/node_modules/fake-indexeddb/lib/FDBDatabase.d.ts +2 -0
  550. package/node_modules/fake-indexeddb/lib/FDBDatabase.js +1 -0
  551. package/node_modules/fake-indexeddb/lib/FDBFactory.d.ts +2 -0
  552. package/node_modules/fake-indexeddb/lib/FDBFactory.js +1 -0
  553. package/node_modules/fake-indexeddb/lib/FDBIndex.d.ts +2 -0
  554. package/node_modules/fake-indexeddb/lib/FDBIndex.js +1 -0
  555. package/node_modules/fake-indexeddb/lib/FDBKeyRange.d.ts +2 -0
  556. package/node_modules/fake-indexeddb/lib/FDBKeyRange.js +1 -0
  557. package/node_modules/fake-indexeddb/lib/FDBObjectStore.d.ts +2 -0
  558. package/node_modules/fake-indexeddb/lib/FDBObjectStore.js +1 -0
  559. package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.d.ts +2 -0
  560. package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.js +1 -0
  561. package/node_modules/fake-indexeddb/lib/FDBRequest.d.ts +2 -0
  562. package/node_modules/fake-indexeddb/lib/FDBRequest.js +1 -0
  563. package/node_modules/fake-indexeddb/lib/FDBTransaction.d.ts +2 -0
  564. package/node_modules/fake-indexeddb/lib/FDBTransaction.js +1 -0
  565. package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.d.ts +2 -0
  566. package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.js +1 -0
  567. package/node_modules/fake-indexeddb/lib/README.md +5 -0
  568. package/node_modules/fake-indexeddb/lib/fakeIndexedDB.d.ts +2 -0
  569. package/node_modules/fake-indexeddb/lib/package.json +3 -0
  570. package/node_modules/fake-indexeddb/package.json +151 -0
  571. package/node_modules/fake-indexeddb/types.d.ts +33 -0
  572. package/node_modules/file-type/license +9 -0
  573. package/node_modules/file-type/package.json +274 -0
  574. package/node_modules/file-type/readme.md +597 -0
  575. package/node_modules/file-type/source/detectors/asf.js +127 -0
  576. package/node_modules/file-type/source/detectors/ebml.js +120 -0
  577. package/node_modules/file-type/source/detectors/png.js +123 -0
  578. package/node_modules/file-type/source/detectors/zip.js +643 -0
  579. package/node_modules/file-type/source/index.d.ts +280 -0
  580. package/node_modules/file-type/source/index.js +1917 -0
  581. package/node_modules/file-type/source/index.test-d.ts +53 -0
  582. package/node_modules/file-type/source/parser.js +65 -0
  583. package/node_modules/file-type/source/supported.js +368 -0
  584. package/node_modules/file-type/source/tokens.js +60 -0
  585. package/node_modules/https-proxy-agent/LICENSE +22 -0
  586. package/node_modules/https-proxy-agent/README.md +70 -0
  587. package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
  588. package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  589. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  590. package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  591. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
  592. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  593. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  594. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  595. package/node_modules/https-proxy-agent/package.json +50 -0
  596. package/node_modules/ieee754/LICENSE +11 -0
  597. package/node_modules/ieee754/README.md +51 -0
  598. package/node_modules/ieee754/index.d.ts +10 -0
  599. package/node_modules/ieee754/index.js +85 -0
  600. package/node_modules/ieee754/package.json +52 -0
  601. package/node_modules/is-network-error/index.d.ts +26 -0
  602. package/node_modules/is-network-error/index.js +47 -0
  603. package/node_modules/is-network-error/license +9 -0
  604. package/node_modules/is-network-error/package.json +43 -0
  605. package/node_modules/is-network-error/readme.md +44 -0
  606. package/node_modules/jwt-decode/LICENSE +21 -0
  607. package/node_modules/jwt-decode/README.md +134 -0
  608. package/node_modules/jwt-decode/build/cjs/index.d.ts +23 -0
  609. package/node_modules/jwt-decode/build/cjs/index.js +62 -0
  610. package/node_modules/jwt-decode/build/cjs/package.json +1 -0
  611. package/node_modules/jwt-decode/build/esm/index.d.ts +23 -0
  612. package/node_modules/jwt-decode/build/esm/index.js +57 -0
  613. package/node_modules/jwt-decode/package.json +81 -0
  614. package/node_modules/linkify-it/LICENSE +22 -0
  615. package/node_modules/linkify-it/README.md +196 -0
  616. package/node_modules/linkify-it/build/index.cjs.js +832 -0
  617. package/node_modules/linkify-it/index.mjs +642 -0
  618. package/node_modules/linkify-it/lib/re.mjs +189 -0
  619. package/node_modules/linkify-it/package.json +58 -0
  620. package/node_modules/loglevel/.editorconfig +27 -0
  621. package/node_modules/loglevel/CONTRIBUTING.md +98 -0
  622. package/node_modules/loglevel/Gruntfile.js +165 -0
  623. package/node_modules/loglevel/LICENSE-MIT +22 -0
  624. package/node_modules/loglevel/README.md +408 -0
  625. package/node_modules/loglevel/_config.yml +1 -0
  626. package/node_modules/loglevel/bower.json +11 -0
  627. package/node_modules/loglevel/demo/index.html +139 -0
  628. package/node_modules/loglevel/demo/script.js +86 -0
  629. package/node_modules/loglevel/demo/styles.css +107 -0
  630. package/node_modules/loglevel/dist/loglevel.js +352 -0
  631. package/node_modules/loglevel/dist/loglevel.min.js +3 -0
  632. package/node_modules/loglevel/index.d.ts +203 -0
  633. package/node_modules/loglevel/lib/loglevel.js +357 -0
  634. package/node_modules/loglevel/package.json +63 -0
  635. package/node_modules/markdown-it/LICENSE +22 -0
  636. package/node_modules/markdown-it/README.md +324 -0
  637. package/node_modules/markdown-it/bin/markdown-it.mjs +107 -0
  638. package/node_modules/markdown-it/dist/index.cjs.js +5547 -0
  639. package/node_modules/markdown-it/dist/markdown-it.js +6969 -0
  640. package/node_modules/markdown-it/dist/markdown-it.min.js +2 -0
  641. package/node_modules/markdown-it/index.mjs +1 -0
  642. package/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
  643. package/node_modules/markdown-it/lib/common/html_re.mjs +25 -0
  644. package/node_modules/markdown-it/lib/common/utils.mjs +304 -0
  645. package/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
  646. package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +77 -0
  647. package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +49 -0
  648. package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +66 -0
  649. package/node_modules/markdown-it/lib/index.mjs +565 -0
  650. package/node_modules/markdown-it/lib/parser_block.mjs +134 -0
  651. package/node_modules/markdown-it/lib/parser_core.mjs +62 -0
  652. package/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
  653. package/node_modules/markdown-it/lib/presets/commonmark.mjs +88 -0
  654. package/node_modules/markdown-it/lib/presets/default.mjs +47 -0
  655. package/node_modules/markdown-it/lib/presets/zero.mjs +70 -0
  656. package/node_modules/markdown-it/lib/renderer.mjs +322 -0
  657. package/node_modules/markdown-it/lib/ruler.mjs +340 -0
  658. package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +209 -0
  659. package/node_modules/markdown-it/lib/rules_block/code.mjs +30 -0
  660. package/node_modules/markdown-it/lib/rules_block/fence.mjs +94 -0
  661. package/node_modules/markdown-it/lib/rules_block/heading.mjs +51 -0
  662. package/node_modules/markdown-it/lib/rules_block/hr.mjs +40 -0
  663. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +69 -0
  664. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +82 -0
  665. package/node_modules/markdown-it/lib/rules_block/list.mjs +331 -0
  666. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +46 -0
  667. package/node_modules/markdown-it/lib/rules_block/reference.mjs +212 -0
  668. package/node_modules/markdown-it/lib/rules_block/state_block.mjs +220 -0
  669. package/node_modules/markdown-it/lib/rules_block/table.mjs +228 -0
  670. package/node_modules/markdown-it/lib/rules_core/block.mjs +13 -0
  671. package/node_modules/markdown-it/lib/rules_core/inline.mjs +11 -0
  672. package/node_modules/markdown-it/lib/rules_core/linkify.mjs +134 -0
  673. package/node_modules/markdown-it/lib/rules_core/normalize.mjs +17 -0
  674. package/node_modules/markdown-it/lib/rules_core/replacements.mjs +101 -0
  675. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +193 -0
  676. package/node_modules/markdown-it/lib/rules_core/state_core.mjs +17 -0
  677. package/node_modules/markdown-it/lib/rules_core/text_join.mjs +43 -0
  678. package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +72 -0
  679. package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +60 -0
  680. package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +124 -0
  681. package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +123 -0
  682. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
  683. package/node_modules/markdown-it/lib/rules_inline/escape.mjs +69 -0
  684. package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +38 -0
  685. package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +50 -0
  686. package/node_modules/markdown-it/lib/rules_inline/image.mjs +138 -0
  687. package/node_modules/markdown-it/lib/rules_inline/link.mjs +139 -0
  688. package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +63 -0
  689. package/node_modules/markdown-it/lib/rules_inline/newline.mjs +42 -0
  690. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +123 -0
  691. package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +127 -0
  692. package/node_modules/markdown-it/lib/rules_inline/text.mjs +86 -0
  693. package/node_modules/markdown-it/lib/token.mjs +191 -0
  694. package/node_modules/markdown-it/package.json +92 -0
  695. package/node_modules/matrix-events-sdk/LICENSE +201 -0
  696. package/node_modules/matrix-events-sdk/README.md +78 -0
  697. package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.d.ts +74 -0
  698. package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.js +189 -0
  699. package/node_modules/matrix-events-sdk/lib/IPartialEvent.d.ts +7 -0
  700. package/node_modules/matrix-events-sdk/lib/IPartialEvent.js +5 -0
  701. package/node_modules/matrix-events-sdk/lib/InvalidEventError.d.ts +6 -0
  702. package/node_modules/matrix-events-sdk/lib/InvalidEventError.js +69 -0
  703. package/node_modules/matrix-events-sdk/lib/NamespacedMap.d.ts +55 -0
  704. package/node_modules/matrix-events-sdk/lib/NamespacedMap.js +149 -0
  705. package/node_modules/matrix-events-sdk/lib/NamespacedValue.d.ts +24 -0
  706. package/node_modules/matrix-events-sdk/lib/NamespacedValue.js +166 -0
  707. package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.d.ts +21 -0
  708. package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.js +99 -0
  709. package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.d.ts +38 -0
  710. package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.js +60 -0
  711. package/node_modules/matrix-events-sdk/lib/events/MessageEvent.d.ts +58 -0
  712. package/node_modules/matrix-events-sdk/lib/events/MessageEvent.js +214 -0
  713. package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.d.ts +21 -0
  714. package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.js +99 -0
  715. package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.d.ts +33 -0
  716. package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.js +138 -0
  717. package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.d.ts +49 -0
  718. package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.js +198 -0
  719. package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.d.ts +71 -0
  720. package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.js +287 -0
  721. package/node_modules/matrix-events-sdk/lib/events/message_types.d.ts +81 -0
  722. package/node_modules/matrix-events-sdk/lib/events/message_types.js +74 -0
  723. package/node_modules/matrix-events-sdk/lib/events/poll_types.d.ts +89 -0
  724. package/node_modules/matrix-events-sdk/lib/events/poll_types.js +70 -0
  725. package/node_modules/matrix-events-sdk/lib/events/relationship_types.d.ts +19 -0
  726. package/node_modules/matrix-events-sdk/lib/events/relationship_types.js +34 -0
  727. package/node_modules/matrix-events-sdk/lib/index.d.ts +21 -0
  728. package/node_modules/matrix-events-sdk/lib/index.js +278 -0
  729. package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.d.ts +12 -0
  730. package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.js +62 -0
  731. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.d.ts +5 -0
  732. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.js +40 -0
  733. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.d.ts +10 -0
  734. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.js +41 -0
  735. package/node_modules/matrix-events-sdk/lib/types.d.ts +34 -0
  736. package/node_modules/matrix-events-sdk/lib/types.js +49 -0
  737. package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.d.ts +20 -0
  738. package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.js +59 -0
  739. package/node_modules/matrix-events-sdk/lib/utility/events.d.ts +13 -0
  740. package/node_modules/matrix-events-sdk/lib/utility/events.js +51 -0
  741. package/node_modules/matrix-events-sdk/package.json +48 -0
  742. package/node_modules/matrix-js-sdk/CHANGELOG.md +6509 -0
  743. package/node_modules/matrix-js-sdk/LICENSE +177 -0
  744. package/node_modules/matrix-js-sdk/README.md +478 -0
  745. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts +14 -0
  746. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts.map +1 -0
  747. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js +1 -0
  748. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js.map +1 -0
  749. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts +9 -0
  750. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts.map +1 -0
  751. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js +1 -0
  752. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js.map +1 -0
  753. package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts +140 -0
  754. package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts.map +1 -0
  755. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js +94 -0
  756. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js.map +1 -0
  757. package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js +0 -0
  758. package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js.map +1 -0
  759. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts +213 -0
  760. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts.map +1 -0
  761. package/node_modules/matrix-js-sdk/lib/@types/auth.js +107 -0
  762. package/node_modules/matrix-js-sdk/lib/@types/auth.js.map +1 -0
  763. package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts +106 -0
  764. package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts.map +1 -0
  765. package/node_modules/matrix-js-sdk/lib/@types/beacon.js +119 -0
  766. package/node_modules/matrix-js-sdk/lib/@types/beacon.js.map +1 -0
  767. package/node_modules/matrix-js-sdk/lib/@types/common.d.ts +10 -0
  768. package/node_modules/matrix-js-sdk/lib/@types/common.d.ts.map +1 -0
  769. package/node_modules/matrix-js-sdk/lib/@types/common.js +1 -0
  770. package/node_modules/matrix-js-sdk/lib/@types/common.js.map +1 -0
  771. package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts +46 -0
  772. package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts.map +1 -0
  773. package/node_modules/matrix-js-sdk/lib/@types/crypto.js +1 -0
  774. package/node_modules/matrix-js-sdk/lib/@types/crypto.js.map +1 -0
  775. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts +365 -0
  776. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts.map +1 -0
  777. package/node_modules/matrix-js-sdk/lib/@types/event.js +280 -0
  778. package/node_modules/matrix-js-sdk/lib/@types/event.js.map +1 -0
  779. package/node_modules/matrix-js-sdk/lib/@types/events.d.ts +92 -0
  780. package/node_modules/matrix-js-sdk/lib/@types/events.d.ts.map +1 -0
  781. package/node_modules/matrix-js-sdk/lib/@types/events.js +1 -0
  782. package/node_modules/matrix-js-sdk/lib/@types/events.js.map +1 -0
  783. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts +98 -0
  784. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts.map +1 -0
  785. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js +116 -0
  786. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js.map +1 -0
  787. package/node_modules/matrix-js-sdk/lib/@types/global.d.js +18 -0
  788. package/node_modules/matrix-js-sdk/lib/@types/global.d.js.map +1 -0
  789. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts +7 -0
  790. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -0
  791. package/node_modules/matrix-js-sdk/lib/@types/json.js +1 -0
  792. package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -0
  793. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts +4 -0
  794. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts.map +1 -0
  795. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js +1 -0
  796. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js.map +1 -0
  797. package/node_modules/matrix-js-sdk/lib/@types/location.d.ts +60 -0
  798. package/node_modules/matrix-js-sdk/lib/@types/location.d.ts.map +1 -0
  799. package/node_modules/matrix-js-sdk/lib/@types/location.js +66 -0
  800. package/node_modules/matrix-js-sdk/lib/@types/location.js.map +1 -0
  801. package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js +1 -0
  802. package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js.map +1 -0
  803. package/node_modules/matrix-js-sdk/lib/@types/media.d.ts +220 -0
  804. package/node_modules/matrix-js-sdk/lib/@types/media.d.ts.map +1 -0
  805. package/node_modules/matrix-js-sdk/lib/@types/media.js +1 -0
  806. package/node_modules/matrix-js-sdk/lib/@types/media.js.map +1 -0
  807. package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts +41 -0
  808. package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts.map +1 -0
  809. package/node_modules/matrix-js-sdk/lib/@types/membership.js +58 -0
  810. package/node_modules/matrix-js-sdk/lib/@types/membership.js.map +1 -0
  811. package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts +72 -0
  812. package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts.map +1 -0
  813. package/node_modules/matrix-js-sdk/lib/@types/partials.js +71 -0
  814. package/node_modules/matrix-js-sdk/lib/@types/partials.js.map +1 -0
  815. package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts +89 -0
  816. package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts.map +1 -0
  817. package/node_modules/matrix-js-sdk/lib/@types/polls.js +86 -0
  818. package/node_modules/matrix-js-sdk/lib/@types/polls.js.map +1 -0
  819. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts +36 -0
  820. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts.map +1 -0
  821. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js +27 -0
  822. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js.map +1 -0
  823. package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts +85 -0
  824. package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts.map +1 -0
  825. package/node_modules/matrix-js-sdk/lib/@types/registration.js +1 -0
  826. package/node_modules/matrix-js-sdk/lib/@types/registration.js.map +1 -0
  827. package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts +266 -0
  828. package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts.map +1 -0
  829. package/node_modules/matrix-js-sdk/lib/@types/requests.js +42 -0
  830. package/node_modules/matrix-js-sdk/lib/@types/requests.js.map +1 -0
  831. package/node_modules/matrix-js-sdk/lib/@types/search.d.ts +90 -0
  832. package/node_modules/matrix-js-sdk/lib/@types/search.d.ts.map +1 -0
  833. package/node_modules/matrix-js-sdk/lib/@types/search.js +30 -0
  834. package/node_modules/matrix-js-sdk/lib/@types/search.js.map +1 -0
  835. package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts +9 -0
  836. package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts.map +1 -0
  837. package/node_modules/matrix-js-sdk/lib/@types/signed.js +1 -0
  838. package/node_modules/matrix-js-sdk/lib/@types/signed.js.map +1 -0
  839. package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts +16 -0
  840. package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts.map +1 -0
  841. package/node_modules/matrix-js-sdk/lib/@types/spaces.js +1 -0
  842. package/node_modules/matrix-js-sdk/lib/@types/spaces.js.map +1 -0
  843. package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts +121 -0
  844. package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts.map +1 -0
  845. package/node_modules/matrix-js-sdk/lib/@types/state_events.js +1 -0
  846. package/node_modules/matrix-js-sdk/lib/@types/state_events.js.map +1 -0
  847. package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts +19 -0
  848. package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts.map +1 -0
  849. package/node_modules/matrix-js-sdk/lib/@types/synapse.js +1 -0
  850. package/node_modules/matrix-js-sdk/lib/@types/synapse.js.map +1 -0
  851. package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts +8 -0
  852. package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts.map +1 -0
  853. package/node_modules/matrix-js-sdk/lib/@types/sync.js +25 -0
  854. package/node_modules/matrix-js-sdk/lib/@types/sync.js.map +1 -0
  855. package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts +12 -0
  856. package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts.map +1 -0
  857. package/node_modules/matrix-js-sdk/lib/@types/threepids.js +24 -0
  858. package/node_modules/matrix-js-sdk/lib/@types/threepids.js.map +1 -0
  859. package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts +55 -0
  860. package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts.map +1 -0
  861. package/node_modules/matrix-js-sdk/lib/@types/topic.js +62 -0
  862. package/node_modules/matrix-js-sdk/lib/@types/topic.js.map +1 -0
  863. package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts +8 -0
  864. package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts.map +1 -0
  865. package/node_modules/matrix-js-sdk/lib/@types/uia.js +1 -0
  866. package/node_modules/matrix-js-sdk/lib/@types/uia.js.map +1 -0
  867. package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts +32 -0
  868. package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts.map +1 -0
  869. package/node_modules/matrix-js-sdk/lib/NamespacedValue.js +113 -0
  870. package/node_modules/matrix-js-sdk/lib/NamespacedValue.js.map +1 -0
  871. package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts +15 -0
  872. package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts.map +1 -0
  873. package/node_modules/matrix-js-sdk/lib/ReEmitter.js +87 -0
  874. package/node_modules/matrix-js-sdk/lib/ReEmitter.js.map +1 -0
  875. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts +30 -0
  876. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts.map +1 -0
  877. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js +135 -0
  878. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js.map +1 -0
  879. package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts +136 -0
  880. package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts.map +1 -0
  881. package/node_modules/matrix-js-sdk/lib/autodiscovery.js +463 -0
  882. package/node_modules/matrix-js-sdk/lib/autodiscovery.js.map +1 -0
  883. package/node_modules/matrix-js-sdk/lib/base64.d.ts +25 -0
  884. package/node_modules/matrix-js-sdk/lib/base64.d.ts.map +1 -0
  885. package/node_modules/matrix-js-sdk/lib/base64.js +95 -0
  886. package/node_modules/matrix-js-sdk/lib/base64.js.map +1 -0
  887. package/node_modules/matrix-js-sdk/lib/browser-index.d.ts +8 -0
  888. package/node_modules/matrix-js-sdk/lib/browser-index.d.ts.map +1 -0
  889. package/node_modules/matrix-js-sdk/lib/browser-index.js +35 -0
  890. package/node_modules/matrix-js-sdk/lib/browser-index.js.map +1 -0
  891. package/node_modules/matrix-js-sdk/lib/client.d.ts +3508 -0
  892. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -0
  893. package/node_modules/matrix-js-sdk/lib/client.js +7451 -0
  894. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -0
  895. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +239 -0
  896. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -0
  897. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +67 -0
  898. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -0
  899. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts +14 -0
  900. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts.map +1 -0
  901. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js +33 -0
  902. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js.map +1 -0
  903. package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts +90 -0
  904. package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts.map +1 -0
  905. package/node_modules/matrix-js-sdk/lib/content-helpers.js +260 -0
  906. package/node_modules/matrix-js-sdk/lib/content-helpers.js.map +1 -0
  907. package/node_modules/matrix-js-sdk/lib/content-repo.d.ts +25 -0
  908. package/node_modules/matrix-js-sdk/lib/content-repo.d.ts.map +1 -0
  909. package/node_modules/matrix-js-sdk/lib/content-repo.js +115 -0
  910. package/node_modules/matrix-js-sdk/lib/content-repo.js.map +1 -0
  911. package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts +301 -0
  912. package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts.map +1 -0
  913. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js +145 -0
  914. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js.map +1 -0
  915. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts +94 -0
  916. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts.map +1 -0
  917. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js +602 -0
  918. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js.map +1 -0
  919. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts +251 -0
  920. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts.map +1 -0
  921. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js +475 -0
  922. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js.map +1 -0
  923. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts +102 -0
  924. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts.map +1 -0
  925. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js +376 -0
  926. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js.map +1 -0
  927. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts +117 -0
  928. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts.map +1 -0
  929. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js +313 -0
  930. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js.map +1 -0
  931. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts +120 -0
  932. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts.map +1 -0
  933. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js +137 -0
  934. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js.map +1 -0
  935. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts +26 -0
  936. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts.map +1 -0
  937. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js +1 -0
  938. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js.map +1 -0
  939. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts +1181 -0
  940. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts.map +1 -0
  941. package/node_modules/matrix-js-sdk/lib/crypto-api/index.js +435 -0
  942. package/node_modules/matrix-js-sdk/lib/crypto-api/index.js.map +1 -0
  943. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts +11 -0
  944. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts.map +1 -0
  945. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js +51 -0
  946. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js.map +1 -0
  947. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts +87 -0
  948. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts.map +1 -0
  949. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js +1 -0
  950. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js.map +1 -0
  951. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts +11 -0
  952. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts.map +1 -0
  953. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js +65 -0
  954. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js.map +1 -0
  955. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts +315 -0
  956. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts.map +1 -0
  957. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js +130 -0
  958. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js.map +1 -0
  959. package/node_modules/matrix-js-sdk/lib/digest.d.ts +10 -0
  960. package/node_modules/matrix-js-sdk/lib/digest.d.ts.map +1 -0
  961. package/node_modules/matrix-js-sdk/lib/digest.js +40 -0
  962. package/node_modules/matrix-js-sdk/lib/digest.js.map +1 -0
  963. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +182 -0
  964. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -0
  965. package/node_modules/matrix-js-sdk/lib/embedded.js +730 -0
  966. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -0
  967. package/node_modules/matrix-js-sdk/lib/errors.d.ts +38 -0
  968. package/node_modules/matrix-js-sdk/lib/errors.d.ts.map +1 -0
  969. package/node_modules/matrix-js-sdk/lib/errors.js +73 -0
  970. package/node_modules/matrix-js-sdk/lib/errors.js.map +1 -0
  971. package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts +9 -0
  972. package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts.map +1 -0
  973. package/node_modules/matrix-js-sdk/lib/event-mapper.js +74 -0
  974. package/node_modules/matrix-js-sdk/lib/event-mapper.js.map +1 -0
  975. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts +38 -0
  976. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts.map +1 -0
  977. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js +57 -0
  978. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js.map +1 -0
  979. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts +7 -0
  980. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts.map +1 -0
  981. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js +25 -0
  982. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js.map +1 -0
  983. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts +44 -0
  984. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts.map +1 -0
  985. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js +134 -0
  986. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js.map +1 -0
  987. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts +33 -0
  988. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts.map +1 -0
  989. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js +88 -0
  990. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js.map +1 -0
  991. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts +49 -0
  992. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts.map +1 -0
  993. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js +134 -0
  994. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js.map +1 -0
  995. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts +71 -0
  996. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts.map +1 -0
  997. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js +185 -0
  998. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js.map +1 -0
  999. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts +14 -0
  1000. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts.map +1 -0
  1001. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js +34 -0
  1002. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js.map +1 -0
  1003. package/node_modules/matrix-js-sdk/lib/feature.d.ts +20 -0
  1004. package/node_modules/matrix-js-sdk/lib/feature.d.ts.map +1 -0
  1005. package/node_modules/matrix-js-sdk/lib/feature.js +93 -0
  1006. package/node_modules/matrix-js-sdk/lib/feature.js.map +1 -0
  1007. package/node_modules/matrix-js-sdk/lib/filter-component.d.ts +64 -0
  1008. package/node_modules/matrix-js-sdk/lib/filter-component.d.ts.map +1 -0
  1009. package/node_modules/matrix-js-sdk/lib/filter-component.js +173 -0
  1010. package/node_modules/matrix-js-sdk/lib/filter-component.js.map +1 -0
  1011. package/node_modules/matrix-js-sdk/lib/filter.d.ts +112 -0
  1012. package/node_modules/matrix-js-sdk/lib/filter.d.ts.map +1 -0
  1013. package/node_modules/matrix-js-sdk/lib/filter.js +226 -0
  1014. package/node_modules/matrix-js-sdk/lib/filter.js.map +1 -0
  1015. package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts +117 -0
  1016. package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts.map +1 -0
  1017. package/node_modules/matrix-js-sdk/lib/http-api/errors.js +249 -0
  1018. package/node_modules/matrix-js-sdk/lib/http-api/errors.js.map +1 -0
  1019. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +80 -0
  1020. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -0
  1021. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +330 -0
  1022. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -0
  1023. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts +33 -0
  1024. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts.map +1 -0
  1025. package/node_modules/matrix-js-sdk/lib/http-api/index.js +178 -0
  1026. package/node_modules/matrix-js-sdk/lib/http-api/index.js.map +1 -0
  1027. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts +186 -0
  1028. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts.map +1 -0
  1029. package/node_modules/matrix-js-sdk/lib/http-api/interface.js +39 -0
  1030. package/node_modules/matrix-js-sdk/lib/http-api/interface.js.map +1 -0
  1031. package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts +10 -0
  1032. package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts.map +1 -0
  1033. package/node_modules/matrix-js-sdk/lib/http-api/method.js +27 -0
  1034. package/node_modules/matrix-js-sdk/lib/http-api/method.js.map +1 -0
  1035. package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts +31 -0
  1036. package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts.map +1 -0
  1037. package/node_modules/matrix-js-sdk/lib/http-api/prefix.js +50 -0
  1038. package/node_modules/matrix-js-sdk/lib/http-api/prefix.js.map +1 -0
  1039. package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts +53 -0
  1040. package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts.map +1 -0
  1041. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js +172 -0
  1042. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js.map +1 -0
  1043. package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts +37 -0
  1044. package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts.map +1 -0
  1045. package/node_modules/matrix-js-sdk/lib/http-api/utils.js +182 -0
  1046. package/node_modules/matrix-js-sdk/lib/http-api/utils.js.map +1 -0
  1047. package/node_modules/matrix-js-sdk/lib/index.d.ts +4 -0
  1048. package/node_modules/matrix-js-sdk/lib/index.d.ts.map +1 -0
  1049. package/node_modules/matrix-js-sdk/lib/index.js +24 -0
  1050. package/node_modules/matrix-js-sdk/lib/index.js.map +1 -0
  1051. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts +10 -0
  1052. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts.map +1 -0
  1053. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js +51 -0
  1054. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js.map +1 -0
  1055. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts +7 -0
  1056. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts.map +1 -0
  1057. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js +25 -0
  1058. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js.map +1 -0
  1059. package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts +341 -0
  1060. package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts.map +1 -0
  1061. package/node_modules/matrix-js-sdk/lib/interactive-auth.js +553 -0
  1062. package/node_modules/matrix-js-sdk/lib/interactive-auth.js.map +1 -0
  1063. package/node_modules/matrix-js-sdk/lib/logger.d.ts +124 -0
  1064. package/node_modules/matrix-js-sdk/lib/logger.d.ts.map +1 -0
  1065. package/node_modules/matrix-js-sdk/lib/logger.js +228 -0
  1066. package/node_modules/matrix-js-sdk/lib/logger.js.map +1 -0
  1067. package/node_modules/matrix-js-sdk/lib/matrix.d.ts +117 -0
  1068. package/node_modules/matrix-js-sdk/lib/matrix.d.ts.map +1 -0
  1069. package/node_modules/matrix-js-sdk/lib/matrix.js +144 -0
  1070. package/node_modules/matrix-js-sdk/lib/matrix.js.map +1 -0
  1071. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +154 -0
  1072. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -0
  1073. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +455 -0
  1074. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -0
  1075. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +44 -0
  1076. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -0
  1077. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js +13 -0
  1078. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -0
  1079. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts +37 -0
  1080. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts.map +1 -0
  1081. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js +27 -0
  1082. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js.map +1 -0
  1083. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts +94 -0
  1084. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts.map +1 -0
  1085. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js +40 -0
  1086. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js.map +1 -0
  1087. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +23 -0
  1088. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -0
  1089. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +29 -0
  1090. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -0
  1091. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +343 -0
  1092. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -0
  1093. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +619 -0
  1094. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -0
  1095. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts +46 -0
  1096. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts.map +1 -0
  1097. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js +148 -0
  1098. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js.map +1 -0
  1099. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts +210 -0
  1100. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -0
  1101. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +970 -0
  1102. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -0
  1103. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts +59 -0
  1104. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts.map +1 -0
  1105. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js +124 -0
  1106. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js.map +1 -0
  1107. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +110 -0
  1108. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -0
  1109. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +373 -0
  1110. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -0
  1111. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts +30 -0
  1112. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts.map +1 -0
  1113. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js +164 -0
  1114. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -0
  1115. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts +9 -0
  1116. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts.map +1 -0
  1117. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js +23 -0
  1118. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js.map +1 -0
  1119. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts +8 -0
  1120. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts.map +1 -0
  1121. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js +26 -0
  1122. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js.map +1 -0
  1123. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts +4 -0
  1124. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts.map +1 -0
  1125. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js +20 -0
  1126. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js.map +1 -0
  1127. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +33 -0
  1128. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -0
  1129. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +138 -0
  1130. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -0
  1131. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts +77 -0
  1132. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -0
  1133. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js +62 -0
  1134. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js.map +1 -0
  1135. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +169 -0
  1136. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -0
  1137. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +117 -0
  1138. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -0
  1139. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts +27 -0
  1140. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts.map +1 -0
  1141. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js +78 -0
  1142. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js.map +1 -0
  1143. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts +98 -0
  1144. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts.map +1 -0
  1145. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js +240 -0
  1146. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js.map +1 -0
  1147. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts +166 -0
  1148. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts.map +1 -0
  1149. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js +519 -0
  1150. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js.map +1 -0
  1151. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts +17 -0
  1152. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts.map +1 -0
  1153. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js +1 -0
  1154. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js.map +1 -0
  1155. package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts +52 -0
  1156. package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts.map +1 -0
  1157. package/node_modules/matrix-js-sdk/lib/models/beacon.js +168 -0
  1158. package/node_modules/matrix-js-sdk/lib/models/beacon.js.map +1 -0
  1159. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts +24 -0
  1160. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts.map +1 -0
  1161. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js +120 -0
  1162. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js.map +1 -0
  1163. package/node_modules/matrix-js-sdk/lib/models/device.d.ts +45 -0
  1164. package/node_modules/matrix-js-sdk/lib/models/device.d.ts.map +1 -0
  1165. package/node_modules/matrix-js-sdk/lib/models/device.js +70 -0
  1166. package/node_modules/matrix-js-sdk/lib/models/device.js.map +1 -0
  1167. package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts +62 -0
  1168. package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts.map +1 -0
  1169. package/node_modules/matrix-js-sdk/lib/models/event-context.js +112 -0
  1170. package/node_modules/matrix-js-sdk/lib/models/event-context.js.map +1 -0
  1171. package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts +19 -0
  1172. package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts.map +1 -0
  1173. package/node_modules/matrix-js-sdk/lib/models/event-status.js +36 -0
  1174. package/node_modules/matrix-js-sdk/lib/models/event-status.js.map +1 -0
  1175. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts +308 -0
  1176. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -0
  1177. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +795 -0
  1178. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -0
  1179. package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts +224 -0
  1180. package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts.map +1 -0
  1181. package/node_modules/matrix-js-sdk/lib/models/event-timeline.js +427 -0
  1182. package/node_modules/matrix-js-sdk/lib/models/event-timeline.js.map +1 -0
  1183. package/node_modules/matrix-js-sdk/lib/models/event.d.ts +844 -0
  1184. package/node_modules/matrix-js-sdk/lib/models/event.d.ts.map +1 -0
  1185. package/node_modules/matrix-js-sdk/lib/models/event.js +1583 -0
  1186. package/node_modules/matrix-js-sdk/lib/models/event.js.map +1 -0
  1187. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts +27 -0
  1188. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts.map +1 -0
  1189. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js +56 -0
  1190. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js.map +1 -0
  1191. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts +112 -0
  1192. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts.map +1 -0
  1193. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js +353 -0
  1194. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js.map +1 -0
  1195. package/node_modules/matrix-js-sdk/lib/models/poll.d.ts +67 -0
  1196. package/node_modules/matrix-js-sdk/lib/models/poll.d.ts.map +1 -0
  1197. package/node_modules/matrix-js-sdk/lib/models/poll.js +235 -0
  1198. package/node_modules/matrix-js-sdk/lib/models/poll.js.map +1 -0
  1199. package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts +17 -0
  1200. package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts.map +1 -0
  1201. package/node_modules/matrix-js-sdk/lib/models/profile-keys.js +34 -0
  1202. package/node_modules/matrix-js-sdk/lib/models/profile-keys.js.map +1 -0
  1203. package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts +115 -0
  1204. package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts.map +1 -0
  1205. package/node_modules/matrix-js-sdk/lib/models/read-receipt.js +370 -0
  1206. package/node_modules/matrix-js-sdk/lib/models/read-receipt.js.map +1 -0
  1207. package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts +11 -0
  1208. package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts.map +1 -0
  1209. package/node_modules/matrix-js-sdk/lib/models/related-relations.js +31 -0
  1210. package/node_modules/matrix-js-sdk/lib/models/related-relations.js.map +1 -0
  1211. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts +44 -0
  1212. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts.map +1 -0
  1213. package/node_modules/matrix-js-sdk/lib/models/relations-container.js +130 -0
  1214. package/node_modules/matrix-js-sdk/lib/models/relations-container.js.map +1 -0
  1215. package/node_modules/matrix-js-sdk/lib/models/relations.d.ts +123 -0
  1216. package/node_modules/matrix-js-sdk/lib/models/relations.d.ts.map +1 -0
  1217. package/node_modules/matrix-js-sdk/lib/models/relations.js +375 -0
  1218. package/node_modules/matrix-js-sdk/lib/models/relations.js.map +1 -0
  1219. package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts +221 -0
  1220. package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts.map +1 -0
  1221. package/node_modules/matrix-js-sdk/lib/models/room-member.js +354 -0
  1222. package/node_modules/matrix-js-sdk/lib/models/room-member.js.map +1 -0
  1223. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +39 -0
  1224. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -0
  1225. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +395 -0
  1226. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -0
  1227. package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts +463 -0
  1228. package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts.map +1 -0
  1229. package/node_modules/matrix-js-sdk/lib/models/room-state.js +1066 -0
  1230. package/node_modules/matrix-js-sdk/lib/models/room-state.js.map +1 -0
  1231. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts +110 -0
  1232. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -0
  1233. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js +368 -0
  1234. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js.map +1 -0
  1235. package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts +59 -0
  1236. package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts.map +1 -0
  1237. package/node_modules/matrix-js-sdk/lib/models/room-summary.js +39 -0
  1238. package/node_modules/matrix-js-sdk/lib/models/room-summary.js.map +1 -0
  1239. package/node_modules/matrix-js-sdk/lib/models/room.d.ts +1285 -0
  1240. package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -0
  1241. package/node_modules/matrix-js-sdk/lib/models/room.js +3525 -0
  1242. package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -0
  1243. package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts +20 -0
  1244. package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts.map +1 -0
  1245. package/node_modules/matrix-js-sdk/lib/models/search-result.js +52 -0
  1246. package/node_modules/matrix-js-sdk/lib/models/search-result.js.map +1 -0
  1247. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts +245 -0
  1248. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -0
  1249. package/node_modules/matrix-js-sdk/lib/models/thread.js +821 -0
  1250. package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -0
  1251. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts +157 -0
  1252. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts.map +1 -0
  1253. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js +227 -0
  1254. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js.map +1 -0
  1255. package/node_modules/matrix-js-sdk/lib/models/user.d.ts +200 -0
  1256. package/node_modules/matrix-js-sdk/lib/models/user.d.ts.map +1 -0
  1257. package/node_modules/matrix-js-sdk/lib/models/user.js +204 -0
  1258. package/node_modules/matrix-js-sdk/lib/models/user.js.map +1 -0
  1259. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts +157 -0
  1260. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts.map +1 -0
  1261. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js +398 -0
  1262. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js.map +1 -0
  1263. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts +22 -0
  1264. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts.map +1 -0
  1265. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js +78 -0
  1266. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js.map +1 -0
  1267. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts +18 -0
  1268. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts.map +1 -0
  1269. package/node_modules/matrix-js-sdk/lib/oidc/error.js +35 -0
  1270. package/node_modules/matrix-js-sdk/lib/oidc/error.js.map +1 -0
  1271. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts +16 -0
  1272. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts.map +1 -0
  1273. package/node_modules/matrix-js-sdk/lib/oidc/index.js +29 -0
  1274. package/node_modules/matrix-js-sdk/lib/oidc/index.js.map +1 -0
  1275. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts +70 -0
  1276. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts.map +1 -0
  1277. package/node_modules/matrix-js-sdk/lib/oidc/register.js +140 -0
  1278. package/node_modules/matrix-js-sdk/lib/oidc/register.js.map +1 -0
  1279. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts +91 -0
  1280. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts.map +1 -0
  1281. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js +184 -0
  1282. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js.map +1 -0
  1283. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts +78 -0
  1284. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts.map +1 -0
  1285. package/node_modules/matrix-js-sdk/lib/oidc/validate.js +181 -0
  1286. package/node_modules/matrix-js-sdk/lib/oidc/validate.js.map +1 -0
  1287. package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts +140 -0
  1288. package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts.map +1 -0
  1289. package/node_modules/matrix-js-sdk/lib/pushprocessor.js +705 -0
  1290. package/node_modules/matrix-js-sdk/lib/pushprocessor.js.map +1 -0
  1291. package/node_modules/matrix-js-sdk/lib/randomstring.d.ts +32 -0
  1292. package/node_modules/matrix-js-sdk/lib/randomstring.d.ts.map +1 -0
  1293. package/node_modules/matrix-js-sdk/lib/randomstring.js +97 -0
  1294. package/node_modules/matrix-js-sdk/lib/randomstring.js.map +1 -0
  1295. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts +18 -0
  1296. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts.map +1 -0
  1297. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js +177 -0
  1298. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js.map +1 -0
  1299. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts +51 -0
  1300. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts.map +1 -0
  1301. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js +173 -0
  1302. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js.map +1 -0
  1303. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +129 -0
  1304. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -0
  1305. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js +466 -0
  1306. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -0
  1307. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts +27 -0
  1308. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts.map +1 -0
  1309. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js +1 -0
  1310. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js.map +1 -0
  1311. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts +9 -0
  1312. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts.map +1 -0
  1313. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js +1 -0
  1314. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js.map +1 -0
  1315. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts +6 -0
  1316. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts.map +1 -0
  1317. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js +23 -0
  1318. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js.map +1 -0
  1319. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts +31 -0
  1320. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts.map +1 -0
  1321. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js +47 -0
  1322. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js.map +1 -0
  1323. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts +5 -0
  1324. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts.map +1 -0
  1325. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js +22 -0
  1326. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js.map +1 -0
  1327. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts +36 -0
  1328. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts.map +1 -0
  1329. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js +1 -0
  1330. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js.map +1 -0
  1331. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts +58 -0
  1332. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts.map +1 -0
  1333. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js +243 -0
  1334. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js.map +1 -0
  1335. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts +2 -0
  1336. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts.map +1 -0
  1337. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js +18 -0
  1338. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js.map +1 -0
  1339. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts +46 -0
  1340. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -0
  1341. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js +138 -0
  1342. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -0
  1343. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts +61 -0
  1344. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts.map +1 -0
  1345. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js +245 -0
  1346. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js.map +1 -0
  1347. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts +2 -0
  1348. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts.map +1 -0
  1349. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js +18 -0
  1350. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js.map +1 -0
  1351. package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts +35 -0
  1352. package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts.map +1 -0
  1353. package/node_modules/matrix-js-sdk/lib/room-hierarchy.js +131 -0
  1354. package/node_modules/matrix-js-sdk/lib/room-hierarchy.js.map +1 -0
  1355. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts +35 -0
  1356. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts.map +1 -0
  1357. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js +163 -0
  1358. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js.map +1 -0
  1359. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts +118 -0
  1360. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts.map +1 -0
  1361. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js +360 -0
  1362. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js.map +1 -0
  1363. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts +33 -0
  1364. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts.map +1 -0
  1365. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js +81 -0
  1366. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js.map +1 -0
  1367. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts +36 -0
  1368. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts.map +1 -0
  1369. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js +201 -0
  1370. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -0
  1371. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts +47 -0
  1372. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts.map +1 -0
  1373. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js +175 -0
  1374. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js.map +1 -0
  1375. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts +120 -0
  1376. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts.map +1 -0
  1377. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js +467 -0
  1378. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js.map +1 -0
  1379. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts +100 -0
  1380. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts.map +1 -0
  1381. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js +308 -0
  1382. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js.map +1 -0
  1383. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts +282 -0
  1384. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts.map +1 -0
  1385. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js +924 -0
  1386. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js.map +1 -0
  1387. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts +3 -0
  1388. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts.map +1 -0
  1389. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js +19 -0
  1390. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js.map +1 -0
  1391. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts +28 -0
  1392. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts.map +1 -0
  1393. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js +132 -0
  1394. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js.map +1 -0
  1395. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +65 -0
  1396. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -0
  1397. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +159 -0
  1398. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -0
  1399. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts +81 -0
  1400. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts.map +1 -0
  1401. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js +454 -0
  1402. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js.map +1 -0
  1403. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +605 -0
  1404. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -0
  1405. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +2392 -0
  1406. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -0
  1407. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts +22 -0
  1408. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts.map +1 -0
  1409. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js +63 -0
  1410. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js.map +1 -0
  1411. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts +321 -0
  1412. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts.map +1 -0
  1413. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js +817 -0
  1414. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js.map +1 -0
  1415. package/node_modules/matrix-js-sdk/lib/scheduler.d.ts +132 -0
  1416. package/node_modules/matrix-js-sdk/lib/scheduler.d.ts.map +1 -0
  1417. package/node_modules/matrix-js-sdk/lib/scheduler.js +259 -0
  1418. package/node_modules/matrix-js-sdk/lib/scheduler.js.map +1 -0
  1419. package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts +383 -0
  1420. package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts.map +1 -0
  1421. package/node_modules/matrix-js-sdk/lib/secret-storage.js +493 -0
  1422. package/node_modules/matrix-js-sdk/lib/secret-storage.js.map +1 -0
  1423. package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts +78 -0
  1424. package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts.map +1 -0
  1425. package/node_modules/matrix-js-sdk/lib/serverCapabilities.js +101 -0
  1426. package/node_modules/matrix-js-sdk/lib/serverCapabilities.js.map +1 -0
  1427. package/node_modules/matrix-js-sdk/lib/service-types.d.ts +5 -0
  1428. package/node_modules/matrix-js-sdk/lib/service-types.d.ts.map +1 -0
  1429. package/node_modules/matrix-js-sdk/lib/service-types.js +23 -0
  1430. package/node_modules/matrix-js-sdk/lib/service-types.js.map +1 -0
  1431. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts +107 -0
  1432. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -0
  1433. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +887 -0
  1434. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -0
  1435. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +306 -0
  1436. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -0
  1437. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +580 -0
  1438. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -0
  1439. package/node_modules/matrix-js-sdk/lib/store/index.d.ts +217 -0
  1440. package/node_modules/matrix-js-sdk/lib/store/index.d.ts.map +1 -0
  1441. package/node_modules/matrix-js-sdk/lib/store/index.js +1 -0
  1442. package/node_modules/matrix-js-sdk/lib/store/index.js.map +1 -0
  1443. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts +28 -0
  1444. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts.map +1 -0
  1445. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js +1 -0
  1446. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js.map +1 -0
  1447. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts +132 -0
  1448. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts.map +1 -0
  1449. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js +648 -0
  1450. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js.map +1 -0
  1451. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts +83 -0
  1452. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts.map +1 -0
  1453. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js +226 -0
  1454. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js.map +1 -0
  1455. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts +35 -0
  1456. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts.map +1 -0
  1457. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js +154 -0
  1458. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js.map +1 -0
  1459. package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts +146 -0
  1460. package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts.map +1 -0
  1461. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js +367 -0
  1462. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js.map +1 -0
  1463. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts +30 -0
  1464. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts.map +1 -0
  1465. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js +37 -0
  1466. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js.map +1 -0
  1467. package/node_modules/matrix-js-sdk/lib/store/memory.d.ts +213 -0
  1468. package/node_modules/matrix-js-sdk/lib/store/memory.d.ts.map +1 -0
  1469. package/node_modules/matrix-js-sdk/lib/store/memory.js +447 -0
  1470. package/node_modules/matrix-js-sdk/lib/store/memory.js.map +1 -0
  1471. package/node_modules/matrix-js-sdk/lib/store/stub.d.ts +164 -0
  1472. package/node_modules/matrix-js-sdk/lib/store/stub.d.ts.map +1 -0
  1473. package/node_modules/matrix-js-sdk/lib/store/stub.js +283 -0
  1474. package/node_modules/matrix-js-sdk/lib/store/stub.js.map +1 -0
  1475. package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts +222 -0
  1476. package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts.map +1 -0
  1477. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js +590 -0
  1478. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js.map +1 -0
  1479. package/node_modules/matrix-js-sdk/lib/sync.d.ts +281 -0
  1480. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -0
  1481. package/node_modules/matrix-js-sdk/lib/sync.js +1799 -0
  1482. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -0
  1483. package/node_modules/matrix-js-sdk/lib/testing.d.ts +98 -0
  1484. package/node_modules/matrix-js-sdk/lib/testing.d.ts.map +1 -0
  1485. package/node_modules/matrix-js-sdk/lib/testing.js +205 -0
  1486. package/node_modules/matrix-js-sdk/lib/testing.js.map +1 -0
  1487. package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts +10 -0
  1488. package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts.map +1 -0
  1489. package/node_modules/matrix-js-sdk/lib/thread-utils.js +31 -0
  1490. package/node_modules/matrix-js-sdk/lib/thread-utils.js.map +1 -0
  1491. package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts +168 -0
  1492. package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts.map +1 -0
  1493. package/node_modules/matrix-js-sdk/lib/timeline-window.js +490 -0
  1494. package/node_modules/matrix-js-sdk/lib/timeline-window.js.map +1 -0
  1495. package/node_modules/matrix-js-sdk/lib/types.d.ts +33 -0
  1496. package/node_modules/matrix-js-sdk/lib/types.d.ts.map +1 -0
  1497. package/node_modules/matrix-js-sdk/lib/types.js +52 -0
  1498. package/node_modules/matrix-js-sdk/lib/types.js.map +1 -0
  1499. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts +12 -0
  1500. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts.map +1 -0
  1501. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js +54 -0
  1502. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js.map +1 -0
  1503. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts +16 -0
  1504. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts.map +1 -0
  1505. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js +72 -0
  1506. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js.map +1 -0
  1507. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts +10 -0
  1508. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts.map +1 -0
  1509. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js +60 -0
  1510. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js.map +1 -0
  1511. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts +13 -0
  1512. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts.map +1 -0
  1513. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js +36 -0
  1514. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js.map +1 -0
  1515. package/node_modules/matrix-js-sdk/lib/utils.d.ts +270 -0
  1516. package/node_modules/matrix-js-sdk/lib/utils.d.ts.map +1 -0
  1517. package/node_modules/matrix-js-sdk/lib/utils.js +779 -0
  1518. package/node_modules/matrix-js-sdk/lib/utils.js.map +1 -0
  1519. package/node_modules/matrix-js-sdk/lib/version-support.d.ts +19 -0
  1520. package/node_modules/matrix-js-sdk/lib/version-support.d.ts.map +1 -0
  1521. package/node_modules/matrix-js-sdk/lib/version-support.js +37 -0
  1522. package/node_modules/matrix-js-sdk/lib/version-support.js.map +1 -0
  1523. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts +15 -0
  1524. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts.map +1 -0
  1525. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js +46 -0
  1526. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map +1 -0
  1527. package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts +560 -0
  1528. package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts.map +1 -0
  1529. package/node_modules/matrix-js-sdk/lib/webrtc/call.js +2563 -0
  1530. package/node_modules/matrix-js-sdk/lib/webrtc/call.js.map +1 -0
  1531. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts +37 -0
  1532. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts.map +1 -0
  1533. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js +339 -0
  1534. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js.map +1 -0
  1535. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts +79 -0
  1536. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts.map +1 -0
  1537. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js +13 -0
  1538. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js.map +1 -0
  1539. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts +128 -0
  1540. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts.map +1 -0
  1541. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js +274 -0
  1542. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js.map +1 -0
  1543. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts +319 -0
  1544. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts.map +1 -0
  1545. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js +1327 -0
  1546. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js.map +1 -0
  1547. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts +31 -0
  1548. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts.map +1 -0
  1549. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js +177 -0
  1550. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js.map +1 -0
  1551. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts +89 -0
  1552. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts.map +1 -0
  1553. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js +447 -0
  1554. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js.map +1 -0
  1555. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts +8 -0
  1556. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts.map +1 -0
  1557. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js +79 -0
  1558. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js.map +1 -0
  1559. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts +25 -0
  1560. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts.map +1 -0
  1561. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js +196 -0
  1562. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js.map +1 -0
  1563. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts +17 -0
  1564. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts.map +1 -0
  1565. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js +1 -0
  1566. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js.map +1 -0
  1567. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts +28 -0
  1568. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts.map +1 -0
  1569. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js +26 -0
  1570. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js.map +1 -0
  1571. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts +5 -0
  1572. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts.map +1 -0
  1573. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js +27 -0
  1574. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js.map +1 -0
  1575. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts +7 -0
  1576. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts.map +1 -0
  1577. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js +125 -0
  1578. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js.map +1 -0
  1579. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts +22 -0
  1580. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts.map +1 -0
  1581. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js +77 -0
  1582. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js.map +1 -0
  1583. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts +10 -0
  1584. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts.map +1 -0
  1585. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js +57 -0
  1586. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js.map +1 -0
  1587. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts +12 -0
  1588. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts.map +1 -0
  1589. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js +58 -0
  1590. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js.map +1 -0
  1591. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts +86 -0
  1592. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts.map +1 -0
  1593. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js +142 -0
  1594. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js.map +1 -0
  1595. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts +22 -0
  1596. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts.map +1 -0
  1597. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js +76 -0
  1598. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js.map +1 -0
  1599. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts +99 -0
  1600. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts.map +1 -0
  1601. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js +32 -0
  1602. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js.map +1 -0
  1603. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts +15 -0
  1604. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts.map +1 -0
  1605. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js +33 -0
  1606. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js.map +1 -0
  1607. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts +16 -0
  1608. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts.map +1 -0
  1609. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js +116 -0
  1610. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js.map +1 -0
  1611. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts +19 -0
  1612. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts.map +1 -0
  1613. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js +168 -0
  1614. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js.map +1 -0
  1615. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts +11 -0
  1616. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts.map +1 -0
  1617. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js +1 -0
  1618. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js.map +1 -0
  1619. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts +5 -0
  1620. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts.map +1 -0
  1621. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js +34 -0
  1622. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js.map +1 -0
  1623. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts +4 -0
  1624. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts.map +1 -0
  1625. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js +25 -0
  1626. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js.map +1 -0
  1627. package/node_modules/matrix-js-sdk/package.json +139 -0
  1628. package/node_modules/matrix-js-sdk/src/@types/AESEncryptedSecretStoragePayload.ts +29 -0
  1629. package/node_modules/matrix-js-sdk/src/@types/IIdentityServerProvider.ts +24 -0
  1630. package/node_modules/matrix-js-sdk/src/@types/PushRules.ts +208 -0
  1631. package/node_modules/matrix-js-sdk/src/@types/another-json.d.ts +19 -0
  1632. package/node_modules/matrix-js-sdk/src/@types/auth.ts +258 -0
  1633. package/node_modules/matrix-js-sdk/src/@types/beacon.ts +140 -0
  1634. package/node_modules/matrix-js-sdk/src/@types/common.ts +24 -0
  1635. package/node_modules/matrix-js-sdk/src/@types/crypto.ts +71 -0
  1636. package/node_modules/matrix-js-sdk/src/@types/event.ts +461 -0
  1637. package/node_modules/matrix-js-sdk/src/@types/events.ts +119 -0
  1638. package/node_modules/matrix-js-sdk/src/@types/extensible_events.ts +147 -0
  1639. package/node_modules/matrix-js-sdk/src/@types/global.d.ts +67 -0
  1640. package/node_modules/matrix-js-sdk/src/@types/json.ts +16 -0
  1641. package/node_modules/matrix-js-sdk/src/@types/local_notifications.ts +19 -0
  1642. package/node_modules/matrix-js-sdk/src/@types/location.ts +92 -0
  1643. package/node_modules/matrix-js-sdk/src/@types/matrix-sdk-crypto-wasm.d.ts +39 -0
  1644. package/node_modules/matrix-js-sdk/src/@types/media.ts +245 -0
  1645. package/node_modules/matrix-js-sdk/src/@types/membership.ts +57 -0
  1646. package/node_modules/matrix-js-sdk/src/@types/partials.ts +103 -0
  1647. package/node_modules/matrix-js-sdk/src/@types/polls.ts +120 -0
  1648. package/node_modules/matrix-js-sdk/src/@types/read_receipts.ts +61 -0
  1649. package/node_modules/matrix-js-sdk/src/@types/registration.ts +102 -0
  1650. package/node_modules/matrix-js-sdk/src/@types/requests.ts +345 -0
  1651. package/node_modules/matrix-js-sdk/src/@types/search.ts +119 -0
  1652. package/node_modules/matrix-js-sdk/src/@types/signed.ts +25 -0
  1653. package/node_modules/matrix-js-sdk/src/@types/spaces.ts +37 -0
  1654. package/node_modules/matrix-js-sdk/src/@types/state_events.ts +153 -0
  1655. package/node_modules/matrix-js-sdk/src/@types/synapse.ts +40 -0
  1656. package/node_modules/matrix-js-sdk/src/@types/sync.ts +27 -0
  1657. package/node_modules/matrix-js-sdk/src/@types/threepids.ts +29 -0
  1658. package/node_modules/matrix-js-sdk/src/@types/topic.ts +69 -0
  1659. package/node_modules/matrix-js-sdk/src/@types/uia.ts +24 -0
  1660. package/node_modules/matrix-js-sdk/src/NamespacedValue.ts +121 -0
  1661. package/node_modules/matrix-js-sdk/src/ReEmitter.ts +93 -0
  1662. package/node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts +156 -0
  1663. package/node_modules/matrix-js-sdk/src/autodiscovery.ts +505 -0
  1664. package/node_modules/matrix-js-sdk/src/base64.ts +86 -0
  1665. package/node_modules/matrix-js-sdk/src/browser-index.ts +44 -0
  1666. package/node_modules/matrix-js-sdk/src/client.ts +9064 -0
  1667. package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +307 -0
  1668. package/node_modules/matrix-js-sdk/src/common-crypto/README.md +4 -0
  1669. package/node_modules/matrix-js-sdk/src/common-crypto/key-passphrase.ts +43 -0
  1670. package/node_modules/matrix-js-sdk/src/content-helpers.ts +298 -0
  1671. package/node_modules/matrix-js-sdk/src/content-repo.ts +122 -0
  1672. package/node_modules/matrix-js-sdk/src/crypto/store/base.ts +388 -0
  1673. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts +655 -0
  1674. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts +555 -0
  1675. package/node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts +409 -0
  1676. package/node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts +326 -0
  1677. package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEvent.ts +152 -0
  1678. package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEventHandlerMap.ts +42 -0
  1679. package/node_modules/matrix-js-sdk/src/crypto-api/index.ts +1379 -0
  1680. package/node_modules/matrix-js-sdk/src/crypto-api/key-passphrase.ts +58 -0
  1681. package/node_modules/matrix-js-sdk/src/crypto-api/keybackup.ts +114 -0
  1682. package/node_modules/matrix-js-sdk/src/crypto-api/recovery-key.ts +69 -0
  1683. package/node_modules/matrix-js-sdk/src/crypto-api/verification.ts +382 -0
  1684. package/node_modules/matrix-js-sdk/src/digest.ts +34 -0
  1685. package/node_modules/matrix-js-sdk/src/embedded.ts +865 -0
  1686. package/node_modules/matrix-js-sdk/src/errors.ts +87 -0
  1687. package/node_modules/matrix-js-sdk/src/event-mapper.ts +88 -0
  1688. package/node_modules/matrix-js-sdk/src/extensible_events_v1/ExtensibleEvent.ts +58 -0
  1689. package/node_modules/matrix-js-sdk/src/extensible_events_v1/InvalidEventError.ts +24 -0
  1690. package/node_modules/matrix-js-sdk/src/extensible_events_v1/MessageEvent.ts +143 -0
  1691. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollEndEvent.ts +97 -0
  1692. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollResponseEvent.ts +148 -0
  1693. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollStartEvent.ts +207 -0
  1694. package/node_modules/matrix-js-sdk/src/extensible_events_v1/utilities.ts +35 -0
  1695. package/node_modules/matrix-js-sdk/src/feature.ts +88 -0
  1696. package/node_modules/matrix-js-sdk/src/filter-component.ts +209 -0
  1697. package/node_modules/matrix-js-sdk/src/filter.ts +271 -0
  1698. package/node_modules/matrix-js-sdk/src/http-api/errors.ts +261 -0
  1699. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +377 -0
  1700. package/node_modules/matrix-js-sdk/src/http-api/index.ts +194 -0
  1701. package/node_modules/matrix-js-sdk/src/http-api/interface.ts +229 -0
  1702. package/node_modules/matrix-js-sdk/src/http-api/method.ts +25 -0
  1703. package/node_modules/matrix-js-sdk/src/http-api/prefix.ts +48 -0
  1704. package/node_modules/matrix-js-sdk/src/http-api/refresh.ts +167 -0
  1705. package/node_modules/matrix-js-sdk/src/http-api/utils.ts +217 -0
  1706. package/node_modules/matrix-js-sdk/src/index.ts +25 -0
  1707. package/node_modules/matrix-js-sdk/src/indexeddb-helpers.ts +50 -0
  1708. package/node_modules/matrix-js-sdk/src/indexeddb-worker.ts +24 -0
  1709. package/node_modules/matrix-js-sdk/src/interactive-auth.ts +700 -0
  1710. package/node_modules/matrix-js-sdk/src/logger.ts +279 -0
  1711. package/node_modules/matrix-js-sdk/src/matrix.ts +174 -0
  1712. package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +438 -0
  1713. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +54 -0
  1714. package/node_modules/matrix-js-sdk/src/matrixrtc/IKeyTransport.ts +63 -0
  1715. package/node_modules/matrix-js-sdk/src/matrixrtc/IMembershipManager.ts +120 -0
  1716. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +46 -0
  1717. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +935 -0
  1718. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSessionManager.ts +170 -0
  1719. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +1122 -0
  1720. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManagerActionScheduler.ts +135 -0
  1721. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +459 -0
  1722. package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +197 -0
  1723. package/node_modules/matrix-js-sdk/src/matrixrtc/index.ts +24 -0
  1724. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/common.ts +27 -0
  1725. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/index.ts +19 -0
  1726. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +157 -0
  1727. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/session.ts +146 -0
  1728. package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +227 -0
  1729. package/node_modules/matrix-js-sdk/src/matrixrtc/utils.ts +71 -0
  1730. package/node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts +272 -0
  1731. package/node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts +565 -0
  1732. package/node_modules/matrix-js-sdk/src/models/ToDeviceMessage.ts +38 -0
  1733. package/node_modules/matrix-js-sdk/src/models/beacon.ts +213 -0
  1734. package/node_modules/matrix-js-sdk/src/models/compare-event-ordering.ts +139 -0
  1735. package/node_modules/matrix-js-sdk/src/models/device.ts +85 -0
  1736. package/node_modules/matrix-js-sdk/src/models/event-context.ts +110 -0
  1737. package/node_modules/matrix-js-sdk/src/models/event-status.ts +39 -0
  1738. package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +962 -0
  1739. package/node_modules/matrix-js-sdk/src/models/event-timeline.ts +461 -0
  1740. package/node_modules/matrix-js-sdk/src/models/event.ts +1819 -0
  1741. package/node_modules/matrix-js-sdk/src/models/invites-ignorer-types.ts +58 -0
  1742. package/node_modules/matrix-js-sdk/src/models/invites-ignorer.ts +341 -0
  1743. package/node_modules/matrix-js-sdk/src/models/poll.ts +285 -0
  1744. package/node_modules/matrix-js-sdk/src/models/profile-keys.ts +33 -0
  1745. package/node_modules/matrix-js-sdk/src/models/read-receipt.ts +422 -0
  1746. package/node_modules/matrix-js-sdk/src/models/related-relations.ts +39 -0
  1747. package/node_modules/matrix-js-sdk/src/models/relations-container.ts +149 -0
  1748. package/node_modules/matrix-js-sdk/src/models/relations.ts +392 -0
  1749. package/node_modules/matrix-js-sdk/src/models/room-member.ts +486 -0
  1750. package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +439 -0
  1751. package/node_modules/matrix-js-sdk/src/models/room-state.ts +1230 -0
  1752. package/node_modules/matrix-js-sdk/src/models/room-sticky-events.ts +383 -0
  1753. package/node_modules/matrix-js-sdk/src/models/room-summary.ts +78 -0
  1754. package/node_modules/matrix-js-sdk/src/models/room.ts +4067 -0
  1755. package/node_modules/matrix-js-sdk/src/models/search-result.ts +57 -0
  1756. package/node_modules/matrix-js-sdk/src/models/thread.ts +928 -0
  1757. package/node_modules/matrix-js-sdk/src/models/typed-event-emitter.ts +246 -0
  1758. package/node_modules/matrix-js-sdk/src/models/user.ts +308 -0
  1759. package/node_modules/matrix-js-sdk/src/oidc/authorize.ts +431 -0
  1760. package/node_modules/matrix-js-sdk/src/oidc/discovery.ts +67 -0
  1761. package/node_modules/matrix-js-sdk/src/oidc/error.ts +33 -0
  1762. package/node_modules/matrix-js-sdk/src/oidc/index.ts +33 -0
  1763. package/node_modules/matrix-js-sdk/src/oidc/register.ts +168 -0
  1764. package/node_modules/matrix-js-sdk/src/oidc/tokenRefresher.ts +184 -0
  1765. package/node_modules/matrix-js-sdk/src/oidc/validate.ts +265 -0
  1766. package/node_modules/matrix-js-sdk/src/pushprocessor.ts +856 -0
  1767. package/node_modules/matrix-js-sdk/src/randomstring.ts +103 -0
  1768. package/node_modules/matrix-js-sdk/src/realtime-callbacks.ts +191 -0
  1769. package/node_modules/matrix-js-sdk/src/receipt-accumulator.ts +189 -0
  1770. package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +557 -0
  1771. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousChannel.ts +48 -0
  1772. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousCode.ts +25 -0
  1773. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousError.ts +26 -0
  1774. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousFailureReason.ts +49 -0
  1775. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousIntent.ts +20 -0
  1776. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousTransport.ts +58 -0
  1777. package/node_modules/matrix-js-sdk/src/rendezvous/channels/MSC4108SecureChannel.ts +278 -0
  1778. package/node_modules/matrix-js-sdk/src/rendezvous/channels/index.ts +17 -0
  1779. package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +140 -0
  1780. package/node_modules/matrix-js-sdk/src/rendezvous/transports/MSC4108RendezvousSession.ts +272 -0
  1781. package/node_modules/matrix-js-sdk/src/rendezvous/transports/index.ts +17 -0
  1782. package/node_modules/matrix-js-sdk/src/room-hierarchy.ts +152 -0
  1783. package/node_modules/matrix-js-sdk/src/rust-crypto/CrossSigningIdentity.ts +195 -0
  1784. package/node_modules/matrix-js-sdk/src/rust-crypto/DehydratedDeviceManager.ts +392 -0
  1785. package/node_modules/matrix-js-sdk/src/rust-crypto/KeyClaimManager.ts +86 -0
  1786. package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestProcessor.ts +233 -0
  1787. package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestsManager.ts +170 -0
  1788. package/node_modules/matrix-js-sdk/src/rust-crypto/PerSessionKeyBackupDownloader.ts +501 -0
  1789. package/node_modules/matrix-js-sdk/src/rust-crypto/RoomEncryptor.ts +362 -0
  1790. package/node_modules/matrix-js-sdk/src/rust-crypto/backup.ts +963 -0
  1791. package/node_modules/matrix-js-sdk/src/rust-crypto/constants.ts +18 -0
  1792. package/node_modules/matrix-js-sdk/src/rust-crypto/device-converter.ts +128 -0
  1793. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +267 -0
  1794. package/node_modules/matrix-js-sdk/src/rust-crypto/libolm_migration.ts +532 -0
  1795. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +2622 -0
  1796. package/node_modules/matrix-js-sdk/src/rust-crypto/secret-storage.ts +60 -0
  1797. package/node_modules/matrix-js-sdk/src/rust-crypto/verification.ts +833 -0
  1798. package/node_modules/matrix-js-sdk/src/scheduler.ts +309 -0
  1799. package/node_modules/matrix-js-sdk/src/secret-storage.ts +714 -0
  1800. package/node_modules/matrix-js-sdk/src/serverCapabilities.ts +146 -0
  1801. package/node_modules/matrix-js-sdk/src/service-types.ts +20 -0
  1802. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +1005 -0
  1803. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +674 -0
  1804. package/node_modules/matrix-js-sdk/src/store/index.ts +280 -0
  1805. package/node_modules/matrix-js-sdk/src/store/indexeddb-backend.ts +45 -0
  1806. package/node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts +642 -0
  1807. package/node_modules/matrix-js-sdk/src/store/indexeddb-remote-backend.ts +225 -0
  1808. package/node_modules/matrix-js-sdk/src/store/indexeddb-store-worker.ts +166 -0
  1809. package/node_modules/matrix-js-sdk/src/store/indexeddb.ts +410 -0
  1810. package/node_modules/matrix-js-sdk/src/store/local-storage-events-emitter.ts +46 -0
  1811. package/node_modules/matrix-js-sdk/src/store/memory.ts +461 -0
  1812. package/node_modules/matrix-js-sdk/src/store/stub.ts +292 -0
  1813. package/node_modules/matrix-js-sdk/src/sync-accumulator.ts +794 -0
  1814. package/node_modules/matrix-js-sdk/src/sync.ts +2064 -0
  1815. package/node_modules/matrix-js-sdk/src/testing.ts +231 -0
  1816. package/node_modules/matrix-js-sdk/src/thread-utils.ts +31 -0
  1817. package/node_modules/matrix-js-sdk/src/timeline-window.ts +534 -0
  1818. package/node_modules/matrix-js-sdk/src/types.ts +59 -0
  1819. package/node_modules/matrix-js-sdk/src/utils/decryptAESSecretStorageItem.ts +54 -0
  1820. package/node_modules/matrix-js-sdk/src/utils/encryptAESSecretStorageItem.ts +73 -0
  1821. package/node_modules/matrix-js-sdk/src/utils/internal/deriveKeys.ts +63 -0
  1822. package/node_modules/matrix-js-sdk/src/utils/roomVersion.ts +35 -0
  1823. package/node_modules/matrix-js-sdk/src/utils.ts +775 -0
  1824. package/node_modules/matrix-js-sdk/src/version-support.ts +50 -0
  1825. package/node_modules/matrix-js-sdk/src/webrtc/audioContext.ts +44 -0
  1826. package/node_modules/matrix-js-sdk/src/webrtc/call.ts +3060 -0
  1827. package/node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts +425 -0
  1828. package/node_modules/matrix-js-sdk/src/webrtc/callEventTypes.ts +101 -0
  1829. package/node_modules/matrix-js-sdk/src/webrtc/callFeed.ts +364 -0
  1830. package/node_modules/matrix-js-sdk/src/webrtc/groupCall.ts +1729 -0
  1831. package/node_modules/matrix-js-sdk/src/webrtc/groupCallEventHandler.ts +234 -0
  1832. package/node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts +501 -0
  1833. package/node_modules/matrix-js-sdk/src/webrtc/stats/callFeedStatsReporter.ts +91 -0
  1834. package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportGatherer.ts +219 -0
  1835. package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportSummary.ts +30 -0
  1836. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStats.ts +47 -0
  1837. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsBuilder.ts +28 -0
  1838. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsReportBuilder.ts +140 -0
  1839. package/node_modules/matrix-js-sdk/src/webrtc/stats/groupCallStats.ts +93 -0
  1840. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaSsrcHandler.ts +57 -0
  1841. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackHandler.ts +70 -0
  1842. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStats.ts +176 -0
  1843. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStatsHandler.ts +90 -0
  1844. package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReport.ts +133 -0
  1845. package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReportEmitter.ts +49 -0
  1846. package/node_modules/matrix-js-sdk/src/webrtc/stats/summaryStatsReportGatherer.ts +148 -0
  1847. package/node_modules/matrix-js-sdk/src/webrtc/stats/trackStatsBuilder.ts +207 -0
  1848. package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStats.ts +26 -0
  1849. package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStatsBuilder.ts +48 -0
  1850. package/node_modules/matrix-js-sdk/src/webrtc/stats/valueFormatter.ts +27 -0
  1851. package/node_modules/matrix-widget-api/LICENSE +201 -0
  1852. package/node_modules/matrix-widget-api/README.md +91 -0
  1853. package/node_modules/matrix-widget-api/dist/api.js +5684 -0
  1854. package/node_modules/matrix-widget-api/dist/api.min.js +1 -0
  1855. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.d.ts +185 -0
  1856. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js +1950 -0
  1857. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js.map +1 -0
  1858. package/node_modules/matrix-widget-api/lib/Symbols.d.ts +3 -0
  1859. package/node_modules/matrix-widget-api/lib/Symbols.js +27 -0
  1860. package/node_modules/matrix-widget-api/lib/Symbols.js.map +1 -0
  1861. package/node_modules/matrix-widget-api/lib/WidgetApi.d.ts +312 -0
  1862. package/node_modules/matrix-widget-api/lib/WidgetApi.js +1025 -0
  1863. package/node_modules/matrix-widget-api/lib/WidgetApi.js.map +1 -0
  1864. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.d.ts +348 -0
  1865. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js +488 -0
  1866. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js.map +1 -0
  1867. package/node_modules/matrix-widget-api/lib/index.d.ts +54 -0
  1868. package/node_modules/matrix-widget-api/lib/index.js +259 -0
  1869. package/node_modules/matrix-widget-api/lib/index.js.map +1 -0
  1870. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts +20 -0
  1871. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js +48 -0
  1872. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js.map +1 -0
  1873. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts +69 -0
  1874. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js +75 -0
  1875. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js.map +1 -0
  1876. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts +34 -0
  1877. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js +6 -0
  1878. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js.map +1 -0
  1879. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts +10 -0
  1880. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js +6 -0
  1881. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js.map +1 -0
  1882. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.d.ts +16 -0
  1883. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js +6 -0
  1884. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js.map +1 -0
  1885. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.d.ts +15 -0
  1886. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js +6 -0
  1887. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js.map +1 -0
  1888. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts +26 -0
  1889. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js +29 -0
  1890. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js.map +1 -0
  1891. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts +10 -0
  1892. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js +6 -0
  1893. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js.map +1 -0
  1894. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts +19 -0
  1895. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js +6 -0
  1896. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js.map +1 -0
  1897. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.d.ts +5 -0
  1898. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js +6 -0
  1899. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js.map +1 -0
  1900. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts +16 -0
  1901. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js +6 -0
  1902. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js.map +1 -0
  1903. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts +3 -0
  1904. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js +6 -0
  1905. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js.map +1 -0
  1906. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.d.ts +5 -0
  1907. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js +6 -0
  1908. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js.map +1 -0
  1909. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts +50 -0
  1910. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js +6 -0
  1911. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js.map +1 -0
  1912. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts +34 -0
  1913. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js +33 -0
  1914. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js.map +1 -0
  1915. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts +15 -0
  1916. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js +6 -0
  1917. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js.map +1 -0
  1918. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts +9 -0
  1919. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js +6 -0
  1920. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js.map +1 -0
  1921. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.d.ts +16 -0
  1922. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js +6 -0
  1923. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js.map +1 -0
  1924. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts +7 -0
  1925. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js +31 -0
  1926. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js.map +1 -0
  1927. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts +55 -0
  1928. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js +30 -0
  1929. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js.map +1 -0
  1930. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts +13 -0
  1931. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js +6 -0
  1932. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js.map +1 -0
  1933. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts +17 -0
  1934. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js +6 -0
  1935. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js.map +1 -0
  1936. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts +23 -0
  1937. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js +6 -0
  1938. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js.map +1 -0
  1939. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts +26 -0
  1940. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js +6 -0
  1941. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js.map +1 -0
  1942. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.d.ts +19 -0
  1943. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js +6 -0
  1944. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js.map +1 -0
  1945. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts +13 -0
  1946. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js +6 -0
  1947. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js.map +1 -0
  1948. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts +36 -0
  1949. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js +6 -0
  1950. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js.map +1 -0
  1951. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts +34 -0
  1952. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js +6 -0
  1953. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js.map +1 -0
  1954. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts +15 -0
  1955. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js +6 -0
  1956. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js.map +1 -0
  1957. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts +29 -0
  1958. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js +6 -0
  1959. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js.map +1 -0
  1960. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts +16 -0
  1961. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js +6 -0
  1962. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js.map +1 -0
  1963. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts +14 -0
  1964. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js +6 -0
  1965. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js.map +1 -0
  1966. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.d.ts +12 -0
  1967. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js +6 -0
  1968. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js.map +1 -0
  1969. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts +31 -0
  1970. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js +6 -0
  1971. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js.map +1 -0
  1972. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.d.ts +21 -0
  1973. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js +29 -0
  1974. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js.map +1 -0
  1975. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.d.ts +16 -0
  1976. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js +6 -0
  1977. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js.map +1 -0
  1978. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.d.ts +16 -0
  1979. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js +6 -0
  1980. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js.map +1 -0
  1981. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts +22 -0
  1982. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js +6 -0
  1983. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js.map +1 -0
  1984. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts +13 -0
  1985. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js +6 -0
  1986. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js.map +1 -0
  1987. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts +69 -0
  1988. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js +67 -0
  1989. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js.map +1 -0
  1990. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts +5 -0
  1991. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js +38 -0
  1992. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js.map +1 -0
  1993. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts +11 -0
  1994. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js +6 -0
  1995. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js.map +1 -0
  1996. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts +5 -0
  1997. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js +29 -0
  1998. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js.map +1 -0
  1999. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts +6 -0
  2000. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js +29 -0
  2001. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js.map +1 -0
  2002. package/node_modules/matrix-widget-api/lib/models/Widget.d.ts +52 -0
  2003. package/node_modules/matrix-widget-api/lib/models/Widget.js +142 -0
  2004. package/node_modules/matrix-widget-api/lib/models/Widget.js.map +1 -0
  2005. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.d.ts +34 -0
  2006. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js +258 -0
  2007. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js.map +1 -0
  2008. package/node_modules/matrix-widget-api/lib/models/WidgetParser.d.ts +46 -0
  2009. package/node_modules/matrix-widget-api/lib/models/WidgetParser.js +152 -0
  2010. package/node_modules/matrix-widget-api/lib/models/WidgetParser.js.map +1 -0
  2011. package/node_modules/matrix-widget-api/lib/models/validation/url.d.ts +1 -0
  2012. package/node_modules/matrix-widget-api/lib/models/validation/url.js +39 -0
  2013. package/node_modules/matrix-widget-api/lib/models/validation/url.js.map +1 -0
  2014. package/node_modules/matrix-widget-api/lib/models/validation/utils.d.ts +1 -0
  2015. package/node_modules/matrix-widget-api/lib/models/validation/utils.js +29 -0
  2016. package/node_modules/matrix-widget-api/lib/models/validation/utils.js.map +1 -0
  2017. package/node_modules/matrix-widget-api/lib/templating/url-template.d.ts +14 -0
  2018. package/node_modules/matrix-widget-api/lib/templating/url-template.js +62 -0
  2019. package/node_modules/matrix-widget-api/lib/templating/url-template.js.map +1 -0
  2020. package/node_modules/matrix-widget-api/lib/transport/ITransport.d.ts +69 -0
  2021. package/node_modules/matrix-widget-api/lib/transport/ITransport.js +6 -0
  2022. package/node_modules/matrix-widget-api/lib/transport/ITransport.js.map +1 -0
  2023. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.d.ts +31 -0
  2024. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js +220 -0
  2025. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js.map +1 -0
  2026. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.d.ts +8 -0
  2027. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js +68 -0
  2028. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js.map +1 -0
  2029. package/node_modules/matrix-widget-api/package.json +79 -0
  2030. package/node_modules/matrix-widget-api/src/ClientWidgetApi.ts +1362 -0
  2031. package/node_modules/matrix-widget-api/src/Symbols.ts +19 -0
  2032. package/node_modules/matrix-widget-api/src/WidgetApi.ts +933 -0
  2033. package/node_modules/matrix-widget-api/src/driver/WidgetDriver.ts +505 -0
  2034. package/node_modules/matrix-widget-api/src/index.ts +81 -0
  2035. package/node_modules/matrix-widget-api/src/interfaces/ApiVersion.ts +56 -0
  2036. package/node_modules/matrix-widget-api/src/interfaces/Capabilities.ts +98 -0
  2037. package/node_modules/matrix-widget-api/src/interfaces/CapabilitiesAction.ts +60 -0
  2038. package/node_modules/matrix-widget-api/src/interfaces/ContentLoadedAction.ts +28 -0
  2039. package/node_modules/matrix-widget-api/src/interfaces/DownloadFileAction.ts +36 -0
  2040. package/node_modules/matrix-widget-api/src/interfaces/GetMediaConfigAction.ts +34 -0
  2041. package/node_modules/matrix-widget-api/src/interfaces/GetOpenIDAction.ts +49 -0
  2042. package/node_modules/matrix-widget-api/src/interfaces/ICustomWidgetData.ts +27 -0
  2043. package/node_modules/matrix-widget-api/src/interfaces/IJitsiWidgetData.ts +38 -0
  2044. package/node_modules/matrix-widget-api/src/interfaces/IRoomAccountData.ts +21 -0
  2045. package/node_modules/matrix-widget-api/src/interfaces/IRoomEvent.ts +33 -0
  2046. package/node_modules/matrix-widget-api/src/interfaces/IStickerpickerWidgetData.ts +21 -0
  2047. package/node_modules/matrix-widget-api/src/interfaces/IToDeviceMessage.ts +21 -0
  2048. package/node_modules/matrix-widget-api/src/interfaces/IWidget.ts +75 -0
  2049. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiErrorResponse.ts +56 -0
  2050. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiRequest.ts +38 -0
  2051. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiResponse.ts +29 -0
  2052. package/node_modules/matrix-widget-api/src/interfaces/LanguageChangeAction.ts +35 -0
  2053. package/node_modules/matrix-widget-api/src/interfaces/ModalButtonKind.ts +23 -0
  2054. package/node_modules/matrix-widget-api/src/interfaces/ModalWidgetActions.ts +89 -0
  2055. package/node_modules/matrix-widget-api/src/interfaces/NavigateAction.ts +32 -0
  2056. package/node_modules/matrix-widget-api/src/interfaces/OpenIDCredentialsAction.ts +38 -0
  2057. package/node_modules/matrix-widget-api/src/interfaces/ReadEventAction.ts +43 -0
  2058. package/node_modules/matrix-widget-api/src/interfaces/ReadRelationsAction.ts +48 -0
  2059. package/node_modules/matrix-widget-api/src/interfaces/ReadRoomAccountDataAction.ts +39 -0
  2060. package/node_modules/matrix-widget-api/src/interfaces/ScreenshotAction.ts +32 -0
  2061. package/node_modules/matrix-widget-api/src/interfaces/SendEventAction.ts +66 -0
  2062. package/node_modules/matrix-widget-api/src/interfaces/SendToDeviceAction.ts +56 -0
  2063. package/node_modules/matrix-widget-api/src/interfaces/SetModalButtonEnabledAction.ts +34 -0
  2064. package/node_modules/matrix-widget-api/src/interfaces/StickerAction.ts +49 -0
  2065. package/node_modules/matrix-widget-api/src/interfaces/StickyAction.ts +36 -0
  2066. package/node_modules/matrix-widget-api/src/interfaces/SupportedVersionsAction.ts +33 -0
  2067. package/node_modules/matrix-widget-api/src/interfaces/ThemeChangeAction.ts +32 -0
  2068. package/node_modules/matrix-widget-api/src/interfaces/TurnServerActions.ts +54 -0
  2069. package/node_modules/matrix-widget-api/src/interfaces/UpdateDelayedEventAction.ts +43 -0
  2070. package/node_modules/matrix-widget-api/src/interfaces/UpdateStateAction.ts +37 -0
  2071. package/node_modules/matrix-widget-api/src/interfaces/UploadFileAction.ts +36 -0
  2072. package/node_modules/matrix-widget-api/src/interfaces/UserDirectorySearchAction.ts +42 -0
  2073. package/node_modules/matrix-widget-api/src/interfaces/VisibilityAction.ts +32 -0
  2074. package/node_modules/matrix-widget-api/src/interfaces/WidgetApiAction.ts +97 -0
  2075. package/node_modules/matrix-widget-api/src/interfaces/WidgetApiDirection.ts +30 -0
  2076. package/node_modules/matrix-widget-api/src/interfaces/WidgetConfigAction.ts +29 -0
  2077. package/node_modules/matrix-widget-api/src/interfaces/WidgetKind.ts +21 -0
  2078. package/node_modules/matrix-widget-api/src/interfaces/WidgetType.ts +23 -0
  2079. package/node_modules/matrix-widget-api/src/models/Widget.ts +108 -0
  2080. package/node_modules/matrix-widget-api/src/models/WidgetEventCapability.ts +224 -0
  2081. package/node_modules/matrix-widget-api/src/models/WidgetParser.ts +147 -0
  2082. package/node_modules/matrix-widget-api/src/models/validation/url.ts +32 -0
  2083. package/node_modules/matrix-widget-api/src/models/validation/utils.ts +22 -0
  2084. package/node_modules/matrix-widget-api/src/templating/url-template.ts +71 -0
  2085. package/node_modules/matrix-widget-api/src/transport/ITransport.ts +109 -0
  2086. package/node_modules/matrix-widget-api/src/transport/PostmessageTransport.ts +200 -0
  2087. package/node_modules/matrix-widget-api/src/util/SimpleObservable.ts +39 -0
  2088. package/node_modules/mdurl/LICENSE +45 -0
  2089. package/node_modules/mdurl/README.md +102 -0
  2090. package/node_modules/mdurl/build/index.cjs.js +534 -0
  2091. package/node_modules/mdurl/index.mjs +11 -0
  2092. package/node_modules/mdurl/lib/decode.mjs +112 -0
  2093. package/node_modules/mdurl/lib/encode.mjs +89 -0
  2094. package/node_modules/mdurl/lib/format.mjs +21 -0
  2095. package/node_modules/mdurl/lib/parse.mjs +308 -0
  2096. package/node_modules/mdurl/package.json +37 -0
  2097. package/node_modules/media-typer/HISTORY.md +50 -0
  2098. package/node_modules/media-typer/LICENSE +22 -0
  2099. package/node_modules/media-typer/README.md +93 -0
  2100. package/node_modules/media-typer/index.js +143 -0
  2101. package/node_modules/media-typer/package.json +33 -0
  2102. package/node_modules/ms/index.js +162 -0
  2103. package/node_modules/ms/license.md +21 -0
  2104. package/node_modules/ms/package.json +38 -0
  2105. package/node_modules/ms/readme.md +59 -0
  2106. package/node_modules/music-metadata/LICENSE.txt +9 -0
  2107. package/node_modules/music-metadata/README.md +878 -0
  2108. package/node_modules/music-metadata/lib/ParseError.d.ts +87 -0
  2109. package/node_modules/music-metadata/lib/ParseError.js +38 -0
  2110. package/node_modules/music-metadata/lib/ParserFactory.d.ts +44 -0
  2111. package/node_modules/music-metadata/lib/ParserFactory.js +141 -0
  2112. package/node_modules/music-metadata/lib/aiff/AiffLoader.d.ts +2 -0
  2113. package/node_modules/music-metadata/lib/aiff/AiffLoader.js +8 -0
  2114. package/node_modules/music-metadata/lib/aiff/AiffParser.d.ts +15 -0
  2115. package/node_modules/music-metadata/lib/aiff/AiffParser.js +104 -0
  2116. package/node_modules/music-metadata/lib/aiff/AiffTagMap.d.ts +4 -0
  2117. package/node_modules/music-metadata/lib/aiff/AiffTagMap.js +15 -0
  2118. package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +48 -0
  2119. package/node_modules/music-metadata/lib/aiff/AiffToken.js +58 -0
  2120. package/node_modules/music-metadata/lib/apev2/APEv2Parser.d.ts +46 -0
  2121. package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +176 -0
  2122. package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.d.ts +4 -0
  2123. package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.js +83 -0
  2124. package/node_modules/music-metadata/lib/apev2/APEv2Token.d.ts +99 -0
  2125. package/node_modules/music-metadata/lib/apev2/APEv2Token.js +116 -0
  2126. package/node_modules/music-metadata/lib/apev2/Apev2Loader.d.ts +2 -0
  2127. package/node_modules/music-metadata/lib/apev2/Apev2Loader.js +8 -0
  2128. package/node_modules/music-metadata/lib/asf/AsfGuid.d.ts +83 -0
  2129. package/node_modules/music-metadata/lib/asf/AsfGuid.js +109 -0
  2130. package/node_modules/music-metadata/lib/asf/AsfLoader.d.ts +2 -0
  2131. package/node_modules/music-metadata/lib/asf/AsfLoader.js +8 -0
  2132. package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +325 -0
  2133. package/node_modules/music-metadata/lib/asf/AsfObject.js +347 -0
  2134. package/node_modules/music-metadata/lib/asf/AsfParser.d.ts +17 -0
  2135. package/node_modules/music-metadata/lib/asf/AsfParser.js +134 -0
  2136. package/node_modules/music-metadata/lib/asf/AsfTagMapper.d.ts +7 -0
  2137. package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +92 -0
  2138. package/node_modules/music-metadata/lib/asf/AsfUtil.d.ts +4 -0
  2139. package/node_modules/music-metadata/lib/asf/AsfUtil.js +32 -0
  2140. package/node_modules/music-metadata/lib/common/BasicParser.d.ts +17 -0
  2141. package/node_modules/music-metadata/lib/common/BasicParser.js +13 -0
  2142. package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.d.ts +10 -0
  2143. package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.js +17 -0
  2144. package/node_modules/music-metadata/lib/common/CombinedTagMapper.d.ts +19 -0
  2145. package/node_modules/music-metadata/lib/common/CombinedTagMapper.js +50 -0
  2146. package/node_modules/music-metadata/lib/common/FourCC.d.ts +6 -0
  2147. package/node_modules/music-metadata/lib/common/FourCC.js +25 -0
  2148. package/node_modules/music-metadata/lib/common/GenericTagMapper.d.ts +51 -0
  2149. package/node_modules/music-metadata/lib/common/GenericTagMapper.js +51 -0
  2150. package/node_modules/music-metadata/lib/common/GenericTagTypes.d.ts +34 -0
  2151. package/node_modules/music-metadata/lib/common/GenericTagTypes.js +133 -0
  2152. package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +86 -0
  2153. package/node_modules/music-metadata/lib/common/MetadataCollector.js +307 -0
  2154. package/node_modules/music-metadata/lib/common/Util.d.ts +56 -0
  2155. package/node_modules/music-metadata/lib/common/Util.js +152 -0
  2156. package/node_modules/music-metadata/lib/core.d.ts +75 -0
  2157. package/node_modules/music-metadata/lib/core.js +126 -0
  2158. package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.d.ts +2 -0
  2159. package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.js +8 -0
  2160. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.d.ts +29 -0
  2161. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +154 -0
  2162. package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.d.ts +9 -0
  2163. package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.js +18 -0
  2164. package/node_modules/music-metadata/lib/dsf/DsfChunk.d.ts +87 -0
  2165. package/node_modules/music-metadata/lib/dsf/DsfChunk.js +50 -0
  2166. package/node_modules/music-metadata/lib/dsf/DsfLoader.d.ts +2 -0
  2167. package/node_modules/music-metadata/lib/dsf/DsfLoader.js +8 -0
  2168. package/node_modules/music-metadata/lib/dsf/DsfParser.d.ts +24 -0
  2169. package/node_modules/music-metadata/lib/dsf/DsfParser.js +57 -0
  2170. package/node_modules/music-metadata/lib/ebml/EbmlIterator.d.ts +67 -0
  2171. package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +218 -0
  2172. package/node_modules/music-metadata/lib/ebml/types.d.ts +37 -0
  2173. package/node_modules/music-metadata/lib/ebml/types.js +8 -0
  2174. package/node_modules/music-metadata/lib/flac/FlacLoader.d.ts +2 -0
  2175. package/node_modules/music-metadata/lib/flac/FlacLoader.js +8 -0
  2176. package/node_modules/music-metadata/lib/flac/FlacParser.d.ts +29 -0
  2177. package/node_modules/music-metadata/lib/flac/FlacParser.js +125 -0
  2178. package/node_modules/music-metadata/lib/flac/FlacToken.d.ts +45 -0
  2179. package/node_modules/music-metadata/lib/flac/FlacToken.js +63 -0
  2180. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.d.ts +17 -0
  2181. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.js +137 -0
  2182. package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.d.ts +4 -0
  2183. package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.js +18 -0
  2184. package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.d.ts +17 -0
  2185. package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.js +56 -0
  2186. package/node_modules/music-metadata/lib/id3v2/FrameHeader.d.ts +31 -0
  2187. package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +73 -0
  2188. package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +92 -0
  2189. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +470 -0
  2190. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.d.ts +9 -0
  2191. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +46 -0
  2192. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.d.ts +14 -0
  2193. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +195 -0
  2194. package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.d.ts +11 -0
  2195. package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.js +17 -0
  2196. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +33 -0
  2197. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +169 -0
  2198. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.d.ts +111 -0
  2199. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +146 -0
  2200. package/node_modules/music-metadata/lib/iff/index.d.ts +33 -0
  2201. package/node_modules/music-metadata/lib/iff/index.js +16 -0
  2202. package/node_modules/music-metadata/lib/index.d.ts +22 -0
  2203. package/node_modules/music-metadata/lib/index.js +53 -0
  2204. package/node_modules/music-metadata/lib/lrc/LyricsParser.d.ts +9 -0
  2205. package/node_modules/music-metadata/lib/lrc/LyricsParser.js +45 -0
  2206. package/node_modules/music-metadata/lib/lyrics3/Lyrics3.d.ts +3 -0
  2207. package/node_modules/music-metadata/lib/lyrics3/Lyrics3.js +17 -0
  2208. package/node_modules/music-metadata/lib/matroska/MatroskaDtd.d.ts +8 -0
  2209. package/node_modules/music-metadata/lib/matroska/MatroskaDtd.js +283 -0
  2210. package/node_modules/music-metadata/lib/matroska/MatroskaLoader.d.ts +2 -0
  2211. package/node_modules/music-metadata/lib/matroska/MatroskaLoader.js +8 -0
  2212. package/node_modules/music-metadata/lib/matroska/MatroskaParser.d.ts +19 -0
  2213. package/node_modules/music-metadata/lib/matroska/MatroskaParser.js +143 -0
  2214. package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.d.ts +4 -0
  2215. package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.js +32 -0
  2216. package/node_modules/music-metadata/lib/matroska/types.d.ts +142 -0
  2217. package/node_modules/music-metadata/lib/matroska/types.js +27 -0
  2218. package/node_modules/music-metadata/lib/mp4/Atom.d.ts +16 -0
  2219. package/node_modules/music-metadata/lib/mp4/Atom.js +65 -0
  2220. package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +487 -0
  2221. package/node_modules/music-metadata/lib/mp4/AtomToken.js +524 -0
  2222. package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +32 -0
  2223. package/node_modules/music-metadata/lib/mp4/MP4Parser.js +647 -0
  2224. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.d.ts +8 -0
  2225. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.js +123 -0
  2226. package/node_modules/music-metadata/lib/mp4/Mp4Loader.d.ts +2 -0
  2227. package/node_modules/music-metadata/lib/mp4/Mp4Loader.js +8 -0
  2228. package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.d.ts +27 -0
  2229. package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.js +28 -0
  2230. package/node_modules/music-metadata/lib/mpeg/MpegLoader.d.ts +2 -0
  2231. package/node_modules/music-metadata/lib/mpeg/MpegLoader.js +8 -0
  2232. package/node_modules/music-metadata/lib/mpeg/MpegParser.d.ts +62 -0
  2233. package/node_modules/music-metadata/lib/mpeg/MpegParser.js +569 -0
  2234. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts +57 -0
  2235. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.js +64 -0
  2236. package/node_modules/music-metadata/lib/mpeg/XingTag.d.ts +44 -0
  2237. package/node_modules/music-metadata/lib/mpeg/XingTag.js +65 -0
  2238. package/node_modules/music-metadata/lib/musepack/MusepackConentError.d.ts +15 -0
  2239. package/node_modules/music-metadata/lib/musepack/MusepackConentError.js +3 -0
  2240. package/node_modules/music-metadata/lib/musepack/MusepackLoader.d.ts +2 -0
  2241. package/node_modules/music-metadata/lib/musepack/MusepackLoader.js +8 -0
  2242. package/node_modules/music-metadata/lib/musepack/MusepackParser.d.ts +4 -0
  2243. package/node_modules/music-metadata/lib/musepack/MusepackParser.js +30 -0
  2244. package/node_modules/music-metadata/lib/musepack/sv7/BitReader.d.ts +13 -0
  2245. package/node_modules/music-metadata/lib/musepack/sv7/BitReader.js +46 -0
  2246. package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.d.ts +8 -0
  2247. package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.js +47 -0
  2248. package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.d.ts +28 -0
  2249. package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.js +39 -0
  2250. package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.d.ts +6 -0
  2251. package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.js +56 -0
  2252. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.d.ts +42 -0
  2253. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +82 -0
  2254. package/node_modules/music-metadata/lib/ogg/OggLoader.d.ts +2 -0
  2255. package/node_modules/music-metadata/lib/ogg/OggLoader.js +8 -0
  2256. package/node_modules/music-metadata/lib/ogg/OggParser.d.ts +27 -0
  2257. package/node_modules/music-metadata/lib/ogg/OggParser.js +125 -0
  2258. package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +83 -0
  2259. package/node_modules/music-metadata/lib/ogg/OggToken.js +41 -0
  2260. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +29 -0
  2261. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +74 -0
  2262. package/node_modules/music-metadata/lib/ogg/opus/Opus.d.ts +63 -0
  2263. package/node_modules/music-metadata/lib/ogg/opus/Opus.js +27 -0
  2264. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.d.ts +24 -0
  2265. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.js +56 -0
  2266. package/node_modules/music-metadata/lib/ogg/speex/Speex.d.ts +36 -0
  2267. package/node_modules/music-metadata/lib/ogg/speex/Speex.js +28 -0
  2268. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +20 -0
  2269. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +31 -0
  2270. package/node_modules/music-metadata/lib/ogg/theora/Theora.d.ts +20 -0
  2271. package/node_modules/music-metadata/lib/ogg/theora/Theora.js +20 -0
  2272. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.d.ts +25 -0
  2273. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.js +39 -0
  2274. package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.d.ts +68 -0
  2275. package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.js +83 -0
  2276. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.d.ts +12 -0
  2277. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +29 -0
  2278. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +53 -0
  2279. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +136 -0
  2280. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.d.ts +7 -0
  2281. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +133 -0
  2282. package/node_modules/music-metadata/lib/riff/RiffChunk.d.ts +16 -0
  2283. package/node_modules/music-metadata/lib/riff/RiffChunk.js +28 -0
  2284. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.d.ts +10 -0
  2285. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.js +34 -0
  2286. package/node_modules/music-metadata/lib/type.d.ts +661 -0
  2287. package/node_modules/music-metadata/lib/type.js +2 -0
  2288. package/node_modules/music-metadata/lib/wav/BwfChunk.d.ts +17 -0
  2289. package/node_modules/music-metadata/lib/wav/BwfChunk.js +26 -0
  2290. package/node_modules/music-metadata/lib/wav/WaveChunk.d.ts +94 -0
  2291. package/node_modules/music-metadata/lib/wav/WaveChunk.js +78 -0
  2292. package/node_modules/music-metadata/lib/wav/WaveLoader.d.ts +2 -0
  2293. package/node_modules/music-metadata/lib/wav/WaveLoader.js +8 -0
  2294. package/node_modules/music-metadata/lib/wav/WaveParser.d.ts +24 -0
  2295. package/node_modules/music-metadata/lib/wav/WaveParser.js +170 -0
  2296. package/node_modules/music-metadata/lib/wavpack/WavPackLoader.d.ts +2 -0
  2297. package/node_modules/music-metadata/lib/wavpack/WavPackLoader.js +8 -0
  2298. package/node_modules/music-metadata/lib/wavpack/WavPackParser.d.ts +30 -0
  2299. package/node_modules/music-metadata/lib/wavpack/WavPackParser.js +109 -0
  2300. package/node_modules/music-metadata/lib/wavpack/WavPackToken.d.ts +60 -0
  2301. package/node_modules/music-metadata/lib/wavpack/WavPackToken.js +70 -0
  2302. package/node_modules/music-metadata/package.json +156 -0
  2303. package/node_modules/node-downloader-helper/LICENSE +21 -0
  2304. package/node_modules/node-downloader-helper/README.md +266 -0
  2305. package/node_modules/node-downloader-helper/bin/helpers.js +50 -0
  2306. package/node_modules/node-downloader-helper/bin/ndh +68 -0
  2307. package/node_modules/node-downloader-helper/dist/index.js +1 -0
  2308. package/node_modules/node-downloader-helper/package.json +55 -0
  2309. package/node_modules/node-downloader-helper/types/index.d.ts +292 -0
  2310. package/node_modules/oidc-client-ts/LICENSE +202 -0
  2311. package/node_modules/oidc-client-ts/README.md +87 -0
  2312. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js +3751 -0
  2313. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js.map +7 -0
  2314. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js +2 -0
  2315. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js.map +7 -0
  2316. package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +3671 -0
  2317. package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +7 -0
  2318. package/node_modules/oidc-client-ts/dist/esm/package.json +4 -0
  2319. package/node_modules/oidc-client-ts/dist/types/oidc-client-ts.d.ts +2003 -0
  2320. package/node_modules/oidc-client-ts/dist/types/tsdoc-metadata.json +11 -0
  2321. package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js +3719 -0
  2322. package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js.map +7 -0
  2323. package/node_modules/oidc-client-ts/package.json +75 -0
  2324. package/node_modules/p-retry/index.d.ts +267 -0
  2325. package/node_modules/p-retry/index.js +267 -0
  2326. package/node_modules/p-retry/license +9 -0
  2327. package/node_modules/p-retry/package.json +63 -0
  2328. package/node_modules/p-retry/readme.md +319 -0
  2329. package/node_modules/punycode.js/LICENSE-MIT.txt +20 -0
  2330. package/node_modules/punycode.js/README.md +148 -0
  2331. package/node_modules/punycode.js/package.json +58 -0
  2332. package/node_modules/punycode.js/punycode.es6.js +444 -0
  2333. package/node_modules/punycode.js/punycode.js +443 -0
  2334. package/node_modules/sdp-transform/.eslintrc.js +19 -0
  2335. package/node_modules/sdp-transform/.github/FUNDING.yml +12 -0
  2336. package/node_modules/sdp-transform/.github/codecov.yml +8 -0
  2337. package/node_modules/sdp-transform/.github/dependabot.yml +15 -0
  2338. package/node_modules/sdp-transform/.github/workflows/ci.yml +26 -0
  2339. package/node_modules/sdp-transform/CHANGELOG.md +247 -0
  2340. package/node_modules/sdp-transform/LICENSE +22 -0
  2341. package/node_modules/sdp-transform/README.md +254 -0
  2342. package/node_modules/sdp-transform/checker.js +47 -0
  2343. package/node_modules/sdp-transform/lib/grammar.js +495 -0
  2344. package/node_modules/sdp-transform/lib/index.js +13 -0
  2345. package/node_modules/sdp-transform/lib/parser.js +124 -0
  2346. package/node_modules/sdp-transform/lib/writer.js +114 -0
  2347. package/node_modules/sdp-transform/package.json +34 -0
  2348. package/node_modules/strtok3/LICENSE.txt +21 -0
  2349. package/node_modules/strtok3/README.md +399 -0
  2350. package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +76 -0
  2351. package/node_modules/strtok3/lib/AbstractTokenizer.js +111 -0
  2352. package/node_modules/strtok3/lib/BlobTokenizer.d.ts +29 -0
  2353. package/node_modules/strtok3/lib/BlobTokenizer.js +53 -0
  2354. package/node_modules/strtok3/lib/BufferTokenizer.d.ts +29 -0
  2355. package/node_modules/strtok3/lib/BufferTokenizer.js +52 -0
  2356. package/node_modules/strtok3/lib/FileTokenizer.d.ts +37 -0
  2357. package/node_modules/strtok3/lib/FileTokenizer.js +61 -0
  2358. package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +34 -0
  2359. package/node_modules/strtok3/lib/ReadStreamTokenizer.js +107 -0
  2360. package/node_modules/strtok3/lib/core.d.ts +40 -0
  2361. package/node_modules/strtok3/lib/core.js +62 -0
  2362. package/node_modules/strtok3/lib/index.d.ts +16 -0
  2363. package/node_modules/strtok3/lib/index.js +22 -0
  2364. package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +54 -0
  2365. package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +71 -0
  2366. package/node_modules/strtok3/lib/stream/Deferred.d.ts +6 -0
  2367. package/node_modules/strtok3/lib/stream/Deferred.js +10 -0
  2368. package/node_modules/strtok3/lib/stream/Errors.d.ts +10 -0
  2369. package/node_modules/strtok3/lib/stream/Errors.js +16 -0
  2370. package/node_modules/strtok3/lib/stream/StreamReader.d.ts +29 -0
  2371. package/node_modules/strtok3/lib/stream/StreamReader.js +83 -0
  2372. package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +14 -0
  2373. package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +27 -0
  2374. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +19 -0
  2375. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +62 -0
  2376. package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +14 -0
  2377. package/node_modules/strtok3/lib/stream/WebStreamReader.js +13 -0
  2378. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +5 -0
  2379. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +19 -0
  2380. package/node_modules/strtok3/lib/stream/index.d.ts +6 -0
  2381. package/node_modules/strtok3/lib/stream/index.js +5 -0
  2382. package/node_modules/strtok3/lib/types.d.ts +139 -0
  2383. package/node_modules/strtok3/lib/types.js +1 -0
  2384. package/node_modules/strtok3/package.json +94 -0
  2385. package/node_modules/token-types/LICENSE.txt +9 -0
  2386. package/node_modules/token-types/README.md +120 -0
  2387. package/node_modules/token-types/lib/index.d.ts +135 -0
  2388. package/node_modules/token-types/lib/index.js +401 -0
  2389. package/node_modules/token-types/package.json +81 -0
  2390. package/node_modules/typebox/build/compile/code.d.mts +12 -0
  2391. package/node_modules/typebox/build/compile/code.mjs +65 -0
  2392. package/node_modules/typebox/build/compile/compile.d.mts +6 -0
  2393. package/node_modules/typebox/build/compile/compile.mjs +12 -0
  2394. package/node_modules/typebox/build/compile/index.d.mts +8 -0
  2395. package/node_modules/typebox/build/compile/index.mjs +14 -0
  2396. package/node_modules/typebox/build/compile/validator.d.mts +43 -0
  2397. package/node_modules/typebox/build/compile/validator.mjs +121 -0
  2398. package/node_modules/typebox/build/error/errors.d.mts +214 -0
  2399. package/node_modules/typebox/build/error/errors.mjs +18 -0
  2400. package/node_modules/typebox/build/error/index.d.mts +1 -0
  2401. package/node_modules/typebox/build/error/index.mjs +1 -0
  2402. package/node_modules/typebox/build/format/_idna.d.mts +2 -0
  2403. package/node_modules/typebox/build/format/_idna.mjs +216 -0
  2404. package/node_modules/typebox/build/format/_puny.d.mts +1 -0
  2405. package/node_modules/typebox/build/format/_puny.mjs +74 -0
  2406. package/node_modules/typebox/build/format/_registry.d.mts +15 -0
  2407. package/node_modules/typebox/build/format/_registry.mjs +96 -0
  2408. package/node_modules/typebox/build/format/date.d.mts +6 -0
  2409. package/node_modules/typebox/build/format/date.mjs +19 -0
  2410. package/node_modules/typebox/build/format/date_time.d.mts +6 -0
  2411. package/node_modules/typebox/build/format/date_time.mjs +11 -0
  2412. package/node_modules/typebox/build/format/duration.d.mts +5 -0
  2413. package/node_modules/typebox/build/format/duration.mjs +8 -0
  2414. package/node_modules/typebox/build/format/email.d.mts +5 -0
  2415. package/node_modules/typebox/build/format/email.mjs +8 -0
  2416. package/node_modules/typebox/build/format/format.d.mts +22 -0
  2417. package/node_modules/typebox/build/format/format.mjs +22 -0
  2418. package/node_modules/typebox/build/format/hostname.d.mts +7 -0
  2419. package/node_modules/typebox/build/format/hostname.mjs +18 -0
  2420. package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
  2421. package/node_modules/typebox/build/format/idn_email.mjs +8 -0
  2422. package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
  2423. package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
  2424. package/node_modules/typebox/build/format/index.d.mts +4 -0
  2425. package/node_modules/typebox/build/format/index.mjs +4 -0
  2426. package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
  2427. package/node_modules/typebox/build/format/ipv4.mjs +38 -0
  2428. package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
  2429. package/node_modules/typebox/build/format/ipv6.mjs +67 -0
  2430. package/node_modules/typebox/build/format/iri.d.mts +5 -0
  2431. package/node_modules/typebox/build/format/iri.mjs +13 -0
  2432. package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
  2433. package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
  2434. package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
  2435. package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
  2436. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
  2437. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
  2438. package/node_modules/typebox/build/format/regex.d.mts +6 -0
  2439. package/node_modules/typebox/build/format/regex.mjs +17 -0
  2440. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
  2441. package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
  2442. package/node_modules/typebox/build/format/time.d.mts +5 -0
  2443. package/node_modules/typebox/build/format/time.mjs +27 -0
  2444. package/node_modules/typebox/build/format/uri.d.mts +5 -0
  2445. package/node_modules/typebox/build/format/uri.mjs +135 -0
  2446. package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
  2447. package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
  2448. package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
  2449. package/node_modules/typebox/build/format/uri_template.mjs +10 -0
  2450. package/node_modules/typebox/build/format/url.d.mts +6 -0
  2451. package/node_modules/typebox/build/format/url.mjs +9 -0
  2452. package/node_modules/typebox/build/format/uuid.d.mts +6 -0
  2453. package/node_modules/typebox/build/format/uuid.mjs +9 -0
  2454. package/node_modules/typebox/build/guard/emit.d.mts +58 -0
  2455. package/node_modules/typebox/build/guard/emit.mjs +194 -0
  2456. package/node_modules/typebox/build/guard/globals.d.mts +35 -0
  2457. package/node_modules/typebox/build/guard/globals.mjs +90 -0
  2458. package/node_modules/typebox/build/guard/guard.d.mts +69 -0
  2459. package/node_modules/typebox/build/guard/guard.mjs +217 -0
  2460. package/node_modules/typebox/build/guard/index.d.mts +6 -0
  2461. package/node_modules/typebox/build/guard/index.mjs +6 -0
  2462. package/node_modules/typebox/build/guard/native.d.mts +20 -0
  2463. package/node_modules/typebox/build/guard/native.mjs +60 -0
  2464. package/node_modules/typebox/build/guard/string.d.mts +6 -0
  2465. package/node_modules/typebox/build/guard/string.mjs +164 -0
  2466. package/node_modules/typebox/build/index.d.mts +8 -0
  2467. package/node_modules/typebox/build/index.mjs +14 -0
  2468. package/node_modules/typebox/build/schema/build.d.mts +39 -0
  2469. package/node_modules/typebox/build/schema/build.mjs +118 -0
  2470. package/node_modules/typebox/build/schema/check.d.mts +6 -0
  2471. package/node_modules/typebox/build/schema/check.mjs +14 -0
  2472. package/node_modules/typebox/build/schema/compile.d.mts +22 -0
  2473. package/node_modules/typebox/build/schema/compile.mjs +46 -0
  2474. package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
  2475. package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
  2476. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
  2477. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
  2478. package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
  2479. package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
  2480. package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
  2481. package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
  2482. package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
  2483. package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
  2484. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
  2485. package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
  2486. package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
  2487. package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
  2488. package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
  2489. package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
  2490. package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
  2491. package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
  2492. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
  2493. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
  2494. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
  2495. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
  2496. package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
  2497. package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
  2498. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
  2499. package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
  2500. package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
  2501. package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
  2502. package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
  2503. package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
  2504. package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
  2505. package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
  2506. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
  2507. package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
  2508. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
  2509. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
  2510. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
  2511. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
  2512. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
  2513. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
  2514. package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
  2515. package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
  2516. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
  2517. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
  2518. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
  2519. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
  2520. package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
  2521. package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
  2522. package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
  2523. package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
  2524. package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
  2525. package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
  2526. package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
  2527. package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
  2528. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
  2529. package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
  2530. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
  2531. package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
  2532. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
  2533. package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
  2534. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
  2535. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
  2536. package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
  2537. package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
  2538. package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
  2539. package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
  2540. package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
  2541. package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
  2542. package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
  2543. package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
  2544. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
  2545. package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
  2546. package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
  2547. package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
  2548. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
  2549. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
  2550. package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
  2551. package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
  2552. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
  2553. package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
  2554. package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
  2555. package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
  2556. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
  2557. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
  2558. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
  2559. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
  2560. package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
  2561. package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
  2562. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
  2563. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
  2564. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
  2565. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
  2566. package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
  2567. package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
  2568. package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
  2569. package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
  2570. package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
  2571. package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
  2572. package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
  2573. package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
  2574. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
  2575. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
  2576. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
  2577. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
  2578. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
  2579. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
  2580. package/node_modules/typebox/build/schema/errors.d.mts +6 -0
  2581. package/node_modules/typebox/build/schema/errors.mjs +24 -0
  2582. package/node_modules/typebox/build/schema/index.d.mts +3 -0
  2583. package/node_modules/typebox/build/schema/index.mjs +9 -0
  2584. package/node_modules/typebox/build/schema/parse.d.mts +13 -0
  2585. package/node_modules/typebox/build/schema/parse.mjs +27 -0
  2586. package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
  2587. package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
  2588. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
  2589. package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
  2590. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
  2591. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
  2592. package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
  2593. package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
  2594. package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
  2595. package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
  2596. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
  2597. package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
  2598. package/node_modules/typebox/build/schema/schema.d.mts +10 -0
  2599. package/node_modules/typebox/build/schema/schema.mjs +10 -0
  2600. package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
  2601. package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
  2602. package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
  2603. package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
  2604. package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
  2605. package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
  2606. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
  2607. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
  2608. package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
  2609. package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
  2610. package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
  2611. package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
  2612. package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
  2613. package/node_modules/typebox/build/schema/static/const.mjs +2 -0
  2614. package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
  2615. package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
  2616. package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
  2617. package/node_modules/typebox/build/schema/static/if.mjs +2 -0
  2618. package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
  2619. package/node_modules/typebox/build/schema/static/index.mjs +1 -0
  2620. package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
  2621. package/node_modules/typebox/build/schema/static/items.mjs +2 -0
  2622. package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
  2623. package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
  2624. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
  2625. package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
  2626. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
  2627. package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
  2628. package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
  2629. package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
  2630. package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
  2631. package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
  2632. package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
  2633. package/node_modules/typebox/build/schema/static/required.mjs +3 -0
  2634. package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
  2635. package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
  2636. package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
  2637. package/node_modules/typebox/build/schema/static/static.mjs +3 -0
  2638. package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
  2639. package/node_modules/typebox/build/schema/static/type.mjs +3 -0
  2640. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
  2641. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
  2642. package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
  2643. package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
  2644. package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
  2645. package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
  2646. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
  2647. package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
  2648. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
  2649. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
  2650. package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
  2651. package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
  2652. package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
  2653. package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
  2654. package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
  2655. package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
  2656. package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
  2657. package/node_modules/typebox/build/schema/types/const.mjs +12 -0
  2658. package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
  2659. package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
  2660. package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
  2661. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
  2662. package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
  2663. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
  2664. package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
  2665. package/node_modules/typebox/build/schema/types/default.mjs +12 -0
  2666. package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
  2667. package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
  2668. package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
  2669. package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
  2670. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
  2671. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
  2672. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
  2673. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
  2674. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
  2675. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
  2676. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
  2677. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
  2678. package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
  2679. package/node_modules/typebox/build/schema/types/else.mjs +14 -0
  2680. package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
  2681. package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
  2682. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
  2683. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
  2684. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
  2685. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
  2686. package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
  2687. package/node_modules/typebox/build/schema/types/format.mjs +13 -0
  2688. package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
  2689. package/node_modules/typebox/build/schema/types/id.mjs +13 -0
  2690. package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
  2691. package/node_modules/typebox/build/schema/types/if.mjs +14 -0
  2692. package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
  2693. package/node_modules/typebox/build/schema/types/index.mjs +60 -0
  2694. package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
  2695. package/node_modules/typebox/build/schema/types/items.mjs +26 -0
  2696. package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
  2697. package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
  2698. package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
  2699. package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
  2700. package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
  2701. package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
  2702. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
  2703. package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
  2704. package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
  2705. package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
  2706. package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
  2707. package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
  2708. package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
  2709. package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
  2710. package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
  2711. package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
  2712. package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
  2713. package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
  2714. package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
  2715. package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
  2716. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
  2717. package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
  2718. package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
  2719. package/node_modules/typebox/build/schema/types/not.mjs +14 -0
  2720. package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
  2721. package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
  2722. package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
  2723. package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
  2724. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
  2725. package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
  2726. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
  2727. package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
  2728. package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
  2729. package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
  2730. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
  2731. package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
  2732. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
  2733. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
  2734. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
  2735. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
  2736. package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
  2737. package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
  2738. package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
  2739. package/node_modules/typebox/build/schema/types/required.mjs +14 -0
  2740. package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
  2741. package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
  2742. package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
  2743. package/node_modules/typebox/build/schema/types/then.mjs +14 -0
  2744. package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
  2745. package/node_modules/typebox/build/schema/types/type.mjs +15 -0
  2746. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
  2747. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
  2748. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
  2749. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
  2750. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
  2751. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
  2752. package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
  2753. package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
  2754. package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
  2755. package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
  2756. package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
  2757. package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
  2758. package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
  2759. package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
  2760. package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
  2761. package/node_modules/typebox/build/system/environment/index.mjs +1 -0
  2762. package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
  2763. package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
  2764. package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
  2765. package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
  2766. package/node_modules/typebox/build/system/index.d.mts +4 -0
  2767. package/node_modules/typebox/build/system/index.mjs +4 -0
  2768. package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
  2769. package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
  2770. package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
  2771. package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
  2772. package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
  2773. package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
  2774. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
  2775. package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
  2776. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
  2777. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
  2778. package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
  2779. package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
  2780. package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
  2781. package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
  2782. package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
  2783. package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
  2784. package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
  2785. package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
  2786. package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
  2787. package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
  2788. package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
  2789. package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
  2790. package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
  2791. package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
  2792. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
  2793. package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
  2794. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
  2795. package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
  2796. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
  2797. package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
  2798. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
  2799. package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
  2800. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
  2801. package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
  2802. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
  2803. package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
  2804. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
  2805. package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
  2806. package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
  2807. package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
  2808. package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
  2809. package/node_modules/typebox/build/system/locale/index.mjs +1 -0
  2810. package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
  2811. package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
  2812. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
  2813. package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
  2814. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
  2815. package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
  2816. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
  2817. package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
  2818. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
  2819. package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
  2820. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
  2821. package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
  2822. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
  2823. package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
  2824. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
  2825. package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
  2826. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
  2827. package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
  2828. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
  2829. package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
  2830. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
  2831. package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
  2832. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
  2833. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
  2834. package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
  2835. package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
  2836. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
  2837. package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
  2838. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
  2839. package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
  2840. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
  2841. package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
  2842. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
  2843. package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
  2844. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
  2845. package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
  2846. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
  2847. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
  2848. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
  2849. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
  2850. package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
  2851. package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
  2852. package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
  2853. package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
  2854. package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
  2855. package/node_modules/typebox/build/system/memory/create.mjs +30 -0
  2856. package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
  2857. package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
  2858. package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
  2859. package/node_modules/typebox/build/system/memory/index.mjs +1 -0
  2860. package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
  2861. package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
  2862. package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
  2863. package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
  2864. package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
  2865. package/node_modules/typebox/build/system/memory/update.mjs +32 -0
  2866. package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
  2867. package/node_modules/typebox/build/system/settings/index.mjs +1 -0
  2868. package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
  2869. package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
  2870. package/node_modules/typebox/build/system/system.d.mts +6 -0
  2871. package/node_modules/typebox/build/system/system.mjs +6 -0
  2872. package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
  2873. package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
  2874. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
  2875. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
  2876. package/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
  2877. package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
  2878. package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
  2879. package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
  2880. package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
  2881. package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
  2882. package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
  2883. package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
  2884. package/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
  2885. package/node_modules/typebox/build/type/action/conditional.mjs +12 -0
  2886. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
  2887. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
  2888. package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
  2889. package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
  2890. package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
  2891. package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
  2892. package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
  2893. package/node_modules/typebox/build/type/action/extract.mjs +11 -0
  2894. package/node_modules/typebox/build/type/action/index.d.mts +27 -0
  2895. package/node_modules/typebox/build/type/action/index.mjs +27 -0
  2896. package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
  2897. package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
  2898. package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
  2899. package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
  2900. package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
  2901. package/node_modules/typebox/build/type/action/interface.mjs +22 -0
  2902. package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
  2903. package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
  2904. package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
  2905. package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
  2906. package/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
  2907. package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
  2908. package/node_modules/typebox/build/type/action/module.d.mts +12 -0
  2909. package/node_modules/typebox/build/type/action/module.mjs +12 -0
  2910. package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
  2911. package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
  2912. package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
  2913. package/node_modules/typebox/build/type/action/omit.mjs +14 -0
  2914. package/node_modules/typebox/build/type/action/options.d.mts +11 -0
  2915. package/node_modules/typebox/build/type/action/options.mjs +11 -0
  2916. package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
  2917. package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
  2918. package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
  2919. package/node_modules/typebox/build/type/action/partial.mjs +11 -0
  2920. package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
  2921. package/node_modules/typebox/build/type/action/pick.mjs +14 -0
  2922. package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
  2923. package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
  2924. package/node_modules/typebox/build/type/action/required.d.mts +11 -0
  2925. package/node_modules/typebox/build/type/action/required.mjs +11 -0
  2926. package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
  2927. package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
  2928. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
  2929. package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
  2930. package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
  2931. package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
  2932. package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
  2933. package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
  2934. package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
  2935. package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
  2936. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
  2937. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
  2938. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
  2939. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
  2940. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
  2941. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
  2942. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
  2943. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
  2944. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
  2945. package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
  2946. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
  2947. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
  2948. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
  2949. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
  2950. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
  2951. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
  2952. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
  2953. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
  2954. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
  2955. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
  2956. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
  2957. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
  2958. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
  2959. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
  2960. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
  2961. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
  2962. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
  2963. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
  2964. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
  2965. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
  2966. package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
  2967. package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
  2968. package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
  2969. package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
  2970. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
  2971. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
  2972. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
  2973. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
  2974. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
  2975. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
  2976. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
  2977. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
  2978. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
  2979. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
  2980. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
  2981. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
  2982. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
  2983. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
  2984. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
  2985. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
  2986. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
  2987. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
  2988. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
  2989. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
  2990. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
  2991. package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
  2992. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
  2993. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
  2994. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
  2995. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
  2996. package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
  2997. package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
  2998. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
  2999. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
  3000. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
  3001. package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
  3002. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
  3003. package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
  3004. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
  3005. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
  3006. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
  3007. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
  3008. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
  3009. package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
  3010. package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
  3011. package/node_modules/typebox/build/type/engine/index.mjs +37 -0
  3012. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
  3013. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
  3014. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
  3015. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
  3016. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
  3017. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
  3018. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
  3019. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
  3020. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
  3021. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
  3022. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
  3023. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
  3024. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
  3025. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
  3026. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
  3027. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
  3028. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
  3029. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
  3030. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
  3031. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
  3032. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
  3033. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
  3034. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
  3035. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
  3036. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
  3037. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
  3038. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
  3039. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
  3040. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
  3041. package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
  3042. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
  3043. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
  3044. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
  3045. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
  3046. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
  3047. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
  3048. package/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
  3049. package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
  3050. package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
  3051. package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
  3052. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
  3053. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
  3054. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
  3055. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
  3056. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
  3057. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
  3058. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
  3059. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
  3060. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
  3061. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
  3062. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
  3063. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
  3064. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
  3065. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
  3066. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
  3067. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
  3068. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
  3069. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
  3070. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
  3071. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
  3072. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
  3073. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
  3074. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
  3075. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
  3076. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
  3077. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
  3078. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
  3079. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
  3080. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
  3081. package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
  3082. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
  3083. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
  3084. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
  3085. package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
  3086. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
  3087. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
  3088. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
  3089. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
  3090. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
  3091. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
  3092. package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
  3093. package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
  3094. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
  3095. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
  3096. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
  3097. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
  3098. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
  3099. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
  3100. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
  3101. package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
  3102. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
  3103. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
  3104. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
  3105. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
  3106. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
  3107. package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
  3108. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
  3109. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
  3110. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
  3111. package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
  3112. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
  3113. package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
  3114. package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
  3115. package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
  3116. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
  3117. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
  3118. package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
  3119. package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
  3120. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
  3121. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
  3122. package/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
  3123. package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
  3124. package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
  3125. package/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
  3126. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
  3127. package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
  3128. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
  3129. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
  3130. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
  3131. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
  3132. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
  3133. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
  3134. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
  3135. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
  3136. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
  3137. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
  3138. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
  3139. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
  3140. package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
  3141. package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
  3142. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
  3143. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
  3144. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
  3145. package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
  3146. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
  3147. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
  3148. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
  3149. package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
  3150. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
  3151. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
  3152. package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
  3153. package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
  3154. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
  3155. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
  3156. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
  3157. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
  3158. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
  3159. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
  3160. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
  3161. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
  3162. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
  3163. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
  3164. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
  3165. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
  3166. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
  3167. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
  3168. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
  3169. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
  3170. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
  3171. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
  3172. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
  3173. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
  3174. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
  3175. package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
  3176. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
  3177. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
  3178. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
  3179. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
  3180. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
  3181. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
  3182. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
  3183. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
  3184. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
  3185. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
  3186. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
  3187. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
  3188. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
  3189. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
  3190. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
  3191. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
  3192. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
  3193. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
  3194. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
  3195. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
  3196. package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
  3197. package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
  3198. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
  3199. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
  3200. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
  3201. package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
  3202. package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
  3203. package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
  3204. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
  3205. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
  3206. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
  3207. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
  3208. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
  3209. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
  3210. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
  3211. package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
  3212. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
  3213. package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
  3214. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
  3215. package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
  3216. package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
  3217. package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
  3218. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
  3219. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
  3220. package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
  3221. package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
  3222. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
  3223. package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
  3224. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
  3225. package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
  3226. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
  3227. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
  3228. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
  3229. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
  3230. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
  3231. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
  3232. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
  3233. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
  3234. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
  3235. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
  3236. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
  3237. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
  3238. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
  3239. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
  3240. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
  3241. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
  3242. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
  3243. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
  3244. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
  3245. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
  3246. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
  3247. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
  3248. package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
  3249. package/node_modules/typebox/build/type/extends/any.mjs +12 -0
  3250. package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
  3251. package/node_modules/typebox/build/type/extends/array.mjs +21 -0
  3252. package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
  3253. package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
  3254. package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
  3255. package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
  3256. package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
  3257. package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
  3258. package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
  3259. package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
  3260. package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
  3261. package/node_modules/typebox/build/type/extends/enum.mjs +6 -0
  3262. package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
  3263. package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
  3264. package/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
  3265. package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
  3266. package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
  3267. package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
  3268. package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
  3269. package/node_modules/typebox/build/type/extends/function.mjs +17 -0
  3270. package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
  3271. package/node_modules/typebox/build/type/extends/index.mjs +2 -0
  3272. package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
  3273. package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
  3274. package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
  3275. package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
  3276. package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
  3277. package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
  3278. package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
  3279. package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
  3280. package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
  3281. package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
  3282. package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
  3283. package/node_modules/typebox/build/type/extends/never.mjs +9 -0
  3284. package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
  3285. package/node_modules/typebox/build/type/extends/null.mjs +9 -0
  3286. package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
  3287. package/node_modules/typebox/build/type/extends/number.mjs +9 -0
  3288. package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
  3289. package/node_modules/typebox/build/type/extends/object.mjs +87 -0
  3290. package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
  3291. package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
  3292. package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
  3293. package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
  3294. package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
  3295. package/node_modules/typebox/build/type/extends/result.mjs +36 -0
  3296. package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
  3297. package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
  3298. package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
  3299. package/node_modules/typebox/build/type/extends/string.mjs +9 -0
  3300. package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
  3301. package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
  3302. package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
  3303. package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
  3304. package/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
  3305. package/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
  3306. package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
  3307. package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
  3308. package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
  3309. package/node_modules/typebox/build/type/extends/union.mjs +24 -0
  3310. package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
  3311. package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
  3312. package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
  3313. package/node_modules/typebox/build/type/extends/void.mjs +9 -0
  3314. package/node_modules/typebox/build/type/index.d.mts +5 -0
  3315. package/node_modules/typebox/build/type/index.mjs +5 -0
  3316. package/node_modules/typebox/build/type/script/index.d.mts +1 -0
  3317. package/node_modules/typebox/build/type/script/index.mjs +1 -0
  3318. package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
  3319. package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
  3320. package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
  3321. package/node_modules/typebox/build/type/script/parser.mjs +135 -0
  3322. package/node_modules/typebox/build/type/script/script.d.mts +17 -0
  3323. package/node_modules/typebox/build/type/script/script.mjs +21 -0
  3324. package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
  3325. package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
  3326. package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
  3327. package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
  3328. package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
  3329. package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
  3330. package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
  3331. package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
  3332. package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
  3333. package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
  3334. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
  3335. package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
  3336. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
  3337. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
  3338. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
  3339. package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
  3340. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
  3341. package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
  3342. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
  3343. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
  3344. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
  3345. package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
  3346. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
  3347. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
  3348. package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
  3349. package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
  3350. package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
  3351. package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
  3352. package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
  3353. package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
  3354. package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
  3355. package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
  3356. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
  3357. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
  3358. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
  3359. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
  3360. package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
  3361. package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
  3362. package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
  3363. package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
  3364. package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
  3365. package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
  3366. package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
  3367. package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
  3368. package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
  3369. package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
  3370. package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
  3371. package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
  3372. package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
  3373. package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
  3374. package/node_modules/typebox/build/type/types/any.d.mts +10 -0
  3375. package/node_modules/typebox/build/type/types/any.mjs +18 -0
  3376. package/node_modules/typebox/build/type/types/array.d.mts +18 -0
  3377. package/node_modules/typebox/build/type/types/array.mjs +25 -0
  3378. package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
  3379. package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
  3380. package/node_modules/typebox/build/type/types/base.d.mts +50 -0
  3381. package/node_modules/typebox/build/type/types/base.mjs +84 -0
  3382. package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
  3383. package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
  3384. package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
  3385. package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
  3386. package/node_modules/typebox/build/type/types/call.d.mts +16 -0
  3387. package/node_modules/typebox/build/type/types/call.mjs +22 -0
  3388. package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
  3389. package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
  3390. package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
  3391. package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
  3392. package/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
  3393. package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
  3394. package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
  3395. package/node_modules/typebox/build/type/types/enum.mjs +17 -0
  3396. package/node_modules/typebox/build/type/types/function.d.mts +21 -0
  3397. package/node_modules/typebox/build/type/types/function.mjs +25 -0
  3398. package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
  3399. package/node_modules/typebox/build/type/types/generic.mjs +17 -0
  3400. package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
  3401. package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
  3402. package/node_modules/typebox/build/type/types/index.d.mts +48 -0
  3403. package/node_modules/typebox/build/type/types/index.mjs +54 -0
  3404. package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
  3405. package/node_modules/typebox/build/type/types/infer.mjs +20 -0
  3406. package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
  3407. package/node_modules/typebox/build/type/types/integer.mjs +21 -0
  3408. package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
  3409. package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
  3410. package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
  3411. package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
  3412. package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
  3413. package/node_modules/typebox/build/type/types/literal.mjs +62 -0
  3414. package/node_modules/typebox/build/type/types/never.d.mts +12 -0
  3415. package/node_modules/typebox/build/type/types/never.mjs +22 -0
  3416. package/node_modules/typebox/build/type/types/null.d.mts +11 -0
  3417. package/node_modules/typebox/build/type/types/null.mjs +17 -0
  3418. package/node_modules/typebox/build/type/types/number.d.mts +12 -0
  3419. package/node_modules/typebox/build/type/types/number.mjs +21 -0
  3420. package/node_modules/typebox/build/type/types/object.d.mts +18 -0
  3421. package/node_modules/typebox/build/type/types/object.mjs +28 -0
  3422. package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
  3423. package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
  3424. package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
  3425. package/node_modules/typebox/build/type/types/promise.mjs +29 -0
  3426. package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
  3427. package/node_modules/typebox/build/type/types/properties.mjs +15 -0
  3428. package/node_modules/typebox/build/type/types/record.d.mts +46 -0
  3429. package/node_modules/typebox/build/type/types/record.mjs +60 -0
  3430. package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
  3431. package/node_modules/typebox/build/type/types/ref.mjs +18 -0
  3432. package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
  3433. package/node_modules/typebox/build/type/types/rest.mjs +17 -0
  3434. package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
  3435. package/node_modules/typebox/build/type/types/schema.mjs +15 -0
  3436. package/node_modules/typebox/build/type/types/static.d.mts +48 -0
  3437. package/node_modules/typebox/build/type/types/static.mjs +3 -0
  3438. package/node_modules/typebox/build/type/types/string.d.mts +12 -0
  3439. package/node_modules/typebox/build/type/types/string.mjs +22 -0
  3440. package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
  3441. package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
  3442. package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
  3443. package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
  3444. package/node_modules/typebox/build/type/types/this.d.mts +14 -0
  3445. package/node_modules/typebox/build/type/types/this.mjs +17 -0
  3446. package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
  3447. package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
  3448. package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
  3449. package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
  3450. package/node_modules/typebox/build/type/types/union.d.mts +15 -0
  3451. package/node_modules/typebox/build/type/types/union.mjs +24 -0
  3452. package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
  3453. package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
  3454. package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
  3455. package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
  3456. package/node_modules/typebox/build/type/types/void.d.mts +11 -0
  3457. package/node_modules/typebox/build/type/types/void.mjs +17 -0
  3458. package/node_modules/typebox/build/typebox.d.mts +73 -0
  3459. package/node_modules/typebox/build/typebox.mjs +89 -0
  3460. package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
  3461. package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
  3462. package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
  3463. package/node_modules/typebox/build/value/assert/index.mjs +1 -0
  3464. package/node_modules/typebox/build/value/check/check.d.mts +5 -0
  3465. package/node_modules/typebox/build/value/check/check.mjs +11 -0
  3466. package/node_modules/typebox/build/value/check/index.d.mts +1 -0
  3467. package/node_modules/typebox/build/value/check/index.mjs +1 -0
  3468. package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
  3469. package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
  3470. package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
  3471. package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
  3472. package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
  3473. package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
  3474. package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
  3475. package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
  3476. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
  3477. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
  3478. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
  3479. package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
  3480. package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
  3481. package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
  3482. package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
  3483. package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
  3484. package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
  3485. package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
  3486. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
  3487. package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
  3488. package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
  3489. package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
  3490. package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
  3491. package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
  3492. package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
  3493. package/node_modules/typebox/build/value/clean/index.mjs +1 -0
  3494. package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
  3495. package/node_modules/typebox/build/value/clone/clone.mjs +83 -0
  3496. package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
  3497. package/node_modules/typebox/build/value/clone/index.mjs +1 -0
  3498. package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
  3499. package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
  3500. package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
  3501. package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
  3502. package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
  3503. package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
  3504. package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
  3505. package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
  3506. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
  3507. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
  3508. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
  3509. package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
  3510. package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
  3511. package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
  3512. package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
  3513. package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
  3514. package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
  3515. package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
  3516. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
  3517. package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
  3518. package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
  3519. package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
  3520. package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
  3521. package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
  3522. package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
  3523. package/node_modules/typebox/build/value/codec/has.mjs +93 -0
  3524. package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
  3525. package/node_modules/typebox/build/value/codec/index.mjs +3 -0
  3526. package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
  3527. package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
  3528. package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
  3529. package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
  3530. package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
  3531. package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
  3532. package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
  3533. package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
  3534. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
  3535. package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
  3536. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
  3537. package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
  3538. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
  3539. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
  3540. package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
  3541. package/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
  3542. package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
  3543. package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
  3544. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
  3545. package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
  3546. package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
  3547. package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
  3548. package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
  3549. package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
  3550. package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
  3551. package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
  3552. package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
  3553. package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
  3554. package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
  3555. package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
  3556. package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
  3557. package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
  3558. package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
  3559. package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
  3560. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
  3561. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
  3562. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
  3563. package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
  3564. package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
  3565. package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
  3566. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
  3567. package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
  3568. package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
  3569. package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
  3570. package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
  3571. package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
  3572. package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
  3573. package/node_modules/typebox/build/value/convert/index.mjs +1 -0
  3574. package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
  3575. package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
  3576. package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
  3577. package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
  3578. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
  3579. package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
  3580. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
  3581. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
  3582. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
  3583. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
  3584. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
  3585. package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
  3586. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
  3587. package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
  3588. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
  3589. package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
  3590. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
  3591. package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
  3592. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
  3593. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
  3594. package/node_modules/typebox/build/value/create/create.d.mts +5 -0
  3595. package/node_modules/typebox/build/value/create/create.mjs +11 -0
  3596. package/node_modules/typebox/build/value/create/error.d.mts +5 -0
  3597. package/node_modules/typebox/build/value/create/error.mjs +7 -0
  3598. package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
  3599. package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
  3600. package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
  3601. package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
  3602. package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
  3603. package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
  3604. package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
  3605. package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
  3606. package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
  3607. package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
  3608. package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
  3609. package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
  3610. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
  3611. package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
  3612. package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
  3613. package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
  3614. package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
  3615. package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
  3616. package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
  3617. package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
  3618. package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
  3619. package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
  3620. package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
  3621. package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
  3622. package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
  3623. package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
  3624. package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
  3625. package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
  3626. package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
  3627. package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
  3628. package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
  3629. package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
  3630. package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
  3631. package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
  3632. package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
  3633. package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
  3634. package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
  3635. package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
  3636. package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
  3637. package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
  3638. package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
  3639. package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
  3640. package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
  3641. package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
  3642. package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
  3643. package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
  3644. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
  3645. package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
  3646. package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
  3647. package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
  3648. package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
  3649. package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
  3650. package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
  3651. package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
  3652. package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
  3653. package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
  3654. package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
  3655. package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
  3656. package/node_modules/typebox/build/value/create/index.d.mts +2 -0
  3657. package/node_modules/typebox/build/value/create/index.mjs +2 -0
  3658. package/node_modules/typebox/build/value/default/default.d.mts +13 -0
  3659. package/node_modules/typebox/build/value/default/default.mjs +15 -0
  3660. package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
  3661. package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
  3662. package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
  3663. package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
  3664. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
  3665. package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
  3666. package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
  3667. package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
  3668. package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
  3669. package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
  3670. package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
  3671. package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
  3672. package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
  3673. package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
  3674. package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
  3675. package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
  3676. package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
  3677. package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
  3678. package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
  3679. package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
  3680. package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
  3681. package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
  3682. package/node_modules/typebox/build/value/default/index.d.mts +1 -0
  3683. package/node_modules/typebox/build/value/default/index.mjs +1 -0
  3684. package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
  3685. package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
  3686. package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
  3687. package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
  3688. package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
  3689. package/node_modules/typebox/build/value/delta/index.mjs +3 -0
  3690. package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
  3691. package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
  3692. package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
  3693. package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
  3694. package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
  3695. package/node_modules/typebox/build/value/equal/index.mjs +1 -0
  3696. package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
  3697. package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
  3698. package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
  3699. package/node_modules/typebox/build/value/errors/index.mjs +1 -0
  3700. package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
  3701. package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
  3702. package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
  3703. package/node_modules/typebox/build/value/hash/index.mjs +1 -0
  3704. package/node_modules/typebox/build/value/index.d.mts +21 -0
  3705. package/node_modules/typebox/build/value/index.mjs +30 -0
  3706. package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
  3707. package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
  3708. package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
  3709. package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
  3710. package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
  3711. package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
  3712. package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
  3713. package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
  3714. package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
  3715. package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
  3716. package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
  3717. package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
  3718. package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
  3719. package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
  3720. package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
  3721. package/node_modules/typebox/build/value/parse/index.mjs +1 -0
  3722. package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
  3723. package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
  3724. package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
  3725. package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
  3726. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
  3727. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
  3728. package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
  3729. package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
  3730. package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
  3731. package/node_modules/typebox/build/value/repair/error.mjs +8 -0
  3732. package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
  3733. package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
  3734. package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
  3735. package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
  3736. package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
  3737. package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
  3738. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
  3739. package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
  3740. package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
  3741. package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
  3742. package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
  3743. package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
  3744. package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
  3745. package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
  3746. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
  3747. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
  3748. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
  3749. package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
  3750. package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
  3751. package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
  3752. package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
  3753. package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
  3754. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
  3755. package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
  3756. package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
  3757. package/node_modules/typebox/build/value/repair/index.mjs +1 -0
  3758. package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
  3759. package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
  3760. package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
  3761. package/node_modules/typebox/build/value/shared/index.mjs +4 -0
  3762. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
  3763. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
  3764. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
  3765. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
  3766. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
  3767. package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
  3768. package/node_modules/typebox/build/value/value.d.mts +16 -0
  3769. package/node_modules/typebox/build/value/value.mjs +16 -0
  3770. package/node_modules/typebox/license +23 -0
  3771. package/node_modules/typebox/package.json +87 -0
  3772. package/node_modules/typebox/readme.md +356 -0
  3773. package/node_modules/uc.micro/LICENSE.txt +20 -0
  3774. package/node_modules/uc.micro/README.md +14 -0
  3775. package/node_modules/uc.micro/build/index.cjs.js +20 -0
  3776. package/node_modules/uc.micro/categories/Cc/regex.mjs +1 -0
  3777. package/node_modules/uc.micro/categories/Cf/regex.mjs +1 -0
  3778. package/node_modules/uc.micro/categories/P/regex.mjs +1 -0
  3779. package/node_modules/uc.micro/categories/S/regex.mjs +1 -0
  3780. package/node_modules/uc.micro/categories/Z/regex.mjs +1 -0
  3781. package/node_modules/uc.micro/index.mjs +8 -0
  3782. package/node_modules/uc.micro/package.json +37 -0
  3783. package/node_modules/uc.micro/properties/Any/regex.mjs +1 -0
  3784. package/node_modules/uint8array-extras/index.d.ts +331 -0
  3785. package/node_modules/uint8array-extras/index.js +318 -0
  3786. package/node_modules/uint8array-extras/license +9 -0
  3787. package/node_modules/uint8array-extras/package.json +54 -0
  3788. package/node_modules/uint8array-extras/readme.md +318 -0
  3789. package/node_modules/unhomoglyph/CHANGELOG.md +45 -0
  3790. package/node_modules/unhomoglyph/LICENSE +22 -0
  3791. package/node_modules/unhomoglyph/README.md +54 -0
  3792. package/node_modules/unhomoglyph/data.json +6313 -0
  3793. package/node_modules/unhomoglyph/index.d.ts +4 -0
  3794. package/node_modules/unhomoglyph/index.js +20 -0
  3795. package/node_modules/unhomoglyph/package.json +25 -0
  3796. package/node_modules/win-guid/LICENSE.txt +9 -0
  3797. package/node_modules/win-guid/README.md +113 -0
  3798. package/node_modules/win-guid/lib/guid.d.ts +20 -0
  3799. package/node_modules/win-guid/lib/guid.js +107 -0
  3800. package/node_modules/win-guid/package.json +55 -0
  3801. package/node_modules/zod/LICENSE +21 -0
  3802. package/node_modules/zod/README.md +191 -0
  3803. package/node_modules/zod/index.cjs +33 -0
  3804. package/node_modules/zod/index.d.cts +4 -0
  3805. package/node_modules/zod/index.d.ts +4 -0
  3806. package/node_modules/zod/index.js +4 -0
  3807. package/node_modules/zod/locales/index.cjs +17 -0
  3808. package/node_modules/zod/locales/index.d.cts +1 -0
  3809. package/node_modules/zod/locales/index.d.ts +1 -0
  3810. package/node_modules/zod/locales/index.js +1 -0
  3811. package/node_modules/zod/locales/package.json +7 -0
  3812. package/node_modules/zod/mini/index.cjs +32 -0
  3813. package/node_modules/zod/mini/index.d.cts +3 -0
  3814. package/node_modules/zod/mini/index.d.ts +3 -0
  3815. package/node_modules/zod/mini/index.js +3 -0
  3816. package/node_modules/zod/mini/package.json +7 -0
  3817. package/node_modules/zod/package.json +135 -0
  3818. package/node_modules/zod/src/index.ts +4 -0
  3819. package/node_modules/zod/src/locales/index.ts +1 -0
  3820. package/node_modules/zod/src/mini/index.ts +3 -0
  3821. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  3822. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  3823. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  3824. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  3825. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  3826. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  3827. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  3828. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  3829. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  3830. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  3831. package/node_modules/zod/src/v3/errors.ts +13 -0
  3832. package/node_modules/zod/src/v3/external.ts +6 -0
  3833. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  3834. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  3835. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  3836. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  3837. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  3838. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  3839. package/node_modules/zod/src/v3/index.ts +4 -0
  3840. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  3841. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  3842. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  3843. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  3844. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  3845. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  3846. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  3847. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  3848. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  3849. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  3850. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  3851. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  3852. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  3853. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  3854. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  3855. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  3856. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  3857. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  3858. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  3859. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  3860. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  3861. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  3862. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  3863. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  3864. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  3865. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  3866. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  3867. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  3868. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  3869. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  3870. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  3871. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  3872. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  3873. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  3874. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  3875. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  3876. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  3877. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  3878. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  3879. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  3880. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  3881. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  3882. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  3883. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  3884. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  3885. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  3886. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  3887. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  3888. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  3889. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  3890. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  3891. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  3892. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  3893. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  3894. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  3895. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  3896. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  3897. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  3898. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  3899. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  3900. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  3901. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  3902. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  3903. package/node_modules/zod/src/v3/types.ts +5138 -0
  3904. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  3905. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  3906. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  3907. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  3908. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  3909. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  3910. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  3911. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  3912. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  3913. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  3914. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  3915. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  3916. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  3917. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  3918. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  3919. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  3920. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  3921. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  3922. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  3923. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  3924. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  3925. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  3926. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  3927. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  3928. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  3929. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  3930. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  3931. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  3932. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  3933. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  3934. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  3935. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  3936. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  3937. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  3938. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  3939. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  3940. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  3941. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  3942. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  3943. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  3944. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  3945. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  3946. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  3947. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  3948. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  3949. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  3950. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  3951. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  3952. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  3953. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  3954. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  3955. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  3956. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  3957. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  3958. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  3959. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  3960. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  3961. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  3962. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  3963. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  3964. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  3965. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  3966. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  3967. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  3968. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  3969. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  3970. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  3971. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  3972. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  3973. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  3974. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  3975. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  3976. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  3977. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  3978. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  3979. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  3980. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  3981. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  3982. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  3983. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  3984. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  3985. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  3986. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  3987. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  3988. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  3989. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  3990. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  3991. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  3992. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  3993. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  3994. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  3995. package/node_modules/zod/src/v4/core/config.ts +15 -0
  3996. package/node_modules/zod/src/v4/core/core.ts +153 -0
  3997. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  3998. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  3999. package/node_modules/zod/src/v4/core/index.ts +16 -0
  4000. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  4001. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  4002. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  4003. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  4004. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  4005. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  4006. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  4007. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  4008. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  4009. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  4010. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  4011. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  4012. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  4013. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  4014. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  4015. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  4016. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  4017. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  4018. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  4019. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  4020. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  4021. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  4022. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  4023. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  4024. package/node_modules/zod/src/v4/core/util.ts +983 -0
  4025. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  4026. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  4027. package/node_modules/zod/src/v4/index.ts +4 -0
  4028. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  4029. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  4030. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  4031. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  4032. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  4033. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  4034. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  4035. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  4036. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  4037. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  4038. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  4039. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  4040. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  4041. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  4042. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  4043. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  4044. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  4045. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  4046. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  4047. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  4048. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  4049. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  4050. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  4051. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  4052. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  4053. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  4054. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  4055. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  4056. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  4057. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  4058. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  4059. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  4060. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  4061. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  4062. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  4063. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  4064. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  4065. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  4066. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  4067. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  4068. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  4069. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  4070. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  4071. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  4072. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  4073. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  4074. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  4075. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  4076. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  4077. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  4078. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  4079. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  4080. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  4081. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  4082. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  4083. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  4084. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  4085. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  4086. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  4087. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  4088. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  4089. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  4090. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  4091. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  4092. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  4093. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  4094. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  4095. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  4096. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  4097. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  4098. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  4099. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  4100. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  4101. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  4102. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  4103. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  4104. package/node_modules/zod/v3/ZodError.cjs +138 -0
  4105. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  4106. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  4107. package/node_modules/zod/v3/ZodError.js +133 -0
  4108. package/node_modules/zod/v3/errors.cjs +17 -0
  4109. package/node_modules/zod/v3/errors.d.cts +5 -0
  4110. package/node_modules/zod/v3/errors.d.ts +5 -0
  4111. package/node_modules/zod/v3/errors.js +9 -0
  4112. package/node_modules/zod/v3/external.cjs +22 -0
  4113. package/node_modules/zod/v3/external.d.cts +6 -0
  4114. package/node_modules/zod/v3/external.d.ts +6 -0
  4115. package/node_modules/zod/v3/external.js +6 -0
  4116. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  4117. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  4118. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  4119. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  4120. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  4121. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  4122. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  4123. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  4124. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  4125. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  4126. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  4127. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  4128. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  4129. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  4130. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  4131. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  4132. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  4133. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  4134. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  4135. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  4136. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  4137. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  4138. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  4139. package/node_modules/zod/v3/helpers/util.js +133 -0
  4140. package/node_modules/zod/v3/index.cjs +33 -0
  4141. package/node_modules/zod/v3/index.d.cts +4 -0
  4142. package/node_modules/zod/v3/index.d.ts +4 -0
  4143. package/node_modules/zod/v3/index.js +4 -0
  4144. package/node_modules/zod/v3/locales/en.cjs +112 -0
  4145. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  4146. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  4147. package/node_modules/zod/v3/locales/en.js +109 -0
  4148. package/node_modules/zod/v3/package.json +7 -0
  4149. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  4150. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  4151. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  4152. package/node_modules/zod/v3/standard-schema.js +1 -0
  4153. package/node_modules/zod/v3/types.cjs +3777 -0
  4154. package/node_modules/zod/v3/types.d.cts +1034 -0
  4155. package/node_modules/zod/v3/types.d.ts +1034 -0
  4156. package/node_modules/zod/v3/types.js +3695 -0
  4157. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  4158. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  4159. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  4160. package/node_modules/zod/v4/classic/checks.js +1 -0
  4161. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  4162. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  4163. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  4164. package/node_modules/zod/v4/classic/coerce.js +17 -0
  4165. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  4166. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  4167. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  4168. package/node_modules/zod/v4/classic/compat.js +31 -0
  4169. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  4170. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  4171. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  4172. package/node_modules/zod/v4/classic/errors.js +48 -0
  4173. package/node_modules/zod/v4/classic/external.cjs +73 -0
  4174. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  4175. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  4176. package/node_modules/zod/v4/classic/external.js +20 -0
  4177. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  4178. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  4179. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  4180. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  4181. package/node_modules/zod/v4/classic/index.cjs +33 -0
  4182. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  4183. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  4184. package/node_modules/zod/v4/classic/index.js +4 -0
  4185. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  4186. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  4187. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  4188. package/node_modules/zod/v4/classic/iso.js +30 -0
  4189. package/node_modules/zod/v4/classic/package.json +7 -0
  4190. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  4191. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  4192. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  4193. package/node_modules/zod/v4/classic/parse.js +15 -0
  4194. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  4195. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  4196. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  4197. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  4198. package/node_modules/zod/v4/core/api.cjs +1227 -0
  4199. package/node_modules/zod/v4/core/api.d.cts +325 -0
  4200. package/node_modules/zod/v4/core/api.d.ts +325 -0
  4201. package/node_modules/zod/v4/core/api.js +1087 -0
  4202. package/node_modules/zod/v4/core/checks.cjs +601 -0
  4203. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  4204. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  4205. package/node_modules/zod/v4/core/checks.js +575 -0
  4206. package/node_modules/zod/v4/core/core.cjs +85 -0
  4207. package/node_modules/zod/v4/core/core.d.cts +70 -0
  4208. package/node_modules/zod/v4/core/core.d.ts +70 -0
  4209. package/node_modules/zod/v4/core/core.js +78 -0
  4210. package/node_modules/zod/v4/core/doc.cjs +39 -0
  4211. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  4212. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  4213. package/node_modules/zod/v4/core/doc.js +35 -0
  4214. package/node_modules/zod/v4/core/errors.cjs +216 -0
  4215. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  4216. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  4217. package/node_modules/zod/v4/core/errors.js +185 -0
  4218. package/node_modules/zod/v4/core/index.cjs +47 -0
  4219. package/node_modules/zod/v4/core/index.d.cts +16 -0
  4220. package/node_modules/zod/v4/core/index.d.ts +16 -0
  4221. package/node_modules/zod/v4/core/index.js +16 -0
  4222. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  4223. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  4224. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  4225. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  4226. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  4227. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  4228. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  4229. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  4230. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  4231. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  4232. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  4233. package/node_modules/zod/v4/core/json-schema.js +1 -0
  4234. package/node_modules/zod/v4/core/package.json +7 -0
  4235. package/node_modules/zod/v4/core/parse.cjs +131 -0
  4236. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  4237. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  4238. package/node_modules/zod/v4/core/parse.js +93 -0
  4239. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  4240. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  4241. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  4242. package/node_modules/zod/v4/core/regexes.js +139 -0
  4243. package/node_modules/zod/v4/core/registries.cjs +56 -0
  4244. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  4245. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  4246. package/node_modules/zod/v4/core/registries.js +51 -0
  4247. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  4248. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  4249. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  4250. package/node_modules/zod/v4/core/schemas.js +2239 -0
  4251. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  4252. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  4253. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  4254. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  4255. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  4256. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  4257. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  4258. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  4259. package/node_modules/zod/v4/core/util.cjs +734 -0
  4260. package/node_modules/zod/v4/core/util.d.cts +200 -0
  4261. package/node_modules/zod/v4/core/util.d.ts +200 -0
  4262. package/node_modules/zod/v4/core/util.js +674 -0
  4263. package/node_modules/zod/v4/core/versions.cjs +8 -0
  4264. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  4265. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  4266. package/node_modules/zod/v4/core/versions.js +5 -0
  4267. package/node_modules/zod/v4/index.cjs +22 -0
  4268. package/node_modules/zod/v4/index.d.cts +3 -0
  4269. package/node_modules/zod/v4/index.d.ts +3 -0
  4270. package/node_modules/zod/v4/index.js +3 -0
  4271. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  4272. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  4273. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  4274. package/node_modules/zod/v4/locales/ar.js +106 -0
  4275. package/node_modules/zod/v4/locales/az.cjs +132 -0
  4276. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  4277. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  4278. package/node_modules/zod/v4/locales/az.js +105 -0
  4279. package/node_modules/zod/v4/locales/be.cjs +183 -0
  4280. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  4281. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  4282. package/node_modules/zod/v4/locales/be.js +156 -0
  4283. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  4284. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  4285. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  4286. package/node_modules/zod/v4/locales/bg.js +120 -0
  4287. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  4288. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  4289. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  4290. package/node_modules/zod/v4/locales/ca.js +107 -0
  4291. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  4292. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  4293. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  4294. package/node_modules/zod/v4/locales/cs.js +111 -0
  4295. package/node_modules/zod/v4/locales/da.cjs +142 -0
  4296. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  4297. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  4298. package/node_modules/zod/v4/locales/da.js +115 -0
  4299. package/node_modules/zod/v4/locales/de.cjs +135 -0
  4300. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  4301. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  4302. package/node_modules/zod/v4/locales/de.js +108 -0
  4303. package/node_modules/zod/v4/locales/el.cjs +136 -0
  4304. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  4305. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  4306. package/node_modules/zod/v4/locales/el.js +109 -0
  4307. package/node_modules/zod/v4/locales/en.cjs +140 -0
  4308. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  4309. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  4310. package/node_modules/zod/v4/locales/en.js +113 -0
  4311. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  4312. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  4313. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  4314. package/node_modules/zod/v4/locales/eo.js +109 -0
  4315. package/node_modules/zod/v4/locales/es.cjs +159 -0
  4316. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  4317. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  4318. package/node_modules/zod/v4/locales/es.js +132 -0
  4319. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  4320. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  4321. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  4322. package/node_modules/zod/v4/locales/fa.js +114 -0
  4323. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  4324. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  4325. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  4326. package/node_modules/zod/v4/locales/fi.js +112 -0
  4327. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  4328. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  4329. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  4330. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  4331. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  4332. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  4333. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  4334. package/node_modules/zod/v4/locales/fr.js +125 -0
  4335. package/node_modules/zod/v4/locales/he.cjs +241 -0
  4336. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  4337. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  4338. package/node_modules/zod/v4/locales/he.js +214 -0
  4339. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  4340. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  4341. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  4342. package/node_modules/zod/v4/locales/hr.js +122 -0
  4343. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  4344. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  4345. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  4346. package/node_modules/zod/v4/locales/hu.js +108 -0
  4347. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  4348. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  4349. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  4350. package/node_modules/zod/v4/locales/hy.js +147 -0
  4351. package/node_modules/zod/v4/locales/id.cjs +133 -0
  4352. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  4353. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  4354. package/node_modules/zod/v4/locales/id.js +106 -0
  4355. package/node_modules/zod/v4/locales/index.cjs +111 -0
  4356. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  4357. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  4358. package/node_modules/zod/v4/locales/index.js +52 -0
  4359. package/node_modules/zod/v4/locales/is.cjs +136 -0
  4360. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  4361. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  4362. package/node_modules/zod/v4/locales/is.js +109 -0
  4363. package/node_modules/zod/v4/locales/it.cjs +135 -0
  4364. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  4365. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  4366. package/node_modules/zod/v4/locales/it.js +108 -0
  4367. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  4368. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  4369. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  4370. package/node_modules/zod/v4/locales/ja.js +107 -0
  4371. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  4372. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  4373. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  4374. package/node_modules/zod/v4/locales/ka.js +112 -0
  4375. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  4376. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  4377. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  4378. package/node_modules/zod/v4/locales/kh.js +5 -0
  4379. package/node_modules/zod/v4/locales/km.cjs +137 -0
  4380. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  4381. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  4382. package/node_modules/zod/v4/locales/km.js +110 -0
  4383. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  4384. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  4385. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  4386. package/node_modules/zod/v4/locales/ko.js +111 -0
  4387. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  4388. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  4389. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  4390. package/node_modules/zod/v4/locales/lt.js +203 -0
  4391. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  4392. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  4393. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  4394. package/node_modules/zod/v4/locales/mk.js +109 -0
  4395. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  4396. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  4397. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  4398. package/node_modules/zod/v4/locales/ms.js +107 -0
  4399. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  4400. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  4401. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  4402. package/node_modules/zod/v4/locales/nl.js +110 -0
  4403. package/node_modules/zod/v4/locales/no.cjs +135 -0
  4404. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  4405. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  4406. package/node_modules/zod/v4/locales/no.js +108 -0
  4407. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  4408. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  4409. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  4410. package/node_modules/zod/v4/locales/ota.js +109 -0
  4411. package/node_modules/zod/v4/locales/package.json +7 -0
  4412. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  4413. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  4414. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  4415. package/node_modules/zod/v4/locales/pl.js +109 -0
  4416. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  4417. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  4418. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  4419. package/node_modules/zod/v4/locales/ps.js +114 -0
  4420. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  4421. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  4422. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  4423. package/node_modules/zod/v4/locales/pt.js +108 -0
  4424. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  4425. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  4426. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  4427. package/node_modules/zod/v4/locales/ro.js +119 -0
  4428. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  4429. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  4430. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  4431. package/node_modules/zod/v4/locales/ru.js +156 -0
  4432. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  4433. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  4434. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  4435. package/node_modules/zod/v4/locales/sl.js +109 -0
  4436. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  4437. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  4438. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  4439. package/node_modules/zod/v4/locales/sv.js +110 -0
  4440. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  4441. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  4442. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  4443. package/node_modules/zod/v4/locales/ta.js +110 -0
  4444. package/node_modules/zod/v4/locales/th.cjs +137 -0
  4445. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  4446. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  4447. package/node_modules/zod/v4/locales/th.js +110 -0
  4448. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  4449. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  4450. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  4451. package/node_modules/zod/v4/locales/tr.js +105 -0
  4452. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  4453. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  4454. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  4455. package/node_modules/zod/v4/locales/ua.js +5 -0
  4456. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  4457. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  4458. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  4459. package/node_modules/zod/v4/locales/uk.js +108 -0
  4460. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  4461. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  4462. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  4463. package/node_modules/zod/v4/locales/ur.js +110 -0
  4464. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  4465. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  4466. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  4467. package/node_modules/zod/v4/locales/uz.js +110 -0
  4468. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  4469. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  4470. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  4471. package/node_modules/zod/v4/locales/vi.js +108 -0
  4472. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  4473. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  4474. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  4475. package/node_modules/zod/v4/locales/yo.js +107 -0
  4476. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  4477. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  4478. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  4479. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  4480. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  4481. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  4482. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  4483. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  4484. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  4485. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  4486. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  4487. package/node_modules/zod/v4/mini/checks.js +1 -0
  4488. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  4489. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  4490. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  4491. package/node_modules/zod/v4/mini/coerce.js +22 -0
  4492. package/node_modules/zod/v4/mini/external.cjs +63 -0
  4493. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  4494. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  4495. package/node_modules/zod/v4/mini/external.js +14 -0
  4496. package/node_modules/zod/v4/mini/index.cjs +32 -0
  4497. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  4498. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  4499. package/node_modules/zod/v4/mini/index.js +3 -0
  4500. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  4501. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  4502. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  4503. package/node_modules/zod/v4/mini/iso.js +34 -0
  4504. package/node_modules/zod/v4/mini/package.json +7 -0
  4505. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  4506. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  4507. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  4508. package/node_modules/zod/v4/mini/parse.js +1 -0
  4509. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  4510. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  4511. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  4512. package/node_modules/zod/v4/mini/schemas.js +961 -0
  4513. package/node_modules/zod/v4/package.json +7 -0
  4514. package/node_modules/zod/v4-mini/index.cjs +32 -0
  4515. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  4516. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  4517. package/node_modules/zod/v4-mini/index.js +3 -0
  4518. package/node_modules/zod/v4-mini/package.json +7 -0
  4519. package/npm-shrinkwrap.json +532 -0
  4520. package/package.json +16 -9
@@ -0,0 +1,4730 @@
1
+ import type { $ZodTypeDiscriminable } from "./api.js";
2
+ import * as checks from "./checks.js";
3
+ import * as core from "./core.js";
4
+ import { Doc } from "./doc.js";
5
+ import type * as errors from "./errors.js";
6
+ import type * as JSONSchema from "./json-schema.js";
7
+ import { parse, parseAsync, safeParse, safeParseAsync } from "./parse.js";
8
+ import * as regexes from "./regexes.js";
9
+ import type { StandardSchemaV1 } from "./standard-schema.js";
10
+ import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.js";
11
+ import * as util from "./util.js";
12
+ import { version } from "./versions.js";
13
+
14
+ ///////////////////////////// PARSE //////////////////////////////
15
+
16
+ export interface ParseContext<T extends errors.$ZodIssueBase = never> {
17
+ /** Customize error messages. */
18
+ readonly error?: errors.$ZodErrorMap<T>;
19
+ /** Include the `input` field in issue objects. Default `false`. */
20
+ readonly reportInput?: boolean;
21
+ /** Skip eval-based fast path. Default `false`. */
22
+ readonly jitless?: boolean;
23
+ /** Abort validation after the first error. Default `false`. */
24
+ // readonly abortEarly?: boolean;
25
+ }
26
+
27
+ /** @internal */
28
+ export interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {
29
+ readonly async?: boolean | undefined;
30
+ readonly direction?: "forward" | "backward";
31
+ readonly skipChecks?: boolean;
32
+ }
33
+
34
+ export interface ParsePayload<T = unknown> {
35
+ value: T;
36
+ issues: errors.$ZodRawIssue[];
37
+ /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
38
+ aborted?: boolean;
39
+ /** @internal Marks a value as a fallback that an outer wrapper (e.g.
40
+ * $ZodOptional) may override with its own interpretation when input was
41
+ * undefined. Set by $ZodCatch when catchValue substitutes and by every
42
+ * $ZodTransform invocation. */
43
+ fallback?: boolean | undefined;
44
+ }
45
+
46
+ export type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;
47
+
48
+ ///////////////////////////// SCHEMAS //////////////////////////////
49
+
50
+ export interface $ZodTypeDef {
51
+ type:
52
+ | "string"
53
+ | "number"
54
+ | "int"
55
+ | "boolean"
56
+ | "bigint"
57
+ | "symbol"
58
+ | "null"
59
+ | "undefined"
60
+ | "void" // merge with undefined?
61
+ | "never"
62
+ | "any"
63
+ | "unknown"
64
+ | "date"
65
+ | "object"
66
+ | "record"
67
+ | "file"
68
+ | "array"
69
+ | "tuple"
70
+ | "union"
71
+ | "intersection"
72
+ | "map"
73
+ | "set"
74
+ | "enum"
75
+ | "literal"
76
+ | "nullable"
77
+ | "optional"
78
+ | "nonoptional"
79
+ | "success"
80
+ | "transform"
81
+ | "default"
82
+ | "prefault"
83
+ | "catch"
84
+ | "nan"
85
+ | "pipe"
86
+ | "readonly"
87
+ | "template_literal"
88
+ | "promise"
89
+ | "lazy"
90
+ | "function"
91
+ | "custom";
92
+ error?: errors.$ZodErrorMap<never> | undefined;
93
+ checks?: checks.$ZodCheck<never>[];
94
+ }
95
+
96
+ export interface _$ZodTypeInternals {
97
+ /** The `@zod/core` version of this schema */
98
+ version: typeof version;
99
+
100
+ /** Schema definition. */
101
+ def: $ZodTypeDef;
102
+ // types: Types;
103
+
104
+ /** @internal Randomly generated ID for this schema. */
105
+ // id: string;
106
+
107
+ /** @internal List of deferred initializers. */
108
+ deferred: util.AnyFunc[] | undefined;
109
+
110
+ /** @internal Parses input and runs all checks (refinements). */
111
+ run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
112
+
113
+ /** @internal Parses input, doesn't run checks. */
114
+ parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
115
+
116
+ /** @internal Stores identifiers for the set of traits implemented by this schema. */
117
+ traits: Set<string>;
118
+
119
+ /** @internal Indicates that a schema output type should be considered optional inside objects.
120
+ * @default Required
121
+ */
122
+
123
+ /** @internal */
124
+ optin?: "optional" | undefined;
125
+ /** @internal */
126
+ optout?: "optional" | undefined;
127
+
128
+ /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
129
+ *
130
+ * Defined on: enum, const, literal, null, undefined
131
+ * Passthrough: optional, nullable, branded, default, catch, pipe
132
+ * Todo: unions?
133
+ */
134
+ values?: util.PrimitiveSet | undefined;
135
+
136
+ /** Default value bubbled up from */
137
+ // default?: unknown | undefined;
138
+
139
+ /** @internal A set of literal discriminators used for the fast path in discriminated unions. */
140
+ propValues?: util.PropValues | undefined;
141
+
142
+ /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
143
+ pattern: RegExp | undefined;
144
+
145
+ /** @internal The constructor function of this schema. */
146
+ constr: new (
147
+ def: any
148
+ ) => $ZodType;
149
+
150
+ /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
151
+ bag: Record<string, unknown>;
152
+
153
+ /** @internal The set of issues this schema might throw during type checking. */
154
+ isst: errors.$ZodIssueBase;
155
+
156
+ /** @internal Subject to change, not a public API. */
157
+ processJSONSchema?:
158
+ | ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void)
159
+ | undefined;
160
+
161
+ /** An optional method used to override `toJSONSchema` logic. */
162
+ toJSONSchema?: () => unknown;
163
+
164
+ /** @internal The parent of this schema. Only set during certain clone operations. */
165
+ parent?: $ZodType | undefined;
166
+ }
167
+ /** @internal */
168
+ export interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
169
+ /** @internal The inferred output type */
170
+ output: O; //extends { $out: infer O } ? O : Out;
171
+ /** @internal The inferred input type */
172
+ input: I; //extends { $in: infer I } ? I : In;
173
+ }
174
+
175
+ export type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;
176
+
177
+ export type SomeType = { _zod: _$ZodTypeInternals };
178
+
179
+ export interface $ZodType<
180
+ O = unknown,
181
+ I = unknown,
182
+ Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>,
183
+ > {
184
+ _zod: Internals;
185
+ "~standard": $ZodStandardSchema<this>;
186
+ }
187
+ export interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals>
188
+ extends $ZodType<T["output"], T["input"], T> {}
189
+
190
+ export const $ZodType: core.$constructor<$ZodType> = /*@__PURE__*/ core.$constructor("$ZodType", (inst, def) => {
191
+ inst ??= {} as any;
192
+
193
+ inst._zod.def = def; // set _def property
194
+ inst._zod.bag = inst._zod.bag || {}; // initialize _bag object
195
+ inst._zod.version = version;
196
+
197
+ const checks = [...(inst._zod.def.checks ?? [])];
198
+
199
+ // if inst is itself a checks.$ZodCheck, run it as a check
200
+ if (inst._zod.traits.has("$ZodCheck")) {
201
+ checks.unshift(inst as any);
202
+ }
203
+
204
+ for (const ch of checks) {
205
+ for (const fn of ch._zod.onattach) {
206
+ fn(inst);
207
+ }
208
+ }
209
+
210
+ if (checks.length === 0) {
211
+ // deferred initializer
212
+ // inst._zod.parse is not yet defined
213
+ inst._zod.deferred ??= [];
214
+ inst._zod.deferred?.push(() => {
215
+ inst._zod.run = inst._zod.parse;
216
+ });
217
+ } else {
218
+ const runChecks = (
219
+ payload: ParsePayload,
220
+ checks: checks.$ZodCheck<never>[],
221
+ ctx?: ParseContextInternal | undefined
222
+ ): util.MaybeAsync<ParsePayload> => {
223
+ let isAborted = util.aborted(payload);
224
+
225
+ let asyncResult!: Promise<unknown> | undefined;
226
+ for (const ch of checks) {
227
+ if (ch._zod.def.when) {
228
+ if (util.explicitlyAborted(payload)) continue;
229
+ const shouldRun = ch._zod.def.when(payload);
230
+ if (!shouldRun) continue;
231
+ } else if (isAborted) {
232
+ continue;
233
+ }
234
+ const currLen = payload.issues.length;
235
+ const _ = ch._zod.check(payload as any) as any as ParsePayload;
236
+
237
+ if (_ instanceof Promise && ctx?.async === false) {
238
+ throw new core.$ZodAsyncError();
239
+ }
240
+ if (asyncResult || _ instanceof Promise) {
241
+ asyncResult = (asyncResult ?? Promise.resolve()).then(async () => {
242
+ await _;
243
+ const nextLen = payload.issues.length;
244
+ if (nextLen === currLen) return;
245
+ if (!isAborted) isAborted = util.aborted(payload, currLen);
246
+ });
247
+ } else {
248
+ const nextLen = payload.issues.length;
249
+ if (nextLen === currLen) continue;
250
+ if (!isAborted) isAborted = util.aborted(payload, currLen);
251
+ }
252
+ }
253
+
254
+ if (asyncResult) {
255
+ return asyncResult.then(() => {
256
+ return payload;
257
+ });
258
+ }
259
+ return payload;
260
+ };
261
+
262
+ const handleCanaryResult = (canary: ParsePayload, payload: ParsePayload, ctx: ParseContextInternal) => {
263
+ // abort if the canary is aborted
264
+ if (util.aborted(canary)) {
265
+ canary.aborted = true;
266
+ return canary;
267
+ }
268
+
269
+ // run checks first, then
270
+ const checkResult = runChecks(payload, checks, ctx);
271
+ if (checkResult instanceof Promise) {
272
+ if (ctx.async === false) throw new core.$ZodAsyncError();
273
+ return checkResult.then((checkResult) => inst._zod.parse(checkResult, ctx));
274
+ }
275
+ return inst._zod.parse(checkResult, ctx);
276
+ };
277
+
278
+ inst._zod.run = (payload, ctx) => {
279
+ if (ctx.skipChecks) {
280
+ return inst._zod.parse(payload, ctx);
281
+ }
282
+ if (ctx.direction === "backward") {
283
+ // run canary
284
+ // initial pass (no checks)
285
+ const canary = inst._zod.parse({ value: payload.value, issues: [] }, { ...ctx, skipChecks: true });
286
+
287
+ if (canary instanceof Promise) {
288
+ return canary.then((canary) => {
289
+ return handleCanaryResult(canary, payload, ctx);
290
+ });
291
+ }
292
+
293
+ return handleCanaryResult(canary, payload, ctx);
294
+ }
295
+
296
+ // forward
297
+ const result = inst._zod.parse(payload, ctx);
298
+ if (result instanceof Promise) {
299
+ if (ctx.async === false) throw new core.$ZodAsyncError();
300
+ return result.then((result) => runChecks(result, checks, ctx));
301
+ }
302
+
303
+ return runChecks(result, checks, ctx);
304
+ };
305
+ }
306
+
307
+ // Lazy initialize ~standard to avoid creating objects for every schema
308
+ util.defineLazy(inst, "~standard", () => ({
309
+ validate: (value: unknown) => {
310
+ try {
311
+ const r = safeParse(inst, value);
312
+ return r.success ? { value: r.data } : { issues: r.error?.issues };
313
+ } catch (_) {
314
+ return safeParseAsync(inst, value).then((r) => (r.success ? { value: r.data } : { issues: r.error?.issues }));
315
+ }
316
+ },
317
+ vendor: "zod",
318
+ version: 1 as const,
319
+ }));
320
+ });
321
+
322
+ export { clone } from "./util.js";
323
+
324
+ //////////////////////////////////////////
325
+ //////////////////////////////////////////
326
+ ////////// //////////
327
+ ////////// $ZodString //////////
328
+ ////////// //////////
329
+ //////////////////////////////////////////
330
+ //////////////////////////////////////////
331
+ export interface $ZodStringDef extends $ZodTypeDef {
332
+ type: "string";
333
+ coerce?: boolean;
334
+ checks?: checks.$ZodCheck<string>[];
335
+ }
336
+
337
+ export interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
338
+ def: $ZodStringDef;
339
+ /** @deprecated Internal API, use with caution (not deprecated) */
340
+ pattern: RegExp;
341
+
342
+ /** @deprecated Internal API, use with caution (not deprecated) */
343
+ isst: errors.$ZodIssueInvalidType;
344
+ bag: util.LoosePartial<{
345
+ minimum: number;
346
+ maximum: number;
347
+ patterns: Set<RegExp>;
348
+ format: string;
349
+ contentEncoding: string;
350
+ }>;
351
+ }
352
+
353
+ export interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {
354
+ // _zod: $ZodStringInternals<Input>;
355
+ }
356
+
357
+ export const $ZodString: core.$constructor<$ZodString> = /*@__PURE__*/ core.$constructor("$ZodString", (inst, def) => {
358
+ $ZodType.init(inst, def);
359
+ inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? regexes.string(inst._zod.bag);
360
+ inst._zod.parse = (payload, _) => {
361
+ if (def.coerce)
362
+ try {
363
+ payload.value = String(payload.value);
364
+ } catch (_) {}
365
+
366
+ if (typeof payload.value === "string") return payload;
367
+
368
+ payload.issues.push({
369
+ expected: "string",
370
+ code: "invalid_type",
371
+
372
+ input: payload.value,
373
+ inst,
374
+ });
375
+ return payload;
376
+ };
377
+ });
378
+
379
+ ////////////////////////////// ZodStringFormat //////////////////////////////
380
+
381
+ export interface $ZodStringFormatDef<Format extends string = string>
382
+ extends $ZodStringDef,
383
+ checks.$ZodCheckStringFormatDef<Format> {}
384
+
385
+ export interface $ZodStringFormatInternals<Format extends string = string>
386
+ extends $ZodStringInternals<string>,
387
+ checks.$ZodCheckStringFormatInternals {
388
+ def: $ZodStringFormatDef<Format>;
389
+ }
390
+ export interface $ZodStringFormat<Format extends string = string> extends $ZodType {
391
+ _zod: $ZodStringFormatInternals<Format>;
392
+ }
393
+
394
+ export const $ZodStringFormat: core.$constructor<$ZodStringFormat> = /*@__PURE__*/ core.$constructor(
395
+ "$ZodStringFormat",
396
+ (inst, def): void => {
397
+ // check initialization must come first
398
+ checks.$ZodCheckStringFormat.init(inst, def);
399
+ $ZodString.init(inst, def);
400
+ }
401
+ );
402
+
403
+ ////////////////////////////// ZodGUID //////////////////////////////
404
+ export interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {}
405
+ export interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
406
+
407
+ export interface $ZodGUID extends $ZodType {
408
+ _zod: $ZodGUIDInternals;
409
+ }
410
+
411
+ export const $ZodGUID: core.$constructor<$ZodGUID> = /*@__PURE__*/ core.$constructor("$ZodGUID", (inst, def): void => {
412
+ def.pattern ??= regexes.guid;
413
+ $ZodStringFormat.init(inst, def);
414
+ });
415
+
416
+ ////////////////////////////// ZodUUID //////////////////////////////
417
+
418
+ export interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
419
+ version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
420
+ }
421
+
422
+ export interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
423
+ def: $ZodUUIDDef;
424
+ }
425
+
426
+ export interface $ZodUUID extends $ZodType {
427
+ _zod: $ZodUUIDInternals;
428
+ }
429
+
430
+ export const $ZodUUID: core.$constructor<$ZodUUID> = /*@__PURE__*/ core.$constructor("$ZodUUID", (inst, def): void => {
431
+ if (def.version) {
432
+ const versionMap: Record<string, number> = {
433
+ v1: 1,
434
+ v2: 2,
435
+ v3: 3,
436
+ v4: 4,
437
+ v5: 5,
438
+ v6: 6,
439
+ v7: 7,
440
+ v8: 8,
441
+ };
442
+ const v = versionMap[def.version];
443
+ if (v === undefined) throw new Error(`Invalid UUID version: "${def.version}"`);
444
+ def.pattern ??= regexes.uuid(v);
445
+ } else def.pattern ??= regexes.uuid();
446
+ $ZodStringFormat.init(inst, def);
447
+ });
448
+
449
+ ////////////////////////////// ZodEmail //////////////////////////////
450
+
451
+ export interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {}
452
+ export interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
453
+ export interface $ZodEmail extends $ZodType {
454
+ _zod: $ZodEmailInternals;
455
+ }
456
+
457
+ export const $ZodEmail: core.$constructor<$ZodEmail> = /*@__PURE__*/ core.$constructor(
458
+ "$ZodEmail",
459
+ (inst, def): void => {
460
+ def.pattern ??= regexes.email;
461
+ $ZodStringFormat.init(inst, def);
462
+ }
463
+ );
464
+
465
+ ////////////////////////////// ZodURL //////////////////////////////
466
+
467
+ export interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
468
+ hostname?: RegExp | undefined;
469
+ protocol?: RegExp | undefined;
470
+ normalize?: boolean | undefined;
471
+ }
472
+ export interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
473
+ def: $ZodURLDef;
474
+ }
475
+
476
+ export interface $ZodURL extends $ZodType {
477
+ _zod: $ZodURLInternals;
478
+ }
479
+
480
+ export const $ZodURL: core.$constructor<$ZodURL> = /*@__PURE__*/ core.$constructor("$ZodURL", (inst, def) => {
481
+ $ZodStringFormat.init(inst, def);
482
+ inst._zod.check = (payload) => {
483
+ try {
484
+ // Trim whitespace from input
485
+ const trimmed = payload.value.trim();
486
+
487
+ // When normalize is off, require :// for http/https URLs
488
+ // This prevents strings like "http:example.com" or "https:/path" from being silently accepted
489
+ if (!def.normalize && def.protocol?.source === regexes.httpProtocol.source) {
490
+ if (!/^https?:\/\//i.test(trimmed)) {
491
+ payload.issues.push({
492
+ code: "invalid_format",
493
+ format: "url",
494
+ note: "Invalid URL format",
495
+ input: payload.value,
496
+ inst,
497
+ continue: !def.abort,
498
+ });
499
+ return;
500
+ }
501
+ }
502
+
503
+ // @ts-ignore
504
+ const url = new URL(trimmed);
505
+
506
+ if (def.hostname) {
507
+ def.hostname.lastIndex = 0;
508
+ if (!def.hostname.test(url.hostname)) {
509
+ payload.issues.push({
510
+ code: "invalid_format",
511
+ format: "url",
512
+ note: "Invalid hostname",
513
+ pattern: def.hostname.source,
514
+ input: payload.value,
515
+ inst,
516
+ continue: !def.abort,
517
+ });
518
+ }
519
+ }
520
+
521
+ if (def.protocol) {
522
+ def.protocol.lastIndex = 0;
523
+ if (!def.protocol.test(url.protocol.endsWith(":") ? url.protocol.slice(0, -1) : url.protocol)) {
524
+ payload.issues.push({
525
+ code: "invalid_format",
526
+ format: "url",
527
+ note: "Invalid protocol",
528
+ pattern: def.protocol.source,
529
+ input: payload.value,
530
+ inst,
531
+ continue: !def.abort,
532
+ });
533
+ }
534
+ }
535
+
536
+ // Set the output value based on normalize flag
537
+ if (def.normalize) {
538
+ // Use normalized URL
539
+ payload.value = url.href;
540
+ } else {
541
+ // Preserve the original input (trimmed)
542
+ payload.value = trimmed;
543
+ }
544
+
545
+ return;
546
+ } catch (_) {
547
+ payload.issues.push({
548
+ code: "invalid_format",
549
+ format: "url",
550
+ input: payload.value,
551
+ inst,
552
+ continue: !def.abort,
553
+ });
554
+ }
555
+ };
556
+ });
557
+
558
+ ////////////////////////////// ZodEmoji //////////////////////////////
559
+
560
+ export interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
561
+ export interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
562
+
563
+ export interface $ZodEmoji extends $ZodType {
564
+ _zod: $ZodEmojiInternals;
565
+ }
566
+
567
+ export const $ZodEmoji: core.$constructor<$ZodEmoji> = /*@__PURE__*/ core.$constructor(
568
+ "$ZodEmoji",
569
+ (inst, def): void => {
570
+ def.pattern ??= regexes.emoji();
571
+ $ZodStringFormat.init(inst, def);
572
+ }
573
+ );
574
+
575
+ ////////////////////////////// ZodNanoID //////////////////////////////
576
+
577
+ export interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {}
578
+ export interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
579
+
580
+ export interface $ZodNanoID extends $ZodType {
581
+ _zod: $ZodNanoIDInternals;
582
+ }
583
+
584
+ export const $ZodNanoID: core.$constructor<$ZodNanoID> = /*@__PURE__*/ core.$constructor(
585
+ "$ZodNanoID",
586
+ (inst, def): void => {
587
+ def.pattern ??= regexes.nanoid;
588
+ $ZodStringFormat.init(inst, def);
589
+ }
590
+ );
591
+
592
+ ////////////////////////////// ZodCUID //////////////////////////////
593
+
594
+ /**
595
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
596
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
597
+ * See https://github.com/paralleldrive/cuid.
598
+ */
599
+ export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
600
+ /**
601
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
602
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
603
+ * See https://github.com/paralleldrive/cuid.
604
+ */
605
+ export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
606
+
607
+ /**
608
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
609
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
610
+ * See https://github.com/paralleldrive/cuid.
611
+ */
612
+ export interface $ZodCUID extends $ZodType {
613
+ _zod: $ZodCUIDInternals;
614
+ }
615
+
616
+ /**
617
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
618
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
619
+ * See https://github.com/paralleldrive/cuid.
620
+ */
621
+ export const $ZodCUID: core.$constructor<$ZodCUID> = /*@__PURE__*/ core.$constructor("$ZodCUID", (inst, def): void => {
622
+ def.pattern ??= regexes.cuid;
623
+ $ZodStringFormat.init(inst, def);
624
+ });
625
+
626
+ ////////////////////////////// ZodCUID2 //////////////////////////////
627
+
628
+ export interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
629
+ export interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
630
+
631
+ export interface $ZodCUID2 extends $ZodType {
632
+ _zod: $ZodCUID2Internals;
633
+ }
634
+
635
+ export const $ZodCUID2: core.$constructor<$ZodCUID2> = /*@__PURE__*/ core.$constructor(
636
+ "$ZodCUID2",
637
+ (inst, def): void => {
638
+ def.pattern ??= regexes.cuid2;
639
+ $ZodStringFormat.init(inst, def);
640
+ }
641
+ );
642
+
643
+ ////////////////////////////// ZodULID //////////////////////////////
644
+
645
+ export interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {}
646
+ export interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
647
+
648
+ export interface $ZodULID extends $ZodType {
649
+ _zod: $ZodULIDInternals;
650
+ }
651
+
652
+ export const $ZodULID: core.$constructor<$ZodULID> = /*@__PURE__*/ core.$constructor("$ZodULID", (inst, def): void => {
653
+ def.pattern ??= regexes.ulid;
654
+ $ZodStringFormat.init(inst, def);
655
+ });
656
+
657
+ ////////////////////////////// ZodXID //////////////////////////////
658
+
659
+ export interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {}
660
+ export interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
661
+
662
+ export interface $ZodXID extends $ZodType {
663
+ _zod: $ZodXIDInternals;
664
+ }
665
+
666
+ export const $ZodXID: core.$constructor<$ZodXID> = /*@__PURE__*/ core.$constructor("$ZodXID", (inst, def): void => {
667
+ def.pattern ??= regexes.xid;
668
+ $ZodStringFormat.init(inst, def);
669
+ });
670
+
671
+ ////////////////////////////// ZodKSUID //////////////////////////////
672
+
673
+ export interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {}
674
+ export interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
675
+
676
+ export interface $ZodKSUID extends $ZodType {
677
+ _zod: $ZodKSUIDInternals;
678
+ }
679
+
680
+ export const $ZodKSUID: core.$constructor<$ZodKSUID> = /*@__PURE__*/ core.$constructor(
681
+ "$ZodKSUID",
682
+ (inst, def): void => {
683
+ def.pattern ??= regexes.ksuid;
684
+ $ZodStringFormat.init(inst, def);
685
+ }
686
+ );
687
+
688
+ ////////////////////////////// ZodISODateTime //////////////////////////////
689
+
690
+ export interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
691
+ precision: number | null;
692
+ offset: boolean;
693
+ local: boolean;
694
+ }
695
+
696
+ export interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
697
+ def: $ZodISODateTimeDef;
698
+ }
699
+
700
+ export interface $ZodISODateTime extends $ZodType {
701
+ _zod: $ZodISODateTimeInternals;
702
+ }
703
+
704
+ export const $ZodISODateTime: core.$constructor<$ZodISODateTime> = /*@__PURE__*/ core.$constructor(
705
+ "$ZodISODateTime",
706
+ (inst, def): void => {
707
+ def.pattern ??= regexes.datetime(def);
708
+ $ZodStringFormat.init(inst, def);
709
+ }
710
+ );
711
+
712
+ ////////////////////////////// ZodISODate //////////////////////////////
713
+
714
+ export interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {}
715
+ export interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
716
+
717
+ export interface $ZodISODate extends $ZodType {
718
+ _zod: $ZodISODateInternals;
719
+ }
720
+
721
+ export const $ZodISODate: core.$constructor<$ZodISODate> = /*@__PURE__*/ core.$constructor(
722
+ "$ZodISODate",
723
+ (inst, def): void => {
724
+ def.pattern ??= regexes.date;
725
+ $ZodStringFormat.init(inst, def);
726
+ }
727
+ );
728
+
729
+ ////////////////////////////// ZodISOTime //////////////////////////////
730
+
731
+ export interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
732
+ precision?: number | null;
733
+ }
734
+
735
+ export interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
736
+ def: $ZodISOTimeDef;
737
+ }
738
+
739
+ export interface $ZodISOTime extends $ZodType {
740
+ _zod: $ZodISOTimeInternals;
741
+ }
742
+
743
+ export const $ZodISOTime: core.$constructor<$ZodISOTime> = /*@__PURE__*/ core.$constructor(
744
+ "$ZodISOTime",
745
+ (inst, def): void => {
746
+ def.pattern ??= regexes.time(def);
747
+ $ZodStringFormat.init(inst, def);
748
+ }
749
+ );
750
+
751
+ ////////////////////////////// ZodISODuration //////////////////////////////
752
+
753
+ export interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {}
754
+ export interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
755
+
756
+ export interface $ZodISODuration extends $ZodType {
757
+ _zod: $ZodISODurationInternals;
758
+ }
759
+
760
+ export const $ZodISODuration: core.$constructor<$ZodISODuration> = /*@__PURE__*/ core.$constructor(
761
+ "$ZodISODuration",
762
+ (inst, def): void => {
763
+ def.pattern ??= regexes.duration;
764
+ $ZodStringFormat.init(inst, def);
765
+ }
766
+ );
767
+
768
+ ////////////////////////////// ZodIPv4 //////////////////////////////
769
+
770
+ export interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
771
+ version?: "v4";
772
+ }
773
+
774
+ export interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
775
+ def: $ZodIPv4Def;
776
+ }
777
+
778
+ export interface $ZodIPv4 extends $ZodType {
779
+ _zod: $ZodIPv4Internals;
780
+ }
781
+
782
+ export const $ZodIPv4: core.$constructor<$ZodIPv4> = /*@__PURE__*/ core.$constructor("$ZodIPv4", (inst, def): void => {
783
+ def.pattern ??= regexes.ipv4;
784
+ $ZodStringFormat.init(inst, def);
785
+
786
+ inst._zod.bag.format = `ipv4`;
787
+ });
788
+
789
+ ////////////////////////////// ZodIPv6 //////////////////////////////
790
+
791
+ export interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
792
+ version?: "v6";
793
+ }
794
+
795
+ export interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
796
+ def: $ZodIPv6Def;
797
+ }
798
+
799
+ export interface $ZodIPv6 extends $ZodType {
800
+ _zod: $ZodIPv6Internals;
801
+ }
802
+
803
+ export const $ZodIPv6: core.$constructor<$ZodIPv6> = /*@__PURE__*/ core.$constructor("$ZodIPv6", (inst, def): void => {
804
+ def.pattern ??= regexes.ipv6;
805
+ $ZodStringFormat.init(inst, def);
806
+
807
+ inst._zod.bag.format = `ipv6`;
808
+
809
+ inst._zod.check = (payload) => {
810
+ try {
811
+ // @ts-ignore
812
+ new URL(`http://[${payload.value}]`);
813
+ // return;
814
+ } catch {
815
+ payload.issues.push({
816
+ code: "invalid_format",
817
+ format: "ipv6",
818
+ input: payload.value,
819
+ inst,
820
+ continue: !def.abort,
821
+ });
822
+ }
823
+ };
824
+ });
825
+
826
+ ////////////////////////////// ZodMAC //////////////////////////////
827
+ export interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
828
+ delimiter?: string;
829
+ }
830
+
831
+ export interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
832
+ def: $ZodMACDef;
833
+ }
834
+
835
+ export interface $ZodMAC extends $ZodType {
836
+ _zod: $ZodMACInternals;
837
+ }
838
+
839
+ export const $ZodMAC: core.$constructor<$ZodMAC> = /*@__PURE__*/ core.$constructor("$ZodMAC", (inst, def): void => {
840
+ def.pattern ??= regexes.mac(def.delimiter);
841
+ $ZodStringFormat.init(inst, def);
842
+
843
+ inst._zod.bag.format = `mac`;
844
+ });
845
+
846
+ ////////////////////////////// ZodCIDRv4 //////////////////////////////
847
+
848
+ export interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
849
+ version?: "v4";
850
+ }
851
+
852
+ export interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
853
+ def: $ZodCIDRv4Def;
854
+ }
855
+
856
+ export interface $ZodCIDRv4 extends $ZodType {
857
+ _zod: $ZodCIDRv4Internals;
858
+ }
859
+
860
+ export const $ZodCIDRv4: core.$constructor<$ZodCIDRv4> = /*@__PURE__*/ core.$constructor(
861
+ "$ZodCIDRv4",
862
+ (inst, def): void => {
863
+ def.pattern ??= regexes.cidrv4;
864
+ $ZodStringFormat.init(inst, def);
865
+ }
866
+ );
867
+
868
+ ////////////////////////////// ZodCIDRv6 //////////////////////////////
869
+
870
+ export interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
871
+ version?: "v6";
872
+ }
873
+
874
+ export interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
875
+ def: $ZodCIDRv6Def;
876
+ }
877
+
878
+ export interface $ZodCIDRv6 extends $ZodType {
879
+ _zod: $ZodCIDRv6Internals;
880
+ }
881
+
882
+ export const $ZodCIDRv6: core.$constructor<$ZodCIDRv6> = /*@__PURE__*/ core.$constructor(
883
+ "$ZodCIDRv6",
884
+ (inst, def): void => {
885
+ def.pattern ??= regexes.cidrv6; // not used for validation
886
+ $ZodStringFormat.init(inst, def);
887
+
888
+ inst._zod.check = (payload) => {
889
+ const parts = payload.value.split("/");
890
+ try {
891
+ if (parts.length !== 2) throw new Error();
892
+ const [address, prefix] = parts;
893
+ if (!prefix) throw new Error();
894
+ const prefixNum = Number(prefix);
895
+ if (`${prefixNum}` !== prefix) throw new Error();
896
+ if (prefixNum < 0 || prefixNum > 128) throw new Error();
897
+ // @ts-ignore
898
+ new URL(`http://[${address}]`);
899
+ } catch {
900
+ payload.issues.push({
901
+ code: "invalid_format",
902
+ format: "cidrv6",
903
+ input: payload.value,
904
+ inst,
905
+ continue: !def.abort,
906
+ });
907
+ }
908
+ };
909
+ }
910
+ );
911
+
912
+ ////////////////////////////// ZodBase64 //////////////////////////////
913
+ export function isValidBase64(data: string): boolean {
914
+ if (data === "") return true;
915
+ // atob ignores whitespace, so reject it up front.
916
+ if (/\s/.test(data)) return false;
917
+ if (data.length % 4 !== 0) return false;
918
+ try {
919
+ // @ts-ignore
920
+ atob(data);
921
+ return true;
922
+ } catch {
923
+ return false;
924
+ }
925
+ }
926
+
927
+ export interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
928
+ export interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
929
+
930
+ export interface $ZodBase64 extends $ZodType {
931
+ _zod: $ZodBase64Internals;
932
+ }
933
+
934
+ export const $ZodBase64: core.$constructor<$ZodBase64> = /*@__PURE__*/ core.$constructor(
935
+ "$ZodBase64",
936
+ (inst, def): void => {
937
+ def.pattern ??= regexes.base64;
938
+ $ZodStringFormat.init(inst, def);
939
+
940
+ inst._zod.bag.contentEncoding = "base64";
941
+
942
+ inst._zod.check = (payload) => {
943
+ if (isValidBase64(payload.value)) return;
944
+
945
+ payload.issues.push({
946
+ code: "invalid_format",
947
+ format: "base64",
948
+ input: payload.value,
949
+ inst,
950
+ continue: !def.abort,
951
+ });
952
+ };
953
+ }
954
+ );
955
+
956
+ ////////////////////////////// ZodBase64 //////////////////////////////
957
+ export function isValidBase64URL(data: string): boolean {
958
+ if (!regexes.base64url.test(data)) return false;
959
+ const base64 = data.replace(/[-_]/g, (c) => (c === "-" ? "+" : "/"));
960
+ const padded = base64.padEnd(Math.ceil(base64.length / 4) * 4, "=");
961
+ return isValidBase64(padded);
962
+ }
963
+
964
+ export interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
965
+ export interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
966
+
967
+ export interface $ZodBase64URL extends $ZodType {
968
+ _zod: $ZodBase64URLInternals;
969
+ }
970
+
971
+ export const $ZodBase64URL: core.$constructor<$ZodBase64URL> = /*@__PURE__*/ core.$constructor(
972
+ "$ZodBase64URL",
973
+ (inst, def): void => {
974
+ def.pattern ??= regexes.base64url;
975
+ $ZodStringFormat.init(inst, def);
976
+
977
+ inst._zod.bag.contentEncoding = "base64url";
978
+
979
+ inst._zod.check = (payload) => {
980
+ if (isValidBase64URL(payload.value)) return;
981
+
982
+ payload.issues.push({
983
+ code: "invalid_format",
984
+ format: "base64url",
985
+ input: payload.value,
986
+ inst,
987
+ continue: !def.abort,
988
+ });
989
+ };
990
+ }
991
+ );
992
+
993
+ ////////////////////////////// ZodE164 //////////////////////////////
994
+
995
+ export interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {}
996
+ export interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
997
+
998
+ export interface $ZodE164 extends $ZodType {
999
+ _zod: $ZodE164Internals;
1000
+ }
1001
+
1002
+ export const $ZodE164: core.$constructor<$ZodE164> = /*@__PURE__*/ core.$constructor("$ZodE164", (inst, def): void => {
1003
+ def.pattern ??= regexes.e164;
1004
+ $ZodStringFormat.init(inst, def);
1005
+ });
1006
+
1007
+ ////////////////////////////// ZodJWT //////////////////////////////
1008
+
1009
+ export function isValidJWT(token: string, algorithm: util.JWTAlgorithm | null = null): boolean {
1010
+ try {
1011
+ const tokensParts = token.split(".");
1012
+ if (tokensParts.length !== 3) return false;
1013
+ const [header] = tokensParts;
1014
+ if (!header) return false;
1015
+ // @ts-ignore
1016
+ const parsedHeader = JSON.parse(atob(header));
1017
+ if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT") return false;
1018
+ if (!parsedHeader.alg) return false;
1019
+ if (algorithm && (!("alg" in parsedHeader) || parsedHeader.alg !== algorithm)) return false;
1020
+ return true;
1021
+ } catch {
1022
+ return false;
1023
+ }
1024
+ }
1025
+
1026
+ export interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
1027
+ alg?: util.JWTAlgorithm | undefined;
1028
+ }
1029
+
1030
+ export interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
1031
+ def: $ZodJWTDef;
1032
+ }
1033
+
1034
+ export interface $ZodJWT extends $ZodType {
1035
+ _zod: $ZodJWTInternals;
1036
+ }
1037
+
1038
+ export const $ZodJWT: core.$constructor<$ZodJWT> = /*@__PURE__*/ core.$constructor("$ZodJWT", (inst, def): void => {
1039
+ $ZodStringFormat.init(inst, def);
1040
+ inst._zod.check = (payload) => {
1041
+ if (isValidJWT(payload.value, def.alg)) return;
1042
+
1043
+ payload.issues.push({
1044
+ code: "invalid_format",
1045
+ format: "jwt",
1046
+ input: payload.value,
1047
+ inst,
1048
+ continue: !def.abort,
1049
+ });
1050
+ };
1051
+ });
1052
+
1053
+ ////////////////////////////// ZodCustomStringFormat //////////////////////////////
1054
+
1055
+ export interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
1056
+ fn: (val: string) => unknown;
1057
+ }
1058
+
1059
+ export interface $ZodCustomStringFormatInternals<Format extends string = string>
1060
+ extends $ZodStringFormatInternals<Format> {
1061
+ def: $ZodCustomStringFormatDef<Format>;
1062
+ }
1063
+
1064
+ export interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
1065
+ _zod: $ZodCustomStringFormatInternals<Format>;
1066
+ }
1067
+
1068
+ export const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat> = /*@__PURE__*/ core.$constructor(
1069
+ "$ZodCustomStringFormat",
1070
+ (inst, def): void => {
1071
+ $ZodStringFormat.init(inst, def);
1072
+ inst._zod.check = (payload) => {
1073
+ if (def.fn(payload.value)) return;
1074
+
1075
+ payload.issues.push({
1076
+ code: "invalid_format",
1077
+ format: def.format,
1078
+ input: payload.value,
1079
+ inst,
1080
+ continue: !def.abort,
1081
+ });
1082
+ };
1083
+ }
1084
+ );
1085
+
1086
+ /////////////////////////////////////////
1087
+ /////////////////////////////////////////
1088
+ ////////// //////////
1089
+ ////////// ZodNumber //////////
1090
+ ////////// //////////
1091
+ /////////////////////////////////////////
1092
+ /////////////////////////////////////////
1093
+
1094
+ export interface $ZodNumberDef extends $ZodTypeDef {
1095
+ type: "number";
1096
+ coerce?: boolean;
1097
+ // checks: checks.$ZodCheck<number>[];
1098
+ }
1099
+
1100
+ export interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
1101
+ def: $ZodNumberDef;
1102
+ /** @deprecated Internal API, use with caution (not deprecated) */
1103
+ pattern: RegExp;
1104
+ /** @deprecated Internal API, use with caution (not deprecated) */
1105
+ isst: errors.$ZodIssueInvalidType;
1106
+ bag: util.LoosePartial<{
1107
+ minimum: number;
1108
+ maximum: number;
1109
+ exclusiveMinimum: number;
1110
+ exclusiveMaximum: number;
1111
+ format: string;
1112
+ pattern: RegExp;
1113
+ }>;
1114
+ }
1115
+
1116
+ export interface $ZodNumber<Input = unknown> extends $ZodType {
1117
+ _zod: $ZodNumberInternals<Input>;
1118
+ }
1119
+
1120
+ export const $ZodNumber: core.$constructor<$ZodNumber> = /*@__PURE__*/ core.$constructor("$ZodNumber", (inst, def) => {
1121
+ $ZodType.init(inst, def);
1122
+
1123
+ inst._zod.pattern = inst._zod.bag.pattern ?? regexes.number;
1124
+ inst._zod.parse = (payload, _ctx) => {
1125
+ if (def.coerce)
1126
+ try {
1127
+ payload.value = Number(payload.value);
1128
+ } catch (_) {}
1129
+ const input = payload.value;
1130
+ if (typeof input === "number" && !Number.isNaN(input) && Number.isFinite(input)) {
1131
+ return payload;
1132
+ }
1133
+
1134
+ const received =
1135
+ typeof input === "number"
1136
+ ? Number.isNaN(input)
1137
+ ? "NaN"
1138
+ : !Number.isFinite(input)
1139
+ ? "Infinity"
1140
+ : undefined
1141
+ : undefined;
1142
+
1143
+ payload.issues.push({
1144
+ expected: "number",
1145
+ code: "invalid_type",
1146
+
1147
+ input,
1148
+ inst,
1149
+ ...(received ? { received } : {}),
1150
+ });
1151
+ return payload;
1152
+ };
1153
+ });
1154
+
1155
+ ///////////////////////////////////////////////
1156
+ ////////// ZodNumberFormat //////////
1157
+ ///////////////////////////////////////////////
1158
+ export interface $ZodNumberFormatDef extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef {}
1159
+
1160
+ export interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals {
1161
+ def: $ZodNumberFormatDef;
1162
+ isst: errors.$ZodIssueInvalidType;
1163
+ }
1164
+
1165
+ export interface $ZodNumberFormat extends $ZodType {
1166
+ _zod: $ZodNumberFormatInternals;
1167
+ }
1168
+
1169
+ export const $ZodNumberFormat: core.$constructor<$ZodNumberFormat> = /*@__PURE__*/ core.$constructor(
1170
+ "$ZodNumberFormat",
1171
+ (inst, def) => {
1172
+ checks.$ZodCheckNumberFormat.init(inst, def);
1173
+ $ZodNumber.init(inst, def); // no format checks
1174
+ }
1175
+ );
1176
+
1177
+ ///////////////////////////////////////////
1178
+ ///////////////////////////////////////////
1179
+ ////////// ///////////
1180
+ ////////// $ZodBoolean //////////
1181
+ ////////// ///////////
1182
+ ///////////////////////////////////////////
1183
+ ///////////////////////////////////////////
1184
+
1185
+ export interface $ZodBooleanDef extends $ZodTypeDef {
1186
+ type: "boolean";
1187
+ coerce?: boolean;
1188
+ checks?: checks.$ZodCheck<boolean>[];
1189
+ }
1190
+
1191
+ export interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
1192
+ pattern: RegExp;
1193
+ def: $ZodBooleanDef;
1194
+ isst: errors.$ZodIssueInvalidType;
1195
+ }
1196
+
1197
+ export interface $ZodBoolean<T = unknown> extends $ZodType {
1198
+ _zod: $ZodBooleanInternals<T>;
1199
+ }
1200
+
1201
+ export const $ZodBoolean: core.$constructor<$ZodBoolean> = /*@__PURE__*/ core.$constructor(
1202
+ "$ZodBoolean",
1203
+ (inst, def) => {
1204
+ $ZodType.init(inst, def);
1205
+ inst._zod.pattern = regexes.boolean;
1206
+
1207
+ inst._zod.parse = (payload, _ctx) => {
1208
+ if (def.coerce)
1209
+ try {
1210
+ payload.value = Boolean(payload.value);
1211
+ } catch (_) {}
1212
+ const input = payload.value;
1213
+ if (typeof input === "boolean") return payload;
1214
+ payload.issues.push({
1215
+ expected: "boolean",
1216
+ code: "invalid_type",
1217
+
1218
+ input,
1219
+ inst,
1220
+ });
1221
+ return payload;
1222
+ };
1223
+ }
1224
+ );
1225
+
1226
+ //////////////////////////////////////////
1227
+ //////////////////////////////////////////
1228
+ ////////// //////////
1229
+ ////////// $ZodBigInt //////////
1230
+ ////////// //////////
1231
+ //////////////////////////////////////////
1232
+ //////////////////////////////////////////
1233
+
1234
+ export interface $ZodBigIntDef extends $ZodTypeDef {
1235
+ type: "bigint";
1236
+ coerce?: boolean;
1237
+ // checks: checks.$ZodCheck<bigint>[];
1238
+ }
1239
+
1240
+ export interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
1241
+ pattern: RegExp;
1242
+ /** @internal Internal API, use with caution */
1243
+ def: $ZodBigIntDef;
1244
+ isst: errors.$ZodIssueInvalidType;
1245
+ bag: util.LoosePartial<{
1246
+ minimum: bigint;
1247
+ maximum: bigint;
1248
+ format: string;
1249
+ }>;
1250
+ }
1251
+
1252
+ export interface $ZodBigInt<T = unknown> extends $ZodType {
1253
+ _zod: $ZodBigIntInternals<T>;
1254
+ }
1255
+
1256
+ export const $ZodBigInt: core.$constructor<$ZodBigInt> = /*@__PURE__*/ core.$constructor("$ZodBigInt", (inst, def) => {
1257
+ $ZodType.init(inst, def);
1258
+ inst._zod.pattern = regexes.bigint;
1259
+
1260
+ inst._zod.parse = (payload, _ctx) => {
1261
+ if (def.coerce)
1262
+ try {
1263
+ payload.value = BigInt(payload.value);
1264
+ } catch (_) {}
1265
+
1266
+ if (typeof payload.value === "bigint") return payload;
1267
+ payload.issues.push({
1268
+ expected: "bigint",
1269
+ code: "invalid_type",
1270
+
1271
+ input: payload.value,
1272
+ inst,
1273
+ });
1274
+ return payload;
1275
+ };
1276
+ });
1277
+
1278
+ ///////////////////////////////////////////////
1279
+ ////////// ZodBigIntFormat //////////
1280
+ ///////////////////////////////////////////////
1281
+ export interface $ZodBigIntFormatDef extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef {
1282
+ check: "bigint_format";
1283
+ }
1284
+
1285
+ export interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals {
1286
+ def: $ZodBigIntFormatDef;
1287
+ }
1288
+
1289
+ export interface $ZodBigIntFormat extends $ZodType {
1290
+ _zod: $ZodBigIntFormatInternals;
1291
+ }
1292
+
1293
+ export const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat> = /*@__PURE__*/ core.$constructor(
1294
+ "$ZodBigIntFormat",
1295
+ (inst, def) => {
1296
+ checks.$ZodCheckBigIntFormat.init(inst, def);
1297
+ $ZodBigInt.init(inst, def); // no format checks
1298
+ }
1299
+ );
1300
+
1301
+ ////////////////////////////////////////////
1302
+ ////////////////////////////////////////////
1303
+ ////////// //////////
1304
+ ////////// $ZodSymbol //////////
1305
+ ////////// //////////
1306
+ ////////////////////////////////////////////
1307
+ ////////////////////////////////////////////
1308
+ export interface $ZodSymbolDef extends $ZodTypeDef {
1309
+ type: "symbol";
1310
+ }
1311
+
1312
+ export interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
1313
+ def: $ZodSymbolDef;
1314
+ isst: errors.$ZodIssueInvalidType;
1315
+ }
1316
+
1317
+ export interface $ZodSymbol extends $ZodType {
1318
+ _zod: $ZodSymbolInternals;
1319
+ }
1320
+
1321
+ export const $ZodSymbol: core.$constructor<$ZodSymbol> = /*@__PURE__*/ core.$constructor("$ZodSymbol", (inst, def) => {
1322
+ $ZodType.init(inst, def);
1323
+
1324
+ inst._zod.parse = (payload, _ctx) => {
1325
+ const input = payload.value;
1326
+ if (typeof input === "symbol") return payload;
1327
+ payload.issues.push({
1328
+ expected: "symbol",
1329
+ code: "invalid_type",
1330
+
1331
+ input,
1332
+ inst,
1333
+ });
1334
+ return payload;
1335
+ };
1336
+ });
1337
+
1338
+ ////////////////////////////////////////////
1339
+ ////////////////////////////////////////////
1340
+ ////////// //////////
1341
+ ////////// $ZodUndefined //////////
1342
+ ////////// //////////
1343
+ ////////////////////////////////////////////
1344
+ ////////////////////////////////////////////
1345
+ export interface $ZodUndefinedDef extends $ZodTypeDef {
1346
+ type: "undefined";
1347
+ }
1348
+
1349
+ export interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
1350
+ pattern: RegExp;
1351
+ def: $ZodUndefinedDef;
1352
+ values: util.PrimitiveSet;
1353
+ isst: errors.$ZodIssueInvalidType;
1354
+ }
1355
+
1356
+ export interface $ZodUndefined extends $ZodType {
1357
+ _zod: $ZodUndefinedInternals;
1358
+ }
1359
+
1360
+ export const $ZodUndefined: core.$constructor<$ZodUndefined> = /*@__PURE__*/ core.$constructor(
1361
+ "$ZodUndefined",
1362
+ (inst, def) => {
1363
+ $ZodType.init(inst, def);
1364
+ inst._zod.pattern = regexes.undefined;
1365
+ inst._zod.values = new Set([undefined]);
1366
+
1367
+ inst._zod.parse = (payload, _ctx) => {
1368
+ const input = payload.value;
1369
+ if (typeof input === "undefined") return payload;
1370
+ payload.issues.push({
1371
+ expected: "undefined",
1372
+ code: "invalid_type",
1373
+
1374
+ input,
1375
+ inst,
1376
+ });
1377
+ return payload;
1378
+ };
1379
+ }
1380
+ );
1381
+
1382
+ ///////////////////////////////////////
1383
+ ///////////////////////////////////////
1384
+ ////////// //////////
1385
+ ////////// $ZodNull /////////
1386
+ ////////// //////////
1387
+ ///////////////////////////////////////
1388
+ ///////////////////////////////////////
1389
+
1390
+ export interface $ZodNullDef extends $ZodTypeDef {
1391
+ type: "null";
1392
+ }
1393
+
1394
+ export interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
1395
+ pattern: RegExp;
1396
+ def: $ZodNullDef;
1397
+ values: util.PrimitiveSet;
1398
+ isst: errors.$ZodIssueInvalidType;
1399
+ }
1400
+
1401
+ export interface $ZodNull extends $ZodType {
1402
+ _zod: $ZodNullInternals;
1403
+ }
1404
+
1405
+ export const $ZodNull: core.$constructor<$ZodNull> = /*@__PURE__*/ core.$constructor("$ZodNull", (inst, def) => {
1406
+ $ZodType.init(inst, def);
1407
+ inst._zod.pattern = regexes.null;
1408
+ inst._zod.values = new Set([null]);
1409
+
1410
+ inst._zod.parse = (payload, _ctx) => {
1411
+ const input = payload.value;
1412
+ if (input === null) return payload;
1413
+ payload.issues.push({
1414
+ expected: "null",
1415
+ code: "invalid_type",
1416
+
1417
+ input,
1418
+ inst,
1419
+ });
1420
+ return payload;
1421
+ };
1422
+ });
1423
+
1424
+ //////////////////////////////////////
1425
+ //////////////////////////////////////
1426
+ ////////// //////////
1427
+ ////////// $ZodAny //////////
1428
+ ////////// //////////
1429
+ //////////////////////////////////////
1430
+ //////////////////////////////////////
1431
+
1432
+ export interface $ZodAnyDef extends $ZodTypeDef {
1433
+ type: "any";
1434
+ }
1435
+
1436
+ export interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
1437
+ def: $ZodAnyDef;
1438
+ isst: never;
1439
+ }
1440
+
1441
+ export interface $ZodAny extends $ZodType {
1442
+ _zod: $ZodAnyInternals;
1443
+ }
1444
+
1445
+ export const $ZodAny: core.$constructor<$ZodAny> = /*@__PURE__*/ core.$constructor("$ZodAny", (inst, def) => {
1446
+ $ZodType.init(inst, def);
1447
+
1448
+ inst._zod.parse = (payload) => payload;
1449
+ });
1450
+
1451
+ //////////////////////////////////////////
1452
+ //////////////////////////////////////////
1453
+ ////////// //////////
1454
+ ////////// $ZodUnknown //////////
1455
+ ////////// //////////
1456
+ //////////////////////////////////////////
1457
+ //////////////////////////////////////////
1458
+
1459
+ export interface $ZodUnknownDef extends $ZodTypeDef {
1460
+ type: "unknown";
1461
+ }
1462
+
1463
+ export interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
1464
+ def: $ZodUnknownDef;
1465
+ isst: never;
1466
+ }
1467
+
1468
+ export interface $ZodUnknown extends $ZodType {
1469
+ _zod: $ZodUnknownInternals;
1470
+ }
1471
+
1472
+ export const $ZodUnknown: core.$constructor<$ZodUnknown> = /*@__PURE__*/ core.$constructor(
1473
+ "$ZodUnknown",
1474
+ (inst, def) => {
1475
+ $ZodType.init(inst, def);
1476
+
1477
+ inst._zod.parse = (payload) => payload;
1478
+ }
1479
+ );
1480
+
1481
+ /////////////////////////////////////////
1482
+ /////////////////////////////////////////
1483
+ ////////// //////////
1484
+ ////////// $ZodNever //////////
1485
+ ////////// //////////
1486
+ /////////////////////////////////////////
1487
+ /////////////////////////////////////////
1488
+
1489
+ export interface $ZodNeverDef extends $ZodTypeDef {
1490
+ type: "never";
1491
+ }
1492
+
1493
+ export interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
1494
+ def: $ZodNeverDef;
1495
+ isst: errors.$ZodIssueInvalidType;
1496
+ }
1497
+
1498
+ export interface $ZodNever extends $ZodType {
1499
+ _zod: $ZodNeverInternals;
1500
+ }
1501
+
1502
+ export const $ZodNever: core.$constructor<$ZodNever> = /*@__PURE__*/ core.$constructor("$ZodNever", (inst, def) => {
1503
+ $ZodType.init(inst, def);
1504
+ inst._zod.parse = (payload, _ctx) => {
1505
+ payload.issues.push({
1506
+ expected: "never",
1507
+ code: "invalid_type",
1508
+
1509
+ input: payload.value,
1510
+ inst,
1511
+ });
1512
+ return payload;
1513
+ };
1514
+ });
1515
+
1516
+ ////////////////////////////////////////
1517
+ ////////////////////////////////////////
1518
+ ////////// //////////
1519
+ ////////// $ZodVoid //////////
1520
+ ////////// //////////
1521
+ ////////////////////////////////////////
1522
+ ////////////////////////////////////////
1523
+
1524
+ export interface $ZodVoidDef extends $ZodTypeDef {
1525
+ type: "void";
1526
+ }
1527
+
1528
+ export interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
1529
+ def: $ZodVoidDef;
1530
+ isst: errors.$ZodIssueInvalidType;
1531
+ }
1532
+
1533
+ export interface $ZodVoid extends $ZodType {
1534
+ _zod: $ZodVoidInternals;
1535
+ }
1536
+
1537
+ export const $ZodVoid: core.$constructor<$ZodVoid> = /*@__PURE__*/ core.$constructor("$ZodVoid", (inst, def) => {
1538
+ $ZodType.init(inst, def);
1539
+
1540
+ inst._zod.parse = (payload, _ctx) => {
1541
+ const input = payload.value;
1542
+ if (typeof input === "undefined") return payload;
1543
+ payload.issues.push({
1544
+ expected: "void",
1545
+ code: "invalid_type",
1546
+
1547
+ input,
1548
+ inst,
1549
+ });
1550
+ return payload;
1551
+ };
1552
+ });
1553
+
1554
+ ///////////////////////////////////////
1555
+ ///////////////////////////////////////
1556
+ ////////// ////////
1557
+ ////////// $ZodDate ////////
1558
+ ////////// ////////
1559
+ ///////////////////////////////////////
1560
+ ///////////////////////////////////////
1561
+ export interface $ZodDateDef extends $ZodTypeDef {
1562
+ type: "date";
1563
+ coerce?: boolean;
1564
+ }
1565
+
1566
+ export interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
1567
+ def: $ZodDateDef;
1568
+ isst: errors.$ZodIssueInvalidType; // | errors.$ZodIssueInvalidDate;
1569
+ bag: util.LoosePartial<{
1570
+ minimum: Date;
1571
+ maximum: Date;
1572
+ format: string;
1573
+ }>;
1574
+ }
1575
+
1576
+ export interface $ZodDate<T = unknown> extends $ZodType {
1577
+ _zod: $ZodDateInternals<T>;
1578
+ }
1579
+
1580
+ export const $ZodDate: core.$constructor<$ZodDate> = /*@__PURE__*/ core.$constructor("$ZodDate", (inst, def) => {
1581
+ $ZodType.init(inst, def);
1582
+
1583
+ inst._zod.parse = (payload, _ctx) => {
1584
+ if (def.coerce) {
1585
+ try {
1586
+ payload.value = new Date(payload.value as string | number | Date);
1587
+ } catch (_err: any) {}
1588
+ }
1589
+ const input = payload.value;
1590
+
1591
+ const isDate = input instanceof Date;
1592
+ const isValidDate = isDate && !Number.isNaN(input.getTime());
1593
+ if (isValidDate) return payload;
1594
+ payload.issues.push({
1595
+ expected: "date",
1596
+ code: "invalid_type",
1597
+
1598
+ input,
1599
+ ...(isDate ? { received: "Invalid Date" } : {}),
1600
+ inst,
1601
+ });
1602
+
1603
+ return payload;
1604
+ };
1605
+ });
1606
+
1607
+ /////////////////////////////////////////
1608
+ /////////////////////////////////////////
1609
+ ////////// //////////
1610
+ ////////// $ZodArray //////////
1611
+ ////////// //////////
1612
+ /////////////////////////////////////////
1613
+ /////////////////////////////////////////
1614
+
1615
+ export interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1616
+ type: "array";
1617
+ element: T;
1618
+ }
1619
+
1620
+ export interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
1621
+ //$ZodTypeInternals<core.output<T>[], core.input<T>[]> {
1622
+ def: $ZodArrayDef<T>;
1623
+ isst: errors.$ZodIssueInvalidType;
1624
+ output: core.output<T>[];
1625
+ input: core.input<T>[];
1626
+ }
1627
+
1628
+ export interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
1629
+
1630
+ function handleArrayResult(result: ParsePayload<any>, final: ParsePayload<any[]>, index: number) {
1631
+ if (result.issues.length) {
1632
+ final.issues.push(...util.prefixIssues(index, result.issues));
1633
+ }
1634
+ final.value[index] = result.value;
1635
+ }
1636
+
1637
+ export const $ZodArray: core.$constructor<$ZodArray> = /*@__PURE__*/ core.$constructor("$ZodArray", (inst, def) => {
1638
+ $ZodType.init(inst, def);
1639
+
1640
+ inst._zod.parse = (payload, ctx) => {
1641
+ const input = payload.value;
1642
+
1643
+ if (!Array.isArray(input)) {
1644
+ payload.issues.push({
1645
+ expected: "array",
1646
+ code: "invalid_type",
1647
+
1648
+ input,
1649
+ inst,
1650
+ });
1651
+ return payload;
1652
+ }
1653
+
1654
+ payload.value = Array(input.length);
1655
+ const proms: Promise<any>[] = [];
1656
+ for (let i = 0; i < input.length; i++) {
1657
+ const item = input[i];
1658
+ const result = def.element._zod.run(
1659
+ {
1660
+ value: item,
1661
+ issues: [],
1662
+ },
1663
+ ctx
1664
+ );
1665
+
1666
+ if (result instanceof Promise) {
1667
+ proms.push(result.then((result) => handleArrayResult(result, payload, i)));
1668
+ } else {
1669
+ handleArrayResult(result, payload, i);
1670
+ }
1671
+ }
1672
+
1673
+ if (proms.length) {
1674
+ return Promise.all(proms).then(() => payload);
1675
+ }
1676
+
1677
+ return payload; //handleArrayResultsAsync(parseResults, final);
1678
+ };
1679
+ });
1680
+
1681
+ //////////////////////////////////////////
1682
+ //////////////////////////////////////////
1683
+ ////////// //////////
1684
+ ////////// $ZodObject //////////
1685
+ ////////// //////////
1686
+ //////////////////////////////////////////
1687
+ //////////////////////////////////////////
1688
+
1689
+ type OptionalOutSchema = { _zod: { optout: "optional" } };
1690
+ type OptionalInSchema = { _zod: { optin: "optional" } };
1691
+
1692
+ export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T
1693
+ ? util.IsAny<T[keyof T]> extends true
1694
+ ? Record<string, unknown>
1695
+ : Record<string, core.output<T[keyof T]>>
1696
+ : keyof (T & Extra) extends never
1697
+ ? Record<string, never>
1698
+ : util.Prettify<
1699
+ {
1700
+ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"];
1701
+ } & {
1702
+ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"];
1703
+ } & Extra
1704
+ >;
1705
+
1706
+ // experimental
1707
+ // export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = keyof (T &
1708
+ // Extra) extends never
1709
+ // ? Record<string, never>
1710
+ // : string extends keyof T
1711
+ // ? util.Prettify<
1712
+ // {
1713
+ // [k: string]: util.IsAny<T[string]["_zod"]["output"]> extends true ? unknown : T[string]["_zod"]["output"];
1714
+ // } & $InferObjectOutputNoIndex<util.OmitIndexSignature<T>, Extra>
1715
+ // >
1716
+ // : util.Prettify<$InferObjectOutputNoIndex<T, Extra>>;
1717
+
1718
+ // export type $InferObjectOutputNoIndex<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = {
1719
+ // [k in keyof T as string extends k
1720
+ // ? never
1721
+ // : k extends string
1722
+ // ? T[k] extends OptionalOutSchema
1723
+ // ? never
1724
+ // : k
1725
+ // : never]: T[k]["_zod"]["output"];
1726
+ // } & {
1727
+ // [k in keyof T as string extends k
1728
+ // ? never
1729
+ // : k extends string
1730
+ // ? T[k] extends OptionalOutSchema
1731
+ // ? k
1732
+ // : never
1733
+ // : never]?: T[k]["_zod"]["output"];
1734
+ // } & Extra;
1735
+
1736
+ export type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T
1737
+ ? util.IsAny<T[keyof T]> extends true
1738
+ ? Record<string, unknown>
1739
+ : Record<string, core.input<T[keyof T]>>
1740
+ : keyof (T & Extra) extends never
1741
+ ? Record<string, never>
1742
+ : util.Prettify<
1743
+ {
1744
+ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"];
1745
+ } & {
1746
+ -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"];
1747
+ } & Extra
1748
+ >;
1749
+
1750
+ function handlePropertyResult(
1751
+ result: ParsePayload,
1752
+ final: ParsePayload,
1753
+ key: PropertyKey,
1754
+ input: any,
1755
+ isOptionalIn: boolean,
1756
+ isOptionalOut: boolean
1757
+ ) {
1758
+ const isPresent = key in input;
1759
+ if (result.issues.length) {
1760
+ // For optional-in/out schemas, ignore errors on absent keys.
1761
+ if (isOptionalIn && isOptionalOut && !isPresent) {
1762
+ return;
1763
+ }
1764
+ final.issues.push(...util.prefixIssues(key, result.issues));
1765
+ }
1766
+
1767
+ if (!isPresent && !isOptionalIn) {
1768
+ if (!result.issues.length) {
1769
+ final.issues.push({
1770
+ code: "invalid_type",
1771
+ expected: "nonoptional",
1772
+ input: undefined,
1773
+ path: [key],
1774
+ });
1775
+ }
1776
+ return;
1777
+ }
1778
+
1779
+ if (result.value === undefined) {
1780
+ if (isPresent) {
1781
+ (final.value as any)[key] = undefined;
1782
+ }
1783
+ } else {
1784
+ (final.value as any)[key] = result.value;
1785
+ }
1786
+ }
1787
+
1788
+ export type $ZodObjectConfig = { out: Record<string, unknown>; in: Record<string, unknown> };
1789
+
1790
+ export type $loose = {
1791
+ out: Record<string, unknown>;
1792
+ in: Record<string, unknown>;
1793
+ };
1794
+ export type $strict = {
1795
+ out: {};
1796
+ in: {};
1797
+ };
1798
+ export type $strip = {
1799
+ out: {};
1800
+ in: {};
1801
+ };
1802
+
1803
+ export type $catchall<T extends SomeType> = {
1804
+ out: { [k: string]: core.output<T> };
1805
+ in: { [k: string]: core.input<T> };
1806
+ };
1807
+
1808
+ export type $ZodShape = Readonly<{ [k: string]: $ZodType }>;
1809
+
1810
+ export interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
1811
+ type: "object";
1812
+ shape: Shape;
1813
+ catchall?: $ZodType | undefined;
1814
+ }
1815
+
1816
+ export interface $ZodObjectInternals<
1817
+ /** @ts-ignore Cast variance */
1818
+ out Shape extends $ZodShape = $ZodShape,
1819
+ out Config extends $ZodObjectConfig = $ZodObjectConfig,
1820
+ > extends _$ZodTypeInternals {
1821
+ def: $ZodObjectDef<Shape>;
1822
+ config: Config;
1823
+ isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;
1824
+ propValues: util.PropValues;
1825
+ output: $InferObjectOutput<Shape, Config["out"]>;
1826
+ input: $InferObjectInput<Shape, Config["in"]>;
1827
+ optin?: "optional" | undefined;
1828
+ optout?: "optional" | undefined;
1829
+ }
1830
+ export type $ZodLooseShape = Record<string, any>;
1831
+
1832
+ export interface $ZodObject<
1833
+ /** @ts-ignore Cast variance */
1834
+ out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>,
1835
+ out Params extends $ZodObjectConfig = $ZodObjectConfig,
1836
+ > extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
1837
+
1838
+ function normalizeDef(def: $ZodObjectDef) {
1839
+ const keys = Object.keys(def.shape);
1840
+ for (const k of keys) {
1841
+ if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) {
1842
+ throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
1843
+ }
1844
+ }
1845
+ const okeys = util.optionalKeys(def.shape);
1846
+
1847
+ return {
1848
+ ...def,
1849
+ keys,
1850
+ keySet: new Set(keys),
1851
+ numKeys: keys.length,
1852
+ optionalKeys: new Set(okeys),
1853
+ };
1854
+ }
1855
+
1856
+ function handleCatchall(
1857
+ proms: Promise<any>[],
1858
+ input: any,
1859
+ payload: ParsePayload,
1860
+ ctx: ParseContext,
1861
+ def: ReturnType<typeof normalizeDef>,
1862
+ inst: $ZodObject
1863
+ ) {
1864
+ const unrecognized: string[] = [];
1865
+ const keySet = def.keySet;
1866
+ const _catchall = def.catchall!._zod;
1867
+ const t = _catchall.def.type;
1868
+ const isOptionalIn = _catchall.optin === "optional";
1869
+ const isOptionalOut = _catchall.optout === "optional";
1870
+ for (const key in input) {
1871
+ // skip __proto__ so it can't replace the result prototype via the
1872
+ // assignment setter on the plain {} we build into
1873
+ if (key === "__proto__") continue;
1874
+ if (keySet.has(key)) continue;
1875
+ if (t === "never") {
1876
+ unrecognized.push(key);
1877
+ continue;
1878
+ }
1879
+ const r = _catchall.run({ value: input[key], issues: [] }, ctx);
1880
+
1881
+ if (r instanceof Promise) {
1882
+ proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1883
+ } else {
1884
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1885
+ }
1886
+ }
1887
+
1888
+ if (unrecognized.length) {
1889
+ payload.issues.push({
1890
+ code: "unrecognized_keys",
1891
+ keys: unrecognized,
1892
+ input,
1893
+ inst,
1894
+ });
1895
+ }
1896
+
1897
+ if (!proms.length) return payload;
1898
+ return Promise.all(proms).then(() => {
1899
+ return payload;
1900
+ });
1901
+ }
1902
+
1903
+ export const $ZodObject: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$constructor("$ZodObject", (inst, def) => {
1904
+ // requires cast because technically $ZodObject doesn't extend
1905
+ $ZodType.init(inst, def);
1906
+ // const sh = def.shape;
1907
+ const desc = Object.getOwnPropertyDescriptor(def, "shape");
1908
+ if (!desc?.get) {
1909
+ const sh = def.shape;
1910
+ Object.defineProperty(def, "shape", {
1911
+ get: () => {
1912
+ const newSh = { ...sh };
1913
+ Object.defineProperty(def, "shape", {
1914
+ value: newSh,
1915
+ });
1916
+
1917
+ return newSh;
1918
+ },
1919
+ });
1920
+ }
1921
+
1922
+ const _normalized = util.cached(() => normalizeDef(def));
1923
+
1924
+ util.defineLazy(inst._zod, "propValues", () => {
1925
+ const shape = def.shape;
1926
+ const propValues: util.PropValues = {};
1927
+ for (const key in shape) {
1928
+ const field = shape[key]!._zod;
1929
+ if (field.values) {
1930
+ propValues[key] ??= new Set();
1931
+ for (const v of field.values) propValues[key].add(v);
1932
+ }
1933
+ }
1934
+ return propValues;
1935
+ });
1936
+
1937
+ const isObject = util.isObject;
1938
+ const catchall = def.catchall;
1939
+
1940
+ let value!: typeof _normalized.value;
1941
+
1942
+ inst._zod.parse = (payload, ctx) => {
1943
+ value ??= _normalized.value;
1944
+ const input = payload.value;
1945
+ if (!isObject(input)) {
1946
+ payload.issues.push({
1947
+ expected: "object",
1948
+ code: "invalid_type",
1949
+ input,
1950
+ inst,
1951
+ });
1952
+ return payload;
1953
+ }
1954
+
1955
+ payload.value = {};
1956
+
1957
+ const proms: Promise<any>[] = [];
1958
+ const shape = value.shape;
1959
+
1960
+ for (const key of value.keys) {
1961
+ const el = shape[key]!;
1962
+ const isOptionalIn = el._zod.optin === "optional";
1963
+ const isOptionalOut = el._zod.optout === "optional";
1964
+
1965
+ const r = el._zod.run({ value: input[key], issues: [] }, ctx);
1966
+ if (r instanceof Promise) {
1967
+ proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1968
+ } else {
1969
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1970
+ }
1971
+ }
1972
+
1973
+ if (!catchall) {
1974
+ return proms.length ? Promise.all(proms).then(() => payload) : payload;
1975
+ }
1976
+
1977
+ return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
1978
+ };
1979
+ });
1980
+
1981
+ export const $ZodObjectJIT: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$constructor(
1982
+ "$ZodObjectJIT",
1983
+ (inst, def) => {
1984
+ // requires cast because technically $ZodObject doesn't extend
1985
+ $ZodObject.init(inst, def);
1986
+
1987
+ const superParse = inst._zod.parse;
1988
+ const _normalized = util.cached(() => normalizeDef(def));
1989
+
1990
+ const generateFastpass = (shape: any) => {
1991
+ const doc = new Doc(["shape", "payload", "ctx"]);
1992
+ const normalized = _normalized.value;
1993
+
1994
+ const parseStr = (key: string) => {
1995
+ const k = util.esc(key);
1996
+ return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
1997
+ };
1998
+
1999
+ doc.write(`const input = payload.value;`);
2000
+
2001
+ const ids: any = Object.create(null);
2002
+ let counter = 0;
2003
+ for (const key of normalized.keys) {
2004
+ ids[key] = `key_${counter++}`;
2005
+ }
2006
+
2007
+ // A: preserve key order {
2008
+ doc.write(`const newResult = {};`);
2009
+ for (const key of normalized.keys) {
2010
+ const id = ids[key];
2011
+ const k = util.esc(key);
2012
+ const schema = shape[key];
2013
+ const isOptionalIn = schema?._zod?.optin === "optional";
2014
+ const isOptionalOut = schema?._zod?.optout === "optional";
2015
+
2016
+ doc.write(`const ${id} = ${parseStr(key)};`);
2017
+
2018
+ if (isOptionalIn && isOptionalOut) {
2019
+ // For optional-in/out schemas, ignore errors on absent keys
2020
+ doc.write(`
2021
+ if (${id}.issues.length) {
2022
+ if (${k} in input) {
2023
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2024
+ ...iss,
2025
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
2026
+ })));
2027
+ }
2028
+ }
2029
+
2030
+ if (${id}.value === undefined) {
2031
+ if (${k} in input) {
2032
+ newResult[${k}] = undefined;
2033
+ }
2034
+ } else {
2035
+ newResult[${k}] = ${id}.value;
2036
+ }
2037
+
2038
+ `);
2039
+ } else if (!isOptionalIn) {
2040
+ doc.write(`
2041
+ const ${id}_present = ${k} in input;
2042
+ if (${id}.issues.length) {
2043
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2044
+ ...iss,
2045
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
2046
+ })));
2047
+ }
2048
+ if (!${id}_present && !${id}.issues.length) {
2049
+ payload.issues.push({
2050
+ code: "invalid_type",
2051
+ expected: "nonoptional",
2052
+ input: undefined,
2053
+ path: [${k}]
2054
+ });
2055
+ }
2056
+
2057
+ if (${id}_present) {
2058
+ if (${id}.value === undefined) {
2059
+ newResult[${k}] = undefined;
2060
+ } else {
2061
+ newResult[${k}] = ${id}.value;
2062
+ }
2063
+ }
2064
+
2065
+ `);
2066
+ } else {
2067
+ doc.write(`
2068
+ if (${id}.issues.length) {
2069
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2070
+ ...iss,
2071
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
2072
+ })));
2073
+ }
2074
+
2075
+ if (${id}.value === undefined) {
2076
+ if (${k} in input) {
2077
+ newResult[${k}] = undefined;
2078
+ }
2079
+ } else {
2080
+ newResult[${k}] = ${id}.value;
2081
+ }
2082
+
2083
+ `);
2084
+ }
2085
+ }
2086
+
2087
+ doc.write(`payload.value = newResult;`);
2088
+ doc.write(`return payload;`);
2089
+ const fn = doc.compile();
2090
+ return (payload: any, ctx: any) => fn(shape, payload, ctx);
2091
+ };
2092
+
2093
+ let fastpass!: ReturnType<typeof generateFastpass>;
2094
+
2095
+ const isObject = util.isObject;
2096
+ const jit = !core.globalConfig.jitless;
2097
+ const allowsEval = util.allowsEval;
2098
+
2099
+ const fastEnabled = jit && allowsEval.value; // && !def.catchall;
2100
+ const catchall = def.catchall;
2101
+
2102
+ let value!: typeof _normalized.value;
2103
+
2104
+ inst._zod.parse = (payload, ctx) => {
2105
+ value ??= _normalized.value;
2106
+ const input = payload.value;
2107
+ if (!isObject(input)) {
2108
+ payload.issues.push({
2109
+ expected: "object",
2110
+ code: "invalid_type",
2111
+ input,
2112
+ inst,
2113
+ });
2114
+ return payload;
2115
+ }
2116
+
2117
+ if (jit && fastEnabled && ctx?.async === false && ctx.jitless !== true) {
2118
+ // always synchronous
2119
+ if (!fastpass) fastpass = generateFastpass(def.shape);
2120
+ payload = fastpass(payload, ctx);
2121
+
2122
+ if (!catchall) return payload;
2123
+ return handleCatchall([], input, payload, ctx, value, inst);
2124
+ }
2125
+
2126
+ return superParse(payload, ctx);
2127
+ };
2128
+ }
2129
+ );
2130
+
2131
+ /////////////////////////////////////////
2132
+ /////////////////////////////////////////
2133
+ ////////// ///////////
2134
+ ////////// $ZodUnion //////////
2135
+ ////////// ///////////
2136
+ /////////////////////////////////////////
2137
+ /////////////////////////////////////////
2138
+ // use generic to distribute union types
2139
+ export type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;
2140
+ export type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;
2141
+ export interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
2142
+ type: "union";
2143
+ options: Options;
2144
+ inclusive?: boolean;
2145
+ }
2146
+
2147
+ type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
2148
+ type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
2149
+
2150
+ export interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
2151
+ def: $ZodUnionDef<T>;
2152
+ isst: errors.$ZodIssueInvalidUnion;
2153
+ pattern: T[number]["_zod"]["pattern"];
2154
+ values: T[number]["_zod"]["values"]; //GetValues<T[number]>;
2155
+ output: $InferUnionOutput<T[number]>;
2156
+ input: $InferUnionInput<T[number]>;
2157
+ // if any element in the union is optional, then the union is optional
2158
+ optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
2159
+ optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
2160
+ }
2161
+
2162
+ export interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]>
2163
+ extends $ZodType<any, any, $ZodUnionInternals<T>> {
2164
+ _zod: $ZodUnionInternals<T>;
2165
+ }
2166
+
2167
+ function handleUnionResults(results: ParsePayload[], final: ParsePayload, inst: $ZodUnion, ctx?: ParseContext) {
2168
+ for (const result of results) {
2169
+ if (result.issues.length === 0) {
2170
+ final.value = result.value;
2171
+ return final;
2172
+ }
2173
+ }
2174
+
2175
+ const nonaborted = results.filter((r) => !util.aborted(r));
2176
+ if (nonaborted.length === 1) {
2177
+ final.value = nonaborted[0].value;
2178
+ return nonaborted[0];
2179
+ }
2180
+
2181
+ final.issues.push({
2182
+ code: "invalid_union",
2183
+
2184
+ input: final.value,
2185
+ inst,
2186
+ errors: results.map((result) => result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))),
2187
+ });
2188
+
2189
+ return final;
2190
+ }
2191
+
2192
+ export const $ZodUnion: core.$constructor<$ZodUnion> = /*@__PURE__*/ core.$constructor("$ZodUnion", (inst, def) => {
2193
+ $ZodType.init(inst, def);
2194
+
2195
+ util.defineLazy(inst._zod, "optin", () =>
2196
+ def.options.some((o) => o._zod.optin === "optional") ? "optional" : undefined
2197
+ );
2198
+
2199
+ util.defineLazy(inst._zod, "optout", () =>
2200
+ def.options.some((o) => o._zod.optout === "optional") ? "optional" : undefined
2201
+ );
2202
+
2203
+ util.defineLazy(inst._zod, "values", () => {
2204
+ if (def.options.every((o) => o._zod.values)) {
2205
+ return new Set<util.Primitive>(def.options.flatMap((option) => Array.from(option._zod.values!)));
2206
+ }
2207
+ return undefined;
2208
+ });
2209
+
2210
+ util.defineLazy(inst._zod, "pattern", () => {
2211
+ if (def.options.every((o) => o._zod.pattern)) {
2212
+ const patterns = def.options.map((o) => o._zod.pattern);
2213
+ return new RegExp(`^(${patterns.map((p) => util.cleanRegex(p!.source)).join("|")})$`);
2214
+ }
2215
+ return undefined;
2216
+ });
2217
+
2218
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2219
+
2220
+ inst._zod.parse = (payload, ctx) => {
2221
+ if (first) {
2222
+ return first(payload, ctx);
2223
+ }
2224
+ let async = false;
2225
+
2226
+ const results: util.MaybeAsync<ParsePayload>[] = [];
2227
+ for (const option of def.options) {
2228
+ const result = option._zod.run(
2229
+ {
2230
+ value: payload.value,
2231
+ issues: [],
2232
+ },
2233
+ ctx
2234
+ );
2235
+ if (result instanceof Promise) {
2236
+ results.push(result);
2237
+ async = true;
2238
+ } else {
2239
+ if (result.issues.length === 0) return result;
2240
+ results.push(result);
2241
+ }
2242
+ }
2243
+
2244
+ if (!async) return handleUnionResults(results as ParsePayload[], payload, inst, ctx);
2245
+ return Promise.all(results).then((results) => {
2246
+ return handleUnionResults(results as ParsePayload[], payload, inst, ctx);
2247
+ });
2248
+ };
2249
+ });
2250
+
2251
+ function handleExclusiveUnionResults(
2252
+ results: ParsePayload[],
2253
+ final: ParsePayload,
2254
+ inst: $ZodUnion,
2255
+ ctx?: ParseContext
2256
+ ) {
2257
+ const successes = results.filter((r) => r.issues.length === 0);
2258
+
2259
+ if (successes.length === 1) {
2260
+ final.value = successes[0].value;
2261
+ return final;
2262
+ }
2263
+
2264
+ if (successes.length === 0) {
2265
+ // No matches - same as regular union
2266
+ final.issues.push({
2267
+ code: "invalid_union",
2268
+ input: final.value,
2269
+ inst,
2270
+ errors: results.map((result) => result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))),
2271
+ });
2272
+ } else {
2273
+ // Multiple matches - exclusive union failure
2274
+ final.issues.push({
2275
+ code: "invalid_union",
2276
+ input: final.value,
2277
+ inst,
2278
+ errors: [],
2279
+ inclusive: false,
2280
+ });
2281
+ }
2282
+
2283
+ return final;
2284
+ }
2285
+
2286
+ export interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {}
2287
+
2288
+ export interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]>
2289
+ extends $ZodType<any, any, $ZodXorInternals<T>> {
2290
+ _zod: $ZodXorInternals<T>;
2291
+ }
2292
+
2293
+ export const $ZodXor: core.$constructor<$ZodXor> = /*@__PURE__*/ core.$constructor("$ZodXor", (inst, def) => {
2294
+ $ZodUnion.init(inst, def);
2295
+ def.inclusive = false;
2296
+
2297
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2298
+
2299
+ inst._zod.parse = (payload, ctx) => {
2300
+ if (first) {
2301
+ return first(payload, ctx);
2302
+ }
2303
+ let async = false;
2304
+
2305
+ const results: util.MaybeAsync<ParsePayload>[] = [];
2306
+ for (const option of def.options) {
2307
+ const result = option._zod.run(
2308
+ {
2309
+ value: payload.value,
2310
+ issues: [],
2311
+ },
2312
+ ctx
2313
+ );
2314
+ if (result instanceof Promise) {
2315
+ results.push(result);
2316
+ async = true;
2317
+ } else {
2318
+ results.push(result);
2319
+ }
2320
+ }
2321
+
2322
+ if (!async) return handleExclusiveUnionResults(results as ParsePayload[], payload, inst, ctx);
2323
+ return Promise.all(results).then((results) => {
2324
+ return handleExclusiveUnionResults(results as ParsePayload[], payload, inst, ctx);
2325
+ });
2326
+ };
2327
+ });
2328
+
2329
+ //////////////////////////////////////////////////////
2330
+ //////////////////////////////////////////////////////
2331
+ ////////// //////////
2332
+ ////////// $ZodDiscriminatedUnion //////////
2333
+ ////////// //////////
2334
+ //////////////////////////////////////////////////////
2335
+ //////////////////////////////////////////////////////
2336
+
2337
+ export interface $ZodDiscriminatedUnionDef<
2338
+ Options extends readonly SomeType[] = readonly $ZodType[],
2339
+ Disc extends string = string,
2340
+ > extends $ZodUnionDef<Options> {
2341
+ discriminator: Disc;
2342
+ unionFallback?: boolean;
2343
+ }
2344
+
2345
+ export interface $ZodDiscriminatedUnionInternals<
2346
+ Options extends readonly SomeType[] = readonly $ZodType[],
2347
+ Disc extends string = string,
2348
+ > extends $ZodUnionInternals<Options> {
2349
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
2350
+ propValues: util.PropValues;
2351
+ }
2352
+
2353
+ export interface $ZodDiscriminatedUnion<
2354
+ Options extends readonly SomeType[] = readonly $ZodType[],
2355
+ Disc extends string = string,
2356
+ > extends $ZodType {
2357
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
2358
+ }
2359
+
2360
+ export const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion> =
2361
+ /*@__PURE__*/
2362
+ core.$constructor("$ZodDiscriminatedUnion", (inst, def) => {
2363
+ def.inclusive = false;
2364
+
2365
+ $ZodUnion.init(inst, def);
2366
+
2367
+ const _super = inst._zod.parse;
2368
+ util.defineLazy(inst._zod, "propValues", () => {
2369
+ const propValues: util.PropValues = {};
2370
+ for (const option of def.options) {
2371
+ const pv = option._zod.propValues;
2372
+ if (!pv || Object.keys(pv).length === 0)
2373
+ throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
2374
+ for (const [k, v] of Object.entries(pv!)) {
2375
+ if (!propValues[k]) propValues[k] = new Set();
2376
+ for (const val of v) {
2377
+ propValues[k].add(val);
2378
+ }
2379
+ }
2380
+ }
2381
+ return propValues;
2382
+ });
2383
+
2384
+ const disc = util.cached(() => {
2385
+ const opts = def.options as $ZodTypeDiscriminable[];
2386
+ const map: Map<util.Primitive, $ZodType> = new Map();
2387
+ for (const o of opts) {
2388
+ const values = o._zod.propValues?.[def.discriminator];
2389
+ if (!values || values.size === 0)
2390
+ throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(o)}"`);
2391
+ for (const v of values) {
2392
+ if (map.has(v)) {
2393
+ throw new Error(`Duplicate discriminator value "${String(v)}"`);
2394
+ }
2395
+ map.set(v, o);
2396
+ }
2397
+ }
2398
+ return map;
2399
+ });
2400
+
2401
+ inst._zod.parse = (payload, ctx) => {
2402
+ const input = payload.value;
2403
+ if (!util.isObject(input)) {
2404
+ payload.issues.push({
2405
+ code: "invalid_type",
2406
+
2407
+ expected: "object",
2408
+ input,
2409
+ inst,
2410
+ });
2411
+ return payload;
2412
+ }
2413
+
2414
+ const opt = disc.value.get(input?.[def.discriminator] as any);
2415
+ if (opt) {
2416
+ return opt._zod.run(payload, ctx) as any;
2417
+ }
2418
+
2419
+ // Fall back to union matching when the fast discriminator path fails:
2420
+ // - explicitly enabled via unionFallback, or
2421
+ // - during backward direction (encode), since codec-based discriminators
2422
+ // have different values in forward vs backward directions
2423
+ if (def.unionFallback || ctx.direction === "backward") {
2424
+ return _super(payload, ctx);
2425
+ }
2426
+
2427
+ // no matching discriminator
2428
+ payload.issues.push({
2429
+ code: "invalid_union",
2430
+ errors: [],
2431
+ note: "No matching discriminator",
2432
+ discriminator: def.discriminator,
2433
+ options: Array.from(disc.value.keys()),
2434
+ input,
2435
+ path: [def.discriminator],
2436
+ inst,
2437
+ });
2438
+
2439
+ return payload;
2440
+ };
2441
+ });
2442
+
2443
+ ////////////////////////////////////////////////
2444
+ ////////////////////////////////////////////////
2445
+ ////////// //////////
2446
+ ////////// $ZodIntersection //////////
2447
+ ////////// //////////
2448
+ ////////////////////////////////////////////////
2449
+ ////////////////////////////////////////////////
2450
+
2451
+ export interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType>
2452
+ extends $ZodTypeDef {
2453
+ type: "intersection";
2454
+ left: Left;
2455
+ right: Right;
2456
+ }
2457
+
2458
+ export interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
2459
+ extends _$ZodTypeInternals {
2460
+ // $ZodTypeInternals<core.output<A> & core.output<B>, core.input<A> & core.input<B>>
2461
+ def: $ZodIntersectionDef<A, B>;
2462
+ isst: never;
2463
+ optin: A["_zod"]["optin"] | B["_zod"]["optin"];
2464
+ optout: A["_zod"]["optout"] | B["_zod"]["optout"];
2465
+ output: core.output<A> & core.output<B>;
2466
+ input: core.input<A> & core.input<B>;
2467
+ }
2468
+
2469
+ export interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
2470
+ _zod: $ZodIntersectionInternals<A, B>;
2471
+ }
2472
+
2473
+ export const $ZodIntersection: core.$constructor<$ZodIntersection> = /*@__PURE__*/ core.$constructor(
2474
+ "$ZodIntersection",
2475
+ (inst, def) => {
2476
+ $ZodType.init(inst, def);
2477
+
2478
+ inst._zod.parse = (payload, ctx) => {
2479
+ const input = payload.value;
2480
+ const left = def.left._zod.run({ value: input, issues: [] }, ctx);
2481
+ const right = def.right._zod.run({ value: input, issues: [] }, ctx);
2482
+ const async = left instanceof Promise || right instanceof Promise;
2483
+
2484
+ if (async) {
2485
+ return Promise.all([left, right]).then(([left, right]) => {
2486
+ return handleIntersectionResults(payload, left, right);
2487
+ });
2488
+ }
2489
+
2490
+ return handleIntersectionResults(payload, left, right);
2491
+ };
2492
+ }
2493
+ );
2494
+
2495
+ function mergeValues(
2496
+ a: any,
2497
+ b: any
2498
+ ): { valid: true; data: any } | { valid: false; mergeErrorPath: (string | number)[] } {
2499
+ // const aType = parse.t(a);
2500
+ // const bType = parse.t(b);
2501
+
2502
+ if (a === b) {
2503
+ return { valid: true, data: a };
2504
+ }
2505
+ if (a instanceof Date && b instanceof Date && +a === +b) {
2506
+ return { valid: true, data: a };
2507
+ }
2508
+ if (util.isPlainObject(a) && util.isPlainObject(b)) {
2509
+ const bKeys = Object.keys(b);
2510
+ const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
2511
+
2512
+ const newObj: any = { ...a, ...b };
2513
+ for (const key of sharedKeys) {
2514
+ const sharedValue = mergeValues(a[key], b[key]);
2515
+ if (!sharedValue.valid) {
2516
+ return {
2517
+ valid: false,
2518
+ mergeErrorPath: [key, ...sharedValue.mergeErrorPath],
2519
+ };
2520
+ }
2521
+ newObj[key] = sharedValue.data;
2522
+ }
2523
+
2524
+ return { valid: true, data: newObj };
2525
+ }
2526
+ if (Array.isArray(a) && Array.isArray(b)) {
2527
+ if (a.length !== b.length) {
2528
+ return { valid: false, mergeErrorPath: [] };
2529
+ }
2530
+
2531
+ const newArray: unknown[] = [];
2532
+ for (let index = 0; index < a.length; index++) {
2533
+ const itemA = a[index];
2534
+ const itemB = b[index];
2535
+ const sharedValue = mergeValues(itemA, itemB);
2536
+
2537
+ if (!sharedValue.valid) {
2538
+ return {
2539
+ valid: false,
2540
+ mergeErrorPath: [index, ...sharedValue.mergeErrorPath],
2541
+ };
2542
+ }
2543
+
2544
+ newArray.push(sharedValue.data);
2545
+ }
2546
+
2547
+ return { valid: true, data: newArray };
2548
+ }
2549
+
2550
+ return { valid: false, mergeErrorPath: [] };
2551
+ }
2552
+
2553
+ function handleIntersectionResults(result: ParsePayload, left: ParsePayload, right: ParsePayload): ParsePayload {
2554
+ // Track which side(s) report each key as unrecognized
2555
+ const unrecKeys = new Map<string, { l?: true; r?: true }>();
2556
+ let unrecIssue: errors.$ZodRawIssue | undefined;
2557
+
2558
+ for (const iss of left.issues) {
2559
+ if (iss.code === "unrecognized_keys") {
2560
+ unrecIssue ??= iss;
2561
+ for (const k of iss.keys) {
2562
+ if (!unrecKeys.has(k)) unrecKeys.set(k, {});
2563
+ unrecKeys.get(k)!.l = true;
2564
+ }
2565
+ } else {
2566
+ result.issues.push(iss);
2567
+ }
2568
+ }
2569
+
2570
+ for (const iss of right.issues) {
2571
+ if (iss.code === "unrecognized_keys") {
2572
+ for (const k of iss.keys) {
2573
+ if (!unrecKeys.has(k)) unrecKeys.set(k, {});
2574
+ unrecKeys.get(k)!.r = true;
2575
+ }
2576
+ } else {
2577
+ result.issues.push(iss);
2578
+ }
2579
+ }
2580
+
2581
+ // Report only keys unrecognized by BOTH sides
2582
+ const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
2583
+ if (bothKeys.length && unrecIssue) {
2584
+ result.issues.push({ ...unrecIssue, keys: bothKeys });
2585
+ }
2586
+
2587
+ if (util.aborted(result)) return result;
2588
+
2589
+ const merged = mergeValues(left.value, right.value);
2590
+
2591
+ if (!merged.valid) {
2592
+ throw new Error(`Unmergable intersection. Error path: ` + `${JSON.stringify(merged.mergeErrorPath)}`);
2593
+ }
2594
+
2595
+ result.value = merged.data;
2596
+ return result;
2597
+ }
2598
+
2599
+ /////////////////////////////////////////
2600
+ /////////////////////////////////////////
2601
+ ////////// //////////
2602
+ ////////// $ZodTuple //////////
2603
+ ////////// //////////
2604
+ /////////////////////////////////////////
2605
+ /////////////////////////////////////////
2606
+
2607
+ export interface $ZodTupleDef<
2608
+ T extends util.TupleItems = readonly $ZodType[],
2609
+ Rest extends SomeType | null = $ZodType | null,
2610
+ > extends $ZodTypeDef {
2611
+ type: "tuple";
2612
+ items: T;
2613
+ rest: Rest;
2614
+ }
2615
+
2616
+ export type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [
2617
+ ...TupleInputTypeWithOptionals<T>,
2618
+ ...(Rest extends SomeType ? core.input<Rest>[] : []),
2619
+ ];
2620
+ type TupleInputTypeNoOptionals<T extends util.TupleItems> = {
2621
+ [k in keyof T]: core.input<T[k]>;
2622
+ };
2623
+ type TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
2624
+ ...infer Prefix extends SomeType[],
2625
+ infer Tail extends SomeType,
2626
+ ]
2627
+ ? Tail["_zod"]["optin"] extends "optional"
2628
+ ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?]
2629
+ : TupleInputTypeNoOptionals<T>
2630
+ : [];
2631
+
2632
+ export type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [
2633
+ ...TupleOutputTypeWithOptionals<T>,
2634
+ ...(Rest extends SomeType ? core.output<Rest>[] : []),
2635
+ ];
2636
+ type TupleOutputTypeNoOptionals<T extends util.TupleItems> = {
2637
+ [k in keyof T]: core.output<T[k]>;
2638
+ };
2639
+ type TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
2640
+ ...infer Prefix extends SomeType[],
2641
+ infer Tail extends SomeType,
2642
+ ]
2643
+ ? Tail["_zod"]["optout"] extends "optional"
2644
+ ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?]
2645
+ : TupleOutputTypeNoOptionals<T>
2646
+ : [];
2647
+
2648
+ export interface $ZodTupleInternals<
2649
+ T extends util.TupleItems = readonly $ZodType[],
2650
+ Rest extends SomeType | null = $ZodType | null,
2651
+ > extends _$ZodTypeInternals {
2652
+ def: $ZodTupleDef<T, Rest>;
2653
+ isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;
2654
+ // $ZodTypeInternals<$InferTupleOutputType<T, Rest>, $InferTupleInputType<T, Rest>>
2655
+ output: $InferTupleOutputType<T, Rest>;
2656
+ input: $InferTupleInputType<T, Rest>;
2657
+ }
2658
+
2659
+ export interface $ZodTuple<
2660
+ T extends util.TupleItems = readonly $ZodType[],
2661
+ Rest extends SomeType | null = $ZodType | null,
2662
+ > extends $ZodType {
2663
+ _zod: $ZodTupleInternals<T, Rest>;
2664
+ }
2665
+
2666
+ export const $ZodTuple: core.$constructor<$ZodTuple> = /*@__PURE__*/ core.$constructor("$ZodTuple", (inst, def) => {
2667
+ $ZodType.init(inst, def);
2668
+ const items = def.items;
2669
+
2670
+ inst._zod.parse = (payload, ctx) => {
2671
+ const input = payload.value;
2672
+ if (!Array.isArray(input)) {
2673
+ payload.issues.push({
2674
+ input,
2675
+ inst,
2676
+ expected: "tuple",
2677
+ code: "invalid_type",
2678
+ });
2679
+ return payload;
2680
+ }
2681
+
2682
+ payload.value = [];
2683
+ const proms: Promise<any>[] = [];
2684
+
2685
+ const optinStart = getTupleOptStart(items, "optin");
2686
+ const optoutStart = getTupleOptStart(items, "optout");
2687
+
2688
+ if (!def.rest) {
2689
+ if (input.length < optinStart) {
2690
+ payload.issues.push({
2691
+ code: "too_small",
2692
+ minimum: optinStart,
2693
+ inclusive: true,
2694
+ input,
2695
+ inst,
2696
+ origin: "array" as const,
2697
+ });
2698
+ return payload;
2699
+ }
2700
+ if (input.length > items.length) {
2701
+ payload.issues.push({
2702
+ code: "too_big",
2703
+ maximum: items.length,
2704
+ inclusive: true,
2705
+ input,
2706
+ inst,
2707
+ origin: "array" as const,
2708
+ });
2709
+ }
2710
+ }
2711
+
2712
+ // Run every item in parallel, collecting results into an indexed
2713
+ // array. The post-processing in `handleTupleResults` walks them in
2714
+ // order so it can decide whether an absent optional-output error can
2715
+ // truncate the tail or must be reported to preserve required output.
2716
+ const itemResults: ParsePayload[] = new Array(items.length);
2717
+ for (let i = 0; i < items.length; i++) {
2718
+ const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
2719
+ if (r instanceof Promise) {
2720
+ proms.push(
2721
+ r.then((rr) => {
2722
+ itemResults[i] = rr;
2723
+ })
2724
+ );
2725
+ } else {
2726
+ itemResults[i] = r;
2727
+ }
2728
+ }
2729
+
2730
+ if (def.rest) {
2731
+ let i = items.length - 1;
2732
+ const rest = input.slice(items.length);
2733
+ for (const el of rest) {
2734
+ i++;
2735
+ const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
2736
+ if (result instanceof Promise) {
2737
+ proms.push(result.then((r) => handleTupleResult(r, payload, i)));
2738
+ } else {
2739
+ handleTupleResult(result, payload, i);
2740
+ }
2741
+ }
2742
+ }
2743
+
2744
+ if (proms.length) {
2745
+ return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
2746
+ }
2747
+ return handleTupleResults(itemResults, payload, items, input, optoutStart);
2748
+ };
2749
+ });
2750
+
2751
+ function getTupleOptStart(items: readonly $ZodType[], key: "optin" | "optout") {
2752
+ for (let i = items.length - 1; i >= 0; i--) {
2753
+ if (items[i]._zod[key] !== "optional") return i + 1;
2754
+ }
2755
+ return 0;
2756
+ }
2757
+
2758
+ function handleTupleResult(result: ParsePayload, final: ParsePayload<any[]>, index: number) {
2759
+ if (result.issues.length) {
2760
+ final.issues.push(...util.prefixIssues(index, result.issues));
2761
+ }
2762
+ final.value[index] = result.value;
2763
+ }
2764
+
2765
+ function handleTupleResults(
2766
+ itemResults: ParsePayload[],
2767
+ final: ParsePayload<any[]>,
2768
+ items: readonly $ZodType[],
2769
+ input: unknown[],
2770
+ optoutStart: number
2771
+ ) {
2772
+ // Walk results in order. Mirror $ZodObject's swallow-on-absent-optional
2773
+ // rule, but only after `optoutStart`: the first index where the output
2774
+ // tuple tail can be absent.
2775
+ for (let i = 0; i < items.length; i++) {
2776
+ const r = itemResults[i];
2777
+ const isPresent = i < input.length;
2778
+ if (r.issues.length) {
2779
+ if (!isPresent && i >= optoutStart) {
2780
+ final.value.length = i;
2781
+ break;
2782
+ }
2783
+ final.issues.push(...util.prefixIssues(i, r.issues));
2784
+ }
2785
+ final.value[i] = r.value;
2786
+ }
2787
+
2788
+ // Drop trailing slots that produced `undefined` for absent input
2789
+ // (the array analog of an absent optional key on an object). The
2790
+ // `i >= input.length` floor is critical: an explicit `undefined`
2791
+ // *inside* the input must be preserved even when the schema is
2792
+ // optional-out (e.g. `z.string().or(z.undefined())` accepting an
2793
+ // explicit undefined value).
2794
+ for (let i = final.value.length - 1; i >= input.length; i--) {
2795
+ if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
2796
+ final.value.length = i;
2797
+ } else {
2798
+ break;
2799
+ }
2800
+ }
2801
+ return final;
2802
+ }
2803
+
2804
+ //////////////////////////////////////////
2805
+ //////////////////////////////////////////
2806
+ ////////// //////////
2807
+ ////////// $ZodRecord //////////
2808
+ ////////// //////////
2809
+ //////////////////////////////////////////
2810
+ //////////////////////////////////////////
2811
+
2812
+ export type $ZodRecordKey = $ZodType<string | number | symbol, unknown>; // $HasValues | $HasPattern;
2813
+ export interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2814
+ extends $ZodTypeDef {
2815
+ type: "record";
2816
+ keyType: Key;
2817
+ valueType: Value;
2818
+ /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
2819
+ mode?: "strict" | "loose";
2820
+ }
2821
+
2822
+ // export type $InferZodRecordOutput<
2823
+ // Key extends $ZodRecordKey = $ZodRecordKey,
2824
+ // Value extends SomeType = $ZodType,
2825
+ // > = undefined extends Key["_zod"]["values"]
2826
+ // ? string extends core.output<Key>
2827
+ // ? Record<core.output<Key>, core.output<Value>>
2828
+ // : number extends core.output<Key>
2829
+ // ? Record<core.output<Key>, core.output<Value>>
2830
+ // : symbol extends core.output<Key>
2831
+ // ? Record<core.output<Key>, core.output<Value>>
2832
+ // : Record<core.output<Key>, core.output<Value>>
2833
+ // : Record<core.output<Key>, core.output<Value>>;
2834
+ export type $InferZodRecordOutput<
2835
+ Key extends $ZodRecordKey = $ZodRecordKey,
2836
+ Value extends SomeType = $ZodType,
2837
+ > = Key extends $partial
2838
+ ? Partial<Record<core.output<Key>, core.output<Value>>>
2839
+ : Record<core.output<Key>, core.output<Value>>;
2840
+
2841
+ // export type $InferZodRecordInput<
2842
+ // Key extends $ZodRecordKey = $ZodRecordKey,
2843
+ // Value extends SomeType = $ZodType,
2844
+ // > = undefined extends Key["_zod"]["values"]
2845
+ // ? string extends core.input<Key>
2846
+ // ? Record<core.input<Key>, core.input<Value>>
2847
+ // : number extends core.input<Key>
2848
+ // ? Record<core.input<Key>, core.input<Value>>
2849
+ // : symbol extends core.input<Key>
2850
+ // ? Record<core.input<Key>, core.input<Value>>
2851
+ // : Record<core.input<Key>, core.input<Value>>
2852
+ // : Record<core.input<Key>, core.input<Value>>;
2853
+
2854
+ export type $InferZodRecordInput<
2855
+ Key extends $ZodRecordKey = $ZodRecordKey,
2856
+ Value extends SomeType = $ZodType,
2857
+ > = Key extends $partial
2858
+ ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>>
2859
+ : Record<core.input<Key> & PropertyKey, core.input<Value>>;
2860
+
2861
+ export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2862
+ extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
2863
+ def: $ZodRecordDef<Key, Value>;
2864
+ isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
2865
+ optin?: "optional" | undefined;
2866
+ optout?: "optional" | undefined;
2867
+ }
2868
+
2869
+ export type $partial = { "~~partial": true };
2870
+ export interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2871
+ extends $ZodType {
2872
+ _zod: $ZodRecordInternals<Key, Value>;
2873
+ }
2874
+
2875
+ export const $ZodRecord: core.$constructor<$ZodRecord> = /*@__PURE__*/ core.$constructor("$ZodRecord", (inst, def) => {
2876
+ $ZodType.init(inst, def);
2877
+
2878
+ inst._zod.parse = (payload, ctx) => {
2879
+ const input = payload.value;
2880
+
2881
+ if (!util.isPlainObject(input)) {
2882
+ payload.issues.push({
2883
+ expected: "record",
2884
+ code: "invalid_type",
2885
+
2886
+ input,
2887
+ inst,
2888
+ });
2889
+ return payload;
2890
+ }
2891
+
2892
+ const proms: Promise<any>[] = [];
2893
+
2894
+ const values = def.keyType._zod.values;
2895
+ if (values) {
2896
+ payload.value = {};
2897
+ const recordKeys = new Set<string | symbol>();
2898
+ for (const key of values) {
2899
+ if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
2900
+ recordKeys.add(typeof key === "number" ? key.toString() : key);
2901
+ const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2902
+ if (keyResult instanceof Promise) {
2903
+ throw new Error("Async schemas not supported in object keys currently");
2904
+ }
2905
+ if (keyResult.issues.length) {
2906
+ payload.issues.push({
2907
+ code: "invalid_key",
2908
+ origin: "record",
2909
+ issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
2910
+ input: key,
2911
+ path: [key],
2912
+ inst,
2913
+ });
2914
+ continue;
2915
+ }
2916
+ const outKey = keyResult.value as PropertyKey;
2917
+ const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
2918
+
2919
+ if (result instanceof Promise) {
2920
+ proms.push(
2921
+ result.then((result) => {
2922
+ if (result.issues.length) {
2923
+ payload.issues.push(...util.prefixIssues(key, result.issues));
2924
+ }
2925
+ payload.value[outKey] = result.value;
2926
+ })
2927
+ );
2928
+ } else {
2929
+ if (result.issues.length) {
2930
+ payload.issues.push(...util.prefixIssues(key, result.issues));
2931
+ }
2932
+ payload.value[outKey] = result.value;
2933
+ }
2934
+ }
2935
+ }
2936
+
2937
+ let unrecognized!: string[];
2938
+ for (const key in input) {
2939
+ if (!recordKeys.has(key)) {
2940
+ unrecognized = unrecognized ?? [];
2941
+ unrecognized.push(key);
2942
+ }
2943
+ }
2944
+ if (unrecognized && unrecognized.length > 0) {
2945
+ payload.issues.push({
2946
+ code: "unrecognized_keys",
2947
+
2948
+ input,
2949
+ inst,
2950
+ keys: unrecognized,
2951
+ });
2952
+ }
2953
+ } else {
2954
+ payload.value = {};
2955
+ // Reflect.ownKeys for Symbol-key support; filter non-enumerable to match z.object()
2956
+ for (const key of Reflect.ownKeys(input)) {
2957
+ if (key === "__proto__") continue;
2958
+ if (!Object.prototype.propertyIsEnumerable.call(input, key)) continue;
2959
+ let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2960
+ if (keyResult instanceof Promise) {
2961
+ throw new Error("Async schemas not supported in object keys currently");
2962
+ }
2963
+
2964
+ // Numeric string fallback: if key is a numeric string and failed, retry with Number(key)
2965
+ // This handles z.number(), z.literal([1, 2, 3]), and unions containing numeric literals
2966
+ const checkNumericKey = typeof key === "string" && regexes.number.test(key) && keyResult.issues.length;
2967
+ if (checkNumericKey) {
2968
+ const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
2969
+ if (retryResult instanceof Promise) {
2970
+ throw new Error("Async schemas not supported in object keys currently");
2971
+ }
2972
+ if (retryResult.issues.length === 0) {
2973
+ keyResult = retryResult;
2974
+ }
2975
+ }
2976
+
2977
+ if (keyResult.issues.length) {
2978
+ if (def.mode === "loose") {
2979
+ // Pass through unchanged
2980
+ payload.value[key] = input[key];
2981
+ } else {
2982
+ // Default "strict" behavior: error on invalid key
2983
+ payload.issues.push({
2984
+ code: "invalid_key",
2985
+ origin: "record",
2986
+ issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
2987
+ input: key,
2988
+ path: [key],
2989
+ inst,
2990
+ });
2991
+ }
2992
+ continue;
2993
+ }
2994
+
2995
+ const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
2996
+
2997
+ if (result instanceof Promise) {
2998
+ proms.push(
2999
+ result.then((result) => {
3000
+ if (result.issues.length) {
3001
+ payload.issues.push(...util.prefixIssues(key, result.issues));
3002
+ }
3003
+ payload.value[keyResult.value as PropertyKey] = result.value;
3004
+ })
3005
+ );
3006
+ } else {
3007
+ if (result.issues.length) {
3008
+ payload.issues.push(...util.prefixIssues(key, result.issues));
3009
+ }
3010
+ payload.value[keyResult.value as PropertyKey] = result.value;
3011
+ }
3012
+ }
3013
+ }
3014
+
3015
+ if (proms.length) {
3016
+ return Promise.all(proms).then(() => payload);
3017
+ }
3018
+ return payload;
3019
+ };
3020
+ });
3021
+
3022
+ ///////////////////////////////////////
3023
+ ///////////////////////////////////////
3024
+ ////////// //////////
3025
+ ////////// $ZodMap //////////
3026
+ ////////// //////////
3027
+ ///////////////////////////////////////
3028
+ ///////////////////////////////////////
3029
+ export interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
3030
+ type: "map";
3031
+ keyType: Key;
3032
+ valueType: Value;
3033
+ }
3034
+
3035
+ export interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType>
3036
+ extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {
3037
+ def: $ZodMapDef<Key, Value>;
3038
+ isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;
3039
+ optin?: "optional" | undefined;
3040
+ optout?: "optional" | undefined;
3041
+ }
3042
+
3043
+ export interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
3044
+ _zod: $ZodMapInternals<Key, Value>;
3045
+ }
3046
+
3047
+ export const $ZodMap: core.$constructor<$ZodMap> = /*@__PURE__*/ core.$constructor("$ZodMap", (inst, def) => {
3048
+ $ZodType.init(inst, def);
3049
+
3050
+ inst._zod.parse = (payload, ctx) => {
3051
+ const input = payload.value;
3052
+ if (!(input instanceof Map)) {
3053
+ payload.issues.push({
3054
+ expected: "map",
3055
+ code: "invalid_type",
3056
+
3057
+ input,
3058
+ inst,
3059
+ });
3060
+ return payload;
3061
+ }
3062
+
3063
+ const proms: Promise<any>[] = [];
3064
+ payload.value = new Map();
3065
+
3066
+ for (const [key, value] of input) {
3067
+ const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3068
+ const valueResult = def.valueType._zod.run({ value: value, issues: [] }, ctx);
3069
+
3070
+ if (keyResult instanceof Promise || valueResult instanceof Promise) {
3071
+ proms.push(
3072
+ Promise.all([keyResult, valueResult]).then(([keyResult, valueResult]) => {
3073
+ handleMapResult(keyResult, valueResult, payload, key, input, inst, ctx);
3074
+ })
3075
+ );
3076
+ } else {
3077
+ handleMapResult(keyResult as ParsePayload, valueResult as ParsePayload, payload, key, input, inst, ctx);
3078
+ }
3079
+ }
3080
+
3081
+ if (proms.length) return Promise.all(proms).then(() => payload);
3082
+ return payload;
3083
+ };
3084
+ });
3085
+
3086
+ function handleMapResult(
3087
+ keyResult: ParsePayload,
3088
+ valueResult: ParsePayload,
3089
+ final: ParsePayload<Map<unknown, unknown>>,
3090
+ key: unknown,
3091
+ input: Map<any, any>,
3092
+ inst: $ZodMap,
3093
+ ctx?: ParseContext | undefined
3094
+ ): void {
3095
+ if (keyResult.issues.length) {
3096
+ if (util.propertyKeyTypes.has(typeof key)) {
3097
+ final.issues.push(...util.prefixIssues(key as PropertyKey, keyResult.issues));
3098
+ } else {
3099
+ final.issues.push({
3100
+ code: "invalid_key",
3101
+
3102
+ origin: "map",
3103
+ input,
3104
+ inst,
3105
+ issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3106
+ });
3107
+ }
3108
+ }
3109
+ if (valueResult.issues.length) {
3110
+ if (util.propertyKeyTypes.has(typeof key)) {
3111
+ final.issues.push(...util.prefixIssues(key as PropertyKey, valueResult.issues));
3112
+ } else {
3113
+ final.issues.push({
3114
+ origin: "map",
3115
+ code: "invalid_element",
3116
+
3117
+ input,
3118
+ inst,
3119
+ key: key,
3120
+ issues: valueResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3121
+ });
3122
+ }
3123
+ }
3124
+ final.value.set(keyResult.value, valueResult.value);
3125
+ }
3126
+
3127
+ ///////////////////////////////////////
3128
+ ///////////////////////////////////////
3129
+ ////////// //////////
3130
+ ////////// $ZodSet //////////
3131
+ ////////// //////////
3132
+ ///////////////////////////////////////
3133
+ ///////////////////////////////////////
3134
+ export interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3135
+ type: "set";
3136
+ valueType: T;
3137
+ }
3138
+
3139
+ export interface $ZodSetInternals<T extends SomeType = $ZodType>
3140
+ extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {
3141
+ def: $ZodSetDef<T>;
3142
+ isst: errors.$ZodIssueInvalidType;
3143
+ optin?: "optional" | undefined;
3144
+ optout?: "optional" | undefined;
3145
+ }
3146
+
3147
+ export interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
3148
+ _zod: $ZodSetInternals<T>;
3149
+ }
3150
+
3151
+ export const $ZodSet: core.$constructor<$ZodSet> = /*@__PURE__*/ core.$constructor("$ZodSet", (inst, def) => {
3152
+ $ZodType.init(inst, def);
3153
+
3154
+ inst._zod.parse = (payload, ctx) => {
3155
+ const input = payload.value;
3156
+ if (!(input instanceof Set)) {
3157
+ payload.issues.push({
3158
+ input,
3159
+ inst,
3160
+ expected: "set",
3161
+ code: "invalid_type",
3162
+ });
3163
+ return payload;
3164
+ }
3165
+
3166
+ const proms: Promise<any>[] = [];
3167
+ payload.value = new Set();
3168
+ for (const item of input) {
3169
+ const result = def.valueType._zod.run({ value: item, issues: [] }, ctx);
3170
+ if (result instanceof Promise) {
3171
+ proms.push(result.then((result) => handleSetResult(result, payload)));
3172
+ } else handleSetResult(result, payload);
3173
+ }
3174
+
3175
+ if (proms.length) return Promise.all(proms).then(() => payload);
3176
+ return payload;
3177
+ };
3178
+ });
3179
+
3180
+ function handleSetResult(result: ParsePayload, final: ParsePayload<Set<any>>) {
3181
+ if (result.issues.length) {
3182
+ final.issues.push(...result.issues);
3183
+ }
3184
+ final.value.add(result.value);
3185
+ }
3186
+
3187
+ ////////////////////////////////////////
3188
+ ////////////////////////////////////////
3189
+ ////////// //////////
3190
+ ////////// $ZodEnum //////////
3191
+ ////////// //////////
3192
+ ////////////////////////////////////////
3193
+ ////////////////////////////////////////
3194
+ export type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};
3195
+ export type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};
3196
+
3197
+ export interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {
3198
+ type: "enum";
3199
+ entries: T;
3200
+ }
3201
+
3202
+ export interface $ZodEnumInternals<
3203
+ /** @ts-ignore Cast variance */
3204
+ out T extends util.EnumLike = util.EnumLike,
3205
+ > extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
3206
+ // enum: T;
3207
+
3208
+ def: $ZodEnumDef<T>;
3209
+ /** @deprecated Internal API, use with caution (not deprecated) */
3210
+ values: util.PrimitiveSet;
3211
+ /** @deprecated Internal API, use with caution (not deprecated) */
3212
+ pattern: RegExp;
3213
+ isst: errors.$ZodIssueInvalidValue;
3214
+ }
3215
+
3216
+ export interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {
3217
+ _zod: $ZodEnumInternals<T>;
3218
+ }
3219
+
3220
+ export const $ZodEnum: core.$constructor<$ZodEnum> = /*@__PURE__*/ core.$constructor("$ZodEnum", (inst, def) => {
3221
+ $ZodType.init(inst, def);
3222
+
3223
+ const values = util.getEnumValues(def.entries);
3224
+ const valuesSet = new Set<util.Primitive>(values);
3225
+ inst._zod.values = valuesSet;
3226
+
3227
+ inst._zod.pattern = new RegExp(
3228
+ `^(${values
3229
+ .filter((k) => util.propertyKeyTypes.has(typeof k))
3230
+ .map((o) => (typeof o === "string" ? util.escapeRegex(o) : o.toString()))
3231
+ .join("|")})$`
3232
+ );
3233
+
3234
+ inst._zod.parse = (payload, _ctx) => {
3235
+ const input = payload.value;
3236
+ if (valuesSet.has(input)) {
3237
+ return payload;
3238
+ }
3239
+ payload.issues.push({
3240
+ code: "invalid_value",
3241
+
3242
+ values,
3243
+ input,
3244
+ inst,
3245
+ });
3246
+ return payload;
3247
+ };
3248
+ });
3249
+
3250
+ ////////////////////////////////////////
3251
+ ////////////////////////////////////////
3252
+ ////////// //////////
3253
+ ////////// $ZodLiteral //////////
3254
+ ////////// //////////
3255
+ ////////////////////////////////////////
3256
+ ////////////////////////////////////////
3257
+
3258
+ export interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {
3259
+ type: "literal";
3260
+ values: T[];
3261
+ }
3262
+
3263
+ export interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
3264
+ def: $ZodLiteralDef<T>;
3265
+ values: Set<T>;
3266
+ pattern: RegExp;
3267
+ isst: errors.$ZodIssueInvalidValue;
3268
+ }
3269
+
3270
+ export interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {
3271
+ _zod: $ZodLiteralInternals<T>;
3272
+ }
3273
+
3274
+ export const $ZodLiteral: core.$constructor<$ZodLiteral> = /*@__PURE__*/ core.$constructor(
3275
+ "$ZodLiteral",
3276
+ (inst, def) => {
3277
+ $ZodType.init(inst, def);
3278
+ if (def.values.length === 0) {
3279
+ throw new Error("Cannot create literal schema with no valid values");
3280
+ }
3281
+
3282
+ const values = new Set<util.Literal>(def.values);
3283
+ inst._zod.values = values;
3284
+ inst._zod.pattern = new RegExp(
3285
+ `^(${def.values
3286
+
3287
+ .map((o) => (typeof o === "string" ? util.escapeRegex(o) : o ? util.escapeRegex(o.toString()) : String(o)))
3288
+ .join("|")})$`
3289
+ );
3290
+
3291
+ inst._zod.parse = (payload, _ctx) => {
3292
+ const input = payload.value;
3293
+ if (values.has(input)) {
3294
+ return payload;
3295
+ }
3296
+ payload.issues.push({
3297
+ code: "invalid_value",
3298
+
3299
+ values: def.values,
3300
+ input,
3301
+ inst,
3302
+ });
3303
+ return payload;
3304
+ };
3305
+ }
3306
+ );
3307
+
3308
+ ////////////////////////////////////////
3309
+ ////////////////////////////////////////
3310
+ ////////// //////////
3311
+ ////////// $ZodConst //////////
3312
+ ////////// //////////
3313
+ ////////////////////////////////////////
3314
+ ////////////////////////////////////////
3315
+
3316
+ // export interface $ZodConstDef extends $ZodTypeDef {
3317
+ // type: "const";
3318
+ // value: unknown;
3319
+ // }
3320
+
3321
+ // export _interface $ZodConstInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
3322
+ // _def: $ZodConstDef;
3323
+ // _values: util.PrimitiveSet;
3324
+ // _pattern: RegExp;
3325
+ // _isst: errors.$ZodIssueInvalidValue;
3326
+ // }
3327
+
3328
+ // export const $ZodConst: core.$constructor<{_zod: $ZodConstInternals}> = /*@__PURE__*/ core.$constructor("$ZodConst", (inst, def) => {
3329
+ // $ZodType.init(inst, def);
3330
+
3331
+ // if (util.primitiveTypes.has(typeof def.value) || def.value === null) {
3332
+ // inst._zod.values = new Set<util.Primitive>(def.value as any);
3333
+ // }
3334
+
3335
+ // if (util.propertyKeyTypes.has(typeof def.value)) {
3336
+ // inst._zod.pattern = new RegExp(
3337
+ // `^(${typeof def.value === "string" ? util.escapeRegex(def.value) : (def.value as any).toString()})$`
3338
+ // );
3339
+ // } else {
3340
+ // throw new Error("Const value cannot be converted to regex");
3341
+ // }
3342
+
3343
+ // inst._zod.parse = (payload, _ctx) => {
3344
+ // payload.value = def.value; // always override
3345
+ // return payload;
3346
+ // };
3347
+ // });
3348
+
3349
+ //////////////////////////////////////////
3350
+ //////////////////////////////////////////
3351
+ ////////// //////////
3352
+ ////////// $ZodFile //////////
3353
+ ////////// //////////
3354
+ //////////////////////////////////////////
3355
+ //////////////////////////////////////////
3356
+
3357
+ // provide a fallback in case the File interface isn't provided in the environment
3358
+ type _File = typeof globalThis extends { File: infer F extends new (...args: any[]) => any } ? InstanceType<F> : {};
3359
+ /** Do not reference this directly. */
3360
+ export interface File extends _File {
3361
+ readonly type: string;
3362
+ readonly size: number;
3363
+ }
3364
+
3365
+ export interface $ZodFileDef extends $ZodTypeDef {
3366
+ type: "file";
3367
+ }
3368
+
3369
+ export interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
3370
+ def: $ZodFileDef;
3371
+ isst: errors.$ZodIssueInvalidType;
3372
+ bag: util.LoosePartial<{
3373
+ minimum: number;
3374
+ maximum: number;
3375
+ mime: util.MimeTypes[];
3376
+ }>;
3377
+ }
3378
+
3379
+ export interface $ZodFile extends $ZodType {
3380
+ _zod: $ZodFileInternals;
3381
+ }
3382
+
3383
+ export const $ZodFile: core.$constructor<$ZodFile> = /*@__PURE__*/ core.$constructor("$ZodFile", (inst, def) => {
3384
+ $ZodType.init(inst, def);
3385
+
3386
+ inst._zod.parse = (payload, _ctx) => {
3387
+ const input = payload.value;
3388
+ // @ts-ignore
3389
+ if (input instanceof File) return payload;
3390
+ payload.issues.push({
3391
+ expected: "file",
3392
+ code: "invalid_type",
3393
+
3394
+ input,
3395
+ inst,
3396
+ });
3397
+ return payload;
3398
+ };
3399
+ });
3400
+
3401
+ //////////////////////////////////////////////
3402
+ //////////////////////////////////////////////
3403
+ ////////// //////////
3404
+ ////////// $ZodTransform //////////
3405
+ ////////// //////////
3406
+ //////////////////////////////////////////////
3407
+ //////////////////////////////////////////////
3408
+ export interface $ZodTransformDef extends $ZodTypeDef {
3409
+ type: "transform";
3410
+ transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;
3411
+ }
3412
+ export interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
3413
+ def: $ZodTransformDef;
3414
+ isst: never;
3415
+ }
3416
+
3417
+ export interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
3418
+ _zod: $ZodTransformInternals<O, I>;
3419
+ }
3420
+
3421
+ export const $ZodTransform: core.$constructor<$ZodTransform> = /*@__PURE__*/ core.$constructor(
3422
+ "$ZodTransform",
3423
+ (inst, def) => {
3424
+ $ZodType.init(inst, def);
3425
+ inst._zod.optin = "optional";
3426
+ inst._zod.parse = (payload, ctx) => {
3427
+ if (ctx.direction === "backward") {
3428
+ throw new core.$ZodEncodeError(inst.constructor.name);
3429
+ }
3430
+
3431
+ const _out = def.transform(payload.value, payload);
3432
+ if (ctx.async) {
3433
+ const output = _out instanceof Promise ? _out : Promise.resolve(_out);
3434
+ return output.then((output) => {
3435
+ payload.value = output;
3436
+ payload.fallback = true;
3437
+ return payload;
3438
+ });
3439
+ }
3440
+
3441
+ if (_out instanceof Promise) {
3442
+ throw new core.$ZodAsyncError();
3443
+ }
3444
+
3445
+ payload.value = _out;
3446
+ payload.fallback = true;
3447
+ return payload;
3448
+ };
3449
+ }
3450
+ );
3451
+
3452
+ ////////////////////////////////////////////
3453
+ ////////////////////////////////////////////
3454
+ ////////// //////////
3455
+ ////////// $ZodOptional //////////
3456
+ ////////// //////////
3457
+ ////////////////////////////////////////////
3458
+ ////////////////////////////////////////////
3459
+ export interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3460
+ type: "optional";
3461
+ innerType: T;
3462
+ }
3463
+
3464
+ export interface $ZodOptionalInternals<T extends SomeType = $ZodType>
3465
+ extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {
3466
+ def: $ZodOptionalDef<T>;
3467
+ optin: "optional";
3468
+ optout: "optional";
3469
+ isst: never;
3470
+ values: T["_zod"]["values"];
3471
+ pattern: T["_zod"]["pattern"];
3472
+ }
3473
+
3474
+ export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
3475
+ _zod: $ZodOptionalInternals<T>;
3476
+ }
3477
+
3478
+ function handleOptionalResult(result: ParsePayload, input: unknown) {
3479
+ if (input === undefined && (result.issues.length || result.fallback)) {
3480
+ return { issues: [], value: undefined };
3481
+ }
3482
+ return result;
3483
+ }
3484
+
3485
+ export const $ZodOptional: core.$constructor<$ZodOptional> = /*@__PURE__*/ core.$constructor(
3486
+ "$ZodOptional",
3487
+ (inst, def) => {
3488
+ $ZodType.init(inst, def);
3489
+ inst._zod.optin = "optional";
3490
+ inst._zod.optout = "optional";
3491
+
3492
+ util.defineLazy(inst._zod, "values", () => {
3493
+ return def.innerType._zod.values ? new Set([...def.innerType._zod.values, undefined]) : undefined;
3494
+ });
3495
+ util.defineLazy(inst._zod, "pattern", () => {
3496
+ const pattern = def.innerType._zod.pattern;
3497
+ return pattern ? new RegExp(`^(${util.cleanRegex(pattern.source)})?$`) : undefined;
3498
+ });
3499
+
3500
+ inst._zod.parse = (payload, ctx) => {
3501
+ if (def.innerType._zod.optin === "optional") {
3502
+ const input = payload.value;
3503
+ const result = def.innerType._zod.run(payload, ctx);
3504
+ if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
3505
+ return handleOptionalResult(result, input);
3506
+ }
3507
+ if (payload.value === undefined) {
3508
+ return payload;
3509
+ }
3510
+ return def.innerType._zod.run(payload, ctx);
3511
+ };
3512
+ }
3513
+ );
3514
+
3515
+ ////////////////////////////////////////////////
3516
+ ////////////////////////////////////////////////
3517
+ ////////// //////////
3518
+ ////////// $ZodExactOptional //////////
3519
+ ////////// //////////
3520
+ ////////////////////////////////////////////////
3521
+ ////////////////////////////////////////////////
3522
+
3523
+ // Def extends $ZodOptionalDef (no additional fields needed)
3524
+ export interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
3525
+
3526
+ // Internals extends $ZodOptionalInternals but narrows output/input types (removes | undefined)
3527
+ export interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
3528
+ def: $ZodExactOptionalDef<T>;
3529
+ output: core.output<T>; // NO | undefined (narrowed from parent)
3530
+ input: core.input<T>; // NO | undefined (narrowed from parent)
3531
+ }
3532
+
3533
+ export interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
3534
+ _zod: $ZodExactOptionalInternals<T>;
3535
+ }
3536
+
3537
+ export const $ZodExactOptional: core.$constructor<$ZodExactOptional> = /*@__PURE__*/ core.$constructor(
3538
+ "$ZodExactOptional",
3539
+ (inst, def) => {
3540
+ // Call parent init - inherits optin/optout = "optional"
3541
+ $ZodOptional.init(inst, def);
3542
+
3543
+ // Override values/pattern to NOT add undefined
3544
+ util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3545
+ util.defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
3546
+
3547
+ // Override parse to just delegate (no undefined handling)
3548
+ inst._zod.parse = (payload, ctx) => {
3549
+ return def.innerType._zod.run(payload, ctx);
3550
+ };
3551
+ }
3552
+ );
3553
+
3554
+ ////////////////////////////////////////////
3555
+ ////////////////////////////////////////////
3556
+ ////////// //////////
3557
+ ////////// $ZodNullable //////////
3558
+ ////////// //////////
3559
+ ////////////////////////////////////////////
3560
+ ////////////////////////////////////////////
3561
+ export interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3562
+ type: "nullable";
3563
+ innerType: T;
3564
+ }
3565
+
3566
+ export interface $ZodNullableInternals<T extends SomeType = $ZodType>
3567
+ extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {
3568
+ def: $ZodNullableDef<T>;
3569
+ optin: T["_zod"]["optin"];
3570
+ optout: T["_zod"]["optout"];
3571
+ isst: never;
3572
+ values: T["_zod"]["values"];
3573
+ pattern: T["_zod"]["pattern"];
3574
+ }
3575
+
3576
+ export interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
3577
+ _zod: $ZodNullableInternals<T>;
3578
+ }
3579
+
3580
+ export const $ZodNullable: core.$constructor<$ZodNullable> = /*@__PURE__*/ core.$constructor(
3581
+ "$ZodNullable",
3582
+ (inst, def) => {
3583
+ $ZodType.init(inst, def);
3584
+ util.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
3585
+ util.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3586
+
3587
+ util.defineLazy(inst._zod, "pattern", () => {
3588
+ const pattern = def.innerType._zod.pattern;
3589
+ return pattern ? new RegExp(`^(${util.cleanRegex(pattern.source)}|null)$`) : undefined;
3590
+ });
3591
+
3592
+ util.defineLazy(inst._zod, "values", () => {
3593
+ return def.innerType._zod.values ? new Set([...def.innerType._zod.values, null]) : undefined;
3594
+ });
3595
+
3596
+ inst._zod.parse = (payload, ctx) => {
3597
+ // Forward direction (decode): allow null to pass through
3598
+ if (payload.value === null) return payload;
3599
+ return def.innerType._zod.run(payload, ctx);
3600
+ };
3601
+ }
3602
+ );
3603
+ // );
3604
+
3605
+ ////////////////////////////////////////////
3606
+ ////////////////////////////////////////////
3607
+ ////////// //////////
3608
+ ////////// $ZodDefault //////////
3609
+ ////////// //////////
3610
+ ////////////////////////////////////////////
3611
+ ////////////////////////////////////////////
3612
+ export interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3613
+ type: "default";
3614
+ innerType: T;
3615
+ /** The default value. May be a getter. */
3616
+ defaultValue: util.NoUndefined<core.output<T>>;
3617
+ }
3618
+
3619
+ export interface $ZodDefaultInternals<T extends SomeType = $ZodType>
3620
+ extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
3621
+ def: $ZodDefaultDef<T>;
3622
+ optin: "optional";
3623
+ optout?: "optional" | undefined; // required
3624
+ isst: never;
3625
+ values: T["_zod"]["values"];
3626
+ }
3627
+
3628
+ export interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
3629
+ _zod: $ZodDefaultInternals<T>;
3630
+ }
3631
+
3632
+ export const $ZodDefault: core.$constructor<$ZodDefault> = /*@__PURE__*/ core.$constructor(
3633
+ "$ZodDefault",
3634
+ (inst, def) => {
3635
+ $ZodType.init(inst, def);
3636
+
3637
+ // inst._zod.qin = "true";
3638
+ inst._zod.optin = "optional";
3639
+ util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3640
+
3641
+ inst._zod.parse = (payload, ctx) => {
3642
+ if (ctx.direction === "backward") {
3643
+ return def.innerType._zod.run(payload, ctx);
3644
+ }
3645
+
3646
+ // Forward direction (decode): apply defaults for undefined input
3647
+ if (payload.value === undefined) {
3648
+ payload.value = def.defaultValue;
3649
+ /**
3650
+ * $ZodDefault returns the default value immediately in forward direction.
3651
+ * It doesn't pass the default value into the validator ("prefault"). There's no reason to pass the default value through validation. The validity of the default is enforced by TypeScript statically. Otherwise, it's the responsibility of the user to ensure the default is valid. In the case of pipes with divergent in/out types, you can specify the default on the `in` schema of your ZodPipe to set a "prefault" for the pipe. */
3652
+ return payload;
3653
+ }
3654
+ // Forward direction: continue with default handling
3655
+ const result = def.innerType._zod.run(payload, ctx);
3656
+ if (result instanceof Promise) {
3657
+ return result.then((result) => handleDefaultResult(result, def));
3658
+ }
3659
+ return handleDefaultResult(result, def);
3660
+ };
3661
+ }
3662
+ );
3663
+
3664
+ function handleDefaultResult(payload: ParsePayload, def: $ZodDefaultDef) {
3665
+ if (payload.value === undefined) {
3666
+ payload.value = def.defaultValue;
3667
+ }
3668
+ return payload;
3669
+ }
3670
+
3671
+ ////////////////////////////////////////////
3672
+ ////////////////////////////////////////////
3673
+ ////////// //////////
3674
+ ////////// $ZodPrefault //////////
3675
+ ////////// //////////
3676
+ ////////////////////////////////////////////
3677
+ ////////////////////////////////////////////
3678
+
3679
+ export interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3680
+ type: "prefault";
3681
+ innerType: T;
3682
+ /** The default value. May be a getter. */
3683
+ defaultValue: core.input<T>;
3684
+ }
3685
+
3686
+ export interface $ZodPrefaultInternals<T extends SomeType = $ZodType>
3687
+ extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
3688
+ def: $ZodPrefaultDef<T>;
3689
+ optin: "optional";
3690
+ optout?: "optional" | undefined;
3691
+ isst: never;
3692
+ values: T["_zod"]["values"];
3693
+ }
3694
+
3695
+ export interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
3696
+ _zod: $ZodPrefaultInternals<T>;
3697
+ }
3698
+
3699
+ export const $ZodPrefault: core.$constructor<$ZodPrefault> = /*@__PURE__*/ core.$constructor(
3700
+ "$ZodPrefault",
3701
+ (inst, def) => {
3702
+ $ZodType.init(inst, def);
3703
+
3704
+ inst._zod.optin = "optional";
3705
+ util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3706
+
3707
+ inst._zod.parse = (payload, ctx) => {
3708
+ if (ctx.direction === "backward") {
3709
+ return def.innerType._zod.run(payload, ctx);
3710
+ }
3711
+
3712
+ // Forward direction (decode): apply prefault for undefined input
3713
+ if (payload.value === undefined) {
3714
+ payload.value = def.defaultValue;
3715
+ }
3716
+ return def.innerType._zod.run(payload, ctx);
3717
+ };
3718
+ }
3719
+ );
3720
+
3721
+ ///////////////////////////////////////////////
3722
+ ///////////////////////////////////////////////
3723
+ ////////// //////////
3724
+ ////////// $ZodNonOptional //////////
3725
+ ////////// //////////
3726
+ ///////////////////////////////////////////////
3727
+ ///////////////////////////////////////////////
3728
+ export interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3729
+ type: "nonoptional";
3730
+ innerType: T;
3731
+ }
3732
+
3733
+ export interface $ZodNonOptionalInternals<T extends SomeType = $ZodType>
3734
+ extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {
3735
+ def: $ZodNonOptionalDef<T>;
3736
+ isst: errors.$ZodIssueInvalidType;
3737
+ values: T["_zod"]["values"];
3738
+ optin: "optional" | undefined;
3739
+ optout: "optional" | undefined;
3740
+ }
3741
+
3742
+ export interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
3743
+ _zod: $ZodNonOptionalInternals<T>;
3744
+ }
3745
+
3746
+ export const $ZodNonOptional: core.$constructor<$ZodNonOptional> = /*@__PURE__*/ core.$constructor(
3747
+ "$ZodNonOptional",
3748
+ (inst, def) => {
3749
+ $ZodType.init(inst, def);
3750
+
3751
+ util.defineLazy(inst._zod, "values", () => {
3752
+ const v = def.innerType._zod.values;
3753
+ return v ? new Set([...v].filter((x) => x !== undefined)) : undefined;
3754
+ });
3755
+
3756
+ inst._zod.parse = (payload, ctx) => {
3757
+ const result = def.innerType._zod.run(payload, ctx);
3758
+ if (result instanceof Promise) {
3759
+ return result.then((result) => handleNonOptionalResult(result, inst));
3760
+ }
3761
+ return handleNonOptionalResult(result, inst);
3762
+ };
3763
+ }
3764
+ );
3765
+
3766
+ function handleNonOptionalResult(payload: ParsePayload, inst: $ZodNonOptional) {
3767
+ if (!payload.issues.length && payload.value === undefined) {
3768
+ payload.issues.push({
3769
+ code: "invalid_type",
3770
+ expected: "nonoptional",
3771
+ input: payload.value,
3772
+ inst,
3773
+ });
3774
+ }
3775
+ return payload;
3776
+ }
3777
+
3778
+ ////////////////////////////////////////////
3779
+ ////////////////////////////////////////////
3780
+ ////////// //////////
3781
+ ////////// $ZodCoalesce //////////
3782
+ ////////// //////////
3783
+ ////////////////////////////////////////////
3784
+ ////////////////////////////////////////////
3785
+ // export interface $ZodCoalesceDef<T extends $ZodType = $ZodType> extends $ZodTypeDef {
3786
+ // type: "coalesce";
3787
+ // innerType: T;
3788
+ // defaultValue: () => NonNullable<T['_zod']["output"]>;
3789
+ // }
3790
+
3791
+ // export _interface $ZodCoalesceInternals<T extends $ZodType = $ZodType>
3792
+ // extends $ZodTypeInternals<NonNullable<T['_zod']["output"]>, T['_zod']["input"] | undefined | null> {
3793
+ // _def: $ZodCoalesceDef<T>;
3794
+ // _isst: errors.$ZodIssueInvalidType;
3795
+ // _qin: "true";
3796
+ // }
3797
+
3798
+ // function handleCoalesceResult(payload: ParsePayload, def: $ZodCoalesceDef) {
3799
+ // payload.value ??= def.defaultValue();
3800
+ // return payload;
3801
+ // }
3802
+
3803
+ // export const $ZodCoalesce: core.$constructor<{_zod: $ZodCoalesceInternals}> = /*@__PURE__*/ core.$constructor(
3804
+ // "$ZodCoalesce",
3805
+ // (inst, def) => {
3806
+ // $ZodType.init(inst, def);
3807
+ // inst._zod.qin = "true";
3808
+ // inst._zod.parse = (payload, ctx) => {
3809
+ // const result = def.innerType._zod.run(payload, ctx);
3810
+ // if (result instanceof Promise) {
3811
+ // return result.then((result) => handleCoalesceResult(result, def));
3812
+ // }
3813
+ // return handleCoalesceResult(result, def);
3814
+ // };
3815
+ // }
3816
+ // );
3817
+
3818
+ /////////////////////////////////////////////
3819
+ /////////////////////////////////////////////
3820
+ ////////// //////////
3821
+ ////////// $ZodSuccess //////////
3822
+ ////////// //////////
3823
+ /////////////////////////////////////////////
3824
+ /////////////////////////////////////////////
3825
+ export interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3826
+ type: "success";
3827
+ innerType: T;
3828
+ }
3829
+
3830
+ export interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {
3831
+ def: $ZodSuccessDef<T>;
3832
+ isst: never;
3833
+ optin: T["_zod"]["optin"];
3834
+ optout: "optional" | undefined;
3835
+ }
3836
+
3837
+ export interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
3838
+ _zod: $ZodSuccessInternals<T>;
3839
+ }
3840
+
3841
+ export const $ZodSuccess: core.$constructor<$ZodSuccess> = /*@__PURE__*/ core.$constructor(
3842
+ "$ZodSuccess",
3843
+ (inst, def) => {
3844
+ $ZodType.init(inst, def);
3845
+
3846
+ inst._zod.parse = (payload, ctx) => {
3847
+ if (ctx.direction === "backward") {
3848
+ throw new core.$ZodEncodeError("ZodSuccess");
3849
+ }
3850
+
3851
+ const result = def.innerType._zod.run(payload, ctx);
3852
+ if (result instanceof Promise) {
3853
+ return result.then((result) => {
3854
+ payload.value = result.issues.length === 0;
3855
+ return payload;
3856
+ });
3857
+ }
3858
+ payload.value = result.issues.length === 0;
3859
+ return payload;
3860
+ };
3861
+ }
3862
+ );
3863
+
3864
+ ////////////////////////////////////////////
3865
+ ////////////////////////////////////////////
3866
+ ////////// //////////
3867
+ ////////// $ZodCatch //////////
3868
+ ////////// //////////
3869
+ ////////////////////////////////////////////
3870
+ ////////////////////////////////////////////
3871
+ export interface $ZodCatchCtx extends ParsePayload {
3872
+ /** @deprecated Use `ctx.issues` */
3873
+ error: { issues: errors.$ZodIssue[] };
3874
+ /** @deprecated Use `ctx.value` */
3875
+ input: unknown;
3876
+ }
3877
+ export interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3878
+ type: "catch";
3879
+ innerType: T;
3880
+ catchValue: (ctx: $ZodCatchCtx) => unknown;
3881
+ }
3882
+
3883
+ export interface $ZodCatchInternals<T extends SomeType = $ZodType>
3884
+ extends $ZodTypeInternals<core.output<T>, core.input<T>> {
3885
+ def: $ZodCatchDef<T>;
3886
+ optin: T["_zod"]["optin"];
3887
+ optout: T["_zod"]["optout"];
3888
+ isst: never;
3889
+ values: T["_zod"]["values"];
3890
+ }
3891
+
3892
+ export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
3893
+ _zod: $ZodCatchInternals<T>;
3894
+ }
3895
+
3896
+ export const $ZodCatch: core.$constructor<$ZodCatch> = /*@__PURE__*/ core.$constructor("$ZodCatch", (inst, def) => {
3897
+ $ZodType.init(inst, def);
3898
+ inst._zod.optin = "optional";
3899
+ util.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3900
+ util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3901
+
3902
+ inst._zod.parse = (payload, ctx) => {
3903
+ if (ctx.direction === "backward") {
3904
+ return def.innerType._zod.run(payload, ctx);
3905
+ }
3906
+
3907
+ // Forward direction (decode): apply catch logic
3908
+ const result = def.innerType._zod.run(payload, ctx);
3909
+ if (result instanceof Promise) {
3910
+ return result.then((result) => {
3911
+ payload.value = result.value;
3912
+ if (result.issues.length) {
3913
+ payload.value = def.catchValue({
3914
+ ...payload,
3915
+ error: {
3916
+ issues: result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3917
+ },
3918
+ input: payload.value,
3919
+ });
3920
+ payload.issues = [];
3921
+ payload.fallback = true;
3922
+ }
3923
+
3924
+ return payload;
3925
+ });
3926
+ }
3927
+
3928
+ payload.value = result.value;
3929
+ if (result.issues.length) {
3930
+ payload.value = def.catchValue({
3931
+ ...payload,
3932
+ error: {
3933
+ issues: result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3934
+ },
3935
+ input: payload.value,
3936
+ });
3937
+
3938
+ payload.issues = [];
3939
+ payload.fallback = true;
3940
+ }
3941
+
3942
+ return payload;
3943
+ };
3944
+ });
3945
+
3946
+ ////////////////////////////////////////////
3947
+ ////////////////////////////////////////////
3948
+ ////////// //////////
3949
+ ////////// $ZodNaN //////////
3950
+ ////////// //////////
3951
+ ////////////////////////////////////////////
3952
+ ////////////////////////////////////////////
3953
+ export interface $ZodNaNDef extends $ZodTypeDef {
3954
+ type: "nan";
3955
+ }
3956
+
3957
+ export interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
3958
+ def: $ZodNaNDef;
3959
+ isst: errors.$ZodIssueInvalidType;
3960
+ }
3961
+
3962
+ export interface $ZodNaN extends $ZodType {
3963
+ _zod: $ZodNaNInternals;
3964
+ }
3965
+
3966
+ export const $ZodNaN: core.$constructor<$ZodNaN> = /*@__PURE__*/ core.$constructor("$ZodNaN", (inst, def) => {
3967
+ $ZodType.init(inst, def);
3968
+
3969
+ inst._zod.parse = (payload, _ctx) => {
3970
+ if (typeof payload.value !== "number" || !Number.isNaN(payload.value)) {
3971
+ payload.issues.push({
3972
+ input: payload.value,
3973
+ inst,
3974
+ expected: "nan",
3975
+ code: "invalid_type",
3976
+ });
3977
+ return payload;
3978
+ }
3979
+ return payload;
3980
+ };
3981
+ });
3982
+
3983
+ ////////////////////////////////////////////
3984
+ ////////////////////////////////////////////
3985
+ ////////// //////////
3986
+ ////////// $ZodPipe //////////
3987
+ ////////// //////////
3988
+ ////////////////////////////////////////////
3989
+ ////////////////////////////////////////////
3990
+ export interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
3991
+ type: "pipe";
3992
+ in: A;
3993
+ out: B;
3994
+ /** Only defined inside $ZodCodec instances. */
3995
+ transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
3996
+ /** Only defined inside $ZodCodec instances. */
3997
+ reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
3998
+ }
3999
+
4000
+ export interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
4001
+ extends $ZodTypeInternals<core.output<B>, core.input<A>> {
4002
+ def: $ZodPipeDef<A, B>;
4003
+ isst: never;
4004
+ values: A["_zod"]["values"];
4005
+ optin: A["_zod"]["optin"];
4006
+ optout: B["_zod"]["optout"];
4007
+ propValues: A["_zod"]["propValues"];
4008
+ }
4009
+
4010
+ export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
4011
+ _zod: $ZodPipeInternals<A, B>;
4012
+ }
4013
+
4014
+ export const $ZodPipe: core.$constructor<$ZodPipe> = /*@__PURE__*/ core.$constructor("$ZodPipe", (inst, def) => {
4015
+ $ZodType.init(inst, def);
4016
+ util.defineLazy(inst._zod, "values", () => def.in._zod.values);
4017
+ util.defineLazy(inst._zod, "optin", () => def.in._zod.optin);
4018
+ util.defineLazy(inst._zod, "optout", () => def.out._zod.optout);
4019
+ util.defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
4020
+
4021
+ inst._zod.parse = (payload, ctx) => {
4022
+ if (ctx.direction === "backward") {
4023
+ const right = def.out._zod.run(payload, ctx);
4024
+ if (right instanceof Promise) {
4025
+ return right.then((right) => handlePipeResult(right, def.in, ctx));
4026
+ }
4027
+ return handlePipeResult(right, def.in, ctx);
4028
+ }
4029
+
4030
+ const left = def.in._zod.run(payload, ctx);
4031
+ if (left instanceof Promise) {
4032
+ return left.then((left) => handlePipeResult(left, def.out, ctx));
4033
+ }
4034
+ return handlePipeResult(left, def.out, ctx);
4035
+ };
4036
+ });
4037
+
4038
+ function handlePipeResult(left: ParsePayload, next: $ZodType, ctx: ParseContextInternal) {
4039
+ if (left.issues.length) {
4040
+ // prevent further checks
4041
+ left.aborted = true;
4042
+ return left;
4043
+ }
4044
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
4045
+ }
4046
+
4047
+ ////////////////////////////////////////////
4048
+ ////////////////////////////////////////////
4049
+ ////////// //////////
4050
+ ////////// $ZodCodec //////////
4051
+ ////////// //////////
4052
+ ////////////////////////////////////////////
4053
+ ////////////////////////////////////////////
4054
+ export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
4055
+ transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
4056
+ reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
4057
+ }
4058
+
4059
+ export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
4060
+ extends $ZodTypeInternals<core.output<B>, core.input<A>> {
4061
+ def: $ZodCodecDef<A, B>;
4062
+ isst: never;
4063
+ values: A["_zod"]["values"];
4064
+ optin: A["_zod"]["optin"];
4065
+ optout: B["_zod"]["optout"];
4066
+ propValues: A["_zod"]["propValues"];
4067
+ }
4068
+
4069
+ export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
4070
+ _zod: $ZodCodecInternals<A, B>;
4071
+ }
4072
+
4073
+ export const $ZodCodec: core.$constructor<$ZodCodec> = /*@__PURE__*/ core.$constructor("$ZodCodec", (inst, def) => {
4074
+ $ZodType.init(inst, def);
4075
+ util.defineLazy(inst._zod, "values", () => def.in._zod.values);
4076
+ util.defineLazy(inst._zod, "optin", () => def.in._zod.optin);
4077
+ util.defineLazy(inst._zod, "optout", () => def.out._zod.optout);
4078
+ util.defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
4079
+
4080
+ inst._zod.parse = (payload, ctx) => {
4081
+ const direction = ctx.direction || "forward";
4082
+ if (direction === "forward") {
4083
+ const left = def.in._zod.run(payload, ctx);
4084
+ if (left instanceof Promise) {
4085
+ return left.then((left) => handleCodecAResult(left, def, ctx));
4086
+ }
4087
+ return handleCodecAResult(left, def, ctx);
4088
+ } else {
4089
+ const right = def.out._zod.run(payload, ctx);
4090
+ if (right instanceof Promise) {
4091
+ return right.then((right) => handleCodecAResult(right, def, ctx));
4092
+ }
4093
+ return handleCodecAResult(right, def, ctx);
4094
+ }
4095
+ };
4096
+ });
4097
+
4098
+ function handleCodecAResult(result: ParsePayload, def: $ZodCodecDef, ctx: ParseContextInternal) {
4099
+ if (result.issues.length) {
4100
+ // prevent further checks
4101
+ result.aborted = true;
4102
+ return result;
4103
+ }
4104
+
4105
+ const direction = ctx.direction || "forward";
4106
+
4107
+ if (direction === "forward") {
4108
+ const transformed = def.transform(result.value, result);
4109
+ if (transformed instanceof Promise) {
4110
+ return transformed.then((value) => handleCodecTxResult(result, value, def.out, ctx));
4111
+ }
4112
+ return handleCodecTxResult(result, transformed, def.out, ctx);
4113
+ } else {
4114
+ const transformed = def.reverseTransform(result.value, result);
4115
+ if (transformed instanceof Promise) {
4116
+ return transformed.then((value) => handleCodecTxResult(result, value, def.in, ctx));
4117
+ }
4118
+ return handleCodecTxResult(result, transformed, def.in, ctx);
4119
+ }
4120
+ }
4121
+
4122
+ function handleCodecTxResult(left: ParsePayload, value: any, nextSchema: SomeType, ctx: ParseContextInternal) {
4123
+ // Check if transform added any issues
4124
+ if (left.issues.length) {
4125
+ left.aborted = true;
4126
+ return left;
4127
+ }
4128
+
4129
+ return nextSchema._zod.run({ value, issues: left.issues }, ctx);
4130
+ }
4131
+
4132
+ /////////////////////////////////////////////////
4133
+ /////////////////////////////////////////////////
4134
+ ////////// //////////
4135
+ ////////// $ZodPreprocess //////////
4136
+ ////////// //////////
4137
+ /////////////////////////////////////////////////
4138
+ /////////////////////////////////////////////////
4139
+ export interface $ZodPreprocessDef<B extends SomeType = $ZodType> extends $ZodPipeDef<$ZodTransform, B> {
4140
+ in: $ZodTransform;
4141
+ out: B;
4142
+ }
4143
+
4144
+ export interface $ZodPreprocessInternals<B extends SomeType = $ZodType> extends $ZodPipeInternals<$ZodTransform, B> {
4145
+ def: $ZodPreprocessDef<B>;
4146
+ optin: B["_zod"]["optin"];
4147
+ optout: B["_zod"]["optout"];
4148
+ }
4149
+
4150
+ export interface $ZodPreprocess<B extends SomeType = $ZodType> extends $ZodPipe<$ZodTransform, B> {
4151
+ _zod: $ZodPreprocessInternals<B>;
4152
+ }
4153
+
4154
+ export const $ZodPreprocess: core.$constructor<$ZodPreprocess> = /*@__PURE__*/ core.$constructor(
4155
+ "$ZodPreprocess",
4156
+ (inst, def) => {
4157
+ $ZodPipe.init(inst, def);
4158
+ }
4159
+ );
4160
+
4161
+ ////////////////////////////////////////////
4162
+ ////////////////////////////////////////////
4163
+ ////////// //////////
4164
+ ////////// $ZodReadonly //////////
4165
+ ////////// //////////
4166
+ ////////////////////////////////////////////
4167
+ ////////////////////////////////////////////
4168
+
4169
+ export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4170
+ type: "readonly";
4171
+ innerType: T;
4172
+ }
4173
+
4174
+ export interface $ZodReadonlyInternals<T extends SomeType = $ZodType>
4175
+ extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {
4176
+ def: $ZodReadonlyDef<T>;
4177
+ optin: T["_zod"]["optin"];
4178
+ optout: T["_zod"]["optout"];
4179
+ isst: never;
4180
+ propValues: T["_zod"]["propValues"];
4181
+ values: T["_zod"]["values"];
4182
+ }
4183
+
4184
+ export interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
4185
+ _zod: $ZodReadonlyInternals<T>;
4186
+ }
4187
+
4188
+ export const $ZodReadonly: core.$constructor<$ZodReadonly> = /*@__PURE__*/ core.$constructor(
4189
+ "$ZodReadonly",
4190
+ (inst, def) => {
4191
+ $ZodType.init(inst, def);
4192
+ util.defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
4193
+ util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
4194
+ util.defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
4195
+ util.defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
4196
+
4197
+ inst._zod.parse = (payload, ctx) => {
4198
+ if (ctx.direction === "backward") {
4199
+ return def.innerType._zod.run(payload, ctx);
4200
+ }
4201
+ const result = def.innerType._zod.run(payload, ctx);
4202
+ if (result instanceof Promise) {
4203
+ return result.then(handleReadonlyResult);
4204
+ }
4205
+ return handleReadonlyResult(result);
4206
+ };
4207
+ }
4208
+ );
4209
+
4210
+ function handleReadonlyResult(payload: ParsePayload): ParsePayload {
4211
+ payload.value = Object.freeze(payload.value);
4212
+ return payload;
4213
+ }
4214
+
4215
+ /////////////////////////////////////////////
4216
+ /////////////////////////////////////////////
4217
+ ////////// //////////
4218
+ ////////// $ZodTemplateLiteral //////////
4219
+ ////////// //////////
4220
+ /////////////////////////////////////////////
4221
+ /////////////////////////////////////////////
4222
+
4223
+ export interface $ZodTemplateLiteralDef extends $ZodTypeDef {
4224
+ type: "template_literal";
4225
+ parts: $ZodTemplateLiteralPart[];
4226
+ format?: string | undefined;
4227
+ }
4228
+ export interface $ZodTemplateLiteralInternals<Template extends string = string>
4229
+ extends $ZodTypeInternals<Template, Template> {
4230
+ pattern: RegExp;
4231
+ def: $ZodTemplateLiteralDef;
4232
+ isst: errors.$ZodIssueInvalidType;
4233
+ }
4234
+
4235
+ export interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
4236
+ _zod: $ZodTemplateLiteralInternals<Template>;
4237
+ }
4238
+
4239
+ type LiteralPart = Exclude<util.Literal, symbol>; //string | number | boolean | null | undefined;
4240
+ interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
4241
+ pattern: RegExp;
4242
+ }
4243
+ interface SchemaPart extends $ZodType {
4244
+ _zod: SchemaPartInternals;
4245
+ }
4246
+ export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
4247
+
4248
+ type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
4249
+ type AppendToTemplateLiteral<
4250
+ Template extends string,
4251
+ Suffix extends LiteralPart | $ZodType,
4252
+ > = Suffix extends LiteralPart
4253
+ ? `${Template}${UndefinedToEmptyString<Suffix>}`
4254
+ : Suffix extends $ZodType
4255
+ ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}`
4256
+ : never;
4257
+
4258
+ export type ConcatenateTupleOfStrings<T extends string[]> = T extends [
4259
+ infer First extends string,
4260
+ ...infer Rest extends string[],
4261
+ ]
4262
+ ? Rest extends string[]
4263
+ ? First extends ""
4264
+ ? ConcatenateTupleOfStrings<Rest>
4265
+ : `${First}${ConcatenateTupleOfStrings<Rest>}`
4266
+ : never
4267
+ : "";
4268
+ export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {
4269
+ [K in keyof Parts]: Parts[K] extends LiteralPart
4270
+ ? `${UndefinedToEmptyString<Parts[K]>}`
4271
+ : Parts[K] extends $ZodType
4272
+ ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}`
4273
+ : never;
4274
+ };
4275
+
4276
+ export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<
4277
+ ConvertPartsToStringTuple<Parts>
4278
+ >;
4279
+ // type lkjasd = ConcatenateTupleOfStrings<["Hello", " ", "World", "!"]>; // "Hello World!"
4280
+ export type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts
4281
+ ? ``
4282
+ : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart]
4283
+ ? Rest extends $ZodTemplateLiteralPart[]
4284
+ ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last>
4285
+ : never
4286
+ : never;
4287
+
4288
+ export const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral> = /*@__PURE__*/ core.$constructor(
4289
+ "$ZodTemplateLiteral",
4290
+ (inst, def) => {
4291
+ $ZodType.init(inst, def);
4292
+ const regexParts: string[] = [];
4293
+ for (const part of def.parts) {
4294
+ if (typeof part === "object" && part !== null) {
4295
+ // is Zod schema
4296
+ if (!part._zod.pattern) {
4297
+ // if (!source)
4298
+ throw new Error(`Invalid template literal part, no pattern found: ${[...(part as any)._zod.traits].shift()}`);
4299
+ }
4300
+
4301
+ const source = part._zod.pattern instanceof RegExp ? part._zod.pattern.source : part._zod.pattern;
4302
+
4303
+ if (!source) throw new Error(`Invalid template literal part: ${part._zod.traits}`);
4304
+
4305
+ const start = source.startsWith("^") ? 1 : 0;
4306
+ const end = source.endsWith("$") ? source.length - 1 : source.length;
4307
+ regexParts.push(source.slice(start, end));
4308
+ } else if (part === null || util.primitiveTypes.has(typeof part)) {
4309
+ regexParts.push(util.escapeRegex(`${part}`));
4310
+ } else {
4311
+ throw new Error(`Invalid template literal part: ${part}`);
4312
+ }
4313
+ }
4314
+ inst._zod.pattern = new RegExp(`^${regexParts.join("")}$`);
4315
+
4316
+ inst._zod.parse = (payload, _ctx) => {
4317
+ if (typeof payload.value !== "string") {
4318
+ payload.issues.push({
4319
+ input: payload.value,
4320
+ inst,
4321
+ expected: "string",
4322
+ code: "invalid_type",
4323
+ });
4324
+ return payload;
4325
+ }
4326
+
4327
+ inst._zod.pattern.lastIndex = 0;
4328
+
4329
+ if (!inst._zod.pattern.test(payload.value)) {
4330
+ payload.issues.push({
4331
+ input: payload.value,
4332
+ inst,
4333
+
4334
+ code: "invalid_format",
4335
+ format: def.format ?? "template_literal",
4336
+ pattern: inst._zod.pattern.source,
4337
+ });
4338
+ return payload;
4339
+ }
4340
+
4341
+ return payload;
4342
+ };
4343
+ }
4344
+ );
4345
+
4346
+ //////////////////////////////////////////
4347
+ //////////////////////////////////////////
4348
+ ////////// //////////
4349
+ ////////// $ZodFunction //////////
4350
+ ////////// //////////
4351
+ //////////////////////////////////////////
4352
+ //////////////////////////////////////////
4353
+ export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
4354
+ export type $ZodFunctionIn = $ZodFunctionArgs;
4355
+ export type $ZodFunctionOut = $ZodType;
4356
+
4357
+ export type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4358
+ ...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>
4359
+ ) => core.input<Returns>;
4360
+
4361
+ export type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4362
+ ...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>
4363
+ ) => util.MaybeAsync<core.input<Returns>>;
4364
+
4365
+ export type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4366
+ ...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>
4367
+ ) => core.output<Returns>;
4368
+
4369
+ export type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4370
+ ...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>
4371
+ ) => Promise<core.output<Returns>>;
4372
+
4373
+ export interface $ZodFunctionDef<
4374
+ In extends $ZodFunctionIn = $ZodFunctionIn,
4375
+ Out extends $ZodFunctionOut = $ZodFunctionOut,
4376
+ > extends $ZodTypeDef {
4377
+ type: "function";
4378
+ input: In;
4379
+ output: Out;
4380
+ }
4381
+
4382
+ export interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut>
4383
+ extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
4384
+ def: $ZodFunctionDef<Args, Returns>;
4385
+ isst: errors.$ZodIssueInvalidType;
4386
+ }
4387
+
4388
+ export interface $ZodFunction<
4389
+ Args extends $ZodFunctionIn = $ZodFunctionIn,
4390
+ Returns extends $ZodFunctionOut = $ZodFunctionOut,
4391
+ > extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
4392
+ /** @deprecated */
4393
+ _def: $ZodFunctionDef<Args, Returns>;
4394
+ _input: $InferInnerFunctionType<Args, Returns>;
4395
+ _output: $InferOuterFunctionType<Args, Returns>;
4396
+
4397
+ implement<F extends $InferInnerFunctionType<Args, Returns>>(
4398
+ func: F
4399
+ ): // allow for return type inference
4400
+ (
4401
+ ...args: Parameters<this["_output"]>
4402
+ ) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
4403
+
4404
+ implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(
4405
+ func: F
4406
+ ): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
4407
+
4408
+ input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(
4409
+ args: Items,
4410
+ rest?: Rest
4411
+ ): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
4412
+ input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
4413
+ input(...args: any[]): $ZodFunction<any, Returns>;
4414
+
4415
+ output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
4416
+ }
4417
+
4418
+ export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
4419
+ input?: I;
4420
+ output?: O;
4421
+ }
4422
+
4423
+ export const $ZodFunction: core.$constructor<$ZodFunction> = /*@__PURE__*/ core.$constructor(
4424
+ "$ZodFunction",
4425
+ (inst, def) => {
4426
+ $ZodType.init(inst, def);
4427
+ inst._def = def;
4428
+ inst._zod.def = def;
4429
+
4430
+ inst.implement = (func) => {
4431
+ if (typeof func !== "function") {
4432
+ throw new Error("implement() must be called with a function");
4433
+ }
4434
+ return function (this: any, ...args: never[]) {
4435
+ const parsedArgs = inst._def.input ? parse(inst._def.input, args) : args;
4436
+ const result = Reflect.apply(func, this, parsedArgs as never[]);
4437
+ if (inst._def.output) {
4438
+ return parse(inst._def.output, result);
4439
+ }
4440
+ return result as any;
4441
+ };
4442
+ };
4443
+
4444
+ inst.implementAsync = (func) => {
4445
+ if (typeof func !== "function") {
4446
+ throw new Error("implementAsync() must be called with a function");
4447
+ }
4448
+ return async function (this: any, ...args: never[]) {
4449
+ const parsedArgs = inst._def.input ? await parseAsync(inst._def.input, args) : args;
4450
+ const result = await Reflect.apply(func, this, parsedArgs as never[]);
4451
+ if (inst._def.output) {
4452
+ return await parseAsync(inst._def.output, result);
4453
+ }
4454
+ return result;
4455
+ } as any;
4456
+ };
4457
+
4458
+ inst._zod.parse = (payload, _ctx) => {
4459
+ if (typeof payload.value !== "function") {
4460
+ payload.issues.push({
4461
+ code: "invalid_type",
4462
+ expected: "function",
4463
+ input: payload.value,
4464
+ inst,
4465
+ });
4466
+ return payload;
4467
+ }
4468
+
4469
+ // Check if output is a promise type to determine if we should use async implementation
4470
+ const hasPromiseOutput = inst._def.output && inst._def.output._zod.def.type === "promise";
4471
+
4472
+ if (hasPromiseOutput) {
4473
+ payload.value = inst.implementAsync(payload.value);
4474
+ } else {
4475
+ payload.value = inst.implement(payload.value);
4476
+ }
4477
+ return payload;
4478
+ };
4479
+
4480
+ inst.input = (...args: any[]): $ZodFunction<any, any> => {
4481
+ const F: any = inst.constructor;
4482
+ if (Array.isArray(args[0])) {
4483
+ return new F({
4484
+ type: "function",
4485
+ input: new $ZodTuple({
4486
+ type: "tuple",
4487
+ items: args[0],
4488
+ rest: args[1],
4489
+ }),
4490
+ output: inst._def.output,
4491
+ });
4492
+ }
4493
+
4494
+ return new F({
4495
+ type: "function",
4496
+ input: args[0],
4497
+ output: inst._def.output,
4498
+ });
4499
+ };
4500
+
4501
+ inst.output = (output) => {
4502
+ const F: any = inst.constructor;
4503
+ return new F({
4504
+ type: "function",
4505
+ input: inst._def.input,
4506
+ output,
4507
+ });
4508
+ };
4509
+
4510
+ return inst;
4511
+ }
4512
+ );
4513
+
4514
+ /////////////////////////////////////////
4515
+ /////////////////////////////////////////
4516
+ ////////// //////////
4517
+ ////////// $ZodPromise //////////
4518
+ ////////// //////////
4519
+ /////////////////////////////////////////
4520
+ /////////////////////////////////////////
4521
+ export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4522
+ type: "promise";
4523
+ innerType: T;
4524
+ }
4525
+
4526
+ export interface $ZodPromiseInternals<T extends SomeType = $ZodType>
4527
+ extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {
4528
+ def: $ZodPromiseDef<T>;
4529
+ isst: never;
4530
+ }
4531
+
4532
+ export interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
4533
+ _zod: $ZodPromiseInternals<T>;
4534
+ }
4535
+
4536
+ export const $ZodPromise: core.$constructor<$ZodPromise> = /*@__PURE__*/ core.$constructor(
4537
+ "$ZodPromise",
4538
+ (inst, def) => {
4539
+ $ZodType.init(inst, def);
4540
+
4541
+ inst._zod.parse = (payload, ctx) => {
4542
+ return Promise.resolve(payload.value).then((inner) => def.innerType._zod.run({ value: inner, issues: [] }, ctx));
4543
+ };
4544
+ }
4545
+ );
4546
+
4547
+ //////////////////////////////////////////
4548
+ //////////////////////////////////////////
4549
+ ////////// //////////
4550
+ ////////// $ZodLazy //////////
4551
+ ////////// //////////
4552
+ //////////////////////////////////////////
4553
+ //////////////////////////////////////////
4554
+
4555
+ export interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4556
+ type: "lazy";
4557
+ getter: () => T;
4558
+ }
4559
+
4560
+ export interface $ZodLazyInternals<T extends SomeType = $ZodType>
4561
+ extends $ZodTypeInternals<core.output<T>, core.input<T>> {
4562
+ def: $ZodLazyDef<T>;
4563
+ isst: never;
4564
+ /** Auto-cached way to retrieve the inner schema */
4565
+ innerType: T;
4566
+ pattern: T["_zod"]["pattern"];
4567
+ propValues: T["_zod"]["propValues"];
4568
+ optin: T["_zod"]["optin"];
4569
+ optout: T["_zod"]["optout"];
4570
+ }
4571
+
4572
+ export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
4573
+ _zod: $ZodLazyInternals<T>;
4574
+ }
4575
+
4576
+ export const $ZodLazy: core.$constructor<$ZodLazy> = /*@__PURE__*/ core.$constructor("$ZodLazy", (inst, def) => {
4577
+ $ZodType.init(inst, def);
4578
+
4579
+ // Cache the resolved inner type on the shared `def` so all clones of this
4580
+ // lazy (e.g. via `.describe()`/`.meta()`) share the same inner instance,
4581
+ // preserving identity for cycle detection on recursive schemas.
4582
+ util.defineLazy(inst._zod, "innerType", () => {
4583
+ const d = def as $ZodLazyDef & { _cachedInner?: $ZodType };
4584
+ if (!d._cachedInner) d._cachedInner = def.getter() as $ZodType;
4585
+ return d._cachedInner;
4586
+ });
4587
+ util.defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
4588
+ util.defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
4589
+ util.defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
4590
+ util.defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? undefined);
4591
+ inst._zod.parse = (payload, ctx) => {
4592
+ const inner = inst._zod.innerType;
4593
+ return inner._zod.run(payload, ctx);
4594
+ };
4595
+ });
4596
+
4597
+ ////////////////////////////////////////
4598
+ ////////////////////////////////////////
4599
+ ////////// //////////
4600
+ ////////// $ZodCustom //////////
4601
+ ////////// //////////
4602
+ ////////////////////////////////////////
4603
+ ////////////////////////////////////////
4604
+ export interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {
4605
+ type: "custom";
4606
+ check: "custom";
4607
+ path?: PropertyKey[] | undefined;
4608
+ error?: errors.$ZodErrorMap | undefined;
4609
+ params?: Record<string, any> | undefined;
4610
+ fn: (arg: O) => unknown;
4611
+ }
4612
+
4613
+ export interface $ZodCustomInternals<O = unknown, I = unknown>
4614
+ extends $ZodTypeInternals<O, I>,
4615
+ checks.$ZodCheckInternals<O> {
4616
+ def: $ZodCustomDef;
4617
+ issc: errors.$ZodIssue;
4618
+ isst: never;
4619
+ bag: util.LoosePartial<{
4620
+ Class: typeof util.Class;
4621
+ }>;
4622
+ }
4623
+
4624
+ export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
4625
+ _zod: $ZodCustomInternals<O, I>;
4626
+ }
4627
+
4628
+ export const $ZodCustom: core.$constructor<$ZodCustom> = /*@__PURE__*/ core.$constructor("$ZodCustom", (inst, def) => {
4629
+ checks.$ZodCheck.init(inst, def);
4630
+ $ZodType.init(inst, def);
4631
+
4632
+ inst._zod.parse = (payload, _) => {
4633
+ return payload;
4634
+ };
4635
+
4636
+ inst._zod.check = (payload) => {
4637
+ const input = payload.value;
4638
+ const r = def.fn(input as any);
4639
+ if (r instanceof Promise) {
4640
+ return r.then((r) => handleRefineResult(r, payload, input, inst));
4641
+ }
4642
+ handleRefineResult(r, payload, input, inst);
4643
+ return;
4644
+ };
4645
+ });
4646
+
4647
+ function handleRefineResult(result: unknown, payload: ParsePayload, input: unknown, inst: $ZodCustom): void {
4648
+ if (!result) {
4649
+ const _iss: any = {
4650
+ code: "custom",
4651
+ input,
4652
+ inst, // incorporates params.error into issue reporting
4653
+ path: [...(inst._zod.def.path ?? [])], // incorporates params.error into issue reporting
4654
+ continue: !inst._zod.def.abort,
4655
+ // params: inst._zod.def.params,
4656
+ };
4657
+ if (inst._zod.def.params) _iss.params = inst._zod.def.params;
4658
+ payload.issues.push(util.issue(_iss));
4659
+ }
4660
+ }
4661
+
4662
+ export type $ZodTypes =
4663
+ | $ZodString
4664
+ | $ZodNumber
4665
+ | $ZodBigInt
4666
+ | $ZodBoolean
4667
+ | $ZodDate
4668
+ | $ZodSymbol
4669
+ | $ZodUndefined
4670
+ | $ZodNullable
4671
+ | $ZodNull
4672
+ | $ZodAny
4673
+ | $ZodUnknown
4674
+ | $ZodNever
4675
+ | $ZodVoid
4676
+ | $ZodArray
4677
+ | $ZodObject
4678
+ | $ZodUnion
4679
+ | $ZodIntersection
4680
+ | $ZodTuple
4681
+ | $ZodRecord
4682
+ | $ZodMap
4683
+ | $ZodSet
4684
+ | $ZodLiteral
4685
+ | $ZodEnum
4686
+ | $ZodFunction
4687
+ | $ZodPromise
4688
+ | $ZodLazy
4689
+ | $ZodOptional
4690
+ | $ZodDefault
4691
+ | $ZodPrefault
4692
+ | $ZodTemplateLiteral
4693
+ | $ZodCustom
4694
+ | $ZodTransform
4695
+ | $ZodNonOptional
4696
+ | $ZodReadonly
4697
+ | $ZodNaN
4698
+ | $ZodPipe
4699
+ | $ZodSuccess
4700
+ | $ZodCatch
4701
+ | $ZodFile;
4702
+
4703
+ export type $ZodStringFormatTypes =
4704
+ | $ZodGUID
4705
+ | $ZodUUID
4706
+ | $ZodEmail
4707
+ | $ZodURL
4708
+ | $ZodEmoji
4709
+ | $ZodNanoID
4710
+ | $ZodCUID
4711
+ | $ZodCUID2
4712
+ | $ZodULID
4713
+ | $ZodXID
4714
+ | $ZodKSUID
4715
+ | $ZodISODateTime
4716
+ | $ZodISODate
4717
+ | $ZodISOTime
4718
+ | $ZodISODuration
4719
+ | $ZodIPv4
4720
+ | $ZodIPv6
4721
+ | $ZodMAC
4722
+ | $ZodCIDRv4
4723
+ | $ZodCIDRv6
4724
+ | $ZodBase64
4725
+ | $ZodBase64URL
4726
+ | $ZodE164
4727
+ | $ZodJWT
4728
+ | $ZodCustomStringFormat<"hex">
4729
+ | $ZodCustomStringFormat<util.HashFormat>
4730
+ | $ZodCustomStringFormat<"hostname">;