@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 @@
1
+ {"version":3,"file":"call.js","names":["parse","parseSdp","write","writeSdp","logger","checkObjectHasKeys","isNullOrUndefined","recursivelyAssign","EventType","ToDeviceMessageId","secureRandomString","SDPStreamMetadataPurpose","SDPStreamMetadataKey","CallFeed","EventEmitterEvents","TypedEventEmitter","GroupCallUnknownDeviceError","MatrixError","MediaType","CodecName","CallState","CallType","CallDirection","CallParty","CallEvent","CallErrorCode","VOIP_PROTO_VERSION","FALLBACK_ICE_SERVER","CALL_TIMEOUT_MS","CALL_LENGTH_INTERVAL","ICE_DISCONNECTED_TIMEOUT","ICE_RECONNECTING_TIMEOUT","CallError","Error","constructor","code","msg","err","genCallID","Date","now","toString","getCodecParamMods","isPtt","mods","mediaType","codec","enableDtx","maxAverageBitrate","undefined","getTransceiverKey","purpose","kind","MatrixCall","opts","_this","_opts$forceTURN","this","_defineProperty","Fledgling","Map","event","candidate","candidatesEnded","warn","concat","callId","debug","sdpMid","callHasEnded","queueCandidate","_this$peerConn","peerConn","iceGatheringState","error","emit","LocalOfferFailed","terminate","Local","successor","getUserMediaFailed","NoUserMedia","placeCallFailed","IceFailed","_this$peerConn2","_this$peerConn3","_this$peerConn$iceCon","_this$peerConn4","_this$peerConn5","_this$peerConn8","iceConnectionState","connectionState","includes","clearTimeout","iceDisconnectedTimeout","iceReconnectionTimeOut","state","Connected","callLengthInterval","callStartTime","setInterval","LengthChanged","Math","round","_this$peerConn6","restartIce","_this$peerConn7","info","hangup","setTimeout","_this$peerConn9","_this$peerConn0","_this$peerConn1","Connecting","feed","getRemoteFeeds","setAudioVideoMuted","_this$peerConn10","signalingState","ev","streams","length","track","stream","pushRemoteFeed","removeTrackListeners","has","onRemoveTrack","getTracks","id","deleteFeedByStream","removeEventListener","delete","addEventListener","set","DataChannel","channel","_asyncToGenerator","CreateOffer","opponentVersion","queueGotLocalOffer","partyIdMatches","Ringing","Remote","reason","UserHangup","party_id","opponentPartyId","shouldTerminate","InviteSent","direction","Inbound","AnsweredElsewhere","roomId","invitee","client","deviceId","forceTURN","ourPartyId","opponentDeviceId","opponentSessionId","groupCallId","turnServers","isFallbackICEServerAllowed","push","urls","server","isOnlyDataChannelAllowed","isVoipWithNoMediaAllowed","placeVoiceCall","_this2","placeCall","placeVideoCall","_this3","createDataChannel","label","options","dataChannel","getOpponentMember","opponentMember","getOpponentDeviceId","getOpponentSessionId","opponentCanBeTransferred","Boolean","opponentCaps","opponentSupportsDTMF","getRemoteAssertedIdentity","remoteAssertedIdentity","_state","oldState","State","type","hasUserMediaVideoSender","hasRemoteUserMediaVideoTrack","Video","Voice","hasLocalUserMediaVideoTrack","_this$localUsermediaS","localUsermediaStream","getVideoTracks","some","_feed$stream","Usermedia","hasLocalUserMediaAudioTrack","_this$localUsermediaS2","getAudioTracks","hasRemoteUserMediaAudioTrack","_feed$stream2","hasUserMediaAudioSender","_this$transceivers$ge","transceivers","get","sender","_this$transceivers$ge2","localUsermediaFeed","getLocalFeeds","find","localScreensharingFeed","Screenshare","_this$localUsermediaF","localScreensharingStream","_this$localScreenshar","remoteUsermediaFeed","remoteScreensharingFeed","remoteUsermediaStream","_this$remoteUsermedia","remoteScreensharingStream","_this$remoteScreensha","getFeedByStreamId","streamId","getFeeds","feeds","filter","isLocal","initOpponentCrypto","_this4","_this4$getOpponentMem","getUseE2eForGroupCall","getCrypto","hasOpponentDeviceInfo","userId","getLocalSDPStreamMetadata","updateStreamIds","arguments","metadata","localFeed","sdpMetadataStreamId","audio_muted","isAudioMuted","video_muted","isVideoMuted","noIncomingFeeds","opponentSupportsSDPStreamMetadata","pushRemoteFeedWithoutMetadata","remoteSDPStreamMetadata","audioMuted","videoMuted","call","FeedsChanged","active","_this$feeds$find","oldRemoteStream","pushNewLocalFeed","addToPeerConnection","getUserId","setTracksEnabled","pushLocalFeed","callFeed","_this5","_loop","enabled","tKey","transceiver","replaceTrack","newSender","addTrack","newTransceiver","getTransceivers","t","removeLocalFeed","audioTransceiverKey","videoTransceiverKey","transceiverKey","removeTrack","getMediaHandler","stopScreensharingStream","deleteFeed","deleteAllFeeds","dispose","splice","indexOf","getCurrentCallStats","_this6","callStatsAtEnd","collectCallStats","_this7","statsReport","getStats","stats","forEach","item","initWithInvite","_this8","_this8$feeds$find","invite","getContent","haveTurnCreds","checkTurnServers","sdpStreamMetadata","findIn","updateRemoteSDPStreamMetadata","createPeerConnection","PeerConnectionCreated","chooseOpponent","setRemoteDescription","offer","addBufferedIceCandidates","e","SetRemoteDescription","remoteStream","getLocalAge","ringingTimer","_this8$stats","hangupParty","Ended","stopAllMedia","close","removeStatsReportGatherer","Hangup","lifetime","onState","off","on","initWithHangup","shouldAnswerWithMediaType","wantedValue","valueOfTheOtherSide","answer","audio","video","_this9","inviteOrAnswerSent","waitForLocalAVStream","prevState","answerWithAudio","answerWithVideo","WaitLocalMedia","_this9$client$getDevi","getUserMediaStream","usermediaFeed","getDeviceId","answerWithCallFeeds","callFeeds","queueGotCallFeedsForAnswer","replacedBy","newCall","Outbound","map","clone","Replaced","suppressEvent","content","sendVoipEvent","CallHangup","reject","CallReject","upgradeCall","_this0","getAudio","getVideo","updateLocalUsermediaStream","isScreensharing","setScreensharingEnabled","_this1","setScreensharingEnabledWithoutMetadataSupport","getScreensharingStream","audioTransceiver","videoTransceiver","_this10","_this10$transceivers$","_this10$localUsermedi","_this10$transceivers$2","_arguments","_this11","forceAudio","forceVideo","audioEnabled","remoteOnHold","videoEnabled","log","stop","_loop2","oldSender","added","setLocalVideoMuted","muted","_this12","_this12$localUsermedi2","stopVideoTrackTimer","hasVideoDevice","isLocalVideoMuted","_this12$localUsermedi","updateMuteStatus","sendMetadataUpdate","_this$localUsermediaF2","_this$localUsermediaF3","setMicrophoneMuted","_this13","_this13$localUsermedi","hasAudioDevice","isMicrophoneMuted","_this$localUsermediaF4","_this$localUsermediaF5","isRemoteOnHold","setRemoteOnHold","onHold","RemoteHoldUnhold","isLocalOnHold","callOnHold","trackOnHold","currentDirection","sendDtmfDigit","digit","getSenders","_sender$track","dtmf","insertDTMF","micShouldBeMuted","vidShouldBeMuted","_this14","CallSDPStreamMetadataChanged","name","gotCallFeedsForInvite","requestScreenshareFeed","addTransceiver","sendAnswer","_this15","answerContent","sdp","localDescription","capabilities","supportsCallTransfer","discardCount","discardDuplicateCandidates","CallAnswer","cancelPendingEvent","SendAnswer","message","UnknownDevices","sendCandidateQueue","responsePromiseChain","then","gotCallFeedsForAnswer","mungeSdp","description","media","payloadTypeToCodecMap","codecToPayloadTypeMap","rtp","payload","mod","extraConfig","found","fmtp","config","join","createOffer","_this16","createAnswer","_this17","_this18","CreateAnswer","getRidOfRTXCodecs","setLocalDescription","Promise","resolve","SetLocalDescription","onRemoteIceCandidatesReceived","_this19","candidates","fromPartyId","version","bufferedCandidates","remoteCandidateBuffer","addIceCandidates","onAnswerReceived","_this20","isSettingRemoteAnswerPending","CallSelectAnswer","selected_party_id","onSelectAnswerReceived","_this21","selectedPartyId","onNegotiateReceived","_this22","polite","readyForOffer","makingOffer","offerCollision","ignoreOffer","prevLocalOnHold","_localDescription","CallNegotiate","toJSON","newLocalOnHold","LocalHoldUnhold","HoldUnhold","_streamId","onSDPStreamMetadataChangedReceived","onAssertedIdentityReceived","_this23","asserted_identity","displayName","display_name","AssertedIdentityChanged","wrappedGotLocalOffer","_this24","gotLocalOffer","getLocalOfferFailed","_this25","eventType","CallInvite","_localDescription2","_localDescription3","SignallingFailed","SendInvite","inviteTimeout","InviteTimeout","RTCRtpReceiver","getCapabilities","RTCRtpSender","screenshareVideoTransceiver","setCodecPreferences","recvCodecs","codecs","sendCodecs","mimeType","pop","_this26","realContent","_objectSpread","call_id","conf_id","_this26$getOpponentMe","toDeviceSeq","device_id","sender_session_id","getSessionId","dest_session_id","seq","globalThis","crypto","randomUUID","SendVoipEvent","sendToDevice","_this26$getOpponentMe2","sendEvent","candidateSendQueue","delay","candidateSendTries","newQueue","i","transfer","targetUserId","_this27","profileInfo","getProfileInfo","replacementId","body","replacement_id","target_user","displayname","avatar_url","create_call","CallReplaces","Transferred","transferToCall","transferTargetCall","_this28","_transferTargetCall$g","_this28$getOpponentMe","targetProfileInfo","opponentUserId","transfereeProfileInfo","newCallId","bodyToTransferTarget","await_call","bodyToTransferee","hangupReason","shouldEmit","_this29","_this29$stats","clearInterval","_ref4","_ref3","_slicedToArray","listener","clear","callEventHandler","calls","stopUserMediaStream","checkForErrorListener","listeners","_this30","CallCandidates","delayMs","pow","_this31","_this31$client$getDev","placeCallWithCallFeeds","_arguments2","_this32","_this$stats","pc","window","RTCPeerConnection","iceTransportPolicy","iceServers","iceCandidatePoolSize","bundlePolicy","onIceConnectionStateChanged","onSignallingStateChanged","gotLocalIceCandidate","onIceGatheringStateChange","onTrack","onNegotiationNeeded","onDataChannel","opponentMemberId","addStatsReportGatherer","msgPartyId","_getMember","getRoom","getMember","getSender","_this$stats2","updateOpponentMember","_this33","_this34","sdpMLineIndex","addIceCandidate","hasPeerConnection","initStats","peerId","start","tracks","supportsMatrixCall","document","_ref5","_ref6","_window$RTCPeerConnec","supported","RTCSessionDescription","RTCIceCandidate","navigator","mediaDevices","process","env","NODE_ENV","createNewMatrixCall","optionsForceTURN","getTurnServers","reEmitter","reEmit","Object","values"],"sources":["../../src/webrtc/call.ts"],"sourcesContent":["/*\nCopyright 2015, 2016 OpenMarket Ltd\nCopyright 2017 New Vector Ltd\nCopyright 2019, 2020 The Matrix.org Foundation C.I.C.\nCopyright 2021 - 2022 Šimon Brandner <simon.bra.ag@gmail.com>\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n/**\n * This is an internal module. See {@link createNewMatrixCall} for the public API.\n */\n\nimport { parse as parseSdp, write as writeSdp } from \"sdp-transform\";\n\nimport { logger } from \"../logger.ts\";\nimport { checkObjectHasKeys, isNullOrUndefined, recursivelyAssign } from \"../utils.ts\";\nimport { type MatrixEvent } from \"../models/event.ts\";\nimport { EventType, type TimelineEvents, ToDeviceMessageId } from \"../@types/event.ts\";\nimport { type RoomMember } from \"../models/room-member.ts\";\nimport { secureRandomString } from \"../randomstring.ts\";\nimport {\n type MCallReplacesEvent,\n type MCallAnswer,\n type MCallInviteNegotiate,\n type CallCapabilities,\n SDPStreamMetadataPurpose,\n type SDPStreamMetadata,\n SDPStreamMetadataKey,\n type MCallSDPStreamMetadataChanged,\n type MCallSelectAnswer,\n type MCAllAssertedIdentity,\n type MCallCandidates,\n type MCallBase,\n type MCallHangupReject,\n} from \"./callEventTypes.ts\";\nimport { CallFeed } from \"./callFeed.ts\";\nimport { type MatrixClient } from \"../client.ts\";\nimport { EventEmitterEvents, TypedEventEmitter } from \"../models/typed-event-emitter.ts\";\nimport { GroupCallUnknownDeviceError } from \"./groupCall.ts\";\nimport { type IScreensharingOpts } from \"./mediaHandler.ts\";\nimport { MatrixError } from \"../http-api/index.ts\";\nimport { type GroupCallStats } from \"./stats/groupCallStats.ts\";\n\ninterface CallOpts {\n // The room ID for this call.\n roomId: string;\n invitee?: string;\n // The Matrix Client instance to send events to.\n client: MatrixClient;\n /**\n * Whether relay through TURN should be forced.\n * @deprecated use opts.forceTURN when creating the matrix client\n * since it's only possible to set this option on outbound calls.\n */\n forceTURN?: boolean;\n // A list of TURN servers.\n turnServers?: Array<TurnServer>;\n opponentDeviceId?: string;\n opponentSessionId?: string;\n groupCallId?: string;\n}\n\ninterface TurnServer {\n urls: Array<string>;\n username?: string;\n password?: string;\n ttl?: number;\n}\n\ninterface AssertedIdentity {\n id: string;\n displayName: string;\n}\n\nenum MediaType {\n AUDIO = \"audio\",\n VIDEO = \"video\",\n}\n\nenum CodecName {\n OPUS = \"opus\",\n // add more as needed\n}\n\n// Used internally to specify modifications to codec parameters in SDP\ninterface CodecParamsMod {\n mediaType: MediaType;\n codec: CodecName;\n enableDtx?: boolean; // true to enable discontinuous transmission, false to disable, undefined to leave as-is\n maxAverageBitrate?: number; // sets the max average bitrate, or undefined to leave as-is\n}\n\nexport enum CallState {\n Fledgling = \"fledgling\",\n InviteSent = \"invite_sent\",\n WaitLocalMedia = \"wait_local_media\",\n CreateOffer = \"create_offer\",\n CreateAnswer = \"create_answer\",\n Connecting = \"connecting\",\n Connected = \"connected\",\n Ringing = \"ringing\",\n Ended = \"ended\",\n}\n\nexport enum CallType {\n Voice = \"voice\",\n Video = \"video\",\n}\n\nexport enum CallDirection {\n Inbound = \"inbound\",\n Outbound = \"outbound\",\n}\n\nexport enum CallParty {\n Local = \"local\",\n Remote = \"remote\",\n}\n\nexport enum CallEvent {\n Hangup = \"hangup\",\n State = \"state\",\n Error = \"error\",\n Replaced = \"replaced\",\n\n // The value of isLocalOnHold() has changed\n LocalHoldUnhold = \"local_hold_unhold\",\n // The value of isRemoteOnHold() has changed\n RemoteHoldUnhold = \"remote_hold_unhold\",\n // backwards compat alias for LocalHoldUnhold: remove in a major version bump\n HoldUnhold = \"hold_unhold\",\n // Feeds have changed\n FeedsChanged = \"feeds_changed\",\n\n AssertedIdentityChanged = \"asserted_identity_changed\",\n\n LengthChanged = \"length_changed\",\n\n DataChannel = \"datachannel\",\n\n SendVoipEvent = \"send_voip_event\",\n\n // When the call instantiates its peer connection\n // For apps that want to access the underlying peer connection, eg for debugging\n PeerConnectionCreated = \"peer_connection_created\",\n}\n\nexport enum CallErrorCode {\n /** The user chose to end the call */\n UserHangup = \"user_hangup\",\n\n /** An error code when the local client failed to create an offer. */\n LocalOfferFailed = \"local_offer_failed\",\n /**\n * An error code when there is no local mic/camera to use. This may be because\n * the hardware isn't plugged in, or the user has explicitly denied access.\n */\n NoUserMedia = \"no_user_media\",\n\n /**\n * Error code used when a call event failed to send\n * because unknown devices were present in the room\n */\n UnknownDevices = \"unknown_devices\",\n\n /**\n * Error code used when we fail to send the invite\n * for some reason other than there being unknown devices\n */\n SendInvite = \"send_invite\",\n\n /**\n * An answer could not be created\n */\n CreateAnswer = \"create_answer\",\n\n /**\n * An offer could not be created\n */\n CreateOffer = \"create_offer\",\n\n /**\n * Error code used when we fail to send the answer\n * for some reason other than there being unknown devices\n */\n SendAnswer = \"send_answer\",\n\n /**\n * The session description from the other side could not be set\n */\n SetRemoteDescription = \"set_remote_description\",\n\n /**\n * The session description from this side could not be set\n */\n SetLocalDescription = \"set_local_description\",\n\n /**\n * A different device answered the call\n */\n AnsweredElsewhere = \"answered_elsewhere\",\n\n /**\n * No media connection could be established to the other party\n */\n IceFailed = \"ice_failed\",\n\n /**\n * The invite timed out whilst waiting for an answer\n */\n InviteTimeout = \"invite_timeout\",\n\n /**\n * The call was replaced by another call\n */\n Replaced = \"replaced\",\n\n /**\n * Signalling for the call could not be sent (other than the initial invite)\n */\n SignallingFailed = \"signalling_timeout\",\n\n /**\n * The remote party is busy\n */\n UserBusy = \"user_busy\",\n\n /**\n * We transferred the call off to somewhere else\n */\n Transferred = \"transferred\",\n\n /**\n * A call from the same user was found with a new session id\n */\n NewSession = \"new_session\",\n}\n\n/**\n * The version field that we set in m.call.* events\n */\nconst VOIP_PROTO_VERSION = \"1\";\n\n/** The fallback ICE server to use for STUN or TURN protocols. */\nexport const FALLBACK_ICE_SERVER = \"stun:turn.matrix.org\";\n\n/** The length of time a call can be ringing for. */\nconst CALL_TIMEOUT_MS = 60 * 1000; // ms\n/** The time after which we increment callLength */\nconst CALL_LENGTH_INTERVAL = 1000; // ms\n/** The time after which we end the call, if ICE got disconnected */\nconst ICE_DISCONNECTED_TIMEOUT = 30 * 1000; // ms\n/** The time after which we try a ICE restart, if ICE got disconnected */\nconst ICE_RECONNECTING_TIMEOUT = 2 * 1000; // ms\nexport class CallError extends Error {\n public readonly code: string;\n\n public constructor(code: CallErrorCode, msg: string, err: Error) {\n // Still don't think there's any way to have proper nested errors\n super(msg + \": \" + err);\n\n this.code = code;\n }\n}\n\nexport function genCallID(): string {\n return Date.now().toString() + secureRandomString(16);\n}\n\nfunction getCodecParamMods(isPtt: boolean): CodecParamsMod[] {\n const mods = [\n {\n mediaType: \"audio\",\n codec: \"opus\",\n enableDtx: true,\n maxAverageBitrate: isPtt ? 12000 : undefined,\n },\n ] as CodecParamsMod[];\n\n return mods;\n}\n\ntype CallEventType =\n | EventType.CallReplaces\n | EventType.CallAnswer\n | EventType.CallSelectAnswer\n | EventType.CallNegotiate\n | EventType.CallInvite\n | EventType.CallCandidates\n | EventType.CallHangup\n | EventType.CallReject\n | EventType.CallSDPStreamMetadataChanged;\n\nexport interface VoipEvent {\n type: \"toDevice\" | \"sendEvent\";\n eventType: string;\n userId?: string;\n opponentDeviceId?: string;\n roomId?: string;\n content: TimelineEvents[CallEventType];\n}\n\n/**\n * These now all have the call object as an argument. Why? Well, to know which call a given event is\n * about you have three options:\n * 1. Use a closure as the callback that remembers what call it's listening to. This can be\n * a pain because you need to pass the listener function again when you remove the listener,\n * which might be somewhere else.\n * 2. Use not-very-well-known fact that EventEmitter sets 'this' to the emitter object in the\n * callback. This doesn't really play well with modern Typescript and eslint and doesn't work\n * with our pattern of re-emitting events.\n * 3. Pass the object in question as an argument to the callback.\n *\n * Now that we have group calls which have to deal with multiple call objects, this will\n * become more important, and I think methods 1 and 2 are just going to cause issues.\n */\nexport type CallEventHandlerMap = {\n [CallEvent.DataChannel]: (channel: RTCDataChannel, call: MatrixCall) => void;\n [CallEvent.FeedsChanged]: (feeds: CallFeed[], call: MatrixCall) => void;\n [CallEvent.Replaced]: (newCall: MatrixCall, oldCall: MatrixCall) => void;\n [CallEvent.Error]: (error: CallError, call: MatrixCall) => void;\n [CallEvent.RemoteHoldUnhold]: (onHold: boolean, call: MatrixCall) => void;\n [CallEvent.LocalHoldUnhold]: (onHold: boolean, call: MatrixCall) => void;\n [CallEvent.LengthChanged]: (length: number, call: MatrixCall) => void;\n [CallEvent.State]: (state: CallState, oldState: CallState, call: MatrixCall) => void;\n [CallEvent.Hangup]: (call: MatrixCall) => void;\n [CallEvent.AssertedIdentityChanged]: (call: MatrixCall) => void;\n /* @deprecated */\n [CallEvent.HoldUnhold]: (onHold: boolean) => void;\n [CallEvent.SendVoipEvent]: (event: VoipEvent, call: MatrixCall) => void;\n [CallEvent.PeerConnectionCreated]: (peerConn: RTCPeerConnection, call: MatrixCall) => void;\n};\n\n// The key of the transceiver map (purpose + media type, separated by ':')\ntype TransceiverKey = string;\n\n// generates keys for the map of transceivers\n// kind is unfortunately a string rather than MediaType as this is the type of\n// track.kind\nfunction getTransceiverKey(purpose: SDPStreamMetadataPurpose, kind: TransceiverKey): string {\n return purpose + \":\" + kind;\n}\n\nexport class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap> {\n public roomId: string;\n public callId: string;\n public invitee?: string;\n public hangupParty?: CallParty;\n public hangupReason?: string;\n public direction?: CallDirection;\n public ourPartyId: string;\n public peerConn?: RTCPeerConnection;\n public toDeviceSeq = 0;\n\n // whether this call should have push-to-talk semantics\n // This should be set by the consumer on incoming & outgoing calls.\n public isPtt = false;\n\n private _state = CallState.Fledgling;\n private readonly client: MatrixClient;\n private readonly forceTURN?: boolean;\n private readonly turnServers: Array<TurnServer>;\n // A queue for candidates waiting to go out.\n // We try to amalgamate candidates into a single candidate message where\n // possible\n private candidateSendQueue: Array<RTCIceCandidate> = [];\n private candidateSendTries = 0;\n private candidatesEnded = false;\n private feeds: Array<CallFeed> = [];\n\n // our transceivers for each purpose and type of media\n private transceivers = new Map<TransceiverKey, RTCRtpTransceiver>();\n\n private inviteOrAnswerSent = false;\n private waitForLocalAVStream = false;\n private successor?: MatrixCall;\n private opponentMember?: RoomMember;\n private opponentVersion?: number | string;\n // The party ID of the other side: undefined if we haven't chosen a partner\n // yet, null if we have but they didn't send a party ID.\n private opponentPartyId: string | null | undefined;\n private opponentCaps?: CallCapabilities;\n private iceDisconnectedTimeout?: ReturnType<typeof setTimeout>;\n private iceReconnectionTimeOut?: ReturnType<typeof setTimeout> | undefined;\n private inviteTimeout?: ReturnType<typeof setTimeout>;\n private readonly removeTrackListeners = new Map<MediaStream, () => void>();\n\n // The logic of when & if a call is on hold is nontrivial and explained in is*OnHold\n // This flag represents whether we want the other party to be on hold\n private remoteOnHold = false;\n\n // the stats for the call at the point it ended. We can't get these after we\n // tear the call down, so we just grab a snapshot before we stop the call.\n // The typescript definitions have this type as 'any' :(\n private callStatsAtEnd?: any[];\n\n // Perfect negotiation state: https://www.w3.org/TR/webrtc/#perfect-negotiation-example\n private makingOffer = false;\n private ignoreOffer = false;\n private isSettingRemoteAnswerPending = false;\n\n private responsePromiseChain?: Promise<void>;\n\n // If candidates arrive before we've picked an opponent (which, in particular,\n // will happen if the opponent sends candidates eagerly before the user answers\n // the call) we buffer them up here so we can then add the ones from the party we pick\n private remoteCandidateBuffer = new Map<string, MCallCandidates[\"candidates\"]>();\n\n private remoteAssertedIdentity?: AssertedIdentity;\n private remoteSDPStreamMetadata?: SDPStreamMetadata;\n\n private callLengthInterval?: ReturnType<typeof setInterval>;\n private callStartTime?: number;\n\n private opponentDeviceId?: string;\n private hasOpponentDeviceInfo?: boolean;\n private opponentSessionId?: string;\n public groupCallId?: string;\n\n // Used to keep the timer for the delay before actually stopping our\n // video track after muting (see setLocalVideoMuted)\n private stopVideoTrackTimer?: ReturnType<typeof setTimeout>;\n // Used to allow connection without Video and Audio. To establish a webrtc connection without media a Data channel is\n // needed At the moment this property is true if we allow MatrixClient with isVoipWithNoMediaAllowed = true\n private readonly isOnlyDataChannelAllowed: boolean;\n private stats: GroupCallStats | undefined;\n\n /**\n * Construct a new Matrix Call.\n * @param opts - Config options.\n */\n public constructor(opts: CallOpts) {\n super();\n\n this.roomId = opts.roomId;\n this.invitee = opts.invitee;\n this.client = opts.client;\n\n if (!this.client.deviceId) throw new Error(\"Client must have a device ID to start calls\");\n\n this.forceTURN = opts.forceTURN ?? false;\n this.ourPartyId = this.client.deviceId;\n this.opponentDeviceId = opts.opponentDeviceId;\n this.opponentSessionId = opts.opponentSessionId;\n this.groupCallId = opts.groupCallId;\n // Array of Objects with urls, username, credential keys\n this.turnServers = opts.turnServers || [];\n if (this.turnServers.length === 0 && this.client.isFallbackICEServerAllowed()) {\n this.turnServers.push({\n urls: [FALLBACK_ICE_SERVER],\n });\n }\n for (const server of this.turnServers) {\n checkObjectHasKeys(server, [\"urls\"]);\n }\n this.callId = genCallID();\n // If the Client provides calls without audio and video we need a datachannel for a webrtc connection\n this.isOnlyDataChannelAllowed = this.client.isVoipWithNoMediaAllowed;\n }\n\n /**\n * Place a voice call to this room.\n * @throws If you have not specified a listener for 'error' events.\n */\n public async placeVoiceCall(): Promise<void> {\n await this.placeCall(true, false);\n }\n\n /**\n * Place a video call to this room.\n * @throws If you have not specified a listener for 'error' events.\n */\n public async placeVideoCall(): Promise<void> {\n await this.placeCall(true, true);\n }\n\n /**\n * Create a datachannel using this call's peer connection.\n * @param label - A human readable label for this datachannel\n * @param options - An object providing configuration options for the data channel.\n */\n public createDataChannel(label: string, options: RTCDataChannelInit | undefined): RTCDataChannel {\n const dataChannel = this.peerConn!.createDataChannel(label, options);\n this.emit(CallEvent.DataChannel, dataChannel, this);\n return dataChannel;\n }\n\n public getOpponentMember(): RoomMember | undefined {\n return this.opponentMember;\n }\n\n public getOpponentDeviceId(): string | undefined {\n return this.opponentDeviceId;\n }\n\n public getOpponentSessionId(): string | undefined {\n return this.opponentSessionId;\n }\n\n public opponentCanBeTransferred(): boolean {\n return Boolean(this.opponentCaps && this.opponentCaps[\"m.call.transferee\"]);\n }\n\n public opponentSupportsDTMF(): boolean {\n return Boolean(this.opponentCaps && this.opponentCaps[\"m.call.dtmf\"]);\n }\n\n public getRemoteAssertedIdentity(): AssertedIdentity | undefined {\n return this.remoteAssertedIdentity;\n }\n\n public get state(): CallState {\n return this._state;\n }\n\n private set state(state: CallState) {\n const oldState = this._state;\n this._state = state;\n this.emit(CallEvent.State, state, oldState, this);\n }\n\n public get type(): CallType {\n // we may want to look for a video receiver here rather than a track to match the\n // sender behaviour, although in practice they should be the same thing\n return this.hasUserMediaVideoSender || this.hasRemoteUserMediaVideoTrack ? CallType.Video : CallType.Voice;\n }\n\n public get hasLocalUserMediaVideoTrack(): boolean {\n return !!this.localUsermediaStream?.getVideoTracks().length;\n }\n\n public get hasRemoteUserMediaVideoTrack(): boolean {\n return this.getRemoteFeeds().some((feed) => {\n return feed.purpose === SDPStreamMetadataPurpose.Usermedia && feed.stream?.getVideoTracks().length;\n });\n }\n\n public get hasLocalUserMediaAudioTrack(): boolean {\n return !!this.localUsermediaStream?.getAudioTracks().length;\n }\n\n public get hasRemoteUserMediaAudioTrack(): boolean {\n return this.getRemoteFeeds().some((feed) => {\n return feed.purpose === SDPStreamMetadataPurpose.Usermedia && !!feed.stream?.getAudioTracks().length;\n });\n }\n\n private get hasUserMediaAudioSender(): boolean {\n return Boolean(this.transceivers.get(getTransceiverKey(SDPStreamMetadataPurpose.Usermedia, \"audio\"))?.sender);\n }\n\n private get hasUserMediaVideoSender(): boolean {\n return Boolean(this.transceivers.get(getTransceiverKey(SDPStreamMetadataPurpose.Usermedia, \"video\"))?.sender);\n }\n\n public get localUsermediaFeed(): CallFeed | undefined {\n return this.getLocalFeeds().find((feed) => feed.purpose === SDPStreamMetadataPurpose.Usermedia);\n }\n\n public get localScreensharingFeed(): CallFeed | undefined {\n return this.getLocalFeeds().find((feed) => feed.purpose === SDPStreamMetadataPurpose.Screenshare);\n }\n\n public get localUsermediaStream(): MediaStream | undefined {\n return this.localUsermediaFeed?.stream;\n }\n\n public get localScreensharingStream(): MediaStream | undefined {\n return this.localScreensharingFeed?.stream;\n }\n\n public get remoteUsermediaFeed(): CallFeed | undefined {\n return this.getRemoteFeeds().find((feed) => feed.purpose === SDPStreamMetadataPurpose.Usermedia);\n }\n\n public get remoteScreensharingFeed(): CallFeed | undefined {\n return this.getRemoteFeeds().find((feed) => feed.purpose === SDPStreamMetadataPurpose.Screenshare);\n }\n\n public get remoteUsermediaStream(): MediaStream | undefined {\n return this.remoteUsermediaFeed?.stream;\n }\n\n public get remoteScreensharingStream(): MediaStream | undefined {\n return this.remoteScreensharingFeed?.stream;\n }\n\n private getFeedByStreamId(streamId: string): CallFeed | undefined {\n return this.getFeeds().find((feed) => feed.stream.id === streamId);\n }\n\n /**\n * Returns an array of all CallFeeds\n * @returns CallFeeds\n */\n public getFeeds(): Array<CallFeed> {\n return this.feeds;\n }\n\n /**\n * Returns an array of all local CallFeeds\n * @returns local CallFeeds\n */\n public getLocalFeeds(): Array<CallFeed> {\n return this.feeds.filter((feed) => feed.isLocal());\n }\n\n /**\n * Returns an array of all remote CallFeeds\n * @returns remote CallFeeds\n */\n public getRemoteFeeds(): Array<CallFeed> {\n return this.feeds.filter((feed) => !feed.isLocal());\n }\n\n private async initOpponentCrypto(): Promise<void> {\n if (!this.opponentDeviceId) return;\n if (!this.client.getUseE2eForGroupCall()) return;\n // It's possible to want E2EE and yet not have the means to manage E2EE\n // ourselves (for example if the client is a RoomWidgetClient)\n if (!this.client.getCrypto()) {\n // All we know is the device ID\n this.hasOpponentDeviceInfo = true;\n return;\n }\n const userId = this.invitee || this.getOpponentMember()?.userId;\n\n if (!userId) throw new Error(\"Couldn't find opponent user ID to init crypto\");\n\n // Here we were calling `MatrixClient.crypto.deviceList.downloadKeys` which is not supported by the rust cryptography.\n this.hasOpponentDeviceInfo = false;\n throw new GroupCallUnknownDeviceError(userId);\n }\n\n /**\n * Generates and returns localSDPStreamMetadata\n * @returns localSDPStreamMetadata\n */\n private getLocalSDPStreamMetadata(updateStreamIds = false): SDPStreamMetadata {\n const metadata: SDPStreamMetadata = {};\n for (const localFeed of this.getLocalFeeds()) {\n if (updateStreamIds) {\n localFeed.sdpMetadataStreamId = localFeed.stream.id;\n }\n\n metadata[localFeed.sdpMetadataStreamId] = {\n purpose: localFeed.purpose,\n audio_muted: localFeed.isAudioMuted(),\n video_muted: localFeed.isVideoMuted(),\n };\n }\n return metadata;\n }\n\n /**\n * Returns true if there are no incoming feeds,\n * otherwise returns false\n * @returns no incoming feeds\n */\n public noIncomingFeeds(): boolean {\n return !this.feeds.some((feed) => !feed.isLocal());\n }\n\n private pushRemoteFeed(stream: MediaStream): void {\n // Fallback to old behavior if the other side doesn't support SDPStreamMetadata\n if (!this.opponentSupportsSDPStreamMetadata()) {\n this.pushRemoteFeedWithoutMetadata(stream);\n return;\n }\n\n const userId = this.getOpponentMember()!.userId;\n const purpose = this.remoteSDPStreamMetadata![stream.id].purpose;\n const audioMuted = this.remoteSDPStreamMetadata![stream.id].audio_muted;\n const videoMuted = this.remoteSDPStreamMetadata![stream.id].video_muted;\n\n if (!purpose) {\n logger.warn(\n `Call ${this.callId} pushRemoteFeed() ignoring stream because we didn't get any metadata about it (streamId=${stream.id})`,\n );\n return;\n }\n\n if (this.getFeedByStreamId(stream.id)) {\n logger.warn(\n `Call ${this.callId} pushRemoteFeed() ignoring stream because we already have a feed for it (streamId=${stream.id})`,\n );\n return;\n }\n\n this.feeds.push(\n new CallFeed({\n client: this.client,\n call: this,\n roomId: this.roomId,\n userId,\n deviceId: this.getOpponentDeviceId(),\n stream,\n purpose,\n audioMuted,\n videoMuted,\n }),\n );\n\n this.emit(CallEvent.FeedsChanged, this.feeds, this);\n\n logger.info(\n `Call ${this.callId} pushRemoteFeed() pushed stream (streamId=${stream.id}, active=${stream.active}, purpose=${purpose})`,\n );\n }\n\n /**\n * This method is used ONLY if the other client doesn't support sending SDPStreamMetadata\n */\n private pushRemoteFeedWithoutMetadata(stream: MediaStream): void {\n const userId = this.getOpponentMember()!.userId;\n // We can guess the purpose here since the other client can only send one stream\n const purpose = SDPStreamMetadataPurpose.Usermedia;\n const oldRemoteStream = this.feeds.find((feed) => !feed.isLocal())?.stream;\n\n // Note that we check by ID and always set the remote stream: Chrome appears\n // to make new stream objects when transceiver directionality is changed and the 'active'\n // status of streams change - Dave\n // If we already have a stream, check this stream has the same id\n if (oldRemoteStream && stream.id !== oldRemoteStream.id) {\n logger.warn(\n `Call ${this.callId} pushRemoteFeedWithoutMetadata() ignoring new stream because we already have stream (streamId=${stream.id})`,\n );\n return;\n }\n\n if (this.getFeedByStreamId(stream.id)) {\n logger.warn(\n `Call ${this.callId} pushRemoteFeedWithoutMetadata() ignoring stream because we already have a feed for it (streamId=${stream.id})`,\n );\n return;\n }\n\n this.feeds.push(\n new CallFeed({\n client: this.client,\n call: this,\n roomId: this.roomId,\n audioMuted: false,\n videoMuted: false,\n userId,\n deviceId: this.getOpponentDeviceId(),\n stream,\n purpose,\n }),\n );\n\n this.emit(CallEvent.FeedsChanged, this.feeds, this);\n\n logger.info(\n `Call ${this.callId} pushRemoteFeedWithoutMetadata() pushed stream (streamId=${stream.id}, active=${stream.active})`,\n );\n }\n\n private pushNewLocalFeed(stream: MediaStream, purpose: SDPStreamMetadataPurpose, addToPeerConnection = true): void {\n const userId = this.client.getUserId()!;\n\n // Tracks don't always start off enabled, eg. chrome will give a disabled\n // audio track if you ask for user media audio and already had one that\n // you'd set to disabled (presumably because it clones them internally).\n setTracksEnabled(stream.getAudioTracks(), true);\n setTracksEnabled(stream.getVideoTracks(), true);\n\n if (this.getFeedByStreamId(stream.id)) {\n logger.warn(\n `Call ${this.callId} pushNewLocalFeed() ignoring stream because we already have a feed for it (streamId=${stream.id})`,\n );\n return;\n }\n\n this.pushLocalFeed(\n new CallFeed({\n client: this.client,\n roomId: this.roomId,\n audioMuted: false,\n videoMuted: false,\n userId,\n deviceId: this.getOpponentDeviceId(),\n stream,\n purpose,\n }),\n addToPeerConnection,\n );\n }\n\n /**\n * Pushes supplied feed to the call\n * @param callFeed - to push\n * @param addToPeerConnection - whether to add the tracks to the peer connection\n */\n public pushLocalFeed(callFeed: CallFeed, addToPeerConnection = true): void {\n if (this.feeds.some((feed) => callFeed.stream.id === feed.stream.id)) {\n logger.info(\n `Call ${this.callId} pushLocalFeed() ignoring duplicate local stream (streamId=${callFeed.stream.id})`,\n );\n return;\n }\n\n this.feeds.push(callFeed);\n\n if (addToPeerConnection) {\n for (const track of callFeed.stream.getTracks()) {\n logger.info(\n `Call ${this.callId} pushLocalFeed() adding track to peer connection (id=${track.id}, kind=${track.kind}, streamId=${callFeed.stream.id}, streamPurpose=${callFeed.purpose}, enabled=${track.enabled})`,\n );\n\n const tKey = getTransceiverKey(callFeed.purpose, track.kind);\n if (this.transceivers.has(tKey)) {\n // we already have a sender, so we re-use it. We try to re-use transceivers as much\n // as possible because they can't be removed once added, so otherwise they just\n // accumulate which makes the SDP very large very quickly: in fact it only takes\n // about 6 video tracks to exceed the maximum size of an Olm-encrypted\n // Matrix event.\n const transceiver = this.transceivers.get(tKey)!;\n\n transceiver.sender.replaceTrack(track);\n // set the direction to indicate we're going to start sending again\n // (this will trigger the re-negotiation)\n transceiver.direction = transceiver.direction === \"inactive\" ? \"sendonly\" : \"sendrecv\";\n } else {\n // create a new one. We need to use addTrack rather addTransceiver for this because firefox\n // doesn't yet implement RTCRTPSender.setStreams()\n // (https://bugzilla.mozilla.org/show_bug.cgi?id=1510802) so we'd have no way to group the\n // two tracks together into a stream.\n const newSender = this.peerConn!.addTrack(track, callFeed.stream);\n\n // now go & fish for the new transceiver\n const newTransceiver = this.peerConn!.getTransceivers().find((t) => t.sender === newSender);\n if (newTransceiver) {\n this.transceivers.set(tKey, newTransceiver);\n } else {\n logger.warn(\n `Call ${this.callId} pushLocalFeed() didn't find a matching transceiver after adding track!`,\n );\n }\n }\n }\n }\n\n logger.info(\n `Call ${this.callId} pushLocalFeed() pushed stream (id=${callFeed.stream.id}, active=${callFeed.stream.active}, purpose=${callFeed.purpose})`,\n );\n\n this.emit(CallEvent.FeedsChanged, this.feeds, this);\n }\n\n /**\n * Removes local call feed from the call and its tracks from the peer\n * connection\n * @param callFeed - to remove\n */\n public removeLocalFeed(callFeed: CallFeed): void {\n const audioTransceiverKey = getTransceiverKey(callFeed.purpose, \"audio\");\n const videoTransceiverKey = getTransceiverKey(callFeed.purpose, \"video\");\n\n for (const transceiverKey of [audioTransceiverKey, videoTransceiverKey]) {\n // this is slightly mixing the track and transceiver API but is basically just shorthand.\n // There is no way to actually remove a transceiver, so this just sets it to inactive\n // (or recvonly) and replaces the source with nothing.\n if (this.transceivers.has(transceiverKey)) {\n const transceiver = this.transceivers.get(transceiverKey)!;\n if (transceiver.sender) this.peerConn!.removeTrack(transceiver.sender);\n }\n }\n\n if (callFeed.purpose === SDPStreamMetadataPurpose.Screenshare) {\n this.client.getMediaHandler().stopScreensharingStream(callFeed.stream);\n }\n\n this.deleteFeed(callFeed);\n }\n\n private deleteAllFeeds(): void {\n for (const feed of this.feeds) {\n if (!feed.isLocal() || !this.groupCallId) {\n feed.dispose();\n }\n }\n\n this.feeds = [];\n this.emit(CallEvent.FeedsChanged, this.feeds, this);\n }\n\n private deleteFeedByStream(stream: MediaStream): void {\n const feed = this.getFeedByStreamId(stream.id);\n if (!feed) {\n logger.warn(\n `Call ${this.callId} deleteFeedByStream() didn't find the feed to delete (streamId=${stream.id})`,\n );\n return;\n }\n this.deleteFeed(feed);\n }\n\n private deleteFeed(feed: CallFeed): void {\n feed.dispose();\n this.feeds.splice(this.feeds.indexOf(feed), 1);\n this.emit(CallEvent.FeedsChanged, this.feeds, this);\n }\n\n // The typescript definitions have this type as 'any' :(\n public async getCurrentCallStats(): Promise<any[] | undefined> {\n if (this.callHasEnded()) {\n return this.callStatsAtEnd;\n }\n\n return this.collectCallStats();\n }\n\n private async collectCallStats(): Promise<any[] | undefined> {\n // This happens when the call fails before it starts.\n // For example when we fail to get capture sources\n if (!this.peerConn) return;\n\n const statsReport = await this.peerConn.getStats();\n const stats: any[] = [];\n statsReport.forEach((item) => {\n stats.push(item);\n });\n\n return stats;\n }\n\n /**\n * Configure this call from an invite event. Used by MatrixClient.\n * @param event - The m.call.invite event\n */\n public async initWithInvite(event: MatrixEvent): Promise<void> {\n const invite = event.getContent<MCallInviteNegotiate>();\n this.direction = CallDirection.Inbound;\n\n // make sure we have valid turn creds. Unless something's gone wrong, it should\n // poll and keep the credentials valid so this should be instant.\n const haveTurnCreds = await this.client.checkTurnServers();\n if (!haveTurnCreds) {\n logger.warn(\n `Call ${this.callId} initWithInvite() failed to get TURN credentials! Proceeding with call anyway...`,\n );\n }\n\n const sdpStreamMetadata = SDPStreamMetadataKey.findIn(invite);\n if (sdpStreamMetadata) {\n this.updateRemoteSDPStreamMetadata(sdpStreamMetadata);\n } else {\n logger.debug(\n `Call ${this.callId} initWithInvite() did not get any SDPStreamMetadata! Can not send/receive multiple streams`,\n );\n }\n\n this.peerConn = this.createPeerConnection();\n this.emit(CallEvent.PeerConnectionCreated, this.peerConn, this);\n // we must set the party ID before await-ing on anything: the call event\n // handler will start giving us more call events (eg. candidates) so if\n // we haven't set the party ID, we'll ignore them.\n this.chooseOpponent(event);\n await this.initOpponentCrypto();\n try {\n await this.peerConn.setRemoteDescription(invite.offer);\n logger.debug(`Call ${this.callId} initWithInvite() set remote description: ${invite.offer.type}`);\n await this.addBufferedIceCandidates();\n } catch (e) {\n logger.debug(`Call ${this.callId} initWithInvite() failed to set remote description`, e);\n this.terminate(CallParty.Local, CallErrorCode.SetRemoteDescription, false);\n return;\n }\n\n const remoteStream = this.feeds.find((feed) => !feed.isLocal())?.stream;\n\n // According to previous comments in this file, firefox at some point did not\n // add streams until media started arriving on them. Testing latest firefox\n // (81 at time of writing), this is no longer a problem, so let's do it the correct way.\n //\n // For example in case of no media webrtc connections like screen share only call we have to allow webrtc\n // connections without remote media. In this case we always use a data channel. At the moment we allow as well\n // only data channel as media in the WebRTC connection with this setup here.\n if (!this.isOnlyDataChannelAllowed && (!remoteStream || remoteStream.getTracks().length === 0)) {\n logger.error(\n `Call ${this.callId} initWithInvite() no remote stream or no tracks after setting remote description!`,\n );\n this.terminate(CallParty.Local, CallErrorCode.SetRemoteDescription, false);\n return;\n }\n\n this.state = CallState.Ringing;\n\n if (event.getLocalAge()) {\n // Time out the call if it's ringing for too long\n const ringingTimer = setTimeout(() => {\n if (this.state == CallState.Ringing) {\n logger.debug(`Call ${this.callId} initWithInvite() invite has expired. Hanging up.`);\n this.hangupParty = CallParty.Remote; // effectively\n this.state = CallState.Ended;\n this.stopAllMedia();\n if (this.peerConn!.signalingState != \"closed\") {\n this.peerConn!.close();\n }\n this.stats?.removeStatsReportGatherer(this.callId);\n this.emit(CallEvent.Hangup, this);\n }\n }, invite.lifetime - event.getLocalAge());\n\n const onState = (state: CallState): void => {\n if (state !== CallState.Ringing) {\n clearTimeout(ringingTimer);\n this.off(CallEvent.State, onState);\n }\n };\n this.on(CallEvent.State, onState);\n }\n }\n\n /**\n * Configure this call from a hangup or reject event. Used by MatrixClient.\n * @param event - The m.call.hangup event\n */\n public initWithHangup(event: MatrixEvent): void {\n // perverse as it may seem, sometimes we want to instantiate a call with a\n // hangup message (because when getting the state of the room on load, events\n // come in reverse order and we want to remember that a call has been hung up)\n this.state = CallState.Ended;\n }\n\n private shouldAnswerWithMediaType(\n wantedValue: boolean | undefined,\n valueOfTheOtherSide: boolean,\n type: \"audio\" | \"video\",\n ): boolean {\n if (wantedValue && !valueOfTheOtherSide) {\n // TODO: Figure out how to do this\n logger.warn(\n `Call ${this.callId} shouldAnswerWithMediaType() unable to answer with ${type} because the other side isn't sending it either.`,\n );\n return false;\n } else if (\n !isNullOrUndefined(wantedValue) &&\n wantedValue !== valueOfTheOtherSide &&\n !this.opponentSupportsSDPStreamMetadata()\n ) {\n logger.warn(\n `Call ${this.callId} shouldAnswerWithMediaType() unable to answer with ${type}=${wantedValue} because the other side doesn't support it. Answering with ${type}=${valueOfTheOtherSide}.`,\n );\n return valueOfTheOtherSide!;\n }\n return wantedValue ?? valueOfTheOtherSide!;\n }\n\n /**\n * Answer a call.\n */\n public async answer(audio?: boolean, video?: boolean): Promise<void> {\n if (this.inviteOrAnswerSent) return;\n // TODO: Figure out how to do this\n if (audio === false && video === false) throw new Error(\"You CANNOT answer a call without media\");\n\n if (!this.localUsermediaStream && !this.waitForLocalAVStream) {\n const prevState = this.state;\n const answerWithAudio = this.shouldAnswerWithMediaType(audio, this.hasRemoteUserMediaAudioTrack, \"audio\");\n const answerWithVideo = this.shouldAnswerWithMediaType(video, this.hasRemoteUserMediaVideoTrack, \"video\");\n\n this.state = CallState.WaitLocalMedia;\n this.waitForLocalAVStream = true;\n\n try {\n const stream = await this.client.getMediaHandler().getUserMediaStream(answerWithAudio, answerWithVideo);\n this.waitForLocalAVStream = false;\n const usermediaFeed = new CallFeed({\n client: this.client,\n roomId: this.roomId,\n userId: this.client.getUserId()!,\n deviceId: this.client.getDeviceId() ?? undefined,\n stream,\n purpose: SDPStreamMetadataPurpose.Usermedia,\n audioMuted: false,\n videoMuted: false,\n });\n\n const feeds = [usermediaFeed];\n\n if (this.localScreensharingFeed) {\n feeds.push(this.localScreensharingFeed);\n }\n\n this.answerWithCallFeeds(feeds);\n } catch (e) {\n if (answerWithVideo) {\n // Try to answer without video\n logger.warn(\n `Call ${this.callId} answer() failed to getUserMedia(), trying to getUserMedia() without video`,\n );\n this.state = prevState;\n this.waitForLocalAVStream = false;\n await this.answer(answerWithAudio, false);\n } else {\n this.getUserMediaFailed(<Error>e);\n return;\n }\n }\n } else if (this.waitForLocalAVStream) {\n this.state = CallState.WaitLocalMedia;\n }\n }\n\n public answerWithCallFeeds(callFeeds: CallFeed[]): void {\n if (this.inviteOrAnswerSent) return;\n\n this.queueGotCallFeedsForAnswer(callFeeds);\n }\n\n /**\n * Replace this call with a new call, e.g. for glare resolution. Used by\n * MatrixClient.\n * @param newCall - The new call.\n */\n public replacedBy(newCall: MatrixCall): void {\n logger.debug(`Call ${this.callId} replacedBy() running (newCallId=${newCall.callId})`);\n if (this.state === CallState.WaitLocalMedia) {\n logger.debug(\n `Call ${this.callId} replacedBy() telling new call to wait for local media (newCallId=${newCall.callId})`,\n );\n newCall.waitForLocalAVStream = true;\n } else if ([CallState.CreateOffer, CallState.InviteSent].includes(this.state)) {\n if (newCall.direction === CallDirection.Outbound) {\n newCall.queueGotCallFeedsForAnswer([]);\n } else {\n logger.debug(\n `Call ${this.callId} replacedBy() handing local stream to new call(newCallId=${newCall.callId})`,\n );\n newCall.queueGotCallFeedsForAnswer(this.getLocalFeeds().map((feed) => feed.clone()));\n }\n }\n this.successor = newCall;\n this.emit(CallEvent.Replaced, newCall, this);\n this.hangup(CallErrorCode.Replaced, true);\n }\n\n /**\n * Hangup a call.\n * @param reason - The reason why the call is being hung up.\n * @param suppressEvent - True to suppress emitting an event.\n */\n public hangup(reason: CallErrorCode, suppressEvent: boolean): void {\n if (this.callHasEnded()) return;\n\n logger.debug(`Call ${this.callId} hangup() ending call (reason=${reason})`);\n this.terminate(CallParty.Local, reason, !suppressEvent);\n // We don't want to send hangup here if we didn't even get to sending an invite\n if ([CallState.Fledgling, CallState.WaitLocalMedia].includes(this.state)) return;\n const content: Omit<MCallHangupReject, \"version\" | \"call_id\" | \"party_id\" | \"conf_id\"> = {};\n // Don't send UserHangup reason to older clients\n if ((this.opponentVersion && this.opponentVersion !== 0) || reason !== CallErrorCode.UserHangup) {\n content[\"reason\"] = reason;\n }\n this.sendVoipEvent(EventType.CallHangup, content);\n }\n\n /**\n * Reject a call\n * This used to be done by calling hangup, but is a separate method and protocol\n * event as of MSC2746.\n */\n public reject(): void {\n if (this.state !== CallState.Ringing) {\n throw Error(\"Call must be in 'ringing' state to reject!\");\n }\n\n if (this.opponentVersion === 0) {\n logger.info(\n `Call ${this.callId} reject() opponent version is less than 1: sending hangup instead of reject (opponentVersion=${this.opponentVersion})`,\n );\n this.hangup(CallErrorCode.UserHangup, true);\n return;\n }\n\n logger.debug(\"Rejecting call: \" + this.callId);\n this.terminate(CallParty.Local, CallErrorCode.UserHangup, true);\n this.sendVoipEvent(EventType.CallReject, {});\n }\n\n /**\n * Adds an audio and/or video track - upgrades the call\n * @param audio - should add an audio track\n * @param video - should add an video track\n */\n private async upgradeCall(audio: boolean, video: boolean): Promise<void> {\n // We don't do call downgrades\n if (!audio && !video) return;\n if (!this.opponentSupportsSDPStreamMetadata()) return;\n\n try {\n logger.debug(`Call ${this.callId} upgradeCall() upgrading call (audio=${audio}, video=${video})`);\n const getAudio = audio || this.hasLocalUserMediaAudioTrack;\n const getVideo = video || this.hasLocalUserMediaVideoTrack;\n\n // updateLocalUsermediaStream() will take the tracks, use them as\n // replacement and throw the stream away, so it isn't reusable\n const stream = await this.client.getMediaHandler().getUserMediaStream(getAudio, getVideo, false);\n await this.updateLocalUsermediaStream(stream, audio, video);\n } catch (error) {\n logger.error(`Call ${this.callId} upgradeCall() failed to upgrade the call`, error);\n this.emit(\n CallEvent.Error,\n new CallError(CallErrorCode.NoUserMedia, \"Failed to get camera access: \", <Error>error),\n this,\n );\n }\n }\n\n /**\n * Returns true if this.remoteSDPStreamMetadata is defined, otherwise returns false\n * @returns can screenshare\n */\n public opponentSupportsSDPStreamMetadata(): boolean {\n return Boolean(this.remoteSDPStreamMetadata);\n }\n\n /**\n * If there is a screensharing stream returns true, otherwise returns false\n * @returns is screensharing\n */\n public isScreensharing(): boolean {\n return Boolean(this.localScreensharingStream);\n }\n\n /**\n * Starts/stops screensharing\n * @param enabled - the desired screensharing state\n * @param opts - screen sharing options\n * @returns new screensharing state\n */\n public async setScreensharingEnabled(enabled: boolean, opts?: IScreensharingOpts): Promise<boolean> {\n // Skip if there is nothing to do\n if (enabled && this.isScreensharing()) {\n logger.warn(\n `Call ${this.callId} setScreensharingEnabled() there is already a screensharing stream - there is nothing to do!`,\n );\n return true;\n } else if (!enabled && !this.isScreensharing()) {\n logger.warn(\n `Call ${this.callId} setScreensharingEnabled() there already isn't a screensharing stream - there is nothing to do!`,\n );\n return false;\n }\n\n // Fallback to replaceTrack()\n if (!this.opponentSupportsSDPStreamMetadata()) {\n return this.setScreensharingEnabledWithoutMetadataSupport(enabled, opts);\n }\n\n logger.debug(`Call ${this.callId} setScreensharingEnabled() running (enabled=${enabled})`);\n if (enabled) {\n try {\n const stream = await this.client.getMediaHandler().getScreensharingStream(opts);\n if (!stream) return false;\n this.pushNewLocalFeed(stream, SDPStreamMetadataPurpose.Screenshare);\n return true;\n } catch (err) {\n logger.error(`Call ${this.callId} setScreensharingEnabled() failed to get screen-sharing stream:`, err);\n return false;\n }\n } else {\n const audioTransceiver = this.transceivers.get(\n getTransceiverKey(SDPStreamMetadataPurpose.Screenshare, \"audio\"),\n );\n const videoTransceiver = this.transceivers.get(\n getTransceiverKey(SDPStreamMetadataPurpose.Screenshare, \"video\"),\n );\n\n for (const transceiver of [audioTransceiver, videoTransceiver]) {\n // this is slightly mixing the track and transceiver API but is basically just shorthand\n // for removing the sender.\n if (transceiver && transceiver.sender) this.peerConn!.removeTrack(transceiver.sender);\n }\n\n this.client.getMediaHandler().stopScreensharingStream(this.localScreensharingStream!);\n this.deleteFeedByStream(this.localScreensharingStream!);\n return false;\n }\n }\n\n /**\n * Starts/stops screensharing\n * Should be used ONLY if the opponent doesn't support SDPStreamMetadata\n * @param enabled - the desired screensharing state\n * @param opts - screen sharing options\n * @returns new screensharing state\n */\n private async setScreensharingEnabledWithoutMetadataSupport(\n enabled: boolean,\n opts?: IScreensharingOpts,\n ): Promise<boolean> {\n logger.debug(\n `Call ${this.callId} setScreensharingEnabledWithoutMetadataSupport() running (enabled=${enabled})`,\n );\n if (enabled) {\n try {\n const stream = await this.client.getMediaHandler().getScreensharingStream(opts);\n if (!stream) return false;\n\n const track = stream.getTracks().find((track) => track.kind === \"video\");\n\n const sender = this.transceivers.get(\n getTransceiverKey(SDPStreamMetadataPurpose.Usermedia, \"video\"),\n )?.sender;\n\n sender?.replaceTrack(track ?? null);\n\n this.pushNewLocalFeed(stream, SDPStreamMetadataPurpose.Screenshare, false);\n\n return true;\n } catch (err) {\n logger.error(\n `Call ${this.callId} setScreensharingEnabledWithoutMetadataSupport() failed to get screen-sharing stream:`,\n err,\n );\n return false;\n }\n } else {\n const track = this.localUsermediaStream?.getTracks().find((track) => track.kind === \"video\");\n const sender = this.transceivers.get(\n getTransceiverKey(SDPStreamMetadataPurpose.Usermedia, \"video\"),\n )?.sender;\n sender?.replaceTrack(track ?? null);\n\n this.client.getMediaHandler().stopScreensharingStream(this.localScreensharingStream!);\n this.deleteFeedByStream(this.localScreensharingStream!);\n\n return false;\n }\n }\n\n /**\n * Replaces/adds the tracks from the passed stream to the localUsermediaStream\n * @param stream - to use a replacement for the local usermedia stream\n */\n public async updateLocalUsermediaStream(\n stream: MediaStream,\n forceAudio = false,\n forceVideo = false,\n ): Promise<void> {\n const callFeed = this.localUsermediaFeed!;\n const audioEnabled = forceAudio || (!callFeed.isAudioMuted() && !this.remoteOnHold);\n const videoEnabled = forceVideo || (!callFeed.isVideoMuted() && !this.remoteOnHold);\n logger.log(\n `Call ${this.callId} updateLocalUsermediaStream() running (streamId=${stream.id}, audio=${audioEnabled}, video=${videoEnabled})`,\n );\n setTracksEnabled(stream.getAudioTracks(), audioEnabled);\n setTracksEnabled(stream.getVideoTracks(), videoEnabled);\n\n // We want to keep the same stream id, so we replace the tracks rather\n // than the whole stream.\n\n // Firstly, we replace the tracks in our localUsermediaStream.\n for (const track of this.localUsermediaStream!.getTracks()) {\n this.localUsermediaStream!.removeTrack(track);\n track.stop();\n }\n for (const track of stream.getTracks()) {\n this.localUsermediaStream!.addTrack(track);\n }\n\n // Then replace the old tracks, if possible.\n for (const track of stream.getTracks()) {\n const tKey = getTransceiverKey(SDPStreamMetadataPurpose.Usermedia, track.kind);\n\n const transceiver = this.transceivers.get(tKey);\n const oldSender = transceiver?.sender;\n let added = false;\n if (oldSender) {\n try {\n logger.info(\n `Call ${this.callId} updateLocalUsermediaStream() replacing track (id=${track.id}, kind=${track.kind}, streamId=${stream.id}, streamPurpose=${callFeed.purpose})`,\n );\n await oldSender.replaceTrack(track);\n // Set the direction to indicate we're going to be sending.\n // This is only necessary in the cases where we're upgrading\n // the call to video after downgrading it.\n transceiver.direction = transceiver.direction === \"inactive\" ? \"sendonly\" : \"sendrecv\";\n added = true;\n } catch (error) {\n logger.warn(\n `Call ${this.callId} updateLocalUsermediaStream() replaceTrack failed: adding new transceiver instead`,\n error,\n );\n }\n }\n\n if (!added) {\n logger.info(\n `Call ${this.callId} updateLocalUsermediaStream() adding track to peer connection (id=${track.id}, kind=${track.kind}, streamId=${stream.id}, streamPurpose=${callFeed.purpose})`,\n );\n\n const newSender = this.peerConn!.addTrack(track, this.localUsermediaStream!);\n const newTransceiver = this.peerConn!.getTransceivers().find((t) => t.sender === newSender);\n if (newTransceiver) {\n this.transceivers.set(tKey, newTransceiver);\n } else {\n logger.warn(\n `Call ${this.callId} updateLocalUsermediaStream() couldn't find matching transceiver for newly added track!`,\n );\n }\n }\n }\n }\n\n /**\n * Set whether our outbound video should be muted or not.\n * @param muted - True to mute the outbound video.\n * @returns the new mute state\n */\n public async setLocalVideoMuted(muted: boolean): Promise<boolean> {\n logger.log(`Call ${this.callId} setLocalVideoMuted() running ${muted}`);\n\n // if we were still thinking about stopping and removing the video\n // track: don't, because we want it back.\n if (!muted && this.stopVideoTrackTimer !== undefined) {\n clearTimeout(this.stopVideoTrackTimer);\n this.stopVideoTrackTimer = undefined;\n }\n\n if (!(await this.client.getMediaHandler().hasVideoDevice())) {\n return this.isLocalVideoMuted();\n }\n\n if (!this.hasUserMediaVideoSender && !muted) {\n this.localUsermediaFeed?.setAudioVideoMuted(null, muted);\n await this.upgradeCall(false, true);\n return this.isLocalVideoMuted();\n }\n\n // we may not have a video track - if not, re-request usermedia\n if (!muted && this.localUsermediaStream!.getVideoTracks().length === 0) {\n const stream = await this.client.getMediaHandler().getUserMediaStream(true, true);\n await this.updateLocalUsermediaStream(stream);\n }\n\n this.localUsermediaFeed?.setAudioVideoMuted(null, muted);\n\n this.updateMuteStatus();\n await this.sendMetadataUpdate();\n\n // if we're muting video, set a timeout to stop & remove the video track so we release\n // the camera. We wait a short time to do this because when we disable a track, WebRTC\n // will send black video for it. If we just stop and remove it straight away, the video\n // will just freeze which means that when we unmute video, the other side will briefly\n // get a static frame of us from before we muted. This way, the still frame is just black.\n // A very small delay is not always enough so the theory here is that it needs to be long\n // enough for WebRTC to encode a frame: 120ms should be long enough even if we're only\n // doing 10fps.\n if (muted) {\n this.stopVideoTrackTimer = setTimeout(() => {\n for (const t of this.localUsermediaStream!.getVideoTracks()) {\n t.stop();\n this.localUsermediaStream!.removeTrack(t);\n }\n }, 120);\n }\n\n return this.isLocalVideoMuted();\n }\n\n /**\n * Check if local video is muted.\n *\n * If there are multiple video tracks, <i>all</i> of the tracks need to be muted\n * for this to return true. This means if there are no video tracks, this will\n * return true.\n * @returns True if the local preview video is muted, else false\n * (including if the call is not set up yet).\n */\n public isLocalVideoMuted(): boolean {\n return this.localUsermediaFeed?.isVideoMuted() ?? false;\n }\n\n /**\n * Set whether the microphone should be muted or not.\n * @param muted - True to mute the mic.\n * @returns the new mute state\n */\n public async setMicrophoneMuted(muted: boolean): Promise<boolean> {\n logger.log(`Call ${this.callId} setMicrophoneMuted() running ${muted}`);\n if (!(await this.client.getMediaHandler().hasAudioDevice())) {\n return this.isMicrophoneMuted();\n }\n\n if (!muted && (!this.hasUserMediaAudioSender || !this.hasLocalUserMediaAudioTrack)) {\n await this.upgradeCall(true, false);\n return this.isMicrophoneMuted();\n }\n this.localUsermediaFeed?.setAudioVideoMuted(muted, null);\n this.updateMuteStatus();\n await this.sendMetadataUpdate();\n return this.isMicrophoneMuted();\n }\n\n /**\n * Check if the microphone is muted.\n *\n * If there are multiple audio tracks, <i>all</i> of the tracks need to be muted\n * for this to return true. This means if there are no audio tracks, this will\n * return true.\n * @returns True if the mic is muted, else false (including if the call\n * is not set up yet).\n */\n public isMicrophoneMuted(): boolean {\n return this.localUsermediaFeed?.isAudioMuted() ?? false;\n }\n\n /**\n * @returns true if we have put the party on the other side of the call on hold\n * (that is, we are signalling to them that we are not listening)\n */\n public isRemoteOnHold(): boolean {\n return this.remoteOnHold;\n }\n\n public setRemoteOnHold(onHold: boolean): void {\n if (this.isRemoteOnHold() === onHold) return;\n this.remoteOnHold = onHold;\n\n for (const transceiver of this.peerConn!.getTransceivers()) {\n // We don't send hold music or anything so we're not actually\n // sending anything, but sendrecv is fairly standard for hold and\n // it makes it a lot easier to figure out who's put who on hold.\n transceiver.direction = onHold ? \"sendonly\" : \"sendrecv\";\n }\n this.updateMuteStatus();\n this.sendMetadataUpdate();\n\n this.emit(CallEvent.RemoteHoldUnhold, this.remoteOnHold, this);\n }\n\n /**\n * Indicates whether we are 'on hold' to the remote party (ie. if true,\n * they cannot hear us).\n * @returns true if the other party has put us on hold\n */\n public isLocalOnHold(): boolean {\n if (this.state !== CallState.Connected) return false;\n\n let callOnHold = true;\n\n // We consider a call to be on hold only if *all* the tracks are on hold\n // (is this the right thing to do?)\n for (const transceiver of this.peerConn!.getTransceivers()) {\n const trackOnHold = [\"inactive\", \"recvonly\"].includes(transceiver.currentDirection!);\n\n if (!trackOnHold) callOnHold = false;\n }\n\n return callOnHold;\n }\n\n /**\n * Sends a DTMF digit to the other party\n * @param digit - The digit (nb. string - '#' and '*' are dtmf too)\n */\n public sendDtmfDigit(digit: string): void {\n for (const sender of this.peerConn!.getSenders()) {\n if (sender.track?.kind === \"audio\" && sender.dtmf) {\n sender.dtmf.insertDTMF(digit);\n return;\n }\n }\n\n throw new Error(\"Unable to find a track to send DTMF on\");\n }\n\n private updateMuteStatus(): void {\n const micShouldBeMuted = this.isMicrophoneMuted() || this.remoteOnHold;\n const vidShouldBeMuted = this.isLocalVideoMuted() || this.remoteOnHold;\n\n logger.log(\n `Call ${this.callId} updateMuteStatus stream ${\n this.localUsermediaStream!.id\n } micShouldBeMuted ${micShouldBeMuted} vidShouldBeMuted ${vidShouldBeMuted}`,\n );\n\n setTracksEnabled(this.localUsermediaStream!.getAudioTracks(), !micShouldBeMuted);\n setTracksEnabled(this.localUsermediaStream!.getVideoTracks(), !vidShouldBeMuted);\n }\n\n public async sendMetadataUpdate(): Promise<void> {\n await this.sendVoipEvent(EventType.CallSDPStreamMetadataChanged, {\n [SDPStreamMetadataKey.name]: this.getLocalSDPStreamMetadata(),\n });\n }\n\n private gotCallFeedsForInvite(callFeeds: CallFeed[], requestScreenshareFeed = false): void {\n if (this.successor) {\n this.successor.queueGotCallFeedsForAnswer(callFeeds);\n return;\n }\n if (this.callHasEnded()) {\n this.stopAllMedia();\n return;\n }\n\n for (const feed of callFeeds) {\n this.pushLocalFeed(feed);\n }\n\n if (requestScreenshareFeed) {\n this.peerConn!.addTransceiver(\"video\", {\n direction: \"recvonly\",\n });\n }\n\n this.state = CallState.CreateOffer;\n\n logger.debug(`Call ${this.callId} gotUserMediaForInvite() run`);\n // Now we wait for the negotiationneeded event\n }\n\n private async sendAnswer(): Promise<void> {\n const answerContent: Omit<MCallAnswer, \"version\" | \"call_id\" | \"party_id\" | \"conf_id\"> = {\n answer: {\n sdp: this.peerConn!.localDescription!.sdp,\n // type is now deprecated as of Matrix VoIP v1, but\n // required to still be sent for backwards compat\n type: this.peerConn!.localDescription!.type,\n },\n [SDPStreamMetadataKey.name]: this.getLocalSDPStreamMetadata(true),\n };\n\n answerContent.capabilities = {\n \"m.call.transferee\": this.client.supportsCallTransfer,\n \"m.call.dtmf\": false,\n };\n\n // We have just taken the local description from the peerConn which will\n // contain all the local candidates added so far, so we can discard any candidates\n // we had queued up because they'll be in the answer.\n const discardCount = this.discardDuplicateCandidates();\n logger.info(\n `Call ${this.callId} sendAnswer() discarding ${discardCount} candidates that will be sent in answer`,\n );\n\n try {\n await this.sendVoipEvent(EventType.CallAnswer, answerContent);\n // If this isn't the first time we've tried to send the answer,\n // we may have candidates queued up, so send them now.\n this.inviteOrAnswerSent = true;\n } catch (error) {\n // We've failed to answer: back to the ringing state\n this.state = CallState.Ringing;\n if (error instanceof MatrixError && error.event) this.client.cancelPendingEvent(error.event);\n\n let code = CallErrorCode.SendAnswer;\n let message = \"Failed to send answer\";\n if ((<Error>error).name == \"UnknownDeviceError\") {\n code = CallErrorCode.UnknownDevices;\n message = \"Unknown devices present in the room\";\n }\n this.emit(CallEvent.Error, new CallError(code, message, <Error>error), this);\n throw error;\n }\n\n // error handler re-throws so this won't happen on error, but\n // we don't want the same error handling on the candidate queue\n this.sendCandidateQueue();\n }\n\n private queueGotCallFeedsForAnswer(callFeeds: CallFeed[]): void {\n // Ensure only one negotiate/answer event is being processed at a time.\n if (this.responsePromiseChain) {\n this.responsePromiseChain = this.responsePromiseChain.then(() => this.gotCallFeedsForAnswer(callFeeds));\n } else {\n this.responsePromiseChain = this.gotCallFeedsForAnswer(callFeeds);\n }\n }\n\n // Enables DTX (discontinuous transmission) on the given session to reduce\n // bandwidth when transmitting silence\n private mungeSdp(description: RTCSessionDescriptionInit, mods: CodecParamsMod[]): void {\n // The only way to enable DTX at this time is through SDP munging\n const sdp = parseSdp(description.sdp!);\n\n sdp.media.forEach((media) => {\n const payloadTypeToCodecMap = new Map<number, string>();\n const codecToPayloadTypeMap = new Map<string, number>();\n for (const rtp of media.rtp) {\n payloadTypeToCodecMap.set(rtp.payload, rtp.codec);\n codecToPayloadTypeMap.set(rtp.codec, rtp.payload);\n }\n\n for (const mod of mods) {\n if (mod.mediaType !== media.type) continue;\n\n if (!codecToPayloadTypeMap.has(mod.codec)) {\n logger.info(\n `Call ${this.callId} mungeSdp() ignoring SDP modifications for ${mod.codec} as it's not present.`,\n );\n continue;\n }\n\n const extraConfig: string[] = [];\n if (mod.enableDtx !== undefined) {\n extraConfig.push(`usedtx=${mod.enableDtx ? \"1\" : \"0\"}`);\n }\n if (mod.maxAverageBitrate !== undefined) {\n extraConfig.push(`maxaveragebitrate=${mod.maxAverageBitrate}`);\n }\n\n let found = false;\n for (const fmtp of media.fmtp) {\n if (payloadTypeToCodecMap.get(fmtp.payload) === mod.codec) {\n found = true;\n fmtp.config += \";\" + extraConfig.join(\";\");\n }\n }\n if (!found) {\n media.fmtp.push({\n payload: codecToPayloadTypeMap.get(mod.codec)!,\n config: extraConfig.join(\";\"),\n });\n }\n }\n });\n description.sdp = writeSdp(sdp);\n }\n\n private async createOffer(): Promise<RTCSessionDescriptionInit> {\n const offer = await this.peerConn!.createOffer();\n this.mungeSdp(offer, getCodecParamMods(this.isPtt));\n return offer;\n }\n\n private async createAnswer(): Promise<RTCSessionDescriptionInit> {\n const answer = await this.peerConn!.createAnswer();\n this.mungeSdp(answer, getCodecParamMods(this.isPtt));\n return answer;\n }\n\n private async gotCallFeedsForAnswer(callFeeds: CallFeed[]): Promise<void> {\n if (this.callHasEnded()) return;\n\n this.waitForLocalAVStream = false;\n\n for (const feed of callFeeds) {\n this.pushLocalFeed(feed);\n }\n\n this.state = CallState.CreateAnswer;\n\n let answer: RTCSessionDescriptionInit;\n try {\n this.getRidOfRTXCodecs();\n answer = await this.createAnswer();\n } catch (err) {\n logger.debug(`Call ${this.callId} gotCallFeedsForAnswer() failed to create answer: `, err);\n this.terminate(CallParty.Local, CallErrorCode.CreateAnswer, true);\n return;\n }\n\n try {\n await this.peerConn!.setLocalDescription(answer);\n\n // make sure we're still going\n if (this.callHasEnded()) return;\n\n this.state = CallState.Connecting;\n\n // Allow a short time for initial candidates to be gathered\n await new Promise((resolve) => {\n setTimeout(resolve, 200);\n });\n\n // make sure the call hasn't ended before we continue\n if (this.callHasEnded()) return;\n\n this.sendAnswer();\n } catch (err) {\n logger.debug(`Call ${this.callId} gotCallFeedsForAnswer() error setting local description!`, err);\n this.terminate(CallParty.Local, CallErrorCode.SetLocalDescription, true);\n return;\n }\n }\n\n /**\n * Internal\n */\n private gotLocalIceCandidate = (event: RTCPeerConnectionIceEvent): void => {\n if (event.candidate) {\n if (this.candidatesEnded) {\n logger.warn(`Call ${this.callId} gotLocalIceCandidate() got candidate after candidates have ended!`);\n }\n\n logger.debug(`Call ${this.callId} got local ICE ${event.candidate.sdpMid} ${event.candidate.candidate}`);\n\n if (this.callHasEnded()) return;\n\n // As with the offer, note we need to make a copy of this object, not\n // pass the original: that broke in Chrome ~m43.\n if (event.candidate.candidate === \"\") {\n this.queueCandidate(null);\n } else {\n this.queueCandidate(event.candidate);\n }\n }\n };\n\n private onIceGatheringStateChange = (event: Event): void => {\n logger.debug(\n `Call ${this.callId} onIceGatheringStateChange() ice gathering state changed to ${\n this.peerConn!.iceGatheringState\n }`,\n );\n if (this.peerConn?.iceGatheringState === \"complete\") {\n this.queueCandidate(null); // We should leave it to WebRTC to announce the end\n logger.debug(\n `Call ${this.callId} onIceGatheringStateChange() ice gathering state complete, set candidates have ended`,\n );\n }\n };\n\n public async onRemoteIceCandidatesReceived(ev: MatrixEvent): Promise<void> {\n if (this.callHasEnded()) {\n //debuglog(\"Ignoring remote ICE candidate because call has ended\");\n return;\n }\n\n const content = ev.getContent<MCallCandidates>();\n const candidates = content.candidates;\n if (!candidates) {\n logger.info(\n `Call ${this.callId} onRemoteIceCandidatesReceived() ignoring candidates event with no candidates!`,\n );\n return;\n }\n\n const fromPartyId = content.version === 0 ? null : content.party_id || null;\n\n if (this.opponentPartyId === undefined) {\n // we haven't picked an opponent yet so save the candidates\n if (fromPartyId) {\n logger.info(\n `Call ${this.callId} onRemoteIceCandidatesReceived() buffering ${candidates.length} candidates until we pick an opponent`,\n );\n const bufferedCandidates = this.remoteCandidateBuffer.get(fromPartyId) || [];\n bufferedCandidates.push(...candidates);\n this.remoteCandidateBuffer.set(fromPartyId, bufferedCandidates);\n }\n return;\n }\n\n if (!this.partyIdMatches(content)) {\n logger.info(\n `Call ${this.callId} onRemoteIceCandidatesReceived() ignoring candidates from party ID ${content.party_id}: we have chosen party ID ${this.opponentPartyId}`,\n );\n\n return;\n }\n\n await this.addIceCandidates(candidates);\n }\n\n /**\n * Used by MatrixClient.\n */\n public async onAnswerReceived(event: MatrixEvent): Promise<void> {\n const content = event.getContent<MCallAnswer>();\n logger.debug(`Call ${this.callId} onAnswerReceived() running (hangupParty=${content.party_id})`);\n\n if (this.callHasEnded()) {\n logger.debug(`Call ${this.callId} onAnswerReceived() ignoring answer because call has ended`);\n return;\n }\n\n if (this.opponentPartyId !== undefined) {\n logger.info(\n `Call ${this.callId} onAnswerReceived() ignoring answer from party ID ${content.party_id}: we already have an answer/reject from ${this.opponentPartyId}`,\n );\n return;\n }\n\n this.chooseOpponent(event);\n await this.addBufferedIceCandidates();\n\n this.state = CallState.Connecting;\n\n const sdpStreamMetadata = SDPStreamMetadataKey.findIn(content);\n if (sdpStreamMetadata) {\n this.updateRemoteSDPStreamMetadata(sdpStreamMetadata);\n } else {\n logger.warn(\n `Call ${this.callId} onAnswerReceived() did not get any SDPStreamMetadata! Can not send/receive multiple streams`,\n );\n }\n\n try {\n this.isSettingRemoteAnswerPending = true;\n await this.peerConn!.setRemoteDescription(content.answer);\n this.isSettingRemoteAnswerPending = false;\n logger.debug(`Call ${this.callId} onAnswerReceived() set remote description: ${content.answer.type}`);\n } catch (e) {\n this.isSettingRemoteAnswerPending = false;\n logger.debug(`Call ${this.callId} onAnswerReceived() failed to set remote description`, e);\n this.terminate(CallParty.Local, CallErrorCode.SetRemoteDescription, false);\n return;\n }\n\n // If the answer we selected has a party_id, send a select_answer event\n // We do this after setting the remote description since otherwise we'd block\n // call setup on it\n if (this.opponentPartyId !== null) {\n try {\n await this.sendVoipEvent(EventType.CallSelectAnswer, {\n selected_party_id: this.opponentPartyId!,\n });\n } catch (err) {\n // This isn't fatal, and will just mean that if another party has raced to answer\n // the call, they won't know they got rejected, so we carry on & don't retry.\n logger.warn(`Call ${this.callId} onAnswerReceived() failed to send select_answer event`, err);\n }\n }\n }\n\n public async onSelectAnswerReceived(event: MatrixEvent): Promise<void> {\n if (this.direction !== CallDirection.Inbound) {\n logger.warn(\n `Call ${this.callId} onSelectAnswerReceived() got select_answer for an outbound call: ignoring`,\n );\n return;\n }\n\n const selectedPartyId = event.getContent<MCallSelectAnswer>().selected_party_id;\n\n if (selectedPartyId === undefined || selectedPartyId === null) {\n logger.warn(\n `Call ${this.callId} onSelectAnswerReceived() got nonsensical select_answer with null/undefined selected_party_id: ignoring`,\n );\n return;\n }\n\n if (selectedPartyId !== this.ourPartyId) {\n logger.info(\n `Call ${this.callId} onSelectAnswerReceived() got select_answer for party ID ${selectedPartyId}: we are party ID ${this.ourPartyId}.`,\n );\n // The other party has picked somebody else's answer\n await this.terminate(CallParty.Remote, CallErrorCode.AnsweredElsewhere, true);\n }\n }\n\n public async onNegotiateReceived(event: MatrixEvent): Promise<void> {\n const content = event.getContent<MCallInviteNegotiate>();\n const description = content.description;\n if (!description || !description.sdp || !description.type) {\n logger.info(`Call ${this.callId} onNegotiateReceived() ignoring invalid m.call.negotiate event`);\n return;\n }\n // Politeness always follows the direction of the call: in a glare situation,\n // we pick either the inbound or outbound call, so one side will always be\n // inbound and one outbound\n const polite = this.direction === CallDirection.Inbound;\n\n // Here we follow the perfect negotiation logic from\n // https://w3c.github.io/webrtc-pc/#perfect-negotiation-example\n const readyForOffer =\n !this.makingOffer && (this.peerConn!.signalingState === \"stable\" || this.isSettingRemoteAnswerPending);\n\n const offerCollision = description.type === \"offer\" && !readyForOffer;\n\n this.ignoreOffer = !polite && offerCollision;\n if (this.ignoreOffer) {\n logger.info(\n `Call ${this.callId} onNegotiateReceived() ignoring colliding negotiate event because we're impolite`,\n );\n return;\n }\n\n const prevLocalOnHold = this.isLocalOnHold();\n\n const sdpStreamMetadata = SDPStreamMetadataKey.findIn<SDPStreamMetadata>(content);\n if (sdpStreamMetadata) {\n this.updateRemoteSDPStreamMetadata(sdpStreamMetadata);\n } else {\n logger.warn(\n `Call ${this.callId} onNegotiateReceived() received negotiation event without SDPStreamMetadata!`,\n );\n }\n\n try {\n this.isSettingRemoteAnswerPending = description.type == \"answer\";\n await this.peerConn!.setRemoteDescription(description); // SRD rolls back as needed\n this.isSettingRemoteAnswerPending = false;\n\n logger.debug(`Call ${this.callId} onNegotiateReceived() set remote description: ${description.type}`);\n\n if (description.type === \"offer\") {\n let answer: RTCSessionDescriptionInit;\n try {\n this.getRidOfRTXCodecs();\n answer = await this.createAnswer();\n } catch (err) {\n logger.debug(`Call ${this.callId} onNegotiateReceived() failed to create answer: `, err);\n this.terminate(CallParty.Local, CallErrorCode.CreateAnswer, true);\n return;\n }\n\n await this.peerConn!.setLocalDescription(answer);\n logger.debug(`Call ${this.callId} onNegotiateReceived() create an answer`);\n\n this.sendVoipEvent(EventType.CallNegotiate, {\n lifetime: CALL_TIMEOUT_MS,\n description: this.peerConn!.localDescription?.toJSON() as RTCSessionDescription,\n [SDPStreamMetadataKey.name]: this.getLocalSDPStreamMetadata(true),\n });\n }\n } catch (err) {\n this.isSettingRemoteAnswerPending = false;\n logger.warn(`Call ${this.callId} onNegotiateReceived() failed to complete negotiation`, err);\n }\n\n const newLocalOnHold = this.isLocalOnHold();\n if (prevLocalOnHold !== newLocalOnHold) {\n this.emit(CallEvent.LocalHoldUnhold, newLocalOnHold, this);\n // also this one for backwards compat\n this.emit(CallEvent.HoldUnhold, newLocalOnHold);\n }\n }\n\n private updateRemoteSDPStreamMetadata(metadata: SDPStreamMetadata): void {\n this.remoteSDPStreamMetadata = recursivelyAssign(this.remoteSDPStreamMetadata || {}, metadata, true);\n for (const feed of this.getRemoteFeeds()) {\n const streamId = feed.stream.id;\n const metadata = this.remoteSDPStreamMetadata![streamId];\n\n feed.setAudioVideoMuted(metadata?.audio_muted, metadata?.video_muted);\n feed.purpose = this.remoteSDPStreamMetadata![streamId]?.purpose;\n }\n }\n\n public onSDPStreamMetadataChangedReceived(event: MatrixEvent): void {\n const content = event.getContent<MCallSDPStreamMetadataChanged>();\n const metadata = SDPStreamMetadataKey.findIn<SDPStreamMetadata>(content);\n if (metadata) {\n this.updateRemoteSDPStreamMetadata(metadata);\n }\n }\n\n public async onAssertedIdentityReceived(event: MatrixEvent): Promise<void> {\n const content = event.getContent<MCAllAssertedIdentity>();\n if (!content.asserted_identity) return;\n\n this.remoteAssertedIdentity = {\n id: content.asserted_identity.id,\n displayName: content.asserted_identity.display_name,\n };\n this.emit(CallEvent.AssertedIdentityChanged, this);\n }\n\n public callHasEnded(): boolean {\n // This exists as workaround to typescript trying to be clever and erroring\n // when putting if (this.state === CallState.Ended) return; twice in the same\n // function, even though that function is async.\n return this.state === CallState.Ended;\n }\n\n private queueGotLocalOffer(): void {\n // Ensure only one negotiate/answer event is being processed at a time.\n if (this.responsePromiseChain) {\n this.responsePromiseChain = this.responsePromiseChain.then(() => this.wrappedGotLocalOffer());\n } else {\n this.responsePromiseChain = this.wrappedGotLocalOffer();\n }\n }\n\n private async wrappedGotLocalOffer(): Promise<void> {\n this.makingOffer = true;\n try {\n // XXX: in what situations do we believe gotLocalOffer actually throws? It appears\n // to handle most of its exceptions itself and terminate the call. I'm not entirely\n // sure it would ever throw, so I can't add a test for these lines.\n // Also the tense is different between \"gotLocalOffer\" and \"getLocalOfferFailed\" so\n // it's not entirely clear whether getLocalOfferFailed is just misnamed or whether\n // they've been cross-polinated somehow at some point.\n await this.gotLocalOffer();\n } catch (e) {\n this.getLocalOfferFailed(e as Error);\n return;\n } finally {\n this.makingOffer = false;\n }\n }\n\n private async gotLocalOffer(): Promise<void> {\n logger.debug(`Call ${this.callId} gotLocalOffer() running`);\n\n if (this.callHasEnded()) {\n logger.debug(\n `Call ${this.callId} gotLocalOffer() ignoring newly created offer because the call has ended\"`,\n );\n return;\n }\n\n let offer: RTCSessionDescriptionInit;\n try {\n this.getRidOfRTXCodecs();\n offer = await this.createOffer();\n } catch (err) {\n logger.debug(`Call ${this.callId} gotLocalOffer() failed to create offer: `, err);\n this.terminate(CallParty.Local, CallErrorCode.CreateOffer, true);\n return;\n }\n\n try {\n await this.peerConn!.setLocalDescription(offer);\n } catch (err) {\n logger.debug(`Call ${this.callId} gotLocalOffer() error setting local description!`, err);\n this.terminate(CallParty.Local, CallErrorCode.SetLocalDescription, true);\n return;\n }\n\n if (this.peerConn!.iceGatheringState === \"gathering\") {\n // Allow a short time for initial candidates to be gathered\n await new Promise((resolve) => {\n setTimeout(resolve, 200);\n });\n }\n\n if (this.callHasEnded()) return;\n\n const eventType = this.state === CallState.CreateOffer ? EventType.CallInvite : EventType.CallNegotiate;\n\n const content = {\n lifetime: CALL_TIMEOUT_MS,\n } as MCallInviteNegotiate;\n\n if (eventType === EventType.CallInvite && this.invitee) {\n content.invitee = this.invitee;\n }\n\n // clunky because TypeScript can't follow the types through if we use an expression as the key\n if (this.state === CallState.CreateOffer) {\n content.offer = this.peerConn!.localDescription?.toJSON() as RTCSessionDescription;\n } else {\n content.description = this.peerConn!.localDescription?.toJSON() as RTCSessionDescription;\n }\n\n content.capabilities = {\n \"m.call.transferee\": this.client.supportsCallTransfer,\n \"m.call.dtmf\": false,\n };\n\n content[SDPStreamMetadataKey.name] = this.getLocalSDPStreamMetadata(true);\n\n // Get rid of any candidates waiting to be sent: they'll be included in the local\n // description we just got and will send in the offer.\n const discardCount = this.discardDuplicateCandidates();\n logger.info(\n `Call ${this.callId} gotLocalOffer() discarding ${discardCount} candidates that will be sent in offer`,\n );\n\n try {\n await this.sendVoipEvent(eventType, content);\n } catch (error) {\n logger.error(`Call ${this.callId} gotLocalOffer() failed to send invite`, error);\n if (error instanceof MatrixError && error.event) this.client.cancelPendingEvent(error.event);\n\n let code = CallErrorCode.SignallingFailed;\n let message = \"Signalling failed\";\n if (this.state === CallState.CreateOffer) {\n code = CallErrorCode.SendInvite;\n message = \"Failed to send invite\";\n }\n if ((<Error>error).name == \"UnknownDeviceError\") {\n code = CallErrorCode.UnknownDevices;\n message = \"Unknown devices present in the room\";\n }\n\n this.emit(CallEvent.Error, new CallError(code, message, <Error>error), this);\n this.terminate(CallParty.Local, code, false);\n\n // no need to carry on & send the candidate queue, but we also\n // don't want to rethrow the error\n return;\n }\n\n this.sendCandidateQueue();\n if (this.state === CallState.CreateOffer) {\n this.inviteOrAnswerSent = true;\n this.state = CallState.InviteSent;\n this.inviteTimeout = setTimeout(() => {\n this.inviteTimeout = undefined;\n if (this.state === CallState.InviteSent) {\n this.hangup(CallErrorCode.InviteTimeout, false);\n }\n }, CALL_TIMEOUT_MS);\n }\n }\n\n private getLocalOfferFailed = (err: Error): void => {\n logger.error(`Call ${this.callId} getLocalOfferFailed() running`, err);\n\n this.emit(\n CallEvent.Error,\n new CallError(CallErrorCode.LocalOfferFailed, \"Failed to get local offer!\", err),\n this,\n );\n this.terminate(CallParty.Local, CallErrorCode.LocalOfferFailed, false);\n };\n\n private getUserMediaFailed = (err: Error): void => {\n if (this.successor) {\n this.successor.getUserMediaFailed(err);\n return;\n }\n\n logger.warn(`Call ${this.callId} getUserMediaFailed() failed to get user media - ending call`, err);\n\n this.emit(\n CallEvent.Error,\n new CallError(\n CallErrorCode.NoUserMedia,\n \"Couldn't start capturing media! Is your microphone set up and does this app have permission?\",\n err,\n ),\n this,\n );\n this.terminate(CallParty.Local, CallErrorCode.NoUserMedia, false);\n };\n\n private placeCallFailed = (err: Error): void => {\n if (this.successor) {\n this.successor.placeCallFailed(err);\n return;\n }\n\n logger.warn(`Call ${this.callId} placeCallWithCallFeeds() failed - ending call`, err);\n\n this.emit(\n CallEvent.Error,\n new CallError(CallErrorCode.IceFailed, \"Couldn't start call! Invalid ICE server configuration.\", err),\n this,\n );\n this.terminate(CallParty.Local, CallErrorCode.IceFailed, false);\n };\n\n private onIceConnectionStateChanged = (): void => {\n if (this.callHasEnded()) {\n return; // because ICE can still complete as we're ending the call\n }\n logger.debug(\n `Call ${this.callId} onIceConnectionStateChanged() running (state=${this.peerConn?.iceConnectionState}, conn=${this.peerConn?.connectionState})`,\n );\n\n // ideally we'd consider the call to be connected when we get media but\n // chrome doesn't implement any of the 'onstarted' events yet\n if ([\"connected\", \"completed\"].includes(this.peerConn?.iceConnectionState ?? \"\")) {\n clearTimeout(this.iceDisconnectedTimeout);\n this.iceDisconnectedTimeout = undefined;\n if (this.iceReconnectionTimeOut) {\n clearTimeout(this.iceReconnectionTimeOut);\n }\n this.state = CallState.Connected;\n\n if (!this.callLengthInterval && !this.callStartTime) {\n this.callStartTime = Date.now();\n\n this.callLengthInterval = setInterval(() => {\n this.emit(CallEvent.LengthChanged, Math.round((Date.now() - this.callStartTime!) / 1000), this);\n }, CALL_LENGTH_INTERVAL);\n }\n } else if (this.peerConn?.iceConnectionState == \"failed\") {\n this.candidatesEnded = false;\n // Firefox for Android does not yet have support for restartIce()\n // (the types say it's always defined though, so we have to cast\n // to prevent typescript from warning).\n if (this.peerConn?.restartIce as (() => void) | null) {\n this.candidatesEnded = false;\n logger.debug(\n `Call ${this.callId} onIceConnectionStateChanged() ice restart (state=${this.peerConn?.iceConnectionState})`,\n );\n this.peerConn!.restartIce();\n } else {\n logger.info(\n `Call ${this.callId} onIceConnectionStateChanged() hanging up call (ICE failed and no ICE restart method)`,\n );\n this.hangup(CallErrorCode.IceFailed, false);\n }\n } else if (this.peerConn?.iceConnectionState == \"disconnected\") {\n this.candidatesEnded = false;\n this.iceReconnectionTimeOut = setTimeout((): void => {\n logger.info(\n `Call ${this.callId} onIceConnectionStateChanged() ICE restarting because of ICE disconnected, (state=${this.peerConn?.iceConnectionState}, conn=${this.peerConn?.connectionState})`,\n );\n if (this.peerConn?.restartIce as (() => void) | null) {\n this.candidatesEnded = false;\n this.peerConn!.restartIce();\n }\n this.iceReconnectionTimeOut = undefined;\n }, ICE_RECONNECTING_TIMEOUT);\n\n this.iceDisconnectedTimeout = setTimeout((): void => {\n logger.info(\n `Call ${this.callId} onIceConnectionStateChanged() hanging up call (ICE disconnected for too long)`,\n );\n this.hangup(CallErrorCode.IceFailed, false);\n }, ICE_DISCONNECTED_TIMEOUT);\n this.state = CallState.Connecting;\n }\n\n // In PTT mode, override feed status to muted when we lose connection to\n // the peer, since we don't want to block the line if they're not saying anything.\n // Experimenting in Chrome, this happens after 5 or 6 seconds, which is probably\n // fast enough.\n if (this.isPtt && [\"failed\", \"disconnected\"].includes(this.peerConn!.iceConnectionState)) {\n for (const feed of this.getRemoteFeeds()) {\n feed.setAudioVideoMuted(true, true);\n }\n }\n };\n\n private onSignallingStateChanged = (): void => {\n logger.debug(`Call ${this.callId} onSignallingStateChanged() running (state=${this.peerConn?.signalingState})`);\n };\n\n private onTrack = (ev: RTCTrackEvent): void => {\n if (ev.streams.length === 0) {\n logger.warn(\n `Call ${this.callId} onTrack() called with streamless track streamless (kind=${ev.track.kind})`,\n );\n return;\n }\n\n const stream = ev.streams[0];\n this.pushRemoteFeed(stream);\n\n if (!this.removeTrackListeners.has(stream)) {\n const onRemoveTrack = (): void => {\n if (stream.getTracks().length === 0) {\n logger.info(`Call ${this.callId} onTrack() removing track (streamId=${stream.id})`);\n this.deleteFeedByStream(stream);\n stream.removeEventListener(\"removetrack\", onRemoveTrack);\n this.removeTrackListeners.delete(stream);\n }\n };\n stream.addEventListener(\"removetrack\", onRemoveTrack);\n this.removeTrackListeners.set(stream, onRemoveTrack);\n }\n };\n\n private onDataChannel = (ev: RTCDataChannelEvent): void => {\n this.emit(CallEvent.DataChannel, ev.channel, this);\n };\n\n /**\n * This method removes all video/rtx codecs from screensharing video\n * transceivers. This is necessary since they can cause problems. Without\n * this the following steps should produce an error:\n * Chromium calls Firefox\n * Firefox answers\n * Firefox starts screen-sharing\n * Chromium starts screen-sharing\n * Call crashes for Chromium with:\n * [96685:23:0518/162603.933321:ERROR:webrtc_video_engine.cc(3296)] RTX codec (PT=97) mapped to PT=96 which is not in the codec list.\n * [96685:23:0518/162603.933377:ERROR:webrtc_video_engine.cc(1171)] GetChangedRecvParameters called without any video codecs.\n * [96685:23:0518/162603.933430:ERROR:sdp_offer_answer.cc(4302)] Failed to set local video description recv parameters for m-section with mid='2'. (INVALID_PARAMETER)\n */\n private getRidOfRTXCodecs(): void {\n // RTCRtpReceiver.getCapabilities and RTCRtpSender.getCapabilities don't seem to be supported on FF before v113\n if (!RTCRtpReceiver.getCapabilities || !RTCRtpSender.getCapabilities) return;\n\n const screenshareVideoTransceiver = this.transceivers.get(\n getTransceiverKey(SDPStreamMetadataPurpose.Screenshare, \"video\"),\n );\n\n // setCodecPreferences isn't supported on FF (as of v113)\n if (!screenshareVideoTransceiver || !screenshareVideoTransceiver.setCodecPreferences) return;\n\n const recvCodecs = RTCRtpReceiver.getCapabilities(\"video\")!.codecs;\n const sendCodecs = RTCRtpSender.getCapabilities(\"video\")!.codecs;\n const codecs = [];\n\n for (const codec of [...recvCodecs, ...sendCodecs]) {\n if (codec.mimeType !== \"video/rtx\") {\n codecs.push(codec);\n try {\n screenshareVideoTransceiver.setCodecPreferences(codecs);\n } catch (e) {\n // Specifically, Chrome around version 125 and Electron 30 (which is Chromium 124) return an H.264 codec in\n // the sender's capabilities but throw when you try to set it. Hence... this mess.\n // Specifically, that codec is:\n // {\n // clockRate: 90000,\n // mimeType: \"video/H264\",\n // sdpFmtpLine: \"level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640034\",\n // }\n logger.info(\n \"Working around buggy WebRTC impl: claimed to support codec but threw when setting codec preferences\",\n codec,\n e,\n );\n codecs.pop();\n }\n }\n }\n }\n\n private onNegotiationNeeded = async (): Promise<void> => {\n logger.info(`Call ${this.callId} onNegotiationNeeded() negotiation is needed!`);\n\n if (this.state !== CallState.CreateOffer && this.opponentVersion === 0) {\n logger.info(\n `Call ${this.callId} onNegotiationNeeded() opponent does not support renegotiation: ignoring negotiationneeded event`,\n );\n return;\n }\n\n this.queueGotLocalOffer();\n };\n\n public onHangupReceived = (msg: MCallHangupReject): void => {\n logger.debug(`Call ${this.callId} onHangupReceived() running`);\n\n // party ID must match (our chosen partner hanging up the call) or be undefined (we haven't chosen\n // a partner yet but we're treating the hangup as a reject as per VoIP v0)\n if (this.partyIdMatches(msg) || this.state === CallState.Ringing) {\n // default reason is user_hangup\n this.terminate(CallParty.Remote, msg.reason || CallErrorCode.UserHangup, true);\n } else {\n logger.info(\n `Call ${this.callId} onHangupReceived() ignoring message from party ID ${msg.party_id}: our partner is ${this.opponentPartyId}`,\n );\n }\n };\n\n public onRejectReceived = (msg: MCallHangupReject): void => {\n logger.debug(`Call ${this.callId} onRejectReceived() running`);\n\n // No need to check party_id for reject because if we'd received either\n // an answer or reject, we wouldn't be in state InviteSent\n\n const shouldTerminate =\n // reject events also end the call if it's ringing: it's another of\n // our devices rejecting the call.\n [CallState.InviteSent, CallState.Ringing].includes(this.state) ||\n // also if we're in the init state and it's an inbound call, since\n // this means we just haven't entered the ringing state yet\n (this.state === CallState.Fledgling && this.direction === CallDirection.Inbound);\n\n if (shouldTerminate) {\n this.terminate(CallParty.Remote, msg.reason || CallErrorCode.UserHangup, true);\n } else {\n logger.debug(`Call ${this.callId} onRejectReceived() called in wrong state (state=${this.state})`);\n }\n };\n\n public onAnsweredElsewhere = (msg: MCallAnswer): void => {\n logger.debug(`Call ${this.callId} onAnsweredElsewhere() running`);\n this.terminate(CallParty.Remote, CallErrorCode.AnsweredElsewhere, true);\n };\n\n /**\n * @internal\n */\n private async sendVoipEvent<K extends keyof Pick<TimelineEvents, CallEventType>>(\n eventType: K,\n content: Omit<TimelineEvents[K], \"version\" | \"call_id\" | \"party_id\" | \"conf_id\">,\n ): Promise<void> {\n const realContent = {\n ...content,\n version: VOIP_PROTO_VERSION,\n call_id: this.callId,\n party_id: this.ourPartyId,\n conf_id: this.groupCallId,\n } as TimelineEvents[K];\n\n if (this.opponentDeviceId) {\n const toDeviceSeq = this.toDeviceSeq++;\n const content = {\n ...realContent,\n device_id: this.client.deviceId,\n sender_session_id: this.client.getSessionId(),\n dest_session_id: this.opponentSessionId,\n seq: toDeviceSeq,\n [ToDeviceMessageId]: globalThis.crypto.randomUUID(),\n };\n\n this.emit(\n CallEvent.SendVoipEvent,\n {\n type: \"toDevice\",\n eventType,\n userId: this.invitee || this.getOpponentMember()?.userId,\n opponentDeviceId: this.opponentDeviceId,\n content,\n },\n this,\n );\n\n const userId = this.invitee || this.getOpponentMember()!.userId;\n if (this.client.getUseE2eForGroupCall()) {\n if (!this.hasOpponentDeviceInfo) {\n logger.warn(`Call ${this.callId} sendVoipEvent() failed: we do not have opponentDeviceInfo`);\n return;\n }\n\n // TODO: Here we were sending the event to the opponent's device as a to-device message with MatrixClient.encryptAndSendToDevice.\n // However due to the switch to Rust cryptography we need to migrate to the new encryptToDeviceMessages API.\n throw new Error(\"Unimplemented\");\n } else {\n await this.client.sendToDevice(\n eventType,\n new Map<string, any>([[userId, new Map([[this.opponentDeviceId, content]])]]),\n );\n }\n } else {\n this.emit(\n CallEvent.SendVoipEvent,\n {\n type: \"sendEvent\",\n eventType,\n roomId: this.roomId,\n content: realContent,\n userId: this.invitee || this.getOpponentMember()?.userId,\n },\n this,\n );\n\n await this.client.sendEvent(this.roomId!, eventType, realContent);\n }\n }\n\n /**\n * Queue a candidate to be sent\n * @param content - The candidate to queue up, or null if candidates have finished being generated\n * and end-of-candidates should be signalled\n */\n private queueCandidate(content: RTCIceCandidate | null): void {\n // We partially de-trickle candidates by waiting for `delay` before sending them\n // amalgamated, in order to avoid sending too many m.call.candidates events and hitting\n // rate limits in Matrix.\n // In practice, it'd be better to remove rate limits for m.call.*\n\n // N.B. this deliberately lets you queue and send blank candidates, which MSC2746\n // currently proposes as the way to indicate that candidate gathering is complete.\n // This will hopefully be changed to an explicit rather than implicit notification\n // shortly.\n if (content) {\n this.candidateSendQueue.push(content);\n } else {\n this.candidatesEnded = true;\n }\n\n // Don't send the ICE candidates yet if the call is in the ringing state: this\n // means we tried to pick (ie. started generating candidates) and then failed to\n // send the answer and went back to the ringing state. Queue up the candidates\n // to send if we successfully send the answer.\n // Equally don't send if we haven't yet sent the answer because we can send the\n // first batch of candidates along with the answer\n if (this.state === CallState.Ringing || !this.inviteOrAnswerSent) return;\n\n // MSC2746 recommends these values (can be quite long when calling because the\n // callee will need a while to answer the call)\n const delay = this.direction === CallDirection.Inbound ? 500 : 2000;\n\n if (this.candidateSendTries === 0) {\n setTimeout(() => {\n this.sendCandidateQueue();\n }, delay);\n }\n }\n\n // Discard all non-end-of-candidates messages\n // Return the number of candidate messages that were discarded.\n // Call this method before sending an invite or answer message\n private discardDuplicateCandidates(): number {\n let discardCount = 0;\n const newQueue: RTCIceCandidate[] = [];\n\n for (let i = 0; i < this.candidateSendQueue.length; i++) {\n const candidate = this.candidateSendQueue[i];\n if (candidate.candidate === \"\") {\n newQueue.push(candidate);\n } else {\n discardCount++;\n }\n }\n\n this.candidateSendQueue = newQueue;\n\n return discardCount;\n }\n\n /*\n * Transfers this call to another user\n */\n public async transfer(targetUserId: string): Promise<void> {\n // Fetch the target user's global profile info: their room avatar / displayname\n // could be different in whatever room we share with them.\n const profileInfo = await this.client.getProfileInfo(targetUserId);\n\n const replacementId = genCallID();\n\n const body = {\n replacement_id: genCallID(),\n target_user: {\n id: targetUserId,\n display_name: profileInfo.displayname,\n avatar_url: profileInfo.avatar_url,\n },\n create_call: replacementId,\n } as MCallReplacesEvent;\n\n await this.sendVoipEvent(EventType.CallReplaces, body);\n\n await this.terminate(CallParty.Local, CallErrorCode.Transferred, true);\n }\n\n /*\n * Transfers this call to the target call, effectively 'joining' the\n * two calls (so the remote parties on each call are connected together).\n */\n public async transferToCall(transferTargetCall: MatrixCall): Promise<void> {\n const targetUserId = transferTargetCall.getOpponentMember()?.userId;\n const targetProfileInfo = targetUserId ? await this.client.getProfileInfo(targetUserId) : undefined;\n const opponentUserId = this.getOpponentMember()?.userId;\n const transfereeProfileInfo = opponentUserId ? await this.client.getProfileInfo(opponentUserId) : undefined;\n\n const newCallId = genCallID();\n\n const bodyToTransferTarget = {\n // the replacements on each side have their own ID, and it's distinct from the\n // ID of the new call (but we can use the same function to generate it)\n replacement_id: genCallID(),\n target_user: {\n id: opponentUserId,\n display_name: transfereeProfileInfo?.displayname,\n avatar_url: transfereeProfileInfo?.avatar_url,\n },\n await_call: newCallId,\n } as MCallReplacesEvent;\n\n await transferTargetCall.sendVoipEvent(EventType.CallReplaces, bodyToTransferTarget);\n\n const bodyToTransferee = {\n replacement_id: genCallID(),\n target_user: {\n id: targetUserId,\n display_name: targetProfileInfo?.displayname,\n avatar_url: targetProfileInfo?.avatar_url,\n },\n create_call: newCallId,\n } as MCallReplacesEvent;\n\n await this.sendVoipEvent(EventType.CallReplaces, bodyToTransferee);\n\n await this.terminate(CallParty.Local, CallErrorCode.Transferred, true);\n await transferTargetCall.terminate(CallParty.Local, CallErrorCode.Transferred, true);\n }\n\n private async terminate(hangupParty: CallParty, hangupReason: CallErrorCode, shouldEmit: boolean): Promise<void> {\n if (this.callHasEnded()) return;\n\n this.hangupParty = hangupParty;\n this.hangupReason = hangupReason;\n this.state = CallState.Ended;\n\n if (this.inviteTimeout) {\n clearTimeout(this.inviteTimeout);\n this.inviteTimeout = undefined;\n }\n if (this.iceDisconnectedTimeout !== undefined) {\n clearTimeout(this.iceDisconnectedTimeout);\n this.iceDisconnectedTimeout = undefined;\n }\n if (this.callLengthInterval) {\n clearInterval(this.callLengthInterval);\n this.callLengthInterval = undefined;\n }\n if (this.stopVideoTrackTimer !== undefined) {\n clearTimeout(this.stopVideoTrackTimer);\n this.stopVideoTrackTimer = undefined;\n }\n\n for (const [stream, listener] of this.removeTrackListeners) {\n stream.removeEventListener(\"removetrack\", listener);\n }\n this.removeTrackListeners.clear();\n\n this.callStatsAtEnd = await this.collectCallStats();\n\n // Order is important here: first we stopAllMedia() and only then we can deleteAllFeeds()\n this.stopAllMedia();\n this.deleteAllFeeds();\n\n if (this.peerConn && this.peerConn.signalingState !== \"closed\") {\n this.peerConn.close();\n }\n this.stats?.removeStatsReportGatherer(this.callId);\n\n if (shouldEmit) {\n this.emit(CallEvent.Hangup, this);\n }\n\n this.client.callEventHandler!.calls.delete(this.callId);\n }\n\n private stopAllMedia(): void {\n logger.debug(`Call ${this.callId} stopAllMedia() running`);\n\n for (const feed of this.feeds) {\n // Slightly awkward as local feed need to go via the correct method on\n // the MediaHandler so they get removed from MediaHandler (remote tracks\n // don't)\n // NB. We clone local streams when passing them to individual calls in a group\n // call, so we can (and should) stop the clones once we no longer need them:\n // the other clones will continue fine.\n if (feed.isLocal() && feed.purpose === SDPStreamMetadataPurpose.Usermedia) {\n this.client.getMediaHandler().stopUserMediaStream(feed.stream);\n } else if (feed.isLocal() && feed.purpose === SDPStreamMetadataPurpose.Screenshare) {\n this.client.getMediaHandler().stopScreensharingStream(feed.stream);\n } else if (!feed.isLocal()) {\n logger.debug(`Call ${this.callId} stopAllMedia() stopping stream (streamId=${feed.stream.id})`);\n for (const track of feed.stream.getTracks()) {\n track.stop();\n }\n }\n }\n }\n\n private checkForErrorListener(): void {\n if (this.listeners(EventEmitterEvents.Error).length === 0) {\n throw new Error(\"You MUST attach an error listener using call.on('error', function() {})\");\n }\n }\n\n private async sendCandidateQueue(): Promise<void> {\n if (this.candidateSendQueue.length === 0 || this.callHasEnded()) {\n return;\n }\n\n const candidates = this.candidateSendQueue;\n this.candidateSendQueue = [];\n ++this.candidateSendTries;\n const content: Pick<MCallCandidates, \"candidates\"> = {\n candidates: candidates.map((candidate) => candidate.toJSON()),\n };\n if (this.candidatesEnded) {\n // If there are no more candidates, signal this by adding an empty string candidate\n content.candidates.push({\n candidate: \"\",\n });\n }\n logger.debug(`Call ${this.callId} sendCandidateQueue() attempting to send ${candidates.length} candidates`);\n try {\n await this.sendVoipEvent(EventType.CallCandidates, content);\n // reset our retry count if we have successfully sent our candidates\n // otherwise queueCandidate() will refuse to try to flush the queue\n this.candidateSendTries = 0;\n\n // Try to send candidates again just in case we received more candidates while sending.\n this.sendCandidateQueue();\n } catch (error) {\n // don't retry this event: we'll send another one later as we might\n // have more candidates by then.\n if (error instanceof MatrixError && error.event) this.client.cancelPendingEvent(error.event);\n\n // put all the candidates we failed to send back in the queue\n this.candidateSendQueue.push(...candidates);\n\n if (this.candidateSendTries > 5) {\n logger.debug(\n `Call ${this.callId} sendCandidateQueue() failed to send candidates on attempt ${this.candidateSendTries}. Giving up on this call.`,\n error,\n );\n\n const code = CallErrorCode.SignallingFailed;\n const message = \"Signalling failed\";\n\n this.emit(CallEvent.Error, new CallError(code, message, <Error>error), this);\n this.hangup(code, false);\n\n return;\n }\n\n const delayMs = 500 * Math.pow(2, this.candidateSendTries);\n ++this.candidateSendTries;\n logger.debug(\n `Call ${this.callId} sendCandidateQueue() failed to send candidates. Retrying in ${delayMs}ms`,\n error,\n );\n setTimeout(() => {\n this.sendCandidateQueue();\n }, delayMs);\n }\n }\n\n /**\n * Place a call to this room.\n * @throws if you have not specified a listener for 'error' events.\n * @throws if have passed audio=false.\n */\n public async placeCall(audio: boolean, video: boolean): Promise<void> {\n if (!audio) {\n throw new Error(\"You CANNOT start a call without audio\");\n }\n this.state = CallState.WaitLocalMedia;\n\n let callFeed: CallFeed;\n try {\n const stream = await this.client.getMediaHandler().getUserMediaStream(audio, video);\n\n // make sure all the tracks are enabled (same as pushNewLocalFeed -\n // we probably ought to just have one code path for adding streams)\n setTracksEnabled(stream.getAudioTracks(), true);\n setTracksEnabled(stream.getVideoTracks(), true);\n\n callFeed = new CallFeed({\n client: this.client,\n roomId: this.roomId,\n userId: this.client.getUserId()!,\n deviceId: this.client.getDeviceId() ?? undefined,\n stream,\n purpose: SDPStreamMetadataPurpose.Usermedia,\n audioMuted: false,\n videoMuted: false,\n });\n } catch (e) {\n this.getUserMediaFailed(<Error>e);\n return;\n }\n\n try {\n await this.placeCallWithCallFeeds([callFeed]);\n } catch (e) {\n this.placeCallFailed(<Error>e);\n return;\n }\n }\n\n /**\n * Place a call to this room with call feed.\n * @param callFeeds - to use\n * @throws if you have not specified a listener for 'error' events.\n * @throws if have passed audio=false.\n */\n public async placeCallWithCallFeeds(callFeeds: CallFeed[], requestScreenshareFeed = false): Promise<void> {\n this.checkForErrorListener();\n this.direction = CallDirection.Outbound;\n\n await this.initOpponentCrypto();\n\n // XXX Find a better way to do this\n this.client.callEventHandler!.calls.set(this.callId, this);\n\n // make sure we have valid turn creds. Unless something's gone wrong, it should\n // poll and keep the credentials valid so this should be instant.\n const haveTurnCreds = await this.client.checkTurnServers();\n if (!haveTurnCreds) {\n logger.warn(\n `Call ${this.callId} placeCallWithCallFeeds() failed to get TURN credentials! Proceeding with call anyway...`,\n );\n }\n\n // create the peer connection now so it can be gathering candidates while we get user\n // media (assuming a candidate pool size is configured)\n this.peerConn = this.createPeerConnection();\n this.emit(CallEvent.PeerConnectionCreated, this.peerConn, this);\n this.gotCallFeedsForInvite(callFeeds, requestScreenshareFeed);\n }\n\n private createPeerConnection(): RTCPeerConnection {\n const pc = new window.RTCPeerConnection({\n iceTransportPolicy: this.forceTURN ? \"relay\" : undefined,\n iceServers: this.turnServers.length ? this.turnServers : undefined,\n iceCandidatePoolSize: this.client.iceCandidatePoolSize,\n bundlePolicy: \"max-bundle\",\n });\n\n // 'connectionstatechange' would be better, but firefox doesn't implement that.\n pc.addEventListener(\"iceconnectionstatechange\", this.onIceConnectionStateChanged);\n pc.addEventListener(\"signalingstatechange\", this.onSignallingStateChanged);\n pc.addEventListener(\"icecandidate\", this.gotLocalIceCandidate);\n pc.addEventListener(\"icegatheringstatechange\", this.onIceGatheringStateChange);\n pc.addEventListener(\"track\", this.onTrack);\n pc.addEventListener(\"negotiationneeded\", this.onNegotiationNeeded);\n pc.addEventListener(\"datachannel\", this.onDataChannel);\n\n const opponentMember: RoomMember | undefined = this.getOpponentMember();\n const opponentMemberId = opponentMember ? opponentMember.userId : \"unknown\";\n this.stats?.addStatsReportGatherer(this.callId, opponentMemberId, pc);\n return pc;\n }\n\n private partyIdMatches(msg: MCallBase): boolean {\n // They must either match or both be absent (in which case opponentPartyId will be null)\n // Also we ignore party IDs on the invite/offer if the version is 0, so we must do the same\n // here and use null if the version is 0 (woe betide any opponent sending messages in the\n // same call with different versions)\n const msgPartyId = msg.version === 0 ? null : msg.party_id || null;\n return msgPartyId === this.opponentPartyId;\n }\n\n // Commits to an opponent for the call\n // ev: An invite or answer event\n private chooseOpponent(ev: MatrixEvent): void {\n // I choo-choo-choose you\n const msg = ev.getContent<MCallInviteNegotiate | MCallAnswer>();\n\n logger.debug(`Call ${this.callId} chooseOpponent() running (partyId=${msg.party_id})`);\n\n this.opponentVersion = msg.version;\n if (this.opponentVersion === 0) {\n // set to null to indicate that we've chosen an opponent, but because\n // they're v0 they have no party ID (even if they sent one, we're ignoring it)\n this.opponentPartyId = null;\n } else {\n // set to their party ID, or if they're naughty and didn't send one despite\n // not being v0, set it to null to indicate we picked an opponent with no\n // party ID\n this.opponentPartyId = msg.party_id || null;\n }\n this.opponentCaps = msg.capabilities || ({} as CallCapabilities);\n this.opponentMember = this.client.getRoom(this.roomId)!.getMember(ev.getSender()!) ?? undefined;\n if (this.opponentMember) {\n this.stats?.updateOpponentMember(this.callId, this.opponentMember.userId);\n }\n }\n\n private async addBufferedIceCandidates(): Promise<void> {\n const bufferedCandidates = this.remoteCandidateBuffer.get(this.opponentPartyId!);\n if (bufferedCandidates) {\n logger.info(\n `Call ${this.callId} addBufferedIceCandidates() adding ${bufferedCandidates.length} buffered candidates for opponent ${this.opponentPartyId}`,\n );\n await this.addIceCandidates(bufferedCandidates);\n }\n this.remoteCandidateBuffer.clear();\n }\n\n private async addIceCandidates(candidates: RTCIceCandidate[] | MCallCandidates[\"candidates\"]): Promise<void> {\n for (const candidate of candidates) {\n if (\n (candidate.sdpMid === null || candidate.sdpMid === undefined) &&\n (candidate.sdpMLineIndex === null || candidate.sdpMLineIndex === undefined)\n ) {\n logger.debug(`Call ${this.callId} addIceCandidates() got remote ICE end-of-candidates`);\n } else {\n logger.debug(\n `Call ${this.callId} addIceCandidates() got remote ICE candidate (sdpMid=${candidate.sdpMid}, candidate=${candidate.candidate})`,\n );\n }\n\n try {\n await this.peerConn!.addIceCandidate(candidate);\n } catch (err) {\n if (!this.ignoreOffer) {\n logger.info(`Call ${this.callId} addIceCandidates() failed to add remote ICE candidate`, err);\n } else {\n logger.debug(\n `Call ${this.callId} addIceCandidates() failed to add remote ICE candidate because ignoring offer`,\n err,\n );\n }\n }\n }\n }\n\n public get hasPeerConnection(): boolean {\n return Boolean(this.peerConn);\n }\n\n public initStats(stats: GroupCallStats, peerId = \"unknown\"): void {\n this.stats = stats;\n this.stats.start();\n }\n}\n\nexport function setTracksEnabled(tracks: Array<MediaStreamTrack>, enabled: boolean): void {\n for (const track of tracks) {\n track.enabled = enabled;\n }\n}\n\nexport function supportsMatrixCall(): boolean {\n // typeof prevents Node from erroring on an undefined reference\n if (typeof window === \"undefined\" || typeof document === \"undefined\") {\n // NB. We don't log here as apps try to create a call object as a test for\n // whether calls are supported, so we shouldn't fill the logs up.\n return false;\n }\n\n // Firefox throws on so little as accessing the RTCPeerConnection when operating in a secure mode.\n // There's some information at https://bugzilla.mozilla.org/show_bug.cgi?id=1542616 though the concern\n // is that the browser throwing a SecurityError will brick the client creation process.\n try {\n const supported = Boolean(\n window.RTCPeerConnection ??\n window.RTCSessionDescription ??\n window.RTCIceCandidate ??\n navigator.mediaDevices,\n );\n if (!supported) {\n /* istanbul ignore if */ // Adds a lot of noise to test runs, so disable logging there.\n if (process.env.NODE_ENV !== \"test\") {\n logger.error(\"WebRTC is not supported in this browser / environment\");\n }\n return false;\n }\n } catch (e) {\n logger.error(\"Exception thrown when trying to access WebRTC\", e);\n return false;\n }\n\n return true;\n}\n\n/**\n * DEPRECATED\n * Use client.createCall()\n *\n * Create a new Matrix call for the browser.\n * @param client - The client instance to use.\n * @param roomId - The room the call is in.\n * @param options - DEPRECATED optional options map.\n * @returns the call or null if the browser doesn't support calling.\n */\nexport function createNewMatrixCall(\n client: MatrixClient,\n roomId: string,\n options?: Pick<CallOpts, \"forceTURN\" | \"invitee\" | \"opponentDeviceId\" | \"opponentSessionId\" | \"groupCallId\">,\n): MatrixCall | null {\n if (!supportsMatrixCall()) return null;\n\n const optionsForceTURN = options ? options.forceTURN : false;\n\n const opts: CallOpts = {\n client: client,\n roomId: roomId,\n invitee: options?.invitee,\n turnServers: client.getTurnServers(),\n // call level options\n forceTURN: client.forceTURN || optionsForceTURN,\n opponentDeviceId: options?.opponentDeviceId,\n opponentSessionId: options?.opponentSessionId,\n groupCallId: options?.groupCallId,\n };\n const call = new MatrixCall(opts);\n\n client.reEmitter.reEmit(call, Object.values(CallEvent));\n\n return call;\n}\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,SAASA,KAAK,IAAIC,QAAQ,EAAEC,KAAK,IAAIC,QAAQ,QAAQ,eAAe;AAEpE,SAASC,MAAM,QAAQ,cAAc;AACrC,SAASC,kBAAkB,EAAEC,iBAAiB,EAAEC,iBAAiB,QAAQ,aAAa;AAEtF,SAASC,SAAS,EAAuBC,iBAAiB,QAAQ,oBAAoB;AAEtF,SAASC,kBAAkB,QAAQ,oBAAoB;AACvD,SAKIC,wBAAwB,EAExBC,oBAAoB,QAOjB,qBAAqB;AAC5B,SAASC,QAAQ,QAAQ,eAAe;AAExC,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,kCAAkC;AACxF,SAASC,2BAA2B,QAAQ,gBAAgB;AAE5D,SAASC,W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,GAAGne,OAAO,GAAGA,OAAO,CAACnB,SAAS,GAAG,KAAK;EAE5D,IAAMvG,IAAc,GAAG;IACnBqG,MAAM,EAAEA,MAAM;IACdF,MAAM,EAAEA,MAAM;IACdC,OAAO,EAAEsB,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEtB,OAAO;IACzBQ,WAAW,EAAEP,MAAM,CAACyf,cAAc,CAAC,CAAC;IACpC;IACAvf,SAAS,EAAEF,MAAM,CAACE,SAAS,IAAIsf,gBAAgB;IAC/Cpf,gBAAgB,EAAEiB,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEjB,gBAAgB;IAC3CC,iBAAiB,EAAEgB,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEhB,iBAAiB;IAC7CC,WAAW,EAAEe,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEf;EAC1B,CAAC;EACD,IAAMgG,IAAI,GAAG,IAAI5M,UAAU,CAACC,IAAI,CAAC;EAEjCqG,MAAM,CAAC0f,SAAS,CAACC,MAAM,CAACrZ,IAAI,EAAEsZ,MAAM,CAACC,MAAM,CAAChoB,SAAS,CAAC,CAAC;EAEvD,OAAOyO,IAAI;AACf","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ import { type MatrixEvent } from "../models/event.ts";
2
+ import { type MatrixCall } from "./call.ts";
3
+ import { type MatrixClient } from "../client.ts";
4
+ export declare enum CallEventHandlerEvent {
5
+ Incoming = "Call.incoming"
6
+ }
7
+ export type CallEventHandlerEventHandlerMap = {
8
+ /**
9
+ * Fires whenever an incoming call arrives.
10
+ * @param call - The incoming call.
11
+ * @example
12
+ * ```
13
+ * matrixClient.on("Call.incoming", function(call){
14
+ * call.answer(); // auto-answer
15
+ * });
16
+ * ```
17
+ */
18
+ [CallEventHandlerEvent.Incoming]: (call: MatrixCall) => void;
19
+ };
20
+ export declare class CallEventHandler {
21
+ calls: Map<string, MatrixCall>;
22
+ callEventBuffer: MatrixEvent[];
23
+ nextSeqByCall: Map<string, number>;
24
+ toDeviceEventBuffers: Map<string, Array<MatrixEvent>>;
25
+ private client;
26
+ private candidateEventsByCall;
27
+ private eventBufferPromiseChain?;
28
+ constructor(client: MatrixClient);
29
+ start(): void;
30
+ stop(): void;
31
+ private onSync;
32
+ private evaluateEventBuffer;
33
+ private onRoomTimeline;
34
+ private onToDeviceEvent;
35
+ private handleCallEvent;
36
+ }
37
+ //# sourceMappingURL=callEventHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callEventHandler.d.ts","sourceRoot":"","sources":["../../src/webrtc/callEventHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAA2E,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAErH,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAS9D,oBAAY,qBAAqB;IAC7B,QAAQ,kBAAkB;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC1C;;;;;;;;;OASG;IACH,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CAChE,CAAC;AAEF,qBAAa,gBAAgB;IAElB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC/B,eAAe,EAAE,WAAW,EAAE,CAAC;IAC/B,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAa;IAC/C,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAa;IAEzE,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,qBAAqB,CAAkC;IAC/D,OAAO,CAAC,uBAAuB,CAAC,CAAgB;gBAE7B,MAAM,EAAE,YAAY;IAehC,KAAK,IAAI,IAAI;IAMb,IAAI,IAAI,IAAI;IAMnB,OAAO,CAAC,MAAM,CAaZ;YAEY,mBAAmB;IAsCjC,OAAO,CAAC,cAAc,CAEpB;IAEF,OAAO,CAAC,eAAe,CA+CrB;YAEY,eAAe;CAyOhC"}