@splinetool/runtime 2.0.101 → 2.0.102

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 (313) hide show
  1. package/build/{runtime-bloom-BOI6KO5B.js → runtime-bloom-KL3BQUGX.js} +1 -1
  2. package/build/runtime-bloom-KL3BQUGX.js.br +0 -0
  3. package/build/runtime-bloom-KL3BQUGX.js.gz +0 -0
  4. package/build/{runtime-brightnessContrast-6ZMNRJAO.js → runtime-brightnessContrast-V5NGIK6K.js} +1 -1
  5. package/build/runtime-brightnessContrast-V5NGIK6K.js.br +0 -0
  6. package/build/runtime-brightnessContrast-V5NGIK6K.js.gz +0 -0
  7. package/build/{runtime-chromaticAberration-72CZWXTD.js → runtime-chromaticAberration-NGHPPYB3.js} +1 -1
  8. package/build/runtime-chromaticAberration-NGHPPYB3.js.br +0 -0
  9. package/build/runtime-chromaticAberration-NGHPPYB3.js.gz +0 -0
  10. package/build/{runtime-chunk-7MEZ2KDU.js → runtime-chunk-2JJHDEIP.js} +1 -1
  11. package/build/runtime-chunk-2JJHDEIP.js.br +0 -0
  12. package/build/runtime-chunk-2JJHDEIP.js.gz +0 -0
  13. package/build/{runtime-chunk-HKN5JQH2.js → runtime-chunk-2WJ2WEYU.js} +1 -1
  14. package/build/runtime-chunk-2WJ2WEYU.js.br +0 -0
  15. package/build/runtime-chunk-2WJ2WEYU.js.gz +0 -0
  16. package/build/{runtime-chunk-YH7N5LRF.js → runtime-chunk-3ZJJOL4Q.js} +1 -1
  17. package/build/{runtime-chunk-YH7N5LRF.js.br → runtime-chunk-3ZJJOL4Q.js.br} +0 -0
  18. package/build/runtime-chunk-3ZJJOL4Q.js.gz +0 -0
  19. package/build/{runtime-chunk-YDR7MZGF.js → runtime-chunk-5NHKUMVZ.js} +1 -1
  20. package/build/runtime-chunk-5NHKUMVZ.js.br +0 -0
  21. package/build/runtime-chunk-5NHKUMVZ.js.gz +0 -0
  22. package/build/{runtime-chunk-OBB4M3GU.js → runtime-chunk-6AZG3OOL.js} +1 -1
  23. package/build/runtime-chunk-6AZG3OOL.js.br +0 -0
  24. package/build/{runtime-chunk-OBB4M3GU.js.gz → runtime-chunk-6AZG3OOL.js.gz} +0 -0
  25. package/build/{runtime-chunk-AWUFMMKH.js → runtime-chunk-7LB5APSO.js} +1 -1
  26. package/build/runtime-chunk-7LB5APSO.js.br +0 -0
  27. package/build/runtime-chunk-7LB5APSO.js.gz +0 -0
  28. package/build/{runtime-chunk-6GYTYA7C.js → runtime-chunk-7YU4UWXT.js} +1 -1
  29. package/build/runtime-chunk-7YU4UWXT.js.br +0 -0
  30. package/build/runtime-chunk-7YU4UWXT.js.gz +0 -0
  31. package/build/{runtime-chunk-IIR3Y2PX.js → runtime-chunk-APM3XKHH.js} +1 -1
  32. package/build/runtime-chunk-APM3XKHH.js.br +0 -0
  33. package/build/runtime-chunk-APM3XKHH.js.gz +0 -0
  34. package/build/{runtime-chunk-5CXAJPAF.js → runtime-chunk-AQRXJTP7.js} +1 -1
  35. package/build/runtime-chunk-AQRXJTP7.js.br +0 -0
  36. package/build/runtime-chunk-AQRXJTP7.js.gz +0 -0
  37. package/build/{runtime-chunk-357LYO3J.js → runtime-chunk-BVDUS25K.js} +1 -1
  38. package/build/runtime-chunk-BVDUS25K.js.br +0 -0
  39. package/build/runtime-chunk-BVDUS25K.js.gz +0 -0
  40. package/build/{runtime-chunk-3F3Y2G5B.js → runtime-chunk-BYNAIIBZ.js} +1 -1
  41. package/build/runtime-chunk-BYNAIIBZ.js.br +0 -0
  42. package/build/runtime-chunk-BYNAIIBZ.js.gz +0 -0
  43. package/build/{runtime-chunk-JBRM62V6.js → runtime-chunk-CPAMH6EF.js} +1 -1
  44. package/build/runtime-chunk-CPAMH6EF.js.br +0 -0
  45. package/build/runtime-chunk-CPAMH6EF.js.gz +0 -0
  46. package/build/{runtime-chunk-HUSJ7KZG.js → runtime-chunk-E5KWNN7T.js} +1 -1
  47. package/build/runtime-chunk-E5KWNN7T.js.br +0 -0
  48. package/build/runtime-chunk-E5KWNN7T.js.gz +0 -0
  49. package/build/{runtime-chunk-BEWSX4P6.js → runtime-chunk-H7EJULAX.js} +1 -1
  50. package/build/runtime-chunk-H7EJULAX.js.br +0 -0
  51. package/build/runtime-chunk-H7EJULAX.js.gz +0 -0
  52. package/build/{runtime-chunk-D7JBGVG7.js → runtime-chunk-I456YJHW.js} +1 -1
  53. package/build/runtime-chunk-I456YJHW.js.br +0 -0
  54. package/build/runtime-chunk-I456YJHW.js.gz +0 -0
  55. package/build/{runtime-chunk-OSFWHAMN.js → runtime-chunk-IR6WUIPK.js} +1 -1
  56. package/build/runtime-chunk-IR6WUIPK.js.br +0 -0
  57. package/build/runtime-chunk-IR6WUIPK.js.gz +0 -0
  58. package/build/{runtime-chunk-5VCUVBXQ.js → runtime-chunk-K5MUOMPR.js} +1 -1
  59. package/build/runtime-chunk-K5MUOMPR.js.br +3 -0
  60. package/build/runtime-chunk-K5MUOMPR.js.gz +0 -0
  61. package/build/{runtime-chunk-EYCGSFF7.js → runtime-chunk-NT4XXSJI.js} +1 -1
  62. package/build/runtime-chunk-NT4XXSJI.js.br +0 -0
  63. package/build/runtime-chunk-NT4XXSJI.js.gz +0 -0
  64. package/build/{runtime-chunk-GPEQDP4A.js → runtime-chunk-PAQZ4IRQ.js} +1 -1
  65. package/build/runtime-chunk-PAQZ4IRQ.js.br +0 -0
  66. package/build/runtime-chunk-PAQZ4IRQ.js.gz +0 -0
  67. package/build/{runtime-chunk-AORANPJP.js → runtime-chunk-PWI4ZGYV.js} +1 -1
  68. package/build/runtime-chunk-PWI4ZGYV.js.br +0 -0
  69. package/build/runtime-chunk-PWI4ZGYV.js.gz +0 -0
  70. package/build/{runtime-chunk-MIPG36RU.js → runtime-chunk-Q66YNYDC.js} +1 -1
  71. package/build/runtime-chunk-Q66YNYDC.js.br +0 -0
  72. package/build/runtime-chunk-Q66YNYDC.js.gz +0 -0
  73. package/build/{runtime-chunk-Q7BYLYP7.js → runtime-chunk-QXBO4AYU.js} +1 -1
  74. package/build/runtime-chunk-QXBO4AYU.js.br +0 -0
  75. package/build/runtime-chunk-QXBO4AYU.js.gz +0 -0
  76. package/build/{runtime-chunk-YPL52E4O.js → runtime-chunk-RJGVCQJ3.js} +1 -1
  77. package/build/runtime-chunk-RJGVCQJ3.js.br +0 -0
  78. package/build/runtime-chunk-RJGVCQJ3.js.gz +0 -0
  79. package/build/{runtime-chunk-SXHQLHLW.js → runtime-chunk-RY36PLKS.js} +1 -1
  80. package/build/{runtime-chunk-SXHQLHLW.js.br → runtime-chunk-RY36PLKS.js.br} +0 -0
  81. package/build/runtime-chunk-RY36PLKS.js.gz +0 -0
  82. package/build/{runtime-chunk-B3ARQO3Z.js → runtime-chunk-YADFLDMZ.js} +1 -1
  83. package/build/runtime-chunk-YADFLDMZ.js.br +0 -0
  84. package/build/runtime-chunk-YADFLDMZ.js.gz +0 -0
  85. package/build/{runtime-chunk-WK3XJ2YB.js → runtime-chunk-YOT3AUSL.js} +1 -1
  86. package/build/runtime-chunk-YOT3AUSL.js.br +0 -0
  87. package/build/runtime-chunk-YOT3AUSL.js.gz +0 -0
  88. package/build/{runtime-chunk-VA6WKZXP.js → runtime-chunk-ZNJAKEFJ.js} +1 -1
  89. package/build/runtime-chunk-ZNJAKEFJ.js.br +0 -0
  90. package/build/runtime-chunk-ZNJAKEFJ.js.gz +0 -0
  91. package/build/{runtime-classicRuntime-IYA2AK5E.js → runtime-classicRuntime-MN6CREHF.js} +1 -1
  92. package/build/runtime-classicRuntime-MN6CREHF.js.br +0 -0
  93. package/build/runtime-classicRuntime-MN6CREHF.js.gz +0 -0
  94. package/build/{runtime-cloners-IP4B45UK.js → runtime-cloners-QT3YYGP3.js} +1 -1
  95. package/build/runtime-cloners-QT3YYGP3.js.br +0 -0
  96. package/build/runtime-cloners-QT3YYGP3.js.gz +0 -0
  97. package/build/{runtime-components-BF3GMZ52.js → runtime-components-ZWGKCLVM.js} +1 -1
  98. package/build/runtime-components-ZWGKCLVM.js.br +0 -0
  99. package/build/runtime-components-ZWGKCLVM.js.gz +0 -0
  100. package/build/{runtime-createDestroy-BIQXIAYO.js → runtime-createDestroy-G46N3RBC.js} +1 -1
  101. package/build/runtime-createDestroy-G46N3RBC.js.br +0 -0
  102. package/build/runtime-createDestroy-G46N3RBC.js.gz +0 -0
  103. package/build/{runtime-depthOfField-PSOUFSGP.js → runtime-depthOfField-F6MYWOKT.js} +1 -1
  104. package/build/runtime-depthOfField-F6MYWOKT.js.br +0 -0
  105. package/build/runtime-depthOfField-F6MYWOKT.js.gz +0 -0
  106. package/build/{runtime-dragDrop-WYJRT22Q.js → runtime-dragDrop-5HCZBVV7.js} +1 -1
  107. package/build/runtime-dragDrop-5HCZBVV7.js.br +0 -0
  108. package/build/runtime-dragDrop-5HCZBVV7.js.gz +0 -0
  109. package/build/{runtime-gameControls-YYSSAWFT.js → runtime-gameControls-F6MLO6GY.js} +1 -1
  110. package/build/runtime-gameControls-F6MLO6GY.js.br +0 -0
  111. package/build/runtime-gameControls-F6MLO6GY.js.gz +0 -0
  112. package/build/{runtime-hair-KEXD7S64.js → runtime-hair-PVLQR5LY.js} +1 -1
  113. package/build/runtime-hair-PVLQR5LY.js.br +2 -0
  114. package/build/runtime-hair-PVLQR5LY.js.gz +0 -0
  115. package/build/{runtime-hueSaturation-G2JT6P4G.js → runtime-hueSaturation-4POURA2R.js} +1 -1
  116. package/build/runtime-hueSaturation-4POURA2R.js.br +0 -0
  117. package/build/runtime-hueSaturation-4POURA2R.js.gz +0 -0
  118. package/build/{runtime-mergeStaticGeometries-RDDTTVN2.js → runtime-mergeStaticGeometries-TZZH63X2.js} +1 -1
  119. package/build/runtime-mergeStaticGeometries-TZZH63X2.js.br +0 -0
  120. package/build/runtime-mergeStaticGeometries-TZZH63X2.js.gz +0 -0
  121. package/build/{runtime-miscActions-SQEVCHD6.js → runtime-miscActions-6QIW4QM2.js} +1 -1
  122. package/build/runtime-miscActions-6QIW4QM2.js.br +0 -0
  123. package/build/runtime-miscActions-6QIW4QM2.js.gz +0 -0
  124. package/build/{runtime-mouseHover-PVE2QUFI.js → runtime-mouseHover-JQNTMV4R.js} +1 -1
  125. package/build/runtime-mouseHover-JQNTMV4R.js.br +0 -0
  126. package/build/runtime-mouseHover-JQNTMV4R.js.gz +0 -0
  127. package/build/{runtime-noise-UZ5EXJW7.js → runtime-noise-L2UVT2YQ.js} +1 -1
  128. package/build/runtime-noise-L2UVT2YQ.js.br +0 -0
  129. package/build/runtime-noise-L2UVT2YQ.js.gz +0 -0
  130. package/build/{runtime-particles-QMKT2E2M.js → runtime-particles-S5BSRXMK.js} +1 -1
  131. package/build/runtime-particles-S5BSRXMK.js.br +0 -0
  132. package/build/runtime-particles-S5BSRXMK.js.gz +0 -0
  133. package/build/{runtime-paths-G2QXI7II.js → runtime-paths-XA7NV7RZ.js} +1 -1
  134. package/build/runtime-paths-XA7NV7RZ.js.br +0 -0
  135. package/build/runtime-paths-XA7NV7RZ.js.gz +0 -0
  136. package/build/{runtime-pixelation-REH3LYGQ.js → runtime-pixelation-HQ5P6CZK.js} +1 -1
  137. package/build/runtime-pixelation-HQ5P6CZK.js.br +0 -0
  138. package/build/runtime-pixelation-HQ5P6CZK.js.gz +0 -0
  139. package/build/{runtime-resize-U6VSAW63.js → runtime-resize-5BNIQLYA.js} +1 -1
  140. package/build/runtime-resize-5BNIQLYA.js.br +0 -0
  141. package/build/runtime-resize-5BNIQLYA.js.gz +0 -0
  142. package/build/{runtime-sceneTransition-IFTVI4XL.js → runtime-sceneTransition-PDZKQFW3.js} +1 -1
  143. package/build/runtime-sceneTransition-PDZKQFW3.js.br +0 -0
  144. package/build/runtime-sceneTransition-PDZKQFW3.js.gz +0 -0
  145. package/build/{runtime-scroll-4TIXCG7C.js → runtime-scroll-WWSRCZBS.js} +1 -1
  146. package/build/runtime-scroll-WWSRCZBS.js.br +0 -0
  147. package/build/runtime-scroll-WWSRCZBS.js.gz +0 -0
  148. package/build/runtime-shapeBlends-VQ4U72OE.js +1 -0
  149. package/build/runtime-shapeBlends-VQ4U72OE.js.br +0 -0
  150. package/build/runtime-shapeBlends-VQ4U72OE.js.gz +0 -0
  151. package/build/{runtime-text-3GGOC64X.js → runtime-text-LXINYVE5.js} +1 -1
  152. package/build/runtime-text-LXINYVE5.js.br +0 -0
  153. package/build/runtime-text-LXINYVE5.js.gz +0 -0
  154. package/build/{runtime-textInputs-LKHFZZIA.js → runtime-textInputs-3HM3MMGV.js} +1 -1
  155. package/build/runtime-textInputs-3HM3MMGV.js.br +0 -0
  156. package/build/runtime-textInputs-3HM3MMGV.js.gz +0 -0
  157. package/build/{runtime-timeline-SICDYTVP.js → runtime-timeline-VYAKXIWC.js} +1 -1
  158. package/build/runtime-timeline-VYAKXIWC.js.br +0 -0
  159. package/build/runtime-timeline-VYAKXIWC.js.gz +0 -0
  160. package/build/{runtime-tracking-AZFZEWAF.js → runtime-tracking-6ADNM3CC.js} +1 -1
  161. package/build/runtime-tracking-6ADNM3CC.js.br +0 -0
  162. package/build/runtime-tracking-6ADNM3CC.js.gz +0 -0
  163. package/build/{runtime-transitions-S6E7WME3.js → runtime-transitions-FB7U77BC.js} +1 -1
  164. package/build/runtime-transitions-FB7U77BC.js.br +0 -0
  165. package/build/runtime-transitions-FB7U77BC.js.gz +0 -0
  166. package/build/{runtime-ui2d-IU6BMLCA.js → runtime-ui2d-QDYNWGNM.js} +1 -1
  167. package/build/runtime-ui2d-QDYNWGNM.js.br +0 -0
  168. package/build/runtime-ui2d-QDYNWGNM.js.gz +0 -0
  169. package/build/{runtime-vectorShapes-ZGLU5TLJ.js → runtime-vectorShapes-AYIHV6AU.js} +1 -1
  170. package/build/runtime-vectorShapes-AYIHV6AU.js.br +0 -0
  171. package/build/runtime-vectorShapes-AYIHV6AU.js.gz +0 -0
  172. package/build/{runtime-vignette-HK6KS66E.js → runtime-vignette-F2XSMWCT.js} +1 -1
  173. package/build/runtime-vignette-F2XSMWCT.js.br +0 -0
  174. package/build/runtime-vignette-F2XSMWCT.js.gz +0 -0
  175. package/build/{runtime-webgpu-YDFMWVCK.js → runtime-webgpu-IOXSVDCZ.js} +1 -1
  176. package/build/runtime-webgpu-IOXSVDCZ.js.br +0 -0
  177. package/build/runtime-webgpu-IOXSVDCZ.js.gz +0 -0
  178. package/build/runtime.cjs +7 -7
  179. package/build/runtime.js +1 -1
  180. package/build/runtime.js.br +0 -0
  181. package/build/runtime.js.gz +0 -0
  182. package/build/runtime.standalone.js +1 -1
  183. package/build/runtime.standalone.js.br +0 -0
  184. package/build/runtime.standalone.js.gz +0 -0
  185. package/build/runtime.standalone.webgl.js +1 -1
  186. package/build/runtime.standalone.webgl.js.br +0 -0
  187. package/build/runtime.standalone.webgl.js.gz +0 -0
  188. package/build/runtime.standalone.webgpu.js +1 -1
  189. package/build/runtime.standalone.webgpu.js.br +0 -0
  190. package/build/runtime.standalone.webgpu.js.gz +0 -0
  191. package/build/runtime.standalone.webgpu.micro.js +1 -1
  192. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  193. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  194. package/build/runtime.standalone.webgpu.min.js +1 -1
  195. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  196. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  197. package/package.json +1 -1
  198. package/build/runtime-bloom-BOI6KO5B.js.br +0 -0
  199. package/build/runtime-bloom-BOI6KO5B.js.gz +0 -0
  200. package/build/runtime-brightnessContrast-6ZMNRJAO.js.br +0 -0
  201. package/build/runtime-brightnessContrast-6ZMNRJAO.js.gz +0 -0
  202. package/build/runtime-chromaticAberration-72CZWXTD.js.br +0 -0
  203. package/build/runtime-chromaticAberration-72CZWXTD.js.gz +0 -0
  204. package/build/runtime-chunk-357LYO3J.js.br +0 -0
  205. package/build/runtime-chunk-357LYO3J.js.gz +0 -0
  206. package/build/runtime-chunk-3F3Y2G5B.js.br +0 -0
  207. package/build/runtime-chunk-3F3Y2G5B.js.gz +0 -0
  208. package/build/runtime-chunk-5CXAJPAF.js.br +0 -0
  209. package/build/runtime-chunk-5CXAJPAF.js.gz +0 -0
  210. package/build/runtime-chunk-5VCUVBXQ.js.br +0 -1
  211. package/build/runtime-chunk-5VCUVBXQ.js.gz +0 -0
  212. package/build/runtime-chunk-6GYTYA7C.js.br +0 -0
  213. package/build/runtime-chunk-6GYTYA7C.js.gz +0 -0
  214. package/build/runtime-chunk-7MEZ2KDU.js.br +0 -0
  215. package/build/runtime-chunk-7MEZ2KDU.js.gz +0 -0
  216. package/build/runtime-chunk-AORANPJP.js.br +0 -0
  217. package/build/runtime-chunk-AORANPJP.js.gz +0 -0
  218. package/build/runtime-chunk-AWUFMMKH.js.br +0 -0
  219. package/build/runtime-chunk-AWUFMMKH.js.gz +0 -0
  220. package/build/runtime-chunk-B3ARQO3Z.js.br +0 -0
  221. package/build/runtime-chunk-B3ARQO3Z.js.gz +0 -0
  222. package/build/runtime-chunk-BEWSX4P6.js.br +0 -0
  223. package/build/runtime-chunk-BEWSX4P6.js.gz +0 -0
  224. package/build/runtime-chunk-D7JBGVG7.js.br +0 -0
  225. package/build/runtime-chunk-D7JBGVG7.js.gz +0 -0
  226. package/build/runtime-chunk-EYCGSFF7.js.br +0 -0
  227. package/build/runtime-chunk-EYCGSFF7.js.gz +0 -0
  228. package/build/runtime-chunk-GPEQDP4A.js.br +0 -0
  229. package/build/runtime-chunk-GPEQDP4A.js.gz +0 -0
  230. package/build/runtime-chunk-HKN5JQH2.js.br +0 -0
  231. package/build/runtime-chunk-HKN5JQH2.js.gz +0 -0
  232. package/build/runtime-chunk-HUSJ7KZG.js.br +0 -0
  233. package/build/runtime-chunk-HUSJ7KZG.js.gz +0 -0
  234. package/build/runtime-chunk-IIR3Y2PX.js.br +0 -0
  235. package/build/runtime-chunk-IIR3Y2PX.js.gz +0 -0
  236. package/build/runtime-chunk-JBRM62V6.js.br +0 -0
  237. package/build/runtime-chunk-JBRM62V6.js.gz +0 -0
  238. package/build/runtime-chunk-MIPG36RU.js.br +0 -0
  239. package/build/runtime-chunk-MIPG36RU.js.gz +0 -0
  240. package/build/runtime-chunk-OBB4M3GU.js.br +0 -0
  241. package/build/runtime-chunk-OSFWHAMN.js.br +0 -0
  242. package/build/runtime-chunk-OSFWHAMN.js.gz +0 -0
  243. package/build/runtime-chunk-Q7BYLYP7.js.br +0 -0
  244. package/build/runtime-chunk-Q7BYLYP7.js.gz +0 -0
  245. package/build/runtime-chunk-SXHQLHLW.js.gz +0 -0
  246. package/build/runtime-chunk-VA6WKZXP.js.br +0 -0
  247. package/build/runtime-chunk-VA6WKZXP.js.gz +0 -0
  248. package/build/runtime-chunk-WK3XJ2YB.js.br +0 -0
  249. package/build/runtime-chunk-WK3XJ2YB.js.gz +0 -0
  250. package/build/runtime-chunk-YDR7MZGF.js.br +0 -0
  251. package/build/runtime-chunk-YDR7MZGF.js.gz +0 -0
  252. package/build/runtime-chunk-YH7N5LRF.js.gz +0 -0
  253. package/build/runtime-chunk-YPL52E4O.js.br +0 -0
  254. package/build/runtime-chunk-YPL52E4O.js.gz +0 -0
  255. package/build/runtime-classicRuntime-IYA2AK5E.js.br +0 -0
  256. package/build/runtime-classicRuntime-IYA2AK5E.js.gz +0 -0
  257. package/build/runtime-cloners-IP4B45UK.js.br +0 -3
  258. package/build/runtime-cloners-IP4B45UK.js.gz +0 -0
  259. package/build/runtime-components-BF3GMZ52.js.br +0 -0
  260. package/build/runtime-components-BF3GMZ52.js.gz +0 -0
  261. package/build/runtime-createDestroy-BIQXIAYO.js.br +0 -0
  262. package/build/runtime-createDestroy-BIQXIAYO.js.gz +0 -0
  263. package/build/runtime-depthOfField-PSOUFSGP.js.br +0 -0
  264. package/build/runtime-depthOfField-PSOUFSGP.js.gz +0 -0
  265. package/build/runtime-dragDrop-WYJRT22Q.js.br +0 -0
  266. package/build/runtime-dragDrop-WYJRT22Q.js.gz +0 -0
  267. package/build/runtime-gameControls-YYSSAWFT.js.br +0 -0
  268. package/build/runtime-gameControls-YYSSAWFT.js.gz +0 -0
  269. package/build/runtime-hair-KEXD7S64.js.br +0 -1
  270. package/build/runtime-hair-KEXD7S64.js.gz +0 -0
  271. package/build/runtime-hueSaturation-G2JT6P4G.js.br +0 -0
  272. package/build/runtime-hueSaturation-G2JT6P4G.js.gz +0 -0
  273. package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.br +0 -0
  274. package/build/runtime-mergeStaticGeometries-RDDTTVN2.js.gz +0 -0
  275. package/build/runtime-miscActions-SQEVCHD6.js.br +0 -0
  276. package/build/runtime-miscActions-SQEVCHD6.js.gz +0 -0
  277. package/build/runtime-mouseHover-PVE2QUFI.js.br +0 -0
  278. package/build/runtime-mouseHover-PVE2QUFI.js.gz +0 -0
  279. package/build/runtime-noise-UZ5EXJW7.js.br +0 -0
  280. package/build/runtime-noise-UZ5EXJW7.js.gz +0 -0
  281. package/build/runtime-particles-QMKT2E2M.js.br +0 -0
  282. package/build/runtime-particles-QMKT2E2M.js.gz +0 -0
  283. package/build/runtime-paths-G2QXI7II.js.br +0 -0
  284. package/build/runtime-paths-G2QXI7II.js.gz +0 -0
  285. package/build/runtime-pixelation-REH3LYGQ.js.br +0 -0
  286. package/build/runtime-pixelation-REH3LYGQ.js.gz +0 -0
  287. package/build/runtime-resize-U6VSAW63.js.br +0 -0
  288. package/build/runtime-resize-U6VSAW63.js.gz +0 -0
  289. package/build/runtime-sceneTransition-IFTVI4XL.js.br +0 -0
  290. package/build/runtime-sceneTransition-IFTVI4XL.js.gz +0 -0
  291. package/build/runtime-scroll-4TIXCG7C.js.br +0 -0
  292. package/build/runtime-scroll-4TIXCG7C.js.gz +0 -0
  293. package/build/runtime-shapeBlends-4HPDCYMY.js +0 -1
  294. package/build/runtime-shapeBlends-4HPDCYMY.js.br +0 -0
  295. package/build/runtime-shapeBlends-4HPDCYMY.js.gz +0 -0
  296. package/build/runtime-text-3GGOC64X.js.br +0 -0
  297. package/build/runtime-text-3GGOC64X.js.gz +0 -0
  298. package/build/runtime-textInputs-LKHFZZIA.js.br +0 -0
  299. package/build/runtime-textInputs-LKHFZZIA.js.gz +0 -0
  300. package/build/runtime-timeline-SICDYTVP.js.br +0 -0
  301. package/build/runtime-timeline-SICDYTVP.js.gz +0 -0
  302. package/build/runtime-tracking-AZFZEWAF.js.br +0 -0
  303. package/build/runtime-tracking-AZFZEWAF.js.gz +0 -0
  304. package/build/runtime-transitions-S6E7WME3.js.br +0 -0
  305. package/build/runtime-transitions-S6E7WME3.js.gz +0 -0
  306. package/build/runtime-ui2d-IU6BMLCA.js.br +0 -0
  307. package/build/runtime-ui2d-IU6BMLCA.js.gz +0 -0
  308. package/build/runtime-vectorShapes-ZGLU5TLJ.js.br +0 -0
  309. package/build/runtime-vectorShapes-ZGLU5TLJ.js.gz +0 -0
  310. package/build/runtime-vignette-HK6KS66E.js.br +0 -0
  311. package/build/runtime-vignette-HK6KS66E.js.gz +0 -0
  312. package/build/runtime-webgpu-YDFMWVCK.js.br +0 -0
  313. package/build/runtime-webgpu-YDFMWVCK.js.gz +0 -0
