@splinetool/runtime 2.0.161 → 2.0.163

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 (315) hide show
  1. package/build/{runtime-bloom-AZYRBSQA.js → runtime-bloom-5CUW4L6B.js} +1 -1
  2. package/build/runtime-bloom-5CUW4L6B.js.br +0 -0
  3. package/build/runtime-bloom-5CUW4L6B.js.gz +0 -0
  4. package/build/{runtime-brightnessContrast-WEQJQA5H.js → runtime-brightnessContrast-6GLZPK22.js} +1 -1
  5. package/build/runtime-brightnessContrast-6GLZPK22.js.br +0 -0
  6. package/build/runtime-brightnessContrast-6GLZPK22.js.gz +0 -0
  7. package/build/{runtime-chromaticAberration-GO2J5L4S.js → runtime-chromaticAberration-W6KL4HPV.js} +1 -1
  8. package/build/runtime-chromaticAberration-W6KL4HPV.js.br +0 -0
  9. package/build/runtime-chromaticAberration-W6KL4HPV.js.gz +0 -0
  10. package/build/{runtime-chunk-R2FZWI7L.js → runtime-chunk-2WTYCTWV.js} +1 -1
  11. package/build/runtime-chunk-2WTYCTWV.js.br +0 -0
  12. package/build/runtime-chunk-2WTYCTWV.js.gz +0 -0
  13. package/build/{runtime-chunk-CAU75OZB.js → runtime-chunk-3YK7LL3O.js} +1 -1
  14. package/build/runtime-chunk-3YK7LL3O.js.br +0 -0
  15. package/build/{runtime-chunk-CAU75OZB.js.gz → runtime-chunk-3YK7LL3O.js.gz} +0 -0
  16. package/build/{runtime-chunk-APKU3YYA.js → runtime-chunk-7QOKZJJZ.js} +1 -1
  17. package/build/runtime-chunk-7QOKZJJZ.js.br +0 -0
  18. package/build/runtime-chunk-7QOKZJJZ.js.gz +0 -0
  19. package/build/{runtime-chunk-6I3BABUM.js → runtime-chunk-ALOBJNRD.js} +1 -1
  20. package/build/runtime-chunk-ALOBJNRD.js.br +0 -0
  21. package/build/runtime-chunk-ALOBJNRD.js.gz +0 -0
  22. package/build/{runtime-chunk-D3YUMVV2.js → runtime-chunk-AOOGTR4P.js} +1 -1
  23. package/build/runtime-chunk-AOOGTR4P.js.br +0 -0
  24. package/build/runtime-chunk-AOOGTR4P.js.gz +0 -0
  25. package/build/{runtime-chunk-WCP7DFUY.js → runtime-chunk-CUWNZUU4.js} +1 -1
  26. package/build/runtime-chunk-CUWNZUU4.js.br +0 -0
  27. package/build/runtime-chunk-CUWNZUU4.js.gz +0 -0
  28. package/build/{runtime-chunk-TJP5IVFO.js → runtime-chunk-CXUW2GJU.js} +1 -1
  29. package/build/runtime-chunk-CXUW2GJU.js.br +0 -0
  30. package/build/runtime-chunk-CXUW2GJU.js.gz +0 -0
  31. package/build/{runtime-chunk-R2MDXWNY.js → runtime-chunk-DQFV5ZFQ.js} +1 -1
  32. package/build/runtime-chunk-DQFV5ZFQ.js.br +0 -0
  33. package/build/runtime-chunk-DQFV5ZFQ.js.gz +0 -0
  34. package/build/{runtime-chunk-ARNZDNZ5.js → runtime-chunk-GZJLIKXN.js} +1 -1
  35. package/build/runtime-chunk-GZJLIKXN.js.br +0 -0
  36. package/build/runtime-chunk-GZJLIKXN.js.gz +0 -0
  37. package/build/{runtime-chunk-3L424UNZ.js → runtime-chunk-IUKFMBUT.js} +1 -1
  38. package/build/{runtime-chunk-3L424UNZ.js.br → runtime-chunk-IUKFMBUT.js.br} +0 -0
  39. package/build/runtime-chunk-IUKFMBUT.js.gz +0 -0
  40. package/build/{runtime-chunk-Y7GWLY3V.js → runtime-chunk-J6FMJDAQ.js} +1 -1
  41. package/build/runtime-chunk-J6FMJDAQ.js.br +2 -0
  42. package/build/runtime-chunk-J6FMJDAQ.js.gz +0 -0
  43. package/build/{runtime-chunk-YI4JK7UO.js → runtime-chunk-JIGELUIE.js} +1 -1
  44. package/build/runtime-chunk-JIGELUIE.js.br +0 -0
  45. package/build/runtime-chunk-JIGELUIE.js.gz +0 -0
  46. package/build/{runtime-chunk-SEEDV66Z.js → runtime-chunk-LNPXOVNX.js} +1 -1
  47. package/build/runtime-chunk-LNPXOVNX.js.br +0 -0
  48. package/build/runtime-chunk-LNPXOVNX.js.gz +0 -0
  49. package/build/{runtime-chunk-X77TCT7I.js → runtime-chunk-NHHM7QQE.js} +1 -1
  50. package/build/runtime-chunk-NHHM7QQE.js.br +0 -0
  51. package/build/runtime-chunk-NHHM7QQE.js.gz +0 -0
  52. package/build/runtime-chunk-NTU4ED23.js +1 -0
  53. package/build/runtime-chunk-NTU4ED23.js.br +0 -0
  54. package/build/runtime-chunk-NTU4ED23.js.gz +0 -0
  55. package/build/{runtime-chunk-ZPZWHJB5.js → runtime-chunk-NWXTI3BQ.js} +1 -1
  56. package/build/runtime-chunk-NWXTI3BQ.js.br +0 -0
  57. package/build/runtime-chunk-NWXTI3BQ.js.gz +0 -0
  58. package/build/{runtime-chunk-Y3KCBH76.js → runtime-chunk-P2L5HUEF.js} +1 -1
  59. package/build/runtime-chunk-P2L5HUEF.js.br +0 -0
  60. package/build/runtime-chunk-P2L5HUEF.js.gz +0 -0
  61. package/build/{runtime-chunk-YQALJ3YA.js → runtime-chunk-PAKKJXLB.js} +1 -1
  62. package/build/runtime-chunk-PAKKJXLB.js.br +0 -0
  63. package/build/runtime-chunk-PAKKJXLB.js.gz +0 -0
  64. package/build/{runtime-chunk-XKCF5GDT.js → runtime-chunk-QTQ4KMHG.js} +1 -1
  65. package/build/runtime-chunk-QTQ4KMHG.js.br +0 -0
  66. package/build/runtime-chunk-QTQ4KMHG.js.gz +0 -0
  67. package/build/{runtime-chunk-7JZHIVIE.js → runtime-chunk-U7XBK6GU.js} +1 -1
  68. package/build/runtime-chunk-U7XBK6GU.js.br +0 -0
  69. package/build/runtime-chunk-U7XBK6GU.js.gz +0 -0
  70. package/build/{runtime-chunk-UCF5M2I6.js → runtime-chunk-UQAP7UP7.js} +1 -1
  71. package/build/runtime-chunk-UQAP7UP7.js.br +0 -0
  72. package/build/runtime-chunk-UQAP7UP7.js.gz +0 -0
  73. package/build/{runtime-chunk-S5UEI4DR.js → runtime-chunk-W6STR7Z3.js} +1 -1
  74. package/build/runtime-chunk-W6STR7Z3.js.br +0 -0
  75. package/build/runtime-chunk-W6STR7Z3.js.gz +0 -0
  76. package/build/{runtime-chunk-FX42TWCV.js → runtime-chunk-WHRH5R4I.js} +1 -1
  77. package/build/runtime-chunk-WHRH5R4I.js.br +0 -0
  78. package/build/runtime-chunk-WHRH5R4I.js.gz +0 -0
  79. package/build/{runtime-chunk-J3AY7A6D.js → runtime-chunk-WLM4F67B.js} +1 -1
  80. package/build/runtime-chunk-WLM4F67B.js.br +1 -0
  81. package/build/runtime-chunk-WLM4F67B.js.gz +0 -0
  82. package/build/{runtime-chunk-FPOAHQL3.js → runtime-chunk-Y5DMOSMF.js} +1 -1
  83. package/build/runtime-chunk-Y5DMOSMF.js.br +0 -0
  84. package/build/runtime-chunk-Y5DMOSMF.js.gz +0 -0
  85. package/build/{runtime-chunk-KEVKWE7V.js → runtime-chunk-YWD2LRPA.js} +1 -1
  86. package/build/runtime-chunk-YWD2LRPA.js.br +0 -0
  87. package/build/runtime-chunk-YWD2LRPA.js.gz +0 -0
  88. package/build/{runtime-chunk-RALJRND3.js → runtime-chunk-ZYYGKGCH.js} +1 -1
  89. package/build/runtime-chunk-ZYYGKGCH.js.br +0 -0
  90. package/build/runtime-chunk-ZYYGKGCH.js.gz +0 -0
  91. package/build/{runtime-classicRuntime-3OM2N25U.js → runtime-classicRuntime-OTZ6DXCL.js} +1 -1
  92. package/build/runtime-classicRuntime-OTZ6DXCL.js.br +0 -0
  93. package/build/runtime-classicRuntime-OTZ6DXCL.js.gz +0 -0
  94. package/build/{runtime-cloners-WSYWA5ER.js → runtime-cloners-JLKF7NZL.js} +1 -1
  95. package/build/runtime-cloners-JLKF7NZL.js.br +0 -0
  96. package/build/runtime-cloners-JLKF7NZL.js.gz +0 -0
  97. package/build/{runtime-components-OJLETIM4.js → runtime-components-NMWVYJY4.js} +1 -1
  98. package/build/runtime-components-NMWVYJY4.js.br +0 -0
  99. package/build/runtime-components-NMWVYJY4.js.gz +0 -0
  100. package/build/{runtime-createDestroy-2N4SCER3.js → runtime-createDestroy-DNDICREP.js} +1 -1
  101. package/build/runtime-createDestroy-DNDICREP.js.br +0 -0
  102. package/build/runtime-createDestroy-DNDICREP.js.gz +0 -0
  103. package/build/{runtime-depthOfField-JWGMZTMT.js → runtime-depthOfField-SHBOHOKT.js} +1 -1
  104. package/build/runtime-depthOfField-SHBOHOKT.js.br +0 -0
  105. package/build/runtime-depthOfField-SHBOHOKT.js.gz +0 -0
  106. package/build/{runtime-dragDrop-WYPV3QDK.js → runtime-dragDrop-CESM7P4P.js} +1 -1
  107. package/build/runtime-dragDrop-CESM7P4P.js.br +0 -0
  108. package/build/runtime-dragDrop-CESM7P4P.js.gz +0 -0
  109. package/build/{runtime-gameControls-3XOIAHXD.js → runtime-gameControls-7MJYWOEP.js} +1 -1
  110. package/build/runtime-gameControls-7MJYWOEP.js.br +0 -0
  111. package/build/runtime-gameControls-7MJYWOEP.js.gz +0 -0
  112. package/build/{runtime-hair-TQL4XBNY.js → runtime-hair-OWGPCDSD.js} +1 -1
  113. package/build/runtime-hair-OWGPCDSD.js.br +0 -0
  114. package/build/runtime-hair-OWGPCDSD.js.gz +0 -0
  115. package/build/{runtime-hueSaturation-JFSLUMFA.js → runtime-hueSaturation-SXEYP67W.js} +1 -1
  116. package/build/runtime-hueSaturation-SXEYP67W.js.br +0 -0
  117. package/build/runtime-hueSaturation-SXEYP67W.js.gz +0 -0
  118. package/build/{runtime-mergeStaticGeometries-N7N222AD.js → runtime-mergeStaticGeometries-GQ2AV2SZ.js} +1 -1
  119. package/build/runtime-mergeStaticGeometries-GQ2AV2SZ.js.br +0 -0
  120. package/build/runtime-mergeStaticGeometries-GQ2AV2SZ.js.gz +0 -0
  121. package/build/{runtime-miscActions-JQO2WQCN.js → runtime-miscActions-FUWWGWP4.js} +1 -1
  122. package/build/runtime-miscActions-FUWWGWP4.js.br +0 -0
  123. package/build/runtime-miscActions-FUWWGWP4.js.gz +0 -0
  124. package/build/{runtime-mouseHover-X3APMLF7.js → runtime-mouseHover-26FH5AOJ.js} +1 -1
  125. package/build/runtime-mouseHover-26FH5AOJ.js.br +0 -0
  126. package/build/runtime-mouseHover-26FH5AOJ.js.gz +0 -0
  127. package/build/{runtime-noise-T6QUZXNL.js → runtime-noise-2JKYNM5C.js} +1 -1
  128. package/build/runtime-noise-2JKYNM5C.js.br +0 -0
  129. package/build/runtime-noise-2JKYNM5C.js.gz +0 -0
  130. package/build/{runtime-particles-MRMHJLVS.js → runtime-particles-OY35WBTN.js} +1 -1
  131. package/build/runtime-particles-OY35WBTN.js.br +0 -0
  132. package/build/runtime-particles-OY35WBTN.js.gz +0 -0
  133. package/build/{runtime-paths-VUYUX4CL.js → runtime-paths-L6BJGEK2.js} +1 -1
  134. package/build/runtime-paths-L6BJGEK2.js.br +0 -0
  135. package/build/runtime-paths-L6BJGEK2.js.gz +0 -0
  136. package/build/{runtime-pixelation-XL32HHQ3.js → runtime-pixelation-VNAQK37J.js} +1 -1
  137. package/build/runtime-pixelation-VNAQK37J.js.br +0 -0
  138. package/build/runtime-pixelation-VNAQK37J.js.gz +0 -0
  139. package/build/{runtime-resize-HTMZDDUB.js → runtime-resize-O2UJVM7M.js} +1 -1
  140. package/build/runtime-resize-O2UJVM7M.js.br +0 -0
  141. package/build/runtime-resize-O2UJVM7M.js.gz +0 -0
  142. package/build/{runtime-sceneTransition-X4AHNGUD.js → runtime-sceneTransition-PJZIFCU5.js} +1 -1
  143. package/build/runtime-sceneTransition-PJZIFCU5.js.br +0 -0
  144. package/build/runtime-sceneTransition-PJZIFCU5.js.gz +0 -0
  145. package/build/{runtime-scroll-FRB22LCS.js → runtime-scroll-OTLRJEHY.js} +1 -1
  146. package/build/runtime-scroll-OTLRJEHY.js.br +0 -0
  147. package/build/runtime-scroll-OTLRJEHY.js.gz +0 -0
  148. package/build/runtime-shapeBlends-IJRJNCGI.js +1 -0
  149. package/build/runtime-shapeBlends-IJRJNCGI.js.br +3 -0
  150. package/build/runtime-shapeBlends-IJRJNCGI.js.gz +0 -0
  151. package/build/{runtime-text-HWI2HJRR.js → runtime-text-LN6SSRPI.js} +1 -1
  152. package/build/runtime-text-LN6SSRPI.js.br +0 -0
  153. package/build/runtime-text-LN6SSRPI.js.gz +0 -0
  154. package/build/{runtime-textInputs-77HD6CUE.js → runtime-textInputs-GY7DAIOW.js} +1 -1
  155. package/build/runtime-textInputs-GY7DAIOW.js.br +0 -0
  156. package/build/runtime-textInputs-GY7DAIOW.js.gz +0 -0
  157. package/build/{runtime-timeline-CJTR4QKE.js → runtime-timeline-3H7ZJCSN.js} +1 -1
  158. package/build/runtime-timeline-3H7ZJCSN.js.br +0 -0
  159. package/build/runtime-timeline-3H7ZJCSN.js.gz +0 -0
  160. package/build/{runtime-tracking-5XAAQOHM.js → runtime-tracking-W7FBMAIC.js} +1 -1
  161. package/build/runtime-tracking-W7FBMAIC.js.br +0 -0
  162. package/build/runtime-tracking-W7FBMAIC.js.gz +0 -0
  163. package/build/{runtime-transitions-MUC3XJNU.js → runtime-transitions-HXYLRJBZ.js} +1 -1
  164. package/build/runtime-transitions-HXYLRJBZ.js.br +0 -0
  165. package/build/runtime-transitions-HXYLRJBZ.js.gz +0 -0
  166. package/build/{runtime-ui2d-A3EXZNGO.js → runtime-ui2d-OH2YYWT4.js} +1 -1
  167. package/build/runtime-ui2d-OH2YYWT4.js.br +0 -0
  168. package/build/runtime-ui2d-OH2YYWT4.js.gz +0 -0
  169. package/build/{runtime-vectorShapes-4QQBRQDQ.js → runtime-vectorShapes-SCI3DF3D.js} +1 -1
  170. package/build/runtime-vectorShapes-SCI3DF3D.js.br +0 -0
  171. package/build/runtime-vectorShapes-SCI3DF3D.js.gz +0 -0
  172. package/build/{runtime-vignette-OLCPV74G.js → runtime-vignette-AKJARU6G.js} +1 -1
  173. package/build/runtime-vignette-AKJARU6G.js.br +0 -0
  174. package/build/runtime-vignette-AKJARU6G.js.gz +0 -0
  175. package/build/{runtime-webgpu-TO23442C.js → runtime-webgpu-NG5LCPXG.js} +1 -1
  176. package/build/runtime-webgpu-NG5LCPXG.js.br +0 -0
  177. package/build/runtime-webgpu-NG5LCPXG.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-AZYRBSQA.js.br +0 -0
  199. package/build/runtime-bloom-AZYRBSQA.js.gz +0 -0
  200. package/build/runtime-brightnessContrast-WEQJQA5H.js.br +0 -0
  201. package/build/runtime-brightnessContrast-WEQJQA5H.js.gz +0 -0
  202. package/build/runtime-chromaticAberration-GO2J5L4S.js.br +0 -0
  203. package/build/runtime-chromaticAberration-GO2J5L4S.js.gz +0 -0
  204. package/build/runtime-chunk-3L424UNZ.js.gz +0 -0
  205. package/build/runtime-chunk-6I3BABUM.js.br +0 -0
  206. package/build/runtime-chunk-6I3BABUM.js.gz +0 -0
  207. package/build/runtime-chunk-7JZHIVIE.js.br +0 -0
  208. package/build/runtime-chunk-7JZHIVIE.js.gz +0 -0
  209. package/build/runtime-chunk-APKU3YYA.js.br +0 -0
  210. package/build/runtime-chunk-APKU3YYA.js.gz +0 -0
  211. package/build/runtime-chunk-ARNZDNZ5.js.br +0 -0
  212. package/build/runtime-chunk-ARNZDNZ5.js.gz +0 -0
  213. package/build/runtime-chunk-CAU75OZB.js.br +0 -0
  214. package/build/runtime-chunk-D3YUMVV2.js.br +0 -0
  215. package/build/runtime-chunk-D3YUMVV2.js.gz +0 -0
  216. package/build/runtime-chunk-FPOAHQL3.js.br +0 -0
  217. package/build/runtime-chunk-FPOAHQL3.js.gz +0 -0
  218. package/build/runtime-chunk-FX42TWCV.js.br +0 -0
  219. package/build/runtime-chunk-FX42TWCV.js.gz +0 -0
  220. package/build/runtime-chunk-J3AY7A6D.js.br +0 -1
  221. package/build/runtime-chunk-J3AY7A6D.js.gz +0 -0
  222. package/build/runtime-chunk-KEVKWE7V.js.br +0 -0
  223. package/build/runtime-chunk-KEVKWE7V.js.gz +0 -0
  224. package/build/runtime-chunk-R2FZWI7L.js.br +0 -0
  225. package/build/runtime-chunk-R2FZWI7L.js.gz +0 -0
  226. package/build/runtime-chunk-R2MDXWNY.js.br +0 -0
  227. package/build/runtime-chunk-R2MDXWNY.js.gz +0 -0
  228. package/build/runtime-chunk-RALJRND3.js.br +0 -0
  229. package/build/runtime-chunk-RALJRND3.js.gz +0 -0
  230. package/build/runtime-chunk-S5UEI4DR.js.br +0 -0
  231. package/build/runtime-chunk-S5UEI4DR.js.gz +0 -0
  232. package/build/runtime-chunk-SEEDV66Z.js.br +0 -0
  233. package/build/runtime-chunk-SEEDV66Z.js.gz +0 -0
  234. package/build/runtime-chunk-TJP5IVFO.js.br +0 -0
  235. package/build/runtime-chunk-TJP5IVFO.js.gz +0 -0
  236. package/build/runtime-chunk-TTAYL3F7.js +0 -1
  237. package/build/runtime-chunk-TTAYL3F7.js.br +0 -0
  238. package/build/runtime-chunk-TTAYL3F7.js.gz +0 -0
  239. package/build/runtime-chunk-UCF5M2I6.js.br +0 -0
  240. package/build/runtime-chunk-UCF5M2I6.js.gz +0 -0
  241. package/build/runtime-chunk-WCP7DFUY.js.br +0 -0
  242. package/build/runtime-chunk-WCP7DFUY.js.gz +0 -0
  243. package/build/runtime-chunk-X77TCT7I.js.br +0 -0
  244. package/build/runtime-chunk-X77TCT7I.js.gz +0 -0
  245. package/build/runtime-chunk-XKCF5GDT.js.br +0 -0
  246. package/build/runtime-chunk-XKCF5GDT.js.gz +0 -0
  247. package/build/runtime-chunk-Y3KCBH76.js.br +0 -0
  248. package/build/runtime-chunk-Y3KCBH76.js.gz +0 -0
  249. package/build/runtime-chunk-Y7GWLY3V.js.br +0 -0
  250. package/build/runtime-chunk-Y7GWLY3V.js.gz +0 -0
  251. package/build/runtime-chunk-YI4JK7UO.js.br +0 -0
  252. package/build/runtime-chunk-YI4JK7UO.js.gz +0 -0
  253. package/build/runtime-chunk-YQALJ3YA.js.br +0 -0
  254. package/build/runtime-chunk-YQALJ3YA.js.gz +0 -0
  255. package/build/runtime-chunk-ZPZWHJB5.js.br +0 -0
  256. package/build/runtime-chunk-ZPZWHJB5.js.gz +0 -0
  257. package/build/runtime-classicRuntime-3OM2N25U.js.br +0 -0
  258. package/build/runtime-classicRuntime-3OM2N25U.js.gz +0 -0
  259. package/build/runtime-cloners-WSYWA5ER.js.br +0 -0
  260. package/build/runtime-cloners-WSYWA5ER.js.gz +0 -0
  261. package/build/runtime-components-OJLETIM4.js.br +0 -0
  262. package/build/runtime-components-OJLETIM4.js.gz +0 -0
  263. package/build/runtime-createDestroy-2N4SCER3.js.br +0 -0
  264. package/build/runtime-createDestroy-2N4SCER3.js.gz +0 -0
  265. package/build/runtime-depthOfField-JWGMZTMT.js.br +0 -0
  266. package/build/runtime-depthOfField-JWGMZTMT.js.gz +0 -0
  267. package/build/runtime-dragDrop-WYPV3QDK.js.br +0 -0
  268. package/build/runtime-dragDrop-WYPV3QDK.js.gz +0 -0
  269. package/build/runtime-gameControls-3XOIAHXD.js.br +0 -0
  270. package/build/runtime-gameControls-3XOIAHXD.js.gz +0 -0
  271. package/build/runtime-hair-TQL4XBNY.js.br +0 -1
  272. package/build/runtime-hair-TQL4XBNY.js.gz +0 -0
  273. package/build/runtime-hueSaturation-JFSLUMFA.js.br +0 -0
  274. package/build/runtime-hueSaturation-JFSLUMFA.js.gz +0 -0
  275. package/build/runtime-mergeStaticGeometries-N7N222AD.js.br +0 -0
  276. package/build/runtime-mergeStaticGeometries-N7N222AD.js.gz +0 -0
  277. package/build/runtime-miscActions-JQO2WQCN.js.br +0 -0
  278. package/build/runtime-miscActions-JQO2WQCN.js.gz +0 -0
  279. package/build/runtime-mouseHover-X3APMLF7.js.br +0 -0
  280. package/build/runtime-mouseHover-X3APMLF7.js.gz +0 -0
  281. package/build/runtime-noise-T6QUZXNL.js.br +0 -0
  282. package/build/runtime-noise-T6QUZXNL.js.gz +0 -0
  283. package/build/runtime-particles-MRMHJLVS.js.br +0 -0
  284. package/build/runtime-particles-MRMHJLVS.js.gz +0 -0
  285. package/build/runtime-paths-VUYUX4CL.js.br +0 -0
  286. package/build/runtime-paths-VUYUX4CL.js.gz +0 -0
  287. package/build/runtime-pixelation-XL32HHQ3.js.br +0 -0
  288. package/build/runtime-pixelation-XL32HHQ3.js.gz +0 -0
  289. package/build/runtime-resize-HTMZDDUB.js.br +0 -0
  290. package/build/runtime-resize-HTMZDDUB.js.gz +0 -0
  291. package/build/runtime-sceneTransition-X4AHNGUD.js.br +0 -0
  292. package/build/runtime-sceneTransition-X4AHNGUD.js.gz +0 -0
  293. package/build/runtime-scroll-FRB22LCS.js.br +0 -0
  294. package/build/runtime-scroll-FRB22LCS.js.gz +0 -0
  295. package/build/runtime-shapeBlends-S7C3QIM2.js +0 -1
  296. package/build/runtime-shapeBlends-S7C3QIM2.js.br +0 -0
  297. package/build/runtime-shapeBlends-S7C3QIM2.js.gz +0 -0
  298. package/build/runtime-text-HWI2HJRR.js.br +0 -0
  299. package/build/runtime-text-HWI2HJRR.js.gz +0 -0
  300. package/build/runtime-textInputs-77HD6CUE.js.br +0 -0
  301. package/build/runtime-textInputs-77HD6CUE.js.gz +0 -0
  302. package/build/runtime-timeline-CJTR4QKE.js.br +0 -0
  303. package/build/runtime-timeline-CJTR4QKE.js.gz +0 -0
  304. package/build/runtime-tracking-5XAAQOHM.js.br +0 -0
  305. package/build/runtime-tracking-5XAAQOHM.js.gz +0 -0
  306. package/build/runtime-transitions-MUC3XJNU.js.br +0 -0
  307. package/build/runtime-transitions-MUC3XJNU.js.gz +0 -0
  308. package/build/runtime-ui2d-A3EXZNGO.js.br +0 -0
  309. package/build/runtime-ui2d-A3EXZNGO.js.gz +0 -0
  310. package/build/runtime-vectorShapes-4QQBRQDQ.js.br +0 -0
  311. package/build/runtime-vectorShapes-4QQBRQDQ.js.gz +0 -0
  312. package/build/runtime-vignette-OLCPV74G.js.br +0 -0
  313. package/build/runtime-vignette-OLCPV74G.js.gz +0 -0
  314. package/build/runtime-webgpu-TO23442C.js.br +0 -0
  315. package/build/runtime-webgpu-TO23442C.js.gz +0 -0
