space-data-module-sdk 0.8.4 → 0.8.6

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 (354) hide show
  1. package/README.md +117 -20
  2. package/bin/space-data-module.js +263 -0
  3. package/docs/.nojekyll +1 -0
  4. package/docs/AGENTS.md +34 -0
  5. package/docs/architecture.svg +141 -0
  6. package/docs/browser-wasmedge-isomorphic.md +179 -0
  7. package/docs/flatsql-streaming-standard.md +341 -0
  8. package/docs/gpu-module-abi.md +193 -0
  9. package/docs/index.html +125 -0
  10. package/docs/isomorphic-pthreads.md +188 -0
  11. package/docs/isomorphic-sdn-runtime-plan.md +167 -0
  12. package/docs/language-runtime-matrix.md +82 -0
  13. package/docs/manifest-structure.svg +114 -0
  14. package/docs/module-bundle-runtime-plan.md +19 -0
  15. package/docs/module-lifecycle.svg +70 -0
  16. package/docs/module-publication-standard.md +540 -0
  17. package/docs/node-red-default-node-parity.md +88 -0
  18. package/docs/protocol-installation.md +196 -0
  19. package/docs/secrets-capability.md +152 -0
  20. package/docs/styles.css +288 -0
  21. package/docs/testing-harness.md +408 -0
  22. package/docs/tri-runtime-parity.md +132 -0
  23. package/docs/wallet-callback.html +2 -0
  24. package/package.json +25 -6
  25. package/schemas/HttpRequestAbi.fbs +41 -0
  26. package/schemas/HttpResponseAbi.fbs +36 -0
  27. package/schemas/PluginManifest.fbs +2 -1
  28. package/src/AGENTS.md +1 -1
  29. package/src/app/codec.js +548 -0
  30. package/src/app/index.js +6 -0
  31. package/src/browser.js +5 -0
  32. package/src/bundle/constants.js +1 -0
  33. package/src/bundle/index.js +15 -0
  34. package/src/bundle/sigdomain.js +179 -0
  35. package/src/bundle/signing.js +767 -0
  36. package/src/bundle/wasm.js +3 -2
  37. package/src/capabilities.js +3 -0
  38. package/src/compat/index.js +7 -0
  39. package/src/compat/sdnLegacy.js +449 -0
  40. package/src/compiler/compileModule.js +556 -55
  41. package/src/compiler/flatcSupport.js +41 -27
  42. package/src/compiler/index.d.ts +2 -0
  43. package/src/compiler/index.js +18 -0
  44. package/src/compiler/invokeGlue.js +1212 -183
  45. package/src/compiler/pthreadArtifactGuard.js +910 -0
  46. package/src/compiler/sdnShimGenerator.js +323 -0
  47. package/src/compiler/wasiThreadsToolchain.js +150 -0
  48. package/src/compliance/index.js +11 -1
  49. package/src/compliance/legacyWildcardPorts.js +228 -0
  50. package/src/compliance/pluginCompliance.js +1000 -96
  51. package/src/field-stream/index.d.ts +31 -0
  52. package/src/field-stream/index.js +119 -0
  53. package/src/flow/dependencyStreamBridge.js +234 -0
  54. package/src/flow/flatsqlLinkShim.js +304 -0
  55. package/src/flow/flowCodec.js +107 -0
  56. package/src/flow/flowCompiler.js +2900 -0
  57. package/src/flow/flowRuntimeHost.js +877 -0
  58. package/src/flow/index.d.ts +117 -0
  59. package/src/flow/index.js +31 -0
  60. package/src/flow/isomorphicFlowHost.js +384 -0
  61. package/src/flow/jsFlowRuntime.js +275 -0
  62. package/src/flow/normalize.js +294 -0
  63. package/src/flow/runtime-src/flow_runtime.cpp +1699 -0
  64. package/src/flow/vendor/sdn-flow/MethodRegistry.js +400 -0
  65. package/src/flow/vendor/sdn-flow/constants.js +39 -0
  66. package/src/flow/vendor/sdn-flow/index.js +29 -0
  67. package/src/flow/vendor/sdn-flow/normalize.js +506 -0
  68. package/src/flow/vendor/sdn-flow/wasmCompatibility.js +189 -0
  69. package/src/generated/http/cpp/HttpRequestAbi_generated.h +285 -0
  70. package/src/generated/http/cpp/HttpResponseAbi_generated.h +192 -0
  71. package/src/generated/http/sdn/http/http-header.js +53 -0
  72. package/src/generated/http/sdn/http/http-header.ts +67 -0
  73. package/src/generated/http/sdn/http/http-request.js +132 -0
  74. package/src/generated/http/sdn/http/http-request.ts +179 -0
  75. package/src/generated/http/sdn/http/http-response.js +144 -0
  76. package/src/generated/http/sdn/http/http-response.ts +168 -0
  77. package/src/generated/http/sdn/http.js +11 -0
  78. package/src/generated/http/sdn/http.ts +4 -0
  79. package/src/generated/orbpro/flow/backpressure-policy.d.ts +12 -0
  80. package/src/generated/orbpro/flow/backpressure-policy.d.ts.map +1 -0
  81. package/src/generated/orbpro/flow/backpressure-policy.js +17 -0
  82. package/src/generated/orbpro/flow/backpressure-policy.js.map +1 -0
  83. package/src/generated/orbpro/flow/backpressure-policy.ts +15 -0
  84. package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts +142 -0
  85. package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts.map +1 -0
  86. package/src/generated/orbpro/flow/flow-bundle-manifest.js +304 -0
  87. package/src/generated/orbpro/flow/flow-bundle-manifest.js.map +1 -0
  88. package/src/generated/orbpro/flow/flow-bundle-manifest.ts +399 -0
  89. package/src/generated/orbpro/flow/flow-edge.d.ts +113 -0
  90. package/src/generated/orbpro/flow/flow-edge.d.ts.map +1 -0
  91. package/src/generated/orbpro/flow/flow-edge.js +221 -0
  92. package/src/generated/orbpro/flow/flow-edge.js.map +1 -0
  93. package/src/generated/orbpro/flow/flow-edge.ts +292 -0
  94. package/src/generated/orbpro/flow/flow-node.d.ts +80 -0
  95. package/src/generated/orbpro/flow/flow-node.d.ts.map +1 -0
  96. package/src/generated/orbpro/flow/flow-node.js +158 -0
  97. package/src/generated/orbpro/flow/flow-node.js.map +1 -0
  98. package/src/generated/orbpro/flow/flow-node.ts +202 -0
  99. package/src/generated/orbpro/flow/flow-program.d.ts +164 -0
  100. package/src/generated/orbpro/flow/flow-program.d.ts.map +1 -0
  101. package/src/generated/orbpro/flow/flow-program.js +350 -0
  102. package/src/generated/orbpro/flow/flow-program.js.map +1 -0
  103. package/src/generated/orbpro/flow/flow-program.ts +477 -0
  104. package/src/generated/orbpro/flow/flow-trigger.d.ts +108 -0
  105. package/src/generated/orbpro/flow/flow-trigger.d.ts.map +1 -0
  106. package/src/generated/orbpro/flow/flow-trigger.js +207 -0
  107. package/src/generated/orbpro/flow/flow-trigger.js.map +1 -0
  108. package/src/generated/orbpro/flow/flow-trigger.ts +276 -0
  109. package/src/generated/orbpro/flow/node-kind.d.ts +13 -0
  110. package/src/generated/orbpro/flow/node-kind.d.ts.map +1 -0
  111. package/src/generated/orbpro/flow/node-kind.js +16 -0
  112. package/src/generated/orbpro/flow/node-kind.js.map +1 -0
  113. package/src/generated/orbpro/{invoke.ts → flow/node-kind.ts} +12 -2
  114. package/src/generated/orbpro/flow/plugin-version-binding.d.ts +52 -0
  115. package/src/generated/orbpro/flow/plugin-version-binding.d.ts.map +1 -0
  116. package/src/generated/orbpro/flow/plugin-version-binding.js +85 -0
  117. package/src/generated/orbpro/flow/plugin-version-binding.js.map +1 -0
  118. package/src/generated/orbpro/flow/plugin-version-binding.ts +121 -0
  119. package/src/generated/orbpro/flow/schema-hash-binding.d.ts +70 -0
  120. package/src/generated/orbpro/flow/schema-hash-binding.d.ts.map +1 -0
  121. package/src/generated/orbpro/flow/schema-hash-binding.js +143 -0
  122. package/src/generated/orbpro/flow/schema-hash-binding.js.map +1 -0
  123. package/src/generated/orbpro/flow/schema-hash-binding.ts +189 -0
  124. package/src/generated/orbpro/flow/trigger-binding.d.ts +71 -0
  125. package/src/generated/orbpro/flow/trigger-binding.d.ts.map +1 -0
  126. package/src/generated/orbpro/flow/trigger-binding.js +142 -0
  127. package/src/generated/orbpro/flow/trigger-binding.js.map +1 -0
  128. package/src/generated/orbpro/flow/trigger-binding.ts +181 -0
  129. package/src/generated/orbpro/flow/trigger-kind.d.ts +14 -0
  130. package/src/generated/orbpro/flow/trigger-kind.d.ts.map +1 -0
  131. package/src/generated/orbpro/flow/trigger-kind.js +17 -0
  132. package/src/generated/orbpro/flow/trigger-kind.js.map +1 -0
  133. package/src/generated/orbpro/flow/trigger-kind.ts +17 -0
  134. package/src/generated/orbpro/flow.d.ts +21 -0
  135. package/src/generated/orbpro/flow.d.ts.map +1 -0
  136. package/src/generated/orbpro/flow.js +23 -0
  137. package/src/generated/orbpro/flow.js.map +1 -0
  138. package/src/generated/orbpro/flow.ts +24 -0
  139. package/src/generated/orbpro/manifest/capability-kind.d.ts +2 -1
  140. package/src/generated/orbpro/manifest/capability-kind.js +1 -0
  141. package/src/generated/orbpro/manifest/capability-kind.ts +1 -0
  142. package/src/generated/orbpro/plugin/stream-invoke-request.d.ts +93 -0
  143. package/src/generated/orbpro/plugin/stream-invoke-request.js +160 -0
  144. package/src/generated/orbpro/plugin/stream-invoke-request.ts +211 -0
  145. package/src/generated/orbpro/plugin/stream-invoke-response.d.ts +99 -0
  146. package/src/generated/orbpro/plugin/stream-invoke-response.js +175 -0
  147. package/src/generated/orbpro/plugin/stream-invoke-response.ts +226 -0
  148. package/src/generated/orbpro/plugin.js +8 -0
  149. package/src/generated/orbpro/stream.d.ts +12 -0
  150. package/src/generated/orbpro/stream.js +14 -0
  151. package/src/generated/orbpro/stream.ts +15 -0
  152. package/src/generated/spacedatastandards/plg/EntryFunction.d.ts +52 -0
  153. package/src/generated/spacedatastandards/plg/EntryFunction.d.ts.map +1 -0
  154. package/src/generated/spacedatastandards/plg/EntryFunction.js +106 -0
  155. package/src/generated/spacedatastandards/plg/EntryFunction.ts +162 -0
  156. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts +90 -0
  157. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts.map +1 -0
  158. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.js +189 -0
  159. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.ts +270 -0
  160. package/src/generated/spacedatastandards/plg/PLG.d.ts +492 -0
  161. package/src/generated/spacedatastandards/plg/PLG.d.ts.map +1 -0
  162. package/src/generated/spacedatastandards/plg/PLG.js +1139 -0
  163. package/src/generated/spacedatastandards/plg/PLG.ts +1600 -0
  164. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts +63 -0
  165. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts.map +1 -0
  166. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.js +138 -0
  167. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.ts +189 -0
  168. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts +41 -0
  169. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts.map +1 -0
  170. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.js +104 -0
  171. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.ts +151 -0
  172. package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts +68 -0
  173. package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts.map +1 -0
  174. package/src/generated/spacedatastandards/plg/PLGFlowEdge.js +124 -0
  175. package/src/generated/spacedatastandards/plg/PLGFlowEdge.ts +184 -0
  176. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts +58 -0
  177. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts.map +1 -0
  178. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.js +126 -0
  179. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.ts +161 -0
  180. package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts +82 -0
  181. package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts.map +1 -0
  182. package/src/generated/spacedatastandards/plg/PLGFlowNode.js +164 -0
  183. package/src/generated/spacedatastandards/plg/PLGFlowNode.ts +244 -0
  184. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts +55 -0
  185. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts.map +1 -0
  186. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.js +105 -0
  187. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.ts +162 -0
  188. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts +42 -0
  189. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts.map +1 -0
  190. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.js +83 -0
  191. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.ts +127 -0
  192. package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts +36 -0
  193. package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts.map +1 -0
  194. package/src/generated/spacedatastandards/plg/PLGHostCapability.js +90 -0
  195. package/src/generated/spacedatastandards/plg/PLGHostCapability.ts +127 -0
  196. package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts +53 -0
  197. package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts.map +1 -0
  198. package/src/generated/spacedatastandards/plg/PLGMethodManifest.js +153 -0
  199. package/src/generated/spacedatastandards/plg/PLGMethodManifest.ts +210 -0
  200. package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts +70 -0
  201. package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts.map +1 -0
  202. package/src/generated/spacedatastandards/plg/PLGPortManifest.js +149 -0
  203. package/src/generated/spacedatastandards/plg/PLGPortManifest.ts +212 -0
  204. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts +73 -0
  205. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts.map +1 -0
  206. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.js +199 -0
  207. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.ts +292 -0
  208. package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts +40 -0
  209. package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts.map +1 -0
  210. package/src/generated/spacedatastandards/plg/PLGTimerSpec.js +103 -0
  211. package/src/generated/spacedatastandards/plg/PLGTimerSpec.ts +148 -0
  212. package/src/generated/spacedatastandards/plg/PluginCapability.d.ts +41 -0
  213. package/src/generated/spacedatastandards/plg/PluginCapability.d.ts.map +1 -0
  214. package/src/generated/spacedatastandards/plg/PluginCapability.js +82 -0
  215. package/src/generated/spacedatastandards/plg/{plugin-capability.ts → PluginCapability.ts} +55 -18
  216. package/src/generated/spacedatastandards/plg/PluginDependency.d.ts +42 -0
  217. package/src/generated/spacedatastandards/plg/PluginDependency.d.ts.map +1 -0
  218. package/src/generated/spacedatastandards/plg/PluginDependency.js +80 -0
  219. package/src/generated/spacedatastandards/plg/PluginDependency.ts +124 -0
  220. package/src/generated/spacedatastandards/plg/TAB.d.ts +85 -0
  221. package/src/generated/spacedatastandards/plg/TAB.d.ts.map +1 -0
  222. package/src/generated/spacedatastandards/plg/TAB.js +173 -0
  223. package/src/generated/spacedatastandards/plg/TAB.ts +228 -0
  224. package/src/generated/spacedatastandards/plg/bufferMutability.d.ts +18 -0
  225. package/src/generated/spacedatastandards/plg/bufferMutability.d.ts.map +1 -0
  226. package/src/generated/spacedatastandards/plg/bufferMutability.js +20 -0
  227. package/src/generated/spacedatastandards/plg/bufferMutability.ts +23 -0
  228. package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts +18 -0
  229. package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts.map +1 -0
  230. package/src/generated/spacedatastandards/plg/bufferOwnership.js +20 -0
  231. package/src/generated/spacedatastandards/plg/bufferOwnership.ts +23 -0
  232. package/src/generated/spacedatastandards/plg/drainBehavior.d.ts +20 -0
  233. package/src/generated/spacedatastandards/plg/drainBehavior.d.ts.map +1 -0
  234. package/src/generated/spacedatastandards/plg/drainBehavior.js +22 -0
  235. package/src/generated/spacedatastandards/plg/drainBehavior.ts +25 -0
  236. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts +10 -0
  237. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts.map +1 -0
  238. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.js +12 -0
  239. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.ts +13 -0
  240. package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts +51 -0
  241. package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts.map +1 -0
  242. package/src/generated/spacedatastandards/plg/hostCapabilityKind.js +53 -0
  243. package/src/generated/spacedatastandards/plg/hostCapabilityKind.ts +55 -0
  244. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts +15 -0
  245. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts.map +1 -0
  246. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.js +17 -0
  247. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.ts +19 -0
  248. package/src/generated/spacedatastandards/plg/main.d.ts +29 -0
  249. package/src/generated/spacedatastandards/plg/main.d.ts.map +1 -0
  250. package/src/generated/spacedatastandards/plg/main.js +30 -0
  251. package/src/generated/spacedatastandards/plg/main.ts +32 -0
  252. package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts +17 -0
  253. package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts.map +1 -0
  254. package/src/generated/spacedatastandards/plg/payloadWireFormat.js +19 -0
  255. package/src/generated/spacedatastandards/plg/payloadWireFormat.ts +21 -0
  256. package/src/generated/spacedatastandards/plg/pluginCategory.d.ts +82 -0
  257. package/src/generated/spacedatastandards/plg/pluginCategory.d.ts.map +1 -0
  258. package/src/generated/spacedatastandards/plg/pluginCategory.js +84 -0
  259. package/src/generated/spacedatastandards/plg/pluginCategory.ts +103 -0
  260. package/src/generated/spacedatastandards/plg/publicationState.d.ts +18 -0
  261. package/src/generated/spacedatastandards/plg/publicationState.d.ts.map +1 -0
  262. package/src/generated/spacedatastandards/plg/publicationState.js +20 -0
  263. package/src/generated/spacedatastandards/plg/purchaseTier.d.ts +18 -0
  264. package/src/generated/spacedatastandards/plg/purchaseTier.d.ts.map +1 -0
  265. package/src/generated/spacedatastandards/plg/purchaseTier.js +20 -0
  266. package/src/host/AGENTS.md +2 -2
  267. package/src/host/abi.js +53 -66
  268. package/src/host/browserHost.js +355 -8
  269. package/src/host/cpp/keyslotClient.hpp +231 -0
  270. package/src/host/cpp/secretsClient.hpp +583 -0
  271. package/src/host/hostcallWire.js +183 -0
  272. package/src/host/index.js +2 -0
  273. package/src/host/isomorphicLoader.js +44 -7
  274. package/src/host/nodeHost.js +227 -8
  275. package/src/host/sabHostcallChannel.js +206 -0
  276. package/src/host/timerDriver.js +203 -0
  277. package/src/host/wasiShim.js +41 -1
  278. package/src/host/wasiThreadBrowserWorker.mjs +48 -0
  279. package/src/host/wasiThreadHost.js +393 -0
  280. package/src/host/wasiThreadWorker.mjs +32 -0
  281. package/src/host/wasiThreadWorkerRuntime.js +93 -0
  282. package/src/http/index.js +339 -0
  283. package/src/index.d.ts +725 -11
  284. package/src/index.js +4 -0
  285. package/src/invoke/codec.js +1202 -128
  286. package/src/invoke/index.js +5 -1
  287. package/src/licensing/index.d.ts +2 -0
  288. package/src/licensing/index.js +2 -0
  289. package/src/licensing/records.js +287 -8
  290. package/src/manifest/codec.js +62 -14
  291. package/src/manifest/index.js +2 -0
  292. package/src/manifest/legacyToPlg.js +164 -25
  293. package/src/manifest/normalize.js +1 -0
  294. package/src/manifest/plgCodec.js +1303 -62
  295. package/src/manifest/typeRefs.js +162 -24
  296. package/src/runtime/compiledRuntimeAbi.js +47 -0
  297. package/src/runtime/compiledRuntimeAbi.json +33 -0
  298. package/src/runtime/index.d.ts +32 -0
  299. package/src/runtime/index.js +1 -0
  300. package/src/runtime-host/index.js +3 -0
  301. package/src/runtime-host/methodRegistry.js +55 -0
  302. package/src/standards/index.js +200 -56
  303. package/src/standards/sharedCatalog.js +16 -0
  304. package/src/testing/browserModuleHarness.js +604 -31
  305. package/src/testing/docker/wasmedge-parity.Dockerfile +39 -0
  306. package/src/testing/index.d.ts +151 -0
  307. package/src/testing/index.js +21 -0
  308. package/src/testing/native/wasmedge_emscripten_pthread_runner.c +25 -1
  309. package/src/testing/parityBrowserRunner.js +138 -0
  310. package/src/testing/parityHarness.js +616 -0
  311. package/src/testing/parityLanes.js +537 -0
  312. package/src/testing/processInvoke.js +29 -21
  313. package/src/testing/streamInvokeCodec.js +10 -175
  314. package/src/testing/wasmedgePin.json +6 -0
  315. package/src/testing/workerModuleHarness.js +242 -0
  316. package/src/testing/workerModuleHarnessWorker.js +176 -0
  317. package/src/transport/index.js +3 -0
  318. package/src/transport/pki.js +352 -14
  319. package/src/transport/records.js +16 -7
  320. package/src/utils/ecdsaDer.js +106 -0
  321. package/src/utils/wasmCrypto.js +0 -43
  322. package/templates/gpu-module/README.md +48 -0
  323. package/templates/gpu-module/include/space_data_gpu_abi.h +122 -0
  324. package/templates/gpu-module/manifest.json +84 -0
  325. package/schemas/PluginInvokeRequest.fbs +0 -18
  326. package/schemas/PluginInvokeResponse.fbs +0 -30
  327. package/schemas/spacedatastandards/PLG.fbs +0 -191
  328. package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts +0 -51
  329. package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts.map +0 -1
  330. package/src/generated/orbpro/invoke/plugin-invoke-request.js +0 -131
  331. package/src/generated/orbpro/invoke/plugin-invoke-request.js.map +0 -1
  332. package/src/generated/orbpro/invoke/plugin-invoke-request.ts +0 -173
  333. package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts +0 -76
  334. package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts.map +0 -1
  335. package/src/generated/orbpro/invoke/plugin-invoke-response.js +0 -184
  336. package/src/generated/orbpro/invoke/plugin-invoke-response.js.map +0 -1
  337. package/src/generated/orbpro/invoke/plugin-invoke-response.ts +0 -243
  338. package/src/generated/orbpro/invoke.d.ts +0 -3
  339. package/src/generated/orbpro/invoke.js +0 -5
  340. package/src/generated/spacedatastandards/plg/entry-function.js +0 -86
  341. package/src/generated/spacedatastandards/plg/entry-function.ts +0 -119
  342. package/src/generated/spacedatastandards/plg/index.js +0 -16
  343. package/src/generated/spacedatastandards/plg/index.ts +0 -11
  344. package/src/generated/spacedatastandards/plg/plg.js +0 -657
  345. package/src/generated/spacedatastandards/plg/plg.ts +0 -924
  346. package/src/generated/spacedatastandards/plg/plugin-capability.js +0 -66
  347. package/src/generated/spacedatastandards/plg/plugin-category.js +0 -15
  348. package/src/generated/spacedatastandards/plg/plugin-category.ts +0 -53
  349. package/src/generated/spacedatastandards/plg/plugin-dependency.js +0 -63
  350. package/src/generated/spacedatastandards/plg/plugin-dependency.ts +0 -86
  351. package/src/generated/spacedatastandards/plg/publication-state.js +0 -9
  352. package/src/generated/spacedatastandards/plg/purchase-tier.js +0 -9
  353. /package/src/generated/spacedatastandards/plg/{publication-state.ts → publicationState.ts} +0 -0
  354. /package/src/generated/spacedatastandards/plg/{purchase-tier.ts → purchaseTier.ts} +0 -0
