chbim-plugins 0.0.24 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/chbim-plugins.js CHANGED
@@ -216,9 +216,9 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
216
216
  ;
217
217
  return d;
218
218
  }, G = function(b, A, d) {
219
- var g, S, x = b.cycle;
219
+ var g, M, x = b.cycle;
220
220
  for (g in x)
221
- S = x[g], b[g] = typeof S == "function" ? S(d, A[d]) : S[d % S.length];
221
+ M = x[g], b[g] = typeof M == "function" ? M(d, A[d]) : M[d % M.length];
222
222
  delete b.cycle;
223
223
  }, m = function(b, A, d) {
224
224
  p.call(this, b, A, d), this._cycle = 0, this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._repeat && this._uncache(!0), this.render = m.prototype.render;
@@ -226,25 +226,25 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
226
226
  m.version = "2.0.2", Y.constructor = m, Y.kill()._gc = !1, m.killTweensOf = m.killDelayedCallsTo = p.killTweensOf, m.getTweensOf = p.getTweensOf, m.lagSmoothing = p.lagSmoothing, m.ticker = p.ticker, m.render = p.render, Y.invalidate = function() {
227
227
  return this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._yoyoEase = null, this._uncache(!0), p.prototype.invalidate.call(this);
228
228
  }, Y.updateTo = function(b, A) {
229
- var d, g = this.ratio, S = this.vars.immediateRender || b.immediateRender;
229
+ var d, g = this.ratio, M = this.vars.immediateRender || b.immediateRender;
230
230
  A && this._startTime < this._timeline._time && (this._startTime = this._timeline._time, this._uncache(!1), this._gc ? this._enabled(!0, !1) : this._timeline.insert(this, this._startTime - this._delay));
231
231
  for (d in b)
232
232
  this.vars[d] = b[d];
233
- if (this._initted || S) {
233
+ if (this._initted || M) {
234
234
  if (A)
235
- this._initted = !1, S && this.render(0, !0, !0);
235
+ this._initted = !1, M && this.render(0, !0, !0);
236
236
  else if (this._gc && this._enabled(!0, !1), this._notifyPluginsOfEnabled && this._firstPT && p._onPluginEvent("_onDisable", this), this._time / this._duration > 0.998) {
237
237
  var x = this._totalTime;
238
238
  this.render(0, !0, !1), this._initted = !1, this.render(x, !0, !1);
239
- } else if (this._initted = !1, this._init(), this._time > 0 || S)
239
+ } else if (this._initted = !1, this._init(), this._time > 0 || M)
240
240
  for (var F, z = 1 / (1 - g), V = this._firstPT; V; )
241
241
  F = V.s + V.c, V.c *= z, V.s = F - V.c, V = V._next;
242
242
  }
243
243
  return this;
244
244
  }, Y.render = function(b, A, d) {
245
245
  this._initted || this._duration === 0 && this.vars.repeat && this.invalidate();
246
- var g, S, x, F, z, V, ht, ft, gt, Nt = this._dirty ? this.totalDuration() : this._totalDuration, lt = this._time, Et = this._totalTime, D = this._cycle, zt = this._duration, Pt = this._rawPrevTime;
247
- if (b >= Nt - 1e-7 && b >= 0 ? (this._totalTime = Nt, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = zt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (g = !0, S = "onComplete", d = d || this._timeline.autoRemoveChildren), zt === 0 && (this._initted || !this.vars.lazy || d) && (this._startTime === this._timeline._duration && (b = 0), (0 > Pt || 0 >= b && b >= -1e-7 || Pt === P && this.data !== "isPause") && Pt !== b && (d = !0, Pt > P && (S = "onReverseComplete")), this._rawPrevTime = ft = !A || b || Pt === b ? b : P)) : 1e-7 > b ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (Et !== 0 || zt === 0 && Pt > 0) && (S = "onReverseComplete", g = this._reversed), 0 > b && (this._active = !1, zt === 0 && (this._initted || !this.vars.lazy || d) && (Pt >= 0 && (d = !0), this._rawPrevTime = ft = !A || b || Pt === b ? b : P)), this._initted || (d = !0)) : (this._totalTime = this._time = b, this._repeat !== 0 && (F = zt + this._repeatDelay, this._cycle = this._totalTime / F >> 0, this._cycle !== 0 && this._cycle === this._totalTime / F && b >= Et && this._cycle--, this._time = this._totalTime - this._cycle * F, this._yoyo && 1 & this._cycle && (this._time = zt - this._time, gt = this._yoyoEase || this.vars.yoyoEase, gt && (this._yoyoEase || (gt !== !0 || this._initted ? this._yoyoEase = gt = gt === !0 ? this._ease : gt instanceof Ease ? gt : Ease.map[gt] : (gt = this.vars.ease, this._yoyoEase = gt = gt ? gt instanceof Ease ? gt : typeof gt == "function" ? new Ease(gt, this.vars.easeParams) : Ease.map[gt] || p.defaultEase : p.defaultEase)), this.ratio = gt ? 1 - gt.getRatio((zt - this._time) / zt) : 0)), this._time > zt ? this._time = zt : this._time < 0 && (this._time = 0)), this._easeType && !gt ? (z = this._time / zt, V = this._easeType, ht = this._easePower, (V === 1 || V === 3 && z >= 0.5) && (z = 1 - z), V === 3 && (z *= 2), ht === 1 ? z *= z : ht === 2 ? z *= z * z : ht === 3 ? z *= z * z * z : ht === 4 && (z *= z * z * z * z), V === 1 ? this.ratio = 1 - z : V === 2 ? this.ratio = z : this._time / zt < 0.5 ? this.ratio = z / 2 : this.ratio = 1 - z / 2) : gt || (this.ratio = this._ease.getRatio(this._time / zt))), lt === this._time && !d && D === this._cycle)
246
+ var g, M, x, F, z, V, ht, ft, gt, Nt = this._dirty ? this.totalDuration() : this._totalDuration, lt = this._time, Et = this._totalTime, D = this._cycle, zt = this._duration, Pt = this._rawPrevTime;
247
+ if (b >= Nt - 1e-7 && b >= 0 ? (this._totalTime = Nt, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = zt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (g = !0, M = "onComplete", d = d || this._timeline.autoRemoveChildren), zt === 0 && (this._initted || !this.vars.lazy || d) && (this._startTime === this._timeline._duration && (b = 0), (0 > Pt || 0 >= b && b >= -1e-7 || Pt === P && this.data !== "isPause") && Pt !== b && (d = !0, Pt > P && (M = "onReverseComplete")), this._rawPrevTime = ft = !A || b || Pt === b ? b : P)) : 1e-7 > b ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (Et !== 0 || zt === 0 && Pt > 0) && (M = "onReverseComplete", g = this._reversed), 0 > b && (this._active = !1, zt === 0 && (this._initted || !this.vars.lazy || d) && (Pt >= 0 && (d = !0), this._rawPrevTime = ft = !A || b || Pt === b ? b : P)), this._initted || (d = !0)) : (this._totalTime = this._time = b, this._repeat !== 0 && (F = zt + this._repeatDelay, this._cycle = this._totalTime / F >> 0, this._cycle !== 0 && this._cycle === this._totalTime / F && b >= Et && this._cycle--, this._time = this._totalTime - this._cycle * F, this._yoyo && 1 & this._cycle && (this._time = zt - this._time, gt = this._yoyoEase || this.vars.yoyoEase, gt && (this._yoyoEase || (gt !== !0 || this._initted ? this._yoyoEase = gt = gt === !0 ? this._ease : gt instanceof Ease ? gt : Ease.map[gt] : (gt = this.vars.ease, this._yoyoEase = gt = gt ? gt instanceof Ease ? gt : typeof gt == "function" ? new Ease(gt, this.vars.easeParams) : Ease.map[gt] || p.defaultEase : p.defaultEase)), this.ratio = gt ? 1 - gt.getRatio((zt - this._time) / zt) : 0)), this._time > zt ? this._time = zt : this._time < 0 && (this._time = 0)), this._easeType && !gt ? (z = this._time / zt, V = this._easeType, ht = this._easePower, (V === 1 || V === 3 && z >= 0.5) && (z = 1 - z), V === 3 && (z *= 2), ht === 1 ? z *= z : ht === 2 ? z *= z * z : ht === 3 ? z *= z * z * z : ht === 4 && (z *= z * z * z * z), V === 1 ? this.ratio = 1 - z : V === 2 ? this.ratio = z : this._time / zt < 0.5 ? this.ratio = z / 2 : this.ratio = 1 - z / 2) : gt || (this.ratio = this._ease.getRatio(this._time / zt))), lt === this._time && !d && D === this._cycle)
248
248
  return void (Et !== this._totalTime && this._onUpdate && (A || this._callback("onUpdate")));
249
249
  if (!this._initted) {
250
250
  if (this._init(), !this._initted || this._gc)
@@ -253,19 +253,19 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
253
253
  return this._time = lt, this._totalTime = Et, this._rawPrevTime = Pt, this._cycle = D, O.lazyTweens.push(this), void (this._lazy = [b, A]);
254
254
  !this._time || g || gt ? g && this._ease._calcEnd && !gt && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1)) : this.ratio = this._ease.getRatio(this._time / zt);
255
255
  }
256
- for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== lt && b >= 0 && (this._active = !0), Et === 0 && (this._initted === 2 && b > 0 && this._init(), this._startAt && (b >= 0 ? this._startAt.render(b, !0, d) : S || (S = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || zt === 0) && (A || this._callback("onStart"))), x = this._firstPT; x; )
256
+ for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== lt && b >= 0 && (this._active = !0), Et === 0 && (this._initted === 2 && b > 0 && this._init(), this._startAt && (b >= 0 ? this._startAt.render(b, !0, d) : M || (M = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || zt === 0) && (A || this._callback("onStart"))), x = this._firstPT; x; )
257
257
  x.f ? x.t[x.p](x.c * this.ratio + x.s) : x.t[x.p] = x.c * this.ratio + x.s, x = x._next;
258
- this._onUpdate && (0 > b && this._startAt && this._startTime && this._startAt.render(b, !0, d), A || (this._totalTime !== Et || S) && this._callback("onUpdate")), this._cycle !== D && (A || this._gc || this.vars.onRepeat && this._callback("onRepeat")), S && (!this._gc || d) && (0 > b && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(b, !0, d), g && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !A && this.vars[S] && this._callback(S), zt === 0 && this._rawPrevTime === P && ft !== P && (this._rawPrevTime = 0));
258
+ this._onUpdate && (0 > b && this._startAt && this._startTime && this._startAt.render(b, !0, d), A || (this._totalTime !== Et || M) && this._callback("onUpdate")), this._cycle !== D && (A || this._gc || this.vars.onRepeat && this._callback("onRepeat")), M && (!this._gc || d) && (0 > b && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(b, !0, d), g && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !A && this.vars[M] && this._callback(M), zt === 0 && this._rawPrevTime === P && ft !== P && (this._rawPrevTime = 0));
259
259
  }, m.to = function(b, A, d) {
260
260
  return new m(b, A, d);
261
261
  }, m.from = function(b, A, d) {
262
262
  return d.runBackwards = !0, d.immediateRender = d.immediateRender != 0, new m(b, A, d);
263
263
  }, m.fromTo = function(b, A, d, g) {
264
264
  return g.startAt = d, g.immediateRender = g.immediateRender != 0 && d.immediateRender != 0, new m(b, A, g);
265
- }, m.staggerTo = m.allTo = function(b, A, d, g, S, x, F) {
265
+ }, m.staggerTo = m.allTo = function(b, A, d, g, M, x, F) {
266
266
  g = g || 0;
267
267
  var z, V, ht, ft, gt = 0, Nt = [], lt = function() {
268
- d.onComplete && d.onComplete.apply(d.onCompleteScope || this, arguments), S.apply(F || d.callbackScope || this, x || H);
268
+ d.onComplete && d.onComplete.apply(d.onCompleteScope || this, arguments), M.apply(F || d.callbackScope || this, x || H);
269
269
  }, Et = d.cycle, D = d.startAt && d.startAt.cycle;
270
270
  for (U(b) || (typeof b == "string" && (b = p.selector(b) || b), E(b) && (b = J(b))), b = b || [], 0 > g && (b = J(b), b.reverse(), g *= -1), z = b.length - 1, ht = 0; z >= ht; ht++) {
271
271
  V = {};
@@ -277,14 +277,14 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
277
277
  D[ft] = d.startAt[ft];
278
278
  G(V.startAt, b, ht);
279
279
  }
280
- V.delay = gt + (V.delay || 0), ht === z && S && (V.onComplete = lt), Nt[ht] = new m(b[ht], A, V), gt += g;
280
+ V.delay = gt + (V.delay || 0), ht === z && M && (V.onComplete = lt), Nt[ht] = new m(b[ht], A, V), gt += g;
281
281
  }
282
282
  return Nt;
283
- }, m.staggerFrom = m.allFrom = function(b, A, d, g, S, x, F) {
284
- return d.runBackwards = !0, d.immediateRender = d.immediateRender != 0, m.staggerTo(b, A, d, g, S, x, F);
285
- }, m.staggerFromTo = m.allFromTo = function(b, A, d, g, S, x, F, z) {
286
- return g.startAt = d, g.immediateRender = g.immediateRender != 0 && d.immediateRender != 0, m.staggerTo(b, A, g, S, x, F, z);
287
- }, m.delayedCall = function(b, A, d, g, S) {
283
+ }, m.staggerFrom = m.allFrom = function(b, A, d, g, M, x, F) {
284
+ return d.runBackwards = !0, d.immediateRender = d.immediateRender != 0, m.staggerTo(b, A, d, g, M, x, F);
285
+ }, m.staggerFromTo = m.allFromTo = function(b, A, d, g, M, x, F, z) {
286
+ return g.startAt = d, g.immediateRender = g.immediateRender != 0 && d.immediateRender != 0, m.staggerTo(b, A, g, M, x, F, z);
287
+ }, m.delayedCall = function(b, A, d, g, M) {
288
288
  return new m(A, 0, {
289
289
  delay: b,
290
290
  onComplete: A,
@@ -293,7 +293,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
293
293
  onReverseComplete: A,
294
294
  onReverseCompleteParams: d,
295
295
  immediateRender: !1,
296
- useFrames: S,
296
+ useFrames: M,
297
297
  overwrite: 0
298
298
  });
299
299
  }, m.set = function(b, A) {
@@ -302,28 +302,28 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
302
302
  return p.getTweensOf(b, !0).length > 0;
303
303
  };
304
304
  var K = function(b, A) {
305
- for (var d = [], g = 0, S = b._first; S; )
306
- S instanceof p ? d[g++] = S : (A && (d[g++] = S), d = d.concat(K(S, A)), g = d.length), S = S._next;
305
+ for (var d = [], g = 0, M = b._first; M; )
306
+ M instanceof p ? d[g++] = M : (A && (d[g++] = M), d = d.concat(K(M, A)), g = d.length), M = M._next;
307
307
  return d;
308
308
  }, B = m.getAllTweens = function(b) {
309
309
  return K(T._rootTimeline, b).concat(K(T._rootFramesTimeline, b));
310
310
  };
311
311
  m.killAll = function(b, A, d, g) {
312
312
  A == null && (A = !0), d == null && (d = !0);
313
- var S, x, F, z = B(g != 0), V = z.length, ht = A && d && g;
313
+ var M, x, F, z = B(g != 0), V = z.length, ht = A && d && g;
314
314
  for (F = 0; V > F; F++)
315
- x = z[F], (ht || x instanceof $ || (S = x.target === x.vars.onComplete) && d || A && !S) && (b ? x.totalTime(x._reversed ? 0 : x.totalDuration()) : x._enabled(!1, !1));
315
+ x = z[F], (ht || x instanceof $ || (M = x.target === x.vars.onComplete) && d || A && !M) && (b ? x.totalTime(x._reversed ? 0 : x.totalDuration()) : x._enabled(!1, !1));
316
316
  }, m.killChildTweensOf = function(b, A) {
317
317
  if (b != null) {
318
- var d, g, S, x, F, z = O.tweenLookup;
318
+ var d, g, M, x, F, z = O.tweenLookup;
319
319
  if (typeof b == "string" && (b = p.selector(b) || b), E(b) && (b = J(b)), U(b))
320
320
  for (x = b.length; --x > -1; )
321
321
  m.killChildTweensOf(b[x], A);
322
322
  else {
323
323
  d = [];
324
- for (S in z)
325
- for (g = z[S].target.parentNode; g; )
326
- g === b && (d = d.concat(z[S].tweens)), g = g.parentNode;
324
+ for (M in z)
325
+ for (g = z[M].target.parentNode; g; )
326
+ g === b && (d = d.concat(z[M].tweens)), g = g.parentNode;
327
327
  for (F = d.length, x = 0; F > x; x++)
328
328
  A && d[x].totalTime(d[x].totalDuration()), d[x]._enabled(!1, !1);
329
329
  }
@@ -331,8 +331,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
331
331
  };
332
332
  var q = function(b, A, d, g) {
333
333
  A = A !== !1, d = d !== !1, g = g !== !1;
334
- for (var S, x, F = B(g), z = A && d && g, V = F.length; --V > -1; )
335
- x = F[V], (z || x instanceof $ || (S = x.target === x.vars.onComplete) && d || A && !S) && x.paused(b);
334
+ for (var M, x, F = B(g), z = A && d && g, V = F.length; --V > -1; )
335
+ x = F[V], (z || x instanceof $ || (M = x.target === x.vars.onComplete) && d || A && !M) && x.paused(b);
336
336
  };
337
337
  return m.pauseAll = function(b, A, d) {
338
338
  q(!0, b, A, d);
@@ -371,65 +371,65 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
371
371
  function(T, $, p) {
372
372
  var J = function(d) {
373
373
  $.call(this, d), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
374
- var g, S, x = this.vars;
375
- for (S in x)
376
- g = x[S], E(g) && g.join("").indexOf("{self}") !== -1 && (x[S] = this._swapSelfInParams(g));
374
+ var g, M, x = this.vars;
375
+ for (M in x)
376
+ g = x[M], E(g) && g.join("").indexOf("{self}") !== -1 && (x[M] = this._swapSelfInParams(g));
377
377
  E(x.tweens) && this.add(x.tweens, 0, x.align, x.stagger);
378
378
  }, G = 1e-10, m = p._internals, P = J._internals = {}, O = m.isSelector, E = m.isArray, U = m.lazyTweens, Y = m.lazyRender, H = sn._gsDefine.globals, K = function(d) {
379
- var g, S = {};
379
+ var g, M = {};
380
380
  for (g in d)
381
- S[g] = d[g];
382
- return S;
383
- }, B = function(d, g, S) {
381
+ M[g] = d[g];
382
+ return M;
383
+ }, B = function(d, g, M) {
384
384
  var x, F, z = d.cycle;
385
385
  for (x in z)
386
- F = z[x], d[x] = typeof F == "function" ? F(S, g[S]) : F[S % F.length];
386
+ F = z[x], d[x] = typeof F == "function" ? F(M, g[M]) : F[M % F.length];
387
387
  delete d.cycle;
388
388
  }, q = P.pauseCallback = function() {
389
389
  }, b = function(d) {
390
- var g, S = [], x = d.length;
391
- for (g = 0; g !== x; S.push(d[g++]))
390
+ var g, M = [], x = d.length;
391
+ for (g = 0; g !== x; M.push(d[g++]))
392
392
  ;
393
- return S;
393
+ return M;
394
394
  }, A = J.prototype = new $();
395
- return J.version = "2.0.2", A.constructor = J, A.kill()._gc = A._forcingPlayhead = A._hasPause = !1, A.to = function(d, g, S, x) {
396
- var F = S.repeat && H.TweenMax || p;
397
- return g ? this.add(new F(d, g, S), x) : this.set(d, S, x);
398
- }, A.from = function(d, g, S, x) {
399
- return this.add((S.repeat && H.TweenMax || p).from(d, g, S), x);
400
- }, A.fromTo = function(d, g, S, x, F) {
395
+ return J.version = "2.0.2", A.constructor = J, A.kill()._gc = A._forcingPlayhead = A._hasPause = !1, A.to = function(d, g, M, x) {
396
+ var F = M.repeat && H.TweenMax || p;
397
+ return g ? this.add(new F(d, g, M), x) : this.set(d, M, x);
398
+ }, A.from = function(d, g, M, x) {
399
+ return this.add((M.repeat && H.TweenMax || p).from(d, g, M), x);
400
+ }, A.fromTo = function(d, g, M, x, F) {
401
401
  var z = x.repeat && H.TweenMax || p;
402
- return g ? this.add(z.fromTo(d, g, S, x), F) : this.set(d, x, F);
403
- }, A.staggerTo = function(d, g, S, x, F, z, V, ht) {
402
+ return g ? this.add(z.fromTo(d, g, M, x), F) : this.set(d, x, F);
403
+ }, A.staggerTo = function(d, g, M, x, F, z, V, ht) {
404
404
  var ft, gt, Nt = new J({
405
405
  onComplete: z,
406
406
  onCompleteParams: V,
407
407
  callbackScope: ht,
408
408
  smoothChildTiming: this.smoothChildTiming
409
- }), lt = S.cycle;
409
+ }), lt = M.cycle;
410
410
  for (typeof d == "string" && (d = p.selector(d) || d), d = d || [], O(d) && (d = b(d)), x = x || 0, 0 > x && (d = b(d), d.reverse(), x *= -1), gt = 0; gt < d.length; gt++)
411
- ft = K(S), ft.startAt && (ft.startAt = K(ft.startAt), ft.startAt.cycle && B(ft.startAt, d, gt)), lt && (B(ft, d, gt), ft.duration != null && (g = ft.duration, delete ft.duration)), Nt.to(d[gt], g, ft, gt * x);
411
+ ft = K(M), ft.startAt && (ft.startAt = K(ft.startAt), ft.startAt.cycle && B(ft.startAt, d, gt)), lt && (B(ft, d, gt), ft.duration != null && (g = ft.duration, delete ft.duration)), Nt.to(d[gt], g, ft, gt * x);
412
412
  return this.add(Nt, F);
413
- }, A.staggerFrom = function(d, g, S, x, F, z, V, ht) {
414
- return S.immediateRender = S.immediateRender != 0, S.runBackwards = !0, this.staggerTo(d, g, S, x, F, z, V, ht);
415
- }, A.staggerFromTo = function(d, g, S, x, F, z, V, ht, ft) {
416
- return x.startAt = S, x.immediateRender = x.immediateRender != 0 && S.immediateRender != 0, this.staggerTo(d, g, x, F, z, V, ht, ft);
417
- }, A.call = function(d, g, S, x) {
418
- return this.add(p.delayedCall(0, d, g, S), x);
419
- }, A.set = function(d, g, S) {
420
- return S = this._parseTimeOrLabel(S, 0, !0), g.immediateRender == null && (g.immediateRender = S === this._time && !this._paused), this.add(new p(d, 0, g), S);
413
+ }, A.staggerFrom = function(d, g, M, x, F, z, V, ht) {
414
+ return M.immediateRender = M.immediateRender != 0, M.runBackwards = !0, this.staggerTo(d, g, M, x, F, z, V, ht);
415
+ }, A.staggerFromTo = function(d, g, M, x, F, z, V, ht, ft) {
416
+ return x.startAt = M, x.immediateRender = x.immediateRender != 0 && M.immediateRender != 0, this.staggerTo(d, g, x, F, z, V, ht, ft);
417
+ }, A.call = function(d, g, M, x) {
418
+ return this.add(p.delayedCall(0, d, g, M), x);
419
+ }, A.set = function(d, g, M) {
420
+ return M = this._parseTimeOrLabel(M, 0, !0), g.immediateRender == null && (g.immediateRender = M === this._time && !this._paused), this.add(new p(d, 0, g), M);
421
421
  }, J.exportRoot = function(d, g) {
422
422
  d = d || {}, d.smoothChildTiming == null && (d.smoothChildTiming = !0);
423
- var S, x, F, z, V = new J(d), ht = V._timeline;
423
+ var M, x, F, z, V = new J(d), ht = V._timeline;
424
424
  for (g == null && (g = !0), ht._remove(V, !0), V._startTime = 0, V._rawPrevTime = V._time = V._totalTime = ht._time, F = ht._first; F; )
425
- z = F._next, g && F instanceof p && F.target === F.vars.onComplete || (x = F._startTime - F._delay, 0 > x && (S = 1), V.add(F, x)), F = z;
426
- return ht.add(V, 0), S && V.totalDuration(), V;
427
- }, A.add = function(d, g, S, x) {
425
+ z = F._next, g && F instanceof p && F.target === F.vars.onComplete || (x = F._startTime - F._delay, 0 > x && (M = 1), V.add(F, x)), F = z;
426
+ return ht.add(V, 0), M && V.totalDuration(), V;
427
+ }, A.add = function(d, g, M, x) {
428
428
  var F, z, V, ht, ft, gt;
429
429
  if (typeof g != "number" && (g = this._parseTimeOrLabel(g, 0, !0, d)), !(d instanceof T)) {
430
430
  if (d instanceof Array || d && d.push && E(d)) {
431
- for (S = S || "normal", x = x || 0, F = g, z = d.length, V = 0; z > V; V++)
432
- E(ht = d[V]) && (ht = new J({ tweens: ht })), this.add(ht, F), typeof ht != "string" && typeof ht != "function" && (S === "sequence" ? F = ht._startTime + ht.totalDuration() / ht._timeScale : S === "start" && (ht._startTime -= ht.delay())), F += x;
431
+ for (M = M || "normal", x = x || 0, F = g, z = d.length, V = 0; z > V; V++)
432
+ E(ht = d[V]) && (ht = new J({ tweens: ht })), this.add(ht, F), typeof ht != "string" && typeof ht != "function" && (M === "sequence" ? F = ht._startTime + ht.totalDuration() / ht._timeScale : M === "start" && (ht._startTime -= ht.delay())), F += x;
433
433
  return this._uncache(!0);
434
434
  }
435
435
  if (typeof d == "string")
@@ -455,31 +455,31 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
455
455
  return d._startTime = (d._paused ? d._pauseTime : g._time) - (d._reversed ? d.totalDuration() - d._totalTime : d._totalTime) / d._timeScale, this;
456
456
  }
457
457
  if (d instanceof Array || d && d.push && E(d)) {
458
- for (var S = d.length; --S > -1; )
459
- this.remove(d[S]);
458
+ for (var M = d.length; --M > -1; )
459
+ this.remove(d[M]);
460
460
  return this;
461
461
  }
462
462
  return typeof d == "string" ? this.removeLabel(d) : this.kill(null, d);
463
463
  }, A._remove = function(d, g) {
464
464
  $.prototype._remove.call(this, d, g);
465
- var S = this._last;
466
- return S ? this._time > this.duration() && (this._time = this._duration, this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this;
465
+ var M = this._last;
466
+ return M ? this._time > this.duration() && (this._time = this._duration, this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this;
467
467
  }, A.append = function(d, g) {
468
468
  return this.add(d, this._parseTimeOrLabel(null, g, !0, d));
469
- }, A.insert = A.insertMultiple = function(d, g, S, x) {
470
- return this.add(d, g || 0, S, x);
471
- }, A.appendMultiple = function(d, g, S, x) {
472
- return this.add(d, this._parseTimeOrLabel(null, g, !0, d), S, x);
469
+ }, A.insert = A.insertMultiple = function(d, g, M, x) {
470
+ return this.add(d, g || 0, M, x);
471
+ }, A.appendMultiple = function(d, g, M, x) {
472
+ return this.add(d, this._parseTimeOrLabel(null, g, !0, d), M, x);
473
473
  }, A.addLabel = function(d, g) {
474
474
  return this._labels[d] = this._parseTimeOrLabel(g), this;
475
- }, A.addPause = function(d, g, S, x) {
476
- var F = p.delayedCall(0, q, S, x || this);
475
+ }, A.addPause = function(d, g, M, x) {
476
+ var F = p.delayedCall(0, q, M, x || this);
477
477
  return F.vars.onComplete = F.vars.onReverseComplete = g, F.data = "isPause", this._hasPause = !0, this.add(F, d);
478
478
  }, A.removeLabel = function(d) {
479
479
  return delete this._labels[d], this;
480
480
  }, A.getLabelTime = function(d) {
481
481
  return this._labels[d] != null ? this._labels[d] : -1;
482
- }, A._parseTimeOrLabel = function(d, g, S, x) {
482
+ }, A._parseTimeOrLabel = function(d, g, M, x) {
483
483
  var F, z;
484
484
  if (x instanceof T && x.timeline === this)
485
485
  this.remove(x);
@@ -489,15 +489,15 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
489
489
  if (F = typeof d != "number" || g ? this.duration() > 99999999999 ? this.recent().endTime(!1) : this._duration : 0, typeof g == "string")
490
490
  return this._parseTimeOrLabel(
491
491
  g,
492
- S && typeof d == "number" && this._labels[g] == null ? d - F : 0,
493
- S
492
+ M && typeof d == "number" && this._labels[g] == null ? d - F : 0,
493
+ M
494
494
  );
495
495
  if (g = g || 0, typeof d != "string" || !isNaN(d) && this._labels[d] == null)
496
496
  d == null && (d = F);
497
497
  else {
498
498
  if (z = d.indexOf("="), z === -1)
499
- return this._labels[d] == null ? S ? this._labels[d] = F + g : g : this._labels[d] + g;
500
- g = parseInt(d.charAt(z - 1) + "1", 10) * Number(d.substr(z + 1)), d = z > 1 ? this._parseTimeOrLabel(d.substr(0, z - 1), 0, S) : F;
499
+ return this._labels[d] == null ? M ? this._labels[d] = F + g : g : this._labels[d] + g;
500
+ g = parseInt(d.charAt(z - 1) + "1", 10) * Number(d.substr(z + 1)), d = z > 1 ? this._parseTimeOrLabel(d.substr(0, z - 1), 0, M) : F;
501
501
  }
502
502
  return Number(d) + g;
503
503
  }, A.seek = function(d, g) {
@@ -511,7 +511,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
511
511
  return this.play(d, g);
512
512
  }, A.gotoAndStop = function(d, g) {
513
513
  return this.pause(d, g);
514
- }, A.render = function(d, g, S) {
514
+ }, A.render = function(d, g, M) {
515
515
  this._gc && this._enabled(!0, !1);
516
516
  var x, F, z, V, ht, ft, gt, Nt = this._time, lt = this._dirty ? this.totalDuration() : this._totalDuration, Et = this._startTime, D = this._timeScale, zt = this._paused;
517
517
  if (Nt !== this._time && (d += this._time - Nt), d >= lt - 1e-7 && d >= 0)
@@ -537,14 +537,14 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
537
537
  }
538
538
  this._totalTime = this._time = this._rawPrevTime = d;
539
539
  }
540
- if (this._time !== Nt && this._first || S || ht || ft) {
540
+ if (this._time !== Nt && this._first || M || ht || ft) {
541
541
  if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== Nt && d > 0 && (this._active = !0), Nt === 0 && this.vars.onStart && (this._time === 0 && this._duration || g || this._callback("onStart")), gt = this._time, gt >= Nt)
542
542
  for (x = this._first; x && (z = x._next, gt === this._time && (!this._paused || zt)); )
543
543
  (x._active || x._startTime <= gt && !x._paused && !x._gc) && (ft === x && this.pause(), x._reversed ? x.render(
544
544
  (x._dirty ? x.totalDuration() : x._totalDuration) - (d - x._startTime) * x._timeScale,
545
545
  g,
546
- S
547
- ) : x.render((d - x._startTime) * x._timeScale, g, S)), x = z;
546
+ M
547
+ ) : x.render((d - x._startTime) * x._timeScale, g, M)), x = z;
548
548
  else
549
549
  for (x = this._last; x && (z = x._prev, gt === this._time && (!this._paused || zt)); ) {
550
550
  if (x._active || x._startTime <= Nt && !x._paused && !x._gc) {
@@ -553,15 +553,15 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
553
553
  ft.render(
554
554
  ft._reversed ? ft.totalDuration() - (d - ft._startTime) * ft._timeScale : (d - ft._startTime) * ft._timeScale,
555
555
  g,
556
- S
556
+ M
557
557
  ), ft = ft._prev;
558
558
  ft = null, this.pause();
559
559
  }
560
560
  x._reversed ? x.render(
561
561
  (x._dirty ? x.totalDuration() : x._totalDuration) - (d - x._startTime) * x._timeScale,
562
562
  g,
563
- S
564
- ) : x.render((d - x._startTime) * x._timeScale, g, S);
563
+ M
564
+ ) : x.render((d - x._startTime) * x._timeScale, g, M);
565
565
  }
566
566
  x = z;
567
567
  }
@@ -574,15 +574,15 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
574
574
  d = d._next;
575
575
  }
576
576
  return !1;
577
- }, A.getChildren = function(d, g, S, x) {
577
+ }, A.getChildren = function(d, g, M, x) {
578
578
  x = x || -9999999999;
579
579
  for (var F = [], z = this._first, V = 0; z; )
580
- z._startTime < x || (z instanceof p ? g !== !1 && (F[V++] = z) : (S !== !1 && (F[V++] = z), d !== !1 && (F = F.concat(z.getChildren(!0, g, S)), V = F.length))), z = z._next;
580
+ z._startTime < x || (z instanceof p ? g !== !1 && (F[V++] = z) : (M !== !1 && (F[V++] = z), d !== !1 && (F = F.concat(z.getChildren(!0, g, M)), V = F.length))), z = z._next;
581
581
  return F;
582
582
  }, A.getTweensOf = function(d, g) {
583
- var S, x, F = this._gc, z = [], V = 0;
584
- for (F && this._enabled(!0, !0), S = p.getTweensOf(d), x = S.length; --x > -1; )
585
- (S[x].timeline === this || g && this._contains(S[x])) && (z[V++] = S[x]);
583
+ var M, x, F = this._gc, z = [], V = 0;
584
+ for (F && this._enabled(!0, !0), M = p.getTweensOf(d), x = M.length; --x > -1; )
585
+ (M[x].timeline === this || g && this._contains(M[x])) && (z[V++] = M[x]);
586
586
  return F && this._enabled(!1, !0), z;
587
587
  }, A.recent = function() {
588
588
  return this._recent;
@@ -593,24 +593,24 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
593
593
  g = g.timeline;
594
594
  }
595
595
  return !1;
596
- }, A.shiftChildren = function(d, g, S) {
597
- S = S || 0;
596
+ }, A.shiftChildren = function(d, g, M) {
597
+ M = M || 0;
598
598
  for (var x, F = this._first, z = this._labels; F; )
599
- F._startTime >= S && (F._startTime += d), F = F._next;
599
+ F._startTime >= M && (F._startTime += d), F = F._next;
600
600
  if (g)
601
601
  for (x in z)
602
- z[x] >= S && (z[x] += d);
602
+ z[x] >= M && (z[x] += d);
603
603
  return this._uncache(!0);
604
604
  }, A._kill = function(d, g) {
605
605
  if (!d && !g)
606
606
  return this._enabled(!1, !1);
607
- for (var S = g ? this.getTweensOf(g) : this.getChildren(!0, !0, !1), x = S.length, F = !1; --x > -1; )
608
- S[x]._kill(d, g) && (F = !0);
607
+ for (var M = g ? this.getTweensOf(g) : this.getChildren(!0, !0, !1), x = M.length, F = !1; --x > -1; )
608
+ M[x]._kill(d, g) && (F = !0);
609
609
  return F;
610
610
  }, A.clear = function(d) {
611
- var g = this.getChildren(!1, !0, !0), S = g.length;
612
- for (this._time = this._totalTime = 0; --S > -1; )
613
- g[S]._enabled(!1, !1);
611
+ var g = this.getChildren(!1, !0, !0), M = g.length;
612
+ for (this._time = this._totalTime = 0; --M > -1; )
613
+ g[M]._enabled(!1, !1);
614
614
  return d !== !1 && (this._labels = {}), this._uncache(!0);
615
615
  }, A.invalidate = function() {
616
616
  for (var d = this._first; d; )
@@ -618,10 +618,10 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
618
618
  return T.prototype.invalidate.call(this);
619
619
  }, A._enabled = function(d, g) {
620
620
  if (d === this._gc)
621
- for (var S = this._first; S; )
622
- S._enabled(d, !0), S = S._next;
621
+ for (var M = this._first; M; )
622
+ M._enabled(d, !0), M = M._next;
623
623
  return $.prototype._enabled.call(this, d, g);
624
- }, A.totalTime = function(d, g, S) {
624
+ }, A.totalTime = function(d, g, M) {
625
625
  this._forcingPlayhead = !0;
626
626
  var x = T.prototype.totalTime.apply(this, arguments);
627
627
  return this._forcingPlayhead = !1, x;
@@ -630,8 +630,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
630
630
  }, A.totalDuration = function(d) {
631
631
  if (!arguments.length) {
632
632
  if (this._dirty) {
633
- for (var g, S, x = 0, F = this._last, z = 999999999999; F; )
634
- g = F._prev, F._dirty && F.totalDuration(), F._startTime > z && this._sortChildren && !F._paused && !this._calculatingDuration ? (this._calculatingDuration = 1, this.add(F, F._startTime - F._delay), this._calculatingDuration = 0) : z = F._startTime, F._startTime < 0 && !F._paused && (x -= F._startTime, this._timeline.smoothChildTiming && (this._startTime += F._startTime / this._timeScale, this._time -= F._startTime, this._totalTime -= F._startTime, this._rawPrevTime -= F._startTime), this.shiftChildren(-F._startTime, !1, -9999999999), z = 0), S = F._startTime + F._totalDuration / F._timeScale, S > x && (x = S), F = g;
633
+ for (var g, M, x = 0, F = this._last, z = 999999999999; F; )
634
+ g = F._prev, F._dirty && F.totalDuration(), F._startTime > z && this._sortChildren && !F._paused && !this._calculatingDuration ? (this._calculatingDuration = 1, this.add(F, F._startTime - F._delay), this._calculatingDuration = 0) : z = F._startTime, F._startTime < 0 && !F._paused && (x -= F._startTime, this._timeline.smoothChildTiming && (this._startTime += F._startTime / this._timeScale, this._time -= F._startTime, this._totalTime -= F._startTime, this._rawPrevTime -= F._startTime), this.shiftChildren(-F._startTime, !1, -9999999999), z = 0), M = F._startTime + F._totalDuration / F._timeScale, M > x && (x = M), F = g;
635
635
  this._duration = this._totalDuration = x, this._dirty = !1;
636
636
  }
637
637
  return this._totalDuration;
@@ -639,8 +639,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
639
639
  return d && this.totalDuration() ? this.timeScale(this._totalDuration / d) : this;
640
640
  }, A.paused = function(d) {
641
641
  if (!d)
642
- for (var g = this._first, S = this._time; g; )
643
- g._startTime === S && g.data === "isPause" && (g._rawPrevTime = 0), g = g._next;
642
+ for (var g = this._first, M = this._time; g; )
643
+ g._startTime === M && g.data === "isPause" && (g._rawPrevTime = 0), g = g._next;
644
644
  return T.prototype.paused.apply(this, arguments);
645
645
  }, A.usesFrames = function() {
646
646
  for (var d = this._timeline; d._timeline; )
@@ -700,7 +700,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
700
700
  return q.isFromTo = 1, q.duration(Math.abs(q.vars.time - H) / this._timeScale || 1e-3);
701
701
  }, Y.render = function(H, K, B) {
702
702
  this._gc && this._enabled(!0, !1);
703
- var q, b, A, d, g, S, x, F, z = this._time, V = this._dirty ? this.totalDuration() : this._totalDuration, ht = this._duration, ft = this._totalTime, gt = this._startTime, Nt = this._timeScale, lt = this._rawPrevTime, Et = this._paused, D = this._cycle;
703
+ var q, b, A, d, g, M, x, F, z = this._time, V = this._dirty ? this.totalDuration() : this._totalDuration, ht = this._duration, ft = this._totalTime, gt = this._startTime, Nt = this._timeScale, lt = this._rawPrevTime, Et = this._paused, D = this._cycle;
704
704
  if (z !== this._time && (H += this._time - z), H >= V - 1e-7 && H >= 0)
705
705
  this._locked || (this._totalTime = V, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (b = !0, d = "onComplete", g = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= H && H >= -1e-7 || 0 > lt || lt === G) && lt !== H && this._first && (g = !0, lt > G && (d = "onReverseComplete"))), this._rawPrevTime = this._duration || !K || H || this._rawPrevTime === H ? H : G, this._yoyo && 1 & this._cycle ? this._time = H = 0 : (this._time = ht, H = ht + 1e-4);
706
706
  else if (1e-7 > H)
@@ -712,7 +712,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
712
712
  q._duration || (b = !1), q = q._next;
713
713
  H = 0, this._initted || (g = !0);
714
714
  }
715
- else if (ht === 0 && 0 > lt && (g = !0), this._time = this._rawPrevTime = H, this._locked || (this._totalTime = H, this._repeat !== 0 && (S = ht + this._repeatDelay, this._cycle = this._totalTime / S >> 0, this._cycle !== 0 && this._cycle === this._totalTime / S && H >= ft && this._cycle--, this._time = this._totalTime - this._cycle * S, this._yoyo && 1 & this._cycle && (this._time = ht - this._time), this._time > ht ? (this._time = ht, H = ht + 1e-4) : this._time < 0 ? this._time = H = 0 : H = this._time)), this._hasPause && !this._forcingPlayhead && !K) {
715
+ else if (ht === 0 && 0 > lt && (g = !0), this._time = this._rawPrevTime = H, this._locked || (this._totalTime = H, this._repeat !== 0 && (M = ht + this._repeatDelay, this._cycle = this._totalTime / M >> 0, this._cycle !== 0 && this._cycle === this._totalTime / M && H >= ft && this._cycle--, this._time = this._totalTime - this._cycle * M, this._yoyo && 1 & this._cycle && (this._time = ht - this._time), this._time > ht ? (this._time = ht, H = ht + 1e-4) : this._time < 0 ? this._time = H = 0 : H = this._time)), this._hasPause && !this._forcingPlayhead && !K) {
716
716
  if (H = this._time, H >= z || this._repeat && D !== this._cycle)
717
717
  for (q = this._first; q && q._startTime <= H && !x; )
718
718
  q._duration || q.data !== "isPause" || q.ratio || q._startTime === 0 && this._rawPrevTime === 0 || (x = q), q = q._next;
@@ -759,8 +759,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
759
759
  this._onUpdate && (K || (P.length && O(), this._callback("onUpdate"))), d && (this._locked || this._gc || (gt === this._startTime || Nt !== this._timeScale) && (this._time === 0 || V >= this.totalDuration()) && (b && (P.length && O(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !K && this.vars[d] && this._callback(d)));
760
760
  }, Y.getActive = function(H, K, B) {
761
761
  H == null && (H = !0), K == null && (K = !0), B == null && (B = !1);
762
- var q, b, A = [], d = this.getChildren(H, K, B), g = 0, S = d.length;
763
- for (q = 0; S > q; q++)
762
+ var q, b, A = [], d = this.getChildren(H, K, B), g = 0, M = d.length;
763
+ for (q = 0; M > q; q++)
764
764
  b = d[q], b.isActive() && (A[g++] = b);
765
765
  return A;
766
766
  }, Y.getLabelAfter = function(H) {
@@ -808,17 +808,17 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
808
808
  },
809
809
  !0
810
810
  ), function() {
811
- var T = 180 / Math.PI, $ = [], p = [], J = [], G = {}, m = sn._gsDefine.globals, P = function(d, g, S, x) {
812
- S === x && (S = x - (x - g) / 1e6), d === g && (g = d + (S - d) / 1e6), this.a = d, this.b = g, this.c = S, this.d = x, this.da = x - d, this.ca = S - d, this.ba = g - d;
813
- }, O = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", E = function(d, g, S, x) {
814
- var F = { a: d }, z = {}, V = {}, ht = { c: x }, ft = (d + g) / 2, gt = (g + S) / 2, Nt = (S + x) / 2, lt = (ft + gt) / 2, Et = (gt + Nt) / 2, D = (Et - lt) / 8;
811
+ var T = 180 / Math.PI, $ = [], p = [], J = [], G = {}, m = sn._gsDefine.globals, P = function(d, g, M, x) {
812
+ M === x && (M = x - (x - g) / 1e6), d === g && (g = d + (M - d) / 1e6), this.a = d, this.b = g, this.c = M, this.d = x, this.da = x - d, this.ca = M - d, this.ba = g - d;
813
+ }, O = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", E = function(d, g, M, x) {
814
+ var F = { a: d }, z = {}, V = {}, ht = { c: x }, ft = (d + g) / 2, gt = (g + M) / 2, Nt = (M + x) / 2, lt = (ft + gt) / 2, Et = (gt + Nt) / 2, D = (Et - lt) / 8;
815
815
  return F.b = ft + (d - ft) / 4, z.b = lt + D, F.c = z.a = (F.b + z.b) / 2, z.c = V.a = (lt + Et) / 2, V.b = Et - D, ht.b = Nt + (x - Nt) / 4, V.c = ht.a = (V.b + ht.b) / 2, [F, z, V, ht];
816
- }, U = function(d, g, S, x, F) {
816
+ }, U = function(d, g, M, x, F) {
817
817
  var z, V, ht, ft, gt, Nt, lt, Et, D, zt, Pt, Rt, ge, ue = d.length - 1, Ft = 0, Dt = d[0].a;
818
818
  for (z = 0; ue > z; z++)
819
- gt = d[Ft], V = gt.a, ht = gt.d, ft = d[Ft + 1].d, F ? (Pt = $[z], Rt = p[z], ge = (Rt + Pt) * g * 0.25 / (x ? 0.5 : J[z] || 0.5), Nt = ht - (ht - V) * (x ? 0.5 * g : Pt !== 0 ? ge / Pt : 0), lt = ht + (ft - ht) * (x ? 0.5 * g : Rt !== 0 ? ge / Rt : 0), Et = ht - (Nt + ((lt - Nt) * (3 * Pt / (Pt + Rt) + 0.5) / 4 || 0))) : (Nt = ht - (ht - V) * g * 0.5, lt = ht + (ft - ht) * g * 0.5, Et = ht - (Nt + lt) / 2), Nt += Et, lt += Et, gt.c = D = Nt, z !== 0 ? gt.b = Dt : gt.b = Dt = gt.a + 0.6 * (gt.c - gt.a), gt.da = ht - V, gt.ca = D - V, gt.ba = Dt - V, S ? (zt = E(V, Dt, D, ht), d.splice(Ft, 1, zt[0], zt[1], zt[2], zt[3]), Ft += 4) : Ft++, Dt = lt;
820
- gt = d[Ft], gt.b = Dt, gt.c = Dt + 0.4 * (gt.d - Dt), gt.da = gt.d - gt.a, gt.ca = gt.c - gt.a, gt.ba = Dt - gt.a, S && (zt = E(gt.a, Dt, gt.c, gt.d), d.splice(Ft, 1, zt[0], zt[1], zt[2], zt[3]));
821
- }, Y = function(d, g, S, x) {
819
+ gt = d[Ft], V = gt.a, ht = gt.d, ft = d[Ft + 1].d, F ? (Pt = $[z], Rt = p[z], ge = (Rt + Pt) * g * 0.25 / (x ? 0.5 : J[z] || 0.5), Nt = ht - (ht - V) * (x ? 0.5 * g : Pt !== 0 ? ge / Pt : 0), lt = ht + (ft - ht) * (x ? 0.5 * g : Rt !== 0 ? ge / Rt : 0), Et = ht - (Nt + ((lt - Nt) * (3 * Pt / (Pt + Rt) + 0.5) / 4 || 0))) : (Nt = ht - (ht - V) * g * 0.5, lt = ht + (ft - ht) * g * 0.5, Et = ht - (Nt + lt) / 2), Nt += Et, lt += Et, gt.c = D = Nt, z !== 0 ? gt.b = Dt : gt.b = Dt = gt.a + 0.6 * (gt.c - gt.a), gt.da = ht - V, gt.ca = D - V, gt.ba = Dt - V, M ? (zt = E(V, Dt, D, ht), d.splice(Ft, 1, zt[0], zt[1], zt[2], zt[3]), Ft += 4) : Ft++, Dt = lt;
820
+ gt = d[Ft], gt.b = Dt, gt.c = Dt + 0.4 * (gt.d - Dt), gt.da = gt.d - gt.a, gt.ca = gt.c - gt.a, gt.ba = Dt - gt.a, M && (zt = E(gt.a, Dt, gt.c, gt.d), d.splice(Ft, 1, zt[0], zt[1], zt[2], zt[3]));
821
+ }, Y = function(d, g, M, x) {
822
822
  var F, z, V, ht, ft, gt, Nt = [];
823
823
  if (x)
824
824
  for (d = [x].concat(d), z = d.length; --z > -1; )
@@ -826,9 +826,9 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
826
826
  if (F = d.length - 2, 0 > F)
827
827
  return Nt[0] = new P(d[0][g], 0, 0, d[0][g]), Nt;
828
828
  for (z = 0; F > z; z++)
829
- V = d[z][g], ht = d[z + 1][g], Nt[z] = new P(V, 0, 0, ht), S && (ft = d[z + 2][g], $[z] = ($[z] || 0) + (ht - V) * (ht - V), p[z] = (p[z] || 0) + (ft - ht) * (ft - ht));
829
+ V = d[z][g], ht = d[z + 1][g], Nt[z] = new P(V, 0, 0, ht), M && (ft = d[z + 2][g], $[z] = ($[z] || 0) + (ht - V) * (ht - V), p[z] = (p[z] || 0) + (ft - ht) * (ft - ht));
830
830
  return Nt[z] = new P(d[z][g], 0, 0, d[z + 1][g]), Nt;
831
- }, H = function(d, g, S, x, F, z) {
831
+ }, H = function(d, g, M, x, F, z) {
832
832
  var V, ht, ft, gt, Nt, lt, Et, D, zt = {}, Pt = [], Rt = z || d[0];
833
833
  F = typeof F == "string" ? "," + F + "," : O, g == null && (g = 1);
834
834
  for (ht in d[0])
@@ -853,33 +853,33 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
853
853
  for (V = J.length; --V > -1; )
854
854
  J[V] = Math.sqrt(J[V]);
855
855
  }
856
- for (V = Pt.length, gt = S ? 4 : 1; --V > -1; )
857
- ht = Pt[V], ft = zt[ht], U(ft, g, S, x, G[ht]), Et && (ft.splice(0, gt), ft.splice(ft.length - gt, gt));
856
+ for (V = Pt.length, gt = M ? 4 : 1; --V > -1; )
857
+ ht = Pt[V], ft = zt[ht], U(ft, g, M, x, G[ht]), Et && (ft.splice(0, gt), ft.splice(ft.length - gt, gt));
858
858
  return zt;
859
- }, K = function(d, g, S) {
859
+ }, K = function(d, g, M) {
860
860
  g = g || "soft";
861
861
  var x, F, z, V, ht, ft, gt, Nt, lt, Et, D, zt = {}, Pt = g === "cubic" ? 3 : 2, Rt = g === "soft", ge = [];
862
- if (Rt && S && (d = [S].concat(d)), d == null || d.length < Pt + 1)
862
+ if (Rt && M && (d = [M].concat(d)), d == null || d.length < Pt + 1)
863
863
  throw "invalid Bezier data";
864
864
  for (lt in d[0])
865
865
  ge.push(lt);
866
866
  for (ft = ge.length; --ft > -1; ) {
867
867
  for (lt = ge[ft], zt[lt] = ht = [], Et = 0, Nt = d.length, gt = 0; Nt > gt; gt++)
868
- x = S == null ? d[gt][lt] : typeof (D = d[gt][lt]) == "string" && D.charAt(1) === "=" ? S[lt] + Number(D.charAt(0) + D.substr(2)) : Number(D), Rt && gt > 1 && Nt - 1 > gt && (ht[Et++] = (x + ht[Et - 2]) / 2), ht[Et++] = x;
868
+ x = M == null ? d[gt][lt] : typeof (D = d[gt][lt]) == "string" && D.charAt(1) === "=" ? M[lt] + Number(D.charAt(0) + D.substr(2)) : Number(D), Rt && gt > 1 && Nt - 1 > gt && (ht[Et++] = (x + ht[Et - 2]) / 2), ht[Et++] = x;
869
869
  for (Nt = Et - Pt + 1, Et = 0, gt = 0; Nt > gt; gt += Pt)
870
870
  x = ht[gt], F = ht[gt + 1], z = ht[gt + 2], V = Pt === 2 ? 0 : ht[gt + 3], ht[Et++] = D = Pt === 3 ? new P(x, F, z, V) : new P(x, (2 * F + x) / 3, (2 * F + z) / 3, z);
871
871
  ht.length = Et;
872
872
  }
873
873
  return zt;
874
- }, B = function(d, g, S) {
875
- for (var x, F, z, V, ht, ft, gt, Nt, lt, Et, D, zt = 1 / S, Pt = d.length; --Pt > -1; )
876
- for (Et = d[Pt], z = Et.a, V = Et.d - z, ht = Et.c - z, ft = Et.b - z, x = F = 0, Nt = 1; S >= Nt; Nt++)
877
- gt = zt * Nt, lt = 1 - gt, x = F - (F = (gt * gt * V + 3 * lt * (gt * ht + lt * ft)) * gt), D = Pt * S + Nt - 1, g[D] = (g[D] || 0) + x * x;
874
+ }, B = function(d, g, M) {
875
+ for (var x, F, z, V, ht, ft, gt, Nt, lt, Et, D, zt = 1 / M, Pt = d.length; --Pt > -1; )
876
+ for (Et = d[Pt], z = Et.a, V = Et.d - z, ht = Et.c - z, ft = Et.b - z, x = F = 0, Nt = 1; M >= Nt; Nt++)
877
+ gt = zt * Nt, lt = 1 - gt, x = F - (F = (gt * gt * V + 3 * lt * (gt * ht + lt * ft)) * gt), D = Pt * M + Nt - 1, g[D] = (g[D] || 0) + x * x;
878
878
  }, q = function(d, g) {
879
879
  g = g >> 0 || 6;
880
- var S, x, F, z, V = [], ht = [], ft = 0, gt = 0, Nt = g - 1, lt = [], Et = [];
881
- for (S in d)
882
- B(d[S], V, g);
880
+ var M, x, F, z, V = [], ht = [], ft = 0, gt = 0, Nt = g - 1, lt = [], Et = [];
881
+ for (M in d)
882
+ B(d[M], V, g);
883
883
  for (F = V.length, x = 0; F > x; x++)
884
884
  ft += Math.sqrt(V[x]), z = x % g, Et[z] = ft, z === Nt && (gt += ft, z = x / g >> 0, lt[z] = Et, ht[z] = gt, ft = 0, Et = []);
885
885
  return { length: gt, lengths: ht, segments: lt };
@@ -889,9 +889,9 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
889
889
  version: "1.3.8",
890
890
  API: 2,
891
891
  global: !0,
892
- init: function(d, g, S) {
892
+ init: function(d, g, M) {
893
893
  this._target = d, g instanceof Array && (g = { values: g }), this._func = {}, this._mod = {}, this._props = [], this._timeRes = g.timeResolution == null ? 6 : parseInt(g.timeResolution, 10);
894
- var x, F, z, V, ht, ft = g.values || [], gt = {}, Nt = ft[0], lt = g.autoRotate || S.vars.orientToBezier;
894
+ var x, F, z, V, ht, ft = g.values || [], gt = {}, Nt = ft[0], lt = g.autoRotate || M.vars.orientToBezier;
895
895
  this._autoRotate = lt ? lt instanceof Array ? lt : [["x", "y", "rotation", lt === !0 ? 0 : Number(lt) || 0]] : null;
896
896
  for (x in Nt)
897
897
  this._props.push(x);
@@ -914,10 +914,10 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
914
914
  x = lt[z][V], this._func[x] = typeof d[x] == "function" ? d[x.indexOf("set") || typeof d["get" + x.substr(3)] != "function" ? x : "get" + x.substr(3)] : !1;
915
915
  x = lt[z][2], this._initialRotations[z] = (this._func[x] ? this._func[x].call(this._target) : this._target[x]) || 0, this._overwriteProps.push(x);
916
916
  }
917
- return this._startRatio = S.vars.runBackwards ? 1 : 0, !0;
917
+ return this._startRatio = M.vars.runBackwards ? 1 : 0, !0;
918
918
  },
919
919
  set: function(d) {
920
- var g, S, x, F, z, V, ht, ft, gt, Nt, lt = this._segCount, Et = this._func, D = this._target, zt = d !== this._startRatio;
920
+ var g, M, x, F, z, V, ht, ft, gt, Nt, lt = this._segCount, Et = this._func, D = this._target, zt = d !== this._startRatio;
921
921
  if (this._timeRes) {
922
922
  if (gt = this._lengths, Nt = this._curSeg, d *= this._length, x = this._li, d > this._l2 && lt - 1 > x) {
923
923
  for (ft = lt - 1; ft > x && (this._l2 = gt[++x]) <= d; )
@@ -940,8 +940,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
940
940
  V = (x + (d - this._s1) / (this._s2 - this._s1)) * this._prec || 0;
941
941
  } else
942
942
  g = 0 > d ? 0 : d >= 1 ? lt - 1 : lt * d >> 0, V = (d - g * (1 / lt)) * lt;
943
- for (S = 1 - V, x = this._props.length; --x > -1; )
944
- F = this._props[x], z = this._beziers[F][g], ht = (V * V * z.da + 3 * S * (V * z.ca + S * z.ba)) * V + z.a, this._mod[F] && (ht = this._mod[F](ht, D)), Et[F] ? D[F](ht) : D[F] = ht;
943
+ for (M = 1 - V, x = this._props.length; --x > -1; )
944
+ F = this._props[x], z = this._beziers[F][g], ht = (V * V * z.da + 3 * M * (V * z.ca + M * z.ba)) * V + z.a, this._mod[F] && (ht = this._mod[F](ht, D)), Et[F] ? D[F](ht) : D[F] = ht;
945
945
  if (this._autoRotate) {
946
946
  var Pt, Rt, ge, ue, Ft, Dt, kt, Fe = this._autoRotate;
947
947
  for (x = Fe.length; --x > -1; )
@@ -949,12 +949,12 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
949
949
  }
950
950
  }
951
951
  }), A = b.prototype;
952
- b.bezierThrough = H, b.cubicToQuadratic = E, b._autoCSS = !0, b.quadraticToCubic = function(d, g, S) {
953
- return new P(d, (2 * g + d) / 3, (2 * g + S) / 3, S);
952
+ b.bezierThrough = H, b.cubicToQuadratic = E, b._autoCSS = !0, b.quadraticToCubic = function(d, g, M) {
953
+ return new P(d, (2 * g + d) / 3, (2 * g + M) / 3, M);
954
954
  }, b._cssRegister = function() {
955
955
  var d = m.CSSPlugin;
956
956
  if (d) {
957
- var g = d._internals, S = g._parseToProxy, x = g._setPluginRatio, F = g.CSSPropTween;
957
+ var g = d._internals, M = g._parseToProxy, x = g._setPluginRatio, F = g.CSSPropTween;
958
958
  g._registerComplexSpecialProp("bezier", {
959
959
  parser: function(z, V, ht, ft, gt, Nt) {
960
960
  V instanceof Array && (V = { values: V }), Nt = new b();
@@ -962,7 +962,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
962
962
  if (0 > Pt)
963
963
  return gt;
964
964
  for (lt = 0; Pt >= lt; lt++)
965
- D = S(z, zt[lt], ft, gt, Nt, Pt !== lt), Rt[lt] = D.end;
965
+ D = M(z, zt[lt], ft, gt, Nt, Pt !== lt), Rt[lt] = D.end;
966
966
  for (Et in V)
967
967
  ge[Et] = V[Et];
968
968
  return ge.values = Rt, gt = new F(z, "bezier", 0, 0, D.pt, 2), gt.data = D, gt.plugin = Nt, gt.setRatio = x, ge.autoRotate === 0 && (ge.autoRotate = !0), !ge.autoRotate || ge.autoRotate instanceof Array || (lt = ge.autoRotate === !0 ? 0 : Number(ge.autoRotate), ge.autoRotate = D.end.left != null ? [["left", "top", "rotation", lt, !1]] : D.end.x != null ? [["x", "y", "rotation", lt, !1]] : !1), ge.autoRotate && (ft._transform || ft._enableTransforms(!1), D.autoRotate = ft._target._gsTransform, D.proxy.rotation = D.autoRotate.rotation || 0, ft._overwriteProps.push("rotation")), Nt._onInitTween(D.proxy, ge, ft._tween), gt;
@@ -970,17 +970,17 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
970
970
  });
971
971
  }
972
972
  }, A._mod = function(d) {
973
- for (var g, S = this._overwriteProps, x = S.length; --x > -1; )
974
- g = d[S[x]], g && typeof g == "function" && (this._mod[S[x]] = g);
973
+ for (var g, M = this._overwriteProps, x = M.length; --x > -1; )
974
+ g = d[M[x]], g && typeof g == "function" && (this._mod[M[x]] = g);
975
975
  }, A._kill = function(d) {
976
- var g, S, x = this._props;
976
+ var g, M, x = this._props;
977
977
  for (g in this._beziers)
978
978
  if (g in d)
979
- for (delete this._beziers[g], delete this._func[g], S = x.length; --S > -1; )
980
- x[S] === g && x.splice(S, 1);
979
+ for (delete this._beziers[g], delete this._func[g], M = x.length; --M > -1; )
980
+ x[M] === g && x.splice(M, 1);
981
981
  if (x = this._autoRotate)
982
- for (S = x.length; --S > -1; )
983
- d[x[S][2]] && x.splice(S, 1);
982
+ for (M = x.length; --M > -1; )
983
+ d[x[M][2]] && x.splice(M, 1);
984
984
  return this._super._kill.call(this, d);
985
985
  };
986
986
  }(), sn._gsDefine(
@@ -1003,7 +1003,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
1003
1003
  perspective: U,
1004
1004
  lineHeight: ""
1005
1005
  };
1006
- var Y, H, K, B, q, b, A, d, g = /(?:\-|\.|\b)(\d|\.|e\-)+/g, S = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, x = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, F = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, z = /(?:\d|\-|\+|=|#|\.)*/g, V = /opacity *= *([^)]*)/i, ht = /opacity:([^;]*)/i, ft = /alpha\(opacity *=.+?\)/i, gt = /^(rgb|hsl)/, Nt = /([A-Z])/g, lt = /-([a-z])/gi, Et = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, D = function(L, Z) {
1006
+ var Y, H, K, B, q, b, A, d, g = /(?:\-|\.|\b)(\d|\.|e\-)+/g, M = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, x = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, F = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, z = /(?:\d|\-|\+|=|#|\.)*/g, V = /opacity *= *([^)]*)/i, ht = /opacity:([^;]*)/i, ft = /alpha\(opacity *=.+?\)/i, gt = /^(rgb|hsl)/, Nt = /([A-Z])/g, lt = /-([a-z])/gi, Et = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, D = function(L, Z) {
1007
1007
  return Z.toUpperCase();
1008
1008
  }, zt = /(?:Left|Right|Width)/i, Pt = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, Rt = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, ge = /,(?=[^\)]*(?:\(|$))/gi, ue = /[\s,\(]/i, Ft = Math.PI / 180, Dt = 180 / Math.PI, kt = {}, Fe = { style: {} }, xe = sn.document || {
1009
1009
  createElement: function() {
@@ -1145,7 +1145,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
1145
1145
  else if (L.substr(0, 3) === "hsl")
1146
1146
  if (ot = oe = L.match(g), Z) {
1147
1147
  if (L.indexOf("=") !== -1)
1148
- return L.match(S);
1148
+ return L.match(M);
1149
1149
  } else
1150
1150
  st = Number(ot[0]) % 360 / 360, Ct = Number(ot[1]) / 100, Ht = Number(ot[2]) / 100, I = 0.5 >= Ht ? Ht * (Ct + 1) : Ht + Ct - Ht * Ct, rt = 2 * Ht - I, ot.length > 3 && (ot[3] = Number(ot[3])), ot[0] = Ne(st + 1 / 3, rt, I), ot[1] = Ne(st, rt, I), ot[2] = Ne(st - 1 / 3, rt, I);
1151
1151
  else
@@ -1252,7 +1252,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
1252
1252
  "",
1253
1253
  He,
1254
1254
  vt(ve, He),
1255
- ve.replace(S, ""),
1255
+ ve.replace(M, ""),
1256
1256
  Le && ve.indexOf("px") !== -1 ? Math.round : !1,
1257
1257
  !0
1258
1258
  );
@@ -1291,7 +1291,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
1291
1291
  !1
1292
1292
  ))), we.lastIndex = 0;
1293
1293
  else if (he = te.match(g)) {
1294
- if (Ve = ve.match(S), !Ve || Ve.length !== he.length)
1294
+ if (Ve = ve.match(M), !Ve || Ve.length !== he.length)
1295
1295
  return st;
1296
1296
  for (oe = 0, le = 0; le < he.length; le++)
1297
1297
  ye = he[le], Be = te.indexOf(ye, oe), st.appendXtra(
@@ -2010,21 +2010,21 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2010
2010
  "easing.Back",
2011
2011
  ["easing.Ease"],
2012
2012
  function(T) {
2013
- var $, p, J, G, m = sn.GreenSockGlobals || sn, P = m.com.greensock, O = 2 * Math.PI, E = Math.PI / 2, U = P._class, Y = function(g, S) {
2013
+ var $, p, J, G, m = sn.GreenSockGlobals || sn, P = m.com.greensock, O = 2 * Math.PI, E = Math.PI / 2, U = P._class, Y = function(g, M) {
2014
2014
  var x = U("easing." + g, function() {
2015
2015
  }, !0), F = x.prototype = new T();
2016
- return F.constructor = x, F.getRatio = S, x;
2016
+ return F.constructor = x, F.getRatio = M, x;
2017
2017
  }, H = T.register || function() {
2018
- }, K = function(g, S, x, F, z) {
2018
+ }, K = function(g, M, x, F, z) {
2019
2019
  var V = U(
2020
2020
  "easing." + g,
2021
- { easeOut: new S(), easeIn: new x(), easeInOut: new F() },
2021
+ { easeOut: new M(), easeIn: new x(), easeInOut: new F() },
2022
2022
  !0
2023
2023
  );
2024
2024
  return H(V, g), V;
2025
- }, B = function(g, S, x) {
2026
- this.t = g, this.v = S, x && (this.next = x, x.prev = this, this.c = x.v - S, this.gap = x.t - g);
2027
- }, q = function(g, S) {
2025
+ }, B = function(g, M, x) {
2026
+ this.t = g, this.v = M, x && (this.next = x, x.prev = this, this.c = x.v - M, this.gap = x.t - g);
2027
+ }, q = function(g, M) {
2028
2028
  var x = U(
2029
2029
  "easing." + g,
2030
2030
  function(z) {
@@ -2032,7 +2032,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2032
2032
  },
2033
2033
  !0
2034
2034
  ), F = x.prototype = new T();
2035
- return F.constructor = x, F.getRatio = S, F.config = function(z) {
2035
+ return F.constructor = x, F.getRatio = M, F.config = function(z) {
2036
2036
  return new x(z);
2037
2037
  }, x;
2038
2038
  }, b = K(
@@ -2048,42 +2048,42 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2048
2048
  })
2049
2049
  ), A = U(
2050
2050
  "easing.SlowMo",
2051
- function(g, S, x) {
2052
- S = S || S === 0 ? S : 0.7, g == null ? g = 0.7 : g > 1 && (g = 1), this._p = g !== 1 ? S : 0, this._p1 = (1 - g) / 2, this._p2 = g, this._p3 = this._p1 + this._p2, this._calcEnd = x === !0;
2051
+ function(g, M, x) {
2052
+ M = M || M === 0 ? M : 0.7, g == null ? g = 0.7 : g > 1 && (g = 1), this._p = g !== 1 ? M : 0, this._p1 = (1 - g) / 2, this._p2 = g, this._p3 = this._p1 + this._p2, this._calcEnd = x === !0;
2053
2053
  },
2054
2054
  !0
2055
2055
  ), d = A.prototype = new T();
2056
2056
  return d.constructor = A, d.getRatio = function(g) {
2057
- var S = g + (0.5 - g) * this._p;
2058
- return g < this._p1 ? this._calcEnd ? 1 - (g = 1 - g / this._p1) * g : S - (g = 1 - g / this._p1) * g * g * g * S : g > this._p3 ? this._calcEnd ? g === 1 ? 0 : 1 - (g = (g - this._p3) / this._p1) * g : S + (g - S) * (g = (g - this._p3) / this._p1) * g * g * g : this._calcEnd ? 1 : S;
2059
- }, A.ease = new A(0.7, 0.7), d.config = A.config = function(g, S, x) {
2060
- return new A(g, S, x);
2057
+ var M = g + (0.5 - g) * this._p;
2058
+ return g < this._p1 ? this._calcEnd ? 1 - (g = 1 - g / this._p1) * g : M - (g = 1 - g / this._p1) * g * g * g * M : g > this._p3 ? this._calcEnd ? g === 1 ? 0 : 1 - (g = (g - this._p3) / this._p1) * g : M + (g - M) * (g = (g - this._p3) / this._p1) * g * g * g : this._calcEnd ? 1 : M;
2059
+ }, A.ease = new A(0.7, 0.7), d.config = A.config = function(g, M, x) {
2060
+ return new A(g, M, x);
2061
2061
  }, $ = U(
2062
2062
  "easing.SteppedEase",
2063
- function(g, S) {
2064
- g = g || 1, this._p1 = 1 / g, this._p2 = g + (S ? 0 : 1), this._p3 = S ? 1 : 0;
2063
+ function(g, M) {
2064
+ g = g || 1, this._p1 = 1 / g, this._p2 = g + (M ? 0 : 1), this._p3 = M ? 1 : 0;
2065
2065
  },
2066
2066
  !0
2067
2067
  ), d = $.prototype = new T(), d.constructor = $, d.getRatio = function(g) {
2068
2068
  return 0 > g ? g = 0 : g >= 1 && (g = 0.999999999), ((this._p2 * g | 0) + this._p3) * this._p1;
2069
- }, d.config = $.config = function(g, S) {
2070
- return new $(g, S);
2069
+ }, d.config = $.config = function(g, M) {
2070
+ return new $(g, M);
2071
2071
  }, p = U(
2072
2072
  "easing.ExpoScaleEase",
2073
- function(g, S, x) {
2074
- this._p1 = Math.log(S / g), this._p2 = S - g, this._p3 = g, this._ease = x;
2073
+ function(g, M, x) {
2074
+ this._p1 = Math.log(M / g), this._p2 = M - g, this._p3 = g, this._ease = x;
2075
2075
  },
2076
2076
  !0
2077
2077
  ), d = p.prototype = new T(), d.constructor = p, d.getRatio = function(g) {
2078
2078
  return this._ease && (g = this._ease.getRatio(g)), (this._p3 * Math.exp(this._p1 * g) - this._p3) / this._p2;
2079
- }, d.config = p.config = function(g, S, x) {
2080
- return new p(g, S, x);
2079
+ }, d.config = p.config = function(g, M, x) {
2080
+ return new p(g, M, x);
2081
2081
  }, J = U(
2082
2082
  "easing.RoughEase",
2083
2083
  function(g) {
2084
2084
  g = g || {};
2085
- for (var S, x, F, z, V, ht, ft = g.taper || "none", gt = [], Nt = 0, lt = 0 | (g.points || 20), Et = lt, D = g.randomize !== !1, zt = g.clamp === !0, Pt = g.template instanceof T ? g.template : null, Rt = typeof g.strength == "number" ? 0.4 * g.strength : 0.4; --Et > -1; )
2086
- S = D ? Math.random() : 1 / lt * Et, x = Pt ? Pt.getRatio(S) : S, ft === "none" ? F = Rt : ft === "out" ? (z = 1 - S, F = z * z * Rt) : ft === "in" ? F = S * S * Rt : 0.5 > S ? (z = 2 * S, F = z * z * 0.5 * Rt) : (z = 2 * (1 - S), F = z * z * 0.5 * Rt), D ? x += Math.random() * F - 0.5 * F : Et % 2 ? x += 0.5 * F : x -= 0.5 * F, zt && (x > 1 ? x = 1 : 0 > x && (x = 0)), gt[Nt++] = { x: S, y: x };
2085
+ for (var M, x, F, z, V, ht, ft = g.taper || "none", gt = [], Nt = 0, lt = 0 | (g.points || 20), Et = lt, D = g.randomize !== !1, zt = g.clamp === !0, Pt = g.template instanceof T ? g.template : null, Rt = typeof g.strength == "number" ? 0.4 * g.strength : 0.4; --Et > -1; )
2086
+ M = D ? Math.random() : 1 / lt * Et, x = Pt ? Pt.getRatio(M) : M, ft === "none" ? F = Rt : ft === "out" ? (z = 1 - M, F = z * z * Rt) : ft === "in" ? F = M * M * Rt : 0.5 > M ? (z = 2 * M, F = z * z * 0.5 * Rt) : (z = 2 * (1 - M), F = z * z * 0.5 * Rt), D ? x += Math.random() * F - 0.5 * F : Et % 2 ? x += 0.5 * F : x -= 0.5 * F, zt && (x > 1 ? x = 1 : 0 > x && (x = 0)), gt[Nt++] = { x: M, y: x };
2087
2087
  for (gt.sort(function(ge, ue) {
2088
2088
  return ge.x - ue.x;
2089
2089
  }), ht = new B(1, 1, null), Et = lt; --Et > -1; )
@@ -2092,15 +2092,15 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2092
2092
  },
2093
2093
  !0
2094
2094
  ), d = J.prototype = new T(), d.constructor = J, d.getRatio = function(g) {
2095
- var S = this._prev;
2096
- if (g > S.t) {
2097
- for (; S.next && g >= S.t; )
2098
- S = S.next;
2099
- S = S.prev;
2095
+ var M = this._prev;
2096
+ if (g > M.t) {
2097
+ for (; M.next && g >= M.t; )
2098
+ M = M.next;
2099
+ M = M.prev;
2100
2100
  } else
2101
- for (; S.prev && g <= S.t; )
2102
- S = S.prev;
2103
- return this._prev = S, S.v + (g - S.t) / S.gap * S.c;
2101
+ for (; M.prev && g <= M.t; )
2102
+ M = M.prev;
2103
+ return this._prev = M, M.v + (g - M.t) / M.gap * M.c;
2104
2104
  }, d.config = function(g) {
2105
2105
  return new J(g);
2106
2106
  }, J.ease = new J(), K(
@@ -2112,8 +2112,8 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2112
2112
  return (g = 1 - g) < 1 / 2.75 ? 1 - 7.5625 * g * g : 2 / 2.75 > g ? 1 - (7.5625 * (g -= 1.5 / 2.75) * g + 0.75) : 2.5 / 2.75 > g ? 1 - (7.5625 * (g -= 2.25 / 2.75) * g + 0.9375) : 1 - (7.5625 * (g -= 2.625 / 2.75) * g + 0.984375);
2113
2113
  }),
2114
2114
  Y("BounceInOut", function(g) {
2115
- var S = 0.5 > g;
2116
- return g = S ? 1 - 2 * g : 2 * g - 1, g = 1 / 2.75 > g ? 7.5625 * g * g : 2 / 2.75 > g ? 7.5625 * (g -= 1.5 / 2.75) * g + 0.75 : 2.5 / 2.75 > g ? 7.5625 * (g -= 2.25 / 2.75) * g + 0.9375 : 7.5625 * (g -= 2.625 / 2.75) * g + 0.984375, S ? 0.5 * (1 - g) : 0.5 * g + 0.5;
2115
+ var M = 0.5 > g;
2116
+ return g = M ? 1 - 2 * g : 2 * g - 1, g = 1 / 2.75 > g ? 7.5625 * g * g : 2 / 2.75 > g ? 7.5625 * (g -= 1.5 / 2.75) * g + 0.75 : 2.5 / 2.75 > g ? 7.5625 * (g -= 2.25 / 2.75) * g + 0.9375 : 7.5625 * (g -= 2.625 / 2.75) * g + 0.984375, M ? 0.5 * (1 - g) : 0.5 * g + 0.5;
2117
2117
  })
2118
2118
  ), K(
2119
2119
  "Circ",
@@ -2126,7 +2126,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2126
2126
  Y("CircInOut", function(g) {
2127
2127
  return (g *= 2) < 1 ? -0.5 * (Math.sqrt(1 - g * g) - 1) : 0.5 * (Math.sqrt(1 - (g -= 2) * g) + 1);
2128
2128
  })
2129
- ), G = function(g, S, x) {
2129
+ ), G = function(g, M, x) {
2130
2130
  var F = U(
2131
2131
  "easing." + g,
2132
2132
  function(V, ht) {
@@ -2134,7 +2134,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2134
2134
  },
2135
2135
  !0
2136
2136
  ), z = F.prototype = new T();
2137
- return z.constructor = F, z.getRatio = S, z.config = function(V, ht) {
2137
+ return z.constructor = F, z.getRatio = M, z.config = function(V, ht) {
2138
2138
  return new F(V, ht);
2139
2139
  }, F;
2140
2140
  }, K(
@@ -2241,11 +2241,11 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2241
2241
  this.sc[de].check();
2242
2242
  }
2243
2243
  }, this.check(!0);
2244
- }, S = T._gsDefine = function(w, X, nt, tt) {
2244
+ }, M = T._gsDefine = function(w, X, nt, tt) {
2245
2245
  return new g(w, X, nt, tt);
2246
2246
  }, x = K._class = function(w, X, nt) {
2247
2247
  return X = X || function() {
2248
- }, S(
2248
+ }, M(
2249
2249
  w,
2250
2250
  [],
2251
2251
  function() {
@@ -2254,7 +2254,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2254
2254
  nt
2255
2255
  ), X;
2256
2256
  };
2257
- S.globals = G;
2257
+ M.globals = G;
2258
2258
  var F = [0, 0, 1, 1], z = x(
2259
2259
  "easing.Ease",
2260
2260
  function(w, X, nt, tt) {
@@ -2874,7 +2874,7 @@ var sn = typeof module < "u" && module.exports && typeof global < "u" ? global :
2874
2874
  for (var X = w.length; --X > -1; )
2875
2875
  w[X].API === Kt.API && (Ie[new w[X]()._propName] = w[X]);
2876
2876
  return !0;
2877
- }, S.plugin = function(w) {
2877
+ }, M.plugin = function(w) {
2878
2878
  if (!(w && w.propName && w.init && w.API))
2879
2879
  throw "illegal plugin definition.";
2880
2880
  var X, nt = w.propName, tt = w.priority || 0, vt = w.overwriteProps, Gt = {
@@ -3201,7 +3201,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3201
3201
  function A() {
3202
3202
  U = new THREE.Scene();
3203
3203
  var ft = new THREE.Color(3355443);
3204
- U.background = ft, U.fog = new THREE.Fog(ft, 0, 400), S(), H = new THREE.PerspectiveCamera(60, O / E, 0.1, 1e4), H.position.y = 8, H.position.z = 4;
3204
+ U.background = ft, U.fog = new THREE.Fog(ft, 0, 400), M(), H = new THREE.PerspectiveCamera(60, O / E, 0.1, 1e4), H.position.y = 8, H.position.z = 4;
3205
3205
  let gt = new THREE.AmbientLight(16777215, 1);
3206
3206
  U.add(gt), Y = new THREE.WebGLRenderer({
3207
3207
  canvas: P,
@@ -3235,15 +3235,15 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3235
3235
  K.material.uniforms.pallete.value = ft, K.material.needsUpdate = !0;
3236
3236
  });
3237
3237
  }
3238
- function S() {
3239
- S = new THREE.Sky(), S.scale.setScalar(45e4), S.material.uniforms.turbidity.value = 13, S.material.uniforms.rayleigh.value = 1.2, S.material.uniforms.luminance.value = 1, S.material.uniforms.mieCoefficient.value = 0.1, S.material.uniforms.mieDirectionalG.value = 0.58, U.add(S);
3238
+ function M() {
3239
+ M = new THREE.Sky(), M.scale.setScalar(45e4), M.material.uniforms.turbidity.value = 13, M.material.uniforms.rayleigh.value = 1.2, M.material.uniforms.luminance.value = 1, M.material.uniforms.mieCoefficient.value = 0.1, M.material.uniforms.mieDirectionalG.value = 0.58, U.add(M);
3240
3240
  let ft = new THREE.Mesh(
3241
3241
  new THREE.SphereBufferGeometry(2e4, 16, 8),
3242
3242
  new THREE.MeshBasicMaterial({ color: 16777215 })
3243
3243
  );
3244
3244
  ft.visible = !1, U.add(ft);
3245
3245
  var gt = Math.PI * -2e-3, Nt = 2 * Math.PI * -0.25;
3246
- ft.position.x = 4e5 * Math.cos(Nt), ft.position.y = 4e5 * Math.sin(Nt) * Math.sin(gt), ft.position.z = 4e5 * Math.sin(Nt) * Math.cos(gt), S.material.uniforms.sunPosition.value.copy(ft.position);
3246
+ ft.position.x = 4e5 * Math.cos(Nt), ft.position.y = 4e5 * Math.sin(Nt) * Math.sin(gt), ft.position.z = 4e5 * Math.sin(Nt) * Math.cos(gt), M.material.uniforms.sunPosition.value.copy(ft.position);
3247
3247
  }
3248
3248
  function x() {
3249
3249
  O = window.innerWidth, E = window.innerHeight, H.aspect = O / E, H.updateProjectionMatrix(), Y.setSize(O, E);
@@ -3437,7 +3437,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3437
3437
  }
3438
3438
  };
3439
3439
  }
3440
- function S(t, e, i, n, o, s) {
3440
+ function M(t, e, i, n, o, s) {
3441
3441
  this.a = t, this.b = e, this.c = i, this.normal = n && n.isVector3 ? n : new m(), this.vertexNormals = Array.isArray(n) ? n : [], this.color = o && o.isColor ? o : new A(), this.vertexColors = Array.isArray(o) ? o : [], this.materialIndex = s !== void 0 ? s : 0;
3442
3442
  }
3443
3443
  function x(t, e, i, n) {
@@ -3534,8 +3534,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3534
3534
  }
3535
3535
  for (je = 0; je < it; je++)
3536
3536
  for (se = 0; se < W; se++)
3537
- N = M + se + xt * (je + 1), j = M + (se + 1) + xt * (je + 1), et = M + (se + 1) + xt * je, c.push(M + se + xt * je, N, et), c.push(N, j, et), be += 6;
3538
- h.addGroup(C, be, It), C += be, M += bt;
3537
+ N = S + se + xt * (je + 1), j = S + (se + 1) + xt * (je + 1), et = S + (se + 1) + xt * je, c.push(S + se + xt * je, N, et), c.push(N, j, et), be += 6;
3538
+ h.addGroup(C, be, It), C += be, S += bt;
3539
3539
  }
3540
3540
  Ft.call(this), this.type = "BoxBufferGeometry", this.parameters = {
3541
3541
  width: t,
@@ -3547,7 +3547,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3547
3547
  };
3548
3548
  var h = this;
3549
3549
  t = t || 1, e = e || 1, i = i || 1, n = Math.floor(n) || 1, o = Math.floor(o) || 1, s = Math.floor(s) || 1;
3550
- var c = [], f = [], v = [], y = [], M = 0, C = 0;
3550
+ var c = [], f = [], v = [], y = [], S = 0, C = 0;
3551
3551
  l("z", "y", "x", -1, -1, i, e, t, s, o, 0), l("z", "y", "x", 1, -1, i, e, -t, s, o, 1), l("x", "z", "y", 1, 1, t, i, e, n, s, 2), l("x", "z", "y", 1, -1, t, i, -e, n, s, 3), l("x", "y", "z", 1, -1, t, e, i, n, o, 4), l("x", "y", "z", -1, -1, t, e, -i, n, o, 5), this.setIndex(c), this.addAttribute("position", new Pt(f, 3)), this.addAttribute("normal", new Pt(v, 3)), this.addAttribute("uv", new Pt(y, 2));
3552
3552
  }
3553
3553
  function Fe(t, e, i, n) {
@@ -3567,16 +3567,16 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3567
3567
  }, t = t || 1, e = e || 1;
3568
3568
  var o = t / 2, s = e / 2;
3569
3569
  i = Math.floor(i) || 1, n = Math.floor(n) || 1;
3570
- var l = i + 1, h = n + 1, c = t / i, f = e / n, v = [], y = [], M = [], C = [];
3570
+ var l = i + 1, h = n + 1, c = t / i, f = e / n, v = [], y = [], S = [], C = [];
3571
3571
  for (t = 0; t < h; t++) {
3572
3572
  var N = t * f - s;
3573
3573
  for (e = 0; e < l; e++)
3574
- y.push(e * c - o, -N, 0), M.push(0, 0, 1), C.push(e / i), C.push(1 - t / n);
3574
+ y.push(e * c - o, -N, 0), S.push(0, 0, 1), C.push(e / i), C.push(1 - t / n);
3575
3575
  }
3576
3576
  for (t = 0; t < n; t++)
3577
3577
  for (e = 0; e < i; e++)
3578
3578
  o = e + l * (t + 1), s = e + 1 + l * (t + 1), h = e + 1 + l * t, v.push(e + l * t, o, h), v.push(o, s, h);
3579
- this.setIndex(v), this.addAttribute("position", new Pt(y, 3)), this.addAttribute("normal", new Pt(M, 3)), this.addAttribute("uv", new Pt(C, 2));
3579
+ this.setIndex(v), this.addAttribute("position", new Pt(y, 3)), this.addAttribute("normal", new Pt(S, 3)), this.addAttribute("uv", new Pt(C, 2));
3580
3580
  }
3581
3581
  function Zt() {
3582
3582
  Object.defineProperty(this, "id", { value: Nl++ }), this.uuid = fi.generateUUID(), this.name = "", this.type = "Material", this.lights = this.fog = !0, this.blending = 1, this.side = 0, this.flatShading = !1, this.vertexColors = 0, this.opacity = 1, this.transparent = !1, this.blendSrc = 204, this.blendDst = 205, this.blendEquation = 100, this.blendEquationAlpha = this.blendDstAlpha = this.blendSrcAlpha = null, this.depthFunc = 3, this.depthWrite = this.depthTest = !0, this.clippingPlanes = null, this.clipShadows = this.clipIntersection = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetUnits = this.polygonOffsetFactor = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.userData = {}, this.needsUpdate = !0;
@@ -3625,8 +3625,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3625
3625
  setClearAlpha: function(f) {
3626
3626
  l = f, o(s, l);
3627
3627
  },
3628
- render: function(f, v, y, M) {
3629
- v = v.background, v === null ? o(s, l) : v && v.isColor && (o(v, 1), M = !0), (t.autoClear || M) && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), v && (v.isCubeTexture || v.isWebGLRenderTargetCube) ? (c === void 0 && (c = new pi(
3628
+ render: function(f, v, y, S) {
3629
+ v = v.background, v === null ? o(s, l) : v && v.isColor && (o(v, 1), S = !0), (t.autoClear || S) && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), v && (v.isCubeTexture || v.isWebGLRenderTargetCube) ? (c === void 0 && (c = new pi(
3630
3630
  new kt(1, 1, 1),
3631
3631
  new ti({
3632
3632
  type: "BackgroundCubeMaterial",
@@ -3696,7 +3696,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3696
3696
  h,
3697
3697
  "instead."
3698
3698
  ), l = h), i = i.logarithmicDepthBuffer === !0, h = t.getParameter(34930);
3699
- var c = t.getParameter(35660), f = t.getParameter(3379), v = t.getParameter(34076), y = t.getParameter(34921), M = t.getParameter(36347), C = t.getParameter(36348), N = t.getParameter(36349), j = 0 < c, et = s || !!e.get("OES_texture_float");
3699
+ var c = t.getParameter(35660), f = t.getParameter(3379), v = t.getParameter(34076), y = t.getParameter(34921), S = t.getParameter(36347), C = t.getParameter(36348), N = t.getParameter(36349), j = 0 < c, et = s || !!e.get("OES_texture_float");
3700
3700
  return {
3701
3701
  isWebGL2: s,
3702
3702
  getMaxAnisotropy: function() {
@@ -3713,7 +3713,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3713
3713
  maxTextureSize: f,
3714
3714
  maxCubemapSize: v,
3715
3715
  maxAttributes: y,
3716
- maxVertexUniforms: M,
3716
+ maxVertexUniforms: S,
3717
3717
  maxVaryings: C,
3718
3718
  maxFragmentUniforms: N,
3719
3719
  vertexTextures: j,
@@ -3725,33 +3725,33 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3725
3725
  function t() {
3726
3726
  f.value !== n && (f.value = n, f.needsUpdate = 0 < o), i.numPlanes = o, i.numIntersection = 0;
3727
3727
  }
3728
- function e(v, y, M, C) {
3728
+ function e(v, y, S, C) {
3729
3729
  var N = v !== null ? v.length : 0, j = null;
3730
3730
  if (N !== 0) {
3731
3731
  if (j = f.value, C !== !0 || j === null)
3732
- for (C = M + 4 * N, y = y.matrixWorldInverse, c.getNormalMatrix(y), (j === null || j.length < C) && (j = new Float32Array(C)), C = 0; C !== N; ++C, M += 4)
3733
- h.copy(v[C]).applyMatrix4(y, c), h.normal.toArray(j, M), j[M + 3] = h.constant;
3732
+ for (C = S + 4 * N, y = y.matrixWorldInverse, c.getNormalMatrix(y), (j === null || j.length < C) && (j = new Float32Array(C)), C = 0; C !== N; ++C, S += 4)
3733
+ h.copy(v[C]).applyMatrix4(y, c), h.normal.toArray(j, S), j[S + 3] = h.constant;
3734
3734
  f.value = j, f.needsUpdate = !0;
3735
3735
  }
3736
3736
  return i.numPlanes = N, j;
3737
3737
  }
3738
3738
  var i = this, n = null, o = 0, s = !1, l = !1, h = new q(), c = new P(), f = { value: null, needsUpdate: !1 };
3739
- this.uniform = f, this.numIntersection = this.numPlanes = 0, this.init = function(v, y, M) {
3739
+ this.uniform = f, this.numIntersection = this.numPlanes = 0, this.init = function(v, y, S) {
3740
3740
  var C = v.length !== 0 || y || o !== 0 || s;
3741
- return s = y, n = e(v, M, 0), o = v.length, C;
3741
+ return s = y, n = e(v, S, 0), o = v.length, C;
3742
3742
  }, this.beginShadows = function() {
3743
3743
  l = !0, e(null);
3744
3744
  }, this.endShadows = function() {
3745
3745
  l = !1, t();
3746
- }, this.setState = function(v, y, M, C, N, j) {
3747
- if (!s || v === null || v.length === 0 || l && !M)
3746
+ }, this.setState = function(v, y, S, C, N, j) {
3747
+ if (!s || v === null || v.length === 0 || l && !S)
3748
3748
  l ? e(null) : t();
3749
3749
  else {
3750
- M = l ? 0 : o;
3751
- var et = 4 * M, _t = N.clippingState || null;
3750
+ S = l ? 0 : o;
3751
+ var et = 4 * S, _t = N.clippingState || null;
3752
3752
  for (f.value = _t, _t = e(v, C, et, j), v = 0; v !== et; ++v)
3753
3753
  _t[v] = n[v];
3754
- N.clippingState = _t, this.numIntersection = y ? this.numPlanes : 0, this.numPlanes += M;
3754
+ N.clippingState = _t, this.numIntersection = y ? this.numPlanes : 0, this.numPlanes += S;
3755
3755
  }
3756
3756
  };
3757
3757
  }
@@ -3818,12 +3818,12 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
3818
3818
  if (c !== null) {
3819
3819
  c = c.array, f = 0;
3820
3820
  for (var v = c.length; f < v; f += 3) {
3821
- var y = c[f + 0], M = c[f + 1], C = c[f + 2];
3822
- h.push(y, M, M, C, C, y);
3821
+ var y = c[f + 0], S = c[f + 1], C = c[f + 2];
3822
+ h.push(y, S, S, C, C, y);
3823
3823
  }
3824
3824
  } else
3825
3825
  for (c = f.position.array, f = 0, v = c.length / 3 - 1; f < v; f += 3)
3826
- y = f + 0, M = f + 1, C = f + 2, h.push(y, M, M, C, C, y);
3826
+ y = f + 0, S = f + 1, C = f + 2, h.push(y, S, S, C, C, y);
3827
3827
  return h = new (65535 < ue(h) ? zt : Et)(h, 1), e.update(h, 34963), s[l.id] = h;
3828
3828
  }
3829
3829
  };
@@ -4153,12 +4153,12 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4153
4153
  for (var n = 0; n < i; ++n) {
4154
4154
  var o = t.getActiveUniform(e, n), s = t.getUniformLocation(e, o.name), l = this, h = o.name, c = h.length;
4155
4155
  for (dl.lastIndex = 0; ; ) {
4156
- var f = dl.exec(h), v = dl.lastIndex, y = f[1], M = f[3];
4157
- if (f[2] === "]" && (y |= 0), M === void 0 || M === "[" && v + 2 === c) {
4158
- h = l, o = M === void 0 ? new $a(y, o, s) : new us(y, o, s), h.seq.push(o), h.map[o.id] = o;
4156
+ var f = dl.exec(h), v = dl.lastIndex, y = f[1], S = f[3];
4157
+ if (f[2] === "]" && (y |= 0), S === void 0 || S === "[" && v + 2 === c) {
4158
+ h = l, o = S === void 0 ? new $a(y, o, s) : new us(y, o, s), h.seq.push(o), h.map[o.id] = o;
4159
4159
  break;
4160
4160
  } else
4161
- M = l.map[y], M === void 0 && (M = new Ws(y), y = l, l = M, y.seq.push(l), y.map[l.id] = l), l = M;
4161
+ S = l.map[y], S === void 0 && (S = new Ws(y), y = l, l = S, y.seq.push(l), y.map[l.id] = l), l = S;
4162
4162
  }
4163
4163
  }
4164
4164
  }
@@ -4274,23 +4274,23 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4274
4274
  function Z(t, e, i, n, o, s, l) {
4275
4275
  var h = t.context, c = n.defines, f = o.vertexShader, v = o.fragmentShader, y = "SHADOWMAP_TYPE_BASIC";
4276
4276
  s.shadowMapType === 1 ? y = "SHADOWMAP_TYPE_PCF" : s.shadowMapType === 2 && (y = "SHADOWMAP_TYPE_PCF_SOFT");
4277
- var M = "ENVMAP_TYPE_CUBE", C = "ENVMAP_MODE_REFLECTION", N = "ENVMAP_BLENDING_MULTIPLY";
4277
+ var S = "ENVMAP_TYPE_CUBE", C = "ENVMAP_MODE_REFLECTION", N = "ENVMAP_BLENDING_MULTIPLY";
4278
4278
  if (s.envMap) {
4279
4279
  switch (n.envMap.mapping) {
4280
4280
  case 301:
4281
4281
  case 302:
4282
- M = "ENVMAP_TYPE_CUBE";
4282
+ S = "ENVMAP_TYPE_CUBE";
4283
4283
  break;
4284
4284
  case 306:
4285
4285
  case 307:
4286
- M = "ENVMAP_TYPE_CUBE_UV";
4286
+ S = "ENVMAP_TYPE_CUBE_UV";
4287
4287
  break;
4288
4288
  case 303:
4289
4289
  case 304:
4290
- M = "ENVMAP_TYPE_EQUIREC";
4290
+ S = "ENVMAP_TYPE_EQUIREC";
4291
4291
  break;
4292
4292
  case 305:
4293
- M = "ENVMAP_TYPE_SPHERE";
4293
+ S = "ENVMAP_TYPE_SPHERE";
4294
4294
  }
4295
4295
  switch (n.envMap.mapping) {
4296
4296
  case 302:
@@ -4398,7 +4398,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4398
4398
  s.useFog && s.fogExp ? "#define FOG_EXP2" : "",
4399
4399
  s.map ? "#define USE_MAP" : "",
4400
4400
  s.envMap ? "#define USE_ENVMAP" : "",
4401
- s.envMap ? "#define " + M : "",
4401
+ s.envMap ? "#define " + S : "",
4402
4402
  s.envMap ? "#define " + C : "",
4403
4403
  s.envMap ? "#define " + N : "",
4404
4404
  s.lightMap ? "#define USE_LIGHTMAP" : "",
@@ -4462,7 +4462,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4462
4462
  #define textureCubeGradEXT textureGrad`
4463
4463
  ].join(`
4464
4464
  `) + `
4465
- ` + e), v = e + v, f = cs(h, 35633, c + f), v = cs(h, 35632, v), h.attachShader(mt, f), h.attachShader(mt, v), n.index0AttributeName !== void 0 ? h.bindAttribLocation(mt, 0, n.index0AttributeName) : s.morphTargets === !0 && h.bindAttribLocation(mt, 0, "position"), h.linkProgram(mt), s = h.getProgramInfoLog(mt).trim(), l = h.getShaderInfoLog(f).trim(), y = h.getShaderInfoLog(v).trim(), C = M = !0, h.getProgramParameter(mt, 35714) === !1 ? (M = !1, console.error(
4465
+ ` + e), v = e + v, f = cs(h, 35633, c + f), v = cs(h, 35632, v), h.attachShader(mt, f), h.attachShader(mt, v), n.index0AttributeName !== void 0 ? h.bindAttribLocation(mt, 0, n.index0AttributeName) : s.morphTargets === !0 && h.bindAttribLocation(mt, 0, "position"), h.linkProgram(mt), s = h.getProgramInfoLog(mt).trim(), l = h.getShaderInfoLog(f).trim(), y = h.getShaderInfoLog(v).trim(), C = S = !0, h.getProgramParameter(mt, 35714) === !1 ? (S = !1, console.error(
4466
4466
  "THREE.WebGLProgram: shader error: ",
4467
4467
  h.getError(),
4468
4468
  "35715",
@@ -4472,7 +4472,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4472
4472
  l,
4473
4473
  y
4474
4474
  )) : s !== "" ? console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()", s) : (l === "" || y === "") && (C = !1), C && (this.diagnostics = {
4475
- runnable: M,
4475
+ runnable: S,
4476
4476
  material: n,
4477
4477
  programLog: s,
4478
4478
  vertexShader: { log: l, prefix: c },
@@ -4538,7 +4538,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4538
4538
  }, l = "precision supportsVertexTextures map mapEncoding matcapEncoding envMap envMapMode envMapEncoding lightMap aoMap emissiveMap emissiveMapEncoding bumpMap normalMap objectSpaceNormalMap displacementMap specularMap roughnessMap metalnessMap gradientMap alphaMap combine vertexColors fog useFog fogExp flatShading sizeAttenuation logarithmicDepthBuffer skinning maxBones useVertexTexture morphTargets morphNormals maxMorphTargets maxMorphNormals premultipliedAlpha numDirLights numPointLights numSpotLights numHemiLights numRectAreaLights shadowMapEnabled shadowMapType toneMapping physicallyCorrectLights alphaTest doubleSided flipSided numClippingPlanes numClipIntersection depthPacking dithering".split(
4539
4539
  " "
4540
4540
  );
4541
- this.getParameters = function(h, c, f, v, y, M, C) {
4541
+ this.getParameters = function(h, c, f, v, y, S, C) {
4542
4542
  var N = s[h.type];
4543
4543
  if (C.isSkinnedMesh) {
4544
4544
  var j = C.skeleton.bones;
@@ -4610,7 +4610,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4610
4610
  numRectAreaLights: c.rectArea.length,
4611
4611
  numHemiLights: c.hemi.length,
4612
4612
  numClippingPlanes: y,
4613
- numClipIntersection: M,
4613
+ numClipIntersection: S,
4614
4614
  dithering: h.dithering,
4615
4615
  shadowMapEnabled: t.shadowMap.enabled && C.receiveShadow && 0 < f.length,
4616
4616
  shadowMapType: t.shadowMap.type,
@@ -4631,8 +4631,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4631
4631
  f.push(c[l[v]]);
4632
4632
  return f.push(h.onBeforeCompile.toString()), f.push(t.gammaOutput), f.push(t.gammaFactor), f.join();
4633
4633
  }, this.acquireProgram = function(h, c, f, v) {
4634
- for (var y, M = 0, C = o.length; M < C; M++) {
4635
- var N = o[M];
4634
+ for (var y, S = 0, C = o.length; S < C; S++) {
4635
+ var N = o[S];
4636
4636
  if (N.code === v) {
4637
4637
  y = N, ++y.usedTimes;
4638
4638
  break;
@@ -4795,7 +4795,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4795
4795
  }, i = new m(), n = new J(), o = new J();
4796
4796
  return {
4797
4797
  setup: function(s, l, h) {
4798
- var c = 0, f = 0, v = 0, y = 0, M = 0, C = 0, N = 0, j = 0;
4798
+ var c = 0, f = 0, v = 0, y = 0, S = 0, C = 0, N = 0, j = 0;
4799
4799
  h = h.matrixWorldInverse;
4800
4800
  for (var et = 0, _t = s.length; et < _t; et++) {
4801
4801
  var mt = s[et], bt = mt.color, xt = mt.intensity, Wt = mt.distance, W = mt.shadow && mt.shadow.map ? mt.shadow.map.texture : null;
@@ -4805,9 +4805,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4805
4805
  var it = t.get(mt);
4806
4806
  it.color.copy(mt.color).multiplyScalar(mt.intensity), it.direction.setFromMatrixPosition(mt.matrixWorld), i.setFromMatrixPosition(mt.target.matrixWorld), it.direction.sub(i), it.direction.transformDirection(h), (it.shadow = mt.castShadow) && (bt = mt.shadow, it.shadowBias = bt.bias, it.shadowRadius = bt.radius, it.shadowMapSize = bt.mapSize), e.directionalShadowMap[y] = W, e.directionalShadowMatrix[y] = mt.shadow.matrix, e.directional[y] = it, y++;
4807
4807
  } else
4808
- mt.isSpotLight ? (it = t.get(mt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), it.color.copy(bt).multiplyScalar(xt), it.distance = Wt, it.direction.setFromMatrixPosition(mt.matrixWorld), i.setFromMatrixPosition(mt.target.matrixWorld), it.direction.sub(i), it.direction.transformDirection(h), it.coneCos = Math.cos(mt.angle), it.penumbraCos = Math.cos(mt.angle * (1 - mt.penumbra)), it.decay = mt.decay, (it.shadow = mt.castShadow) && (bt = mt.shadow, it.shadowBias = bt.bias, it.shadowRadius = bt.radius, it.shadowMapSize = bt.mapSize), e.spotShadowMap[C] = W, e.spotShadowMatrix[C] = mt.shadow.matrix, e.spot[C] = it, C++) : mt.isRectAreaLight ? (it = t.get(mt), it.color.copy(bt).multiplyScalar(xt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), o.identity(), n.copy(mt.matrixWorld), n.premultiply(h), o.extractRotation(n), it.halfWidth.set(0.5 * mt.width, 0, 0), it.halfHeight.set(0, 0.5 * mt.height, 0), it.halfWidth.applyMatrix4(o), it.halfHeight.applyMatrix4(o), e.rectArea[N] = it, N++) : mt.isPointLight ? (it = t.get(mt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), it.color.copy(mt.color).multiplyScalar(mt.intensity), it.distance = mt.distance, it.decay = mt.decay, (it.shadow = mt.castShadow) && (bt = mt.shadow, it.shadowBias = bt.bias, it.shadowRadius = bt.radius, it.shadowMapSize = bt.mapSize, it.shadowCameraNear = bt.camera.near, it.shadowCameraFar = bt.camera.far), e.pointShadowMap[M] = W, e.pointShadowMatrix[M] = mt.shadow.matrix, e.point[M] = it, M++) : mt.isHemisphereLight && (it = t.get(mt), it.direction.setFromMatrixPosition(mt.matrixWorld), it.direction.transformDirection(h), it.direction.normalize(), it.skyColor.copy(mt.color).multiplyScalar(xt), it.groundColor.copy(mt.groundColor).multiplyScalar(xt), e.hemi[j] = it, j++);
4808
+ mt.isSpotLight ? (it = t.get(mt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), it.color.copy(bt).multiplyScalar(xt), it.distance = Wt, it.direction.setFromMatrixPosition(mt.matrixWorld), i.setFromMatrixPosition(mt.target.matrixWorld), it.direction.sub(i), it.direction.transformDirection(h), it.coneCos = Math.cos(mt.angle), it.penumbraCos = Math.cos(mt.angle * (1 - mt.penumbra)), it.decay = mt.decay, (it.shadow = mt.castShadow) && (bt = mt.shadow, it.shadowBias = bt.bias, it.shadowRadius = bt.radius, it.shadowMapSize = bt.mapSize), e.spotShadowMap[C] = W, e.spotShadowMatrix[C] = mt.shadow.matrix, e.spot[C] = it, C++) : mt.isRectAreaLight ? (it = t.get(mt), it.color.copy(bt).multiplyScalar(xt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), o.identity(), n.copy(mt.matrixWorld), n.premultiply(h), o.extractRotation(n), it.halfWidth.set(0.5 * mt.width, 0, 0), it.halfHeight.set(0, 0.5 * mt.height, 0), it.halfWidth.applyMatrix4(o), it.halfHeight.applyMatrix4(o), e.rectArea[N] = it, N++) : mt.isPointLight ? (it = t.get(mt), it.position.setFromMatrixPosition(mt.matrixWorld), it.position.applyMatrix4(h), it.color.copy(mt.color).multiplyScalar(mt.intensity), it.distance = mt.distance, it.decay = mt.decay, (it.shadow = mt.castShadow) && (bt = mt.shadow, it.shadowBias = bt.bias, it.shadowRadius = bt.radius, it.shadowMapSize = bt.mapSize, it.shadowCameraNear = bt.camera.near, it.shadowCameraFar = bt.camera.far), e.pointShadowMap[S] = W, e.pointShadowMatrix[S] = mt.shadow.matrix, e.point[S] = it, S++) : mt.isHemisphereLight && (it = t.get(mt), it.direction.setFromMatrixPosition(mt.matrixWorld), it.direction.transformDirection(h), it.direction.normalize(), it.skyColor.copy(mt.color).multiplyScalar(xt), it.groundColor.copy(mt.groundColor).multiplyScalar(xt), e.hemi[j] = it, j++);
4809
4809
  }
4810
- e.ambient[0] = c, e.ambient[1] = f, e.ambient[2] = v, e.directional.length = y, e.spot.length = C, e.rectArea.length = N, e.point.length = M, e.hemi.length = j, e.hash.stateID = e.id, e.hash.directionalLength = y, e.hash.pointLength = M, e.hash.spotLength = C, e.hash.rectAreaLength = N, e.hash.hemiLength = j, e.hash.shadowsLength = l.length;
4810
+ e.ambient[0] = c, e.ambient[1] = f, e.ambient[2] = v, e.directional.length = y, e.spot.length = C, e.rectArea.length = N, e.point.length = S, e.hemi.length = j, e.hash.stateID = e.id, e.hash.directionalLength = y, e.hash.pointLength = S, e.hash.spotLength = C, e.hash.rectAreaLength = N, e.hash.hemiLength = j, e.hash.shadowsLength = l.length;
4811
4811
  },
4812
4812
  state: e
4813
4813
  };
@@ -4855,7 +4855,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4855
4855
  function ve(t, e, i) {
4856
4856
  function n(W, it, It, ee, $t, qt) {
4857
4857
  var Te = W.geometry, pe = y, Oe = W.customDepthMaterial;
4858
- return It && (pe = M, Oe = W.customDistanceMaterial), Oe ? pe = Oe : (Oe = !1, it.morphTargets && (Te && Te.isBufferGeometry ? Oe = Te.morphAttributes && Te.morphAttributes.position && 0 < Te.morphAttributes.position.length : Te && Te.isGeometry && (Oe = Te.morphTargets && 0 < Te.morphTargets.length)), W.isSkinnedMesh && it.skinning === !1 && console.warn(
4858
+ return It && (pe = S, Oe = W.customDistanceMaterial), Oe ? pe = Oe : (Oe = !1, it.morphTargets && (Te && Te.isBufferGeometry ? Oe = Te.morphAttributes && Te.morphAttributes.position && 0 < Te.morphAttributes.position.length : Te && Te.isGeometry && (Oe = Te.morphTargets && 0 < Te.morphTargets.length)), W.isSkinnedMesh && it.skinning === !1 && console.warn(
4859
4859
  "THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",
4860
4860
  W
4861
4861
  ), W = W.isSkinnedMesh && it.skinning, Te = 0, Oe && (Te |= 1), W && (Te |= 2), pe = pe[Te]), t.localClippingEnabled && it.clipShadows === !0 && it.clippingPlanes.length !== 0 && (Te = pe.uuid, Oe = it.uuid, W = C[Te], W === void 0 && (W = {}, C[Te] = W), Te = W[Oe], Te === void 0 && (Te = pe.clone(), W[Oe] = Te), pe = Te), pe.visible = it.visible, pe.wireframe = it.wireframe, pe.side = it.shadowSide != null ? it.shadowSide : N[it.side], pe.clipShadows = it.clipShadows, pe.clippingPlanes = it.clippingPlanes, pe.clipIntersection = it.clipIntersection, pe.wireframeLinewidth = it.wireframeLinewidth, pe.linewidth = it.linewidth, It && pe.isMeshDistanceMaterial && (pe.referencePosition.copy(ee), pe.nearDistance = $t, pe.farDistance = qt), pe;
@@ -4880,7 +4880,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4880
4880
  o(W[$t], it, It, ee);
4881
4881
  }
4882
4882
  }
4883
- var s = new b(), l = new J(), h = new p(), c = new p(i, i), f = new m(), v = new m(), y = Array(4), M = Array(4), C = {}, N = { 0: 1, 1: 0, 2: 2 }, j = [
4883
+ var s = new b(), l = new J(), h = new p(), c = new p(i, i), f = new m(), v = new m(), y = Array(4), S = Array(4), C = {}, N = { 0: 1, 1: 0, 2: 2 }, j = [
4884
4884
  new m(1, 0, 0),
4885
4885
  new m(-1, 0, 0),
4886
4886
  new m(0, 0, 1),
@@ -4897,7 +4897,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
4897
4897
  ], _t = [new E(), new E(), new E(), new E(), new E(), new E()];
4898
4898
  for (i = 0; i !== 4; ++i) {
4899
4899
  var mt = (i & 1) !== 0, bt = (i & 2) !== 0, xt = new oe({ depthPacking: 3201, morphTargets: mt, skinning: bt });
4900
- y[i] = xt, mt = new te({ morphTargets: mt, skinning: bt }), M[i] = mt;
4900
+ y[i] = xt, mt = new te({ morphTargets: mt, skinning: bt }), S[i] = mt;
4901
4901
  }
4902
4902
  var Wt = this;
4903
4903
  this.enabled = !1, this.autoUpdate = !0, this.needsUpdate = !1, this.type = 1, this.render = function(W, it, It) {
@@ -5019,7 +5019,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5019
5019
  function y(Ut, Ye, ei) {
5020
5020
  Ut ? (l(32823), (ci !== Ye || yn !== ei) && (t.polygonOffset(Ye, ei), ci = Ye, yn = ei)) : h(32823);
5021
5021
  }
5022
- function M(Ut) {
5022
+ function S(Ut) {
5023
5023
  Ut === void 0 && (Ut = 33984 + cn - 1), Fi !== Ut && (t.activeTexture(Ut), Fi = Ut);
5024
5024
  }
5025
5025
  var C = new function() {
@@ -5170,9 +5170,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5170
5170
  setScissorTest: function(Ut) {
5171
5171
  Ut ? l(3089) : h(3089);
5172
5172
  },
5173
- activeTexture: M,
5173
+ activeTexture: S,
5174
5174
  bindTexture: function(Ut, Ye) {
5175
- Fi === null && M();
5175
+ Fi === null && S();
5176
5176
  var ei = Qi[Fi];
5177
5177
  ei === void 0 && (ei = { type: void 0, texture: void 0 }, Qi[Fi] = ei), (ei.type !== Ut || ei.texture !== Ye) && (t.bindTexture(Ut, Ye || Qe[Ut]), ei.type = Ut, ei.texture = Ye);
5178
5178
  },
@@ -5278,7 +5278,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5278
5278
  }
5279
5279
  return W;
5280
5280
  }
5281
- function M(W) {
5281
+ function S(W) {
5282
5282
  return W === 1003 || W === 1004 || W === 1005 ? 9728 : 9729;
5283
5283
  }
5284
5284
  function C(W) {
@@ -5333,7 +5333,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5333
5333
  function et(W, it, It) {
5334
5334
  It ? (t.texParameteri(W, 10242, s.convert(it.wrapS)), t.texParameteri(W, 10243, s.convert(it.wrapT)), t.texParameteri(W, 10240, s.convert(it.magFilter)), t.texParameteri(W, 10241, s.convert(it.minFilter))) : (t.texParameteri(W, 10242, 33071), t.texParameteri(W, 10243, 33071), it.wrapS === 1001 && it.wrapT === 1001 || console.warn(
5335
5335
  "THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."
5336
- ), t.texParameteri(W, 10240, M(it.magFilter)), t.texParameteri(W, 10241, M(it.minFilter)), it.minFilter !== 1003 && it.minFilter !== 1006 && console.warn(
5336
+ ), t.texParameteri(W, 10240, S(it.magFilter)), t.texParameteri(W, 10241, S(it.minFilter)), it.minFilter !== 1003 && it.minFilter !== 1006 && console.warn(
5337
5337
  "THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."
5338
5338
  )), !(It = e.get("EXT_texture_filter_anisotropic")) || it.type === 1015 && e.get("OES_texture_float_linear") === null || it.type === 1016 && (o.isWebGL2 || e.get("OES_texture_half_float_linear")) === null || !(1 < it.anisotropy || n.get(it).__currentAnisotropy) || (t.texParameterf(
5339
5339
  W,
@@ -5688,7 +5688,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5688
5688
  }
5689
5689
  var n = this, o = null, s = null, l = null, h = [], c = new J(), f = new J(), v = 1, y = "stage";
5690
5690
  typeof window < "u" && "VRFrameData" in window && (s = new window.VRFrameData(), window.addEventListener("vrdisplaypresentchange", i, !1));
5691
- var M = new J(), C = new G(), N = new m(), j = new ye();
5691
+ var S = new J(), C = new G(), N = new m(), j = new ye();
5692
5692
  j.bounds = new E(0, 0, 0.5, 1), j.layers.enable(1);
5693
5693
  var et = new ye();
5694
5694
  et.bounds = new E(0.5, 0, 0.5, 1), et.layers.enable(2);
@@ -5718,7 +5718,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5718
5718
  }
5719
5719
  if (it = s.pose, It = l !== null ? l : W, It.matrix.copy(c), It.matrix.decompose(It.position, It.quaternion, It.scale), it.orientation !== null && (C.fromArray(it.orientation), It.quaternion.multiply(C)), it.position !== null && (C.setFromRotationMatrix(c), N.fromArray(it.position), N.applyQuaternion(C), It.position.add(N)), It.updateMatrixWorld(), o.isPresenting === !1)
5720
5720
  return W;
5721
- j.near = W.near, et.near = W.near, j.far = W.far, et.far = W.far, j.matrixWorldInverse.fromArray(s.leftViewMatrix), et.matrixWorldInverse.fromArray(s.rightViewMatrix), f.getInverse(c), y === "stage" && (j.matrixWorldInverse.multiply(f), et.matrixWorldInverse.multiply(f)), W = It.parent, W !== null && (M.getInverse(W.matrixWorld), j.matrixWorldInverse.multiply(M), et.matrixWorldInverse.multiply(M)), j.matrixWorld.getInverse(j.matrixWorldInverse), et.matrixWorld.getInverse(et.matrixWorldInverse), j.projectionMatrix.fromArray(s.leftProjectionMatrix), et.projectionMatrix.fromArray(s.rightProjectionMatrix), ce(_t, j, et), W = o.getLayers(), W.length && (W = W[0], W.leftBounds !== null && W.leftBounds.length === 4 && j.bounds.fromArray(W.leftBounds), W.rightBounds !== null && W.rightBounds.length === 4 && et.bounds.fromArray(W.rightBounds));
5721
+ j.near = W.near, et.near = W.near, j.far = W.far, et.far = W.far, j.matrixWorldInverse.fromArray(s.leftViewMatrix), et.matrixWorldInverse.fromArray(s.rightViewMatrix), f.getInverse(c), y === "stage" && (j.matrixWorldInverse.multiply(f), et.matrixWorldInverse.multiply(f)), W = It.parent, W !== null && (S.getInverse(W.matrixWorld), j.matrixWorldInverse.multiply(S), et.matrixWorldInverse.multiply(S)), j.matrixWorld.getInverse(j.matrixWorldInverse), et.matrixWorld.getInverse(et.matrixWorldInverse), j.projectionMatrix.fromArray(s.leftProjectionMatrix), et.projectionMatrix.fromArray(s.rightProjectionMatrix), ce(_t, j, et), W = o.getLayers(), W.length && (W = W[0], W.leftBounds !== null && W.leftBounds.length === 4 && j.bounds.fromArray(W.leftBounds), W.rightBounds !== null && W.rightBounds.length === 4 && et.bounds.fromArray(W.rightBounds));
5722
5722
  t:
5723
5723
  for (W = 0; W < h.length; W++) {
5724
5724
  it = h[W];
@@ -5761,7 +5761,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5761
5761
  return h !== null && f !== null;
5762
5762
  }
5763
5763
  function i(bt) {
5764
- var xt = M[C.indexOf(bt.inputSource)];
5764
+ var xt = S[C.indexOf(bt.inputSource)];
5765
5765
  xt && xt.dispatchEvent({ type: bt.type });
5766
5766
  }
5767
5767
  function n() {
@@ -5770,14 +5770,14 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5770
5770
  function o(bt, xt) {
5771
5771
  xt === null ? bt.matrixWorld.copy(bt.matrix) : bt.matrixWorld.multiplyMatrices(xt.matrixWorld, bt.matrix), bt.matrixWorldInverse.getInverse(bt.matrixWorld);
5772
5772
  }
5773
- var s = t.context, l = null, h = null, c = 1, f = null, v = "stage", y = null, M = [], C = [], N = new ye();
5773
+ var s = t.context, l = null, h = null, c = 1, f = null, v = "stage", y = null, S = [], C = [], N = new ye();
5774
5774
  N.layers.enable(1), N.viewport = new E();
5775
5775
  var j = new ye();
5776
5776
  j.layers.enable(2), j.viewport = new E();
5777
5777
  var et = new ke([N, j]);
5778
5778
  et.layers.enable(1), et.layers.enable(2), this.enabled = !1, this.getController = function(bt) {
5779
- var xt = M[bt];
5780
- return xt === void 0 && (xt = new ui(), xt.matrixAutoUpdate = !1, xt.visible = !1, M[bt] = xt), xt;
5779
+ var xt = S[bt];
5780
+ return xt === void 0 && (xt = new ui(), xt.matrixAutoUpdate = !1, xt.visible = !1, S[bt] = xt), xt;
5781
5781
  }, this.getDevice = function() {
5782
5782
  return l;
5783
5783
  }, this.setDevice = function(bt) {
@@ -5791,8 +5791,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5791
5791
  f = xt, t.setFramebuffer(h.baseLayer.framebuffer), mt.setContext(h), mt.start();
5792
5792
  }), C = h.getInputSources(), h.addEventListener("inputsourceschange", function() {
5793
5793
  C = h.getInputSources(), console.log(C);
5794
- for (var xt = 0; xt < M.length; xt++)
5795
- M[xt].userData.inputSource = C[xt];
5794
+ for (var xt = 0; xt < S.length; xt++)
5795
+ S[xt].userData.inputSource = C[xt];
5796
5796
  }));
5797
5797
  }, this.getCamera = function(bt) {
5798
5798
  if (e()) {
@@ -5813,8 +5813,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5813
5813
  var It = W[it], ee = Wt.getViewport(It), $t = y.getViewMatrix(It), qt = et.cameras[it];
5814
5814
  qt.matrix.fromArray($t).getInverse(qt.matrix), qt.projectionMatrix.fromArray(It.projectionMatrix), qt.viewport.set(ee.x, ee.y, ee.width, ee.height), it === 0 && et.matrix.copy(qt.matrix);
5815
5815
  }
5816
- for (it = 0; it < M.length; it++) {
5817
- if (Wt = M[it], (W = C[it]) && (W = xt.getInputPose(W, f), W !== null)) {
5816
+ for (it = 0; it < S.length; it++) {
5817
+ if (Wt = S[it], (W = C[it]) && (W = xt.getInputPose(W, f), W !== null)) {
5818
5818
  "targetRay" in W ? Wt.matrix.elements = W.targetRay.transformMatrix : "pointerMatrix" in W && (Wt.matrix.elements = W.pointerMatrix), Wt.matrix.decompose(Wt.position, Wt.rotation, Wt.scale), Wt.visible = !0;
5819
5819
  continue;
5820
5820
  }
@@ -5906,7 +5906,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5906
5906
  function v(ut, wt, dt, Me, De, We) {
5907
5907
  if (ut.onBeforeRender(qt, wt, dt, Me, De, We), $t = is.get(wt, yn || dt), ut.modelViewMatrix.multiplyMatrices(dt.matrixWorldInverse, ut.matrixWorld), ut.normalMatrix.getNormalMatrix(ut.modelViewMatrix), ut.isImmediateRenderObject) {
5908
5908
  ai.setMaterial(De);
5909
- var Se = M(dt, wt.fog, De, ut);
5909
+ var Se = S(dt, wt.fog, De, ut);
5910
5910
  je = e = null, Ke = !1, h(ut, Se);
5911
5911
  } else
5912
5912
  qt.renderBufferDirect(dt, wt.fog, Me, De, ut, We);
@@ -5953,7 +5953,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
5953
5953
  0 <= dt["morphNormal" + $e] && ut.numSupportedMorphNormals++;
5954
5954
  dt = Me.shader.uniforms, (!ut.isShaderMaterial && !ut.isRawShaderMaterial || ut.clipping === !0) && (Me.numClippingPlanes = Pe.numPlanes, Me.numIntersection = Pe.numIntersection, dt.clippingPlanes = Pe.uniform), Me.fog = wt, We === void 0 && (Me.lightsHash = We = {}), We.stateID = Se.stateID, We.directionalLength = Se.directionalLength, We.pointLength = Se.pointLength, We.spotLength = Se.spotLength, We.rectAreaLength = Se.rectAreaLength, We.hemiLength = Se.hemiLength, We.shadowsLength = Se.shadowsLength, ut.lights && (dt.ambientLightColor.value = De.state.ambient, dt.directionalLights.value = De.state.directional, dt.spotLights.value = De.state.spot, dt.rectAreaLights.value = De.state.rectArea, dt.pointLights.value = De.state.point, dt.hemisphereLights.value = De.state.hemi, dt.directionalShadowMap.value = De.state.directionalShadowMap, dt.directionalShadowMatrix.value = De.state.directionalShadowMatrix, dt.spotShadowMap.value = De.state.spotShadowMap, dt.spotShadowMatrix.value = De.state.spotShadowMatrix, dt.pointShadowMap.value = De.state.pointShadowMap, dt.pointShadowMatrix.value = De.state.pointShadowMatrix), ut = Me.program.getUniforms(), ut = Or.seqWithValue(ut.seq, dt), Me.uniformsList = ut;
5955
5955
  }
5956
- function M(ut, wt, dt, Me) {
5956
+ function S(ut, wt, dt, Me) {
5957
5957
  Qi = 0;
5958
5958
  var De = xn.get(dt), We = De.lightsHash, Se = $t.state.lights.state.hash;
5959
5959
  Xe && (ri || ut !== ci) && Pe.setState(
@@ -6082,7 +6082,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6082
6082
  }, this.renderBufferDirect = function(ut, wt, dt, Me, De, We) {
6083
6083
  var Se = De.isMesh && 0 > De.normalMatrix.determinant();
6084
6084
  ai.setMaterial(Me, Se);
6085
- var $e = M(ut, wt, Me, De), Ci = !1;
6085
+ var $e = S(ut, wt, Me, De), Ci = !1;
6086
6086
  (e !== dt.id || je !== $e.id || Ke !== (Me.wireframe === !0)) && (e = dt.id, je = $e.id, Ke = Me.wireframe === !0, Ci = !0), De.morphTargetInfluences && (yl.update(De, dt, Me, $e), Ci = !0), Se = dt.index;
6087
6087
  var Yi = dt.attributes.position;
6088
6088
  if (wt = 1, Me.wireframe === !0 && (Se = vl.getWireframeAttribute(dt), wt = 2), ut = _l, Se !== null) {
@@ -6375,8 +6375,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6375
6375
  for (n = c.length; f < n; f++) {
6376
6376
  var v = c[f];
6377
6377
  for (i = 0; 3 > i; i++) {
6378
- var y = v[h[i]], M = v[h[(i + 1) % 3]];
6379
- s[0] = Math.min(y, M), s[1] = Math.max(y, M), y = s[0] + "," + s[1], l[y] === void 0 && (l[y] = { index1: s[0], index2: s[1] });
6378
+ var y = v[h[i]], S = v[h[(i + 1) % 3]];
6379
+ s[0] = Math.min(y, S), s[1] = Math.max(y, S), y = s[0] + "," + s[1], l[y] === void 0 && (l[y] = { index1: s[0], index2: s[1] });
6380
6380
  }
6381
6381
  }
6382
6382
  for (y in l)
@@ -6388,7 +6388,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6388
6388
  for (C.length === 0 && (C = [{ start: 0, count: v.count, materialIndex: 0 }]), t = 0, o = C.length; t < o; ++t)
6389
6389
  for (f = C[t], i = f.start, n = f.count, f = i, n = i + n; f < n; f += 3)
6390
6390
  for (i = 0; 3 > i; i++)
6391
- y = v.getX(f + i), M = v.getX(f + (i + 1) % 3), s[0] = Math.min(y, M), s[1] = Math.max(y, M), y = s[0] + "," + s[1], l[y] === void 0 && (l[y] = { index1: s[0], index2: s[1] });
6391
+ y = v.getX(f + i), S = v.getX(f + (i + 1) % 3), s[0] = Math.min(y, S), s[1] = Math.max(y, S), y = s[0] + "," + s[1], l[y] === void 0 && (l[y] = { index1: s[0], index2: s[1] });
6392
6392
  for (y in l)
6393
6393
  f = l[y], h.fromBufferAttribute(c, f.index1), e.push(h.x, h.y, h.z), h.fromBufferAttribute(c, f.index2), e.push(h.x, h.y, h.z);
6394
6394
  } else
@@ -6402,21 +6402,21 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6402
6402
  }
6403
6403
  function ms(t, e, i) {
6404
6404
  Ft.call(this), this.type = "ParametricBufferGeometry", this.parameters = { func: t, slices: e, stacks: i };
6405
- var n = [], o = [], s = [], l = [], h = new m(), c = new m(), f = new m(), v = new m(), y = new m(), M, C;
6405
+ var n = [], o = [], s = [], l = [], h = new m(), c = new m(), f = new m(), v = new m(), y = new m(), S, C;
6406
6406
  3 > t.length && console.error(
6407
6407
  "THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter."
6408
6408
  );
6409
6409
  var N = e + 1;
6410
- for (M = 0; M <= i; M++) {
6411
- var j = M / i;
6410
+ for (S = 0; S <= i; S++) {
6411
+ var j = S / i;
6412
6412
  for (C = 0; C <= e; C++) {
6413
6413
  var et = C / e;
6414
6414
  t(et, j, c), o.push(c.x, c.y, c.z), 0 <= et - 1e-5 ? (t(et - 1e-5, j, f), v.subVectors(c, f)) : (t(et + 1e-5, j, f), v.subVectors(f, c)), 0 <= j - 1e-5 ? (t(et, j - 1e-5, f), y.subVectors(c, f)) : (t(et, j + 1e-5, f), y.subVectors(f, c)), h.crossVectors(v, y).normalize(), s.push(h.x, h.y, h.z), l.push(et, j);
6415
6415
  }
6416
6416
  }
6417
- for (M = 0; M < i; M++)
6417
+ for (S = 0; S < i; S++)
6418
6418
  for (C = 0; C < e; C++)
6419
- t = M * N + C + 1, h = (M + 1) * N + C + 1, c = (M + 1) * N + C, n.push(M * N + C, t, c), n.push(t, h, c);
6419
+ t = S * N + C + 1, h = (S + 1) * N + C + 1, c = (S + 1) * N + C, n.push(S * N + C, t, c), n.push(t, h, c);
6420
6420
  this.setIndex(n), this.addAttribute("position", new Pt(o, 3)), this.addAttribute("normal", new Pt(s, 3)), this.addAttribute("uv", new Pt(l, 2));
6421
6421
  }
6422
6422
  function Wi(t, e, i, n) {
@@ -6429,15 +6429,15 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6429
6429
  function s(f, v) {
6430
6430
  f *= 3, v.x = t[f + 0], v.y = t[f + 1], v.z = t[f + 2];
6431
6431
  }
6432
- function l(f, v, y, M) {
6433
- 0 > M && f.x === 1 && (c[v] = f.x - 1), y.x === 0 && y.z === 0 && (c[v] = M / 2 / Math.PI + 0.5);
6432
+ function l(f, v, y, S) {
6433
+ 0 > S && f.x === 1 && (c[v] = f.x - 1), y.x === 0 && y.z === 0 && (c[v] = S / 2 / Math.PI + 0.5);
6434
6434
  }
6435
6435
  Ft.call(this), this.type = "PolyhedronBufferGeometry", this.parameters = { vertices: t, indices: e, radius: i, detail: n }, i = i || 1, n = n || 0;
6436
6436
  var h = [], c = [];
6437
6437
  (function(f) {
6438
- for (var v = new m(), y = new m(), M = new m(), C = 0; C < e.length; C += 3) {
6439
- s(e[C + 0], v), s(e[C + 1], y), s(e[C + 2], M);
6440
- var N, j, et = v, _t = y, mt = M, bt = Math.pow(2, f), xt = [];
6438
+ for (var v = new m(), y = new m(), S = new m(), C = 0; C < e.length; C += 3) {
6439
+ s(e[C + 0], v), s(e[C + 1], y), s(e[C + 2], S);
6440
+ var N, j, et = v, _t = y, mt = S, bt = Math.pow(2, f), xt = [];
6441
6441
  for (j = 0; j <= bt; j++) {
6442
6442
  xt[j] = [];
6443
6443
  var Wt = et.clone().lerp(mt, j / bt), W = _t.clone().lerp(mt, j / bt), it = bt - j;
@@ -6458,13 +6458,13 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6458
6458
  1 - (Math.atan2(-f.y, Math.sqrt(f.x * f.x + f.z * f.z)) / Math.PI + 0.5)
6459
6459
  );
6460
6460
  f = new m(), v = new m();
6461
- for (var y = new m(), M = new m(), C = new p(), N = new p(), j = new p(), et = 0, _t = 0; et < h.length; et += 9, _t += 6) {
6462
- f.set(h[et + 0], h[et + 1], h[et + 2]), v.set(h[et + 3], h[et + 4], h[et + 5]), y.set(h[et + 6], h[et + 7], h[et + 8]), C.set(c[_t + 0], c[_t + 1]), N.set(c[_t + 2], c[_t + 3]), j.set(c[_t + 4], c[_t + 5]), M.copy(f).add(v).add(y).divideScalar(3);
6463
- var mt = Math.atan2(M.z, -M.x);
6461
+ for (var y = new m(), S = new m(), C = new p(), N = new p(), j = new p(), et = 0, _t = 0; et < h.length; et += 9, _t += 6) {
6462
+ f.set(h[et + 0], h[et + 1], h[et + 2]), v.set(h[et + 3], h[et + 4], h[et + 5]), y.set(h[et + 6], h[et + 7], h[et + 8]), C.set(c[_t + 0], c[_t + 1]), N.set(c[_t + 2], c[_t + 3]), j.set(c[_t + 4], c[_t + 5]), S.copy(f).add(v).add(y).divideScalar(3);
6463
+ var mt = Math.atan2(S.z, -S.x);
6464
6464
  l(C, _t + 0, f, mt), l(N, _t + 2, v, mt), l(j, _t + 4, y, mt);
6465
6465
  }
6466
6466
  for (f = 0; f < c.length; f += 6)
6467
- v = c[f + 0], y = c[f + 2], M = c[f + 4], C = Math.min(v, y, M), 0.9 < Math.max(v, y, M) && 0.1 > C && (0.2 > v && (c[f + 0] += 1), 0.2 > y && (c[f + 2] += 1), 0.2 > M && (c[f + 4] += 1));
6467
+ v = c[f + 0], y = c[f + 2], S = c[f + 4], C = Math.min(v, y, S), 0.9 < Math.max(v, y, S) && 0.1 > C && (0.2 > v && (c[f + 0] += 1), 0.2 > y && (c[f + 2] += 1), 0.2 > S && (c[f + 4] += 1));
6468
6468
  }(), this.addAttribute("position", new Pt(h, 3)), this.addAttribute("normal", new Pt(h.slice(), 3)), this.addAttribute("uv", new Pt(c, 2)), n === 0 ? this.computeVertexNormals() : this.normalizeNormals();
6469
6469
  }
6470
6470
  function Ys(t, e) {
@@ -6798,8 +6798,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6798
6798
  function s(_t) {
6799
6799
  v = t.getPointAt(_t / e, v);
6800
6800
  var mt = l.normals[_t];
6801
- for (_t = l.binormals[_t], M = 0; M <= n; M++) {
6802
- var bt = M / n * Math.PI * 2, xt = Math.sin(bt);
6801
+ for (_t = l.binormals[_t], S = 0; S <= n; S++) {
6802
+ var bt = S / n * Math.PI * 2, xt = Math.sin(bt);
6803
6803
  bt = -Math.cos(bt), c.x = bt * mt.x + xt * _t.x, c.y = bt * mt.y + xt * _t.y, c.z = bt * mt.z + xt * _t.z, c.normalize(), N.push(c.x, c.y, c.z), h.x = v.x + i * c.x, h.y = v.y + i * c.y, h.z = v.z + i * c.z, C.push(h.x, h.y, h.z);
6804
6804
  }
6805
6805
  }
@@ -6812,17 +6812,17 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6812
6812
  }, e = e || 64, i = i || 1, n = n || 8, o = o || !1;
6813
6813
  var l = t.computeFrenetFrames(e, o);
6814
6814
  this.tangents = l.tangents, this.normals = l.normals, this.binormals = l.binormals;
6815
- var h = new m(), c = new m(), f = new p(), v = new m(), y, M, C = [], N = [], j = [], et = [];
6815
+ var h = new m(), c = new m(), f = new p(), v = new m(), y, S, C = [], N = [], j = [], et = [];
6816
6816
  for (y = 0; y < e; y++)
6817
6817
  s(y);
6818
6818
  for (s(o === !1 ? e : 0), y = 0; y <= e; y++)
6819
- for (M = 0; M <= n; M++)
6820
- f.x = y / e, f.y = M / n, j.push(f.x, f.y);
6819
+ for (S = 0; S <= n; S++)
6820
+ f.x = y / e, f.y = S / n, j.push(f.x, f.y);
6821
6821
  (function() {
6822
- for (M = 1; M <= e; M++)
6822
+ for (S = 1; S <= e; S++)
6823
6823
  for (y = 1; y <= n; y++) {
6824
- var _t = (n + 1) * M + (y - 1), mt = (n + 1) * M + y, bt = (n + 1) * (M - 1) + y;
6825
- et.push((n + 1) * (M - 1) + (y - 1), _t, bt), et.push(_t, mt, bt);
6824
+ var _t = (n + 1) * S + (y - 1), mt = (n + 1) * S + y, bt = (n + 1) * (S - 1) + y;
6825
+ et.push((n + 1) * (S - 1) + (y - 1), _t, bt), et.push(_t, mt, bt);
6826
6826
  }
6827
6827
  })(), this.setIndex(et), this.addAttribute("position", new Pt(C, 3)), this.addAttribute("normal", new Pt(N, 3)), this.addAttribute("uv", new Pt(j, 2));
6828
6828
  }
@@ -6851,12 +6851,12 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6851
6851
  p: o,
6852
6852
  q: s
6853
6853
  }, t = t || 1, e = e || 0.4, i = Math.floor(i) || 64, n = Math.floor(n) || 8, o = o || 2, s = s || 3;
6854
- var h = [], c = [], f = [], v = [], y, M = new m(), C = new m(), N = new m(), j = new m(), et = new m(), _t = new m(), mt = new m();
6854
+ var h = [], c = [], f = [], v = [], y, S = new m(), C = new m(), N = new m(), j = new m(), et = new m(), _t = new m(), mt = new m();
6855
6855
  for (y = 0; y <= i; ++y) {
6856
6856
  var bt = y / i * o * Math.PI * 2;
6857
6857
  for (l(bt, o, s, t, N), l(bt + 0.01, o, s, t, j), _t.subVectors(j, N), mt.addVectors(j, N), et.crossVectors(_t, mt), mt.crossVectors(et, _t), et.normalize(), mt.normalize(), bt = 0; bt <= n; ++bt) {
6858
6858
  var xt = bt / n * Math.PI * 2, Wt = -e * Math.cos(xt);
6859
- xt = e * Math.sin(xt), M.x = N.x + (Wt * mt.x + xt * et.x), M.y = N.y + (Wt * mt.y + xt * et.y), M.z = N.z + (Wt * mt.z + xt * et.z), c.push(M.x, M.y, M.z), C.subVectors(M, N).normalize(), f.push(C.x, C.y, C.z), v.push(y / i), v.push(bt / n);
6859
+ xt = e * Math.sin(xt), S.x = N.x + (Wt * mt.x + xt * et.x), S.y = N.y + (Wt * mt.y + xt * et.y), S.z = N.z + (Wt * mt.z + xt * et.z), c.push(S.x, S.y, S.z), C.subVectors(S, N).normalize(), f.push(C.x, C.y, C.z), v.push(y / i), v.push(bt / n);
6860
6860
  }
6861
6861
  }
6862
6862
  for (bt = 1; bt <= i; bt++)
@@ -6881,15 +6881,15 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6881
6881
  tubularSegments: n,
6882
6882
  arc: o
6883
6883
  }, t = t || 1, e = e || 0.4, i = Math.floor(i) || 8, n = Math.floor(n) || 6, o = o || 2 * Math.PI;
6884
- var s = [], l = [], h = [], c = [], f = new m(), v = new m(), y = new m(), M, C;
6885
- for (M = 0; M <= i; M++)
6884
+ var s = [], l = [], h = [], c = [], f = new m(), v = new m(), y = new m(), S, C;
6885
+ for (S = 0; S <= i; S++)
6886
6886
  for (C = 0; C <= n; C++) {
6887
- var N = C / n * o, j = M / i * Math.PI * 2;
6888
- v.x = (t + e * Math.cos(j)) * Math.cos(N), v.y = (t + e * Math.cos(j)) * Math.sin(N), v.z = e * Math.sin(j), l.push(v.x, v.y, v.z), f.x = t * Math.cos(N), f.y = t * Math.sin(N), y.subVectors(v, f).normalize(), h.push(y.x, y.y, y.z), c.push(C / n), c.push(M / i);
6887
+ var N = C / n * o, j = S / i * Math.PI * 2;
6888
+ v.x = (t + e * Math.cos(j)) * Math.cos(N), v.y = (t + e * Math.cos(j)) * Math.sin(N), v.z = e * Math.sin(j), l.push(v.x, v.y, v.z), f.x = t * Math.cos(N), f.y = t * Math.sin(N), y.subVectors(v, f).normalize(), h.push(y.x, y.y, y.z), c.push(C / n), c.push(S / i);
6889
6889
  }
6890
- for (M = 1; M <= i; M++)
6890
+ for (S = 1; S <= i; S++)
6891
6891
  for (C = 1; C <= n; C++)
6892
- t = (n + 1) * (M - 1) + C - 1, e = (n + 1) * (M - 1) + C, o = (n + 1) * M + C, s.push((n + 1) * M + C - 1, t, o), s.push(t, e, o);
6892
+ t = (n + 1) * (S - 1) + C - 1, e = (n + 1) * (S - 1) + C, o = (n + 1) * S + C, s.push((n + 1) * S + C - 1, t, o), s.push(t, e, o);
6893
6893
  this.setIndex(s), this.addAttribute("position", new Pt(l, 3)), this.addAttribute("normal", new Pt(h, 3)), this.addAttribute("uv", new Pt(c, 2));
6894
6894
  }
6895
6895
  function el(t, e, i, n, o) {
@@ -6927,7 +6927,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6927
6927
  c.z === null && (c.z = Pa(c.x, c.y, n, o, s)), c.prevZ = c.prev, c = c.nextZ = c.next;
6928
6928
  while (c !== h);
6929
6929
  c.prevZ.nextZ = null, c.prevZ = null, h = c;
6930
- var f, v, y, M, C = 1;
6930
+ var f, v, y, S, C = 1;
6931
6931
  do {
6932
6932
  c = h;
6933
6933
  var N = h = null;
@@ -6936,8 +6936,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6936
6936
  var j = c;
6937
6937
  for (f = y = 0; f < C && (y++, j = j.nextZ, j); f++)
6938
6938
  ;
6939
- for (M = C; 0 < y || 0 < M && j; )
6940
- y !== 0 && (M === 0 || !j || c.z <= j.z) ? (f = c, c = c.nextZ, y--) : (f = j, j = j.nextZ, M--), N ? N.nextZ = f : h = f, f.prevZ = N, N = f;
6939
+ for (S = C; 0 < y || 0 < S && j; )
6940
+ y !== 0 && (S === 0 || !j || c.z <= j.z) ? (f = c, c = c.nextZ, y--) : (f = j, j = j.nextZ, S--), N ? N.nextZ = f : h = f, f.prevZ = N, N = f;
6941
6941
  c = j;
6942
6942
  }
6943
6943
  N.nextZ = null, C *= 2;
@@ -6946,7 +6946,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6946
6946
  for (h = t; t.prev !== t.next; ) {
6947
6947
  if (c = t.prev, j = t.next, s)
6948
6948
  t: {
6949
- N = t, M = n;
6949
+ N = t, S = n;
6950
6950
  var et = o, _t = s;
6951
6951
  if (v = N.prev, y = N, C = N.next, 0 <= qi(v, y, C))
6952
6952
  N = !1;
@@ -6955,10 +6955,10 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
6955
6955
  for (f = Pa(
6956
6956
  v.x < y.x ? v.x < C.x ? v.x : C.x : y.x < C.x ? y.x : C.x,
6957
6957
  v.y < y.y ? v.y < C.y ? v.y : C.y : y.y < C.y ? y.y : C.y,
6958
- M,
6958
+ S,
6959
6959
  et,
6960
6960
  _t
6961
- ), M = Pa(mt, bt, M, et, _t), et = N.nextZ; et && et.z <= M; ) {
6961
+ ), S = Pa(mt, bt, S, et, _t), et = N.nextZ; et && et.z <= S; ) {
6962
6962
  if (et !== N.prev && et !== N.next && Ca(v.x, v.y, y.x, y.y, C.x, C.y, et.x, et.y) && 0 <= qi(et.prev, et, et.next)) {
6963
6963
  N = !1;
6964
6964
  break t;
@@ -7154,7 +7154,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7154
7154
  }
7155
7155
  }
7156
7156
  }
7157
- function M(Xe, ri, Ai) {
7157
+ function S(Xe, ri, Ai) {
7158
7158
  et.push(Xe), et.push(ri), et.push(Ai);
7159
7159
  }
7160
7160
  function C(Xe, ri, Ai) {
@@ -7210,23 +7210,23 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7210
7210
  var Gi = Wt * Math.cos(Qe * Math.PI / 2);
7211
7211
  for (ji = W * Math.sin(Qe * Math.PI / 2), Ae = 0, Qe = cn.length; Ae < Qe; Ae++) {
7212
7212
  var Pe = f(cn[Ae], _t[Ae], ji);
7213
- M(Pe.x, Pe.y, -Gi);
7213
+ S(Pe.x, Pe.y, -Gi);
7214
7214
  }
7215
7215
  for (Ke = 0, se = je.length; Ke < se; Ke++)
7216
7216
  for (ci = je[Ke], ei = It[Ke], Ae = 0, Qe = ci.length; Ae < Qe; Ae++)
7217
- Pe = f(ci[Ae], ei[Ae], ji), M(Pe.x, Pe.y, -Gi);
7217
+ Pe = f(ci[Ae], ei[Ae], ji), S(Pe.x, Pe.y, -Gi);
7218
7218
  }
7219
7219
  for (ji = W, Ae = 0; Ae < Fi; Ae++)
7220
- Pe = xt ? f(c[Ae], Ye[Ae], ji) : c[Ae], $t ? (Oe.copy(Te.normals[0]).multiplyScalar(Pe.x), pe.copy(Te.binormals[0]).multiplyScalar(Pe.y), be.copy(qt[0]).add(Oe).add(pe), M(be.x, be.y, be.z)) : M(Pe.x, Pe.y, 0);
7220
+ Pe = xt ? f(c[Ae], Ye[Ae], ji) : c[Ae], $t ? (Oe.copy(Te.normals[0]).multiplyScalar(Pe.x), pe.copy(Te.binormals[0]).multiplyScalar(Pe.y), be.copy(qt[0]).add(Oe).add(pe), S(be.x, be.y, be.z)) : S(Pe.x, Pe.y, 0);
7221
7221
  for (Qe = 1; Qe <= mt; Qe++)
7222
7222
  for (Ae = 0; Ae < Fi; Ae++)
7223
- Pe = xt ? f(c[Ae], Ye[Ae], ji) : c[Ae], $t ? (Oe.copy(Te.normals[Qe]).multiplyScalar(Pe.x), pe.copy(Te.binormals[Qe]).multiplyScalar(Pe.y), be.copy(qt[Qe]).add(Oe).add(pe), M(be.x, be.y, be.z)) : M(Pe.x, Pe.y, bt / mt * Qe);
7223
+ Pe = xt ? f(c[Ae], Ye[Ae], ji) : c[Ae], $t ? (Oe.copy(Te.normals[Qe]).multiplyScalar(Pe.x), pe.copy(Te.binormals[Qe]).multiplyScalar(Pe.y), be.copy(qt[Qe]).add(Oe).add(pe), S(be.x, be.y, be.z)) : S(Pe.x, Pe.y, bt / mt * Qe);
7224
7224
  for (Ut = it - 1; 0 <= Ut; Ut--) {
7225
7225
  for (Qe = Ut / it, Gi = Wt * Math.cos(Qe * Math.PI / 2), ji = W * Math.sin(Qe * Math.PI / 2), Ae = 0, Qe = cn.length; Ae < Qe; Ae++)
7226
- Pe = f(cn[Ae], _t[Ae], ji), M(Pe.x, Pe.y, bt + Gi);
7226
+ Pe = f(cn[Ae], _t[Ae], ji), S(Pe.x, Pe.y, bt + Gi);
7227
7227
  for (Ke = 0, se = je.length; Ke < se; Ke++)
7228
7228
  for (ci = je[Ke], ei = It[Ke], Ae = 0, Qe = ci.length; Ae < Qe; Ae++)
7229
- Pe = f(ci[Ae], ei[Ae], ji), $t ? M(Pe.x, Pe.y + qt[mt - 1].y, qt[mt - 1].x + Gi) : M(Pe.x, Pe.y, bt + Gi);
7229
+ Pe = f(ci[Ae], ei[Ae], ji), $t ? S(Pe.x, Pe.y + qt[mt - 1].y, qt[mt - 1].x + Gi) : S(Pe.x, Pe.y, bt + Gi);
7230
7230
  }
7231
7231
  (function() {
7232
7232
  var Xe = o.length / 3;
@@ -7296,12 +7296,12 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7296
7296
  thetaStart: s,
7297
7297
  thetaLength: l
7298
7298
  }, t = t || 1, e = Math.max(3, Math.floor(e) || 8), i = Math.max(2, Math.floor(i) || 6), n = n !== void 0 ? n : 0, o = o !== void 0 ? o : 2 * Math.PI, s = s !== void 0 ? s : 0, l = l !== void 0 ? l : Math.PI;
7299
- var h = s + l, c, f, v = 0, y = [], M = new m(), C = new m(), N = [], j = [], et = [], _t = [];
7299
+ var h = s + l, c, f, v = 0, y = [], S = new m(), C = new m(), N = [], j = [], et = [], _t = [];
7300
7300
  for (f = 0; f <= i; f++) {
7301
7301
  var mt = [], bt = f / i;
7302
7302
  for (c = 0; c <= e; c++) {
7303
7303
  var xt = c / e;
7304
- M.x = -t * Math.cos(n + xt * o) * Math.sin(s + bt * l), M.y = t * Math.cos(s + bt * l), M.z = t * Math.sin(n + xt * o) * Math.sin(s + bt * l), j.push(M.x, M.y, M.z), C.set(M.x, M.y, M.z).normalize(), et.push(C.x, C.y, C.z), _t.push(xt, 1 - bt), mt.push(v++);
7304
+ S.x = -t * Math.cos(n + xt * o) * Math.sin(s + bt * l), S.y = t * Math.cos(s + bt * l), S.z = t * Math.sin(n + xt * o) * Math.sin(s + bt * l), j.push(S.x, S.y, S.z), C.set(S.x, S.y, S.z).normalize(), et.push(C.x, C.y, C.z), _t.push(xt, 1 - bt), mt.push(v++);
7305
7305
  }
7306
7306
  y.push(mt);
7307
7307
  }
@@ -7329,10 +7329,10 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7329
7329
  thetaStart: o,
7330
7330
  thetaLength: s
7331
7331
  }, t = t || 0.5, e = e || 1, o = o !== void 0 ? o : 0, s = s !== void 0 ? s : 2 * Math.PI, i = i !== void 0 ? Math.max(3, i) : 8, n = n !== void 0 ? Math.max(1, n) : 1;
7332
- var l = [], h = [], c = [], f = [], v = t, y = (e - t) / n, M = new m(), C = new p(), N, j;
7332
+ var l = [], h = [], c = [], f = [], v = t, y = (e - t) / n, S = new m(), C = new p(), N, j;
7333
7333
  for (N = 0; N <= n; N++) {
7334
7334
  for (j = 0; j <= i; j++)
7335
- t = o + j / i * s, M.x = v * Math.cos(t), M.y = v * Math.sin(t), h.push(M.x, M.y, M.z), c.push(0, 0, 1), C.x = (M.x / e + 1) / 2, C.y = (M.y / e + 1) / 2, f.push(C.x, C.y);
7335
+ t = o + j / i * s, S.x = v * Math.cos(t), S.y = v * Math.sin(t), h.push(S.x, S.y, S.z), c.push(0, 0, 1), C.x = (S.x / e + 1) / 2, C.y = (S.y / e + 1) / 2, f.push(C.x, C.y);
7336
7336
  v += y;
7337
7337
  }
7338
7338
  for (N = 0; N < n; N++)
@@ -7347,9 +7347,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7347
7347
  Ft.call(this), this.type = "LatheBufferGeometry", this.parameters = { points: t, segments: e, phiStart: i, phiLength: n }, e = Math.floor(e) || 12, i = i || 0, n = n || 2 * Math.PI, n = fi.clamp(n, 0, 2 * Math.PI);
7348
7348
  var o = [], s = [], l = [], h = 1 / e, c = new m(), f = new p(), v;
7349
7349
  for (v = 0; v <= e; v++) {
7350
- var y = i + v * h * n, M = Math.sin(y), C = Math.cos(y);
7350
+ var y = i + v * h * n, S = Math.sin(y), C = Math.cos(y);
7351
7351
  for (y = 0; y <= t.length - 1; y++)
7352
- c.x = t[y].x * M, c.y = t[y].y, c.z = t[y].x * C, s.push(c.x, c.y, c.z), f.x = v / e, f.y = y / (t.length - 1), l.push(f.x, f.y);
7352
+ c.x = t[y].x * S, c.y = t[y].y, c.z = t[y].x * C, s.push(c.x, c.y, c.z), f.x = v / e, f.y = y / (t.length - 1), l.push(f.x, f.y);
7353
7353
  }
7354
7354
  for (v = 0; v < e; v++)
7355
7355
  for (y = 0; y < t.length - 1; y++)
@@ -7363,7 +7363,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7363
7363
  }
7364
7364
  function vo(t, e) {
7365
7365
  function i(v) {
7366
- var y, M = o.length / 3;
7366
+ var y, S = o.length / 3;
7367
7367
  v = v.extractPoints(e);
7368
7368
  var C = v.shape, N = v.holes;
7369
7369
  if (Vr.isClockWise(C) === !1)
@@ -7377,7 +7377,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7377
7377
  for (v = 0, y = C.length; v < y; v++)
7378
7378
  j = C[v], o.push(j.x, j.y, 0), s.push(0, 0, 1), l.push(j.x, j.y);
7379
7379
  for (v = 0, y = et.length; v < y; v++)
7380
- C = et[v], n.push(C[0] + M, C[1] + M, C[2] + M), c += 3;
7380
+ C = et[v], n.push(C[0] + S, C[1] + S, C[2] + S), c += 3;
7381
7381
  }
7382
7382
  Ft.call(this), this.type = "ShapeBufferGeometry", this.parameters = { shapes: t, curveSegments: e }, e = e || 12;
7383
7383
  var n = [], o = [], s = [], l = [], h = 0, c = 0;
@@ -7409,8 +7409,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7409
7409
  l.mergeVertices(), l.computeFaceNormals(), t = l.vertices, l = l.faces;
7410
7410
  for (var h = 0, c = l.length; h < c; h++)
7411
7411
  for (var f = l[h], v = 0; 3 > v; v++) {
7412
- var y = f[s[v]], M = f[s[(v + 1) % 3]];
7413
- n[0] = Math.min(y, M), n[1] = Math.max(y, M), y = n[0] + "," + n[1], o[y] === void 0 ? o[y] = { index1: n[0], index2: n[1], face1: h, face2: void 0 } : o[y].face2 = h;
7412
+ var y = f[s[v]], S = f[s[(v + 1) % 3]];
7413
+ n[0] = Math.min(y, S), n[1] = Math.max(y, S), y = n[0] + "," + n[1], o[y] === void 0 ? o[y] = { index1: n[0], index2: n[1], face1: h, face2: void 0 } : o[y].face2 = h;
7414
7414
  }
7415
7415
  for (y in o)
7416
7416
  n = o[y], (n.face2 === void 0 || l[n.face1].normal.dot(l[n.face2].normal) <= e) && (s = t[n.index1], i.push(s.x, s.y, s.z), s = t[n.index2], i.push(s.x, s.y, s.z));
@@ -7432,11 +7432,11 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7432
7432
  function c(mt) {
7433
7433
  var bt, xt = new p(), Wt = new m(), W = 0, it = mt === !0 ? t : e, It = mt === !0 ? 1 : -1, ee = N;
7434
7434
  for (bt = 1; bt <= n; bt++)
7435
- y.push(0, et * It, 0), M.push(0, It, 0), C.push(0.5, 0.5), N++;
7435
+ y.push(0, et * It, 0), S.push(0, It, 0), C.push(0.5, 0.5), N++;
7436
7436
  var $t = N;
7437
7437
  for (bt = 0; bt <= n; bt++) {
7438
7438
  var qt = bt / n * h + l, Te = Math.cos(qt);
7439
- qt = Math.sin(qt), Wt.x = it * qt, Wt.y = et * It, Wt.z = it * Te, y.push(Wt.x, Wt.y, Wt.z), M.push(0, It, 0), xt.x = 0.5 * Te + 0.5, xt.y = 0.5 * qt * It + 0.5, C.push(xt.x, xt.y), N++;
7439
+ qt = Math.sin(qt), Wt.x = it * qt, Wt.y = et * It, Wt.z = it * Te, y.push(Wt.x, Wt.y, Wt.z), S.push(0, It, 0), xt.x = 0.5 * Te + 0.5, xt.y = 0.5 * qt * It + 0.5, C.push(xt.x, xt.y), N++;
7440
7440
  }
7441
7441
  for (bt = 0; bt < n; bt++)
7442
7442
  xt = ee + bt, Wt = $t + bt, mt === !0 ? v.push(Wt, Wt + 1, xt) : v.push(Wt + 1, Wt, xt), W += 3;
@@ -7454,14 +7454,14 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7454
7454
  };
7455
7455
  var f = this;
7456
7456
  t = t !== void 0 ? t : 1, e = e !== void 0 ? e : 1, i = i || 1, n = Math.floor(n) || 8, o = Math.floor(o) || 1, s = s !== void 0 ? s : !1, l = l !== void 0 ? l : 0, h = h !== void 0 ? h : 2 * Math.PI;
7457
- var v = [], y = [], M = [], C = [], N = 0, j = [], et = i / 2, _t = 0;
7457
+ var v = [], y = [], S = [], C = [], N = 0, j = [], et = i / 2, _t = 0;
7458
7458
  (function() {
7459
7459
  var mt, bt, xt = new m(), Wt = new m(), W = 0, it = (e - t) / i;
7460
7460
  for (bt = 0; bt <= o; bt++) {
7461
7461
  var It = [], ee = bt / o, $t = ee * (e - t) + t;
7462
7462
  for (mt = 0; mt <= n; mt++) {
7463
7463
  var qt = mt / n, Te = qt * h + l, pe = Math.sin(Te);
7464
- Te = Math.cos(Te), Wt.x = $t * pe, Wt.y = -ee * i + et, Wt.z = $t * Te, y.push(Wt.x, Wt.y, Wt.z), xt.set(pe, it, Te).normalize(), M.push(xt.x, xt.y, xt.z), C.push(qt, 1 - ee), It.push(N++);
7464
+ Te = Math.cos(Te), Wt.x = $t * pe, Wt.y = -ee * i + et, Wt.z = $t * Te, y.push(Wt.x, Wt.y, Wt.z), xt.set(pe, it, Te).normalize(), S.push(xt.x, xt.y, xt.z), C.push(qt, 1 - ee), It.push(N++);
7465
7465
  }
7466
7466
  j.push(It);
7467
7467
  }
@@ -7469,7 +7469,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7469
7469
  for (bt = 0; bt < o; bt++)
7470
7470
  xt = j[bt + 1][mt], Wt = j[bt + 1][mt + 1], it = j[bt][mt + 1], v.push(j[bt][mt], xt, it), v.push(xt, Wt, it), W += 6;
7471
7471
  f.addGroup(_t, W, 0), _t += W;
7472
- })(), s === !1 && (0 < t && c(!0), 0 < e && c(!1)), this.setIndex(v), this.addAttribute("position", new Pt(y, 3)), this.addAttribute("normal", new Pt(M, 3)), this.addAttribute("uv", new Pt(C, 2));
7472
+ })(), s === !1 && (0 < t && c(!0), 0 < e && c(!1)), this.setIndex(v), this.addAttribute("position", new Pt(y, 3)), this.addAttribute("normal", new Pt(S, 3)), this.addAttribute("uv", new Pt(C, 2));
7473
7473
  }
7474
7474
  function Ms(t, e, i, n, o, s, l) {
7475
7475
  to.call(this, 0, t, e, i, n, o, s, l), this.type = "ConeGeometry", this.parameters = {
@@ -7502,8 +7502,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7502
7502
  s.push(0, 0, 0), l.push(0, 0, 1), h.push(0.5, 0.5);
7503
7503
  var y = 0;
7504
7504
  for (c = 3; y <= e; y++, c += 3) {
7505
- var M = i + y / e * n;
7506
- f.x = t * Math.cos(M), f.y = t * Math.sin(M), s.push(f.x, f.y, f.z), l.push(0, 0, 1), v.x = (s[c] / t + 1) / 2, v.y = (s[c + 1] / t + 1) / 2, h.push(v.x, v.y);
7505
+ var S = i + y / e * n;
7506
+ f.x = t * Math.cos(S), f.y = t * Math.sin(S), s.push(f.x, f.y, f.z), l.push(0, 0, 1), v.x = (s[c] / t + 1) / 2, v.y = (s[c + 1] / t + 1) / 2, h.push(v.x, v.y);
7507
7507
  }
7508
7508
  for (c = 1; c <= e; c++)
7509
7509
  o.push(c, c + 1, 0);
@@ -7824,11 +7824,11 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
7824
7824
  var f = new ye(90, 1, t, e);
7825
7825
  f.up.set(0, -1, 0), f.lookAt(new m(0, 0, -1)), this.add(f), n = n || { format: 1022, magFilter: 1006, minFilter: 1006 }, this.renderTarget = new Y(i, i, n), this.renderTarget.texture.name = "CubeCamera", this.update = function(v, y) {
7826
7826
  this.parent === null && this.updateMatrixWorld();
7827
- var M = this.renderTarget, C = M.texture.generateMipmaps;
7828
- M.texture.generateMipmaps = !1, M.activeCubeFace = 0, v.render(y, o, M), M.activeCubeFace = 1, v.render(y, s, M), M.activeCubeFace = 2, v.render(y, l, M), M.activeCubeFace = 3, v.render(y, h, M), M.activeCubeFace = 4, v.render(y, c, M), M.texture.generateMipmaps = C, M.activeCubeFace = 5, v.render(y, f, M), v.setRenderTarget(null);
7829
- }, this.clear = function(v, y, M, C) {
7827
+ var S = this.renderTarget, C = S.texture.generateMipmaps;
7828
+ S.texture.generateMipmaps = !1, S.activeCubeFace = 0, v.render(y, o, S), S.activeCubeFace = 1, v.render(y, s, S), S.activeCubeFace = 2, v.render(y, l, S), S.activeCubeFace = 3, v.render(y, h, S), S.activeCubeFace = 4, v.render(y, c, S), S.texture.generateMipmaps = C, S.activeCubeFace = 5, v.render(y, f, S), v.setRenderTarget(null);
7829
+ }, this.clear = function(v, y, S, C) {
7830
7830
  for (var N = this.renderTarget, j = 0; 6 > j; j++)
7831
- N.activeCubeFace = j, v.setRenderTarget(N), v.clear(y, M, C);
7831
+ N.activeCubeFace = j, v.setRenderTarget(N), v.clear(y, S, C);
7832
7832
  v.setRenderTarget(null);
7833
7833
  };
7834
7834
  }
@@ -8049,9 +8049,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8049
8049
  }
8050
8050
  for (c = 0; c <= i; c++) {
8051
8051
  y = c & 1 ? o : s;
8052
- var M = t - t / i * c;
8052
+ var S = t - t / i * c;
8053
8053
  for (e = 0; e < n; e++)
8054
- f = e / n * 2 * Math.PI, v = Math.sin(f) * M, f = Math.cos(f) * M, l.push(v, 0, f), h.push(y.r, y.g, y.b), f = (e + 1) / n * 2 * Math.PI, v = Math.sin(f) * M, f = Math.cos(f) * M, l.push(v, 0, f), h.push(y.r, y.g, y.b);
8054
+ f = e / n * 2 * Math.PI, v = Math.sin(f) * S, f = Math.cos(f) * S, l.push(v, 0, f), h.push(y.r, y.g, y.b), f = (e + 1) / n * 2 * Math.PI, v = Math.sin(f) * S, f = Math.cos(f) * S, l.push(v, 0, f), h.push(y.r, y.g, y.b);
8055
8055
  }
8056
8056
  t = new Ft(), t.addAttribute("position", new Pt(l, 3)), t.addAttribute("color", new Pt(h, 3)), l = new Di({ vertexColors: 2 }), mi.call(this, t, l);
8057
8057
  }
@@ -8073,8 +8073,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8073
8073
  function i(C, N) {
8074
8074
  s.push(0, 0, 0), l.push(N.r, N.g, N.b), h[C] === void 0 && (h[C] = []), h[C].push(s.length / 3 - 1);
8075
8075
  }
8076
- var n = new Ft(), o = new Di({ color: 16777215, vertexColors: 1 }), s = [], l = [], h = {}, c = new A(16755200), f = new A(16711680), v = new A(43775), y = new A(16777215), M = new A(3355443);
8077
- e("n1", "n2", c), e("n2", "n4", c), e("n4", "n3", c), e("n3", "n1", c), e("f1", "f2", c), e("f2", "f4", c), e("f4", "f3", c), e("f3", "f1", c), e("n1", "f1", c), e("n2", "f2", c), e("n3", "f3", c), e("n4", "f4", c), e("p", "n1", f), e("p", "n2", f), e("p", "n3", f), e("p", "n4", f), e("u1", "u2", v), e("u2", "u3", v), e("u3", "u1", v), e("c", "t", y), e("p", "c", M), e("cn1", "cn2", M), e("cn3", "cn4", M), e("cf1", "cf2", M), e("cf3", "cf4", M), n.addAttribute("position", new Pt(s, 3)), n.addAttribute("color", new Pt(l, 3)), mi.call(this, n, o), this.camera = t, this.camera.updateProjectionMatrix && this.camera.updateProjectionMatrix(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.pointMap = h, this.update();
8076
+ var n = new Ft(), o = new Di({ color: 16777215, vertexColors: 1 }), s = [], l = [], h = {}, c = new A(16755200), f = new A(16711680), v = new A(43775), y = new A(16777215), S = new A(3355443);
8077
+ e("n1", "n2", c), e("n2", "n4", c), e("n4", "n3", c), e("n3", "n1", c), e("f1", "f2", c), e("f2", "f4", c), e("f4", "f3", c), e("f3", "f1", c), e("n1", "f1", c), e("n2", "f2", c), e("n3", "f3", c), e("n4", "f4", c), e("p", "n1", f), e("p", "n2", f), e("p", "n3", f), e("p", "n4", f), e("u1", "u2", v), e("u2", "u3", v), e("u3", "u1", v), e("c", "t", y), e("p", "c", S), e("cn1", "cn2", S), e("cn3", "cn4", S), e("cf1", "cf2", S), e("cf3", "cf4", S), n.addAttribute("position", new Pt(s, 3)), n.addAttribute("color", new Pt(l, 3)), mi.call(this, n, o), this.camera = t, this.camera.updateProjectionMatrix && this.camera.updateProjectionMatrix(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.pointMap = h, this.update();
8078
8078
  }
8079
8079
  function ro(t, e) {
8080
8080
  this.object = t, e === void 0 && (e = 16776960), t = new Uint16Array([
@@ -8541,9 +8541,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8541
8541
  }
8542
8542
  }), Object.assign(J.prototype, {
8543
8543
  isMatrix4: !0,
8544
- set: function(t, e, i, n, o, s, l, h, c, f, v, y, M, C, N, j) {
8544
+ set: function(t, e, i, n, o, s, l, h, c, f, v, y, S, C, N, j) {
8545
8545
  var et = this.elements;
8546
- return et[0] = t, et[4] = e, et[8] = i, et[12] = n, et[1] = o, et[5] = s, et[9] = l, et[13] = h, et[2] = c, et[6] = f, et[10] = v, et[14] = y, et[3] = M, et[7] = C, et[11] = N, et[15] = j, this;
8546
+ return et[0] = t, et[4] = e, et[8] = i, et[12] = n, et[1] = o, et[5] = s, et[9] = l, et[13] = h, et[2] = c, et[6] = f, et[10] = v, et[14] = y, et[3] = S, et[7] = C, et[11] = N, et[15] = j, this;
8547
8547
  },
8548
8548
  identity: function() {
8549
8549
  return this.set(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1), this;
@@ -8630,10 +8630,10 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8630
8630
  multiplyMatrices: function(t, e) {
8631
8631
  var i = t.elements, n = e.elements;
8632
8632
  e = this.elements, t = i[0];
8633
- var o = i[4], s = i[8], l = i[12], h = i[1], c = i[5], f = i[9], v = i[13], y = i[2], M = i[6], C = i[10], N = i[14], j = i[3], et = i[7], _t = i[11];
8633
+ var o = i[4], s = i[8], l = i[12], h = i[1], c = i[5], f = i[9], v = i[13], y = i[2], S = i[6], C = i[10], N = i[14], j = i[3], et = i[7], _t = i[11];
8634
8634
  i = i[15];
8635
8635
  var mt = n[0], bt = n[4], xt = n[8], Wt = n[12], W = n[1], it = n[5], It = n[9], ee = n[13], $t = n[2], qt = n[6], Te = n[10], pe = n[14], Oe = n[3], be = n[7], se = n[11];
8636
- return n = n[15], e[0] = t * mt + o * W + s * $t + l * Oe, e[4] = t * bt + o * it + s * qt + l * be, e[8] = t * xt + o * It + s * Te + l * se, e[12] = t * Wt + o * ee + s * pe + l * n, e[1] = h * mt + c * W + f * $t + v * Oe, e[5] = h * bt + c * it + f * qt + v * be, e[9] = h * xt + c * It + f * Te + v * se, e[13] = h * Wt + c * ee + f * pe + v * n, e[2] = y * mt + M * W + C * $t + N * Oe, e[6] = y * bt + M * it + C * qt + N * be, e[10] = y * xt + M * It + C * Te + N * se, e[14] = y * Wt + M * ee + C * pe + N * n, e[3] = j * mt + et * W + _t * $t + i * Oe, e[7] = j * bt + et * it + _t * qt + i * be, e[11] = j * xt + et * It + _t * Te + i * se, e[15] = j * Wt + et * ee + _t * pe + i * n, this;
8636
+ return n = n[15], e[0] = t * mt + o * W + s * $t + l * Oe, e[4] = t * bt + o * it + s * qt + l * be, e[8] = t * xt + o * It + s * Te + l * se, e[12] = t * Wt + o * ee + s * pe + l * n, e[1] = h * mt + c * W + f * $t + v * Oe, e[5] = h * bt + c * it + f * qt + v * be, e[9] = h * xt + c * It + f * Te + v * se, e[13] = h * Wt + c * ee + f * pe + v * n, e[2] = y * mt + S * W + C * $t + N * Oe, e[6] = y * bt + S * it + C * qt + N * be, e[10] = y * xt + S * It + C * Te + N * se, e[14] = y * Wt + S * ee + C * pe + N * n, e[3] = j * mt + et * W + _t * $t + i * Oe, e[7] = j * bt + et * it + _t * qt + i * be, e[11] = j * xt + et * It + _t * Te + i * se, e[15] = j * Wt + et * ee + _t * pe + i * n, this;
8637
8637
  },
8638
8638
  multiplyScalar: function(t) {
8639
8639
  var e = this.elements;
@@ -8648,8 +8648,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8648
8648
  };
8649
8649
  }(),
8650
8650
  determinant: function() {
8651
- var t = this.elements, e = t[0], i = t[4], n = t[8], o = t[12], s = t[1], l = t[5], h = t[9], c = t[13], f = t[2], v = t[6], y = t[10], M = t[14];
8652
- return t[3] * (+o * h * v - n * c * v - o * l * y + i * c * y + n * l * M - i * h * M) + t[7] * (+e * h * M - e * c * y + o * s * y - n * s * M + n * c * f - o * h * f) + t[11] * (+e * c * v - e * l * M - o * s * v + i * s * M + o * l * f - i * c * f) + t[15] * (-n * l * f - e * h * v + e * l * y + n * s * v - i * s * y + i * h * f);
8651
+ var t = this.elements, e = t[0], i = t[4], n = t[8], o = t[12], s = t[1], l = t[5], h = t[9], c = t[13], f = t[2], v = t[6], y = t[10], S = t[14];
8652
+ return t[3] * (+o * h * v - n * c * v - o * l * y + i * c * y + n * l * S - i * h * S) + t[7] * (+e * h * S - e * c * y + o * s * y - n * s * S + n * c * f - o * h * f) + t[11] * (+e * c * v - e * l * S - o * s * v + i * s * S + o * l * f - i * c * f) + t[15] * (-n * l * f - e * h * v + e * l * y + n * s * v - i * s * y + i * h * f);
8653
8653
  },
8654
8654
  transpose: function() {
8655
8655
  var t = this.elements, e = t[1];
@@ -8662,9 +8662,9 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8662
8662
  getInverse: function(t, e) {
8663
8663
  var i = this.elements, n = t.elements;
8664
8664
  t = n[0];
8665
- var o = n[1], s = n[2], l = n[3], h = n[4], c = n[5], f = n[6], v = n[7], y = n[8], M = n[9], C = n[10], N = n[11], j = n[12], et = n[13], _t = n[14];
8665
+ var o = n[1], s = n[2], l = n[3], h = n[4], c = n[5], f = n[6], v = n[7], y = n[8], S = n[9], C = n[10], N = n[11], j = n[12], et = n[13], _t = n[14];
8666
8666
  n = n[15];
8667
- var mt = M * _t * v - et * C * v + et * f * N - c * _t * N - M * f * n + c * C * n, bt = j * C * v - y * _t * v - j * f * N + h * _t * N + y * f * n - h * C * n, xt = y * et * v - j * M * v + j * c * N - h * et * N - y * c * n + h * M * n, Wt = j * M * f - y * et * f - j * c * C + h * et * C + y * c * _t - h * M * _t, W = t * mt + o * bt + s * xt + l * Wt;
8667
+ var mt = S * _t * v - et * C * v + et * f * N - c * _t * N - S * f * n + c * C * n, bt = j * C * v - y * _t * v - j * f * N + h * _t * N + y * f * n - h * C * n, xt = y * et * v - j * S * v + j * c * N - h * et * N - y * c * n + h * S * n, Wt = j * S * f - y * et * f - j * c * C + h * et * C + y * c * _t - h * S * _t, W = t * mt + o * bt + s * xt + l * Wt;
8668
8668
  if (W === 0) {
8669
8669
  if (e === !0)
8670
8670
  throw Error(
@@ -8674,7 +8674,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8674
8674
  "THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0"
8675
8675
  ), this.identity();
8676
8676
  }
8677
- return e = 1 / W, i[0] = mt * e, i[1] = (et * C * l - M * _t * l - et * s * N + o * _t * N + M * s * n - o * C * n) * e, i[2] = (c * _t * l - et * f * l + et * s * v - o * _t * v - c * s * n + o * f * n) * e, i[3] = (M * f * l - c * C * l - M * s * v + o * C * v + c * s * N - o * f * N) * e, i[4] = bt * e, i[5] = (y * _t * l - j * C * l + j * s * N - t * _t * N - y * s * n + t * C * n) * e, i[6] = (j * f * l - h * _t * l - j * s * v + t * _t * v + h * s * n - t * f * n) * e, i[7] = (h * C * l - y * f * l + y * s * v - t * C * v - h * s * N + t * f * N) * e, i[8] = xt * e, i[9] = (j * M * l - y * et * l - j * o * N + t * et * N + y * o * n - t * M * n) * e, i[10] = (h * et * l - j * c * l + j * o * v - t * et * v - h * o * n + t * c * n) * e, i[11] = (y * c * l - h * M * l - y * o * v + t * M * v + h * o * N - t * c * N) * e, i[12] = Wt * e, i[13] = (y * et * s - j * M * s + j * o * C - t * et * C - y * o * _t + t * M * _t) * e, i[14] = (j * c * s - h * et * s - j * o * f + t * et * f + h * o * _t - t * c * _t) * e, i[15] = (h * M * s - y * c * s + y * o * f - t * M * f - h * o * C + t * c * C) * e, this;
8677
+ return e = 1 / W, i[0] = mt * e, i[1] = (et * C * l - S * _t * l - et * s * N + o * _t * N + S * s * n - o * C * n) * e, i[2] = (c * _t * l - et * f * l + et * s * v - o * _t * v - c * s * n + o * f * n) * e, i[3] = (S * f * l - c * C * l - S * s * v + o * C * v + c * s * N - o * f * N) * e, i[4] = bt * e, i[5] = (y * _t * l - j * C * l + j * s * N - t * _t * N - y * s * n + t * C * n) * e, i[6] = (j * f * l - h * _t * l - j * s * v + t * _t * v + h * s * n - t * f * n) * e, i[7] = (h * C * l - y * f * l + y * s * v - t * C * v - h * s * N + t * f * N) * e, i[8] = xt * e, i[9] = (j * S * l - y * et * l - j * o * N + t * et * N + y * o * n - t * S * n) * e, i[10] = (h * et * l - j * c * l + j * o * v - t * et * v - h * o * n + t * c * n) * e, i[11] = (y * c * l - h * S * l - y * o * v + t * S * v + h * o * N - t * c * N) * e, i[12] = Wt * e, i[13] = (y * et * s - j * S * s + j * o * C - t * et * C - y * o * _t + t * S * _t) * e, i[14] = (j * c * s - h * et * s - j * o * f + t * et * f + h * o * _t - t * c * _t) * e, i[15] = (h * S * s - y * c * s + y * o * f - t * S * f - h * o * C + t * c * C) * e, this;
8678
8678
  },
8679
8679
  scale: function(t) {
8680
8680
  var e = this.elements, i = t.x, n = t.y;
@@ -8741,10 +8741,10 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8741
8741
  e = o * c;
8742
8742
  var y = o * f;
8743
8743
  o *= v;
8744
- var M = s * f;
8744
+ var S = s * f;
8745
8745
  s *= v, l *= v, c *= h, f *= h, h *= v, v = i.x;
8746
8746
  var C = i.y;
8747
- return i = i.z, n[0] = (1 - (M + l)) * v, n[1] = (y + h) * v, n[2] = (o - f) * v, n[3] = 0, n[4] = (y - h) * C, n[5] = (1 - (e + l)) * C, n[6] = (s + c) * C, n[7] = 0, n[8] = (o + f) * i, n[9] = (s - c) * i, n[10] = (1 - (e + M)) * i, n[11] = 0, n[12] = t.x, n[13] = t.y, n[14] = t.z, n[15] = 1, this;
8747
+ return i = i.z, n[0] = (1 - (S + l)) * v, n[1] = (y + h) * v, n[2] = (o - f) * v, n[3] = 0, n[4] = (y - h) * C, n[5] = (1 - (e + l)) * C, n[6] = (s + c) * C, n[7] = 0, n[8] = (o + f) * i, n[9] = (s - c) * i, n[10] = (1 - (e + S)) * i, n[11] = 0, n[12] = t.x, n[13] = t.y, n[14] = t.z, n[15] = 1, this;
8748
8748
  },
8749
8749
  decompose: function() {
8750
8750
  var t = new m(), e = new J();
@@ -8795,8 +8795,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
8795
8795
  var v = o[s + 1], y = o[s + 2];
8796
8796
  if (o = o[s + 3], i !== o || h !== n || c !== v || f !== y) {
8797
8797
  s = 1 - l;
8798
- var M = h * n + c * v + f * y + i * o, C = 0 <= M ? 1 : -1, N = 1 - M * M;
8799
- N > Number.EPSILON && (N = Math.sqrt(N), M = Math.atan2(N, M * C), s = Math.sin(s * M) / N, l = Math.sin(l * M) / N), C *= l, h = h * s + n * C, c = c * s + v * C, f = f * s + y * C, i = i * s + o * C, s === 1 - l && (l = 1 / Math.sqrt(h * h + c * c + f * f + i * i), h *= l, c *= l, f *= l, i *= l);
8798
+ var S = h * n + c * v + f * y + i * o, C = 0 <= S ? 1 : -1, N = 1 - S * S;
8799
+ N > Number.EPSILON && (N = Math.sqrt(N), S = Math.atan2(N, S * C), s = Math.sin(s * S) / N, l = Math.sin(l * S) / N), C *= l, h = h * s + n * C, c = c * s + v * C, f = f * s + y * C, i = i * s + o * C, s === 1 - l && (l = 1 / Math.sqrt(h * h + c * c + f * f + i * i), h *= l, c *= l, f *= l, i *= l);
8800
8800
  }
8801
8801
  t[e] = h, t[e + 1] = c, t[e + 2] = f, t[e + 3] = i;
8802
8802
  }
@@ -9258,8 +9258,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
9258
9258
  e = this.elements, t = i[0];
9259
9259
  var o = i[3], s = i[6], l = i[1], h = i[4], c = i[7], f = i[2], v = i[5];
9260
9260
  i = i[8];
9261
- var y = n[0], M = n[3], C = n[6], N = n[1], j = n[4], et = n[7], _t = n[2], mt = n[5];
9262
- return n = n[8], e[0] = t * y + o * N + s * _t, e[3] = t * M + o * j + s * mt, e[6] = t * C + o * et + s * n, e[1] = l * y + h * N + c * _t, e[4] = l * M + h * j + c * mt, e[7] = l * C + h * et + c * n, e[2] = f * y + v * N + i * _t, e[5] = f * M + v * j + i * mt, e[8] = f * C + v * et + i * n, this;
9261
+ var y = n[0], S = n[3], C = n[6], N = n[1], j = n[4], et = n[7], _t = n[2], mt = n[5];
9262
+ return n = n[8], e[0] = t * y + o * N + s * _t, e[3] = t * S + o * j + s * mt, e[6] = t * C + o * et + s * n, e[1] = l * y + h * N + c * _t, e[4] = l * S + h * j + c * mt, e[7] = l * C + h * et + c * n, e[2] = f * y + v * N + i * _t, e[5] = f * S + v * j + i * mt, e[8] = f * C + v * et + i * n, this;
9263
9263
  },
9264
9264
  multiplyScalar: function(t) {
9265
9265
  var e = this.elements;
@@ -9277,7 +9277,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
9277
9277
  t = this.elements;
9278
9278
  var n = i[0], o = i[1], s = i[2], l = i[3], h = i[4], c = i[5], f = i[6], v = i[7];
9279
9279
  i = i[8];
9280
- var y = i * h - c * v, M = c * f - i * l, C = v * l - h * f, N = n * y + o * M + s * C;
9280
+ var y = i * h - c * v, S = c * f - i * l, C = v * l - h * f, N = n * y + o * S + s * C;
9281
9281
  if (N === 0) {
9282
9282
  if (e === !0)
9283
9283
  throw Error(
@@ -9287,7 +9287,7 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
9287
9287
  "THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0"
9288
9288
  ), this.identity();
9289
9289
  }
9290
- return e = 1 / N, t[0] = y * e, t[1] = (s * v - i * o) * e, t[2] = (c * o - s * h) * e, t[3] = M * e, t[4] = (i * n - s * f) * e, t[5] = (s * l - c * n) * e, t[6] = C * e, t[7] = (o * f - v * n) * e, t[8] = (h * n - o * l) * e, this;
9290
+ return e = 1 / N, t[0] = y * e, t[1] = (s * v - i * o) * e, t[2] = (c * o - s * h) * e, t[3] = S * e, t[4] = (i * n - s * f) * e, t[5] = (s * l - c * n) * e, t[6] = C * e, t[7] = (o * f - v * n) * e, t[8] = (h * n - o * l) * e, this;
9291
9291
  },
9292
9292
  transpose: function() {
9293
9293
  var t = this.elements, e = t[1];
@@ -9761,8 +9761,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
9761
9761
  },
9762
9762
  intersectsTriangle: function() {
9763
9763
  function t(y) {
9764
- var M, C = 0;
9765
- for (M = y.length - 3; C <= M; C += 3) {
9764
+ var S, C = 0;
9765
+ for (S = y.length - 3; C <= S; C += 3) {
9766
9766
  h.fromArray(y, C);
9767
9767
  var N = f.x * Math.abs(h.x) + f.y * Math.abs(h.y) + f.z * Math.abs(h.z), j = e.dot(h), et = i.dot(h), _t = n.dot(h);
9768
9768
  if (Math.max(-Math.max(j, et, _t), Math.min(j, et, _t)) > N)
@@ -9993,8 +9993,8 @@ const Vm = { class: "bim_background_plate" }, Xm = { class: "content" }, qm = /*
9993
9993
  setFromMatrix: function(t) {
9994
9994
  var e = this.planes, i = t.elements;
9995
9995
  t = i[0];
9996
- var n = i[1], o = i[2], s = i[3], l = i[4], h = i[5], c = i[6], f = i[7], v = i[8], y = i[9], M = i[10], C = i[11], N = i[12], j = i[13], et = i[14];
9997
- return i = i[15], e[0].setComponents(s - t, f - l, C - v, i - N).normalize(), e[1].setComponents(s + t, f + l, C + v, i + N).normalize(), e[2].setComponents(s + n, f + h, C + y, i + j).normalize(), e[3].setComponents(s - n, f - h, C - y, i - j).normalize(), e[4].setComponents(s - o, f - c, C - M, i - et).normalize(), e[5].setComponents(s + o, f + c, C + M, i + et).normalize(), this;
9996
+ var n = i[1], o = i[2], s = i[3], l = i[4], h = i[5], c = i[6], f = i[7], v = i[8], y = i[9], S = i[10], C = i[11], N = i[12], j = i[13], et = i[14];
9997
+ return i = i[15], e[0].setComponents(s - t, f - l, C - v, i - N).normalize(), e[1].setComponents(s + t, f + l, C + v, i + N).normalize(), e[2].setComponents(s + n, f + h, C + y, i + j).normalize(), e[3].setComponents(s - n, f - h, C - y, i - j).normalize(), e[4].setComponents(s - o, f - c, C - S, i - et).normalize(), e[5].setComponents(s + o, f + c, C + S, i + et).normalize(), this;
9998
9998
  },
9999
9999
  intersectsObject: function() {
10000
10000
  var t = new B();
@@ -13080,7 +13080,7 @@ void main() {
13080
13080
  ]),
13081
13081
  vertexShader: Ei.meshphysical_vert,
13082
13082
  fragmentShader: Ei.meshphysical_frag
13083
- }, Object.assign(S.prototype, {
13083
+ }, Object.assign(M.prototype, {
13084
13084
  clone: function() {
13085
13085
  return new this.constructor().copy(this);
13086
13086
  },
@@ -13396,9 +13396,9 @@ void main() {
13396
13396
  return v[y.uuid] === void 0 && (v[y.uuid] = y.toJSON(t)), y.uuid;
13397
13397
  }
13398
13398
  function i(v) {
13399
- var y = [], M;
13400
- for (M in v) {
13401
- var C = v[M];
13399
+ var y = [], S;
13400
+ for (S in v) {
13401
+ var C = v[S];
13402
13402
  delete C.metadata, y.push(C);
13403
13403
  }
13404
13404
  return y;
@@ -13510,7 +13510,7 @@ void main() {
13510
13510
  new m().fromArray(l, 3 * j),
13511
13511
  new m().fromArray(l, 3 * et)
13512
13512
  ];
13513
- _t = new S(N, j, et, bt, mt, _t), i.faces.push(_t), c !== void 0 && i.faceVertexUvs[0].push([
13513
+ _t = new M(N, j, et, bt, mt, _t), i.faces.push(_t), c !== void 0 && i.faceVertexUvs[0].push([
13514
13514
  new p().fromArray(c, 2 * N),
13515
13515
  new p().fromArray(c, 2 * j),
13516
13516
  new p().fromArray(c, 2 * et)
@@ -13528,8 +13528,8 @@ void main() {
13528
13528
  if (0 < y.length)
13529
13529
  for (o = 0; o < y.length; o++) {
13530
13530
  s = y[o];
13531
- var M = s.start, C = s.count;
13532
- for (v = M, M += C; v < M; v += 3)
13531
+ var S = s.start, C = s.count;
13532
+ for (v = S, S += C; v < S; v += 3)
13533
13533
  n !== void 0 ? e(n[v], n[v + 1], n[v + 2], s.materialIndex) : e(v, v + 1, v + 2, s.materialIndex);
13534
13534
  }
13535
13535
  else if (n !== void 0)
@@ -13640,21 +13640,21 @@ void main() {
13640
13640
  },
13641
13641
  merge: function(t, e, i) {
13642
13642
  if (t && t.isGeometry) {
13643
- var n, o = this.vertices.length, s = this.vertices, l = t.vertices, h = this.faces, c = t.faces, f = this.faceVertexUvs[0], v = t.faceVertexUvs[0], y = this.colors, M = t.colors;
13643
+ var n, o = this.vertices.length, s = this.vertices, l = t.vertices, h = this.faces, c = t.faces, f = this.faceVertexUvs[0], v = t.faceVertexUvs[0], y = this.colors, S = t.colors;
13644
13644
  i === void 0 && (i = 0), e !== void 0 && (n = new P().getNormalMatrix(e)), t = 0;
13645
13645
  for (var C = l.length; t < C; t++) {
13646
13646
  var N = l[t].clone();
13647
13647
  e !== void 0 && N.applyMatrix4(e), s.push(N);
13648
13648
  }
13649
- for (t = 0, C = M.length; t < C; t++)
13650
- y.push(M[t].clone());
13649
+ for (t = 0, C = S.length; t < C; t++)
13650
+ y.push(S[t].clone());
13651
13651
  for (t = 0, C = c.length; t < C; t++) {
13652
13652
  l = c[t];
13653
13653
  var j = l.vertexNormals;
13654
- for (M = l.vertexColors, y = new S(l.a + o, l.b + o, l.c + o), y.normal.copy(l.normal), n !== void 0 && y.normal.applyMatrix3(n).normalize(), e = 0, s = j.length; e < s; e++)
13654
+ for (S = l.vertexColors, y = new M(l.a + o, l.b + o, l.c + o), y.normal.copy(l.normal), n !== void 0 && y.normal.applyMatrix3(n).normalize(), e = 0, s = j.length; e < s; e++)
13655
13655
  N = j[e].clone(), n !== void 0 && N.applyMatrix3(n).normalize(), y.vertexNormals.push(N);
13656
- for (y.color.copy(l.color), e = 0, s = M.length; e < s; e++)
13657
- N = M[e], y.vertexColors.push(N.clone());
13656
+ for (y.color.copy(l.color), e = 0, s = S.length; e < s; e++)
13657
+ N = S[e], y.vertexColors.push(N.clone());
13658
13658
  y.materialIndex = l.materialIndex + i, h.push(y);
13659
13659
  }
13660
13660
  for (t = 0, C = v.length; t < C; t++)
@@ -13727,7 +13727,7 @@ void main() {
13727
13727
  }
13728
13728
  function n(Wt) {
13729
13729
  var W = Wt.x.toString() + Wt.y.toString();
13730
- return C[W] !== void 0 || (C[W] = M.length / 2, M.push(Wt.x, Wt.y)), C[W];
13730
+ return C[W] !== void 0 || (C[W] = S.length / 2, S.push(Wt.x, Wt.y)), C[W];
13731
13731
  }
13732
13732
  var o = {
13733
13733
  metadata: {
@@ -13747,12 +13747,12 @@ void main() {
13747
13747
  s.push(h.x, h.y, h.z);
13748
13748
  }
13749
13749
  h = [];
13750
- var c = [], f = {}, v = [], y = {}, M = [], C = {};
13750
+ var c = [], f = {}, v = [], y = {}, S = [], C = {};
13751
13751
  for (l = 0; l < this.faces.length; l++) {
13752
13752
  var N = this.faces[l], j = this.faceVertexUvs[0][l] !== void 0, et = 0 < N.normal.length(), _t = 0 < N.vertexNormals.length, mt = N.color.r !== 1 || N.color.g !== 1 || N.color.b !== 1, bt = 0 < N.vertexColors.length, xt = 0;
13753
13753
  xt = t(xt, 0, 0), xt = t(xt, 1, !0), xt = t(xt, 2, !1), xt = t(xt, 3, j), xt = t(xt, 4, et), xt = t(xt, 5, _t), xt = t(xt, 6, mt), xt = t(xt, 7, bt), h.push(xt), h.push(N.a, N.b, N.c), h.push(N.materialIndex), j && (j = this.faceVertexUvs[0][l], h.push(n(j[0]), n(j[1]), n(j[2]))), et && h.push(e(N.normal)), _t && (et = N.vertexNormals, h.push(e(et[0]), e(et[1]), e(et[2]))), mt && h.push(i(N.color)), bt && (N = N.vertexColors, h.push(i(N[0]), i(N[1]), i(N[2])));
13754
13754
  }
13755
- return o.data = {}, o.data.vertices = s, o.data.normals = c, 0 < v.length && (o.data.colors = v), 0 < M.length && (o.data.uvs = [M]), o.data.faces = h, o;
13755
+ return o.data = {}, o.data.vertices = s, o.data.normals = c, 0 < v.length && (o.data.colors = v), 0 < S.length && (o.data.uvs = [S]), o.data.faces = h, o;
13756
13756
  },
13757
13757
  clone: function() {
13758
13758
  return new V().copy(this);
@@ -13939,10 +13939,10 @@ void main() {
13939
13939
  }
13940
13940
  var v = t.morphNormals, y = v.length;
13941
13941
  if (0 < y) {
13942
- var M = [];
13942
+ var S = [];
13943
13943
  for (f = 0; f < y; f++)
13944
- M[f] = { name: v[f].name, data: [] };
13945
- this.morphTargets.normal = M;
13944
+ S[f] = { name: v[f].name, data: [] };
13945
+ this.morphTargets.normal = S;
13946
13946
  }
13947
13947
  var C = t.skinIndices, N = t.skinWeights, j = C.length === i.length, et = N.length === i.length;
13948
13948
  for (0 < i.length && e.length === 0 && console.error(
@@ -13962,7 +13962,7 @@ void main() {
13962
13962
  c[mt].data.push(bt[_t.a], bt[_t.b], bt[_t.c]);
13963
13963
  }
13964
13964
  for (mt = 0; mt < y; mt++)
13965
- bt = v[mt].vertexNormals[f], M[mt].data.push(bt.a, bt.b, bt.c);
13965
+ bt = v[mt].vertexNormals[f], S[mt].data.push(bt.a, bt.b, bt.c);
13966
13966
  j && this.skinIndices.push(C[_t.a], C[_t.b], C[_t.c]), et && this.skinWeights.push(N[_t.a], N[_t.b], N[_t.c]);
13967
13967
  }
13968
13968
  return this.computeGroups(t), this.verticesNeedUpdate = t.verticesNeedUpdate, this.normalsNeedUpdate = t.normalsNeedUpdate, this.colorsNeedUpdate = t.colorsNeedUpdate, this.uvsNeedUpdate = t.uvsNeedUpdate, this.groupsNeedUpdate = t.groupsNeedUpdate, this;
@@ -14135,8 +14135,8 @@ void main() {
14135
14135
  var y = t.array;
14136
14136
  for (o = 0, s = t.count; o < s; o += 3) {
14137
14137
  t = 3 * y[o + 0];
14138
- var M = 3 * y[o + 1], C = 3 * y[o + 2];
14139
- l.fromArray(i, t), h.fromArray(i, M), c.fromArray(i, C), f.subVectors(c, h), v.subVectors(l, h), f.cross(v), n[t] += f.x, n[t + 1] += f.y, n[t + 2] += f.z, n[M] += f.x, n[M + 1] += f.y, n[M + 2] += f.z, n[C] += f.x, n[C + 1] += f.y, n[C + 2] += f.z;
14138
+ var S = 3 * y[o + 1], C = 3 * y[o + 2];
14139
+ l.fromArray(i, t), h.fromArray(i, S), c.fromArray(i, C), f.subVectors(c, h), v.subVectors(l, h), f.cross(v), n[t] += f.x, n[t + 1] += f.y, n[t + 2] += f.z, n[S] += f.x, n[S + 1] += f.y, n[S + 2] += f.z, n[C] += f.x, n[C + 1] += f.y, n[C + 2] += f.z;
14140
14140
  }
14141
14141
  } else
14142
14142
  for (o = 0, s = i.length; o < s; o += 9)
@@ -14358,11 +14358,11 @@ void main() {
14358
14358
  var t = new m(), e = new m(), i = new m();
14359
14359
  return function(n, o, s, l) {
14360
14360
  t.copy(n).add(o).multiplyScalar(0.5), e.copy(o).sub(n).normalize(), i.copy(this.origin).sub(t);
14361
- var h = 0.5 * n.distanceTo(o), c = -this.direction.dot(e), f = i.dot(this.direction), v = -i.dot(e), y = i.lengthSq(), M = Math.abs(1 - c * c);
14362
- if (0 < M) {
14361
+ var h = 0.5 * n.distanceTo(o), c = -this.direction.dot(e), f = i.dot(this.direction), v = -i.dot(e), y = i.lengthSq(), S = Math.abs(1 - c * c);
14362
+ if (0 < S) {
14363
14363
  n = c * v - f, o = c * f - v;
14364
- var C = h * M;
14365
- 0 <= n ? o >= -C ? o <= C ? (h = 1 / M, n *= h, o *= h, c = n * (n + c * o + 2 * f) + o * (c * n + o + 2 * v) + y) : (o = h, n = Math.max(0, -(c * o + f)), c = -n * n + o * (o + 2 * v) + y) : (o = -h, n = Math.max(0, -(c * o + f)), c = -n * n + o * (o + 2 * v) + y) : o <= -C ? (n = Math.max(0, -(-c * h + f)), o = 0 < n ? -h : Math.min(Math.max(-h, -v), h), c = -n * n + o * (o + 2 * v) + y) : o <= C ? (n = 0, o = Math.min(Math.max(-h, -v), h), c = o * (o + 2 * v) + y) : (n = Math.max(0, -(c * h + f)), o = 0 < n ? h : Math.min(Math.max(-h, -v), h), c = -n * n + o * (o + 2 * v) + y);
14364
+ var C = h * S;
14365
+ 0 <= n ? o >= -C ? o <= C ? (h = 1 / S, n *= h, o *= h, c = n * (n + c * o + 2 * f) + o * (c * n + o + 2 * v) + y) : (o = h, n = Math.max(0, -(c * o + f)), c = -n * n + o * (o + 2 * v) + y) : (o = -h, n = Math.max(0, -(c * o + f)), c = -n * n + o * (o + 2 * v) + y) : o <= -C ? (n = Math.max(0, -(-c * h + f)), o = 0 < n ? -h : Math.min(Math.max(-h, -v), h), c = -n * n + o * (o + 2 * v) + y) : o <= C ? (n = 0, o = Math.min(Math.max(-h, -v), h), c = o * (o + 2 * v) + y) : (n = Math.max(0, -(c * h + f)), o = 0 < n ? h : Math.min(Math.max(-h, -v), h), c = -n * n + o * (o + 2 * v) + y);
14366
14366
  } else
14367
14367
  o = 0 < c ? -h : h, n = Math.max(0, -(c * o + f)), c = -n * n + o * (o + 2 * v) + y;
14368
14368
  return s && s.copy(this.direction).multiplyScalar(n).add(this.origin), l && l.copy(e).multiplyScalar(o).add(t), c;
@@ -14509,19 +14509,19 @@ void main() {
14509
14509
  ), h = new m());
14510
14510
  var c = this.a, f = this.b, v = this.c;
14511
14511
  t.subVectors(f, c), e.subVectors(v, c), n.subVectors(l, c);
14512
- var y = t.dot(n), M = e.dot(n);
14513
- if (0 >= y && 0 >= M)
14512
+ var y = t.dot(n), S = e.dot(n);
14513
+ if (0 >= y && 0 >= S)
14514
14514
  return h.copy(c);
14515
14515
  o.subVectors(l, f);
14516
14516
  var C = t.dot(o), N = e.dot(o);
14517
14517
  if (0 <= C && N <= C)
14518
14518
  return h.copy(f);
14519
- var j = y * N - C * M;
14519
+ var j = y * N - C * S;
14520
14520
  if (0 >= j && 0 <= y && 0 >= C)
14521
14521
  return f = y / (y - C), h.copy(c).addScaledVector(t, f);
14522
14522
  s.subVectors(l, v), l = t.dot(s);
14523
14523
  var et = e.dot(s);
14524
- return 0 <= et && l <= et ? h.copy(v) : (y = l * M - y * et, 0 >= y && 0 <= M && 0 >= et ? (j = M / (M - et), h.copy(c).addScaledVector(e, j)) : (M = C * et - l * N, 0 >= M && 0 <= N - C && 0 <= l - et ? (i.subVectors(v, f), j = (N - C) / (N - C + (l - et)), h.copy(f).addScaledVector(i, j)) : (v = 1 / (M + y + j), f = y * v, j *= v, h.copy(c).addScaledVector(t, f).addScaledVector(e, j))));
14524
+ return 0 <= et && l <= et ? h.copy(v) : (y = l * S - y * et, 0 >= y && 0 <= S && 0 >= et ? (j = S / (S - et), h.copy(c).addScaledVector(e, j)) : (S = C * et - l * N, 0 >= S && 0 <= N - C && 0 <= l - et ? (i.subVectors(v, f), j = (N - C) / (N - C + (l - et)), h.copy(f).addScaledVector(i, j)) : (v = 1 / (S + y + j), f = y * v, j *= v, h.copy(c).addScaledVector(t, f).addScaledVector(e, j))));
14525
14525
  };
14526
14526
  }(),
14527
14527
  equals: function(t) {
@@ -14563,9 +14563,9 @@ void main() {
14563
14563
  return (_t.side === 1 ? bt.intersectTriangle(W, Wt, xt, !0, it) : bt.intersectTriangle(xt, Wt, W, _t.side !== 2, it)) === null ? null : (j.copy(it), j.applyMatrix4(et.matrixWorld), _t = mt.ray.origin.distanceTo(j), _t < mt.near || _t > mt.far ? null : { distance: _t, point: j.clone(), object: et });
14564
14564
  }
14565
14565
  function e(et, _t, mt, bt, xt, Wt, W, it, It) {
14566
- return s.fromBufferAttribute(xt, W), l.fromBufferAttribute(xt, it), h.fromBufferAttribute(xt, It), (et = t(et, _t, mt, bt, s, l, h, N)) && (Wt && (y.fromBufferAttribute(Wt, W), M.fromBufferAttribute(Wt, it), C.fromBufferAttribute(Wt, It), et.uv = Ie.getUV(N, s, l, h, y, M, C, new p())), Wt = new S(W, it, It), Ie.getNormal(s, l, h, Wt.normal), et.face = Wt), et;
14566
+ return s.fromBufferAttribute(xt, W), l.fromBufferAttribute(xt, it), h.fromBufferAttribute(xt, It), (et = t(et, _t, mt, bt, s, l, h, N)) && (Wt && (y.fromBufferAttribute(Wt, W), S.fromBufferAttribute(Wt, it), C.fromBufferAttribute(Wt, It), et.uv = Ie.getUV(N, s, l, h, y, S, C, new p())), Wt = new M(W, it, It), Ie.getNormal(s, l, h, Wt.normal), et.face = Wt), et;
14567
14567
  }
14568
- var i = new J(), n = new Ni(), o = new B(), s = new m(), l = new m(), h = new m(), c = new m(), f = new m(), v = new m(), y = new p(), M = new p(), C = new p(), N = new m(), j = new m();
14568
+ var i = new J(), n = new Ni(), o = new B(), s = new m(), l = new m(), h = new m(), c = new m(), f = new m(), v = new m(), y = new p(), S = new p(), C = new p(), N = new m(), j = new m();
14569
14569
  return function(et, _t) {
14570
14570
  var mt = this.geometry, bt = this.material, xt = this.matrixWorld;
14571
14571
  if (bt !== void 0 && (mt.boundingSphere === null && mt.computeBoundingSphere(), o.copy(mt.boundingSphere), o.applyMatrix4(xt), et.ray.intersectsSphere(o) !== !1 && (i.getInverse(xt), n.copy(et.ray).applyMatrix4(i), mt.boundingBox === null || n.intersectsBox(mt.boundingBox) !== !1))) {
@@ -14613,7 +14613,7 @@ void main() {
14613
14613
  }
14614
14614
  s.add($t), l.add(ee), h.add(Te), $t = s, ee = l, Te = h;
14615
14615
  }
14616
- (xt = t(this, xt, et, n, $t, ee, Te, N)) && (Wt && Wt[qt] && (be = Wt[qt], y.copy(be[0]), M.copy(be[1]), C.copy(be[2]), xt.uv = Ie.getUV(N, $t, ee, Te, y, M, C, new p())), xt.face = Oe, xt.faceIndex = qt, _t.push(xt));
14616
+ (xt = t(this, xt, et, n, $t, ee, Te, N)) && (Wt && Wt[qt] && (be = Wt[qt], y.copy(be[0]), S.copy(be[1]), C.copy(be[2]), xt.uv = Ie.getUV(N, $t, ee, Te, y, S, C, new p())), xt.face = Oe, xt.faceIndex = qt, _t.push(xt));
14617
14617
  }
14618
14618
  }
14619
14619
  }
@@ -14855,18 +14855,18 @@ void main() {
14855
14855
  function t(C, N, j, et, _t, mt) {
14856
14856
  o.subVectors(C, j).addScalar(0.5).multiply(et), _t !== void 0 ? (s.x = mt * o.x - _t * o.y, s.y = _t * o.x + mt * o.y) : s.copy(o), C.copy(N), C.x += s.x, C.y += s.y, C.applyMatrix4(l);
14857
14857
  }
14858
- var e = new m(), i = new m(), n = new m(), o = new p(), s = new p(), l = new J(), h = new m(), c = new m(), f = new m(), v = new p(), y = new p(), M = new p();
14858
+ var e = new m(), i = new m(), n = new m(), o = new p(), s = new p(), l = new J(), h = new m(), c = new m(), f = new m(), v = new p(), y = new p(), S = new p();
14859
14859
  return function(C, N) {
14860
14860
  i.setFromMatrixScale(this.matrixWorld), l.getInverse(this.modelViewMatrix).premultiply(this.matrixWorld), n.setFromMatrixPosition(this.modelViewMatrix);
14861
14861
  var j = this.material.rotation;
14862
14862
  if (j !== 0)
14863
14863
  var et = Math.cos(j), _t = Math.sin(j);
14864
- j = this.center, t(h.set(-0.5, -0.5, 0), n, j, i, _t, et), t(c.set(0.5, -0.5, 0), n, j, i, _t, et), t(f.set(0.5, 0.5, 0), n, j, i, _t, et), v.set(0, 0), y.set(1, 0), M.set(1, 1);
14864
+ j = this.center, t(h.set(-0.5, -0.5, 0), n, j, i, _t, et), t(c.set(0.5, -0.5, 0), n, j, i, _t, et), t(f.set(0.5, 0.5, 0), n, j, i, _t, et), v.set(0, 0), y.set(1, 0), S.set(1, 1);
14865
14865
  var mt = C.ray.intersectTriangle(h, c, f, !1, e);
14866
14866
  mt === null && (t(c.set(-0.5, 0.5, 0), n, j, i, _t, et), y.set(0, 1), mt = C.ray.intersectTriangle(h, f, c, !1, e), mt === null) || (_t = C.ray.origin.distanceTo(e), _t < C.near || _t > C.far || N.push({
14867
14867
  distance: _t,
14868
14868
  point: e.clone(),
14869
- uv: Ie.getUV(e, h, c, f, v, y, M, new p()),
14869
+ uv: Ie.getUV(e, h, c, f, v, y, S, new p()),
14870
14870
  face: null,
14871
14871
  object: this
14872
14872
  }));
@@ -15042,12 +15042,12 @@ void main() {
15042
15042
  h = new m();
15043
15043
  var v = new m(), y = this && this.isLineSegments ? 2 : 1;
15044
15044
  if (l.isBufferGeometry) {
15045
- var M = l.index, C = l.attributes.position.array;
15046
- if (M !== null) {
15047
- M = M.array, l = 0;
15048
- for (var N = M.length - 1; l < N; l += y) {
15049
- var j = M[l + 1];
15050
- c.fromArray(C, 3 * M[l]), f.fromArray(C, 3 * j), j = e.distanceSqToSegment(c, f, v, h), j > s || (v.applyMatrix4(this.matrixWorld), j = n.ray.origin.distanceTo(v), j < n.near || j > n.far || o.push({
15045
+ var S = l.index, C = l.attributes.position.array;
15046
+ if (S !== null) {
15047
+ S = S.array, l = 0;
15048
+ for (var N = S.length - 1; l < N; l += y) {
15049
+ var j = S[l + 1];
15050
+ c.fromArray(C, 3 * S[l]), f.fromArray(C, 3 * j), j = e.distanceSqToSegment(c, f, v, h), j > s || (v.applyMatrix4(this.matrixWorld), j = n.ray.origin.distanceTo(v), j < n.near || j > n.far || o.push({
15051
15051
  distance: j,
15052
15052
  point: h.clone().applyMatrix4(this.matrixWorld),
15053
15053
  index: l,
@@ -15136,20 +15136,20 @@ void main() {
15136
15136
  f = new m();
15137
15137
  var y = new m();
15138
15138
  if (h.isBufferGeometry) {
15139
- var M = h.index;
15140
- if (h = h.attributes.position.array, M !== null) {
15141
- var C = M.array;
15142
- M = 0;
15143
- for (var N = C.length; M < N; M++) {
15144
- var j = C[M];
15139
+ var S = h.index;
15140
+ if (h = h.attributes.position.array, S !== null) {
15141
+ var C = S.array;
15142
+ S = 0;
15143
+ for (var N = C.length; S < N; S++) {
15144
+ var j = C[S];
15145
15145
  f.fromArray(h, 3 * j), s(f, j);
15146
15146
  }
15147
15147
  } else
15148
- for (M = 0, C = h.length / 3; M < C; M++)
15149
- f.fromArray(h, 3 * M), s(f, M);
15148
+ for (S = 0, C = h.length / 3; S < C; S++)
15149
+ f.fromArray(h, 3 * S), s(f, S);
15150
15150
  } else
15151
- for (f = h.vertices, M = 0, C = f.length; M < C; M++)
15152
- s(f[M], M);
15151
+ for (f = h.vertices, S = 0, C = f.length; S < C; S++)
15152
+ s(f[S], S);
15153
15153
  }
15154
15154
  };
15155
15155
  }(),
@@ -15176,8 +15176,8 @@ void main() {
15176
15176
  n = [];
15177
15177
  var f, v = 0;
15178
15178
  for (f = e.length; v < f; v++) {
15179
- var y = e[v] * c, M = v < f - 1 ? e[v + 1] * c : t.length;
15180
- y = el(t, y, M, c, !1), y === y.next && (y.steiner = !0), n.push(er(y));
15179
+ var y = e[v] * c, S = v < f - 1 ? e[v + 1] * c : t.length;
15180
+ y = el(t, y, S, c, !1), y === y.next && (y.steiner = !0), n.push(er(y));
15181
15181
  }
15182
15182
  for (n.sort(bl), v = 0; v < n.length; v++)
15183
15183
  e = n[v], c = s, (c = Al(e, c)) && (e = $s(c, e), xs(e, e.next)), s = xs(s, s.next);
@@ -15231,8 +15231,8 @@ void main() {
15231
15231
  n = e[3 * n + 2];
15232
15232
  var f = e[3 * o], v = e[3 * o + 1];
15233
15233
  o = e[3 * o + 2];
15234
- var y = e[3 * s], M = e[3 * s + 1];
15235
- return e = e[3 * s + 2], 0.01 > Math.abs(l - c) ? [new p(t, 1 - i), new p(h, 1 - n), new p(f, 1 - o), new p(y, 1 - e)] : [new p(l, 1 - i), new p(c, 1 - n), new p(v, 1 - o), new p(M, 1 - e)];
15234
+ var y = e[3 * s], S = e[3 * s + 1];
15235
+ return e = e[3 * s + 2], 0.01 > Math.abs(l - c) ? [new p(t, 1 - i), new p(h, 1 - n), new p(f, 1 - o), new p(y, 1 - e)] : [new p(l, 1 - i), new p(c, 1 - n), new p(v, 1 - o), new p(S, 1 - e)];
15236
15236
  }
15237
15237
  };
15238
15238
  Ks.prototype = Object.create(V.prototype), Ks.prototype.constructor = Ks, No.prototype = Object.create(Nr.prototype), No.prototype.constructor = No, mo.prototype = Object.create(V.prototype), mo.prototype.constructor = mo, ur.prototype = Object.create(Ft.prototype), ur.prototype.constructor = ur, Qs.prototype = Object.create(V.prototype), Qs.prototype.constructor = Qs, ko.prototype = Object.create(Ft.prototype), ko.prototype.constructor = ko, Ts.prototype = Object.create(V.prototype), Ts.prototype.constructor = Ts, go.prototype = Object.create(Ft.prototype), go.prototype.constructor = go, Qr.prototype = Object.create(V.prototype), Qr.prototype.constructor = Qr, Qr.prototype.toJSON = function() {
@@ -15465,9 +15465,9 @@ void main() {
15465
15465
  interpolate_: function(t, e, i, n) {
15466
15466
  var o = this.resultBuffer, s = this.sampleValues, l = this.valueSize;
15467
15467
  t *= l;
15468
- var h = t - l, c = this._offsetPrev, f = this._offsetNext, v = this._weightPrev, y = this._weightNext, M = (i - e) / (n - e);
15469
- for (i = M * M, n = i * M, e = -v * n + 2 * v * i - v * M, v = (1 + v) * n + (-1.5 - 2 * v) * i + (-0.5 + v) * M + 1, M = (-1 - y) * n + (1.5 + y) * i + 0.5 * M, y = y * n - y * i, i = 0; i !== l; ++i)
15470
- o[i] = e * s[c + i] + v * s[h + i] + M * s[t + i] + y * s[f + i];
15468
+ var h = t - l, c = this._offsetPrev, f = this._offsetNext, v = this._weightPrev, y = this._weightNext, S = (i - e) / (n - e);
15469
+ for (i = S * S, n = i * S, e = -v * n + 2 * v * i - v * S, v = (1 + v) * n + (-1.5 - 2 * v) * i + (-0.5 + v) * S + 1, S = (-1 - y) * n + (1.5 + y) * i + 0.5 * S, y = y * n - y * i, i = 0; i !== l; ++i)
15470
+ o[i] = e * s[c + i] + v * s[h + i] + S * s[t + i] + y * s[f + i];
15471
15471
  return o;
15472
15472
  }
15473
15473
  }), fr.prototype = Object.assign(Object.create(kn.prototype), {
@@ -15624,8 +15624,8 @@ void main() {
15624
15624
  else {
15625
15625
  var f = l * i, v = f - i, y = f + i;
15626
15626
  for (c = 0; c !== i; ++c) {
15627
- var M = e[f + c];
15628
- if (M !== e[v + c] || M !== e[y + c]) {
15627
+ var S = e[f + c];
15628
+ if (S !== e[v + c] || S !== e[y + c]) {
15629
15629
  h = !0;
15630
15630
  break;
15631
15631
  }
@@ -15750,12 +15750,12 @@ void main() {
15750
15750
  for (var v = 0; v < c[f].morphTargets.length; v++)
15751
15751
  s[c[f].morphTargets[v]] = -1;
15752
15752
  for (var y in s) {
15753
- var M = [], C = [];
15753
+ var S = [], C = [];
15754
15754
  for (v = 0; v !== c[f].morphTargets.length; ++v) {
15755
15755
  var N = c[f];
15756
- M.push(N.time), C.push(N.morphTarget === y ? 1 : 0);
15756
+ S.push(N.time), C.push(N.morphTarget === y ? 1 : 0);
15757
15757
  }
15758
- n.push(new Er(".morphTargetInfluence[" + y + "]", M, C));
15758
+ n.push(new Er(".morphTargetInfluence[" + y + "]", S, C));
15759
15759
  }
15760
15760
  s = s.length * (l || 1);
15761
15761
  } else
@@ -15842,9 +15842,9 @@ void main() {
15842
15842
  setTimeout(function() {
15843
15843
  e && e(v), o.manager.itemEnd(t);
15844
15844
  }, 0);
15845
- } catch (M) {
15845
+ } catch (S) {
15846
15846
  setTimeout(function() {
15847
- n && n(M), o.manager.itemError(t), o.manager.itemEnd(t);
15847
+ n && n(S), o.manager.itemError(t), o.manager.itemEnd(t);
15848
15848
  }, 0);
15849
15849
  }
15850
15850
  } else {
@@ -15852,7 +15852,7 @@ void main() {
15852
15852
  var y = new XMLHttpRequest();
15853
15853
  y.open("GET", t, !0), y.addEventListener(
15854
15854
  "load",
15855
- function(M) {
15855
+ function(S) {
15856
15856
  var C = this.response;
15857
15857
  Xr.add(t, C);
15858
15858
  var N = mr[t];
@@ -15864,7 +15864,7 @@ void main() {
15864
15864
  }
15865
15865
  } else {
15866
15866
  for (j = 0, et = N.length; j < et; j++)
15867
- _t = N[j], _t.onError && _t.onError(M);
15867
+ _t = N[j], _t.onError && _t.onError(S);
15868
15868
  o.manager.itemError(t);
15869
15869
  }
15870
15870
  o.manager.itemEnd(t);
@@ -15872,33 +15872,33 @@ void main() {
15872
15872
  !1
15873
15873
  ), y.addEventListener(
15874
15874
  "progress",
15875
- function(M) {
15875
+ function(S) {
15876
15876
  for (var C = mr[t], N = 0, j = C.length; N < j; N++) {
15877
15877
  var et = C[N];
15878
- et.onProgress && et.onProgress(M);
15878
+ et.onProgress && et.onProgress(S);
15879
15879
  }
15880
15880
  },
15881
15881
  !1
15882
15882
  ), y.addEventListener(
15883
15883
  "error",
15884
- function(M) {
15884
+ function(S) {
15885
15885
  var C = mr[t];
15886
15886
  delete mr[t];
15887
15887
  for (var N = 0, j = C.length; N < j; N++) {
15888
15888
  var et = C[N];
15889
- et.onError && et.onError(M);
15889
+ et.onError && et.onError(S);
15890
15890
  }
15891
15891
  o.manager.itemError(t), o.manager.itemEnd(t);
15892
15892
  },
15893
15893
  !1
15894
15894
  ), y.addEventListener(
15895
15895
  "abort",
15896
- function(M) {
15896
+ function(S) {
15897
15897
  var C = mr[t];
15898
15898
  delete mr[t];
15899
15899
  for (var N = 0, j = C.length; N < j; N++) {
15900
15900
  var et = C[N];
15901
- et.onError && et.onError(M);
15901
+ et.onError && et.onError(S);
15902
15902
  }
15903
15903
  o.manager.itemError(t), o.manager.itemEnd(t);
15904
15904
  },
@@ -15952,11 +15952,11 @@ void main() {
15952
15952
  }
15953
15953
  }), Object.assign(Yt.prototype, {
15954
15954
  load: function(t, e, i, n) {
15955
- function o(M) {
15955
+ function o(S) {
15956
15956
  c.load(
15957
- t[M],
15957
+ t[S],
15958
15958
  function(C) {
15959
- C = s._parser(C, !0), l[M] = {
15959
+ C = s._parser(C, !0), l[S] = {
15960
15960
  width: C.width,
15961
15961
  height: C.height,
15962
15962
  format: C.format,
@@ -15976,16 +15976,16 @@ void main() {
15976
15976
  else
15977
15977
  c.load(
15978
15978
  t,
15979
- function(M) {
15980
- if (M = s._parser(M, !0), M.isCubemap)
15981
- for (var C = M.mipmaps.length / M.mipmapCount, N = 0; N < C; N++) {
15979
+ function(S) {
15980
+ if (S = s._parser(S, !0), S.isCubemap)
15981
+ for (var C = S.mipmaps.length / S.mipmapCount, N = 0; N < C; N++) {
15982
15982
  l[N] = { mipmaps: [] };
15983
- for (var j = 0; j < M.mipmapCount; j++)
15984
- l[N].mipmaps.push(M.mipmaps[N * M.mipmapCount + j]), l[N].format = M.format, l[N].width = M.width, l[N].height = M.height;
15983
+ for (var j = 0; j < S.mipmapCount; j++)
15984
+ l[N].mipmaps.push(S.mipmaps[N * S.mipmapCount + j]), l[N].format = S.format, l[N].width = S.width, l[N].height = S.height;
15985
15985
  }
15986
15986
  else
15987
- h.image.width = M.width, h.image.height = M.height, h.mipmaps = M.mipmaps;
15988
- M.mipmapCount === 1 && (h.minFilter = 1006), h.format = M.format, h.needsUpdate = !0, e && e(h);
15987
+ h.image.width = S.width, h.image.height = S.height, h.mipmaps = S.mipmaps;
15988
+ S.mipmapCount === 1 && (h.minFilter = 1006), h.format = S.format, h.needsUpdate = !0, e && e(h);
15989
15989
  },
15990
15990
  i,
15991
15991
  n
@@ -16731,10 +16731,10 @@ void main() {
16731
16731
  CustomBlending: 5
16732
16732
  }, e = new A(), i = new on(), n = new Ba();
16733
16733
  return function(o, s, l) {
16734
- function h(M, C, N, j, et) {
16735
- M = s + M;
16736
- var _t = no.Handlers.get(M);
16737
- return _t !== null ? M = _t.load(M) : (i.setCrossOrigin(l), M = i.load(M)), C !== void 0 && (M.repeat.fromArray(C), C[0] !== 1 && (M.wrapS = 1e3), C[1] !== 1 && (M.wrapT = 1e3)), N !== void 0 && M.offset.fromArray(N), j !== void 0 && (j[0] === "repeat" && (M.wrapS = 1e3), j[0] === "mirror" && (M.wrapS = 1002), j[1] === "repeat" && (M.wrapT = 1e3), j[1] === "mirror" && (M.wrapT = 1002)), et !== void 0 && (M.anisotropy = et), C = fi.generateUUID(), c[C] = M, C;
16734
+ function h(S, C, N, j, et) {
16735
+ S = s + S;
16736
+ var _t = no.Handlers.get(S);
16737
+ return _t !== null ? S = _t.load(S) : (i.setCrossOrigin(l), S = i.load(S)), C !== void 0 && (S.repeat.fromArray(C), C[0] !== 1 && (S.wrapS = 1e3), C[1] !== 1 && (S.wrapT = 1e3)), N !== void 0 && S.offset.fromArray(N), j !== void 0 && (j[0] === "repeat" && (S.wrapS = 1e3), j[0] === "mirror" && (S.wrapS = 1002), j[1] === "repeat" && (S.wrapT = 1e3), j[1] === "mirror" && (S.wrapT = 1002)), et !== void 0 && (S.anisotropy = et), C = fi.generateUUID(), c[C] = S, C;
16738
16738
  }
16739
16739
  var c = {}, f = { uuid: fi.generateUUID(), type: "MeshLambertMaterial" }, v;
16740
16740
  for (v in o) {
@@ -16984,11 +16984,11 @@ void main() {
16984
16984
  parse: function() {
16985
16985
  return function(t, e) {
16986
16986
  t.data !== void 0 && (t = t.data), t.scale = t.scale !== void 0 ? 1 / t.scale : 1;
16987
- var i = new V(), n = t, o, s, l, h = n.faces, c = n.vertices, f = n.normals, v = n.colors, y = n.scale, M = 0;
16987
+ var i = new V(), n = t, o, s, l, h = n.faces, c = n.vertices, f = n.normals, v = n.colors, y = n.scale, S = 0;
16988
16988
  if (n.uvs !== void 0) {
16989
16989
  for (o = 0; o < n.uvs.length; o++)
16990
- n.uvs[o].length && M++;
16991
- for (o = 0; o < M; o++)
16990
+ n.uvs[o].length && S++;
16991
+ for (o = 0; o < S; o++)
16992
16992
  i.faceVertexUvs[o] = [];
16993
16993
  }
16994
16994
  var C = 0;
@@ -17000,10 +17000,10 @@ void main() {
17000
17000
  o = c & 8;
17001
17001
  var et = c & 16, _t = c & 32;
17002
17002
  if (y = c & 64, c &= 128, N) {
17003
- N = new S(), N.a = h[C], N.b = h[C + 1], N.c = h[C + 3];
17004
- var mt = new S();
17003
+ N = new M(), N.a = h[C], N.b = h[C + 1], N.c = h[C + 3];
17004
+ var mt = new M();
17005
17005
  if (mt.a = h[C + 1], mt.b = h[C + 2], mt.c = h[C + 3], C += 4, j && (j = h[C++], N.materialIndex = j, mt.materialIndex = j), j = i.faces.length, o)
17006
- for (o = 0; o < M; o++) {
17006
+ for (o = 0; o < S; o++) {
17007
17007
  var bt = n.uvs[o];
17008
17008
  for (i.faceVertexUvs[o][j] = [], i.faceVertexUvs[o][j + 1] = [], s = 0; 4 > s; s++) {
17009
17009
  var xt = h[C++], Wt = bt[2 * xt];
@@ -17018,8 +17018,8 @@ void main() {
17018
17018
  y = h[C++], y = v[y], o !== 2 && N.vertexColors.push(new A(y)), o !== 0 && mt.vertexColors.push(new A(y));
17019
17019
  i.faces.push(N), i.faces.push(mt);
17020
17020
  } else {
17021
- if (N = new S(), N.a = h[C++], N.b = h[C++], N.c = h[C++], j && (j = h[C++], N.materialIndex = j), j = i.faces.length, o)
17022
- for (o = 0; o < M; o++)
17021
+ if (N = new M(), N.a = h[C++], N.b = h[C++], N.c = h[C++], j && (j = h[C++], N.materialIndex = j), j = i.faces.length, o)
17022
+ for (o = 0; o < S; o++)
17023
17023
  for (bt = n.uvs[o], i.faceVertexUvs[o][j] = [], s = 0; 3 > s; s++)
17024
17024
  xt = h[C++], Wt = bt[2 * xt], xt = bt[2 * xt + 1], Wt = new p(Wt, xt), i.faceVertexUvs[o][j].push(Wt);
17025
17025
  if (et && (et = 3 * h[C++], N.normal.set(f[et++], f[et++], f[et])), _t)
@@ -17055,8 +17055,8 @@ void main() {
17055
17055
  "When skinning, number of vertices (" + i.vertices.length + "), skinIndices (" + i.skinIndices.length + "), and skinWeights (" + i.skinWeights.length + ") should match."
17056
17056
  ), l = t, h = l.scale, l.morphTargets !== void 0)
17057
17057
  for (n = 0, C = l.morphTargets.length; n < C; n++)
17058
- for (i.morphTargets[n] = {}, i.morphTargets[n].name = l.morphTargets[n].name, i.morphTargets[n].vertices = [], f = i.morphTargets[n].vertices, v = l.morphTargets[n].vertices, M = 0, c = v.length; M < c; M += 3)
17059
- y = new m(), y.x = v[M] * h, y.y = v[M + 1] * h, y.z = v[M + 2] * h, f.push(y);
17058
+ for (i.morphTargets[n] = {}, i.morphTargets[n].name = l.morphTargets[n].name, i.morphTargets[n].vertices = [], f = i.morphTargets[n].vertices, v = l.morphTargets[n].vertices, S = 0, c = v.length; S < c; S += 3)
17059
+ y = new m(), y.x = v[S] * h, y.y = v[S + 1] * h, y.z = v[S + 2] * h, f.push(y);
17060
17060
  if (l.morphColors !== void 0 && 0 < l.morphColors.length)
17061
17061
  for (console.warn(
17062
17062
  'THREE.JSONLoader: "morphColors" no longer supported. Using them as face colors.'
@@ -17305,15 +17305,15 @@ void main() {
17305
17305
  return e;
17306
17306
  },
17307
17307
  parseImages: function(t, e) {
17308
- function i(M) {
17309
- return n.manager.itemStart(M), s.load(
17310
- M,
17308
+ function i(S) {
17309
+ return n.manager.itemStart(S), s.load(
17310
+ S,
17311
17311
  function() {
17312
- n.manager.itemEnd(M);
17312
+ n.manager.itemEnd(S);
17313
17313
  },
17314
17314
  void 0,
17315
17315
  function() {
17316
- n.manager.itemError(M), n.manager.itemEnd(M);
17316
+ n.manager.itemError(S), n.manager.itemEnd(S);
17317
17317
  }
17318
17318
  );
17319
17319
  }
@@ -17363,7 +17363,7 @@ void main() {
17363
17363
  function o(f) {
17364
17364
  if (f !== void 0) {
17365
17365
  if (Array.isArray(f)) {
17366
- for (var v = [], y = 0, M = f.length; y < M; y++) {
17366
+ for (var v = [], y = 0, S = f.length; y < S; y++) {
17367
17367
  var C = f[y];
17368
17368
  i[C] === void 0 && console.warn("THREE.ObjectLoader: Undefined material", C), v.push(i[C]);
17369
17369
  }
@@ -17560,26 +17560,26 @@ void main() {
17560
17560
  c = t ? !c : c, h = [];
17561
17561
  var f = [], v = [], y = 0;
17562
17562
  f[y] = void 0, v[y] = [];
17563
- for (var M = 0, C = s.length; M < C; M++) {
17564
- l = s[M];
17563
+ for (var S = 0, C = s.length; S < C; S++) {
17564
+ l = s[S];
17565
17565
  var N = l.getPoints(), j = o(N);
17566
17566
  (j = t ? !j : j) ? (!c && f[y] && y++, f[y] = { s: new Fn(), p: N }, f[y].s.curves = l.curves, c && y++, v[y] = []) : v[y].push({ h: l, p: N[0] });
17567
17567
  }
17568
17568
  if (!f[0])
17569
17569
  return i(s);
17570
17570
  if (1 < f.length) {
17571
- for (M = !1, t = [], o = 0, s = f.length; o < s; o++)
17571
+ for (S = !1, t = [], o = 0, s = f.length; o < s; o++)
17572
17572
  h[o] = [];
17573
17573
  for (o = 0, s = f.length; o < s; o++)
17574
17574
  for (l = v[o], j = 0; j < l.length; j++) {
17575
17575
  for (c = l[j], y = !0, N = 0; N < f.length; N++)
17576
- n(c.p, f[N].p) && (o !== N && t.push({ froms: o, tos: N, hole: j }), y ? (y = !1, h[N].push(c)) : M = !0);
17576
+ n(c.p, f[N].p) && (o !== N && t.push({ froms: o, tos: N, hole: j }), y ? (y = !1, h[N].push(c)) : S = !0);
17577
17577
  y && h[o].push(c);
17578
17578
  }
17579
- 0 < t.length && (M || (v = h));
17579
+ 0 < t.length && (S || (v = h));
17580
17580
  }
17581
- for (M = 0, o = f.length; M < o; M++)
17582
- for (h = f[M].s, e.push(h), t = v[M], s = 0, l = t.length; s < l; s++)
17581
+ for (S = 0, o = f.length; S < o; S++)
17582
+ for (h = f[S].s, e.push(h), t = v[S], s = 0, l = t.length; s < l; s++)
17583
17583
  h.holes.push(t[s].h);
17584
17584
  return e;
17585
17585
  }
@@ -17599,25 +17599,25 @@ void main() {
17599
17599
  `)
17600
17600
  l = 0, h -= s;
17601
17601
  else {
17602
- var v = n, y = l, M = h;
17602
+ var v = n, y = l, S = h;
17603
17603
  if (f = e.glyphs[f] || e.glyphs["?"]) {
17604
17604
  var C = new Na();
17605
17605
  if (f.o)
17606
17606
  for (var N = f._cachedOutline || (f._cachedOutline = f.o.split(" ")), j = 0, et = N.length; j < et; )
17607
17607
  switch (N[j++]) {
17608
17608
  case "m":
17609
- var _t = N[j++] * v + y, mt = N[j++] * v + M;
17609
+ var _t = N[j++] * v + y, mt = N[j++] * v + S;
17610
17610
  C.moveTo(_t, mt);
17611
17611
  break;
17612
17612
  case "l":
17613
- _t = N[j++] * v + y, mt = N[j++] * v + M, C.lineTo(_t, mt);
17613
+ _t = N[j++] * v + y, mt = N[j++] * v + S, C.lineTo(_t, mt);
17614
17614
  break;
17615
17615
  case "q":
17616
- var bt = N[j++] * v + y, xt = N[j++] * v + M, Wt = N[j++] * v + y, W = N[j++] * v + M;
17616
+ var bt = N[j++] * v + y, xt = N[j++] * v + S, Wt = N[j++] * v + y, W = N[j++] * v + S;
17617
17617
  C.quadraticCurveTo(Wt, W, bt, xt);
17618
17618
  break;
17619
17619
  case "b":
17620
- bt = N[j++] * v + y, xt = N[j++] * v + M, Wt = N[j++] * v + y, W = N[j++] * v + M, _t = N[j++] * v + y, mt = N[j++] * v + M, C.bezierCurveTo(Wt, W, _t, mt, bt, xt);
17620
+ bt = N[j++] * v + y, xt = N[j++] * v + S, Wt = N[j++] * v + y, W = N[j++] * v + S, _t = N[j++] * v + y, mt = N[j++] * v + S, C.bezierCurveTo(Wt, W, _t, mt, bt, xt);
17621
17621
  }
17622
17622
  v = { offsetX: f.ha * v, path: C };
17623
17623
  } else
@@ -17688,10 +17688,10 @@ void main() {
17688
17688
  t = this, e = v.focus, i = v.fov, n = v.aspect * this.aspect, o = v.near, s = v.far, l = v.zoom;
17689
17689
  var y = v.projectionMatrix.clone();
17690
17690
  h = this.eyeSep / 2;
17691
- var M = h * o / e, C = o * Math.tan(fi.DEG2RAD * i * 0.5) / l;
17691
+ var S = h * o / e, C = o * Math.tan(fi.DEG2RAD * i * 0.5) / l;
17692
17692
  f.elements[12] = -h, c.elements[12] = h;
17693
- var N = -C * n + M, j = C * n + M;
17694
- y.elements[0] = 2 * o / (j - N), y.elements[8] = (j + N) / (j - N), this.cameraL.projectionMatrix.copy(y), N = -C * n - M, j = C * n - M, y.elements[0] = 2 * o / (j - N), y.elements[8] = (j + N) / (j - N), this.cameraR.projectionMatrix.copy(y);
17693
+ var N = -C * n + S, j = C * n + S;
17694
+ y.elements[0] = 2 * o / (j - N), y.elements[8] = (j + N) / (j - N), this.cameraL.projectionMatrix.copy(y), N = -C * n - S, j = C * n - S, y.elements[0] = 2 * o / (j - N), y.elements[8] = (j + N) / (j - N), this.cameraR.projectionMatrix.copy(y);
17695
17695
  }
17696
17696
  this.cameraL.matrixWorld.copy(v.matrixWorld).multiply(f), this.cameraR.matrixWorld.copy(v.matrixWorld).multiply(c);
17697
17697
  };
@@ -18232,17 +18232,17 @@ void main() {
18232
18232
  isAnimationObjectGroup: !0,
18233
18233
  add: function() {
18234
18234
  for (var t = this._objects, e = t.length, i = this.nCachedObjects_, n = this._indicesByUUID, o = this._paths, s = this._parsedPaths, l = this._bindings, h = l.length, c = void 0, f = 0, v = arguments.length; f !== v; ++f) {
18235
- var y = arguments[f], M = y.uuid, C = n[M];
18235
+ var y = arguments[f], S = y.uuid, C = n[S];
18236
18236
  if (C === void 0) {
18237
- C = e++, n[M] = C, t.push(y), M = 0;
18238
- for (var N = h; M !== N; ++M)
18239
- l[M].push(new gn(y, o[M], s[M]));
18237
+ C = e++, n[S] = C, t.push(y), S = 0;
18238
+ for (var N = h; S !== N; ++S)
18239
+ l[S].push(new gn(y, o[S], s[S]));
18240
18240
  } else if (C < i) {
18241
18241
  c = t[C];
18242
18242
  var j = --i;
18243
- for (N = t[j], n[N.uuid] = C, t[C] = N, n[M] = j, t[j] = y, M = 0, N = h; M !== N; ++M) {
18244
- var et = l[M], _t = et[C];
18245
- et[C] = et[j], _t === void 0 && (_t = new gn(y, o[M], s[M])), et[j] = _t;
18243
+ for (N = t[j], n[N.uuid] = C, t[C] = N, n[S] = j, t[j] = y, S = 0, N = h; S !== N; ++S) {
18244
+ var et = l[S], _t = et[C];
18245
+ et[C] = et[j], _t === void 0 && (_t = new gn(y, o[S], s[S])), et[j] = _t;
18246
18246
  }
18247
18247
  } else
18248
18248
  t[C] !== c && console.error(
@@ -18258,8 +18258,8 @@ void main() {
18258
18258
  var v = e++, y = t[v];
18259
18259
  for (i[y.uuid] = f, t[f] = y, i[c] = v, t[v] = h, h = 0, c = o; h !== c; ++h) {
18260
18260
  y = n[h];
18261
- var M = y[f];
18262
- y[f] = y[v], y[v] = M;
18261
+ var S = y[f];
18262
+ y[f] = y[v], y[v] = S;
18263
18263
  }
18264
18264
  }
18265
18265
  }
@@ -18271,13 +18271,13 @@ void main() {
18271
18271
  if (f !== void 0)
18272
18272
  if (delete n[c], f < i) {
18273
18273
  c = --i;
18274
- var v = t[c], y = --e, M = t[y];
18275
- for (n[v.uuid] = f, t[f] = v, n[M.uuid] = c, t[c] = M, t.pop(), v = 0, M = s; v !== M; ++v) {
18274
+ var v = t[c], y = --e, S = t[y];
18275
+ for (n[v.uuid] = f, t[f] = v, n[S.uuid] = c, t[c] = S, t.pop(), v = 0, S = s; v !== S; ++v) {
18276
18276
  var C = o[v], N = C[y];
18277
18277
  C[f] = C[c], C[c] = N, C.pop();
18278
18278
  }
18279
18279
  } else
18280
- for (y = --e, M = t[y], n[M.uuid] = f, t[f] = M, t.pop(), v = 0, M = s; v !== M; ++v)
18280
+ for (y = --e, S = t[y], n[S.uuid] = f, t[f] = S, t.pop(), v = 0, S = s; v !== S; ++v)
18281
18281
  C = o[v], C[f] = C[y], C.pop();
18282
18282
  }
18283
18283
  this.nCachedObjects_ = i;
@@ -18875,13 +18875,13 @@ void main() {
18875
18875
  var o = this.object.matrixWorld, s = this.geometry.attributes.position, l = this.object.geometry;
18876
18876
  if (l && l.isGeometry)
18877
18877
  for (var h = l.vertices, c = l.faces, f = l = 0, v = c.length; f < v; f++)
18878
- for (var y = c[f], M = 0, C = y.vertexNormals.length; M < C; M++) {
18879
- var N = y.vertexNormals[M];
18880
- t.copy(h[y[n[M]]]).applyMatrix4(o), e.copy(N).applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), s.setXYZ(l, t.x, t.y, t.z), l += 1, s.setXYZ(l, e.x, e.y, e.z), l += 1;
18878
+ for (var y = c[f], S = 0, C = y.vertexNormals.length; S < C; S++) {
18879
+ var N = y.vertexNormals[S];
18880
+ t.copy(h[y[n[S]]]).applyMatrix4(o), e.copy(N).applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), s.setXYZ(l, t.x, t.y, t.z), l += 1, s.setXYZ(l, e.x, e.y, e.z), l += 1;
18881
18881
  }
18882
18882
  else if (l && l.isBufferGeometry)
18883
- for (n = l.attributes.position, h = l.attributes.normal, M = l = 0, C = n.count; M < C; M++)
18884
- t.set(n.getX(M), n.getY(M), n.getZ(M)).applyMatrix4(o), e.set(h.getX(M), h.getY(M), h.getZ(M)), e.applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), s.setXYZ(l, t.x, t.y, t.z), l += 1, s.setXYZ(l, e.x, e.y, e.z), l += 1;
18883
+ for (n = l.attributes.position, h = l.attributes.normal, S = l = 0, C = n.count; S < C; S++)
18884
+ t.set(n.getX(S), n.getY(S), n.getZ(S)).applyMatrix4(o), e.set(h.getX(S), h.getY(S), h.getZ(S)), e.applyMatrix3(i).normalize().multiplyScalar(this.size).add(t), s.setXYZ(l, t.x, t.y, t.z), l += 1, s.setXYZ(l, e.x, e.y, e.z), l += 1;
18885
18885
  s.needsUpdate = !0;
18886
18886
  };
18887
18887
  }(), Rs.prototype = Object.create(z.prototype), Rs.prototype.constructor = Rs, Rs.prototype.dispose = function() {
@@ -19984,10 +19984,10 @@ void main() {
19984
19984
  console.error(
19985
19985
  "THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead."
19986
19986
  );
19987
- }, T.WebGLRenderTargetCube = Y, T.WebGLRenderTarget = U, T.WebGLRenderer = _e, T.ShaderLib = jr, T.UniformsLib = qe, T.UniformsUtils = bn, T.ShaderChunk = Ei, T.FogExp2 = Le, T.Fog = mn, T.Scene = On, T.Sprite = $i, T.LOD = Ki, T.SkinnedMesh = ki, T.Skeleton = nn, T.Bone = rn, T.Mesh = pi, T.LineSegments = mi, T.LineLoop = zr, T.Line = Hi, T.Points = ps, T.Group = ui, T.VideoTexture = tl, T.DataTexture = H, T.DataTexture3D = X, T.CompressedTexture = fo, T.CubeTexture = w, T.CanvasTexture = Vs, T.DepthTexture = Xs, T.Texture = O, T.AnimationLoader = Qt, T.CompressedTextureLoader = Yt, T.DataTextureLoader = Ue, T.CubeTextureLoader = zi, T.TextureLoader = on, T.ObjectLoader = ra, T.MaterialLoader = Ba, T.BufferGeometryLoader = nl, T.DefaultLoadingManager = Gn, T.LoadingManager = xo, T.JSONLoader = Zo, T.ImageLoader = si, T.ImageBitmapLoader = rl, T.FontLoader = Il, T.FileLoader = At, T.Loader = no, T.LoaderUtils = ts, T.Cache = Xr, T.AudioLoader = hn, T.SpotLightShadow = ia, T.SpotLight = na, T.PointLight = qo, T.RectAreaLight = za, T.HemisphereLight = ea, T.DirectionalLightShadow = To, T.DirectionalLight = Wr, T.AmbientLight = Yo, T.LightShadow = Hr, T.Light = Ji, T.StereoCamera = In, T.PerspectiveCamera = ye, T.OrthographicCamera = As, T.CubeCamera = oa, T.ArrayCamera = ke, T.Camera = Be, T.AudioListener = ka, T.PositionalAudio = sa, T.AudioContext = gl, T.AudioAnalyser = Jo, T.Audio = Ps, T.VectorKeyframeTrack = Es, T.StringKeyframeTrack = Da, T.QuaternionKeyframeTrack = Ss, T.NumberKeyframeTrack = Er, T.ColorKeyframeTrack = Oa, T.BooleanKeyframeTrack = Ia, T.PropertyMixer = aa, T.PropertyBinding = gn, T.KeyframeTrack = Rn, T.AnimationUtils = zn, T.AnimationObjectGroup = Cs, T.AnimationMixer = Mo, T.AnimationClip = ir, T.Uniform = Ua, T.InstancedBufferGeometry = al, T.BufferGeometry = Ft, T.Geometry = V, T.InterleavedBufferAttribute = Oi, T.InstancedInterleavedBuffer = ll, T.InterleavedBuffer = Ii, T.InstancedBufferAttribute = hl, T.Face3 = S, T.Object3D = z, T.Raycaster = Ol, T.Layers = F, T.EventDispatcher = $, T.Clock = sl, T.QuaternionLinearInterpolant = Vn, T.LinearInterpolant = fr, T.DiscreteInterpolant = Xo, T.CubicInterpolant = ta, T.Interpolant = kn, T.Triangle = Ie, T.Math = fi, T.Spherical = ul, T.Cylindrical = Q, T.Plane = q, T.Frustum = b, T.Sphere = B, T.Ray = Ni, T.Matrix4 = J, T.Matrix3 = P, T.Box3 = K, T.Box2 = So, T.Line3 = Ls, T.Euler = x, T.Vector4 = E, T.Vector3 = m, T.Vector2 = p, T.Quaternion = G, T.Color = A, T.ImmediateRenderObject = Dn, T.VertexNormalsHelper = yi, T.SpotLightHelper = Rs, T.SkeletonHelper = Is, T.PointLightHelper = dr, T.RectAreaLightHelper = Os, T.HemisphereLightHelper = Ds, T.GridHelper = ua, T.PolarGridHelper = Fa, T.FaceNormalsHelper = ca, T.DirectionalLightHelper = $n, T.CameraHelper = fa, T.BoxHelper = ro, T.Box3Helper = pa, T.PlaneHelper = da, T.ArrowHelper = oo, T.AxesHelper = nr, T.Shape = Fn, T.Path = Jn, T.ShapePath = Na, T.Font = ol, T.CurvePath = io, T.Curve = Ee, T.ImageUtils = Eo, T.ShapeUtils = Vr, T.WebGLUtils = He, T.WireframeGeometry = ds, T.ParametricGeometry = qs, T.ParametricBufferGeometry = ms, T.TetrahedronGeometry = Ys, T.TetrahedronBufferGeometry = gs, T.OctahedronGeometry = Zs, T.OctahedronBufferGeometry = Oo, T.IcosahedronGeometry = Js, T.IcosahedronBufferGeometry = vs, T.DodecahedronGeometry = ys, T.DodecahedronBufferGeometry = _s, T.PolyhedronGeometry = Wi, T.PolyhedronBufferGeometry = _i, T.TubeGeometry = ln, T.TubeBufferGeometry = po, T.TorusKnotGeometry = Mr, T.TorusKnotBufferGeometry = Do, T.TorusGeometry = zo, T.TorusBufferGeometry = Cn, T.TextGeometry = Ks, T.TextBufferGeometry = No, T.SphereGeometry = mo, T.SphereBufferGeometry = ur, T.RingGeometry = Qs, T.RingBufferGeometry = ko, T.PlaneGeometry = Fe, T.PlaneBufferGeometry = xe, T.LatheGeometry = Ts, T.LatheBufferGeometry = go, T.ShapeGeometry = Qr, T.ShapeBufferGeometry = vo, T.ExtrudeGeometry = Kr, T.ExtrudeBufferGeometry = Nr, T.EdgesGeometry = yo, T.ConeGeometry = Ms, T.ConeBufferGeometry = Ln, T.CylinderGeometry = to, T.CylinderBufferGeometry = eo, T.CircleGeometry = Uo, T.CircleBufferGeometry = kr, T.BoxGeometry = Dt, T.BoxBufferGeometry = kt, T.ShadowMaterial = _o, T.SpriteMaterial = Ui, T.RawShaderMaterial = Fo, T.ShaderMaterial = ti, T.PointsMaterial = Pn, T.MeshPhysicalMaterial = Go, T.MeshStandardMaterial = Ur, T.MeshPhongMaterial = Sr, T.MeshToonMaterial = Ho, T.MeshNormalMaterial = Wo, T.MeshLambertMaterial = cr, T.MeshDepthMaterial = oe, T.MeshDistanceMaterial = te, T.MeshBasicMaterial = Ge, T.MeshMatcapMaterial = jo, T.LineDashedMaterial = Vo, T.LineBasicMaterial = Di, T.Material = Zt, T.Float64BufferAttribute = Rt, T.Float32BufferAttribute = Pt, T.Uint32BufferAttribute = zt, T.Int32BufferAttribute = D, T.Uint16BufferAttribute = Et, T.Int16BufferAttribute = lt, T.Uint8ClampedBufferAttribute = Nt, T.Uint8BufferAttribute = gt, T.Int8BufferAttribute = ft, T.BufferAttribute = ht, T.ArcCurve = bs, T.CatmullRomCurve3 = Tn, T.CubicBezierCurve = qn, T.CubicBezierCurve3 = wi, T.EllipseCurve = Un, T.LineCurve = Yn, T.LineCurve3 = pr, T.QuadraticBezierCurve = Zn, T.QuadraticBezierCurve3 = Gr, T.SplineCurve = br, T.REVISION = "98", T.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, T.CullFaceNone = 0, T.CullFaceBack = 1, T.CullFaceFront = 2, T.CullFaceFrontBack = 3, T.FrontFaceDirectionCW = 0, T.FrontFaceDirectionCCW = 1, T.BasicShadowMap = 0, T.PCFShadowMap = 1, T.PCFSoftShadowMap = 2, T.FrontSide = 0, T.BackSide = 1, T.DoubleSide = 2, T.FlatShading = 1, T.SmoothShading = 2, T.NoColors = 0, T.FaceColors = 1, T.VertexColors = 2, T.NoBlending = 0, T.NormalBlending = 1, T.AdditiveBlending = 2, T.SubtractiveBlending = 3, T.MultiplyBlending = 4, T.CustomBlending = 5, T.AddEquation = 100, T.SubtractEquation = 101, T.ReverseSubtractEquation = 102, T.MinEquation = 103, T.MaxEquation = 104, T.ZeroFactor = 200, T.OneFactor = 201, T.SrcColorFactor = 202, T.OneMinusSrcColorFactor = 203, T.SrcAlphaFactor = 204, T.OneMinusSrcAlphaFactor = 205, T.DstAlphaFactor = 206, T.OneMinusDstAlphaFactor = 207, T.DstColorFactor = 208, T.OneMinusDstColorFactor = 209, T.SrcAlphaSaturateFactor = 210, T.NeverDepth = 0, T.AlwaysDepth = 1, T.LessDepth = 2, T.LessEqualDepth = 3, T.EqualDepth = 4, T.GreaterEqualDepth = 5, T.GreaterDepth = 6, T.NotEqualDepth = 7, T.MultiplyOperation = 0, T.MixOperation = 1, T.AddOperation = 2, T.NoToneMapping = 0, T.LinearToneMapping = 1, T.ReinhardToneMapping = 2, T.Uncharted2ToneMapping = 3, T.CineonToneMapping = 4, T.UVMapping = 300, T.CubeReflectionMapping = 301, T.CubeRefractionMapping = 302, T.EquirectangularReflectionMapping = 303, T.EquirectangularRefractionMapping = 304, T.SphericalReflectionMapping = 305, T.CubeUVReflectionMapping = 306, T.CubeUVRefractionMapping = 307, T.RepeatWrapping = 1e3, T.ClampToEdgeWrapping = 1001, T.MirroredRepeatWrapping = 1002, T.NearestFilter = 1003, T.NearestMipMapNearestFilter = 1004, T.NearestMipMapLinearFilter = 1005, T.LinearFilter = 1006, T.LinearMipMapNearestFilter = 1007, T.LinearMipMapLinearFilter = 1008, T.UnsignedByteType = 1009, T.ByteType = 1010, T.ShortType = 1011, T.UnsignedShortType = 1012, T.IntType = 1013, T.UnsignedIntType = 1014, T.FloatType = 1015, T.HalfFloatType = 1016, T.UnsignedShort4444Type = 1017, T.UnsignedShort5551Type = 1018, T.UnsignedShort565Type = 1019, T.UnsignedInt248Type = 1020, T.AlphaFormat = 1021, T.RGBFormat = 1022, T.RGBAFormat = 1023, T.LuminanceFormat = 1024, T.LuminanceAlphaFormat = 1025, T.RGBEFormat = 1023, T.DepthFormat = 1026, T.DepthStencilFormat = 1027, T.RedFormat = 1028, T.RGB_S3TC_DXT1_Format = 33776, T.RGBA_S3TC_DXT1_Format = 33777, T.RGBA_S3TC_DXT3_Format = 33778, T.RGBA_S3TC_DXT5_Format = 33779, T.RGB_PVRTC_4BPPV1_Format = 35840, T.RGB_PVRTC_2BPPV1_Format = 35841, T.RGBA_PVRTC_4BPPV1_Format = 35842, T.RGBA_PVRTC_2BPPV1_Format = 35843, T.RGB_ETC1_Format = 36196, T.RGBA_ASTC_4x4_Format = 37808, T.RGBA_ASTC_5x4_Format = 37809, T.RGBA_ASTC_5x5_Format = 37810, T.RGBA_ASTC_6x5_Format = 37811, T.RGBA_ASTC_6x6_Format = 37812, T.RGBA_ASTC_8x5_Format = 37813, T.RGBA_ASTC_8x6_Format = 37814, T.RGBA_ASTC_8x8_Format = 37815, T.RGBA_ASTC_10x5_Format = 37816, T.RGBA_ASTC_10x6_Format = 37817, T.RGBA_ASTC_10x8_Format = 37818, T.RGBA_ASTC_10x10_Format = 37819, T.RGBA_ASTC_12x10_Format = 37820, T.RGBA_ASTC_12x12_Format = 37821, T.LoopOnce = 2200, T.LoopRepeat = 2201, T.LoopPingPong = 2202, T.InterpolateDiscrete = 2300, T.InterpolateLinear = 2301, T.InterpolateSmooth = 2302, T.ZeroCurvatureEnding = 2400, T.ZeroSlopeEnding = 2401, T.WrapAroundEnding = 2402, T.TrianglesDrawMode = 0, T.TriangleStripDrawMode = 1, T.TriangleFanDrawMode = 2, T.LinearEncoding = 3e3, T.sRGBEncoding = 3001, T.GammaEncoding = 3007, T.RGBEEncoding = 3002, T.LogLuvEncoding = 3003, T.RGBM7Encoding = 3004, T.RGBM16Encoding = 3005, T.RGBDEncoding = 3006, T.BasicDepthPacking = 3200, T.RGBADepthPacking = 3201, T.TangentSpaceNormalMap = 0, T.ObjectSpaceNormalMap = 1, T.CubeGeometry = Dt, T.Face4 = function(t, e, i, n, o, s, l) {
19987
+ }, T.WebGLRenderTargetCube = Y, T.WebGLRenderTarget = U, T.WebGLRenderer = _e, T.ShaderLib = jr, T.UniformsLib = qe, T.UniformsUtils = bn, T.ShaderChunk = Ei, T.FogExp2 = Le, T.Fog = mn, T.Scene = On, T.Sprite = $i, T.LOD = Ki, T.SkinnedMesh = ki, T.Skeleton = nn, T.Bone = rn, T.Mesh = pi, T.LineSegments = mi, T.LineLoop = zr, T.Line = Hi, T.Points = ps, T.Group = ui, T.VideoTexture = tl, T.DataTexture = H, T.DataTexture3D = X, T.CompressedTexture = fo, T.CubeTexture = w, T.CanvasTexture = Vs, T.DepthTexture = Xs, T.Texture = O, T.AnimationLoader = Qt, T.CompressedTextureLoader = Yt, T.DataTextureLoader = Ue, T.CubeTextureLoader = zi, T.TextureLoader = on, T.ObjectLoader = ra, T.MaterialLoader = Ba, T.BufferGeometryLoader = nl, T.DefaultLoadingManager = Gn, T.LoadingManager = xo, T.JSONLoader = Zo, T.ImageLoader = si, T.ImageBitmapLoader = rl, T.FontLoader = Il, T.FileLoader = At, T.Loader = no, T.LoaderUtils = ts, T.Cache = Xr, T.AudioLoader = hn, T.SpotLightShadow = ia, T.SpotLight = na, T.PointLight = qo, T.RectAreaLight = za, T.HemisphereLight = ea, T.DirectionalLightShadow = To, T.DirectionalLight = Wr, T.AmbientLight = Yo, T.LightShadow = Hr, T.Light = Ji, T.StereoCamera = In, T.PerspectiveCamera = ye, T.OrthographicCamera = As, T.CubeCamera = oa, T.ArrayCamera = ke, T.Camera = Be, T.AudioListener = ka, T.PositionalAudio = sa, T.AudioContext = gl, T.AudioAnalyser = Jo, T.Audio = Ps, T.VectorKeyframeTrack = Es, T.StringKeyframeTrack = Da, T.QuaternionKeyframeTrack = Ss, T.NumberKeyframeTrack = Er, T.ColorKeyframeTrack = Oa, T.BooleanKeyframeTrack = Ia, T.PropertyMixer = aa, T.PropertyBinding = gn, T.KeyframeTrack = Rn, T.AnimationUtils = zn, T.AnimationObjectGroup = Cs, T.AnimationMixer = Mo, T.AnimationClip = ir, T.Uniform = Ua, T.InstancedBufferGeometry = al, T.BufferGeometry = Ft, T.Geometry = V, T.InterleavedBufferAttribute = Oi, T.InstancedInterleavedBuffer = ll, T.InterleavedBuffer = Ii, T.InstancedBufferAttribute = hl, T.Face3 = M, T.Object3D = z, T.Raycaster = Ol, T.Layers = F, T.EventDispatcher = $, T.Clock = sl, T.QuaternionLinearInterpolant = Vn, T.LinearInterpolant = fr, T.DiscreteInterpolant = Xo, T.CubicInterpolant = ta, T.Interpolant = kn, T.Triangle = Ie, T.Math = fi, T.Spherical = ul, T.Cylindrical = Q, T.Plane = q, T.Frustum = b, T.Sphere = B, T.Ray = Ni, T.Matrix4 = J, T.Matrix3 = P, T.Box3 = K, T.Box2 = So, T.Line3 = Ls, T.Euler = x, T.Vector4 = E, T.Vector3 = m, T.Vector2 = p, T.Quaternion = G, T.Color = A, T.ImmediateRenderObject = Dn, T.VertexNormalsHelper = yi, T.SpotLightHelper = Rs, T.SkeletonHelper = Is, T.PointLightHelper = dr, T.RectAreaLightHelper = Os, T.HemisphereLightHelper = Ds, T.GridHelper = ua, T.PolarGridHelper = Fa, T.FaceNormalsHelper = ca, T.DirectionalLightHelper = $n, T.CameraHelper = fa, T.BoxHelper = ro, T.Box3Helper = pa, T.PlaneHelper = da, T.ArrowHelper = oo, T.AxesHelper = nr, T.Shape = Fn, T.Path = Jn, T.ShapePath = Na, T.Font = ol, T.CurvePath = io, T.Curve = Ee, T.ImageUtils = Eo, T.ShapeUtils = Vr, T.WebGLUtils = He, T.WireframeGeometry = ds, T.ParametricGeometry = qs, T.ParametricBufferGeometry = ms, T.TetrahedronGeometry = Ys, T.TetrahedronBufferGeometry = gs, T.OctahedronGeometry = Zs, T.OctahedronBufferGeometry = Oo, T.IcosahedronGeometry = Js, T.IcosahedronBufferGeometry = vs, T.DodecahedronGeometry = ys, T.DodecahedronBufferGeometry = _s, T.PolyhedronGeometry = Wi, T.PolyhedronBufferGeometry = _i, T.TubeGeometry = ln, T.TubeBufferGeometry = po, T.TorusKnotGeometry = Mr, T.TorusKnotBufferGeometry = Do, T.TorusGeometry = zo, T.TorusBufferGeometry = Cn, T.TextGeometry = Ks, T.TextBufferGeometry = No, T.SphereGeometry = mo, T.SphereBufferGeometry = ur, T.RingGeometry = Qs, T.RingBufferGeometry = ko, T.PlaneGeometry = Fe, T.PlaneBufferGeometry = xe, T.LatheGeometry = Ts, T.LatheBufferGeometry = go, T.ShapeGeometry = Qr, T.ShapeBufferGeometry = vo, T.ExtrudeGeometry = Kr, T.ExtrudeBufferGeometry = Nr, T.EdgesGeometry = yo, T.ConeGeometry = Ms, T.ConeBufferGeometry = Ln, T.CylinderGeometry = to, T.CylinderBufferGeometry = eo, T.CircleGeometry = Uo, T.CircleBufferGeometry = kr, T.BoxGeometry = Dt, T.BoxBufferGeometry = kt, T.ShadowMaterial = _o, T.SpriteMaterial = Ui, T.RawShaderMaterial = Fo, T.ShaderMaterial = ti, T.PointsMaterial = Pn, T.MeshPhysicalMaterial = Go, T.MeshStandardMaterial = Ur, T.MeshPhongMaterial = Sr, T.MeshToonMaterial = Ho, T.MeshNormalMaterial = Wo, T.MeshLambertMaterial = cr, T.MeshDepthMaterial = oe, T.MeshDistanceMaterial = te, T.MeshBasicMaterial = Ge, T.MeshMatcapMaterial = jo, T.LineDashedMaterial = Vo, T.LineBasicMaterial = Di, T.Material = Zt, T.Float64BufferAttribute = Rt, T.Float32BufferAttribute = Pt, T.Uint32BufferAttribute = zt, T.Int32BufferAttribute = D, T.Uint16BufferAttribute = Et, T.Int16BufferAttribute = lt, T.Uint8ClampedBufferAttribute = Nt, T.Uint8BufferAttribute = gt, T.Int8BufferAttribute = ft, T.BufferAttribute = ht, T.ArcCurve = bs, T.CatmullRomCurve3 = Tn, T.CubicBezierCurve = qn, T.CubicBezierCurve3 = wi, T.EllipseCurve = Un, T.LineCurve = Yn, T.LineCurve3 = pr, T.QuadraticBezierCurve = Zn, T.QuadraticBezierCurve3 = Gr, T.SplineCurve = br, T.REVISION = "98", T.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, T.CullFaceNone = 0, T.CullFaceBack = 1, T.CullFaceFront = 2, T.CullFaceFrontBack = 3, T.FrontFaceDirectionCW = 0, T.FrontFaceDirectionCCW = 1, T.BasicShadowMap = 0, T.PCFShadowMap = 1, T.PCFSoftShadowMap = 2, T.FrontSide = 0, T.BackSide = 1, T.DoubleSide = 2, T.FlatShading = 1, T.SmoothShading = 2, T.NoColors = 0, T.FaceColors = 1, T.VertexColors = 2, T.NoBlending = 0, T.NormalBlending = 1, T.AdditiveBlending = 2, T.SubtractiveBlending = 3, T.MultiplyBlending = 4, T.CustomBlending = 5, T.AddEquation = 100, T.SubtractEquation = 101, T.ReverseSubtractEquation = 102, T.MinEquation = 103, T.MaxEquation = 104, T.ZeroFactor = 200, T.OneFactor = 201, T.SrcColorFactor = 202, T.OneMinusSrcColorFactor = 203, T.SrcAlphaFactor = 204, T.OneMinusSrcAlphaFactor = 205, T.DstAlphaFactor = 206, T.OneMinusDstAlphaFactor = 207, T.DstColorFactor = 208, T.OneMinusDstColorFactor = 209, T.SrcAlphaSaturateFactor = 210, T.NeverDepth = 0, T.AlwaysDepth = 1, T.LessDepth = 2, T.LessEqualDepth = 3, T.EqualDepth = 4, T.GreaterEqualDepth = 5, T.GreaterDepth = 6, T.NotEqualDepth = 7, T.MultiplyOperation = 0, T.MixOperation = 1, T.AddOperation = 2, T.NoToneMapping = 0, T.LinearToneMapping = 1, T.ReinhardToneMapping = 2, T.Uncharted2ToneMapping = 3, T.CineonToneMapping = 4, T.UVMapping = 300, T.CubeReflectionMapping = 301, T.CubeRefractionMapping = 302, T.EquirectangularReflectionMapping = 303, T.EquirectangularRefractionMapping = 304, T.SphericalReflectionMapping = 305, T.CubeUVReflectionMapping = 306, T.CubeUVRefractionMapping = 307, T.RepeatWrapping = 1e3, T.ClampToEdgeWrapping = 1001, T.MirroredRepeatWrapping = 1002, T.NearestFilter = 1003, T.NearestMipMapNearestFilter = 1004, T.NearestMipMapLinearFilter = 1005, T.LinearFilter = 1006, T.LinearMipMapNearestFilter = 1007, T.LinearMipMapLinearFilter = 1008, T.UnsignedByteType = 1009, T.ByteType = 1010, T.ShortType = 1011, T.UnsignedShortType = 1012, T.IntType = 1013, T.UnsignedIntType = 1014, T.FloatType = 1015, T.HalfFloatType = 1016, T.UnsignedShort4444Type = 1017, T.UnsignedShort5551Type = 1018, T.UnsignedShort565Type = 1019, T.UnsignedInt248Type = 1020, T.AlphaFormat = 1021, T.RGBFormat = 1022, T.RGBAFormat = 1023, T.LuminanceFormat = 1024, T.LuminanceAlphaFormat = 1025, T.RGBEFormat = 1023, T.DepthFormat = 1026, T.DepthStencilFormat = 1027, T.RedFormat = 1028, T.RGB_S3TC_DXT1_Format = 33776, T.RGBA_S3TC_DXT1_Format = 33777, T.RGBA_S3TC_DXT3_Format = 33778, T.RGBA_S3TC_DXT5_Format = 33779, T.RGB_PVRTC_4BPPV1_Format = 35840, T.RGB_PVRTC_2BPPV1_Format = 35841, T.RGBA_PVRTC_4BPPV1_Format = 35842, T.RGBA_PVRTC_2BPPV1_Format = 35843, T.RGB_ETC1_Format = 36196, T.RGBA_ASTC_4x4_Format = 37808, T.RGBA_ASTC_5x4_Format = 37809, T.RGBA_ASTC_5x5_Format = 37810, T.RGBA_ASTC_6x5_Format = 37811, T.RGBA_ASTC_6x6_Format = 37812, T.RGBA_ASTC_8x5_Format = 37813, T.RGBA_ASTC_8x6_Format = 37814, T.RGBA_ASTC_8x8_Format = 37815, T.RGBA_ASTC_10x5_Format = 37816, T.RGBA_ASTC_10x6_Format = 37817, T.RGBA_ASTC_10x8_Format = 37818, T.RGBA_ASTC_10x10_Format = 37819, T.RGBA_ASTC_12x10_Format = 37820, T.RGBA_ASTC_12x12_Format = 37821, T.LoopOnce = 2200, T.LoopRepeat = 2201, T.LoopPingPong = 2202, T.InterpolateDiscrete = 2300, T.InterpolateLinear = 2301, T.InterpolateSmooth = 2302, T.ZeroCurvatureEnding = 2400, T.ZeroSlopeEnding = 2401, T.WrapAroundEnding = 2402, T.TrianglesDrawMode = 0, T.TriangleStripDrawMode = 1, T.TriangleFanDrawMode = 2, T.LinearEncoding = 3e3, T.sRGBEncoding = 3001, T.GammaEncoding = 3007, T.RGBEEncoding = 3002, T.LogLuvEncoding = 3003, T.RGBM7Encoding = 3004, T.RGBM16Encoding = 3005, T.RGBDEncoding = 3006, T.BasicDepthPacking = 3200, T.RGBADepthPacking = 3201, T.TangentSpaceNormalMap = 0, T.ObjectSpaceNormalMap = 1, T.CubeGeometry = Dt, T.Face4 = function(t, e, i, n, o, s, l) {
19988
19988
  return console.warn(
19989
19989
  "THREE.Face4 has been removed. A THREE.Face3 will be created instead."
19990
- ), new S(t, e, i, o, s, l);
19990
+ ), new M(t, e, i, o, s, l);
19991
19991
  }, T.LineStrip = 0, T.LinePieces = 1, T.MeshFaceMaterial = function(t) {
19992
19992
  return console.warn(
19993
19993
  "THREE.MeshFaceMaterial has been removed. Use an Array instead."
@@ -20338,10 +20338,10 @@ class sg {
20338
20338
  if (typeof $ != "object") {
20339
20339
  let A = this.query($);
20340
20340
  A || m("缺少树结构");
20341
- let { id: d, bimModelExcavationDetails: g, bimModel: S } = A;
20342
- P = d, O = S.modelType, E = S.tender, U = S.releasedDistance, Y = S.modelName, H = S.isDynamicReleased, K = {
20341
+ let { id: d, bimModelExcavationDetails: g, bimModel: M } = A;
20342
+ P = d, O = M.modelType, E = M.tender, U = M.releasedDistance, Y = M.modelName, H = M.isDynamicReleased, K = {
20343
20343
  bimModelExcavationDetails: g
20344
- }, B = A.url, q = S.modelColor;
20344
+ }, B = A.url, q = M.modelColor;
20345
20345
  } else
20346
20346
  P = $.modelId, O = $.modelType, E = $.tender, U = $.releasedDistance, Y = $.modelTitle, H = $.permission, K = $.customize, B = $.url, q = $.color;
20347
20347
  let b = this.map.getLayer($, "modelId");
@@ -20357,7 +20357,7 @@ class sg {
20357
20357
  new Cesium.Resource({
20358
20358
  url: B
20359
20359
  }).fetchJson().then((d) => {
20360
- let g = null, S = { enabled: !0, precise: !1 }, x = [];
20360
+ let g = null, M = { enabled: !0, precise: !1 }, x = [];
20361
20361
  q && (g = {
20362
20362
  color: { conditions: [["true", "rgba(255, 255, 0, 1)"]] }
20363
20363
  }), window.bimClip && window.bimClip.activeObj[P] && (Object.keys(window.bimClip.activeObj[P]).forEach((F) => {
@@ -20366,7 +20366,7 @@ class sg {
20366
20366
  positions: JSON.parse(ht).excavationDetails,
20367
20367
  id: Number(F)
20368
20368
  });
20369
- }), x.length > 0 && (S.area = x)), this.tilesetLayer = new mars3d.layer.TilesetLayer({
20369
+ }), x.length > 0 && (M.area = x)), this.tilesetLayer = new mars3d.layer.TilesetLayer({
20370
20370
  modelId: P,
20371
20371
  modelType: O,
20372
20372
  tender: E,
@@ -20387,7 +20387,7 @@ class sg {
20387
20387
  dynamicScreenSpaceError: !0,
20388
20388
  preloadWhenHidden: !1,
20389
20389
  style: g,
20390
- clip: S,
20390
+ clip: M,
20391
20391
  cacheBytes: 1073741824 * 2,
20392
20392
  // 1024MB = 1024*1024*1024
20393
20393
  maximumCacheOverflowBytes: 2147483648 * 2
@@ -20571,7 +20571,7 @@ const Hu = (T, $, p) => {
20571
20571
  distanceDisplayCondition: A,
20572
20572
  distanceDisplayCondition_far: d,
20573
20573
  distanceDisplayCondition_near: g,
20574
- clampToGround: S,
20574
+ clampToGround: M,
20575
20575
  divStyle: x
20576
20576
  // theme_color2,
20577
20577
  // theme_color3,
@@ -20645,7 +20645,7 @@ const Hu = (T, $, p) => {
20645
20645
  distanceDisplayCondition: A,
20646
20646
  distanceDisplayCondition_far: d,
20647
20647
  distanceDisplayCondition_near: g,
20648
- clampToGround: S
20648
+ clampToGround: M
20649
20649
  };
20650
20650
  } else
20651
20651
  T.difference && T.difference.length > 0 && T.difference.forEach((O) => {
@@ -20678,11 +20678,11 @@ var oh = { exports: {} };
20678
20678
  oh.exports;
20679
20679
  (function(T, $) {
20680
20680
  (function() {
20681
- var p, J = "4.17.21", G = 200, m = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", P = "Expected a function", O = "Invalid `variable` option passed into `_.template`", E = "__lodash_hash_undefined__", U = 500, Y = "__lodash_placeholder__", H = 1, K = 2, B = 4, q = 1, b = 2, A = 1, d = 2, g = 4, S = 8, x = 16, F = 32, z = 64, V = 128, ht = 256, ft = 512, gt = 30, Nt = "...", lt = 800, Et = 16, D = 1, zt = 2, Pt = 3, Rt = 1 / 0, ge = 9007199254740991, ue = 17976931348623157e292, Ft = 0 / 0, Dt = 4294967295, kt = Dt - 1, Fe = Dt >>> 1, xe = [
20681
+ var p, J = "4.17.21", G = 200, m = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", P = "Expected a function", O = "Invalid `variable` option passed into `_.template`", E = "__lodash_hash_undefined__", U = 500, Y = "__lodash_placeholder__", H = 1, K = 2, B = 4, q = 1, b = 2, A = 1, d = 2, g = 4, M = 8, x = 16, F = 32, z = 64, V = 128, ht = 256, ft = 512, gt = 30, Nt = "...", lt = 800, Et = 16, D = 1, zt = 2, Pt = 3, Rt = 1 / 0, ge = 9007199254740991, ue = 17976931348623157e292, Ft = 0 / 0, Dt = 4294967295, kt = Dt - 1, Fe = Dt >>> 1, xe = [
20682
20682
  ["ary", V],
20683
20683
  ["bind", A],
20684
20684
  ["bindKey", d],
20685
- ["curry", S],
20685
+ ["curry", M],
20686
20686
  ["curryRight", x],
20687
20687
  ["flip", ft],
20688
20688
  ["partial", F],
@@ -21787,7 +21787,7 @@ oh.exports;
21787
21787
  function y(r) {
21788
21788
  return wn(r) && Qn(r) == Kt;
21789
21789
  }
21790
- function M(r) {
21790
+ function S(r) {
21791
21791
  return wn(r) && Ql(r.length) && !!Wi[Bn(r)];
21792
21792
  }
21793
21793
  function C(r) {
@@ -22320,7 +22320,7 @@ oh.exports;
22320
22320
  for (_ = yt ? _ : u; ++_ < u; ) {
22321
22321
  at = a[_];
22322
22322
  var St = Vl(at), Bt = St == "wrapper" ? gh(at) : p;
22323
- Bt && xh(Bt[0]) && Bt[1] == (V | S | F | ht) && !Bt[4].length && Bt[9] == 1 ? yt = yt[Vl(Bt[0])].apply(yt, Bt[3]) : yt = at.length == 1 && xh(at) ? yt[St]() : yt.thru(at);
22323
+ Bt && xh(Bt[0]) && Bt[1] == (V | M | F | ht) && !Bt[4].length && Bt[9] == 1 ? yt = yt[Vl(Bt[0])].apply(yt, Bt[3]) : yt = at.length == 1 && xh(at) ? yt[St]() : yt.thru(at);
22324
22324
  }
22325
22325
  return function() {
22326
22326
  var re = arguments, ae = re[0];
@@ -22333,7 +22333,7 @@ oh.exports;
22333
22333
  });
22334
22334
  }
22335
22335
  function Yi(r, a, u, _, k, at, yt, St, Bt, re) {
22336
- var ae = a & V, fe = a & A, ze = a & d, Je = a & (S | x), li = a & ft, Ti = ze ? p : We(r);
22336
+ var ae = a & V, fe = a & A, ze = a & d, Je = a & (M | x), li = a & ft, Ti = ze ? p : We(r);
22337
22337
  function hi() {
22338
22338
  for (var Pi = arguments.length, Bi = Yt(Pi), Cr = Pi; Cr--; )
22339
22339
  Bi[Cr] = arguments[Cr];
@@ -22417,7 +22417,7 @@ oh.exports;
22417
22417
  };
22418
22418
  }
22419
22419
  function wl(r, a, u, _, k, at, yt, St, Bt, re) {
22420
- var ae = a & S, fe = ae ? yt : p, ze = ae ? p : yt, Je = ae ? at : p, li = ae ? p : at;
22420
+ var ae = a & M, fe = ae ? yt : p, ze = ae ? p : yt, Je = ae ? at : p, li = ae ? p : at;
22421
22421
  a |= ae ? F : z, a &= ~(ae ? z : F), a & g || (a &= ~(A | d));
22422
22422
  var Ti = [
22423
22423
  r,
@@ -22473,10 +22473,10 @@ oh.exports;
22473
22473
  yt,
22474
22474
  St
22475
22475
  ];
22476
- if (ze && oc(Je, ze), r = Je[0], a = Je[1], u = Je[2], _ = Je[3], k = Je[4], St = Je[9] = Je[9] === p ? Bt ? 0 : r.length : hn(Je[9] - re, 0), !St && a & (S | x) && (a &= ~(S | x)), !a || a == A)
22476
+ if (ze && oc(Je, ze), r = Je[0], a = Je[1], u = Je[2], _ = Je[3], k = Je[4], St = Je[9] = Je[9] === p ? Bt ? 0 : r.length : hn(Je[9] - re, 0), !St && a & (M | x) && (a &= ~(M | x)), !a || a == A)
22477
22477
  var li = dt(r, a, u);
22478
22478
  else
22479
- a == S || a == x ? li = Se(r, a, St) : (a == F || a == (A | F)) && !k.length ? li = Kn(r, a, u, _) : li = Yi.apply(p, Je);
22479
+ a == M || a == x ? li = Se(r, a, St) : (a == F || a == (A | F)) && !k.length ? li = Kn(r, a, u, _) : li = Yi.apply(p, Je);
22480
22480
  var Ti = ze ? yn : tu;
22481
22481
  return eu(Ti(li, Je), r, a);
22482
22482
  }
@@ -22805,7 +22805,7 @@ oh.exports;
22805
22805
  return a;
22806
22806
  }
22807
22807
  function oc(r, a) {
22808
- var u = r[1], _ = a[1], k = u | _, at = k < (A | d | V), yt = _ == V && u == S || _ == V && u == ht && r[7].length <= a[8] || _ == (V | ht) && a[7].length <= a[8] && u == S;
22808
+ var u = r[1], _ = a[1], k = u | _, at = k < (A | d | V), yt = _ == V && u == M || _ == V && u == ht && r[7].length <= a[8] || _ == (V | ht) && a[7].length <= a[8] && u == M;
22809
22809
  if (!(at || yt))
22810
22810
  return r;
22811
22811
  _ & A && (r[2] = a[2], k |= u & A ? 0 : g);
@@ -23382,7 +23382,7 @@ oh.exports;
23382
23382
  });
23383
23383
  function vu(r, a, u) {
23384
23384
  a = u ? p : a;
23385
- var _ = Wn(r, S, p, p, p, p, p, a);
23385
+ var _ = Wn(r, M, p, p, p, p, p, a);
23386
23386
  return _.placeholder = vu.placeholder, _;
23387
23387
  }
23388
23388
  function yu(r, a, u) {
@@ -23664,7 +23664,7 @@ oh.exports;
23664
23664
  function Pr(r) {
23665
23665
  return typeof r == "symbol" || wn(r) && Bn(r) == X;
23666
23666
  }
23667
- var Za = Pa ? Ln(Pa) : M;
23667
+ var Za = Pa ? Ln(Pa) : S;
23668
23668
  function Ep(r) {
23669
23669
  return r === p;
23670
23670
  }
@@ -24404,7 +24404,7 @@ class ag {
24404
24404
  url: O
24405
24405
  }).fetchJson().then((H) => {
24406
24406
  let { id: K, title: B, shpInfo: q } = m, { attributes: b, geometryType: A, geometryCount: d, pointCount: g } = q, {
24407
- width: S,
24407
+ width: M,
24408
24408
  materialType: x,
24409
24409
  materialOptions: F,
24410
24410
  clampToGround: z,
@@ -24438,7 +24438,7 @@ class ag {
24438
24438
  symbol: {
24439
24439
  type: "polylineC",
24440
24440
  styleOptions: {
24441
- width: S,
24441
+ width: M,
24442
24442
  clampToGround: z,
24443
24443
  distanceDisplayCondition: V,
24444
24444
  distanceDisplayCondition_far: ft,
@@ -24558,7 +24558,7 @@ class ag {
24558
24558
  outLine: A,
24559
24559
  sideColor: d,
24560
24560
  backGround: g,
24561
- backGroundColor: S,
24561
+ backGroundColor: M,
24562
24562
  clampToGround: x
24563
24563
  } = m;
24564
24564
  console.log("minDistinct", H);
@@ -24592,7 +24592,7 @@ class ag {
24592
24592
  distanceDisplayCondition_far: K || 1e6,
24593
24593
  distanceDisplayCondition_near: H || 0,
24594
24594
  background: g || !1,
24595
- backgroundColor: S || "",
24595
+ backgroundColor: M || "",
24596
24596
  visibleDepth: G,
24597
24597
  clampToGround: x || !1,
24598
24598
  disableDepthTestDistance: J
@@ -24815,14 +24815,14 @@ class hg {
24815
24815
  surfaceOpacity: Y
24816
24816
  } = this.exposureEnvironmentSettings();
24817
24817
  return new Promise((H, K) => {
24818
- let B, q, b;
24818
+ let B, q, b, A, d;
24819
24819
  if (typeof $ != "object") {
24820
- let A = this.query($);
24821
- A || K("缺少树结构");
24822
- let { gisInfo: d } = A;
24823
- B = d.id, b = d.order, q = A.url;
24820
+ let g = this.query($);
24821
+ g || K("缺少树结构");
24822
+ let { gisInfo: M } = g;
24823
+ B = M.id, b = M.order, q = g.url, A = M.minLevel, d = M.maxLevel;
24824
24824
  } else
24825
- B = $.imageXyzId, q = $.url, b = $.zIndex;
24825
+ B = $.imageXyzId, q = $.url, b = $.zIndex, A = $.minimumLevel, d = $.maximumLevel;
24826
24826
  this.elevationImageLayer = new mars3d.layer.XyzLayer({
24827
24827
  imageXyzId: B,
24828
24828
  type: "xyz",
@@ -24840,12 +24840,14 @@ class hg {
24840
24840
  hue: O,
24841
24841
  gamma: U,
24842
24842
  alpha: Y,
24843
- show: !0
24844
- }), this.elevationImageLayer.on(mars3d.EventType.load, (A) => {
24845
- H(A);
24846
- }), this.map.addLayer(this.elevationImageLayer), p && Object.keys(p).forEach((A) => {
24847
- this.elevationImageLayer.on(fnType.get(A), (d) => {
24848
- p[A](d);
24843
+ show: !0,
24844
+ minimumLevel: A || 0,
24845
+ maximumLevel: d || 15
24846
+ }), this.elevationImageLayer.on(mars3d.EventType.load, (g) => {
24847
+ H(g);
24848
+ }), this.map.addLayer(this.elevationImageLayer), p && Object.keys(p).forEach((g) => {
24849
+ this.elevationImageLayer.on(fnType.get(g), (M) => {
24850
+ p[g](M);
24849
24851
  });
24850
24852
  });
24851
24853
  });
@@ -25473,17 +25475,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25473
25475
  }({ 1: [function(p, J, G) {
25474
25476
  var m = p("./utils"), P = p("./support"), O = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
25475
25477
  G.encode = function(E) {
25476
- for (var U, Y, H, K, B, q, b, A = [], d = 0, g = E.length, S = g, x = m.getTypeOf(E) !== "string"; d < E.length; )
25477
- S = g - d, H = x ? (U = E[d++], Y = d < g ? E[d++] : 0, d < g ? E[d++] : 0) : (U = E.charCodeAt(d++), Y = d < g ? E.charCodeAt(d++) : 0, d < g ? E.charCodeAt(d++) : 0), K = U >> 2, B = (3 & U) << 4 | Y >> 4, q = 1 < S ? (15 & Y) << 2 | H >> 6 : 64, b = 2 < S ? 63 & H : 64, A.push(O.charAt(K) + O.charAt(B) + O.charAt(q) + O.charAt(b));
25478
+ for (var U, Y, H, K, B, q, b, A = [], d = 0, g = E.length, M = g, x = m.getTypeOf(E) !== "string"; d < E.length; )
25479
+ M = g - d, H = x ? (U = E[d++], Y = d < g ? E[d++] : 0, d < g ? E[d++] : 0) : (U = E.charCodeAt(d++), Y = d < g ? E.charCodeAt(d++) : 0, d < g ? E.charCodeAt(d++) : 0), K = U >> 2, B = (3 & U) << 4 | Y >> 4, q = 1 < M ? (15 & Y) << 2 | H >> 6 : 64, b = 2 < M ? 63 & H : 64, A.push(O.charAt(K) + O.charAt(B) + O.charAt(q) + O.charAt(b));
25478
25480
  return A.join("");
25479
25481
  }, G.decode = function(E) {
25480
25482
  var U, Y, H, K, B, q, b = 0, A = 0, d = "data:";
25481
25483
  if (E.substr(0, d.length) === d)
25482
25484
  throw new Error("Invalid base64 input, it looks like a data url.");
25483
- var g, S = 3 * (E = E.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
25484
- if (E.charAt(E.length - 1) === O.charAt(64) && S--, E.charAt(E.length - 2) === O.charAt(64) && S--, S % 1 != 0)
25485
+ var g, M = 3 * (E = E.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
25486
+ if (E.charAt(E.length - 1) === O.charAt(64) && M--, E.charAt(E.length - 2) === O.charAt(64) && M--, M % 1 != 0)
25485
25487
  throw new Error("Invalid base64 input, bad content length.");
25486
- for (g = P.uint8array ? new Uint8Array(0 | S) : new Array(0 | S); b < E.length; )
25488
+ for (g = P.uint8array ? new Uint8Array(0 | M) : new Array(0 | M); b < E.length; )
25487
25489
  U = O.indexOf(E.charAt(b++)) << 2 | (K = O.indexOf(E.charAt(b++))) >> 4, Y = (15 & K) << 4 | (B = O.indexOf(E.charAt(b++))) >> 2, H = (3 & B) << 6 | (q = O.indexOf(E.charAt(b++))), g[A++] = U, B !== 64 && (g[A++] = Y), q !== 64 && (g[A++] = H);
25488
25490
  return g;
25489
25491
  };
@@ -25570,7 +25572,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25570
25572
  return A;
25571
25573
  }
25572
25574
  function P(B, q, b, A, d, g) {
25573
- var S, x, F = B.file, z = B.compression, V = g !== U.utf8encode, ht = O.transformTo("string", g(F.name)), ft = O.transformTo("string", U.utf8encode(F.name)), gt = F.comment, Nt = O.transformTo("string", g(gt)), lt = O.transformTo("string", U.utf8encode(gt)), Et = ft.length !== F.name.length, D = lt.length !== gt.length, zt = "", Pt = "", Rt = "", ge = F.dir, ue = F.date, Ft = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
25575
+ var M, x, F = B.file, z = B.compression, V = g !== U.utf8encode, ht = O.transformTo("string", g(F.name)), ft = O.transformTo("string", U.utf8encode(F.name)), gt = F.comment, Nt = O.transformTo("string", g(gt)), lt = O.transformTo("string", U.utf8encode(gt)), Et = ft.length !== F.name.length, D = lt.length !== gt.length, zt = "", Pt = "", Rt = "", ge = F.dir, ue = F.date, Ft = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
25574
25576
  q && !b || (Ft.crc32 = B.crc32, Ft.compressedSize = B.compressedSize, Ft.uncompressedSize = B.uncompressedSize);
25575
25577
  var Dt = 0;
25576
25578
  q && (Dt |= 8), V || !Et && !D || (Dt |= 2048);
@@ -25580,10 +25582,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25580
25582
  return Zt || (Ni = ti ? 16893 : 33204), (65535 & Ni) << 16;
25581
25583
  }(F.unixPermissions, ge)) : (Fe = 20, kt |= function(Zt) {
25582
25584
  return 63 & (Zt || 0);
25583
- }(F.dosPermissions)), S = ue.getUTCHours(), S <<= 6, S |= ue.getUTCMinutes(), S <<= 5, S |= ue.getUTCSeconds() / 2, x = ue.getUTCFullYear() - 1980, x <<= 4, x |= ue.getUTCMonth() + 1, x <<= 5, x |= ue.getUTCDate(), Et && (Pt = m(1, 1) + m(Y(ht), 4) + ft, zt += "up" + m(Pt.length, 2) + Pt), D && (Rt = m(1, 1) + m(Y(Nt), 4) + lt, zt += "uc" + m(Rt.length, 2) + Rt);
25585
+ }(F.dosPermissions)), M = ue.getUTCHours(), M <<= 6, M |= ue.getUTCMinutes(), M <<= 5, M |= ue.getUTCSeconds() / 2, x = ue.getUTCFullYear() - 1980, x <<= 4, x |= ue.getUTCMonth() + 1, x <<= 5, x |= ue.getUTCDate(), Et && (Pt = m(1, 1) + m(Y(ht), 4) + ft, zt += "up" + m(Pt.length, 2) + Pt), D && (Rt = m(1, 1) + m(Y(Nt), 4) + lt, zt += "uc" + m(Rt.length, 2) + Rt);
25584
25586
  var xe = "";
25585
25587
  return xe += `
25586
- \0`, xe += m(Dt, 2), xe += z.magic, xe += m(S, 2), xe += m(x, 2), xe += m(Ft.crc32, 4), xe += m(Ft.compressedSize, 4), xe += m(Ft.uncompressedSize, 4), xe += m(ht.length, 2), xe += m(zt.length, 2), { fileRecord: H.LOCAL_FILE_HEADER + xe + ht + zt, dirRecord: H.CENTRAL_FILE_HEADER + m(Fe, 2) + xe + m(Nt.length, 2) + "\0\0\0\0" + m(kt, 4) + m(A, 4) + ht + zt + Nt };
25588
+ \0`, xe += m(Dt, 2), xe += z.magic, xe += m(M, 2), xe += m(x, 2), xe += m(Ft.crc32, 4), xe += m(Ft.compressedSize, 4), xe += m(Ft.uncompressedSize, 4), xe += m(ht.length, 2), xe += m(zt.length, 2), { fileRecord: H.LOCAL_FILE_HEADER + xe + ht + zt, dirRecord: H.CENTRAL_FILE_HEADER + m(Fe, 2) + xe + m(Nt.length, 2) + "\0\0\0\0" + m(kt, 4) + m(A, 4) + ht + zt + Nt };
25587
25589
  }
25588
25590
  var O = p("../utils"), E = p("../stream/GenericWorker"), U = p("../utf8"), Y = p("../crc32"), H = p("../signature");
25589
25591
  function K(B, q, b, A) {
@@ -25614,9 +25616,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25614
25616
  }, K.prototype.flush = function() {
25615
25617
  for (var B = this.bytesWritten, q = 0; q < this.dirRecords.length; q++)
25616
25618
  this.push({ data: this.dirRecords[q], meta: { percent: 100 } });
25617
- var b = this.bytesWritten - B, A = function(d, g, S, x, F) {
25619
+ var b = this.bytesWritten - B, A = function(d, g, M, x, F) {
25618
25620
  var z = O.transformTo("string", F(x));
25619
- return H.CENTRAL_DIRECTORY_END + "\0\0\0\0" + m(d, 2) + m(d, 2) + m(g, 4) + m(S, 4) + m(z.length, 2) + z;
25621
+ return H.CENTRAL_DIRECTORY_END + "\0\0\0\0" + m(d, 2) + m(d, 2) + m(g, 4) + m(M, 4) + m(z.length, 2) + z;
25620
25622
  }(this.dirRecords.length, b, B, this.zipComment, this.encodeFileName);
25621
25623
  this.push({ data: A, meta: { percent: 100 } });
25622
25624
  }, K.prototype.prepareNextSource = function() {
@@ -25655,8 +25657,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25655
25657
  try {
25656
25658
  O.forEach(function(K, B) {
25657
25659
  H++;
25658
- var q = function(g, S) {
25659
- var x = g || S, F = m[x];
25660
+ var q = function(g, M) {
25661
+ var x = g || M, F = m[x];
25660
25662
  if (!F)
25661
25663
  throw new Error(x + " is not a valid compression method !");
25662
25664
  return F;
@@ -25709,8 +25711,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25709
25711
  return P.Promise.all(A);
25710
25712
  }).then(function(b) {
25711
25713
  for (var A = b.shift(), d = A.files, g = 0; g < d.length; g++) {
25712
- var S = d[g], x = S.fileNameStr, F = m.resolve(S.fileNameStr);
25713
- q.file(F, S.decompressed, { binary: !0, optimizedBinaryString: !0, date: S.date, dir: S.dir, comment: S.fileCommentStr.length ? S.fileCommentStr : null, unixPermissions: S.unixPermissions, dosPermissions: S.dosPermissions, createFolders: B.createFolders }), S.dir || (q.file(F).unsafeOriginalName = x);
25714
+ var M = d[g], x = M.fileNameStr, F = m.resolve(M.fileNameStr);
25715
+ q.file(F, M.decompressed, { binary: !0, optimizedBinaryString: !0, date: M.date, dir: M.dir, comment: M.fileCommentStr.length ? M.fileCommentStr : null, unixPermissions: M.unixPermissions, dosPermissions: M.dosPermissions, createFolders: B.createFolders }), M.dir || (q.file(F).unsafeOriginalName = x);
25714
25716
  }
25715
25717
  return A.zipComment.length && (q.comment = A.zipComment), q;
25716
25718
  });
@@ -25787,7 +25789,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25787
25789
  }, g = function(F, z) {
25788
25790
  return z = z !== void 0 ? z : Y.createFolders, F = d(F), this.files[F] || m.call(this, F, null, { dir: !0, createFolders: z }), this.files[F];
25789
25791
  };
25790
- function S(F) {
25792
+ function M(F) {
25791
25793
  return Object.prototype.toString.call(F) === "[object RegExp]";
25792
25794
  }
25793
25795
  var x = { load: function() {
@@ -25804,7 +25806,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25804
25806
  }, file: function(F, z, V) {
25805
25807
  if (arguments.length !== 1)
25806
25808
  return F = this.root + F, m.call(this, F, z, V), this;
25807
- if (S(F)) {
25809
+ if (M(F)) {
25808
25810
  var ht = F;
25809
25811
  return this.filter(function(gt, Nt) {
25810
25812
  return !Nt.dir && ht.test(gt);
@@ -25815,7 +25817,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
25815
25817
  }, folder: function(F) {
25816
25818
  if (!F)
25817
25819
  return this;
25818
- if (S(F))
25820
+ if (M(F))
25819
25821
  return this.filter(function(ft, gt) {
25820
25822
  return gt.dir && F.test(ft);
25821
25823
  });
@@ -26087,7 +26089,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26087
26089
  }
26088
26090
  function K(q, b) {
26089
26091
  return new Y.Promise(function(A, d) {
26090
- var g = [], S = q._internalType, x = q._outputType, F = q._mimeType;
26092
+ var g = [], M = q._internalType, x = q._outputType, F = q._mimeType;
26091
26093
  q.on("data", function(z, V) {
26092
26094
  g.push(z), b && b(V);
26093
26095
  }).on("error", function(z) {
@@ -26121,7 +26123,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26121
26123
  default:
26122
26124
  throw new Error("concat : unsupported type '" + V + "'");
26123
26125
  }
26124
- }(S, g), F);
26126
+ }(M, g), F);
26125
26127
  A(z);
26126
26128
  } catch (V) {
26127
26129
  d(V);
@@ -26197,23 +26199,23 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26197
26199
  }
26198
26200
  G.utf8encode = function(B) {
26199
26201
  return P.nodebuffer ? O.newBufferFrom(B, "utf-8") : function(q) {
26200
- var b, A, d, g, S, x = q.length, F = 0;
26202
+ var b, A, d, g, M, x = q.length, F = 0;
26201
26203
  for (g = 0; g < x; g++)
26202
26204
  (64512 & (A = q.charCodeAt(g))) == 55296 && g + 1 < x && (64512 & (d = q.charCodeAt(g + 1))) == 56320 && (A = 65536 + (A - 55296 << 10) + (d - 56320), g++), F += A < 128 ? 1 : A < 2048 ? 2 : A < 65536 ? 3 : 4;
26203
- for (b = P.uint8array ? new Uint8Array(F) : new Array(F), g = S = 0; S < F; g++)
26204
- (64512 & (A = q.charCodeAt(g))) == 55296 && g + 1 < x && (64512 & (d = q.charCodeAt(g + 1))) == 56320 && (A = 65536 + (A - 55296 << 10) + (d - 56320), g++), A < 128 ? b[S++] = A : (A < 2048 ? b[S++] = 192 | A >>> 6 : (A < 65536 ? b[S++] = 224 | A >>> 12 : (b[S++] = 240 | A >>> 18, b[S++] = 128 | A >>> 12 & 63), b[S++] = 128 | A >>> 6 & 63), b[S++] = 128 | 63 & A);
26205
+ for (b = P.uint8array ? new Uint8Array(F) : new Array(F), g = M = 0; M < F; g++)
26206
+ (64512 & (A = q.charCodeAt(g))) == 55296 && g + 1 < x && (64512 & (d = q.charCodeAt(g + 1))) == 56320 && (A = 65536 + (A - 55296 << 10) + (d - 56320), g++), A < 128 ? b[M++] = A : (A < 2048 ? b[M++] = 192 | A >>> 6 : (A < 65536 ? b[M++] = 224 | A >>> 12 : (b[M++] = 240 | A >>> 18, b[M++] = 128 | A >>> 12 & 63), b[M++] = 128 | A >>> 6 & 63), b[M++] = 128 | 63 & A);
26205
26207
  return b;
26206
26208
  }(B);
26207
26209
  }, G.utf8decode = function(B) {
26208
26210
  return P.nodebuffer ? m.transformTo("nodebuffer", B).toString("utf-8") : function(q) {
26209
- var b, A, d, g, S = q.length, x = new Array(2 * S);
26210
- for (b = A = 0; b < S; )
26211
+ var b, A, d, g, M = q.length, x = new Array(2 * M);
26212
+ for (b = A = 0; b < M; )
26211
26213
  if ((d = q[b++]) < 128)
26212
26214
  x[A++] = d;
26213
26215
  else if (4 < (g = U[d]))
26214
26216
  x[A++] = 65533, b += g - 1;
26215
26217
  else {
26216
- for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && b < S; )
26218
+ for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && b < M; )
26217
26219
  d = d << 6 | 63 & q[b++], g--;
26218
26220
  1 < g ? x[A++] = 65533 : d < 65536 ? x[A++] = d : (d -= 65536, x[A++] = 55296 | d >> 10 & 1023, x[A++] = 56320 | 1023 & d);
26219
26221
  }
@@ -26229,11 +26231,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26229
26231
  q = this.leftOver.concat(q);
26230
26232
  this.leftOver = null;
26231
26233
  }
26232
- var A = function(g, S) {
26234
+ var A = function(g, M) {
26233
26235
  var x;
26234
- for ((S = S || g.length) > g.length && (S = g.length), x = S - 1; 0 <= x && (192 & g[x]) == 128; )
26236
+ for ((M = M || g.length) > g.length && (M = g.length), x = M - 1; 0 <= x && (192 & g[x]) == 128; )
26235
26237
  x--;
26236
- return x < 0 || x === 0 ? S : x + U[g[x]] > S ? x : S;
26238
+ return x < 0 || x === 0 ? M : x + U[g[x]] > M ? x : M;
26237
26239
  }(q), d = q;
26238
26240
  A !== q.length && (P.uint8array ? (d = q.subarray(0, A), this.leftOver = q.subarray(A, q.length)) : (d = q.slice(0, A), this.leftOver = q.slice(A, q.length))), this.push({ data: G.utf8decode(d), meta: B.meta });
26239
26241
  }, H.prototype.flush = function() {
@@ -26265,11 +26267,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26265
26267
  }
26266
26268
  };
26267
26269
  var H = { stringifyByChunk: function(b, A, d) {
26268
- var g = [], S = 0, x = b.length;
26270
+ var g = [], M = 0, x = b.length;
26269
26271
  if (x <= d)
26270
26272
  return String.fromCharCode.apply(null, b);
26271
- for (; S < x; )
26272
- A === "array" || A === "nodebuffer" ? g.push(String.fromCharCode.apply(null, b.slice(S, Math.min(S + d, x)))) : g.push(String.fromCharCode.apply(null, b.subarray(S, Math.min(S + d, x)))), S += d;
26273
+ for (; M < x; )
26274
+ A === "array" || A === "nodebuffer" ? g.push(String.fromCharCode.apply(null, b.slice(M, Math.min(M + d, x)))) : g.push(String.fromCharCode.apply(null, b.subarray(M, Math.min(M + d, x)))), M += d;
26273
26275
  return g.join("");
26274
26276
  }, stringifyByChar: function(b) {
26275
26277
  for (var A = "", d = 0; d < b.length; d++)
@@ -26348,8 +26350,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26348
26350
  return q[d][b](A);
26349
26351
  }, G.resolve = function(b) {
26350
26352
  for (var A = b.split("/"), d = [], g = 0; g < A.length; g++) {
26351
- var S = A[g];
26352
- S === "." || S === "" && g !== 0 && g !== A.length - 1 || (S === ".." ? d.pop() : d.push(S));
26353
+ var M = A[g];
26354
+ M === "." || M === "" && g !== 0 && g !== A.length - 1 || (M === ".." ? d.pop() : d.push(M));
26353
26355
  }
26354
26356
  return d.join("/");
26355
26357
  }, G.getTypeOf = function(b) {
@@ -26376,7 +26378,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26376
26378
  for (A in arguments[b])
26377
26379
  Object.prototype.hasOwnProperty.call(arguments[b], A) && d[A] === void 0 && (d[A] = arguments[b][A]);
26378
26380
  return d;
26379
- }, G.prepareContent = function(b, A, d, g, S) {
26381
+ }, G.prepareContent = function(b, A, d, g, M) {
26380
26382
  return E.Promise.resolve(A).then(function(x) {
26381
26383
  return m.blob && (x instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(x)) !== -1) && typeof FileReader < "u" ? new E.Promise(function(F, z) {
26382
26384
  var V = new FileReader();
@@ -26388,7 +26390,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26388
26390
  }) : x;
26389
26391
  }).then(function(x) {
26390
26392
  var F = G.getTypeOf(x);
26391
- return F ? (F === "arraybuffer" ? x = G.transformTo("uint8array", x) : F === "string" && (S ? x = P.decode(x) : d && g !== !0 && (x = function(z) {
26393
+ return F ? (F === "arraybuffer" ? x = G.transformTo("uint8array", x) : F === "string" && (M ? x = P.decode(x) : d && g !== !0 && (x = function(z) {
26392
26394
  return Y(z, m.uint8array ? new Uint8Array(z.length) : new Array(z.length));
26393
26395
  }(x))), x) : E.Promise.reject(new Error("Can't read the data of '" + b + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
26394
26396
  });
@@ -26545,8 +26547,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26545
26547
  A !== "binarystring" && A !== "text" || (A = "string"), b = this._decompressWorker();
26546
26548
  var g = !this._dataBinary;
26547
26549
  g && !d && (b = b.pipe(new E.Utf8EncodeWorker())), !g && d && (b = b.pipe(new E.Utf8DecodeWorker()));
26548
- } catch (S) {
26549
- (b = new Y("error")).error(S);
26550
+ } catch (M) {
26551
+ (b = new Y("error")).error(M);
26550
26552
  }
26551
26553
  return new P(b, A, "");
26552
26554
  }, async: function(q, b) {
@@ -26614,14 +26616,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26614
26616
  throw new TypeError("resolver must be a function");
26615
26617
  this.state = Y, this.queue = [], this.outcome = void 0, d !== P && b(this, d);
26616
26618
  }
26617
- function K(d, g, S) {
26618
- this.promise = d, typeof g == "function" && (this.onFulfilled = g, this.callFulfilled = this.otherCallFulfilled), typeof S == "function" && (this.onRejected = S, this.callRejected = this.otherCallRejected);
26619
+ function K(d, g, M) {
26620
+ this.promise = d, typeof g == "function" && (this.onFulfilled = g, this.callFulfilled = this.otherCallFulfilled), typeof M == "function" && (this.onRejected = M, this.callRejected = this.otherCallRejected);
26619
26621
  }
26620
- function B(d, g, S) {
26622
+ function B(d, g, M) {
26621
26623
  m(function() {
26622
26624
  var x;
26623
26625
  try {
26624
- x = g(S);
26626
+ x = g(M);
26625
26627
  } catch (F) {
26626
26628
  return O.reject(d, F);
26627
26629
  }
@@ -26636,12 +26638,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26636
26638
  };
26637
26639
  }
26638
26640
  function b(d, g) {
26639
- var S = !1;
26641
+ var M = !1;
26640
26642
  function x(V) {
26641
- S || (S = !0, O.reject(d, V));
26643
+ M || (M = !0, O.reject(d, V));
26642
26644
  }
26643
26645
  function F(V) {
26644
- S || (S = !0, O.resolve(d, V));
26646
+ M || (M = !0, O.resolve(d, V));
26645
26647
  }
26646
26648
  var z = A(function() {
26647
26649
  g(F, x);
@@ -26649,25 +26651,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26649
26651
  z.status === "error" && x(z.value);
26650
26652
  }
26651
26653
  function A(d, g) {
26652
- var S = {};
26654
+ var M = {};
26653
26655
  try {
26654
- S.value = d(g), S.status = "success";
26656
+ M.value = d(g), M.status = "success";
26655
26657
  } catch (x) {
26656
- S.status = "error", S.value = x;
26658
+ M.status = "error", M.value = x;
26657
26659
  }
26658
- return S;
26660
+ return M;
26659
26661
  }
26660
26662
  (J.exports = H).prototype.finally = function(d) {
26661
26663
  if (typeof d != "function")
26662
26664
  return this;
26663
26665
  var g = this.constructor;
26664
- return this.then(function(S) {
26666
+ return this.then(function(M) {
26665
26667
  return g.resolve(d()).then(function() {
26666
- return S;
26668
+ return M;
26667
26669
  });
26668
- }, function(S) {
26670
+ }, function(M) {
26669
26671
  return g.resolve(d()).then(function() {
26670
- throw S;
26672
+ throw M;
26671
26673
  });
26672
26674
  });
26673
26675
  }, H.prototype.catch = function(d) {
@@ -26675,8 +26677,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26675
26677
  }, H.prototype.then = function(d, g) {
26676
26678
  if (typeof d != "function" && this.state === U || typeof g != "function" && this.state === E)
26677
26679
  return this;
26678
- var S = new this.constructor(P);
26679
- return this.state !== Y ? B(S, this.state === U ? d : g, this.outcome) : this.queue.push(new K(S, d, g)), S;
26680
+ var M = new this.constructor(P);
26681
+ return this.state !== Y ? B(M, this.state === U ? d : g, this.outcome) : this.queue.push(new K(M, d, g)), M;
26680
26682
  }, K.prototype.callFulfilled = function(d) {
26681
26683
  O.resolve(this.promise, d);
26682
26684
  }, K.prototype.otherCallFulfilled = function(d) {
@@ -26686,10 +26688,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26686
26688
  }, K.prototype.otherCallRejected = function(d) {
26687
26689
  B(this.promise, this.onRejected, d);
26688
26690
  }, O.resolve = function(d, g) {
26689
- var S = A(q, g);
26690
- if (S.status === "error")
26691
- return O.reject(d, S.value);
26692
- var x = S.value;
26691
+ var M = A(q, g);
26692
+ if (M.status === "error")
26693
+ return O.reject(d, M.value);
26694
+ var x = M.value;
26693
26695
  if (x)
26694
26696
  b(d, x);
26695
26697
  else {
@@ -26700,8 +26702,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26700
26702
  return d;
26701
26703
  }, O.reject = function(d, g) {
26702
26704
  d.state = E, d.outcome = g;
26703
- for (var S = -1, x = d.queue.length; ++S < x; )
26704
- d.queue[S].callRejected(g);
26705
+ for (var M = -1, x = d.queue.length; ++M < x; )
26706
+ d.queue[M].callRejected(g);
26705
26707
  return d;
26706
26708
  }, H.resolve = function(d) {
26707
26709
  return d instanceof this ? d : O.resolve(new this(P), d);
@@ -26712,15 +26714,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26712
26714
  var g = this;
26713
26715
  if (Object.prototype.toString.call(d) !== "[object Array]")
26714
26716
  return this.reject(new TypeError("must be an array"));
26715
- var S = d.length, x = !1;
26716
- if (!S)
26717
+ var M = d.length, x = !1;
26718
+ if (!M)
26717
26719
  return this.resolve([]);
26718
- for (var F = new Array(S), z = 0, V = -1, ht = new this(P); ++V < S; )
26720
+ for (var F = new Array(M), z = 0, V = -1, ht = new this(P); ++V < M; )
26719
26721
  ft(d[V], V);
26720
26722
  return ht;
26721
26723
  function ft(gt, Nt) {
26722
26724
  g.resolve(gt).then(function(lt) {
26723
- F[Nt] = lt, ++z !== S || x || (x = !0, O.resolve(ht, F));
26725
+ F[Nt] = lt, ++z !== M || x || (x = !0, O.resolve(ht, F));
26724
26726
  }, function(lt) {
26725
26727
  x || (x = !0, O.reject(ht, lt));
26726
26728
  });
@@ -26729,10 +26731,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26729
26731
  var g = this;
26730
26732
  if (Object.prototype.toString.call(d) !== "[object Array]")
26731
26733
  return this.reject(new TypeError("must be an array"));
26732
- var S = d.length, x = !1;
26733
- if (!S)
26734
+ var M = d.length, x = !1;
26735
+ if (!M)
26734
26736
  return this.resolve([]);
26735
- for (var F = -1, z = new this(P); ++F < S; )
26737
+ for (var F = -1, z = new this(P); ++F < M; )
26736
26738
  V = d[F], g.resolve(V).then(function(ht) {
26737
26739
  x || (x = !0, O.resolve(z, ht));
26738
26740
  }, function(ht) {
@@ -26752,33 +26754,33 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26752
26754
  this.options = P.assign({ level: K, method: q, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: B, to: "" }, d || {});
26753
26755
  var g = this.options;
26754
26756
  g.raw && 0 < g.windowBits ? g.windowBits = -g.windowBits : g.gzip && 0 < g.windowBits && g.windowBits < 16 && (g.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new U(), this.strm.avail_out = 0;
26755
- var S = m.deflateInit2(this.strm, g.level, g.method, g.windowBits, g.memLevel, g.strategy);
26756
- if (S !== H)
26757
- throw new Error(E[S]);
26757
+ var M = m.deflateInit2(this.strm, g.level, g.method, g.windowBits, g.memLevel, g.strategy);
26758
+ if (M !== H)
26759
+ throw new Error(E[M]);
26758
26760
  if (g.header && m.deflateSetHeader(this.strm, g.header), g.dictionary) {
26759
26761
  var x;
26760
- if (x = typeof g.dictionary == "string" ? O.string2buf(g.dictionary) : Y.call(g.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(g.dictionary) : g.dictionary, (S = m.deflateSetDictionary(this.strm, x)) !== H)
26761
- throw new Error(E[S]);
26762
+ if (x = typeof g.dictionary == "string" ? O.string2buf(g.dictionary) : Y.call(g.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(g.dictionary) : g.dictionary, (M = m.deflateSetDictionary(this.strm, x)) !== H)
26763
+ throw new Error(E[M]);
26762
26764
  this._dict_set = !0;
26763
26765
  }
26764
26766
  }
26765
26767
  function A(d, g) {
26766
- var S = new b(g);
26767
- if (S.push(d, !0), S.err)
26768
- throw S.msg || E[S.err];
26769
- return S.result;
26768
+ var M = new b(g);
26769
+ if (M.push(d, !0), M.err)
26770
+ throw M.msg || E[M.err];
26771
+ return M.result;
26770
26772
  }
26771
26773
  b.prototype.push = function(d, g) {
26772
- var S, x, F = this.strm, z = this.options.chunkSize;
26774
+ var M, x, F = this.strm, z = this.options.chunkSize;
26773
26775
  if (this.ended)
26774
26776
  return !1;
26775
26777
  x = g === ~~g ? g : g === !0 ? 4 : 0, typeof d == "string" ? F.input = O.string2buf(d) : Y.call(d) === "[object ArrayBuffer]" ? F.input = new Uint8Array(d) : F.input = d, F.next_in = 0, F.avail_in = F.input.length;
26776
26778
  do {
26777
- if (F.avail_out === 0 && (F.output = new P.Buf8(z), F.next_out = 0, F.avail_out = z), (S = m.deflate(F, x)) !== 1 && S !== H)
26778
- return this.onEnd(S), !(this.ended = !0);
26779
+ if (F.avail_out === 0 && (F.output = new P.Buf8(z), F.next_out = 0, F.avail_out = z), (M = m.deflate(F, x)) !== 1 && M !== H)
26780
+ return this.onEnd(M), !(this.ended = !0);
26779
26781
  F.avail_out !== 0 && (F.avail_in !== 0 || x !== 4 && x !== 2) || (this.options.to === "string" ? this.onData(O.buf2binstring(P.shrinkBuf(F.output, F.next_out))) : this.onData(P.shrinkBuf(F.output, F.next_out)));
26780
- } while ((0 < F.avail_in || F.avail_out === 0) && S !== 1);
26781
- return x === 4 ? (S = m.deflateEnd(this.strm), this.onEnd(S), this.ended = !0, S === H) : x !== 2 || (this.onEnd(H), !(F.avail_out = 0));
26782
+ } while ((0 < F.avail_in || F.avail_out === 0) && M !== 1);
26783
+ return x === 4 ? (M = m.deflateEnd(this.strm), this.onEnd(M), this.ended = !0, M === H) : x !== 2 || (this.onEnd(H), !(F.avail_out = 0));
26782
26784
  }, b.prototype.onData = function(d) {
26783
26785
  this.chunks.push(d);
26784
26786
  }, b.prototype.onEnd = function(d) {
@@ -26808,14 +26810,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26808
26810
  return d.result;
26809
26811
  }
26810
26812
  B.prototype.push = function(b, A) {
26811
- var d, g, S, x, F, z, V = this.strm, ht = this.options.chunkSize, ft = this.options.dictionary, gt = !1;
26813
+ var d, g, M, x, F, z, V = this.strm, ht = this.options.chunkSize, ft = this.options.dictionary, gt = !1;
26812
26814
  if (this.ended)
26813
26815
  return !1;
26814
26816
  g = A === ~~A ? A : A === !0 ? E.Z_FINISH : E.Z_NO_FLUSH, typeof b == "string" ? V.input = O.binstring2buf(b) : K.call(b) === "[object ArrayBuffer]" ? V.input = new Uint8Array(b) : V.input = b, V.next_in = 0, V.avail_in = V.input.length;
26815
26817
  do {
26816
26818
  if (V.avail_out === 0 && (V.output = new P.Buf8(ht), V.next_out = 0, V.avail_out = ht), (d = m.inflate(V, E.Z_NO_FLUSH)) === E.Z_NEED_DICT && ft && (z = typeof ft == "string" ? O.string2buf(ft) : K.call(ft) === "[object ArrayBuffer]" ? new Uint8Array(ft) : ft, d = m.inflateSetDictionary(this.strm, z)), d === E.Z_BUF_ERROR && gt === !0 && (d = E.Z_OK, gt = !1), d !== E.Z_STREAM_END && d !== E.Z_OK)
26817
26819
  return this.onEnd(d), !(this.ended = !0);
26818
- V.next_out && (V.avail_out !== 0 && d !== E.Z_STREAM_END && (V.avail_in !== 0 || g !== E.Z_FINISH && g !== E.Z_SYNC_FLUSH) || (this.options.to === "string" ? (S = O.utf8border(V.output, V.next_out), x = V.next_out - S, F = O.buf2string(V.output, S), V.next_out = x, V.avail_out = ht - x, x && P.arraySet(V.output, V.output, S, x, 0), this.onData(F)) : this.onData(P.shrinkBuf(V.output, V.next_out)))), V.avail_in === 0 && V.avail_out === 0 && (gt = !0);
26820
+ V.next_out && (V.avail_out !== 0 && d !== E.Z_STREAM_END && (V.avail_in !== 0 || g !== E.Z_FINISH && g !== E.Z_SYNC_FLUSH) || (this.options.to === "string" ? (M = O.utf8border(V.output, V.next_out), x = V.next_out - M, F = O.buf2string(V.output, M), V.next_out = x, V.avail_out = ht - x, x && P.arraySet(V.output, V.output, M, x, 0), this.onData(F)) : this.onData(P.shrinkBuf(V.output, V.next_out)))), V.avail_in === 0 && V.avail_out === 0 && (gt = !0);
26819
26821
  } while ((0 < V.avail_in || V.avail_out === 0) && d !== E.Z_STREAM_END);
26820
26822
  return d === E.Z_STREAM_END && (g = E.Z_FINISH), g === E.Z_FINISH ? (d = m.inflateEnd(this.strm), this.onEnd(d), this.ended = !0, d === E.Z_OK) : g !== E.Z_SYNC_FLUSH || (this.onEnd(E.Z_OK), !(V.avail_out = 0));
26821
26823
  }, B.prototype.onData = function(b) {
@@ -26945,7 +26947,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
26945
26947
  return -1 ^ P;
26946
26948
  };
26947
26949
  }, {}], 46: [function(p, J, G) {
26948
- var m, P = p("../utils/common"), O = p("./trees"), E = p("./adler32"), U = p("./crc32"), Y = p("./messages"), H = 0, K = 4, B = 0, q = -2, b = -1, A = 4, d = 2, g = 8, S = 9, x = 286, F = 30, z = 19, V = 2 * x + 1, ht = 15, ft = 3, gt = 258, Nt = gt + ft + 1, lt = 42, Et = 113, D = 1, zt = 2, Pt = 3, Rt = 4;
26950
+ var m, P = p("../utils/common"), O = p("./trees"), E = p("./adler32"), U = p("./crc32"), Y = p("./messages"), H = 0, K = 4, B = 0, q = -2, b = -1, A = 4, d = 2, g = 8, M = 9, x = 286, F = 30, z = 19, V = 2 * x + 1, ht = 15, ft = 3, gt = 258, Nt = gt + ft + 1, lt = 42, Et = 113, D = 1, zt = 2, Pt = 3, Rt = 4;
26949
26951
  function ge(R, Jt) {
26950
26952
  return R.msg = Y[Jt], Jt;
26951
26953
  }
@@ -27067,7 +27069,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27067
27069
  if (!R)
27068
27070
  return q;
27069
27071
  var ie = 1;
27070
- if (Jt === b && (Jt = 6), ct < 0 ? (ie = 0, ct = -ct) : 15 < ct && (ie = 2, ct -= 16), pt < 1 || S < pt || jt !== g || ct < 8 || 15 < ct || Jt < 0 || 9 < Jt || Lt < 0 || A < Lt)
27072
+ if (Jt === b && (Jt = 6), ct < 0 ? (ie = 0, ct = -ct) : 15 < ct && (ie = 2, ct -= 16), pt < 1 || M < pt || jt !== g || ct < 8 || 15 < ct || Jt < 0 || 9 < Jt || Lt < 0 || A < Lt)
27071
27073
  return ge(R, q);
27072
27074
  ct === 8 && (ct = 9);
27073
27075
  var Kt = new pi();
@@ -27203,14 +27205,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27203
27205
  };
27204
27206
  }, {}], 48: [function(p, J, G) {
27205
27207
  J.exports = function(m, P) {
27206
- var O, E, U, Y, H, K, B, q, b, A, d, g, S, x, F, z, V, ht, ft, gt, Nt, lt, Et, D, zt;
27207
- O = m.state, E = m.next_in, D = m.input, U = E + (m.avail_in - 5), Y = m.next_out, zt = m.output, H = Y - (P - m.avail_out), K = Y + (m.avail_out - 257), B = O.dmax, q = O.wsize, b = O.whave, A = O.wnext, d = O.window, g = O.hold, S = O.bits, x = O.lencode, F = O.distcode, z = (1 << O.lenbits) - 1, V = (1 << O.distbits) - 1;
27208
+ var O, E, U, Y, H, K, B, q, b, A, d, g, M, x, F, z, V, ht, ft, gt, Nt, lt, Et, D, zt;
27209
+ O = m.state, E = m.next_in, D = m.input, U = E + (m.avail_in - 5), Y = m.next_out, zt = m.output, H = Y - (P - m.avail_out), K = Y + (m.avail_out - 257), B = O.dmax, q = O.wsize, b = O.whave, A = O.wnext, d = O.window, g = O.hold, M = O.bits, x = O.lencode, F = O.distcode, z = (1 << O.lenbits) - 1, V = (1 << O.distbits) - 1;
27208
27210
  t:
27209
27211
  do {
27210
- S < 15 && (g += D[E++] << S, S += 8, g += D[E++] << S, S += 8), ht = x[g & z];
27212
+ M < 15 && (g += D[E++] << M, M += 8, g += D[E++] << M, M += 8), ht = x[g & z];
27211
27213
  e:
27212
27214
  for (; ; ) {
27213
- if (g >>>= ft = ht >>> 24, S -= ft, (ft = ht >>> 16 & 255) === 0)
27215
+ if (g >>>= ft = ht >>> 24, M -= ft, (ft = ht >>> 16 & 255) === 0)
27214
27216
  zt[Y++] = 65535 & ht;
27215
27217
  else {
27216
27218
  if (!(16 & ft)) {
@@ -27225,10 +27227,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27225
27227
  m.msg = "invalid literal/length code", O.mode = 30;
27226
27228
  break t;
27227
27229
  }
27228
- gt = 65535 & ht, (ft &= 15) && (S < ft && (g += D[E++] << S, S += 8), gt += g & (1 << ft) - 1, g >>>= ft, S -= ft), S < 15 && (g += D[E++] << S, S += 8, g += D[E++] << S, S += 8), ht = F[g & V];
27230
+ gt = 65535 & ht, (ft &= 15) && (M < ft && (g += D[E++] << M, M += 8), gt += g & (1 << ft) - 1, g >>>= ft, M -= ft), M < 15 && (g += D[E++] << M, M += 8, g += D[E++] << M, M += 8), ht = F[g & V];
27229
27231
  i:
27230
27232
  for (; ; ) {
27231
- if (g >>>= ft = ht >>> 24, S -= ft, !(16 & (ft = ht >>> 16 & 255))) {
27233
+ if (g >>>= ft = ht >>> 24, M -= ft, !(16 & (ft = ht >>> 16 & 255))) {
27232
27234
  if (!(64 & ft)) {
27233
27235
  ht = F[(65535 & ht) + (g & (1 << ft) - 1)];
27234
27236
  continue i;
@@ -27236,11 +27238,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27236
27238
  m.msg = "invalid distance code", O.mode = 30;
27237
27239
  break t;
27238
27240
  }
27239
- if (Nt = 65535 & ht, S < (ft &= 15) && (g += D[E++] << S, (S += 8) < ft && (g += D[E++] << S, S += 8)), B < (Nt += g & (1 << ft) - 1)) {
27241
+ if (Nt = 65535 & ht, M < (ft &= 15) && (g += D[E++] << M, (M += 8) < ft && (g += D[E++] << M, M += 8)), B < (Nt += g & (1 << ft) - 1)) {
27240
27242
  m.msg = "invalid distance too far back", O.mode = 30;
27241
27243
  break t;
27242
27244
  }
27243
- if (g >>>= ft, S -= ft, (ft = Y - H) < Nt) {
27245
+ if (g >>>= ft, M -= ft, (ft = Y - H) < Nt) {
27244
27246
  if (b < (ft = Nt - ft) && O.sane) {
27245
27247
  m.msg = "invalid distance too far back", O.mode = 30;
27246
27248
  break t;
@@ -27280,7 +27282,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27280
27282
  break;
27281
27283
  }
27282
27284
  } while (E < U && Y < K);
27283
- E -= gt = S >> 3, g &= (1 << (S -= gt << 3)) - 1, m.next_in = E, m.next_out = Y, m.avail_in = E < U ? U - E + 5 : 5 - (E - U), m.avail_out = Y < K ? K - Y + 257 : 257 - (Y - K), O.hold = g, O.bits = S;
27285
+ E -= gt = M >> 3, g &= (1 << (M -= gt << 3)) - 1, m.next_in = E, m.next_out = Y, m.avail_in = E < U ? U - E + 5 : 5 - (E - U), m.avail_out = Y < K ? K - Y + 257 : 257 - (Y - K), O.hold = g, O.bits = M;
27284
27286
  };
27285
27287
  }, {}], 49: [function(p, J, G) {
27286
27288
  var m = p("../utils/common"), P = p("./adler32"), O = p("./crc32"), E = p("./inffast"), U = p("./inftrees"), Y = 1, H = 2, K = 0, B = -2, q = 1, b = 852, A = 592;
@@ -27290,13 +27292,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27290
27292
  function g() {
27291
27293
  this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new m.Buf16(320), this.work = new m.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
27292
27294
  }
27293
- function S(lt) {
27295
+ function M(lt) {
27294
27296
  var Et;
27295
27297
  return lt && lt.state ? (Et = lt.state, lt.total_in = lt.total_out = Et.total = 0, lt.msg = "", Et.wrap && (lt.adler = 1 & Et.wrap), Et.mode = q, Et.last = 0, Et.havedict = 0, Et.dmax = 32768, Et.head = null, Et.hold = 0, Et.bits = 0, Et.lencode = Et.lendyn = new m.Buf32(b), Et.distcode = Et.distdyn = new m.Buf32(A), Et.sane = 1, Et.back = -1, K) : B;
27296
27298
  }
27297
27299
  function x(lt) {
27298
27300
  var Et;
27299
- return lt && lt.state ? ((Et = lt.state).wsize = 0, Et.whave = 0, Et.wnext = 0, S(lt)) : B;
27301
+ return lt && lt.state ? ((Et = lt.state).wsize = 0, Et.whave = 0, Et.wnext = 0, M(lt)) : B;
27300
27302
  }
27301
27303
  function F(lt, Et) {
27302
27304
  var D, zt;
@@ -27328,7 +27330,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27328
27330
  var Pt, Rt = lt.state;
27329
27331
  return Rt.window === null && (Rt.wsize = 1 << Rt.wbits, Rt.wnext = 0, Rt.whave = 0, Rt.window = new m.Buf8(Rt.wsize)), zt >= Rt.wsize ? (m.arraySet(Rt.window, Et, D - Rt.wsize, Rt.wsize, 0), Rt.wnext = 0, Rt.whave = Rt.wsize) : (zt < (Pt = Rt.wsize - Rt.wnext) && (Pt = zt), m.arraySet(Rt.window, Et, D - zt, Pt, Rt.wnext), (zt -= Pt) ? (m.arraySet(Rt.window, Et, D - zt, zt, 0), Rt.wnext = zt, Rt.whave = Rt.wsize) : (Rt.wnext += Pt, Rt.wnext === Rt.wsize && (Rt.wnext = 0), Rt.whave < Rt.wsize && (Rt.whave += Pt))), 0;
27330
27332
  }
27331
- G.inflateReset = x, G.inflateReset2 = F, G.inflateResetKeep = S, G.inflateInit = function(lt) {
27333
+ G.inflateReset = x, G.inflateReset2 = F, G.inflateResetKeep = M, G.inflateInit = function(lt) {
27332
27334
  return z(lt, 15);
27333
27335
  }, G.inflateInit2 = z, G.inflate = function(lt, Et) {
27334
27336
  var D, zt, Pt, Rt, ge, ue, Ft, Dt, kt, Fe, xe, Zt, ti, Ni, Ie, Ge, pi, Li, an, Zi, R, Jt, jt, ct, pt = 0, Lt = new m.Buf8(4), ie = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
@@ -27752,7 +27754,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27752
27754
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(p, J, G) {
27753
27755
  var m = p("../utils/common"), P = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], O = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], E = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], U = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
27754
27756
  J.exports = function(Y, H, K, B, q, b, A, d) {
27755
- var g, S, x, F, z, V, ht, ft, gt, Nt = d.bits, lt = 0, Et = 0, D = 0, zt = 0, Pt = 0, Rt = 0, ge = 0, ue = 0, Ft = 0, Dt = 0, kt = null, Fe = 0, xe = new m.Buf16(16), Zt = new m.Buf16(16), ti = null, Ni = 0;
27757
+ var g, M, x, F, z, V, ht, ft, gt, Nt = d.bits, lt = 0, Et = 0, D = 0, zt = 0, Pt = 0, Rt = 0, ge = 0, ue = 0, Ft = 0, Dt = 0, kt = null, Fe = 0, xe = new m.Buf16(16), Zt = new m.Buf16(16), ti = null, Ni = 0;
27756
27758
  for (lt = 0; lt <= 15; lt++)
27757
27759
  xe[lt] = 0;
27758
27760
  for (Et = 0; Et < B; Et++)
@@ -27775,7 +27777,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27775
27777
  if (V = Y === 0 ? (kt = ti = A, 19) : Y === 1 ? (kt = P, Fe -= 257, ti = O, Ni -= 257, 256) : (kt = E, ti = U, -1), lt = D, z = b, ge = Et = Dt = 0, x = -1, F = (Ft = 1 << (Rt = Pt)) - 1, Y === 1 && 852 < Ft || Y === 2 && 592 < Ft)
27776
27778
  return 1;
27777
27779
  for (; ; ) {
27778
- for (ht = lt - ge, gt = A[Et] < V ? (ft = 0, A[Et]) : A[Et] > V ? (ft = ti[Ni + A[Et]], kt[Fe + A[Et]]) : (ft = 96, 0), g = 1 << lt - ge, D = S = 1 << Rt; q[z + (Dt >> ge) + (S -= g)] = ht << 24 | ft << 16 | gt | 0, S !== 0; )
27780
+ for (ht = lt - ge, gt = A[Et] < V ? (ft = 0, A[Et]) : A[Et] > V ? (ft = ti[Ni + A[Et]], kt[Fe + A[Et]]) : (ft = 96, 0), g = 1 << lt - ge, D = M = 1 << Rt; q[z + (Dt >> ge) + (M -= g)] = ht << 24 | ft << 16 | gt | 0, M !== 0; )
27779
27781
  ;
27780
27782
  for (g = 1 << lt - 1; Dt & g; )
27781
27783
  g >>= 1;
@@ -27802,7 +27804,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27802
27804
  for (var Lt = pt.length; 0 <= --Lt; )
27803
27805
  pt[Lt] = 0;
27804
27806
  }
27805
- var U = 0, Y = 29, H = 256, K = H + 1 + Y, B = 30, q = 19, b = 2 * K + 1, A = 15, d = 16, g = 7, S = 256, x = 16, F = 17, z = 18, V = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], ht = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], ft = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], gt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Nt = new Array(2 * (K + 2));
27807
+ var U = 0, Y = 29, H = 256, K = H + 1 + Y, B = 30, q = 19, b = 2 * K + 1, A = 15, d = 16, g = 7, M = 256, x = 16, F = 17, z = 18, V = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], ht = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], ft = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], gt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Nt = new Array(2 * (K + 2));
27806
27808
  E(Nt);
27807
27809
  var lt = new Array(2 * B);
27808
27810
  E(lt);
@@ -27853,7 +27855,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27853
27855
  pt.dyn_dtree[2 * Lt] = 0;
27854
27856
  for (Lt = 0; Lt < q; Lt++)
27855
27857
  pt.bl_tree[2 * Lt] = 0;
27856
- pt.dyn_ltree[2 * S] = 1, pt.opt_len = pt.static_len = 0, pt.last_lit = pt.matches = 0;
27858
+ pt.dyn_ltree[2 * M] = 1, pt.opt_len = pt.static_len = 0, pt.last_lit = pt.matches = 0;
27857
27859
  }
27858
27860
  function Ge(pt) {
27859
27861
  8 < pt.bi_valid ? Fe(pt, pt.bi_buf) : 0 < pt.bi_valid && (pt.pending_buf[pt.pending++] = pt.bi_buf), pt.bi_buf = 0, pt.bi_valid = 0;
@@ -27872,7 +27874,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27872
27874
  if (pt.last_lit !== 0)
27873
27875
  for (; Kt = pt.pending_buf[pt.d_buf + 2 * tt] << 8 | pt.pending_buf[pt.d_buf + 2 * tt + 1], w = pt.pending_buf[pt.l_buf + tt], tt++, Kt === 0 ? Zt(pt, w, Lt) : (Zt(pt, (X = D[w]) + H + 1, Lt), (nt = V[X]) !== 0 && xe(pt, w -= zt[X], nt), Zt(pt, X = kt(--Kt), ie), (nt = ht[X]) !== 0 && xe(pt, Kt -= ue[X], nt)), tt < pt.last_lit; )
27874
27876
  ;
27875
- Zt(pt, S, Lt);
27877
+ Zt(pt, M, Lt);
27876
27878
  }
27877
27879
  function Zi(pt, Lt) {
27878
27880
  var ie, Kt, w, X = Lt.dyn_tree, nt = Lt.stat_desc.static_tree, tt = Lt.stat_desc.has_stree, vt = Lt.stat_desc.elems, Gt = -1;
@@ -27979,7 +27981,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27979
27981
  }, G._tr_tally = function(pt, Lt, ie) {
27980
27982
  return pt.pending_buf[pt.d_buf + 2 * pt.last_lit] = Lt >>> 8 & 255, pt.pending_buf[pt.d_buf + 2 * pt.last_lit + 1] = 255 & Lt, pt.pending_buf[pt.l_buf + pt.last_lit] = 255 & ie, pt.last_lit++, Lt === 0 ? pt.dyn_ltree[2 * ie]++ : (pt.matches++, Lt--, pt.dyn_ltree[2 * (D[ie] + H + 1)]++, pt.dyn_dtree[2 * kt(Lt)]++), pt.last_lit === pt.lit_bufsize - 1;
27981
27983
  }, G._tr_align = function(pt) {
27982
- xe(pt, 2, 3), Zt(pt, S, Nt), function(Lt) {
27984
+ xe(pt, 2, 3), Zt(pt, M, Nt), function(Lt) {
27983
27985
  Lt.bi_valid === 16 ? (Fe(Lt, Lt.bi_buf), Lt.bi_buf = 0, Lt.bi_valid = 0) : 8 <= Lt.bi_valid && (Lt.pending_buf[Lt.pending++] = 255 & Lt.bi_buf, Lt.bi_buf >>= 8, Lt.bi_valid -= 8);
27984
27986
  }(pt);
27985
27987
  };
@@ -28003,7 +28005,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
28003
28005
  x = !1;
28004
28006
  }, P.postMessage("", "*"), P.onmessage = F, x;
28005
28007
  }
28006
- }() ? (H = "setImmediate$" + Math.random() + "$", P.addEventListener ? P.addEventListener("message", S, !1) : P.attachEvent("onmessage", S), function(x) {
28008
+ }() ? (H = "setImmediate$" + Math.random() + "$", P.addEventListener ? P.addEventListener("message", M, !1) : P.attachEvent("onmessage", M), function(x) {
28007
28009
  P.postMessage(H + x, "*");
28008
28010
  }) : P.MessageChannel ? ((Y = new MessageChannel()).port1.onmessage = function(x) {
28009
28011
  g(x.data);
@@ -28060,7 +28062,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
28060
28062
  }
28061
28063
  }
28062
28064
  }
28063
- function S(x) {
28065
+ function M(x) {
28064
28066
  x.source === P && typeof x.data == "string" && x.data.indexOf(H) === 0 && g(+x.data.slice(H.length));
28065
28067
  }
28066
28068
  })(typeof self > "u" ? m === void 0 ? this : m : self);
@@ -28129,8 +28131,8 @@ var ju = { exports: {} };
28129
28131
  if ((b || B && q || O) && typeof FileReader < "u") {
28130
28132
  var A = new FileReader();
28131
28133
  A.onloadend = function() {
28132
- var S = A.result;
28133
- S = b ? S : S.replace(/^data:[^;]*;/, "data:attachment/file;"), K ? K.location.href = S : location = S, K = null;
28134
+ var M = A.result;
28135
+ M = b ? M : M.replace(/^data:[^;]*;/, "data:attachment/file;"), K ? K.location.href = M : location = M, K = null;
28134
28136
  }, A.readAsDataURL(U);
28135
28137
  } else {
28136
28138
  var d = P.URL || P.webkitURL, g = d.createObjectURL(U);