@@ -1 +1 @@
1
- import{e as t}from"./runtime-chunk-YPL52E4O.js";import{a as e,b as s}from"./runtime-chunk-YDR7MZGF.js";import{Ae as a,De as i,Ec as o,Gc as h,Hc as r,Ue as d,We as n,Xe as c}from"./runtime-chunk-KPOUV3HD.js";var l=class extends(e(n)){constructor(t,e=15,s=10066329){super(t,e,s),this.object=t,this.added=!1,this.name=`DirectionalLightHelper: ${t.uuid}`}raycast(t,e){s(this.object,l.geometryHelper,t,e)}},p=class extends(t(i,l)){constructor(t,e,s){super(),this.super_Entity(t,e),this.castShadow=!0,this.shadow.mapSize.width=2048,this.shadow.mapSize.height=2048,this.shadow.normalBias=1,this.layers.enable(3);let a=this.shadow.camera;a.top=1250,a.bottom=-1250,a.right=1250,a.left=-1250,a.near=-1e4,a.far=2500;let i=new c(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let e=this.gizmos[t];e instanceof c&&e.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.objectHelper&&this.objectHelper.update()}updateState(t,e){this.updateState_Light(t,e);let s=void 0!==t.depth&&t.depth!==this.shadow.camera.far||void 0!==t.size&&t.size/2!==this.shadow.camera.right;void 0!==t.size&&function(t,e){t.shadow.camera.right=e/2,t.shadow.camera.left=-e/2,t.shadow.camera.top=e/2,t.shadow.camera.bottom=-e/2,t.shadow.needsUpdate=!0}(this,t.size),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null)),void 0!==t.penumbraSize&&e.scene.markPenumbraSizeDirty(),s&&this.update()}},m=class extends(e(d)){constructor(t,e=6710886){super(t,e),this.object=t,this.matrix=t.matrixWorld,this.name=`SpotLightHelper: ${t.uuid}`}raycast(t,e){s(this.object,m.geometryHelper,t,e)}update(){if(void 0!==this.object){let t=m._vector,e=this.object.distance?this.object.distance:1e3,s=e*Math.tan(this.object.angle);this.cone.scale.set(s,s,e),t.setFromMatrixPosition(this.object.target.matrixWorld),this.cone.lookAt(t);let a=void 0!==this.color?this.color:this.light.color;if(this.cone.material instanceof Array)for(let t=0,e=this.cone.material.length;t<e;t++)this.cone.material[t].color.set(a);else this.cone.material.color.set(a)}}},u=m;u._vector=new r;var w=new r,b=new r,g=new h,v=class extends(t(a,u)){constructor(t,e,s){super(),this.super_Entity(t,e),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let a=this.shadow.camera;a.fov=2*o.RAD2DEG*this.angle,a.aspect=1,a.near=100,a.far=2500;let i=new c(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i,this.update()}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let e=this.gizmos[t];e instanceof c&&e.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),b.setFromMatrixPosition(this.matrixWorld),g.setFromRotationMatrix(this.matrixWorld),w.copy(this.up).applyQuaternion(g).negate().multiplyScalar(this.distance),this.target.position.copy(b).add(w),this.target.updateMatrixWorld(),this.objectHelper&&this.objectHelper.update()}updateState(t,e){this.updateState_Light(t,e),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.angle&&(this.angle=t.angle),void 0!==t.penumbra&&(this.penumbra=t.penumbra),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.penumbraSize&&e.scene.markPenumbraSizeDirty(),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a,v as b};
1
+ import{e as t}from"./runtime-chunk-RJGVCQJ3.js";import{a as e,b as s}from"./runtime-chunk-5NHKUMVZ.js";import{Ae as a,De as i,Ec as o,Gc as h,Hc as r,Ue as d,We as n,Xe as c}from"./runtime-chunk-KPOUV3HD.js";var l=class extends(e(n)){constructor(t,e=15,s=10066329){super(t,e,s),this.object=t,this.added=!1,this.name=`DirectionalLightHelper: ${t.uuid}`}raycast(t,e){s(this.object,l.geometryHelper,t,e)}},p=class extends(t(i,l)){constructor(t,e,s){super(),this.super_Entity(t,e),this.castShadow=!0,this.shadow.mapSize.width=2048,this.shadow.mapSize.height=2048,this.shadow.normalBias=1,this.layers.enable(3);let a=this.shadow.camera;a.top=1250,a.bottom=-1250,a.right=1250,a.left=-1250,a.near=-1e4,a.far=2500;let i=new c(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let e=this.gizmos[t];e instanceof c&&e.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.objectHelper&&this.objectHelper.update()}updateState(t,e){this.updateState_Light(t,e);let s=void 0!==t.depth&&t.depth!==this.shadow.camera.far||void 0!==t.size&&t.size/2!==this.shadow.camera.right;void 0!==t.size&&function(t,e){t.shadow.camera.right=e/2,t.shadow.camera.left=-e/2,t.shadow.camera.top=e/2,t.shadow.camera.bottom=-e/2,t.shadow.needsUpdate=!0}(this,t.size),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null)),void 0!==t.penumbraSize&&e.scene.markPenumbraSizeDirty(),s&&this.update()}},m=class extends(e(d)){constructor(t,e=6710886){super(t,e),this.object=t,this.matrix=t.matrixWorld,this.name=`SpotLightHelper: ${t.uuid}`}raycast(t,e){s(this.object,m.geometryHelper,t,e)}update(){if(void 0!==this.object){let t=m._vector,e=this.object.distance?this.object.distance:1e3,s=e*Math.tan(this.object.angle);this.cone.scale.set(s,s,e),t.setFromMatrixPosition(this.object.target.matrixWorld),this.cone.lookAt(t);let a=void 0!==this.color?this.color:this.light.color;if(this.cone.material instanceof Array)for(let t=0,e=this.cone.material.length;t<e;t++)this.cone.material[t].color.set(a);else this.cone.material.color.set(a)}}},u=m;u._vector=new r;var w=new r,b=new r,g=new h,v=class extends(t(a,u)){constructor(t,e,s){super(),this.super_Entity(t,e),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let a=this.shadow.camera;a.fov=2*o.RAD2DEG*this.angle,a.aspect=1,a.near=100,a.far=2500;let i=new c(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i,this.update()}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let e=this.gizmos[t];e instanceof c&&e.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),b.setFromMatrixPosition(this.matrixWorld),g.setFromRotationMatrix(this.matrixWorld),w.copy(this.up).applyQuaternion(g).negate().multiplyScalar(this.distance),this.target.position.copy(b).add(w),this.target.updateMatrixWorld(),this.objectHelper&&this.objectHelper.update()}updateState(t,e){this.updateState_Light(t,e),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.angle&&(this.angle=t.angle),void 0!==t.penumbra&&(this.penumbra=t.penumbra),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.penumbraSize&&e.scene.markPenumbraSizeDirty(),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a,v as b};
@@ -1 +1 @@
1
- import{a as t}from"./runtime-chunk-VA6WKZXP.js";import{f as e}from"./runtime-chunk-YPL52E4O.js";import{c as i}from"./runtime-chunk-AORANPJP.js";import{i as r}from"./runtime-chunk-OBB4M3GU.js";import{j as s}from"./runtime-chunk-2PT2WH66.js";import{Hc as n,Pe as o,fd as a,wd as h,xd as c}from"./runtime-chunk-KPOUV3HD.js";var d=class extends o{constructor(){super(),i(this.layers)}setFromCamera(t,e){e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,-1).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):e.isPerspectiveCamera?(this.ray.origin.set(t.x,t.y,-1).unproject(e),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):console.error("Raycaster: Unsupported camera type.")}intersectVisibleObjects(t,e=!0,i=[]){return t.forEach(t=>{t.visible&&this.intersectObject(t,e,i)}),i}createRaycastLineHelper(){let t=new h({color:65280,linewidth:10}),e=new n(this.ray.origin.x,this.ray.origin.y,this.ray.origin.z),i=new n(this.ray.direction.x,this.ray.direction.y,this.ray.direction.z),r=this.camera.far-this.camera.near,s=(new n).addVectors(e,i.multiplyScalar(r)),o=new a;return o.setFromPoints([e,s]),new c(o,t)}},u=e=>e instanceof t||s(e);function l(t,e){return t.distance-e.distance}function m(t,i,s){if(r(i)&&i.visible){e(i)&&i.raycast(t,s);for(let e of i.children)m(t,e,s)}}function f(t,e,i,r=!1){if(!r&&!i.some(e=>void 0!==y(t,e)))return[];let s=[];return e.children.forEach(e=>m(t,e,s)),s.sort(l),s}function p(t){let e=[];if(t.length){let i=t[0].object;r(i)&&e.push(i);let s=i.parent;for(;s;)u(s)&&e.push(s),s=s.parent}return e}function w(t,e,i,r){let s=t.frame;if(s){let t=e[0]*s.width,n=(1-e[1])*s.height;for(let e of i){let i=e===s.uuid?s:s.find(e);if(i?.intersects(t,n))return r(i),!0}}return!1}function y(t,i){if(e(i)){if(i.visible){let e=[];return i.raycast(t,e),e.length?e[0]:void 0}}else if(u(i))return g(t,i)}function g(t,i){if(r(i)&&i.visible){if(e(i)){let e=[];if(i.raycast(t,e),e.length)return e[0]}for(let e of i.children){let i=g(t,e);if(i)return i}}}var v=class{constructor(t,e,i,r,s,n,o,a){this.renderer=t,this.publish=e,this.scene=i,this.getCamera=r,this.sharedAssets=s,this.requestRender=n,this.isExport=o,this.frame=a,this.raycaster=new d,this._useWindowEvents=!1,this.pointerWorld={x:0,y:0},this.pointerScreen={x:0,y:0},this._useWindowEvents="window"===e.mouseEventTarget,this.domElement=t.domElement,this.eventElement=this._useWindowEvents?window:t.domElement,this._domRect=this.domElement.getBoundingClientRect()}get stopRaycast(){return this.publish.stopRaycast}get page(){return this.scene.activePage}set useWindowEvents(t){this._useWindowEvents=t,this.eventElement=t?window:this.renderer.domElement}get useWindowEvents(){return this._useWindowEvents}set domRect(t){this._domRect=t}get domRect(){return this._domRect}updateRaycaster(t){let{pageX:e,pageY:i}=t.touches?.length>0?t.touches[0]:t;this.pointerWorld=function(t,e,i){return{x:(t-(i.left+window.scrollX))/i.width*2-1,y:-(e-(i.top+window.scrollY))/i.height*2+1}}(e,i,this._domRect),this.pointerScreen=function(t,e,i){return{x:(t-(i.left+window.scrollX))/i.width,y:1-(e-(i.top+window.scrollY))/i.height}}(e,i,this._domRect),this.raycaster.setFromCamera(this.pointerWorld,this.getCamera())}dispose(){this.scene=void 0,this.sharedAssets=void 0,this.publish=void 0,this.getCamera=void 0,this.requestRender=void 0,this.frame=void 0,this.isExport=void 0}};export{f as a,p as b,w as c,y as d,v as e};
1
+ import{a as t}from"./runtime-chunk-ZNJAKEFJ.js";import{f as e}from"./runtime-chunk-RJGVCQJ3.js";import{c as i}from"./runtime-chunk-PWI4ZGYV.js";import{i as r}from"./runtime-chunk-6AZG3OOL.js";import{j as s}from"./runtime-chunk-2PT2WH66.js";import{Hc as n,Pe as o,fd as a,wd as h,xd as c}from"./runtime-chunk-KPOUV3HD.js";var d=class extends o{constructor(){super(),i(this.layers)}setFromCamera(t,e){e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,-1).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):e.isPerspectiveCamera?(this.ray.origin.set(t.x,t.y,-1).unproject(e),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):console.error("Raycaster: Unsupported camera type.")}intersectVisibleObjects(t,e=!0,i=[]){return t.forEach(t=>{t.visible&&this.intersectObject(t,e,i)}),i}createRaycastLineHelper(){let t=new h({color:65280,linewidth:10}),e=new n(this.ray.origin.x,this.ray.origin.y,this.ray.origin.z),i=new n(this.ray.direction.x,this.ray.direction.y,this.ray.direction.z),r=this.camera.far-this.camera.near,s=(new n).addVectors(e,i.multiplyScalar(r)),o=new a;return o.setFromPoints([e,s]),new c(o,t)}},u=e=>e instanceof t||s(e);function l(t,e){return t.distance-e.distance}function m(t,i,s){if(r(i)&&i.visible){e(i)&&i.raycast(t,s);for(let e of i.children)m(t,e,s)}}function f(t,e,i,r=!1){if(!r&&!i.some(e=>void 0!==y(t,e)))return[];let s=[];return e.children.forEach(e=>m(t,e,s)),s.sort(l),s}function p(t){let e=[];if(t.length){let i=t[0].object;r(i)&&e.push(i);let s=i.parent;for(;s;)u(s)&&e.push(s),s=s.parent}return e}function w(t,e,i,r){let s=t.frame;if(s){let t=e[0]*s.width,n=(1-e[1])*s.height;for(let e of i){let i=e===s.uuid?s:s.find(e);if(i?.intersects(t,n))return r(i),!0}}return!1}function y(t,i){if(e(i)){if(i.visible){let e=[];return i.raycast(t,e),e.length?e[0]:void 0}}else if(u(i))return g(t,i)}function g(t,i){if(r(i)&&i.visible){if(e(i)){let e=[];if(i.raycast(t,e),e.length)return e[0]}for(let e of i.children){let i=g(t,e);if(i)return i}}}var v=class{constructor(t,e,i,r,s,n,o,a){this.renderer=t,this.publish=e,this.scene=i,this.getCamera=r,this.sharedAssets=s,this.requestRender=n,this.isExport=o,this.frame=a,this.raycaster=new d,this._useWindowEvents=!1,this.pointerWorld={x:0,y:0},this.pointerScreen={x:0,y:0},this._useWindowEvents="window"===e.mouseEventTarget,this.domElement=t.domElement,this.eventElement=this._useWindowEvents?window:t.domElement,this._domRect=this.domElement.getBoundingClientRect()}get stopRaycast(){return this.publish.stopRaycast}get page(){return this.scene.activePage}set useWindowEvents(t){this._useWindowEvents=t,this.eventElement=t?window:this.renderer.domElement}get useWindowEvents(){return this._useWindowEvents}set domRect(t){this._domRect=t}get domRect(){return this._domRect}updateRaycaster(t){let{pageX:e,pageY:i}=t.touches?.length>0?t.touches[0]:t;this.pointerWorld=function(t,e,i){return{x:(t-(i.left+window.scrollX))/i.width*2-1,y:-(e-(i.top+window.scrollY))/i.height*2+1}}(e,i,this._domRect),this.pointerScreen=function(t,e,i){return{x:(t-(i.left+window.scrollX))/i.width,y:1-(e-(i.top+window.scrollY))/i.height}}(e,i,this._domRect),this.raycaster.setFromCamera(this.pointerWorld,this.getCamera())}dispose(){this.scene=void 0,this.sharedAssets=void 0,this.publish=void 0,this.getCamera=void 0,this.requestRender=void 0,this.frame=void 0,this.isExport=void 0}};export{f as a,p as b,w as c,y as d,v as e};
@@ -1 +1 @@
1
- import{a as e,b as t}from"./runtime-chunk-7MEZ2KDU.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-YDR7MZGF.js";import{ia as a}from"./runtime-chunk-AORANPJP.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-OBB4M3GU.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,za as v}from"./runtime-chunk-NY4SLVL4.js";import{Ce as C,Gc as b,Hc as T,Qc as j,Tc as w,Vc as M,dd as P,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new T,W=new S,U=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new M(15711266),n=new M(15711266),h=new M(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new P(i,3)),t.setAttribute("color",new P(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;W.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;V("n1",t,e,W,-1,-1,r),V("n2",t,e,W,1,-1,r),V("n3",t,e,W,-1,1,r),V("n4",t,e,W,1,1,r);let i=r;V("f1",t,e,W,-1,-1,i),V("f2",t,e,W,1,-1,i),V("f3",t,e,W,-1,1,i),V("f4",t,e,W,1,1,i);let s=i;V("u1",t,e,W,.35,1.1,s),V("u2",t,e,W,-.35,1.1,s),V("u3",t,e,W,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function V(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var z=class extends(r(U)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function B(e){return 1-Math.pow(1-e,3)}var I=new T,R=new T,H=new b,k=new T,E=new T,L=new T,q=class extends(o(S,z)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=q.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=q.projectionTransitionsEnabled;q.projectionTransitionsEnabled=!1;try{return e()}finally{q.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new T(e,t,r)),super.lookAt(e),this.getWorldPosition(I),this.targetOffset=I.distanceTo(e)}getTarget(e=new T){return this.getWorldDirection(R),this.getWorldPosition(I),R.multiplyScalar(this.targetOffset),e.copy(I).add(R),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(I),I.distanceTo(e)}updateUp(){this.getWorldQuaternion(H),k.set(0,0,1).applyQuaternion(H),E.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&E.negate(),E.applyQuaternion(H),L.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=L.angleTo(E),this.angleOffsetFromUp*=L.cross(E).dot(k)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new T),r=e.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new T;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:B(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return q.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=q.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:q.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=q.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=B(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=q;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var N=new j,Z=new j,Q=new j,K=new j,Y=new j;function J(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function X(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var $=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);$.length<s&&($=new Float32Array(s));let o=0,a=e=>{e.toArray($,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),Q.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),Y.multiplyMatrices(Q,K),(!n||!Y.equals(i))&&a(Y));try{return 0===o?0:l(r,$.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){N.copy(t.matrix).multiply(t.pivotMatrix);try{let e=X(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,N)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,N),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,N):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,N),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Z.multiplyMatrices(N,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new P([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,J as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
1
+ import{a as e,b as t}from"./runtime-chunk-2JJHDEIP.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-5NHKUMVZ.js";import{ia as a}from"./runtime-chunk-PWI4ZGYV.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-6AZG3OOL.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,za as v}from"./runtime-chunk-NY4SLVL4.js";import{Ce as C,Gc as b,Hc as T,Qc as j,Tc as w,Vc as P,dd as M,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new T,V=new S,W=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new P(15711266),n=new P(15711266),h=new P(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new M(i,3)),t.setAttribute("color",new M(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;V.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;U("n1",t,e,V,-1,-1,r),U("n2",t,e,V,1,-1,r),U("n3",t,e,V,-1,1,r),U("n4",t,e,V,1,1,r);let i=r;U("f1",t,e,V,-1,-1,i),U("f2",t,e,V,1,-1,i),U("f3",t,e,V,-1,1,i),U("f4",t,e,V,1,1,i);let s=i;U("u1",t,e,V,.35,1.1,s),U("u2",t,e,V,-.35,1.1,s),U("u3",t,e,V,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function U(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var I=class extends(r(W)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function z(e){return 1-Math.pow(1-e,3)}var B=new T,H=new T,L=new b,k=new T,E=new T,R=new T,q=class extends(o(S,I)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=q.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=q.projectionTransitionsEnabled;q.projectionTransitionsEnabled=!1;try{return e()}finally{q.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new T(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new T){return this.getWorldDirection(H),this.getWorldPosition(B),H.multiplyScalar(this.targetOffset),e.copy(B).add(H),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(L),k.set(0,0,1).applyQuaternion(L),E.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&E.negate(),E.applyQuaternion(L),R.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=R.angleTo(E),this.angleOffsetFromUp*=R.cross(E).dot(k)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new T),r=e.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new T).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new T;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:z(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return q.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=q.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:q.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=q.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=z(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=q;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var N=new j,Z=new j,Q=new j,K=new j,Y=new j;function J(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function X(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var $=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);$.length<s&&($=new Float32Array(s));let o=0,a=e=>{e.toArray($,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),Q.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),Y.multiplyMatrices(Q,K),(!n||!Y.equals(i))&&a(Y));try{return 0===o?0:l(r,$.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){N.copy(t.matrix).multiply(t.pivotMatrix);try{let e=X(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,N)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,N),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,N):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,N),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Z.multiplyMatrices(N,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new M([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,J as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
@@ -1 +1 @@
1
- import{a as t,b as e}from"./runtime-chunk-YDR7MZGF.js";import{Gc as s,Hc as r,Uc as a,Ze as i}from"./runtime-chunk-KPOUV3HD.js";var o=new r(1,1,1),m=new r,d=new r,u=new s,c=class extends(t(i)){constructor(t,e=15){super(e),this.object=t,this.dummy=new a,this.object.updateMatrixWorld(),this.name=`EmptyObjectHelper: ${t.uuid}`,this.matrix=this.dummy.matrixWorld,this.matrixAutoUpdate=!1,this.object.isBone&&(this.visible=!1)}raycast(t,s){e(this.object,c.geometryHelper,t,s,!1,this.dummy)}update(){}updateMatrix(){}updateMatrixWorld(t){this.object.matrixWorld.decompose(m,u,d),this.matrix.compose(m,u,o),super.updateMatrixWorld(t)}updateWorldMatrix(t,e){}};export{c as a};
1
+ import{a as t,b as e}from"./runtime-chunk-5NHKUMVZ.js";import{Gc as s,Hc as r,Uc as a,Ze as i}from"./runtime-chunk-KPOUV3HD.js";var o=new r(1,1,1),m=new r,d=new r,u=new s,c=class extends(t(i)){constructor(t,e=15){super(e),this.object=t,this.dummy=new a,this.object.updateMatrixWorld(),this.name=`EmptyObjectHelper: ${t.uuid}`,this.matrix=this.dummy.matrixWorld,this.matrixAutoUpdate=!1,this.object.isBone&&(this.visible=!1)}raycast(t,s){e(this.object,c.geometryHelper,t,s,!1,this.dummy)}update(){}updateMatrix(){}updateMatrixWorld(t){this.object.matrixWorld.decompose(m,u,d),this.matrix.compose(m,u,o),super.updateMatrixWorld(t)}updateWorldMatrix(t,e){}};export{c as a};
@@ -1 +1 @@
1
- import{ja as t}from"./runtime-chunk-AORANPJP.js";import{Hc as e,Qc as r,ld as i}from"./runtime-chunk-KPOUV3HD.js";var s=new e,n=new r,a=new i,h=class extends t{constructor(t,e,r){super(t,e,r),this.data=e}get textGeometry(){return this.geometry}get charWidths(){return this.textGeometry.charWidths}get charCoords(){return this.textGeometry.charCoords}get wrappedText(){return this.textGeometry.wrappedText}get font(){return this.textGeometry.font}get initialOffsetY(){let t=this.dataPatched;return this.font?.getLineInitialOffsetY(this.lineHeight,this.wrappedText.length,"number"==typeof t.geometry.height?t.geometry.height:1,this.fontScale,t.geometry.verticalAlign)??0}get fontScale(){let t=this.dataPatched;return this.font?t.geometry.fontSize/this.font.unitsPerEm:1}get AD(){return Math.abs(this.ascender-this.descender)}get ascender(){return(this.font?.ascender??1)*this.fontScale}get descender(){return(this.font?.descender??1)*this.fontScale}get lineHeight(){let t=this.dataPatched;return t.geometry.fontSize*t.geometry.lineHeight}raycast(t,e){let{matrixWorld:r}=this;if(!isNaN(t.ray.origin.x)&&0!==this.scale.x&&0!==this.scale.y&&0!==this.scale.z&&(n.copy(r).invert(),a.copy(t.ray).applyMatrix4(n),a.intersectBox(this.singleBBox,s))){let i=s.applyMatrix4(r),n=t.ray.origin.distanceTo(i);e.push({distance:n,point:i.clone(),object:this})}}};export{h as a};
1
+ import{ja as t}from"./runtime-chunk-PWI4ZGYV.js";import{Hc as e,Qc as r,ld as i}from"./runtime-chunk-KPOUV3HD.js";var s=new e,n=new r,a=new i,h=class extends t{constructor(t,e,r){super(t,e,r),this.data=e}get textGeometry(){return this.geometry}get charWidths(){return this.textGeometry.charWidths}get charCoords(){return this.textGeometry.charCoords}get wrappedText(){return this.textGeometry.wrappedText}get font(){return this.textGeometry.font}get initialOffsetY(){let t=this.dataPatched;return this.font?.getLineInitialOffsetY(this.lineHeight,this.wrappedText.length,"number"==typeof t.geometry.height?t.geometry.height:1,this.fontScale,t.geometry.verticalAlign)??0}get fontScale(){let t=this.dataPatched;return this.font?t.geometry.fontSize/this.font.unitsPerEm:1}get AD(){return Math.abs(this.ascender-this.descender)}get ascender(){return(this.font?.ascender??1)*this.fontScale}get descender(){return(this.font?.descender??1)*this.fontScale}get lineHeight(){let t=this.dataPatched;return t.geometry.fontSize*t.geometry.lineHeight}raycast(t,e){let{matrixWorld:r}=this;if(!isNaN(t.ray.origin.x)&&0!==this.scale.x&&0!==this.scale.y&&0!==this.scale.z&&(n.copy(r).invert(),a.copy(t.ray).applyMatrix4(n),a.intersectBox(this.singleBBox,s))){let i=s.applyMatrix4(r),n=t.ray.origin.distanceTo(i);e.push({distance:n,point:i.clone(),object:this})}}};export{h as a};
@@ -1 +1 @@
1
- import{h as n}from"./runtime-chunk-OBB4M3GU.js";function e(o){if(o.component){let t=o.component.instances.indexOf(o);t>=0&&o.component.instances.splice(t,1);for(let t of o.children)n.is(t)&&e(t)}}export{e as a};
1
+ import{h as n}from"./runtime-chunk-6AZG3OOL.js";function e(o){if(o.component){let t=o.component.instances.indexOf(o);t>=0&&o.component.instances.splice(t,1);for(let t of o.children)n.is(t)&&e(t)}}export{e as a};
@@ -1 +1 @@
1
- import{a as t}from"./runtime-chunk-SXHQLHLW.js";import{d as e}from"./runtime-chunk-YDR7MZGF.js";import{Uc as s}from"./runtime-chunk-KPOUV3HD.js";var r=class extends(e(s,t)){constructor(t,e){super(),this.super_Entity(t,e),this.objectHelper.update(),"Empty"===this.data.type&&(this.objectHelper.visible=!1)}updateState(t,e){this.updateState_Entity(t,e),"buffer"in t&&1===Object.keys(t).length&&e.scene.reloadSplats()}};export{r as a};
1
+ import{a as t}from"./runtime-chunk-RY36PLKS.js";import{d as e}from"./runtime-chunk-5NHKUMVZ.js";import{Uc as s}from"./runtime-chunk-KPOUV3HD.js";var r=class extends(e(s,t)){constructor(t,e){super(),this.super_Entity(t,e),this.objectHelper.update(),"Empty"===this.data.type&&(this.objectHelper.visible=!1)}updateState(t,e){this.updateState_Entity(t,e),"buffer"in t&&1===Object.keys(t).length&&e.scene.reloadSplats()}};export{r as a};