@splinetool/runtime 2.0.54 → 2.0.55

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 (266) hide show
  1. package/build/{runtime-chunk-QG5XINCE.js → runtime-chunk-32TB3WEI.js} +1 -1
  2. package/build/runtime-chunk-32TB3WEI.js.br +0 -0
  3. package/build/runtime-chunk-32TB3WEI.js.gz +0 -0
  4. package/build/{runtime-chunk-5QDCFNS4.js → runtime-chunk-3S3C3OR3.js} +1 -1
  5. package/build/runtime-chunk-3S3C3OR3.js.br +0 -0
  6. package/build/runtime-chunk-3S3C3OR3.js.gz +0 -0
  7. package/build/{runtime-chunk-M7VGJ5HW.js → runtime-chunk-4LCOTWXH.js} +1 -1
  8. package/build/runtime-chunk-4LCOTWXH.js.br +0 -0
  9. package/build/runtime-chunk-4LCOTWXH.js.gz +0 -0
  10. package/build/{runtime-chunk-4GLZNPR6.js → runtime-chunk-5BIVRW5J.js} +1 -1
  11. package/build/runtime-chunk-5BIVRW5J.js.br +0 -0
  12. package/build/runtime-chunk-5BIVRW5J.js.gz +0 -0
  13. package/build/{runtime-chunk-YR2R64PI.js → runtime-chunk-6IUNMMMZ.js} +1 -1
  14. package/build/runtime-chunk-6IUNMMMZ.js.br +0 -0
  15. package/build/runtime-chunk-6IUNMMMZ.js.gz +0 -0
  16. package/build/{runtime-chunk-D4RTVX56.js → runtime-chunk-7WCRQRVJ.js} +1 -1
  17. package/build/runtime-chunk-7WCRQRVJ.js.br +0 -0
  18. package/build/runtime-chunk-7WCRQRVJ.js.gz +0 -0
  19. package/build/{runtime-chunk-333ZOV2S.js → runtime-chunk-BDYGMQDY.js} +1 -1
  20. package/build/runtime-chunk-BDYGMQDY.js.br +1 -0
  21. package/build/runtime-chunk-BDYGMQDY.js.gz +0 -0
  22. package/build/{runtime-chunk-AE3KJLVD.js → runtime-chunk-EGVK6X4Y.js} +1 -1
  23. package/build/runtime-chunk-EGVK6X4Y.js.br +0 -0
  24. package/build/runtime-chunk-EGVK6X4Y.js.gz +0 -0
  25. package/build/{runtime-chunk-YMKCEDKL.js → runtime-chunk-EKQV4UAL.js} +1 -1
  26. package/build/runtime-chunk-EKQV4UAL.js.br +0 -0
  27. package/build/runtime-chunk-EKQV4UAL.js.gz +0 -0
  28. package/build/{runtime-chunk-5Y2MXXX6.js → runtime-chunk-GKWZMHHQ.js} +1 -1
  29. package/build/runtime-chunk-GKWZMHHQ.js.br +0 -0
  30. package/build/runtime-chunk-GKWZMHHQ.js.gz +0 -0
  31. package/build/{runtime-chunk-UUHLQQOF.js → runtime-chunk-IQ2SSVQ2.js} +1 -1
  32. package/build/runtime-chunk-IQ2SSVQ2.js.br +0 -0
  33. package/build/runtime-chunk-IQ2SSVQ2.js.gz +0 -0
  34. package/build/{runtime-chunk-YMO675HZ.js → runtime-chunk-JMQM3OK2.js} +1 -1
  35. package/build/runtime-chunk-JMQM3OK2.js.br +0 -0
  36. package/build/runtime-chunk-JMQM3OK2.js.gz +0 -0
  37. package/build/{runtime-chunk-ODVIMOLE.js → runtime-chunk-JQ6QWUYF.js} +1 -1
  38. package/build/runtime-chunk-JQ6QWUYF.js.br +0 -0
  39. package/build/runtime-chunk-JQ6QWUYF.js.gz +0 -0
  40. package/build/{runtime-chunk-7AN6SYSU.js → runtime-chunk-K5K3WBU4.js} +1 -1
  41. package/build/runtime-chunk-K5K3WBU4.js.br +0 -0
  42. package/build/runtime-chunk-K5K3WBU4.js.gz +0 -0
  43. package/build/{runtime-chunk-VNSXYJJ4.js → runtime-chunk-LSTSCWNH.js} +1 -1
  44. package/build/runtime-chunk-LSTSCWNH.js.br +0 -0
  45. package/build/runtime-chunk-LSTSCWNH.js.gz +0 -0
  46. package/build/{runtime-chunk-CNYYWTRG.js → runtime-chunk-N3HGRYKV.js} +1 -1
  47. package/build/runtime-chunk-N3HGRYKV.js.br +0 -0
  48. package/build/runtime-chunk-N3HGRYKV.js.gz +0 -0
  49. package/build/{runtime-chunk-G4XAQUT2.js → runtime-chunk-NWHMFWZP.js} +1 -1
  50. package/build/runtime-chunk-NWHMFWZP.js.br +0 -0
  51. package/build/runtime-chunk-NWHMFWZP.js.gz +0 -0
  52. package/build/{runtime-chunk-LDVHB5FO.js → runtime-chunk-QZSMEKZK.js} +1 -1
  53. package/build/runtime-chunk-QZSMEKZK.js.br +0 -0
  54. package/build/runtime-chunk-QZSMEKZK.js.gz +0 -0
  55. package/build/{runtime-chunk-CDUGB775.js → runtime-chunk-SEHIWJXU.js} +1 -1
  56. package/build/{runtime-chunk-CDUGB775.js.br → runtime-chunk-SEHIWJXU.js.br} +0 -0
  57. package/build/runtime-chunk-SEHIWJXU.js.gz +0 -0
  58. package/build/runtime-chunk-TNKUPXKL.js +1 -0
  59. package/build/runtime-chunk-TNKUPXKL.js.br +0 -0
  60. package/build/runtime-chunk-TNKUPXKL.js.gz +0 -0
  61. package/build/{runtime-chunk-V6DRGTD6.js → runtime-chunk-UOWLNWXK.js} +1 -1
  62. package/build/runtime-chunk-UOWLNWXK.js.br +0 -0
  63. package/build/runtime-chunk-UOWLNWXK.js.gz +0 -0
  64. package/build/{runtime-chunk-KG3JC3MU.js → runtime-chunk-WMC34BBW.js} +1 -1
  65. package/build/runtime-chunk-WMC34BBW.js.br +0 -0
  66. package/build/runtime-chunk-WMC34BBW.js.gz +0 -0
  67. package/build/{runtime-chunk-KD4RAVC6.js → runtime-chunk-XOQHXVVZ.js} +1 -1
  68. package/build/runtime-chunk-XOQHXVVZ.js.br +0 -0
  69. package/build/runtime-chunk-XOQHXVVZ.js.gz +0 -0
  70. package/build/{runtime-chunk-B2LLDBVR.js → runtime-chunk-YDLPCWOV.js} +1 -1
  71. package/build/runtime-chunk-YDLPCWOV.js.br +0 -0
  72. package/build/runtime-chunk-YDLPCWOV.js.gz +0 -0
  73. package/build/{runtime-chunk-R2PNQV2A.js → runtime-chunk-ZVHVXPOQ.js} +1 -1
  74. package/build/runtime-chunk-ZVHVXPOQ.js.br +0 -0
  75. package/build/runtime-chunk-ZVHVXPOQ.js.gz +0 -0
  76. package/build/{runtime-classicRuntime-NLCUPLCP.js → runtime-classicRuntime-7CF5S54Q.js} +1 -1
  77. package/build/runtime-classicRuntime-7CF5S54Q.js.br +0 -0
  78. package/build/runtime-classicRuntime-7CF5S54Q.js.gz +0 -0
  79. package/build/{runtime-cloners-GW6RJNUX.js → runtime-cloners-IA5NPLKP.js} +1 -1
  80. package/build/runtime-cloners-IA5NPLKP.js.br +1 -0
  81. package/build/runtime-cloners-IA5NPLKP.js.gz +0 -0
  82. package/build/{runtime-components-WP55QEHC.js → runtime-components-SP4557S4.js} +1 -1
  83. package/build/runtime-components-SP4557S4.js.br +0 -0
  84. package/build/runtime-components-SP4557S4.js.gz +0 -0
  85. package/build/{runtime-createDestroy-6CB23YPW.js → runtime-createDestroy-RXVMOEMY.js} +1 -1
  86. package/build/runtime-createDestroy-RXVMOEMY.js.br +0 -0
  87. package/build/runtime-createDestroy-RXVMOEMY.js.gz +0 -0
  88. package/build/{runtime-dragDrop-KAWO74LN.js → runtime-dragDrop-UVMNHHBK.js} +1 -1
  89. package/build/runtime-dragDrop-UVMNHHBK.js.br +0 -0
  90. package/build/runtime-dragDrop-UVMNHHBK.js.gz +0 -0
  91. package/build/{runtime-gameControls-64ESDOTZ.js → runtime-gameControls-4UDJ56H7.js} +1 -1
  92. package/build/runtime-gameControls-4UDJ56H7.js.br +0 -0
  93. package/build/runtime-gameControls-4UDJ56H7.js.gz +0 -0
  94. package/build/{runtime-hair-NNKBNXJP.js → runtime-hair-PXEZ3VET.js} +1 -1
  95. package/build/runtime-hair-PXEZ3VET.js.br +2 -0
  96. package/build/runtime-hair-PXEZ3VET.js.gz +0 -0
  97. package/build/{runtime-mergeStaticGeometries-3NTHH4WO.js → runtime-mergeStaticGeometries-WWRCDCSG.js} +1 -1
  98. package/build/runtime-mergeStaticGeometries-WWRCDCSG.js.br +5 -0
  99. package/build/runtime-mergeStaticGeometries-WWRCDCSG.js.gz +0 -0
  100. package/build/{runtime-miscActions-YGY23LSE.js → runtime-miscActions-2GQLURB6.js} +1 -1
  101. package/build/runtime-miscActions-2GQLURB6.js.br +0 -0
  102. package/build/runtime-miscActions-2GQLURB6.js.gz +0 -0
  103. package/build/{runtime-mouseHover-VJCC3EWI.js → runtime-mouseHover-IQB5BXWV.js} +1 -1
  104. package/build/runtime-mouseHover-IQB5BXWV.js.br +0 -0
  105. package/build/runtime-mouseHover-IQB5BXWV.js.gz +0 -0
  106. package/build/{runtime-particles-KXSCQ3XN.js → runtime-particles-PBWDRHMN.js} +1 -1
  107. package/build/runtime-particles-PBWDRHMN.js.br +0 -0
  108. package/build/runtime-particles-PBWDRHMN.js.gz +0 -0
  109. package/build/{runtime-paths-MDXY75OZ.js → runtime-paths-4Y7RNNOC.js} +1 -1
  110. package/build/runtime-paths-4Y7RNNOC.js.br +0 -0
  111. package/build/runtime-paths-4Y7RNNOC.js.gz +0 -0
  112. package/build/{runtime-resize-UQFQWVFH.js → runtime-resize-3F3ZSTR5.js} +1 -1
  113. package/build/runtime-resize-3F3ZSTR5.js.br +0 -0
  114. package/build/runtime-resize-3F3ZSTR5.js.gz +0 -0
  115. package/build/{runtime-sceneTransition-L63GLGEP.js → runtime-sceneTransition-ZWT2B6HK.js} +1 -1
  116. package/build/runtime-sceneTransition-ZWT2B6HK.js.br +0 -0
  117. package/build/runtime-sceneTransition-ZWT2B6HK.js.gz +0 -0
  118. package/build/{runtime-scroll-GAYM7P56.js → runtime-scroll-XPPG3K3B.js} +1 -1
  119. package/build/runtime-scroll-XPPG3K3B.js.br +0 -0
  120. package/build/runtime-scroll-XPPG3K3B.js.gz +0 -0
  121. package/build/runtime-shapeBlends-XV42E6V3.js +1 -0
  122. package/build/runtime-shapeBlends-XV42E6V3.js.br +0 -0
  123. package/build/runtime-shapeBlends-XV42E6V3.js.gz +0 -0
  124. package/build/{runtime-text-3FDUPNEN.js → runtime-text-LFJHKA7L.js} +1 -1
  125. package/build/runtime-text-LFJHKA7L.js.br +0 -0
  126. package/build/runtime-text-LFJHKA7L.js.gz +0 -0
  127. package/build/{runtime-textInputs-ZGBP7XND.js → runtime-textInputs-JNBPRFUX.js} +1 -1
  128. package/build/runtime-textInputs-JNBPRFUX.js.br +0 -0
  129. package/build/runtime-textInputs-JNBPRFUX.js.gz +0 -0
  130. package/build/{runtime-timeline-IA6DYERZ.js → runtime-timeline-5YUCVT7L.js} +1 -1
  131. package/build/runtime-timeline-5YUCVT7L.js.br +0 -0
  132. package/build/runtime-timeline-5YUCVT7L.js.gz +0 -0
  133. package/build/{runtime-tracking-SSZZY5QU.js → runtime-tracking-GE3OUJ2G.js} +1 -1
  134. package/build/runtime-tracking-GE3OUJ2G.js.br +0 -0
  135. package/build/runtime-tracking-GE3OUJ2G.js.gz +0 -0
  136. package/build/{runtime-transitions-6BSS3AI5.js → runtime-transitions-DRCW6GJC.js} +1 -1
  137. package/build/runtime-transitions-DRCW6GJC.js.br +0 -0
  138. package/build/runtime-transitions-DRCW6GJC.js.gz +0 -0
  139. package/build/{runtime-ui2d-DCWMMEO5.js → runtime-ui2d-FJ4CNEFM.js} +1 -1
  140. package/build/runtime-ui2d-FJ4CNEFM.js.br +0 -0
  141. package/build/runtime-ui2d-FJ4CNEFM.js.gz +0 -0
  142. package/build/{runtime-vectorShapes-REXTFJ55.js → runtime-vectorShapes-F34JMFR5.js} +1 -1
  143. package/build/runtime-vectorShapes-F34JMFR5.js.br +0 -0
  144. package/build/runtime-vectorShapes-F34JMFR5.js.gz +0 -0
  145. package/build/{runtime-webgpu-IGBYLILS.js → runtime-webgpu-DDM7K6ES.js} +1 -1
  146. package/build/runtime-webgpu-DDM7K6ES.js.br +0 -0
  147. package/build/runtime-webgpu-DDM7K6ES.js.gz +0 -0
  148. package/build/runtime.cjs +5 -5
  149. package/build/runtime.js +1 -1
  150. package/build/runtime.js.br +0 -0
  151. package/build/runtime.js.gz +0 -0
  152. package/build/runtime.standalone.js +1 -1
  153. package/build/runtime.standalone.js.br +0 -0
  154. package/build/runtime.standalone.js.gz +0 -0
  155. package/build/runtime.standalone.webgl.js +1 -1
  156. package/build/runtime.standalone.webgl.js.br +0 -0
  157. package/build/runtime.standalone.webgl.js.gz +0 -0
  158. package/build/runtime.standalone.webgpu.js +1 -1
  159. package/build/runtime.standalone.webgpu.js.br +0 -0
  160. package/build/runtime.standalone.webgpu.js.gz +0 -0
  161. package/build/runtime.standalone.webgpu.micro.js +1 -1
  162. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  163. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  164. package/build/runtime.standalone.webgpu.min.js +1 -1
  165. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  166. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  167. package/package.json +1 -1
  168. package/build/runtime-chunk-333ZOV2S.js.br +0 -0
  169. package/build/runtime-chunk-333ZOV2S.js.gz +0 -0
  170. package/build/runtime-chunk-4GLZNPR6.js.br +0 -0
  171. package/build/runtime-chunk-4GLZNPR6.js.gz +0 -0
  172. package/build/runtime-chunk-5QDCFNS4.js.br +0 -0
  173. package/build/runtime-chunk-5QDCFNS4.js.gz +0 -0
  174. package/build/runtime-chunk-5Y2MXXX6.js.br +0 -0
  175. package/build/runtime-chunk-5Y2MXXX6.js.gz +0 -0
  176. package/build/runtime-chunk-77S3KKYT.js +0 -1
  177. package/build/runtime-chunk-77S3KKYT.js.br +0 -0
  178. package/build/runtime-chunk-77S3KKYT.js.gz +0 -0
  179. package/build/runtime-chunk-7AN6SYSU.js.br +0 -0
  180. package/build/runtime-chunk-7AN6SYSU.js.gz +0 -0
  181. package/build/runtime-chunk-AE3KJLVD.js.br +0 -0
  182. package/build/runtime-chunk-AE3KJLVD.js.gz +0 -0
  183. package/build/runtime-chunk-B2LLDBVR.js.br +0 -0
  184. package/build/runtime-chunk-B2LLDBVR.js.gz +0 -0
  185. package/build/runtime-chunk-CDUGB775.js.gz +0 -0
  186. package/build/runtime-chunk-CNYYWTRG.js.br +0 -0
  187. package/build/runtime-chunk-CNYYWTRG.js.gz +0 -0
  188. package/build/runtime-chunk-D4RTVX56.js.br +0 -0
  189. package/build/runtime-chunk-D4RTVX56.js.gz +0 -0
  190. package/build/runtime-chunk-G4XAQUT2.js.br +0 -0
  191. package/build/runtime-chunk-G4XAQUT2.js.gz +0 -0
  192. package/build/runtime-chunk-KD4RAVC6.js.br +0 -0
  193. package/build/runtime-chunk-KD4RAVC6.js.gz +0 -0
  194. package/build/runtime-chunk-KG3JC3MU.js.br +0 -0
  195. package/build/runtime-chunk-KG3JC3MU.js.gz +0 -0
  196. package/build/runtime-chunk-LDVHB5FO.js.br +0 -0
  197. package/build/runtime-chunk-LDVHB5FO.js.gz +0 -0
  198. package/build/runtime-chunk-M7VGJ5HW.js.br +0 -0
  199. package/build/runtime-chunk-M7VGJ5HW.js.gz +0 -0
  200. package/build/runtime-chunk-ODVIMOLE.js.br +0 -0
  201. package/build/runtime-chunk-ODVIMOLE.js.gz +0 -0
  202. package/build/runtime-chunk-QG5XINCE.js.br +0 -0
  203. package/build/runtime-chunk-QG5XINCE.js.gz +0 -0
  204. package/build/runtime-chunk-R2PNQV2A.js.br +0 -0
  205. package/build/runtime-chunk-R2PNQV2A.js.gz +0 -0
  206. package/build/runtime-chunk-UUHLQQOF.js.br +0 -0
  207. package/build/runtime-chunk-UUHLQQOF.js.gz +0 -0
  208. package/build/runtime-chunk-V6DRGTD6.js.br +0 -0
  209. package/build/runtime-chunk-V6DRGTD6.js.gz +0 -0
  210. package/build/runtime-chunk-VNSXYJJ4.js.br +0 -0
  211. package/build/runtime-chunk-VNSXYJJ4.js.gz +0 -0
  212. package/build/runtime-chunk-YMKCEDKL.js.br +0 -0
  213. package/build/runtime-chunk-YMKCEDKL.js.gz +0 -0
  214. package/build/runtime-chunk-YMO675HZ.js.br +0 -0
  215. package/build/runtime-chunk-YMO675HZ.js.gz +0 -0
  216. package/build/runtime-chunk-YR2R64PI.js.br +0 -0
  217. package/build/runtime-chunk-YR2R64PI.js.gz +0 -0
  218. package/build/runtime-classicRuntime-NLCUPLCP.js.br +0 -0
  219. package/build/runtime-classicRuntime-NLCUPLCP.js.gz +0 -0
  220. package/build/runtime-cloners-GW6RJNUX.js.br +0 -0
  221. package/build/runtime-cloners-GW6RJNUX.js.gz +0 -0
  222. package/build/runtime-components-WP55QEHC.js.br +0 -0
  223. package/build/runtime-components-WP55QEHC.js.gz +0 -0
  224. package/build/runtime-createDestroy-6CB23YPW.js.br +0 -0
  225. package/build/runtime-createDestroy-6CB23YPW.js.gz +0 -0
  226. package/build/runtime-dragDrop-KAWO74LN.js.br +0 -0
  227. package/build/runtime-dragDrop-KAWO74LN.js.gz +0 -0
  228. package/build/runtime-gameControls-64ESDOTZ.js.br +0 -0
  229. package/build/runtime-gameControls-64ESDOTZ.js.gz +0 -0
  230. package/build/runtime-hair-NNKBNXJP.js.br +0 -1
  231. package/build/runtime-hair-NNKBNXJP.js.gz +0 -0
  232. package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.br +0 -0
  233. package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.gz +0 -0
  234. package/build/runtime-miscActions-YGY23LSE.js.br +0 -0
  235. package/build/runtime-miscActions-YGY23LSE.js.gz +0 -0
  236. package/build/runtime-mouseHover-VJCC3EWI.js.br +0 -0
  237. package/build/runtime-mouseHover-VJCC3EWI.js.gz +0 -0
  238. package/build/runtime-particles-KXSCQ3XN.js.br +0 -0
  239. package/build/runtime-particles-KXSCQ3XN.js.gz +0 -0
  240. package/build/runtime-paths-MDXY75OZ.js.br +0 -0
  241. package/build/runtime-paths-MDXY75OZ.js.gz +0 -0
  242. package/build/runtime-resize-UQFQWVFH.js.br +0 -0
  243. package/build/runtime-resize-UQFQWVFH.js.gz +0 -0
  244. package/build/runtime-sceneTransition-L63GLGEP.js.br +0 -0
  245. package/build/runtime-sceneTransition-L63GLGEP.js.gz +0 -0
  246. package/build/runtime-scroll-GAYM7P56.js.br +0 -0
  247. package/build/runtime-scroll-GAYM7P56.js.gz +0 -0
  248. package/build/runtime-shapeBlends-GNZI2DZM.js +0 -1
  249. package/build/runtime-shapeBlends-GNZI2DZM.js.br +0 -0
  250. package/build/runtime-shapeBlends-GNZI2DZM.js.gz +0 -0
  251. package/build/runtime-text-3FDUPNEN.js.br +0 -0
  252. package/build/runtime-text-3FDUPNEN.js.gz +0 -0
  253. package/build/runtime-textInputs-ZGBP7XND.js.br +0 -0
  254. package/build/runtime-textInputs-ZGBP7XND.js.gz +0 -0
  255. package/build/runtime-timeline-IA6DYERZ.js.br +0 -0
  256. package/build/runtime-timeline-IA6DYERZ.js.gz +0 -0
  257. package/build/runtime-tracking-SSZZY5QU.js.br +0 -0
  258. package/build/runtime-tracking-SSZZY5QU.js.gz +0 -0
  259. package/build/runtime-transitions-6BSS3AI5.js.br +0 -0
  260. package/build/runtime-transitions-6BSS3AI5.js.gz +0 -0
  261. package/build/runtime-ui2d-DCWMMEO5.js.br +0 -0
  262. package/build/runtime-ui2d-DCWMMEO5.js.gz +0 -0
  263. package/build/runtime-vectorShapes-REXTFJ55.js.br +0 -0
  264. package/build/runtime-vectorShapes-REXTFJ55.js.gz +0 -0
  265. package/build/runtime-webgpu-IGBYLILS.js.br +0 -0
  266. package/build/runtime-webgpu-IGBYLILS.js.gz +0 -0