@@ -1 +1 @@
1
- import{a as e,b as t}from"./runtime-chunk-APKU3YYA.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-FX42TWCV.js";import{na as a}from"./runtime-chunk-ARNZDNZ5.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-CAU75OZB.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{Aa as y,K as v}from"./runtime-chunk-ADHKZQMB.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 A,we as O,yd as S,ye as _,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new T,W=new _,V=class extends S{constructor(e){let t=new x,r=new A({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;W.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,W,-1,-1,r),U("n2",t,e,W,1,-1,r),U("n3",t,e,W,-1,1,r),U("n4",t,e,W,1,1,r);let i=r;U("f1",t,e,W,-1,-1,i),U("f2",t,e,W,1,-1,i),U("f3",t,e,W,-1,1,i),U("f4",t,e,W,1,1,i);let s=i;U("u1",t,e,W,.35,1.1,s),U("u2",t,e,W,-.35,1.1,s),U("u3",t,e,W,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 z=class extends(r(V)){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,L=new T,H=new b,k=new T,R=new T,q=new T,E=class extends(o(_,z)){constructor(e="",t={...y.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=v.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=E.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=E.projectionTransitionsEnabled;E.projectionTransitionsEnabled=!1;try{return e()}finally{E.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(L),this.getWorldPosition(I),L.multiplyScalar(this.targetOffset),e.copy(I).add(L),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(I),I.distanceTo(e)}updateUp(){this.getWorldQuaternion(H),k.set(0,0,1).applyQuaternion(H),R.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&R.negate(),R.applyQuaternion(H),q.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=q.angleTo(R),this.angleOffsetFromUp*=q.cross(R).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 E.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=E.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:E.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=E.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=v.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=v.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}}},Z=E;Z.projectionTransitionsEnabled=!1,Z.projectionTransitionDuration=350,Z.projectionTransitionMinAgeMs=1e3;var G=new j,N=new j,Q=new j,K=new j,Y=new j;function X(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function $(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var J=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);J.length<s&&(J=new Float32Array(s));let o=0,a=e=>{e.toArray(J,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,J.subarray(0,16*o))}finally{d(r)}}var te=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 te&&!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){G.copy(t.matrix).multiply(t.pivotMatrix);try{let e=$(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,G)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,G),t.booleanMatrixInvOld.copy(G).invert(),t.booleanWasTransformed=!1}else t instanceof te&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,G):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,G),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,N.multiplyMatrices(G,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(G).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()}},re=new WeakSet;function ie(e){return e.isPointLight?1:(e.isSpotLight,3)}function se(e){return e.isDirectionalLight?0:e.isSpotLight?1:2}var oe,ae=[];function ne(e){ae.length=0,e.traverseVisible(e=>{(function(e){let t=e;return!0===t.isPointLight||!0===t.isSpotLight||!0===t.isDirectionalLight})(e)&&(!0===e.castShadow||re.has(e))&&ae.push(e)});let t=!1;if(0===ae.length)return t;ae.sort((e,t)=>se(e)-se(t)||e.id-t.id);let r=12;for(let e of ae){let i=ie(e);i<=r?(r-=i,re.delete(e)&&(e.castShadow=!0,t=!0)):!0===e.castShadow&&(e.castShadow=!1,re.add(e))}return ae.length=0,t}(oe||(oe={})).is=function(e){return n.is(e)&&e instanceof O};var he=(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&&(function(e){re.delete(e)}(this),this.castShadow=e.shadows)}},pe=e=>e instanceof u,ce=e=>null!==e&&e instanceof te,me=e=>s.is(e);export{Z as a,X as b,te as c,ne as d,oe as e,he as f,pe as g,ce as h,me as i};
1
+ import{a as e,b as t}from"./runtime-chunk-7QOKZJJZ.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-WHRH5R4I.js";import{na as a}from"./runtime-chunk-GZJLIKXN.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-3YK7LL3O.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{Aa as y,K as v}from"./runtime-chunk-ADHKZQMB.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 S,ye as _,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new T,W=new _,V=class extends S{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;W.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,W,-1,-1,r),U("n2",t,e,W,1,-1,r),U("n3",t,e,W,-1,1,r),U("n4",t,e,W,1,1,r);let i=r;U("f1",t,e,W,-1,-1,i),U("f2",t,e,W,1,-1,i),U("f3",t,e,W,-1,1,i),U("f4",t,e,W,1,1,i);let s=i;U("u1",t,e,W,.35,1.1,s),U("u2",t,e,W,-.35,1.1,s),U("u3",t,e,W,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(V)){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 L(e){return 1-Math.pow(1-e,3)}var z=new T,B=new T,H=new b,R=new T,k=new T,q=new T,E=class extends(o(_,I)){constructor(e="",t={...y.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=v.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=E.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=E.projectionTransitionsEnabled;E.projectionTransitionsEnabled=!1;try{return e()}finally{E.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(z),this.targetOffset=z.distanceTo(e)}getTarget(e=new T){return this.getWorldDirection(B),this.getWorldPosition(z),B.multiplyScalar(this.targetOffset),e.copy(z).add(B),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(z),z.distanceTo(e)}updateUp(){this.getWorldQuaternion(H),R.set(0,0,1).applyQuaternion(H),k.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&k.negate(),k.applyQuaternion(H),q.copy(w.DEFAULT_UP).projectOnPlane(R),this.angleOffsetFromUp=q.angleTo(k),this.angleOffsetFromUp*=q.cross(k).dot(R)>=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:L(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return E.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=E.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:E.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=E.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=L(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=v.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=v.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=E;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var Z=new j,K=new j,Q=new j,N=new j,J=new j;function X(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function Y(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||(N.copy(e.matrix).multiply(e.pivotMatrix),J.multiplyMatrices(Q,N),(!n||!J.equals(i))&&a(J));try{return 0===o?0:l(r,$.subarray(0,16*o))}finally{d(r)}}var te=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 te&&!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){Z.copy(t.matrix).multiply(t.pivotMatrix);try{let e=Y(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,Z)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,Z),t.booleanMatrixInvOld.copy(Z).invert(),t.booleanWasTransformed=!1}else t instanceof te&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,Z):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,Z),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,K.multiplyMatrices(Z,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(Z).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()}},re=new WeakSet;function ie(e){return e.isPointLight?1:(e.isSpotLight,3)}function se(e){return e.isDirectionalLight?0:e.isSpotLight?1:2}var oe,ae=[];function ne(e){ae.length=0,e.traverseVisible(e=>{(function(e){let t=e;return!0===t.isPointLight||!0===t.isSpotLight||!0===t.isDirectionalLight})(e)&&(!0===e.castShadow||re.has(e))&&ae.push(e)});let t=!1;if(0===ae.length)return t;ae.sort((e,t)=>se(e)-se(t)||e.id-t.id);let r=12;for(let e of ae){let i=ie(e);i<=r?(r-=i,re.delete(e)&&(e.castShadow=!0,t=!0)):!0===e.castShadow&&(e.castShadow=!1,re.add(e))}return ae.length=0,t}(oe||(oe={})).is=function(e){return n.is(e)&&e instanceof A};var he=(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&&(function(e){re.delete(e)}(this),this.castShadow=e.shadows)}},pe=e=>e instanceof u,ce=e=>null!==e&&e instanceof te,me=e=>s.is(e);export{G as a,X as b,te as c,ne as d,oe as e,he as f,pe as g,ce as h,me as i};
@@ -1 +1 @@
1
- import{f as s}from"./runtime-chunk-KEVKWE7V.js";import{a as t,b as i}from"./runtime-chunk-FX42TWCV.js";import{Be as a,Hc as o,Vc as e,Ve as h,Ye as r,Zc as d}from"./runtime-chunk-KPOUV3HD.js";var n=class extends(t(h)){constructor(s,t=15,i=6710886){super(s,t,i),this.object=s,this.name=`PointLightHelper: ${s.uuid}`}raycast(s,t){i(this.object,n.geometryHelper,s,t)}},p=class extends(s(a,n)){constructor(s,t,i){super(),this.super_Entity(s,t),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=90,a.aspect=1,a.near=100,a.far=2500;let h=new o(-a.far+this.position.x,-a.far+this.position.y,-a.far+this.position.z),n=new o(a.far+this.position.x,a.far+this.position.y,a.far+this.position.z),p=new d(h,n),c=new r(p,new e(16755200));c.visible=!1,this.gizmos.shadowmap=c,this.update()}update(){if(this.shadow&&(this.shadow.camera.updateProjectionMatrix(),this.gizmos))for(let s in this.gizmos){let t=this.gizmos[s];if(t instanceof r){let s=this.shadow.camera,i=new o(-s.far+this.position.x,-s.far+this.position.y,-s.far+this.position.z),a=new o(s.far+this.position.x,s.far+this.position.y,s.far+this.position.z);t.box.set(i,a),t.updateMatrixWorld(!0)}}}updateMatrixWorld(s){super.updateMatrixWorld(s),this.objectHelper&&this.objectHelper.update()}updateState(s,t){this.updateState_Light(s,t),void 0!==s.distance&&(this.distance=s.distance),void 0!==s.decay&&(this.decay=s.decay),void 0!==s.shadowRadius&&(this.shadow.radius=s.shadowRadius),void 0!==s.shadowResolution&&(this.shadow.mapSize.set(s.shadowResolution,s.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a};
1
+ import{f as s}from"./runtime-chunk-YWD2LRPA.js";import{a as t,b as i}from"./runtime-chunk-WHRH5R4I.js";import{Be as a,Hc as o,Vc as e,Ve as h,Ye as r,Zc as d}from"./runtime-chunk-KPOUV3HD.js";var n=class extends(t(h)){constructor(s,t=15,i=6710886){super(s,t,i),this.object=s,this.name=`PointLightHelper: ${s.uuid}`}raycast(s,t){i(this.object,n.geometryHelper,s,t)}},p=class extends(s(a,n)){constructor(s,t,i){super(),this.super_Entity(s,t),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=90,a.aspect=1,a.near=100,a.far=2500;let h=new o(-a.far+this.position.x,-a.far+this.position.y,-a.far+this.position.z),n=new o(a.far+this.position.x,a.far+this.position.y,a.far+this.position.z),p=new d(h,n),c=new r(p,new e(16755200));c.visible=!1,this.gizmos.shadowmap=c,this.update()}update(){if(this.shadow&&(this.shadow.camera.updateProjectionMatrix(),this.gizmos))for(let s in this.gizmos){let t=this.gizmos[s];if(t instanceof r){let s=this.shadow.camera,i=new o(-s.far+this.position.x,-s.far+this.position.y,-s.far+this.position.z),a=new o(s.far+this.position.x,s.far+this.position.y,s.far+this.position.z);t.box.set(i,a),t.updateMatrixWorld(!0)}}}updateMatrixWorld(s){super.updateMatrixWorld(s),this.objectHelper&&this.objectHelper.update()}updateState(s,t){this.updateState_Light(s,t),void 0!==s.distance&&(this.distance=s.distance),void 0!==s.decay&&(this.decay=s.decay),void 0!==s.shadowRadius&&(this.shadow.radius=s.shadowRadius),void 0!==s.shadowResolution&&(this.shadow.mapSize.set(s.shadowResolution,s.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a};