@splinetool/runtime 2.0.46 → 2.0.49

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 (330) hide show
  1. package/build/{runtime-aiAssistant-CV4K5RNS.js → runtime-aiAssistant-Q7WOWTCF.js} +1 -1
  2. package/build/runtime-aiAssistant-Q7WOWTCF.js.br +0 -0
  3. package/build/runtime-aiAssistant-Q7WOWTCF.js.gz +0 -0
  4. package/build/{runtime-apiServices-IZQKNNJR.js → runtime-apiServices-TWKYVKXK.js} +1 -1
  5. package/build/runtime-apiServices-TWKYVKXK.js.br +0 -0
  6. package/build/runtime-apiServices-TWKYVKXK.js.gz +0 -0
  7. package/build/{runtime-audio-WTF7P43O.js → runtime-audio-EAVYJJ6Y.js} +1 -1
  8. package/build/runtime-audio-EAVYJJ6Y.js.br +0 -0
  9. package/build/runtime-audio-EAVYJJ6Y.js.gz +0 -0
  10. package/build/runtime-chunk-3B2HGN24.js +1 -0
  11. package/build/runtime-chunk-3B2HGN24.js.br +0 -0
  12. package/build/runtime-chunk-3B2HGN24.js.gz +0 -0
  13. package/build/{runtime-chunk-JBIPPY3K.js → runtime-chunk-4EH2XFYY.js} +1 -1
  14. package/build/runtime-chunk-4EH2XFYY.js.br +0 -0
  15. package/build/runtime-chunk-4EH2XFYY.js.gz +0 -0
  16. package/build/{runtime-chunk-A2SZNLCE.js → runtime-chunk-54QYM3MM.js} +1 -1
  17. package/build/runtime-chunk-54QYM3MM.js.br +0 -0
  18. package/build/runtime-chunk-54QYM3MM.js.gz +0 -0
  19. package/build/runtime-chunk-62ULXDUZ.js +1 -0
  20. package/build/runtime-chunk-62ULXDUZ.js.br +0 -0
  21. package/build/runtime-chunk-62ULXDUZ.js.gz +0 -0
  22. package/build/{runtime-chunk-EIKL6YQ3.js → runtime-chunk-A5SHLSKX.js} +1 -1
  23. package/build/runtime-chunk-A5SHLSKX.js.br +0 -0
  24. package/build/runtime-chunk-A5SHLSKX.js.gz +0 -0
  25. package/build/{runtime-chunk-A4V6IMN2.js → runtime-chunk-AAJG7OQA.js} +1 -1
  26. package/build/runtime-chunk-AAJG7OQA.js.br +0 -0
  27. package/build/runtime-chunk-AAJG7OQA.js.gz +0 -0
  28. package/build/{runtime-chunk-HHRA6K3Y.js → runtime-chunk-ABVRWCND.js} +1 -1
  29. package/build/runtime-chunk-ABVRWCND.js.br +0 -0
  30. package/build/runtime-chunk-ABVRWCND.js.gz +0 -0
  31. package/build/{runtime-chunk-DSCGKWZ5.js → runtime-chunk-ALC6ISFF.js} +1 -1
  32. package/build/runtime-chunk-ALC6ISFF.js.br +0 -0
  33. package/build/runtime-chunk-ALC6ISFF.js.gz +0 -0
  34. package/build/{runtime-chunk-W4NXLGIX.js → runtime-chunk-BIQP6R2E.js} +1 -1
  35. package/build/runtime-chunk-BIQP6R2E.js.br +0 -0
  36. package/build/runtime-chunk-BIQP6R2E.js.gz +0 -0
  37. package/build/{runtime-chunk-C6JZPJNZ.js → runtime-chunk-BPWKE4TV.js} +1 -1
  38. package/build/runtime-chunk-BPWKE4TV.js.br +0 -0
  39. package/build/runtime-chunk-BPWKE4TV.js.gz +0 -0
  40. package/build/{runtime-chunk-JVUEEI7B.js → runtime-chunk-CFUHJXWW.js} +1 -1
  41. package/build/runtime-chunk-CFUHJXWW.js.br +0 -0
  42. package/build/runtime-chunk-CFUHJXWW.js.gz +0 -0
  43. package/build/{runtime-chunk-HSPFMEZY.js → runtime-chunk-CGRJT4H4.js} +1 -1
  44. package/build/runtime-chunk-CGRJT4H4.js.br +0 -0
  45. package/build/runtime-chunk-CGRJT4H4.js.gz +0 -0
  46. package/build/{runtime-chunk-A5KIXFSY.js → runtime-chunk-D3NXY575.js} +1 -1
  47. package/build/runtime-chunk-D3NXY575.js.br +0 -0
  48. package/build/runtime-chunk-D3NXY575.js.gz +0 -0
  49. package/build/{runtime-chunk-AMWQRMET.js → runtime-chunk-JH5OFC4J.js} +1 -1
  50. package/build/runtime-chunk-JH5OFC4J.js.br +0 -0
  51. package/build/runtime-chunk-JH5OFC4J.js.gz +0 -0
  52. package/build/{runtime-chunk-ZJD3LX6E.js → runtime-chunk-JRZXX57L.js} +1 -1
  53. package/build/runtime-chunk-JRZXX57L.js.br +0 -0
  54. package/build/runtime-chunk-JRZXX57L.js.gz +0 -0
  55. package/build/{runtime-chunk-GR2ZC5GY.js → runtime-chunk-KGRWOXPD.js} +1 -1
  56. package/build/runtime-chunk-KGRWOXPD.js.br +0 -0
  57. package/build/runtime-chunk-KGRWOXPD.js.gz +0 -0
  58. package/build/{runtime-chunk-KL6OIHVF.js → runtime-chunk-KYWOL4FO.js} +1 -1
  59. package/build/{runtime-chunk-KL6OIHVF.js.br → runtime-chunk-KYWOL4FO.js.br} +0 -0
  60. package/build/runtime-chunk-KYWOL4FO.js.gz +0 -0
  61. package/build/{runtime-chunk-ZJCEUE6J.js → runtime-chunk-LEXX7XOL.js} +1 -1
  62. package/build/runtime-chunk-LEXX7XOL.js.br +0 -0
  63. package/build/runtime-chunk-LEXX7XOL.js.gz +0 -0
  64. package/build/{runtime-chunk-WKTS4T2Q.js → runtime-chunk-NMRQ6IV4.js} +1 -1
  65. package/build/runtime-chunk-NMRQ6IV4.js.br +0 -0
  66. package/build/runtime-chunk-NMRQ6IV4.js.gz +0 -0
  67. package/build/{runtime-chunk-GJIYL4V5.js → runtime-chunk-QU4YWWPM.js} +1 -1
  68. package/build/runtime-chunk-QU4YWWPM.js.br +0 -0
  69. package/build/runtime-chunk-QU4YWWPM.js.gz +0 -0
  70. package/build/{runtime-chunk-FNG2IRQJ.js → runtime-chunk-R6SG422O.js} +1 -1
  71. package/build/runtime-chunk-R6SG422O.js.br +0 -0
  72. package/build/runtime-chunk-R6SG422O.js.gz +0 -0
  73. package/build/{runtime-chunk-Z4NV7FMH.js → runtime-chunk-RQTWS576.js} +1 -1
  74. package/build/runtime-chunk-RQTWS576.js.br +0 -0
  75. package/build/runtime-chunk-RQTWS576.js.gz +0 -0
  76. package/build/{runtime-chunk-UYRGNTDQ.js → runtime-chunk-SKL72FMW.js} +1 -1
  77. package/build/runtime-chunk-SKL72FMW.js.br +0 -0
  78. package/build/runtime-chunk-SKL72FMW.js.gz +0 -0
  79. package/build/{runtime-chunk-M3F4LIG4.js → runtime-chunk-UGYY3TE5.js} +1 -1
  80. package/build/runtime-chunk-UGYY3TE5.js.br +0 -0
  81. package/build/runtime-chunk-UGYY3TE5.js.gz +0 -0
  82. package/build/{runtime-chunk-Y5F2EZVH.js → runtime-chunk-UOHC2OET.js} +1 -1
  83. package/build/runtime-chunk-UOHC2OET.js.br +0 -0
  84. package/build/runtime-chunk-UOHC2OET.js.gz +0 -0
  85. package/build/{runtime-chunk-OF2FTFLH.js → runtime-chunk-UQZ4RL7R.js} +1 -1
  86. package/build/runtime-chunk-UQZ4RL7R.js.br +0 -0
  87. package/build/runtime-chunk-UQZ4RL7R.js.gz +0 -0
  88. package/build/{runtime-chunk-XV6R6T7P.js → runtime-chunk-WY4SDMN3.js} +1 -1
  89. package/build/runtime-chunk-WY4SDMN3.js.br +1 -0
  90. package/build/runtime-chunk-WY4SDMN3.js.gz +0 -0
  91. package/build/{runtime-chunk-VE44RSRZ.js → runtime-chunk-XVKC3GTF.js} +1 -1
  92. package/build/{runtime-chunk-VE44RSRZ.js.br → runtime-chunk-XVKC3GTF.js.br} +0 -0
  93. package/build/runtime-chunk-XVKC3GTF.js.gz +0 -0
  94. package/build/{runtime-chunk-AF23X5NO.js → runtime-chunk-YJTOFWUO.js} +1 -1
  95. package/build/runtime-chunk-YJTOFWUO.js.br +0 -0
  96. package/build/runtime-chunk-YJTOFWUO.js.gz +0 -0
  97. package/build/runtime-classicRuntime-B2COIB35.js +1 -0
  98. package/build/runtime-classicRuntime-B2COIB35.js.br +0 -0
  99. package/build/runtime-classicRuntime-B2COIB35.js.gz +0 -0
  100. package/build/runtime-cloners-RPTIIXIY.js +1 -0
  101. package/build/runtime-cloners-RPTIIXIY.js.br +0 -0
  102. package/build/runtime-cloners-RPTIIXIY.js.gz +0 -0
  103. package/build/{runtime-components-XWRACNBU.js → runtime-components-UXZNYXDN.js} +1 -1
  104. package/build/runtime-components-UXZNYXDN.js.br +0 -0
  105. package/build/runtime-components-UXZNYXDN.js.gz +0 -0
  106. package/build/{runtime-conditional-3IFYLPUZ.js → runtime-conditional-XSJDNYMV.js} +1 -1
  107. package/build/runtime-conditional-XSJDNYMV.js.br +0 -0
  108. package/build/runtime-conditional-XSJDNYMV.js.gz +0 -0
  109. package/build/{runtime-createDestroy-QWUF3GPM.js → runtime-createDestroy-ESM4PSNF.js} +1 -1
  110. package/build/runtime-createDestroy-ESM4PSNF.js.br +0 -0
  111. package/build/runtime-createDestroy-ESM4PSNF.js.gz +0 -0
  112. package/build/{runtime-dragDrop-7Q7GPQVN.js → runtime-dragDrop-D7YOCWAO.js} +1 -1
  113. package/build/runtime-dragDrop-D7YOCWAO.js.br +0 -0
  114. package/build/runtime-dragDrop-D7YOCWAO.js.gz +0 -0
  115. package/build/{runtime-fxBloom-BKZGVVPT.js → runtime-fxBloom-5MMJ7V4U.js} +1 -1
  116. package/build/runtime-fxBloom-5MMJ7V4U.js.br +0 -0
  117. package/build/runtime-fxBloom-5MMJ7V4U.js.gz +0 -0
  118. package/build/{runtime-gameControls-SDY6N2PY.js → runtime-gameControls-6KBAJLUE.js} +1 -1
  119. package/build/runtime-gameControls-6KBAJLUE.js.br +0 -0
  120. package/build/runtime-gameControls-6KBAJLUE.js.gz +0 -0
  121. package/build/runtime-hair-MJN3Q7FU.js +1 -0
  122. package/build/runtime-hair-MJN3Q7FU.js.br +2 -0
  123. package/build/runtime-hair-MJN3Q7FU.js.gz +0 -0
  124. package/build/{runtime-mergeStaticGeometries-TNNOBCGA.js → runtime-mergeStaticGeometries-66XHJCUJ.js} +1 -1
  125. package/build/runtime-mergeStaticGeometries-66XHJCUJ.js.br +0 -0
  126. package/build/runtime-mergeStaticGeometries-66XHJCUJ.js.gz +0 -0
  127. package/build/{runtime-miscActions-QSAGKDZJ.js → runtime-miscActions-V64WLHDQ.js} +1 -1
  128. package/build/runtime-miscActions-V64WLHDQ.js.br +0 -0
  129. package/build/runtime-miscActions-V64WLHDQ.js.gz +0 -0
  130. package/build/{runtime-mouseHover-62MHBTFY.js → runtime-mouseHover-OT5UUTKX.js} +1 -1
  131. package/build/runtime-mouseHover-OT5UUTKX.js.br +0 -0
  132. package/build/runtime-mouseHover-OT5UUTKX.js.gz +0 -0
  133. package/build/{runtime-particles-ZQHFGFBM.js → runtime-particles-RZVGI6RG.js} +1 -1
  134. package/build/runtime-particles-RZVGI6RG.js.br +0 -0
  135. package/build/runtime-particles-RZVGI6RG.js.gz +0 -0
  136. package/build/{runtime-paths-3FIH62G6.js → runtime-paths-GHSTNP5N.js} +1 -1
  137. package/build/runtime-paths-GHSTNP5N.js.br +0 -0
  138. package/build/runtime-paths-GHSTNP5N.js.gz +0 -0
  139. package/build/{runtime-resize-CRSWQBEC.js → runtime-resize-IPWYUT6P.js} +1 -1
  140. package/build/runtime-resize-IPWYUT6P.js.br +0 -0
  141. package/build/runtime-resize-IPWYUT6P.js.gz +0 -0
  142. package/build/{runtime-sceneTransition-APLHOQF2.js → runtime-sceneTransition-BAOBPWP2.js} +1 -1
  143. package/build/runtime-sceneTransition-BAOBPWP2.js.br +0 -0
  144. package/build/runtime-sceneTransition-BAOBPWP2.js.gz +0 -0
  145. package/build/{runtime-scroll-PFA62LPV.js → runtime-scroll-LDBVGTY7.js} +1 -1
  146. package/build/runtime-scroll-LDBVGTY7.js.br +0 -0
  147. package/build/runtime-scroll-LDBVGTY7.js.gz +0 -0
  148. package/build/runtime-shapeBlends-FCVAMLTP.js +1 -0
  149. package/build/runtime-shapeBlends-FCVAMLTP.js.br +0 -0
  150. package/build/runtime-shapeBlends-FCVAMLTP.js.gz +0 -0
  151. package/build/{runtime-text-TUKJCR2B.js → runtime-text-VCGMGBZ5.js} +1 -1
  152. package/build/runtime-text-VCGMGBZ5.js.br +0 -0
  153. package/build/runtime-text-VCGMGBZ5.js.gz +0 -0
  154. package/build/{runtime-textInputs-6UWEC42Z.js → runtime-textInputs-QK6UTNH2.js} +1 -1
  155. package/build/runtime-textInputs-QK6UTNH2.js.br +0 -0
  156. package/build/runtime-textInputs-QK6UTNH2.js.gz +0 -0
  157. package/build/{runtime-timeline-YMCCOEV5.js → runtime-timeline-A4MYQAI6.js} +1 -1
  158. package/build/runtime-timeline-A4MYQAI6.js.br +0 -0
  159. package/build/runtime-timeline-A4MYQAI6.js.gz +0 -0
  160. package/build/{runtime-tracking-WROBAURO.js → runtime-tracking-WDUCSHW4.js} +1 -1
  161. package/build/runtime-tracking-WDUCSHW4.js.br +0 -0
  162. package/build/runtime-tracking-WDUCSHW4.js.gz +0 -0
  163. package/build/{runtime-transitions-JZCKGRPR.js → runtime-transitions-E65FPWMI.js} +1 -1
  164. package/build/runtime-transitions-E65FPWMI.js.br +0 -0
  165. package/build/runtime-transitions-E65FPWMI.js.gz +0 -0
  166. package/build/{runtime-ui2d-4LSBVCJJ.js → runtime-ui2d-V4OY3GOI.js} +1 -1
  167. package/build/runtime-ui2d-V4OY3GOI.js.br +0 -0
  168. package/build/runtime-ui2d-V4OY3GOI.js.gz +0 -0
  169. package/build/{runtime-updater-BNOFPDRB.js → runtime-updater-QYT2D73O.js} +1 -1
  170. package/build/runtime-updater-QYT2D73O.js.br +2 -0
  171. package/build/runtime-updater-QYT2D73O.js.gz +0 -0
  172. package/build/{runtime-variables-UHMFC5KF.js → runtime-variables-PI7YVOVR.js} +1 -1
  173. package/build/runtime-variables-PI7YVOVR.js.br +0 -0
  174. package/build/runtime-variables-PI7YVOVR.js.gz +0 -0
  175. package/build/{runtime-vectorShapes-BCUVEHSB.js → runtime-vectorShapes-BJDJMOYN.js} +1 -1
  176. package/build/runtime-vectorShapes-BJDJMOYN.js.br +0 -0
  177. package/build/runtime-vectorShapes-BJDJMOYN.js.gz +0 -0
  178. package/build/{runtime-video-HX4EHK3D.js → runtime-video-5C4ZCNVD.js} +1 -1
  179. package/build/runtime-video-5C4ZCNVD.js.br +0 -0
  180. package/build/runtime-video-5C4ZCNVD.js.gz +0 -0
  181. package/build/runtime-webgpu-WABQUMLC.js +1 -0
  182. package/build/runtime-webgpu-WABQUMLC.js.br +0 -0
  183. package/build/runtime-webgpu-WABQUMLC.js.gz +0 -0
  184. package/build/runtime.cjs +338 -333
  185. package/build/runtime.js +1 -1
  186. package/build/runtime.js.br +0 -0
  187. package/build/runtime.js.gz +0 -0
  188. package/build/runtime.standalone.js +1 -1
  189. package/build/runtime.standalone.js.br +0 -0
  190. package/build/runtime.standalone.js.gz +0 -0
  191. package/build/runtime.standalone.webgl.js +1 -1
  192. package/build/runtime.standalone.webgl.js.br +0 -0
  193. package/build/runtime.standalone.webgl.js.gz +0 -0
  194. package/build/runtime.standalone.webgpu.js +1 -1
  195. package/build/runtime.standalone.webgpu.js.br +0 -0
  196. package/build/runtime.standalone.webgpu.js.gz +0 -0
  197. package/build/runtime.standalone.webgpu.micro.js +1 -1
  198. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  199. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  200. package/build/runtime.standalone.webgpu.min.js +1 -1
  201. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  202. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  203. package/package.json +1 -1
  204. package/build/runtime-aiAssistant-CV4K5RNS.js.br +0 -0
  205. package/build/runtime-aiAssistant-CV4K5RNS.js.gz +0 -0
  206. package/build/runtime-apiServices-IZQKNNJR.js.br +0 -0
  207. package/build/runtime-apiServices-IZQKNNJR.js.gz +0 -0
  208. package/build/runtime-audio-WTF7P43O.js.br +0 -0
  209. package/build/runtime-audio-WTF7P43O.js.gz +0 -0
  210. package/build/runtime-chunk-A2SZNLCE.js.br +0 -0
  211. package/build/runtime-chunk-A2SZNLCE.js.gz +0 -0
  212. package/build/runtime-chunk-A4V6IMN2.js.br +0 -0
  213. package/build/runtime-chunk-A4V6IMN2.js.gz +0 -0
  214. package/build/runtime-chunk-A5KIXFSY.js.br +0 -0
  215. package/build/runtime-chunk-A5KIXFSY.js.gz +0 -0
  216. package/build/runtime-chunk-AF23X5NO.js.br +0 -0
  217. package/build/runtime-chunk-AF23X5NO.js.gz +0 -0
  218. package/build/runtime-chunk-AMWQRMET.js.br +0 -0
  219. package/build/runtime-chunk-AMWQRMET.js.gz +0 -0
  220. package/build/runtime-chunk-C6JZPJNZ.js.br +0 -0
  221. package/build/runtime-chunk-C6JZPJNZ.js.gz +0 -0
  222. package/build/runtime-chunk-DSCGKWZ5.js.br +0 -0
  223. package/build/runtime-chunk-DSCGKWZ5.js.gz +0 -0
  224. package/build/runtime-chunk-EIKL6YQ3.js.br +0 -0
  225. package/build/runtime-chunk-EIKL6YQ3.js.gz +0 -0
  226. package/build/runtime-chunk-FNG2IRQJ.js.br +0 -0
  227. package/build/runtime-chunk-FNG2IRQJ.js.gz +0 -0
  228. package/build/runtime-chunk-GJIYL4V5.js.br +0 -0
  229. package/build/runtime-chunk-GJIYL4V5.js.gz +0 -0
  230. package/build/runtime-chunk-GR2ZC5GY.js.br +0 -0
  231. package/build/runtime-chunk-GR2ZC5GY.js.gz +0 -0
  232. package/build/runtime-chunk-HHRA6K3Y.js.br +0 -0
  233. package/build/runtime-chunk-HHRA6K3Y.js.gz +0 -0
  234. package/build/runtime-chunk-HSPFMEZY.js.br +0 -0
  235. package/build/runtime-chunk-HSPFMEZY.js.gz +0 -0
  236. package/build/runtime-chunk-JBIPPY3K.js.br +0 -0
  237. package/build/runtime-chunk-JBIPPY3K.js.gz +0 -0
  238. package/build/runtime-chunk-JVUEEI7B.js.br +0 -0
  239. package/build/runtime-chunk-JVUEEI7B.js.gz +0 -0
  240. package/build/runtime-chunk-KL6OIHVF.js.gz +0 -0
  241. package/build/runtime-chunk-M3F4LIG4.js.br +0 -0
  242. package/build/runtime-chunk-M3F4LIG4.js.gz +0 -0
  243. package/build/runtime-chunk-OF2FTFLH.js.br +0 -0
  244. package/build/runtime-chunk-OF2FTFLH.js.gz +0 -0
  245. package/build/runtime-chunk-TLA4CYVH.js +0 -1
  246. package/build/runtime-chunk-TLA4CYVH.js.br +0 -0
  247. package/build/runtime-chunk-TLA4CYVH.js.gz +0 -0
  248. package/build/runtime-chunk-UYRGNTDQ.js.br +0 -0
  249. package/build/runtime-chunk-UYRGNTDQ.js.gz +0 -0
  250. package/build/runtime-chunk-VE44RSRZ.js.gz +0 -0
  251. package/build/runtime-chunk-W4NXLGIX.js.br +0 -0
  252. package/build/runtime-chunk-W4NXLGIX.js.gz +0 -0
  253. package/build/runtime-chunk-WKTS4T2Q.js.br +0 -0
  254. package/build/runtime-chunk-WKTS4T2Q.js.gz +0 -0
  255. package/build/runtime-chunk-XEXAWJME.js +0 -1
  256. package/build/runtime-chunk-XEXAWJME.js.br +0 -0
  257. package/build/runtime-chunk-XEXAWJME.js.gz +0 -0
  258. package/build/runtime-chunk-XV6R6T7P.js.br +0 -1
  259. package/build/runtime-chunk-XV6R6T7P.js.gz +0 -0
  260. package/build/runtime-chunk-Y5F2EZVH.js.br +0 -0
  261. package/build/runtime-chunk-Y5F2EZVH.js.gz +0 -0
  262. package/build/runtime-chunk-Z4NV7FMH.js.br +0 -0
  263. package/build/runtime-chunk-Z4NV7FMH.js.gz +0 -0
  264. package/build/runtime-chunk-ZJCEUE6J.js.br +0 -0
  265. package/build/runtime-chunk-ZJCEUE6J.js.gz +0 -0
  266. package/build/runtime-chunk-ZJD3LX6E.js.br +0 -0
  267. package/build/runtime-chunk-ZJD3LX6E.js.gz +0 -0
  268. package/build/runtime-classicRuntime-Z4JNOMJD.js +0 -1
  269. package/build/runtime-classicRuntime-Z4JNOMJD.js.br +0 -0
  270. package/build/runtime-classicRuntime-Z4JNOMJD.js.gz +0 -0
  271. package/build/runtime-cloners-2IWTYAOM.js +0 -1
  272. package/build/runtime-cloners-2IWTYAOM.js.br +0 -0
  273. package/build/runtime-cloners-2IWTYAOM.js.gz +0 -0
  274. package/build/runtime-components-XWRACNBU.js.br +0 -0
  275. package/build/runtime-components-XWRACNBU.js.gz +0 -0
  276. package/build/runtime-conditional-3IFYLPUZ.js.br +0 -0
  277. package/build/runtime-conditional-3IFYLPUZ.js.gz +0 -0
  278. package/build/runtime-createDestroy-QWUF3GPM.js.br +0 -0
  279. package/build/runtime-createDestroy-QWUF3GPM.js.gz +0 -0
  280. package/build/runtime-dragDrop-7Q7GPQVN.js.br +0 -0
  281. package/build/runtime-dragDrop-7Q7GPQVN.js.gz +0 -0
  282. package/build/runtime-fxBloom-BKZGVVPT.js.br +0 -0
  283. package/build/runtime-fxBloom-BKZGVVPT.js.gz +0 -0
  284. package/build/runtime-gameControls-SDY6N2PY.js.br +0 -0
  285. package/build/runtime-gameControls-SDY6N2PY.js.gz +0 -0
  286. package/build/runtime-hair-H5I5EW4P.js +0 -1
  287. package/build/runtime-hair-H5I5EW4P.js.br +0 -1
  288. package/build/runtime-hair-H5I5EW4P.js.gz +0 -0
  289. package/build/runtime-mergeStaticGeometries-TNNOBCGA.js.br +0 -0
  290. package/build/runtime-mergeStaticGeometries-TNNOBCGA.js.gz +0 -0
  291. package/build/runtime-miscActions-QSAGKDZJ.js.br +0 -0
  292. package/build/runtime-miscActions-QSAGKDZJ.js.gz +0 -0
  293. package/build/runtime-mouseHover-62MHBTFY.js.br +0 -0
  294. package/build/runtime-mouseHover-62MHBTFY.js.gz +0 -0
  295. package/build/runtime-particles-ZQHFGFBM.js.br +0 -0
  296. package/build/runtime-particles-ZQHFGFBM.js.gz +0 -0
  297. package/build/runtime-paths-3FIH62G6.js.br +0 -0
  298. package/build/runtime-paths-3FIH62G6.js.gz +0 -0
  299. package/build/runtime-resize-CRSWQBEC.js.br +0 -0
  300. package/build/runtime-resize-CRSWQBEC.js.gz +0 -0
  301. package/build/runtime-sceneTransition-APLHOQF2.js.br +0 -0
  302. package/build/runtime-sceneTransition-APLHOQF2.js.gz +0 -0
  303. package/build/runtime-scroll-PFA62LPV.js.br +0 -0
  304. package/build/runtime-scroll-PFA62LPV.js.gz +0 -0
  305. package/build/runtime-shapeBlends-CLW3VCVF.js +0 -1
  306. package/build/runtime-shapeBlends-CLW3VCVF.js.br +0 -0
  307. package/build/runtime-shapeBlends-CLW3VCVF.js.gz +0 -0
  308. package/build/runtime-text-TUKJCR2B.js.br +0 -0
  309. package/build/runtime-text-TUKJCR2B.js.gz +0 -0
  310. package/build/runtime-textInputs-6UWEC42Z.js.br +0 -0
  311. package/build/runtime-textInputs-6UWEC42Z.js.gz +0 -0
  312. package/build/runtime-timeline-YMCCOEV5.js.br +0 -0
  313. package/build/runtime-timeline-YMCCOEV5.js.gz +0 -0
  314. package/build/runtime-tracking-WROBAURO.js.br +0 -0
  315. package/build/runtime-tracking-WROBAURO.js.gz +0 -0
  316. package/build/runtime-transitions-JZCKGRPR.js.br +0 -0
  317. package/build/runtime-transitions-JZCKGRPR.js.gz +0 -0
  318. package/build/runtime-ui2d-4LSBVCJJ.js.br +0 -0
  319. package/build/runtime-ui2d-4LSBVCJJ.js.gz +0 -0
  320. package/build/runtime-updater-BNOFPDRB.js.br +0 -2
  321. package/build/runtime-updater-BNOFPDRB.js.gz +0 -0
  322. package/build/runtime-variables-UHMFC5KF.js.br +0 -0
  323. package/build/runtime-variables-UHMFC5KF.js.gz +0 -0
  324. package/build/runtime-vectorShapes-BCUVEHSB.js.br +0 -0
  325. package/build/runtime-vectorShapes-BCUVEHSB.js.gz +0 -0
  326. package/build/runtime-video-HX4EHK3D.js.br +0 -0
  327. package/build/runtime-video-HX4EHK3D.js.gz +0 -0
  328. package/build/runtime-webgpu-JFQDKQ6C.js +0 -1
  329. package/build/runtime-webgpu-JFQDKQ6C.js.br +0 -0
  330. package/build/runtime-webgpu-JFQDKQ6C.js.gz +0 -0
