@fps-games/editor 0.1.3-beta.4 → 0.1.4-beta.2

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 (892) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/local-editor-agent-actions.d.ts +38 -0
  6. package/dist/local-editor-agent-actions.d.ts.map +1 -0
  7. package/dist/local-editor-agent-actions.js +134 -0
  8. package/dist/local-editor-agent-actions.js.map +1 -0
  9. package/dist/local-editor-agent-context.d.ts +29 -0
  10. package/dist/local-editor-agent-context.d.ts.map +1 -0
  11. package/dist/local-editor-agent-context.js +266 -0
  12. package/dist/local-editor-agent-context.js.map +1 -0
  13. package/dist/local-editor-harness.d.ts +28 -1
  14. package/dist/local-editor-harness.d.ts.map +1 -1
  15. package/dist/local-editor-harness.js +662 -123
  16. package/dist/local-editor-harness.js.map +1 -1
  17. package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
  18. package/dist/local-editor-viewport-render-coordinator.js +34 -14
  19. package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
  20. package/dist/playable-babylon-facade.d.ts +15 -0
  21. package/dist/playable-babylon-facade.d.ts.map +1 -0
  22. package/dist/playable-babylon-facade.js +12 -0
  23. package/dist/playable-babylon-facade.js.map +1 -0
  24. package/dist/playable-babylon-outline-inspector.d.ts +32 -0
  25. package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
  26. package/dist/playable-babylon-outline-inspector.js +182 -0
  27. package/dist/playable-babylon-outline-inspector.js.map +1 -0
  28. package/dist/playable-babylon-outline-runtime.d.ts +19 -0
  29. package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
  30. package/dist/playable-babylon-outline-runtime.js +67 -0
  31. package/dist/playable-babylon-outline-runtime.js.map +1 -0
  32. package/dist/playable-babylon-rendering.d.ts +51 -0
  33. package/dist/playable-babylon-rendering.d.ts.map +1 -0
  34. package/dist/playable-babylon-rendering.js +178 -0
  35. package/dist/playable-babylon-rendering.js.map +1 -0
  36. package/dist/playable-local-editor-host.d.ts +511 -0
  37. package/dist/playable-local-editor-host.d.ts.map +1 -0
  38. package/dist/playable-local-editor-host.js +528 -0
  39. package/dist/playable-local-editor-host.js.map +1 -0
  40. package/dist/playable-sdk.d.ts +10 -0
  41. package/dist/playable-sdk.d.ts.map +1 -0
  42. package/dist/playable-sdk.js +6 -0
  43. package/dist/playable-sdk.js.map +1 -0
  44. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
  45. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
  46. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
  47. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
  48. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
  49. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
  50. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
  51. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
  52. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
  53. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
  54. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
  55. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
  56. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
  57. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
  58. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
  59. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
  60. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  61. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  62. package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
  63. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  64. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
  65. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
  66. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
  67. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
  68. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
  69. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
  70. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
  71. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
  72. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
  73. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
  74. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
  75. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
  76. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
  77. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
  78. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
  79. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
  80. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
  81. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
  82. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
  83. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
  84. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
  85. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
  86. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
  87. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
  88. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
  89. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
  90. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
  91. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
  92. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
  93. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
  94. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
  95. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
  96. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
  97. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
  98. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
  99. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
  100. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
  101. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
  102. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
  103. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
  104. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
  105. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
  106. package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
  107. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
  108. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +99 -28
  109. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  110. package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
  111. package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
  112. package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
  113. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
  114. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
  115. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
  116. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
  117. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
  118. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
  119. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
  120. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
  121. package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
  122. package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
  123. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
  124. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
  125. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
  126. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
  127. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
  128. package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
  129. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
  130. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
  131. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
  132. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
  133. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
  134. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
  135. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  136. package/node_modules/@fps-games/editor-babylon/dist/projection.js +258 -151
  137. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  138. package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
  139. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
  140. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
  141. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
  142. package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
  143. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
  144. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  145. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
  146. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  147. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
  148. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
  149. package/node_modules/@fps-games/editor-babylon/package.json +5 -5
  150. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
  151. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  152. package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
  153. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  154. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
  155. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
  156. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
  157. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
  158. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
  159. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
  160. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
  161. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
  162. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
  163. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
  164. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
  165. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
  166. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
  167. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
  168. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +45 -10
  169. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
  170. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
  171. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
  172. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
  173. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
  174. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  175. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
  176. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  177. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
  178. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
  179. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
  180. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
  181. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
  182. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
  183. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
  184. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
  185. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
  186. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  187. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
  188. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  189. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  190. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  191. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
  192. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  193. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
  194. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  195. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
  196. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  197. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
  198. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  199. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
  200. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  201. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
  202. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  203. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
  204. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  205. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  206. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
  207. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  208. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
  209. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
  210. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
  211. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
  212. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
  213. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
  214. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
  215. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
  216. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
  217. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
  218. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
  219. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
  220. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
  221. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
  222. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
  223. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
  224. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
  225. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
  226. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  227. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
  228. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  229. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
  230. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  231. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
  232. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  233. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
  234. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  235. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
  236. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
  237. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
  238. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
  239. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
  240. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
  241. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
  242. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
  243. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
  244. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
  245. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
  246. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
  247. package/node_modules/@fps-games/editor-browser/package.json +3 -2
  248. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
  249. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
  250. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
  251. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
  252. package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
  253. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  254. package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
  255. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  256. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
  257. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  258. package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
  259. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  260. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
  261. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  262. package/node_modules/@fps-games/editor-core/dist/scene-graph.js +2 -0
  263. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  264. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
  265. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
  266. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
  267. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
  268. package/node_modules/@fps-games/editor-core/package.json +2 -2
  269. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
  270. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
  271. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
  272. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
  273. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
  274. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
  275. package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
  276. package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
  277. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
  340. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
  341. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
  342. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
  343. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
  344. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
  345. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
  346. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
  347. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
  348. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
  349. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
  350. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
  351. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
  352. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
  353. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
  354. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
  355. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
  356. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
  357. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
  358. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
  359. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
  360. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
  361. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
  362. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
  363. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
  364. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
  365. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
  366. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
  367. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
  368. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
  369. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
  370. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
  371. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
  372. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
  373. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
  374. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
  375. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
  376. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
  377. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
  378. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
  379. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
  380. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
  381. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
  382. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
  383. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
  384. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
  385. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
  386. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
  387. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
  388. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
  389. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
  390. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
  391. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
  392. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
  393. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
  394. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
  395. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
  396. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
  397. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
  398. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
  399. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
  400. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
  401. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
  402. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
  403. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
  404. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
  405. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
  406. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
  407. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
  408. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
  409. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
  410. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
  411. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
  412. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
  413. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
  414. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
  415. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
  416. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
  417. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
  418. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
  419. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
  420. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
  421. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
  422. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
  423. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
  424. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
  425. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
  426. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
  427. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
  428. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
  429. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
  430. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
  431. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
  432. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
  433. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
  434. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
  435. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
  436. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
  437. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
  438. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
  439. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
  440. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
  441. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
  442. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
  443. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
  444. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
  445. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
  446. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
  447. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
  448. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
  449. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
  450. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
  451. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
  452. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
  453. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
  454. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
  455. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
  456. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
  457. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
  458. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
  459. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
  460. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
  461. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
  462. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
  463. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
  464. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
  465. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
  466. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
  467. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
  468. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
  469. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
  470. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
  471. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
  472. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
  473. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
  474. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
  475. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
  476. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
  477. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
  478. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
  479. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
  480. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
  481. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
  482. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
  483. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
  484. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
  485. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
  486. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
  487. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
  488. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
  489. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
  490. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
  491. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
  492. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
  493. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
  494. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
  495. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
  496. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
  497. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
  498. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
  499. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
  500. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
  501. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
  502. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
  503. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
  504. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
  505. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
  506. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
  507. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
  508. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
  509. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
  510. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
  511. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
  512. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
  513. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
  514. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
  515. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
  516. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
  517. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
  518. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
  519. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
  520. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
  521. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
  522. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
  523. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
  524. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
  525. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
  526. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
  527. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
  528. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
  529. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
  530. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
  531. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
  532. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
  533. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
  534. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
  535. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
  536. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
  537. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
  538. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
  539. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
  540. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
  541. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
  542. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
  543. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
  544. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
  545. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
  546. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
  547. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
  548. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
  549. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
  550. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
  551. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
  552. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
  553. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
  554. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
  555. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
  556. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
  557. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
  558. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
  559. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
  560. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
  561. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
  562. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
  563. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
  564. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
  565. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
  566. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
  567. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
  568. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
  569. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
  570. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
  571. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
  572. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
  573. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
  574. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
  575. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
  576. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
  577. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
  578. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
  579. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
  580. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
  581. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
  582. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
  583. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
  584. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
  585. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
  586. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
  587. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
  588. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
  589. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
  590. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
  591. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
  592. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
  593. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
  594. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
  595. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
  596. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
  597. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
  598. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
  599. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
  600. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
  601. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
  602. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
  603. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
  604. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
  605. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
  606. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
  607. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
  608. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
  609. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
  610. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
  611. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
  612. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
  613. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
  614. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
  615. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
  616. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
  617. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
  618. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
  619. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
  620. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
  621. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
  622. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
  623. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
  624. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
  625. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
  626. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
  627. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
  628. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
  629. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
  630. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
  631. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
  632. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
  633. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
  634. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
  635. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
  636. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
  637. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
  638. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
  639. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
  640. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
  641. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
  642. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
  643. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
  644. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
  645. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +212 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +207 -0
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
  865. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
  866. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
  867. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
  868. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
  869. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
  870. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
  871. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
  872. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
  873. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
  874. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
  875. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
  876. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
  877. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
  878. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
  879. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
  880. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
  881. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
  882. package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
  883. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
  884. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
  885. package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
  886. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
  887. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
  888. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  889. package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
  890. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  891. package/node_modules/@fps-games/editor-protocol/package.json +1 -1
  892. package/package.json +13 -7
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime-preview/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './types.js';
2
+ export * from './nodes.js';
3
+ export * from './assets.js';
4
+ export * from './import-plan.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime-preview/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type EditorSceneCameraRig, type EditorSceneDocument, type EditorSceneGameObject } from '../document/index';
2
+ import type { EditorSceneRuntimePreviewMainCameraRig, EditorSceneRuntimePreviewNode } from './types';
3
+ export declare function createEditorSceneRuntimePreviewNodes<TDocument extends EditorSceneDocument>(editorScene: TDocument): Array<EditorSceneRuntimePreviewNode>;
4
+ export declare function createEditorSceneRuntimePreviewNode<TDocument extends EditorSceneDocument, TGameObject extends EditorSceneGameObject>(editorScene: TDocument, gameObject: TGameObject): EditorSceneRuntimePreviewNode;
5
+ export declare function createEditorSceneRuntimePreviewMainCameraRig<TDocument extends EditorSceneDocument, TCameraRig extends EditorSceneCameraRig>(editorScene: TDocument, defaultCamera: TCameraRig): EditorSceneRuntimePreviewMainCameraRig<TCameraRig> | null;
6
+ //# sourceMappingURL=nodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/runtime-preview/nodes.ts"],"names":[],"mappings":"AAOA,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAC;AAY3B,OAAO,KAAK,EAEV,sCAAsC,EACtC,6BAA6B,EAE9B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,oCAAoC,CAAC,SAAS,SAAS,mBAAmB,EACxF,WAAW,EAAE,SAAS,GACrB,KAAK,CAAC,6BAA6B,CAAC,CAItC;AAED,wBAAgB,mCAAmC,CACjD,SAAS,SAAS,mBAAmB,EACrC,WAAW,SAAS,qBAAqB,EAEzC,WAAW,EAAE,SAAS,EACtB,UAAU,EAAE,WAAW,GACtB,6BAA6B,CA2C/B;AAED,wBAAgB,4CAA4C,CAC1D,SAAS,SAAS,mBAAmB,EACrC,UAAU,SAAS,oBAAoB,EAEvC,WAAW,EAAE,SAAS,EACtB,aAAa,EAAE,UAAU,GACxB,sCAAsC,CAAC,UAAU,CAAC,GAAG,IAAI,CAS3D"}
@@ -0,0 +1,212 @@
1
+ import { resolveArtistMaterialProfile, resolveSceneMaterialAssetKind, } from '@fps-games/editor-protocol';
2
+ import { findEditorSceneModelRenderer, findEditorSceneTransform, } from '../document/index.js';
3
+ import { isEditorSceneCameraGameObject, isEditorSceneLightGameObject, isEditorSceneRootGameObjectId, } from '../session/index.js';
4
+ import { readEditorSceneGameObjectLocalTransform, } from '../session/transform.js';
5
+ import { normalizeEditorSceneMaterialSlotOwnerPath, } from '../material-binding/paths.js';
6
+ export function createEditorSceneRuntimePreviewNodes(editorScene) {
7
+ return editorScene.scene.gameObjects.map((gameObject) => (createEditorSceneRuntimePreviewNode(editorScene, gameObject)));
8
+ }
9
+ export function createEditorSceneRuntimePreviewNode(editorScene, gameObject) {
10
+ const transform = findEditorSceneTransform(gameObject);
11
+ const localTransform = transform ? readEditorSceneGameObjectLocalTransform(gameObject) : null;
12
+ const renderer = findEditorSceneModelRenderer(gameObject);
13
+ const asset = renderer
14
+ ? editorScene.assets.find((entry) => entry.id === renderer.assetId)
15
+ : undefined;
16
+ const groundDecalTextureId = !renderer && readEditorSceneRuntimePreviewGroundDecalTextureId(gameObject);
17
+ const runtimeKind = isEditorSceneCameraGameObject(gameObject)
18
+ ? 'camera'
19
+ : isEditorSceneLightGameObject(gameObject)
20
+ ? 'light'
21
+ : undefined;
22
+ const outline = readEditorSceneRuntimePreviewOutline(gameObject.overrides);
23
+ const materialProjection = createEditorSceneRuntimePreviewMaterialProjection(editorScene, gameObject, asset);
24
+ return {
25
+ id: gameObject.id,
26
+ name: gameObject.name ?? gameObject.id,
27
+ parentId: gameObject.parentId ?? null,
28
+ active: gameObject.active,
29
+ ...(isEditorSceneRootGameObjectId(gameObject.id) ? { helperKind: 'root' } : {}),
30
+ ...(runtimeKind ? { runtimeKind } : {}),
31
+ ...(gameObject.camera ? { camera: structuredClone(gameObject.camera) } : {}),
32
+ ...(gameObject.light ? { light: structuredClone(gameObject.light) } : {}),
33
+ transform: localTransform
34
+ ? {
35
+ position: { ...localTransform.position },
36
+ rotation: { ...localTransform.rotation },
37
+ scale: { ...localTransform.scale },
38
+ }
39
+ : undefined,
40
+ asset: asset
41
+ ? createEditorSceneRuntimePreviewModelAsset(asset)
42
+ : groundDecalTextureId
43
+ ? createEditorSceneRuntimePreviewTextureAsset(gameObject, groundDecalTextureId)
44
+ : null,
45
+ primitive: gameObject.primitive
46
+ ? { shape: gameObject.primitive.shape }
47
+ : null,
48
+ ...(outline ? { outline } : {}),
49
+ ...materialProjection,
50
+ };
51
+ }
52
+ export function createEditorSceneRuntimePreviewMainCameraRig(editorScene, defaultCamera) {
53
+ const camera = editorScene.scene.gameObjects.find(isEditorSceneCameraGameObject);
54
+ if (!camera || camera.active === false)
55
+ return null;
56
+ return {
57
+ settings: {
58
+ ...defaultCamera,
59
+ ...(camera.camera ?? {}),
60
+ },
61
+ };
62
+ }
63
+ function createEditorSceneRuntimePreviewModelAsset(asset) {
64
+ return {
65
+ id: asset.id,
66
+ transform: asset.defaults && typeof asset.defaults === 'object'
67
+ ? asset.defaults.transform
68
+ : undefined,
69
+ metadata: {
70
+ ...(asset.metadata ?? {}),
71
+ assetId: asset.id,
72
+ ...(asset.guid ? { guid: asset.guid } : {}),
73
+ type: 'model',
74
+ ...(asset.external ? { external: structuredClone(asset.external) } : {}),
75
+ },
76
+ };
77
+ }
78
+ function createEditorSceneRuntimePreviewTextureAsset(gameObject, textureId) {
79
+ return {
80
+ id: textureId,
81
+ metadata: {
82
+ ...(gameObject.metadata ?? {}),
83
+ assetId: textureId,
84
+ type: 'texture',
85
+ groundDecal: structuredClone(gameObject.groundDecal),
86
+ },
87
+ };
88
+ }
89
+ function readEditorSceneRuntimePreviewGroundDecalTextureId(gameObject) {
90
+ const groundDecal = gameObject.groundDecal;
91
+ if (!groundDecal || typeof groundDecal !== 'object')
92
+ return undefined;
93
+ const textureId = groundDecal.textureId;
94
+ return typeof textureId === 'string' && textureId.trim() ? textureId : undefined;
95
+ }
96
+ function readEditorSceneRuntimePreviewOutline(overrides) {
97
+ if (!overrides || typeof overrides !== 'object' || Array.isArray(overrides))
98
+ return null;
99
+ const outlineSource = overrides.outline;
100
+ if (!outlineSource || typeof outlineSource !== 'object' || Array.isArray(outlineSource))
101
+ return null;
102
+ const source = outlineSource;
103
+ const outline = {};
104
+ if (source.strategy === 'babylon-default')
105
+ outline.strategy = source.strategy;
106
+ if (typeof source.renderOutline === 'boolean')
107
+ outline.renderOutline = source.renderOutline;
108
+ if (typeof source.outlineWidth === 'number' && Number.isFinite(source.outlineWidth))
109
+ outline.outlineWidth = source.outlineWidth;
110
+ const color = readEditorSceneRuntimePreviewOutlineColor(source.outlineColor);
111
+ if (color)
112
+ outline.outlineColor = color;
113
+ return Object.keys(outline).length > 0 ? outline : null;
114
+ }
115
+ function readEditorSceneRuntimePreviewOutlineColor(value) {
116
+ if (!value || typeof value !== 'object' || Array.isArray(value))
117
+ return null;
118
+ const source = value;
119
+ const { r, g, b } = source;
120
+ if (typeof r !== 'number' || typeof g !== 'number' || typeof b !== 'number')
121
+ return null;
122
+ if (![r, g, b].every(component => Number.isFinite(component)))
123
+ return null;
124
+ return { r, g, b };
125
+ }
126
+ function createEditorSceneRuntimePreviewMaterialProjection(editorScene, gameObject, asset) {
127
+ const materialAssets = readEditorSceneRuntimePreviewMaterialAssets(editorScene);
128
+ const overrides = readEditorSceneRuntimePreviewMaterialOverrides(gameObject);
129
+ const root = resolveRuntimePreviewMaterialProfile(materialAssets, overrides?.materialBinding);
130
+ const slotProfiles = createEditorSceneRuntimePreviewMaterialSlotProfiles(materialAssets, overrides, asset);
131
+ return {
132
+ ...(root.profile ? { artistMaterialProfile: root.profile } : {}),
133
+ ...(root.materialAsset ? { artistMaterialKind: resolveSceneMaterialAssetKind(root.materialAsset) } : {}),
134
+ ...(Object.keys(slotProfiles).length > 0 ? { artistMaterialSlotProfiles: slotProfiles } : {}),
135
+ };
136
+ }
137
+ function createEditorSceneRuntimePreviewMaterialSlotProfiles(materialAssets, overrides, asset) {
138
+ const slotProfiles = {};
139
+ const occupiedOwnerPaths = new Set();
140
+ for (const [slotId, binding] of Object.entries(overrides?.materialSlotBindings ?? {})) {
141
+ const profile = resolveRuntimePreviewMaterialProfile(materialAssets, binding).profile;
142
+ if (!profile)
143
+ continue;
144
+ const ownerNodePath = resolveRuntimePreviewMaterialSlotOwnerPath(asset, slotId) ?? slotId;
145
+ slotProfiles[ownerNodePath] = profile;
146
+ occupiedOwnerPaths.add(normalizeEditorSceneMaterialSlotOwnerPath(ownerNodePath));
147
+ }
148
+ for (const [ownerNodePath, binding] of Object.entries(overrides?.childMaterialBindings ?? {})) {
149
+ const normalizedOwnerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(ownerNodePath);
150
+ if (!normalizedOwnerNodePath || occupiedOwnerPaths.has(normalizedOwnerNodePath))
151
+ continue;
152
+ const profile = resolveRuntimePreviewMaterialProfile(materialAssets, binding).profile;
153
+ if (!profile)
154
+ continue;
155
+ slotProfiles[normalizedOwnerNodePath] = profile;
156
+ occupiedOwnerPaths.add(normalizedOwnerNodePath);
157
+ }
158
+ for (const [ownerNodePath, legacyProfile] of Object.entries(overrides?.childMaterials ?? {})) {
159
+ const normalizedOwnerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(ownerNodePath);
160
+ if (!normalizedOwnerNodePath || occupiedOwnerPaths.has(normalizedOwnerNodePath))
161
+ continue;
162
+ const profile = resolveRuntimePreviewMaterialProfile(materialAssets, undefined, legacyProfile).profile;
163
+ if (!profile)
164
+ continue;
165
+ slotProfiles[normalizedOwnerNodePath] = profile;
166
+ occupiedOwnerPaths.add(normalizedOwnerNodePath);
167
+ }
168
+ return slotProfiles;
169
+ }
170
+ function resolveRuntimePreviewMaterialProfile(materialAssets, binding, legacyProfile) {
171
+ const result = resolveArtistMaterialProfile({
172
+ materialAssets,
173
+ binding,
174
+ legacyProfile,
175
+ });
176
+ return {
177
+ ...(Object.keys(result.profile).length > 0 ? { profile: result.profile } : {}),
178
+ materialAsset: result.materialAsset,
179
+ };
180
+ }
181
+ function readEditorSceneRuntimePreviewMaterialAssets(editorScene) {
182
+ const materialAssets = editorScene.scene.materialAssets;
183
+ return Array.isArray(materialAssets) ? materialAssets : [];
184
+ }
185
+ function readEditorSceneRuntimePreviewMaterialOverrides(gameObject) {
186
+ const overrides = gameObject.overrides;
187
+ return overrides && typeof overrides === 'object' && !Array.isArray(overrides)
188
+ ? overrides
189
+ : null;
190
+ }
191
+ function resolveRuntimePreviewMaterialSlotOwnerPath(asset, slotId) {
192
+ const rawSlots = Array.isArray(asset?.metadata?.materialSlots) ? asset.metadata.materialSlots : [];
193
+ for (const rawSlot of rawSlots) {
194
+ const slot = readRuntimePreviewMaterialSlot(rawSlot);
195
+ if (slot?.slotId === slotId)
196
+ return slot.ownerNodePath;
197
+ }
198
+ return null;
199
+ }
200
+ function readRuntimePreviewMaterialSlot(value) {
201
+ if (!value || typeof value !== 'object' || Array.isArray(value))
202
+ return null;
203
+ const record = value;
204
+ const slotId = typeof record.slotId === 'string' ? record.slotId.trim() : '';
205
+ const ownerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(typeof record.ownerNodePath === 'string'
206
+ ? record.ownerNodePath
207
+ : typeof record.path === 'string'
208
+ ? record.path
209
+ : '');
210
+ return slotId && ownerNodePath ? { slotId, ownerNodePath } : null;
211
+ }
212
+ //# sourceMappingURL=nodes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../src/runtime-preview/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAI9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GAIzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,uCAAuC,GACxC,MAAM,sBAAsB,CAAC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AAG,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7E,MAAM,aAAa,GAAG,yCAAyC,CAC7D,OAAO,MAAM,CAAC,aAAa,KAAK,QAAQ;QACtC,CAAC,CAAC,MAAM,CAAC,aAAa;QACtB,CAAC,CAAC,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ;YAC/B,CAAC,CAAC,MAAM,CAAC,IAAI;YACb,CAAC,CAAC,EAAE,CACT,CAAC;IACF,OAAO,MAAM,IAAI,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACpE,CAAC"}
@@ -0,0 +1,80 @@
1
+ import type { ArtistMaterialProfile, SceneMaterialAssetKind } from '@fps-games/editor-protocol';
2
+ import type { EditorTransformSnapshot } from '@fps-games/editor-core';
3
+ import type { EditorSceneCameraRig, EditorSceneColorRgb } from '../document/index';
4
+ export type EditorSceneRuntimePreviewKind = 'model' | 'texture';
5
+ export interface EditorSceneRuntimePreviewAsset {
6
+ id: string;
7
+ transform?: unknown;
8
+ metadata?: Record<string, unknown>;
9
+ }
10
+ export interface EditorSceneRuntimePreviewPrimitive<TShape extends string = string> {
11
+ shape: TShape;
12
+ }
13
+ export interface EditorSceneRuntimePreviewOutline {
14
+ strategy?: 'babylon-default';
15
+ renderOutline?: boolean;
16
+ outlineWidth?: number;
17
+ outlineColor?: EditorSceneColorRgb;
18
+ }
19
+ export interface EditorSceneRuntimePreviewGroundDecal {
20
+ size: {
21
+ width: number;
22
+ depth: number;
23
+ };
24
+ color: EditorSceneColorRgb;
25
+ }
26
+ export interface EditorSceneRuntimePreviewNode<TShape extends string = string> {
27
+ id: string;
28
+ name: string;
29
+ parentId: string | null;
30
+ active?: boolean;
31
+ helperKind?: 'root';
32
+ runtimeKind?: 'camera' | 'light';
33
+ camera?: EditorSceneCameraRig;
34
+ light?: unknown;
35
+ transform?: EditorTransformSnapshot;
36
+ asset: EditorSceneRuntimePreviewAsset | null;
37
+ primitive: EditorSceneRuntimePreviewPrimitive<TShape> | null;
38
+ outline?: EditorSceneRuntimePreviewOutline | null;
39
+ artistMaterialKind?: SceneMaterialAssetKind;
40
+ artistMaterialProfile?: ArtistMaterialProfile;
41
+ artistMaterialSlotProfiles?: Record<string, ArtistMaterialProfile>;
42
+ }
43
+ export interface EditorSceneRuntimePreviewMainCameraRig<TCameraRig = EditorSceneCameraRig> {
44
+ settings: TCameraRig;
45
+ }
46
+ export type EditorSceneRuntimePreviewAssetsModule = Record<string, unknown>;
47
+ export type EditorSceneRuntimePreviewImportPlanKind = 'model' | 'groundDecal';
48
+ export type EditorSceneRuntimePreviewImportPlan = EditorSceneRuntimePreviewModelImportPlan | EditorSceneRuntimePreviewGroundDecalImportPlan;
49
+ export interface EditorSceneRuntimePreviewImportPlanBase {
50
+ kind: EditorSceneRuntimePreviewImportPlanKind;
51
+ assetId: string;
52
+ assetKind: EditorSceneRuntimePreviewKind;
53
+ url: string;
54
+ diagnostic: EditorSceneRuntimePreviewMissingAssetUrlDiagnostic | null;
55
+ }
56
+ export interface EditorSceneRuntimePreviewModelImportPlan extends EditorSceneRuntimePreviewImportPlanBase {
57
+ kind: 'model';
58
+ assetKind: 'model';
59
+ }
60
+ export interface EditorSceneRuntimePreviewGroundDecalDescriptor extends EditorSceneRuntimePreviewGroundDecal {
61
+ meshName: string;
62
+ materialName: string;
63
+ textureUrl: string;
64
+ textureHasAlpha: true;
65
+ textureVScale: -1;
66
+ textureVOffset: 1;
67
+ }
68
+ export interface EditorSceneRuntimePreviewGroundDecalImportPlan extends EditorSceneRuntimePreviewImportPlanBase {
69
+ kind: 'groundDecal';
70
+ assetKind: 'texture';
71
+ decal: EditorSceneRuntimePreviewGroundDecalDescriptor;
72
+ }
73
+ export interface EditorSceneRuntimePreviewMissingAssetUrlDiagnostic {
74
+ assetId: string;
75
+ kind: EditorSceneRuntimePreviewKind;
76
+ type: EditorSceneRuntimePreviewKind | null;
77
+ relativePath?: unknown;
78
+ external?: unknown;
79
+ }
80
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/runtime-preview/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,6BAA6B,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhE,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,kCAAkC,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAED,MAAM,WAAW,oCAAoC;IACnD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE,mBAAmB,CAAC;CAC5B;AAED,MAAM,WAAW,6BAA6B,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,I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AC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,CAAC,CAAC,CAAC;IAClB,cAAc,EAAE,CAAC,CAAC;CACnB;AAED,MAAM,WAAW,8CAA+C,SAAQ,uCAAuC;IAC7G,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,8CAA8C,CAAC;CACvD;AAED,MAAM,WAAW,kDAAkD;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,6BAA6B,CAAC;IACpC,IAAI,EAAE,6BAA6B,GAAG,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/runtime-preview/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { AuthoringSourceDescriptor, CompiledArtifact } from '@fps-games/editor-core';
2
+ import type { SceneMainSourceCompileResult } from './types';
3
+ export declare function summarizeSaveResult(saved: Record<string, unknown>): string;
4
+ export declare function readCompiledRuntimeSceneArtifact(saved: Record<string, unknown>, source: AuthoringSourceDescriptor): CompiledArtifact | undefined;
5
+ export declare function isCompiledArtifactForSource(artifact: CompiledArtifact, source: AuthoringSourceDescriptor): boolean;
6
+ export declare function normalizeCompiledArtifacts(result: SceneMainSourceCompileResult): CompiledArtifact[];
7
+ //# sourceMappingURL=artifacts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/scene-source/artifacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,gBAAgB,EAEjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAY1E;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,MAAM,EAAE,yBAAyB,GAChC,gBAAgB,GAAG,SAAS,CAe9B;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,yBAAyB,GAChC,OAAO,CAIT;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,4BAA4B,GACnC,gBAAgB,EAAE,CAGpB"}
@@ -0,0 +1,78 @@
1
+ import { readRecord, readString } from '../shared/json.js';
2
+ export function summarizeSaveResult(saved) {
3
+ const summary = readRecord(saved.summary);
4
+ const editorScene = readRecord(summary?.editorScene);
5
+ const compiled = readRecord(summary?.compiled);
6
+ if (editorScene || compiled) {
7
+ return [
8
+ `editorScene assets=${editorScene?.assets ?? 'n/a'}, gameObjects=${editorScene?.gameObjects ?? 'n/a'}`,
9
+ `compiled assets=${compiled?.assetCount ?? 'n/a'}, nodes=${compiled?.nodeCount ?? 'n/a'}`,
10
+ ].join(' | ');
11
+ }
12
+ const sceneJsonText = typeof saved.sceneJsonText === 'string' ? saved.sceneJsonText : '';
13
+ return sceneJsonText ? summarizeSceneJson(sceneJsonText) : 'saved';
14
+ }
15
+ export function readCompiledRuntimeSceneArtifact(saved, source) {
16
+ const sceneJsonText = typeof saved.sceneJsonText === 'string' ? saved.sceneJsonText : '';
17
+ if (!sceneJsonText.trim())
18
+ return undefined;
19
+ try {
20
+ const data = JSON.parse(sceneJsonText);
21
+ return {
22
+ artifactType: 'runtime-scene',
23
+ artifactId: readString(saved.scenePath) ?? 'scene.json',
24
+ provenance: readCompiledArtifactProvenance(data, source),
25
+ summary: summarizeCompiledSceneData(data),
26
+ data,
27
+ };
28
+ }
29
+ catch {
30
+ return undefined;
31
+ }
32
+ }
33
+ export function isCompiledArtifactForSource(artifact, source) {
34
+ return artifact.provenance?.sourceId === source.ref.sourceId
35
+ && artifact.provenance.sourceType === source.ref.sourceType
36
+ && artifact.provenance.revision === source.ref.revision;
37
+ }
38
+ export function normalizeCompiledArtifacts(result) {
39
+ if (!result)
40
+ return [];
41
+ return Array.isArray(result) ? result : [result];
42
+ }
43
+ function readCompiledArtifactProvenance(data, _source) {
44
+ const meta = readRecord(readRecord(data)?.meta);
45
+ const generatedFrom = readRecord(meta?.generatedFrom);
46
+ const sourceId = readString(generatedFrom?.sourceId);
47
+ const sourceType = readString(generatedFrom?.sourceType);
48
+ const compilerId = readString(generatedFrom?.compilerId);
49
+ const compiledAt = readString(generatedFrom?.compiledAt);
50
+ if (!sourceId || !sourceType || !compilerId || !compiledAt)
51
+ return undefined;
52
+ return {
53
+ sourceId,
54
+ sourceType: sourceType,
55
+ revision: typeof generatedFrom?.revision === 'number' ? generatedFrom.revision : undefined,
56
+ compilerId,
57
+ compilerVersion: typeof generatedFrom?.compilerVersion === 'string' || typeof generatedFrom?.compilerVersion === 'number'
58
+ ? generatedFrom.compilerVersion
59
+ : 'unknown',
60
+ compiledAt,
61
+ };
62
+ }
63
+ function summarizeCompiledSceneData(data) {
64
+ const record = readRecord(data);
65
+ const scene = readRecord(record?.scene);
66
+ const assets = Array.isArray(scene?.assets) ? scene.assets.length : 0;
67
+ const nodes = Array.isArray(scene?.nodes) ? scene.nodes.length : 0;
68
+ return `version=${record?.version ?? 'n/a'}, assets=${assets}, nodes=${nodes}`;
69
+ }
70
+ function summarizeSceneJson(sceneJsonText) {
71
+ try {
72
+ return summarizeCompiledSceneData(JSON.parse(sceneJsonText));
73
+ }
74
+ catch {
75
+ return `invalid JSON, bytes=${sceneJsonText.length}`;
76
+ }
77
+ }
78
+ //# sourceMappingURL=artifacts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.js","sourceRoot":"","s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AAM,EAAE,CAAC;IACvD,CAAC;AACH,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { EditorSceneAssetLibraryItem, EditorSceneDocument } from '../document';
2
+ import type { SceneMainSourceClientOptions, SceneMainSourceDriverLoadResult, SceneMainSourceSaveOptions, SceneMainSourceSaveResult, SceneSourceFetchJson } from './types';
3
+ export declare function loadSceneMainSource<TDocument extends EditorSceneDocument = EditorSceneDocument>(options?: SceneMainSourceClientOptions | SceneSourceFetchJson): Promise<SceneMainSourceDriverLoadResult<TDocument>>;
4
+ export declare function saveSceneMainSource<TDocument extends EditorSceneDocument = EditorSceneDocument>(editorScene: TDocument, options?: SceneMainSourceSaveOptions): Promise<SceneMainSourceSaveResult<TDocument>>;
5
+ export declare function saveSceneMainSource<TDocument extends EditorSceneDocument = EditorSceneDocument>(fetchJson: SceneSourceFetchJson, editorScene: TDocument, options?: SceneMainSourceSaveOptions): Promise<SceneMainSourceSaveResult<TDocument>>;
6
+ export declare function loadEditorAssetLibrary(options?: SceneMainSourceClientOptions | SceneSourceFetchJson): Promise<EditorSceneAssetLibraryItem[]>;
7
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/scene-source/client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,2BAA2B,EAC3B,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAqBrB,OAAO,KAAK,EACV,4BAA4B,EAC5B,+BAA+B,EAC/B,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB,wBAAsB,mBAAmB,CACvC,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAE3D,OAAO,CAAC,EAAE,4BAA4B,GAAG,oBAAoB,GAC5D,OAAO,CAAC,+BAA+B,CAAC,SAAS,CAAC,CAAC,CAarD;AAED,wBAAsB,mBAAmB,CACvC,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAE3D,WAAW,EAAE,SAAS,EACtB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC,CAAC;AACjD,wBAAsB,mBAAmB,CACvC,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAE3D,SAAS,EAAE,oBAAoB,EAC/B,WAAW,EAAE,SAAS,EACtB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC,CAAC;AA0CjD,wBAAsB,sBAAsB,CAC1C,OAAO,CAAC,EAAE,4BAA4B,GAAG,oBAAoB,GAC5D,OAAO,CAAC,2BAA2B,EAAE,CAAC,CAIxC"}
@@ -0,0 +1,73 @@
1
+ import { createEditorSceneAuthoringSourceDescriptor, ensureEditorSceneAuthoringSource, } from '../authoring/index.js';
2
+ import { fetchJson, joinEndpoint, PLAYABLE_AUTHORING_API_BASE, } from '../shared/http.js';
3
+ import { readRecord, readString } from '../shared/json.js';
4
+ import { readCompiledRuntimeSceneArtifact, summarizeSaveResult, } from './artifacts.js';
5
+ import { createSceneMainSourceSaveCompanionConfigPayload, readSceneMainSourceSaveCompanionConfigs, } from './companion-configs.js';
6
+ import { readEditorAssetLibrary, readEditorScene, readRuntimeInputDrift, summarizeEditorSceneSource, } from './protocol.js';
7
+ export async function loadSceneMainSource(options) {
8
+ const client = resolveClientOptions(options);
9
+ const json = await client.fetchJson(joinEndpoint(client.endpointBase, '/editor-scene'));
10
+ const editorScene = readEditorScene(json.editorScene);
11
+ if (!editorScene)
12
+ throw new Error('project authoring endpoint did not return editorScene');
13
+ const document = ensureEditorSceneAuthoringSource(editorScene);
14
+ const drift = readRuntimeInputDrift(json.drift);
15
+ return {
16
+ source: createEditorSceneAuthoringSourceDescriptor(document, readString(json.editorScenePath)),
17
+ document,
18
+ drift,
19
+ summary: summarizeEditorSceneSource(document, drift),
20
+ };
21
+ }
22
+ export async function saveSceneMainSource(fetchJsonOrEditorScene, editorSceneOrOptions, maybeOptions = {}) {
23
+ const requestUsesLegacyFetchArgument = typeof fetchJsonOrEditorScene === 'function';
24
+ const editorScene = requestUsesLegacyFetchArgument
25
+ ? editorSceneOrOptions
26
+ : fetchJsonOrEditorScene;
27
+ const options = requestUsesLegacyFetchArgument
28
+ ? { ...maybeOptions, fetchJson: fetchJsonOrEditorScene }
29
+ : editorSceneOrOptions;
30
+ const client = resolveClientOptions(options);
31
+ const saved = await client.fetchJson(joinEndpoint(client.endpointBase, '/save-editor-scene'), {
32
+ method: 'POST',
33
+ headers: { 'Content-Type': 'application/json' },
34
+ body: JSON.stringify({
35
+ editorScene,
36
+ mode: options?.mode ?? 'local-commit-save',
37
+ ...createSceneMainSourceSaveCompanionConfigPayload(options),
38
+ }),
39
+ });
40
+ const document = readEditorScene(saved.editorScene) ?? editorScene;
41
+ const source = createEditorSceneAuthoringSourceDescriptor(document, readString(saved.editorScenePath));
42
+ const compiledArtifact = readCompiledRuntimeSceneArtifact(saved, source);
43
+ const companionConfigs = readSceneMainSourceSaveCompanionConfigs(saved);
44
+ const renderingConfig = companionConfigs.rendering ?? readRecord(saved.renderingConfig);
45
+ return {
46
+ source,
47
+ document,
48
+ summary: summarizeSaveResult(saved),
49
+ compiledArtifact,
50
+ companionConfigs,
51
+ expectedVersion: typeof saved.expectedVersion === 'number' ? saved.expectedVersion : undefined,
52
+ renderingConfig,
53
+ sceneJsonText: typeof saved.sceneJsonText === 'string' ? saved.sceneJsonText : undefined,
54
+ };
55
+ }
56
+ export async function loadEditorAssetLibrary(options) {
57
+ const client = resolveClientOptions(options);
58
+ const json = await client.fetchJson(joinEndpoint(client.endpointBase, '/editor-asset-library'));
59
+ return readEditorAssetLibrary(json.assets);
60
+ }
61
+ function resolveClientOptions(options) {
62
+ if (typeof options === 'function') {
63
+ return {
64
+ endpointBase: PLAYABLE_AUTHORING_API_BASE,
65
+ fetchJson: options,
66
+ };
67
+ }
68
+ return {
69
+ endpointBase: options?.endpointBase ?? PLAYABLE_AUTHORING_API_BASE,
70
+ fetchJson: options?.fetchJson ?? fetchJson,
71
+ };
72
+ }
73
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/scene-source/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,EAC1C,gCAAgC,GACjC,MAAM,cAAc,CAAC;AAKtB,OAAO,EACL,SAAS,EACT,YAAY,EACZ,2BAA2B,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EACL,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,+CAA+C,EAC/C,uCAAuC,GACxC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,YAAY,CAAC;AASpB,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAGvC,OAA6D;IAE7D,MAAM,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC7C,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC,CAAC;IACxF,MAAM,WAAW,GAAG,eAAe,CAAY,IAAI,CAAC,WAAW,CAAC,CAAC;IACjE,IAAI,CAAC,WAAW;QAAE,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAC3F,MAAM,QAAQ,GAAG,gCAAgC,CAAC,WAAW,CAAC,CAAC;IAC/D,MAAM,KAAK,GAAG,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChD,OAAO;QACL,MAAM,EAAE,0CAA0C,CAAC,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC9F,QAAQ;QACR,KAAK;QACL,OAAO,EAAE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AAK,CAAC,eAAe,CAAC,CAAC;IACxF,OAAO;QACL,MAAM;QACN,QAAQ;QACR,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC;QACnC,gBAAgB;QAChB,gBAAgB;QAChB,eAAe,EAAE,OAAO,KAAK,CAAC,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;QAC9F,eAAe;QACf,aAAa,EAAE,OAAO,KAAK,CAAC,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS;KACzF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,OAA6D;IAE7D,MAAM,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC7C,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,YAAY,EAAE,uBAAuB,CAAC,CAAC,CAAC;IAChG,OAAO,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,oBAAoB,CAC3B,OAA6D;IAE7D,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,CAAC;QAClC,OAAO;YACL,YAAY,EAAE,2BAA2B;YACzC,SAAS,EAAE,OAAO;SACnB,CAAC;IACJ,CAAC;IACD,OAAO;QACL,YAAY,EAAE,OAAO,EAAE,YAAY,IAAI,2BAA2B;QAClE,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,SAAS;KAC3C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SceneMainSourceSaveOptions } from './types';
2
+ export declare const SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY = "rendering";
3
+ export type SceneMainSourceCompanionConfigs = Record<string, Record<string, unknown>>;
4
+ export declare function createSceneMainSourceSaveCompanionConfigPayload(options?: Pick<SceneMainSourceSaveOptions, 'companionConfigs' | 'renderingConfig'>): {
5
+ companionConfigs?: SceneMainSourceCompanionConfigs;
6
+ renderingConfig?: Record<string, unknown>;
7
+ };
8
+ export declare function readSceneMainSourceSaveCompanionConfigs(value: unknown): SceneMainSourceCompanionConfigs;
9
+ export declare function readSceneMainSourceRenderingConfig(value: unknown): Record<string, unknown> | null;
10
+ //# sourceMappingURL=companion-configs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companion-configs.d.ts","sourceRoot":"","sources":["../../src/scene-source/companion-configs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE1D,eAAO,MAAM,gDAAgD,cAAc,CAAC;AAE5E,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtF,wBAAgB,+CAA+C,CAC7D,OAAO,CAAC,EAAE,IAAI,CAAC,0BAA0B,EAAE,kBAAkB,GAAG,iBAAiB,CAAC,GACjF;IACD,gBAAgB,CAAC,EAAE,+BAA+B,CAAC;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC3C,CAaA;AAED,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,OAAO,GACb,+BAA+B,CAQjC;AAED,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,OAAO,GACb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAEhC"}
@@ -0,0 +1,43 @@
1
+ import { readRecord } from '../shared/json.js';
2
+ export const SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY = 'rendering';
3
+ export function createSceneMainSourceSaveCompanionConfigPayload(options) {
4
+ const companionConfigs = normalizeSceneMainSourceCompanionConfigs(options?.companionConfigs);
5
+ const renderingConfig = readRecord(options?.renderingConfig);
6
+ if (renderingConfig) {
7
+ companionConfigs[SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY] = renderingConfig;
8
+ }
9
+ const hasCompanionConfigs = Object.keys(companionConfigs).length > 0;
10
+ return {
11
+ ...(hasCompanionConfigs ? { companionConfigs } : {}),
12
+ ...(companionConfigs[SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY]
13
+ ? { renderingConfig: companionConfigs[SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY] }
14
+ : {}),
15
+ };
16
+ }
17
+ export function readSceneMainSourceSaveCompanionConfigs(value) {
18
+ const record = readRecord(value);
19
+ const companionConfigs = normalizeSceneMainSourceCompanionConfigs(record?.companionConfigs);
20
+ const renderingConfig = readRecord(record?.renderingConfig);
21
+ if (renderingConfig) {
22
+ companionConfigs[SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY] = renderingConfig;
23
+ }
24
+ return companionConfigs;
25
+ }
26
+ export function readSceneMainSourceRenderingConfig(value) {
27
+ return readSceneMainSourceSaveCompanionConfigs(value)[SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY] ?? null;
28
+ }
29
+ function normalizeSceneMainSourceCompanionConfigs(value) {
30
+ const record = readRecord(value);
31
+ if (!record)
32
+ return {};
33
+ const companionConfigs = {};
34
+ for (const [key, config] of Object.entries(record)) {
35
+ const normalizedKey = key.trim();
36
+ const normalizedConfig = readRecord(config);
37
+ if (!normalizedKey || !normalizedConfig)
38
+ continue;
39
+ companionConfigs[normalizedKey] = normalizedConfig;
40
+ }
41
+ return companionConfigs;
42
+ }
43
+ //# sourceMappingURL=companion-configs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companion-configs.js","sourceRoot":"","sources":["../../src/scene-source/companion-configs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,MAAM,CAAC,MAAM,gDAAgD,GAAG,WAAW,CAAC;AAI5E,MAAM,UAAU,+CAA+C,CAC7D,OAAkF;IAK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;IACvB,MAAM,gBAAgB,GAAoC,EAAE,CAAC;IAC7D,KAAK,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnD,MAAM,aAAa,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACjC,MAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,aAAa,IAAI,CAAC,gBAAgB;YAAE,SAAS;QAClD,gBAAgB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC;IACrD,CAAC;IACD,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { AuthoringSourceDriver } from '@fps-games/editor-core';
2
+ import type { EditorSceneDocument } from '../document';
3
+ import type { SceneMainSourceDriverOptions } from './types';
4
+ export declare function createSceneMainSourceDriver<TDocument extends EditorSceneDocument = EditorSceneDocument>(options?: SceneMainSourceDriverOptions<TDocument>): AuthoringSourceDriver<TDocument>;
5
+ //# sourceMappingURL=driver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../src/scene-source/driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,qBAAqB,EAEtB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AASvD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAG5D,wBAAgB,2BAA2B,CACzC,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAE3D,OAAO,GAAE,4BAA4B,CAAC,SAAS,CAAM,GACpD,qBAAqB,CAAC,SAAS,CAAC,CAoClC"}