@quick-threejs/reactive 0.1.28 → 0.1.29

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.
@@ -1,12 +1,12 @@
1
1
  var Oi = Object.defineProperty;
2
2
  var Mi = (t, e, r) => e in t ? Oi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var p = (t, e, r) => Mi(t, typeof e != "symbol" ? e + "" : e, r);
4
- import { EventDispatcher as Ri, ObjectLoader as ji, PerspectiveCamera as Ie, OrthographicCamera as mt, Camera as Xe, Scene as In, Ray as $i, Plane as xi, MathUtils as Di, Vector3 as le, Controls as ki, MOUSE as Fe, TOUCH as ze, Quaternion as Lr, Spherical as Wr, Vector2 as ae, CameraHelper as Ai, AxesHelper as Ii, GridHelper as zi, WebGLRenderer as Nr, PCFSoftShadowMap as Fi, SRGBColorSpace as Li, CineonToneMapping as Wi, AnimationClip as Ni } from "three";
5
- var qr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function qi(t) {
4
+ import { EventDispatcher as Ri, ObjectLoader as $i, PerspectiveCamera as ze, OrthographicCamera as vt, Camera as Je, Scene as In, WebGLRenderer as Lr, PCFSoftShadowMap as ji, SRGBColorSpace as xi, CineonToneMapping as Di, Ray as ki, Plane as Ai, MathUtils as Ii, Vector3 as le, Controls as zi, MOUSE as Le, TOUCH as Fe, Quaternion as Wr, Spherical as Nr, Vector2 as ae, CameraHelper as Fi, AxesHelper as Li, GridHelper as Wi, AnimationClip as Ni } from "three";
5
+ var Hr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
+ function Hi(t) {
7
7
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
8
8
  }
9
- function Hi(t) {
9
+ function qi(t) {
10
10
  if (t.__esModule) return t;
11
11
  var e = t.default;
12
12
  if (typeof e == "function") {
@@ -25,7 +25,7 @@ function Hi(t) {
25
25
  });
26
26
  }), r;
27
27
  }
28
- var Hr = {};
28
+ var qr = {};
29
29
  /*! *****************************************************************************
30
30
  Copyright (C) Microsoft. All rights reserved.
31
31
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
@@ -42,16 +42,16 @@ and limitations under the License.
42
42
  ***************************************************************************** */
43
43
  var Ur;