@@ -0,0 +1,292 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ import * as flatbuffers from 'flatbuffers';
6
+
7
+
8
+
9
+ /**
10
+ * Protocol handler declared by a plugin.
11
+ */
12
+ export class PLGProtocolSpec implements flatbuffers.IUnpackableObject<PLGProtocolSpecT> {
13
+ bb: flatbuffers.ByteBuffer|null = null;
14
+ bb_pos = 0;
15
+ __init(i:number, bb:flatbuffers.ByteBuffer):PLGProtocolSpec {
16
+ this.bb_pos = i;
17
+ this.bb = bb;
18
+ return this;
19
+ }
20
+
21
+ static getRootAsPLGProtocolSpec(bb:flatbuffers.ByteBuffer, obj?:PLGProtocolSpec):PLGProtocolSpec {
22
+ return (obj || new PLGProtocolSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
23
+ }
24
+
25
+ static getSizePrefixedRootAsPLGProtocolSpec(bb:flatbuffers.ByteBuffer, obj?:PLGProtocolSpec):PLGProtocolSpec {
26
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
27
+ return (obj || new PLGProtocolSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
28
+ }
29
+
30
+ PROTOCOL_ID():string
31
+ PROTOCOL_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
32
+ PROTOCOL_ID(optionalEncoding?:any):string|Uint8Array {
33
+ const offset = this.bb!.__offset(this.bb_pos, 4);
34
+ return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
35
+ }
36
+
37
+ METHOD_ID():string
38
+ METHOD_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
39
+ METHOD_ID(optionalEncoding?:any):string|Uint8Array {
40
+ const offset = this.bb!.__offset(this.bb_pos, 6);
41
+ return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
42
+ }
43
+
44
+ INPUT_PORT_ID():string|null
45
+ INPUT_PORT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
46
+ INPUT_PORT_ID(optionalEncoding?:any):string|Uint8Array|null {
47
+ const offset = this.bb!.__offset(this.bb_pos, 8);
48
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
49
+ }
50
+
51
+ OUTPUT_PORT_ID():string|null
52
+ OUTPUT_PORT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
53
+ OUTPUT_PORT_ID(optionalEncoding?:any):string|Uint8Array|null {
54
+ const offset = this.bb!.__offset(this.bb_pos, 10);
55
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
56
+ }
57
+
58
+ DESCRIPTION():string|null
59
+ DESCRIPTION(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
60
+ DESCRIPTION(optionalEncoding?:any):string|Uint8Array|null {
61
+ const offset = this.bb!.__offset(this.bb_pos, 12);
62
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
63
+ }
64
+
65
+ WIRE_ID():string|null
66
+ WIRE_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
67
+ WIRE_ID(optionalEncoding?:any):string|Uint8Array|null {
68
+ const offset = this.bb!.__offset(this.bb_pos, 14);
69
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
70
+ }
71
+
72
+ TRANSPORT_KIND():string|null
73
+ TRANSPORT_KIND(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
74
+ TRANSPORT_KIND(optionalEncoding?:any):string|Uint8Array|null {
75
+ const offset = this.bb!.__offset(this.bb_pos, 16);
76
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
77
+ }
78
+
79
+ ROLE():string|null
80
+ ROLE(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
81
+ ROLE(optionalEncoding?:any):string|Uint8Array|null {
82
+ const offset = this.bb!.__offset(this.bb_pos, 18);
83
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
84
+ }
85
+
86
+ SPEC_URI():string|null
87
+ SPEC_URI(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
88
+ SPEC_URI(optionalEncoding?:any):string|Uint8Array|null {
89
+ const offset = this.bb!.__offset(this.bb_pos, 20);
90
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
91
+ }
92
+
93
+ AUTO_INSTALL():boolean {
94
+ const offset = this.bb!.__offset(this.bb_pos, 22);
95
+ return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : true;
96
+ }
97
+
98
+ ADVERTISE():boolean {
99
+ const offset = this.bb!.__offset(this.bb_pos, 24);
100
+ return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
101
+ }
102
+
103
+ DISCOVERY_KEY():string|null
104
+ DISCOVERY_KEY(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
105
+ DISCOVERY_KEY(optionalEncoding?:any):string|Uint8Array|null {
106
+ const offset = this.bb!.__offset(this.bb_pos, 26);
107
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
108
+ }
109
+
110
+ DEFAULT_PORT():number {
111
+ const offset = this.bb!.__offset(this.bb_pos, 28);
112
+ return offset ? this.bb!.readUint16(this.bb_pos + offset) : 0;
113
+ }
114
+
115
+ REQUIRE_SECURE_TRANSPORT():boolean {
116
+ const offset = this.bb!.__offset(this.bb_pos, 30);
117
+ return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
118
+ }
119
+
120
+ static startPLGProtocolSpec(builder:flatbuffers.Builder) {
121
+ builder.startObject(14);
122
+ }
123
+
124
+ static addProtocolId(builder:flatbuffers.Builder, PROTOCOL_IDOffset:flatbuffers.Offset) {
125
+ builder.addFieldOffset(0, PROTOCOL_IDOffset, 0);
126
+ }
127
+
128
+ static addMethodId(builder:flatbuffers.Builder, METHOD_IDOffset:flatbuffers.Offset) {
129
+ builder.addFieldOffset(1, METHOD_IDOffset, 0);
130
+ }
131
+
132
+ static addInputPortId(builder:flatbuffers.Builder, INPUT_PORT_IDOffset:flatbuffers.Offset) {
133
+ builder.addFieldOffset(2, INPUT_PORT_IDOffset, 0);
134
+ }
135
+
136
+ static addOutputPortId(builder:flatbuffers.Builder, OUTPUT_PORT_IDOffset:flatbuffers.Offset) {
137
+ builder.addFieldOffset(3, OUTPUT_PORT_IDOffset, 0);
138
+ }
139
+
140
+ static addDescription(builder:flatbuffers.Builder, DESCRIPTIONOffset:flatbuffers.Offset) {
141
+ builder.addFieldOffset(4, DESCRIPTIONOffset, 0);
142
+ }
143
+
144
+ static addWireId(builder:flatbuffers.Builder, WIRE_IDOffset:flatbuffers.Offset) {
145
+ builder.addFieldOffset(5, WIRE_IDOffset, 0);
146
+ }
147
+
148
+ static addTransportKind(builder:flatbuffers.Builder, TRANSPORT_KINDOffset:flatbuffers.Offset) {
149
+ builder.addFieldOffset(6, TRANSPORT_KINDOffset, 0);
150
+ }
151
+
152
+ static addRole(builder:flatbuffers.Builder, ROLEOffset:flatbuffers.Offset) {
153
+ builder.addFieldOffset(7, ROLEOffset, 0);
154
+ }
155
+
156
+ static addSpecUri(builder:flatbuffers.Builder, SPEC_URIOffset:flatbuffers.Offset) {
157
+ builder.addFieldOffset(8, SPEC_URIOffset, 0);
158
+ }
159
+
160
+ static addAutoInstall(builder:flatbuffers.Builder, AUTO_INSTALL:boolean) {
161
+ builder.addFieldInt8(9, +AUTO_INSTALL, +true);
162
+ }
163
+
164
+ static addAdvertise(builder:flatbuffers.Builder, ADVERTISE:boolean) {
165
+ builder.addFieldInt8(10, +ADVERTISE, +false);
166
+ }
167
+
168
+ static addDiscoveryKey(builder:flatbuffers.Builder, DISCOVERY_KEYOffset:flatbuffers.Offset) {
169
+ builder.addFieldOffset(11, DISCOVERY_KEYOffset, 0);
170
+ }
171
+
172
+ static addDefaultPort(builder:flatbuffers.Builder, DEFAULT_PORT:number) {
173
+ builder.addFieldInt16(12, DEFAULT_PORT, 0);
174
+ }
175
+
176
+ static addRequireSecureTransport(builder:flatbuffers.Builder, REQUIRE_SECURE_TRANSPORT:boolean) {
177
+ builder.addFieldInt8(13, +REQUIRE_SECURE_TRANSPORT, +false);
178
+ }
179
+
180
+ static endPLGProtocolSpec(builder:flatbuffers.Builder):flatbuffers.Offset {
181
+ const offset = builder.endObject();
182
+ builder.requiredField(offset, 4) // PROTOCOL_ID
183
+ builder.requiredField(offset, 6) // METHOD_ID
184
+ return offset;
185
+ }
186
+
187
+ static createPLGProtocolSpec(builder:flatbuffers.Builder, PROTOCOL_IDOffset:flatbuffers.Offset, METHOD_IDOffset:flatbuffers.Offset, INPUT_PORT_IDOffset:flatbuffers.Offset, OUTPUT_PORT_IDOffset:flatbuffers.Offset, DESCRIPTIONOffset:flatbuffers.Offset, WIRE_IDOffset:flatbuffers.Offset, TRANSPORT_KINDOffset:flatbuffers.Offset, ROLEOffset:flatbuffers.Offset, SPEC_URIOffset:flatbuffers.Offset, AUTO_INSTALL:boolean, ADVERTISE:boolean, DISCOVERY_KEYOffset:flatbuffers.Offset, DEFAULT_PORT:number, REQUIRE_SECURE_TRANSPORT:boolean):flatbuffers.Offset {
188
+ PLGProtocolSpec.startPLGProtocolSpec(builder);
189
+ PLGProtocolSpec.addProtocolId(builder, PROTOCOL_IDOffset);
190
+ PLGProtocolSpec.addMethodId(builder, METHOD_IDOffset);
191
+ PLGProtocolSpec.addInputPortId(builder, INPUT_PORT_IDOffset);
192
+ PLGProtocolSpec.addOutputPortId(builder, OUTPUT_PORT_IDOffset);
193
+ PLGProtocolSpec.addDescription(builder, DESCRIPTIONOffset);
194
+ PLGProtocolSpec.addWireId(builder, WIRE_IDOffset);
195
+ PLGProtocolSpec.addTransportKind(builder, TRANSPORT_KINDOffset);
196
+ PLGProtocolSpec.addRole(builder, ROLEOffset);
197
+ PLGProtocolSpec.addSpecUri(builder, SPEC_URIOffset);
198
+ PLGProtocolSpec.addAutoInstall(builder, AUTO_INSTALL);
199
+ PLGProtocolSpec.addAdvertise(builder, ADVERTISE);
200
+ PLGProtocolSpec.addDiscoveryKey(builder, DISCOVERY_KEYOffset);
201
+ PLGProtocolSpec.addDefaultPort(builder, DEFAULT_PORT);
202
+ PLGProtocolSpec.addRequireSecureTransport(builder, REQUIRE_SECURE_TRANSPORT);
203
+ return PLGProtocolSpec.endPLGProtocolSpec(builder);
204
+ }
205
+
206
+ unpack(): PLGProtocolSpecT {
207
+ return new PLGProtocolSpecT(
208
+ this.PROTOCOL_ID(),
209
+ this.METHOD_ID(),
210
+ this.INPUT_PORT_ID(),
211
+ this.OUTPUT_PORT_ID(),
212
+ this.DESCRIPTION(),
213
+ this.WIRE_ID(),
214
+ this.TRANSPORT_KIND(),
215
+ this.ROLE(),
216
+ this.SPEC_URI(),
217
+ this.AUTO_INSTALL(),
218
+ this.ADVERTISE(),
219
+ this.DISCOVERY_KEY(),
220
+ this.DEFAULT_PORT(),
221
+ this.REQUIRE_SECURE_TRANSPORT()
222
+ );
223
+ }
224
+
225
+
226
+ unpackTo(_o: PLGProtocolSpecT): void {
227
+ _o.PROTOCOL_ID = this.PROTOCOL_ID();
228
+ _o.METHOD_ID = this.METHOD_ID();
229
+ _o.INPUT_PORT_ID = this.INPUT_PORT_ID();
230
+ _o.OUTPUT_PORT_ID = this.OUTPUT_PORT_ID();
231
+ _o.DESCRIPTION = this.DESCRIPTION();
232
+ _o.WIRE_ID = this.WIRE_ID();
233
+ _o.TRANSPORT_KIND = this.TRANSPORT_KIND();
234
+ _o.ROLE = this.ROLE();
235
+ _o.SPEC_URI = this.SPEC_URI();
236
+ _o.AUTO_INSTALL = this.AUTO_INSTALL();
237
+ _o.ADVERTISE = this.ADVERTISE();
238
+ _o.DISCOVERY_KEY = this.DISCOVERY_KEY();
239
+ _o.DEFAULT_PORT = this.DEFAULT_PORT();
240
+ _o.REQUIRE_SECURE_TRANSPORT = this.REQUIRE_SECURE_TRANSPORT();
241
+ }
242
+ }
243
+
244
+ export class PLGProtocolSpecT implements flatbuffers.IGeneratedObject {
245
+ constructor(
246
+ public PROTOCOL_ID: string|Uint8Array|null = null,
247
+ public METHOD_ID: string|Uint8Array|null = null,
248
+ public INPUT_PORT_ID: string|Uint8Array|null = null,
249
+ public OUTPUT_PORT_ID: string|Uint8Array|null = null,
250
+ public DESCRIPTION: string|Uint8Array|null = null,
251
+ public WIRE_ID: string|Uint8Array|null = null,
252
+ public TRANSPORT_KIND: string|Uint8Array|null = null,
253
+ public ROLE: string|Uint8Array|null = null,
254
+ public SPEC_URI: string|Uint8Array|null = null,
255
+ public AUTO_INSTALL: boolean = true,
256
+ public ADVERTISE: boolean = false,
257
+ public DISCOVERY_KEY: string|Uint8Array|null = null,
258
+ public DEFAULT_PORT: number = 0,
259
+ public REQUIRE_SECURE_TRANSPORT: boolean = false
260
+ ){}
261
+
262
+
263
+ pack(builder:flatbuffers.Builder): flatbuffers.Offset {
264
+ const PROTOCOL_ID = (this.PROTOCOL_ID !== null ? builder.createString(this.PROTOCOL_ID!) : 0);
265
+ const METHOD_ID = (this.METHOD_ID !== null ? builder.createString(this.METHOD_ID!) : 0);
266
+ const INPUT_PORT_ID = (this.INPUT_PORT_ID !== null ? builder.createString(this.INPUT_PORT_ID!) : 0);
267
+ const OUTPUT_PORT_ID = (this.OUTPUT_PORT_ID !== null ? builder.createString(this.OUTPUT_PORT_ID!) : 0);
268
+ const DESCRIPTION = (this.DESCRIPTION !== null ? builder.createString(this.DESCRIPTION!) : 0);
269
+ const WIRE_ID = (this.WIRE_ID !== null ? builder.createString(this.WIRE_ID!) : 0);
270
+ const TRANSPORT_KIND = (this.TRANSPORT_KIND !== null ? builder.createString(this.TRANSPORT_KIND!) : 0);
271
+ const ROLE = (this.ROLE !== null ? builder.createString(this.ROLE!) : 0);
272
+ const SPEC_URI = (this.SPEC_URI !== null ? builder.createString(this.SPEC_URI!) : 0);
273
+ const DISCOVERY_KEY = (this.DISCOVERY_KEY !== null ? builder.createString(this.DISCOVERY_KEY!) : 0);
274
+
275
+ return PLGProtocolSpec.createPLGProtocolSpec(builder,
276
+ PROTOCOL_ID,
277
+ METHOD_ID,
278
+ INPUT_PORT_ID,
279
+ OUTPUT_PORT_ID,
280
+ DESCRIPTION,
281
+ WIRE_ID,
282
+ TRANSPORT_KIND,
283
+ ROLE,
284
+ SPEC_URI,
285
+ this.AUTO_INSTALL,
286
+ this.ADVERTISE,
287
+ DISCOVERY_KEY,
288
+ this.DEFAULT_PORT,
289
+ this.REQUIRE_SECURE_TRANSPORT
290
+ );
291
+ }
292
+ }
@@ -0,0 +1,40 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ /**
3
+ * Timer entry declared by a plugin.
4
+ */
5
+ export declare class PLGTimerSpec implements flatbuffers.IUnpackableObject<PLGTimerSpecT> {
6
+ bb: flatbuffers.ByteBuffer | null;
7
+ bb_pos: number;
8
+ __init(i: number, bb: flatbuffers.ByteBuffer): PLGTimerSpec;
9
+ static getRootAsPLGTimerSpec(bb: flatbuffers.ByteBuffer, obj?: PLGTimerSpec): PLGTimerSpec;
10
+ static getSizePrefixedRootAsPLGTimerSpec(bb: flatbuffers.ByteBuffer, obj?: PLGTimerSpec): PLGTimerSpec;
11
+ TIMER_ID(): string;
12
+ TIMER_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
13
+ METHOD_ID(): string;
14
+ METHOD_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
15
+ INPUT_PORT_ID(): string | null;
16
+ INPUT_PORT_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
17
+ DEFAULT_INTERVAL_MS(): bigint;
18
+ DESCRIPTION(): string | null;
19
+ DESCRIPTION(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
20
+ static startPLGTimerSpec(builder: flatbuffers.Builder): void;
21
+ static addTimerId(builder: flatbuffers.Builder, TIMER_IDOffset: flatbuffers.Offset): void;
22
+ static addMethodId(builder: flatbuffers.Builder, METHOD_IDOffset: flatbuffers.Offset): void;
23
+ static addInputPortId(builder: flatbuffers.Builder, INPUT_PORT_IDOffset: flatbuffers.Offset): void;
24
+ static addDefaultIntervalMs(builder: flatbuffers.Builder, DEFAULT_INTERVAL_MS: bigint): void;
25
+ static addDescription(builder: flatbuffers.Builder, DESCRIPTIONOffset: flatbuffers.Offset): void;
26
+ static endPLGTimerSpec(builder: flatbuffers.Builder): flatbuffers.Offset;
27
+ static createPLGTimerSpec(builder: flatbuffers.Builder, TIMER_IDOffset: flatbuffers.Offset, METHOD_IDOffset: flatbuffers.Offset, INPUT_PORT_IDOffset: flatbuffers.Offset, DEFAULT_INTERVAL_MS: bigint, DESCRIPTIONOffset: flatbuffers.Offset): flatbuffers.Offset;
28
+ unpack(): PLGTimerSpecT;
29
+ unpackTo(_o: PLGTimerSpecT): void;
30
+ }
31
+ export declare class PLGTimerSpecT implements flatbuffers.IGeneratedObject {
32
+ TIMER_ID: string | Uint8Array | null;
33
+ METHOD_ID: string | Uint8Array | null;
34
+ INPUT_PORT_ID: string | Uint8Array | null;
35
+ DEFAULT_INTERVAL_MS: bigint;
36
+ DESCRIPTION: string | Uint8Array | null;
37
+ constructor(TIMER_ID?: string | Uint8Array | null, METHOD_ID?: string | Uint8Array | null, INPUT_PORT_ID?: string | Uint8Array | null, DEFAULT_INTERVAL_MS?: bigint, DESCRIPTION?: string | Uint8Array | null);
38
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
39
+ }
40
+ //# sourceMappingURL=PLGTimerSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PLGTimerSpec.d.ts","sourceRoot":"","sources":["../../../ts/PLG/PLGTimerSpec.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,qBAAa,YAAa,YAAW,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAC/E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,YAAY;IAM1D,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAIvF,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAKnG,QAAQ,IAAG,MAAM;IACjB,QAAQ,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU;IAMjE,SAAS,IAAG,MAAM;IAClB,SAAS,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU;IAMlE,aAAa,IAAG,MAAM,GAAC,IAAI;IAC3B,aAAa,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAM3E,mBAAmB,IAAG,MAAM;IAK5B,WAAW,IAAG,MAAM,GAAC,IAAI;IACzB,WAAW,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMzE,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIpD,MAAM,CAAC,UAAU,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAC,WAAW,CAAC,MAAM;IAIhF,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,eAAe,EAAC,WAAW,CAAC,MAAM;IAIlF,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,mBAAmB,EAAC,WAAW,CAAC,MAAM;IAIzF,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,mBAAmB,EAAC,MAAM;IAInF,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,iBAAiB,EAAC,WAAW,CAAC,MAAM;IAIvF,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAOtE,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAC,WAAW,CAAC,MAAM,EAAE,eAAe,EAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB,EAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB,EAAC,MAAM,EAAE,iBAAiB,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAU1P,MAAM,IAAI,aAAa;IAWvB,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;CAOhC;AAED,qBAAa,aAAc,YAAW,WAAW,CAAC,gBAAgB;IAEzD,QAAQ,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAChC,SAAS,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACjC,aAAa,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACrC,mBAAmB,EAAE,MAAM;IAC3B,WAAW,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAJnC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACvC,SAAS,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACxC,aAAa,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAC5C,mBAAmB,GAAE,MAAoB,EACzC,WAAW,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAInD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAcpD"}
@@ -0,0 +1,103 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ import * as flatbuffers from 'flatbuffers';
4
+ /**
5
+ * Timer entry declared by a plugin.
6
+ */
7
+ export class PLGTimerSpec {
8
+ constructor() {
9
+ this.bb = null;
10
+ this.bb_pos = 0;
11
+ }
12
+ __init(i, bb) {
13
+ this.bb_pos = i;
14
+ this.bb = bb;
15
+ return this;
16
+ }
17
+ static getRootAsPLGTimerSpec(bb, obj) {
18
+ return (obj || new PLGTimerSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
19
+ }
20
+ static getSizePrefixedRootAsPLGTimerSpec(bb, obj) {
21
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
22
+ return (obj || new PLGTimerSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
23
+ }
24
+ TIMER_ID(optionalEncoding) {
25
+ const offset = this.bb.__offset(this.bb_pos, 4);
26
+ return this.bb.__string(this.bb_pos + offset, optionalEncoding);
27
+ }
28
+ METHOD_ID(optionalEncoding) {
29
+ const offset = this.bb.__offset(this.bb_pos, 6);
30
+ return this.bb.__string(this.bb_pos + offset, optionalEncoding);
31
+ }
32
+ INPUT_PORT_ID(optionalEncoding) {
33
+ const offset = this.bb.__offset(this.bb_pos, 8);
34
+ return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
35
+ }
36
+ DEFAULT_INTERVAL_MS() {
37
+ const offset = this.bb.__offset(this.bb_pos, 10);
38
+ return offset ? this.bb.readUint64(this.bb_pos + offset) : BigInt('0');
39
+ }
40
+ DESCRIPTION(optionalEncoding) {
41
+ const offset = this.bb.__offset(this.bb_pos, 12);
42
+ return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
43
+ }
44
+ static startPLGTimerSpec(builder) {
45
+ builder.startObject(5);
46
+ }
47
+ static addTimerId(builder, TIMER_IDOffset) {
48
+ builder.addFieldOffset(0, TIMER_IDOffset, 0);
49
+ }
50
+ static addMethodId(builder, METHOD_IDOffset) {
51
+ builder.addFieldOffset(1, METHOD_IDOffset, 0);
52
+ }
53
+ static addInputPortId(builder, INPUT_PORT_IDOffset) {
54
+ builder.addFieldOffset(2, INPUT_PORT_IDOffset, 0);
55
+ }
56
+ static addDefaultIntervalMs(builder, DEFAULT_INTERVAL_MS) {
57
+ builder.addFieldInt64(3, DEFAULT_INTERVAL_MS, BigInt('0'));
58
+ }
59
+ static addDescription(builder, DESCRIPTIONOffset) {
60
+ builder.addFieldOffset(4, DESCRIPTIONOffset, 0);
61
+ }
62
+ static endPLGTimerSpec(builder) {
63
+ const offset = builder.endObject();
64
+ builder.requiredField(offset, 4); // TIMER_ID
65
+ builder.requiredField(offset, 6); // METHOD_ID
66
+ return offset;
67
+ }
68
+ static createPLGTimerSpec(builder, TIMER_IDOffset, METHOD_IDOffset, INPUT_PORT_IDOffset, DEFAULT_INTERVAL_MS, DESCRIPTIONOffset) {
69
+ PLGTimerSpec.startPLGTimerSpec(builder);
70
+ PLGTimerSpec.addTimerId(builder, TIMER_IDOffset);
71
+ PLGTimerSpec.addMethodId(builder, METHOD_IDOffset);
72
+ PLGTimerSpec.addInputPortId(builder, INPUT_PORT_IDOffset);
73
+ PLGTimerSpec.addDefaultIntervalMs(builder, DEFAULT_INTERVAL_MS);
74
+ PLGTimerSpec.addDescription(builder, DESCRIPTIONOffset);
75
+ return PLGTimerSpec.endPLGTimerSpec(builder);
76
+ }
77
+ unpack() {
78
+ return new PLGTimerSpecT(this.TIMER_ID(), this.METHOD_ID(), this.INPUT_PORT_ID(), this.DEFAULT_INTERVAL_MS(), this.DESCRIPTION());
79
+ }
80
+ unpackTo(_o) {
81
+ _o.TIMER_ID = this.TIMER_ID();
82
+ _o.METHOD_ID = this.METHOD_ID();
83
+ _o.INPUT_PORT_ID = this.INPUT_PORT_ID();
84
+ _o.DEFAULT_INTERVAL_MS = this.DEFAULT_INTERVAL_MS();
85
+ _o.DESCRIPTION = this.DESCRIPTION();
86
+ }
87
+ }
88
+ export class PLGTimerSpecT {
89
+ constructor(TIMER_ID = null, METHOD_ID = null, INPUT_PORT_ID = null, DEFAULT_INTERVAL_MS = BigInt('0'), DESCRIPTION = null) {
90
+ this.TIMER_ID = TIMER_ID;
91
+ this.METHOD_ID = METHOD_ID;
92
+ this.INPUT_PORT_ID = INPUT_PORT_ID;
93
+ this.DEFAULT_INTERVAL_MS = DEFAULT_INTERVAL_MS;
94
+ this.DESCRIPTION = DESCRIPTION;
95
+ }
96
+ pack(builder) {
97
+ const TIMER_ID = (this.TIMER_ID !== null ? builder.createString(this.TIMER_ID) : 0);
98
+ const METHOD_ID = (this.METHOD_ID !== null ? builder.createString(this.METHOD_ID) : 0);
99
+ const INPUT_PORT_ID = (this.INPUT_PORT_ID !== null ? builder.createString(this.INPUT_PORT_ID) : 0);
100
+ const DESCRIPTION = (this.DESCRIPTION !== null ? builder.createString(this.DESCRIPTION) : 0);
101
+ return PLGTimerSpec.createPLGTimerSpec(builder, TIMER_ID, METHOD_ID, INPUT_PORT_ID, this.DEFAULT_INTERVAL_MS, DESCRIPTION);
102
+ }
103
+ }
@@ -0,0 +1,148 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ import * as flatbuffers from 'flatbuffers';
6
+
7
+
8
+
9
+ /**
10
+ * Timer entry declared by a plugin.
11
+ */
12
+ export class PLGTimerSpec implements flatbuffers.IUnpackableObject<PLGTimerSpecT> {
13
+ bb: flatbuffers.ByteBuffer|null = null;
14
+ bb_pos = 0;
15
+ __init(i:number, bb:flatbuffers.ByteBuffer):PLGTimerSpec {
16
+ this.bb_pos = i;
17
+ this.bb = bb;
18
+ return this;
19
+ }
20
+
21
+ static getRootAsPLGTimerSpec(bb:flatbuffers.ByteBuffer, obj?:PLGTimerSpec):PLGTimerSpec {
22
+ return (obj || new PLGTimerSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
23
+ }
24
+
25
+ static getSizePrefixedRootAsPLGTimerSpec(bb:flatbuffers.ByteBuffer, obj?:PLGTimerSpec):PLGTimerSpec {
26
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
27
+ return (obj || new PLGTimerSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
28
+ }
29
+
30
+ TIMER_ID():string
31
+ TIMER_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
32
+ TIMER_ID(optionalEncoding?:any):string|Uint8Array {
33
+ const offset = this.bb!.__offset(this.bb_pos, 4);
34
+ return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
35
+ }
36
+
37
+ METHOD_ID():string
38
+ METHOD_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
39
+ METHOD_ID(optionalEncoding?:any):string|Uint8Array {
40
+ const offset = this.bb!.__offset(this.bb_pos, 6);
41
+ return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
42
+ }
43
+
44
+ INPUT_PORT_ID():string|null
45
+ INPUT_PORT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
46
+ INPUT_PORT_ID(optionalEncoding?:any):string|Uint8Array|null {
47
+ const offset = this.bb!.__offset(this.bb_pos, 8);
48
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
49
+ }
50
+
51
+ DEFAULT_INTERVAL_MS():bigint {
52
+ const offset = this.bb!.__offset(this.bb_pos, 10);
53
+ return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
54
+ }
55
+
56
+ DESCRIPTION():string|null
57
+ DESCRIPTION(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
58
+ DESCRIPTION(optionalEncoding?:any):string|Uint8Array|null {
59
+ const offset = this.bb!.__offset(this.bb_pos, 12);
60
+ return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
61
+ }
62
+
63
+ static startPLGTimerSpec(builder:flatbuffers.Builder) {
64
+ builder.startObject(5);
65
+ }
66
+
67
+ static addTimerId(builder:flatbuffers.Builder, TIMER_IDOffset:flatbuffers.Offset) {
68
+ builder.addFieldOffset(0, TIMER_IDOffset, 0);
69
+ }
70
+
71
+ static addMethodId(builder:flatbuffers.Builder, METHOD_IDOffset:flatbuffers.Offset) {
72
+ builder.addFieldOffset(1, METHOD_IDOffset, 0);
73
+ }
74
+
75
+ static addInputPortId(builder:flatbuffers.Builder, INPUT_PORT_IDOffset:flatbuffers.Offset) {
76
+ builder.addFieldOffset(2, INPUT_PORT_IDOffset, 0);
77
+ }
78
+
79
+ static addDefaultIntervalMs(builder:flatbuffers.Builder, DEFAULT_INTERVAL_MS:bigint) {
80
+ builder.addFieldInt64(3, DEFAULT_INTERVAL_MS, BigInt('0'));
81
+ }
82
+
83
+ static addDescription(builder:flatbuffers.Builder, DESCRIPTIONOffset:flatbuffers.Offset) {
84
+ builder.addFieldOffset(4, DESCRIPTIONOffset, 0);
85
+ }
86
+
87
+ static endPLGTimerSpec(builder:flatbuffers.Builder):flatbuffers.Offset {
88
+ const offset = builder.endObject();
89
+ builder.requiredField(offset, 4) // TIMER_ID
90
+ builder.requiredField(offset, 6) // METHOD_ID
91
+ return offset;
92
+ }
93
+
94
+ static createPLGTimerSpec(builder:flatbuffers.Builder, TIMER_IDOffset:flatbuffers.Offset, METHOD_IDOffset:flatbuffers.Offset, INPUT_PORT_IDOffset:flatbuffers.Offset, DEFAULT_INTERVAL_MS:bigint, DESCRIPTIONOffset:flatbuffers.Offset):flatbuffers.Offset {
95
+ PLGTimerSpec.startPLGTimerSpec(builder);
96
+ PLGTimerSpec.addTimerId(builder, TIMER_IDOffset);
97
+ PLGTimerSpec.addMethodId(builder, METHOD_IDOffset);
98
+ PLGTimerSpec.addInputPortId(builder, INPUT_PORT_IDOffset);
99
+ PLGTimerSpec.addDefaultIntervalMs(builder, DEFAULT_INTERVAL_MS);
100
+ PLGTimerSpec.addDescription(builder, DESCRIPTIONOffset);
101
+ return PLGTimerSpec.endPLGTimerSpec(builder);
102
+ }
103
+
104
+ unpack(): PLGTimerSpecT {
105
+ return new PLGTimerSpecT(
106
+ this.TIMER_ID(),
107
+ this.METHOD_ID(),
108
+ this.INPUT_PORT_ID(),
109
+ this.DEFAULT_INTERVAL_MS(),
110
+ this.DESCRIPTION()
111
+ );
112
+ }
113
+
114
+
115
+ unpackTo(_o: PLGTimerSpecT): void {
116
+ _o.TIMER_ID = this.TIMER_ID();
117
+ _o.METHOD_ID = this.METHOD_ID();
118
+ _o.INPUT_PORT_ID = this.INPUT_PORT_ID();
119
+ _o.DEFAULT_INTERVAL_MS = this.DEFAULT_INTERVAL_MS();
120
+ _o.DESCRIPTION = this.DESCRIPTION();
121
+ }
122
+ }
123
+
124
+ export class PLGTimerSpecT implements flatbuffers.IGeneratedObject {
125
+ constructor(
126
+ public TIMER_ID: string|Uint8Array|null = null,
127
+ public METHOD_ID: string|Uint8Array|null = null,
128
+ public INPUT_PORT_ID: string|Uint8Array|null = null,
129
+ public DEFAULT_INTERVAL_MS: bigint = BigInt('0'),
130
+ public DESCRIPTION: string|Uint8Array|null = null
131
+ ){}
132
+
133
+
134
+ pack(builder:flatbuffers.Builder): flatbuffers.Offset {
135
+ const TIMER_ID = (this.TIMER_ID !== null ? builder.createString(this.TIMER_ID!) : 0);
136
+ const METHOD_ID = (this.METHOD_ID !== null ? builder.createString(this.METHOD_ID!) : 0);
137
+ const INPUT_PORT_ID = (this.INPUT_PORT_ID !== null ? builder.createString(this.INPUT_PORT_ID!) : 0);
138
+ const DESCRIPTION = (this.DESCRIPTION !== null ? builder.createString(this.DESCRIPTION!) : 0);
139
+
140
+ return PLGTimerSpec.createPLGTimerSpec(builder,
141
+ TIMER_ID,
142
+ METHOD_ID,
143
+ INPUT_PORT_ID,
144
+ this.DEFAULT_INTERVAL_MS,
145
+ DESCRIPTION
146
+ );
147
+ }
148
+ }
@@ -0,0 +1,41 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ /**
3
+ * Plugin capability declaration
4
+ */
5
+ export declare class PluginCapability implements flatbuffers.IUnpackableObject<PluginCapabilityT> {
6
+ bb: flatbuffers.ByteBuffer | null;
7
+ bb_pos: number;
8
+ __init(i: number, bb: flatbuffers.ByteBuffer): PluginCapability;
9
+ static getRootAsPluginCapability(bb: flatbuffers.ByteBuffer, obj?: PluginCapability): PluginCapability;
10
+ static getSizePrefixedRootAsPluginCapability(bb: flatbuffers.ByteBuffer, obj?: PluginCapability): PluginCapability;
11
+ /**
12
+ * Capability name, e.g., "gpu_compute", "wasm_simd"
13
+ */
14
+ NAME(): string | null;
15
+ NAME(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
16
+ /**
17
+ * Capability version
18
+ */
19
+ VERSION(): string | null;
20
+ VERSION(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
21
+ /**
22
+ * Whether this capability is required
23
+ */
24
+ REQUIRED(): boolean;
25
+ static startPluginCapability(builder: flatbuffers.Builder): void;
26
+ static addName(builder: flatbuffers.Builder, NAMEOffset: flatbuffers.Offset): void;
27
+ static addVersion(builder: flatbuffers.Builder, VERSIONOffset: flatbuffers.Offset): void;
28
+ static addRequired(builder: flatbuffers.Builder, REQUIRED: boolean): void;
29
+ static endPluginCapability(builder: flatbuffers.Builder): flatbuffers.Offset;
30
+ static createPluginCapability(builder: flatbuffers.Builder, NAMEOffset: flatbuffers.Offset, VERSIONOffset: flatbuffers.Offset, REQUIRED: boolean): flatbuffers.Offset;
31
+ unpack(): PluginCapabilityT;
32
+ unpackTo(_o: PluginCapabilityT): void;
33
+ }
34
+ export declare class PluginCapabilityT implements flatbuffers.IGeneratedObject {
35
+ NAME: string | Uint8Array | null;
36
+ VERSION: string | Uint8Array | null;
37
+ REQUIRED: boolean;
38
+ constructor(NAME?: string | Uint8Array | null, VERSION?: string | Uint8Array | null, REQUIRED?: boolean);
39
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
40
+ }
41
+ //# sourceMappingURL=PluginCapability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginCapability.d.ts","sourceRoot":"","sources":["../../../ts/PLG/PluginCapability.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,qBAAa,gBAAiB,YAAW,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;IACvF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,gBAAgB;IAM9D,MAAM,CAAC,yBAAyB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,gBAAgB,GAAE,gBAAgB;IAInG,MAAM,CAAC,qCAAqC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,gBAAgB,GAAE,gBAAgB;IAK/G;;OAEG;IACH,IAAI,IAAG,MAAM,GAAC,IAAI;IAClB,IAAI,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMlE;;OAEG;IACH,OAAO,IAAG,MAAM,GAAC,IAAI;IACrB,OAAO,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMrE;;OAEG;IACH,QAAQ,IAAG,OAAO;IAKlB,MAAM,CAAC,qBAAqB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIxD,MAAM,CAAC,OAAO,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,WAAW,CAAC,MAAM;IAIzE,MAAM,CAAC,UAAU,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,aAAa,EAAC,WAAW,CAAC,MAAM;IAI/E,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAC,OAAO;IAIhE,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAK1E,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,WAAW,CAAC,MAAM,EAAE,aAAa,EAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAQhK,MAAM,IAAI,iBAAiB;IAS3B,QAAQ,CAAC,EAAE,EAAE,iBAAiB,GAAG,IAAI;CAKpC;AAED,qBAAa,iBAAkB,YAAW,WAAW,CAAC,gBAAgB;IAE7D,IAAI,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAC5B,OAAO,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAC/B,QAAQ,EAAE,OAAO;gBAFjB,IAAI,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACnC,OAAO,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACtC,QAAQ,GAAE,OAAe;IAIlC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAUpD"}