@quick-threejs/reactive 0.1.26 → 0.1.28

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.
package/dist/main.mjs CHANGED
@@ -1,10 +1,10 @@
1
- var Xe = Object.defineProperty;
2
- var $e = (c, e, t) => e in c ? Xe(c, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[e] = t;
3
- var E = (c, e, t) => $e(c, typeof e != "symbol" ? e + "" : e, t);
4
- import { s as V, C as We, P as qe, a as ve, f as Ye, m as ce, b as Ce, J as ee, K as Qe, i as y, S as Je, c as Ze, W as et, d as Me, e as tt, L as st, R as nt, U as rt, g as it, h as Ie, A as z, D as X, j as Te, Q as ot } from "./app.module-ZQDNY2JF.mjs";
5
- import { k as sn, o as nn, n as rn, l as on } from "./app.module-ZQDNY2JF.mjs";
6
- import { TrianglesDrawMode as at, TriangleFanDrawMode as le, TriangleStripDrawMode as Oe, Loader as Ne, LoaderUtils as j, FileLoader as $, Color as D, LinearSRGBColorSpace as S, SpotLight as ct, PointLight as lt, DirectionalLight as ut, MeshBasicMaterial as B, SRGBColorSpace as N, MeshPhysicalMaterial as v, Vector2 as De, Matrix4 as W, Vector3 as F, Quaternion as Pe, InstancedMesh as dt, InstancedBufferAttribute as ht, Object3D as ke, TextureLoader as ft, ImageBitmapLoader as Fe, BufferAttribute as K, InterleavedBuffer as pt, InterleavedBufferAttribute as mt, LinearFilter as ue, LinearMipmapLinearFilter as He, RepeatWrapping as de, NearestFilter as Ue, PointsMaterial as gt, Material as te, LineBasicMaterial as At, MeshStandardMaterial as Ge, DoubleSide as Tt, PropertyBinding as _t, BufferGeometry as Be, SkinnedMesh as Rt, Mesh as Et, LineSegments as wt, Line as Lt, LineLoop as xt, Points as yt, Group as se, PerspectiveCamera as bt, MathUtils as St, OrthographicCamera as vt, Skeleton as Ct, AnimationClip as Mt, Bone as It, InterpolateLinear as je, ColorManagement as he, NearestMipmapNearestFilter as Ot, LinearMipmapNearestFilter as Nt, NearestMipmapLinearFilter as Dt, ClampToEdgeWrapping as Pt, MirroredRepeatWrapping as kt, InterpolateDiscrete as Ft, FrontSide as Ht, Texture as _e, VectorKeyframeTrack as Re, NumberKeyframeTrack as Ee, QuaternionKeyframeTrack as we, Box3 as Ut, Sphere as Gt, Interpolant as Bt, LoadingManager as jt, CubeTextureLoader as Kt, AudioLoader as Vt, VideoTexture as Ke, CanvasTexture as zt } from "three";
7
- class Ae {
1
+ var $e = Object.defineProperty;
2
+ var We = (c, e, t) => e in c ? $e(c, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[e] = t;
3
+ var E = (c, e, t) => We(c, typeof e != "symbol" ? e + "" : e, t);
4
+ import { s as V, C as qe, P as Ye, a as Ce, f as Qe, m as le, b as Me, J as ee, K as Je, i as y, S as Ze, c as et, W as te, d as Ie, e as tt, L as st, R as nt, U as rt, g as it, h as Oe, A as z, D as X, j as _e, Q as ot } from "./app.module-n-JVGlLg.mjs";
5
+ import { k as sn, o as nn, n as rn, l as on } from "./app.module-n-JVGlLg.mjs";
6
+ import { TrianglesDrawMode as at, TriangleFanDrawMode as ue, TriangleStripDrawMode as Ne, Loader as De, LoaderUtils as j, FileLoader as $, Color as D, LinearSRGBColorSpace as S, SpotLight as ct, PointLight as lt, DirectionalLight as ut, MeshBasicMaterial as B, SRGBColorSpace as N, MeshPhysicalMaterial as v, Vector2 as Pe, Matrix4 as W, Vector3 as F, Quaternion as ke, InstancedMesh as dt, InstancedBufferAttribute as ht, Object3D as Fe, TextureLoader as ft, ImageBitmapLoader as He, BufferAttribute as K, InterleavedBuffer as pt, InterleavedBufferAttribute as mt, LinearFilter as de, LinearMipmapLinearFilter as Ue, RepeatWrapping as he, NearestFilter as Ge, PointsMaterial as gt, Material as se, LineBasicMaterial as At, MeshStandardMaterial as Be, DoubleSide as Tt, PropertyBinding as _t, BufferGeometry as je, SkinnedMesh as Rt, Mesh as Et, LineSegments as wt, Line as Lt, LineLoop as xt, Points as yt, Group as ne, PerspectiveCamera as bt, MathUtils as St, OrthographicCamera as vt, Skeleton as Ct, AnimationClip as Mt, Bone as It, InterpolateLinear as Ke, ColorManagement as fe, NearestMipmapNearestFilter as Ot, LinearMipmapNearestFilter as Nt, NearestMipmapLinearFilter as Dt, ClampToEdgeWrapping as Pt, MirroredRepeatWrapping as kt, InterpolateDiscrete as Ft, FrontSide as Ht, Texture as Re, VectorKeyframeTrack as Ee, NumberKeyframeTrack as we, QuaternionKeyframeTrack as Le, Box3 as Ut, Sphere as Gt, Interpolant as Bt, LoadingManager as jt, CubeTextureLoader as Kt, AudioLoader as Vt, VideoTexture as Ve, CanvasTexture as zt } from "three";
7
+ class Te {
8
8
  constructor() {
9
9
  /**
10
10
  * @description The app worker logic location.
@@ -111,7 +111,7 @@ var Xt = Object.defineProperty, $t = Object.getOwnPropertyDescriptor, Wt = (c, e
111
111
  };
112
112
  let q = class {
113
113
  constructor() {
114
- E(this, "workerPool", We(void 0, !0));
114
+ E(this, "workerPool", qe(void 0, !0));
115
115
  E(this, "canvas");
116
116
  E(this, "worker");
117
117
  E(this, "thread");
@@ -128,7 +128,7 @@ var qt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, Qt = (c, e
128
128
  (n = c[i]) && (s = (r ? n(e, t, s) : n(s)) || s);
129
129
  return r && s && qt(e, t, s), s;
130
130
  }, Jt = (c, e) => (t, r) => e(t, r, c);
131
- let fe = class extends qe {
131
+ let pe = class extends Ye {
132
132
  constructor(e) {
133
133
  super();
134
134
  E(this, "canvas");
@@ -136,15 +136,15 @@ let fe = class extends qe {
136
136
  }
137
137
  init(e) {
138
138
  this.canvas = e;
139
- for (const t of ve) {
139
+ for (const t of Ce) {
140
140
  const r = t.startsWith("mouse") || t.startsWith("pointer") || t.startsWith("touch") ? this.mouseEventHandler : t.startsWith("key") ? this.keyEventHandler : t === "resize" ? this.uiEventHandler : t === "wheel" ? this.wheelEventHandler : this.preventDefaultHandler;
141
- this[`${t}$`] = Ye(
141
+ this[`${t}$`] = Qe(
142
142
  t === "resize" ? window : e,
143
143
  t
144
144
  ).pipe(
145
145
  // @ts-ignore
146
- ce(r.bind(this)),
147
- Ce((s) => !(t === "keydown" && !s))
146
+ le(r.bind(this)),
147
+ Me((s) => !(t === "keydown" && !s))
148
148
  ), this[`${t}$`].subscribe((s) => {
149
149
  var i, n;
150
150
  (n = (i = this._service.thread) == null ? void 0 : i[t]) == null || n.call(i, s);
@@ -207,21 +207,21 @@ let fe = class extends qe {
207
207
  };
208
208
  }
209
209
  keyEventHandler(e) {
210
- if (Qe.includes(e.code))
210
+ if (Je.includes(e.code))
211
211
  return e.preventDefault(), {
212
212
  ...this.getScreenSizes(),
213
213
  ...ee(e, ["ctrlKey", "metaKey", "shiftKey", "keyCode"])
214
214
  };
215
215
  }
216
216
  };
217
- fe = Qt([
217
+ pe = Qt([
218
218
  V(),
219
219
  Jt(0, y(q))
220
- ], fe);
221
- function Le(c, e) {
220
+ ], pe);
221
+ function xe(c, e) {
222
222
  if (e === at)
223
223
  return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."), c;
224
- if (e === le || e === Oe) {
224
+ if (e === ue || e === Ne) {
225
225
  let t = c.getIndex();
226
226
  if (t === null) {
227
227
  const n = [], a = c.getAttribute("position");
@@ -233,7 +233,7 @@ function Le(c, e) {
233
233
  return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."), c;
234
234
  }
235
235
  const r = t.count - 2, s = [];
236
- if (e === le)
236
+ if (e === ue)
237
237
  for (let n = 1; n <= r; n++)
238
238
  s.push(t.getX(0)), s.push(t.getX(n)), s.push(t.getX(n + 1));
239
239
  else
@@ -245,7 +245,7 @@ function Le(c, e) {
245
245
  } else
246
246
  return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:", e), c;
247
247
  }
248
- class Zt extends Ne {
248
+ class Zt extends De {
249
249
  constructor(e) {
250
250
  super(e), this.dracoLoader = null, this.ktx2Loader = null, this.meshoptDecoder = null, this.pluginCallbacks = [], this.register(function(t) {
251
251
  return new rs(t);
@@ -328,7 +328,7 @@ class Zt extends Ne {
328
328
  if (typeof e == "string")
329
329
  i = JSON.parse(e);
330
330
  else if (e instanceof ArrayBuffer)
331
- if (o.decode(new Uint8Array(e, 0, 4)) === Ve) {
331
+ if (o.decode(new Uint8Array(e, 0, 4)) === ze) {
332
332
  try {
333
333
  n[T.KHR_BINARY_GLTF] = new _s(e);
334
334
  } catch (u) {
@@ -521,7 +521,7 @@ class rs {
521
521
  const i = [], n = s.extensions[this.name];
522
522
  if (n.clearcoatFactor !== void 0 && (t.clearcoat = n.clearcoatFactor), n.clearcoatTexture !== void 0 && i.push(r.assignTexture(t, "clearcoatMap", n.clearcoatTexture)), n.clearcoatRoughnessFactor !== void 0 && (t.clearcoatRoughness = n.clearcoatRoughnessFactor), n.clearcoatRoughnessTexture !== void 0 && i.push(r.assignTexture(t, "clearcoatRoughnessMap", n.clearcoatRoughnessTexture)), n.clearcoatNormalTexture !== void 0 && (i.push(r.assignTexture(t, "clearcoatNormalMap", n.clearcoatNormalTexture)), n.clearcoatNormalTexture.scale !== void 0)) {
523
523
  const a = n.clearcoatNormalTexture.scale;
524
- t.clearcoatNormalScale = new De(a, a);
524
+ t.clearcoatNormalScale = new Pe(a, a);
525
525
  }
526
526
  return Promise.all(i);
527
527
  }
@@ -801,7 +801,7 @@ class Ts {
801
801
  return a.length < 1 ? null : (a.push(this.parser.createNodeMesh(e)), Promise.all(a).then((l) => {
802
802
  const d = l.pop(), u = d.isGroup ? d.children : [d], h = l[0].count, f = [];
803
803
  for (const p of u) {
804
- const A = new W(), m = new F(), g = new Pe(), _ = new F(1, 1, 1), w = new dt(p.geometry, p.material, h);
804
+ const A = new W(), m = new F(), g = new ke(), _ = new F(1, 1, 1), w = new dt(p.geometry, p.material, h);
805
805
  for (let R = 0; R < h; R++)
806
806
  o.TRANSLATION && m.fromBufferAttribute(o.TRANSLATION, R), o.ROTATION && g.fromBufferAttribute(o.ROTATION, R), o.SCALE && _.fromBufferAttribute(o.SCALE, R), w.setMatrixAt(R, A.compose(m, g, _));
807
807
  for (const R in o)
@@ -809,13 +809,13 @@ class Ts {
809
809
  const b = o[R];
810
810
  w.instanceColor = new ht(b.array, b.itemSize, b.normalized);
811
811
  } else R !== "TRANSLATION" && R !== "ROTATION" && R !== "SCALE" && p.geometry.setAttribute(R, o[R]);
812
- ke.prototype.copy.call(w, p), this.parser.assignFinalMaterial(w), f.push(w);
812
+ Fe.prototype.copy.call(w, p), this.parser.assignFinalMaterial(w), f.push(w);
813
813
  }
814
814
  return d.isGroup ? (d.clear(), d.add(...f), d) : f[0];
815
815
  }));
816
816
  }
817
817
  }
818
- const Ve = "glTF", G = 12, xe = { JSON: 1313821514, BIN: 5130562 };
818
+ const ze = "glTF", G = 12, ye = { JSON: 1313821514, BIN: 5130562 };
819
819
  class _s {
820
820
  constructor(e) {
821
821
  this.name = T.KHR_BINARY_GLTF, this.content = null, this.body = null;
@@ -824,7 +824,7 @@ class _s {
824
824
  magic: r.decode(new Uint8Array(e.slice(0, 4))),
825
825
  version: t.getUint32(4, !0),
826
826
  length: t.getUint32(8, !0)
827
- }, this.header.magic !== Ve)
827
+ }, this.header.magic !== ze)
828
828
  throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");
829
829
  if (this.header.version < 2)
830
830
  throw new Error("THREE.GLTFLoader: Legacy binary file detected.");
@@ -834,10 +834,10 @@ class _s {
834
834
  const a = i.getUint32(n, !0);
835
835
  n += 4;
836
836
  const o = i.getUint32(n, !0);
837
- if (n += 4, o === xe.JSON) {
837
+ if (n += 4, o === ye.JSON) {
838
838
  const l = new Uint8Array(e, G + n, a);
839
839
  this.content = r.decode(l);
840
- } else if (o === xe.BIN) {
840
+ } else if (o === ye.BIN) {
841
841
  const l = G + n;
842
842
  this.body = e.slice(l, l + a);
843
843
  }
@@ -856,11 +856,11 @@ class Rs {
856
856
  decodePrimitive(e, t) {
857
857
  const r = this.json, s = this.dracoLoader, i = e.extensions[this.name].bufferView, n = e.extensions[this.name].attributes, a = {}, o = {}, l = {};
858
858
  for (const d in n) {
859
- const u = pe[d] || d.toLowerCase();
859
+ const u = me[d] || d.toLowerCase();
860
860
  a[u] = n[d];
861
861
  }
862
862
  for (const d in e.attributes) {
863
- const u = pe[d] || d.toLowerCase();
863
+ const u = me[d] || d.toLowerCase();
864
864
  if (n[d] !== void 0) {
865
865
  const h = r.accessors[e.attributes[d]], f = H[h.componentType];
866
866
  l[u] = f.name, o[u] = h.normalized === !0;
@@ -892,7 +892,7 @@ class ws {
892
892
  this.name = T.KHR_MESH_QUANTIZATION;
893
893
  }
894
894
  }
895
- class ze extends Bt {
895
+ class Xe extends Bt {
896
896
  constructor(e, t, r, s) {
897
897
  super(e, t, r, s);
898
898
  }
@@ -911,8 +911,8 @@ class ze extends Bt {
911
911
  return i;
912
912
  }
913
913
  }
914
- const Ls = new Pe();
915
- class xs extends ze {
914
+ const Ls = new ke();
915
+ class xs extends Xe {
916
916
  interpolate_(e, t, r, s) {
917
917
  const i = super.interpolate_(e, t, r, s);
918
918
  return Ls.fromArray(i).normalize().toArray(i), i;
@@ -945,18 +945,18 @@ const L = {
945
945
  5123: Uint16Array,
946
946
  5125: Uint32Array,
947
947
  5126: Float32Array
948
- }, ye = {
949
- 9728: Ue,
950
- 9729: ue,
948
+ }, be = {
949
+ 9728: Ge,
950
+ 9729: de,
951
951
  9984: Ot,
952
952
  9985: Nt,
953
953
  9986: Dt,
954
- 9987: He
955
- }, be = {
954
+ 9987: Ue
955
+ }, Se = {
956
956
  33071: Pt,
957
957
  33648: kt,
958
- 10497: de
959
- }, ne = {
958
+ 10497: he
959
+ }, re = {
960
960
  SCALAR: 1,
961
961
  VEC2: 2,
962
962
  VEC3: 3,
@@ -964,7 +964,7 @@ const L = {
964
964
  MAT2: 4,
965
965
  MAT3: 9,
966
966
  MAT4: 16
967
- }, pe = {
967
+ }, me = {
968
968
  POSITION: "position",
969
969
  NORMAL: "normal",
970
970
  TANGENT: "tangent",
@@ -984,15 +984,15 @@ const L = {
984
984
  CUBICSPLINE: void 0,
985
985
  // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each
986
986
  // keyframe track will be initialized with a default interpolation type, then modified.
987
- LINEAR: je,
987
+ LINEAR: Ke,
988
988
  STEP: Ft
989
- }, re = {
989
+ }, ie = {
990
990
  OPAQUE: "OPAQUE",
991
991
  MASK: "MASK",
992
992
  BLEND: "BLEND"
993
993
  };
994
994
  function bs(c) {
995
- return c.DefaultMaterial === void 0 && (c.DefaultMaterial = new Ge({
995
+ return c.DefaultMaterial === void 0 && (c.DefaultMaterial = new Be({
996
996
  color: 16777215,
997
997
  emissive: 0,
998
998
  metalness: 1,
@@ -1058,19 +1058,19 @@ function vs(c, e) {
1058
1058
  function Cs(c) {
1059
1059
  let e;
1060
1060
  const t = c.extensions && c.extensions[T.KHR_DRACO_MESH_COMPRESSION];
1061
- if (t ? e = "draco:" + t.bufferView + ":" + t.indices + ":" + ie(t.attributes) : e = c.indices + ":" + ie(c.attributes) + ":" + c.mode, c.targets !== void 0)
1061
+ if (t ? e = "draco:" + t.bufferView + ":" + t.indices + ":" + oe(t.attributes) : e = c.indices + ":" + oe(c.attributes) + ":" + c.mode, c.targets !== void 0)
1062
1062
  for (let r = 0, s = c.targets.length; r < s; r++)
1063
- e += ":" + ie(c.targets[r]);
1063
+ e += ":" + oe(c.targets[r]);
1064
1064
  return e;
1065
1065
  }
1066
- function ie(c) {
1066
+ function oe(c) {
1067
1067
  let e = "";
1068
1068
  const t = Object.keys(c).sort();
1069
1069
  for (let r = 0, s = t.length; r < s; r++)
1070
1070
  e += t[r] + ":" + c[t[r]] + ";";
1071
1071
  return e;
1072
1072
  }
1073
- function me(c) {
1073
+ function ge(c) {
1074
1074
  switch (c) {
1075
1075
  case Int8Array:
1076
1076
  return 1 / 127;
@@ -1098,7 +1098,7 @@ class Os {
1098
1098
  const o = a.match(/Version\/(\d+)/);
1099
1099
  s = r && o ? parseInt(o[1], 10) : -1, i = a.indexOf("Firefox") > -1, n = i ? a.match(/Firefox\/([0-9]+)\./)[1] : -1;
1100
1100
  }
1101
- typeof createImageBitmap > "u" || r && s < 17 || i && n < 98 ? this.textureLoader = new ft(this.options.manager) : this.textureLoader = new Fe(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new $(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
1101
+ typeof createImageBitmap > "u" || r && s < 17 || i && n < 98 ? this.textureLoader = new ft(this.options.manager) : this.textureLoader = new He(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new $(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
1102
1102
  }
1103
1103
  setExtensions(e) {
1104
1104
  this.extensions = e;
@@ -1314,12 +1314,12 @@ class Os {
1314
1314
  loadAccessor(e) {
1315
1315
  const t = this, r = this.json, s = this.json.accessors[e];
1316
1316
  if (s.bufferView === void 0 && s.sparse === void 0) {
1317
- const n = ne[s.type], a = H[s.componentType], o = s.normalized === !0, l = new a(s.count * n);
1317
+ const n = re[s.type], a = H[s.componentType], o = s.normalized === !0, l = new a(s.count * n);
1318
1318
  return Promise.resolve(new K(l, n, o));
1319
1319
  }
1320
1320
  const i = [];
1321
1321
  return s.bufferView !== void 0 ? i.push(this.getDependency("bufferView", s.bufferView)) : i.push(null), s.sparse !== void 0 && (i.push(this.getDependency("bufferView", s.sparse.indices.bufferView)), i.push(this.getDependency("bufferView", s.sparse.values.bufferView))), Promise.all(i).then(function(n) {
1322
- const a = n[0], o = ne[s.type], l = H[s.componentType], d = l.BYTES_PER_ELEMENT, u = d * o, h = s.byteOffset || 0, f = s.bufferView !== void 0 ? r.bufferViews[s.bufferView].byteStride : void 0, p = s.normalized === !0;
1322
+ const a = n[0], o = re[s.type], l = H[s.componentType], d = l.BYTES_PER_ELEMENT, u = d * o, h = s.byteOffset || 0, f = s.bufferView !== void 0 ? r.bufferViews[s.bufferView].byteStride : void 0, p = s.normalized === !0;
1323
1323
  let A, m;
1324
1324
  if (f && f !== u) {
1325
1325
  const g = Math.floor(h / f), _ = "InterleavedBuffer:" + s.bufferView + ":" + s.componentType + ":" + g + ":" + s.count;
@@ -1328,7 +1328,7 @@ class Os {
1328
1328
  } else
1329
1329
  a === null ? A = new l(s.count * o) : A = new l(a, h, s.count * o), m = new K(A, o, p);
1330
1330
  if (s.sparse !== void 0) {
1331
- const g = ne.SCALAR, _ = H[s.sparse.indices.componentType], w = s.sparse.indices.byteOffset || 0, R = s.sparse.values.byteOffset || 0, b = new _(n[1], w, s.sparse.count * g), M = new l(n[2], R, s.sparse.count * o);
1331
+ const g = re.SCALAR, _ = H[s.sparse.indices.componentType], w = s.sparse.indices.byteOffset || 0, R = s.sparse.values.byteOffset || 0, b = new _(n[1], w, s.sparse.count * g), M = new l(n[2], R, s.sparse.count * o);
1332
1332
  a !== null && (m = new K(m.array.slice(), m.itemSize, m.normalized)), m.normalized = !1;
1333
1333
  for (let x = 0, U = b.length; x < U; x++) {
1334
1334
  const I = b[x];
@@ -1360,7 +1360,7 @@ class Os {
1360
1360
  const l = this.loadImageSource(t, r).then(function(d) {
1361
1361
  d.flipY = !1, d.name = n.name || a.name || "", d.name === "" && typeof a.uri == "string" && a.uri.startsWith("data:image/") === !1 && (d.name = a.uri);
1362
1362
  const h = (i.samplers || {})[n.sampler] || {};
1363
- return d.magFilter = ye[h.magFilter] || ue, d.minFilter = ye[h.minFilter] || He, d.wrapS = be[h.wrapS] || de, d.wrapT = be[h.wrapT] || de, d.generateMipmaps = !d.isCompressedTexture && d.minFilter !== Ue && d.minFilter !== ue, s.associations.set(d, { textures: e }), d;
1363
+ return d.magFilter = be[h.magFilter] || de, d.minFilter = be[h.minFilter] || Ue, d.wrapS = Se[h.wrapS] || he, d.wrapT = Se[h.wrapT] || he, d.generateMipmaps = !d.isCompressedTexture && d.minFilter !== Ge && d.minFilter !== de, s.associations.set(d, { textures: e }), d;
1364
1364
  }).catch(function() {
1365
1365
  return null;
1366
1366
  });
@@ -1384,7 +1384,7 @@ class Os {
1384
1384
  return new Promise(function(h, f) {
1385
1385
  let p = h;
1386
1386
  t.isImageBitmapLoader === !0 && (p = function(A) {
1387
- const m = new _e(A);
1387
+ const m = new Re(A);
1388
1388
  m.needsUpdate = !0, h(m);
1389
1389
  }), t.load(j.resolveURL(u, i.path), p, void 0, f);
1390
1390
  });
@@ -1431,11 +1431,11 @@ class Os {
1431
1431
  if (e.isPoints) {
1432
1432
  const a = "PointsMaterial:" + r.uuid;
1433
1433
  let o = this.cache.get(a);
1434
- o || (o = new gt(), te.prototype.copy.call(o, r), o.color.copy(r.color), o.map = r.map, o.sizeAttenuation = !1, this.cache.add(a, o)), r = o;
1434
+ o || (o = new gt(), se.prototype.copy.call(o, r), o.color.copy(r.color), o.map = r.map, o.sizeAttenuation = !1, this.cache.add(a, o)), r = o;
1435
1435
  } else if (e.isLine) {
1436
1436
  const a = "LineBasicMaterial:" + r.uuid;
1437
1437
  let o = this.cache.get(a);
1438
- o || (o = new At(), te.prototype.copy.call(o, r), o.color.copy(r.color), o.map = r.map, this.cache.add(a, o)), r = o;
1438
+ o || (o = new At(), se.prototype.copy.call(o, r), o.color.copy(r.color), o.map = r.map, this.cache.add(a, o)), r = o;
1439
1439
  }
1440
1440
  if (s || i || n) {
1441
1441
  let a = "ClonedMaterial:" + r.uuid + ":";
@@ -1446,7 +1446,7 @@ class Os {
1446
1446
  e.material = r;
1447
1447
  }
1448
1448
  getMaterialType() {
1449
- return Ge;
1449
+ return Be;
1450
1450
  }
1451
1451
  /**
1452
1452
  * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#materials
@@ -1473,8 +1473,8 @@ class Os {
1473
1473
  })));
1474
1474
  }
1475
1475
  i.doubleSided === !0 && (a.side = Tt);
1476
- const d = i.alphaMode || re.OPAQUE;
1477
- if (d === re.BLEND ? (a.transparent = !0, a.depthWrite = !1) : (a.transparent = !1, d === re.MASK && (a.alphaTest = i.alphaCutoff !== void 0 ? i.alphaCutoff : 0.5)), i.normalTexture !== void 0 && n !== B && (l.push(t.assignTexture(a, "normalMap", i.normalTexture)), a.normalScale = new De(1, 1), i.normalTexture.scale !== void 0)) {
1476
+ const d = i.alphaMode || ie.OPAQUE;
1477
+ if (d === ie.BLEND ? (a.transparent = !0, a.depthWrite = !1) : (a.transparent = !1, d === ie.MASK && (a.alphaTest = i.alphaCutoff !== void 0 ? i.alphaCutoff : 0.5)), i.normalTexture !== void 0 && n !== B && (l.push(t.assignTexture(a, "normalMap", i.normalTexture)), a.normalScale = new Pe(1, 1), i.normalTexture.scale !== void 0)) {
1478
1478
  const u = i.normalTexture.scale;
1479
1479
  a.normalScale.set(u, u);
1480
1480
  }
@@ -1504,7 +1504,7 @@ class Os {
1504
1504
  const t = this, r = this.extensions, s = this.primitiveCache;
1505
1505
  function i(a) {
1506
1506
  return r[T.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(a, t).then(function(o) {
1507
- return Se(o, a, t);
1507
+ return ve(o, a, t);
1508
1508
  });
1509
1509
  }
1510
1510
  const n = [];
@@ -1514,7 +1514,7 @@ class Os {
1514
1514
  n.push(u.promise);
1515
1515
  else {
1516
1516
  let h;
1517
- l.extensions && l.extensions[T.KHR_DRACO_MESH_COMPRESSION] ? h = i(l) : h = Se(new Be(), l, t), s[d] = { primitive: l, promise: h }, n.push(h);
1517
+ l.extensions && l.extensions[T.KHR_DRACO_MESH_COMPRESSION] ? h = i(l) : h = ve(new je(), l, t), s[d] = { primitive: l, promise: h }, n.push(h);
1518
1518
  }
1519
1519
  }
1520
1520
  return Promise.all(n);
@@ -1537,7 +1537,7 @@ class Os {
1537
1537
  let g;
1538
1538
  const _ = l[f];
1539
1539
  if (m.mode === L.TRIANGLES || m.mode === L.TRIANGLE_STRIP || m.mode === L.TRIANGLE_FAN || m.mode === void 0)
1540
- g = i.isSkinnedMesh === !0 ? new Rt(A, _) : new Et(A, _), g.isSkinnedMesh === !0 && g.normalizeSkinWeights(), m.mode === L.TRIANGLE_STRIP ? g.geometry = Le(g.geometry, Oe) : m.mode === L.TRIANGLE_FAN && (g.geometry = Le(g.geometry, le));
1540
+ g = i.isSkinnedMesh === !0 ? new Rt(A, _) : new Et(A, _), g.isSkinnedMesh === !0 && g.normalizeSkinWeights(), m.mode === L.TRIANGLE_STRIP ? g.geometry = xe(g.geometry, Ne) : m.mode === L.TRIANGLE_FAN && (g.geometry = xe(g.geometry, ue));
1541
1541
  else if (m.mode === L.LINES)
1542
1542
  g = new wt(A, _);
1543
1543
  else if (m.mode === L.LINE_STRIP)
@@ -1557,7 +1557,7 @@ class Os {
1557
1557
  });
1558
1558
  if (u.length === 1)
1559
1559
  return i.extensions && P(s, u[0], i), u[0];
1560
- const h = new se();
1560
+ const h = new ne();
1561
1561
  i.extensions && P(s, h, i), t.associations.set(h, { meshes: e });
1562
1562
  for (let f = 0, p = u.length; f < p; f++)
1563
1563
  h.add(u[f]);
@@ -1684,7 +1684,7 @@ class Os {
1684
1684
  a.push(l);
1685
1685
  }), this.nodeCache[e] = Promise.all(a).then(function(l) {
1686
1686
  let d;
1687
- if (i.isBone === !0 ? d = new It() : l.length > 1 ? d = new se() : l.length === 1 ? d = l[0] : d = new ke(), d !== l[0])
1687
+ if (i.isBone === !0 ? d = new It() : l.length > 1 ? d = new ne() : l.length === 1 ? d = l[0] : d = new Fe(), d !== l[0])
1688
1688
  for (let u = 0, h = l.length; u < h; u++)
1689
1689
  d.add(l[u]);
1690
1690
  if (i.name && (d.userData.name = i.name, d.name = n), C(d, i), i.extensions && P(r, d, i), i.matrix !== void 0) {
@@ -1701,7 +1701,7 @@ class Os {
1701
1701
  * @return {Promise<Group>}
1702
1702
  */
1703
1703
  loadScene(e) {
1704
- const t = this.extensions, r = this.json.scenes[e], s = this, i = new se();
1704
+ const t = this.extensions, r = this.json.scenes[e], s = this, i = new ne();
1705
1705
  r.name && (i.name = s.createUniqueName(r.name)), C(i, r), r.extensions && P(t, i, r);
1706
1706
  const n = r.nodes || [], a = [];
1707
1707
  for (let o = 0, l = n.length; o < l; o++)
@@ -1712,7 +1712,7 @@ class Os {
1712
1712
  const l = (d) => {
1713
1713
  const u = /* @__PURE__ */ new Map();
1714
1714
  for (const [h, f] of s.associations)
1715
- (h instanceof te || h instanceof _e) && u.set(h, f);
1715
+ (h instanceof se || h instanceof Re) && u.set(h, f);
1716
1716
  return d.traverse((h) => {
1717
1717
  const f = s.associations.get(h);
1718
1718
  f != null && u.set(h, f);
@@ -1729,29 +1729,29 @@ class Os {
1729
1729
  let l;
1730
1730
  switch (O[i.path]) {
1731
1731
  case O.weights:
1732
- l = Ee;
1732
+ l = we;
1733
1733
  break;
1734
1734
  case O.rotation:
1735
- l = we;
1735
+ l = Le;
1736
1736
  break;
1737
1737
  case O.position:
1738
1738
  case O.scale:
1739
- l = Re;
1739
+ l = Ee;
1740
1740
  break;
1741
1741
  default:
1742
1742
  switch (r.itemSize) {
1743
1743
  case 1:
1744
- l = Ee;
1744
+ l = we;
1745
1745
  break;
1746
1746
  case 2:
1747
1747
  case 3:
1748
1748
  default:
1749
- l = Re;
1749
+ l = Ee;
1750
1750
  break;
1751
1751
  }
1752
1752
  break;
1753
1753
  }
1754
- const d = s.interpolation !== void 0 ? ys[s.interpolation] : je, u = this._getArrayFromAccessor(r);
1754
+ const d = s.interpolation !== void 0 ? ys[s.interpolation] : Ke, u = this._getArrayFromAccessor(r);
1755
1755
  for (let h = 0, f = o.length; h < f; h++) {
1756
1756
  const p = new l(
1757
1757
  o[h] + "." + O[i.path],
@@ -1766,7 +1766,7 @@ class Os {
1766
1766
  _getArrayFromAccessor(e) {
1767
1767
  let t = e.array;
1768
1768
  if (e.normalized) {
1769
- const r = me(t.constructor), s = new Float32Array(t.length);
1769
+ const r = ge(t.constructor), s = new Float32Array(t.length);
1770
1770
  for (let i = 0, n = t.length; i < n; i++)
1771
1771
  s[i] = t[i] * r;
1772
1772
  t = s;
@@ -1775,7 +1775,7 @@ class Os {
1775
1775
  }
1776
1776
  _createCubicSplineTrackInterpolant(e) {
1777
1777
  e.createInterpolant = function(r) {
1778
- const s = this instanceof we ? xs : ze;
1778
+ const s = this instanceof Le ? xs : Xe;
1779
1779
  return new s(this.times, this.values, this.getValueSize() / 3, r);
1780
1780
  }, e.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline = !0;
1781
1781
  }
@@ -1789,7 +1789,7 @@ function Ns(c, e, t) {
1789
1789
  new F(o[0], o[1], o[2]),
1790
1790
  new F(l[0], l[1], l[2])
1791
1791
  ), a.normalized) {
1792
- const d = me(H[a.componentType]);
1792
+ const d = ge(H[a.componentType]);
1793
1793
  s.min.multiplyScalar(d), s.max.multiplyScalar(d);
1794
1794
  }
1795
1795
  } else {
@@ -1807,7 +1807,7 @@ function Ns(c, e, t) {
1807
1807
  const h = t.json.accessors[u.POSITION], f = h.min, p = h.max;
1808
1808
  if (f !== void 0 && p !== void 0) {
1809
1809
  if (o.setX(Math.max(Math.abs(f[0]), Math.abs(p[0]))), o.setY(Math.max(Math.abs(f[1]), Math.abs(p[1]))), o.setZ(Math.max(Math.abs(f[2]), Math.abs(p[2]))), h.normalized) {
1810
- const A = me(H[h.componentType]);
1810
+ const A = ge(H[h.componentType]);
1811
1811
  o.multiplyScalar(A);
1812
1812
  }
1813
1813
  a.max(o);
@@ -1821,7 +1821,7 @@ function Ns(c, e, t) {
1821
1821
  const n = new Gt();
1822
1822
  s.getCenter(n.center), n.radius = s.min.distanceTo(s.max) / 2, c.boundingSphere = n;
1823
1823
  }
1824
- function Se(c, e, t) {
1824
+ function ve(c, e, t) {
1825
1825
  const r = e.attributes, s = [];
1826
1826
  function i(n, a) {
1827
1827
  return t.getDependency("accessor", n).then(function(o) {
@@ -1829,7 +1829,7 @@ function Se(c, e, t) {
1829
1829
  });
1830
1830
  }
1831
1831
  for (const n in r) {
1832
- const a = pe[n] || n.toLowerCase();
1832
+ const a = me[n] || n.toLowerCase();
1833
1833
  a in c.attributes || s.push(i(r[n], a));
1834
1834
  }
1835
1835
  if (e.indices !== void 0 && !c.index) {
@@ -1838,12 +1838,12 @@ function Se(c, e, t) {
1838
1838
  });
1839
1839
  s.push(n);
1840
1840
  }
1841
- return he.workingColorSpace !== S && "COLOR_0" in r && console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${he.workingColorSpace}" not supported.`), C(c, e), Ns(c, e, t), Promise.all(s).then(function() {
1841
+ return fe.workingColorSpace !== S && "COLOR_0" in r && console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${fe.workingColorSpace}" not supported.`), C(c, e), Ns(c, e, t), Promise.all(s).then(function() {
1842
1842
  return e.targets !== void 0 ? Ss(c, e.targets, t) : c;
1843
1843
  });
1844
1844
  }
1845
- const oe = /* @__PURE__ */ new WeakMap();
1846
- class Ds extends Ne {
1845
+ const ae = /* @__PURE__ */ new WeakMap();
1846
+ class Ds extends De {
1847
1847
  constructor(e) {
1848
1848
  super(e), this.decoderPath = "", this.decoderConfig = {}, this.decoderBinary = null, this.decoderPending = null, this.workerLimit = 4, this.workerPool = [], this.workerNextTaskID = 1, this.workerSourceURL = "", this.defaultAttributeIDs = {
1849
1849
  position: "POSITION",
@@ -1888,8 +1888,8 @@ class Ds extends Ne {
1888
1888
  }
1889
1889
  decodeGeometry(e, t) {
1890
1890
  const r = JSON.stringify(t);
1891
- if (oe.has(e)) {
1892
- const o = oe.get(e);
1891
+ if (ae.has(e)) {
1892
+ const o = ae.get(e);
1893
1893
  if (o.key === r)
1894
1894
  return o.promise;
1895
1895
  if (e.byteLength === 0)
@@ -1903,13 +1903,13 @@ class Ds extends Ne {
1903
1903
  }))).then((o) => this._createGeometry(o.geometry));
1904
1904
  return a.catch(() => !0).then(() => {
1905
1905
  s && i && this._releaseTask(s, i);
1906
- }), oe.set(e, {
1906
+ }), ae.set(e, {
1907
1907
  key: r,
1908
1908
  promise: a
1909
1909
  }), a;
1910
1910
  }
1911
1911
  _createGeometry(e) {
1912
- const t = new Be();
1912
+ const t = new je();
1913
1913
  e.index && t.setIndex(new K(e.index.array, 1));
1914
1914
  for (let r = 0; r < e.attributes.length; r++) {
1915
1915
  const s = e.attributes[r], i = s.name, n = s.array, a = s.itemSize, o = new K(n, a);
@@ -1921,7 +1921,7 @@ class Ds extends Ne {
1921
1921
  if (t !== N) return;
1922
1922
  const r = new D();
1923
1923
  for (let s = 0, i = e.count; s < i; s++)
1924
- r.fromBufferAttribute(e, s), he.toWorkingColorSpace(r, N), e.setXYZ(s, r.r, r.g, r.b);
1924
+ r.fromBufferAttribute(e, s), fe.toWorkingColorSpace(r, N), e.setXYZ(s, r.r, r.g, r.b);
1925
1925
  }
1926
1926
  _loadLibrary(e, t) {
1927
1927
  const r = new $(this.manager);
@@ -2099,7 +2099,7 @@ let Y = class {
2099
2099
  const r = () => {
2100
2100
  if (!t) return;
2101
2101
  t.play();
2102
- const s = new Ke(t), i = s.dispose.bind(s);
2102
+ const s = new Ve(t), i = s.dispose.bind(s);
2103
2103
  s.dispose = () => {
2104
2104
  var n;
2105
2105
  (n = s.image) == null || n.remove(), i();
@@ -2110,7 +2110,7 @@ let Y = class {
2110
2110
  };
2111
2111
  }
2112
2112
  _initLoaders() {
2113
- this.loaders.gltfLoader = new Zt(this.loadingManager), this.loaders.textureLoader = new Fe(this.loadingManager), this.loaders.cubeTextureLoader = new Kt(this.loadingManager), this.loaders.audioLoader = new Vt(this.loadingManager), this.loaders.dracoLoader = new Ds(this.loadingManager), this.loaders.videoLoader = this.videoLoader;
2113
+ this.loaders.gltfLoader = new Zt(this.loadingManager), this.loaders.textureLoader = new He(this.loadingManager), this.loaders.cubeTextureLoader = new Kt(this.loadingManager), this.loaders.audioLoader = new Vt(this.loadingManager), this.loaders.dracoLoader = new Ds(this.loadingManager), this.loaders.videoLoader = this.videoLoader;
2114
2114
  }
2115
2115
  _initSources(c) {
2116
2116
  this.sources = c, this.toLoadCount = this.sources.length, this.loadedCount = 0;
@@ -2143,34 +2143,43 @@ var Us = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, Bs = (c, e
2143
2143
  }, js = (c, e) => (t, r) => e(t, r, c);
2144
2144
  let Q = class {
2145
2145
  constructor(c) {
2146
- E(this, "load$$", new Je());
2146
+ E(this, "load$$", new Ze());
2147
2147
  E(this, "load$", this.load$$.pipe(
2148
- ce((c) => ({
2148
+ le((c) => ({
2149
2149
  ...c,
2150
2150
  loadedCount: c.resource ? this._service.loadedCount + 1 : this._service.loadedCount,
2151
2151
  toLoadCount: this._service.toLoadCount
2152
2152
  })),
2153
- Ze()
2153
+ et()
2154
2154
  ));
2155
2155
  E(this, "serializedLoad$", this.load$.pipe(
2156
- ce((c) => {
2156
+ le((c) => {
2157
2157
  var t;
2158
2158
  let e = c.resource;
2159
2159
  if ((t = c == null ? void 0 : c.resource) != null && t.parser) {
2160
2160
  const r = c.resource;
2161
2161
  e = {
2162
- userData: r.userData,
2163
- scene: et(r.scene)
2162
+ animations: (c == null ? void 0 : c.resource).animations.map(
2163
+ // @ts-ignore <<toJSON methods doesn't require a parameter>>
2164
+ (s) => s.toJSON()
2165
+ ),
2166
+ cameras: r.cameras.map(
2167
+ (s) => te(s)
2168
+ ),
2169
+ parser: { json: r.parser.json },
2170
+ scene: te(r.scene),
2171
+ scenes: r.scenes.map((s) => te(s)),
2172
+ userData: r.userData
2164
2173
  };
2165
2174
  }
2166
- return (c == null ? void 0 : c.resource) instanceof Ke && (e = c.resource.toJSON()), {
2175
+ return (c == null ? void 0 : c.resource) instanceof Ve && (e = c.resource.toJSON()), {
2167
2176
  ...c,
2168
2177
  resource: e
2169
2178
  };
2170
2179
  })
2171
2180
  ));
2172
2181
  E(this, "loadCompleted$", this.load$.pipe(
2173
- Ce((c) => c.toLoadCount === c.loadedCount)
2182
+ Me((c) => c.toLoadCount === c.loadedCount)
2174
2183
  ));
2175
2184
  this._service = c;
2176
2185
  }
@@ -2183,7 +2192,7 @@ var Ks = Object.defineProperty, Vs = Object.getOwnPropertyDescriptor, zs = (c, e
2183
2192
  for (var s = r > 1 ? void 0 : r ? Vs(e, t) : e, i = c.length - 1, n; i >= 0; i--)
2184
2193
  (n = c[i]) && (s = (r ? n(e, t, s) : n(s)) || s);
2185
2194
  return r && s && Ks(e, t, s), s;
2186
- }, ae = (c, e) => (t, r) => e(t, r, c);
2195
+ }, ce = (c, e) => (t, r) => e(t, r, c);
2187
2196
  let J = class {
2188
2197
  constructor(c, e, t) {
2189
2198
  E(this, "_subscriptions", []);
@@ -2256,17 +2265,17 @@ let J = class {
2256
2265
  };
2257
2266
  J = zs([
2258
2267
  V(),
2259
- ae(0, y(Q)),
2260
- ae(1, y(Y)),
2261
- ae(2, y(Ae))
2268
+ ce(0, y(Q)),
2269
+ ce(1, y(Y)),
2270
+ ce(2, y(Te))
2262
2271
  ], J);
2263
- Me.resolve(J);
2272
+ Ie.resolve(J);
2264
2273
  var Xs = Object.defineProperty, $s = Object.getOwnPropertyDescriptor, Ws = (c, e, t, r) => {
2265
2274
  for (var s = r > 1 ? void 0 : r ? $s(e, t) : e, i = c.length - 1, n; i >= 0; i--)
2266
2275
  (n = c[i]) && (s = (r ? n(e, t, s) : n(s)) || s);
2267
2276
  return r && s && Xs(e, t, s), s;
2268
2277
  }, k = (c, e) => (t, r) => e(t, r, c);
2269
- let ge = class extends nt {
2278
+ let Ae = class extends nt {
2270
2279
  constructor(e, t, r, s, i, n) {
2271
2280
  super();
2272
2281
  E(this, "initialized", !1);
@@ -2325,7 +2334,7 @@ ${e instanceof Error ? e.message : "Something went wrong"}`
2325
2334
  this._service.worker = t.worker, this._service.thread = t.thread;
2326
2335
  }
2327
2336
  async _initObservableProxyEvents() {
2328
- ve.forEach(
2337
+ Ce.forEach(
2329
2338
  (e) => this[`${e}$`] = () => {
2330
2339
  var t;
2331
2340
  return (t = this._controller) == null ? void 0 : t[`${e}$`];
@@ -2367,23 +2376,23 @@ ${e instanceof Error ? e.message : "Something went wrong"}`
2367
2376
  await this._service.workerPool.terminateAll(), ((e = this._service.canvas) == null ? void 0 : e.dataset.reactive) === "true" && (this._service.canvas.remove(), this._service.canvas = void 0), this.initialized = !1;
2368
2377
  }
2369
2378
  };
2370
- ge = Ws([
2379
+ Ae = Ws([
2371
2380
  tt(st.ContainerScoped),
2372
2381
  k(0, y(q)),
2373
- k(1, y(fe)),
2382
+ k(1, y(pe)),
2374
2383
  k(2, y(Q)),
2375
- k(3, y(Ae)),
2384
+ k(3, y(Te)),
2376
2385
  k(4, y(J)),
2377
- k(5, y(Ie))
2378
- ], ge);
2386
+ k(5, y(Oe))
2387
+ ], Ae);
2379
2388
  const Zs = (c) => {
2380
2389
  if (typeof (c == null ? void 0 : c.location) != "string" && !((c == null ? void 0 : c.location) instanceof URL))
2381
2390
  throw new Error(
2382
2391
  "Invalid register props detected. location path is required"
2383
2392
  );
2384
- const e = Me.createChildContainer();
2385
- c.initOnConstruct = z(c.initOnConstruct) || !X(c.initOnConstruct) ? !0 : c.initOnConstruct, c.defaultCamera = c != null && c.defaultCamera && c.defaultCamera in Te ? c.defaultCamera : Te.PERSPECTIVE, c.withMiniCamera = z(c.withMiniCamera) || !X(c.withMiniCamera) ? !1 : c.withMiniCamera, c.startTimer = z(c.startTimer) || !X(c.startTimer) ? !0 : c.startTimer, c.fullScreen = z(c.fullScreen) || !X(c.fullScreen) ? !0 : c.fullScreen, c.onReady = ot(c.onReady) ? c.onReady : void 0, e.register(Ie, { useValue: e }), e.register(Ae, { useValue: c });
2386
- const t = e.resolve(ge);
2393
+ const e = Ie.createChildContainer();
2394
+ c.initOnConstruct = z(c.initOnConstruct) || !X(c.initOnConstruct) ? !0 : c.initOnConstruct, c.defaultCamera = c != null && c.defaultCamera && c.defaultCamera in _e ? c.defaultCamera : _e.PERSPECTIVE, c.withMiniCamera = z(c.withMiniCamera) || !X(c.withMiniCamera) ? !1 : c.withMiniCamera, c.startTimer = z(c.startTimer) || !X(c.startTimer) ? !0 : c.startTimer, c.fullScreen = z(c.fullScreen) || !X(c.fullScreen) ? !0 : c.fullScreen, c.onReady = ot(c.onReady) ? c.onReady : void 0, e.register(Oe, { useValue: e }), e.register(Te, { useValue: c });
2395
+ const t = e.resolve(Ae);
2387
2396
  return t.initialized = !0, {
2388
2397
  container: e,
2389
2398
  module: t
@@ -2392,17 +2401,17 @@ const Zs = (c) => {
2392
2401
  export {
2393
2402
  sn as AppModule,
2394
2403
  nn as AppProxyEventHandlersBlueprint,
2395
- Ie as CONTAINER_TOKEN,
2396
- Te as DefaultCameraType,
2397
- Qe as KEYBOARD_EVENT_CODES,
2404
+ Oe as CONTAINER_TOKEN,
2405
+ _e as DefaultCameraType,
2406
+ Je as KEYBOARD_EVENT_CODES,
2398
2407
  it as LOADER_SERIALIZED_LOAD_TOKEN,
2399
2408
  Js as LaunchAppProps,
2400
- ve as PROXY_EVENT_LISTENERS,
2401
- qe as ProxyEventHandlersBlueprint,
2409
+ Ce as PROXY_EVENT_LISTENERS,
2410
+ Ye as ProxyEventHandlersBlueprint,
2402
2411
  rn as ProxyEventObservablesBlueprint,
2403
2412
  on as ProxyEventSubjectsBlueprint,
2404
- ge as RegisterModule,
2405
- Ae as RegisterPropsBlueprint,
2413
+ Ae as RegisterModule,
2414
+ Te as RegisterPropsBlueprint,
2406
2415
  nt as RegisterProxyEventHandlersBlueprint,
2407
2416
  Zs as register
2408
2417
  };