@@ -1 +1 @@
1
- import{fa as t}from"./runtime-chunk-ODVIMOLE.js";import{Fc as e,Oc as r,jd as i}from"./runtime-chunk-BVVSZMXD.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{fa as t}from"./runtime-chunk-JQ6QWUYF.js";import{Fc as e,Oc as r,jd as i}from"./runtime-chunk-BVVSZMXD.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{a as e}from"./runtime-chunk-TU4KDRKR.js";import{X as o}from"./runtime-chunk-ODVIMOLE.js";import{Dc as n,Fc as t,Jc as r}from"./runtime-chunk-BVVSZMXD.js";function s(e){return!0===e?.depthPrepass}var i=!0;try{i="0"!==new URLSearchParams(window.location.search).get("dbgdepthprepass")}catch{}function a(e){return i&&e.transparent&&e.depthTest&&!e.wireframe&&!e.shapeBlend&&!function(e){let o=e?.layers;if(!o)return!1;for(let e of o)if("transmission"===e.data.type&&e.data.visible)return!0;return!1}(e.data)}var c={enabled:!1},l=new WeakMap;function u(e){if(!c.enabled)return e;let o=l.get(e);return o||(o={...e,bloom:{...e.bloom,kernelSize:0},depthOfField:{...e.depthOfField,enabled:!1}},l.set(e,o)),o}var f=new WeakSet;function p(e){if(!e.isPointLight&&!e.isSpotLight&&!e.isDirectionalLight)return!1;if(c.enabled){if(!0===e.castShadow)return e.castShadow=!1,f.add(e),!0}else if(f.has(e)&&(f.delete(e),!1===e.castShadow))return e.castShadow=!0,!0;return!1}function h(s,i){switch(s.type){case"cavity":return function(e,o){return{...d(e,o),ridge:e.ridge,valley:e.valley}}(s,i);case"dust":return function(n,t){return{...d(n,t),color:e(n.color,t),coverage:o(n.coverage,t)??.2,softness:o(n.softness,t)??.2,noiseStrength:o(n.noiseStrength,t)??.2,noiseScale:o(n.noiseScale,t)??1}}(s,i);case"fresnel":return function(o,n){let{bias:t,scale:r,intensity:s,factor:i,color:a}=o;return{...d(o,n),color:e(a,n),bias:t,scale:r,intensity:s,factor:i}}(s,i);case"gradient":return function(e,o){let{gradientType:t,smooth:s,colors:i,steps:a,angle:c,offset:l,morph:u}=e;return{...d(e,o),gradientType:t,smooth:s,colors:i.map(e=>new r(e[0],e[1],e[2],e[3])),num:i.length,steps:a,offset:new n(...l.map(e=>"number"==typeof e?e:0)),morph:new n(...u.map(e=>"number"==typeof e?e:0)),angle:c}}(s,i);case"depth":return function(e,o){let{gradientType:n,near:s,far:i,isVector:a,isWorldSpace:c,origin:l,direction:u,colors:f,steps:p,smooth:h}=e;return{...d(e,o),gradientType:n,near:s,far:i,isVector:a,isWorldSpace:c,origin:new t(...l),direction:u?new t(...u):new t(1,0,0),colors:f.map(e=>void 0!==e?new r(e[0],e[1],e[2],e[3]):new r(0,0,0,0)),steps:p.slice(0,f.length),smooth:h}}(s,i);case"normal":return function(e,o){let{cnormal:n}=e;return{...d(e,o),cnormal:new t(n[0],n[1],n[2])}}(s,i);case"noise":return function(o,r){return{...d(o,r),scale:o.scale,move:o.move,fA:new n(...o.fA.map(e=>"number"==typeof e?e:0)),fB:new n(...o.fB.map(e=>"number"==typeof e?e:0)),size:new t(...o.size),distortion:new n(...o.distortion.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,r),colorB:e(o.colorB,r),colorC:e(o.colorC,r),colorD:e(o.colorD,r),noiseType:o.noiseType,voronoiStyle:o.voronoiStyle,highCut:o.highCut,lowCut:o.lowCut,smoothness:o.smoothness,seed:o.seed,quality:o.quality}}(s,i);case"rainbow":return function(e,o){return{...d(e,o),filmThickness:e.filmThickness,movement:e.movement,wavelengths:new t(...e.wavelengths),noiseStrength:e.noiseStrength,noiseScale:e.noiseScale,offset:new t(...e.offset)}}(s,i);case"toon":return function(o,n){return{...d(o,n),positioning:o.positioning,colors:o.colors.map(e=>new r(e[0],e[1],e[2],e[3])),num:o.colors.length,steps:o.steps,source:new t(...o.source),isWorldSpace:o.isWorldSpace,noiseStrength:o.noiseStrength,noiseScale:o.noiseScale,shadowColor:e(o.shadowColor,n),offset:new t(...o.offset)}}(s,i);case"outline":return function(o,n){return{...d(o,n),outlineColor:e(o.outlineColor,n),contourColor:e(o.contourColor,n),outlineWidth:o.outlineWidth,contourWidth:o.contourWidth,outlineThreshold:o.outlineThreshold,contourThreshold:o.contourThreshold,outlineSmoothing:o.outlineSmoothing,contourFrequency:o.contourFrequency,contourDirection:new t(...o.contourDirection),positionalLines:o.positionalLines,compensation:o.compensation}}(s,i);case"transmission":return function(o,n){return{...d(o,n),thickness:o.thickness,ior:o.ior,roughness:o.roughness,attenuationColor:void 0!==o.attenuationColor?e(o.attenuationColor,n):{r:1,g:1,b:1,a:1},attenuationDistance:o.attenuationDistance??0}}(s,i);case"reflection":return function(e,n){return{...d(e,n),blur:o(e.blur,n)??0,thickness:o(e.thickness,n)??.001,steps:o(e.steps,n)??60,stepSize:o(e.stepSize,n)??.005,tracingMode:e.tracingMode,mirror:e.mirror??0}}(s,i);case"pattern":return function(o,t){return{...d(o,t),style:o.style,projection:o.projection,axis:o.axis,blending:o.blending,offset:new n(...o.offset.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,t),colorB:e(o.colorB,t),frequency:new n(...o.frequency.map(e=>"number"==typeof e?e:0)),size:o.size,variation:o.variation,smoothness:o.smoothness,zigzag:o.zigzag,rotation:o.rotation,vertical:new n(...o.vertical.map(e=>"number"==typeof e?e:0)),horizontal:new n(...o.horizontal.map(e=>"number"==typeof e?e:0)),sides:o.sides}}(s,i);case"vertexColor":return d(s,i);default:return function(o,n){return{...d(o,n),color:e(o.color,n)}}(s,i)}}function m(e){return{type:e.type}}function d(e,o){let{alpha:n,mode:t,isMask:r}=e,s="string"==typeof n?Number(o.getVariable(n)??100)/100:n;return{...m(e),alpha:s,mode:t,isMask:r}}export{s as a,a as b,c,u as d,p as e,h as f};
1
+ import{a as e}from"./runtime-chunk-TU4KDRKR.js";import{X as o}from"./runtime-chunk-JQ6QWUYF.js";import{Dc as n,Fc as t,Jc as r}from"./runtime-chunk-BVVSZMXD.js";function s(e){return!0===e?.depthPrepass}var i=!0;try{i="0"!==new URLSearchParams(window.location.search).get("dbgdepthprepass")}catch{}function a(e){return i&&e.transparent&&e.depthTest&&!e.wireframe&&!e.shapeBlend&&!function(e){let o=e?.layers;if(!o)return!1;for(let e of o)if("transmission"===e.data.type&&e.data.visible)return!0;return!1}(e.data)}var c={enabled:!1},l=new WeakMap;function u(e){if(!c.enabled)return e;let o=l.get(e);return o||(o={...e,bloom:{...e.bloom,kernelSize:0},depthOfField:{...e.depthOfField,enabled:!1}},l.set(e,o)),o}var f=new WeakSet;function p(e){if(!e.isPointLight&&!e.isSpotLight&&!e.isDirectionalLight)return!1;if(c.enabled){if(!0===e.castShadow)return e.castShadow=!1,f.add(e),!0}else if(f.has(e)&&(f.delete(e),!1===e.castShadow))return e.castShadow=!0,!0;return!1}function h(s,i){switch(s.type){case"cavity":return function(e,o){return{...d(e,o),ridge:e.ridge,valley:e.valley}}(s,i);case"dust":return function(n,t){return{...d(n,t),color:e(n.color,t),coverage:o(n.coverage,t)??.2,softness:o(n.softness,t)??.2,noiseStrength:o(n.noiseStrength,t)??.2,noiseScale:o(n.noiseScale,t)??1}}(s,i);case"fresnel":return function(o,n){let{bias:t,scale:r,intensity:s,factor:i,color:a}=o;return{...d(o,n),color:e(a,n),bias:t,scale:r,intensity:s,factor:i}}(s,i);case"gradient":return function(e,o){let{gradientType:t,smooth:s,colors:i,steps:a,angle:c,offset:l,morph:u}=e;return{...d(e,o),gradientType:t,smooth:s,colors:i.map(e=>new r(e[0],e[1],e[2],e[3])),num:i.length,steps:a,offset:new n(...l.map(e=>"number"==typeof e?e:0)),morph:new n(...u.map(e=>"number"==typeof e?e:0)),angle:c}}(s,i);case"depth":return function(e,o){let{gradientType:n,near:s,far:i,isVector:a,isWorldSpace:c,origin:l,direction:u,colors:f,steps:p,smooth:h}=e;return{...d(e,o),gradientType:n,near:s,far:i,isVector:a,isWorldSpace:c,origin:new t(...l),direction:u?new t(...u):new t(1,0,0),colors:f.map(e=>void 0!==e?new r(e[0],e[1],e[2],e[3]):new r(0,0,0,0)),steps:p.slice(0,f.length),smooth:h}}(s,i);case"normal":return function(e,o){let{cnormal:n}=e;return{...d(e,o),cnormal:new t(n[0],n[1],n[2])}}(s,i);case"noise":return function(o,r){return{...d(o,r),scale:o.scale,move:o.move,fA:new n(...o.fA.map(e=>"number"==typeof e?e:0)),fB:new n(...o.fB.map(e=>"number"==typeof e?e:0)),size:new t(...o.size),distortion:new n(...o.distortion.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,r),colorB:e(o.colorB,r),colorC:e(o.colorC,r),colorD:e(o.colorD,r),noiseType:o.noiseType,voronoiStyle:o.voronoiStyle,highCut:o.highCut,lowCut:o.lowCut,smoothness:o.smoothness,seed:o.seed,quality:o.quality}}(s,i);case"rainbow":return function(e,o){return{...d(e,o),filmThickness:e.filmThickness,movement:e.movement,wavelengths:new t(...e.wavelengths),noiseStrength:e.noiseStrength,noiseScale:e.noiseScale,offset:new t(...e.offset)}}(s,i);case"toon":return function(o,n){return{...d(o,n),positioning:o.positioning,colors:o.colors.map(e=>new r(e[0],e[1],e[2],e[3])),num:o.colors.length,steps:o.steps,source:new t(...o.source),isWorldSpace:o.isWorldSpace,noiseStrength:o.noiseStrength,noiseScale:o.noiseScale,shadowColor:e(o.shadowColor,n),offset:new t(...o.offset)}}(s,i);case"outline":return function(o,n){return{...d(o,n),outlineColor:e(o.outlineColor,n),contourColor:e(o.contourColor,n),outlineWidth:o.outlineWidth,contourWidth:o.contourWidth,outlineThreshold:o.outlineThreshold,contourThreshold:o.contourThreshold,outlineSmoothing:o.outlineSmoothing,contourFrequency:o.contourFrequency,contourDirection:new t(...o.contourDirection),positionalLines:o.positionalLines,compensation:o.compensation}}(s,i);case"transmission":return function(o,n){return{...d(o,n),thickness:o.thickness,ior:o.ior,roughness:o.roughness,attenuationColor:void 0!==o.attenuationColor?e(o.attenuationColor,n):{r:1,g:1,b:1,a:1},attenuationDistance:o.attenuationDistance??0}}(s,i);case"reflection":return function(e,n){return{...d(e,n),blur:o(e.blur,n)??0,thickness:o(e.thickness,n)??.001,steps:o(e.steps,n)??60,stepSize:o(e.stepSize,n)??.005,tracingMode:e.tracingMode,mirror:e.mirror??0}}(s,i);case"pattern":return function(o,t){return{...d(o,t),style:o.style,projection:o.projection,axis:o.axis,blending:o.blending,offset:new n(...o.offset.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,t),colorB:e(o.colorB,t),frequency:new n(...o.frequency.map(e=>"number"==typeof e?e:0)),size:o.size,variation:o.variation,smoothness:o.smoothness,zigzag:o.zigzag,rotation:o.rotation,vertical:new n(...o.vertical.map(e=>"number"==typeof e?e:0)),horizontal:new n(...o.horizontal.map(e=>"number"==typeof e?e:0)),sides:o.sides}}(s,i);case"vertexColor":return d(s,i);default:return function(o,n){return{...d(o,n),color:e(o.color,n)}}(s,i)}}function m(e){return{type:e.type}}function d(e,o){let{alpha:n,mode:t,isMask:r}=e,s="string"==typeof n?Number(o.getVariable(n)??100)/100:n;return{...m(e),alpha:s,mode:t,isMask:r}}export{s as a,a as b,c,u as d,p as e,h as f};
@@ -1 +1 @@
1
- import{a as t}from"./runtime-chunk-CDUGB775.js";import{d as e}from"./runtime-chunk-VNSXYJJ4.js";import{Sc as s}from"./runtime-chunk-BVVSZMXD.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-SEHIWJXU.js";import{d as e}from"./runtime-chunk-LSTSCWNH.js";import{Sc as s}from"./runtime-chunk-BVVSZMXD.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};