@@ -1 +1 @@
1
- import{a as e}from"./runtime-chunk-TU4KDRKR.js";import{W as o}from"./runtime-chunk-A4V6IMN2.js";import{Dc as n,Fc as t,Jc as r}from"./runtime-chunk-BVVSZMXD.js";var i={enabled:!1},s=new WeakMap;function a(e){if(!i.enabled)return e;let o=s.get(e);return o||(o={...e,bloom:{...e.bloom,kernelSize:0},depthOfField:{...e.depthOfField,enabled:!1}},s.set(e,o)),o}var c=new WeakSet;function l(e){if(!e.isPointLight&&!e.isSpotLight&&!e.isDirectionalLight)return!1;if(i.enabled){if(!0===e.castShadow)return e.castShadow=!1,c.add(e),!0}else if(c.has(e)&&(c.delete(e),!1===e.castShadow))return e.castShadow=!0,!0;return!1}function u(i,s){switch(i.type){case"cavity":return function(e,o){return{...h(e,o),ridge:e.ridge,valley:e.valley}}(i,s);case"dust":return function(n,t){return{...h(n,t),color:e(n.color,t),coverage:o(n.coverage,t)??.2,softness:o(n.softness,t)??.2,noiseStrength:o(n.noiseStrength,t)??.2,noiseScale:o(n.noiseScale,t)??1}}(i,s);case"fresnel":return function(o,n){let{bias:t,scale:r,intensity:i,factor:s,color:a}=o;return{...h(o,n),color:e(a,n),bias:t,scale:r,intensity:i,factor:s}}(i,s);case"gradient":return function(e,o){let{gradientType:t,smooth:i,colors:s,steps:a,angle:c,offset:l,morph:u}=e;return{...h(e,o),gradientType:t,smooth:i,colors:s.map(e=>new r(e[0],e[1],e[2],e[3])),num:s.length,steps:a,offset:new n(...l.map(e=>"number"==typeof e?e:0)),morph:new n(...u.map(e=>"number"==typeof e?e:0)),angle:c}}(i,s);case"depth":return function(e,o){let{gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:l,direction:u,colors:f,steps:p,smooth:m}=e;return{...h(e,o),gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:new t(...l),direction:u?new t(...u):new t(1,0,0),colors:f.map(e=>void 0!==e?new r(e[0],e[1],e[2],e[3]):new r(0,0,0,0)),steps:p.slice(0,f.length),smooth:m}}(i,s);case"normal":return function(e,o){let{cnormal:n}=e;return{...h(e,o),cnormal:new t(n[0],n[1],n[2])}}(i,s);case"noise":return function(o,r){return{...h(o,r),scale:o.scale,move:o.move,fA:new n(...o.fA.map(e=>"number"==typeof e?e:0)),fB:new n(...o.fB.map(e=>"number"==typeof e?e:0)),size:new t(...o.size),distortion:new n(...o.distortion.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,r),colorB:e(o.colorB,r),colorC:e(o.colorC,r),colorD:e(o.colorD,r),noiseType:o.noiseType,voronoiStyle:o.voronoiStyle,highCut:o.highCut,lowCut:o.lowCut,smoothness:o.smoothness,seed:o.seed,quality:o.quality}}(i,s);case"rainbow":return function(e,o){return{...h(e,o),filmThickness:e.filmThickness,movement:e.movement,wavelengths:new t(...e.wavelengths),noiseStrength:e.noiseStrength,noiseScale:e.noiseScale,offset:new t(...e.offset)}}(i,s);case"toon":return function(o,n){return{...h(o,n),positioning:o.positioning,colors:o.colors.map(e=>new r(e[0],e[1],e[2],e[3])),num:o.colors.length,steps:o.steps,source:new t(...o.source),isWorldSpace:o.isWorldSpace,noiseStrength:o.noiseStrength,noiseScale:o.noiseScale,shadowColor:e(o.shadowColor,n),offset:new t(...o.offset)}}(i,s);case"outline":return function(o,n){return{...h(o,n),outlineColor:e(o.outlineColor,n),contourColor:e(o.contourColor,n),outlineWidth:o.outlineWidth,contourWidth:o.contourWidth,outlineThreshold:o.outlineThreshold,contourThreshold:o.contourThreshold,outlineSmoothing:o.outlineSmoothing,contourFrequency:o.contourFrequency,contourDirection:new t(...o.contourDirection),positionalLines:o.positionalLines,compensation:o.compensation}}(i,s);case"transmission":return function(o,n){return{...h(o,n),thickness:o.thickness,ior:o.ior,roughness:o.roughness,attenuationColor:void 0!==o.attenuationColor?e(o.attenuationColor,n):{r:1,g:1,b:1,a:1},attenuationDistance:o.attenuationDistance??0}}(i,s);case"reflection":return function(e,n){return{...h(e,n),blur:o(e.blur,n)??0,thickness:o(e.thickness,n)??.001,steps:o(e.steps,n)??60,stepSize:o(e.stepSize,n)??.005,tracingMode:e.tracingMode,mirror:e.mirror??0}}(i,s);case"pattern":return function(o,t){return{...h(o,t),style:o.style,projection:o.projection,axis:o.axis,blending:o.blending,offset:new n(...o.offset.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,t),colorB:e(o.colorB,t),frequency:new n(...o.frequency.map(e=>"number"==typeof e?e:0)),size:o.size,variation:o.variation,smoothness:o.smoothness,zigzag:o.zigzag,rotation:o.rotation,vertical:new n(...o.vertical.map(e=>"number"==typeof e?e:0)),horizontal:new n(...o.horizontal.map(e=>"number"==typeof e?e:0)),sides:o.sides}}(i,s);case"vertexColor":return h(i,s);default:return function(o,n){return{...h(o,n),color:e(o.color,n)}}(i,s)}}function f(e){return{type:e.type}}function h(e,o){let{alpha:n,mode:t,isMask:r}=e,i="string"==typeof n?Number(o.getVariable(n)??100)/100:n;return{...f(e),alpha:i,mode:t,isMask:r}}export{i as a,a as b,l as c,u as d};
1
+ import{a as e}from"./runtime-chunk-TU4KDRKR.js";import{W as o}from"./runtime-chunk-AAJG7OQA.js";import{Dc as n,Fc as t,Jc as r}from"./runtime-chunk-BVVSZMXD.js";var i={enabled:!1},s=new WeakMap;function a(e){if(!i.enabled)return e;let o=s.get(e);return o||(o={...e,bloom:{...e.bloom,kernelSize:0},depthOfField:{...e.depthOfField,enabled:!1}},s.set(e,o)),o}var c=new WeakSet;function l(e){if(!e.isPointLight&&!e.isSpotLight&&!e.isDirectionalLight)return!1;if(i.enabled){if(!0===e.castShadow)return e.castShadow=!1,c.add(e),!0}else if(c.has(e)&&(c.delete(e),!1===e.castShadow))return e.castShadow=!0,!0;return!1}function u(i,s){switch(i.type){case"cavity":return function(e,o){return{...h(e,o),ridge:e.ridge,valley:e.valley}}(i,s);case"dust":return function(n,t){return{...h(n,t),color:e(n.color,t),coverage:o(n.coverage,t)??.2,softness:o(n.softness,t)??.2,noiseStrength:o(n.noiseStrength,t)??.2,noiseScale:o(n.noiseScale,t)??1}}(i,s);case"fresnel":return function(o,n){let{bias:t,scale:r,intensity:i,factor:s,color:a}=o;return{...h(o,n),color:e(a,n),bias:t,scale:r,intensity:i,factor:s}}(i,s);case"gradient":return function(e,o){let{gradientType:t,smooth:i,colors:s,steps:a,angle:c,offset:l,morph:u}=e;return{...h(e,o),gradientType:t,smooth:i,colors:s.map(e=>new r(e[0],e[1],e[2],e[3])),num:s.length,steps:a,offset:new n(...l.map(e=>"number"==typeof e?e:0)),morph:new n(...u.map(e=>"number"==typeof e?e:0)),angle:c}}(i,s);case"depth":return function(e,o){let{gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:l,direction:u,colors:f,steps:p,smooth:m}=e;return{...h(e,o),gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:new t(...l),direction:u?new t(...u):new t(1,0,0),colors:f.map(e=>void 0!==e?new r(e[0],e[1],e[2],e[3]):new r(0,0,0,0)),steps:p.slice(0,f.length),smooth:m}}(i,s);case"normal":return function(e,o){let{cnormal:n}=e;return{...h(e,o),cnormal:new t(n[0],n[1],n[2])}}(i,s);case"noise":return function(o,r){return{...h(o,r),scale:o.scale,move:o.move,fA:new n(...o.fA.map(e=>"number"==typeof e?e:0)),fB:new n(...o.fB.map(e=>"number"==typeof e?e:0)),size:new t(...o.size),distortion:new n(...o.distortion.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,r),colorB:e(o.colorB,r),colorC:e(o.colorC,r),colorD:e(o.colorD,r),noiseType:o.noiseType,voronoiStyle:o.voronoiStyle,highCut:o.highCut,lowCut:o.lowCut,smoothness:o.smoothness,seed:o.seed,quality:o.quality}}(i,s);case"rainbow":return function(e,o){return{...h(e,o),filmThickness:e.filmThickness,movement:e.movement,wavelengths:new t(...e.wavelengths),noiseStrength:e.noiseStrength,noiseScale:e.noiseScale,offset:new t(...e.offset)}}(i,s);case"toon":return function(o,n){return{...h(o,n),positioning:o.positioning,colors:o.colors.map(e=>new r(e[0],e[1],e[2],e[3])),num:o.colors.length,steps:o.steps,source:new t(...o.source),isWorldSpace:o.isWorldSpace,noiseStrength:o.noiseStrength,noiseScale:o.noiseScale,shadowColor:e(o.shadowColor,n),offset:new t(...o.offset)}}(i,s);case"outline":return function(o,n){return{...h(o,n),outlineColor:e(o.outlineColor,n),contourColor:e(o.contourColor,n),outlineWidth:o.outlineWidth,contourWidth:o.contourWidth,outlineThreshold:o.outlineThreshold,contourThreshold:o.contourThreshold,outlineSmoothing:o.outlineSmoothing,contourFrequency:o.contourFrequency,contourDirection:new t(...o.contourDirection),positionalLines:o.positionalLines,compensation:o.compensation}}(i,s);case"transmission":return function(o,n){return{...h(o,n),thickness:o.thickness,ior:o.ior,roughness:o.roughness,attenuationColor:void 0!==o.attenuationColor?e(o.attenuationColor,n):{r:1,g:1,b:1,a:1},attenuationDistance:o.attenuationDistance??0}}(i,s);case"reflection":return function(e,n){return{...h(e,n),blur:o(e.blur,n)??0,thickness:o(e.thickness,n)??.001,steps:o(e.steps,n)??60,stepSize:o(e.stepSize,n)??.005,tracingMode:e.tracingMode,mirror:e.mirror??0}}(i,s);case"pattern":return function(o,t){return{...h(o,t),style:o.style,projection:o.projection,axis:o.axis,blending:o.blending,offset:new n(...o.offset.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,t),colorB:e(o.colorB,t),frequency:new n(...o.frequency.map(e=>"number"==typeof e?e:0)),size:o.size,variation:o.variation,smoothness:o.smoothness,zigzag:o.zigzag,rotation:o.rotation,vertical:new n(...o.vertical.map(e=>"number"==typeof e?e:0)),horizontal:new n(...o.horizontal.map(e=>"number"==typeof e?e:0)),sides:o.sides}}(i,s);case"vertexColor":return h(i,s);default:return function(o,n){return{...h(o,n),color:e(o.color,n)}}(i,s)}}function f(e){return{type:e.type}}function h(e,o){let{alpha:n,mode:t,isMask:r}=e,i="string"==typeof n?Number(o.getVariable(n)??100)/100:n;return{...f(e),alpha:i,mode:t,isMask:r}}export{i as a,a as b,l as c,u as d};
@@ -1 +1 @@
1
- import{a as e,b as t}from"./runtime-chunk-UYRGNTDQ.js";import{b as a,e as i,g as r}from"./runtime-chunk-GJIYL4V5.js";import{a as s}from"./runtime-chunk-TU4KDRKR.js";import{a as n}from"./runtime-chunk-JBIPPY3K.js";import{a as l,b as o}from"./runtime-chunk-Z4NV7FMH.js";import{T as h,d as u,da as c,e as d,h as p}from"./runtime-chunk-A4V6IMN2.js";import{b as y,h as m,j as g,v as f}from"./runtime-chunk-HHRA6K3Y.js";import{c as b}from"./runtime-chunk-2PT2WH66.js";import{c as v,l as C}from"./runtime-chunk-TZCHGFVF.js";import{oa as S,ra as k,v as A,xa as w}from"./runtime-chunk-WKTS4T2Q.js";import{Ne as F,Oc as L,Tc as H,Uc as O,Vc as j,cd as T,jd as B,ld as M,ve as D}from"./runtime-chunk-BVVSZMXD.js";function U(e){return e instanceof c&&e.needsAO&&!b(e)&&!0!==e.isDecalObject}function z(e){let t=e.cloner;if(t&&Array.isArray(t.children))for(let a of t.children)a?.layers&&(a.layers.mask=e.layers.mask)}function I(e){return e.getLayersOfType("reflection").filter(e=>e.data.visible).length}function P(e){return e.getLayersOfType("reflection").some(e=>e.data.visible&&1===e.data.mirror)}function x(e){let t=1/0,a=-1/0;for(let i of e.getLayersOfType("reflection")){let e=i.data;if(!e.visible||1===e.mirror)continue;let r="number"==typeof e.blur?e.blur:null;t=Math.min(t,r??0),a=Math.max(a,r??10)}return t===1/0?null:{min:t,max:a}}function E(e){for(let t of e.getLayersOfType("reflection")){let e=t.data;if(!e.visible)continue;let{blur:a,thickness:i,steps:r,stepSize:s}=e;return"number"!=typeof a||"number"!=typeof i||"number"!=typeof r||"number"!=typeof s?"variable":{blur:a,thickness:i,steps:r,stepSize:s,tracingMode:1===e.tracingMode?1:0}}return null}function V(e,t){let a={outline:!1,cavity:!1},i=512&e.layers.mask,r=t.getLayersOfType("transmission"),s=t.getLayersOfType("outline"),n=I(t),h=t.getLayersOfType("cavity");return(s.length>0||h.length>0)&&(e.layers.set(8),r.length>0&&e.layers.enable(3),n>0&&e.layers.enable(4),a.outline=s.length>0,a.cavity=h.length>0,o(e),l(e)),0===r.length&&0===s.length&&0===h.length&&0===n&&e.layers.set(0),i&&e.layers.set(9),!i&&U(e)&&e.layers.enable(5),z(e),a}function W(e,t){if(!t.layers)return!1;let a=512&e.layers.mask,i=!1,r=t.getLayersOfType("transmission").filter(e=>e.data.visible),s=t.getLayersOfType("outline").filter(e=>e.data.visible),n=I(t),l=t.getLayersOfType("cavity").filter(e=>e.data.visible);return r.length>0&&(e.layers.set(3),(s.length>0||l.length>0)&&e.layers.enable(8),n>0&&e.layers.enable(4),i=!0),0===r.length&&0===s.length&&0===l.length&&0===n&&e.layers.set(0),a&&e.layers.set(9),!a&&U(e)&&e.layers.enable(5),z(e),i}function G(e,t){var a;if(!t.layers)return!1;let i=512&e.layers.mask,r=!1,s=I(t),n=t.getLayersOfType("transmission").filter(e=>e.data.visible),l=t.getLayersOfType("outline").filter(e=>e.data.visible),o=t.getLayersOfType("cavity").filter(e=>e.data.visible);return s>0&&((a=e.userData).__splinePlanarMirror??(a.__splinePlanarMirror=0),e.layers.set(4),n.length>0&&e.layers.enable(3),(l.length>0||o.length>0)&&e.layers.enable(8),r=!0),0===s&&0===n.length&&0===l.length&&0===o.length&&e.layers.set(0),i&&e.layers.set(9),!i&&U(e)&&e.layers.enable(5),z(e),r}function _(e){let t={outline:!1,cavity:!1},a=e=>{t.outline=t.outline||e.outline,t.cavity=t.cavity||e.cavity};return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t=0;t<e.material.length;t++)a(V(e,e.material[t]));else a(V(e,e.material))}),t}function K(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)W(e,e.material[a])&&(t=!0);else W(e,e.material)&&(t=!0)}),t}function R(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)G(e,e.material[a])&&(t=!0);else G(e,e.material)&&(t=!0)}),t}var N=new F,Q=new L,Y=new B,Z=new T;function J(e,t,a,i=!1){let r=e.cloner;if(r){let s=null;if(e.raycast===M.prototype.raycast||e.raycast===f.prototype.raycast){let t=e.geometry;t&&(null===t.boundingSphere&&t.computeBoundingSphere(),s=t.boundingSphere)}for(let n of r.children){if(null!==s&&(Z.copy(s).applyMatrix4(n.matrixWorld),!t.ray.intersectsSphere(Z)))continue;let r=Q.copy(n.matrixWorld).invert(),l=Y.copy(t.ray).applyMatrix4(r),o=e.matrixWorld;l.applyMatrix4(o);let h=N;h.set(l.origin,l.direction),h.near=t.near,h.far=t.far,h.layers.mask=t.layers.mask;let u=h.intersectObject(e,!1);u.length>0&&a.push({...u[0],object:i?n:e})}}}var X=class extends(g(j)){constructor(e,t,a){if(super(),this.data=t,this.bgColor=new p(1,1,1,1),this.fog=null,this.backupFog=new O(16777215,.1,2e3),this.fogUseBGColor=!1,this.fogMode="linear",this.fogDensity=S.getDensity({}),this.fogHeightFalloff=S.getHeightFalloff({}),this.fogHeightBase=S.getHeightBase({}),this.isActive=!1,this.skyState=null,this.skyStateVersion=0,this.gradingState=null,this.skyHdriHolder=null,this.aoColor=new H,this.penumbraSizeArrayCache=null,this.super_Entity(e,t),this.personalCamera=new n(A,{...w.defaultData,...t.camera,name:"Personal Camera"}),this.personalCamera.objectHelper.visible=!1,this.add(this.personalCamera),this.activeCamera=this.personalCamera,this.ambientLight=new D(13882323,8553090,.75*Math.PI),this.ambientLight.name="Default Ambient Light",this.ambientLight.layers.enable(3),this.ambientLight.removeFromParent(),this.add(this.ambientLight),t.uiScene){let i=C();null===i?v("ui-2d","a page's 2D scene"):this.uiScene=new i.Scene2D((Array.isArray(e)?e[0]:e)+"-ui",t.uiScene,{dpr:window.devicePixelRatio,shared:a.shared})}else t.uiFrame&&this.createUICanvas(t.uiFrame,a)}get scene(){return this.parent}get postprocessing(){return this.data.postprocessing}get frameId(){return this.data.uiFrame}get frame(){return this.uiCanvas?.frame}createUICanvas(e,t){let a=C();null!==a?(this.uiCanvas=new a.UICanvas(this.uuid+"-uiscreen",window.innerWidth,window.innerHeight,t),this.uiCanvas.isScreenSpace=!0,this.uiCanvas.promise.then(()=>{this.uiCanvas?.applyFrame(e),this.uiCanvas?.applySize()})):v("ui-2d","a page's UI canvas")}updateVisible(){}setBackgroundColor(e){this.bgColor=e,!0===this.fogUseBGColor&&(this.backupFog.color=e)}entityChildrenCount(){return this.uiScene?this.uiScene.children.length:super.entityChildrenCount()}updateAmbientLight(e,t){void 0!==e.color&&(this.ambientLight.color=s(e.color,t)),void 0!==e.intensity&&(this.ambientLight.intensity=e.intensity*Math.PI),void 0!==e.enabled&&(e.enabled?this.add(this.ambientLight):this.remove(this.ambientLight))}onDeactive(){this.isActive=!1}onActive(e){this.isActive=!0,e.fog=this.fog,this.traverseEntity(e=>{e instanceof a&&e.recomputeBoolean()}),this.updateShadow(this.data.shadow)}forceMaterialsUpdate(){this.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t of e.material)t.needsUpdate=!0;else e.material.needsUpdate=!0,e.material.dispose()})}updateShadow(e){if(void 0===e.softShadowQuality&&void 0===e.type||!this.isActive)return;let t=this.data.shadow,a=k.isSoft(t);h(a,t?.softShadowQuality)&&this.forceMaterialsUpdate()}updateFog(e,t){e.enabled?this.fog=this.backupFog:this.fog=null,this.isActive&&(this.scene.fog=this.fog),this.fogUseBGColor=e.useBackgroundColor,e.useBackgroundColor?this.backupFog.color.set(this.bgColor):this.backupFog.color=s(e.color,t),this.backupFog.near=e.near,this.backupFog.far=e.far,this.fogMode=S.getMode(e),this.fogDensity=S.getDensity(e),this.fogHeightFalloff=S.getHeightFalloff(e),this.fogHeightBase=S.getHeightBase(e)}updateSky(e,t){this.skyState=e??null,this.skyStateVersion++;let a=e?.hdri?.image;this.skyHdriHolder=null!=a?t.image(a):null}updateAo(e,t){void 0!==e.aoColor&&(this.aoColor=s(e.aoColor,t))}updateByOp(e,t,a,i){let r=this.data.uiFrame;super.updateByOp(e,t,a,i);let s=t;y(e.path,["fog"])?this.updateFog(s.fog,a.shared):y(e.path,["sky"])?this.updateSky(s.sky,a.shared):y(e.path,["grading"])?this.gradingState=s.grading??null:y(e.path,["ao"])?this.updateAo(s.ao,a.shared):y(e.path,["ambient"])?this.updateAmbientLight(s.ambient,a.shared):y(e.path,["shadow"])?this.updateShadow(s.shadow):0===e.type&&0===e.path.length&&(void 0!==e.props.uiFrame||r!==s.uiFrame)&&this.updateUIFrame(e.props.uiFrame,a)}updateUIFrame(e,t){e?(this.uiCanvas||this.createUICanvas(e,t),this.uiCanvas.enabled=!0,this.uiCanvas.applyFrame(e)):this.uiCanvas&&(this.uiCanvas.enabled=!1)}updateState(e,t){this.updateState_Entity(e,t),void 0!==e.backgroundColor&&this.setBackgroundColor(s(e.backgroundColor,t.shared)),void 0!==e.fog&&this.updateFog(e.fog,t.shared),void 0!==e.sky&&this.updateSky(e.sky,t.shared),void 0!==e.grading&&(this.gradingState=e.grading),void 0!==e.ambient&&this.updateAmbientLight(e.ambient,t.shared),void 0!==e.ao&&this.updateAo(e.ao,t.shared),void 0!==e.shadow&&this.updateShadow(e.shadow)}createFrame(e,t){}raycast(e,t){super.raycast(e,t)}switchActiveCamera(e){e&&e.isDescendantOf(this)&&(this.activeCamera!==this.personalCamera&&(this.activeCamera.objectHelper.visible=!0),this.activeCamera=e,e.objectHelper.visible=!1)}get playCamera(){return this.scene?.find(this.data.publish.playCamera)??this.personalCamera}switchToPlayCamera(){this.switchActiveCamera(this.playCamera)}get penumbraSizeArray(){return null===this.penumbraSizeArrayCache&&this.updatePenumbraSizeArray(),this.penumbraSizeArrayCache}updatePenumbraSizeArray(){this.penumbraSizeArrayCache=new Array(u).fill(.5);let a=0,i=0;this.traverseEntity(r=>{if(!r.visible)return!0;r instanceof e&&r.visible&&a<d&&(this.penumbraSizeArrayCache[a]=r.data.penumbraSize??.5,a+=1),r instanceof t&&r.visible&&a<u-d&&(this.penumbraSizeArrayCache[d+i]=r.data.penumbraSize??.5,i+=1)})}raycastWithClones(e){let t=[],a=s=>{for(let n of s.children){let s=n.cloner;m.is(n)&&(n.visible||s?.object.data.visible)&&((i(n)||r(n)&&this.scene.enableHelpers&&n.objectHelper.visible)&&(e.intersectObject(n,!1,t),J(n,e,t,!0)),a(n))}};return a(this),t}updateEntity2DByOp(e,t,a,i){this.uiCanvas?.updateEntity2DByOp(e,t,a,i)}};export{P as a,x as b,E as c,_ as d,K as e,R as f,J as g,X as h};
1
+ import{a as e,b as t}from"./runtime-chunk-SKL72FMW.js";import{b as a,e as i,g as r}from"./runtime-chunk-QU4YWWPM.js";import{a as s}from"./runtime-chunk-TU4KDRKR.js";import{a as n}from"./runtime-chunk-4EH2XFYY.js";import{a as l,b as o}from"./runtime-chunk-RQTWS576.js";import{T as h,d as u,da as c,e as d,h as p}from"./runtime-chunk-AAJG7OQA.js";import{b as y,h as m,j as g,v as f}from"./runtime-chunk-ABVRWCND.js";import{c as b}from"./runtime-chunk-2PT2WH66.js";import{c as v,l as C}from"./runtime-chunk-TZCHGFVF.js";import{oa as S,ra as k,v as A,xa as w}from"./runtime-chunk-NMRQ6IV4.js";import{Ne as F,Oc as L,Tc as O,Uc as j,Vc as H,cd as M,jd as T,ld as B,ve as D}from"./runtime-chunk-BVVSZMXD.js";function U(e){return e instanceof c&&e.needsAO&&!b(e)&&!0!==e.isDecalObject}function z(e){let t=e.cloner;if(t&&Array.isArray(t.children))for(let a of t.children)a?.layers&&(a.layers.mask=e.layers.mask)}function x(e){return e.getLayersOfType("reflection").filter(e=>e.data.visible).length}function P(e){return e.getLayersOfType("reflection").some(e=>e.data.visible&&1===e.data.mirror)}function E(e){let t=1/0,a=-1/0;for(let i of e.getLayersOfType("reflection")){let e=i.data;if(!e.visible||1===e.mirror)continue;let r="number"==typeof e.blur?e.blur:null;t=Math.min(t,r??0),a=Math.max(a,r??10)}return t===1/0?null:{min:t,max:a}}function I(e){for(let t of e.getLayersOfType("reflection")){let e=t.data;if(!e.visible)continue;let{blur:a,thickness:i,steps:r,stepSize:s}=e;return"number"!=typeof a||"number"!=typeof i||"number"!=typeof r||"number"!=typeof s?"variable":{blur:a,thickness:i,steps:r,stepSize:s,tracingMode:1===e.tracingMode?1:0}}return null}function W(e,t){let a={outline:!1,cavity:!1},i=512&e.layers.mask,r=t.getLayersOfType("transmission"),s=t.getLayersOfType("outline"),n=x(t),h=t.getLayersOfType("cavity");return(s.length>0||h.length>0)&&(e.layers.set(8),r.length>0&&e.layers.enable(3),n>0&&e.layers.enable(4),a.outline=s.length>0,a.cavity=h.length>0,o(e),l(e)),0===r.length&&0===s.length&&0===h.length&&0===n&&e.layers.set(0),i&&e.layers.set(9),!i&&U(e)&&e.layers.enable(5),z(e),a}function V(e,t){if(!t.layers)return!1;let a=512&e.layers.mask,i=!1,r=t.getLayersOfType("transmission").filter(e=>e.data.visible),s=t.getLayersOfType("outline").filter(e=>e.data.visible),n=x(t),l=t.getLayersOfType("cavity").filter(e=>e.data.visible);return r.length>0&&(e.layers.set(3),(s.length>0||l.length>0)&&e.layers.enable(8),n>0&&e.layers.enable(4),i=!0),0===r.length&&0===s.length&&0===l.length&&0===n&&e.layers.set(0),a&&e.layers.set(9),!a&&U(e)&&e.layers.enable(5),z(e),i}function Q(e,t){var a;if(!t.layers)return!1;let i=512&e.layers.mask,r=!1,s=x(t),n=t.getLayersOfType("transmission").filter(e=>e.data.visible),l=t.getLayersOfType("outline").filter(e=>e.data.visible),o=t.getLayersOfType("cavity").filter(e=>e.data.visible);return s>0&&((a=e.userData).__splinePlanarMirror??(a.__splinePlanarMirror=0),e.layers.set(4),n.length>0&&e.layers.enable(3),(l.length>0||o.length>0)&&e.layers.enable(8),r=!0),0===s&&0===n.length&&0===l.length&&0===o.length&&e.layers.set(0),i&&e.layers.set(9),!i&&U(e)&&e.layers.enable(5),z(e),r}function R(e){let t={outline:!1,cavity:!1},a=e=>{t.outline=t.outline||e.outline,t.cavity=t.cavity||e.cavity};return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t=0;t<e.material.length;t++)a(W(e,e.material[t]));else a(W(e,e.material))}),t}function _(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)V(e,e.material[a])&&(t=!0);else V(e,e.material)&&(t=!0)}),t}function G(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)Q(e,e.material[a])&&(t=!0);else Q(e,e.material)&&(t=!0)}),t}var K=new F,N=new L,Y=new T,X=new M;function Z(e,t,a,i=!1){let r=e.cloner;if(r){let s=null;if(e.raycast===B.prototype.raycast||e.raycast===f.prototype.raycast){let t=e.geometry;t&&(null===t.boundingSphere&&t.computeBoundingSphere(),s=t.boundingSphere)}for(let n of r.children){if(null!==s&&(X.copy(s).applyMatrix4(n.matrixWorld),!t.ray.intersectsSphere(X)))continue;let r=N.copy(n.matrixWorld).invert(),l=Y.copy(t.ray).applyMatrix4(r),o=e.matrixWorld;l.applyMatrix4(o);let h=K;h.set(l.origin,l.direction),h.near=t.near,h.far=t.far,h.layers.mask=t.layers.mask;let u=h.intersectObject(e,!1);u.length>0&&a.push({...u[0],object:i?n:e})}}}var J=class extends(g(H)){constructor(e,t,a){if(super(),this.data=t,this.bgColor=new p(1,1,1,1),this.fog=null,this.backupFog=new j(16777215,.1,2e3),this.fogUseBGColor=!1,this.fogMode="linear",this.fogDensity=S.getDensity({}),this.fogHeightFalloff=S.getHeightFalloff({}),this.fogHeightBase=S.getHeightBase({}),this.isActive=!1,this.skyState=null,this.skyStateVersion=0,this.gradingState=null,this.skyHdriHolder=null,this.aoColor=new O,this.penumbraSizeArrayCache=null,this.super_Entity(e,t),this.personalCamera=new n(A,{...w.defaultData,...t.camera,name:"Personal Camera"}),this.personalCamera.objectHelper.visible=!1,this.add(this.personalCamera),this.activeCamera=this.personalCamera,this.ambientLight=new D(13882323,8553090,.75*Math.PI),this.ambientLight.name="Default Ambient Light",this.ambientLight.layers.enable(3),this.ambientLight.removeFromParent(),this.add(this.ambientLight),t.uiScene){let i=C();null===i?v("ui-2d","a page's 2D scene"):this.uiScene=new i.Scene2D((Array.isArray(e)?e[0]:e)+"-ui",t.uiScene,{dpr:window.devicePixelRatio,shared:a.shared})}else t.uiFrame&&this.createUICanvas(t.uiFrame,a)}get scene(){return this.parent}get postprocessing(){return this.data.postprocessing}get frameId(){return this.data.uiFrame}get frame(){return this.uiCanvas?.frame}createUICanvas(e,t){let a=C();null!==a?(this.uiCanvas=new a.UICanvas(this.uuid+"-uiscreen",window.innerWidth,window.innerHeight,t),this.uiCanvas.isScreenSpace=!0,this.uiCanvas.promise.then(()=>{this.uiCanvas?.applyFrame(e),this.uiCanvas?.applySize()})):v("ui-2d","a page's UI canvas")}updateVisible(){}setBackgroundColor(e){this.bgColor=e,!0===this.fogUseBGColor&&(this.backupFog.color=e)}entityChildrenCount(){return this.uiScene?this.uiScene.children.length:super.entityChildrenCount()}updateAmbientLight(e,t){void 0!==e.color&&(this.ambientLight.color=s(e.color,t)),void 0!==e.intensity&&(this.ambientLight.intensity=e.intensity*Math.PI),void 0!==e.enabled&&(e.enabled?this.add(this.ambientLight):this.remove(this.ambientLight))}onDeactive(){this.isActive=!1}onActive(e){this.isActive=!0,e.fog=this.fog,this.traverseEntity(e=>{e instanceof a&&e.recomputeBoolean()}),this.updateShadow(this.data.shadow)}forceMaterialsUpdate(){this.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t of e.material)t.needsUpdate=!0;else e.material.needsUpdate=!0,e.material.dispose()})}updateShadow(e){if(void 0===e.softShadowQuality&&void 0===e.type||!this.isActive)return;let t=this.data.shadow,a=k.isSoft(t);h(a,t?.softShadowQuality)&&this.forceMaterialsUpdate()}updateFog(e,t){e.enabled?this.fog=this.backupFog:this.fog=null,this.isActive&&(this.scene.fog=this.fog),this.fogUseBGColor=e.useBackgroundColor,e.useBackgroundColor?this.backupFog.color.set(this.bgColor):this.backupFog.color=s(e.color,t),this.backupFog.near=e.near,this.backupFog.far=e.far,this.fogMode=S.getMode(e),this.fogDensity=S.getDensity(e),this.fogHeightFalloff=S.getHeightFalloff(e),this.fogHeightBase=S.getHeightBase(e)}updateSky(e,t){this.skyState=e??null,this.skyStateVersion++;let a=e?.hdri?.image;this.skyHdriHolder=null!=a?t.image(a):null}updateAo(e,t){void 0!==e.aoColor&&(this.aoColor=s(e.aoColor,t))}updateByOp(e,t,a,i){let r=this.data.uiFrame;super.updateByOp(e,t,a,i);let s=t;y(e.path,["fog"])?this.updateFog(s.fog,a.shared):y(e.path,["sky"])?this.updateSky(s.sky,a.shared):y(e.path,["grading"])?this.gradingState=s.grading??null:y(e.path,["ao"])?this.updateAo(s.ao,a.shared):y(e.path,["ambient"])?this.updateAmbientLight(s.ambient,a.shared):y(e.path,["shadow"])?this.updateShadow(s.shadow):0===e.type&&0===e.path.length&&(void 0!==e.props.uiFrame||r!==s.uiFrame)&&this.updateUIFrame(e.props.uiFrame,a)}updateUIFrame(e,t){e?(this.uiCanvas||this.createUICanvas(e,t),this.uiCanvas.enabled=!0,this.uiCanvas.applyFrame(e)):this.uiCanvas&&(this.uiCanvas.enabled=!1)}updateState(e,t){this.updateState_Entity(e,t),void 0!==e.backgroundColor&&this.setBackgroundColor(s(e.backgroundColor,t.shared)),void 0!==e.fog&&this.updateFog(e.fog,t.shared),void 0!==e.sky&&this.updateSky(e.sky,t.shared),void 0!==e.grading&&(this.gradingState=e.grading),void 0!==e.ambient&&this.updateAmbientLight(e.ambient,t.shared),void 0!==e.ao&&this.updateAo(e.ao,t.shared),void 0!==e.shadow&&this.updateShadow(e.shadow)}createFrame(e,t){}raycast(e,t){super.raycast(e,t)}switchActiveCamera(e){e&&e.isDescendantOf(this)&&(this.activeCamera!==this.personalCamera&&(this.activeCamera.objectHelper.visible=!0),this.activeCamera=e,e.objectHelper.visible=!1)}get playCamera(){return this.scene?.find(this.data.publish.playCamera)??this.personalCamera}switchToPlayCamera(){this.switchActiveCamera(this.playCamera)}get penumbraSizeArray(){return null===this.penumbraSizeArrayCache&&this.updatePenumbraSizeArray(),this.penumbraSizeArrayCache}updatePenumbraSizeArray(){this.penumbraSizeArrayCache=new Array(u).fill(.5);let a=0,i=0;this.traverseEntity(r=>{if(!r.visible)return!0;r instanceof e&&r.visible&&a<d&&(this.penumbraSizeArrayCache[a]=r.data.penumbraSize??.5,a+=1),r instanceof t&&r.visible&&a<u-d&&(this.penumbraSizeArrayCache[d+i]=r.data.penumbraSize??.5,i+=1)})}raycastWithClones(e){let t=[],a=s=>{for(let n of s.children){let s=n.cloner;m.is(n)&&(n.visible||s?.object.data.visible)&&((i(n)||r(n)&&this.scene.enableHelpers&&n.objectHelper.visible)&&(e.intersectObject(n,!1,t),Z(n,e,t,!0)),a(n))}};return a(this),t}updateEntity2DByOp(e,t,a,i){this.uiCanvas?.updateEntity2DByOp(e,t,a,i)}};export{P as a,E as b,I as c,R as d,_ as e,G as f,Z as g,J as h};