@shopware-ag/dive 2.0.1-beta.8 → 2.0.1

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 (107) hide show
  1. package/README.md +7 -9
  2. package/build/chunks/AssetCache-BvUcYEFC.mjs +79 -0
  3. package/build/chunks/AssetCache-CSbNftve.cjs +1 -0
  4. package/build/chunks/{AssetExporter-TzKB2FHh.cjs → AssetExporter-DsbC2rqv.cjs} +1 -1
  5. package/build/chunks/{AssetExporter-QnOue3VT.mjs → AssetExporter-brT7ogoM.mjs} +1 -1
  6. package/build/chunks/{AssetLoader-C8Teswp4.mjs → AssetLoader-B07cARjB.mjs} +510 -507
  7. package/build/chunks/AssetLoader-CJNVpiKM.cjs +4 -0
  8. package/build/chunks/FileTypes-DQE3hqoS.cjs +30 -0
  9. package/build/chunks/{FileTypes-CXnW0NAe.mjs → FileTypes-rkWpMg2n.mjs} +155 -205
  10. package/build/chunks/OrbitController-BQ6SV1O_.mjs +1159 -0
  11. package/build/chunks/OrbitController-CpFQ3A1H.cjs +1 -0
  12. package/build/chunks/PerspectiveCamera-BByyG5R4.cjs +1 -0
  13. package/build/chunks/PerspectiveCamera-PMJPzAn3.mjs +34 -0
  14. package/build/chunks/{SelectTool-DFpr9XHT.mjs → SelectTool-7pU-VXgr.mjs} +4 -4
  15. package/build/chunks/SelectTool-BSlKpYbt.cjs +1 -0
  16. package/build/chunks/VisibilityLayerMask-BI7jPKdx.cjs +1 -0
  17. package/build/chunks/VisibilityLayerMask-CXgt1fJc.mjs +8 -0
  18. package/build/chunks/isFileTypeSupported-BSpswPHU.mjs +12 -0
  19. package/build/chunks/isFileTypeSupported-CrEqYiv9.cjs +1 -0
  20. package/build/chunks/network-error-BONfHWQq.mjs +14 -0
  21. package/build/chunks/network-error-CdDXil5g.cjs +1 -0
  22. package/build/chunks/package-CX-oVoMh.mjs +39 -0
  23. package/build/chunks/package-CubHy4zo.cjs +1 -0
  24. package/build/chunks/{parse-error-BFRJyIxM.mjs → parse-error-DfOPyLWM.mjs} +3 -3
  25. package/build/chunks/parse-error-Dy_EE4rL.cjs +1 -0
  26. package/build/dive.cjs +1 -1
  27. package/build/dive.mjs +295 -222
  28. package/build/plugins/ar/index.cjs +1 -1
  29. package/build/plugins/ar/index.mjs +59 -54
  30. package/build/plugins/assetcache/index.cjs +1 -0
  31. package/build/plugins/assetcache/index.d.ts +2 -0
  32. package/build/plugins/assetcache/index.mjs +5 -0
  33. package/build/plugins/assetexporter/index.cjs +1 -1
  34. package/build/plugins/assetexporter/index.mjs +1 -1
  35. package/build/plugins/assetloader/index.cjs +1 -1
  36. package/build/plugins/assetloader/index.mjs +1 -1
  37. package/build/plugins/mediacreator/index.cjs +1 -1
  38. package/build/plugins/mediacreator/index.mjs +13 -13
  39. package/build/plugins/orbitcontroller/index.cjs +1 -1
  40. package/build/plugins/orbitcontroller/index.mjs +1 -1
  41. package/build/plugins/orientationdisplay/index.cjs +1 -0
  42. package/build/plugins/orientationdisplay/index.d.ts +2 -0
  43. package/build/plugins/orientationdisplay/index.mjs +5 -0
  44. package/build/plugins/state/index.cjs +6 -6
  45. package/build/plugins/state/index.mjs +728 -728
  46. package/build/plugins/systeminfo/index.mjs +1 -1
  47. package/build/plugins/toolbox/index.cjs +1 -1
  48. package/build/plugins/toolbox/index.mjs +12 -12
  49. package/build/src/components/boundingbox/BoundingBox.d.ts +136 -0
  50. package/build/src/components/light/AmbientLight.d.ts +3 -1
  51. package/build/src/components/light/SceneLight.d.ts +3 -1
  52. package/build/src/core/Dive.d.ts +1 -1
  53. package/build/src/error/file-content/file-content-error.d.ts +4 -0
  54. package/build/src/error/index.d.ts +4 -0
  55. package/build/src/error/network/network-error.d.ts +1 -1
  56. package/build/src/error/parse/parse-error.d.ts +2 -1
  57. package/build/src/events/dispatcher/EventDispatcher.d.ts +6 -0
  58. package/build/src/events/index.d.ts +1 -1
  59. package/build/src/helpers/deepClone/deepClone.d.ts +34 -0
  60. package/build/src/helpers/index.d.ts +5 -4
  61. package/build/src/index.d.ts +1 -3
  62. package/build/src/plugins/ar/src/error/ar-errors.d.ts +7 -1
  63. package/build/src/plugins/ar/src/webxr/raycaster/WebXRRaycaster.d.ts +2 -2
  64. package/build/src/plugins/ar/src/webxr/touchscreencontrols/WebXRTouchscreenControls.d.ts +2 -2
  65. package/build/src/plugins/assetcache/index.d.ts +1 -0
  66. package/build/src/plugins/assetcache/src/cache/AssetCache.d.ts +12 -0
  67. package/build/src/plugins/assetcache/src/chunk/Chunk.d.ts +16 -0
  68. package/build/src/plugins/assetcache/src/index.d.ts +2 -0
  69. package/build/src/plugins/assetloader/src/loader/AssetLoader.d.ts +7 -1
  70. package/build/src/plugins/mediacreator/index.d.ts +1 -0
  71. package/build/src/plugins/mediacreator/src/MediaCreator.d.ts +2 -2
  72. package/build/src/plugins/mediacreator/types/MediaGenerationById.d.ts +5 -0
  73. package/build/src/plugins/mediacreator/types/MediaGenerationByPosition.d.ts +7 -0
  74. package/build/src/plugins/mediacreator/types/MediaGenerationResolution.d.ts +4 -0
  75. package/build/src/plugins/mediacreator/types/index.d.ts +3 -0
  76. package/build/src/plugins/orbitcontroller/src/OrbitController.d.ts +17 -2
  77. package/build/src/plugins/orientationdisplay/index.d.ts +2 -0
  78. package/build/src/plugins/{axiscamera/src/AxisCamera.d.ts → orientationdisplay/src/OrientationDisplay.d.ts} +5 -5
  79. package/build/src/plugins/orientationdisplay/src/axes/Axes.d.ts +6 -0
  80. package/build/src/plugins/state/src/actions/action.d.ts +4 -4
  81. package/build/src/plugins/state/src/actions/media/generatemedia.d.ts +2 -18
  82. package/build/src/plugins/state/src/actions/toolbox/setgizmovisible.d.ts +2 -2
  83. package/build/src/plugins/state/types/index.d.ts +2 -0
  84. package/build/src/plugins/systeminfo/src/SystemInfo.d.ts +1 -1
  85. package/build/src/plugins/toolbox/index.d.ts +1 -0
  86. package/build/src/plugins/toolbox/src/Toolbox.d.ts +2 -2
  87. package/build/src/plugins/toolbox/src/transform/TransformTool.d.ts +1 -1
  88. package/build/src/plugins/toolbox/types/ToolType.d.ts +1 -0
  89. package/build/src/plugins/toolbox/types/index.d.ts +1 -0
  90. package/package.json +12 -9
  91. package/build/chunks/AssetLoader-BfPa_oNd.cjs +0 -4
  92. package/build/chunks/FileTypes-B2JRjVgw.cjs +0 -30
  93. package/build/chunks/OrbitController-D-WNei2f.mjs +0 -940
  94. package/build/chunks/OrbitController-rMX8EHvJ.cjs +0 -1
  95. package/build/chunks/PerspectiveCamera-CONx93im.cjs +0 -1
  96. package/build/chunks/PerspectiveCamera-DUiWJJIj.mjs +0 -38
  97. package/build/chunks/SelectTool-DVqL2ebn.cjs +0 -1
  98. package/build/chunks/network-error-CHvryg-4.mjs +0 -18
  99. package/build/chunks/network-error-D_pq8VU6.cjs +0 -1
  100. package/build/chunks/package-BBfJ2Cc5.cjs +0 -1
  101. package/build/chunks/package-CHFUaMpF.mjs +0 -39
  102. package/build/chunks/parse-error-Bd09D_1L.cjs +0 -1
  103. package/build/plugins/axiscamera/index.cjs +0 -1
  104. package/build/plugins/axiscamera/index.d.ts +0 -2
  105. package/build/plugins/axiscamera/index.mjs +0 -4
  106. package/build/src/events/EventExecutor.d.ts +0 -5
  107. package/build/src/plugins/axiscamera/index.d.ts +0 -1