44
44
  function Ui() {
45
- if (Ur) return Hr;
45
+ if (Ur) return qr;
46
46
  Ur = 1;
47
47
  var t;
48
48
  return function(e) {
49
49
  (function(r) {
50
- var n = typeof globalThis == "object" ? globalThis : typeof qr == "object" ? qr : typeof self == "object" ? self : typeof this == "object" ? this : u(), i = s(e);
50
+ var n = typeof globalThis == "object" ? globalThis : typeof Hr == "object" ? Hr : typeof self == "object" ? self : typeof this == "object" ? this : u(), i = s(e);
51
51
  typeof n.Reflect < "u" && (i = s(n.Reflect, i)), r(i, n), typeof n.Reflect > "u" && (n.Reflect = e);
52
52
  function s(c, l) {
53
- return function(f, v) {
54
- Object.defineProperty(c, f, { configurable: !0, writable: !0, value: v }), l && l(f, v);
53
+ return function(f, m) {
54
+ Object.defineProperty(c, f, { configurable: !0, writable: !0, value: m }), l && l(f, m);
55
55
  };
56
56
  }
57
57
  function o() {
@@ -73,11 +73,11 @@ function Ui() {
73
73
  var i = Object.prototype.hasOwnProperty, s = typeof Symbol == "function", o = s && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", a = s && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", u = typeof Object.create == "function", c = { __proto__: [] } instanceof Array, l = !u && !c, f = {
74
74
  // create an object in dictionary mode (a.k.a. "slow" mode in v8)
75
75
  create: u ? function() {
76
- return Dt(/* @__PURE__ */ Object.create(null));
76
+ return xt(/* @__PURE__ */ Object.create(null));
77
77
  } : c ? function() {
78
- return Dt({ __proto__: null });
78
+ return xt({ __proto__: null });
79
79
  } : function() {
80
- return Dt({});
80
+ return xt({});
81
81
  },
82
82
  has: l ? function(h, d) {
83
83
  return i.call(h, d);
@@ -89,108 +89,108 @@ function Ui() {
89
89
  } : function(h, d) {
90
90
  return h[d];
91
91
  }
92
- }, v = Object.getPrototypeOf(Function), w = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Pi(), z = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Si(), D = typeof WeakMap == "function" ? WeakMap : Ci(), F = s ? Symbol.for("@reflect-metadata:registry") : void 0, _ = bi(), C = wi(_);
93
- function P(h, d, m, S) {
94
- if (A(m)) {
95
- if (!$r(h))
92
+ }, m = Object.getPrototypeOf(Function), w = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Pi(), z = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Si(), D = typeof WeakMap == "function" ? WeakMap : Ci(), F = s ? Symbol.for("@reflect-metadata:registry") : void 0, _ = bi(), C = wi(_);
93
+ function P(h, d, v, S) {
94
+ if (A(v)) {
95
+ if (!jr(h))
96
96
  throw new TypeError();
97
97
  if (!xr(d))
98
98
  throw new TypeError();
99
99
  return te(h, d);
100
100
  } else {
101
- if (!$r(h))
101
+ if (!jr(h))
102
102
  throw new TypeError();
103
103
  if (!Q(d))
104
104
  throw new TypeError();
105
- if (!Q(S) && !A(S) && !ke(S))
105
+ if (!Q(S) && !A(S) && !Ae(S))
106
106
  throw new TypeError();
107
- return ke(S) && (S = void 0), m = ce(m), B(h, d, m, S);
107
+ return Ae(S) && (S = void 0), v = ce(v), B(h, d, v, S);
108
108
  }
109
109
  }
110
110
  r("decorate", P);
111
111
  function M(h, d) {
112
- function m(S, $) {
112
+ function v(S, j) {
113
113
  if (!Q(S))
114
114
  throw new TypeError();
115
- if (!A($) && !yi($))
115
+ if (!A(j) && !yi(j))
116
116
  throw new TypeError();
117
- ue(h, d, S, $);
117
+ ue(h, d, S, j);
118
118
  }
119
- return m;
119
+ return v;
120
120
  }
121
121
  r("metadata", M);
122
- function g(h, d, m, S) {
123
- if (!Q(m))
122
+ function g(h, d, v, S) {
123
+ if (!Q(v))
124
124
  throw new TypeError();
125
- return A(S) || (S = ce(S)), ue(h, d, m, S);
125
+ return A(S) || (S = ce(S)), ue(h, d, v, S);
126
126
  }
127
127
  r("defineMetadata", g);
128
- function b(h, d, m) {
128
+ function b(h, d, v) {
129
129
  if (!Q(d))
130
130
  throw new TypeError();
131
- return A(m) || (m = ce(m)), G(h, d, m);
131
+ return A(v) || (v = ce(v)), G(h, d, v);
132
132
  }
133
133
  r("hasMetadata", b);
134
- function x(h, d, m) {
134
+ function x(h, d, v) {
135
135
  if (!Q(d))
136
136
  throw new TypeError();
137
- return A(m) || (m = ce(m)), fe(h, d, m);
137
+ return A(v) || (v = ce(v)), fe(h, d, v);
138
138
  }
139
139
  r("hasOwnMetadata", x);
140
- function N(h, d, m) {
140
+ function N(h, d, v) {
141
141
  if (!Q(d))
142
142
  throw new TypeError();
143
- return A(m) || (m = ce(m)), at(h, d, m);
143
+ return A(v) || (v = ce(v)), ut(h, d, v);
144
144
  }
145
145
  r("getMetadata", N);
146
- function y(h, d, m) {
146
+ function y(h, d, v) {
147
147
  if (!Q(d))
148
148
  throw new TypeError();
149
- return A(m) || (m = ce(m)), xe(h, d, m);
149
+ return A(v) || (v = ce(v)), De(h, d, v);
150
150
  }
151
151
  r("getOwnMetadata", y);
152
- function j(h, d) {
152
+ function $(h, d) {
153
153
  if (!Q(h))
154
154
  throw new TypeError();
155
- return A(d) || (d = ce(d)), De(h, d);
155
+ return A(d) || (d = ce(d)), ke(h, d);
156
156
  }
157
- r("getMetadataKeys", j);
157
+ r("getMetadataKeys", $);
158
158
  function k(h, d) {
159
159
  if (!Q(h))
160
160
  throw new TypeError();
161
161
  return A(d) || (d = ce(d)), Mr(h, d);
162
162
  }
163
163
  r("getOwnMetadataKeys", k);
164
- function q(h, d, m) {
164
+ function H(h, d, v) {
165
165
  if (!Q(d))
166
166
  throw new TypeError();
167
- if (A(m) || (m = ce(m)), !Q(d))
167
+ if (A(v) || (v = ce(v)), !Q(d))
168
168
  throw new TypeError();
169
- A(m) || (m = ce(m));
169
+ A(v) || (v = ce(v));
170
170
  var S = Be(
171
171
  d,
172
- m,
172
+ v,
173
173
  /*Create*/
174
174
  !1
175
175
  );
176
- return A(S) ? !1 : S.OrdinaryDeleteMetadata(h, d, m);
176
+ return A(S) ? !1 : S.OrdinaryDeleteMetadata(h, d, v);
177
177
  }
178
- r("deleteMetadata", q);
178
+ r("deleteMetadata", H);
179
179
  function te(h, d) {
180
- for (var m = h.length - 1; m >= 0; --m) {
181
- var S = h[m], $ = S(d);
182
- if (!A($) && !ke($)) {
183
- if (!xr($))
180
+ for (var v = h.length - 1; v >= 0; --v) {
181
+ var S = h[v], j = S(d);
182
+ if (!A(j) && !Ae(j)) {
183
+ if (!xr(j))
184
184
  throw new TypeError();
185
- d = $;
185
+ d = j;
186
186
  }
187
187
  }
188
188
  return d;
189
189
  }
190
- function B(h, d, m, S) {
191
- for (var $ = h.length - 1; $ >= 0; --$) {
192
- var J = h[$], K = J(d, m, S);
193
- if (!A(K) && !ke(K)) {
190
+ function B(h, d, v, S) {
191
+ for (var j = h.length - 1; j >= 0; --j) {
192
+ var J = h[j], K = J(d, v, S);
193
+ if (!A(K) && !Ae(K)) {
194
194
  if (!Q(K))
195
195
  throw new TypeError();
196
196
  S = K;
@@ -198,76 +198,76 @@ function Ui() {
198
198
  }
199
199
  return S;
200
200
  }
201
- function G(h, d, m) {
202
- var S = fe(h, d, m);
201
+ function G(h, d, v) {
202
+ var S = fe(h, d, v);
203
203
  if (S)
204
204
  return !0;
205
- var $ = xt(d);
206
- return ke($) ? !1 : G(h, $, m);
205
+ var j = jt(d);
206
+ return Ae(j) ? !1 : G(h, j, v);
207
207
  }
208
- function fe(h, d, m) {
208
+ function fe(h, d, v) {
209
209
  var S = Be(
210
210
  d,
211
- m,
211
+ v,
212
212
  /*Create*/
213
213
  !1
214
214
  );
215
- return A(S) ? !1 : jr(S.OrdinaryHasOwnMetadata(h, d, m));
215
+ return A(S) ? !1 : $r(S.OrdinaryHasOwnMetadata(h, d, v));
216
216
  }
217
- function at(h, d, m) {
218
- var S = fe(h, d, m);
217
+ function ut(h, d, v) {
218
+ var S = fe(h, d, v);
219
219
  if (S)
220
- return xe(h, d, m);
221
- var $ = xt(d);
222
- if (!ke($))
223
- return at(h, $, m);
220
+ return De(h, d, v);
221
+ var j = jt(d);
222
+ if (!Ae(j))
223
+ return ut(h, j, v);
224
224
  }
225
- function xe(h, d, m) {
225
+ function De(h, d, v) {
226
226
  var S = Be(
227
227
  d,
228
- m,
228
+ v,
229
229
  /*Create*/
230
230
  !1
231
231
  );
232
232
  if (!A(S))
233
- return S.OrdinaryGetOwnMetadata(h, d, m);
233
+ return S.OrdinaryGetOwnMetadata(h, d, v);
234
234
  }
235
- function ue(h, d, m, S) {
236
- var $ = Be(
237
- m,
235
+ function ue(h, d, v, S) {
236
+ var j = Be(
237
+ v,
238
238
  S,
239
239
  /*Create*/
240
240
  !0
241
241
  );
242
- $.OrdinaryDefineOwnMetadata(h, d, m, S);
242
+ j.OrdinaryDefineOwnMetadata(h, d, v, S);
243
243
  }
244
- function De(h, d) {
245
- var m = Mr(h, d), S = xt(h);
244
+ function ke(h, d) {
245
+ var v = Mr(h, d), S = jt(h);
246
246
  if (S === null)
247
- return m;
248
- var $ = De(S, d);
249
- if ($.length <= 0)
250
- return m;
251
- if (m.length <= 0)
252
- return $;
253
- for (var J = new z(), K = [], L = 0, E = m; L < E.length; L++) {
247
+ return v;
248
+ var j = ke(S, d);
249
+ if (j.length <= 0)
250
+ return v;
251
+ if (v.length <= 0)
252
+ return j;
253
+ for (var J = new z(), K = [], L = 0, E = v; L < E.length; L++) {
254
254
  var T = E[L], O = J.has(T);
255
255
  O || (J.add(T), K.push(T));
256
256
  }
257
- for (var R = 0, W = $; R < W.length; R++) {
257
+ for (var R = 0, W = j; R < W.length; R++) {
258
258
  var T = W[R], O = J.has(T);
259
259
  O || (J.add(T), K.push(T));
260
260
  }
261
261
  return K;
262
262
  }
263
263
  function Mr(h, d) {
264
- var m = Be(
264
+ var v = Be(
265
265
  h,
266
266
  d,
267
267
  /*create*/
268
268
  !1
269
269
  );
270
- return m ? m.OrdinaryOwnMetadataKeys(h, d) : [];
270
+ return v ? v.OrdinaryOwnMetadataKeys(h, d) : [];
271
271
  }
272
272
  function Rr(h) {
273
273
  if (h === null)
@@ -292,7 +292,7 @@ function Ui() {
292
292
  function A(h) {
293
293
  return h === void 0;
294
294
  }
295
- function ke(h) {
295
+ function Ae(h) {
296
296
  return h === null;
297
297
  }
298
298
  function di(h) {
@@ -316,47 +316,47 @@ function Ui() {
316
316
  case 5:
317
317
  return h;
318
318
  }
319
- var m = "string", S = Dr(h, o);
319
+ var v = "string", S = Dr(h, o);
320
320
  if (S !== void 0) {
321
- var $ = S.call(h, m);
322
- if (Q($))
321
+ var j = S.call(h, v);
322
+ if (Q(j))
323
323
  throw new TypeError();
324
- return $;
324
+ return j;
325
325
  }
326
- return mi(h);
326
+ return vi(h);
327
327
  }
328
- function mi(h, d) {
329
- var m, S;
328
+ function vi(h, d) {
329
+ var v, S;
330
330
  {
331
- var $ = h.toString;
332
- if (ut($)) {
333
- var S = $.call(h);
331
+ var j = h.toString;
332
+ if (ct(j)) {
333
+ var S = j.call(h);
334
334
  if (!Q(S))
335
335
  return S;
336
336
  }
337
- var m = h.valueOf;
338
- if (ut(m)) {
339
- var S = m.call(h);
337
+ var v = h.valueOf;
338
+ if (ct(v)) {
339
+ var S = v.call(h);
340
340
  if (!Q(S))
341
341
  return S;
342
342
  }
343
343
  }
344
344
  throw new TypeError();
345
345
  }
346
- function jr(h) {
346
+ function $r(h) {
347
347
  return !!h;
348
348
  }
349
- function vi(h) {
349
+ function mi(h) {
350
350
  return "" + h;
351
351
  }
352
352
  function ce(h) {
353
353
  var d = pi(h);
354
- return di(d) ? d : vi(d);
354
+ return di(d) ? d : mi(d);
355
355
  }
356
- function $r(h) {
356
+ function jr(h) {
357
357
  return Array.isArray ? Array.isArray(h) : h instanceof Object ? h instanceof Array : Object.prototype.toString.call(h) === "[object Array]";
358
358
  }
359
- function ut(h) {
359
+ function ct(h) {
360
360
  return typeof h == "function";
361
361
  }
362
362
  function xr(h) {
@@ -376,21 +376,21 @@ function Ui() {
376
376
  return h === d || h !== h && d !== d;
377
377
  }
378
378
  function Dr(h, d) {
379
- var m = h[d];
380
- if (m != null) {
381
- if (!ut(m))
379
+ var v = h[d];
380
+ if (v != null) {
381
+ if (!ct(v))
382
382
  throw new TypeError();
383
- return m;
383
+ return v;
384
384
  }
385
385
  }
386
386
  function kr(h) {
387
387
  var d = Dr(h, a);
388
- if (!ut(d))
388
+ if (!ct(d))
389
389
  throw new TypeError();
390
- var m = d.call(h);
391
- if (!Q(m))
390
+ var v = d.call(h);
391
+ if (!Q(v))
392
392
  throw new TypeError();
393
- return m;
393
+ return v;
394
394
  }
395
395
  function Ar(h) {
396
396
  return h.value;
@@ -403,20 +403,20 @@ function Ui() {
403
403
  var d = h.return;
404
404
  d && d.call(h);
405
405
  }
406
- function xt(h) {
406
+ function jt(h) {
407
407
  var d = Object.getPrototypeOf(h);
408
- if (typeof h != "function" || h === v || d !== v)
408
+ if (typeof h != "function" || h === m || d !== m)
409
409
  return d;
410
- var m = h.prototype, S = m && Object.getPrototypeOf(m);
410
+ var v = h.prototype, S = v && Object.getPrototypeOf(v);
411
411
  if (S == null || S === Object.prototype)
412
412
  return d;
413
- var $ = S.constructor;
414
- return typeof $ != "function" || $ === h ? d : $;
413
+ var j = S.constructor;
414
+ return typeof j != "function" || j === h ? d : j;
415
415
  }
416
416
  function _i() {
417
417
  var h;
418
418
  !A(F) && typeof n.Reflect < "u" && !(F in n.Reflect) && typeof n.Reflect.defineMetadata == "function" && (h = gi(n.Reflect));
419
- var d, m, S, $ = new D(), J = {
419
+ var d, v, S, j = new D(), J = {
420
420
  registerProvider: K,
421
421
  getProvider: E,
422
422
  setProvider: O
@@ -433,10 +433,10 @@ function Ui() {
433
433
  break;
434
434
  case d === R:
435
435
  break;
436
- case A(m):
437
- m = R;
436
+ case A(v):
437
+ v = R;
438
438
  break;
439
- case m === R:
439
+ case v === R:
440
440
  break;
441
441
  default:
442
442
  S === void 0 && (S = new z()), S.add(R);
@@ -447,8 +447,8 @@ function Ui() {
447
447
  if (!A(d)) {
448
448
  if (d.isProviderFor(R, W))
449
449
  return d;
450
- if (!A(m)) {
451
- if (m.isProviderFor(R, W))
450
+ if (!A(v)) {
451
+ if (v.isProviderFor(R, W))
452
452
  return d;
453
453
  if (!A(S))
454
454
  for (var U = kr(S); ; ) {
@@ -465,13 +465,13 @@ function Ui() {
465
465
  return h;
466
466
  }
467
467
  function E(R, W) {
468
- var U = $.get(R), V;
469
- return A(U) || (V = U.get(W)), A(V) && (V = L(R, W), A(V) || (A(U) && (U = new w(), $.set(R, U)), U.set(W, V))), V;
468
+ var U = j.get(R), V;
469
+ return A(U) || (V = U.get(W)), A(V) && (V = L(R, W), A(V) || (A(U) && (U = new w(), j.set(R, U)), U.set(W, V))), V;
470
470
  }
471
471
  function T(R) {
472
472
  if (A(R))
473
473
  throw new TypeError();
474
- return d === R || m === R || !A(S) && S.has(R);
474
+ return d === R || v === R || !A(S) && S.has(R);
475
475
  }
476
476
  function O(R, W, U) {
477
477
  if (!T(U))
@@ -480,8 +480,8 @@ function Ui() {
480
480
  if (V !== U) {
481
481
  if (!A(V))
482
482
  return !1;
483
- var oe = $.get(R);
484
- A(oe) && (oe = new w(), $.set(R, oe)), oe.set(W, U);
483
+ var oe = j.get(R);
484
+ A(oe) && (oe = new w(), j.set(R, oe)), oe.set(W, U);
485
485
  }
486
486
  return !0;
487
487
  }
@@ -496,18 +496,18 @@ function Ui() {
496
496
  }), h;
497
497
  }
498
498
  function wi(h) {
499
- var d = new D(), m = {
499
+ var d = new D(), v = {
500
500
  isProviderFor: function(T, O) {
501
501
  var R = d.get(T);
502
502
  return A(R) ? !1 : R.has(O);
503
503
  },
504
504
  OrdinaryDefineOwnMetadata: K,
505
- OrdinaryHasOwnMetadata: $,
505
+ OrdinaryHasOwnMetadata: j,
506
506
  OrdinaryGetOwnMetadata: J,
507
507
  OrdinaryOwnMetadataKeys: L,
508
508
  OrdinaryDeleteMetadata: E
509
509
  };
510
- return _.registerProvider(m), m;
510
+ return _.registerProvider(v), v;
511
511
  function S(T, O, R) {
512
512
  var W = d.get(T), U = !1;
513
513
  if (A(W)) {
@@ -519,19 +519,19 @@ function Ui() {
519
519
  if (A(V)) {
520
520
  if (!R)
521
521
  return;
522
- if (V = new w(), W.set(O, V), !h.setProvider(T, O, m))
522
+ if (V = new w(), W.set(O, V), !h.setProvider(T, O, v))
523
523
  throw W.delete(O), U && d.delete(T), new Error("Wrong provider for target.");
524
524
  }
525
525
  return V;
526
526
  }
527
- function $(T, O, R) {
527
+ function j(T, O, R) {
528
528
  var W = S(
529
529
  O,
530
530
  R,
531
531
  /*Create*/
532
532
  !1
533
533
  );
534
- return A(W) ? !1 : jr(W.has(T));
534
+ return A(W) ? !1 : $r(W.has(T));
535
535
  }
536
536
  function J(T, O, R) {
537
537
  var W = S(
@@ -595,31 +595,31 @@ function Ui() {
595
595
  }
596
596
  }
597
597
  function gi(h) {
598
- var d = h.defineMetadata, m = h.hasOwnMetadata, S = h.getOwnMetadata, $ = h.getOwnMetadataKeys, J = h.deleteMetadata, K = new D(), L = {
598
+ var d = h.defineMetadata, v = h.hasOwnMetadata, S = h.getOwnMetadata, j = h.getOwnMetadataKeys, J = h.deleteMetadata, K = new D(), L = {
599
599
  isProviderFor: function(E, T) {
600
600
  var O = K.get(E);
601
- return !A(O) && O.has(T) ? !0 : $(E, T).length ? (A(O) && (O = new z(), K.set(E, O)), O.add(T), !0) : !1;
601
+ return !A(O) && O.has(T) ? !0 : j(E, T).length ? (A(O) && (O = new z(), K.set(E, O)), O.add(T), !0) : !1;
602
602
  },
603
603
  OrdinaryDefineOwnMetadata: d,
604
- OrdinaryHasOwnMetadata: m,
604
+ OrdinaryHasOwnMetadata: v,
605
605
  OrdinaryGetOwnMetadata: S,
606
- OrdinaryOwnMetadataKeys: $,
606
+ OrdinaryOwnMetadataKeys: j,
607
607
  OrdinaryDeleteMetadata: J
608
608
  };
609
609
  return L;
610
610
  }
611
- function Be(h, d, m) {
611
+ function Be(h, d, v) {
612
612
  var S = _.getProvider(h, d);
613
613
  if (!A(S))
614
614
  return S;
615
- if (m) {
615
+ if (v) {
616
616
  if (_.setProvider(h, d, C))
617
617
  return C;
618
618
  throw new Error("Illegal state.");
619
619
  }
620
620
  }
621
621
  function Pi() {
622
- var h = {}, d = [], m = (
622
+ var h = {}, d = [], v = (
623
623
  /** @class */
624
624
  function() {
625
625
  function L(E, T, O) {
@@ -689,11 +689,11 @@ function Ui() {
689
689
  }, L.prototype.clear = function() {
690
690
  this._keys.length = 0, this._values.length = 0, this._cacheKey = h, this._cacheIndex = -2;
691
691
  }, L.prototype.keys = function() {
692
- return new m(this._keys, this._values, $);
692
+ return new v(this._keys, this._values, j);
693
693
  }, L.prototype.values = function() {
694
- return new m(this._keys, this._values, J);
694
+ return new v(this._keys, this._values, J);
695
695
  }, L.prototype.entries = function() {
696
- return new m(this._keys, this._values, K);
696
+ return new v(this._keys, this._values, K);
697
697
  }, L.prototype["@@iterator"] = function() {
698
698
  return this.entries();
699
699
  }, L.prototype[a] = function() {
@@ -712,7 +712,7 @@ function Ui() {
712
712
  }()
713
713
  );
714
714
  return S;
715
- function $(L, E) {
715
+ function j(L, E) {
716
716
  return L;
717
717
  }
718
718
  function J(L, E) {
@@ -735,12 +735,12 @@ function Ui() {
735
735
  },
736
736
  enumerable: !0,
737
737
  configurable: !0
738
- }), d.prototype.has = function(m) {
739
- return this._map.has(m);
740
- }, d.prototype.add = function(m) {
741
- return this._map.set(m, m), this;
742
- }, d.prototype.delete = function(m) {
743
- return this._map.delete(m);
738
+ }), d.prototype.has = function(v) {
739
+ return this._map.has(v);
740
+ }, d.prototype.add = function(v) {
741
+ return this._map.set(v, v), this;
742
+ }, d.prototype.delete = function(v) {
743
+ return this._map.delete(v);
744
744
  }, d.prototype.clear = function() {
745
745
  this._map.clear();
746
746
  }, d.prototype.keys = function() {
@@ -759,7 +759,7 @@ function Ui() {
759
759
  return h;
760
760
  }
761
761
  function Ci() {
762
- var h = 16, d = f.create(), m = S();
762
+ var h = 16, d = f.create(), v = S();
763
763
  return (
764
764
  /** @class */
765
765
  function() {
@@ -767,28 +767,28 @@ function Ui() {
767
767
  this._key = S();
768
768
  }
769
769
  return E.prototype.has = function(T) {
770
- var O = $(
770
+ var O = j(
771
771
  T,
772
772
  /*create*/
773
773
  !1
774
774
  );
775
775
  return O !== void 0 ? f.has(O, this._key) : !1;
776
776
  }, E.prototype.get = function(T) {
777
- var O = $(
777
+ var O = j(
778
778
  T,
779
779
  /*create*/
780
780
  !1
781
781
  );
782
782
  return O !== void 0 ? f.get(O, this._key) : void 0;
783
783
  }, E.prototype.set = function(T, O) {
784
- var R = $(
784
+ var R = j(
785
785
  T,
786
786
  /*create*/
787
787
  !0
788
788
  );
789
789
  return R[this._key] = O, this;
790
790
  }, E.prototype.delete = function(T) {
791
- var O = $(
791
+ var O = j(
792
792
  T,
793
793
  /*create*/
794
794
  !1
@@ -806,13 +806,13 @@ function Ui() {
806
806
  while (f.has(d, E));
807
807
  return d[E] = !0, E;
808
808
  }
809
- function $(E, T) {
810
- if (!i.call(E, m)) {
809
+ function j(E, T) {
810
+ if (!i.call(E, v)) {
811
811
  if (!T)
812
812
  return;
813
- Object.defineProperty(E, m, { value: f.create() });
813
+ Object.defineProperty(E, v, { value: f.create() });
814
814
  }
815
- return E[m];
815
+ return E[v];
816
816
  }
817
817
  function J(E, T) {
818
818
  for (var O = 0; O < T; ++O)
@@ -836,18 +836,18 @@ function Ui() {
836
836
  return T;
837
837
  }
838
838
  }
839
- function Dt(h) {
839
+ function xt(h) {
840
840
  return h.__ = void 0, delete h.__, h;
841
841
  }
842
842
  });
843
- }(t || (t = {})), Hr;
843
+ }(t || (t = {})), qr;
844
844
  }
845
845
  Ui();
846
- var Qt;
846
+ var Gt;
847
847
  (function(t) {
848
848
  t[t.Transient = 0] = "Transient", t[t.Singleton = 1] = "Singleton", t[t.ResolutionScoped = 2] = "ResolutionScoped", t[t.ContainerScoped = 3] = "ContainerScoped";
849
- })(Qt || (Qt = {}));
850
- const re = Qt;
849
+ })(Gt || (Gt = {}));
850
+ const re = Gt;
851
851
  /*! *****************************************************************************
852
852
  Copyright (c) Microsoft Corporation.
853
853
 
@@ -862,15 +862,15 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
862
862
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
863
863
  PERFORMANCE OF THIS SOFTWARE.
864
864
  ***************************************************************************** */
865
- var Kt = function(t, e) {
866
- return Kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
865
+ var Qt = function(t, e) {
866
+ return Qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
867
867
  r.__proto__ = n;
868
868
  } || function(r, n) {
869
869
  for (var i in n) n.hasOwnProperty(i) && (r[i] = n[i]);
870
- }, Kt(t, e);
870
+ }, Qt(t, e);
871
871
  };
872
872
  function br(t, e) {
873
- Kt(t, e);
873
+ Qt(t, e);
874
874
  function r() {
875
875
  this.constructor = t;
876
876
  }
@@ -963,7 +963,7 @@ function Bi(t, e) {
963
963
  return { value: c[0] ? c[1] : void 0, done: !0 };
964
964
  }
965
965
  }
966
- function ct(t) {
966
+ function lt(t) {
967
967
  var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
968
968
  if (r) return r.call(t);
969
969
  if (t && typeof t.length == "number") return {
@@ -990,28 +990,28 @@ function wt(t, e) {
990
990
  }
991
991
  return s;
992
992
  }
993
- function Oe() {
993
+ function Me() {
994
994
  for (var t = [], e = 0; e < arguments.length; e++)
995
995
  t = t.concat(wt(arguments[e]));
996
996
  return t;
997
997
  }
998
- var Xt = "injectionTokens";
998
+ var Kt = "injectionTokens";
999
999
  function Vi(t) {
1000
- var e = Reflect.getMetadata("design:paramtypes", t) || [], r = Reflect.getOwnMetadata(Xt, t) || {};
1000
+ var e = Reflect.getMetadata("design:paramtypes", t) || [], r = Reflect.getOwnMetadata(Kt, t) || {};
1001
1001
  return Object.keys(r).forEach(function(n) {
1002
1002
  e[+n] = r[n];
1003
1003
  }), e;
1004
1004
  }
1005
1005
  function Zi(t, e) {
1006
1006
  return function(r, n, i) {
1007
- var s = Reflect.getOwnMetadata(Xt, r) || {};
1008
- s[i] = t, Reflect.defineMetadata(Xt, s, r);
1007
+ var s = Reflect.getOwnMetadata(Kt, r) || {};
1008
+ s[i] = t, Reflect.defineMetadata(Kt, s, r);
1009
1009
  };
1010
1010
  }
1011
1011
  function zn(t) {
1012
1012
  return !!t.useClass;
1013
1013
  }
1014
- function Jt(t) {
1014
+ function Xt(t) {
1015
1015
  return !!t.useFactory;
1016
1016
  }
1017
1017
  var Fn = function() {
@@ -1042,13 +1042,13 @@ var Fn = function() {
1042
1042
  s[o] = arguments[o];
1043
1043
  s[0] = e();
1044
1044
  var a = Reflect[i];
1045
- return a.apply(void 0, Oe(s));
1045
+ return a.apply(void 0, Me(s));
1046
1046
  };
1047
1047
  };
1048
1048
  return this.reflectMethods.forEach(n), r;
1049
1049
  }, t;
1050
1050
  }();
1051
- function Ae(t) {
1051
+ function Ie(t) {
1052
1052
  return typeof t == "string" || typeof t == "symbol";
1053
1053
  }
1054
1054
  function Gi(t) {
@@ -1060,14 +1060,14 @@ function Yr(t) {
1060
1060
  function Qi(t) {
1061
1061
  return typeof t == "function" || t instanceof Fn;
1062
1062
  }
1063
- function vt(t) {
1063
+ function mt(t) {
1064
1064
  return !!t.useToken;
1065
1065
  }
1066
1066
  function yt(t) {
1067
1067
  return t.useValue != null;
1068
1068
  }
1069
1069
  function Ki(t) {
1070
- return zn(t) || yt(t) || vt(t) || Jt(t);
1070
+ return zn(t) || yt(t) || mt(t) || Xt(t);
1071
1071
  }
1072
1072
  var wr = function() {
1073
1073
  function t() {
@@ -1111,7 +1111,7 @@ function Ji(t, e) {
1111
1111
  return '"' + r + '" at position #' + e;
1112
1112
  }
1113
1113
  function es(t, e, r) {
1114
- return r === void 0 && (r = " "), Oe([t], e.message.split(`
1114
+ return r === void 0 && (r = " "), Me([t], e.message.split(`
1115
1115
  `).map(function(n) {
1116
1116
  return r + n;
1117
1117
  })).join(`
@@ -1151,20 +1151,20 @@ var ns = function(t) {
1151
1151
  return t.prototype.register = function(e, r, n) {
1152
1152
  n === void 0 && (n = { lifecycle: re.Transient }), this.ensureNotDisposed();
1153
1153
  var i;
1154
- if (Ki(r) ? i = r : i = { useClass: r }, vt(i))
1154
+ if (Ki(r) ? i = r : i = { useClass: r }, mt(i))
1155
1155
  for (var s = [e], o = i; o != null; ) {
1156
1156
  var a = o.useToken;
1157
1157
  if (s.includes(a))
1158
- throw new Error("Token registration cycle detected! " + Oe(s, [a]).join(" -> "));
1158
+ throw new Error("Token registration cycle detected! " + Me(s, [a]).join(" -> "));
1159
1159
  s.push(a);
1160
1160
  var u = this._registry.get(a);
1161
- u && vt(u.provider) ? o = u.provider : o = null;
1161
+ u && mt(u.provider) ? o = u.provider : o = null;
1162
1162
  }
1163
- if ((n.lifecycle === re.Singleton || n.lifecycle == re.ContainerScoped || n.lifecycle == re.ResolutionScoped) && (yt(i) || Jt(i)))
1163
+ if ((n.lifecycle === re.Singleton || n.lifecycle == re.ContainerScoped || n.lifecycle == re.ResolutionScoped) && (yt(i) || Xt(i)))
1164
1164
  throw new Error('Cannot use lifecycle "' + re[n.lifecycle] + '" with ValueProviders or FactoryProviders');
1165
1165
  return this._registry.set(e, { provider: i, options: n }), this;
1166
1166
  }, t.prototype.registerType = function(e, r) {
1167
- return this.ensureNotDisposed(), Ae(r) ? this.register(e, {
1167
+ return this.ensureNotDisposed(), Ie(r) ? this.register(e, {
1168
1168
  useToken: r
1169
1169
  }) : this.register(e, {
1170
1170
  useClass: r
@@ -1174,8 +1174,8 @@ var ns = function(t) {
1174
1174
  useValue: r
1175
1175
  });
1176
1176
  }, t.prototype.registerSingleton = function(e, r) {
1177
- if (this.ensureNotDisposed(), Ae(e)) {
1178
- if (Ae(r))
1177
+ if (this.ensureNotDisposed(), Ie(e)) {
1178
+ if (Ie(r))
1179
1179
  return this.register(e, {
1180
1180
  useToken: r
1181
1181
  }, { lifecycle: re.Singleton });
@@ -1186,13 +1186,13 @@ var ns = function(t) {
1186
1186
  throw new Error('Cannot register a type name as a singleton without a "to" token');
1187
1187
  }
1188
1188
  var n = e;
1189
- return r && !Ae(r) && (n = r), this.register(e, {
1189
+ return r && !Ie(r) && (n = r), this.register(e, {
1190
1190
  useClass: n
1191
1191
  }, { lifecycle: re.Singleton });
1192
1192
  }, t.prototype.resolve = function(e, r) {
1193
1193
  r === void 0 && (r = new Br()), this.ensureNotDisposed();
1194
1194
  var n = this.getRegistration(e);
1195
- if (!n && Ae(e))
1195
+ if (!n && Ie(e))
1196
1196
  throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
1197
1197
  if (this.executePreResolutionInterceptor(e, "Single"), n) {
1198
1198
  var i = this.resolveRegistration(n, r);
@@ -1208,7 +1208,7 @@ var ns = function(t) {
1208
1208
  if (this.interceptors.preResolution.has(e)) {
1209
1209
  var s = [];
1210
1210
  try {
1211
- for (var o = ct(this.interceptors.preResolution.getAll(e)), a = o.next(); !a.done; a = o.next()) {
1211
+ for (var o = lt(this.interceptors.preResolution.getAll(e)), a = o.next(); !a.done; a = o.next()) {
1212
1212
  var u = a.value;
1213
1213
  u.options.frequency != "Once" && s.push(u), u.callback(e, r);
1214
1214
  }
@@ -1228,7 +1228,7 @@ var ns = function(t) {
1228
1228
  if (this.interceptors.postResolution.has(e)) {
1229
1229
  var o = [];
1230
1230
  try {
1231
- for (var a = ct(this.interceptors.postResolution.getAll(e)), u = a.next(); !u.done; u = a.next()) {
1231
+ for (var a = lt(this.interceptors.postResolution.getAll(e)), u = a.next(); !u.done; u = a.next()) {
1232
1232
  var c = u.value;
1233
1233
  c.options.frequency != "Once" && o.push(c), c.callback(e, r, n);
1234
1234
  }
@@ -1247,12 +1247,12 @@ var ns = function(t) {
1247
1247
  if (this.ensureNotDisposed(), e.options.lifecycle === re.ResolutionScoped && r.scopedResolutions.has(e))
1248
1248
  return r.scopedResolutions.get(e);
1249
1249
  var n = e.options.lifecycle === re.Singleton, i = e.options.lifecycle === re.ContainerScoped, s = n || i, o;
1250
- return yt(e.provider) ? o = e.provider.useValue : vt(e.provider) ? o = s ? e.instance || (e.instance = this.resolve(e.provider.useToken, r)) : this.resolve(e.provider.useToken, r) : zn(e.provider) ? o = s ? e.instance || (e.instance = this.construct(e.provider.useClass, r)) : this.construct(e.provider.useClass, r) : Jt(e.provider) ? o = e.provider.useFactory(this) : o = this.construct(e.provider, r), e.options.lifecycle === re.ResolutionScoped && r.scopedResolutions.set(e, o), o;
1250
+ return yt(e.provider) ? o = e.provider.useValue : mt(e.provider) ? o = s ? e.instance || (e.instance = this.resolve(e.provider.useToken, r)) : this.resolve(e.provider.useToken, r) : zn(e.provider) ? o = s ? e.instance || (e.instance = this.construct(e.provider.useClass, r)) : this.construct(e.provider.useClass, r) : Xt(e.provider) ? o = e.provider.useFactory(this) : o = this.construct(e.provider, r), e.options.lifecycle === re.ResolutionScoped && r.scopedResolutions.set(e, o), o;
1251
1251
  }, t.prototype.resolveAll = function(e, r) {
1252
1252
  var n = this;
1253
1253
  r === void 0 && (r = new Br()), this.ensureNotDisposed();
1254
1254
  var i = this.getAllRegistrations(e);
1255
- if (!i && Ae(e))
1255
+ if (!i && Ie(e))
1256
1256
  throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
1257
1257
  if (this.executePreResolutionInterceptor(e, "All"), i) {
1258
1258
  var s = i.map(function(a) {
@@ -1270,7 +1270,7 @@ var ns = function(t) {
1270
1270
  var e, r;
1271
1271
  this.ensureNotDisposed();
1272
1272
  try {
1273
- for (var n = ct(this._registry.entries()), i = n.next(); !i.done; i = n.next()) {
1273
+ for (var n = lt(this._registry.entries()), i = n.next(); !i.done; i = n.next()) {
1274
1274
  var s = wt(i.value, 2), o = s[0], a = s[1];
1275
1275
  this._registry.setAll(o, a.filter(function(u) {
1276
1276
  return !yt(u.provider);
@@ -1292,7 +1292,7 @@ var ns = function(t) {
1292
1292
  this.ensureNotDisposed();
1293
1293
  var n = new t(this);
1294
1294
  try {
1295
- for (var i = ct(this._registry.entries()), s = i.next(); !s.done; s = i.next()) {
1295
+ for (var i = lt(this._registry.entries()), s = i.next(); !s.done; s = i.next()) {
1296
1296
  var o = wt(s.value, 2), a = o[0], u = o[1];
1297
1297
  u.some(function(c) {
1298
1298
  var l = c.options;
@@ -1357,7 +1357,7 @@ var ns = function(t) {
1357
1357
  throw new Error('TypeInfo not known for "' + e.name + '"');
1358
1358
  }
1359
1359
  var o = s.map(n.resolveParams(r, e));
1360
- return new (e.bind.apply(e, Oe([void 0], o)))();
1360
+ return new (e.bind.apply(e, Me([void 0], o)))();
1361
1361
  }();
1362
1362
  return rs(i) && this.disposables.add(i), i;
1363
1363
  }, t.prototype.resolveParams = function(e, r) {
@@ -1365,7 +1365,7 @@ var ns = function(t) {
1365
1365
  return function(i, s) {
1366
1366
  var o, a, u;
1367
1367
  try {
1368
- return Gi(i) ? Yr(i) ? i.multiple ? (o = n.resolve(i.transform)).transform.apply(o, Oe([n.resolveAll(i.token)], i.transformArgs)) : (a = n.resolve(i.transform)).transform.apply(a, Oe([n.resolve(i.token, e)], i.transformArgs)) : i.multiple ? n.resolveAll(i.token) : n.resolve(i.token, e) : Yr(i) ? (u = n.resolve(i.transform, e)).transform.apply(u, Oe([n.resolve(i.token, e)], i.transformArgs)) : n.resolve(i, e);
1368
+ return Gi(i) ? Yr(i) ? i.multiple ? (o = n.resolve(i.transform)).transform.apply(o, Me([n.resolveAll(i.token)], i.transformArgs)) : (a = n.resolve(i.transform)).transform.apply(a, Me([n.resolve(i.token, e)], i.transformArgs)) : i.multiple ? n.resolveAll(i.token) : n.resolve(i.token, e) : Yr(i) ? (u = n.resolve(i.transform, e)).transform.apply(u, Me([n.resolve(i.token, e)], i.transformArgs)) : n.resolve(i, e);
1369
1369
  } catch (c) {
1370
1370
  throw new Error(ts(r, s, c));
1371
1371
  }
@@ -1402,7 +1402,7 @@ const Du = [
1402
1402
  "ArrowDown",
1403
1403
  "ArrowLeft",
1404
1404
  "ArrowRight"
1405
- ], qn = [
1405
+ ], Hn = [
1406
1406
  "contextmenu",
1407
1407
  "resize",
1408
1408
  "mousedown",
@@ -1418,7 +1418,7 @@ const Du = [
1418
1418
  "wheel",
1419
1419
  "keydown"
1420
1420
  ];
1421
- var er = /* @__PURE__ */ ((t) => (t[t.PERSPECTIVE = 0] = "PERSPECTIVE", t[t.ORTHOGRAPHIC = 1] = "ORTHOGRAPHIC", t))(er || {});
1421
+ var Jt = /* @__PURE__ */ ((t) => (t[t.PERSPECTIVE = 0] = "PERSPECTIVE", t[t.ORTHOGRAPHIC = 1] = "ORTHOGRAPHIC", t))(Jt || {});
1422
1422
  class as {
1423
1423
  constructor() {
1424
1424
  p(this, "contextmenu$$");
@@ -1526,17 +1526,17 @@ class ku {
1526
1526
  }
1527
1527
  }
1528
1528
  const Au = "CONTAINER", hs = "LOADER_SERIALIZED_LOAD";
1529
- var tr = function(t, e) {
1530
- return tr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1529
+ var er = function(t, e) {
1530
+ return er = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1531
1531
  r.__proto__ = n;
1532
1532
  } || function(r, n) {
1533
1533
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1534
- }, tr(t, e);
1534
+ }, er(t, e);
1535
1535
  };
1536
- function nt(t, e) {
1536
+ function it(t, e) {
1537
1537
  if (typeof e != "function" && e !== null)
1538
1538
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
1539
- tr(t, e);
1539
+ er(t, e);
1540
1540
  function r() {
1541
1541
  this.constructor = t;
1542
1542
  }
@@ -1569,7 +1569,7 @@ function fs(t, e, r, n) {
1569
1569
  c((n = n.apply(t, e || [])).next());
1570
1570
  });
1571
1571
  }
1572
- function Hn(t, e) {
1572
+ function qn(t, e) {
1573
1573
  var r = { label: 0, sent: function() {
1574
1574
  if (s[0] & 1) throw s[1];
1575
1575
  return s[1];
@@ -1629,7 +1629,7 @@ function Hn(t, e) {
1629
1629
  return { value: c[0] ? c[1] : void 0, done: !0 };
1630
1630
  }
1631
1631
  }
1632
- function We(t) {
1632
+ function Ne(t) {
1633
1633
  var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
1634
1634
  if (r) return r.call(t);
1635
1635
  if (t && typeof t.length == "number") return {
@@ -1656,13 +1656,13 @@ function _e(t, e) {
1656
1656
  }
1657
1657
  return s;
1658
1658
  }
1659
- function Me(t, e, r) {
1659
+ function Re(t, e, r) {
1660
1660
  if (r || arguments.length === 2) for (var n = 0, i = e.length, s; n < i; n++)
1661
1661
  (s || !(n in e)) && (s || (s = Array.prototype.slice.call(e, 0, n)), s[n] = e[n]);
1662
1662
  return t.concat(s || Array.prototype.slice.call(e));
1663
1663
  }
1664
- function Le(t) {
1665
- return this instanceof Le ? (this.v = t, this) : new Le(t);
1664
+ function We(t) {
1665
+ return this instanceof We ? (this.v = t, this) : new We(t);
1666
1666
  }
1667
1667
  function ds(t, e, r) {
1668
1668
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
@@ -1686,11 +1686,11 @@ function ds(t, e, r) {
1686
1686
  try {
1687
1687
  c(n[w](z));
1688
1688
  } catch (D) {
1689
- v(s[0][3], D);
1689
+ m(s[0][3], D);
1690
1690
  }
1691
1691
  }
1692
1692
  function c(w) {
1693
- w.value instanceof Le ? Promise.resolve(w.value.v).then(l, f) : v(s[0][2], w);
1693
+ w.value instanceof We ? Promise.resolve(w.value.v).then(l, f) : m(s[0][2], w);
1694
1694
  }
1695
1695
  function l(w) {
1696
1696
  u("next", w);
@@ -1698,14 +1698,14 @@ function ds(t, e, r) {
1698
1698
  function f(w) {
1699
1699
  u("throw", w);
1700
1700
  }
1701
- function v(w, z) {
1701
+ function m(w, z) {
1702
1702
  w(z), s.shift(), s.length && u(s[0][0], s[0][1]);
1703
1703
  }
1704
1704
  }
1705
1705
  function ps(t) {
1706
1706
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
1707
1707
  var e = t[Symbol.asyncIterator], r;
1708
- return e ? e.call(t) : (t = typeof We == "function" ? We(t) : t[Symbol.iterator](), r = {}, n("next"), n("throw"), n("return"), r[Symbol.asyncIterator] = function() {
1708
+ return e ? e.call(t) : (t = typeof Ne == "function" ? Ne(t) : t[Symbol.iterator](), r = {}, n("next"), n("throw"), n("return"), r[Symbol.asyncIterator] = function() {
1709
1709
  return this;
1710
1710
  }, r);
1711
1711
  function n(s) {
@@ -1730,7 +1730,7 @@ function Un(t) {
1730
1730
  }, r = t(e);
1731
1731
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
1732
1732
  }
1733
- var kt = Un(function(t) {
1733
+ var Dt = Un(function(t) {
1734
1734
  return function(r) {
1735
1735
  t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
1736
1736
  ` + r.map(function(n, i) {
@@ -1739,13 +1739,13 @@ var kt = Un(function(t) {
1739
1739
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
1740
1740
  };
1741
1741
  });
1742
- function rr(t, e) {
1742
+ function tr(t, e) {
1743
1743
  if (t) {
1744
1744
  var r = t.indexOf(e);
1745
1745
  0 <= r && t.splice(r, 1);
1746
1746
  }
1747
1747
  }
1748
- var it = function() {
1748
+ var st = function() {
1749
1749
  function t(e) {
1750
1750
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
1751
1751
  }
@@ -1757,7 +1757,7 @@ var it = function() {
1757
1757
  if (o)
1758
1758
  if (this._parentage = null, Array.isArray(o))
1759
1759
  try {
1760
- for (var a = We(o), u = a.next(); !u.done; u = a.next()) {
1760
+ for (var a = Ne(o), u = a.next(); !u.done; u = a.next()) {
1761
1761
  var c = u.value;
1762
1762
  c.remove(this);
1763
1763
  }
@@ -1777,32 +1777,32 @@ var it = function() {
1777
1777
  try {
1778
1778
  l();
1779
1779
  } catch (D) {
1780
- s = D instanceof kt ? D.errors : [D];
1780
+ s = D instanceof Dt ? D.errors : [D];
1781
1781
  }
1782
1782
  var f = this._finalizers;
1783
1783
  if (f) {
1784
1784
  this._finalizers = null;
1785
1785
  try {
1786
- for (var v = We(f), w = v.next(); !w.done; w = v.next()) {
1786
+ for (var m = Ne(f), w = m.next(); !w.done; w = m.next()) {
1787
1787
  var z = w.value;
1788
1788
  try {
1789
1789
  Vr(z);
1790
1790
  } catch (D) {
1791
- s = s ?? [], D instanceof kt ? s = Me(Me([], _e(s)), _e(D.errors)) : s.push(D);
1791
+ s = s ?? [], D instanceof Dt ? s = Re(Re([], _e(s)), _e(D.errors)) : s.push(D);
1792
1792
  }
1793
1793
  }
1794
1794
  } catch (D) {
1795
1795
  n = { error: D };
1796
1796
  } finally {
1797
1797
  try {
1798
- w && !w.done && (i = v.return) && i.call(v);
1798
+ w && !w.done && (i = m.return) && i.call(m);
1799
1799
  } finally {
1800
1800
  if (n) throw n.error;
1801
1801
  }
1802
1802
  }
1803
1803
  }
1804
1804
  if (s)
1805
- throw new kt(s);
1805
+ throw new Dt(s);
1806
1806
  }
1807
1807
  }, t.prototype.add = function(e) {
1808
1808
  var r;
@@ -1825,17 +1825,17 @@ var it = function() {
1825
1825
  this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
1826
1826
  }, t.prototype._removeParent = function(e) {
1827
1827
  var r = this._parentage;
1828
- r === e ? this._parentage = null : Array.isArray(r) && rr(r, e);
1828
+ r === e ? this._parentage = null : Array.isArray(r) && tr(r, e);
1829
1829
  }, t.prototype.remove = function(e) {
1830
1830
  var r = this._finalizers;
1831
- r && rr(r, e), e instanceof t && e._removeParent(this);
1831
+ r && tr(r, e), e instanceof t && e._removeParent(this);
1832
1832
  }, t.EMPTY = function() {
1833
1833
  var e = new t();
1834
1834
  return e.closed = !0, e;
1835
1835
  }(), t;
1836
- }(), Yn = it.EMPTY;
1836
+ }(), Yn = st.EMPTY;
1837
1837
  function Bn(t) {
1838
- return t instanceof it || t && "closed" in t && Y(t.remove) && Y(t.add) && Y(t.unsubscribe);
1838
+ return t instanceof st || t && "closed" in t && Y(t.remove) && Y(t.add) && Y(t.unsubscribe);
1839
1839
  }
1840
1840
  function Vr(t) {
1841
1841
  Y(t) ? t() : t.unsubscribe();
@@ -1850,7 +1850,7 @@ var Vn = {
1850
1850
  setTimeout: function(t, e) {
1851
1851
  for (var r = [], n = 2; n < arguments.length; n++)
1852
1852
  r[n - 2] = arguments[n];
1853
- return setTimeout.apply(void 0, Me([t, e], _e(r)));
1853
+ return setTimeout.apply(void 0, Re([t, e], _e(r)));
1854
1854
  },
1855
1855
  clearTimeout: function(t) {
1856
1856
  var e = Zn.delegate;
@@ -1869,13 +1869,13 @@ function _t(t) {
1869
1869
  t();
1870
1870
  }
1871
1871
  var Pr = function(t) {
1872
- nt(e, t);
1872
+ it(e, t);
1873
1873
  function e(r) {
1874
1874
  var n = t.call(this) || this;
1875
1875
  return n.isStopped = !1, r ? (n.destination = r, Bn(r) && r.add(n)) : n.destination = _s, n;
1876
1876
  }
1877
1877
  return e.create = function(r, n, i) {
1878
- return new Je(r, n, i);
1878
+ return new et(r, n, i);
1879
1879
  }, e.prototype.next = function(r) {
1880
1880
  this.isStopped || this._next(r);
1881
1881
  }, e.prototype.error = function(r) {
@@ -1899,11 +1899,11 @@ var Pr = function(t) {
1899
1899
  this.unsubscribe();
1900
1900
  }
1901
1901
  }, e;
1902
- }(it), ms = Function.prototype.bind;
1903
- function At(t, e) {
1904
- return ms.call(t, e);
1902
+ }(st), vs = Function.prototype.bind;
1903
+ function kt(t, e) {
1904
+ return vs.call(t, e);
1905
1905
  }
1906
- var vs = function() {
1906
+ var ms = function() {
1907
1907
  function t(e) {
1908
1908
  this.partialObserver = e;
1909
1909
  }
@@ -1913,7 +1913,7 @@ var vs = function() {
1913
1913
  try {
1914
1914
  r.next(e);
1915
1915
  } catch (n) {
1916
- lt(n);
1916
+ ht(n);
1917
1917
  }
1918
1918
  }, t.prototype.error = function(e) {
1919
1919
  var r = this.partialObserver;
@@ -1921,21 +1921,21 @@ var vs = function() {
1921
1921
  try {
1922
1922
  r.error(e);
1923
1923
  } catch (n) {
1924
- lt(n);
1924
+ ht(n);
1925
1925
  }
1926
1926
  else
1927
- lt(e);
1927
+ ht(e);
1928
1928
  }, t.prototype.complete = function() {
1929
1929
  var e = this.partialObserver;
1930
1930
  if (e.complete)
1931
1931
  try {
1932
1932
  e.complete();
1933
1933
  } catch (r) {
1934
- lt(r);
1934
+ ht(r);
1935
1935
  }
1936
1936
  }, t;
1937
- }(), Je = function(t) {
1938
- nt(e, t);
1937
+ }(), et = function(t) {
1938
+ it(e, t);
1939
1939
  function e(r, n, i) {
1940
1940
  var s = t.call(this) || this, o;
1941
1941
  if (Y(r) || !r)
@@ -1949,16 +1949,16 @@ var vs = function() {
1949
1949
  s && Vn.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1950
1950
  return s.unsubscribe();
1951
1951
  }, o = {
1952
- next: r.next && At(r.next, a),
1953
- error: r.error && At(r.error, a),
1954
- complete: r.complete && At(r.complete, a)
1952
+ next: r.next && kt(r.next, a),
1953
+ error: r.error && kt(r.error, a),
1954
+ complete: r.complete && kt(r.complete, a)
1955
1955
  }) : o = r;
1956
1956
  }
1957
- return s.destination = new vs(o), s;
1957
+ return s.destination = new ms(o), s;
1958
1958
  }
1959
1959
  return e;
1960
1960
  }(Pr);
1961
- function lt(t) {
1961
+ function ht(t) {
1962
1962
  Gn(t);
1963
1963
  }
1964
1964
  function ys(t) {
@@ -1990,7 +1990,7 @@ var he = function() {
1990
1990
  var r = new t();
1991
1991
  return r.source = this, r.operator = e, r;
1992
1992
  }, t.prototype.subscribe = function(e, r, n) {
1993
- var i = this, s = gs(e) ? e : new Je(e, r, n);
1993
+ var i = this, s = gs(e) ? e : new et(e, r, n);
1994
1994
  return _t(function() {
1995
1995
  var o = i, a = o.operator, u = o.source;
1996
1996
  s.add(a ? a.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
@@ -2004,7 +2004,7 @@ var he = function() {
2004
2004
  }, t.prototype.forEach = function(e, r) {
2005
2005
  var n = this;
2006
2006
  return r = Gr(r), new r(function(i, s) {
2007
- var o = new Je({
2007
+ var o = new et({
2008
2008
  next: function(a) {
2009
2009
  try {
2010
2010
  e(a);
@@ -2068,11 +2068,11 @@ function Ye(t) {
2068
2068
  throw new TypeError("Unable to lift unknown Observable type");
2069
2069
  };
2070
2070
  }
2071
- function Ne(t, e, r, n, i) {
2071
+ function He(t, e, r, n, i) {
2072
2072
  return new Ss(t, e, r, n, i);
2073
2073
  }
2074
2074
  var Ss = function(t) {
2075
- nt(e, t);
2075
+ it(e, t);
2076
2076
  function e(r, n, i, s, o, a) {
2077
2077
  var u = t.call(this, r) || this;
2078
2078
  return u.onFinalize = o, u.shouldUnsubscribe = a, u._next = n ? function(c) {
@@ -2111,26 +2111,26 @@ var Ss = function(t) {
2111
2111
  return performance.now();
2112
2112
  },
2113
2113
  delegate: void 0
2114
- }, nr = {
2114
+ }, rr = {
2115
2115
  schedule: function(t) {
2116
- var e = requestAnimationFrame, r = cancelAnimationFrame, n = nr.delegate;
2116
+ var e = requestAnimationFrame, r = cancelAnimationFrame, n = rr.delegate;
2117
2117
  n && (e = n.requestAnimationFrame, r = n.cancelAnimationFrame);
2118
2118
  var i = e(function(s) {
2119
2119
  r = void 0, t(s);
2120
2120
  });
2121
- return new it(function() {
2121
+ return new st(function() {
2122
2122
  return r == null ? void 0 : r(i);
2123
2123
  });
2124
2124
  },
2125
2125
  requestAnimationFrame: function() {
2126
2126
  for (var t = [], e = 0; e < arguments.length; e++)
2127
2127
  t[e] = arguments[e];
2128
- return requestAnimationFrame.apply(void 0, Me([], _e(t)));
2128
+ return requestAnimationFrame.apply(void 0, Re([], _e(t)));
2129
2129
  },
2130
2130
  cancelAnimationFrame: function() {
2131
2131
  for (var t = [], e = 0; e < arguments.length; e++)
2132
2132
  t[e] = arguments[e];
2133
- return cancelAnimationFrame.apply(void 0, Me([], _e(t)));
2133
+ return cancelAnimationFrame.apply(void 0, Re([], _e(t)));
2134
2134
  },
2135
2135
  delegate: void 0
2136
2136
  };
@@ -2140,7 +2140,7 @@ function Es(t) {
2140
2140
  function Kn(t) {
2141
2141
  return new he(function(e) {
2142
2142
  var r = t || Cs, n = r.now(), i = 0, s = function() {
2143
- e.closed || (i = nr.requestAnimationFrame(function(o) {
2143
+ e.closed || (i = rr.requestAnimationFrame(function(o) {
2144
2144
  i = 0;
2145
2145
  var a = r.now();
2146
2146
  e.next({
@@ -2150,7 +2150,7 @@ function Kn(t) {
2150
2150
  }));
2151
2151
  };
2152
2152
  return s(), function() {
2153
- i && nr.cancelAnimationFrame(i);
2153
+ i && rr.cancelAnimationFrame(i);
2154
2154
  };
2155
2155
  });
2156
2156
  }
@@ -2158,8 +2158,8 @@ var Ts = Kn(), Os = Un(function(t) {
2158
2158
  return function() {
2159
2159
  t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
2160
2160
  };
2161
- }), Ot = function(t) {
2162
- nt(e, t);
2161
+ }), Tt = function(t) {
2162
+ it(e, t);
2163
2163
  function e() {
2164
2164
  var r = t.call(this) || this;
2165
2165
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -2177,7 +2177,7 @@ var Ts = Kn(), Os = Un(function(t) {
2177
2177
  if (n._throwIfClosed(), !n.isStopped) {
2178
2178
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
2179
2179
  try {
2180
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
2180
+ for (var o = Ne(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
2181
2181
  var u = a.value;
2182
2182
  u.next(r);
2183
2183
  }
@@ -2225,8 +2225,8 @@ var Ts = Kn(), Os = Un(function(t) {
2225
2225
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
2226
2226
  }, e.prototype._innerSubscribe = function(r) {
2227
2227
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
2228
- return s || o ? Yn : (this.currentObservers = null, a.push(r), new it(function() {
2229
- n.currentObservers = null, rr(a, r);
2228
+ return s || o ? Yn : (this.currentObservers = null, a.push(r), new st(function() {
2229
+ n.currentObservers = null, tr(a, r);
2230
2230
  }));
2231
2231
  }, e.prototype._checkFinalizedStatuses = function(r) {
2232
2232
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
@@ -2238,7 +2238,7 @@ var Ts = Kn(), Os = Un(function(t) {
2238
2238
  return new Qr(r, n);
2239
2239
  }, e;
2240
2240
  }(he), Qr = function(t) {
2241
- nt(e, t);
2241
+ it(e, t);
2242
2242
  function e(r, n) {
2243
2243
  var i = t.call(this) || this;
2244
2244
  return i.destination = r, i.source = n, i;
@@ -2256,7 +2256,7 @@ var Ts = Kn(), Os = Un(function(t) {
2256
2256
  var n, i;
2257
2257
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yn;
2258
2258
  }, e;
2259
- }(Ot), Xn = function(t) {
2259
+ }(Tt), Xn = function(t) {
2260
2260
  return t && typeof t.length == "number" && typeof t != "function";
2261
2261
  };
2262
2262
  function Ms(t) {
@@ -2265,10 +2265,10 @@ function Ms(t) {
2265
2265
  function Rs(t) {
2266
2266
  return Y(t[Sr]);
2267
2267
  }
2268
- function js(t) {
2268
+ function $s(t) {
2269
2269
  return Symbol.asyncIterator && Y(t == null ? void 0 : t[Symbol.asyncIterator]);
2270
2270
  }
2271
- function $s(t) {
2271
+ function js(t) {
2272
2272
  return new TypeError("You provided " + (t !== null && typeof t == "object" ? "an invalid object" : "'" + t + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
2273
2273
  }
2274
2274
  function xs() {
@@ -2281,20 +2281,20 @@ function ks(t) {
2281
2281
  function As(t) {
2282
2282
  return ds(this, arguments, function() {
2283
2283
  var r, n, i, s;
2284
- return Hn(this, function(o) {
2284
+ return qn(this, function(o) {
2285
2285
  switch (o.label) {
2286
2286
  case 0:
2287
2287
  r = t.getReader(), o.label = 1;
2288
2288
  case 1:
2289
2289
  o.trys.push([1, , 9, 10]), o.label = 2;
2290
2290
  case 2:
2291
- return [4, Le(r.read())];
2291
+ return [4, We(r.read())];
2292
2292
  case 3:
2293
- return n = o.sent(), i = n.value, s = n.done, s ? [4, Le(void 0)] : [3, 5];
2293
+ return n = o.sent(), i = n.value, s = n.done, s ? [4, We(void 0)] : [3, 5];
2294
2294
  case 4:
2295
2295
  return [2, o.sent()];
2296
2296
  case 5:
2297
- return [4, Le(i)];
2297
+ return [4, We(i)];
2298
2298
  case 6:
2299
2299
  return [4, o.sent()];
2300
2300
  case 7:
@@ -2312,7 +2312,7 @@ function As(t) {
2312
2312
  function Is(t) {
2313
2313
  return Y(t == null ? void 0 : t.getReader);
2314
2314
  }
2315
- function st(t) {
2315
+ function ot(t) {
2316
2316
  if (t instanceof he)
2317
2317
  return t;
2318
2318
  if (t != null) {
@@ -2322,14 +2322,14 @@ function st(t) {
2322
2322
  return Fs(t);
2323
2323
  if (Ms(t))
2324
2324
  return Ls(t);
2325
- if (js(t))
2325
+ if ($s(t))
2326
2326
  return Jn(t);
2327
2327
  if (ks(t))
2328
2328
  return Ws(t);
2329
2329
  if (Is(t))
2330
2330
  return Ns(t);
2331
2331
  }
2332
- throw $s(t);
2332
+ throw js(t);
2333
2333
  }
2334
2334
  function zs(t) {
2335
2335
  return new he(function(e) {
@@ -2359,7 +2359,7 @@ function Ws(t) {
2359
2359
  return new he(function(e) {
2360
2360
  var r, n;
2361
2361
  try {
2362
- for (var i = We(t), s = i.next(); !s.done; s = i.next()) {
2362
+ for (var i = Ne(t), s = i.next(); !s.done; s = i.next()) {
2363
2363
  var o = s.value;
2364
2364
  if (e.next(o), e.closed)
2365
2365
  return;
@@ -2378,7 +2378,7 @@ function Ws(t) {
2378
2378
  }
2379
2379
  function Jn(t) {
2380
2380
  return new he(function(e) {
2381
- qs(t, e).catch(function(r) {
2381
+ Hs(t, e).catch(function(r) {
2382
2382
  return e.error(r);
2383
2383
  });
2384
2384
  });
@@ -2386,11 +2386,11 @@ function Jn(t) {
2386
2386
  function Ns(t) {
2387
2387
  return Jn(As(t));
2388
2388
  }
2389
- function qs(t, e) {
2389
+ function Hs(t, e) {
2390
2390
  var r, n, i, s;
2391
2391
  return fs(this, void 0, void 0, function() {
2392
2392
  var o, a;
2393
- return Hn(this, function(u) {
2393
+ return qn(this, function(u) {
2394
2394
  switch (u.label) {
2395
2395
  case 0:
2396
2396
  u.trys.push([0, 5, 6, 11]), r = ps(t), u.label = 1;
@@ -2424,32 +2424,32 @@ function qs(t, e) {
2424
2424
  });
2425
2425
  });
2426
2426
  }
2427
- function Mt(t, e) {
2427
+ function Ot(t, e) {
2428
2428
  return Ye(function(r, n) {
2429
2429
  var i = 0;
2430
- r.subscribe(Ne(n, function(s) {
2430
+ r.subscribe(He(n, function(s) {
2431
2431
  n.next(t.call(e, s, i++));
2432
2432
  }));
2433
2433
  });
2434
2434
  }
2435
- var Hs = Array.isArray;
2435
+ var qs = Array.isArray;
2436
2436
  function Us(t, e) {
2437
- return Hs(e) ? t.apply(void 0, Me([], _e(e))) : t(e);
2437
+ return qs(e) ? t.apply(void 0, Re([], _e(e))) : t(e);
2438
2438
  }
2439
2439
  function Ys(t) {
2440
- return Mt(function(e) {
2440
+ return Ot(function(e) {
2441
2441
  return Us(t, e);
2442
2442
  });
2443
2443
  }
2444
2444
  function Bs(t, e, r, n, i, s, o, a) {
2445
- var u = [], c = 0, l = 0, f = !1, v = function() {
2445
+ var u = [], c = 0, l = 0, f = !1, m = function() {
2446
2446
  f && !u.length && !c && e.complete();
2447
2447
  }, w = function(D) {
2448
2448
  return c < n ? z(D) : u.push(D);
2449
2449
  }, z = function(D) {
2450
2450
  c++;
2451
2451
  var F = !1;
2452
- st(r(D, l++)).subscribe(Ne(e, function(_) {
2452
+ ot(r(D, l++)).subscribe(He(e, function(_) {
2453
2453
  e.next(_);
2454
2454
  }, function() {
2455
2455
  F = !0;
@@ -2462,30 +2462,30 @@ function Bs(t, e, r, n, i, s, o, a) {
2462
2462
  o || z(C);
2463
2463
  }; u.length && c < n; )
2464
2464
  _();
2465
- v();
2465
+ m();
2466
2466
  } catch (C) {
2467
2467
  e.error(C);
2468
2468
  }
2469
2469
  }));
2470
2470
  };
2471
- return t.subscribe(Ne(e, w, function() {
2472
- f = !0, v();
2471
+ return t.subscribe(He(e, w, function() {
2472
+ f = !0, m();
2473
2473
  })), function() {
2474
2474
  };
2475
2475
  }
2476
2476
  function ei(t, e, r) {
2477
2477
  return r === void 0 && (r = 1 / 0), Y(e) ? ei(function(n, i) {
2478
- return Mt(function(s, o) {
2478
+ return Ot(function(s, o) {
2479
2479
  return e(n, s, i, o);
2480
- })(st(t(n, i)));
2480
+ })(ot(t(n, i)));
2481
2481
  }, r) : (typeof e == "number" && (r = e), Ye(function(n, i) {
2482
2482
  return Bs(n, i, t, r);
2483
2483
  }));
2484
2484
  }
2485
2485
  var Vs = ["addListener", "removeListener"], Zs = ["addEventListener", "removeEventListener"], Gs = ["on", "off"];
2486
- function ir(t, e, r, n) {
2486
+ function nr(t, e, r, n) {
2487
2487
  if (Y(r) && (n = r, r = void 0), n)
2488
- return ir(t, e, r).pipe(Ys(n));
2488
+ return nr(t, e, r).pipe(Ys(n));
2489
2489
  var i = _e(Xs(t) ? Zs.map(function(a) {
2490
2490
  return function(u) {
2491
2491
  return t[a](e, u, r);
@@ -2493,8 +2493,8 @@ function ir(t, e, r, n) {
2493
2493
  }) : Qs(t) ? Vs.map(Kr(t, e)) : Ks(t) ? Gs.map(Kr(t, e)) : [], 2), s = i[0], o = i[1];
2494
2494
  if (!s && Xn(t))
2495
2495
  return ei(function(a) {
2496
- return ir(a, e, r);
2497
- })(st(t));
2496
+ return nr(a, e, r);
2497
+ })(ot(t));
2498
2498
  if (!s)
2499
2499
  throw new TypeError("Invalid event target");
2500
2500
  return new he(function(a) {
@@ -2527,7 +2527,7 @@ function Xs(t) {
2527
2527
  function be(t, e) {
2528
2528
  return Ye(function(r, n) {
2529
2529
  var i = 0;
2530
- r.subscribe(Ne(n, function(s) {
2530
+ r.subscribe(He(n, function(s) {
2531
2531
  return t.call(e, s, i++) && n.next(s);
2532
2532
  }));
2533
2533
  });
@@ -2535,37 +2535,37 @@ function be(t, e) {
2535
2535
  function ti(t) {
2536
2536
  t === void 0 && (t = {});
2537
2537
  var e = t.connector, r = e === void 0 ? function() {
2538
- return new Ot();
2538
+ return new Tt();
2539
2539
  } : e, n = t.resetOnError, i = n === void 0 ? !0 : n, s = t.resetOnComplete, o = s === void 0 ? !0 : s, a = t.resetOnRefCountZero, u = a === void 0 ? !0 : a;
2540
2540
  return function(c) {
2541
- var l, f, v, w = 0, z = !1, D = !1, F = function() {
2541
+ var l, f, m, w = 0, z = !1, D = !1, F = function() {
2542
2542
  f == null || f.unsubscribe(), f = void 0;
2543
2543
  }, _ = function() {
2544
- F(), l = v = void 0, z = D = !1;
2544
+ F(), l = m = void 0, z = D = !1;
2545
2545
  }, C = function() {
2546
2546
  var P = l;
2547
2547
  _(), P == null || P.unsubscribe();
2548
2548
  };
2549
2549
  return Ye(function(P, M) {
2550
2550
  w++, !D && !z && F();
2551
- var g = v = v ?? r();
2551
+ var g = m = m ?? r();
2552
2552
  M.add(function() {
2553
- w--, w === 0 && !D && !z && (f = It(C, u));
2554
- }), g.subscribe(M), !l && w > 0 && (l = new Je({
2553
+ w--, w === 0 && !D && !z && (f = At(C, u));
2554
+ }), g.subscribe(M), !l && w > 0 && (l = new et({
2555
2555
  next: function(b) {
2556
2556
  return g.next(b);
2557
2557
  },
2558
2558
  error: function(b) {
2559
- D = !0, F(), f = It(_, i, b), g.error(b);
2559
+ D = !0, F(), f = At(_, i, b), g.error(b);
2560
2560
  },
2561
2561
  complete: function() {
2562
- z = !0, F(), f = It(_, o), g.complete();
2562
+ z = !0, F(), f = At(_, o), g.complete();
2563
2563
  }
2564
- }), st(P).subscribe(l));
2564
+ }), ot(P).subscribe(l));
2565
2565
  })(c);
2566
2566
  };
2567
2567
  }
2568
- function It(t, e) {
2568
+ function At(t, e) {
2569
2569
  for (var r = [], n = 2; n < arguments.length; n++)
2570
2570
  r[n - 2] = arguments[n];
2571
2571
  if (e === !0) {
@@ -2573,18 +2573,18 @@ function It(t, e) {
2573
2573
  return;
2574
2574
  }
2575
2575
  if (e !== !1) {
2576
- var i = new Je({
2576
+ var i = new et({
2577
2577
  next: function() {
2578
2578
  i.unsubscribe(), t();
2579
2579
  }
2580
2580
  });
2581
- return st(e.apply(void 0, Me([], _e(r)))).subscribe(i);
2581
+ return ot(e.apply(void 0, Re([], _e(r)))).subscribe(i);
2582
2582
  }
2583
2583
  }
2584
2584
  function Js(t, e) {
2585
2585
  return e === void 0 && (e = !1), Ye(function(r, n) {
2586
2586
  var i = 0;
2587
- r.subscribe(Ne(n, function(s) {
2587
+ r.subscribe(He(n, function(s) {
2588
2588
  var o = t(s, i++);
2589
2589
  (o || e) && n.next(s), !o && n.complete();
2590
2590
  }));
@@ -2596,7 +2596,7 @@ function eo(t, e, r) {
2596
2596
  var o;
2597
2597
  (o = n.subscribe) === null || o === void 0 || o.call(n);
2598
2598
  var a = !0;
2599
- i.subscribe(Ne(s, function(u) {
2599
+ i.subscribe(He(s, function(u) {
2600
2600
  var c;
2601
2601
  (c = n.next) === null || c === void 0 || c.call(n, u), s.next(u);
2602
2602
  }, function() {
@@ -2611,10 +2611,10 @@ function eo(t, e, r) {
2611
2611
  }));
2612
2612
  }) : Qn;
2613
2613
  }
2614
- var ge = {}, de = {}, Pe = {}, Xr;
2614
+ var Pe = {}, de = {}, Se = {}, Xr;
2615
2615
  function ri() {
2616
- if (Xr) return Pe;
2617
- Xr = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.DefaultSerializer = Pe.extendSerializer = void 0;
2616
+ if (Xr) return Se;
2617
+ Xr = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.DefaultSerializer = Se.extendSerializer = void 0;
2618
2618
  function t(n, i) {
2619
2619
  const s = n.deserialize.bind(n), o = n.serialize.bind(n);
2620
2620
  return {
@@ -2626,7 +2626,7 @@ function ri() {
2626
2626
  }
2627
2627
  };
2628
2628
  }
2629
- Pe.extendSerializer = t;
2629
+ Se.extendSerializer = t;
2630
2630
  const e = {
2631
2631
  deserialize(n) {
2632
2632
  return Object.assign(Error(n.message), {
@@ -2643,17 +2643,17 @@ function ri() {
2643
2643
  };
2644
2644
  }
2645
2645
  }, r = (n) => n && typeof n == "object" && "__error_marker" in n && n.__error_marker === "$$error";
2646
- return Pe.DefaultSerializer = {
2646
+ return Se.DefaultSerializer = {
2647
2647
  deserialize(n) {
2648
2648
  return r(n) ? e.deserialize(n) : n;
2649
2649
  },
2650
2650
  serialize(n) {
2651
2651
  return n instanceof Error ? e.serialize(n) : n;
2652
2652
  }
2653
- }, Pe;
2653
+ }, Se;
2654
2654
  }
2655
2655
  var Jr;
2656
- function et() {
2656
+ function tt() {
2657
2657
  if (Jr) return de;
2658
2658
  Jr = 1, Object.defineProperty(de, "__esModule", { value: !0 }), de.serialize = de.deserialize = de.registerSerializer = void 0;
2659
2659
  const t = /* @__PURE__ */ ri();
@@ -2671,15 +2671,15 @@ function et() {
2671
2671
  }
2672
2672
  return de.serialize = i, de;
2673
2673
  }
2674
- var zt = {}, pe = {}, Se = {}, en;
2674
+ var It = {}, pe = {}, Ce = {}, en;
2675
2675
  function to() {
2676
- if (en) return Se;
2677
- en = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.getBundleURL = Se.getBaseURL = void 0;
2676
+ if (en) return Ce;
2677
+ en = 1, Object.defineProperty(Ce, "__esModule", { value: !0 }), Ce.getBundleURL = Ce.getBaseURL = void 0;
2678
2678
  let t;
2679
2679
  function e() {
2680
2680
  return t || (t = r()), t;
2681
2681
  }
2682
- Se.getBundleURL = e;
2682
+ Ce.getBundleURL = e;
2683
2683
  function r() {
2684
2684
  try {
2685
2685
  throw new Error();
@@ -2693,7 +2693,7 @@ function to() {
2693
2693
  function n(i) {
2694
2694
  return ("" + i).replace(/^((?:https?|file|ftp|chrome-extension|moz-extension):\/\/.+)?\/[^/]+(?:\?.*)?$/, "$1") + "/";
2695
2695
  }
2696
- return Se.getBaseURL = n, Se;
2696
+ return Ce.getBaseURL = n, Ce;
2697
2697
  }
2698
2698
  var tn;
2699
2699
  function ni() {
@@ -2715,18 +2715,18 @@ function ni() {
2715
2715
  };
2716
2716
  class a extends Worker {
2717
2717
  constructor(l, f) {
2718
- var v, w;
2719
- typeof l == "string" && f && f._baseURL ? l = new URL(l, f._baseURL) : typeof l == "string" && !e(l) && t.getBundleURL().match(/^file:\/\//i) && (l = new URL(l, t.getBundleURL().replace(/\/[^\/]+$/, "/")), (!((v = f == null ? void 0 : f.CORSWorkaround) !== null && v !== void 0) || v) && (l = r(`importScripts(${JSON.stringify(l)});`))), typeof l == "string" && e(l) && (!((w = f == null ? void 0 : f.CORSWorkaround) !== null && w !== void 0) || w) && (l = r(`importScripts(${JSON.stringify(l)});`)), super(l, f);
2718
+ var m, w;
2719
+ typeof l == "string" && f && f._baseURL ? l = new URL(l, f._baseURL) : typeof l == "string" && !e(l) && t.getBundleURL().match(/^file:\/\//i) && (l = new URL(l, t.getBundleURL().replace(/\/[^\/]+$/, "/")), (!((m = f == null ? void 0 : f.CORSWorkaround) !== null && m !== void 0) || m) && (l = r(`importScripts(${JSON.stringify(l)});`))), typeof l == "string" && e(l) && (!((w = f == null ? void 0 : f.CORSWorkaround) !== null && w !== void 0) || w) && (l = r(`importScripts(${JSON.stringify(l)});`)), super(l, f);
2720
2720
  }
2721
2721
  }
2722
2722
  class u extends a {
2723
2723
  constructor(l, f) {
2724
- const v = window.URL.createObjectURL(l);
2725
- super(v, f);
2724
+ const m = window.URL.createObjectURL(l);
2725
+ super(m, f);
2726
2726
  }
2727
2727
  static fromText(l, f) {
2728
- const v = new window.Blob([l], { type: "text/javascript" });
2729
- return new u(v, f);
2728
+ const m = new window.Blob([l], { type: "text/javascript" });
2729
+ return new u(m, f);
2730
2730
  }
2731
2731
  }
2732
2732
  return {
@@ -2745,17 +2745,17 @@ function ni() {
2745
2745
  }
2746
2746
  return pe.isWorkerRuntime = o, pe;
2747
2747
  }
2748
- var Ce = {}, ht = { exports: {} }, Ft, rn;
2748
+ var Ee = {}, ft = { exports: {} }, zt, rn;
2749
2749
  function ro() {
2750
- if (rn) return Ft;
2750
+ if (rn) return zt;
2751
2751
  rn = 1;
2752
2752
  var t = 1e3, e = t * 60, r = e * 60, n = r * 24, i = n * 7, s = n * 365.25;
2753
- Ft = function(l, f) {
2753
+ zt = function(l, f) {
2754
2754
  f = f || {};
2755
- var v = typeof l;
2756
- if (v === "string" && l.length > 0)
2755
+ var m = typeof l;
2756
+ if (m === "string" && l.length > 0)
2757
2757
  return o(l);
2758
- if (v === "number" && isFinite(l))
2758
+ if (m === "number" && isFinite(l))
2759
2759
  return f.long ? u(l) : a(l);
2760
2760
  throw new Error(
2761
2761
  "val is not a non-empty string or a valid number. val=" + JSON.stringify(l)
@@ -2767,46 +2767,46 @@ function ro() {
2767
2767
  l
2768
2768
  );
2769
2769
  if (f) {
2770
- var v = parseFloat(f[1]), w = (f[2] || "ms").toLowerCase();
2770
+ var m = parseFloat(f[1]), w = (f[2] || "ms").toLowerCase();
2771
2771
  switch (w) {
2772
2772
  case "years":
2773
2773
  case "year":
2774
2774
  case "yrs":
2775
2775
  case "yr":
2776
2776
  case "y":
2777
- return v * s;
2777
+ return m * s;
2778
2778
  case "weeks":
2779
2779
  case "week":
2780
2780
  case "w":
2781
- return v * i;
2781
+ return m * i;
2782
2782
  case "days":
2783
2783
  case "day":
2784
2784
  case "d":
2785
- return v * n;
2785
+ return m * n;
2786
2786
  case "hours":
2787
2787
  case "hour":
2788
2788
  case "hrs":
2789
2789
  case "hr":
2790
2790
  case "h":
2791
- return v * r;
2791
+ return m * r;
2792
2792
  case "minutes":
2793
2793
  case "minute":
2794
2794
  case "mins":
2795
2795
  case "min":
2796
2796
  case "m":
2797
- return v * e;
2797
+ return m * e;
2798
2798
  case "seconds":
2799
2799
  case "second":
2800
2800
  case "secs":
2801
2801
  case "sec":
2802
2802
  case "s":
2803
- return v * t;
2803
+ return m * t;
2804
2804
  case "milliseconds":
2805
2805
  case "millisecond":
2806
2806
  case "msecs":
2807
2807
  case "msec":
2808
2808
  case "ms":
2809
- return v;
2809
+ return m;
2810
2810
  default:
2811
2811
  return;
2812
2812
  }
@@ -2821,34 +2821,34 @@ function ro() {
2821
2821
  var f = Math.abs(l);
2822
2822
  return f >= n ? c(l, f, n, "day") : f >= r ? c(l, f, r, "hour") : f >= e ? c(l, f, e, "minute") : f >= t ? c(l, f, t, "second") : l + " ms";
2823
2823
  }
2824
- function c(l, f, v, w) {
2825
- var z = f >= v * 1.5;
2826
- return Math.round(l / v) + " " + w + (z ? "s" : "");
2824
+ function c(l, f, m, w) {
2825
+ var z = f >= m * 1.5;
2826
+ return Math.round(l / m) + " " + w + (z ? "s" : "");
2827
2827
  }
2828
- return Ft;
2828
+ return zt;
2829
2829
  }
2830
- var Lt, nn;
2830
+ var Ft, nn;
2831
2831
  function no() {
2832
- if (nn) return Lt;
2832
+ if (nn) return Ft;
2833
2833
  nn = 1;
2834
2834
  function t(e) {
2835
2835
  n.debug = n, n.default = n, n.coerce = c, n.disable = o, n.enable = s, n.enabled = a, n.humanize = ro(), n.destroy = l, Object.keys(e).forEach((f) => {
2836
2836
  n[f] = e[f];
2837
2837
  }), n.names = [], n.skips = [], n.formatters = {};
2838
2838
  function r(f) {
2839
- let v = 0;
2839
+ let m = 0;
2840
2840
  for (let w = 0; w < f.length; w++)
2841
- v = (v << 5) - v + f.charCodeAt(w), v |= 0;
2842
- return n.colors[Math.abs(v) % n.colors.length];
2841
+ m = (m << 5) - m + f.charCodeAt(w), m |= 0;
2842
+ return n.colors[Math.abs(m) % n.colors.length];
2843
2843
  }
2844
2844
  n.selectColor = r;
2845
2845
  function n(f) {
2846
- let v, w = null, z, D;
2846
+ let m, w = null, z, D;
2847
2847
  function F(..._) {
2848
2848
  if (!F.enabled)
2849
2849
  return;
2850
- const C = F, P = Number(/* @__PURE__ */ new Date()), M = P - (v || P);
2851
- C.diff = M, C.prev = v, C.curr = P, v = P, _[0] = n.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
2850
+ const C = F, P = Number(/* @__PURE__ */ new Date()), M = P - (m || P);
2851
+ C.diff = M, C.prev = m, C.curr = P, m = P, _[0] = n.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
2852
2852
  let g = 0;
2853
2853
  _[0] = _[0].replace(/%([a-zA-Z%])/g, (x, N) => {
2854
2854
  if (x === "%%")
@@ -2856,8 +2856,8 @@ function no() {
2856
2856
  g++;
2857
2857
  const y = n.formatters[N];
2858
2858
  if (typeof y == "function") {
2859
- const j = _[g];
2860
- x = y.call(C, j), _.splice(g, 1), g--;
2859
+ const $ = _[g];
2860
+ x = y.call(C, $), _.splice(g, 1), g--;
2861
2861
  }
2862
2862
  return x;
2863
2863
  }), n.formatArgs.call(C, _), (C.log || n.log).apply(C, _);
@@ -2871,33 +2871,33 @@ function no() {
2871
2871
  }
2872
2872
  }), typeof n.init == "function" && n.init(F), F;
2873
2873
  }
2874
- function i(f, v) {
2875
- const w = n(this.namespace + (typeof v > "u" ? ":" : v) + f);
2874
+ function i(f, m) {
2875
+ const w = n(this.namespace + (typeof m > "u" ? ":" : m) + f);
2876
2876
  return w.log = this.log, w;
2877
2877
  }
2878
2878
  function s(f) {
2879
2879
  n.save(f), n.namespaces = f, n.names = [], n.skips = [];
2880
- let v;
2880
+ let m;
2881
2881
  const w = (typeof f == "string" ? f : "").split(/[\s,]+/), z = w.length;
2882
- for (v = 0; v < z; v++)
2883
- w[v] && (f = w[v].replace(/\*/g, ".*?"), f[0] === "-" ? n.skips.push(new RegExp("^" + f.slice(1) + "$")) : n.names.push(new RegExp("^" + f + "$")));
2882
+ for (m = 0; m < z; m++)
2883
+ w[m] && (f = w[m].replace(/\*/g, ".*?"), f[0] === "-" ? n.skips.push(new RegExp("^" + f.slice(1) + "$")) : n.names.push(new RegExp("^" + f + "$")));
2884
2884
  }
2885
2885
  function o() {
2886
2886
  const f = [
2887
2887
  ...n.names.map(u),
2888
- ...n.skips.map(u).map((v) => "-" + v)
2888
+ ...n.skips.map(u).map((m) => "-" + m)
2889
2889
  ].join(",");
2890
2890
  return n.enable(""), f;
2891
2891
  }
2892
2892
  function a(f) {
2893
2893
  if (f[f.length - 1] === "*")
2894
2894
  return !0;
2895
- let v, w;
2896
- for (v = 0, w = n.skips.length; v < w; v++)
2897
- if (n.skips[v].test(f))
2895
+ let m, w;
2896
+ for (m = 0, w = n.skips.length; m < w; m++)
2897
+ if (n.skips[m].test(f))
2898
2898
  return !1;
2899
- for (v = 0, w = n.names.length; v < w; v++)
2900
- if (n.names[v].test(f))
2899
+ for (m = 0, w = n.names.length; m < w; m++)
2900
+ if (n.names[m].test(f))
2901
2901
  return !0;
2902
2902
  return !1;
2903
2903
  }
@@ -2912,7 +2912,7 @@ function no() {
2912
2912
  }
2913
2913
  return n.enable(n.load()), n;
2914
2914
  }
2915
- return Lt = t, Lt;
2915
+ return Ft = t, Ft;
2916
2916
  }
2917
2917
  var sn;
2918
2918
  function Cr() {
@@ -3018,8 +3018,8 @@ function Cr() {
3018
3018
  const c = "color: " + this.color;
3019
3019
  u.splice(1, 0, c, "color: inherit");
3020
3020
  let l = 0, f = 0;
3021
- u[0].replace(/%[a-zA-Z%]/g, (v) => {
3022
- v !== "%%" && (l++, v === "%c" && (f = l));
3021
+ u[0].replace(/%[a-zA-Z%]/g, (m) => {
3022
+ m !== "%%" && (l++, m === "%c" && (f = l));
3023
3023
  }), u.splice(f, 0, c);
3024
3024
  }
3025
3025
  e.log = console.debug || console.log || (() => {
@@ -3053,7 +3053,7 @@ function Cr() {
3053
3053
  return "[UnexpectedJSONParseError]: " + c.message;
3054
3054
  }
3055
3055
  };
3056
- }(ht, ht.exports)), ht.exports;
3056
+ }(ft, ft.exports)), ft.exports;
3057
3057
  }
3058
3058
  var io = function(t, e, r, n) {
3059
3059
  function i(s) {
@@ -3082,7 +3082,7 @@ var io = function(t, e, r, n) {
3082
3082
  c((n = n.apply(t, e || [])).next());
3083
3083
  });
3084
3084
  };
3085
- class Rt {
3085
+ class Mt {
3086
3086
  constructor(e) {
3087
3087
  this._baseObserver = e, this._pendingPromises = /* @__PURE__ */ new Set();
3088
3088
  }
@@ -3103,9 +3103,9 @@ class Rt {
3103
3103
  this._pendingPromises.add(s);
3104
3104
  }
3105
3105
  }
3106
- const ii = () => typeof Symbol == "function", ot = (t) => ii() && !!Symbol[t], Er = (t) => ot(t) ? Symbol[t] : "@@" + t;
3107
- ot("asyncIterator") || (Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator"));
3108
- const so = Er("iterator"), sr = Er("observable"), si = Er("species");
3106
+ const ii = () => typeof Symbol == "function", at = (t) => ii() && !!Symbol[t], Er = (t) => at(t) ? Symbol[t] : "@@" + t;
3107
+ at("asyncIterator") || (Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator"));
3108
+ const so = Er("iterator"), ir = Er("observable"), si = Er("species");
3109
3109
  function gt(t, e) {
3110
3110
  const r = t[e];
3111
3111
  if (r != null) {
@@ -3149,7 +3149,7 @@ function oi(t) {
3149
3149
  qe(r);
3150
3150
  }
3151
3151
  }
3152
- function or(t) {
3152
+ function sr(t) {
3153
3153
  t._observer = void 0, t._queue = void 0, t._state = "closed";
3154
3154
  }
3155
3155
  function ao(t) {
@@ -3171,13 +3171,13 @@ function ai(t, e, r) {
3171
3171
  i && i.call(n, r);
3172
3172
  break;
3173
3173
  case "error":
3174
- if (or(t), i)
3174
+ if (sr(t), i)
3175
3175
  i.call(n, r);
3176
3176
  else
3177
3177
  throw r;
3178
3178
  break;
3179
3179
  case "complete":
3180
- or(t), i && i.call(n);
3180
+ sr(t), i && i.call(n);
3181
3181
  break;
3182
3182
  }
3183
3183
  } catch (i) {
@@ -3185,7 +3185,7 @@ function ai(t, e, r) {
3185
3185
  }
3186
3186
  t._state === "closed" ? oi(t) : t._state === "running" && (t._state = "ready");
3187
3187
  }
3188
- function Wt(t, e, r) {
3188
+ function Lt(t, e, r) {
3189
3189
  if (t._state !== "closed") {
3190
3190
  if (t._state === "buffering") {
3191
3191
  t._queue = t._queue || [], t._queue.push({ type: e, value: r });
@@ -3213,7 +3213,7 @@ class uo {
3213
3213
  return this._state === "closed";
3214
3214
  }
3215
3215
  unsubscribe() {
3216
- this._state !== "closed" && (or(this), oi(this));
3216
+ this._state !== "closed" && (sr(this), oi(this));
3217
3217
  }
3218
3218
  }
3219
3219
  class co {
@@ -3224,13 +3224,13 @@ class co {
3224
3224
  return this._subscription._state === "closed";
3225
3225
  }
3226
3226
  next(e) {
3227
- Wt(this._subscription, "next", e);
3227
+ Lt(this._subscription, "next", e);
3228
3228
  }
3229
3229
  error(e) {
3230
- Wt(this._subscription, "error", e);
3230
+ Lt(this._subscription, "error", e);
3231
3231
  }
3232
3232
  complete() {
3233
- Wt(this._subscription, "complete");
3233
+ Lt(this._subscription, "complete");
3234
3234
  }
3235
3235
  }
3236
3236
  class ee {
@@ -3439,21 +3439,21 @@ class ee {
3439
3439
  };
3440
3440
  });
3441
3441
  }
3442
- [sr]() {
3442
+ [ir]() {
3443
3443
  return this;
3444
3444
  }
3445
3445
  static from(e) {
3446
3446
  const r = typeof this == "function" ? this : ee;
3447
3447
  if (e == null)
3448
3448
  throw new TypeError(e + " is not an object");
3449
- const n = gt(e, sr);
3449
+ const n = gt(e, ir);
3450
3450
  if (n) {
3451
3451
  const i = n.call(e);
3452
3452
  if (Object(i) !== i)
3453
3453
  throw new TypeError(i + " is not an object");
3454
3454
  return oo(i) && i.constructor === r ? i : new r((s) => i.subscribe(s));
3455
3455
  }
3456
- if (ot("iterator")) {
3456
+ if (at("iterator")) {
3457
3457
  const i = gt(e, so);
3458
3458
  if (i)
3459
3459
  return new r((s) => {
@@ -3499,12 +3499,12 @@ class ee {
3499
3499
  }
3500
3500
  ii() && Object.defineProperty(ee, Symbol("extensions"), {
3501
3501
  value: {
3502
- symbol: sr,
3502
+ symbol: ir,
3503
3503
  hostReportError: qe
3504
3504
  },
3505
3505
  configurable: !0
3506
3506
  });
3507
- function $e(t) {
3507
+ function xe(t) {
3508
3508
  typeof t == "function" ? t() : t && typeof t.unsubscribe == "function" && t.unsubscribe();
3509
3509
  }
3510
3510
  var lo = function(t, e, r, n) {
@@ -3536,7 +3536,7 @@ var lo = function(t, e, r, n) {
3536
3536
  };
3537
3537
  function ho(t) {
3538
3538
  return (e) => new ee((r) => {
3539
- const n = new Rt(r), i = e.subscribe({
3539
+ const n = new Mt(r), i = e.subscribe({
3540
3540
  complete() {
3541
3541
  n.complete();
3542
3542
  },
@@ -3549,16 +3549,16 @@ function ho(t) {
3549
3549
  }));
3550
3550
  }
3551
3551
  });
3552
- return () => $e(i);
3552
+ return () => xe(i);
3553
3553
  });
3554
3554
  }
3555
3555
  function fo(t) {
3556
- return t && ot("asyncIterator") && t[Symbol.asyncIterator];
3556
+ return t && at("asyncIterator") && t[Symbol.asyncIterator];
3557
3557
  }
3558
3558
  function po(t) {
3559
- return t && ot("iterator") && t[Symbol.iterator];
3559
+ return t && at("iterator") && t[Symbol.iterator];
3560
3560
  }
3561
- var mo = function(t, e, r, n) {
3561
+ var vo = function(t, e, r, n) {
3562
3562
  function i(s) {
3563
3563
  return s instanceof r ? s : new r(function(o) {
3564
3564
  o(s);
@@ -3584,7 +3584,7 @@ var mo = function(t, e, r, n) {
3584
3584
  }
3585
3585
  c((n = n.apply(t, e || [])).next());
3586
3586
  });
3587
- }, vo = function(t) {
3587
+ }, mo = function(t) {
3588
3588
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3589
3589
  var e = t[Symbol.asyncIterator], r;
3590
3590
  return e ? e.call(t) : (t = typeof __values == "function" ? __values(t) : t[Symbol.iterator](), r = {}, n("next"), n("throw"), n("return"), r[Symbol.asyncIterator] = function() {
@@ -3605,7 +3605,7 @@ var mo = function(t, e, r, n) {
3605
3605
  };
3606
3606
  function yo(t) {
3607
3607
  return (e) => new ee((r) => {
3608
- const n = new Rt(r), i = e.subscribe({
3608
+ const n = new Mt(r), i = e.subscribe({
3609
3609
  complete() {
3610
3610
  n.complete();
3611
3611
  },
@@ -3613,17 +3613,17 @@ function yo(t) {
3613
3613
  n.error(s);
3614
3614
  },
3615
3615
  next(s) {
3616
- n.schedule((o) => mo(this, void 0, void 0, function* () {
3616
+ n.schedule((o) => vo(this, void 0, void 0, function* () {
3617
3617
  var a, u;
3618
3618
  const c = yield t(s);
3619
3619
  if (po(c) || fo(c))
3620
3620
  try {
3621
- for (var l = vo(c), f; f = yield l.next(), !f.done; ) {
3622
- const v = f.value;
3623
- o(v);
3621
+ for (var l = mo(c), f; f = yield l.next(), !f.done; ) {
3622
+ const m = f.value;
3623
+ o(m);
3624
3624
  }
3625
- } catch (v) {
3626
- a = { error: v };
3625
+ } catch (m) {
3626
+ a = { error: m };
3627
3627
  } finally {
3628
3628
  try {
3629
3629
  f && !f.done && (u = l.return) && (yield u.call(l));
@@ -3632,11 +3632,11 @@ function yo(t) {
3632
3632
  }
3633
3633
  }
3634
3634
  else
3635
- c.map((v) => o(v));
3635
+ c.map((m) => o(m));
3636
3636
  }));
3637
3637
  }
3638
3638
  });
3639
- return () => $e(i);
3639
+ return () => xe(i);
3640
3640
  });
3641
3641
  }
3642
3642
  function _o(t) {
@@ -3677,7 +3677,7 @@ var bo = function(t, e, r, n) {
3677
3677
  };
3678
3678
  function wo(t) {
3679
3679
  return (e) => new ee((r) => {
3680
- const n = new Rt(r), i = e.subscribe({
3680
+ const n = new Mt(r), i = e.subscribe({
3681
3681
  complete() {
3682
3682
  n.complete();
3683
3683
  },
@@ -3691,7 +3691,7 @@ function wo(t) {
3691
3691
  }));
3692
3692
  }
3693
3693
  });
3694
- return () => $e(i);
3694
+ return () => xe(i);
3695
3695
  });
3696
3696
  }
3697
3697
  function go(...t) {
@@ -3708,7 +3708,7 @@ function go(...t) {
3708
3708
  ++r === t.length && (e.complete(), i());
3709
3709
  }
3710
3710
  })), i = () => {
3711
- n.forEach((s) => $e(s));
3711
+ n.forEach((s) => xe(s));
3712
3712
  };
3713
3713
  return i;
3714
3714
  });
@@ -3737,7 +3737,7 @@ function Po(t) {
3737
3737
  r || (r = t.subscribe(e));
3738
3738
  const s = e.subscribe(i);
3739
3739
  return n++, () => {
3740
- n--, s.unsubscribe(), n === 0 && ($e(r), r = void 0);
3740
+ n--, s.unsubscribe(), n === 0 && (xe(r), r = void 0);
3741
3741
  };
3742
3742
  });
3743
3743
  }
@@ -3771,7 +3771,7 @@ var So = function(t, e, r, n) {
3771
3771
  function Co(t, e) {
3772
3772
  return (r) => new ee((n) => {
3773
3773
  let i, s = 0;
3774
- const o = new Rt(n), a = r.subscribe({
3774
+ const o = new Mt(n), a = r.subscribe({
3775
3775
  complete() {
3776
3776
  o.complete();
3777
3777
  },
@@ -3784,7 +3784,7 @@ function Co(t, e) {
3784
3784
  }));
3785
3785
  }
3786
3786
  });
3787
- return () => $e(a);
3787
+ return () => xe(a);
3788
3788
  });
3789
3789
  }
3790
3790
  const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3798,8 +3798,8 @@ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3798
3798
  merge: go,
3799
3799
  multicast: Po,
3800
3800
  scan: Co,
3801
- unsubscribe: $e
3802
- }, Symbol.toStringTag, { value: "Module" })), jt = /* @__PURE__ */ Hi(Eo);
3801
+ unsubscribe: xe
3802
+ }, Symbol.toStringTag, { value: "Module" })), Rt = /* @__PURE__ */ qi(Eo);
3803
3803
  var Ze = {}, on;
3804
3804
  function To() {
3805
3805
  if (on) return Ze;
@@ -3816,13 +3816,13 @@ function To() {
3816
3816
  }
3817
3817
  return Ze.allSettled = t, Ze;
3818
3818
  }
3819
- var Nt = {}, an;
3819
+ var Wt = {}, an;
3820
3820
  function Oo() {
3821
3821
  return an || (an = 1, function(t) {
3822
3822
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PoolEventType = void 0, function(e) {
3823
3823
  e.initialized = "initialized", e.taskCanceled = "taskCanceled", e.taskCompleted = "taskCompleted", e.taskFailed = "taskFailed", e.taskQueued = "taskQueued", e.taskQueueDrained = "taskQueueDrained", e.taskStart = "taskStart", e.terminated = "terminated";
3824
3824
  }(t.PoolEventType || (t.PoolEventType = {}));
3825
- }(Nt)), Nt;
3825
+ }(Wt)), Wt;
3826
3826
  }
3827
3827
  var Ge = {}, se = {}, un;
3828
3828
  function Tr() {
@@ -3854,7 +3854,7 @@ function ci() {
3854
3854
  var ln;
3855
3855
  function Mo() {
3856
3856
  return ln || (ln = 1, function(t) {
3857
- var e = Ce && Ce.__awaiter || function(_, C, P, M) {
3857
+ var e = Ee && Ee.__awaiter || function(_, C, P, M) {
3858
3858
  function g(b) {
3859
3859
  return b instanceof P ? b : new P(function(x) {
3860
3860
  x(b);
@@ -3863,28 +3863,28 @@ function Mo() {
3863
3863
  return new (P || (P = Promise))(function(b, x) {
3864
3864
  function N(k) {
3865
3865
  try {
3866
- j(M.next(k));
3867
- } catch (q) {
3868
- x(q);
3866
+ $(M.next(k));
3867
+ } catch (H) {
3868
+ x(H);
3869
3869
  }
3870
3870
  }
3871
3871
  function y(k) {
3872
3872
  try {
3873
- j(M.throw(k));
3874
- } catch (q) {
3875
- x(q);
3873
+ $(M.throw(k));
3874
+ } catch (H) {
3875
+ x(H);
3876
3876
  }
3877
3877
  }
3878
- function j(k) {
3878
+ function $(k) {
3879
3879
  k.done ? b(k.value) : g(k.value).then(N, y);
3880
3880
  }
3881
- j((M = M.apply(_, C || [])).next());
3881
+ $((M = M.apply(_, C || [])).next());
3882
3882
  });
3883
- }, r = Ce && Ce.__importDefault || function(_) {
3883
+ }, r = Ee && Ee.__importDefault || function(_) {
3884
3884
  return _ && _.__esModule ? _ : { default: _ };
3885
3885
  };
3886
3886
  Object.defineProperty(t, "__esModule", { value: !0 }), t.Pool = t.Thread = t.PoolEventType = void 0;
3887
- const n = r(Cr()), i = jt, s = /* @__PURE__ */ To(), o = /* @__PURE__ */ ni(), a = /* @__PURE__ */ Oo();
3887
+ const n = r(Cr()), i = Rt, s = /* @__PURE__ */ To(), o = /* @__PURE__ */ ni(), a = /* @__PURE__ */ Oo();
3888
3888
  Object.defineProperty(t, "PoolEventType", { enumerable: !0, get: function() {
3889
3889
  return a.PoolEventType;
3890
3890
  } });
@@ -3902,7 +3902,7 @@ function Mo() {
3902
3902
  function f(_) {
3903
3903
  return new Promise((C) => setTimeout(C, _));
3904
3904
  }
3905
- function v(_, C) {
3905
+ function m(_, C) {
3906
3906
  return _.reduce((P, M) => [...P, ...C(M)], []);
3907
3907
  }
3908
3908
  function w(_) {
@@ -3992,7 +3992,7 @@ function Mo() {
3992
3992
  }
3993
3993
  settled(C = !1) {
3994
3994
  return e(this, void 0, void 0, function* () {
3995
- const P = () => v(this.workers, (b) => b.runningTasks), M = [], g = this.eventObservable.subscribe((b) => {
3995
+ const P = () => m(this.workers, (b) => b.runningTasks), M = [], g = this.eventObservable.subscribe((b) => {
3996
3996
  b.type === a.PoolEventType.taskFailed && M.push(b.error);
3997
3997
  });
3998
3998
  return this.initErrors.length > 0 ? Promise.reject(this.initErrors[0]) : C && this.taskQueue.length === 0 ? (yield s.allSettled(P()), M) : (yield new Promise((b, x) => {
@@ -4072,9 +4072,9 @@ This usually happens for one of two reasons: We are either at peak workload righ
4072
4072
  return new D(_, C);
4073
4073
  }
4074
4074
  F.EventType = a.PoolEventType, t.Pool = F;
4075
- }(Ce)), Ce;
4075
+ }(Ee)), Ee;
4076
4076
  }
4077
- var me = {}, Qe = {}, hn;
4077
+ var ve = {}, Qe = {}, hn;
4078
4078
  function Ro() {
4079
4079
  if (hn) return Qe;
4080
4080
  hn = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.createPromiseWithResolver = void 0;
@@ -4090,19 +4090,19 @@ function Ro() {
4090
4090
  }
4091
4091
  return Qe.createPromiseWithResolver = e, Qe;
4092
4092
  }
4093
- var qt = {}, fn;
4094
- function jo() {
4093
+ var Nt = {}, fn;
4094
+ function $o() {
4095
4095
  return fn || (fn = 1, function(t) {
4096
4096
  Object.defineProperty(t, "__esModule", { value: !0 }), t.WorkerEventType = void 0, function(e) {
4097
4097
  e.internalError = "internalError", e.message = "message", e.termination = "termination";
4098
4098
  }(t.WorkerEventType || (t.WorkerEventType = {}));
4099
- }(qt)), qt;
4099
+ }(Nt)), Nt;
4100
4100
  }
4101
- var ve = {}, Ke = {}, dn;
4102
- function $o() {
4101
+ var me = {}, Ke = {}, dn;
4102
+ function jo() {
4103
4103
  if (dn) return Ke;
4104
4104
  dn = 1, Object.defineProperty(Ke, "__esModule", { value: !0 }), Ke.ObservablePromise = void 0;
4105
- const t = jt, e = () => {
4105
+ const t = Rt, e = () => {
4106
4106
  }, r = (a) => a, n = (a) => Promise.resolve().then(a);
4107
4107
  function i(a) {
4108
4108
  throw a;
@@ -4117,17 +4117,17 @@ function $o() {
4117
4117
  complete() {
4118
4118
  c.complete(), l.onCompletion();
4119
4119
  },
4120
- error(v) {
4121
- c.error(v), l.onError(v);
4120
+ error(m) {
4121
+ c.error(m), l.onError(m);
4122
4122
  },
4123
- next(v) {
4124
- c.next(v), l.onNext(v);
4123
+ next(m) {
4124
+ c.next(m), l.onNext(m);
4125
4125
  }
4126
4126
  });
4127
4127
  try {
4128
4128
  return this.initHasRun = !0, u(f);
4129
- } catch (v) {
4130
- f.error(v);
4129
+ } catch (m) {
4130
+ f.error(m);
4131
4131
  }
4132
4132
  }), this.initHasRun = !1, this.fulfillmentCallbacks = [], this.rejectionCallbacks = [], this.firstValueSet = !1, this.state = "pending";
4133
4133
  }
@@ -4146,11 +4146,11 @@ function $o() {
4146
4146
  }
4147
4147
  then(u, c) {
4148
4148
  const l = u || r, f = c || i;
4149
- let v = !1;
4149
+ let m = !1;
4150
4150
  return new Promise((w, z) => {
4151
4151
  const D = (_) => {
4152
- if (!v) {
4153
- v = !0;
4152
+ if (!m) {
4153
+ m = !0;
4154
4154
  try {
4155
4155
  w(f(_));
4156
4156
  } catch (C) {
@@ -4167,7 +4167,7 @@ function $o() {
4167
4167
  if (this.initHasRun || this.subscribe({ error: D }), this.state === "fulfilled")
4168
4168
  return w(l(this.firstValue));
4169
4169
  if (this.state === "rejected")
4170
- return v = !0, w(f(this.rejection));
4170
+ return m = !0, w(f(this.rejection));
4171
4171
  this.fulfillmentCallbacks.push(F), this.rejectionCallbacks.push(D);
4172
4172
  });
4173
4173
  }
@@ -4180,10 +4180,10 @@ function $o() {
4180
4180
  }
4181
4181
  static from(u) {
4182
4182
  return s(u) ? new o((c) => {
4183
- const l = (v) => {
4184
- c.next(v), c.complete();
4185
- }, f = (v) => {
4186
- c.error(v);
4183
+ const l = (m) => {
4184
+ c.next(m), c.complete();
4185
+ }, f = (m) => {
4186
+ c.error(m);
4187
4187
  };
4188
4188
  u.then(l, f);
4189
4189
  }) : super.from(u);
@@ -4191,10 +4191,10 @@ function $o() {
4191
4191
  }
4192
4192
  return Ke.ObservablePromise = o, Ke;
4193
4193
  }
4194
- var Ee = {}, pn;
4194
+ var Te = {}, pn;
4195
4195
  function Pt() {
4196
- if (pn) return Ee;
4197
- pn = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.Transfer = Ee.isTransferDescriptor = void 0;
4196
+ if (pn) return Te;
4197
+ pn = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.Transfer = Te.isTransferDescriptor = void 0;
4198
4198
  const t = /* @__PURE__ */ Tr();
4199
4199
  function e(i) {
4200
4200
  return !(!i || typeof i != "object");
@@ -4202,7 +4202,7 @@ function Pt() {
4202
4202
  function r(i) {
4203
4203
  return i && typeof i == "object" && i[t.$transferable];
4204
4204
  }
4205
- Ee.isTransferDescriptor = r;
4205
+ Te.isTransferDescriptor = r;
4206
4206
  function n(i, s) {
4207
4207
  if (!s) {
4208
4208
  if (!e(i))
@@ -4215,11 +4215,11 @@ function Pt() {
4215
4215
  transferables: s
4216
4216
  };
4217
4217
  }
4218
- return Ee.Transfer = n, Ee;
4218
+ return Te.Transfer = n, Te;
4219
4219
  }
4220
- var Ht = {}, mn;
4220
+ var Ht = {}, vn;
4221
4221
  function li() {
4222
- return mn || (mn = 1, function(t) {
4222
+ return vn || (vn = 1, function(t) {
4223
4223
  Object.defineProperty(t, "__esModule", { value: !0 }), t.WorkerMessageType = t.MasterMessageType = void 0, function(e) {
4224
4224
  e.cancel = "cancel", e.run = "run";
4225
4225
  }(t.MasterMessageType || (t.MasterMessageType = {})), function(e) {
@@ -4227,23 +4227,23 @@ function li() {
4227
4227
  }(t.WorkerMessageType || (t.WorkerMessageType = {}));
4228
4228
  }(Ht)), Ht;
4229
4229
  }
4230
- var vn;
4230
+ var mn;
4231
4231
  function xo() {
4232
- if (vn) return ve;
4233
- vn = 1;
4234
- var t = ve && ve.__importDefault || function(_) {
4232
+ if (mn) return me;
4233
+ mn = 1;
4234
+ var t = me && me.__importDefault || function(_) {
4235
4235
  return _ && _.__esModule ? _ : { default: _ };
4236
4236
  };
4237
- Object.defineProperty(ve, "__esModule", { value: !0 }), ve.createProxyModule = ve.createProxyFunction = void 0;
4238
- const e = t(Cr()), r = jt, n = /* @__PURE__ */ et(), i = /* @__PURE__ */ $o(), s = /* @__PURE__ */ Pt(), o = /* @__PURE__ */ li(), a = e.default("threads:master:messages");
4237
+ Object.defineProperty(me, "__esModule", { value: !0 }), me.createProxyModule = me.createProxyFunction = void 0;
4238
+ const e = t(Cr()), r = Rt, n = /* @__PURE__ */ tt(), i = /* @__PURE__ */ jo(), s = /* @__PURE__ */ Pt(), o = /* @__PURE__ */ li(), a = e.default("threads:master:messages");
4239
4239
  let u = 1;
4240
- const c = (_) => Array.from(new Set(_)), l = (_) => _ && _.type === o.WorkerMessageType.error, f = (_) => _ && _.type === o.WorkerMessageType.result, v = (_) => _ && _.type === o.WorkerMessageType.running;
4240
+ const c = (_) => Array.from(new Set(_)), l = (_) => _ && _.type === o.WorkerMessageType.error, f = (_) => _ && _.type === o.WorkerMessageType.result, m = (_) => _ && _.type === o.WorkerMessageType.running;
4241
4241
  function w(_, C) {
4242
4242
  return new r.Observable((P) => {
4243
4243
  let M;
4244
4244
  const g = (b) => {
4245
4245
  if (a("Message from worker:", b.data), !(!b.data || b.data.uid !== C)) {
4246
- if (v(b.data))
4246
+ if (m(b.data))
4247
4247
  M = b.data.resultType;
4248
4248
  else if (f(b.data))
4249
4249
  M === "promise" ? (typeof b.data.payload < "u" && P.next(n.deserialize(b.data.payload)), P.complete(), _.removeEventListener("message", g)) : (b.data.payload && P.next(n.deserialize(b.data.payload)), b.data.complete && (P.complete(), _.removeEventListener("message", g)));
@@ -4296,27 +4296,27 @@ function xo() {
4296
4296
  return i.ObservablePromise.from(r.multicast(w(_, M)));
4297
4297
  };
4298
4298
  }
4299
- ve.createProxyFunction = D;
4299
+ me.createProxyFunction = D;
4300
4300
  function F(_, C) {
4301
4301
  const P = {};
4302
4302
  for (const M of C)
4303
4303
  P[M] = D(_, M);
4304
4304
  return P;
4305
4305
  }
4306
- return ve.createProxyModule = F, ve;
4306
+ return me.createProxyModule = F, me;
4307
4307
  }
4308
4308
  var yn;
4309
4309
  function Do() {
4310
- if (yn) return me;
4310
+ if (yn) return ve;
4311
4311
  yn = 1;
4312
- var t = me && me.__awaiter || function(g, b, x, N) {
4313
- function y(j) {
4314
- return j instanceof x ? j : new x(function(k) {
4315
- k(j);
4312
+ var t = ve && ve.__awaiter || function(g, b, x, N) {
4313
+ function y($) {
4314
+ return $ instanceof x ? $ : new x(function(k) {
4315
+ k($);
4316
4316
  });
4317
4317
  }
4318
- return new (x || (x = Promise))(function(j, k) {
4319
- function q(G) {
4318
+ return new (x || (x = Promise))(function($, k) {
4319
+ function H(G) {
4320
4320
  try {
4321
4321
  B(N.next(G));
4322
4322
  } catch (fe) {
@@ -4331,56 +4331,56 @@ function Do() {
4331
4331
  }
4332
4332
  }
4333
4333
  function B(G) {
4334
- G.done ? j(G.value) : y(G.value).then(q, te);
4334
+ G.done ? $(G.value) : y(G.value).then(H, te);
4335
4335
  }
4336
4336
  B((N = N.apply(g, b || [])).next());
4337
4337
  });
4338
- }, e = me && me.__importDefault || function(g) {
4338
+ }, e = ve && ve.__importDefault || function(g) {
4339
4339
  return g && g.__esModule ? g : { default: g };
4340
4340
  };
4341
- Object.defineProperty(me, "__esModule", { value: !0 }), me.spawn = void 0;
4342
- const r = e(Cr()), n = jt, i = /* @__PURE__ */ et(), s = /* @__PURE__ */ Ro(), o = /* @__PURE__ */ Tr(), a = /* @__PURE__ */ jo(), u = /* @__PURE__ */ xo(), c = r.default("threads:master:messages"), l = r.default("threads:master:spawn"), f = r.default("threads:master:thread-utils"), v = (g) => g && g.type === "init", w = (g) => g && g.type === "uncaughtError", z = typeof process < "u" && process.env.THREADS_WORKER_INIT_TIMEOUT ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10) : 1e4;
4341
+ Object.defineProperty(ve, "__esModule", { value: !0 }), ve.spawn = void 0;
4342
+ const r = e(Cr()), n = Rt, i = /* @__PURE__ */ tt(), s = /* @__PURE__ */ Ro(), o = /* @__PURE__ */ Tr(), a = /* @__PURE__ */ $o(), u = /* @__PURE__ */ xo(), c = r.default("threads:master:messages"), l = r.default("threads:master:spawn"), f = r.default("threads:master:thread-utils"), m = (g) => g && g.type === "init", w = (g) => g && g.type === "uncaughtError", z = typeof process < "u" && process.env.THREADS_WORKER_INIT_TIMEOUT ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10) : 1e4;
4343
4343
  function D(g, b, x) {
4344
4344
  return t(this, void 0, void 0, function* () {
4345
4345
  let N;
4346
- const y = new Promise((k, q) => {
4347
- N = setTimeout(() => q(Error(x)), b);
4348
- }), j = yield Promise.race([
4346
+ const y = new Promise((k, H) => {
4347
+ N = setTimeout(() => H(Error(x)), b);
4348
+ }), $ = yield Promise.race([
4349
4349
  g,
4350
4350
  y
4351
4351
  ]);
4352
- return clearTimeout(N), j;
4352
+ return clearTimeout(N), $;
4353
4353
  });
4354
4354
  }
4355
4355
  function F(g) {
4356
4356
  return new Promise((b, x) => {
4357
4357
  const N = (y) => {
4358
- c("Message from worker before finishing initialization:", y.data), v(y.data) ? (g.removeEventListener("message", N), b(y.data)) : w(y.data) && (g.removeEventListener("message", N), x(i.deserialize(y.data.error)));
4358
+ c("Message from worker before finishing initialization:", y.data), m(y.data) ? (g.removeEventListener("message", N), b(y.data)) : w(y.data) && (g.removeEventListener("message", N), x(i.deserialize(y.data.error)));
4359
4359
  };
4360
4360
  g.addEventListener("message", N);
4361
4361
  });
4362
4362
  }
4363
4363
  function _(g, b) {
4364
4364
  return new n.Observable((x) => {
4365
- const N = (j) => {
4365
+ const N = ($) => {
4366
4366
  const k = {
4367
4367
  type: a.WorkerEventType.message,
4368
- data: j.data
4368
+ data: $.data
4369
4369
  };
4370
4370
  x.next(k);
4371
- }, y = (j) => {
4372
- f("Unhandled promise rejection event in thread:", j);
4371
+ }, y = ($) => {
4372
+ f("Unhandled promise rejection event in thread:", $);
4373
4373
  const k = {
4374
4374
  type: a.WorkerEventType.internalError,
4375
- error: Error(j.reason)
4375
+ error: Error($.reason)
4376
4376
  };
4377
4377
  x.next(k);
4378
4378
  };
4379
4379
  g.addEventListener("message", N), g.addEventListener("unhandledrejection", y), b.then(() => {
4380
- const j = {
4380
+ const $ = {
4381
4381
  type: a.WorkerEventType.termination
4382
4382
  };
4383
- g.removeEventListener("message", N), g.removeEventListener("unhandledrejection", y), x.next(j), x.complete();
4383
+ g.removeEventListener("message", N), g.removeEventListener("unhandledrejection", y), x.next($), x.complete();
4384
4384
  });
4385
4385
  });
4386
4386
  }
@@ -4391,7 +4391,7 @@ function Do() {
4391
4391
  }), termination: b };
4392
4392
  }
4393
4393
  function P(g, b, x, N) {
4394
- const y = x.filter((j) => j.type === a.WorkerEventType.internalError).map((j) => j.error);
4394
+ const y = x.filter(($) => $.type === a.WorkerEventType.internalError).map(($) => $.error);
4395
4395
  return Object.assign(g, {
4396
4396
  [o.$errors]: y,
4397
4397
  [o.$events]: x,
@@ -4402,20 +4402,20 @@ function Do() {
4402
4402
  function M(g, b) {
4403
4403
  return t(this, void 0, void 0, function* () {
4404
4404
  l("Initializing new thread");
4405
- const x = b && b.timeout ? b.timeout : z, y = (yield D(F(g), x, `Timeout: Did not receive an init message from worker after ${x}ms. Make sure the worker calls expose().`)).exposed, { termination: j, terminate: k } = C(g), q = _(g, j);
4405
+ const x = b && b.timeout ? b.timeout : z, y = (yield D(F(g), x, `Timeout: Did not receive an init message from worker after ${x}ms. Make sure the worker calls expose().`)).exposed, { termination: $, terminate: k } = C(g), H = _(g, $);
4406
4406
  if (y.type === "function") {
4407
4407
  const te = u.createProxyFunction(g);
4408
- return P(te, g, q, k);
4408
+ return P(te, g, H, k);
4409
4409
  } else if (y.type === "module") {
4410
4410
  const te = u.createProxyModule(g, y.methods);
4411
- return P(te, g, q, k);
4411
+ return P(te, g, H, k);
4412
4412
  } else {
4413
4413
  const te = y.type;
4414
4414
  throw Error(`Worker init message states unexpected type of expose(): ${te}`);
4415
4415
  }
4416
4416
  });
4417
4417
  }
4418
- return me.spawn = M, me;
4418
+ return ve.spawn = M, ve;
4419
4419
  }
4420
4420
  var _n;
4421
4421
  function ko() {
@@ -4437,16 +4437,16 @@ function ko() {
4437
4437
  Object.defineProperty(t, "Thread", { enumerable: !0, get: function() {
4438
4438
  return i.Thread;
4439
4439
  } }), t.BlobWorker = e.getWorkerImplementation().blob, t.Worker = e.getWorkerImplementation().default;
4440
- }(zt)), zt;
4440
+ }(It)), It;
4441
4441
  }
4442
- var Te = {}, Ut, bn;
4442
+ var Oe = {}, qt, bn;
4443
4443
  function Ao() {
4444
- return bn || (bn = 1, Ut = (t) => t ? typeof Symbol.observable == "symbol" && typeof t[Symbol.observable] == "function" ? t === t[Symbol.observable]() : typeof t["@@observable"] == "function" ? t === t["@@observable"]() : !1 : !1), Ut;
4444
+ return bn || (bn = 1, qt = (t) => t ? typeof Symbol.observable == "symbol" && typeof t[Symbol.observable] == "function" ? t === t[Symbol.observable]() : typeof t["@@observable"] == "function" ? t === t["@@observable"]() : !1 : !1), qt;
4445
4445
  }
4446
- var ft = {}, wn;
4446
+ var dt = {}, wn;
4447
4447
  function Io() {
4448
- if (wn) return ft;
4449
- wn = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
4448
+ if (wn) return dt;
4449
+ wn = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
4450
4450
  const t = function() {
4451
4451
  const i = typeof self < "u" && typeof Window < "u" && self instanceof Window;
4452
4452
  return !!(typeof self < "u" && self.postMessage && !i);
@@ -4460,16 +4460,16 @@ function Io() {
4460
4460
  };
4461
4461
  return self.addEventListener("message", s), o;
4462
4462
  };
4463
- return ft.default = {
4463
+ return dt.default = {
4464
4464
  isWorkerRuntime: t,
4465
4465
  postMessageToMaster: e,
4466
4466
  subscribeToMasterMessages: r
4467
- }, ft;
4467
+ }, dt;
4468
4468
  }
4469
4469
  var gn;
4470
4470
  function zo() {
4471
4471
  return gn || (gn = 1, function(t) {
4472
- var e = Te && Te.__awaiter || function(y, j, k, q) {
4472
+ var e = Oe && Oe.__awaiter || function(y, $, k, H) {
4473
4473
  function te(B) {
4474
4474
  return B instanceof k ? B : new k(function(G) {
4475
4475
  G(B);
@@ -4478,29 +4478,29 @@ function zo() {
4478
4478
  return new (k || (k = Promise))(function(B, G) {
4479
4479
  function fe(ue) {
4480
4480
  try {
4481
- xe(q.next(ue));
4482
- } catch (De) {
4483
- G(De);
4481
+ De(H.next(ue));
4482
+ } catch (ke) {
4483
+ G(ke);
4484
4484
  }
4485
4485
  }
4486
- function at(ue) {
4486
+ function ut(ue) {
4487
4487
  try {
4488
- xe(q.throw(ue));
4489
- } catch (De) {
4490
- G(De);
4488
+ De(H.throw(ue));
4489
+ } catch (ke) {
4490
+ G(ke);
4491
4491
  }
4492
4492
  }
4493
- function xe(ue) {
4494
- ue.done ? B(ue.value) : te(ue.value).then(fe, at);
4493
+ function De(ue) {
4494
+ ue.done ? B(ue.value) : te(ue.value).then(fe, ut);
4495
4495
  }
4496
- xe((q = q.apply(y, j || [])).next());
4496
+ De((H = H.apply(y, $ || [])).next());
4497
4497
  });
4498
- }, r = Te && Te.__importDefault || function(y) {
4498
+ }, r = Oe && Oe.__importDefault || function(y) {
4499
4499
  return y && y.__esModule ? y : { default: y };
4500
4500
  };
4501
4501
  Object.defineProperty(t, "__esModule", { value: !0 }), t.expose = t.isWorkerRuntime = t.Transfer = t.registerSerializer = void 0;
4502
- const n = r(Ao()), i = /* @__PURE__ */ et(), s = /* @__PURE__ */ Pt(), o = /* @__PURE__ */ li(), a = r(/* @__PURE__ */ Io());
4503
- var u = /* @__PURE__ */ et();
4502
+ const n = r(Ao()), i = /* @__PURE__ */ tt(), s = /* @__PURE__ */ Pt(), o = /* @__PURE__ */ li(), a = r(/* @__PURE__ */ Io());
4503
+ var u = /* @__PURE__ */ tt();
4504
4504
  Object.defineProperty(t, "registerSerializer", { enumerable: !0, get: function() {
4505
4505
  return u.registerSerializer;
4506
4506
  } });
@@ -4509,7 +4509,7 @@ function zo() {
4509
4509
  return c.Transfer;
4510
4510
  } }), t.isWorkerRuntime = a.default.isWorkerRuntime;
4511
4511
  let l = !1;
4512
- const f = /* @__PURE__ */ new Map(), v = (y) => y && y.type === o.MasterMessageType.cancel, w = (y) => y && y.type === o.MasterMessageType.run, z = (y) => n.default(y) || D(y);
4512
+ const f = /* @__PURE__ */ new Map(), m = (y) => y && y.type === o.MasterMessageType.cancel, w = (y) => y && y.type === o.MasterMessageType.run, z = (y) => n.default(y) || D(y);
4513
4513
  function D(y) {
4514
4514
  return y && typeof y == "object" && typeof y.subscribe == "function";
4515
4515
  }
@@ -4526,64 +4526,64 @@ function zo() {
4526
4526
  a.default.postMessageToMaster(y);
4527
4527
  }
4528
4528
  function C(y) {
4529
- const j = {
4529
+ const $ = {
4530
4530
  type: o.WorkerMessageType.init,
4531
4531
  exposed: {
4532
4532
  type: "module",
4533
4533
  methods: y
4534
4534
  }
4535
4535
  };
4536
- a.default.postMessageToMaster(j);
4536
+ a.default.postMessageToMaster($);
4537
4537
  }
4538
- function P(y, j) {
4539
- const { payload: k, transferables: q } = F(j), te = {
4538
+ function P(y, $) {
4539
+ const { payload: k, transferables: H } = F($), te = {
4540
4540
  type: o.WorkerMessageType.error,
4541
4541
  uid: y,
4542
4542
  error: i.serialize(k)
4543
4543
  };
4544
- a.default.postMessageToMaster(te, q);
4544
+ a.default.postMessageToMaster(te, H);
4545
4545
  }
4546
- function M(y, j, k) {
4547
- const { payload: q, transferables: te } = F(k), B = {
4546
+ function M(y, $, k) {
4547
+ const { payload: H, transferables: te } = F(k), B = {
4548
4548
  type: o.WorkerMessageType.result,
4549
4549
  uid: y,
4550
- complete: j ? !0 : void 0,
4551
- payload: q
4550
+ complete: $ ? !0 : void 0,
4551
+ payload: H
4552
4552
  };
4553
4553
  a.default.postMessageToMaster(B, te);
4554
4554
  }
4555
- function g(y, j) {
4555
+ function g(y, $) {
4556
4556
  const k = {
4557
4557
  type: o.WorkerMessageType.running,
4558
4558
  uid: y,
4559
- resultType: j
4559
+ resultType: $
4560
4560
  };
4561
4561
  a.default.postMessageToMaster(k);
4562
4562
  }
4563
4563
  function b(y) {
4564
4564
  try {
4565
- const j = {
4565
+ const $ = {
4566
4566
  type: o.WorkerMessageType.uncaughtError,
4567
4567
  error: i.serialize(y)
4568
4568
  };
4569
- a.default.postMessageToMaster(j);
4570
- } catch (j) {
4569
+ a.default.postMessageToMaster($);
4570
+ } catch ($) {
4571
4571
  console.error(`Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.
4572
- Latest error:`, j, `
4572
+ Latest error:`, $, `
4573
4573
  Original error:`, y);
4574
4574
  }
4575
4575
  }
4576
- function x(y, j, k) {
4576
+ function x(y, $, k) {
4577
4577
  return e(this, void 0, void 0, function* () {
4578
- let q;
4578
+ let H;
4579
4579
  try {
4580
- q = j(...k);
4580
+ H = $(...k);
4581
4581
  } catch (B) {
4582
4582
  return P(y, B);
4583
4583
  }
4584
- const te = z(q) ? "observable" : "promise";
4585
- if (g(y, te), z(q)) {
4586
- const B = q.subscribe((G) => M(y, !1, i.serialize(G)), (G) => {
4584
+ const te = z(H) ? "observable" : "promise";
4585
+ if (g(y, te), z(H)) {
4586
+ const B = H.subscribe((G) => M(y, !1, i.serialize(G)), (G) => {
4587
4587
  P(y, i.serialize(G)), f.delete(y);
4588
4588
  }, () => {
4589
4589
  M(y, !0), f.delete(y);
@@ -4591,7 +4591,7 @@ Original error:`, y);
4591
4591
  f.set(y, B);
4592
4592
  } else
4593
4593
  try {
4594
- const B = yield q;
4594
+ const B = yield H;
4595
4595
  M(y, !0, i.serialize(B));
4596
4596
  } catch (B) {
4597
4597
  P(y, i.serialize(B));
@@ -4604,50 +4604,50 @@ Original error:`, y);
4604
4604
  if (l)
4605
4605
  throw Error("expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.");
4606
4606
  if (l = !0, typeof y == "function")
4607
- a.default.subscribeToMasterMessages((j) => {
4608
- w(j) && !j.method && x(j.uid, y, j.args.map(i.deserialize));
4607
+ a.default.subscribeToMasterMessages(($) => {
4608
+ w($) && !$.method && x($.uid, y, $.args.map(i.deserialize));
4609
4609
  }), _();
4610
4610
  else if (typeof y == "object" && y) {
4611
4611
  a.default.subscribeToMasterMessages((k) => {
4612
4612
  w(k) && k.method && x(k.uid, y[k.method], k.args.map(i.deserialize));
4613
4613
  });
4614
- const j = Object.keys(y).filter((k) => typeof y[k] == "function");
4615
- C(j);
4614
+ const $ = Object.keys(y).filter((k) => typeof y[k] == "function");
4615
+ C($);
4616
4616
  } else
4617
4617
  throw Error(`Invalid argument passed to expose(). Expected a function or an object, got: ${y}`);
4618
- a.default.subscribeToMasterMessages((j) => {
4619
- if (v(j)) {
4620
- const k = j.uid, q = f.get(k);
4621
- q && (q.unsubscribe(), f.delete(k));
4618
+ a.default.subscribeToMasterMessages(($) => {
4619
+ if (m($)) {
4620
+ const k = $.uid, H = f.get(k);
4621
+ H && (H.unsubscribe(), f.delete(k));
4622
4622
  }
4623
4623
  });
4624
4624
  }
4625
4625
  t.expose = N, typeof self < "u" && typeof self.addEventListener == "function" && a.default.isWorkerRuntime() && (self.addEventListener("error", (y) => {
4626
4626
  setTimeout(() => b(y.error || y), 250);
4627
4627
  }), self.addEventListener("unhandledrejection", (y) => {
4628
- const j = y.reason;
4629
- j && typeof j.message == "string" && setTimeout(() => b(j), 250);
4628
+ const $ = y.reason;
4629
+ $ && typeof $.message == "string" && setTimeout(() => b($), 250);
4630
4630
  })), typeof process < "u" && typeof process.on == "function" && a.default.isWorkerRuntime() && (process.on("uncaughtException", (y) => {
4631
4631
  setTimeout(() => b(y), 250);
4632
4632
  }), process.on("unhandledRejection", (y) => {
4633
4633
  y && typeof y.message == "string" && setTimeout(() => b(y), 250);
4634
4634
  }));
4635
- }(Te)), Te;
4635
+ }(Oe)), Oe;
4636
4636
  }
4637
4637
  var Pn;
4638
4638
  function Fo() {
4639
4639
  return Pn || (Pn = 1, function(t) {
4640
- var e = ge && ge.__createBinding || (Object.create ? function(a, u, c, l) {
4640
+ var e = Pe && Pe.__createBinding || (Object.create ? function(a, u, c, l) {
4641
4641
  l === void 0 && (l = c), Object.defineProperty(a, l, { enumerable: !0, get: function() {
4642
4642
  return u[c];
4643
4643
  } });
4644
4644
  } : function(a, u, c, l) {
4645
4645
  l === void 0 && (l = c), a[l] = u[c];
4646
- }), r = ge && ge.__exportStar || function(a, u) {
4646
+ }), r = Pe && Pe.__exportStar || function(a, u) {
4647
4647
  for (var c in a) c !== "default" && !Object.prototype.hasOwnProperty.call(u, c) && e(u, a, c);
4648
4648
  };
4649
4649
  Object.defineProperty(t, "__esModule", { value: !0 }), t.Transfer = t.DefaultSerializer = t.expose = t.registerSerializer = void 0;
4650
- var n = /* @__PURE__ */ et();
4650
+ var n = /* @__PURE__ */ tt();
4651
4651
  Object.defineProperty(t, "registerSerializer", { enumerable: !0, get: function() {
4652
4652
  return n.registerSerializer;
4653
4653
  } }), r(/* @__PURE__ */ ko(), t);
@@ -4663,19 +4663,19 @@ function Fo() {
4663
4663
  Object.defineProperty(t, "Transfer", { enumerable: !0, get: function() {
4664
4664
  return o.Transfer;
4665
4665
  } });
4666
- }(ge)), ge;
4666
+ }(Pe)), Pe;
4667
4667
  }
4668
4668
  var Lo = /* @__PURE__ */ Fo();
4669
- const we = /* @__PURE__ */ qi(Lo);
4670
- we.registerSerializer;
4671
- const Wo = we.spawn;
4672
- we.BlobWorker;
4673
- we.DefaultSerializer;
4674
- we.Pool;
4675
- const No = we.Thread;
4676
- we.Transfer;
4677
- const qo = we.Worker;
4678
- var Ho = Object.defineProperty, Uo = (t, e, r) => e in t ? Ho(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ie = (t, e, r) => Uo(t, typeof e != "symbol" ? e + "" : e, r);
4669
+ const ge = /* @__PURE__ */ Hi(Lo);
4670
+ ge.registerSerializer;
4671
+ const Wo = ge.spawn;
4672
+ ge.BlobWorker;
4673
+ ge.DefaultSerializer;
4674
+ ge.Pool;
4675
+ const No = ge.Thread;
4676
+ ge.Transfer;
4677
+ const Ho = ge.Worker;
4678
+ var qo = Object.defineProperty, Uo = (t, e, r) => e in t ? qo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ie = (t, e, r) => Uo(t, typeof e != "symbol" ? e + "" : e, r);
4679
4679
  class Yo extends Ri {
4680
4680
  constructor() {
4681
4681
  super(), ie(this, "style", {}), ie(this, "width", 0), ie(this, "height", 0), ie(this, "left", 0), ie(this, "top", 0), this.getRootNode = this.getRootNode.bind(this), this.handleEvent = this.handleEvent.bind(this);
@@ -4739,7 +4739,7 @@ class Qo {
4739
4739
  var r;
4740
4740
  try {
4741
4741
  const { payload: n, options: i } = e;
4742
- return this.idle = !1, this.worker = new qo(n.path, {
4742
+ return this.idle = !1, this.worker = new Ho(n.path, {
4743
4743
  type: "module",
4744
4744
  ...i == null ? void 0 : i.worker
4745
4745
  }), this.thread = await Wo(this.worker, {
@@ -4872,7 +4872,7 @@ const zu = (t, e) => new Ko(Vo(), !!e), Fu = (t) => t === void 0, Lu = (t) => ty
4872
4872
  },
4873
4873
  isSerialized: !0
4874
4874
  });
4875
- }, Yt = (t, e = new ji()) => {
4875
+ }, Ut = (t, e = new $i()) => {
4876
4876
  const r = JSON.parse(t);
4877
4877
  if (r != null && r.metadata && r.object && r.isSerialized) {
4878
4878
  const n = e.parse(r);
@@ -4891,7 +4891,7 @@ const zu = (t, e) => new Ko(Vo(), !!e), Fu = (t) => t === void 0, Lu = (t) => ty
4891
4891
  }), n;
4892
4892
  }
4893
4893
  return r;
4894
- }, qu = (t, e) => {
4894
+ }, Hu = (t, e) => {
4895
4895
  const r = {
4896
4896
  type: t == null ? void 0 : t.type
4897
4897
  };
@@ -4911,7 +4911,7 @@ var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, ea = (t, e
4911
4911
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
4912
4912
  return n && i && Xo(e, r, i), i;
4913
4913
  };
4914
- let tt = class {
4914
+ let rt = class {
4915
4915
  constructor() {
4916
4916
  p(this, "_canvas");
4917
4917
  p(this, "proxyReceiver", new Yo());
@@ -4927,9 +4927,9 @@ let tt = class {
4927
4927
  }, this._canvas = t;
4928
4928
  }
4929
4929
  };
4930
- tt = ea([
4930
+ rt = ea([
4931
4931
  Z()
4932
- ], tt);
4932
+ ], rt);
4933
4933
  var ta = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, na = (t, e, r, n) => {
4934
4934
  for (var i = n > 1 ? void 0 : n ? ra(e, r) : e, s = t.length - 1, o; s >= 0; s--)
4935
4935
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
@@ -4938,8 +4938,8 @@ var ta = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, na = (t, e
4938
4938
  let St = class extends cs {
4939
4939
  constructor(t) {
4940
4940
  super(), this._service = t;
4941
- for (const e of qn)
4942
- this[`${e}$$`] = new Ot(), this[`${e}$`] = this[`${e}$$`].pipe(), this[e] = (r) => {
4941
+ for (const e of Hn)
4942
+ this[`${e}$$`] = new Tt(), this[`${e}$`] = this[`${e}$$`].pipe(), this[e] = (r) => {
4943
4943
  this._service.proxyReceiver.handleEvent({
4944
4944
  ...r,
4945
4945
  type: r.type || e
@@ -4949,7 +4949,7 @@ let St = class extends cs {
4949
4949
  };
4950
4950
  St = na([
4951
4951
  Z(),
4952
- ia(0, I(tt))
4952
+ ia(0, I(rt))
4953
4953
  ], St);
4954
4954
  var sa = Object.defineProperty, oa = Object.getOwnPropertyDescriptor, aa = (t, e, r, n) => {
4955
4955
  for (var i = n > 1 ? void 0 : n ? oa(e, r) : e, s = t.length - 1, o; s >= 0; s--)
@@ -4979,9 +4979,9 @@ var ua = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, la = (t, e
4979
4979
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
4980
4980
  return n && i && ua(e, r, i), i;
4981
4981
  }, ha = (t, e) => (r, n) => e(r, n, t);
4982
- let He = class {
4982
+ let Ue = class {
4983
4983
  constructor(t) {
4984
- p(this, "beforeStep$$", new Ot());
4984
+ p(this, "beforeStep$$", new Tt());
4985
4985
  p(this, "_previousTime", 0);
4986
4986
  p(this, "beforeStep$", this.beforeStep$$.asObservable());
4987
4987
  p(this, "step$", Es().pipe(
@@ -4991,22 +4991,22 @@ let He = class {
4991
4991
  }),
4992
4992
  be(() => this._service.enabled),
4993
4993
  Js(() => this._service.enabled),
4994
- Mt(() => Sn(this._service, [])),
4994
+ Ot(() => Sn(this._service, [])),
4995
4995
  ti()
4996
4996
  ));
4997
4997
  this._service = t;
4998
4998
  }
4999
4999
  };
5000
- He = la([
5000
+ Ue = la([
5001
5001
  Z(),
5002
5002
  ha(0, I(Ct))
5003
- ], He);
5003
+ ], Ue);
5004
5004
  var fa = Object.defineProperty, da = Object.getOwnPropertyDescriptor, pa = (t, e, r, n) => {
5005
5005
  for (var i = n > 1 ? void 0 : n ? da(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5006
5006
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5007
5007
  return n && i && fa(e, r, i), i;
5008
5008
  }, Cn = (t, e) => (r, n) => e(r, n, t);
5009
- let ar = class {
5009
+ let or = class {
5010
5010
  constructor(t, e) {
5011
5011
  p(this, "_initialAnimationFrameId");
5012
5012
  p(this, "_subscriptions", []);
@@ -5039,17 +5039,17 @@ let ar = class {
5039
5039
  return this._controller.step$;
5040
5040
  }
5041
5041
  };
5042
- ar = pa([
5042
+ or = pa([
5043
5043
  Z(),
5044
- Cn(0, I(He)),
5044
+ Cn(0, I(Ue)),
5045
5045
  Cn(1, I(Ct))
5046
- ], ar);
5047
- var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, ya = (t, e, r, n) => {
5048
- for (var i = n > 1 ? void 0 : n ? va(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5046
+ ], or);
5047
+ var va = Object.defineProperty, ma = Object.getOwnPropertyDescriptor, ya = (t, e, r, n) => {
5048
+ for (var i = n > 1 ? void 0 : n ? ma(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5049
5049
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5050
- return n && i && ma(e, r, i), i;
5050
+ return n && i && va(e, r, i), i;
5051
5051
  };
5052
- let Re = class {
5052
+ let we = class {
5053
5053
  constructor() {
5054
5054
  p(this, "width", 0);
5055
5055
  p(this, "height", 0);
@@ -5062,24 +5062,23 @@ let Re = class {
5062
5062
  this.height = Number(t.height ?? this.height), this.width = Number(t.width ?? this.width), this.aspect = this.width / this.height, this.enabled = e === void 0 ? !0 : !!e;
5063
5063
  }
5064
5064
  };
5065
- Re = ya([
5065
+ we = ya([
5066
5066
  Z()
5067
- ], Re);
5067
+ ], we);
5068
5068
  var _a = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, wa = (t, e, r, n) => {
5069
5069
  for (var i = n > 1 ? void 0 : n ? ba(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5070
5070
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5071
5071
  return n && i && _a(e, r, i), i;
5072
5072
  }, ga = (t, e) => (r, n) => e(r, n, t);
5073
- let je = class {
5073
+ let $e = class {
5074
5074
  constructor(t) {
5075
5075
  p(this, "instance");
5076
- p(this, "miniCamera");
5077
5076
  p(this, "enabled", !0);
5078
5077
  this._sizesService = t;
5079
5078
  }
5080
5079
  set aspectRatio(t) {
5081
5080
  var e;
5082
- this.instance instanceof Ie && (this.instance.aspect = t), (this.instance instanceof Ie || this.instance instanceof mt) && ((e = this.instance) == null || e.updateProjectionMatrix());
5081
+ this.instance instanceof ze && (this.instance.aspect = t), (this.instance instanceof ze || this.instance instanceof vt) && ((e = this.instance) == null || e.updateProjectionMatrix());
5083
5082
  }
5084
5083
  set quaternion(t) {
5085
5084
  var e;
@@ -5093,9 +5092,9 @@ let je = class {
5093
5092
  var e;
5094
5093
  (e = this.instance) == null || e.rotation.copy(t);
5095
5094
  }
5096
- initDefaultCamera(t) {
5097
- if (this.removeCamera(), t === er.PERSPECTIVE || t === void 0) {
5098
- this.instance = new Ie(
5095
+ init(t) {
5096
+ if (this.dispose(), t === Jt.PERSPECTIVE || t === void 0) {
5097
+ this.instance = new ze(
5099
5098
  70,
5100
5099
  this._sizesService.width / this._sizesService.height,
5101
5100
  1e-4,
@@ -5103,7 +5102,7 @@ let je = class {
5103
5102
  ), this.instance.position.z = 8;
5104
5103
  return;
5105
5104
  }
5106
- t === er.ORTHOGRAPHIC && (this.instance = new mt(
5105
+ t === Jt.ORTHOGRAPHIC && (this.instance = new vt(
5107
5106
  -this._sizesService.aspect * this._sizesService.frustrum / 2,
5108
5107
  this._sizesService.aspect * this._sizesService.frustrum / 2,
5109
5108
  this._sizesService.frustrum / 2,
@@ -5112,31 +5111,20 @@ let je = class {
5112
5111
  50
5113
5112
  ));
5114
5113
  }
5115
- setMiniCamera() {
5116
- this.removeMiniCamera(), this.miniCamera = new Ie(
5117
- 75,
5118
- this._sizesService.width / this._sizesService.height,
5119
- 0.1,
5120
- 500
5121
- ), this.miniCamera.position.z = 10, this.miniCamera.position.x = -5;
5122
- }
5123
- removeCamera() {
5124
- this.instance instanceof Xe && ((this.instance instanceof Ie || this.instance instanceof mt) && this.instance.clearViewOffset(), this.instance.clear(), this.instance = void 0);
5125
- }
5126
- removeMiniCamera() {
5127
- this.miniCamera instanceof Xe && (this.miniCamera.clearViewOffset(), this.miniCamera.clear(), this.miniCamera = void 0);
5114
+ dispose() {
5115
+ this.instance instanceof Je && ((this.instance instanceof ze || this.instance instanceof vt) && this.instance.clearViewOffset(), this.instance.clear(), this.instance = void 0);
5128
5116
  }
5129
5117
  };
5130
- je = wa([
5118
+ $e = wa([
5131
5119
  Z(),
5132
- ga(0, I(Re))
5133
- ], je);
5120
+ ga(0, I(we))
5121
+ ], $e);
5134
5122
  var Pa = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor, Ca = (t, e, r, n) => {
5135
5123
  for (var i = n > 1 ? void 0 : n ? Sa(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5136
5124
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5137
5125
  return n && i && Pa(e, r, i), i;
5138
5126
  }, En = (t, e) => (r, n) => e(r, n, t);
5139
- let ur = class {
5127
+ let ar = class {
5140
5128
  constructor(t, e) {
5141
5129
  p(this, "step$");
5142
5130
  this.timerController = t, this._service = e, this.step$ = this.timerController.step$.pipe(
@@ -5144,69 +5132,258 @@ let ur = class {
5144
5132
  );
5145
5133
  }
5146
5134
  };
5147
- ur = Ca([
5135
+ ar = Ca([
5148
5136
  Z(),
5149
- En(0, I(He)),
5150
- En(1, I(je))
5151
- ], ur);
5137
+ En(0, I(Ue)),
5138
+ En(1, I($e))
5139
+ ], ar);
5152
5140
  var Ea = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, Oa = (t, e, r, n) => {
5153
5141
  for (var i = n > 1 ? void 0 : n ? Ta(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5154
5142
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5155
5143
  return n && i && Ea(e, r, i), i;
5156
- }, Bt = (t, e) => (r, n) => e(r, n, t);
5157
- let cr = class {
5144
+ }, Yt = (t, e) => (r, n) => e(r, n, t);
5145
+ let ur = class {
5158
5146
  constructor(t, e, r) {
5147
+ p(this, "_subscriptions", []);
5159
5148
  this._sizesService = t, this._controller = e, this._service = r;
5160
5149
  }
5161
- init(t) {
5162
- this._service.initDefaultCamera(), t && this._service.setMiniCamera(), this._controller.step$.subscribe(() => {
5163
- var e, r;
5164
- this._service.enabled && (this._service.aspectRatio = this._sizesService.aspect, (this._service.instance instanceof Ie || this._service.instance instanceof mt) && ((e = this._service.instance) == null || e.updateProjectionMatrix()), (r = this._service.miniCamera) == null || r.updateProjectionMatrix());
5165
- });
5150
+ init() {
5151
+ this._service.init(), this._subscriptions.push(
5152
+ this._controller.step$.subscribe(() => {
5153
+ var t;
5154
+ this._service.enabled && (this._service.aspectRatio = this._sizesService.aspect, (this._service.instance instanceof ze || this._service.instance instanceof vt) && ((t = this._service.instance) == null || t.updateProjectionMatrix()));
5155
+ })
5156
+ );
5166
5157
  }
5167
- dispose() {
5168
- this._service.removeCamera(), this._service.removeMiniCamera();
5158
+ enabled(t) {
5159
+ return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5169
5160
  }
5170
5161
  aspectRatio(t) {
5171
5162
  return t && (this._service.aspectRatio = t), this._service.aspectRatio;
5172
5163
  }
5173
- enabled(t) {
5174
- return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5175
- }
5176
5164
  instance(t) {
5177
5165
  return t && (this._service.instance = t), this._service.instance;
5178
5166
  }
5179
- miniCamera(t) {
5180
- return t && (this._service.miniCamera = t), this._service.miniCamera;
5181
- }
5182
5167
  position(t) {
5183
5168
  return t && (this._service.position = t), this._service.position;
5184
5169
  }
5185
5170
  quaternion(t) {
5186
5171
  return t && (this._service.quaternion = t), this._service.quaternion;
5187
5172
  }
5173
+ dispose() {
5174
+ this._subscriptions.forEach((t) => t.unsubscribe()), this._service.dispose();
5175
+ }
5188
5176
  };
5189
- cr = Oa([
5177
+ ur = Oa([
5190
5178
  Z(),
5191
- Bt(0, I(Re)),
5192
- Bt(1, I(ur)),
5193
- Bt(2, I(je))
5194
- ], cr);
5195
- var Ma = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, ja = (t, e, r, n) => {
5179
+ Yt(0, I(we)),
5180
+ Yt(1, I(ar)),
5181
+ Yt(2, I($e))
5182
+ ], ur);
5183
+ var Ma = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, $a = (t, e, r, n) => {
5196
5184
  for (var i = n > 1 ? void 0 : n ? Ra(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5197
5185
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5198
5186
  return n && i && Ma(e, r, i), i;
5199
5187
  };
5200
- let rt = class {
5188
+ let nt = class {
5201
5189
  constructor() {
5202
5190
  p(this, "scene", new In());
5203
5191
  p(this, "enabled", !0);
5204
5192
  }
5205
5193
  };
5206
- rt = ja([
5194
+ nt = $a([
5207
5195
  Z()
5208
- ], rt);
5209
- const Tn = { type: "change" }, Or = { type: "start" }, hi = { type: "end" }, dt = new $i(), On = new xi(), $a = Math.cos(70 * Di.DEG2RAD), X = new le(), ne = 2 * Math.PI, H = {
5196
+ ], nt);
5197
+ var hi = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, xa = (t, e, r) => e in t ? hi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Da = (t, e, r, n) => {
5198
+ for (var i = n > 1 ? void 0 : n ? ja(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5199
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5200
+ return n && i && hi(e, r, i), i;
5201
+ }, Bt = (t, e) => (r, n) => e(r, n, t), ka = (t, e, r) => xa(t, e + "", r);
5202
+ let je = class {
5203
+ constructor(t, e, r) {
5204
+ p(this, "enabled", !0);
5205
+ p(this, "instance");
5206
+ this._worldService = t, this._cameraService = e, this._sizesService = r;
5207
+ }
5208
+ setWebGLRenderer(t) {
5209
+ this.instance = new Lr({
5210
+ canvas: t,
5211
+ context: t.getContext("webgl2", {
5212
+ stencil: !0,
5213
+ powerPreference: "high-performance"
5214
+ }),
5215
+ powerPreference: "high-performance",
5216
+ depth: !0,
5217
+ antialias: !0
5218
+ }), this.instance.autoClear = !1, this.instance.setPixelRatio(je.RENDERER_PIXEL_RATIO), this.instance.setClearColor(0, 0), this.instance.shadowMap.enabled = !0, this.instance.shadowMap.type = ji, this.instance.outputColorSpace = xi, this.instance.toneMapping = Di, this.instance.toneMappingExposure = 1.75;
5219
+ }
5220
+ setSize(t, e) {
5221
+ var r;
5222
+ (r = this.instance) == null || r.setSize(t, e);
5223
+ }
5224
+ render() {
5225
+ this.enabled && this._cameraService.instance instanceof Je && this.instance instanceof Lr && (this.instance.setViewport(
5226
+ 0,
5227
+ 0,
5228
+ this._sizesService.width,
5229
+ this._sizesService.height
5230
+ ), this.instance.render(
5231
+ this._worldService.scene,
5232
+ this._cameraService.instance
5233
+ ));
5234
+ }
5235
+ };
5236
+ ka(je, "RENDERER_PIXEL_RATIO", 1);
5237
+ je = Da([
5238
+ Z(),
5239
+ Bt(0, I(nt)),
5240
+ Bt(1, I($e)),
5241
+ Bt(2, I(we))
5242
+ ], je);
5243
+ var Aa = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, za = (t, e, r, n) => {
5244
+ for (var i = n > 1 ? void 0 : n ? Ia(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5245
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5246
+ return n && i && Aa(e, r, i), i;
5247
+ }, Tn = (t, e) => (r, n) => e(r, n, t);
5248
+ let Et = class {
5249
+ constructor(t, e) {
5250
+ p(this, "resize$");
5251
+ this._appController = t, this._service = e, this.resize$ = this._appController.resize$$.pipe(
5252
+ be(() => this._service.enabled)
5253
+ );
5254
+ }
5255
+ };
5256
+ Et = za([
5257
+ Z(),
5258
+ Tn(0, I(St)),
5259
+ Tn(1, I(we))
5260
+ ], Et);
5261
+ var Fa = Object.defineProperty, La = Object.getOwnPropertyDescriptor, Wa = (t, e, r, n) => {
5262
+ for (var i = n > 1 ? void 0 : n ? La(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5263
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5264
+ return n && i && Fa(e, r, i), i;
5265
+ }, Vt = (t, e) => (r, n) => e(r, n, t);
5266
+ let cr = class {
5267
+ constructor(t, e, r) {
5268
+ p(this, "step$");
5269
+ p(this, "resize$");
5270
+ this._service = t, this.timerController = e, this.sizesController = r, this.step$ = this.timerController.step$.pipe(
5271
+ be(() => this._service.enabled)
5272
+ ), this.resize$ = this.sizesController.resize$.pipe(
5273
+ be(() => this._service.enabled)
5274
+ );
5275
+ }
5276
+ };
5277
+ cr = Wa([
5278
+ Z(),
5279
+ Vt(0, I(je)),
5280
+ Vt(1, I(Ue)),
5281
+ Vt(2, I(Et))
5282
+ ], cr);
5283
+ var Na = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, qa = (t, e, r, n) => {
5284
+ for (var i = n > 1 ? void 0 : n ? Ha(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5285
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5286
+ return n && i && Na(e, r, i), i;
5287
+ }, On = (t, e) => (r, n) => e(r, n, t);
5288
+ let lr = class {
5289
+ constructor(t, e) {
5290
+ this._controller = t, this._service = e;
5291
+ }
5292
+ init(t) {
5293
+ this._controller.step$.subscribe(() => this._service.render()), this._controller.resize$.subscribe(
5294
+ (e) => this._service.setSize(e.windowWidth, e.windowHeight)
5295
+ ), this._service.setWebGLRenderer(t);
5296
+ }
5297
+ enabled(t) {
5298
+ return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5299
+ }
5300
+ instance() {
5301
+ return this._service.instance;
5302
+ }
5303
+ setSize(t) {
5304
+ return this._service.setSize(t.x, t.y);
5305
+ }
5306
+ render() {
5307
+ return this._service.render();
5308
+ }
5309
+ dispose() {
5310
+ var t;
5311
+ (t = this._service.instance) == null || t.dispose(), this._service.instance = void 0;
5312
+ }
5313
+ };
5314
+ lr = qa([
5315
+ Z(),
5316
+ On(0, I(cr)),
5317
+ On(1, I(je))
5318
+ ], lr);
5319
+ var Ua = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ba = (t, e, r, n) => {
5320
+ for (var i = n > 1 ? void 0 : n ? Ya(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5321
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5322
+ return n && i && Ua(e, r, i), i;
5323
+ }, Mn = (t, e) => (r, n) => e(r, n, t);
5324
+ let hr = class {
5325
+ constructor(t, e) {
5326
+ this._controller = t, this._service = e;
5327
+ }
5328
+ init(t) {
5329
+ this._controller.resize$.subscribe((e) => {
5330
+ this._service.width = e.windowWidth, this._service.height = e.windowHeight, this._service.aspect = e.windowWidth / e.windowHeight;
5331
+ }), this._service.init(t);
5332
+ }
5333
+ dispose() {
5334
+ }
5335
+ aspect(t) {
5336
+ return typeof t == "number" && (this._service.aspect = t), this._service.aspect;
5337
+ }
5338
+ enabled(t) {
5339
+ return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5340
+ }
5341
+ frustrum(t) {
5342
+ return typeof t == "number" && (this._service.frustrum = t), this._service.frustrum;
5343
+ }
5344
+ height(t) {
5345
+ return typeof t == "number" && (this._service.height = t), this._service.height;
5346
+ }
5347
+ pixelRatio(t) {
5348
+ return typeof t == "number" && (this._service.pixelRatio = t), this._service.pixelRatio;
5349
+ }
5350
+ width(t) {
5351
+ return typeof t == "number" && (this._service.width = t), this._service.width;
5352
+ }
5353
+ resize$() {
5354
+ return this._controller.resize$;
5355
+ }
5356
+ };
5357
+ hr = Ba([
5358
+ Z(),
5359
+ Mn(0, I(Et)),
5360
+ Mn(1, I(we))
5361
+ ], hr);
5362
+ var Va = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Ga = (t, e, r, n) => {
5363
+ for (var i = n > 1 ? void 0 : n ? Za(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5364
+ (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5365
+ return n && i && Va(e, r, i), i;
5366
+ }, Qa = (t, e) => (r, n) => e(r, n, t);
5367
+ let fr = class {
5368
+ constructor(t) {
5369
+ this._service = t;
5370
+ }
5371
+ init() {
5372
+ }
5373
+ dispose() {
5374
+ }
5375
+ scene(t) {
5376
+ return t instanceof In && (this._service.scene = t), this._service.scene;
5377
+ }
5378
+ enabled(t) {
5379
+ return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5380
+ }
5381
+ };
5382
+ fr = Ga([
5383
+ Z(),
5384
+ Qa(0, I(nt))
5385
+ ], fr);
5386
+ const Rn = { type: "change" }, Or = { type: "start" }, fi = { type: "end" }, pt = new ki(), $n = new Ai(), Ka = Math.cos(70 * Ii.DEG2RAD), X = new le(), ne = 2 * Math.PI, q = {
5210
5387
  NONE: -1,
5211
5388
  ROTATE: 0,
5212
5389
  DOLLY: 1,
@@ -5215,10 +5392,10 @@ const Tn = { type: "change" }, Or = { type: "start" }, hi = { type: "end" }, dt
5215
5392
  TOUCH_PAN: 4,
5216
5393
  TOUCH_DOLLY_PAN: 5,
5217
5394
  TOUCH_DOLLY_ROTATE: 6
5218
- }, Vt = 1e-6;
5219
- class Mn extends ki {
5395
+ }, Zt = 1e-6;
5396
+ class jn extends zi {
5220
5397
  constructor(e, r = null) {
5221
- super(e, r), this.state = H.NONE, this.enabled = !0, this.target = new le(), this.cursor = new le(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Fe.ROTATE, MIDDLE: Fe.DOLLY, RIGHT: Fe.PAN }, this.touches = { ONE: ze.ROTATE, TWO: ze.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new le(), this._lastQuaternion = new Lr(), this._lastTargetPosition = new le(), this._quat = new Lr().setFromUnitVectors(e.up, new le(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Wr(), this._sphericalDelta = new Wr(), this._scale = 1, this._panOffset = new le(), this._rotateStart = new ae(), this._rotateEnd = new ae(), this._rotateDelta = new ae(), this._panStart = new ae(), this._panEnd = new ae(), this._panDelta = new ae(), this._dollyStart = new ae(), this._dollyEnd = new ae(), this._dollyDelta = new ae(), this._dollyDirection = new le(), this._mouse = new ae(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = Da.bind(this), this._onPointerDown = xa.bind(this), this._onPointerUp = ka.bind(this), this._onContextMenu = Na.bind(this), this._onMouseWheel = za.bind(this), this._onKeyDown = Fa.bind(this), this._onTouchStart = La.bind(this), this._onTouchMove = Wa.bind(this), this._onMouseDown = Aa.bind(this), this._onMouseMove = Ia.bind(this), this._interceptControlDown = qa.bind(this), this._interceptControlUp = Ha.bind(this), this.domElement !== null && this.connect(), this.update();
5398
+ super(e, r), this.state = q.NONE, this.enabled = !0, this.target = new le(), this.cursor = new le(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Le.ROTATE, MIDDLE: Le.DOLLY, RIGHT: Le.PAN }, this.touches = { ONE: Fe.ROTATE, TWO: Fe.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new le(), this._lastQuaternion = new Wr(), this._lastTargetPosition = new le(), this._quat = new Wr().setFromUnitVectors(e.up, new le(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Nr(), this._sphericalDelta = new Nr(), this._scale = 1, this._panOffset = new le(), this._rotateStart = new ae(), this._rotateEnd = new ae(), this._rotateDelta = new ae(), this._panStart = new ae(), this._panEnd = new ae(), this._panDelta = new ae(), this._dollyStart = new ae(), this._dollyEnd = new ae(), this._dollyDelta = new ae(), this._dollyDirection = new le(), this._mouse = new ae(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = Ja.bind(this), this._onPointerDown = Xa.bind(this), this._onPointerUp = eu.bind(this), this._onContextMenu = au.bind(this), this._onMouseWheel = nu.bind(this), this._onKeyDown = iu.bind(this), this._onTouchStart = su.bind(this), this._onTouchMove = ou.bind(this), this._onMouseDown = tu.bind(this), this._onMouseMove = ru.bind(this), this._interceptControlDown = uu.bind(this), this._interceptControlUp = cu.bind(this), this.domElement !== null && this.connect(), this.update();
5222
5399
  }
5223
5400
  connect() {
5224
5401
  this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointercancel", this._onPointerUp), this.domElement.addEventListener("contextmenu", this._onContextMenu), this.domElement.addEventListener("wheel", this._onMouseWheel, { passive: !1 }), this.domElement.getRootNode().addEventListener("keydown", this._interceptControlDown, { passive: !0, capture: !0 }), this.domElement.style.touchAction = "none";
@@ -5248,11 +5425,11 @@ class Mn extends ki {
5248
5425
  this.target0.copy(this.target), this.position0.copy(this.object.position), this.zoom0 = this.object.zoom;
5249
5426
  }
5250
5427
  reset() {
5251
- this.target.copy(this.target0), this.object.position.copy(this.position0), this.object.zoom = this.zoom0, this.object.updateProjectionMatrix(), this.dispatchEvent(Tn), this.update(), this.state = H.NONE;
5428
+ this.target.copy(this.target0), this.object.position.copy(this.position0), this.object.zoom = this.zoom0, this.object.updateProjectionMatrix(), this.dispatchEvent(Rn), this.update(), this.state = q.NONE;
5252
5429
  }
5253
5430
  update(e = null) {
5254
5431
  const r = this.object.position;
5255
- X.copy(r).sub(this.target), X.applyQuaternion(this._quat), this._spherical.setFromVector3(X), this.autoRotate && this.state === H.NONE && this._rotateLeft(this._getAutoRotationAngle(e)), this.enableDamping ? (this._spherical.theta += this._sphericalDelta.theta * this.dampingFactor, this._spherical.phi += this._sphericalDelta.phi * this.dampingFactor) : (this._spherical.theta += this._sphericalDelta.theta, this._spherical.phi += this._sphericalDelta.phi);
5432
+ X.copy(r).sub(this.target), X.applyQuaternion(this._quat), this._spherical.setFromVector3(X), this.autoRotate && this.state === q.NONE && this._rotateLeft(this._getAutoRotationAngle(e)), this.enableDamping ? (this._spherical.theta += this._sphericalDelta.theta * this.dampingFactor, this._spherical.phi += this._sphericalDelta.phi * this.dampingFactor) : (this._spherical.theta += this._sphericalDelta.theta, this._spherical.phi += this._sphericalDelta.phi);
5256
5433
  let n = this.minAzimuthAngle, i = this.maxAzimuthAngle;
5257
5434
  isFinite(n) && isFinite(i) && (n < -Math.PI ? n += ne : n > Math.PI && (n -= ne), i < -Math.PI ? i += ne : i > Math.PI && (i -= ne), n <= i ? this._spherical.theta = Math.max(n, Math.min(i, this._spherical.theta)) : this._spherical.theta = this._spherical.theta > (n + i) / 2 ? Math.max(n, this._spherical.theta) : Math.min(i, this._spherical.theta)), this._spherical.phi = Math.max(this.minPolarAngle, Math.min(this.maxPolarAngle, this._spherical.phi)), this._spherical.makeSafe(), this.enableDamping === !0 ? this.target.addScaledVector(this._panOffset, this.dampingFactor) : this.target.add(this._panOffset), this.target.sub(this.cursor), this.target.clampLength(this.minTargetRadius, this.maxTargetRadius), this.target.add(this.cursor);
5258
5435
  let s = !1;
@@ -5278,12 +5455,12 @@ class Mn extends ki {
5278
5455
  c.unproject(this.object), this.object.position.sub(c).add(a), this.object.updateMatrixWorld(), o = X.length();
5279
5456
  } else
5280
5457
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), this.zoomToCursor = !1;
5281
- o !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(o).add(this.object.position) : (dt.origin.copy(this.object.position), dt.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(dt.direction)) < $a ? this.object.lookAt(this.target) : (On.setFromNormalAndCoplanarPoint(this.object.up, this.target), dt.intersectPlane(On, this.target))));
5458
+ o !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(o).add(this.object.position) : (pt.origin.copy(this.object.position), pt.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(pt.direction)) < Ka ? this.object.lookAt(this.target) : ($n.setFromNormalAndCoplanarPoint(this.object.up, this.target), pt.intersectPlane($n, this.target))));
5282
5459
  } else if (this.object.isOrthographicCamera) {
5283
5460
  const o = this.object.zoom;
5284
5461
  this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale)), o !== this.object.zoom && (this.object.updateProjectionMatrix(), s = !0);
5285
5462
  }
5286
- return this._scale = 1, this._performCursorZoom = !1, s || this._lastPosition.distanceToSquared(this.object.position) > Vt || 8 * (1 - this._lastQuaternion.dot(this.object.quaternion)) > Vt || this._lastTargetPosition.distanceToSquared(this.target) > Vt ? (this.dispatchEvent(Tn), this._lastPosition.copy(this.object.position), this._lastQuaternion.copy(this.object.quaternion), this._lastTargetPosition.copy(this.target), !0) : !1;
5463
+ return this._scale = 1, this._performCursorZoom = !1, s || this._lastPosition.distanceToSquared(this.object.position) > Zt || 8 * (1 - this._lastQuaternion.dot(this.object.quaternion)) > Zt || this._lastTargetPosition.distanceToSquared(this.target) > Zt ? (this.dispatchEvent(Rn), this._lastPosition.copy(this.object.position), this._lastQuaternion.copy(this.object.quaternion), this._lastTargetPosition.copy(this.target), !0) : !1;
5287
5464
  }
5288
5465
  _getAutoRotationAngle(e) {
5289
5466
  return e !== null ? ne / 60 * this.autoRotateSpeed * e : ne / 60 / 60 * this.autoRotateSpeed;
@@ -5360,16 +5537,16 @@ class Mn extends ki {
5360
5537
  let r = !1;
5361
5538
  switch (e.code) {
5362
5539
  case this.keys.UP:
5363
- e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateUp(ne * this.rotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(0, this.keyPanSpeed), r = !0;
5540
+ e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateUp(ne * this.keyRotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(0, this.keyPanSpeed), r = !0;
5364
5541
  break;
5365
5542
  case this.keys.BOTTOM:
5366
- e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateUp(-ne * this.rotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(0, -this.keyPanSpeed), r = !0;
5543
+ e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateUp(-ne * this.keyRotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(0, -this.keyPanSpeed), r = !0;
5367
5544
  break;
5368
5545
  case this.keys.LEFT:
5369
- e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateLeft(ne * this.rotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(this.keyPanSpeed, 0), r = !0;
5546
+ e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateLeft(ne * this.keyRotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(this.keyPanSpeed, 0), r = !0;
5370
5547
  break;
5371
5548
  case this.keys.RIGHT:
5372
- e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateLeft(-ne * this.rotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(-this.keyPanSpeed, 0), r = !0;
5549
+ e.ctrlKey || e.metaKey || e.shiftKey ? this.enableRotate && this._rotateLeft(-ne * this.keyRotateSpeed / this.domElement.clientHeight) : this.enablePan && this._pan(-this.keyPanSpeed, 0), r = !0;
5373
5550
  break;
5374
5551
  }
5375
5552
  r && (e.preventDefault(), this.update());
@@ -5475,16 +5652,16 @@ class Mn extends ki {
5475
5652
  return e.ctrlKey && !this._controlActive && (n.deltaY *= 10), n;
5476
5653
  }
5477
5654
  }
5478
- function xa(t) {
5655
+ function Xa(t) {
5479
5656
  this.enabled !== !1 && (this._pointers.length === 0 && (this.domElement.setPointerCapture(t.pointerId), this.domElement.addEventListener("pointermove", this._onPointerMove), this.domElement.addEventListener("pointerup", this._onPointerUp)), !this._isTrackingPointer(t) && (this._addPointer(t), t.pointerType === "touch" ? this._onTouchStart(t) : this._onMouseDown(t)));
5480
5657
  }
5481
- function Da(t) {
5658
+ function Ja(t) {
5482
5659
  this.enabled !== !1 && (t.pointerType === "touch" ? this._onTouchMove(t) : this._onMouseMove(t));
5483
5660
  }
5484
- function ka(t) {
5661
+ function eu(t) {
5485
5662
  switch (this._removePointer(t), this._pointers.length) {
5486
5663
  case 0:
5487
- this.domElement.releasePointerCapture(t.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(hi), this.state = H.NONE;
5664
+ this.domElement.releasePointerCapture(t.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(fi), this.state = q.NONE;
5488
5665
  break;
5489
5666
  case 1:
5490
5667
  const e = this._pointers[0], r = this._pointerPositions[e];
@@ -5492,7 +5669,7 @@ function ka(t) {
5492
5669
  break;
5493
5670
  }
5494
5671
  }
5495
- function Aa(t) {
5672
+ function tu(t) {
5496
5673
  let e;
5497
5674
  switch (t.button) {
5498
5675
  case 0:
@@ -5508,381 +5685,209 @@ function Aa(t) {
5508
5685
  e = -1;
5509
5686
  }
5510
5687
  switch (e) {
5511
- case Fe.DOLLY:
5688
+ case Le.DOLLY:
5512
5689
  if (this.enableZoom === !1) return;
5513
- this._handleMouseDownDolly(t), this.state = H.DOLLY;
5690
+ this._handleMouseDownDolly(t), this.state = q.DOLLY;
5514
5691
  break;
5515
- case Fe.ROTATE:
5692
+ case Le.ROTATE:
5516
5693
  if (t.ctrlKey || t.metaKey || t.shiftKey) {
5517
5694
  if (this.enablePan === !1) return;
5518
- this._handleMouseDownPan(t), this.state = H.PAN;
5695
+ this._handleMouseDownPan(t), this.state = q.PAN;
5519
5696
  } else {
5520
5697
  if (this.enableRotate === !1) return;
5521
- this._handleMouseDownRotate(t), this.state = H.ROTATE;
5698
+ this._handleMouseDownRotate(t), this.state = q.ROTATE;
5522
5699
  }
5523
5700
  break;
5524
- case Fe.PAN:
5701
+ case Le.PAN:
5525
5702
  if (t.ctrlKey || t.metaKey || t.shiftKey) {
5526
5703
  if (this.enableRotate === !1) return;
5527
- this._handleMouseDownRotate(t), this.state = H.ROTATE;
5704
+ this._handleMouseDownRotate(t), this.state = q.ROTATE;
5528
5705
  } else {
5529
5706
  if (this.enablePan === !1) return;
5530
- this._handleMouseDownPan(t), this.state = H.PAN;
5707
+ this._handleMouseDownPan(t), this.state = q.PAN;
5531
5708
  }
5532
5709
  break;
5533
5710
  default:
5534
- this.state = H.NONE;
5711
+ this.state = q.NONE;
5535
5712
  }
5536
- this.state !== H.NONE && this.dispatchEvent(Or);
5713
+ this.state !== q.NONE && this.dispatchEvent(Or);
5537
5714
  }
5538
- function Ia(t) {
5715
+ function ru(t) {
5539
5716
  switch (this.state) {
5540
- case H.ROTATE:
5717
+ case q.ROTATE:
5541
5718
  if (this.enableRotate === !1) return;
5542
5719
  this._handleMouseMoveRotate(t);
5543
5720
  break;
5544
- case H.DOLLY:
5721
+ case q.DOLLY:
5545
5722
  if (this.enableZoom === !1) return;
5546
5723
  this._handleMouseMoveDolly(t);
5547
5724
  break;
5548
- case H.PAN:
5725
+ case q.PAN:
5549
5726
  if (this.enablePan === !1) return;
5550
5727
  this._handleMouseMovePan(t);
5551
5728
  break;
5552
5729
  }
5553
5730
  }
5554
- function za(t) {
5555
- this.enabled === !1 || this.enableZoom === !1 || this.state !== H.NONE || (t.preventDefault(), this.dispatchEvent(Or), this._handleMouseWheel(this._customWheelEvent(t)), this.dispatchEvent(hi));
5731
+ function nu(t) {
5732
+ this.enabled === !1 || this.enableZoom === !1 || this.state !== q.NONE || (t.preventDefault(), this.dispatchEvent(Or), this._handleMouseWheel(this._customWheelEvent(t)), this.dispatchEvent(fi));
5556
5733
  }
5557
- function Fa(t) {
5734
+ function iu(t) {
5558
5735
  this.enabled !== !1 && this._handleKeyDown(t);
5559
5736
  }
5560
- function La(t) {
5737
+ function su(t) {
5561
5738
  switch (this._trackPointer(t), this._pointers.length) {
5562
5739
  case 1:
5563
5740
  switch (this.touches.ONE) {
5564
- case ze.ROTATE:
5741
+ case Fe.ROTATE:
5565
5742
  if (this.enableRotate === !1) return;
5566
- this._handleTouchStartRotate(t), this.state = H.TOUCH_ROTATE;
5743
+ this._handleTouchStartRotate(t), this.state = q.TOUCH_ROTATE;
5567
5744
  break;
5568
- case ze.PAN:
5745
+ case Fe.PAN:
5569
5746
  if (this.enablePan === !1) return;
5570
- this._handleTouchStartPan(t), this.state = H.TOUCH_PAN;
5747
+ this._handleTouchStartPan(t), this.state = q.TOUCH_PAN;
5571
5748
  break;
5572
5749
  default:
5573
- this.state = H.NONE;
5750
+ this.state = q.NONE;
5574
5751
  }
5575
5752
  break;
5576
5753
  case 2:
5577
5754
  switch (this.touches.TWO) {
5578
- case ze.DOLLY_PAN:
5755
+ case Fe.DOLLY_PAN:
5579
5756
  if (this.enableZoom === !1 && this.enablePan === !1) return;
5580
- this._handleTouchStartDollyPan(t), this.state = H.TOUCH_DOLLY_PAN;
5757
+ this._handleTouchStartDollyPan(t), this.state = q.TOUCH_DOLLY_PAN;
5581
5758
  break;
5582
- case ze.DOLLY_ROTATE:
5759
+ case Fe.DOLLY_ROTATE:
5583
5760
  if (this.enableZoom === !1 && this.enableRotate === !1) return;
5584
- this._handleTouchStartDollyRotate(t), this.state = H.TOUCH_DOLLY_ROTATE;
5761
+ this._handleTouchStartDollyRotate(t), this.state = q.TOUCH_DOLLY_ROTATE;
5585
5762
  break;
5586
5763
  default:
5587
- this.state = H.NONE;
5764
+ this.state = q.NONE;
5588
5765
  }
5589
5766
  break;
5590
5767
  default:
5591
- this.state = H.NONE;
5768
+ this.state = q.NONE;
5592
5769
  }
5593
- this.state !== H.NONE && this.dispatchEvent(Or);
5770
+ this.state !== q.NONE && this.dispatchEvent(Or);
5594
5771
  }
5595
- function Wa(t) {
5772
+ function ou(t) {
5596
5773
  switch (this._trackPointer(t), this.state) {
5597
- case H.TOUCH_ROTATE:
5774
+ case q.TOUCH_ROTATE:
5598
5775
  if (this.enableRotate === !1) return;
5599
5776
  this._handleTouchMoveRotate(t), this.update();
5600
5777
  break;
5601
- case H.TOUCH_PAN:
5778
+ case q.TOUCH_PAN:
5602
5779
  if (this.enablePan === !1) return;
5603
5780
  this._handleTouchMovePan(t), this.update();
5604
5781
  break;
5605
- case H.TOUCH_DOLLY_PAN:
5782
+ case q.TOUCH_DOLLY_PAN:
5606
5783
  if (this.enableZoom === !1 && this.enablePan === !1) return;
5607
5784
  this._handleTouchMoveDollyPan(t), this.update();
5608
5785
  break;
5609
- case H.TOUCH_DOLLY_ROTATE:
5786
+ case q.TOUCH_DOLLY_ROTATE:
5610
5787
  if (this.enableZoom === !1 && this.enableRotate === !1) return;
5611
5788
  this._handleTouchMoveDollyRotate(t), this.update();
5612
5789
  break;
5613
5790
  default:
5614
- this.state = H.NONE;
5791
+ this.state = q.NONE;
5615
5792
  }
5616
5793
  }
5617
- function Na(t) {
5794
+ function au(t) {
5618
5795
  this.enabled !== !1 && t.preventDefault();
5619
5796
  }
5620
- function qa(t) {
5797
+ function uu(t) {
5621
5798
  t.key === "Control" && (this._controlActive = !0, this.domElement.getRootNode().addEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
5622
5799
  }
5623
- function Ha(t) {
5800
+ function cu(t) {
5624
5801
  t.key === "Control" && (this._controlActive = !1, this.domElement.getRootNode().removeEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
5625
5802
  }
5626
- var Ua = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ba = (t, e, r, n) => {
5627
- for (var i = n > 1 ? void 0 : n ? Ya(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5803
+ var lu = Object.defineProperty, hu = Object.getOwnPropertyDescriptor, fu = (t, e, r, n) => {
5804
+ for (var i = n > 1 ? void 0 : n ? hu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5628
5805
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5629
- return n && i && Ua(e, r, i), i;
5630
- }, Zt = (t, e) => (r, n) => e(r, n, t);
5631
- let Et = class {
5632
- constructor(t, e, r) {
5633
- p(this, "enabled", !0);
5806
+ return n && i && lu(e, r, i), i;
5807
+ }, Xe = (t, e) => (r, n) => e(r, n, t);
5808
+ let dr = class {
5809
+ constructor(t, e, r, n, i) {
5810
+ p(this, "enabled", !1);
5634
5811
  p(this, "cameraControls");
5812
+ p(this, "miniCamera");
5635
5813
  p(this, "miniCameraControls");
5636
5814
  p(this, "cameraHelper");
5637
5815
  p(this, "axesHelper");
5638
5816
  p(this, "gridHelper");
5639
- this._appService = t, this._cameraService = e, this._worldService = r;
5817
+ this._appService = t, this._sizesService = e, this._rendererService = r, this._cameraService = n, this._worldService = i;
5640
5818
  }
5641
- _setCameraOrbitControl() {
5642
- var t;
5643
- this.cameraControls && ((t = this.cameraControls) == null || t.dispose(), this.cameraControls = void 0), !(!this.enabled || !(this._cameraService.instance instanceof Xe)) && this._cameraService.instance instanceof Xe && (this.cameraControls = new Mn(
5644
- this._cameraService.instance,
5645
- this._appService.proxyReceiver
5646
- ), this.cameraControls.rotateSpeed = 0.1, this.cameraControls.enableDamping = !0);
5647
- }
5648
- _setMiniCameraOrbitControls() {
5649
- this.miniCameraControls && (this.miniCameraControls.dispose(), this.miniCameraControls = void 0), !(!this.enabled || !this._cameraService.miniCamera) && (this.miniCameraControls = new Mn(
5650
- this._cameraService.miniCamera,
5651
- this._appService.proxyReceiver
5652
- ), this.miniCameraControls.rotateSpeed = 0.15, this.miniCameraControls.enableDamping = !0);
5653
- }
5654
- _setCameraHelper() {
5655
- this.cameraHelper && (this._worldService.scene.remove(this.cameraHelper), this.cameraHelper = void 0), this.enabled && this._cameraService.instance && (this.cameraHelper = new Ai(this._cameraService.instance), this._worldService.scene.add(this.cameraHelper));
5656
- }
5657
- _setAxesHelper(t) {
5658
- const e = new Ii(t);
5659
- this._worldService.scene.add(e);
5660
- }
5661
- _setGridHelper(t) {
5662
- const e = new zi(t, t);
5663
- this._worldService.scene.add(e);
5664
- }
5665
- activate(t) {
5666
- this._setCameraOrbitControl(), this._setMiniCameraOrbitControls(), this._setCameraHelper(), typeof (t == null ? void 0 : t.axesSizes) == "number" && this._setAxesHelper(t.axesSizes), typeof (t == null ? void 0 : t.gridSizes) == "number" && this._setGridHelper(t.gridSizes);
5667
- }
5668
- update() {
5669
- var t, e;
5670
- (t = this.cameraControls) == null || t.update(), (e = this.miniCameraControls) == null || e.update();
5671
- }
5672
- deactivate() {
5673
- this.cameraHelper && (this._worldService.scene.remove(this.cameraHelper), this.cameraHelper = void 0), this.cameraControls && (this.cameraControls.dispose(), this.cameraControls = void 0), this.miniCameraControls && (this.miniCameraControls.dispose(), this.miniCameraControls = void 0);
5674
- }
5675
- };
5676
- Et = Ba([
5677
- Z(),
5678
- Zt(0, I(tt)),
5679
- Zt(1, I(je)),
5680
- Zt(2, I(rt))
5681
- ], Et);
5682
- var fi = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Za = (t, e, r) => e in t ? fi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Ga = (t, e, r, n) => {
5683
- for (var i = n > 1 ? void 0 : n ? Va(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5684
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5685
- return n && i && fi(e, r, i), i;
5686
- }, pt = (t, e) => (r, n) => e(r, n, t), Qa = (t, e, r) => Za(t, e + "", r);
5687
- let Ue = class {
5688
- constructor(t, e, r, n) {
5689
- p(this, "enabled", !0);
5690
- p(this, "instance");
5691
- this._worldService = t, this._cameraService = e, this._sizesService = r, this._debugComponent = n;
5692
- }
5693
- setWebGLRenderer(t) {
5694
- this.instance = new Nr({
5695
- canvas: t,
5696
- context: t.getContext("webgl2", {
5697
- stencil: !0,
5698
- powerPreference: "high-performance"
5699
- }),
5700
- powerPreference: "high-performance",
5701
- depth: !0,
5702
- antialias: !0
5703
- }), this.instance.autoClear = !1, this.instance.setPixelRatio(Ue.RENDERER_PIXEL_RATIO), this.instance.setClearColor(0, 0), this.instance.shadowMap.enabled = !0, this.instance.shadowMap.type = Fi, this.instance.outputColorSpace = Li, this.instance.toneMapping = Wi, this.instance.toneMappingExposure = 1.75;
5704
- }
5705
- setSize(t, e) {
5706
- var r;
5707
- (r = this.instance) == null || r.setSize(t, e);
5708
- }
5709
- render() {
5710
- this.enabled && this._cameraService.instance instanceof Xe && this.instance instanceof Nr && (this.instance.setViewport(
5711
- 0,
5712
- 0,
5713
- this._sizesService.width,
5714
- this._sizesService.height
5715
- ), this.instance.render(
5716
- this._worldService.scene,
5717
- this._cameraService.instance
5718
- ), this._debugComponent.enabled && this._cameraService.miniCamera && (this.instance.setScissorTest(!0), this.instance.setViewport(
5819
+ _renderMiniCamera() {
5820
+ var t, e, r, n, i;
5821
+ !this.enabled || !this.miniCamera || ((t = this._rendererService.instance) == null || t.setScissorTest(!0), (e = this._rendererService.instance) == null || e.setViewport(
5719
5822
  this._sizesService.width - this._sizesService.width / 3,
5720
5823
  this._sizesService.height - this._sizesService.height / 3,
5721
5824
  this._sizesService.width / 3,
5722
5825
  this._sizesService.height / 3
5723
- ), this.instance.setScissor(
5826
+ ), (r = this._rendererService.instance) == null || r.setScissor(
5724
5827
  this._sizesService.width - this._sizesService.width / 3,
5725
5828
  this._sizesService.height - this._sizesService.height / 3,
5726
5829
  this._sizesService.width / 3,
5727
5830
  this._sizesService.height / 3
5728
- ), this.instance.render(
5831
+ ), (n = this._rendererService.instance) == null || n.render(
5729
5832
  this._worldService.scene,
5730
- this._cameraService.miniCamera
5731
- ), this.instance.setScissorTest(!1)));
5732
- }
5733
- };
5734
- Qa(Ue, "RENDERER_PIXEL_RATIO", 1);
5735
- Ue = Ga([
5736
- Z(),
5737
- pt(0, I(rt)),
5738
- pt(1, I(je)),
5739
- pt(2, I(Re)),
5740
- pt(3, I(Et))
5741
- ], Ue);
5742
- var Ka = Object.defineProperty, Xa = Object.getOwnPropertyDescriptor, Ja = (t, e, r, n) => {
5743
- for (var i = n > 1 ? void 0 : n ? Xa(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5744
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5745
- return n && i && Ka(e, r, i), i;
5746
- }, Rn = (t, e) => (r, n) => e(r, n, t);
5747
- let Tt = class {
5748
- constructor(t, e) {
5749
- p(this, "resize$");
5750
- this._appController = t, this._service = e, this.resize$ = this._appController.resize$$.pipe(
5751
- be(() => this._service.enabled)
5752
- );
5753
- }
5754
- };
5755
- Tt = Ja([
5756
- Z(),
5757
- Rn(0, I(St)),
5758
- Rn(1, I(Re))
5759
- ], Tt);
5760
- var eu = Object.defineProperty, tu = Object.getOwnPropertyDescriptor, ru = (t, e, r, n) => {
5761
- for (var i = n > 1 ? void 0 : n ? tu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5762
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5763
- return n && i && eu(e, r, i), i;
5764
- }, Gt = (t, e) => (r, n) => e(r, n, t);
5765
- let lr = class {
5766
- constructor(t, e, r) {
5767
- p(this, "step$");
5768
- p(this, "resize$");
5769
- this._service = t, this.timerController = e, this.sizesController = r, this.step$ = this.timerController.step$.pipe(
5770
- be(() => this._service.enabled)
5771
- ), this.resize$ = this.sizesController.resize$.pipe(
5772
- be(() => this._service.enabled)
5773
- );
5774
- }
5775
- };
5776
- lr = ru([
5777
- Z(),
5778
- Gt(0, I(Ue)),
5779
- Gt(1, I(He)),
5780
- Gt(2, I(Tt))
5781
- ], lr);
5782
- var nu = Object.defineProperty, iu = Object.getOwnPropertyDescriptor, su = (t, e, r, n) => {
5783
- for (var i = n > 1 ? void 0 : n ? iu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5784
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5785
- return n && i && nu(e, r, i), i;
5786
- }, jn = (t, e) => (r, n) => e(r, n, t);
5787
- let hr = class {
5788
- constructor(t, e) {
5789
- this._controller = t, this._service = e;
5790
- }
5791
- init(t) {
5792
- this._controller.step$.subscribe(() => this._service.render()), this._controller.resize$.subscribe(
5793
- (e) => this._service.setSize(e.windowWidth, e.windowHeight)
5794
- ), this._service.setWebGLRenderer(t);
5795
- }
5796
- enabled(t) {
5797
- return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5798
- }
5799
- instance() {
5800
- return this._service.instance;
5801
- }
5802
- setSize(t) {
5803
- return this._service.setSize(t.x, t.y);
5833
+ this.miniCamera
5834
+ ), (i = this._rendererService.instance) == null || i.setScissorTest(!1));
5804
5835
  }
5805
- render() {
5806
- return this._service.render();
5836
+ initMiniCamera() {
5837
+ this.disposeMiniCamera(), this.enabled && (this.miniCamera = new ze(
5838
+ 75,
5839
+ this._sizesService.width / this._sizesService.height,
5840
+ 0.1,
5841
+ 500
5842
+ ), this.miniCamera.position.z = 10, this.miniCamera.position.x = -5);
5807
5843
  }
5808
- dispose() {
5844
+ initOrbitControl() {
5809
5845
  var t;
5810
- (t = this._service.instance) == null || t.dispose(), this._service.instance = void 0;
5811
- }
5812
- };
5813
- hr = su([
5814
- Z(),
5815
- jn(0, I(lr)),
5816
- jn(1, I(Ue))
5817
- ], hr);
5818
- var ou = Object.defineProperty, au = Object.getOwnPropertyDescriptor, uu = (t, e, r, n) => {
5819
- for (var i = n > 1 ? void 0 : n ? au(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5820
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5821
- return n && i && ou(e, r, i), i;
5822
- }, $n = (t, e) => (r, n) => e(r, n, t);
5823
- let fr = class {
5824
- constructor(t, e) {
5825
- this._controller = t, this._service = e;
5826
- }
5827
- init(t) {
5828
- this._controller.resize$.subscribe((e) => {
5829
- this._service.width = e.windowWidth, this._service.height = e.windowHeight, this._service.aspect = e.windowWidth / e.windowHeight;
5830
- }), this._service.init(t);
5831
- }
5832
- dispose() {
5833
- }
5834
- aspect(t) {
5835
- return typeof t == "number" && (this._service.aspect = t), this._service.aspect;
5836
- }
5837
- enabled(t) {
5838
- return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5839
- }
5840
- frustrum(t) {
5841
- return typeof t == "number" && (this._service.frustrum = t), this._service.frustrum;
5846
+ this.cameraControls && ((t = this.cameraControls) == null || t.dispose()), !(!this.enabled || !(this._cameraService.instance instanceof Je)) && this._cameraService.instance instanceof Je && (this.cameraControls = new jn(
5847
+ this._cameraService.instance,
5848
+ this._appService.proxyReceiver
5849
+ ), this.cameraControls.rotateSpeed = 0.1, this.cameraControls.enableDamping = !0);
5842
5850
  }
5843
- height(t) {
5844
- return typeof t == "number" && (this._service.height = t), this._service.height;
5851
+ initMiniCameraOrbitControls() {
5852
+ this.miniCameraControls && this.miniCameraControls.dispose(), !(!this.enabled || !this.miniCamera) && (this.miniCameraControls = new jn(
5853
+ this.miniCamera,
5854
+ this._appService.proxyReceiver
5855
+ ), this.miniCameraControls.rotateSpeed = 0.15, this.miniCameraControls.enableDamping = !0);
5845
5856
  }
5846
- pixelRatio(t) {
5847
- return typeof t == "number" && (this._service.pixelRatio = t), this._service.pixelRatio;
5857
+ initCameraHelper() {
5858
+ this.cameraHelper && this._worldService.scene.remove(this.cameraHelper), !(!this.enabled || !this._cameraService.instance) && (this.cameraHelper = new Fi(this._cameraService.instance), this._worldService.scene.add(this.cameraHelper));
5848
5859
  }
5849
- width(t) {
5850
- return typeof t == "number" && (this._service.width = t), this._service.width;
5860
+ initAxesHelper(t) {
5861
+ if (!this.enabled) return;
5862
+ const e = new Li(t);
5863
+ this._worldService.scene.add(e);
5851
5864
  }
5852
- resize$() {
5853
- return this._controller.resize$;
5865
+ initGridHelper(t) {
5866
+ if (this.gridHelper && this._worldService.scene.remove(this.gridHelper), !this.enabled) return;
5867
+ const e = new Wi(t, t);
5868
+ this._worldService.scene.add(e);
5854
5869
  }
5855
- };
5856
- fr = uu([
5857
- Z(),
5858
- $n(0, I(Tt)),
5859
- $n(1, I(Re))
5860
- ], fr);
5861
- var cu = Object.defineProperty, lu = Object.getOwnPropertyDescriptor, hu = (t, e, r, n) => {
5862
- for (var i = n > 1 ? void 0 : n ? lu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5863
- (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5864
- return n && i && cu(e, r, i), i;
5865
- }, fu = (t, e) => (r, n) => e(r, n, t);
5866
- let dr = class {
5867
- constructor(t) {
5868
- this._service = t;
5870
+ disposeMiniCamera() {
5871
+ this.miniCamera instanceof Je && (this.miniCamera.clearViewOffset(), this.miniCamera.clear(), this.miniCamera = void 0);
5869
5872
  }
5870
- init() {
5873
+ update() {
5874
+ var t, e;
5875
+ (t = this.cameraControls) == null || t.update(), (e = this.miniCameraControls) == null || e.update(), this._renderMiniCamera();
5871
5876
  }
5872
5877
  dispose() {
5873
- }
5874
- scene(t) {
5875
- return t instanceof In && (this._service.scene = t), this._service.scene;
5876
- }
5877
- enabled(t) {
5878
- return typeof t == "boolean" && (this._service.enabled = t), this._service.enabled;
5878
+ var t, e, r, n, i;
5879
+ this.disposeMiniCamera(), (t = this.cameraControls) == null || t.dispose(), this.cameraControls = void 0, (e = this.miniCameraControls) == null || e.dispose(), this.miniCameraControls = void 0, this.cameraHelper && this._worldService.scene.remove(this.cameraHelper), (r = this.cameraHelper) == null || r.dispose(), this.cameraHelper = void 0, this.axesHelper && this._worldService.scene.remove(this.axesHelper), (n = this.axesHelper) == null || n.dispose(), this.axesHelper = void 0, this.gridHelper && this._worldService.scene.remove(this.gridHelper), (i = this.gridHelper) == null || i.dispose(), this.gridHelper = void 0;
5879
5880
  }
5880
5881
  };
5881
- dr = hu([
5882
+ dr = fu([
5882
5883
  Z(),
5883
- fu(0, I(rt))
5884
+ Xe(0, I(rt)),
5885
+ Xe(1, I(we)),
5886
+ Xe(2, I(je)),
5887
+ Xe(3, I($e)),
5888
+ Xe(4, I(nt))
5884
5889
  ], dr);
5885
- var du = Object.defineProperty, pu = Object.getOwnPropertyDescriptor, mu = (t, e, r, n) => {
5890
+ var du = Object.defineProperty, pu = Object.getOwnPropertyDescriptor, vu = (t, e, r, n) => {
5886
5891
  for (var i = n > 1 ? void 0 : n ? pu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5887
5892
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5888
5893
  return n && i && du(e, r, i), i;
@@ -5895,79 +5900,85 @@ let pr = class {
5895
5900
  );
5896
5901
  }
5897
5902
  };
5898
- pr = mu([
5903
+ pr = vu([
5899
5904
  Z(),
5900
- xn(0, I(He)),
5901
- xn(1, I(je))
5905
+ xn(0, I(Ue)),
5906
+ xn(1, I($e))
5902
5907
  ], pr);
5903
- var vu = Object.defineProperty, yu = Object.getOwnPropertyDescriptor, _u = (t, e, r, n) => {
5908
+ var mu = Object.defineProperty, yu = Object.getOwnPropertyDescriptor, _u = (t, e, r, n) => {
5904
5909
  for (var i = n > 1 ? void 0 : n ? yu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5905
5910
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5906
- return n && i && vu(e, r, i), i;
5911
+ return n && i && mu(e, r, i), i;
5907
5912
  }, Dn = (t, e) => (r, n) => e(r, n, t);
5908
- let mr = class {
5913
+ let vr = class {
5909
5914
  constructor(t, e) {
5910
- this._service = t, this._controller = e, this._controller.step$.subscribe(() => {
5911
- this._service.update();
5912
- });
5913
- }
5914
- step$() {
5915
- return this._controller.step$;
5915
+ p(this, "_subscriptions", []);
5916
+ this._service = t, this._controller = e;
5916
5917
  }
5917
5918
  init(t) {
5918
- this._service.activate(t);
5919
+ this._service.enabled = !!t.enableDebug, this._service.enabled && (t.withMiniCamera && this._service.initMiniCamera(), t.enableControls && (this._service.initOrbitControl(), this._service.initMiniCameraOrbitControls()), t.withCameraHelper && this._service.initCameraHelper(), typeof (t == null ? void 0 : t.axesSizes) == "number" && this._service.initAxesHelper(t.axesSizes), typeof (t == null ? void 0 : t.gridSizes) == "number" && this._service.initGridHelper(t.gridSizes), this._subscriptions.push(
5920
+ this._controller.step$.subscribe(() => {
5921
+ this._service.update();
5922
+ })
5923
+ ));
5924
+ }
5925
+ enabled(t) {
5926
+ return t && (this._service.enabled = t), this._service.enabled;
5919
5927
  }
5920
- axesHelper() {
5928
+ miniCamera(t) {
5929
+ return t && (this._service.miniCamera = t), this._service.miniCamera;
5930
+ }
5931
+ getAxesHelper() {
5921
5932
  return this._service.axesHelper;
5922
5933
  }
5923
- cameraControls() {
5934
+ getCameraControls() {
5924
5935
  return this._service.cameraControls;
5925
5936
  }
5926
- cameraHelper() {
5937
+ getCameraHelper() {
5927
5938
  return this._service.cameraHelper;
5928
5939
  }
5929
- enabled(t) {
5930
- return t && (this._service.enabled = t), this._service.enabled;
5931
- }
5932
- gridHelper() {
5940
+ getGridHelper() {
5933
5941
  return this._service.gridHelper;
5934
5942
  }
5935
- miniCameraControls() {
5943
+ getMiniCameraControls() {
5936
5944
  return this._service.miniCameraControls;
5937
5945
  }
5946
+ getStep$() {
5947
+ return this._controller.step$;
5948
+ }
5938
5949
  dispose() {
5939
- this._service.deactivate();
5950
+ this._service.dispose(), this._subscriptions.forEach((t) => t.unsubscribe());
5940
5951
  }
5941
5952
  };
5942
- mr = _u([
5953
+ vr = _u([
5943
5954
  Z(),
5944
- Dn(0, I(Et)),
5955
+ Dn(0, I(dr)),
5945
5956
  Dn(1, I(pr))
5946
- ], mr);
5957
+ ], vr);
5947
5958
  var bu = Object.defineProperty, wu = Object.getOwnPropertyDescriptor, gu = (t, e, r, n) => {
5948
5959
  for (var i = n > 1 ? void 0 : n ? wu(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5949
5960
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
5950
5961
  return n && i && bu(e, r, i), i;
5951
5962
  };
5952
- let vr = class {
5963
+ let mr = class {
5953
5964
  constructor() {
5954
- p(this, "load$", ir(self, "message").pipe(
5965
+ p(this, "load$", nr(self, "message").pipe(
5955
5966
  be(
5956
5967
  (t) => {
5957
5968
  var e, r, n;
5958
5969
  return ((e = t.data) == null ? void 0 : e.token) === hs && !!((n = (r = t.data) == null ? void 0 : r.payload) != null && n.resource);
5959
5970
  }
5960
5971
  ),
5961
- Mt((t) => {
5972
+ Ot((t) => {
5962
5973
  var r, n, i;
5963
5974
  const { payload: e } = t.data || {};
5964
5975
  if (e != null && e.resource && e.source.type === "gltfModel") {
5965
5976
  const s = e.resource, o = (r = s.animations) == null ? void 0 : r.map(
5966
5977
  (l) => Ni.parse(l)
5967
5978
  ), a = (n = s.cameras) == null ? void 0 : n.map(
5968
- (l) => Yt(l)
5969
- ), u = Yt((s == null ? void 0 : s.scene) || ""), c = (i = s.scenes) == null ? void 0 : i.map(
5970
- (l) => Yt(l)
5979
+ (l) => Ut(l)
5980
+ ), u = Ut((s == null ? void 0 : s.scene) || ""), c = (i = s.scenes) == null ? void 0 : i.map(
5981
+ (l) => Ut(l)
5971
5982
  );
5972
5983
  return {
5973
5984
  ...e,
@@ -5983,9 +5994,9 @@ let vr = class {
5983
5994
  ));
5984
5995
  }
5985
5996
  };
5986
- vr = gu([
5997
+ mr = gu([
5987
5998
  gr(re.ResolutionScoped)
5988
- ], vr);
5999
+ ], mr);
5989
6000
  var Pu = Object.defineProperty, Su = Object.getOwnPropertyDescriptor, Cu = (t, e, r, n) => {
5990
6001
  for (var i = n > 1 ? void 0 : n ? Su(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5991
6002
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
@@ -6043,10 +6054,10 @@ let _r = class {
6043
6054
  };
6044
6055
  _r = Ou([
6045
6056
  Z(),
6046
- kn(0, I(vr)),
6057
+ kn(0, I(mr)),
6047
6058
  kn(1, I(yr))
6048
6059
  ], _r);
6049
- var Mu = Object.defineProperty, Ru = Object.getOwnPropertyDescriptor, ju = (t, e, r, n) => {
6060
+ var Mu = Object.defineProperty, Ru = Object.getOwnPropertyDescriptor, $u = (t, e, r, n) => {
6050
6061
  for (var i = n > 1 ? void 0 : n ? Ru(e, r) : e, s = t.length - 1, o; s >= 0; s--)
6051
6062
  (o = t[s]) && (i = (n ? o(e, r, i) : o(i)) || i);
6052
6063
  return n && i && Mu(e, r, i), i;
@@ -6056,7 +6067,7 @@ let An = class extends ls {
6056
6067
  super(), this._controller = t, this._service = e, this.timer = r, this.sizes = n, this.camera = i, this.world = s, this.renderer = o, this.loader = a, this.debug = u, this._initProxyEvents();
6057
6068
  }
6058
6069
  _initProxyEvents() {
6059
- qn.forEach((t) => {
6070
+ Hn.forEach((t) => {
6060
6071
  this[`${t}$`] = () => {
6061
6072
  var e;
6062
6073
  return (e = this._controller) == null ? void 0 : e[`${t}$`];
@@ -6067,7 +6078,7 @@ let An = class extends ls {
6067
6078
  });
6068
6079
  }
6069
6080
  init(t) {
6070
- this._service.initialized || !(t != null && t.canvas) || !(this._service.canvas = t.canvas) || (this._service.initialized = !0, this.sizes.init(this._service.canvas), this.camera.init(t.withMiniCamera), this.world.init(), this.renderer.init(this._service.canvas), this.timer.init(t.startTimer), this.loader.init(), this.debug.init(t));
6081
+ this._service.initialized || !(t != null && t.canvas) || !(this._service.canvas = t.canvas) || (this._service.initialized = !0, this.sizes.init(this._service.canvas), this.camera.init(), this.world.init(), this.renderer.init(this._service.canvas), this.timer.init(t.startTimer), this.loader.init(), this.debug.init(t));
6071
6082
  }
6072
6083
  isInitialized() {
6073
6084
  return this._service.initialized;
@@ -6082,47 +6093,47 @@ let An = class extends ls {
6082
6093
  this.sizes.dispose(), this.camera.dispose(), this.world.dispose(), this.renderer.dispose(), this.timer.dispose(), this.loader.dispose(), this.debug.dispose();
6083
6094
  }
6084
6095
  };
6085
- An = ju([
6096
+ An = $u([
6086
6097
  gr(re.ContainerScoped),
6087
6098
  ye(0, I(St)),
6088
- ye(1, I(tt)),
6089
- ye(2, I(ar)),
6090
- ye(3, I(fr)),
6091
- ye(4, I(cr)),
6092
- ye(5, I(dr)),
6093
- ye(6, I(hr)),
6099
+ ye(1, I(rt)),
6100
+ ye(2, I(or)),
6101
+ ye(3, I(hr)),
6102
+ ye(4, I(ur)),
6103
+ ye(5, I(fr)),
6104
+ ye(6, I(lr)),
6094
6105
  ye(7, I(_r)),
6095
- ye(8, I(mr))
6106
+ ye(8, I(vr))
6096
6107
  ], An);
6097
6108
  export {
6098
6109
  Fu as A,
6099
6110
  zu as C,
6100
6111
  Lu as D,
6101
- qu as J,
6112
+ Hu as J,
6102
6113
  Du as K,
6103
6114
  re as L,
6104
6115
  cs as P,
6105
6116
  Wu as Q,
6106
6117
  ku as R,
6107
- Ot as S,
6118
+ Tt as S,
6108
6119
  Sn as U,
6109
6120
  Nu as W,
6110
- qn as a,
6121
+ Hn as a,
6111
6122
  be as b,
6112
6123
  ti as c,
6113
6124
  Wn as d,
6114
6125
  gr as e,
6115
- ir as f,
6126
+ nr as f,
6116
6127
  hs as g,
6117
6128
  Au as h,
6118
6129
  I as i,
6119
- er as j,
6130
+ Jt as j,
6120
6131
  An as k,
6121
6132
  as as l,
6122
- Mt as m,
6133
+ Ot as m,
6123
6134
  us as n,
6124
6135
  ls as o,
6125
- qi as p,
6136
+ Hi as p,
6126
6137
  zo as r,
6127
6138
  Z as s
6128
6139
  };