@roomle/web-sdk 2.80.0-alpha.1 → 2.80.0-alpha.3

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 (268) hide show
  1. package/lib/{TextGeometry-b57a793b.nomodule.js → TextGeometry-2cd7a69b.nomodule.js} +2 -2
  2. package/lib/{TextGeometry-b57a793b.nomodule.js.map → TextGeometry-2cd7a69b.nomodule.js.map} +1 -1
  3. package/lib/{TextGeometry-f0a85d6a.js → TextGeometry-afd21a68.js} +2 -2
  4. package/lib/{TextGeometry-f0a85d6a.js.map → TextGeometry-afd21a68.js.map} +1 -1
  5. package/lib/{banana-for-scale-8917f213.nomodule.js → banana-for-scale-24a6e087.nomodule.js} +2 -2
  6. package/lib/{banana-for-scale-8917f213.nomodule.js.map → banana-for-scale-24a6e087.nomodule.js.map} +1 -1
  7. package/lib/{banana-for-scale-579653f5.js → banana-for-scale-65562f32.js} +2 -2
  8. package/lib/{banana-for-scale-579653f5.js.map → banana-for-scale-65562f32.js.map} +1 -1
  9. package/lib/{budgeteer-measure-d54121c4.js → budgeteer-measure-d2fdd2ca.js} +2 -2
  10. package/lib/{budgeteer-measure-d54121c4.js.map → budgeteer-measure-d2fdd2ca.js.map} +1 -1
  11. package/lib/budgeteer-measure.nomodule.js +1 -1
  12. package/lib/camera-behaviour-7aba1045.js +2 -0
  13. package/lib/{camera-behaviour-8a6115dd.js.map → camera-behaviour-7aba1045.js.map} +1 -1
  14. package/lib/camera-behaviour-f8fd624d.nomodule.js +2 -0
  15. package/lib/{camera-behaviour-65f3ba46.nomodule.js.map → camera-behaviour-f8fd624d.nomodule.js.map} +1 -1
  16. package/lib/{component-dimensioning-56fcbfaf.nomodule.js → component-dimensioning-01b50642.nomodule.js} +2 -2
  17. package/lib/component-dimensioning-01b50642.nomodule.js.map +1 -0
  18. package/lib/{component-dimensioning-f8b416c2.js → component-dimensioning-3f78471b.js} +2 -2
  19. package/lib/component-dimensioning-3f78471b.js.map +1 -0
  20. package/lib/{component-raycast-helper-25f8e319.js → component-raycast-helper-2688213e.js} +2 -2
  21. package/lib/component-raycast-helper-2688213e.js.map +1 -0
  22. package/lib/{component-raycast-helper-68d445e5.nomodule.js → component-raycast-helper-f56673b2.nomodule.js} +2 -2
  23. package/lib/component-raycast-helper-f56673b2.nomodule.js.map +1 -0
  24. package/lib/configurator-45e4da79.nomodule.js +2 -0
  25. package/lib/configurator-45e4da79.nomodule.js.map +1 -0
  26. package/lib/{configurator-98dcfd8e.js → configurator-865ca37c.js} +2 -2
  27. package/lib/configurator-865ca37c.js.map +1 -0
  28. package/lib/configurator-main-2a5e98fa.js +2 -0
  29. package/lib/configurator-main-2a5e98fa.js.map +1 -0
  30. package/lib/configurator-main.nomodule.js +1 -1
  31. package/lib/{continuous-drawing-helper-981f103c.nomodule.js → continuous-drawing-helper-2a592de8.nomodule.js} +2 -2
  32. package/lib/continuous-drawing-helper-2a592de8.nomodule.js.map +1 -0
  33. package/lib/{continuous-drawing-helper-455516cd.js → continuous-drawing-helper-f4b05a9e.js} +2 -2
  34. package/lib/continuous-drawing-helper-f4b05a9e.js.map +1 -0
  35. package/lib/{default-light-setting-65c02977.js → default-light-setting-1a29c5d9.js} +2 -2
  36. package/lib/default-light-setting-1a29c5d9.js.map +1 -0
  37. package/lib/{default-light-setting-86b46f41.nomodule.js → default-light-setting-4b20f995.nomodule.js} +2 -2
  38. package/lib/default-light-setting-4b20f995.nomodule.js.map +1 -0
  39. package/lib/definitions/common-core/src/configurator-kernel-access.d.ts +11 -1
  40. package/lib/definitions/common-core/src/services/common-kernel-access.d.ts +8 -4
  41. package/lib/definitions/common-core/src/utils/shims.d.ts +5 -0
  42. package/lib/definitions/common-core/src/utils/threejs-utils.d.ts +10 -1
  43. package/lib/definitions/common-core/src/view-model/configurator-view-model.d.ts +12 -4
  44. package/lib/definitions/common-core/src/view-model/helpers/constants.d.ts +2 -0
  45. package/lib/definitions/common-core/src/webgl/roomle-component-factory.d.ts +2 -0
  46. package/lib/definitions/configurator-core/src/utils/raycast-helper.d.ts +4 -4
  47. package/lib/definitions/configurator-core/src/webgl/configurator-scene-event-handler.d.ts +2 -1
  48. package/lib/definitions/configurator-core/src/webgl/configurator-scene-manager.d.ts +2 -0
  49. package/lib/definitions/planner-core/src/view-model/construction-plan-object-view-model.d.ts +0 -1
  50. package/lib/definitions/planner-core/src/view-model/node-plan-element-view-model.d.ts +0 -2
  51. package/lib/definitions/planner-core/src/webgl/construction-top-view.d.ts +1 -0
  52. package/lib/definitions/planner-core/src/webgl/draggable-node.d.ts +1 -0
  53. package/lib/definitions/planner-core/src/webgl/planner-scene-event-handler.d.ts +2 -2
  54. package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +6 -0
  55. package/lib/definitions/typings/kernel.d.ts +25 -12
  56. package/lib/definitions/typings/rapi-types.d.ts +1 -1
  57. package/lib/dimensioning-helper-b0c8123d.js +2 -0
  58. package/lib/{dimensioning-helper-391d535f.js.map → dimensioning-helper-b0c8123d.js.map} +1 -1
  59. package/lib/dimensioning-helper-d38228b8.nomodule.js +2 -0
  60. package/lib/dimensioning-helper-d38228b8.nomodule.js.map +1 -0
  61. package/lib/{glb-viewer-7d4343ef.nomodule.js → glb-viewer-2f2f6d1b.nomodule.js} +2 -2
  62. package/lib/{glb-viewer-7d4343ef.nomodule.js.map → glb-viewer-2f2f6d1b.nomodule.js.map} +1 -1
  63. package/lib/{glb-viewer-d15770ea.js → glb-viewer-81c29c2c.js} +2 -2
  64. package/lib/{glb-viewer-d15770ea.js.map → glb-viewer-81c29c2c.js.map} +1 -1
  65. package/lib/{glb-viewer-camera-behaviour-27d35f24.js → glb-viewer-camera-behaviour-2b657a16.js} +2 -2
  66. package/lib/glb-viewer-camera-behaviour-2b657a16.js.map +1 -0
  67. package/lib/{glb-viewer-camera-behaviour-b48496e6.nomodule.js → glb-viewer-camera-behaviour-9676fa07.nomodule.js} +2 -2
  68. package/lib/glb-viewer-camera-behaviour-9676fa07.nomodule.js.map +1 -0
  69. package/lib/glb-viewer-main-16ce98b3.js +2 -0
  70. package/lib/glb-viewer-main-16ce98b3.js.map +1 -0
  71. package/lib/glb-viewer-main.nomodule.js +1 -1
  72. package/lib/legacy/{TextGeometry-8862f872.legacy.js → TextGeometry-bd959010.legacy.js} +2 -2
  73. package/lib/legacy/{TextGeometry-8862f872.legacy.js.map → TextGeometry-bd959010.legacy.js.map} +1 -1
  74. package/lib/legacy/{banana-for-scale-e305b364.legacy.js → banana-for-scale-6983319f.legacy.js} +2 -2
  75. package/lib/legacy/{banana-for-scale-e305b364.legacy.js.map → banana-for-scale-6983319f.legacy.js.map} +1 -1
  76. package/lib/legacy/budgeteer-measure.legacy.js +1 -1
  77. package/lib/legacy/camera-behaviour-ef426a46.legacy.js +2 -0
  78. package/lib/legacy/{camera-behaviour-964c10c3.legacy.js.map → camera-behaviour-ef426a46.legacy.js.map} +1 -1
  79. package/lib/legacy/{component-dimensioning-936c78e0.legacy.js → component-dimensioning-9b27ee47.legacy.js} +2 -2
  80. package/lib/legacy/component-dimensioning-9b27ee47.legacy.js.map +1 -0
  81. package/lib/legacy/{component-raycast-helper-4a35b156.legacy.js → component-raycast-helper-f4084d11.legacy.js} +2 -2
  82. package/lib/legacy/component-raycast-helper-f4084d11.legacy.js.map +1 -0
  83. package/lib/legacy/configurator-2c4150d4.legacy.js +2 -0
  84. package/lib/legacy/configurator-2c4150d4.legacy.js.map +1 -0
  85. package/lib/legacy/configurator-main.legacy.js +1 -1
  86. package/lib/legacy/{continuous-drawing-helper-c90c582b.legacy.js → continuous-drawing-helper-e5520525.legacy.js} +2 -2
  87. package/lib/legacy/continuous-drawing-helper-e5520525.legacy.js.map +1 -0
  88. package/lib/legacy/{default-light-setting-018ba29e.legacy.js → default-light-setting-c2e3a172.legacy.js} +2 -2
  89. package/lib/legacy/default-light-setting-c2e3a172.legacy.js.map +1 -0
  90. package/lib/legacy/dimensioning-helper-d82ea1b2.legacy.js +2 -0
  91. package/lib/legacy/dimensioning-helper-d82ea1b2.legacy.js.map +1 -0
  92. package/lib/legacy/{glb-viewer-fc1f3534.legacy.js → glb-viewer-2171e4db.legacy.js} +2 -2
  93. package/lib/legacy/{glb-viewer-fc1f3534.legacy.js.map → glb-viewer-2171e4db.legacy.js.map} +1 -1
  94. package/lib/legacy/{glb-viewer-camera-behaviour-ffc7da6a.legacy.js → glb-viewer-camera-behaviour-cfc892bc.legacy.js} +2 -2
  95. package/lib/legacy/glb-viewer-camera-behaviour-cfc892bc.legacy.js.map +1 -0
  96. package/lib/legacy/glb-viewer-main.legacy.js +1 -1
  97. package/lib/legacy/{main-thread-to-worker-63c62382.legacy.js → main-thread-to-worker-6dc921e1.legacy.js} +3 -3
  98. package/lib/legacy/{main-thread-to-worker-63c62382.legacy.js.map → main-thread-to-worker-6dc921e1.legacy.js.map} +1 -1
  99. package/lib/legacy/material-viewer-cbcd6421.legacy.js +2 -0
  100. package/lib/legacy/material-viewer-cbcd6421.legacy.js.map +1 -0
  101. package/lib/legacy/material-viewer-main.legacy.js +1 -1
  102. package/lib/legacy/planner-2fc85f51.legacy.js +2 -0
  103. package/lib/legacy/{planner-451776a2.legacy.js.map → planner-2fc85f51.legacy.js.map} +1 -1
  104. package/lib/legacy/planner-main.legacy.js +1 -1
  105. package/lib/legacy/{query-params-helper-a1e70858.legacy.js → query-params-helper-a47f6cfb.legacy.js} +2 -2
  106. package/lib/legacy/query-params-helper-a47f6cfb.legacy.js.map +1 -0
  107. package/lib/legacy/roomle-configurator-6ab50bfd.legacy.js +2 -0
  108. package/lib/legacy/roomle-configurator-6ab50bfd.legacy.js.map +1 -0
  109. package/lib/legacy/roomle-dependency-injection-7ff2d03f.legacy.js +9 -0
  110. package/lib/legacy/{roomle-dependency-injection-b7b00638.legacy.js.map → roomle-dependency-injection-7ff2d03f.legacy.js.map} +1 -1
  111. package/lib/legacy/roomle-sdk.legacy.js +1 -1
  112. package/lib/legacy/{script-loader-df084ced.legacy.js → script-loader-86b229ef.legacy.js} +2 -2
  113. package/lib/legacy/script-loader-86b229ef.legacy.js.map +1 -0
  114. package/lib/legacy/static/ConfiguratorKernel-0364d231fcecaafc.wasm +0 -0
  115. package/lib/legacy/static/ConfiguratorKernel-e3e0aeb0f3ad9a11.js +86 -0
  116. package/lib/legacy/static/RoomleCore-34da59877c9fc80d.js +90 -0
  117. package/lib/legacy/static/RoomleCore-40aee224ba8fbae2.wasm +0 -0
  118. package/lib/legacy/static/RoomleToolsCore-6c32dd9f8d017af8.wasm +0 -0
  119. package/lib/legacy/static/RoomleToolsCore-b1b3c955c7b9feb4.js +86 -0
  120. package/lib/legacy/{stats-helper-884f05dc.legacy.js → stats-helper-28e73e75.legacy.js} +2 -2
  121. package/lib/legacy/stats-helper-28e73e75.legacy.js.map +1 -0
  122. package/lib/legacy/{tools-core-52852f3d.legacy.js → tools-core-482a572b.legacy.js} +2 -2
  123. package/lib/legacy/tools-core-482a572b.legacy.js.map +1 -0
  124. package/lib/{main-thread-to-worker-82b32425.js → main-thread-to-worker-ab187cd2.js} +2 -2
  125. package/lib/{main-thread-to-worker-82b32425.js.map → main-thread-to-worker-ab187cd2.js.map} +1 -1
  126. package/lib/{main-thread-to-worker-ff04af1e.nomodule.js → main-thread-to-worker-e424b0c2.nomodule.js} +2 -2
  127. package/lib/{main-thread-to-worker-ff04af1e.nomodule.js.map → main-thread-to-worker-e424b0c2.nomodule.js.map} +1 -1
  128. package/lib/material-viewer-56b68f41.js +2 -0
  129. package/lib/material-viewer-56b68f41.js.map +1 -0
  130. package/lib/material-viewer-c225f64e.nomodule.js +2 -0
  131. package/lib/material-viewer-c225f64e.nomodule.js.map +1 -0
  132. package/lib/material-viewer-main-217bc953.js +2 -0
  133. package/lib/material-viewer-main-217bc953.js.map +1 -0
  134. package/lib/material-viewer-main.nomodule.js +1 -1
  135. package/lib/planner-827f6366.nomodule.js +2 -0
  136. package/lib/{planner-4d001867.nomodule.js.map → planner-827f6366.nomodule.js.map} +1 -1
  137. package/lib/planner-b4546a3c.js +2 -0
  138. package/lib/{planner-9402758e.js.map → planner-b4546a3c.js.map} +1 -1
  139. package/lib/planner-main-6d2478f2.js +2 -0
  140. package/lib/planner-main-6d2478f2.js.map +1 -0
  141. package/lib/planner-main.nomodule.js +1 -1
  142. package/lib/{query-params-helper-68ed40a6.js → query-params-helper-9d7ce8f1.js} +2 -2
  143. package/lib/query-params-helper-9d7ce8f1.js.map +1 -0
  144. package/lib/{query-params-helper-712890e0.nomodule.js → query-params-helper-fb60ee8f.nomodule.js} +2 -2
  145. package/lib/query-params-helper-fb60ee8f.nomodule.js.map +1 -0
  146. package/lib/roomle-configurator-0858b546.nomodule.js +2 -0
  147. package/lib/roomle-configurator-0858b546.nomodule.js.map +1 -0
  148. package/lib/roomle-configurator-f1595c70.js +2 -0
  149. package/lib/roomle-configurator-f1595c70.js.map +1 -0
  150. package/lib/roomle-dependency-injection-ac8f942b.js +9 -0
  151. package/lib/{roomle-dependency-injection-692b6012.js.map → roomle-dependency-injection-ac8f942b.js.map} +1 -1
  152. package/lib/roomle-dependency-injection-dcc62c88.nomodule.js +9 -0
  153. package/lib/{roomle-dependency-injection-0a4e7197.nomodule.js.map → roomle-dependency-injection-dcc62c88.nomodule.js.map} +1 -1
  154. package/lib/{roomle-sdk-ebf32d7e.js → roomle-sdk-834c30bd.js} +2 -2
  155. package/lib/roomle-sdk-834c30bd.js.map +1 -0
  156. package/lib/roomle-sdk.nomodule.js +1 -1
  157. package/lib/{script-loader-9739fddb.nomodule.js → script-loader-bcf84a9b.nomodule.js} +2 -2
  158. package/lib/script-loader-bcf84a9b.nomodule.js.map +1 -0
  159. package/lib/{script-loader-ebb89470.js → script-loader-fccf744e.js} +2 -2
  160. package/lib/script-loader-fccf744e.js.map +1 -0
  161. package/lib/static/ConfiguratorKernel-0364d231fcecaafc.wasm +0 -0
  162. package/lib/static/ConfiguratorKernel-e3e0aeb0f3ad9a11.js +86 -0
  163. package/lib/static/RoomleCore-34da59877c9fc80d.js +90 -0
  164. package/lib/static/RoomleCore-40aee224ba8fbae2.wasm +0 -0
  165. package/lib/static/RoomleToolsCore-6c32dd9f8d017af8.wasm +0 -0
  166. package/lib/static/RoomleToolsCore-b1b3c955c7b9feb4.js +86 -0
  167. package/lib/static/Tween-d57ee5d181fce582.js +767 -1
  168. package/lib/static/asset-loader.worker-1735a5fb1e401244.js +2 -1
  169. package/lib/static/asset-loader.worker.js.map +1 -1
  170. package/lib/static/budgeteer.sw-a4a226d2fc19672e.js +2 -1
  171. package/lib/static/budgeteer.sw.js.map +1 -1
  172. package/lib/static/jszip.min-c96375d50e72b199.js +2 -1
  173. package/lib/static/worker-to-main-thread-3ad1cee7.js.map +1 -1
  174. package/lib/{stats-helper-095a3c38.js → stats-helper-7bf2b8e6.js} +2 -2
  175. package/lib/stats-helper-7bf2b8e6.js.map +1 -0
  176. package/lib/{stats-helper-56718fcb.nomodule.js → stats-helper-9b31e52e.nomodule.js} +2 -2
  177. package/lib/stats-helper-9b31e52e.nomodule.js.map +1 -0
  178. package/lib/{tools-core-cddcdd17.nomodule.js → tools-core-5daf53b8.nomodule.js} +2 -2
  179. package/lib/tools-core-5daf53b8.nomodule.js.map +1 -0
  180. package/lib/{tools-core-a89236e6.js → tools-core-e8b51fb2.js} +2 -2
  181. package/lib/tools-core-e8b51fb2.js.map +1 -0
  182. package/package.json +2 -2
  183. package/lib/camera-behaviour-65f3ba46.nomodule.js +0 -2
  184. package/lib/camera-behaviour-8a6115dd.js +0 -2
  185. package/lib/component-dimensioning-56fcbfaf.nomodule.js.map +0 -1
  186. package/lib/component-dimensioning-f8b416c2.js.map +0 -1
  187. package/lib/component-raycast-helper-25f8e319.js.map +0 -1
  188. package/lib/component-raycast-helper-68d445e5.nomodule.js.map +0 -1
  189. package/lib/configurator-98dcfd8e.js.map +0 -1
  190. package/lib/configurator-d9f879d4.nomodule.js +0 -2
  191. package/lib/configurator-d9f879d4.nomodule.js.map +0 -1
  192. package/lib/configurator-main-b6e51462.js +0 -2
  193. package/lib/configurator-main-b6e51462.js.map +0 -1
  194. package/lib/continuous-drawing-helper-455516cd.js.map +0 -1
  195. package/lib/continuous-drawing-helper-981f103c.nomodule.js.map +0 -1
  196. package/lib/default-light-setting-65c02977.js.map +0 -1
  197. package/lib/default-light-setting-86b46f41.nomodule.js.map +0 -1
  198. package/lib/dimensioning-helper-391d535f.js +0 -2
  199. package/lib/dimensioning-helper-52732c03.nomodule.js +0 -2
  200. package/lib/dimensioning-helper-52732c03.nomodule.js.map +0 -1
  201. package/lib/glb-viewer-camera-behaviour-27d35f24.js.map +0 -1
  202. package/lib/glb-viewer-camera-behaviour-b48496e6.nomodule.js.map +0 -1
  203. package/lib/glb-viewer-main-9274582c.js +0 -2
  204. package/lib/glb-viewer-main-9274582c.js.map +0 -1
  205. package/lib/legacy/camera-behaviour-964c10c3.legacy.js +0 -2
  206. package/lib/legacy/component-dimensioning-936c78e0.legacy.js.map +0 -1
  207. package/lib/legacy/component-raycast-helper-4a35b156.legacy.js.map +0 -1
  208. package/lib/legacy/configurator-f4920788.legacy.js +0 -2
  209. package/lib/legacy/configurator-f4920788.legacy.js.map +0 -1
  210. package/lib/legacy/continuous-drawing-helper-c90c582b.legacy.js.map +0 -1
  211. package/lib/legacy/default-light-setting-018ba29e.legacy.js.map +0 -1
  212. package/lib/legacy/dimensioning-helper-51d55285.legacy.js +0 -2
  213. package/lib/legacy/dimensioning-helper-51d55285.legacy.js.map +0 -1
  214. package/lib/legacy/glb-viewer-camera-behaviour-ffc7da6a.legacy.js.map +0 -1
  215. package/lib/legacy/material-viewer-eba6a07a.legacy.js +0 -2
  216. package/lib/legacy/material-viewer-eba6a07a.legacy.js.map +0 -1
  217. package/lib/legacy/planner-451776a2.legacy.js +0 -2
  218. package/lib/legacy/query-params-helper-a1e70858.legacy.js.map +0 -1
  219. package/lib/legacy/roomle-configurator-6ede4717.legacy.js +0 -2
  220. package/lib/legacy/roomle-configurator-6ede4717.legacy.js.map +0 -1
  221. package/lib/legacy/roomle-dependency-injection-b7b00638.legacy.js +0 -9
  222. package/lib/legacy/script-loader-df084ced.legacy.js.map +0 -1
  223. package/lib/legacy/static/ConfiguratorKernel-14eefc5f028c17cf.wasm +0 -0
  224. package/lib/legacy/static/ConfiguratorKernel-177b506cdd3711c9.js +0 -95
  225. package/lib/legacy/static/RoomleCore-31af1b566f8f153d.wasm +0 -0
  226. package/lib/legacy/static/RoomleCore-554c790f636abde3.js +0 -98
  227. package/lib/legacy/static/RoomleToolsCore-2b5afc8355b92d81.wasm +0 -0
  228. package/lib/legacy/static/RoomleToolsCore-354feeb929ea1598.js +0 -92
  229. package/lib/legacy/stats-helper-884f05dc.legacy.js.map +0 -1
  230. package/lib/legacy/tools-core-52852f3d.legacy.js.map +0 -1
  231. package/lib/material-viewer-1ac3cdb4.js +0 -2
  232. package/lib/material-viewer-1ac3cdb4.js.map +0 -1
  233. package/lib/material-viewer-3c8ff972.nomodule.js +0 -2
  234. package/lib/material-viewer-3c8ff972.nomodule.js.map +0 -1
  235. package/lib/material-viewer-main-ff789987.js +0 -2
  236. package/lib/material-viewer-main-ff789987.js.map +0 -1
  237. package/lib/planner-4d001867.nomodule.js +0 -2
  238. package/lib/planner-9402758e.js +0 -2
  239. package/lib/planner-main-be357a82.js +0 -2
  240. package/lib/planner-main-be357a82.js.map +0 -1
  241. package/lib/query-params-helper-68ed40a6.js.map +0 -1
  242. package/lib/query-params-helper-712890e0.nomodule.js.map +0 -1
  243. package/lib/roomle-configurator-6868312b.js +0 -2
  244. package/lib/roomle-configurator-6868312b.js.map +0 -1
  245. package/lib/roomle-configurator-7eddf394.nomodule.js +0 -2
  246. package/lib/roomle-configurator-7eddf394.nomodule.js.map +0 -1
  247. package/lib/roomle-dependency-injection-0a4e7197.nomodule.js +0 -9
  248. package/lib/roomle-dependency-injection-692b6012.js +0 -9
  249. package/lib/roomle-sdk-ebf32d7e.js.map +0 -1
  250. package/lib/script-loader-9739fddb.nomodule.js.map +0 -1
  251. package/lib/script-loader-ebb89470.js.map +0 -1
  252. package/lib/static/ConfiguratorKernel-14eefc5f028c17cf.wasm +0 -0
  253. package/lib/static/ConfiguratorKernel-177b506cdd3711c9.js +0 -1
  254. package/lib/static/ConfiguratorKernel-177b506cdd3711c9.js.map +0 -1
  255. package/lib/static/RoomleCore-31af1b566f8f153d.wasm +0 -0
  256. package/lib/static/RoomleCore-554c790f636abde3.js +0 -1
  257. package/lib/static/RoomleCore-554c790f636abde3.js.map +0 -1
  258. package/lib/static/RoomleToolsCore-2b5afc8355b92d81.wasm +0 -0
  259. package/lib/static/RoomleToolsCore-354feeb929ea1598.js +0 -1
  260. package/lib/static/RoomleToolsCore-354feeb929ea1598.js.map +0 -1
  261. package/lib/static/Tween-d57ee5d181fce582.js.map +0 -1
  262. package/lib/static/asset-loader.worker-1735a5fb1e401244.js.map +0 -1
  263. package/lib/static/budgeteer.sw-a4a226d2fc19672e.js.map +0 -1
  264. package/lib/static/jszip.min-c96375d50e72b199.js.map +0 -1
  265. package/lib/stats-helper-095a3c38.js.map +0 -1
  266. package/lib/stats-helper-56718fcb.nomodule.js.map +0 -1
  267. package/lib/tools-core-a89236e6.js.map +0 -1
  268. package/lib/tools-core-cddcdd17.nomodule.js.map +0 -1