package/build/dive.mjs CHANGED
@@ -1,45 +1,48 @@
1
- var G = Object.defineProperty;
2
- var S = (r, s, t) => s in r ? G(r, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[s] = t;
3
- var i = (r, s, t) => S(r, typeof s != "symbol" ? s + "" : s, t);
4
- import { A as x, a as I, b as y } from "./chunks/FileTypes-CXnW0NAe.mjs";
5
- import { g as nt, f as ot, e as ht, d as lt, l as ct, s as dt, c as _t, x as pt, i as ut, j as gt, k as ft, o as mt, p as Et, m as Dt, q as Mt, u as wt, t as bt, v as xt, r as It, w as yt, n as Pt, E as Ht, F as Vt, G as zt, h as vt, S as Gt, y as St } from "./chunks/FileTypes-CXnW0NAe.mjs";
6
- import { U as d } from "./chunks/PerspectiveCamera-DUiWJJIj.mjs";
7
- import { C as jt, b as Ot, D as Rt, a as Tt, H as Yt, P as Lt } from "./chunks/PerspectiveCamera-DUiWJJIj.mjs";
8
- import { Object3D as u, Color as P, Vector3 as h, TorusGeometry as H, MeshBasicMaterial as f, Mesh as _, MathUtils as z, Euler as A, CylinderGeometry as m, BoxGeometry as j, PlaneGeometry as D } from "three";
9
- import { N as Xt, g as Nt, i as Ft } from "./chunks/network-error-CHvryg-4.mjs";
10
- import { f as qt, i as Qt } from "./chunks/findInterface-DbJ5qzbc.mjs";
11
- import { F as Wt, P as kt } from "./chunks/parse-error-BFRJyIxM.mjs";
12
- import { i as Bt, a as Jt } from "./chunks/PovSchema-DWWvr_ED.mjs";
13
- class M extends u {
14
- constructor(t, e, a, n, o) {
1
+ var S = Object.defineProperty;
2
+ var A = (r, s, t) => s in r ? S(r, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[s] = t;
3
+ var i = (r, s, t) => A(r, typeof s != "symbol" ? s + "" : s, t);
4
+ import { A as P, b as I, c as H } from "./chunks/FileTypes-rkWpMg2n.mjs";
5
+ import { g as ot, f as ht, e as lt, d as ct, l as dt, r as pt, D as ut, w as ft, i as _t, j as gt, k as mt, o as Et, m as Dt, p as wt, t as yt, s as Mt, u as xt, q as Pt, v as It, n as Ht, E as bt, F as Vt, G as zt, h as vt, S as Ot, x as St } from "./chunks/FileTypes-rkWpMg2n.mjs";
6
+ import { U as d } from "./chunks/VisibilityLayerMask-CXgt1fJc.mjs";
7
+ import { C as Gt, D as Rt, H as Tt, P as Yt } from "./chunks/VisibilityLayerMask-CXgt1fJc.mjs";
8
+ import { Object3D as f, Color as b, Vector3 as c, TorusGeometry as V, MeshBasicMaterial as g, Mesh as p, MathUtils as v, Euler as G, CylinderGeometry as E, BoxGeometry as R, PlaneGeometry as w } from "three";
9
+ import { D as Ct } from "./chunks/OrbitController-BQ6SV1O_.mjs";
10
+ import { D as Nt, a as Xt } from "./chunks/PerspectiveCamera-PMJPzAn3.mjs";
11
+ import { f as Zt, i as qt } from "./chunks/findInterface-DbJ5qzbc.mjs";
12
+ import { g as Wt, i as kt } from "./chunks/isFileTypeSupported-BSpswPHU.mjs";
13
+ import { F as Kt, N as Bt } from "./chunks/network-error-BONfHWQq.mjs";
14
+ import { F as $t, P as te } from "./chunks/parse-error-DfOPyLWM.mjs";
15
+ import { i as re, a as se } from "./chunks/PovSchema-DWWvr_ED.mjs";
16
+ class y extends f {
17
+ constructor(t, e, n, o, a) {
15
18
  super();
16
19
  i(this, "isHoverable", !0);
17
20
  i(this, "isDraggable", !0);
18
21
  i(this, "parent", null);
19
22
  i(this, "axis");
20
- i(this, "_color", new P(16711935));
23
+ i(this, "_color", new b(16711935));
21
24
  i(this, "_colorHover");
22
25
  i(this, "_hovered");
23
26
  i(this, "_highlight");
24
27
  i(this, "_lineMaterial");
25
28
  i(this, "_colliderMesh");
26
- this.name = "DIVERadialHandle", this.axis = t, this._color.set(o), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1;
27
- const c = new H(e, 0.01, 13, 48, a);
28
- this._lineMaterial = new f({
29
- color: o,
29
+ this.name = "DIVERadialHandle", this.axis = t, this._color.set(a), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1;
30
+ const h = new V(e, 0.01, 13, 48, n);
31
+ this._lineMaterial = new g({
32
+ color: a,
30
33
  depthTest: !1,
31
34
  depthWrite: !1
32
35
  });
33
- const l = new _(c, this._lineMaterial);
36
+ const l = new p(h, this._lineMaterial);
34
37
  l.layers.mask = d, l.renderOrder = 1 / 0, this.add(l);
35
- const g = new H(e, 0.1, 3, 48, a), E = new f({
38
+ const _ = new V(e, 0.1, 3, 48, n), D = new g({
36
39
  color: 16711935,
37
40
  transparent: !0,
38
41
  opacity: 0.15,
39
42
  depthTest: !1,
40
43
  depthWrite: !1
41
44
  });
42
- this._colliderMesh = new _(g, E), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this.add(this._colliderMesh), this.lookAt(n);
45
+ this._colliderMesh = new p(_, D), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this.add(this._colliderMesh), this.lookAt(o);
43
46
  }
44
47
  set debug(t) {
45
48
  this._colliderMesh.visible = t;
@@ -51,13 +54,13 @@ class M extends u {
51
54
  this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
52
55
  }
53
56
  get forwardVector() {
54
- return new h(0, 0, 1).applyQuaternion(this.quaternion).normalize();
57
+ return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
55
58
  }
56
59
  get rightVector() {
57
- return new h(1, 0, 0).applyQuaternion(this.quaternion).normalize();
60
+ return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
58
61
  }
59
62
  get upVector() {
60
- return new h(0, 1, 0).applyQuaternion(this.quaternion).normalize();
63
+ return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
61
64
  }
62
65
  reset() {
63
66
  this._lineMaterial.color = this._color;
@@ -78,82 +81,82 @@ class M extends u {
78
81
  this.parent && this.parent.onHandleDragEnd(this);
79
82
  }
80
83
  }
81
- function p(r, s) {
84
+ function u(r, s) {
82
85
  const t = (r + "e").split("e");
83
86
  return +(t[0] + "e" + (+t[1] + (s || 0)));
84
87
  }
85
- function O(r, s = 0) {
86
- const t = p(r, +s);
87
- return p(Math.ceil(t), -s);
88
+ function T(r, s = 0) {
89
+ const t = u(r, +s);
90
+ return u(Math.ceil(t), -s);
88
91
  }
89
- function R(r, s = 0) {
90
- const t = p(r, +s);
91
- return p(Math.floor(t), -s);
92
+ function Y(r, s = 0) {
93
+ const t = u(r, +s);
94
+ return u(Math.floor(t), -s);
92
95
  }
93
- function v(r, s = 0) {
94
- if (r < 0) return -v(-r, s);
95
- const t = p(r, +s);
96
- return p(Math.round(t), -s);
96
+ function O(r, s = 0) {
97
+ if (r < 0) return -O(-r, s);
98
+ const t = u(r, +s);
99
+ return u(Math.round(t), -s);
97
100
  }
98
- function T(r, s, t) {
101
+ function j(r, s, t) {
99
102
  return Math.atan2(
100
103
  r.clone().cross(s).dot(t),
101
104
  s.clone().dot(r)
102
105
  );
103
106
  }
104
- function Y(r, s = 0) {
105
- const t = p(r, +s);
106
- return p(Math.round(t), -s).toFixed(s);
107
+ function C(r, s = 0) {
108
+ const t = u(r, +s);
109
+ return u(Math.round(t), -s).toFixed(s);
107
110
  }
108
111
  function L(r, s = 0) {
109
- const t = p(r, +s);
110
- return p(Math.trunc(t), -s);
112
+ const t = u(r, +s);
113
+ return u(Math.trunc(t), -s);
111
114
  }
112
- function C(r) {
113
- return (z.radToDeg(r) + 360) % 360;
115
+ function N(r) {
116
+ return (v.radToDeg(r) + 360) % 360;
114
117
  }
115
118
  function X(r) {
116
- return z.degToRad(r);
119
+ return v.degToRad(r);
117
120
  }
118
- const N = {
119
- ceilExp: O,
120
- floorExp: R,
121
- roundExp: v,
122
- toFixedExp: Y,
121
+ const F = {
122
+ ceilExp: T,
123
+ floorExp: Y,
124
+ roundExp: O,
125
+ toFixedExp: C,
123
126
  truncateExp: L,
124
- signedAngleTo: T,
125
- radToDeg: C,
127
+ signedAngleTo: j,
128
+ radToDeg: N,
126
129
  degToRad: X
127
130
  };
128
- class F extends u {
131
+ class Z extends f {
129
132
  constructor(t) {
130
133
  super();
131
134
  i(this, "children");
132
135
  i(this, "_controller");
133
136
  i(this, "_startRot");
134
137
  this.name = "DIVERotateGizmo", this.children = [], this._startRot = null, this._controller = t, this.add(
135
- new M(
138
+ new y(
136
139
  "x",
137
140
  1,
138
141
  Math.PI / 2,
139
- new h(1, 0, 0),
140
- x
142
+ new c(1, 0, 0),
143
+ P
141
144
  )
142
145
  ), this.add(
143
- new M(
146
+ new y(
144
147
  "y",
145
148
  1,
146
149
  -Math.PI / 2,
147
- new h(0, 1, 0),
150
+ new c(0, 1, 0),
148
151
  I
149
152
  )
150
153
  ), this.add(
151
- new M(
154
+ new y(
152
155
  "z",
153
156
  1,
154
157
  Math.PI / 2,
155
- new h(0, 0, 1),
156
- y
158
+ new c(0, 0, 1),
159
+ H
157
160
  )
158
161
  );
159
162
  }
@@ -167,9 +170,9 @@ class F extends u {
167
170
  t.reset();
168
171
  });
169
172
  }
170
- handleHighlight(t, e, a) {
171
- this.children.forEach((n) => {
172
- a ? n.highlight = n.axis === t && a : n.highlight = n.axis === t && e;
173
+ handleHighlight(t, e, n) {
174
+ this.children.forEach((o) => {
175
+ n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
173
176
  });
174
177
  }
175
178
  onHandleHover(t, e) {
@@ -182,51 +185,51 @@ class F extends u {
182
185
  }
183
186
  onHandleDrag(t, e) {
184
187
  if (!this._startRot || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
185
- const a = e.dragCurrent.clone().sub(this.parent.parent.position).normalize(), n = e.dragStart.clone().sub(this.parent.parent.position).normalize(), o = N.signedAngleTo(
188
+ const n = e.dragCurrent.clone().sub(this.parent.parent.position).normalize(), o = e.dragStart.clone().sub(this.parent.parent.position).normalize(), a = F.signedAngleTo(
189
+ o,
186
190
  n,
187
- a,
188
191
  t.forwardVector
189
- ), c = new A(
190
- this._startRot.x + t.forwardVector.x * o,
191
- this._startRot.y + t.forwardVector.y * o,
192
- this._startRot.z + t.forwardVector.z * o
192
+ ), h = new G(
193
+ this._startRot.x + t.forwardVector.x * a,
194
+ this._startRot.y + t.forwardVector.y * a,
195
+ this._startRot.z + t.forwardVector.z * a
193
196
  );
194
- this.parent.parent.onChange(void 0, c);
197
+ this.parent.parent.onChange(void 0, h);
195
198
  }
196
199
  onHandleDragEnd(t) {
197
200
  this._startRot = null, this.handleHighlight(t.axis, !1, !1);
198
201
  }
199
202
  }
200
- class w extends u {
201
- constructor(t, e, a, n) {
203
+ class M extends f {
204
+ constructor(t, e, n, o) {
202
205
  super();
203
206
  i(this, "isHoverable", !0);
204
207
  i(this, "isDraggable", !0);
205
208
  i(this, "parent", null);
206
209
  i(this, "axis");
207
- i(this, "_color", new P(16711935));
210
+ i(this, "_color", new b(16711935));
208
211
  i(this, "_colorHover");
209
212
  i(this, "_hovered");
210
213
  i(this, "_highlight");
211
214
  i(this, "_lineMaterial");
212
215
  i(this, "_colliderMesh");
213
- this.name = "DIVEAxisHandle", this.axis = t, this._color.set(n), this._colorHover = this._color.clone().multiplyScalar(2), this._highlight = !1, this._hovered = !1;
214
- const o = new m(0.01, 0.01, e, 13);
215
- this._lineMaterial = new f({
216
- color: n,
216
+ this.name = "DIVEAxisHandle", this.axis = t, this._color.set(o), this._colorHover = this._color.clone().multiplyScalar(2), this._highlight = !1, this._hovered = !1;
217
+ const a = new E(0.01, 0.01, e, 13);
218
+ this._lineMaterial = new g({
219
+ color: o,
217
220
  depthTest: !1,
218
221
  depthWrite: !1
219
222
  });
220
- const c = new _(o, this._lineMaterial);
221
- c.layers.mask = d, c.renderOrder = 1 / 0, c.rotateX(Math.PI / 2), c.translateY(e / 2), this.add(c);
222
- const l = new m(0.1, 0.1, e, 3), g = new f({
223
+ const h = new p(a, this._lineMaterial);
224
+ h.layers.mask = d, h.renderOrder = 1 / 0, h.rotateX(Math.PI / 2), h.translateY(e / 2), this.add(h);
225
+ const l = new E(0.1, 0.1, e, 3), _ = new g({
223
226
  color: 16711935,
224
227
  transparent: !0,
225
228
  opacity: 0.15,
226
229
  depthTest: !1,
227
230
  depthWrite: !1
228
231
  });
229
- this._colliderMesh = new _(l, g), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(a.y * -Math.PI / 2), this.rotateY(a.x * Math.PI / 2);
232
+ this._colliderMesh = new p(l, _), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(n.y * -Math.PI / 2), this.rotateY(n.x * Math.PI / 2);
230
233
  }
231
234
  set debug(t) {
232
235
  this._colliderMesh.visible = t;
@@ -238,13 +241,13 @@ class w extends u {
238
241
  this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
239
242
  }
240
243
  get forwardVector() {
241
- return new h(0, 0, 1).applyQuaternion(this.quaternion).normalize();
244
+ return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
242
245
  }
243
246
  get rightVector() {
244
- return new h(1, 0, 0).applyQuaternion(this.quaternion).normalize();
247
+ return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
245
248
  }
246
249
  get upVector() {
247
- return new h(0, 1, 0).applyQuaternion(this.quaternion).normalize();
250
+ return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
248
251
  }
249
252
  reset() {
250
253
  this._lineMaterial.color = this._color;
@@ -265,18 +268,18 @@ class w extends u {
265
268
  this.parent && this.parent.onHandleDragEnd(this);
266
269
  }
267
270
  }
268
- class Z extends u {
271
+ class q extends f {
269
272
  constructor(t) {
270
273
  super();
271
274
  i(this, "_controller");
272
275
  i(this, "children");
273
276
  i(this, "_startPos");
274
277
  this.name = "DIVETranslateGizmo", this.children = [], this._startPos = null, this._controller = t, this.add(
275
- new w("x", 1, new h(1, 0, 0), x)
278
+ new M("x", 1, new c(1, 0, 0), P)
276
279
  ), this.add(
277
- new w("y", 1, new h(0, 1, 0), I)
280
+ new M("y", 1, new c(0, 1, 0), I)
278
281
  ), this.add(
279
- new w("z", 1, new h(0, 0, 1), y)
282
+ new M("z", 1, new c(0, 0, 1), H)
280
283
  );
281
284
  }
282
285
  set debug(t) {
@@ -289,9 +292,9 @@ class Z extends u {
289
292
  t.reset();
290
293
  });
291
294
  }
292
- handleHighlight(t, e, a) {
293
- this.children.forEach((n) => {
294
- a ? n.highlight = n.axis === t && a : n.highlight = n.axis === t && e;
295
+ handleHighlight(t, e, n) {
296
+ this.children.forEach((o) => {
297
+ n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
295
298
  });
296
299
  }
297
300
  onHandleHover(t, e) {
@@ -308,23 +311,23 @@ class Z extends u {
308
311
  }
309
312
  onHandleDrag(t, e) {
310
313
  if (!this._startPos || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
311
- const a = e.dragDelta.clone().projectOnVector(t.forwardVector);
314
+ const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
312
315
  this.parent.parent.onChange(
313
- this._startPos.clone().add(a)
316
+ this._startPos.clone().add(n)
314
317
  );
315
318
  }
316
319
  onHandleDragEnd(t) {
317
320
  this._startPos = null, this.handleHighlight(t.axis, !1, !1);
318
321
  }
319
322
  }
320
- class b extends u {
321
- constructor(t, e, a, n, o = 0.05) {
323
+ class x extends f {
324
+ constructor(t, e, n, o, a = 0.05) {
322
325
  super();
323
326
  i(this, "isHoverable", !0);
324
327
  i(this, "isDraggable", !0);
325
328
  i(this, "parent", null);
326
329
  i(this, "axis");
327
- i(this, "_color", new P(16711935));
330
+ i(this, "_color", new b(16711935));
328
331
  i(this, "_colorHover");
329
332
  i(this, "_hovered");
330
333
  i(this, "_highlight");
@@ -332,36 +335,36 @@ class b extends u {
332
335
  i(this, "_colliderMesh");
333
336
  i(this, "_box");
334
337
  i(this, "_boxSize");
335
- this.name = "DIVEScaleHandle", this.axis = t, this._color.set(n), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1, this._boxSize = o;
336
- const c = new m(
338
+ this.name = "DIVEScaleHandle", this.axis = t, this._color.set(o), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1, this._boxSize = a;
339
+ const h = new E(
337
340
  0.01,
338
341
  0.01,
339
- e - o / 2,
342
+ e - a / 2,
340
343
  13
341
344
  );
342
- this._lineMaterial = new f({
343
- color: n,
345
+ this._lineMaterial = new g({
346
+ color: o,
344
347
  depthTest: !1,
345
348
  depthWrite: !1
346
349
  });
347
- const l = new _(c, this._lineMaterial);
348
- l.layers.mask = d, l.renderOrder = 1 / 0, l.rotateX(Math.PI / 2), l.translateY(e / 2 - o / 4), this.add(l), this._box = new _(
349
- new j(o, o, o),
350
+ const l = new p(h, this._lineMaterial);
351
+ l.layers.mask = d, l.renderOrder = 1 / 0, l.rotateX(Math.PI / 2), l.translateY(e / 2 - a / 4), this.add(l), this._box = new p(
352
+ new R(a, a, a),
350
353
  this._lineMaterial
351
- ), this._box.layers.mask = d, this._box.renderOrder = 1 / 0, this._box.rotateX(Math.PI / 2), this._box.translateY(e - o / 2), this._box.rotateZ(a.x * Math.PI / 2), this._box.rotateX(a.z * Math.PI / 2), this.add(this._box);
352
- const g = new m(
354
+ ), this._box.layers.mask = d, this._box.renderOrder = 1 / 0, this._box.rotateX(Math.PI / 2), this._box.translateY(e - a / 2), this._box.rotateZ(n.x * Math.PI / 2), this._box.rotateX(n.z * Math.PI / 2), this.add(this._box);
355
+ const _ = new E(
353
356
  0.1,
354
357
  0.1,
355
- e + o / 2,
358
+ e + a / 2,
356
359
  3
357
- ), E = new f({
360
+ ), D = new g({
358
361
  color: 16711935,
359
362
  transparent: !0,
360
363
  opacity: 0.15,
361
364
  depthTest: !1,
362
365
  depthWrite: !1
363
366
  });
364
- this._colliderMesh = new _(g, E), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(a.y * -Math.PI / 2), this.rotateY(a.x * Math.PI / 2);
367
+ this._colliderMesh = new p(_, D), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(n.y * -Math.PI / 2), this.rotateY(n.x * Math.PI / 2);
365
368
  }
366
369
  set debug(t) {
367
370
  this._colliderMesh.visible = t;
@@ -373,20 +376,20 @@ class b extends u {
373
376
  this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
374
377
  }
375
378
  get forwardVector() {
376
- return new h(0, 0, 1).applyQuaternion(this.quaternion).normalize();
379
+ return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
377
380
  }
378
381
  get rightVector() {
379
- return new h(1, 0, 0).applyQuaternion(this.quaternion).normalize();
382
+ return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
380
383
  }
381
384
  get upVector() {
382
- return new h(0, 1, 0).applyQuaternion(this.quaternion).normalize();
385
+ return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
383
386
  }
384
387
  reset() {
385
388
  this._lineMaterial.color = this._color;
386
389
  }
387
390
  update(t) {
388
391
  this._box.scale.copy(
389
- new h(1, 1, 1).sub(this.forwardVector).add(
392
+ new c(1, 1, 1).sub(this.forwardVector).add(
390
393
  // to then add ...
391
394
  t.clone().multiply(this.forwardVector)
392
395
  // that is scaled by the forward vector again to get the forward vector as the only direction
@@ -409,7 +412,7 @@ class b extends u {
409
412
  this.parent && this.parent.onAxisDragEnd(this);
410
413
  }
411
414
  }
412
- class q extends u {
415
+ class Q extends f {
413
416
  constructor(t) {
414
417
  super();
415
418
  i(this, "isHoverable", !0);
@@ -417,11 +420,11 @@ class q extends u {
417
420
  i(this, "_controller");
418
421
  i(this, "_startScale");
419
422
  this.name = "DIVEScaleGizmo", this.children = [], this._startScale = null, this._controller = t, this.add(
420
- new b("x", 1, new h(1, 0, 0), x)
423
+ new x("x", 1, new c(1, 0, 0), P)
421
424
  ), this.add(
422
- new b("y", 1, new h(0, 1, 0), I)
425
+ new x("y", 1, new c(0, 1, 0), I)
423
426
  ), this.add(
424
- new b("z", 1, new h(0, 0, 1), y)
427
+ new x("z", 1, new c(0, 0, 1), H)
425
428
  );
426
429
  }
427
430
  set debug(t) {
@@ -439,9 +442,9 @@ class q extends u {
439
442
  e.update(t);
440
443
  });
441
444
  }
442
- handleHighlight(t, e, a) {
443
- this.children.forEach((n) => {
444
- a ? n.highlight = n.axis === t && a : n.highlight = n.axis === t && e;
445
+ handleHighlight(t, e, n) {
446
+ this.children.forEach((o) => {
447
+ n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
445
448
  });
446
449
  }
447
450
  onHoverAxis(t, e) {
@@ -458,36 +461,36 @@ class q extends u {
458
461
  }
459
462
  onAxisDrag(t, e) {
460
463
  if (!this._startScale || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
461
- const a = e.dragDelta.clone().projectOnVector(t.forwardVector);
464
+ const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
462
465
  this.parent.parent.onChange(
463
466
  void 0,
464
467
  void 0,
465
- this._startScale.clone().add(a)
468
+ this._startScale.clone().add(n)
466
469
  );
467
470
  }
468
471
  onAxisDragEnd(t) {
469
472
  this._startScale = null, this.handleHighlight(t.axis, !1, !1);
470
473
  }
471
474
  }
472
- class Q extends u {
475
+ class W extends f {
473
476
  constructor() {
474
477
  super();
475
478
  i(this, "_meshX");
476
479
  i(this, "_meshY");
477
480
  i(this, "_meshZ");
478
481
  this.name = "DIVEGizmoPlane";
479
- const t = new f({
482
+ const t = new g({
480
483
  transparent: !0,
481
484
  opacity: 0.15,
482
485
  depthTest: !1,
483
486
  depthWrite: !1,
484
487
  side: 2
485
- }), e = new D(100, 100, 2, 2), a = t.clone();
486
- a.color.set(16711680), this._meshX = new _(e, a), this._meshX.layers.mask = d, this._meshX.rotateY(Math.PI / 2);
487
- const n = new D(100, 100, 2, 2), o = t.clone();
488
- o.color.set(65280), this._meshY = new _(n, o), this._meshY.layers.mask = d, this._meshY.rotateX(-Math.PI / 2);
489
- const c = new D(100, 100, 2, 2), l = t.clone();
490
- l.color.set(255), this._meshZ = new _(c, l), this._meshZ.layers.mask = d;
488
+ }), e = new w(100, 100, 2, 2), n = t.clone();
489
+ n.color.set(16711680), this._meshX = new p(e, n), this._meshX.layers.mask = d, this._meshX.rotateY(Math.PI / 2);
490
+ const o = new w(100, 100, 2, 2), a = t.clone();
491
+ a.color.set(65280), this._meshY = new p(o, a), this._meshY.layers.mask = d, this._meshY.rotateX(-Math.PI / 2);
492
+ const h = new w(100, 100, 2, 2), l = t.clone();
493
+ l.color.set(255), this._meshZ = new p(h, l), this._meshZ.layers.mask = d;
491
494
  }
492
495
  get XPlane() {
493
496
  return this._meshX;
@@ -525,7 +528,7 @@ class Q extends u {
525
528
  }
526
529
  }
527
530
  }
528
- class B extends u {
531
+ class J extends f {
529
532
  constructor(t) {
530
533
  super();
531
534
  i(this, "_mode");
@@ -539,7 +542,7 @@ class B extends u {
539
542
  this.name = "DIVEGizmo", t.addEventListener("change", () => {
540
543
  const e = t.getDistance() / 2.5;
541
544
  this.scale.set(e, e, e);
542
- }), this._mode = "translate", this._gizmoNode = new u(), this.add(this._gizmoNode), this._translateGizmo = new Z(t), this._rotateGizmo = new F(t), this._scaleGizmo = new q(t), this._gizmoPlane = new Q(), this._gizmoPlane.visible = !1, this._object = null;
545
+ }), this._mode = "translate", this._gizmoNode = new f(), this.add(this._gizmoNode), this._translateGizmo = new q(t), this._rotateGizmo = new Z(t), this._scaleGizmo = new Q(t), this._gizmoPlane = new W(), this._gizmoPlane.visible = !1, this._object = null;
543
546
  }
544
547
  get mode() {
545
548
  return this._mode;
@@ -565,27 +568,116 @@ class B extends u {
565
568
  detach() {
566
569
  return this._object = null, this.assemble(), this;
567
570
  }
568
- onHover(t, e, a) {
569
- a && this._gizmoPlane.assemble(t, e);
571
+ onHover(t, e, n) {
572
+ n && this._gizmoPlane.assemble(t, e);
570
573
  }
571
- onChange(t, e, a) {
572
- this.object !== null && (t && (this.position.copy(t), this.object.position.copy(t)), e && this.object.rotation.copy(e), a && (this.object.scale.copy(a), this._scaleGizmo.update(a)));
574
+ onChange(t, e, n) {
575
+ this.object !== null && (t && (this.position.copy(t), this.object.position.copy(t)), e && this.object.rotation.copy(e), n && (this.object.scale.copy(n), this._scaleGizmo.update(n)));
573
576
  }
574
577
  assemble() {
575
578
  this._gizmoNode.clear(), this._gizmoPlane.clear(), this._translateGizmo.reset(), this._rotateGizmo.reset(), this._scaleGizmo.reset(), this.object !== null && (this._mode === "translate" && this._gizmoNode.add(this._translateGizmo), this._mode === "rotate" && this._gizmoNode.add(this._rotateGizmo), this._mode === "scale" && this._gizmoNode.add(this._scaleGizmo), this.add(this._gizmoPlane));
576
579
  }
577
580
  }
578
- class J {
581
+ class $ {
579
582
  constructor() {
580
583
  i(this, "isMovable", !0);
581
584
  }
582
585
  }
583
- class $ {
586
+ class tt {
584
587
  constructor() {
585
588
  i(this, "isSelectable", !0);
586
589
  }
587
590
  }
588
- const V = (r, s) => {
591
+ function et(r, s) {
592
+ return s.forEach((t) => {
593
+ Object.getOwnPropertyNames(t.prototype).forEach((n) => {
594
+ if (n === "constructor")
595
+ return;
596
+ const o = Object.getOwnPropertyDescriptor(
597
+ t.prototype,
598
+ n
599
+ );
600
+ Object.defineProperty(r.prototype, n, o);
601
+ });
602
+ const e = new t();
603
+ Object.getOwnPropertyNames(e).forEach((n) => {
604
+ const o = Object.getOwnPropertyDescriptor(
605
+ e,
606
+ n
607
+ );
608
+ Object.defineProperty(r.prototype, n, o);
609
+ });
610
+ }), r;
611
+ }
612
+ function m(r, s = /* @__PURE__ */ new WeakMap()) {
613
+ if (r === null || typeof r != "object")
614
+ return r;
615
+ if (s.has(r))
616
+ return s.get(r);
617
+ if (r instanceof Date)
618
+ return new Date(r.getTime());
619
+ if (r instanceof RegExp)
620
+ return new RegExp(r.source, r.flags);
621
+ if (Array.isArray(r)) {
622
+ const a = [];
623
+ s.set(r, a);
624
+ for (let h = 0; h < r.length; h++)
625
+ a[h] = m(r[h], s);
626
+ return a;
627
+ }
628
+ if (r instanceof Map) {
629
+ const a = /* @__PURE__ */ new Map();
630
+ s.set(r, a);
631
+ for (const [
632
+ h,
633
+ l
634
+ ] of r)
635
+ a.set(m(h, s), m(l, s));
636
+ return a;
637
+ }
638
+ if (r instanceof Set) {
639
+ const a = /* @__PURE__ */ new Set();
640
+ s.set(r, a);
641
+ for (const h of r)
642
+ a.add(m(h, s));
643
+ return a;
644
+ }
645
+ const t = r;
646
+ if (typeof t.clone == "function") {
647
+ const a = t.clone();
648
+ return s.set(r, a), a;
649
+ }
650
+ const e = Object.create(Object.getPrototypeOf(r));
651
+ s.set(r, e);
652
+ const n = Object.getOwnPropertyNames(r);
653
+ for (const a of n) {
654
+ const h = Object.getOwnPropertyDescriptor(r, a);
655
+ if (h)
656
+ if (h.value !== void 0) {
657
+ const l = m(h.value, s);
658
+ Object.defineProperty(e, a, {
659
+ ...h,
660
+ value: l
661
+ });
662
+ } else
663
+ Object.defineProperty(e, a, h);
664
+ }
665
+ const o = Object.getOwnPropertySymbols(r);
666
+ for (const a of o) {
667
+ const h = Object.getOwnPropertyDescriptor(r, a);
668
+ if (h)
669
+ if (h.value !== void 0) {
670
+ const l = m(h.value, s);
671
+ Object.defineProperty(e, a, {
672
+ ...h,
673
+ value: l
674
+ });
675
+ } else
676
+ Object.defineProperty(e, a, h);
677
+ }
678
+ return e;
679
+ }
680
+ const z = (r, s) => {
589
681
  if (Object.keys(r).length === 0 && Object.keys(s).length === 0)
590
682
  return {};
591
683
  if (typeof r != "object" || typeof s != "object")
@@ -601,24 +693,24 @@ const V = (r, s) => {
601
693
  t = { ...t, [e]: s[e] };
602
694
  return;
603
695
  }
604
- const a = r[e], n = s[e];
605
- if (a.length === 0 && n.length === 0) {
696
+ const n = r[e], o = s[e];
697
+ if (n.length === 0 && o.length === 0) {
606
698
  t = { ...t };
607
699
  return;
608
700
  }
609
- if (a.length !== n.length) {
701
+ if (n.length !== o.length) {
610
702
  t = { ...t, [e]: s[e] };
611
703
  return;
612
704
  }
613
- const o = [];
614
- if (n.forEach((c, l) => {
615
- const g = V(
616
- a[l],
617
- n[l]
705
+ const a = [];
706
+ if (o.forEach((h, l) => {
707
+ const _ = z(
708
+ n[l],
709
+ o[l]
618
710
  );
619
- Object.keys(g).length && o.push(n[l]);
620
- }), Object.keys(o).length) {
621
- t = { ...t, [e]: o };
711
+ Object.keys(_).length && a.push(o[l]);
712
+ }), Object.keys(a).length) {
713
+ t = { ...t, [e]: a };
622
714
  return;
623
715
  }
624
716
  return;
@@ -628,102 +720,83 @@ const V = (r, s) => {
628
720
  t = { ...t, [e]: s[e] };
629
721
  return;
630
722
  }
631
- const a = V(
723
+ const n = z(
632
724
  r[e],
633
725
  s[e]
634
726
  );
635
- if (Object.keys(a).length) {
636
- t = { ...t, [e]: a };
727
+ if (Object.keys(n).length) {
728
+ t = { ...t, [e]: n };
637
729
  return;
638
730
  }
639
731
  }
640
732
  r[e] !== s[e] && (t = { ...t, [e]: s[e] });
641
733
  }), t;
642
734
  };
643
- function tt(r, s) {
644
- return s.forEach((t) => {
645
- Object.getOwnPropertyNames(t.prototype).forEach((a) => {
646
- if (a === "constructor")
647
- return;
648
- const n = Object.getOwnPropertyDescriptor(
649
- t.prototype,
650
- a
651
- );
652
- Object.defineProperty(r.prototype, a, n);
653
- });
654
- const e = new t();
655
- Object.getOwnPropertyNames(e).forEach((a) => {
656
- const n = Object.getOwnPropertyDescriptor(
657
- e,
658
- a
659
- );
660
- Object.defineProperty(r.prototype, a, n);
661
- });
662
- }), r;
663
- }
664
- function et(r) {
735
+ function rt(r) {
665
736
  return r.entityType === "group";
666
737
  }
667
- function rt(r) {
738
+ function st(r) {
668
739
  return r.entityType === "light";
669
740
  }
670
741
  function it(r) {
671
742
  return r.entityType === "primitive";
672
743
  }
673
744
  export {
674
- y as AxesColorBlue,
675
- nt as AxesColorBlueLetter,
745
+ H as AxesColorBlue,
746
+ ot as AxesColorBlueLetter,
676
747
  I as AxesColorGreen,
677
- ot as AxesColorGreenLetter,
678
- x as AxesColorRed,
679
- ht as AxesColorRedLetter,
680
- jt as COORDINATE_LAYER_MASK,
681
- Ot as DEFAULT_LAYER_MASK,
682
- lt as DIVE,
683
- ct as DIVEAmbientLight,
684
- dt as DIVEClock,
685
- _t as DIVEDefaultSettings,
686
- pt as DIVEEngine,
687
- ut as DIVEFloor,
688
- B as DIVEGizmo,
748
+ ht as AxesColorGreenLetter,
749
+ P as AxesColorRed,
750
+ lt as AxesColorRedLetter,
751
+ Gt as COORDINATE_LAYER_MASK,
752
+ Rt as DEFAULT_LAYER_MASK,
753
+ ct as DIVE,
754
+ dt as DIVEAmbientLight,
755
+ pt as DIVEClock,
756
+ ut as DIVEDefaultSettings,
757
+ ft as DIVEEngine,
758
+ _t as DIVEFloor,
759
+ J as DIVEGizmo,
689
760
  gt as DIVEGrid,
690
- ft as DIVEGroup,
691
- N as DIVEMath,
692
- mt as DIVEModel,
693
- J as DIVEMovable,
694
- Et as DIVENode,
695
- Rt as DIVEPerspectiveCamera,
696
- Tt as DIVEPerspectiveCameraDefaultSettings,
761
+ mt as DIVEGroup,
762
+ F as DIVEMath,
763
+ Et as DIVEModel,
764
+ $ as DIVEMovable,
765
+ Ct as DIVENode,
766
+ Nt as DIVEPerspectiveCamera,
767
+ Xt as DIVEPerspectiveCameraDefaultSettings,
697
768
  Dt as DIVEPointLight,
698
- Mt as DIVEPrimitive,
699
- wt as DIVERenderPipeline,
700
- bt as DIVERenderPipelineDefaultSettings,
769
+ wt as DIVEPrimitive,
770
+ yt as DIVERenderPipeline,
771
+ Mt as DIVERenderPipelineDefaultSettings,
701
772
  xt as DIVEResizeManager,
702
- It as DIVERoot,
703
- yt as DIVEScene,
704
- Pt as DIVESceneLight,
705
- $ as DIVESelectable,
706
- Ht as EngineDefaultSettings,
773
+ Pt as DIVERoot,
774
+ It as DIVEScene,
775
+ Ht as DIVESceneLight,
776
+ tt as DIVESelectable,
777
+ bt as EngineDefaultSettings,
707
778
  Vt as FILE_TYPES,
708
- Wt as FileTypeError,
779
+ Kt as FileContentError,
780
+ $t as FileTypeError,
709
781
  zt as GRID_CENTER_LINE_COLOR,
710
782
  vt as GRID_SIDE_LINE_COLOR,
711
- Yt as HELPER_LAYER_MASK,
712
- Xt as NetworkError,
713
- Lt as PRODUCT_LAYER_MASK,
714
- kt as ParseError,
715
- Gt as SUPPORTED_FILE_TYPES,
783
+ Tt as HELPER_LAYER_MASK,
784
+ Bt as NetworkError,
785
+ Yt as PRODUCT_LAYER_MASK,
786
+ te as ParseError,
787
+ Ot as SUPPORTED_FILE_TYPES,
716
788
  d as UI_LAYER_MASK,
717
- tt as applyMixins,
718
- qt as findInterface,
789
+ et as applyMixins,
790
+ m as deepClone,
791
+ Zt as findInterface,
719
792
  St as findSceneRecursive,
720
- Nt as getFileTypeFromUri,
721
- V as getObjectDelta,
722
- Qt as implementsInterface,
723
- Ft as isFileTypeSupported,
724
- et as isGroupSchema,
725
- rt as isLightSchema,
726
- Bt as isModelSchema,
727
- Jt as isPovSchema,
793
+ Wt as getFileTypeFromUri,
794
+ z as getObjectDelta,
795
+ qt as implementsInterface,
796
+ kt as isFileTypeSupported,
797
+ rt as isGroupSchema,
798
+ st as isLightSchema,
799
+ re as isModelSchema,
800
+ se as isPovSchema,
728
801
  it as isPrimitiveSchema
729
802
  };