@@ -1 +1,767 @@
1
- var _Group=function(){this._tweens={},this._tweensAddedDuringUpdate={}};_Group.prototype={getAll:function(){return Object.keys(this._tweens).map(function(t){return this._tweens[t]}.bind(this))},removeAll:function(){this._tweens={}},add:function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},remove:function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},update:function(t,n){var e=Object.keys(this._tweens);if(0===e.length)return!1;for(t=void 0!==t?t:TWEEN.now();e.length>0;){this._tweensAddedDuringUpdate={};for(var i=0;i<e.length;i++){var r=this._tweens[e[i]];r&&!1===r.update(t)&&(r._isPlaying=!1,n||delete this._tweens[e[i]])}e=Object.keys(this._tweensAddedDuringUpdate)}return!0}};var a,TWEEN=new _Group;TWEEN.Group=_Group,TWEEN._nextId=0,TWEEN.nextId=function(){return TWEEN._nextId++},"undefined"==typeof window&&"undefined"!=typeof process?TWEEN.now=function(){var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:"undefined"!=typeof window&&void 0!==window.performance&&void 0!==window.performance.now?TWEEN.now=window.performance.now.bind(window.performance):void 0!==Date.now?TWEEN.now=Date.now:TWEEN.now=function(){return(new Date).getTime()},TWEEN.Tween=function(t,n){this._object=t,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._repeatDelayTime=void 0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=TWEEN.Easing.Linear.None,this._interpolationFunction=TWEEN.Interpolation.Linear,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onCompleteCallback=null,this._onStopCallback=null,this._group=n||TWEEN,this._id=TWEEN.nextId()},TWEEN.Tween.prototype={getId:function(){return this._id},isPlaying:function(){return this._isPlaying},to:function(t,n){return this._valuesEnd=t,void 0!==n&&(this._duration=n),this},start:function(t){for(var n in this._group.add(this),this._isPlaying=!0,this._onStartCallbackFired=!1,this._startTime=void 0!==t?"string"==typeof t?TWEEN.now()+parseFloat(t):t:TWEEN.now(),this._startTime+=this._delayTime,this._valuesEnd){if(this._valuesEnd[n]instanceof Array){if(0===this._valuesEnd[n].length)continue;this._valuesEnd[n]=[this._object[n]].concat(this._valuesEnd[n])}void 0!==this._object[n]&&(this._valuesStart[n]=this._object[n],this._valuesStart[n]instanceof Array==0&&(this._valuesStart[n]*=1),this._valuesStartRepeat[n]=this._valuesStart[n]||0)}return this},stop:function(){return this._isPlaying?(this._group.remove(this),this._isPlaying=!1,null!==this._onStopCallback&&this._onStopCallback(this._object),this.stopChainedTweens(),this):this},end:function(){return this.update(this._startTime+this._duration),this},stopChainedTweens:function(){for(var t=0,n=this._chainedTweens.length;t<n;t++)this._chainedTweens[t].stop()},delay:function(t){return this._delayTime=t,this},repeat:function(t){return this._repeat=t,this},repeatDelay:function(t){return this._repeatDelayTime=t,this},yoyo:function(t){return this._yoyo=t,this},easing:function(t){return this._easingFunction=t,this},interpolation:function(t){return this._interpolationFunction=t,this},chain:function(){return this._chainedTweens=arguments,this},onStart:function(t){return this._onStartCallback=t,this},onUpdate:function(t){return this._onUpdateCallback=t,this},onComplete:function(t){return this._onCompleteCallback=t,this},onStop:function(t){return this._onStopCallback=t,this},update:function(t){var n,e,i;if(t<this._startTime)return!0;for(n in!1===this._onStartCallbackFired&&(null!==this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),e=(e=(t-this._startTime)/this._duration)>1?1:e,i=this._easingFunction(e),this._valuesEnd)if(void 0!==this._valuesStart[n]){var r=this._valuesStart[n]||0,a=this._valuesEnd[n];a instanceof Array?this._object[n]=this._interpolationFunction(a,i):("string"==typeof a&&(a="+"===a.charAt(0)||"-"===a.charAt(0)?r+parseFloat(a):parseFloat(a)),"number"==typeof a&&(this._object[n]=r+(a-r)*i))}if(null!==this._onUpdateCallback&&this._onUpdateCallback(this._object),1===e){if(this._repeat>0){for(n in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat){if("string"==typeof this._valuesEnd[n]&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo){var s=this._valuesStartRepeat[n];this._valuesStartRepeat[n]=this._valuesEnd[n],this._valuesEnd[n]=s}this._valuesStart[n]=this._valuesStartRepeat[n]}return this._yoyo&&(this._reversed=!this._reversed),void 0!==this._repeatDelayTime?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,!0}null!==this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var o=0,u=this._chainedTweens.length;o<u;o++)this._chainedTweens[o].start(this._startTime+this._duration);return!1}return!0}},TWEEN.Easing={Linear:{None:function(t){return t}},Quadratic:{In:function(t){return t*t},Out:function(t){return t*(2-t)},InOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)}},Cubic:{In:function(t){return t*t*t},Out:function(t){return--t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)}},Quartic:{In:function(t){return t*t*t*t},Out:function(t){return 1- --t*t*t*t},InOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)}},Quintic:{In:function(t){return t*t*t*t*t},Out:function(t){return--t*t*t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}},Sinusoidal:{In:function(t){return 1-Math.cos(t*Math.PI/2)},Out:function(t){return Math.sin(t*Math.PI/2)},InOut:function(t){return.5*(1-Math.cos(Math.PI*t))}},Exponential:{In:function(t){return 0===t?0:Math.pow(1024,t-1)},Out:function(t){return 1===t?1:1-Math.pow(2,-10*t)},InOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))}},Circular:{In:function(t){return 1-Math.sqrt(1-t*t)},Out:function(t){return Math.sqrt(1- --t*t)},InOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}},Elastic:{In:function(t){return 0===t?0:1===t?1:-Math.pow(2,10*(t-1))*Math.sin(5*(t-1.1)*Math.PI)},Out:function(t){return 0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin(5*(t-.1)*Math.PI)+1},InOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?-.5*Math.pow(2,10*(t-1))*Math.sin(5*(t-1.1)*Math.PI):.5*Math.pow(2,-10*(t-1))*Math.sin(5*(t-1.1)*Math.PI)+1}},Back:{In:function(t){var n=1.70158;return t*t*((n+1)*t-n)},Out:function(t){var n=1.70158;return--t*t*((n+1)*t+n)+1},InOut:function(t){var n=2.5949095;return(t*=2)<1?t*t*((n+1)*t-n)*.5:.5*((t-=2)*t*((n+1)*t+n)+2)}},Bounce:{In:function(t){return 1-TWEEN.Easing.Bounce.Out(1-t)},Out:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},InOut:function(t){return t<.5?.5*TWEEN.Easing.Bounce.In(2*t):.5*TWEEN.Easing.Bounce.Out(2*t-1)+.5}}},TWEEN.Interpolation={Linear:function(t,n){var e=t.length-1,i=e*n,r=Math.floor(i),a=TWEEN.Interpolation.Utils.Linear;return n<0?a(t[0],t[1],i):n>1?a(t[e],t[e-1],e-i):a(t[r],t[r+1>e?e:r+1],i-r)},Bezier:function(t,n){for(var e=0,i=t.length-1,r=Math.pow,a=TWEEN.Interpolation.Utils.Bernstein,s=0;s<=i;s++)e+=r(1-n,i-s)*r(n,s)*t[s]*a(i,s);return e},CatmullRom:function(t,n){var e=t.length-1,i=e*n,r=Math.floor(i),a=TWEEN.Interpolation.Utils.CatmullRom;return t[0]===t[e]?(n<0&&(r=Math.floor(i=e*(1+n))),a(t[(r-1+e)%e],t[r],t[(r+1)%e],t[(r+2)%e],i-r)):n<0?t[0]-(a(t[0],t[0],t[1],t[1],-i)-t[0]):n>1?t[e]-(a(t[e],t[e],t[e-1],t[e-1],i-e)-t[e]):a(t[r?r-1:0],t[r],t[e<r+1?e:r+1],t[e<r+2?e:r+2],i-r)},Utils:{Linear:function(t,n,e){return(n-t)*e+t},Bernstein:function(t,n){var e=TWEEN.Interpolation.Utils.Factorial;return e(t)/e(n)/e(t-n)},Factorial:(a=[1],function(t){var n=1;if(a[t])return a[t];for(var e=t;e>1;e--)n*=e;return a[t]=n,n}),CatmullRom:function(t,n,e,i,r){var a=.5*(e-t),s=.5*(i-n),o=r*r;return(2*n-2*e+a+s)*(r*o)+(-3*n+3*e-2*a-s)*o+a*r+n}}},"function"==typeof define&&define.amd?define([],(function(){return TWEEN})):"undefined"!=typeof module&&"object"==typeof exports?module.exports=TWEEN:void 0!==this&&(this.TWEEN=TWEEN);
1
+ /**
2
+ * Tween.js - Licensed under the MIT license
3
+ * https://github.com/tweenjs/tween.js
4
+ * ----------------------------------------------
5
+ *
6
+ * See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
7
+ * Thank you all, you're awesome!
8
+ */
9
+
10
+ // 666 //
11
+
12
+ var _Group = function () {
13
+ this._tweens = {};
14
+ this._tweensAddedDuringUpdate = {};
15
+ };
16
+
17
+ _Group.prototype = {
18
+ getAll: function () {
19
+ return Object.keys(this._tweens).map(function (tweenId) {
20
+ return this._tweens[tweenId];
21
+ }.bind(this));
22
+ },
23
+
24
+ removeAll: function () {
25
+ this._tweens = {};
26
+ },
27
+
28
+ add: function (tween) {
29
+ this._tweens[tween.getId()] = tween;
30
+ this._tweensAddedDuringUpdate[tween.getId()] = tween;
31
+ },
32
+
33
+ remove: function (tween) {
34
+ delete this._tweens[tween.getId()];
35
+ delete this._tweensAddedDuringUpdate[tween.getId()];
36
+ },
37
+
38
+ update: function (time, preserve) {
39
+ var tweenIds = Object.keys(this._tweens);
40
+
41
+ if (tweenIds.length === 0) {
42
+ return false;
43
+ }
44
+
45
+ time = time !== undefined ? time : TWEEN.now();
46
+
47
+ // Tweens are updated in "batches". If you add a new tween during an update, then the
48
+ // new tween will be updated in the next batch.
49
+ // If you remove a tween during an update, it may or may not be updated. However,
50
+ // if the removed tween was added during the current batch, then it will not be updated.
51
+ while (tweenIds.length > 0) {
52
+ this._tweensAddedDuringUpdate = {};
53
+
54
+ for (var i = 0; i < tweenIds.length; i++) {
55
+ var tween = this._tweens[tweenIds[i]];
56
+
57
+ if (tween && tween.update(time) === false) {
58
+ tween._isPlaying = false;
59
+
60
+ if (!preserve) {
61
+ delete this._tweens[tweenIds[i]];
62
+ }
63
+ }
64
+ }
65
+
66
+ tweenIds = Object.keys(this._tweensAddedDuringUpdate);
67
+ }
68
+
69
+ return true;
70
+ }
71
+ };
72
+
73
+ var TWEEN = new _Group();
74
+
75
+ TWEEN.Group = _Group;
76
+ TWEEN._nextId = 0;
77
+ TWEEN.nextId = function () {
78
+ return TWEEN._nextId++;
79
+ };
80
+
81
+ // Include a performance.now polyfill.
82
+ // In node.js, use process.hrtime.
83
+ if (typeof (window) === 'undefined' && typeof (process) !== 'undefined') {
84
+ TWEEN.now = function () {
85
+ var time = process.hrtime();
86
+
87
+ // Convert [seconds, nanoseconds] to milliseconds.
88
+ return time[0] * 1000 + time[1] / 1000000;
89
+ };
90
+ }
91
+ // In a browser, use window.performance.now if it is available.
92
+ else if (typeof (window) !== 'undefined' &&
93
+ window.performance !== undefined &&
94
+ window.performance.now !== undefined) {
95
+ // This must be bound, because directly assigning this function
96
+ // leads to an invocation exception in Chrome.
97
+ TWEEN.now = window.performance.now.bind(window.performance);
98
+ }
99
+ // Use Date.now if it is available.
100
+ else if (Date.now !== undefined) {
101
+ TWEEN.now = Date.now;
102
+ }
103
+ // Otherwise, use 'new Date().getTime()'.
104
+ else {
105
+ TWEEN.now = function () {
106
+ return new Date().getTime();
107
+ };
108
+ }
109
+
110
+ TWEEN.Tween = function (object, group) {
111
+ this._object = object;
112
+ this._valuesStart = {};
113
+ this._valuesEnd = {};
114
+ this._valuesStartRepeat = {};
115
+ this._duration = 1000;
116
+ this._repeat = 0;
117
+ this._repeatDelayTime = undefined;
118
+ this._yoyo = false;
119
+ this._isPlaying = false;
120
+ this._reversed = false;
121
+ this._delayTime = 0;
122
+ this._startTime = null;
123
+ this._easingFunction = TWEEN.Easing.Linear.None;
124
+ this._interpolationFunction = TWEEN.Interpolation.Linear;
125
+ this._chainedTweens = [];
126
+ this._onStartCallback = null;
127
+ this._onStartCallbackFired = false;
128
+ this._onUpdateCallback = null;
129
+ this._onCompleteCallback = null;
130
+ this._onStopCallback = null;
131
+ this._group = group || TWEEN;
132
+ this._id = TWEEN.nextId();
133
+ };
134
+
135
+ TWEEN.Tween.prototype = {
136
+ getId: function getId() {
137
+ return this._id;
138
+ },
139
+
140
+ isPlaying: function isPlaying() {
141
+ return this._isPlaying;
142
+ },
143
+
144
+ to: function to(properties, duration) {
145
+ this._valuesEnd = properties;
146
+
147
+ if (duration !== undefined) {
148
+ this._duration = duration;
149
+ }
150
+
151
+ return this;
152
+ },
153
+
154
+ start: function start(time) {
155
+ this._group.add(this);
156
+
157
+ this._isPlaying = true;
158
+
159
+ this._onStartCallbackFired = false;
160
+
161
+ this._startTime = time !== undefined ? typeof time === 'string' ? TWEEN.now() + parseFloat(time) : time : TWEEN.now();
162
+ this._startTime += this._delayTime;
163
+
164
+ for (var property in this._valuesEnd) {
165
+ // Check if an Array was provided as property value
166
+ if (this._valuesEnd[property] instanceof Array) {
167
+ if (this._valuesEnd[property].length === 0) {
168
+ continue;
169
+ }
170
+
171
+ // Create a local copy of the Array with the start value at the front
172
+ this._valuesEnd[property] = [this._object[property]].concat(this._valuesEnd[property]);
173
+
174
+ }
175
+
176
+ // If `to()` specifies a property that doesn't exist in the source object,
177
+ // we should not set that property in the object
178
+ if (this._object[property] === undefined) {
179
+ continue;
180
+ }
181
+
182
+ // Save the starting value.
183
+ this._valuesStart[property] = this._object[property];
184
+
185
+ if ((this._valuesStart[property] instanceof Array) === false) {
186
+ this._valuesStart[property] *= 1.0; // Ensures we're using numbers, not strings
187
+ }
188
+
189
+ this._valuesStartRepeat[property] = this._valuesStart[property] || 0;
190
+ }
191
+
192
+ return this;
193
+ },
194
+
195
+ stop: function stop() {
196
+ if (!this._isPlaying) {
197
+ return this;
198
+ }
199
+
200
+ this._group.remove(this);
201
+ this._isPlaying = false;
202
+
203
+ if (this._onStopCallback !== null) {
204
+ this._onStopCallback(this._object);
205
+ }
206
+
207
+ this.stopChainedTweens();
208
+ return this;
209
+ },
210
+
211
+ end: function end() {
212
+ this.update(this._startTime + this._duration);
213
+ return this;
214
+ },
215
+
216
+ stopChainedTweens: function stopChainedTweens() {
217
+
218
+ for (var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i++) {
219
+ this._chainedTweens[i].stop();
220
+ }
221
+ },
222
+
223
+ delay: function delay(amount) {
224
+ this._delayTime = amount;
225
+ return this;
226
+ },
227
+
228
+ repeat: function repeat(times) {
229
+ this._repeat = times;
230
+ return this;
231
+ },
232
+
233
+ repeatDelay: function repeatDelay(amount) {
234
+ this._repeatDelayTime = amount;
235
+ return this;
236
+ },
237
+
238
+ yoyo: function yoyo(yoyo) {
239
+ this._yoyo = yoyo;
240
+ return this;
241
+ },
242
+
243
+ easing: function easing(easing) {
244
+ this._easingFunction = easing;
245
+ return this;
246
+ },
247
+
248
+ interpolation: function interpolation(interpolation) {
249
+ this._interpolationFunction = interpolation;
250
+ return this;
251
+ },
252
+
253
+ chain: function chain() {
254
+ this._chainedTweens = arguments;
255
+ return this;
256
+ },
257
+
258
+ onStart: function onStart(callback) {
259
+ this._onStartCallback = callback;
260
+ return this;
261
+ },
262
+
263
+ onUpdate: function onUpdate(callback) {
264
+ this._onUpdateCallback = callback;
265
+ return this;
266
+ },
267
+
268
+ onComplete: function onComplete(callback) {
269
+ this._onCompleteCallback = callback;
270
+ return this;
271
+ },
272
+
273
+ onStop: function onStop(callback) {
274
+ this._onStopCallback = callback;
275
+ return this;
276
+ },
277
+
278
+ update: function update(time) {
279
+ var property;
280
+ var elapsed;
281
+ var value;
282
+
283
+ if (time < this._startTime) {
284
+ return true;
285
+ }
286
+
287
+ if (this._onStartCallbackFired === false) {
288
+ if (this._onStartCallback !== null) {
289
+ this._onStartCallback(this._object);
290
+ }
291
+
292
+ this._onStartCallbackFired = true;
293
+ }
294
+
295
+ elapsed = (time - this._startTime) / this._duration;
296
+ elapsed = elapsed > 1 ? 1 : elapsed;
297
+
298
+ value = this._easingFunction(elapsed);
299
+
300
+ for (property in this._valuesEnd) {
301
+ // Don't update properties that do not exist in the source object
302
+ if (this._valuesStart[property] === undefined) {
303
+ continue;
304
+ }
305
+
306
+ var start = this._valuesStart[property] || 0;
307
+ var end = this._valuesEnd[property];
308
+
309
+ if (end instanceof Array) {
310
+ this._object[property] = this._interpolationFunction(end, value);
311
+ } else {
312
+ // Parses relative end values with start as base (e.g.: +10, -3)
313
+ if (typeof (end) === 'string') {
314
+
315
+ if (end.charAt(0) === '+' || end.charAt(0) === '-') {
316
+ end = start + parseFloat(end);
317
+ } else {
318
+ end = parseFloat(end);
319
+ }
320
+ }
321
+
322
+ // Protect against non numeric properties.
323
+ if (typeof (end) === 'number') {
324
+ this._object[property] = start + (end - start) * value;
325
+ }
326
+ }
327
+ }
328
+
329
+ if (this._onUpdateCallback !== null) {
330
+ this._onUpdateCallback(this._object);
331
+ }
332
+
333
+ if (elapsed === 1) {
334
+ if (this._repeat > 0) {
335
+ if (isFinite(this._repeat)) {
336
+ this._repeat--;
337
+ }
338
+
339
+ // Reassign starting values, restart by making startTime = now
340
+ for (property in this._valuesStartRepeat) {
341
+
342
+ if (typeof (this._valuesEnd[property]) === 'string') {
343
+ this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
344
+ }
345
+
346
+ if (this._yoyo) {
347
+ var tmp = this._valuesStartRepeat[property];
348
+
349
+ this._valuesStartRepeat[property] = this._valuesEnd[property];
350
+ this._valuesEnd[property] = tmp;
351
+ }
352
+
353
+ this._valuesStart[property] = this._valuesStartRepeat[property];
354
+ }
355
+
356
+ if (this._yoyo) {
357
+ this._reversed = !this._reversed;
358
+ }
359
+
360
+ if (this._repeatDelayTime !== undefined) {
361
+ this._startTime = time + this._repeatDelayTime;
362
+ } else {
363
+ this._startTime = time + this._delayTime;
364
+ }
365
+
366
+ return true;
367
+ } else {
368
+ if (this._onCompleteCallback !== null) {
369
+ this._onCompleteCallback(this._object);
370
+ }
371
+
372
+ for (var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i++) {
373
+ // Make the chained tweens start exactly at the time they should,
374
+ // even if the `update()` method was called way past the duration of the tween
375
+ this._chainedTweens[i].start(this._startTime + this._duration);
376
+ }
377
+
378
+ return false;
379
+ }
380
+ }
381
+
382
+ return true;
383
+
384
+ }
385
+ };
386
+
387
+ TWEEN.Easing = {
388
+ Linear: {
389
+ None: function (k) {
390
+ return k;
391
+
392
+ }
393
+
394
+ },
395
+
396
+ Quadratic: {
397
+ In: function (k) {
398
+ return k * k;
399
+ },
400
+
401
+ Out: function (k) {
402
+ return k * (2 - k);
403
+ },
404
+
405
+ InOut: function (k) {
406
+ if ((k *= 2) < 1) {
407
+ return 0.5 * k * k;
408
+ }
409
+
410
+ return -0.5 * (--k * (k - 2) - 1);
411
+
412
+ }
413
+
414
+ },
415
+
416
+ Cubic: {
417
+ In: function (k) {
418
+ return k * k * k;
419
+ },
420
+
421
+ Out: function (k) {
422
+ return --k * k * k + 1;
423
+ },
424
+
425
+ InOut: function (k) {
426
+ if ((k *= 2) < 1) {
427
+ return 0.5 * k * k * k;
428
+ }
429
+
430
+ return 0.5 * ((k -= 2) * k * k + 2);
431
+
432
+ }
433
+
434
+ },
435
+
436
+ Quartic: {
437
+ In: function (k) {
438
+ return k * k * k * k;
439
+ },
440
+
441
+ Out: function (k) {
442
+
443
+ return 1 - (--k * k * k * k);
444
+
445
+ },
446
+
447
+ InOut: function (k) {
448
+ if ((k *= 2) < 1) {
449
+ return 0.5 * k * k * k * k;
450
+ }
451
+
452
+ return -0.5 * ((k -= 2) * k * k * k - 2);
453
+
454
+ }
455
+
456
+ },
457
+
458
+ Quintic: {
459
+ In: function (k) {
460
+ return k * k * k * k * k;
461
+ },
462
+
463
+ Out: function (k) {
464
+ return --k * k * k * k * k + 1;
465
+ },
466
+
467
+ InOut: function (k) {
468
+ if ((k *= 2) < 1) {
469
+ return 0.5 * k * k * k * k * k;
470
+ }
471
+
472
+ return 0.5 * ((k -= 2) * k * k * k * k + 2);
473
+
474
+ }
475
+
476
+ },
477
+
478
+ Sinusoidal: {
479
+ In: function (k) {
480
+
481
+ return 1 - Math.cos(k * Math.PI / 2);
482
+
483
+ },
484
+
485
+ Out: function (k) {
486
+
487
+ return Math.sin(k * Math.PI / 2);
488
+
489
+ },
490
+
491
+ InOut: function (k) {
492
+ return 0.5 * (1 - Math.cos(Math.PI * k));
493
+
494
+ }
495
+
496
+ },
497
+
498
+ Exponential: {
499
+ In: function (k) {
500
+ return k === 0 ? 0 : Math.pow(1024, k - 1);
501
+ },
502
+
503
+ Out: function (k) {
504
+ return k === 1 ? 1 : 1 - Math.pow(2, -10 * k);
505
+ },
506
+
507
+ InOut: function (k) {
508
+ if (k === 0) {
509
+ return 0;
510
+ }
511
+
512
+ if (k === 1) {
513
+ return 1;
514
+ }
515
+
516
+ if ((k *= 2) < 1) {
517
+ return 0.5 * Math.pow(1024, k - 1);
518
+ }
519
+
520
+ return 0.5 * (-Math.pow(2, -10 * (k - 1)) + 2);
521
+
522
+ }
523
+
524
+ },
525
+
526
+ Circular: {
527
+ In: function (k) {
528
+ return 1 - Math.sqrt(1 - k * k);
529
+ },
530
+
531
+ Out: function (k) {
532
+
533
+ return Math.sqrt(1 - (--k * k));
534
+
535
+ },
536
+
537
+ InOut: function (k) {
538
+ if ((k *= 2) < 1) {
539
+ return -0.5 * (Math.sqrt(1 - k * k) - 1);
540
+ }
541
+
542
+ return 0.5 * (Math.sqrt(1 - (k -= 2) * k) + 1);
543
+
544
+ }
545
+
546
+ },
547
+
548
+ Elastic: {
549
+ In: function (k) {
550
+ if (k === 0) {
551
+ return 0;
552
+ }
553
+
554
+ if (k === 1) {
555
+ return 1;
556
+ }
557
+
558
+ return -Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
559
+ },
560
+
561
+ Out: function (k) {
562
+ if (k === 0) {
563
+ return 0;
564
+ }
565
+
566
+ if (k === 1) {
567
+ return 1;
568
+ }
569
+
570
+ return Math.pow(2, -10 * k) * Math.sin((k - 0.1) * 5 * Math.PI) + 1;
571
+ },
572
+
573
+ InOut: function (k) {
574
+ if (k === 0) {
575
+ return 0;
576
+ }
577
+
578
+ if (k === 1) {
579
+ return 1;
580
+ }
581
+
582
+ k *= 2;
583
+
584
+ if (k < 1) {
585
+ return -0.5 * Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
586
+ }
587
+
588
+ return 0.5 * Math.pow(2, -10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI) + 1;
589
+
590
+ }
591
+
592
+ },
593
+
594
+ Back: {
595
+ In: function (k) {
596
+ var s = 1.70158;
597
+
598
+ return k * k * ((s + 1) * k - s);
599
+ },
600
+
601
+ Out: function (k) {
602
+ var s = 1.70158;
603
+
604
+ return --k * k * ((s + 1) * k + s) + 1;
605
+ },
606
+
607
+ InOut: function (k) {
608
+ var s = 1.70158 * 1.525;
609
+
610
+ if ((k *= 2) < 1) {
611
+ return 0.5 * (k * k * ((s + 1) * k - s));
612
+ }
613
+
614
+ return 0.5 * ((k -= 2) * k * ((s + 1) * k + s) + 2);
615
+
616
+ }
617
+
618
+ },
619
+
620
+ Bounce: {
621
+ In: function (k) {
622
+ return 1 - TWEEN.Easing.Bounce.Out(1 - k);
623
+ },
624
+
625
+ Out: function (k) {
626
+
627
+ if (k < (1 / 2.75)) {
628
+ return 7.5625 * k * k;
629
+ } else if (k < (2 / 2.75)) {
630
+ return 7.5625 * (k -= (1.5 / 2.75)) * k + 0.75;
631
+ } else if (k < (2.5 / 2.75)) {
632
+ return 7.5625 * (k -= (2.25 / 2.75)) * k + 0.9375;
633
+ } else {
634
+ return 7.5625 * (k -= (2.625 / 2.75)) * k + 0.984375;
635
+ }
636
+ },
637
+
638
+ InOut: function (k) {
639
+ if (k < 0.5) {
640
+ return TWEEN.Easing.Bounce.In(k * 2) * 0.5;
641
+ }
642
+
643
+ return TWEEN.Easing.Bounce.Out(k * 2 - 1) * 0.5 + 0.5;
644
+
645
+ }
646
+
647
+ }
648
+
649
+ };
650
+
651
+ TWEEN.Interpolation = {
652
+ Linear: function (v, k) {
653
+ var m = v.length - 1;
654
+ var f = m * k;
655
+ var i = Math.floor(f);
656
+ var fn = TWEEN.Interpolation.Utils.Linear;
657
+
658
+ if (k < 0) {
659
+ return fn(v[0], v[1], f);
660
+ }
661
+
662
+ if (k > 1) {
663
+ return fn(v[m], v[m - 1], m - f);
664
+ }
665
+
666
+ return fn(v[i], v[i + 1 > m ? m : i + 1], f - i);
667
+ },
668
+
669
+ Bezier: function (v, k) {
670
+ var b = 0;
671
+ var n = v.length - 1;
672
+ var pw = Math.pow;
673
+ var bn = TWEEN.Interpolation.Utils.Bernstein;
674
+
675
+ for (var i = 0; i <= n; i++) {
676
+ b += pw(1 - k, n - i) * pw(k, i) * v[i] * bn(n, i);
677
+ }
678
+
679
+ return b;
680
+ },
681
+
682
+ CatmullRom: function (v, k) {
683
+ var m = v.length - 1;
684
+ var f = m * k;
685
+ var i = Math.floor(f);
686
+ var fn = TWEEN.Interpolation.Utils.CatmullRom;
687
+
688
+ if (v[0] === v[m]) {
689
+ if (k < 0) {
690
+ i = Math.floor(f = m * (1 + k));
691
+ }
692
+
693
+ return fn(v[(i - 1 + m) % m], v[i], v[(i + 1) % m], v[(i + 2) % m], f - i);
694
+
695
+ } else {
696
+ if (k < 0) {
697
+ return v[0] - (fn(v[0], v[0], v[1], v[1], -f) - v[0]);
698
+ }
699
+
700
+ if (k > 1) {
701
+ return v[m] - (fn(v[m], v[m], v[m - 1], v[m - 1], f - m) - v[m]);
702
+ }
703
+
704
+ return fn(v[i ? i - 1 : 0], v[i], v[m < i + 1 ? m : i + 1], v[m < i + 2 ? m : i + 2], f - i);
705
+
706
+ }
707
+ },
708
+
709
+ Utils: {
710
+ Linear: function (p0, p1, t) {
711
+ return (p1 - p0) * t + p0;
712
+ },
713
+
714
+ Bernstein: function (n, i) {
715
+ var fc = TWEEN.Interpolation.Utils.Factorial;
716
+
717
+ return fc(n) / fc(i) / fc(n - i);
718
+ },
719
+
720
+ Factorial: (function () {
721
+ var a = [1];
722
+
723
+ return function (n) {
724
+ var s = 1;
725
+
726
+ if (a[n]) {
727
+ return a[n];
728
+ }
729
+
730
+ for (var i = n; i > 1; i--) {
731
+ s *= i;
732
+ }
733
+
734
+ a[n] = s;
735
+ return s;
736
+ };
737
+ })(),
738
+
739
+ CatmullRom: function (p0, p1, p2, p3, t) {
740
+ var v0 = (p2 - p0) * 0.5;
741
+ var v1 = (p3 - p1) * 0.5;
742
+ var t2 = t * t;
743
+ var t3 = t * t2;
744
+
745
+ return (2 * p1 - 2 * p2 + v0 + v1) * t3 + (-3 * p1 + 3 * p2 - 2 * v0 - v1) * t2 + v0 * t + p1;
746
+
747
+ }
748
+
749
+ }
750
+
751
+ };
752
+
753
+ // UMD (Universal Module Definition)
754
+ (function (root) {
755
+ if (typeof define === 'function' && define.amd) {
756
+ // AMD
757
+ define([], function () {
758
+ return TWEEN;
759
+ });
760
+ } else if (typeof module !== 'undefined' && typeof exports === 'object') {
761
+ // Node.js
762
+ module.exports = TWEEN;
763
+ } else if (root !== undefined) {
764
+ // Global variable
765
+ root.TWEEN = TWEEN;
766
+ }
767
+ })(this);