@abi-software/scaffoldvuer 1.16.0-beta.0 → 1.16.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  var Lw = Object.defineProperty;
2
2
  var Rw = (n, e, t) => e in n ? Lw(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var we = (n, e, t) => Rw(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { getCurrentScope as Fw, onScopeDispose as Pw, unref as N, getCurrentInstance as an, onMounted as en, nextTick as wt, shallowRef as kn, watchEffect as l0, readonly as c0, watch as Qe, ref as Le, defineComponent as Fe, openBlock as pe, createElementBlock as Ce, createElementVNode as De, warn as Iw, isVNode as ld, computed as ue, inject as ct, isRef as es, onBeforeUnmount as ui, onBeforeMount as Ow, provide as ln, mergeProps as Bi, renderSlot as $e, toRef as Mi, onUnmounted as u0, useAttrs as Dw, useSlots as ca, createCommentVNode as He, Fragment as Dt, normalizeClass as Te, createBlock as je, withCtx as de, resolveDynamicComponent as Ln, withModifiers as Ft, createVNode as ae, toDisplayString as bt, normalizeStyle as Tt, Transition as xl, withDirectives as _t, vShow as wn, reactive as Qn, onActivated as Nw, onUpdated as uf, cloneVNode as Bw, Text as h0, Comment as Uw, Teleport as kw, onDeactivated as zw, toRaw as Kc, vModelCheckbox as Qc, createTextVNode as ot, toRefs as gr, vModelRadio as d0, toHandlers as Vw, withKeys as xi, createSlots as Gw, resolveComponent as Xn, resolveDirective as Hw, toHandlerKey as Ww, renderList as qn, vModelText as jw, h as Eo, createApp as $w, markRaw as xn } from "vue";
4
+ import { getCurrentScope as Fw, onScopeDispose as Pw, unref as N, getCurrentInstance as an, onMounted as en, nextTick as wt, shallowRef as kn, watchEffect as l0, readonly as c0, watch as Qe, ref as Le, defineComponent as Fe, openBlock as pe, createElementBlock as Ce, createElementVNode as De, warn as Iw, isVNode as ld, computed as ue, inject as ct, isRef as es, onBeforeUnmount as ui, onBeforeMount as Ow, provide as ln, mergeProps as Ui, renderSlot as $e, toRef as Mi, onUnmounted as u0, useAttrs as Dw, useSlots as ca, createCommentVNode as He, Fragment as Dt, normalizeClass as Te, createBlock as je, withCtx as de, resolveDynamicComponent as Ln, withModifiers as Ft, createVNode as ae, toDisplayString as bt, normalizeStyle as Tt, Transition as xl, withDirectives as _t, vShow as wn, reactive as Qn, onActivated as Nw, onUpdated as uf, cloneVNode as Bw, Text as h0, Comment as Uw, Teleport as kw, onDeactivated as zw, toRaw as Kc, vModelCheckbox as Qc, createTextVNode as ot, toRefs as vr, vModelRadio as d0, toHandlers as Vw, withKeys as xi, createSlots as Gw, resolveComponent as Xn, resolveDirective as Hw, toHandlerKey as Ww, renderList as qn, vModelText as jw, h as Eo, createApp as $w, markRaw as xn } from "vue";
5
5
  import { TreeControls as Zw, Tooltip as Xw, CreateTooltipContent as Yw, DrawToolbar as qw } from "@abi-software/map-utilities";
6
6
  import { defineStore as Jw, mapState as f0, mapStores as Kw } from "pinia";
7
7
  import { MapSvgSpriteColor as Qw, MapSvgIcon as e1 } from "@abi-software/svg-sprite";
8
8
  import { AnnotationService as t1 } from "@abi-software/sparc-annotation";
9
- const ar = (n, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
9
+ const lr = (n, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
10
10
  const s = n == null ? void 0 : n(r);
11
11
  if (t === !1 || !s)
12
12
  return e == null ? void 0 : e(r);
@@ -43,7 +43,7 @@ function gu(n) {
43
43
  function h1(n, e = !0) {
44
44
  an() ? en(n) : e ? n() : wt(n);
45
45
  }
46
- function hr(n) {
46
+ function dr(n) {
47
47
  var e;
48
48
  const t = m0(n);
49
49
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
@@ -56,7 +56,7 @@ function vn(...n) {
56
56
  Array.isArray(t) || (t = [t]), Array.isArray(i) || (i = [i]);
57
57
  const s = [], o = () => {
58
58
  s.forEach((h) => h()), s.length = 0;
59
- }, a = (h, u, f, m) => (h.addEventListener(u, f, m), () => h.removeEventListener(u, f, m)), c = Qe(() => [hr(e), m0(r)], ([h, u]) => {
59
+ }, a = (h, u, f, m) => (h.addEventListener(u, f, m), () => h.removeEventListener(u, f, m)), c = Qe(() => [dr(e), m0(r)], ([h, u]) => {
60
60
  o(), h && s.push(...t.flatMap((f) => i.map((m) => a(h, f, m, u))));
61
61
  }, { immediate: !0, flush: "post" }), l = () => {
62
62
  c(), o();
@@ -74,12 +74,12 @@ function f1(n, e, t = {}) {
74
74
  if (typeof m == "string")
75
75
  return Array.from(i.document.querySelectorAll(m)).some((p) => p === f.target || f.composedPath().includes(p));
76
76
  {
77
- const p = hr(m);
77
+ const p = dr(m);
78
78
  return p && (f.target === p || f.composedPath().includes(p));
79
79
  }
80
80
  }), h = [
81
81
  vn(i, "click", (f) => {
82
- const m = hr(n);
82
+ const m = dr(n);
83
83
  if (!(!m || m === f.target || f.composedPath().includes(m))) {
84
84
  if (f.detail === 0 && (a = !c(f)), !a) {
85
85
  a = !0;
@@ -89,12 +89,12 @@ function f1(n, e, t = {}) {
89
89
  }
90
90
  }, { passive: !0, capture: s }),
91
91
  vn(i, "pointerdown", (f) => {
92
- const m = hr(n);
92
+ const m = dr(n);
93
93
  m && (a = !f.composedPath().includes(m) && !c(f));
94
94
  }, { passive: !0 }),
95
95
  o && vn(i, "blur", (f) => {
96
96
  var m;
97
- const p = hr(n);
97
+ const p = dr(n);
98
98
  ((m = i.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(p != null && p.contains(i.document.activeElement)) && e(f);
99
99
  })
100
100
  ].filter(Boolean);
@@ -128,7 +128,7 @@ function oi(n, e, t = {}) {
128
128
  let o;
129
129
  const a = g0(() => r && "ResizeObserver" in r), c = () => {
130
130
  o && (o.disconnect(), o = void 0);
131
- }, l = Qe(() => hr(n), (u) => {
131
+ }, l = Qe(() => dr(n), (u) => {
132
132
  c(), a.value && r && u && (o = new ResizeObserver(e), o.observe(u, s));
133
133
  }, { immediate: !0, flush: "post" }), h = () => {
134
134
  c(), l();
@@ -152,7 +152,7 @@ function M1(n, e, t = {}) {
152
152
  let o;
153
153
  const a = g0(() => r && "MutationObserver" in r), c = () => {
154
154
  o && (o.disconnect(), o = void 0);
155
- }, l = Qe(() => hr(n), (u) => {
155
+ }, l = Qe(() => dr(n), (u) => {
156
156
  c(), a.value && r && u && (o = new MutationObserver(e), o.observe(u, s));
157
157
  }, { immediate: !0 }), h = () => {
158
158
  c(), l();
@@ -230,7 +230,7 @@ const el = () => {
230
230
  ), O1 = /\B([A-Z])/g, D1 = hf(
231
231
  (n) => n.replace(O1, "-$1").toLowerCase()
232
232
  ), N1 = hf((n) => n.charAt(0).toUpperCase() + n.slice(1));
233
- var v0 = typeof global == "object" && global && global.Object === Object && global, B1 = typeof self == "object" && self && self.Object === Object && self, Xi = v0 || B1 || Function("return this")(), Gi = Xi.Symbol, y0 = Object.prototype, U1 = y0.hasOwnProperty, k1 = y0.toString, Ta = Gi ? Gi.toStringTag : void 0;
233
+ var v0 = typeof global == "object" && global && global.Object === Object && global, B1 = typeof self == "object" && self && self.Object === Object && self, Yi = v0 || B1 || Function("return this")(), Hi = Yi.Symbol, y0 = Object.prototype, U1 = y0.hasOwnProperty, k1 = y0.toString, Ta = Hi ? Hi.toStringTag : void 0;
234
234
  function z1(n) {
235
235
  var e = U1.call(n, Ta), t = n[Ta];
236
236
  try {
@@ -245,7 +245,7 @@ var V1 = Object.prototype, G1 = V1.toString;
245
245
  function H1(n) {
246
246
  return G1.call(n);
247
247
  }
248
- var W1 = "[object Null]", j1 = "[object Undefined]", im = Gi ? Gi.toStringTag : void 0;
248
+ var W1 = "[object Null]", j1 = "[object Undefined]", im = Hi ? Hi.toStringTag : void 0;
249
249
  function ua(n) {
250
250
  return n == null ? n === void 0 ? j1 : W1 : im && im in Object(n) ? z1(n) : H1(n);
251
251
  }
@@ -261,11 +261,11 @@ function Z1(n, e) {
261
261
  r[t] = e(n[t], t, n);
262
262
  return r;
263
263
  }
264
- var Ai = Array.isArray, rm = Gi ? Gi.prototype : void 0, sm = rm ? rm.toString : void 0;
264
+ var _i = Array.isArray, rm = Hi ? Hi.prototype : void 0, sm = rm ? rm.toString : void 0;
265
265
  function b0(n) {
266
266
  if (typeof n == "string")
267
267
  return n;
268
- if (Ai(n))
268
+ if (_i(n))
269
269
  return Z1(n, b0) + "";
270
270
  if (vu(n))
271
271
  return sm ? sm.call(n) : "";
@@ -312,7 +312,7 @@ function M0(n) {
312
312
  var e = ua(n);
313
313
  return e == iA || e == rA || e == nA || e == sA;
314
314
  }
315
- var Qu = Xi["__core-js_shared__"], lm = function() {
315
+ var Qu = Yi["__core-js_shared__"], lm = function() {
316
316
  var n = /[^.]+$/.exec(Qu && Qu.keys && Qu.keys.IE_PROTO || "");
317
317
  return n ? "Symbol(src)_1." + n : "";
318
318
  }();
@@ -349,7 +349,7 @@ function Js(n, e) {
349
349
  var t = vA(n, e);
350
350
  return gA(t) ? t : void 0;
351
351
  }
352
- var ud = Js(Xi, "WeakMap");
352
+ var ud = Js(Yi, "WeakMap");
353
353
  function yA(n, e, t) {
354
354
  switch (t.length) {
355
355
  case 0:
@@ -463,7 +463,7 @@ var A0 = Object.prototype, kA = A0.hasOwnProperty, zA = A0.propertyIsEnumerable,
463
463
  function VA() {
464
464
  return !1;
465
465
  }
466
- var _0 = typeof exports == "object" && exports && !exports.nodeType && exports, hm = _0 && typeof module == "object" && module && !module.nodeType && module, GA = hm && hm.exports === _0, dm = GA ? Xi.Buffer : void 0, HA = dm ? dm.isBuffer : void 0, hd = HA || VA, WA = "[object Arguments]", jA = "[object Array]", $A = "[object Boolean]", ZA = "[object Date]", XA = "[object Error]", YA = "[object Function]", qA = "[object Map]", JA = "[object Number]", KA = "[object Object]", QA = "[object RegExp]", e_ = "[object Set]", t_ = "[object String]", n_ = "[object WeakMap]", i_ = "[object ArrayBuffer]", r_ = "[object DataView]", s_ = "[object Float32Array]", o_ = "[object Float64Array]", a_ = "[object Int8Array]", l_ = "[object Int16Array]", c_ = "[object Int32Array]", u_ = "[object Uint8Array]", h_ = "[object Uint8ClampedArray]", d_ = "[object Uint16Array]", f_ = "[object Uint32Array]", It = {};
466
+ var _0 = typeof exports == "object" && exports && !exports.nodeType && exports, hm = _0 && typeof module == "object" && module && !module.nodeType && module, GA = hm && hm.exports === _0, dm = GA ? Yi.Buffer : void 0, HA = dm ? dm.isBuffer : void 0, hd = HA || VA, WA = "[object Arguments]", jA = "[object Array]", $A = "[object Boolean]", ZA = "[object Date]", XA = "[object Error]", YA = "[object Function]", qA = "[object Map]", JA = "[object Number]", KA = "[object Object]", QA = "[object RegExp]", e_ = "[object Set]", t_ = "[object String]", n_ = "[object WeakMap]", i_ = "[object ArrayBuffer]", r_ = "[object DataView]", s_ = "[object Float32Array]", o_ = "[object Float64Array]", a_ = "[object Int8Array]", l_ = "[object Int16Array]", c_ = "[object Int32Array]", u_ = "[object Uint8Array]", h_ = "[object Uint8ClampedArray]", d_ = "[object Uint16Array]", f_ = "[object Uint32Array]", It = {};
467
467
  It[s_] = It[o_] = It[a_] = It[l_] = It[c_] = It[u_] = It[h_] = It[d_] = It[f_] = !0;
468
468
  It[WA] = It[jA] = It[i_] = It[$A] = It[r_] = It[ZA] = It[XA] = It[YA] = It[qA] = It[JA] = It[KA] = It[QA] = It[e_] = It[t_] = It[n_] = !1;
469
469
  function p_(n) {
@@ -482,7 +482,7 @@ var S0 = typeof exports == "object" && exports && !exports.nodeType && exports,
482
482
  }
483
483
  }(), pm = fm && fm.isTypedArray, T0 = pm ? m_(pm) : p_, v_ = Object.prototype, y_ = v_.hasOwnProperty;
484
484
  function b_(n, e) {
485
- var t = Ai(n), i = !t && mf(n), r = !t && !i && hd(n), s = !t && !i && !r && T0(n), o = t || i || r || s, a = o ? BA(n.length, String) : [], c = a.length;
485
+ var t = _i(n), i = !t && mf(n), r = !t && !i && hd(n), s = !t && !i && !r && T0(n), o = t || i || r || s, a = o ? BA(n.length, String) : [], c = a.length;
486
486
  for (var l in n)
487
487
  y_.call(n, l) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
488
488
  (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -510,7 +510,7 @@ function E0(n) {
510
510
  }
511
511
  var S_ = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, T_ = /^\w*$/;
512
512
  function gf(n, e) {
513
- if (Ai(n))
513
+ if (_i(n))
514
514
  return !1;
515
515
  var t = typeof n;
516
516
  return t == "number" || t == "symbol" || t == "boolean" || n == null || vu(n) ? !0 : T_.test(n) || !S_.test(n) || e != null && n in Object(e);
@@ -582,23 +582,23 @@ function W_(n, e) {
582
582
  var t = this.__data__, i = yu(t, n);
583
583
  return i < 0 ? (++this.size, t.push([n, e])) : t[i][1] = e, this;
584
584
  }
585
- function wr(n) {
585
+ function Ar(n) {
586
586
  var e = -1, t = n == null ? 0 : n.length;
587
587
  for (this.clear(); ++e < t; ) {
588
588
  var i = n[e];
589
589
  this.set(i[0], i[1]);
590
590
  }
591
591
  }
592
- wr.prototype.clear = U_;
593
- wr.prototype.delete = V_;
594
- wr.prototype.get = G_;
595
- wr.prototype.has = H_;
596
- wr.prototype.set = W_;
597
- var nl = Js(Xi, "Map");
592
+ Ar.prototype.clear = U_;
593
+ Ar.prototype.delete = V_;
594
+ Ar.prototype.get = G_;
595
+ Ar.prototype.has = H_;
596
+ Ar.prototype.set = W_;
597
+ var nl = Js(Yi, "Map");
598
598
  function j_() {
599
599
  this.size = 0, this.__data__ = {
600
600
  hash: new zs(),
601
- map: new (nl || wr)(),
601
+ map: new (nl || Ar)(),
602
602
  string: new zs()
603
603
  };
604
604
  }
@@ -624,18 +624,18 @@ function q_(n, e) {
624
624
  var t = bu(this, n), i = t.size;
625
625
  return t.set(n, e), this.size += t.size == i ? 0 : 1, this;
626
626
  }
627
- function Ar(n) {
627
+ function _r(n) {
628
628
  var e = -1, t = n == null ? 0 : n.length;
629
629
  for (this.clear(); ++e < t; ) {
630
630
  var i = n[e];
631
631
  this.set(i[0], i[1]);
632
632
  }
633
633
  }
634
- Ar.prototype.clear = j_;
635
- Ar.prototype.delete = Z_;
636
- Ar.prototype.get = X_;
637
- Ar.prototype.has = Y_;
638
- Ar.prototype.set = q_;
634
+ _r.prototype.clear = j_;
635
+ _r.prototype.delete = Z_;
636
+ _r.prototype.get = X_;
637
+ _r.prototype.has = Y_;
638
+ _r.prototype.set = q_;
639
639
  var J_ = "Expected a function";
640
640
  function vf(n, e) {
641
641
  if (typeof n != "function" || e != null && typeof e != "function")
@@ -647,9 +647,9 @@ function vf(n, e) {
647
647
  var o = n.apply(this, i);
648
648
  return t.cache = s.set(r, o) || s, o;
649
649
  };
650
- return t.cache = new (vf.Cache || Ar)(), t;
650
+ return t.cache = new (vf.Cache || _r)(), t;
651
651
  }
652
- vf.Cache = Ar;
652
+ vf.Cache = _r;
653
653
  var K_ = 500;
654
654
  function Q_(n) {
655
655
  var e = vf(n, function(i) {
@@ -667,7 +667,7 @@ function iS(n) {
667
667
  return n == null ? "" : b0(n);
668
668
  }
669
669
  function xu(n, e) {
670
- return Ai(n) ? n : gf(n, e) ? [n] : nS(iS(n));
670
+ return _i(n) ? n : gf(n, e) ? [n] : nS(iS(n));
671
671
  }
672
672
  function wl(n) {
673
673
  if (typeof n == "string" || vu(n))
@@ -681,7 +681,7 @@ function yf(n, e) {
681
681
  n = n[wl(e[t++])];
682
682
  return t && t == i ? n : void 0;
683
683
  }
684
- function lr(n, e, t) {
684
+ function cr(n, e, t) {
685
685
  var i = n == null ? void 0 : yf(n, e);
686
686
  return i === void 0 ? t : i;
687
687
  }
@@ -690,9 +690,9 @@ function C0(n, e) {
690
690
  n[r + t] = e[t];
691
691
  return n;
692
692
  }
693
- var mm = Gi ? Gi.isConcatSpreadable : void 0;
693
+ var mm = Hi ? Hi.isConcatSpreadable : void 0;
694
694
  function rS(n) {
695
- return Ai(n) || mf(n) || !!(mm && n && n[mm]);
695
+ return _i(n) || mf(n) || !!(mm && n && n[mm]);
696
696
  }
697
697
  function sS(n, e, t, i, r) {
698
698
  var s = -1, o = n.length;
@@ -709,14 +709,14 @@ function oS(n) {
709
709
  function aS(n) {
710
710
  return SA(PA(n, void 0, oS), n + "");
711
711
  }
712
- function Oi() {
712
+ function Di() {
713
713
  if (!arguments.length)
714
714
  return [];
715
715
  var n = arguments[0];
716
- return Ai(n) ? n : [n];
716
+ return _i(n) ? n : [n];
717
717
  }
718
718
  function lS() {
719
- this.__data__ = new wr(), this.size = 0;
719
+ this.__data__ = new Ar(), this.size = 0;
720
720
  }
721
721
  function cS(n) {
722
722
  var e = this.__data__, t = e.delete(n);
@@ -731,23 +731,23 @@ function hS(n) {
731
731
  var dS = 200;
732
732
  function fS(n, e) {
733
733
  var t = this.__data__;
734
- if (t instanceof wr) {
734
+ if (t instanceof Ar) {
735
735
  var i = t.__data__;
736
736
  if (!nl || i.length < dS - 1)
737
737
  return i.push([n, e]), this.size = ++t.size, this;
738
- t = this.__data__ = new Ar(i);
738
+ t = this.__data__ = new _r(i);
739
739
  }
740
740
  return t.set(n, e), this.size = t.size, this;
741
741
  }
742
- function dr(n) {
743
- var e = this.__data__ = new wr(n);
742
+ function fr(n) {
743
+ var e = this.__data__ = new Ar(n);
744
744
  this.size = e.size;
745
745
  }
746
- dr.prototype.clear = lS;
747
- dr.prototype.delete = cS;
748
- dr.prototype.get = uS;
749
- dr.prototype.has = hS;
750
- dr.prototype.set = fS;
746
+ fr.prototype.clear = lS;
747
+ fr.prototype.delete = cS;
748
+ fr.prototype.get = uS;
749
+ fr.prototype.has = hS;
750
+ fr.prototype.set = fS;
751
751
  function pS(n, e) {
752
752
  for (var t = -1, i = n == null ? 0 : n.length, r = 0, s = []; ++t < i; ) {
753
753
  var o = n[t];
@@ -765,13 +765,13 @@ var gS = Object.prototype, vS = gS.propertyIsEnumerable, gm = Object.getOwnPrope
765
765
  } : mS;
766
766
  function bS(n, e, t) {
767
767
  var i = e(n);
768
- return Ai(n) ? i : C0(i, t(n));
768
+ return _i(n) ? i : C0(i, t(n));
769
769
  }
770
770
  function vm(n) {
771
771
  return bS(n, E0, yS);
772
772
  }
773
- var dd = Js(Xi, "DataView"), fd = Js(Xi, "Promise"), pd = Js(Xi, "Set"), ym = "[object Map]", xS = "[object Object]", bm = "[object Promise]", xm = "[object Set]", Mm = "[object WeakMap]", wm = "[object DataView]", MS = qs(dd), wS = qs(nl), AS = qs(fd), _S = qs(pd), SS = qs(ud), jr = ua;
774
- (dd && jr(new dd(new ArrayBuffer(1))) != wm || nl && jr(new nl()) != ym || fd && jr(fd.resolve()) != bm || pd && jr(new pd()) != xm || ud && jr(new ud()) != Mm) && (jr = function(n) {
773
+ var dd = Js(Yi, "DataView"), fd = Js(Yi, "Promise"), pd = Js(Yi, "Set"), ym = "[object Map]", xS = "[object Object]", bm = "[object Promise]", xm = "[object Set]", Mm = "[object WeakMap]", wm = "[object DataView]", MS = qs(dd), wS = qs(nl), AS = qs(fd), _S = qs(pd), SS = qs(ud), $r = ua;
774
+ (dd && $r(new dd(new ArrayBuffer(1))) != wm || nl && $r(new nl()) != ym || fd && $r(fd.resolve()) != bm || pd && $r(new pd()) != xm || ud && $r(new ud()) != Mm) && ($r = function(n) {
775
775
  var e = ua(n), t = e == xS ? n.constructor : void 0, i = t ? qs(t) : "";
776
776
  if (i)
777
777
  switch (i) {
@@ -788,7 +788,7 @@ var dd = Js(Xi, "DataView"), fd = Js(Xi, "Promise"), pd = Js(Xi, "Set"), ym = "[
788
788
  }
789
789
  return e;
790
790
  });
791
- var Am = Xi.Uint8Array, TS = "__lodash_hash_undefined__";
791
+ var Am = Yi.Uint8Array, TS = "__lodash_hash_undefined__";
792
792
  function ES(n) {
793
793
  return this.__data__.set(n, TS), this;
794
794
  }
@@ -797,7 +797,7 @@ function CS(n) {
797
797
  }
798
798
  function tu(n) {
799
799
  var e = -1, t = n == null ? 0 : n.length;
800
- for (this.__data__ = new Ar(); ++e < t; )
800
+ for (this.__data__ = new _r(); ++e < t; )
801
801
  this.add(n[e]);
802
802
  }
803
803
  tu.prototype.add = tu.prototype.push = ES;
@@ -857,7 +857,7 @@ function OS(n) {
857
857
  t[++e] = i;
858
858
  }), t;
859
859
  }
860
- var DS = 1, NS = 2, BS = "[object Boolean]", US = "[object Date]", kS = "[object Error]", zS = "[object Map]", VS = "[object Number]", GS = "[object RegExp]", HS = "[object Set]", WS = "[object String]", jS = "[object Symbol]", $S = "[object ArrayBuffer]", ZS = "[object DataView]", _m = Gi ? Gi.prototype : void 0, th = _m ? _m.valueOf : void 0;
860
+ var DS = 1, NS = 2, BS = "[object Boolean]", US = "[object Date]", kS = "[object Error]", zS = "[object Map]", VS = "[object Number]", GS = "[object RegExp]", HS = "[object Set]", WS = "[object String]", jS = "[object Symbol]", $S = "[object ArrayBuffer]", ZS = "[object DataView]", _m = Hi ? Hi.prototype : void 0, th = _m ? _m.valueOf : void 0;
861
861
  function XS(n, e, t, i, r, s, o) {
862
862
  switch (t) {
863
863
  case ZS:
@@ -927,7 +927,7 @@ function KS(n, e, t, i, r, s) {
927
927
  }
928
928
  var QS = 1, Sm = "[object Arguments]", Tm = "[object Array]", $l = "[object Object]", eT = Object.prototype, Em = eT.hasOwnProperty;
929
929
  function tT(n, e, t, i, r, s) {
930
- var o = Ai(n), a = Ai(e), c = o ? Tm : jr(n), l = a ? Tm : jr(e);
930
+ var o = _i(n), a = _i(e), c = o ? Tm : $r(n), l = a ? Tm : $r(e);
931
931
  c = c == Sm ? $l : c, l = l == Sm ? $l : l;
932
932
  var h = c == $l, u = l == $l, f = c == l;
933
933
  if (f && hd(n)) {
@@ -936,15 +936,15 @@ function tT(n, e, t, i, r, s) {
936
936
  o = !0, h = !1;
937
937
  }
938
938
  if (f && !h)
939
- return s || (s = new dr()), o || T0(n) ? L0(n, e, t, i, r, s) : XS(n, e, c, t, i, r, s);
939
+ return s || (s = new fr()), o || T0(n) ? L0(n, e, t, i, r, s) : XS(n, e, c, t, i, r, s);
940
940
  if (!(t & QS)) {
941
941
  var m = h && Em.call(n, "__wrapped__"), p = u && Em.call(e, "__wrapped__");
942
942
  if (m || p) {
943
943
  var d = m ? n.value() : n, y = p ? e.value() : e;
944
- return s || (s = new dr()), r(d, y, t, i, s);
944
+ return s || (s = new fr()), r(d, y, t, i, s);
945
945
  }
946
946
  }
947
- return f ? (s || (s = new dr()), KS(n, e, t, i, r, s)) : !1;
947
+ return f ? (s || (s = new fr()), KS(n, e, t, i, r, s)) : !1;
948
948
  }
949
949
  function Mu(n, e, t, i, r) {
950
950
  return n === e ? !0 : n == null || e == null || !Bo(n) && !Bo(e) ? n !== n && e !== e : tT(n, e, t, i, Mu, r);
@@ -966,7 +966,7 @@ function rT(n, e, t, i) {
966
966
  if (c === void 0 && !(a in n))
967
967
  return !1;
968
968
  } else {
969
- var h = new dr(), u;
969
+ var h = new fr(), u;
970
970
  if (!(u === void 0 ? Mu(l, c, nT | iT, i, h) : u))
971
971
  return !1;
972
972
  }
@@ -1005,7 +1005,7 @@ function lT(n, e, t) {
1005
1005
  break;
1006
1006
  n = n[o];
1007
1007
  }
1008
- return s || ++i != r ? s : (r = n == null ? 0 : n.length, !!r && pf(r) && df(o, r) && (Ai(n) || mf(n)));
1008
+ return s || ++i != r ? s : (r = n == null ? 0 : n.length, !!r && pf(r) && df(o, r) && (_i(n) || mf(n)));
1009
1009
  }
1010
1010
  function P0(n, e) {
1011
1011
  return n != null && lT(n, e, aT);
@@ -1013,7 +1013,7 @@ function P0(n, e) {
1013
1013
  var cT = 1, uT = 2;
1014
1014
  function hT(n, e) {
1015
1015
  return gf(n) && R0(e) ? F0(wl(n), e) : function(t) {
1016
- var i = lr(t, n);
1016
+ var i = cr(t, n);
1017
1017
  return i === void 0 && i === e ? P0(t, n) : Mu(e, i, cT | uT);
1018
1018
  };
1019
1019
  }
@@ -1031,10 +1031,10 @@ function pT(n) {
1031
1031
  return gf(n) ? dT(wl(n)) : fT(n);
1032
1032
  }
1033
1033
  function mT(n) {
1034
- return typeof n == "function" ? n : n == null ? x0 : typeof n == "object" ? Ai(n) ? hT(n[0], n[1]) : oT(n) : pT(n);
1034
+ return typeof n == "function" ? n : n == null ? x0 : typeof n == "object" ? _i(n) ? hT(n[0], n[1]) : oT(n) : pT(n);
1035
1035
  }
1036
1036
  var nh = function() {
1037
- return Xi.Date.now();
1037
+ return Yi.Date.now();
1038
1038
  }, gT = "Expected a function", vT = Math.max, yT = Math.min;
1039
1039
  function md(n, e, t) {
1040
1040
  var i, r, s, o, a, c, l = 0, h = !1, u = !1, f = !0;
@@ -1100,7 +1100,7 @@ function nu(n) {
1100
1100
  function iu(n, e) {
1101
1101
  return Mu(n, e);
1102
1102
  }
1103
- function Ui(n) {
1103
+ function ki(n) {
1104
1104
  return n == null;
1105
1105
  }
1106
1106
  function xT(n) {
@@ -1137,7 +1137,7 @@ function AT(n, e) {
1137
1137
  var I0 = aS(function(n, e) {
1138
1138
  return n == null ? {} : AT(n, e);
1139
1139
  });
1140
- const Bn = (n) => n === void 0, ns = (n) => typeof n == "boolean", xt = (n) => typeof n == "number", Is = (n) => typeof Element > "u" ? !1 : n instanceof Element, il = (n) => Ui(n), _T = (n) => fn(n) ? !Number.isNaN(Number(n)) : !1, ST = (n = "") => n.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Zr = (n) => N1(n), Cm = (n) => Object.keys(n);
1140
+ const Bn = (n) => n === void 0, ns = (n) => typeof n == "boolean", xt = (n) => typeof n == "number", Is = (n) => typeof Element > "u" ? !1 : n instanceof Element, il = (n) => ki(n), _T = (n) => fn(n) ? !Number.isNaN(Number(n)) : !1, ST = (n = "") => n.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Xr = (n) => N1(n), Cm = (n) => Object.keys(n);
1141
1141
  class O0 extends Error {
1142
1142
  constructor(e) {
1143
1143
  super(e), this.name = "ElementPlusError";
@@ -1443,7 +1443,7 @@ const k0 = "__epPropKey", Je = (n) => n, ZT = (n) => Fn(n) && !!n[k0], Au = (n,
1443
1443
  return n;
1444
1444
  }, XT = (n, e) => (n.install = (t) => {
1445
1445
  t.directive(e, n);
1446
- }, n), ni = (n) => (n.install = el, n), ki = {
1446
+ }, n), ni = (n) => (n.install = el, n), zi = {
1447
1447
  tab: "Tab",
1448
1448
  enter: "Enter",
1449
1449
  space: "Space",
@@ -1458,13 +1458,13 @@ const k0 = "__epPropKey", Je = (n) => n, ZT = (n) => Fn(n) && !!n[k0], Au = (n,
1458
1458
  pageDown: "PageDown",
1459
1459
  home: "Home",
1460
1460
  end: "End"
1461
- }, At = "update:modelValue", _r = "change", Os = "input", V0 = ["", "default", "small", "large"], jc = (n) => {
1461
+ }, At = "update:modelValue", Sr = "change", Os = "input", V0 = ["", "default", "small", "large"], jc = (n) => {
1462
1462
  const e = hn(n) ? n : [n], t = [];
1463
1463
  return e.forEach((i) => {
1464
1464
  var r;
1465
1465
  hn(i) ? t.push(...jc(i)) : ld(i) && hn(i.children) ? t.push(...jc(i.children)) : (t.push(i), ld(i) && ((r = i.component) != null && r.subTree) && t.push(...jc(i.component.subTree)));
1466
1466
  }), t;
1467
- }, YT = (n) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(n), cr = (n) => n, qT = ["class", "style"], JT = /^on[A-Z]/, KT = (n = {}) => {
1467
+ }, YT = (n) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(n), ur = (n) => n, qT = ["class", "style"], JT = /^on[A-Z]/, KT = (n = {}) => {
1468
1468
  const { excludeListeners: e = !1, excludeKeys: t } = n, i = ue(() => ((t == null ? void 0 : t.value) || []).concat(qT)), r = an();
1469
1469
  return r ? ue(() => {
1470
1470
  var s;
@@ -1658,7 +1658,7 @@ var QT = {
1658
1658
  }
1659
1659
  }
1660
1660
  };
1661
- const eE = (n) => (e, t) => tE(e, t, N(n)), tE = (n, e, t) => lr(t, n, n).replace(/\{(\w+)\}/g, (i, r) => {
1661
+ const eE = (n) => (e, t) => tE(e, t, N(n)), tE = (n, e, t) => cr(t, n, n).replace(/\{(\w+)\}/g, (i, r) => {
1662
1662
  var s;
1663
1663
  return `${(s = e == null ? void 0 : e[r]) != null ? s : `{${r}}`}`;
1664
1664
  }), nE = (n) => {
@@ -1773,10 +1773,10 @@ var zn = "top", li = "bottom", ci = "right", Vn = "left", wf = "auto", Al = [zn,
1773
1773
  }, []), da = [].concat(Al, [wf]).reduce(function(n, e) {
1774
1774
  return n.concat([e, e + "-" + Uo, e + "-" + rl]);
1775
1775
  }, []), cE = "beforeRead", uE = "read", hE = "afterRead", dE = "beforeMain", fE = "main", pE = "afterMain", mE = "beforeWrite", gE = "write", vE = "afterWrite", yE = [cE, uE, hE, dE, fE, pE, mE, gE, vE];
1776
- function Hi(n) {
1776
+ function Wi(n) {
1777
1777
  return n ? (n.nodeName || "").toLowerCase() : null;
1778
1778
  }
1779
- function Ti(n) {
1779
+ function Ei(n) {
1780
1780
  if (n == null) return window;
1781
1781
  if (n.toString() !== "[object Window]") {
1782
1782
  var e = n.ownerDocument;
@@ -1785,23 +1785,23 @@ function Ti(n) {
1785
1785
  return n;
1786
1786
  }
1787
1787
  function ko(n) {
1788
- var e = Ti(n).Element;
1788
+ var e = Ei(n).Element;
1789
1789
  return n instanceof e || n instanceof Element;
1790
1790
  }
1791
1791
  function ai(n) {
1792
- var e = Ti(n).HTMLElement;
1792
+ var e = Ei(n).HTMLElement;
1793
1793
  return n instanceof e || n instanceof HTMLElement;
1794
1794
  }
1795
1795
  function Af(n) {
1796
1796
  if (typeof ShadowRoot > "u") return !1;
1797
- var e = Ti(n).ShadowRoot;
1797
+ var e = Ei(n).ShadowRoot;
1798
1798
  return n instanceof e || n instanceof ShadowRoot;
1799
1799
  }
1800
1800
  function bE(n) {
1801
1801
  var e = n.state;
1802
1802
  Object.keys(e.elements).forEach(function(t) {
1803
1803
  var i = e.styles[t] || {}, r = e.attributes[t] || {}, s = e.elements[t];
1804
- !ai(s) || !Hi(s) || (Object.assign(s.style, i), Object.keys(r).forEach(function(o) {
1804
+ !ai(s) || !Wi(s) || (Object.assign(s.style, i), Object.keys(r).forEach(function(o) {
1805
1805
  var a = r[o];
1806
1806
  a === !1 ? s.removeAttribute(o) : s.setAttribute(o, a === !0 ? "" : a);
1807
1807
  }));
@@ -1814,14 +1814,14 @@ function xE(n) {
1814
1814
  var r = e.elements[i], s = e.attributes[i] || {}, o = Object.keys(e.styles.hasOwnProperty(i) ? e.styles[i] : t[i]), a = o.reduce(function(c, l) {
1815
1815
  return c[l] = "", c;
1816
1816
  }, {});
1817
- !ai(r) || !Hi(r) || (Object.assign(r.style, a), Object.keys(s).forEach(function(c) {
1817
+ !ai(r) || !Wi(r) || (Object.assign(r.style, a), Object.keys(s).forEach(function(c) {
1818
1818
  r.removeAttribute(c);
1819
1819
  }));
1820
1820
  });
1821
1821
  };
1822
1822
  }
1823
1823
  var $0 = { name: "applyStyles", enabled: !0, phase: "write", fn: bE, effect: xE, requires: ["computeStyles"] };
1824
- function zi(n) {
1824
+ function Vi(n) {
1825
1825
  return n.split("-")[0];
1826
1826
  }
1827
1827
  var Ds = Math.max, ou = Math.min, zo = Math.round;
@@ -1850,38 +1850,38 @@ function Z0(n, e) {
1850
1850
  }
1851
1851
  return !1;
1852
1852
  }
1853
- function vr(n) {
1854
- return Ti(n).getComputedStyle(n);
1853
+ function yr(n) {
1854
+ return Ei(n).getComputedStyle(n);
1855
1855
  }
1856
1856
  function ME(n) {
1857
- return ["table", "td", "th"].indexOf(Hi(n)) >= 0;
1857
+ return ["table", "td", "th"].indexOf(Wi(n)) >= 0;
1858
1858
  }
1859
1859
  function us(n) {
1860
1860
  return ((ko(n) ? n.ownerDocument : n.document) || window.document).documentElement;
1861
1861
  }
1862
1862
  function Su(n) {
1863
- return Hi(n) === "html" ? n : n.assignedSlot || n.parentNode || (Af(n) ? n.host : null) || us(n);
1863
+ return Wi(n) === "html" ? n : n.assignedSlot || n.parentNode || (Af(n) ? n.host : null) || us(n);
1864
1864
  }
1865
1865
  function Fm(n) {
1866
- return !ai(n) || vr(n).position === "fixed" ? null : n.offsetParent;
1866
+ return !ai(n) || yr(n).position === "fixed" ? null : n.offsetParent;
1867
1867
  }
1868
1868
  function wE(n) {
1869
1869
  var e = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, t = navigator.userAgent.indexOf("Trident") !== -1;
1870
1870
  if (t && ai(n)) {
1871
- var i = vr(n);
1871
+ var i = yr(n);
1872
1872
  if (i.position === "fixed") return null;
1873
1873
  }
1874
1874
  var r = Su(n);
1875
- for (Af(r) && (r = r.host); ai(r) && ["html", "body"].indexOf(Hi(r)) < 0; ) {
1876
- var s = vr(r);
1875
+ for (Af(r) && (r = r.host); ai(r) && ["html", "body"].indexOf(Wi(r)) < 0; ) {
1876
+ var s = yr(r);
1877
1877
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none") return r;
1878
1878
  r = r.parentNode;
1879
1879
  }
1880
1880
  return null;
1881
1881
  }
1882
1882
  function _l(n) {
1883
- for (var e = Ti(n), t = Fm(n); t && ME(t) && vr(t).position === "static"; ) t = Fm(t);
1884
- return t && (Hi(t) === "html" || Hi(t) === "body" && vr(t).position === "static") ? e : t || wE(n) || e;
1883
+ for (var e = Ei(n), t = Fm(n); t && ME(t) && yr(t).position === "static"; ) t = Fm(t);
1884
+ return t && (Wi(t) === "html" || Wi(t) === "body" && yr(t).position === "static") ? e : t || wE(n) || e;
1885
1885
  }
1886
1886
  function Sf(n) {
1887
1887
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
@@ -1908,7 +1908,7 @@ var _E = function(n, e) {
1908
1908
  return n = typeof n == "function" ? n(Object.assign({}, e.rects, { placement: e.placement })) : n, Y0(typeof n != "number" ? n : q0(n, Al));
1909
1909
  };
1910
1910
  function SE(n) {
1911
- var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = zi(t.placement), c = Sf(a), l = [Vn, ci].indexOf(a) >= 0, h = l ? "height" : "width";
1911
+ var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Vi(t.placement), c = Sf(a), l = [Vn, ci].indexOf(a) >= 0, h = l ? "height" : "width";
1912
1912
  if (!(!s || !o)) {
1913
1913
  var u = _E(r.padding, t), f = _f(s), m = c === "y" ? zn : Vn, p = c === "y" ? li : ci, d = t.rects.reference[h] + t.rects.reference[c] - o[c] - t.rects.popper[h], y = o[c] - t.rects.reference[c], v = _l(s), g = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, M = d / 2 - y / 2, w = u[m], _ = g - f[h] - u[p], x = g / 2 - f[h] / 2 + M, T = Za(w, x, _), F = c;
1914
1914
  t.modifiersData[i] = (e = {}, e[F] = T, e.centerOffset = T - x, e);
@@ -1933,7 +1933,7 @@ function Pm(n) {
1933
1933
  var v = o.hasOwnProperty("x"), g = o.hasOwnProperty("y"), M = Vn, w = zn, _ = window;
1934
1934
  if (l) {
1935
1935
  var x = _l(t), T = "clientHeight", F = "clientWidth";
1936
- if (x === Ti(t) && (x = us(t), vr(x).position !== "static" && a === "absolute" && (T = "scrollHeight", F = "scrollWidth")), x = x, r === zn || (r === Vn || r === ci) && s === rl) {
1936
+ if (x === Ei(t) && (x = us(t), yr(x).position !== "static" && a === "absolute" && (T = "scrollHeight", F = "scrollWidth")), x = x, r === zn || (r === Vn || r === ci) && s === rl) {
1937
1937
  w = li;
1938
1938
  var L = u && x === _ && _.visualViewport ? _.visualViewport.height : x[T];
1939
1939
  d -= L - i.height, d *= c ? 1 : -1;
@@ -1952,12 +1952,12 @@ function Pm(n) {
1952
1952
  return Object.assign({}, S, (e = {}, e[w] = g ? d + "px" : "", e[M] = v ? m + "px" : "", e.transform = "", e));
1953
1953
  }
1954
1954
  function RE(n) {
1955
- var e = n.state, t = n.options, i = t.gpuAcceleration, r = i === void 0 ? !0 : i, s = t.adaptive, o = s === void 0 ? !0 : s, a = t.roundOffsets, c = a === void 0 ? !0 : a, l = { placement: zi(e.placement), variation: Go(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: r, isFixed: e.options.strategy === "fixed" };
1955
+ var e = n.state, t = n.options, i = t.gpuAcceleration, r = i === void 0 ? !0 : i, s = t.adaptive, o = s === void 0 ? !0 : s, a = t.roundOffsets, c = a === void 0 ? !0 : a, l = { placement: Vi(e.placement), variation: Go(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: r, isFixed: e.options.strategy === "fixed" };
1956
1956
  e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Pm(Object.assign({}, l, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: o, roundOffsets: c })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Pm(Object.assign({}, l, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-placement": e.placement });
1957
1957
  }
1958
1958
  var J0 = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: RE, data: {} }, Zl = { passive: !0 };
1959
1959
  function FE(n) {
1960
- var e = n.state, t = n.instance, i = n.options, r = i.scroll, s = r === void 0 ? !0 : r, o = i.resize, a = o === void 0 ? !0 : o, c = Ti(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1960
+ var e = n.state, t = n.instance, i = n.options, r = i.scroll, s = r === void 0 ? !0 : r, o = i.resize, a = o === void 0 ? !0 : o, c = Ei(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1961
1961
  return s && l.forEach(function(h) {
1962
1962
  h.addEventListener("scroll", t.update, Zl);
1963
1963
  }), a && c.addEventListener("resize", t.update, Zl), function() {
@@ -1980,31 +1980,31 @@ function Im(n) {
1980
1980
  });
1981
1981
  }
1982
1982
  function Tf(n) {
1983
- var e = Ti(n), t = e.pageXOffset, i = e.pageYOffset;
1983
+ var e = Ei(n), t = e.pageXOffset, i = e.pageYOffset;
1984
1984
  return { scrollLeft: t, scrollTop: i };
1985
1985
  }
1986
1986
  function Ef(n) {
1987
1987
  return Vo(us(n)).left + Tf(n).scrollLeft;
1988
1988
  }
1989
1989
  function OE(n) {
1990
- var e = Ti(n), t = us(n), i = e.visualViewport, r = t.clientWidth, s = t.clientHeight, o = 0, a = 0;
1990
+ var e = Ei(n), t = us(n), i = e.visualViewport, r = t.clientWidth, s = t.clientHeight, o = 0, a = 0;
1991
1991
  return i && (r = i.width, s = i.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (o = i.offsetLeft, a = i.offsetTop)), { width: r, height: s, x: o + Ef(n), y: a };
1992
1992
  }
1993
1993
  function DE(n) {
1994
1994
  var e, t = us(n), i = Tf(n), r = (e = n.ownerDocument) == null ? void 0 : e.body, s = Ds(t.scrollWidth, t.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = Ds(t.scrollHeight, t.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -i.scrollLeft + Ef(n), c = -i.scrollTop;
1995
- return vr(r || t).direction === "rtl" && (a += Ds(t.clientWidth, r ? r.clientWidth : 0) - s), { width: s, height: o, x: a, y: c };
1995
+ return yr(r || t).direction === "rtl" && (a += Ds(t.clientWidth, r ? r.clientWidth : 0) - s), { width: s, height: o, x: a, y: c };
1996
1996
  }
1997
1997
  function Cf(n) {
1998
- var e = vr(n), t = e.overflow, i = e.overflowX, r = e.overflowY;
1998
+ var e = yr(n), t = e.overflow, i = e.overflowX, r = e.overflowY;
1999
1999
  return /auto|scroll|overlay|hidden/.test(t + r + i);
2000
2000
  }
2001
2001
  function Q0(n) {
2002
- return ["html", "body", "#document"].indexOf(Hi(n)) >= 0 ? n.ownerDocument.body : ai(n) && Cf(n) ? n : Q0(Su(n));
2002
+ return ["html", "body", "#document"].indexOf(Wi(n)) >= 0 ? n.ownerDocument.body : ai(n) && Cf(n) ? n : Q0(Su(n));
2003
2003
  }
2004
2004
  function Xa(n, e) {
2005
2005
  var t;
2006
2006
  e === void 0 && (e = []);
2007
- var i = Q0(n), r = i === ((t = n.ownerDocument) == null ? void 0 : t.body), s = Ti(i), o = r ? [s].concat(s.visualViewport || [], Cf(i) ? i : []) : i, a = e.concat(o);
2007
+ var i = Q0(n), r = i === ((t = n.ownerDocument) == null ? void 0 : t.body), s = Ei(i), o = r ? [s].concat(s.visualViewport || [], Cf(i) ? i : []) : i, a = e.concat(o);
2008
2008
  return r ? a : a.concat(Xa(Su(o)));
2009
2009
  }
2010
2010
  function vd(n) {
@@ -2018,9 +2018,9 @@ function Om(n, e) {
2018
2018
  return e === j0 ? vd(OE(n)) : ko(e) ? NE(e) : vd(DE(us(n)));
2019
2019
  }
2020
2020
  function BE(n) {
2021
- var e = Xa(Su(n)), t = ["absolute", "fixed"].indexOf(vr(n).position) >= 0, i = t && ai(n) ? _l(n) : n;
2021
+ var e = Xa(Su(n)), t = ["absolute", "fixed"].indexOf(yr(n).position) >= 0, i = t && ai(n) ? _l(n) : n;
2022
2022
  return ko(i) ? e.filter(function(r) {
2023
- return ko(r) && Z0(r, i) && Hi(r) !== "body";
2023
+ return ko(r) && Z0(r, i) && Wi(r) !== "body";
2024
2024
  }) : [];
2025
2025
  }
2026
2026
  function UE(n, e, t) {
@@ -2031,7 +2031,7 @@ function UE(n, e, t) {
2031
2031
  return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
2032
2032
  }
2033
2033
  function ey(n) {
2034
- var e = n.reference, t = n.element, i = n.placement, r = i ? zi(i) : null, s = i ? Go(i) : null, o = e.x + e.width / 2 - t.width / 2, a = e.y + e.height / 2 - t.height / 2, c;
2034
+ var e = n.reference, t = n.element, i = n.placement, r = i ? Vi(i) : null, s = i ? Go(i) : null, o = e.x + e.width / 2 - t.width / 2, a = e.y + e.height / 2 - t.height / 2, c;
2035
2035
  switch (r) {
2036
2036
  case zn:
2037
2037
  c = { x: o, y: e.y - t.height };
@@ -2083,24 +2083,24 @@ function kE(n, e) {
2083
2083
  });
2084
2084
  f.length === 0 && (f = u);
2085
2085
  var m = f.reduce(function(p, d) {
2086
- return p[d] = sl(n, { placement: d, boundary: r, rootBoundary: s, padding: o })[zi(d)], p;
2086
+ return p[d] = sl(n, { placement: d, boundary: r, rootBoundary: s, padding: o })[Vi(d)], p;
2087
2087
  }, {});
2088
2088
  return Object.keys(m).sort(function(p, d) {
2089
2089
  return m[p] - m[d];
2090
2090
  });
2091
2091
  }
2092
2092
  function zE(n) {
2093
- if (zi(n) === wf) return [];
2093
+ if (Vi(n) === wf) return [];
2094
2094
  var e = Zc(n);
2095
2095
  return [Im(n), e, Im(e)];
2096
2096
  }
2097
2097
  function VE(n) {
2098
2098
  var e = n.state, t = n.options, i = n.name;
2099
2099
  if (!e.modifiersData[i]._skip) {
2100
- for (var r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !0 : o, c = t.fallbackPlacements, l = t.padding, h = t.boundary, u = t.rootBoundary, f = t.altBoundary, m = t.flipVariations, p = m === void 0 ? !0 : m, d = t.allowedAutoPlacements, y = e.options.placement, v = zi(y), g = v === y, M = c || (g || !p ? [Zc(y)] : zE(y)), w = [y].concat(M).reduce(function(Z, te) {
2101
- return Z.concat(zi(te) === wf ? kE(e, { placement: te, boundary: h, rootBoundary: u, padding: l, flipVariations: p, allowedAutoPlacements: d }) : te);
2100
+ for (var r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !0 : o, c = t.fallbackPlacements, l = t.padding, h = t.boundary, u = t.rootBoundary, f = t.altBoundary, m = t.flipVariations, p = m === void 0 ? !0 : m, d = t.allowedAutoPlacements, y = e.options.placement, v = Vi(y), g = v === y, M = c || (g || !p ? [Zc(y)] : zE(y)), w = [y].concat(M).reduce(function(Z, te) {
2101
+ return Z.concat(Vi(te) === wf ? kE(e, { placement: te, boundary: h, rootBoundary: u, padding: l, flipVariations: p, allowedAutoPlacements: d }) : te);
2102
2102
  }, []), _ = e.rects.reference, x = e.rects.popper, T = /* @__PURE__ */ new Map(), F = !0, L = w[0], I = 0; I < w.length; I++) {
2103
- var S = w[I], E = zi(S), R = Go(S) === Uo, A = [zn, li].indexOf(E) >= 0, C = A ? "width" : "height", b = sl(e, { placement: S, boundary: h, rootBoundary: u, altBoundary: f, padding: l }), P = A ? R ? ci : Vn : R ? li : zn;
2103
+ var S = w[I], E = Vi(S), R = Go(S) === Uo, A = [zn, li].indexOf(E) >= 0, C = A ? "width" : "height", b = sl(e, { placement: S, boundary: h, rootBoundary: u, altBoundary: f, padding: l }), P = A ? R ? ci : Vn : R ? li : zn;
2104
2104
  _[C] > x[C] && (P = Zc(P));
2105
2105
  var D = Zc(P), O = [];
2106
2106
  if (s && O.push(b[E] <= 0), a && O.push(b[P] <= 0, b[D] <= 0), O.every(function(Z) {
@@ -2141,7 +2141,7 @@ function HE(n) {
2141
2141
  }
2142
2142
  var WE = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: HE };
2143
2143
  function jE(n, e, t) {
2144
- var i = zi(n), r = [Vn, zn].indexOf(i) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, { placement: n })) : t, o = s[0], a = s[1];
2144
+ var i = Vi(n), r = [Vn, zn].indexOf(i) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, { placement: n })) : t, o = s[0], a = s[1];
2145
2145
  return o = o || 0, a = (a || 0) * r, [Vn, ci].indexOf(i) >= 0 ? { x: a, y: o } : { x: o, y: a };
2146
2146
  }
2147
2147
  function $E(n) {
@@ -2160,7 +2160,7 @@ function YE(n) {
2160
2160
  return n === "x" ? "y" : "x";
2161
2161
  }
2162
2162
  function qE(n) {
2163
- var e = n.state, t = n.options, i = n.name, r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !1 : o, c = t.boundary, l = t.rootBoundary, h = t.altBoundary, u = t.padding, f = t.tether, m = f === void 0 ? !0 : f, p = t.tetherOffset, d = p === void 0 ? 0 : p, y = sl(e, { boundary: c, rootBoundary: l, padding: u, altBoundary: h }), v = zi(e.placement), g = Go(e.placement), M = !g, w = Sf(v), _ = YE(w), x = e.modifiersData.popperOffsets, T = e.rects.reference, F = e.rects.popper, L = typeof d == "function" ? d(Object.assign({}, e.rects, { placement: e.placement })) : d, I = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), S = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, E = { x: 0, y: 0 };
2163
+ var e = n.state, t = n.options, i = n.name, r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !1 : o, c = t.boundary, l = t.rootBoundary, h = t.altBoundary, u = t.padding, f = t.tether, m = f === void 0 ? !0 : f, p = t.tetherOffset, d = p === void 0 ? 0 : p, y = sl(e, { boundary: c, rootBoundary: l, padding: u, altBoundary: h }), v = Vi(e.placement), g = Go(e.placement), M = !g, w = Sf(v), _ = YE(w), x = e.modifiersData.popperOffsets, T = e.rects.reference, F = e.rects.popper, L = typeof d == "function" ? d(Object.assign({}, e.rects, { placement: e.placement })) : d, I = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), S = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, E = { x: 0, y: 0 };
2164
2164
  if (x) {
2165
2165
  if (s) {
2166
2166
  var R, A = w === "y" ? zn : Vn, C = w === "y" ? li : ci, b = w === "y" ? "height" : "width", P = x[w], D = P + y[A], O = P - y[C], B = m ? -F[b] / 2 : 0, z = g === Uo ? T[b] : F[b], V = g === Uo ? -F[b] : -T[b], Y = e.elements.arrow, Z = m && Y ? _f(Y) : { width: 0, height: 0 }, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : X0(), J = te[A], W = te[C], $ = Za(0, T[b], Z[b]), X = M ? T[b] / 2 - B - $ - J - I.mainAxis : z - $ - J - I.mainAxis, K = M ? -T[b] / 2 + B + $ + W + I.mainAxis : V + $ + W + I.mainAxis, ne = e.elements.arrow && _l(e.elements.arrow), k = ne ? w === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, j = (R = S == null ? void 0 : S[w]) != null ? R : 0, oe = P + X - j - k, le = P + K - j, ce = Za(m ? ou(D, oe) : D, P, m ? Ds(O, le) : O);
@@ -2178,7 +2178,7 @@ function KE(n) {
2178
2178
  return { scrollLeft: n.scrollLeft, scrollTop: n.scrollTop };
2179
2179
  }
2180
2180
  function QE(n) {
2181
- return n === Ti(n) || !ai(n) ? Tf(n) : KE(n);
2181
+ return n === Ei(n) || !ai(n) ? Tf(n) : KE(n);
2182
2182
  }
2183
2183
  function e2(n) {
2184
2184
  var e = n.getBoundingClientRect(), t = zo(e.width) / n.offsetWidth || 1, i = zo(e.height) / n.offsetHeight || 1;
@@ -2187,7 +2187,7 @@ function e2(n) {
2187
2187
  function t2(n, e, t) {
2188
2188
  t === void 0 && (t = !1);
2189
2189
  var i = ai(e), r = ai(e) && e2(e), s = us(e), o = Vo(n, r), a = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 };
2190
- return (i || !i && !t) && ((Hi(e) !== "body" || Cf(s)) && (a = QE(e)), ai(e) ? (c = Vo(e, !0), c.x += e.clientLeft, c.y += e.clientTop) : s && (c.x = Ef(s))), { x: o.left + a.scrollLeft - c.x, y: o.top + a.scrollTop - c.y, width: o.width, height: o.height };
2190
+ return (i || !i && !t) && ((Wi(e) !== "body" || Cf(s)) && (a = QE(e)), ai(e) ? (c = Vo(e, !0), c.x += e.clientLeft, c.y += e.clientTop) : s && (c.x = Ef(s))), { x: o.left + a.scrollLeft - c.x, y: o.top + a.scrollTop - c.y, width: o.width, height: o.height };
2191
2191
  }
2192
2192
  function n2(n) {
2193
2193
  var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), i = [];
@@ -2401,7 +2401,7 @@ usage: app.provide(ID_INJECTION_KEY, {
2401
2401
  let Co = [];
2402
2402
  const zm = (n) => {
2403
2403
  const e = n;
2404
- e.key === ki.esc && Co.forEach((t) => t(e));
2404
+ e.key === zi.esc && Co.forEach((t) => t(e));
2405
2405
  }, d2 = (n) => {
2406
2406
  en(() => {
2407
2407
  Co.length === 0 && document.addEventListener("keydown", zm), on && Co.push(n);
@@ -2547,7 +2547,7 @@ const x2 = (n, e, t) => jc(n.subTree).filter((s) => {
2547
2547
  delete t[o], i.value = i.value.filter((a) => a.uid !== o);
2548
2548
  }
2549
2549
  };
2550
- }, Wi = Au({
2550
+ }, ji = Au({
2551
2551
  type: String,
2552
2552
  values: V0,
2553
2553
  required: !1
@@ -2627,7 +2627,7 @@ const uy = Symbol("emptyValuesContextKey"), A2 = "use-empty-values", _2 = ["", v
2627
2627
  values: ["horizontal", "vertical", "undefined"]
2628
2628
  },
2629
2629
  ariaControls: String
2630
- }), Yi = (n) => I0(C2, n), hy = Symbol(), au = Le();
2630
+ }), qi = (n) => I0(C2, n), hy = Symbol(), au = Le();
2631
2631
  function Ff(n, e = void 0) {
2632
2632
  const t = an() ? ct(hy, au) : au;
2633
2633
  return n ? ue(() => {
@@ -2706,7 +2706,7 @@ const P2 = ut({
2706
2706
  "--color": s
2707
2707
  };
2708
2708
  });
2709
- return (r, s) => (pe(), Ce("i", Bi({
2709
+ return (r, s) => (pe(), Ce("i", Ui({
2710
2710
  class: N(t).b(),
2711
2711
  style: N(i)
2712
2712
  }, r.$attrs), [
@@ -2715,13 +2715,13 @@ const P2 = ut({
2715
2715
  }
2716
2716
  });
2717
2717
  var D2 = /* @__PURE__ */ st(O2, [["__file", "icon.vue"]]);
2718
- const Ht = tn(D2), Pf = Symbol("formContextKey"), lu = Symbol("formItemContextKey"), yr = (n, e = {}) => {
2718
+ const Ht = tn(D2), Pf = Symbol("formContextKey"), lu = Symbol("formItemContextKey"), br = (n, e = {}) => {
2719
2719
  const t = Le(void 0), i = e.prop ? t : W0("size"), r = e.global ? t : w2(), s = e.form ? { size: void 0 } : ct(Pf, void 0), o = e.formItem ? { size: void 0 } : ct(lu, void 0);
2720
2720
  return ue(() => i.value || N(n) || (o == null ? void 0 : o.size) || (s == null ? void 0 : s.size) || r.value || "");
2721
2721
  }, fa = (n) => {
2722
2722
  const e = W0("disabled"), t = ct(Pf, void 0);
2723
2723
  return ue(() => e.value || N(n) || (t == null ? void 0 : t.disabled) || !1);
2724
- }, Sr = () => {
2724
+ }, Tr = () => {
2725
2725
  const n = ct(Pf, void 0), e = ct(lu, void 0);
2726
2726
  return {
2727
2727
  form: n,
@@ -2805,7 +2805,7 @@ const k2 = ut({
2805
2805
  type: String,
2806
2806
  default: void 0
2807
2807
  },
2808
- size: Wi,
2808
+ size: ji,
2809
2809
  disabled: Boolean,
2810
2810
  modelValue: {
2811
2811
  type: Je([
@@ -2873,14 +2873,14 @@ const k2 = ut({
2873
2873
  },
2874
2874
  inputStyle: {
2875
2875
  type: Je([Object, Array, String]),
2876
- default: () => cr({})
2876
+ default: () => ur({})
2877
2877
  },
2878
2878
  autofocus: Boolean,
2879
2879
  rows: {
2880
2880
  type: Number,
2881
2881
  default: 2
2882
2882
  },
2883
- ...Yi(["ariaLabel"])
2883
+ ...qi(["ariaLabel"])
2884
2884
  }), z2 = {
2885
2885
  [At]: (n) => fn(n),
2886
2886
  input: (n) => fn(n),
@@ -2923,9 +2923,9 @@ const k2 = ut({
2923
2923
  d.is("focus", L.value)
2924
2924
  ]), l = KT({
2925
2925
  excludeKeys: ue(() => Object.keys(o.value))
2926
- }), { form: h, formItem: u } = Sr(), { inputId: f } = pa(i, {
2926
+ }), { form: h, formItem: u } = Tr(), { inputId: f } = pa(i, {
2927
2927
  formItemContext: u
2928
- }), m = yr(), p = fa(), d = rt("input"), y = rt("textarea"), v = kn(), g = kn(), M = Le(!1), w = Le(!1), _ = Le(), x = kn(i.inputStyle), T = ue(() => v.value || g.value), { wrapperRef: F, isFocused: L, handleFocus: I, handleBlur: S } = ly(T, {
2928
+ }), m = br(), p = fa(), d = rt("input"), y = rt("textarea"), v = kn(), g = kn(), M = Le(!1), w = Le(!1), _ = Le(), x = kn(i.inputStyle), T = ue(() => v.value || g.value), { wrapperRef: F, isFocused: L, handleFocus: I, handleBlur: S } = ly(T, {
2929
2929
  beforeFocus() {
2930
2930
  return p.value;
2931
2931
  },
@@ -2942,7 +2942,7 @@ const k2 = ut({
2942
2942
  i.inputStyle,
2943
2943
  x.value,
2944
2944
  { resize: i.resize }
2945
- ]), D = ue(() => Ui(i.modelValue) ? "" : String(i.modelValue)), O = ue(() => i.clearable && !p.value && !i.readonly && !!D.value && (L.value || M.value)), B = ue(() => i.showPassword && !p.value && !i.readonly && !!D.value && (!!D.value || L.value)), z = ue(() => i.showWordLimit && !!i.maxlength && (i.type === "text" || i.type === "textarea") && !p.value && !i.readonly && !i.showPassword), V = ue(() => D.value.length), Y = ue(() => !!z.value && V.value > Number(i.maxlength)), Z = ue(() => !!s.suffix || !!i.suffixIcon || O.value || i.showPassword || z.value || !!R.value && E.value), [te, J] = b2(v);
2945
+ ]), D = ue(() => ki(i.modelValue) ? "" : String(i.modelValue)), O = ue(() => i.clearable && !p.value && !i.readonly && !!D.value && (L.value || M.value)), B = ue(() => i.showPassword && !p.value && !i.readonly && !!D.value && (!!D.value || L.value)), z = ue(() => i.showWordLimit && !!i.maxlength && (i.type === "text" || i.type === "textarea") && !p.value && !i.readonly && !i.showPassword), V = ue(() => D.value.length), Y = ue(() => !!z.value && V.value > Number(i.maxlength)), Z = ue(() => !!s.suffix || !!i.suffixIcon || O.value || i.showPassword || z.value || !!R.value && E.value), [te, J] = b2(v);
2946
2946
  oi(g, (fe) => {
2947
2947
  if (X(), !z.value || i.resize !== "both")
2948
2948
  return;
@@ -3033,7 +3033,7 @@ const k2 = ut({
3033
3033
  select: xe,
3034
3034
  clear: Ae,
3035
3035
  resizeTextarea: W
3036
- }), (fe, _e) => (pe(), Ce("div", Bi(N(o), {
3036
+ }), (fe, _e) => (pe(), Ce("div", Ui(N(o), {
3037
3037
  class: [
3038
3038
  N(a),
3039
3039
  {
@@ -3080,7 +3080,7 @@ const k2 = ut({
3080
3080
  }, 8, ["class"])) : He("v-if", !0)
3081
3081
  ], 2)
3082
3082
  ], 2)) : He("v-if", !0),
3083
- De("input", Bi({
3083
+ De("input", Ui({
3084
3084
  id: N(f),
3085
3085
  ref_key: "input",
3086
3086
  ref: v,
@@ -3179,7 +3179,7 @@ const k2 = ut({
3179
3179
  ], 2)) : He("v-if", !0)
3180
3180
  ], 64)) : (pe(), Ce(Dt, { key: 1 }, [
3181
3181
  He(" textarea "),
3182
- De("textarea", Bi({
3182
+ De("textarea", Ui({
3183
3183
  id: N(f),
3184
3184
  ref_key: "textarea",
3185
3185
  ref: g,
@@ -3418,7 +3418,7 @@ const Q2 = ut({
3418
3418
  },
3419
3419
  id: String,
3420
3420
  role: String,
3421
- ...Yi(["ariaLabel", "ariaOrientation"])
3421
+ ...qi(["ariaLabel", "ariaOrientation"])
3422
3422
  }), eC = {
3423
3423
  scroll: ({
3424
3424
  scrollTop: n,
@@ -3694,7 +3694,7 @@ const gy = ut({
3694
3694
  ];
3695
3695
  return en(() => {
3696
3696
  Qe(() => t.virtualRef, (u) => {
3697
- u && (r.value = hr(u));
3697
+ u && (r.value = dr(u));
3698
3698
  }, {
3699
3699
  immediate: !0
3700
3700
  }), Qe(r, (u, f) => {
@@ -3709,7 +3709,7 @@ const gy = ut({
3709
3709
  "aria-haspopup",
3710
3710
  "aria-expanded"
3711
3711
  ].forEach((p, d) => {
3712
- Ui(m[d]) ? u.removeAttribute(p) : u.setAttribute(p, m[d]);
3712
+ ki(m[d]) ? u.removeAttribute(p) : u.setAttribute(p, m[d]);
3713
3713
  });
3714
3714
  }, { immediate: !0 })), Is(f) && [
3715
3715
  "aria-controls",
@@ -3730,7 +3730,7 @@ const gy = ut({
3730
3730
  }
3731
3731
  }), e({
3732
3732
  triggerRef: r
3733
- }), (u, f) => u.virtualTriggering ? He("v-if", !0) : (pe(), je(N(dC), Bi({ key: 0 }, u.$attrs, {
3733
+ }), (u, f) => u.virtualTriggering ? He("v-if", !0) : (pe(), je(N(dC), Ui({ key: 0 }, u.$attrs, {
3734
3734
  "aria-controls": N(s),
3735
3735
  "aria-describedby": N(o),
3736
3736
  "aria-expanded": N(c),
@@ -3782,7 +3782,7 @@ const vy = (n) => {
3782
3782
  }, xC = (n) => {
3783
3783
  const e = vy(n), t = Jm(e, n), i = Jm(e.reverse(), n);
3784
3784
  return [t, i];
3785
- }, MC = (n) => n instanceof HTMLInputElement && "select" in n, Hr = (n, e) => {
3785
+ }, MC = (n) => n instanceof HTMLInputElement && "select" in n, Wr = (n, e) => {
3786
3786
  if (n && n.focus) {
3787
3787
  const t = document.activeElement;
3788
3788
  n.focus({ preventScroll: !0 }), Nf.value = window.performance.now(), n !== t && MC(n) && e && n.select();
@@ -3807,7 +3807,7 @@ const wC = () => {
3807
3807
  }, AC = (n, e = !1) => {
3808
3808
  const t = document.activeElement;
3809
3809
  for (const i of n)
3810
- if (Hr(i, e), document.activeElement !== t)
3810
+ if (Wr(i, e), document.activeElement !== t)
3811
3811
  return;
3812
3812
  }, Qm = wC(), _C = () => Tu.value > Nf.value, Yl = () => {
3813
3813
  Df.value = "pointer", Tu.value = window.performance.now();
@@ -3862,7 +3862,7 @@ const wC = () => {
3862
3862
  }, a = (p) => {
3863
3863
  if (!n.loop && !n.trapped || o.paused)
3864
3864
  return;
3865
- const { key: d, altKey: y, ctrlKey: v, metaKey: g, currentTarget: M, shiftKey: w } = p, { loop: _ } = n, x = d === ki.tab && !y && !v && !g, T = document.activeElement;
3865
+ const { key: d, altKey: y, ctrlKey: v, metaKey: g, currentTarget: M, shiftKey: w } = p, { loop: _ } = n, x = d === zi.tab && !y && !v && !g, T = document.activeElement;
3866
3866
  if (x && T) {
3867
3867
  const F = M, [L, I] = xC(F);
3868
3868
  if (L && I) {
@@ -3870,12 +3870,12 @@ const wC = () => {
3870
3870
  const E = ql({
3871
3871
  focusReason: s.value
3872
3872
  });
3873
- e("focusout-prevented", E), E.defaultPrevented || (p.preventDefault(), _ && Hr(L, !0));
3873
+ e("focusout-prevented", E), E.defaultPrevented || (p.preventDefault(), _ && Wr(L, !0));
3874
3874
  } else if (w && [L, F].includes(T)) {
3875
3875
  const E = ql({
3876
3876
  focusReason: s.value
3877
3877
  });
3878
- e("focusout-prevented", E), E.defaultPrevented || (p.preventDefault(), _ && Hr(I, !0));
3878
+ e("focusout-prevented", E), E.defaultPrevented || (p.preventDefault(), _ && Wr(I, !0));
3879
3879
  }
3880
3880
  } else if (T === F) {
3881
3881
  const E = ql({
@@ -3900,18 +3900,18 @@ const wC = () => {
3900
3900
  if (!d)
3901
3901
  return;
3902
3902
  const y = p.target, v = p.relatedTarget, g = y && d.contains(y);
3903
- n.trapped || v && d.contains(v) || (i = v), g && e("focusin", p), !o.paused && n.trapped && (g ? r = y : Hr(r, !0));
3903
+ n.trapped || v && d.contains(v) || (i = v), g && e("focusin", p), !o.paused && n.trapped && (g ? r = y : Wr(r, !0));
3904
3904
  }, u = (p) => {
3905
3905
  const d = N(t);
3906
3906
  if (!(o.paused || !d))
3907
3907
  if (n.trapped) {
3908
3908
  const y = p.relatedTarget;
3909
- !Ui(y) && !d.contains(y) && setTimeout(() => {
3909
+ !ki(y) && !d.contains(y) && setTimeout(() => {
3910
3910
  if (!o.paused && n.trapped) {
3911
3911
  const v = ql({
3912
3912
  focusReason: s.value
3913
3913
  });
3914
- e("focusout-prevented", v), v.defaultPrevented || Hr(r, !0);
3914
+ e("focusout-prevented", v), v.defaultPrevented || Wr(r, !0);
3915
3915
  }
3916
3916
  }, 0);
3917
3917
  } else {
@@ -3929,7 +3929,7 @@ const wC = () => {
3929
3929
  const v = new Event(rh, Xm);
3930
3930
  p.addEventListener(rh, c), p.dispatchEvent(v), v.defaultPrevented || wt(() => {
3931
3931
  let g = n.focusStartEl;
3932
- fn(g) || (Hr(g), document.activeElement !== g && (g = "first")), g === "first" && AC(vy(p), !0), (document.activeElement === d || g === "container") && Hr(p);
3932
+ fn(g) || (Wr(g), document.activeElement !== g && (g = "first")), g === "first" && AC(vy(p), !0), (document.activeElement === d || g === "container") && Wr(p);
3933
3933
  });
3934
3934
  }
3935
3935
  }
@@ -3944,7 +3944,7 @@ const wC = () => {
3944
3944
  focusReason: s.value
3945
3945
  }
3946
3946
  });
3947
- p.addEventListener(sh, l), p.dispatchEvent(d), !d.defaultPrevented && (s.value == "keyboard" || !_C() || p.contains(document.activeElement)) && Hr(i ?? document.body), p.removeEventListener(sh, l), Qm.remove(o);
3947
+ p.addEventListener(sh, l), p.dispatchEvent(d), !d.defaultPrevented && (s.value == "keyboard" || !_C() || p.contains(document.activeElement)) && Wr(i ?? document.body), p.removeEventListener(sh, l), Qm.remove(o);
3948
3948
  }
3949
3949
  }
3950
3950
  return en(() => {
@@ -4038,7 +4038,7 @@ const LC = ["fixed", "absolute"], RC = ut({
4038
4038
  },
4039
4039
  virtualTriggering: Boolean,
4040
4040
  zIndex: Number,
4041
- ...Yi(["ariaLabel"])
4041
+ ...qi(["ariaLabel"])
4042
4042
  }), FC = {
4043
4043
  mouseenter: (n) => n instanceof MouseEvent,
4044
4044
  mouseleave: (n) => n instanceof MouseEvent,
@@ -4055,7 +4055,7 @@ const LC = ["fixed", "absolute"], RC = ut({
4055
4055
  return DC(s, r == null ? void 0 : r.modifiers), s;
4056
4056
  }, IC = (n) => {
4057
4057
  if (on)
4058
- return hr(n);
4058
+ return dr(n);
4059
4059
  };
4060
4060
  function OC(n) {
4061
4061
  const { offset: e, gpuAcceleration: t, fallbackPlacements: i } = n;
@@ -4233,7 +4233,7 @@ const NC = 0, BC = (n) => {
4233
4233
  const C = N(R || m.value), b = N(A || m.value);
4234
4234
  Is(C) && (I = Qe([y, () => i.ariaLabel, g, () => i.id], (P) => {
4235
4235
  ["role", "aria-label", "aria-modal", "id"].forEach((D, O) => {
4236
- Ui(P[O]) ? C.removeAttribute(D) : C.setAttribute(D, P[O]);
4236
+ ki(P[O]) ? C.removeAttribute(D) : C.setAttribute(D, P[O]);
4237
4237
  });
4238
4238
  }, { immediate: !0 })), b !== C && Is(b) && ["role", "aria-label", "aria-modal", "id"].forEach((P) => {
4239
4239
  b.removeAttribute(P);
@@ -4246,7 +4246,7 @@ const NC = 0, BC = (n) => {
4246
4246
  popperInstanceRef: d,
4247
4247
  updatePopper: S,
4248
4248
  contentStyle: x
4249
- }), (R, A) => (pe(), Ce("div", Bi({
4249
+ }), (R, A) => (pe(), Ce("div", Ui({
4250
4250
  ref_key: "contentRef",
4251
4251
  ref: m
4252
4252
  }, N(w), {
@@ -4298,7 +4298,7 @@ const HC = tn(lC), Bf = Symbol("elTooltip"), $n = ut({
4298
4298
  default: !0
4299
4299
  },
4300
4300
  disabled: Boolean,
4301
- ...Yi(["ariaLabel"])
4301
+ ...qi(["ariaLabel"])
4302
4302
  }), ol = ut({
4303
4303
  ...gy,
4304
4304
  disabled: Boolean,
@@ -4308,7 +4308,7 @@ const HC = tn(lC), Bf = Symbol("elTooltip"), $n = ut({
4308
4308
  },
4309
4309
  triggerKeys: {
4310
4310
  type: Je(Array),
4311
- default: () => [ki.enter, ki.space]
4311
+ default: () => [zi.enter, zi.space]
4312
4312
  }
4313
4313
  }), {
4314
4314
  useModelToggleProps: WC,
@@ -4343,11 +4343,11 @@ const HC = tn(lC), Bf = Symbol("elTooltip"), $n = ut({
4343
4343
  const t = n, i = rt("tooltip"), { controlled: r, id: s, open: o, onOpen: a, onClose: c, onToggle: l } = ct(Bf, void 0), h = Le(null), u = () => {
4344
4344
  if (N(r) || t.disabled)
4345
4345
  return !0;
4346
- }, f = Mi(t, "trigger"), m = ar(u, so(f, "hover", a)), p = ar(u, so(f, "hover", c)), d = ar(u, so(f, "click", (w) => {
4346
+ }, f = Mi(t, "trigger"), m = lr(u, so(f, "hover", a)), p = lr(u, so(f, "hover", c)), d = lr(u, so(f, "click", (w) => {
4347
4347
  w.button === 0 && l(w);
4348
- })), y = ar(u, so(f, "focus", a)), v = ar(u, so(f, "focus", c)), g = ar(u, so(f, "contextmenu", (w) => {
4348
+ })), y = lr(u, so(f, "focus", a)), v = lr(u, so(f, "focus", c)), g = lr(u, so(f, "contextmenu", (w) => {
4349
4349
  w.preventDefault(), l(w);
4350
- })), M = ar(u, (w) => {
4350
+ })), M = lr(u, (w) => {
4351
4351
  const { code: _ } = w;
4352
4352
  t.triggerKeys.includes(_) && (w.preventDefault(), l(w));
4353
4353
  });
@@ -4426,9 +4426,9 @@ const nL = tn(tL), iL = Fe({
4426
4426
  }, L = () => {
4427
4427
  if (N(a))
4428
4428
  return !0;
4429
- }, I = ar(L, () => {
4429
+ }, I = lr(L, () => {
4430
4430
  t.enterable && N(h) === "hover" && f();
4431
- }), S = ar(L, () => {
4431
+ }), S = lr(L, () => {
4432
4432
  N(h) === "hover" && u();
4433
4433
  }), E = () => {
4434
4434
  var b, P;
@@ -4469,7 +4469,7 @@ const nL = tn(tL), iL = Fe({
4469
4469
  onBeforeLeave: R
4470
4470
  }, {
4471
4471
  default: de(() => [
4472
- N(M) ? _t((pe(), je(N(GC), Bi({
4472
+ N(M) ? _t((pe(), je(N(GC), Ui({
4473
4473
  key: 0,
4474
4474
  id: N(c),
4475
4475
  ref_key: "contentRef",
@@ -4656,7 +4656,7 @@ const Uf = tn(lL), by = Symbol("buttonGroupContextKey"), cL = (n, e) => {
4656
4656
  scope: "props",
4657
4657
  ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
4658
4658
  }, ue(() => n.type === "text"));
4659
- const t = ct(by, void 0), i = Ff("button"), { form: r } = Sr(), s = yr(ue(() => t == null ? void 0 : t.size)), o = fa(), a = Le(), c = ca(), l = ue(() => n.type || (t == null ? void 0 : t.type) || ""), h = ue(() => {
4659
+ const t = ct(by, void 0), i = Ff("button"), { form: r } = Tr(), s = br(ue(() => t == null ? void 0 : t.size)), o = fa(), a = Le(), c = ca(), l = ue(() => n.type || (t == null ? void 0 : t.type) || ""), h = ue(() => {
4660
4660
  var p, d, y;
4661
4661
  return (y = (d = n.autoInsertSpace) != null ? d : (p = i.value) == null ? void 0 : p.autoInsertSpace) != null ? y : !1;
4662
4662
  }), u = ue(() => n.tag === "button" ? {
@@ -4701,7 +4701,7 @@ const Uf = tn(lL), by = Symbol("buttonGroupContextKey"), cL = (n, e) => {
4701
4701
  "text",
4702
4702
  ""
4703
4703
  ], hL = ["button", "submit", "reset"], xd = ut({
4704
- size: Wi,
4704
+ size: ji,
4705
4705
  disabled: Boolean,
4706
4706
  type: {
4707
4707
  type: String,
@@ -5017,7 +5017,7 @@ var Md = {
5017
5017
  };
5018
5018
  function ML(n) {
5019
5019
  var e = { r: 0, g: 0, b: 0 }, t = 1, i = null, r = null, s = null, o = !1, a = !1;
5020
- return typeof n == "string" && (n = _L(n)), typeof n == "object" && (er(n.r) && er(n.g) && er(n.b) ? (e = mL(n.r, n.g, n.b), o = !0, a = String(n.r).substr(-1) === "%" ? "prgb" : "rgb") : er(n.h) && er(n.s) && er(n.v) ? (i = Kl(n.s), r = Kl(n.v), e = vL(n.h, i, r), o = !0, a = "hsv") : er(n.h) && er(n.s) && er(n.l) && (i = Kl(n.s), s = Kl(n.l), e = gL(n.h, i, s), o = !0, a = "hsl"), Object.prototype.hasOwnProperty.call(n, "a") && (t = n.a)), t = xy(t), {
5020
+ return typeof n == "string" && (n = _L(n)), typeof n == "object" && (tr(n.r) && tr(n.g) && tr(n.b) ? (e = mL(n.r, n.g, n.b), o = !0, a = String(n.r).substr(-1) === "%" ? "prgb" : "rgb") : tr(n.h) && tr(n.s) && tr(n.v) ? (i = Kl(n.s), r = Kl(n.v), e = vL(n.h, i, r), o = !0, a = "hsv") : tr(n.h) && tr(n.s) && tr(n.l) && (i = Kl(n.s), s = Kl(n.l), e = gL(n.h, i, s), o = !0, a = "hsl"), Object.prototype.hasOwnProperty.call(n, "a") && (t = n.a)), t = xy(t), {
5021
5021
  ok: o,
5022
5022
  format: n.format || a,
5023
5023
  r: Math.min(255, Math.max(e.r, 0)),
@@ -5026,8 +5026,8 @@ function ML(n) {
5026
5026
  a: t
5027
5027
  };
5028
5028
  }
5029
- var wL = "[-\\+]?\\d+%?", AL = "[-\\+]?\\d*\\.\\d+%?", Xr = "(?:".concat(AL, ")|(?:").concat(wL, ")"), ah = "[\\s|\\(]+(".concat(Xr, ")[,|\\s]+(").concat(Xr, ")[,|\\s]+(").concat(Xr, ")\\s*\\)?"), lh = "[\\s|\\(]+(".concat(Xr, ")[,|\\s]+(").concat(Xr, ")[,|\\s]+(").concat(Xr, ")[,|\\s]+(").concat(Xr, ")\\s*\\)?"), yi = {
5030
- CSS_UNIT: new RegExp(Xr),
5029
+ var wL = "[-\\+]?\\d+%?", AL = "[-\\+]?\\d*\\.\\d+%?", Yr = "(?:".concat(AL, ")|(?:").concat(wL, ")"), ah = "[\\s|\\(]+(".concat(Yr, ")[,|\\s]+(").concat(Yr, ")[,|\\s]+(").concat(Yr, ")\\s*\\)?"), lh = "[\\s|\\(]+(".concat(Yr, ")[,|\\s]+(").concat(Yr, ")[,|\\s]+(").concat(Yr, ")[,|\\s]+(").concat(Yr, ")\\s*\\)?"), yi = {
5030
+ CSS_UNIT: new RegExp(Yr),
5031
5031
  rgb: new RegExp("rgb" + ah),
5032
5032
  rgba: new RegExp("rgba" + lh),
5033
5033
  hsl: new RegExp("hsl" + ah),
@@ -5072,7 +5072,7 @@ function _L(n) {
5072
5072
  format: e ? "name" : "hex"
5073
5073
  } : !1)))))))));
5074
5074
  }
5075
- function er(n) {
5075
+ function tr(n) {
5076
5076
  return !!yi.CSS_UNIT.exec(String(n));
5077
5077
  }
5078
5078
  var SL = (
@@ -5251,7 +5251,7 @@ var SL = (
5251
5251
  }, n;
5252
5252
  }()
5253
5253
  );
5254
- function Pr(n, e = 20) {
5254
+ function Ir(n, e = 20) {
5255
5255
  return n.mix("#141414", e).toString();
5256
5256
  }
5257
5257
  function TL(n) {
@@ -5261,21 +5261,21 @@ function TL(n) {
5261
5261
  if (r) {
5262
5262
  const s = r.match(/var\((.*?)\)/);
5263
5263
  s && (r = window.getComputedStyle(window.document.documentElement).getPropertyValue(s[1]));
5264
- const o = new SL(r), a = n.dark ? o.tint(20).toString() : Pr(o, 20);
5264
+ const o = new SL(r), a = n.dark ? o.tint(20).toString() : Ir(o, 20);
5265
5265
  if (n.plain)
5266
5266
  i = t.cssVarBlock({
5267
- "bg-color": n.dark ? Pr(o, 90) : o.tint(90).toString(),
5267
+ "bg-color": n.dark ? Ir(o, 90) : o.tint(90).toString(),
5268
5268
  "text-color": r,
5269
- "border-color": n.dark ? Pr(o, 50) : o.tint(50).toString(),
5269
+ "border-color": n.dark ? Ir(o, 50) : o.tint(50).toString(),
5270
5270
  "hover-text-color": `var(${t.cssVarName("color-white")})`,
5271
5271
  "hover-bg-color": r,
5272
5272
  "hover-border-color": r,
5273
5273
  "active-bg-color": a,
5274
5274
  "active-text-color": `var(${t.cssVarName("color-white")})`,
5275
5275
  "active-border-color": a
5276
- }), e.value && (i[t.cssVarBlockName("disabled-bg-color")] = n.dark ? Pr(o, 90) : o.tint(90).toString(), i[t.cssVarBlockName("disabled-text-color")] = n.dark ? Pr(o, 50) : o.tint(50).toString(), i[t.cssVarBlockName("disabled-border-color")] = n.dark ? Pr(o, 80) : o.tint(80).toString());
5276
+ }), e.value && (i[t.cssVarBlockName("disabled-bg-color")] = n.dark ? Ir(o, 90) : o.tint(90).toString(), i[t.cssVarBlockName("disabled-text-color")] = n.dark ? Ir(o, 50) : o.tint(50).toString(), i[t.cssVarBlockName("disabled-border-color")] = n.dark ? Ir(o, 80) : o.tint(80).toString());
5277
5277
  else {
5278
- const c = n.dark ? Pr(o, 30) : o.tint(30).toString(), l = o.isDark() ? `var(${t.cssVarName("color-white")})` : `var(${t.cssVarName("color-black")})`;
5278
+ const c = n.dark ? Ir(o, 30) : o.tint(30).toString(), l = o.isDark() ? `var(${t.cssVarName("color-white")})` : `var(${t.cssVarName("color-black")})`;
5279
5279
  if (i = t.cssVarBlock({
5280
5280
  "bg-color": r,
5281
5281
  "text-color": l,
@@ -5286,7 +5286,7 @@ function TL(n) {
5286
5286
  "active-bg-color": a,
5287
5287
  "active-border-color": a
5288
5288
  }), e.value) {
5289
- const h = n.dark ? Pr(o, 50) : o.tint(50).toString();
5289
+ const h = n.dark ? Ir(o, 50) : o.tint(50).toString();
5290
5290
  i[t.cssVarBlockName("disabled-bg-color")] = h, i[t.cssVarBlockName("disabled-text-color")] = n.dark ? "rgba(255, 255, 255, 0.5)" : `var(${t.cssVarName("color-white")})`, i[t.cssVarBlockName("disabled-border-color")] = h;
5291
5291
  }
5292
5292
  }
@@ -5320,7 +5320,7 @@ const EL = Fe({
5320
5320
  type: c,
5321
5321
  disabled: l,
5322
5322
  shouldAddSpace: u
5323
- }), (p, d) => (pe(), je(Ln(p.tag), Bi({
5323
+ }), (p, d) => (pe(), je(Ln(p.tag), Ui({
5324
5324
  ref_key: "_ref",
5325
5325
  ref: o
5326
5326
  }, N(h), {
@@ -5384,7 +5384,7 @@ const Tl = tn(LL, {
5384
5384
  ButtonGroup: My
5385
5385
  });
5386
5386
  ni(My);
5387
- var $r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5387
+ var Zr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5388
5388
  function IL(n) {
5389
5389
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5390
5390
  }
@@ -5407,12 +5407,12 @@ function Eu(n) {
5407
5407
  });
5408
5408
  }), t;
5409
5409
  }
5410
- const Wr = /* @__PURE__ */ new Map();
5410
+ const jr = /* @__PURE__ */ new Map();
5411
5411
  if (on) {
5412
5412
  let n;
5413
5413
  document.addEventListener("mousedown", (e) => n = e), document.addEventListener("mouseup", (e) => {
5414
5414
  if (n) {
5415
- for (const t of Wr.values())
5415
+ for (const t of jr.values())
5416
5416
  for (const { documentHandler: i } of t)
5417
5417
  i(e, n);
5418
5418
  n = void 0;
@@ -5428,21 +5428,21 @@ function sg(n, e) {
5428
5428
  }
5429
5429
  const OL = {
5430
5430
  beforeMount(n, e) {
5431
- Wr.has(n) || Wr.set(n, []), Wr.get(n).push({
5431
+ jr.has(n) || jr.set(n, []), jr.get(n).push({
5432
5432
  documentHandler: sg(n, e),
5433
5433
  bindingFn: e.value
5434
5434
  });
5435
5435
  },
5436
5436
  updated(n, e) {
5437
- Wr.has(n) || Wr.set(n, []);
5438
- const t = Wr.get(n), i = t.findIndex((s) => s.bindingFn === e.oldValue), r = {
5437
+ jr.has(n) || jr.set(n, []);
5438
+ const t = jr.get(n), i = t.findIndex((s) => s.bindingFn === e.oldValue), r = {
5439
5439
  documentHandler: sg(n, e),
5440
5440
  bindingFn: e.value
5441
5441
  };
5442
5442
  i >= 0 ? t.splice(i, 1, r) : t.push(r);
5443
5443
  },
5444
5444
  unmounted(n) {
5445
- Wr.delete(n);
5445
+ jr.delete(n);
5446
5446
  }
5447
5447
  }, DL = 100, NL = 600, og = {
5448
5448
  beforeMount(n, e) {
@@ -5502,13 +5502,13 @@ const OL = {
5502
5502
  default: void 0
5503
5503
  },
5504
5504
  border: Boolean,
5505
- size: Wi,
5505
+ size: ji,
5506
5506
  tabindex: [String, Number],
5507
5507
  validateEvent: {
5508
5508
  type: Boolean,
5509
5509
  default: !0
5510
5510
  },
5511
- ...Yi(["ariaControls"])
5511
+ ...qi(["ariaControls"])
5512
5512
  }, Ay = {
5513
5513
  [At]: (n) => fn(n) || xt(n) || ns(n),
5514
5514
  change: (n) => fn(n) || xt(n) || ns(n)
@@ -5532,7 +5532,7 @@ const OL = {
5532
5532
  isDisabled: r,
5533
5533
  isLabeledByFormItem: s
5534
5534
  }) => {
5535
- const o = ct(ma, void 0), { formItem: a } = Sr(), { emit: c } = an();
5535
+ const o = ct(ma, void 0), { formItem: a } = Tr(), { emit: c } = an();
5536
5536
  function l(p) {
5537
5537
  var d, y, v, g;
5538
5538
  return [!0, n.trueValue, n.trueLabel].includes(p) ? (y = (d = n.trueValue) != null ? d : n.trueLabel) != null ? y : !0 : (g = (v = n.falseValue) != null ? v : n.falseLabel) != null ? g : !1;
@@ -5576,12 +5576,12 @@ const OL = {
5576
5576
  const i = ct(ma, void 0), r = Le(!1), s = ue(() => il(n.value) ? n.label : n.value), o = ue(() => {
5577
5577
  const h = t.value;
5578
5578
  return ns(h) ? h : hn(h) ? Fn(s.value) ? h.map(Kc).some((u) => iu(u, s.value)) : h.map(Kc).includes(s.value) : h != null ? h === n.trueValue || h === n.trueLabel : !!h;
5579
- }), a = yr(ue(() => {
5579
+ }), a = br(ue(() => {
5580
5580
  var h;
5581
5581
  return (h = i == null ? void 0 : i.size) == null ? void 0 : h.value;
5582
5582
  }), {
5583
5583
  prop: !0
5584
- }), c = yr(ue(() => {
5584
+ }), c = br(ue(() => {
5585
5585
  var h;
5586
5586
  return (h = i == null ? void 0 : i.size) == null ? void 0 : h.value;
5587
5587
  })), l = ue(() => !!e.default || !il(s.value));
@@ -5594,7 +5594,7 @@ const OL = {
5594
5594
  actualValue: s
5595
5595
  };
5596
5596
  }, _y = (n, e) => {
5597
- const { formItem: t } = Sr(), { model: i, isGroup: r, isLimitExceeded: s } = kL(n), {
5597
+ const { formItem: t } = Tr(), { model: i, isGroup: r, isLimitExceeded: s } = kL(n), {
5598
5598
  isFocused: o,
5599
5599
  isChecked: a,
5600
5600
  checkboxButtonSize: c,
@@ -5843,7 +5843,7 @@ const $L = ut({
5843
5843
  disabled: Boolean,
5844
5844
  min: Number,
5845
5845
  max: Number,
5846
- size: Wi,
5846
+ size: ji,
5847
5847
  fill: String,
5848
5848
  textColor: String,
5849
5849
  tag: {
@@ -5854,7 +5854,7 @@ const $L = ut({
5854
5854
  type: Boolean,
5855
5855
  default: !0
5856
5856
  },
5857
- ...Yi(["ariaLabel"])
5857
+ ...qi(["ariaLabel"])
5858
5858
  }), ZL = {
5859
5859
  [At]: (n) => hn(n),
5860
5860
  change: (n) => hn(n)
@@ -5865,7 +5865,7 @@ const $L = ut({
5865
5865
  props: $L,
5866
5866
  emits: ZL,
5867
5867
  setup(n, { emit: e }) {
5868
- const t = n, i = rt("checkbox"), { formItem: r } = Sr(), { inputId: s, isLabeledByFormItem: o } = pa(t, {
5868
+ const t = n, i = rt("checkbox"), { formItem: r } = Tr(), { inputId: s, isLabeledByFormItem: o } = pa(t, {
5869
5869
  formItemContext: r
5870
5870
  }), a = async (l) => {
5871
5871
  e(At, l), await wt(), e("change", l);
@@ -5878,7 +5878,7 @@ const $L = ut({
5878
5878
  }
5879
5879
  });
5880
5880
  return ln(ma, {
5881
- ...I0(gr(t), [
5881
+ ...I0(vr(t), [
5882
5882
  "size",
5883
5883
  "min",
5884
5884
  "max",
@@ -5920,7 +5920,7 @@ const Cy = ut({
5920
5920
  type: [String, Number, Boolean],
5921
5921
  default: void 0
5922
5922
  },
5923
- size: Wi,
5923
+ size: ji,
5924
5924
  disabled: Boolean,
5925
5925
  label: {
5926
5926
  type: [String, Number, Boolean],
@@ -5939,7 +5939,7 @@ const Cy = ut({
5939
5939
  border: Boolean
5940
5940
  }), Ly = {
5941
5941
  [At]: (n) => fn(n) || xt(n) || ns(n),
5942
- [_r]: (n) => fn(n) || xt(n) || ns(n)
5942
+ [Sr]: (n) => fn(n) || xt(n) || ns(n)
5943
5943
  }, Ry = Symbol("radioGroupKey"), Fy = (n, e) => {
5944
5944
  const t = Le(), i = ct(Ry, void 0), r = ue(() => !!i), s = ue(() => il(n.value) ? n.label : n.value), o = ue({
5945
5945
  get() {
@@ -5948,7 +5948,7 @@ const Cy = ut({
5948
5948
  set(u) {
5949
5949
  r.value ? i.changeEvent(u) : e && e(At, u), t.value.checked = n.modelValue === s.value;
5950
5950
  }
5951
- }), a = yr(ue(() => i == null ? void 0 : i.size)), c = fa(ue(() => i == null ? void 0 : i.disabled)), l = Le(!1), h = ue(() => c.value || r.value && o.value !== s.value ? -1 : 0);
5951
+ }), a = br(ue(() => i == null ? void 0 : i.size)), c = fa(ue(() => i == null ? void 0 : i.disabled)), l = Le(!1), h = ue(() => c.value || r.value && o.value !== s.value ? -1 : 0);
5952
5952
  return $a({
5953
5953
  from: "label act as value",
5954
5954
  replacement: "value",
@@ -6093,7 +6093,7 @@ const iR = ut({
6093
6093
  type: String,
6094
6094
  default: void 0
6095
6095
  },
6096
- size: Wi,
6096
+ size: ji,
6097
6097
  disabled: Boolean,
6098
6098
  modelValue: {
6099
6099
  type: [String, Number, Boolean],
@@ -6115,7 +6115,7 @@ const iR = ut({
6115
6115
  type: Boolean,
6116
6116
  default: !0
6117
6117
  },
6118
- ...Yi(["ariaLabel"])
6118
+ ...qi(["ariaLabel"])
6119
6119
  }), rR = Ly, sR = Fe({
6120
6120
  name: "ElRadioGroup"
6121
6121
  }), oR = /* @__PURE__ */ Fe({
@@ -6123,7 +6123,7 @@ const iR = ut({
6123
6123
  props: iR,
6124
6124
  emits: rR,
6125
6125
  setup(n, { emit: e }) {
6126
- const t = n, i = rt("radio"), r = Sl(), s = Le(), { formItem: o } = Sr(), { inputId: a, isLabeledByFormItem: c } = pa(t, {
6126
+ const t = n, i = rt("radio"), r = Sl(), s = Le(), { formItem: o } = Tr(), { inputId: a, isLabeledByFormItem: c } = pa(t, {
6127
6127
  formItemContext: o
6128
6128
  }), l = (u) => {
6129
6129
  e(At, u), wt(() => e("change", u));
@@ -6134,7 +6134,7 @@ const iR = ut({
6134
6134
  });
6135
6135
  const h = ue(() => t.name || r.value);
6136
6136
  return ln(Ry, Qn({
6137
- ...gr(t),
6137
+ ...vr(t),
6138
6138
  changeEvent: l,
6139
6139
  name: h
6140
6140
  })), Qe(() => t.modelValue, () => {
@@ -6188,7 +6188,7 @@ const wd = ut({
6188
6188
  props: wd,
6189
6189
  emits: aR,
6190
6190
  setup(n, { emit: e }) {
6191
- const t = n, i = yr(), r = rt("tag"), s = ue(() => {
6191
+ const t = n, i = br(), r = rt("tag"), s = ue(() => {
6192
6192
  const { type: l, hit: h, effect: u, closable: f, round: m } = t;
6193
6193
  return [
6194
6194
  r.b(),
@@ -6316,7 +6316,7 @@ const hR = tn(uR), Ny = Symbol("rowContextKey"), dR = [
6316
6316
  }
6317
6317
  });
6318
6318
  var vR = /* @__PURE__ */ st(gR, [["__file", "row.vue"]]);
6319
- const Tr = tn(vR), yR = ut({
6319
+ const Er = tn(vR), yR = ut({
6320
6320
  tag: {
6321
6321
  type: String,
6322
6322
  default: "div"
@@ -6339,23 +6339,23 @@ const Tr = tn(vR), yR = ut({
6339
6339
  },
6340
6340
  xs: {
6341
6341
  type: Je([Number, Object]),
6342
- default: () => cr({})
6342
+ default: () => ur({})
6343
6343
  },
6344
6344
  sm: {
6345
6345
  type: Je([Number, Object]),
6346
- default: () => cr({})
6346
+ default: () => ur({})
6347
6347
  },
6348
6348
  md: {
6349
6349
  type: Je([Number, Object]),
6350
- default: () => cr({})
6350
+ default: () => ur({})
6351
6351
  },
6352
6352
  lg: {
6353
6353
  type: Je([Number, Object]),
6354
- default: () => cr({})
6354
+ default: () => ur({})
6355
6355
  },
6356
6356
  xl: {
6357
6357
  type: Je([Number, Object]),
6358
- default: () => cr({})
6358
+ default: () => ur({})
6359
6359
  }
6360
6360
  }), bR = Fe({
6361
6361
  name: "ElCol"
@@ -6389,20 +6389,20 @@ const Tr = tn(vR), yR = ut({
6389
6389
  }
6390
6390
  });
6391
6391
  var MR = /* @__PURE__ */ st(xR, [["__file", "col.vue"]]);
6392
- const qi = tn(MR), ag = (n) => xt(n) || fn(n) || hn(n), wR = ut({
6392
+ const Ji = tn(MR), ag = (n) => xt(n) || fn(n) || hn(n), wR = ut({
6393
6393
  accordion: Boolean,
6394
6394
  modelValue: {
6395
6395
  type: Je([Array, String, Number]),
6396
- default: () => cr([])
6396
+ default: () => ur([])
6397
6397
  }
6398
6398
  }), AR = {
6399
6399
  [At]: ag,
6400
- [_r]: ag
6400
+ [Sr]: ag
6401
6401
  }, By = Symbol("collapseContextKey"), _R = (n, e) => {
6402
- const t = Le(Oi(n.modelValue)), i = (s) => {
6402
+ const t = Le(Di(n.modelValue)), i = (s) => {
6403
6403
  t.value = s;
6404
6404
  const o = n.accordion ? t.value[0] : t.value;
6405
- e(At, o), e(_r, o);
6405
+ e(At, o), e(Sr, o);
6406
6406
  }, r = (s) => {
6407
6407
  if (n.accordion)
6408
6408
  i([t.value[0] === s ? "" : s]);
@@ -6411,7 +6411,7 @@ const qi = tn(MR), ag = (n) => xt(n) || fn(n) || hn(n), wR = ut({
6411
6411
  a > -1 ? o.splice(a, 1) : o.push(s), i(o);
6412
6412
  }
6413
6413
  };
6414
- return Qe(() => n.modelValue, () => t.value = Oi(n.modelValue), { deep: !0 }), ln(By, {
6414
+ return Qe(() => n.modelValue, () => t.value = Di(n.modelValue), { deep: !0 }), ln(By, {
6415
6415
  activeNames: t,
6416
6416
  handleItemClick: r
6417
6417
  }), {
@@ -6477,7 +6477,7 @@ const LR = Fe({
6477
6477
  t(r);
6478
6478
  }
6479
6479
  };
6480
- return (r, s) => (pe(), je(xl, Bi({
6480
+ return (r, s) => (pe(), je(xl, Ui({
6481
6481
  name: N(e).b()
6482
6482
  }, Vw(i)), {
6483
6483
  default: de(() => [
@@ -6726,14 +6726,14 @@ const ZR = Fe({
6726
6726
  }
6727
6727
  });
6728
6728
  var Wy = /* @__PURE__ */ st(XR, [["__file", "main.vue"]]);
6729
- const Ji = tn(zR, {
6729
+ const Ki = tn(zR, {
6730
6730
  Aside: Vy,
6731
6731
  Footer: Gy,
6732
6732
  Header: Hy,
6733
6733
  Main: Wy
6734
6734
  });
6735
6735
  ni(Vy);
6736
- const jy = ni(Gy), YR = ni(Hy), Er = ni(Wy), qR = ut({
6736
+ const jy = ni(Gy), YR = ni(Hy), Cr = ni(Wy), qR = ut({
6737
6737
  direction: {
6738
6738
  type: String,
6739
6739
  values: ["horizontal", "vertical"],
@@ -6928,7 +6928,7 @@ const l3 = ut({
6928
6928
  modelValue: Number,
6929
6929
  readonly: Boolean,
6930
6930
  disabled: Boolean,
6931
- size: Wi,
6931
+ size: ji,
6932
6932
  controls: {
6933
6933
  type: Boolean,
6934
6934
  default: !0
@@ -6953,13 +6953,13 @@ const l3 = ut({
6953
6953
  type: Boolean,
6954
6954
  default: !0
6955
6955
  },
6956
- ...Yi(["ariaLabel"])
6956
+ ...qi(["ariaLabel"])
6957
6957
  }), c3 = {
6958
- [_r]: (n, e) => e !== n,
6958
+ [Sr]: (n, e) => e !== n,
6959
6959
  blur: (n) => n instanceof FocusEvent,
6960
6960
  focus: (n) => n instanceof FocusEvent,
6961
- [Os]: (n) => xt(n) || Ui(n),
6962
- [At]: (n) => xt(n) || Ui(n)
6961
+ [Os]: (n) => xt(n) || ki(n),
6962
+ [At]: (n) => xt(n) || ki(n)
6963
6963
  }, u3 = Fe({
6964
6964
  name: "ElInputNumber"
6965
6965
  }), h3 = /* @__PURE__ */ Fe({
@@ -6970,14 +6970,14 @@ const l3 = ut({
6970
6970
  const i = n, { t: r } = _u(), s = rt("input-number"), o = Le(), a = Qn({
6971
6971
  currentValue: i.modelValue,
6972
6972
  userInput: null
6973
- }), { formItem: c } = Sr(), l = ue(() => xt(i.modelValue) && i.modelValue <= i.min), h = ue(() => xt(i.modelValue) && i.modelValue >= i.max), u = ue(() => {
6973
+ }), { formItem: c } = Tr(), l = ue(() => xt(i.modelValue) && i.modelValue <= i.min), h = ue(() => xt(i.modelValue) && i.modelValue >= i.max), u = ue(() => {
6974
6974
  const C = v(i.step);
6975
6975
  return Bn(i.precision) ? Math.max(v(i.modelValue), C) : (C > i.precision && Bt("InputNumber", "precision should not be less than the decimal places of step"), i.precision);
6976
- }), f = ue(() => i.controls && i.controlsPosition === "right"), m = yr(), p = fa(), d = ue(() => {
6976
+ }), f = ue(() => i.controls && i.controlsPosition === "right"), m = br(), p = fa(), d = ue(() => {
6977
6977
  if (a.userInput !== null)
6978
6978
  return a.userInput;
6979
6979
  let C = a.currentValue;
6980
- if (Ui(C))
6980
+ if (ki(C))
6981
6981
  return "";
6982
6982
  if (xt(C)) {
6983
6983
  if (Number.isNaN(C))
@@ -6995,7 +6995,7 @@ const l3 = ut({
6995
6995
  const z = P.length;
6996
6996
  return P.charAt(z - 1) === "5" && (P = `${P.slice(0, Math.max(0, z - 1))}6`), Number.parseFloat(Number(P).toFixed(b));
6997
6997
  }, v = (C) => {
6998
- if (Ui(C))
6998
+ if (ki(C))
6999
6999
  return 0;
7000
7000
  const b = C.toString(), P = b.indexOf(".");
7001
7001
  let D = 0;
@@ -7014,7 +7014,7 @@ const l3 = ut({
7014
7014
  const { max: P, min: D, step: O, precision: B, stepStrictly: z, valueOnClear: V } = i;
7015
7015
  P < D && ha("InputNumber", "min should not be greater than max.");
7016
7016
  let Y = Number(C);
7017
- if (Ui(C) || Number.isNaN(Y))
7017
+ if (ki(C) || Number.isNaN(Y))
7018
7018
  return null;
7019
7019
  if (C === "") {
7020
7020
  if (V === null)
@@ -7029,7 +7029,7 @@ const l3 = ut({
7029
7029
  t(At, O);
7030
7030
  return;
7031
7031
  }
7032
- D === O && C || (a.userInput = null, t(At, O), D !== O && t(_r, O, D), i.validateEvent && ((P = c == null ? void 0 : c.validate) == null || P.call(c, "change").catch((B) => Bt(B))), a.currentValue = O);
7032
+ D === O && C || (a.userInput = null, t(At, O), D !== O && t(Sr, O, D), i.validateEvent && ((P = c == null ? void 0 : c.validate) == null || P.call(c, "change").catch((B) => Bt(B))), a.currentValue = O);
7033
7033
  }, T = (C) => {
7034
7034
  a.userInput = C;
7035
7035
  const b = C === "" ? null : Number(C);
@@ -7160,19 +7160,19 @@ const l3 = ut({
7160
7160
  }
7161
7161
  });
7162
7162
  var d3 = /* @__PURE__ */ st(h3, [["__file", "input-number.vue"]]);
7163
- const Cr = tn(d3), Zy = Symbol("ElSelectGroup"), Cu = Symbol("ElSelect");
7163
+ const Lr = tn(d3), Zy = Symbol("ElSelectGroup"), Cu = Symbol("ElSelect");
7164
7164
  function f3(n, e) {
7165
- const t = ct(Cu), i = ct(Zy, { disabled: !1 }), r = ue(() => h(Oi(t.props.modelValue), n.value)), s = ue(() => {
7165
+ const t = ct(Cu), i = ct(Zy, { disabled: !1 }), r = ue(() => h(Di(t.props.modelValue), n.value)), s = ue(() => {
7166
7166
  var m;
7167
7167
  if (t.props.multiple) {
7168
- const p = Oi((m = t.props.modelValue) != null ? m : []);
7168
+ const p = Di((m = t.props.modelValue) != null ? m : []);
7169
7169
  return !r.value && p.length >= t.props.multipleLimit && t.props.multipleLimit > 0;
7170
7170
  } else
7171
7171
  return !1;
7172
7172
  }), o = ue(() => n.label || (Fn(n.value) ? "" : n.value)), a = ue(() => n.value || n.label || ""), c = ue(() => n.disabled || e.groupDisabled || s.value), l = an(), h = (m = [], p) => {
7173
7173
  if (Fn(n.value)) {
7174
7174
  const d = t.props.valueKey;
7175
- return m && m.some((y) => Kc(lr(y, d)) === lr(p, d));
7175
+ return m && m.some((y) => Kc(cr(y, d)) === cr(p, d));
7176
7176
  } else
7177
7177
  return m && m.includes(p);
7178
7178
  }, u = () => {
@@ -7232,7 +7232,7 @@ const p3 = Fe({
7232
7232
  select: c,
7233
7233
  hoverItem: l,
7234
7234
  updateOption: h
7235
- } = f3(n, r), { visible: u, hover: f } = gr(r), m = an().proxy;
7235
+ } = f3(n, r), { visible: u, hover: f } = vr(r), m = an().proxy;
7236
7236
  c.onOptionCreate(m), ui(() => {
7237
7237
  const d = m.value, { selected: y } = c.states, g = (c.props.multiple ? y : [y]).some((M) => M.value === m.value);
7238
7238
  wt(() => {
@@ -7356,7 +7356,7 @@ const b3 = 11, x3 = (n, e) => {
7356
7356
  afterBlur() {
7357
7357
  L.value = !1, o.menuVisibleOnFocus = !1;
7358
7358
  }
7359
- }), L = Le(!1), I = Le(), { form: S, formItem: E } = Sr(), { inputId: R } = pa(n, {
7359
+ }), L = Le(!1), I = Le(), { form: S, formItem: E } = Tr(), { inputId: R } = pa(n, {
7360
7360
  formItemContext: E
7361
7361
  }), { valueOnClear: A, isEmptyValue: C } = E2(n), b = ue(() => n.disabled || (S == null ? void 0 : S.disabled)), P = ue(() => hn(n.modelValue) ? n.modelValue.length > 0 : !C(n.modelValue)), D = ue(() => n.clearable && !b.value && o.inputHovering && P.value), O = ue(() => n.remote && n.filterable && !n.remoteShowSuffix ? "" : n.suffixIcon), B = ue(() => r.is("reverse", O.value && L.value)), z = ue(() => (E == null ? void 0 : E.validateState) || ""), V = ue(() => z0[z.value]), Y = ue(() => n.remote ? 300 : 0), Z = ue(() => n.loading ? n.loadingText || t("el.select.loading") : n.remote && !o.inputValue && o.options.size === 0 ? !1 : n.filterable && o.inputValue && o.options.size > 0 && te.value === 0 ? n.noMatchText || t("el.select.noMatch") : o.options.size === 0 ? n.noDataText || t("el.select.noData") : null), te = ue(() => J.value.filter((ge) => ge.visible).length), J = ue(() => {
7362
7362
  const ge = Array.from(o.options.values()), Se = [];
@@ -7372,7 +7372,7 @@ const b3 = 11, x3 = (n, e) => {
7372
7372
  var Se;
7373
7373
  (Se = ge.updateOption) == null || Se.call(ge, o.inputValue);
7374
7374
  });
7375
- }, K = yr(), ne = ue(() => ["small"].includes(K.value) ? "small" : "default"), k = ue({
7375
+ }, K = br(), ne = ue(() => ["small"].includes(K.value) ? "small" : "default"), k = ue({
7376
7376
  get() {
7377
7377
  return L.value && Z.value !== !1;
7378
7378
  },
@@ -7381,7 +7381,7 @@ const b3 = 11, x3 = (n, e) => {
7381
7381
  }
7382
7382
  }), j = ue(() => {
7383
7383
  if (n.multiple && !Bn(n.modelValue))
7384
- return Oi(n.modelValue).length === 0 && !o.inputValue;
7384
+ return Di(n.modelValue).length === 0 && !o.inputValue;
7385
7385
  const ge = hn(n.modelValue) ? n.modelValue[0] : n.modelValue;
7386
7386
  return n.filterable || Bn(ge) ? !o.inputValue : !0;
7387
7387
  }), oe = ue(() => {
@@ -7425,7 +7425,7 @@ const b3 = 11, x3 = (n, e) => {
7425
7425
  return;
7426
7426
  }
7427
7427
  const ge = [];
7428
- Bn(n.modelValue) || Oi(n.modelValue).forEach((Se) => {
7428
+ Bn(n.modelValue) || Di(n.modelValue).forEach((Se) => {
7429
7429
  ge.push(U(Se));
7430
7430
  }), o.selected = ge;
7431
7431
  }, U = (ge) => {
@@ -7433,7 +7433,7 @@ const b3 = 11, x3 = (n, e) => {
7433
7433
  const Oe = Ku(ge).toLowerCase() === "object", Ge = Ku(ge).toLowerCase() === "null", qe = Ku(ge).toLowerCase() === "undefined";
7434
7434
  for (let gt = o.cachedOptions.size - 1; gt >= 0; gt--) {
7435
7435
  const jt = W.value[gt];
7436
- if (Oe ? lr(jt.value, n.valueKey) === lr(ge, n.valueKey) : jt.value === ge) {
7436
+ if (Oe ? cr(jt.value, n.valueKey) === cr(ge, n.valueKey) : jt.value === ge) {
7437
7437
  Se = {
7438
7438
  value: ge,
7439
7439
  currentLabel: jt.currentLabel,
@@ -7475,10 +7475,10 @@ const b3 = 11, x3 = (n, e) => {
7475
7475
  }, me = md(() => {
7476
7476
  _e();
7477
7477
  }, Y.value), Me = (ge) => {
7478
- iu(n.modelValue, ge) || e(_r, ge);
7478
+ iu(n.modelValue, ge) || e(Sr, ge);
7479
7479
  }, Ue = (ge) => bT(ge, (Se) => !o.disabledOptions.has(Se)), Pe = (ge) => {
7480
- if (n.multiple && ge.code !== ki.delete && ge.target.value.length <= 0) {
7481
- const Se = Oi(n.modelValue).slice(), Oe = Ue(Se);
7480
+ if (n.multiple && ge.code !== zi.delete && ge.target.value.length <= 0) {
7481
+ const Se = Di(n.modelValue).slice(), Oe = Ue(Se);
7482
7482
  if (Oe < 0)
7483
7483
  return;
7484
7484
  const Ge = Se[Oe];
@@ -7487,7 +7487,7 @@ const b3 = 11, x3 = (n, e) => {
7487
7487
  }, Xe = (ge, Se) => {
7488
7488
  const Oe = o.selected.indexOf(Se);
7489
7489
  if (Oe > -1 && !b.value) {
7490
- const Ge = Oi(n.modelValue).slice();
7490
+ const Ge = Di(n.modelValue).slice();
7491
7491
  Ge.splice(Oe, 1), e(At, Ge), Me(Ge), e("remove-tag", Se.value);
7492
7492
  }
7493
7493
  ge.stopPropagation(), Ut();
@@ -7501,7 +7501,7 @@ const b3 = 11, x3 = (n, e) => {
7501
7501
  }, tt = (ge) => {
7502
7502
  var Se;
7503
7503
  if (n.multiple) {
7504
- const Oe = Oi((Se = n.modelValue) != null ? Se : []).slice(), Ge = Et(Oe, ge.value);
7504
+ const Oe = Di((Se = n.modelValue) != null ? Se : []).slice(), Ge = Et(Oe, ge.value);
7505
7505
  Ge > -1 ? Oe.splice(Ge, 1) : (n.multipleLimit <= 0 || Oe.length < n.multipleLimit) && Oe.push(ge.value), e(At, Oe), Me(Oe), ge.created && ce(""), n.filterable && !n.reserveKeyword && (o.inputValue = "");
7506
7506
  } else
7507
7507
  e(At, ge.value), Me(ge.value), L.value = !1;
@@ -7513,7 +7513,7 @@ const b3 = 11, x3 = (n, e) => {
7513
7513
  return ge.indexOf(Se);
7514
7514
  const Oe = n.valueKey;
7515
7515
  let Ge = -1;
7516
- return ge.some((qe, lt) => Kc(lr(qe, Oe)) === lr(Se, Oe) ? (Ge = lt, !0) : !1), Ge;
7516
+ return ge.some((qe, lt) => Kc(cr(qe, Oe)) === cr(Se, Oe) ? (Ge = lt, !0) : !1), Ge;
7517
7517
  }, Ve = (ge) => {
7518
7518
  var Se, Oe, Ge, qe, lt;
7519
7519
  const nt = hn(ge) ? ge[0] : ge;
@@ -7542,17 +7542,17 @@ const b3 = 11, x3 = (n, e) => {
7542
7542
  }, Vt = () => {
7543
7543
  var ge;
7544
7544
  (ge = u.value) == null || ge.blur();
7545
- }, Ci = (ge) => {
7545
+ }, Li = (ge) => {
7546
7546
  dt(ge);
7547
- }, Qi = () => {
7547
+ }, er = () => {
7548
7548
  L.value = !1, F.value && Vt();
7549
- }, Li = () => {
7549
+ }, Ri = () => {
7550
7550
  o.inputValue.length > 0 ? o.inputValue = "" : L.value = !1;
7551
- }, Fr = () => {
7551
+ }, Pr = () => {
7552
7552
  b.value || (cd && (o.inputHovering = !0), o.menuVisibleOnFocus ? o.menuVisibleOnFocus = !1 : L.value = !L.value);
7553
7553
  }, gs = () => {
7554
- L.value ? J.value[o.hoveringIndex] && tt(J.value[o.hoveringIndex]) : Fr();
7555
- }, se = (ge) => Fn(ge.value) ? lr(ge.value, n.valueKey) : ge.value, Ee = ue(() => J.value.filter((ge) => ge.visible).every((ge) => ge.disabled)), Ne = ue(() => n.multiple ? n.collapseTags ? o.selected.slice(0, n.maxCollapseTags) : o.selected : []), Ke = ue(() => n.multiple ? n.collapseTags ? o.selected.slice(n.maxCollapseTags) : [] : []), q = (ge) => {
7554
+ L.value ? J.value[o.hoveringIndex] && tt(J.value[o.hoveringIndex]) : Pr();
7555
+ }, se = (ge) => Fn(ge.value) ? cr(ge.value, n.valueKey) : ge.value, Ee = ue(() => J.value.filter((ge) => ge.visible).every((ge) => ge.disabled)), Ne = ue(() => n.multiple ? n.collapseTags ? o.selected.slice(0, n.maxCollapseTags) : o.selected : []), Ke = ue(() => n.multiple ? n.collapseTags ? o.selected.slice(n.maxCollapseTags) : [] : []), q = (ge) => {
7556
7556
  if (!L.value) {
7557
7557
  L.value = !0;
7558
7558
  return;
@@ -7620,10 +7620,10 @@ const b3 = 11, x3 = (n, e) => {
7620
7620
  handleMenuEnter: sn,
7621
7621
  focus: Ut,
7622
7622
  blur: Vt,
7623
- handleClearClick: Ci,
7624
- handleClickOutside: Qi,
7625
- handleEsc: Li,
7626
- toggleMenu: Fr,
7623
+ handleClearClick: Li,
7624
+ handleClickOutside: er,
7625
+ handleEsc: Ri,
7626
+ toggleMenu: Pr,
7627
7627
  selectOption: gs,
7628
7628
  getValueKey: se,
7629
7629
  navigateOptions: q,
@@ -7680,7 +7680,7 @@ const w3 = ut({
7680
7680
  default: "off"
7681
7681
  },
7682
7682
  automaticDropdown: Boolean,
7683
- size: Wi,
7683
+ size: ji,
7684
7684
  effect: {
7685
7685
  type: Je(String),
7686
7686
  default: "light"
@@ -7759,7 +7759,7 @@ const w3 = ut({
7759
7759
  },
7760
7760
  appendTo: String,
7761
7761
  ...T2,
7762
- ...Yi(["ariaLabel"])
7762
+ ...qi(["ariaLabel"])
7763
7763
  }), lg = "ElSelect", A3 = Fe({
7764
7764
  name: lg,
7765
7765
  componentName: lg,
@@ -7776,7 +7776,7 @@ const w3 = ut({
7776
7776
  props: w3,
7777
7777
  emits: [
7778
7778
  At,
7779
- _r,
7779
+ Sr,
7780
7780
  "remove-tag",
7781
7781
  "clear",
7782
7782
  "visible-change",
@@ -7788,7 +7788,7 @@ const w3 = ut({
7788
7788
  const { modelValue: s, multiple: o } = n, a = o ? [] : void 0;
7789
7789
  return hn(s) ? o ? s : a : o ? a : s;
7790
7790
  }), i = Qn({
7791
- ...gr(n),
7791
+ ...vr(n),
7792
7792
  modelValue: t
7793
7793
  }), r = x3(i, e);
7794
7794
  return ln(Cu, Qn({
@@ -8147,13 +8147,13 @@ const T3 = Fe({
8147
8147
  setup(n) {
8148
8148
  const e = rt("select"), t = Le(null), i = an(), r = Le([]);
8149
8149
  ln(Zy, Qn({
8150
- ...gr(n)
8150
+ ...vr(n)
8151
8151
  }));
8152
8152
  const s = ue(() => r.value.some((l) => l.visible === !0)), o = (l) => {
8153
8153
  var h, u;
8154
8154
  return ((h = l.type) == null ? void 0 : h.name) === "ElOption" && !!((u = l.component) != null && u.proxy);
8155
8155
  }, a = (l) => {
8156
- const h = Oi(l), u = [];
8156
+ const h = Di(l), u = [];
8157
8157
  return h.forEach((f) => {
8158
8158
  var m, p;
8159
8159
  o(f) ? u.push(f.component.proxy) : (m = f.children) != null && m.length ? u.push(...a(f.children)) : (p = f.component) != null && p.subTree && u.push(...a(f.component.subTree));
@@ -8287,7 +8287,7 @@ const C3 = ut({
8287
8287
  return e({
8288
8288
  popperRef: a,
8289
8289
  hide: u
8290
- }), (y, v) => (pe(), je(N(Uf), Bi({
8290
+ }), (y, v) => (pe(), je(N(Uf), Ui({
8291
8291
  ref_key: "tooltipRef",
8292
8292
  ref: o
8293
8293
  }, y.$attrs, {
@@ -8376,8 +8376,8 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8376
8376
  type: Boolean,
8377
8377
  default: !0
8378
8378
  },
8379
- size: Wi,
8380
- inputSize: Wi,
8379
+ size: ji,
8380
+ inputSize: ji,
8381
8381
  showStops: Boolean,
8382
8382
  showTooltip: {
8383
8383
  type: Boolean,
@@ -8423,11 +8423,11 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8423
8423
  type: Boolean,
8424
8424
  default: !0
8425
8425
  },
8426
- ...Yi(["ariaLabel"])
8426
+ ...qi(["ariaLabel"])
8427
8427
  }), uh = (n) => xt(n) || hn(n) && n.every(xt), U3 = {
8428
8428
  [At]: uh,
8429
8429
  [Os]: uh,
8430
- [_r]: uh
8430
+ [Sr]: uh
8431
8431
  }, k3 = (n, e, t) => {
8432
8432
  const i = Le();
8433
8433
  return en(async () => {
@@ -8440,7 +8440,7 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8440
8440
  position: (t - n.min) * 100 / (n.max - n.min),
8441
8441
  mark: n.marks[t]
8442
8442
  })) : []), V3 = (n, e, t) => {
8443
- const { form: i, formItem: r } = Sr(), s = kn(), o = Le(), a = Le(), c = {
8443
+ const { form: i, formItem: r } = Tr(), s = kn(), o = Le(), a = Le(), c = {
8444
8444
  firstButton: o,
8445
8445
  secondButton: a
8446
8446
  }, l = ue(() => n.disabled || (i == null ? void 0 : i.disabled) || !1), h = ue(() => Math.min(e.firstValue, e.secondValue)), u = ue(() => Math.max(e.firstValue, e.secondValue)), f = ue(() => n.range ? `${100 * (u.value - h.value) / (n.max - n.min)}%` : `${100 * (e.firstValue - n.min) / (n.max - n.min)}%`), m = ue(() => n.range ? `${100 * (h.value - n.min) / (n.max - n.min)}%` : "0%"), p = ue(() => n.vertical ? { height: n.height } : {}), d = ue(() => n.vertical ? {
@@ -8467,7 +8467,7 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8467
8467
  }, _ = (E) => {
8468
8468
  t(At, E), t(Os, E);
8469
8469
  }, x = async () => {
8470
- await wt(), t(_r, n.range ? [h.value, u.value] : n.modelValue);
8470
+ await wt(), t(Sr, n.range ? [h.value, u.value] : n.modelValue);
8471
8471
  }, T = (E) => {
8472
8472
  var R, A, C, b, P, D;
8473
8473
  if (l.value || e.dragging)
@@ -8514,7 +8514,7 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8514
8514
  setFirstValue: M,
8515
8515
  setSecondValue: w
8516
8516
  };
8517
- }, { left: G3, down: H3, right: W3, up: j3, home: $3, end: Z3, pageUp: X3, pageDown: Y3 } = ki, q3 = (n, e, t) => {
8517
+ }, { left: G3, down: H3, right: W3, up: j3, home: $3, end: Z3, pageUp: X3, pageDown: Y3 } = zi, q3 = (n, e, t) => {
8518
8518
  const i = Le(), r = Le(!1), s = ue(() => e.value instanceof Function), o = ue(() => s.value && e.value(n.modelValue) || n.modelValue), a = md(() => {
8519
8519
  t.value && (r.value = !0);
8520
8520
  }, 50), c = md(() => {
@@ -8681,7 +8681,7 @@ const D3 = "popover", N3 = XT(O3, D3), Lu = tn(I3, {
8681
8681
  onButtonDown: d,
8682
8682
  onKeyDown: y,
8683
8683
  setPosition: v
8684
- } = J3(i, s, t), { hovering: g, dragging: M } = gr(s);
8684
+ } = J3(i, s, t), { hovering: g, dragging: M } = vr(s);
8685
8685
  return e({
8686
8686
  onButtonDown: d,
8687
8687
  onKeyDown: y,
@@ -8776,7 +8776,7 @@ const oF = Fe({
8776
8776
  setSecondValue: T
8777
8777
  } = V3(i, o, t), { stops: F, getStopStyle: L } = K3(i, o, f, m), { inputId: I, isLabeledByFormItem: S } = pa(i, {
8778
8778
  formItemContext: a
8779
- }), E = yr(), R = ue(() => i.inputSize || E.value), A = ue(() => i.ariaLabel || s("el.slider.defaultLabel", {
8779
+ }), E = br(), R = ue(() => i.inputSize || E.value), A = ue(() => i.ariaLabel || s("el.slider.defaultLabel", {
8780
8780
  min: i.min,
8781
8781
  max: i.max
8782
8782
  })), C = ue(() => i.range ? i.rangeStartLabel || s("el.slider.defaultRangeStartLabel") : A.value), b = ue(() => i.formatValueText ? i.formatValueText(Y.value) : `${Y.value}`), P = ue(() => i.rangeEndLabel || s("el.slider.defaultRangeEndLabel")), D = ue(() => i.formatValueText ? i.formatValueText(Z.value) : `${Z.value}`), O = ue(() => [
@@ -8792,7 +8792,7 @@ const oF = Fe({
8792
8792
  return X ? X.length : 0;
8793
8793
  });
8794
8794
  return Math.max.apply(null, W);
8795
- }), { sliderWrapper: V } = k3(i, o, y), { firstValue: Y, secondValue: Z, sliderSize: te } = gr(o), J = (W) => {
8795
+ }), { sliderWrapper: V } = k3(i, o, y), { firstValue: Y, secondValue: Z, sliderSize: te } = vr(o), J = (W) => {
8796
8796
  o.dragging = W;
8797
8797
  };
8798
8798
  return vn(V, "touchstart", g, {
@@ -8800,7 +8800,7 @@ const oF = Fe({
8800
8800
  }), vn(V, "touchmove", g, {
8801
8801
  passive: !1
8802
8802
  }), ln(Yy, {
8803
- ...gr(i),
8803
+ ...vr(i),
8804
8804
  sliderSize: te,
8805
8805
  disabled: u,
8806
8806
  precision: z,
@@ -8900,7 +8900,7 @@ const oF = Fe({
8900
8900
  ], 2)
8901
8901
  ], 64)) : He("v-if", !0)
8902
8902
  ], 46, ["onMousedown", "onTouchstartPassive"]),
8903
- W.showInput && !W.range ? (pe(), je(N(Cr), {
8903
+ W.showInput && !W.range ? (pe(), je(N(Lr), {
8904
8904
  key: 0,
8905
8905
  ref: "input",
8906
8906
  "model-value": N(Y),
@@ -8924,7 +8924,7 @@ var lF = /* @__PURE__ */ st(aF, [["__file", "slider.vue"]]);
8924
8924
  const hi = tn(lF), Ru = Symbol("tabsRootContextKey"), cF = ut({
8925
8925
  tabs: {
8926
8926
  type: Je(Array),
8927
- default: () => cr([])
8927
+ default: () => ur([])
8928
8928
  }
8929
8929
  }), qy = "ElTabBar", uF = Fe({
8930
8930
  name: qy
@@ -8944,12 +8944,12 @@ const hi = tn(lF), Ru = Symbol("tabsRootContextKey"), cF = ut({
8944
8944
  return !1;
8945
8945
  if (!g.active)
8946
8946
  return !0;
8947
- m = _[`offset${Zr(v)}`], p = _[`client${Zr(d)}`];
8947
+ m = _[`offset${Xr(v)}`], p = _[`client${Xr(d)}`];
8948
8948
  const x = window.getComputedStyle(_);
8949
8949
  return d === "width" && (p -= Number.parseFloat(x.paddingLeft) + Number.parseFloat(x.paddingRight), m += Number.parseFloat(x.paddingLeft)), !1;
8950
8950
  }), {
8951
8951
  [d]: `${p}px`,
8952
- transform: `translate${Zr(y)}(${m}px)`
8952
+ transform: `translate${Xr(y)}(${m}px)`
8953
8953
  };
8954
8954
  }, l = () => a.value = c(), h = [], u = () => {
8955
8955
  var m;
@@ -8984,7 +8984,7 @@ var dF = /* @__PURE__ */ st(hF, [["__file", "tab-bar.vue"]]);
8984
8984
  const fF = ut({
8985
8985
  panes: {
8986
8986
  type: Je(Array),
8987
- default: () => cr([])
8987
+ default: () => ur([])
8988
8988
  },
8989
8989
  currentName: {
8990
8990
  type: [String, Number],
@@ -9015,7 +9015,7 @@ const fF = ut({
9015
9015
  })), v = () => {
9016
9016
  if (!a.value)
9017
9017
  return;
9018
- const F = a.value[`offset${Zr(d.value)}`], L = f.value;
9018
+ const F = a.value[`offset${Xr(d.value)}`], L = f.value;
9019
9019
  if (!L)
9020
9020
  return;
9021
9021
  const I = L > F ? L - F : 0;
@@ -9023,7 +9023,7 @@ const fF = ut({
9023
9023
  }, g = () => {
9024
9024
  if (!a.value || !c.value)
9025
9025
  return;
9026
- const F = c.value[`offset${Zr(d.value)}`], L = a.value[`offset${Zr(d.value)}`], I = f.value;
9026
+ const F = c.value[`offset${Xr(d.value)}`], L = a.value[`offset${Xr(d.value)}`], I = f.value;
9027
9027
  if (F - I <= L)
9028
9028
  return;
9029
9029
  const S = F - I > L * 2 ? I + L : F - L;
@@ -9044,7 +9044,7 @@ const fF = ut({
9044
9044
  if (!c.value || !a.value)
9045
9045
  return;
9046
9046
  n.stretch && ((F = h.value) == null || F.update());
9047
- const L = c.value[`offset${Zr(d.value)}`], I = a.value[`offset${Zr(d.value)}`], S = f.value;
9047
+ const L = c.value[`offset${Xr(d.value)}`], I = a.value[`offset${Xr(d.value)}`], S = f.value;
9048
9048
  I < L ? (u.value = u.value || {}, u.value.prev = S, u.value.next = S + I < L, L - S < I && (f.value = L - I)) : (u.value = !1, S > 0 && (f.value = 0));
9049
9049
  }, _ = (F) => {
9050
9050
  const L = F.code, {
@@ -9052,7 +9052,7 @@ const fF = ut({
9052
9052
  down: S,
9053
9053
  left: E,
9054
9054
  right: R
9055
- } = ki;
9055
+ } = zi;
9056
9056
  if (![I, S, E, R].includes(L))
9057
9057
  return;
9058
9058
  const A = Array.from(F.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")), C = A.indexOf(F.target);
@@ -9106,7 +9106,7 @@ const fF = ut({
9106
9106
  T(), t("tabClick", I, D, Y);
9107
9107
  },
9108
9108
  onKeydown: (Y) => {
9109
- O && (Y.code === ki.delete || Y.code === ki.backspace) && t("tabRemove", I, Y);
9109
+ O && (Y.code === zi.delete || Y.code === zi.backspace) && t("tabRemove", I, Y);
9110
9110
  }
9111
9111
  }, [z, B]);
9112
9112
  });
@@ -9208,7 +9208,7 @@ const fF = ut({
9208
9208
  tabindex: "0",
9209
9209
  onClick: d,
9210
9210
  onKeydown: (_) => {
9211
- _.code === ki.enter && d();
9211
+ _.code === zi.enter && d();
9212
9212
  }
9213
9213
  }, [v ? $e(t, "add-icon") : ae(Ht, {
9214
9214
  class: s.is("icon-plus")
@@ -9382,7 +9382,7 @@ function wF(n) {
9382
9382
  }
9383
9383
  }), h = $w(l), u = h.mount(document.createElement("div"));
9384
9384
  return {
9385
- ...gr(i),
9385
+ ...vr(i),
9386
9386
  setText: r,
9387
9387
  removeElLoadingChild: o,
9388
9388
  close: a,
@@ -9489,7 +9489,7 @@ const Ad = function(n = {}) {
9489
9489
  },
9490
9490
  directive: _d,
9491
9491
  service: Ad
9492
- }, Ki = (n, e) => {
9492
+ }, Qi = (n, e) => {
9493
9493
  const t = n.__vccOpts || n;
9494
9494
  for (const [i, r] of e)
9495
9495
  t[i] = r;
@@ -9637,7 +9637,7 @@ function FF(n, e, t, i, r, s) {
9637
9637
  ], 544)) : He("", !0)
9638
9638
  ], 512);
9639
9639
  }
9640
- const tb = /* @__PURE__ */ Ki(CF, [["render", FF], ["__scopeId", "data-v-f06acb4f"]]);
9640
+ const tb = /* @__PURE__ */ Qi(CF, [["render", FF], ["__scopeId", "data-v-f06acb4f"]]);
9641
9641
  var nb = { exports: {} }, pg = {}, mg;
9642
9642
  function PF() {
9643
9643
  return mg || (mg = 1, function(n) {
@@ -9771,7 +9771,7 @@ function PF() {
9771
9771
  }
9772
9772
  });
9773
9773
  }(
9774
- typeof $r < "u" ? $r : typeof window < "u" ? window : typeof self < "u" ? self : $r
9774
+ typeof Zr < "u" ? Zr : typeof window < "u" ? window : typeof self < "u" ? self : Zr
9775
9775
  ), function(n) {
9776
9776
  var e = function() {
9777
9777
  try {
@@ -9914,7 +9914,7 @@ function PF() {
9914
9914
  }
9915
9915
  }
9916
9916
  }(
9917
- typeof $r < "u" ? $r : typeof window < "u" ? window : typeof self < "u" ? self : $r
9917
+ typeof Zr < "u" ? Zr : typeof window < "u" ? window : typeof self < "u" ? self : Zr
9918
9918
  )), pg;
9919
9919
  }
9920
9920
  /**
@@ -9922,7 +9922,7 @@ function PF() {
9922
9922
  * Copyright 2010-2021 Three.js Authors
9923
9923
  * SPDX-License-Identifier: MIT
9924
9924
  */
9925
- const zf = "130", IF = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, OF = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, ib = 0, Sd = 1, rb = 2, DF = 3, NF = 0, Vf = 1, sb = 2, Lo = 3, ss = 0, Yt = 1, os = 2, Gf = 1, BF = 2, fr = 0, Io = 1, Td = 2, Ed = 3, Cd = 4, ob = 5, Ls = 100, ab = 101, lb = 102, Ld = 103, Rd = 104, cb = 200, ub = 201, hb = 202, db = 203, Hf = 204, Wf = 205, fb = 206, pb = 207, mb = 208, gb = 209, vb = 210, yb = 0, bb = 1, xb = 2, cu = 3, Mb = 4, wb = 5, Ab = 6, _b = 7, El = 0, Sb = 1, Tb = 2, qr = 0, Eb = 1, Cb = 2, Lb = 3, Rb = 4, Fb = 5, Fu = 300, Cl = 301, Ll = 302, uu = 303, hu = 304, ya = 306, Rl = 307, as = 1e3, yn = 1001, Ho = 1002, qt = 1003, al = 1004, UF = 1004, ll = 1005, kF = 1005, Wt = 1006, Pu = 1007, zF = 1007, Lr = 1008, VF = 1008, Gs = 1009, Pb = 1010, Ib = 1011, cl = 1012, Ob = 1013, Ya = 1014, ur = 1015, Ns = 1016, Db = 1017, Nb = 1018, Bb = 1019, Oo = 1020, Ub = 1021, pr = 1022, Jn = 1023, kb = 1024, zb = 1025, Vb = Jn, Bs = 1026, Wo = 1027, Gb = 1028, Hb = 1029, Wb = 1030, jb = 1031, $b = 1032, Zb = 1033, Fd = 33776, Pd = 33777, Id = 33778, Od = 33779, Dd = 35840, Nd = 35841, Bd = 35842, Ud = 35843, Xb = 36196, kd = 37492, zd = 37496, Yb = 37808, qb = 37809, Jb = 37810, Kb = 37811, Qb = 37812, ex = 37813, tx = 37814, nx = 37815, ix = 37816, rx = 37817, sx = 37818, ox = 37819, ax = 37820, lx = 37821, cx = 36492, ux = 37840, hx = 37841, dx = 37842, fx = 37843, px = 37844, mx = 37845, gx = 37846, vx = 37847, yx = 37848, bx = 37849, xx = 37850, Mx = 37851, wx = 37852, Ax = 37853, _x = 2200, Sx = 2201, Tx = 2202, jo = 2300, Hs = 2301, Yc = 2302, Fs = 2400, Ps = 2401, ul = 2402, Iu = 2500, jf = 2501, Ex = 0, Cx = 1, $f = 2, On = 3e3, Ws = 3001, Ou = 3007, Du = 3002, Lx = 3003, Zf = 3004, Xf = 3005, Yf = 3006, Rx = 3200, Fx = 3201, hs = 0, Px = 1, GF = 0, qc = 7680, HF = 7681, WF = 7682, jF = 7683, $F = 34055, ZF = 34056, XF = 5386, YF = 512, qF = 513, JF = 514, KF = 515, QF = 516, eP = 517, tP = 518, Ix = 519, $o = 35044, Zo = 35048, nP = 35040, iP = 35045, rP = 35049, sP = 35041, oP = 35046, aP = 35050, lP = 35042, cP = "100", Vd = "300 es";
9925
+ const zf = "130", IF = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, OF = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, ib = 0, Sd = 1, rb = 2, DF = 3, NF = 0, Vf = 1, sb = 2, Lo = 3, ss = 0, Yt = 1, os = 2, Gf = 1, BF = 2, pr = 0, Io = 1, Td = 2, Ed = 3, Cd = 4, ob = 5, Ls = 100, ab = 101, lb = 102, Ld = 103, Rd = 104, cb = 200, ub = 201, hb = 202, db = 203, Hf = 204, Wf = 205, fb = 206, pb = 207, mb = 208, gb = 209, vb = 210, yb = 0, bb = 1, xb = 2, cu = 3, Mb = 4, wb = 5, Ab = 6, _b = 7, El = 0, Sb = 1, Tb = 2, qr = 0, Eb = 1, Cb = 2, Lb = 3, Rb = 4, Fb = 5, Fu = 300, Cl = 301, Ll = 302, uu = 303, hu = 304, ya = 306, Rl = 307, as = 1e3, yn = 1001, Ho = 1002, qt = 1003, al = 1004, UF = 1004, ll = 1005, kF = 1005, Wt = 1006, Pu = 1007, zF = 1007, Rr = 1008, VF = 1008, Gs = 1009, Pb = 1010, Ib = 1011, cl = 1012, Ob = 1013, Ya = 1014, hr = 1015, Ns = 1016, Db = 1017, Nb = 1018, Bb = 1019, Oo = 1020, Ub = 1021, mr = 1022, Jn = 1023, kb = 1024, zb = 1025, Vb = Jn, Bs = 1026, Wo = 1027, Gb = 1028, Hb = 1029, Wb = 1030, jb = 1031, $b = 1032, Zb = 1033, Fd = 33776, Pd = 33777, Id = 33778, Od = 33779, Dd = 35840, Nd = 35841, Bd = 35842, Ud = 35843, Xb = 36196, kd = 37492, zd = 37496, Yb = 37808, qb = 37809, Jb = 37810, Kb = 37811, Qb = 37812, ex = 37813, tx = 37814, nx = 37815, ix = 37816, rx = 37817, sx = 37818, ox = 37819, ax = 37820, lx = 37821, cx = 36492, ux = 37840, hx = 37841, dx = 37842, fx = 37843, px = 37844, mx = 37845, gx = 37846, vx = 37847, yx = 37848, bx = 37849, xx = 37850, Mx = 37851, wx = 37852, Ax = 37853, _x = 2200, Sx = 2201, Tx = 2202, jo = 2300, Hs = 2301, Yc = 2302, Fs = 2400, Ps = 2401, ul = 2402, Iu = 2500, jf = 2501, Ex = 0, Cx = 1, $f = 2, On = 3e3, Ws = 3001, Ou = 3007, Du = 3002, Lx = 3003, Zf = 3004, Xf = 3005, Yf = 3006, Rx = 3200, Fx = 3201, hs = 0, Px = 1, GF = 0, qc = 7680, HF = 7681, WF = 7682, jF = 7683, $F = 34055, ZF = 34056, XF = 5386, YF = 512, qF = 513, JF = 514, KF = 515, QF = 516, eP = 517, tP = 518, Ix = 519, $o = 35044, Zo = 35048, nP = 35040, iP = 35045, rP = 35049, sP = 35041, oP = 35046, aP = 35050, lP = 35042, cP = "100", Vd = "300 es";
9926
9926
  class ds {
9927
9927
  addEventListener(e, t) {
9928
9928
  this._listeners === void 0 && (this._listeners = {});
@@ -10405,7 +10405,7 @@ class Ks {
10405
10405
  }
10406
10406
  let AP = 0;
10407
10407
  class Qt extends ds {
10408
- constructor(e = Qt.DEFAULT_IMAGE, t = Qt.DEFAULT_MAPPING, i = yn, r = yn, s = Wt, o = Lr, a = Jn, c = Gs, l = 1, h = On) {
10408
+ constructor(e = Qt.DEFAULT_IMAGE, t = Qt.DEFAULT_MAPPING, i = yn, r = yn, s = Wt, o = Rr, a = Jn, c = Gs, l = 1, h = On) {
10409
10409
  super(), Object.defineProperty(this, "id", { value: AP++ }), this.uuid = Kn(), this.name = "", this.image = e, this.mipmaps = [], this.mapping = t, this.wrapS = i, this.wrapT = r, this.magFilter = s, this.minFilter = o, this.anisotropy = l, this.format = a, this.internalFormat = null, this.type = c, this.offset = new Ie(0, 0), this.repeat = new Ie(1, 1), this.center = new Ie(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new dn(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, this.encoding = h, this.version = 0, this.onUpdate = null;
10410
10410
  }
10411
10411
  updateMatrix() {
@@ -10707,7 +10707,7 @@ class St {
10707
10707
  }
10708
10708
  }
10709
10709
  St.prototype.isVector4 = !0;
10710
- class wi extends ds {
10710
+ class Ai extends ds {
10711
10711
  constructor(e, t, i = {}) {
10712
10712
  super(), this.width = e, this.height = t, this.depth = 1, this.scissor = new St(0, 0, e, t), this.scissorTest = !1, this.viewport = new St(0, 0, e, t), this.texture = new Qt(void 0, i.mapping, i.wrapS, i.wrapT, i.magFilter, i.minFilter, i.format, i.type, i.anisotropy, i.encoding), this.texture.image = { width: e, height: t, depth: 1 }, this.texture.generateMipmaps = i.generateMipmaps !== void 0 ? i.generateMipmaps : !1, this.texture.minFilter = i.minFilter !== void 0 ? i.minFilter : Wt, this.depthBuffer = i.depthBuffer !== void 0 ? i.depthBuffer : !0, this.stencilBuffer = i.stencilBuffer !== void 0 ? i.stencilBuffer : !1, this.depthTexture = i.depthTexture !== void 0 ? i.depthTexture : null;
10713
10713
  }
@@ -10731,8 +10731,8 @@ class wi extends ds {
10731
10731
  this.dispatchEvent({ type: "dispose" });
10732
10732
  }
10733
10733
  }
10734
- wi.prototype.isWebGLRenderTarget = !0;
10735
- class Nx extends wi {
10734
+ Ai.prototype.isWebGLRenderTarget = !0;
10735
+ class Nx extends Ai {
10736
10736
  constructor(e, t, i) {
10737
10737
  super(e, t);
10738
10738
  const r = this.texture;
@@ -10757,7 +10757,7 @@ class Nx extends wi {
10757
10757
  }
10758
10758
  }
10759
10759
  Nx.prototype.isWebGLMultipleRenderTargets = !0;
10760
- class Jf extends wi {
10760
+ class Jf extends Ai {
10761
10761
  constructor(e, t, i) {
10762
10762
  super(e, t, i), this.samples = 4;
10763
10763
  }
@@ -11321,37 +11321,37 @@ class Gn {
11321
11321
  intersectsTriangle(e) {
11322
11322
  if (this.isEmpty())
11323
11323
  return !1;
11324
- this.getCenter(Ra), tc.subVectors(this.max, Ra), ao.subVectors(e.a, Ra), lo.subVectors(e.b, Ra), co.subVectors(e.c, Ra), Ir.subVectors(lo, ao), Or.subVectors(co, lo), xs.subVectors(ao, co);
11324
+ this.getCenter(Ra), tc.subVectors(this.max, Ra), ao.subVectors(e.a, Ra), lo.subVectors(e.b, Ra), co.subVectors(e.c, Ra), Or.subVectors(lo, ao), Dr.subVectors(co, lo), xs.subVectors(ao, co);
11325
11325
  let t = [
11326
- 0,
11327
- -Ir.z,
11328
- Ir.y,
11329
11326
  0,
11330
11327
  -Or.z,
11331
11328
  Or.y,
11332
11329
  0,
11330
+ -Dr.z,
11331
+ Dr.y,
11332
+ 0,
11333
11333
  -xs.z,
11334
11334
  xs.y,
11335
- Ir.z,
11336
- 0,
11337
- -Ir.x,
11338
11335
  Or.z,
11339
11336
  0,
11340
11337
  -Or.x,
11338
+ Dr.z,
11339
+ 0,
11340
+ -Dr.x,
11341
11341
  xs.z,
11342
11342
  0,
11343
11343
  -xs.x,
11344
- -Ir.y,
11345
- Ir.x,
11346
- 0,
11347
11344
  -Or.y,
11348
11345
  Or.x,
11349
11346
  0,
11347
+ -Dr.y,
11348
+ Dr.x,
11349
+ 0,
11350
11350
  -xs.y,
11351
11351
  xs.x,
11352
11352
  0
11353
11353
  ];
11354
- return !mh(t, ao, lo, co, tc) || (t = [1, 0, 0, 0, 1, 0, 0, 0, 1], !mh(t, ao, lo, co, tc)) ? !1 : (nc.crossVectors(Ir, Or), t = [nc.x, nc.y, nc.z], mh(t, ao, lo, co, tc));
11354
+ return !mh(t, ao, lo, co, tc) || (t = [1, 0, 0, 0, 1, 0, 0, 0, 1], !mh(t, ao, lo, co, tc)) ? !1 : (nc.crossVectors(Or, Dr), t = [nc.x, nc.y, nc.z], mh(t, ao, lo, co, tc));
11355
11355
  }
11356
11356
  clampPoint(e, t) {
11357
11357
  return t.copy(e).clamp(this.min, this.max);
@@ -11369,7 +11369,7 @@ class Gn {
11369
11369
  return this.min.min(e.min), this.max.max(e.max), this;
11370
11370
  }
11371
11371
  applyMatrix4(e) {
11372
- return this.isEmpty() ? this : (tr[0].set(this.min.x, this.min.y, this.min.z).applyMatrix4(e), tr[1].set(this.min.x, this.min.y, this.max.z).applyMatrix4(e), tr[2].set(this.min.x, this.max.y, this.min.z).applyMatrix4(e), tr[3].set(this.min.x, this.max.y, this.max.z).applyMatrix4(e), tr[4].set(this.max.x, this.min.y, this.min.z).applyMatrix4(e), tr[5].set(this.max.x, this.min.y, this.max.z).applyMatrix4(e), tr[6].set(this.max.x, this.max.y, this.min.z).applyMatrix4(e), tr[7].set(this.max.x, this.max.y, this.max.z).applyMatrix4(e), this.setFromPoints(tr), this);
11372
+ return this.isEmpty() ? this : (nr[0].set(this.min.x, this.min.y, this.min.z).applyMatrix4(e), nr[1].set(this.min.x, this.min.y, this.max.z).applyMatrix4(e), nr[2].set(this.min.x, this.max.y, this.min.z).applyMatrix4(e), nr[3].set(this.min.x, this.max.y, this.max.z).applyMatrix4(e), nr[4].set(this.max.x, this.min.y, this.min.z).applyMatrix4(e), nr[5].set(this.max.x, this.min.y, this.max.z).applyMatrix4(e), nr[6].set(this.max.x, this.max.y, this.min.z).applyMatrix4(e), nr[7].set(this.max.x, this.max.y, this.max.z).applyMatrix4(e), this.setFromPoints(nr), this);
11373
11373
  }
11374
11374
  translate(e) {
11375
11375
  return this.min.add(e), this.max.add(e), this;
@@ -11379,7 +11379,7 @@ class Gn {
11379
11379
  }
11380
11380
  }
11381
11381
  Gn.prototype.isBox3 = !0;
11382
- const tr = [
11382
+ const nr = [
11383
11383
  /* @__PURE__ */ new ee(),
11384
11384
  /* @__PURE__ */ new ee(),
11385
11385
  /* @__PURE__ */ new ee(),
@@ -11388,7 +11388,7 @@ const tr = [
11388
11388
  /* @__PURE__ */ new ee(),
11389
11389
  /* @__PURE__ */ new ee(),
11390
11390
  /* @__PURE__ */ new ee()
11391
- ], La = /* @__PURE__ */ new ee(), ph = /* @__PURE__ */ new Gn(), ao = /* @__PURE__ */ new ee(), lo = /* @__PURE__ */ new ee(), co = /* @__PURE__ */ new ee(), Ir = /* @__PURE__ */ new ee(), Or = /* @__PURE__ */ new ee(), xs = /* @__PURE__ */ new ee(), Ra = /* @__PURE__ */ new ee(), tc = /* @__PURE__ */ new ee(), nc = /* @__PURE__ */ new ee(), Ms = /* @__PURE__ */ new ee();
11391
+ ], La = /* @__PURE__ */ new ee(), ph = /* @__PURE__ */ new Gn(), ao = /* @__PURE__ */ new ee(), lo = /* @__PURE__ */ new ee(), co = /* @__PURE__ */ new ee(), Or = /* @__PURE__ */ new ee(), Dr = /* @__PURE__ */ new ee(), xs = /* @__PURE__ */ new ee(), Ra = /* @__PURE__ */ new ee(), tc = /* @__PURE__ */ new ee(), nc = /* @__PURE__ */ new ee(), Ms = /* @__PURE__ */ new ee();
11392
11392
  function mh(n, e, t, i, r) {
11393
11393
  for (let s = 0, o = n.length - 3; s <= o; s += 3) {
11394
11394
  Ms.fromArray(n, s);
@@ -11399,7 +11399,7 @@ function mh(n, e, t, i, r) {
11399
11399
  return !0;
11400
11400
  }
11401
11401
  const _P = /* @__PURE__ */ new Gn(), vg = /* @__PURE__ */ new ee(), gh = /* @__PURE__ */ new ee(), vh = /* @__PURE__ */ new ee();
11402
- class Rr {
11402
+ class Fr {
11403
11403
  constructor(e = new ee(), t = -1) {
11404
11404
  this.center = e, this.radius = t;
11405
11405
  }
@@ -11471,7 +11471,7 @@ class Rr {
11471
11471
  return new this.constructor().copy(this);
11472
11472
  }
11473
11473
  }
11474
- const nr = /* @__PURE__ */ new ee(), yh = /* @__PURE__ */ new ee(), ic = /* @__PURE__ */ new ee(), Dr = /* @__PURE__ */ new ee(), bh = /* @__PURE__ */ new ee(), rc = /* @__PURE__ */ new ee(), xh = /* @__PURE__ */ new ee();
11474
+ const ir = /* @__PURE__ */ new ee(), yh = /* @__PURE__ */ new ee(), ic = /* @__PURE__ */ new ee(), Nr = /* @__PURE__ */ new ee(), bh = /* @__PURE__ */ new ee(), rc = /* @__PURE__ */ new ee(), xh = /* @__PURE__ */ new ee();
11475
11475
  class fs {
11476
11476
  constructor(e = new ee(), t = new ee(0, 0, -1)) {
11477
11477
  this.origin = e, this.direction = t;
@@ -11489,7 +11489,7 @@ class fs {
11489
11489
  return this.direction.copy(e).sub(this.origin).normalize(), this;
11490
11490
  }
11491
11491
  recast(e) {
11492
- return this.origin.copy(this.at(e, nr)), this;
11492
+ return this.origin.copy(this.at(e, ir)), this;
11493
11493
  }
11494
11494
  closestPointToPoint(e, t) {
11495
11495
  t.subVectors(e, this.origin);
@@ -11500,12 +11500,12 @@ class fs {
11500
11500
  return Math.sqrt(this.distanceSqToPoint(e));
11501
11501
  }
11502
11502
  distanceSqToPoint(e) {
11503
- const t = nr.subVectors(e, this.origin).dot(this.direction);
11504
- return t < 0 ? this.origin.distanceToSquared(e) : (nr.copy(this.direction).multiplyScalar(t).add(this.origin), nr.distanceToSquared(e));
11503
+ const t = ir.subVectors(e, this.origin).dot(this.direction);
11504
+ return t < 0 ? this.origin.distanceToSquared(e) : (ir.copy(this.direction).multiplyScalar(t).add(this.origin), ir.distanceToSquared(e));
11505
11505
  }
11506
11506
  distanceSqToSegment(e, t, i, r) {
11507
- yh.copy(e).add(t).multiplyScalar(0.5), ic.copy(t).sub(e).normalize(), Dr.copy(this.origin).sub(yh);
11508
- const s = e.distanceTo(t) * 0.5, o = -this.direction.dot(ic), a = Dr.dot(this.direction), c = -Dr.dot(ic), l = Dr.lengthSq(), h = Math.abs(1 - o * o);
11507
+ yh.copy(e).add(t).multiplyScalar(0.5), ic.copy(t).sub(e).normalize(), Nr.copy(this.origin).sub(yh);
11508
+ const s = e.distanceTo(t) * 0.5, o = -this.direction.dot(ic), a = Nr.dot(this.direction), c = -Nr.dot(ic), l = Nr.lengthSq(), h = Math.abs(1 - o * o);
11509
11509
  let u, f, m, p;
11510
11510
  if (h > 0)
11511
11511
  if (u = o * c - a, f = o * a - c, p = s * h, u >= 0)
@@ -11524,8 +11524,8 @@ class fs {
11524
11524
  return i && i.copy(this.direction).multiplyScalar(u).add(this.origin), r && r.copy(ic).multiplyScalar(f).add(yh), m;
11525
11525
  }
11526
11526
  intersectSphere(e, t) {
11527
- nr.subVectors(e.center, this.origin);
11528
- const i = nr.dot(this.direction), r = nr.dot(nr) - i * i, s = e.radius * e.radius;
11527
+ ir.subVectors(e.center, this.origin);
11528
+ const i = ir.dot(this.direction), r = ir.dot(ir) - i * i, s = e.radius * e.radius;
11529
11529
  if (r > s) return null;
11530
11530
  const o = Math.sqrt(s - r), a = i - o, c = i + o;
11531
11531
  return a < 0 && c < 0 ? null : a < 0 ? this.at(c, t) : this.at(a, t);
@@ -11554,7 +11554,7 @@ class fs {
11554
11554
  return l >= 0 ? (i = (e.min.x - f.x) * l, r = (e.max.x - f.x) * l) : (i = (e.max.x - f.x) * l, r = (e.min.x - f.x) * l), h >= 0 ? (s = (e.min.y - f.y) * h, o = (e.max.y - f.y) * h) : (s = (e.max.y - f.y) * h, o = (e.min.y - f.y) * h), i > o || s > r || ((s > i || i !== i) && (i = s), (o < r || r !== r) && (r = o), u >= 0 ? (a = (e.min.z - f.z) * u, c = (e.max.z - f.z) * u) : (a = (e.max.z - f.z) * u, c = (e.min.z - f.z) * u), i > c || a > r) || ((a > i || i !== i) && (i = a), (c < r || r !== r) && (r = c), r < 0) ? null : this.at(i >= 0 ? i : r, t);
11555
11555
  }
11556
11556
  intersectsBox(e) {
11557
- return this.intersectBox(e, nr) !== null;
11557
+ return this.intersectBox(e, ir) !== null;
11558
11558
  }
11559
11559
  intersectTriangle(e, t, i, r, s) {
11560
11560
  bh.subVectors(t, e), rc.subVectors(i, e), xh.crossVectors(bh, rc);
@@ -11566,14 +11566,14 @@ class fs {
11566
11566
  a = -1, o = -o;
11567
11567
  else
11568
11568
  return null;
11569
- Dr.subVectors(this.origin, e);
11570
- const c = a * this.direction.dot(rc.crossVectors(Dr, rc));
11569
+ Nr.subVectors(this.origin, e);
11570
+ const c = a * this.direction.dot(rc.crossVectors(Nr, rc));
11571
11571
  if (c < 0)
11572
11572
  return null;
11573
- const l = a * this.direction.dot(bh.cross(Dr));
11573
+ const l = a * this.direction.dot(bh.cross(Nr));
11574
11574
  if (l < 0 || c + l > o)
11575
11575
  return null;
11576
- const h = -a * Dr.dot(xh);
11576
+ const h = -a * Nr.dot(xh);
11577
11577
  return h < 0 ? null : this.at(h / o, s);
11578
11578
  }
11579
11579
  applyMatrix4(e) {
@@ -11719,7 +11719,7 @@ class Ye {
11719
11719
  }
11720
11720
  lookAt(e, t, i) {
11721
11721
  const r = this.elements;
11722
- return Hn.subVectors(e, t), Hn.lengthSq() === 0 && (Hn.z = 1), Hn.normalize(), Nr.crossVectors(i, Hn), Nr.lengthSq() === 0 && (Math.abs(i.z) === 1 ? Hn.x += 1e-4 : Hn.z += 1e-4, Hn.normalize(), Nr.crossVectors(i, Hn)), Nr.normalize(), sc.crossVectors(Hn, Nr), r[0] = Nr.x, r[4] = sc.x, r[8] = Hn.x, r[1] = Nr.y, r[5] = sc.y, r[9] = Hn.y, r[2] = Nr.z, r[6] = sc.z, r[10] = Hn.z, this;
11722
+ return Hn.subVectors(e, t), Hn.lengthSq() === 0 && (Hn.z = 1), Hn.normalize(), Br.crossVectors(i, Hn), Br.lengthSq() === 0 && (Math.abs(i.z) === 1 ? Hn.x += 1e-4 : Hn.z += 1e-4, Hn.normalize(), Br.crossVectors(i, Hn)), Br.normalize(), sc.crossVectors(Hn, Br), r[0] = Br.x, r[4] = sc.x, r[8] = Hn.x, r[1] = Br.y, r[5] = sc.y, r[9] = Hn.y, r[2] = Br.z, r[6] = sc.z, r[10] = Hn.z, this;
11723
11723
  }
11724
11724
  multiply(e, t) {
11725
11725
  return t !== void 0 ? (console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."), this.multiplyMatrices(e, t)) : this.multiplyMatrices(this, e);
@@ -11944,7 +11944,7 @@ class Ye {
11944
11944
  }
11945
11945
  }
11946
11946
  Ye.prototype.isMatrix4 = !0;
11947
- const uo = /* @__PURE__ */ new ee(), fi = /* @__PURE__ */ new Ye(), SP = /* @__PURE__ */ new ee(0, 0, 0), TP = /* @__PURE__ */ new ee(1, 1, 1), Nr = /* @__PURE__ */ new ee(), sc = /* @__PURE__ */ new ee(), Hn = /* @__PURE__ */ new ee(), yg = /* @__PURE__ */ new Ye(), bg = /* @__PURE__ */ new Sn();
11947
+ const uo = /* @__PURE__ */ new ee(), fi = /* @__PURE__ */ new Ye(), SP = /* @__PURE__ */ new ee(0, 0, 0), TP = /* @__PURE__ */ new ee(1, 1, 1), Br = /* @__PURE__ */ new ee(), sc = /* @__PURE__ */ new ee(), Hn = /* @__PURE__ */ new ee(), yg = /* @__PURE__ */ new Ye(), bg = /* @__PURE__ */ new Sn();
11948
11948
  class Qs {
11949
11949
  constructor(e = 0, t = 0, i = 0, r = Qs.DefaultOrder) {
11950
11950
  this._x = e, this._y = t, this._z = i, this._order = r;
@@ -12065,7 +12065,7 @@ class Kf {
12065
12065
  }
12066
12066
  }
12067
12067
  let EP = 0;
12068
- const xg = /* @__PURE__ */ new ee(), ho = /* @__PURE__ */ new Sn(), ir = /* @__PURE__ */ new Ye(), oc = /* @__PURE__ */ new ee(), Fa = /* @__PURE__ */ new ee(), CP = /* @__PURE__ */ new ee(), LP = /* @__PURE__ */ new Sn(), Mg = /* @__PURE__ */ new ee(1, 0, 0), wg = /* @__PURE__ */ new ee(0, 1, 0), Ag = /* @__PURE__ */ new ee(0, 0, 1), RP = { type: "added" }, _g = { type: "removed" };
12068
+ const xg = /* @__PURE__ */ new ee(), ho = /* @__PURE__ */ new Sn(), rr = /* @__PURE__ */ new Ye(), oc = /* @__PURE__ */ new ee(), Fa = /* @__PURE__ */ new ee(), CP = /* @__PURE__ */ new ee(), LP = /* @__PURE__ */ new Sn(), Mg = /* @__PURE__ */ new ee(1, 0, 0), wg = /* @__PURE__ */ new ee(0, 1, 0), Ag = /* @__PURE__ */ new ee(0, 0, 1), RP = { type: "added" }, _g = { type: "removed" };
12069
12069
  class pt extends ds {
12070
12070
  constructor() {
12071
12071
  super(), Object.defineProperty(this, "id", { value: EP++ }), this.uuid = Kn(), this.name = "", this.type = "Object3D", this.parent = null, this.children = [], this.up = pt.DefaultUp.clone();
@@ -12158,12 +12158,12 @@ class pt extends ds {
12158
12158
  return e.applyMatrix4(this.matrixWorld);
12159
12159
  }
12160
12160
  worldToLocal(e) {
12161
- return e.applyMatrix4(ir.copy(this.matrixWorld).invert());
12161
+ return e.applyMatrix4(rr.copy(this.matrixWorld).invert());
12162
12162
  }
12163
12163
  lookAt(e, t, i) {
12164
12164
  e.isVector3 ? oc.copy(e) : oc.set(e, t, i);
12165
12165
  const r = this.parent;
12166
- this.updateWorldMatrix(!0, !1), Fa.setFromMatrixPosition(this.matrixWorld), this.isCamera || this.isLight ? ir.lookAt(Fa, oc, this.up) : ir.lookAt(oc, Fa, this.up), this.quaternion.setFromRotationMatrix(ir), r && (ir.extractRotation(r.matrixWorld), ho.setFromRotationMatrix(ir), this.quaternion.premultiply(ho.invert()));
12166
+ this.updateWorldMatrix(!0, !1), Fa.setFromMatrixPosition(this.matrixWorld), this.isCamera || this.isLight ? rr.lookAt(Fa, oc, this.up) : rr.lookAt(oc, Fa, this.up), this.quaternion.setFromRotationMatrix(rr), r && (rr.extractRotation(r.matrixWorld), ho.setFromRotationMatrix(rr), this.quaternion.premultiply(ho.invert()));
12167
12167
  }
12168
12168
  add(e) {
12169
12169
  if (arguments.length > 1) {
@@ -12194,7 +12194,7 @@ class pt extends ds {
12194
12194
  return this.children.length = 0, this;
12195
12195
  }
12196
12196
  attach(e) {
12197
- return this.updateWorldMatrix(!0, !1), ir.copy(this.matrixWorld).invert(), e.parent !== null && (e.parent.updateWorldMatrix(!0, !1), ir.multiply(e.parent.matrixWorld)), e.applyMatrix4(ir), this.add(e), e.updateWorldMatrix(!1, !0), this;
12197
+ return this.updateWorldMatrix(!0, !1), rr.copy(this.matrixWorld).invert(), e.parent !== null && (e.parent.updateWorldMatrix(!0, !1), rr.multiply(e.parent.matrixWorld)), e.applyMatrix4(rr), this.add(e), e.updateWorldMatrix(!1, !0), this;
12198
12198
  }
12199
12199
  getObjectById(e) {
12200
12200
  return this.getObjectByProperty("id", e);
@@ -12345,7 +12345,7 @@ class pt extends ds {
12345
12345
  pt.DefaultUp = new ee(0, 1, 0);
12346
12346
  pt.DefaultMatrixAutoUpdate = !0;
12347
12347
  pt.prototype.isObject3D = !0;
12348
- const pi = /* @__PURE__ */ new ee(), rr = /* @__PURE__ */ new ee(), Mh = /* @__PURE__ */ new ee(), sr = /* @__PURE__ */ new ee(), fo = /* @__PURE__ */ new ee(), po = /* @__PURE__ */ new ee(), Sg = /* @__PURE__ */ new ee(), wh = /* @__PURE__ */ new ee(), Ah = /* @__PURE__ */ new ee(), _h = /* @__PURE__ */ new ee();
12348
+ const pi = /* @__PURE__ */ new ee(), sr = /* @__PURE__ */ new ee(), Mh = /* @__PURE__ */ new ee(), or = /* @__PURE__ */ new ee(), fo = /* @__PURE__ */ new ee(), po = /* @__PURE__ */ new ee(), Sg = /* @__PURE__ */ new ee(), wh = /* @__PURE__ */ new ee(), Ah = /* @__PURE__ */ new ee(), _h = /* @__PURE__ */ new ee();
12349
12349
  class Jt {
12350
12350
  constructor(e = new ee(), t = new ee(), i = new ee()) {
12351
12351
  this.a = e, this.b = t, this.c = i;
@@ -12358,21 +12358,21 @@ class Jt {
12358
12358
  // static/instance method to calculate barycentric coordinates
12359
12359
  // based on: http://www.blackpawn.com/texts/pointinpoly/default.html
12360
12360
  static getBarycoord(e, t, i, r, s) {
12361
- pi.subVectors(r, t), rr.subVectors(i, t), Mh.subVectors(e, t);
12362
- const o = pi.dot(pi), a = pi.dot(rr), c = pi.dot(Mh), l = rr.dot(rr), h = rr.dot(Mh), u = o * l - a * a;
12361
+ pi.subVectors(r, t), sr.subVectors(i, t), Mh.subVectors(e, t);
12362
+ const o = pi.dot(pi), a = pi.dot(sr), c = pi.dot(Mh), l = sr.dot(sr), h = sr.dot(Mh), u = o * l - a * a;
12363
12363
  if (u === 0)
12364
12364
  return s.set(-2, -1, -1);
12365
12365
  const f = 1 / u, m = (l * c - a * h) * f, p = (o * h - a * c) * f;
12366
12366
  return s.set(1 - m - p, p, m);
12367
12367
  }
12368
12368
  static containsPoint(e, t, i, r) {
12369
- return this.getBarycoord(e, t, i, r, sr), sr.x >= 0 && sr.y >= 0 && sr.x + sr.y <= 1;
12369
+ return this.getBarycoord(e, t, i, r, or), or.x >= 0 && or.y >= 0 && or.x + or.y <= 1;
12370
12370
  }
12371
12371
  static getUV(e, t, i, r, s, o, a, c) {
12372
- return this.getBarycoord(e, t, i, r, sr), c.set(0, 0), c.addScaledVector(s, sr.x), c.addScaledVector(o, sr.y), c.addScaledVector(a, sr.z), c;
12372
+ return this.getBarycoord(e, t, i, r, or), c.set(0, 0), c.addScaledVector(s, or.x), c.addScaledVector(o, or.y), c.addScaledVector(a, or.z), c;
12373
12373
  }
12374
12374
  static isFrontFacing(e, t, i, r) {
12375
- return pi.subVectors(i, t), rr.subVectors(e, t), pi.cross(rr).dot(r) < 0;
12375
+ return pi.subVectors(i, t), sr.subVectors(e, t), pi.cross(sr).dot(r) < 0;
12376
12376
  }
12377
12377
  set(e, t, i) {
12378
12378
  return this.a.copy(e), this.b.copy(t), this.c.copy(i), this;
@@ -12387,7 +12387,7 @@ class Jt {
12387
12387
  return this.a.copy(e.a), this.b.copy(e.b), this.c.copy(e.c), this;
12388
12388
  }
12389
12389
  getArea() {
12390
- return pi.subVectors(this.c, this.b), rr.subVectors(this.a, this.b), pi.cross(rr).length() * 0.5;
12390
+ return pi.subVectors(this.c, this.b), sr.subVectors(this.a, this.b), pi.cross(sr).length() * 0.5;
12391
12391
  }
12392
12392
  getMidpoint(e) {
12393
12393
  return e.addVectors(this.a, this.b).add(this.c).multiplyScalar(1 / 3);
@@ -13186,7 +13186,7 @@ class et extends ds {
13186
13186
  (isNaN(this.boundingBox.min.x) || isNaN(this.boundingBox.min.y) || isNaN(this.boundingBox.min.z)) && console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.', this);
13187
13187
  }
13188
13188
  computeBoundingSphere() {
13189
- this.boundingSphere === null && (this.boundingSphere = new Rr());
13189
+ this.boundingSphere === null && (this.boundingSphere = new Fr());
13190
13190
  const e = this.attributes.position, t = this.morphAttributes.position;
13191
13191
  if (e && e.isGLBufferAttribute) {
13192
13192
  console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "false".', this), this.boundingSphere.set(new ee(), 1 / 0);
@@ -13418,7 +13418,7 @@ class et extends ds {
13418
13418
  }
13419
13419
  }
13420
13420
  et.prototype.isBufferGeometry = !0;
13421
- const Tg = /* @__PURE__ */ new Ye(), go = /* @__PURE__ */ new fs(), Lh = /* @__PURE__ */ new Rr(), Br = /* @__PURE__ */ new ee(), Ur = /* @__PURE__ */ new ee(), kr = /* @__PURE__ */ new ee(), Rh = /* @__PURE__ */ new ee(), Fh = /* @__PURE__ */ new ee(), Ph = /* @__PURE__ */ new ee(), cc = /* @__PURE__ */ new ee(), uc = /* @__PURE__ */ new ee(), hc = /* @__PURE__ */ new ee(), dc = /* @__PURE__ */ new Ie(), fc = /* @__PURE__ */ new Ie(), pc = /* @__PURE__ */ new Ie(), Ih = /* @__PURE__ */ new ee(), mc = /* @__PURE__ */ new ee();
13421
+ const Tg = /* @__PURE__ */ new Ye(), go = /* @__PURE__ */ new fs(), Lh = /* @__PURE__ */ new Fr(), Ur = /* @__PURE__ */ new ee(), kr = /* @__PURE__ */ new ee(), zr = /* @__PURE__ */ new ee(), Rh = /* @__PURE__ */ new ee(), Fh = /* @__PURE__ */ new ee(), Ph = /* @__PURE__ */ new ee(), cc = /* @__PURE__ */ new ee(), uc = /* @__PURE__ */ new ee(), hc = /* @__PURE__ */ new ee(), dc = /* @__PURE__ */ new Ie(), fc = /* @__PURE__ */ new Ie(), pc = /* @__PURE__ */ new Ie(), Ih = /* @__PURE__ */ new ee(), mc = /* @__PURE__ */ new ee();
13422
13422
  class Kt extends pt {
13423
13423
  constructor(e = new et(), t = new Un()) {
13424
13424
  super(), this.type = "Mesh", this.geometry = e, this.material = t, this.updateMorphTargets();
@@ -13500,20 +13500,20 @@ function OP(n, e, t, i, r, s, o, a) {
13500
13500
  };
13501
13501
  }
13502
13502
  function gc(n, e, t, i, r, s, o, a, c, l, h, u) {
13503
- Br.fromBufferAttribute(r, l), Ur.fromBufferAttribute(r, h), kr.fromBufferAttribute(r, u);
13503
+ Ur.fromBufferAttribute(r, l), kr.fromBufferAttribute(r, h), zr.fromBufferAttribute(r, u);
13504
13504
  const f = n.morphTargetInfluences;
13505
13505
  if (e.morphTargets && s && f) {
13506
13506
  cc.set(0, 0, 0), uc.set(0, 0, 0), hc.set(0, 0, 0);
13507
13507
  for (let p = 0, d = s.length; p < d; p++) {
13508
13508
  const y = f[p], v = s[p];
13509
- y !== 0 && (Rh.fromBufferAttribute(v, l), Fh.fromBufferAttribute(v, h), Ph.fromBufferAttribute(v, u), o ? (cc.addScaledVector(Rh, y), uc.addScaledVector(Fh, y), hc.addScaledVector(Ph, y)) : (cc.addScaledVector(Rh.sub(Br), y), uc.addScaledVector(Fh.sub(Ur), y), hc.addScaledVector(Ph.sub(kr), y)));
13509
+ y !== 0 && (Rh.fromBufferAttribute(v, l), Fh.fromBufferAttribute(v, h), Ph.fromBufferAttribute(v, u), o ? (cc.addScaledVector(Rh, y), uc.addScaledVector(Fh, y), hc.addScaledVector(Ph, y)) : (cc.addScaledVector(Rh.sub(Ur), y), uc.addScaledVector(Fh.sub(kr), y), hc.addScaledVector(Ph.sub(zr), y)));
13510
13510
  }
13511
- Br.add(cc), Ur.add(uc), kr.add(hc);
13511
+ Ur.add(cc), kr.add(uc), zr.add(hc);
13512
13512
  }
13513
- n.isSkinnedMesh && (n.boneTransform(l, Br), n.boneTransform(h, Ur), n.boneTransform(u, kr));
13514
- const m = OP(n, e, t, i, Br, Ur, kr, Ih);
13513
+ n.isSkinnedMesh && (n.boneTransform(l, Ur), n.boneTransform(h, kr), n.boneTransform(u, zr));
13514
+ const m = OP(n, e, t, i, Ur, kr, zr, Ih);
13515
13515
  if (m) {
13516
- a && (dc.fromBufferAttribute(a, l), fc.fromBufferAttribute(a, h), pc.fromBufferAttribute(a, u), m.uv = Jt.getUV(Ih, Br, Ur, kr, dc, fc, pc, new Ie())), c && (dc.fromBufferAttribute(c, l), fc.fromBufferAttribute(c, h), pc.fromBufferAttribute(c, u), m.uv2 = Jt.getUV(Ih, Br, Ur, kr, dc, fc, pc, new Ie()));
13516
+ a && (dc.fromBufferAttribute(a, l), fc.fromBufferAttribute(a, h), pc.fromBufferAttribute(a, u), m.uv = Jt.getUV(Ih, Ur, kr, zr, dc, fc, pc, new Ie())), c && (dc.fromBufferAttribute(c, l), fc.fromBufferAttribute(c, h), pc.fromBufferAttribute(c, u), m.uv2 = Jt.getUV(Ih, Ur, kr, zr, dc, fc, pc, new Ie()));
13517
13517
  const p = {
13518
13518
  a: l,
13519
13519
  b: h,
@@ -13521,11 +13521,11 @@ function gc(n, e, t, i, r, s, o, a, c, l, h, u) {
13521
13521
  normal: new ee(),
13522
13522
  materialIndex: 0
13523
13523
  };
13524
- Jt.getNormal(Br, Ur, kr, p.normal), m.face = p;
13524
+ Jt.getNormal(Ur, kr, zr, p.normal), m.face = p;
13525
13525
  }
13526
13526
  return m;
13527
13527
  }
13528
- class br extends et {
13528
+ class xr extends et {
13529
13529
  constructor(e = 1, t = 1, i = 1, r = 1, s = 1, o = 1) {
13530
13530
  super(), this.type = "BoxGeometry", this.parameters = {
13531
13531
  width: e,
@@ -13560,7 +13560,7 @@ class br extends et {
13560
13560
  }
13561
13561
  }
13562
13562
  static fromJSON(e) {
13563
- return new br(e.width, e.height, e.depth, e.widthSegments, e.heightSegments, e.depthSegments);
13563
+ return new xr(e.width, e.height, e.depth, e.widthSegments, e.heightSegments, e.depthSegments);
13564
13564
  }
13565
13565
  }
13566
13566
  function Xo(n) {
@@ -13589,7 +13589,7 @@ var DP = `void main() {
13589
13589
  }`, NP = `void main() {
13590
13590
  gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );
13591
13591
  }`;
13592
- class xr extends cn {
13592
+ class Mr extends cn {
13593
13593
  constructor(e) {
13594
13594
  super(), this.type = "ShaderMaterial", this.defines = {}, this.uniforms = {}, this.vertexShader = DP, this.fragmentShader = NP, this.linewidth = 1, this.wireframe = !1, this.wireframeLinewidth = 1, this.fog = !1, this.lights = !1, this.clipping = !1, this.morphTargets = !1, this.morphNormals = !1, this.extensions = {
13595
13595
  derivatives: !1,
@@ -13646,7 +13646,7 @@ class xr extends cn {
13646
13646
  return Object.keys(i).length > 0 && (t.extensions = i), t;
13647
13647
  }
13648
13648
  }
13649
- xr.prototype.isShaderMaterial = !0;
13649
+ Mr.prototype.isShaderMaterial = !0;
13650
13650
  class Fl extends pt {
13651
13651
  constructor() {
13652
13652
  super(), this.type = "Camera", this.matrixWorldInverse = new Ye(), this.projectionMatrix = new Ye(), this.projectionMatrixInverse = new Ye();
@@ -13804,7 +13804,7 @@ class Uu extends pt {
13804
13804
  }
13805
13805
  class ba extends Qt {
13806
13806
  constructor(e, t, i, r, s, o, a, c, l, h) {
13807
- e = e !== void 0 ? e : [], t = t !== void 0 ? t : Cl, a = a !== void 0 ? a : pr, super(e, t, i, r, s, o, a, c, l, h), this._needsFlipEnvMap = !0, this.flipY = !1;
13807
+ e = e !== void 0 ? e : [], t = t !== void 0 ? t : Cl, a = a !== void 0 ? a : mr, super(e, t, i, r, s, o, a, c, l, h), this._needsFlipEnvMap = !0, this.flipY = !1;
13808
13808
  }
13809
13809
  get images() {
13810
13810
  return this.image;
@@ -13814,7 +13814,7 @@ class ba extends Qt {
13814
13814
  }
13815
13815
  }
13816
13816
  ba.prototype.isCubeTexture = !0;
13817
- class ku extends wi {
13817
+ class ku extends Ai {
13818
13818
  constructor(e, t, i) {
13819
13819
  Number.isInteger(t) && (console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"), t = i), super(e, e, t), t = t || {}, this.texture = new ba(void 0, t.mapping, t.wrapS, t.wrapT, t.magFilter, t.minFilter, t.format, t.type, t.anisotropy, t.encoding), this.texture.generateMipmaps = t.generateMipmaps !== void 0 ? t.generateMipmaps : !1, this.texture.minFilter = t.minFilter !== void 0 ? t.minFilter : Wt, this.texture._needsFlipEnvMap = !1;
13820
13820
  }
@@ -13867,17 +13867,17 @@ class ku extends wi {
13867
13867
  }
13868
13868
  `
13869
13869
  )
13870
- }, r = new br(5, 5, 5), s = new xr({
13870
+ }, r = new xr(5, 5, 5), s = new Mr({
13871
13871
  name: "CubemapFromEquirect",
13872
13872
  uniforms: Xo(i.uniforms),
13873
13873
  vertexShader: i.vertexShader,
13874
13874
  fragmentShader: i.fragmentShader,
13875
13875
  side: Yt,
13876
- blending: fr
13876
+ blending: pr
13877
13877
  });
13878
13878
  s.uniforms.tEquirect.value = t;
13879
13879
  const o = new Kt(r, s), a = t.minFilter;
13880
- return t.minFilter === Lr && (t.minFilter = Wt), new Uu(1, 10, this).update(e, o), t.minFilter = a, o.geometry.dispose(), o.material.dispose(), this;
13880
+ return t.minFilter === Rr && (t.minFilter = Wt), new Uu(1, 10, this).update(e, o), t.minFilter = a, o.geometry.dispose(), o.material.dispose(), this;
13881
13881
  }
13882
13882
  clear(e, t, i, r) {
13883
13883
  const s = e.getRenderTarget();
@@ -13888,7 +13888,7 @@ class ku extends wi {
13888
13888
  }
13889
13889
  ku.prototype.isWebGLCubeRenderTarget = !0;
13890
13890
  const Oh = /* @__PURE__ */ new ee(), BP = /* @__PURE__ */ new ee(), UP = /* @__PURE__ */ new dn();
13891
- class Pi {
13891
+ class Ii {
13892
13892
  constructor(e = new ee(1, 0, 0), t = 0) {
13893
13893
  this.normal = e, this.constant = t;
13894
13894
  }
@@ -13958,10 +13958,10 @@ class Pi {
13958
13958
  return new this.constructor().copy(this);
13959
13959
  }
13960
13960
  }
13961
- Pi.prototype.isPlane = !0;
13962
- const bo = /* @__PURE__ */ new Rr(), vc = /* @__PURE__ */ new ee();
13961
+ Ii.prototype.isPlane = !0;
13962
+ const bo = /* @__PURE__ */ new Fr(), vc = /* @__PURE__ */ new ee();
13963
13963
  class Pl {
13964
- constructor(e = new Pi(), t = new Pi(), i = new Pi(), r = new Pi(), s = new Pi(), o = new Pi()) {
13964
+ constructor(e = new Ii(), t = new Ii(), i = new Ii(), r = new Ii(), s = new Ii(), o = new Ii()) {
13965
13965
  this.planes = [e, t, i, r, s, o];
13966
13966
  }
13967
13967
  set(e, t, i, r, s, o) {
@@ -17435,8 +17435,8 @@ function aD(n, e, t, i, r) {
17435
17435
  v && v.isTexture && (v = e.get(v));
17436
17436
  const g = n.xr, M = g.getSession && g.getSession();
17437
17437
  M && M.environmentBlendMode === "additive" && (v = null), v === null ? m(s, o) : v && v.isColor && (m(v, 1), y = !0), (n.autoClear || y) && n.clear(n.autoClearColor, n.autoClearDepth, n.autoClearStencil), v && (v.isCubeTexture || v.mapping === ya) ? (c === void 0 && (c = new Kt(
17438
- new br(1, 1, 1),
17439
- new xr({
17438
+ new xr(1, 1, 1),
17439
+ new Mr({
17440
17440
  name: "BackgroundCubeMaterial",
17441
17441
  uniforms: Xo(bi.cube.uniforms),
17442
17442
  vertexShader: bi.cube.vertexShader,
@@ -17454,7 +17454,7 @@ function aD(n, e, t, i, r) {
17454
17454
  }
17455
17455
  }), i.update(c)), c.material.uniforms.envMap.value = v, c.material.uniforms.flipEnvMap.value = v.isCubeTexture && v._needsFlipEnvMap ? -1 : 1, (l !== v || h !== v.version || u !== n.toneMapping) && (c.material.needsUpdate = !0, l = v, h = v.version, u = n.toneMapping), p.unshift(c, c.geometry, c.material, 0, 0, null)) : v && v.isTexture && (a === void 0 && (a = new Kt(
17456
17456
  new js(2, 2),
17457
- new xr({
17457
+ new Mr({
17458
17458
  name: "BackgroundMaterial",
17459
17459
  uniforms: Xo(bi.background.uniforms),
17460
17460
  vertexShader: bi.background.vertexShader,
@@ -17748,7 +17748,7 @@ function uD(n, e, t) {
17748
17748
  function hD(n) {
17749
17749
  const e = this;
17750
17750
  let t = null, i = 0, r = !1, s = !1;
17751
- const o = new Pi(), a = new dn(), c = { value: null, needsUpdate: !1 };
17751
+ const o = new Ii(), a = new dn(), c = { value: null, needsUpdate: !1 };
17752
17752
  this.uniform = c, this.numPlanes = 0, this.numIntersection = 0, this.init = function(u, f, m) {
17753
17753
  const p = u.length !== 0 || f || // enable state of previous frame - the clipping code has to
17754
17754
  // run another frame in order to reset the state:
@@ -19517,7 +19517,7 @@ void main() {
19517
19517
  }`;
19518
19518
  function tM(n, e, t) {
19519
19519
  let i = new Pl();
19520
- const r = new Ie(), s = new Ie(), o = new St(), a = [], c = [], l = {}, h = t.maxTextureSize, u = { 0: Yt, 1: ss, 2: os }, f = new xr({
19520
+ const r = new Ie(), s = new Ie(), o = new St(), a = [], c = [], l = {}, h = t.maxTextureSize, u = { 0: Yt, 1: ss, 2: os }, f = new Mr({
19521
19521
  defines: {
19522
19522
  SAMPLE_RATE: 2 / 8,
19523
19523
  HALF_SAMPLE_RATE: 1 / 8
@@ -19543,7 +19543,7 @@ function tM(n, e, t) {
19543
19543
  this.enabled = !1, this.autoUpdate = !0, this.needsUpdate = !1, this.type = Vf, this.render = function(x, T, F) {
19544
19544
  if (y.enabled === !1 || y.autoUpdate === !1 && y.needsUpdate === !1 || x.length === 0) return;
19545
19545
  const L = n.getRenderTarget(), I = n.getActiveCubeFace(), S = n.getActiveMipmapLevel(), E = n.state;
19546
- E.setBlending(fr), E.buffers.color.setClear(1, 1, 1, 1), E.buffers.depth.setTest(!0), E.setScissorTest(!1);
19546
+ E.setBlending(pr), E.buffers.color.setClear(1, 1, 1, 1), E.buffers.depth.setTest(!0), E.setScissorTest(!1);
19547
19547
  for (let R = 0, A = x.length; R < A; R++) {
19548
19548
  const C = x[R], b = C.shadow;
19549
19549
  if (b === void 0) {
@@ -19555,11 +19555,11 @@ function tM(n, e, t) {
19555
19555
  const P = b.getFrameExtents();
19556
19556
  if (r.multiply(P), s.copy(b.mapSize), (r.x > h || r.y > h) && (r.x > h && (s.x = Math.floor(h / P.x), r.x = s.x * P.x, b.mapSize.x = s.x), r.y > h && (s.y = Math.floor(h / P.y), r.y = s.y * P.y, b.mapSize.y = s.y)), b.map === null && !b.isPointLightShadow && this.type === Lo) {
19557
19557
  const O = { minFilter: Wt, magFilter: Wt, format: Jn };
19558
- b.map = new wi(r.x, r.y, O), b.map.texture.name = C.name + ".shadowMap", b.mapPass = new wi(r.x, r.y, O), b.camera.updateProjectionMatrix();
19558
+ b.map = new Ai(r.x, r.y, O), b.map.texture.name = C.name + ".shadowMap", b.mapPass = new Ai(r.x, r.y, O), b.camera.updateProjectionMatrix();
19559
19559
  }
19560
19560
  if (b.map === null) {
19561
19561
  const O = { minFilter: qt, magFilter: qt, format: Jn };
19562
- b.map = new wi(r.x, r.y, O), b.map.texture.name = C.name + ".shadowMap", b.camera.updateProjectionMatrix();
19562
+ b.map = new Ai(r.x, r.y, O), b.map.texture.name = C.name + ".shadowMap", b.camera.updateProjectionMatrix();
19563
19563
  }
19564
19564
  n.setRenderTarget(b.map), n.clear();
19565
19565
  const D = b.getViewportCount();
@@ -19755,7 +19755,7 @@ function UN(n, e, t) {
19755
19755
  return Pe;
19756
19756
  }
19757
19757
  const Y = {};
19758
- Y[3553] = V(3553, 3553, 1), Y[34067] = V(34067, 34069, 6), a.setClear(0, 0, 0, 1), c.setClear(1), l.setClear(0), Z(2929), c.setFunc(cu), j(!1), oe(Sd), Z(2884), ne(fr);
19758
+ Y[3553] = V(3553, 3553, 1), Y[34067] = V(34067, 34069, 6), a.setClear(0, 0, 0, 1), c.setClear(1), l.setClear(0), Z(2929), c.setFunc(cu), j(!1), oe(Sd), Z(2884), ne(pr);
19759
19759
  function Z(ie) {
19760
19760
  h[ie] !== !0 && (n.enable(ie), h[ie] = !0);
19761
19761
  }
@@ -19796,7 +19796,7 @@ function UN(n, e, t) {
19796
19796
  [pb]: 773
19797
19797
  };
19798
19798
  function ne(ie, me, Me, Ue, Pe, Xe, dt, tt) {
19799
- if (ie === fr) {
19799
+ if (ie === pr) {
19800
19800
  p === !0 && (te(3042), p = !1);
19801
19801
  return;
19802
19802
  }
@@ -19847,7 +19847,7 @@ function UN(n, e, t) {
19847
19847
  function k(ie, me) {
19848
19848
  ie.side === os ? te(2884) : Z(2884);
19849
19849
  let Me = ie.side === Yt;
19850
- me && (Me = !Me), j(Me), ie.blending === Io && ie.transparent === !1 ? ne(fr) : ne(ie.blending, ie.blendEquation, ie.blendSrc, ie.blendDst, ie.blendEquationAlpha, ie.blendSrcAlpha, ie.blendDstAlpha, ie.premultipliedAlpha), c.setFunc(ie.depthFunc), c.setTest(ie.depthTest), c.setMask(ie.depthWrite), a.setMask(ie.colorWrite);
19850
+ me && (Me = !Me), j(Me), ie.blending === Io && ie.transparent === !1 ? ne(pr) : ne(ie.blending, ie.blendEquation, ie.blendSrc, ie.blendDst, ie.blendEquationAlpha, ie.blendSrcAlpha, ie.blendDstAlpha, ie.premultipliedAlpha), c.setFunc(ie.depthFunc), c.setTest(ie.depthTest), c.setMask(ie.depthWrite), a.setMask(ie.colorWrite);
19851
19851
  const Ue = ie.stencilWrite;
19852
19852
  l.setTest(Ue), Ue && (l.setMask(ie.stencilWriteMask), l.setFunc(ie.stencilFunc, ie.stencilRef, ie.stencilFuncMask), l.setOp(ie.stencilFail, ie.stencilZFail, ie.stencilZPass)), ce(ie.polygonOffset, ie.polygonOffsetFactor, ie.polygonOffsetUnits), ie.alphaToCoverage === !0 ? Z(32926) : te(32926);
19853
19853
  }
@@ -20070,12 +20070,12 @@ function kN(n, e, t, i, r, s, o) {
20070
20070
  [ll]: 9986,
20071
20071
  [Wt]: 9729,
20072
20072
  [Pu]: 9985,
20073
- [Lr]: 9987
20073
+ [Rr]: 9987
20074
20074
  };
20075
20075
  function B(H, G, U) {
20076
20076
  if (U ? (n.texParameteri(H, 10242, D[G.wrapS]), n.texParameteri(H, 10243, D[G.wrapT]), (H === 32879 || H === 35866) && n.texParameteri(H, 32882, D[G.wrapR]), n.texParameteri(H, 10240, O[G.magFilter]), n.texParameteri(H, 10241, O[G.minFilter])) : (n.texParameteri(H, 10242, 33071), n.texParameteri(H, 10243, 33071), (H === 32879 || H === 35866) && n.texParameteri(H, 32882, 33071), (G.wrapS !== yn || G.wrapT !== yn) && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."), n.texParameteri(H, 10240, x(G.magFilter)), n.texParameteri(H, 10241, x(G.minFilter)), G.minFilter !== qt && G.minFilter !== Wt && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")), e.has("EXT_texture_filter_anisotropic") === !0) {
20077
20077
  const Q = e.get("EXT_texture_filter_anisotropic");
20078
- if (G.type === ur && e.has("OES_texture_float_linear") === !1 || a === !1 && G.type === Ns && e.has("OES_texture_half_float_linear") === !1) return;
20078
+ if (G.type === hr && e.has("OES_texture_float_linear") === !1 || a === !1 && G.type === Ns && e.has("OES_texture_half_float_linear") === !1) return;
20079
20079
  (G.anisotropy > 1 || i.get(G).__currentAnisotropy) && (n.texParameterf(H, Q.TEXTURE_MAX_ANISOTROPY_EXT, Math.min(G.anisotropy, r.getMaxAnisotropy())), i.get(G).__currentAnisotropy = G.anisotropy);
20080
20080
  }
20081
20081
  }
@@ -20091,7 +20091,7 @@ function kN(n, e, t, i, r, s, o) {
20091
20091
  let ie;
20092
20092
  const me = G.mipmaps;
20093
20093
  if (G.isDepthTexture)
20094
- _e = 6402, a ? G.type === ur ? _e = 36012 : G.type === Ya ? _e = 33190 : G.type === Oo ? _e = 35056 : _e = 33189 : G.type === ur && console.error("WebGLRenderer: Floating point depth texture requires WebGL2."), G.format === Bs && _e === 6402 && G.type !== cl && G.type !== Ya && (console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."), G.type = cl, fe = s.convert(G.type)), G.format === Wo && _e === 6402 && (_e = 34041, G.type !== Oo && (console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."), G.type = Oo, fe = s.convert(G.type))), t.texImage2D(3553, 0, _e, he.width, he.height, 0, Ae, fe, null);
20094
+ _e = 6402, a ? G.type === hr ? _e = 36012 : G.type === Ya ? _e = 33190 : G.type === Oo ? _e = 35056 : _e = 33189 : G.type === hr && console.error("WebGLRenderer: Floating point depth texture requires WebGL2."), G.format === Bs && _e === 6402 && G.type !== cl && G.type !== Ya && (console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."), G.type = cl, fe = s.convert(G.type)), G.format === Wo && _e === 6402 && (_e = 34041, G.type !== Oo && (console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."), G.type = Oo, fe = s.convert(G.type))), t.texImage2D(3553, 0, _e, he.width, he.height, 0, Ae, fe, null);
20095
20095
  else if (G.isDataTexture)
20096
20096
  if (me.length > 0 && xe) {
20097
20097
  for (let Me = 0, Ue = me.length; Me < Ue; Me++)
@@ -20101,7 +20101,7 @@ function kN(n, e, t, i, r, s, o) {
20101
20101
  t.texImage2D(3553, 0, _e, he.width, he.height, 0, Ae, fe, he.data), H.__maxMipLevel = 0;
20102
20102
  else if (G.isCompressedTexture) {
20103
20103
  for (let Me = 0, Ue = me.length; Me < Ue; Me++)
20104
- ie = me[Me], G.format !== Jn && G.format !== pr ? Ae !== null ? t.compressedTexImage2D(3553, Me, _e, ie.width, ie.height, 0, ie.data) : console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()") : t.texImage2D(3553, Me, _e, ie.width, ie.height, 0, Ae, fe, ie.data);
20104
+ ie = me[Me], G.format !== Jn && G.format !== mr ? Ae !== null ? t.compressedTexImage2D(3553, Me, _e, ie.width, ie.height, 0, ie.data) : console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()") : t.texImage2D(3553, Me, _e, ie.width, ie.height, 0, Ae, fe, ie.data);
20105
20105
  H.__maxMipLevel = me.length - 1;
20106
20106
  } else if (G.isDataTexture2DArray)
20107
20107
  t.texImage3D(35866, 0, _e, he.width, he.height, he.depth, 0, Ae, fe, he.data), H.__maxMipLevel = 0;
@@ -20129,7 +20129,7 @@ function kN(n, e, t, i, r, s, o) {
20129
20129
  me = he[Me].mipmaps;
20130
20130
  for (let Ue = 0; Ue < me.length; Ue++) {
20131
20131
  const Pe = me[Ue];
20132
- G.format !== Jn && G.format !== pr ? fe !== null ? t.compressedTexImage2D(34069 + Me, Ue, ie, Pe.width, Pe.height, 0, Pe.data) : console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()") : t.texImage2D(34069 + Me, Ue, ie, Pe.width, Pe.height, 0, fe, _e, Pe.data);
20132
+ G.format !== Jn && G.format !== mr ? fe !== null ? t.compressedTexImage2D(34069 + Me, Ue, ie, Pe.width, Pe.height, 0, Pe.data) : console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()") : t.texImage2D(34069 + Me, Ue, ie, Pe.width, Pe.height, 0, fe, _e, Pe.data);
20133
20133
  }
20134
20134
  }
20135
20135
  H.__maxMipLevel = me.length - 1;
@@ -20162,7 +20162,7 @@ function kN(n, e, t, i, r, s, o) {
20162
20162
  let Q = 33189;
20163
20163
  if (U) {
20164
20164
  const re = G.depthTexture;
20165
- re && re.isDepthTexture && (re.type === ur ? Q = 36012 : re.type === Ya && (Q = 33190));
20165
+ re && re.isDepthTexture && (re.type === hr ? Q = 36012 : re.type === Ya && (Q = 33190));
20166
20166
  const he = ne(G);
20167
20167
  n.renderbufferStorageMultisample(36161, he, Q, G.width, G.height);
20168
20168
  } else
@@ -20215,7 +20215,7 @@ function kN(n, e, t, i, r, s, o) {
20215
20215
  const G = H.texture, U = i.get(H), Q = i.get(G);
20216
20216
  H.addEventListener("dispose", F), H.isWebGLMultipleRenderTargets !== !0 && (Q.__webglTexture = n.createTexture(), Q.__version = G.version, o.memory.textures++);
20217
20217
  const re = H.isWebGLCubeRenderTarget === !0, he = H.isWebGLMultipleRenderTargets === !0, xe = H.isWebGLMultisampleRenderTarget === !0, Ae = G.isDataTexture3D || G.isDataTexture2DArray, fe = v(H) || a;
20218
- if (a && G.format === pr && (G.type === ur || G.type === Ns) && (G.format = Jn, console.warn("THREE.WebGLRenderer: Rendering to textures with RGB format is not supported. Using RGBA format instead.")), re) {
20218
+ if (a && G.format === mr && (G.type === hr || G.type === Ns) && (G.format = Jn, console.warn("THREE.WebGLRenderer: Rendering to textures with RGB format is not supported. Using RGBA format instead.")), re) {
20219
20219
  U.__webglFramebuffer = [];
20220
20220
  for (let _e = 0; _e < 6; _e++)
20221
20221
  U.__webglFramebuffer[_e] = n.createFramebuffer();
@@ -20303,11 +20303,11 @@ function nM(n, e, t) {
20303
20303
  if (s === cl) return 5123;
20304
20304
  if (s === Ob) return 5124;
20305
20305
  if (s === Ya) return 5125;
20306
- if (s === ur) return 5126;
20306
+ if (s === hr) return 5126;
20307
20307
  if (s === Ns)
20308
20308
  return i ? 5131 : (o = e.get("OES_texture_half_float"), o !== null ? o.HALF_FLOAT_OES : null);
20309
20309
  if (s === Ub) return 6406;
20310
- if (s === pr) return 6407;
20310
+ if (s === mr) return 6407;
20311
20311
  if (s === Jn) return 6408;
20312
20312
  if (s === kb) return 6409;
20313
20313
  if (s === zb) return 6410;
@@ -20356,25 +20356,25 @@ class tp extends un {
20356
20356
  }
20357
20357
  }
20358
20358
  tp.prototype.isArrayCamera = !0;
20359
- class Di extends pt {
20359
+ class Ni extends pt {
20360
20360
  constructor() {
20361
20361
  super(), this.type = "Group";
20362
20362
  }
20363
20363
  }
20364
- Di.prototype.isGroup = !0;
20364
+ Ni.prototype.isGroup = !0;
20365
20365
  const zN = { type: "move" };
20366
20366
  class Nh {
20367
20367
  constructor() {
20368
20368
  this._targetRay = null, this._grip = null, this._hand = null;
20369
20369
  }
20370
20370
  getHandSpace() {
20371
- return this._hand === null && (this._hand = new Di(), this._hand.matrixAutoUpdate = !1, this._hand.visible = !1, this._hand.joints = {}, this._hand.inputState = { pinching: !1 }), this._hand;
20371
+ return this._hand === null && (this._hand = new Ni(), this._hand.matrixAutoUpdate = !1, this._hand.visible = !1, this._hand.joints = {}, this._hand.inputState = { pinching: !1 }), this._hand;
20372
20372
  }
20373
20373
  getTargetRaySpace() {
20374
- return this._targetRay === null && (this._targetRay = new Di(), this._targetRay.matrixAutoUpdate = !1, this._targetRay.visible = !1, this._targetRay.hasLinearVelocity = !1, this._targetRay.linearVelocity = new ee(), this._targetRay.hasAngularVelocity = !1, this._targetRay.angularVelocity = new ee()), this._targetRay;
20374
+ return this._targetRay === null && (this._targetRay = new Ni(), this._targetRay.matrixAutoUpdate = !1, this._targetRay.visible = !1, this._targetRay.hasLinearVelocity = !1, this._targetRay.linearVelocity = new ee(), this._targetRay.hasAngularVelocity = !1, this._targetRay.angularVelocity = new ee()), this._targetRay;
20375
20375
  }
20376
20376
  getGripSpace() {
20377
- return this._grip === null && (this._grip = new Di(), this._grip.matrixAutoUpdate = !1, this._grip.visible = !1, this._grip.hasLinearVelocity = !1, this._grip.linearVelocity = new ee(), this._grip.hasAngularVelocity = !1, this._grip.angularVelocity = new ee()), this._grip;
20377
+ return this._grip === null && (this._grip = new Ni(), this._grip.matrixAutoUpdate = !1, this._grip.visible = !1, this._grip.hasLinearVelocity = !1, this._grip.linearVelocity = new ee(), this._grip.hasAngularVelocity = !1, this._grip.angularVelocity = new ee()), this._grip;
20378
20378
  }
20379
20379
  dispatchEvent(e) {
20380
20380
  return this._targetRay !== null && this._targetRay.dispatchEvent(e), this._grip !== null && this._grip.dispatchEvent(e), this._hand !== null && this._hand.dispatchEvent(e), this;
@@ -20391,7 +20391,7 @@ class Nh {
20391
20391
  for (const d of e.hand.values()) {
20392
20392
  const y = t.getJointPose(d, i);
20393
20393
  if (l.joints[d.jointName] === void 0) {
20394
- const g = new Di();
20394
+ const g = new Ni();
20395
20395
  g.matrixAutoUpdate = !1, g.visible = !1, l.joints[d.jointName] = g, l.add(g);
20396
20396
  }
20397
20397
  const v = l.joints[d.jointName];
@@ -20845,13 +20845,13 @@ function Ct(n = {}) {
20845
20845
  return;
20846
20846
  }
20847
20847
  if (y === !0) return;
20848
- q.autoUpdate === !0 && q.updateMatrixWorld(), ye.parent === null && ye.updateMatrixWorld(), Pe.enabled === !0 && Pe.isPresenting === !0 && (Pe.cameraAutoUpdate === !0 && Pe.updateCamera(ye), ye = Pe.getCamera()), q.isScene === !0 && q.onBeforeRender(d, q, ye, M), f = re.get(q, p.length), f.init(), p.push(f), V.multiplyMatrices(ye.projectionMatrix, ye.matrixWorldInverse), D.setFromProjectionMatrix(V), B = this.localClippingEnabled, O = he.init(this.clippingPlanes, B, ye), u = Q.get(q, m.length), u.init(), m.push(u), Ci(q, ye, 0, d.sortObjects), u.finish(), d.sortObjects === !0 && u.sort(E, R), O === !0 && he.beginShadows();
20848
+ q.autoUpdate === !0 && q.updateMatrixWorld(), ye.parent === null && ye.updateMatrixWorld(), Pe.enabled === !0 && Pe.isPresenting === !0 && (Pe.cameraAutoUpdate === !0 && Pe.updateCamera(ye), ye = Pe.getCamera()), q.isScene === !0 && q.onBeforeRender(d, q, ye, M), f = re.get(q, p.length), f.init(), p.push(f), V.multiplyMatrices(ye.projectionMatrix, ye.matrixWorldInverse), D.setFromProjectionMatrix(V), B = this.localClippingEnabled, O = he.init(this.clippingPlanes, B, ye), u = Q.get(q, m.length), u.init(), m.push(u), Li(q, ye, 0, d.sortObjects), u.finish(), d.sortObjects === !0 && u.sort(E, R), O === !0 && he.beginShadows();
20849
20849
  const ve = f.state.shadowsArray;
20850
20850
  xe.render(ve, q, ye), f.setupLights(), f.setupLightsView(ye), O === !0 && he.endShadows(), this.info.autoReset === !0 && this.info.reset(), Ae.render(u, q);
20851
20851
  const be = u.opaque, Re = u.transmissive, ge = u.transparent;
20852
- be.length > 0 && Li(be, q, ye), Re.length > 0 && Qi(be, Re, q, ye), ge.length > 0 && Li(ge, q, ye), M !== null && (j.updateMultisampleRenderTarget(M), j.updateRenderTargetMipmap(M)), q.isScene === !0 && q.onAfterRender(d, q, ye), K.buffers.depth.setTest(!0), K.buffers.depth.setMask(!0), K.buffers.color.setMask(!0), K.setPolygonOffset(!1), Me.resetDefaultState(), w = -1, _ = null, p.pop(), p.length > 0 ? f = p[p.length - 1] : f = null, m.pop(), m.length > 0 ? u = m[m.length - 1] : u = null;
20852
+ be.length > 0 && Ri(be, q, ye), Re.length > 0 && er(be, Re, q, ye), ge.length > 0 && Ri(ge, q, ye), M !== null && (j.updateMultisampleRenderTarget(M), j.updateRenderTargetMipmap(M)), q.isScene === !0 && q.onAfterRender(d, q, ye), K.buffers.depth.setTest(!0), K.buffers.depth.setMask(!0), K.buffers.color.setMask(!0), K.setPolygonOffset(!1), Me.resetDefaultState(), w = -1, _ = null, p.pop(), p.length > 0 ? f = p[p.length - 1] : f = null, m.pop(), m.length > 0 ? u = m[m.length - 1] : u = null;
20853
20853
  };
20854
- function Ci(q, ye, ve, be) {
20854
+ function Li(q, ye, ve, be) {
20855
20855
  if (q.visible === !1) return;
20856
20856
  if (q.layers.test(ye.layers)) {
20857
20857
  if (q.isGroup)
@@ -20882,15 +20882,15 @@ function Ct(n = {}) {
20882
20882
  }
20883
20883
  const ge = q.children;
20884
20884
  for (let Se = 0, Oe = ge.length; Se < Oe; Se++)
20885
- Ci(ge[Se], ye, ve, be);
20885
+ Li(ge[Se], ye, ve, be);
20886
20886
  }
20887
- function Qi(q, ye, ve, be) {
20887
+ function er(q, ye, ve, be) {
20888
20888
  if (z === null) {
20889
- const Oe = o === !0 && X.isWebGL2 === !0 ? Jf : wi;
20889
+ const Oe = o === !0 && X.isWebGL2 === !0 ? Jf : Ai;
20890
20890
  z = new Oe(1024, 1024, {
20891
20891
  generateMipmaps: !0,
20892
20892
  type: me.convert(Ns) !== null ? Ns : Gs,
20893
- minFilter: Lr,
20893
+ minFilter: Rr,
20894
20894
  magFilter: qt,
20895
20895
  wrapS: yn,
20896
20896
  wrapT: yn
@@ -20899,9 +20899,9 @@ function Ct(n = {}) {
20899
20899
  const Re = d.getRenderTarget();
20900
20900
  d.setRenderTarget(z), d.clear();
20901
20901
  const ge = d.toneMapping;
20902
- d.toneMapping = qr, Li(q, ve, be), d.toneMapping = ge, j.updateMultisampleRenderTarget(z), j.updateRenderTargetMipmap(z), d.setRenderTarget(Re), Li(ye, ve, be);
20902
+ d.toneMapping = qr, Ri(q, ve, be), d.toneMapping = ge, j.updateMultisampleRenderTarget(z), j.updateRenderTargetMipmap(z), d.setRenderTarget(Re), Ri(ye, ve, be);
20903
20903
  }
20904
- function Li(q, ye, ve) {
20904
+ function Ri(q, ye, ve) {
20905
20905
  const be = ye.isScene === !0 ? ye.overrideMaterial : null;
20906
20906
  for (let Re = 0, ge = q.length; Re < ge; Re++) {
20907
20907
  const Se = q[Re], Oe = Se.object, Ge = Se.geometry, qe = be === null ? Se.material : be, lt = Se.group;
@@ -20909,13 +20909,13 @@ function Ct(n = {}) {
20909
20909
  const nt = ve.cameras;
20910
20910
  for (let gt = 0, jt = nt.length; gt < jt; gt++) {
20911
20911
  const mn = nt[gt];
20912
- Oe.layers.test(mn.layers) && (K.viewport(x.copy(mn.viewport)), f.setupLightsView(mn), Fr(Oe, ye, mn, Ge, qe, lt));
20912
+ Oe.layers.test(mn.layers) && (K.viewport(x.copy(mn.viewport)), f.setupLightsView(mn), Pr(Oe, ye, mn, Ge, qe, lt));
20913
20913
  }
20914
20914
  } else
20915
- Fr(Oe, ye, ve, Ge, qe, lt);
20915
+ Pr(Oe, ye, ve, Ge, qe, lt);
20916
20916
  }
20917
20917
  }
20918
- function Fr(q, ye, ve, be, Re, ge) {
20918
+ function Pr(q, ye, ve, be, Re, ge) {
20919
20919
  if (q.onBeforeRender(d, ye, ve, be, Re, ge), q.modelViewMatrix.multiplyMatrices(ve.matrixWorldInverse, q.matrixWorld), q.normalMatrix.getNormalMatrix(q.modelViewMatrix), q.isImmediateRenderObject) {
20920
20920
  const Se = Ee(ve, ye, Re, q);
20921
20921
  K.setMaterial(Re), Me.reset(), it(q, Se);
@@ -21038,7 +21038,7 @@ function Ct(n = {}) {
21038
21038
  }
21039
21039
  const nt = lt === Ns && ($.has("EXT_color_buffer_half_float") || X.isWebGL2 && $.has("EXT_color_buffer_float"));
21040
21040
  if (lt !== Gs && me.convert(lt) !== J.getParameter(35738) && // Edge and Chrome Mac < 52 (#9513)
21041
- !(lt === ur && (X.isWebGL2 || $.has("OES_texture_float") || $.has("WEBGL_color_buffer_float"))) && // Chrome Mac >= 52 and Firefox
21041
+ !(lt === hr && (X.isWebGL2 || $.has("OES_texture_float") || $.has("WEBGL_color_buffer_float"))) && // Chrome Mac >= 52 and Firefox
21042
21042
  !nt) {
21043
21043
  console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");
21044
21044
  return;
@@ -21172,7 +21172,7 @@ class ps {
21172
21172
  }
21173
21173
  ps.prototype.isInterleavedBuffer = !0;
21174
21174
  const $t = /* @__PURE__ */ new ee();
21175
- class Mr {
21175
+ class wr {
21176
21176
  constructor(e, t, i, r = !1) {
21177
21177
  this.name = "", this.data = e, this.itemSize = t, this.offset = i, this.normalized = r === !0;
21178
21178
  }
@@ -21244,7 +21244,7 @@ class Mr {
21244
21244
  }
21245
21245
  return new ht(new this.array.constructor(t), this.itemSize, this.normalized);
21246
21246
  } else
21247
- return e.interleavedBuffers === void 0 && (e.interleavedBuffers = {}), e.interleavedBuffers[this.data.uuid] === void 0 && (e.interleavedBuffers[this.data.uuid] = this.data.clone(e)), new Mr(e.interleavedBuffers[this.data.uuid], this.itemSize, this.offset, this.normalized);
21247
+ return e.interleavedBuffers === void 0 && (e.interleavedBuffers = {}), e.interleavedBuffers[this.data.uuid] === void 0 && (e.interleavedBuffers[this.data.uuid] = this.data.clone(e)), new wr(e.interleavedBuffers[this.data.uuid], this.itemSize, this.offset, this.normalized);
21248
21248
  }
21249
21249
  toJSON(e) {
21250
21250
  if (e === void 0) {
@@ -21271,7 +21271,7 @@ class Mr {
21271
21271
  };
21272
21272
  }
21273
21273
  }
21274
- Mr.prototype.isInterleavedBufferAttribute = !0;
21274
+ wr.prototype.isInterleavedBufferAttribute = !0;
21275
21275
  class Dl extends cn {
21276
21276
  constructor(e) {
21277
21277
  super(), this.type = "SpriteMaterial", this.color = new ke(16777215), this.map = null, this.alphaMap = null, this.rotation = 0, this.sizeAttenuation = !0, this.transparent = !0, this.setValues(e);
@@ -21309,7 +21309,7 @@ class Nl extends pt {
21309
21309
  0,
21310
21310
  1
21311
21311
  ]), i = new ps(t, 5);
21312
- xo.setIndex([0, 1, 2, 0, 2, 3]), xo.setAttribute("position", new Mr(i, 3, 0, !1)), xo.setAttribute("uv", new Mr(i, 2, 3, !1));
21312
+ xo.setIndex([0, 1, 2, 0, 2, 3]), xo.setAttribute("position", new wr(i, 3, 0, !1)), xo.setAttribute("uv", new wr(i, 2, 3, !1));
21313
21313
  }
21314
21314
  this.geometry = xo, this.material = e !== void 0 ? e : new Dl(), this.center = new Ie(0.5, 0.5);
21315
21315
  }
@@ -21516,7 +21516,7 @@ class kl {
21516
21516
  e = Ox(e), e = Math.max(e, 4);
21517
21517
  const t = new Float32Array(e * e * 4);
21518
21518
  t.set(this.boneMatrices);
21519
- const i = new ks(t, e, e, Jn, ur);
21519
+ const i = new ks(t, e, e, Jn, hr);
21520
21520
  return this.boneMatrices = t, this.boneTexture = i, this.boneTextureSize = e, this;
21521
21521
  }
21522
21522
  getBoneByName(e) {
@@ -21607,8 +21607,8 @@ class pn extends cn {
21607
21607
  }
21608
21608
  }
21609
21609
  pn.prototype.isLineBasicMaterial = !0;
21610
- const Kg = /* @__PURE__ */ new ee(), Qg = /* @__PURE__ */ new ee(), ev = /* @__PURE__ */ new Ye(), Uh = /* @__PURE__ */ new fs(), Ac = /* @__PURE__ */ new Rr();
21611
- class ji extends pt {
21610
+ const Kg = /* @__PURE__ */ new ee(), Qg = /* @__PURE__ */ new ee(), ev = /* @__PURE__ */ new Ye(), Uh = /* @__PURE__ */ new fs(), Ac = /* @__PURE__ */ new Fr();
21611
+ class $i extends pt {
21612
21612
  constructor(e = new et(), t = new pn()) {
21613
21613
  super(), this.type = "Line", this.geometry = e, this.material = t, this.updateMorphTargets();
21614
21614
  }
@@ -21693,9 +21693,9 @@ class ji extends pt {
21693
21693
  }
21694
21694
  }
21695
21695
  }
21696
- ji.prototype.isLine = !0;
21696
+ $i.prototype.isLine = !0;
21697
21697
  const tv = /* @__PURE__ */ new ee(), nv = /* @__PURE__ */ new ee();
21698
- class Nn extends ji {
21698
+ class Nn extends $i {
21699
21699
  constructor(e, t) {
21700
21700
  super(e, t), this.type = "LineSegments";
21701
21701
  }
@@ -21714,7 +21714,7 @@ class Nn extends ji {
21714
21714
  }
21715
21715
  }
21716
21716
  Nn.prototype.isLineSegments = !0;
21717
- class Hu extends ji {
21717
+ class Hu extends $i {
21718
21718
  constructor(e, t) {
21719
21719
  super(e, t), this.type = "LineLoop";
21720
21720
  }
@@ -21729,7 +21729,7 @@ class ms extends cn {
21729
21729
  }
21730
21730
  }
21731
21731
  ms.prototype.isPointsMaterial = !0;
21732
- const iv = /* @__PURE__ */ new Ye(), jd = /* @__PURE__ */ new fs(), _c = /* @__PURE__ */ new Rr(), Sc = /* @__PURE__ */ new ee();
21732
+ const iv = /* @__PURE__ */ new Ye(), jd = /* @__PURE__ */ new fs(), _c = /* @__PURE__ */ new Fr(), Sc = /* @__PURE__ */ new ee();
21733
21733
  class Ma extends pt {
21734
21734
  constructor(e = new et(), t = new ms()) {
21735
21735
  super(), this.type = "Points", this.geometry = e, this.material = t, this.updateMorphTargets();
@@ -21798,7 +21798,7 @@ function rv(n, e, t, i, r, s, o) {
21798
21798
  }
21799
21799
  class oM extends Qt {
21800
21800
  constructor(e, t, i, r, s, o, a, c, l) {
21801
- super(e, t, i, r, s, o, a, c, l), this.format = a !== void 0 ? a : pr, this.minFilter = o !== void 0 ? o : Wt, this.magFilter = s !== void 0 ? s : Wt, this.generateMipmaps = !1;
21801
+ super(e, t, i, r, s, o, a, c, l), this.format = a !== void 0 ? a : mr, this.minFilter = o !== void 0 ? o : Wt, this.magFilter = s !== void 0 ? s : Wt, this.generateMipmaps = !1;
21802
21802
  const h = this;
21803
21803
  function u() {
21804
21804
  h.needsUpdate = !0, e.requestVideoFrameCallback(u);
@@ -21932,7 +21932,7 @@ class qo extends ls {
21932
21932
  return new qo(e.radius, e.height, e.radialSegments, e.heightSegments, e.openEnded, e.thetaStart, e.thetaLength);
21933
21933
  }
21934
21934
  }
21935
- class $i extends et {
21935
+ class Zi extends et {
21936
21936
  constructor(e, t, i = 1, r = 0) {
21937
21937
  super(), this.type = "PolyhedronGeometry", this.parameters = {
21938
21938
  vertices: e,
@@ -22007,10 +22007,10 @@ class $i extends et {
22007
22007
  }
22008
22008
  }
22009
22009
  static fromJSON(e) {
22010
- return new $i(e.vertices, e.indices, e.radius, e.details);
22010
+ return new Zi(e.vertices, e.indices, e.radius, e.details);
22011
22011
  }
22012
22012
  }
22013
- class Jo extends $i {
22013
+ class Jo extends Zi {
22014
22014
  constructor(e = 1, t = 0) {
22015
22015
  const i = (1 + Math.sqrt(5)) / 2, r = 1 / i, s = [
22016
22016
  // (±1, ±1, ±1)
@@ -22945,7 +22945,7 @@ function mB(n, e, t, i) {
22945
22945
  r += (n[o] - n[s]) * (n[s + 1] + n[o + 1]), o = s;
22946
22946
  return r;
22947
22947
  }
22948
- class Vi {
22948
+ class Gi {
22949
22949
  // calculate area of the contour polygon
22950
22950
  static area(e) {
22951
22951
  const t = e.length;
@@ -22955,7 +22955,7 @@ class Vi {
22955
22955
  return i * 0.5;
22956
22956
  }
22957
22957
  static isClockWise(e) {
22958
- return Vi.area(e) < 0;
22958
+ return Gi.area(e) < 0;
22959
22959
  }
22960
22960
  static triangulateShape(e, t) {
22961
22961
  const i = [], r = [], s = [];
@@ -22978,7 +22978,7 @@ function lv(n, e) {
22978
22978
  for (let t = 0; t < e.length; t++)
22979
22979
  n.push(e[t].x), n.push(e[t].y);
22980
22980
  }
22981
- class _i extends et {
22981
+ class Si extends et {
22982
22982
  constructor(e, t) {
22983
22983
  super(), this.type = "ExtrudeGeometry", this.parameters = {
22984
22984
  shapes: e,
@@ -23000,14 +23000,14 @@ class _i extends et {
23000
23000
  const L = a.extractPoints(l);
23001
23001
  let I = L.shape;
23002
23002
  const S = L.holes;
23003
- if (!Vi.isClockWise(I)) {
23003
+ if (!Gi.isClockWise(I)) {
23004
23004
  I = I.reverse();
23005
23005
  for (let k = 0, j = S.length; k < j; k++) {
23006
23006
  const oe = S[k];
23007
- Vi.isClockWise(oe) && (S[k] = oe.reverse());
23007
+ Gi.isClockWise(oe) && (S[k] = oe.reverse());
23008
23008
  }
23009
23009
  }
23010
- const R = Vi.triangulateShape(I, S), A = I;
23010
+ const R = Gi.triangulateShape(I, S), A = I;
23011
23011
  for (let k = 0, j = S.length; k < j; k++) {
23012
23012
  const oe = S[k];
23013
23013
  I = I.concat(oe);
@@ -23164,7 +23164,7 @@ class _i extends et {
23164
23164
  i.push(a);
23165
23165
  }
23166
23166
  const r = e.options.extrudePath;
23167
- return r !== void 0 && (e.options.extrudePath = new up[r.type]().fromJSON(r)), new _i(i, e.options);
23167
+ return r !== void 0 && (e.options.extrudePath = new up[r.type]().fromJSON(r)), new Si(i, e.options);
23168
23168
  }
23169
23169
  }
23170
23170
  const gB = {
@@ -23201,7 +23201,7 @@ function vB(n, e, t) {
23201
23201
  t.shapes.push(n.uuid);
23202
23202
  return e.extrudePath !== void 0 && (t.options.extrudePath = e.extrudePath.toJSON()), t;
23203
23203
  }
23204
- class Ko extends $i {
23204
+ class Ko extends Zi {
23205
23205
  constructor(e = 1, t = 0) {
23206
23206
  const i = (1 + Math.sqrt(5)) / 2, r = [
23207
23207
  -1,
@@ -23340,7 +23340,7 @@ class Qo extends et {
23340
23340
  return new Qo(e.points, e.segments, e.phiStart, e.phiLength);
23341
23341
  }
23342
23342
  }
23343
- class $s extends $i {
23343
+ class $s extends Zi {
23344
23344
  constructor(e = 1, t = 0) {
23345
23345
  const i = [
23346
23346
  1,
@@ -23472,12 +23472,12 @@ class Zs extends et {
23472
23472
  const u = r.length / 3, f = h.extractPoints(t);
23473
23473
  let m = f.shape;
23474
23474
  const p = f.holes;
23475
- Vi.isClockWise(m) === !1 && (m = m.reverse());
23475
+ Gi.isClockWise(m) === !1 && (m = m.reverse());
23476
23476
  for (let y = 0, v = p.length; y < v; y++) {
23477
23477
  const g = p[y];
23478
- Vi.isClockWise(g) === !0 && (p[y] = g.reverse());
23478
+ Gi.isClockWise(g) === !0 && (p[y] = g.reverse());
23479
23479
  }
23480
- const d = Vi.triangulateShape(m, p);
23480
+ const d = Gi.triangulateShape(m, p);
23481
23481
  for (let y = 0, v = p.length; y < v; y++) {
23482
23482
  const g = p[y];
23483
23483
  m = m.concat(g);
@@ -23550,7 +23550,7 @@ class Xs extends et {
23550
23550
  return new Xs(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
23551
23551
  }
23552
23552
  }
23553
- class ta extends $i {
23553
+ class ta extends Zi {
23554
23554
  constructor(e = 1, t = 0) {
23555
23555
  const i = [
23556
23556
  1,
@@ -23588,7 +23588,7 @@ class ta extends $i {
23588
23588
  return new ta(e.radius, e.detail);
23589
23589
  }
23590
23590
  }
23591
- class fu extends _i {
23591
+ class fu extends Si {
23592
23592
  constructor(e, t = {}) {
23593
23593
  const i = t.font;
23594
23594
  if (!(i && i.isFont))
@@ -23752,8 +23752,8 @@ class hp extends et {
23752
23752
  }
23753
23753
  var cv = /* @__PURE__ */ Object.freeze({
23754
23754
  __proto__: null,
23755
- BoxGeometry: br,
23756
- BoxBufferGeometry: br,
23755
+ BoxGeometry: xr,
23756
+ BoxBufferGeometry: xr,
23757
23757
  CircleGeometry: Yo,
23758
23758
  CircleBufferGeometry: Yo,
23759
23759
  ConeGeometry: qo,
@@ -23763,8 +23763,8 @@ var cv = /* @__PURE__ */ Object.freeze({
23763
23763
  DodecahedronGeometry: Jo,
23764
23764
  DodecahedronBufferGeometry: Jo,
23765
23765
  EdgesGeometry: rp,
23766
- ExtrudeGeometry: _i,
23767
- ExtrudeBufferGeometry: _i,
23766
+ ExtrudeGeometry: Si,
23767
+ ExtrudeBufferGeometry: Si,
23768
23768
  IcosahedronGeometry: Ko,
23769
23769
  IcosahedronBufferGeometry: Ko,
23770
23770
  LatheGeometry: Qo,
@@ -23775,8 +23775,8 @@ var cv = /* @__PURE__ */ Object.freeze({
23775
23775
  ParametricBufferGeometry: du,
23776
23776
  PlaneGeometry: js,
23777
23777
  PlaneBufferGeometry: js,
23778
- PolyhedronGeometry: $i,
23779
- PolyhedronBufferGeometry: $i,
23778
+ PolyhedronGeometry: Zi,
23779
+ PolyhedronBufferGeometry: Zi,
23780
23780
  RingGeometry: ea,
23781
23781
  RingBufferGeometry: ea,
23782
23782
  ShapeGeometry: Zs,
@@ -23804,7 +23804,7 @@ class dp extends cn {
23804
23804
  }
23805
23805
  }
23806
23806
  dp.prototype.isShadowMaterial = !0;
23807
- class wa extends xr {
23807
+ class wa extends Mr {
23808
23808
  constructor(e) {
23809
23809
  super(e), this.type = "RawShaderMaterial";
23810
23810
  }
@@ -23900,7 +23900,7 @@ var bB = /* @__PURE__ */ Object.freeze({
23900
23900
  ShadowMaterial: dp,
23901
23901
  SpriteMaterial: Dl,
23902
23902
  RawShaderMaterial: wa,
23903
- ShaderMaterial: xr,
23903
+ ShaderMaterial: Mr,
23904
23904
  PointsMaterial: ms,
23905
23905
  MeshPhysicalMaterial: Gl,
23906
23906
  MeshStandardMaterial: eo,
@@ -24044,7 +24044,7 @@ const Ot = {
24044
24044
  return n.blendMode = jf, n;
24045
24045
  }
24046
24046
  };
24047
- class Zi {
24047
+ class Xi {
24048
24048
  constructor(e, t, i, r) {
24049
24049
  this.parameterPositions = e, this._cachedIndex = 0, this.resultBuffer = r !== void 0 ? r : new t.constructor(i), this.sampleValues = t, this.valueSize = i, this.settings = null, this.DefaultSettings_ = {};
24050
24050
  }
@@ -24112,9 +24112,9 @@ class Zi {
24112
24112
  intervalChanged_() {
24113
24113
  }
24114
24114
  }
24115
- Zi.prototype.beforeStart_ = Zi.prototype.copySampleValue_;
24116
- Zi.prototype.afterEnd_ = Zi.prototype.copySampleValue_;
24117
- class fM extends Zi {
24115
+ Xi.prototype.beforeStart_ = Xi.prototype.copySampleValue_;
24116
+ Xi.prototype.afterEnd_ = Xi.prototype.copySampleValue_;
24117
+ class fM extends Xi {
24118
24118
  constructor(e, t, i, r) {
24119
24119
  super(e, t, i, r), this._weightPrev = -0, this._offsetPrev = -0, this._weightNext = -0, this._offsetNext = -0, this.DefaultSettings_ = {
24120
24120
  endingStart: Fs,
@@ -24156,7 +24156,7 @@ class fM extends Zi {
24156
24156
  return s;
24157
24157
  }
24158
24158
  }
24159
- class bp extends Zi {
24159
+ class bp extends Xi {
24160
24160
  constructor(e, t, i, r) {
24161
24161
  super(e, t, i, r);
24162
24162
  }
@@ -24167,7 +24167,7 @@ class bp extends Zi {
24167
24167
  return s;
24168
24168
  }
24169
24169
  }
24170
- class pM extends Zi {
24170
+ class pM extends Xi {
24171
24171
  constructor(e, t, i, r) {
24172
24172
  super(e, t, i, r);
24173
24173
  }
@@ -24175,7 +24175,7 @@ class pM extends Zi {
24175
24175
  return this.copySampleValue_(e - 1);
24176
24176
  }
24177
24177
  }
24178
- class Ei {
24178
+ class Ci {
24179
24179
  constructor(e, t, i, r) {
24180
24180
  if (e === void 0) throw new Error("THREE.KeyframeTrack: track name is undefined");
24181
24181
  if (t === void 0 || t.length === 0) throw new Error("THREE.KeyframeTrack: no keyframes in track named " + e);
@@ -24353,23 +24353,23 @@ class Ei {
24353
24353
  return r.createInterpolant = this.createInterpolant, r;
24354
24354
  }
24355
24355
  }
24356
- Ei.prototype.TimeBufferType = Float32Array;
24357
- Ei.prototype.ValueBufferType = Float32Array;
24358
- Ei.prototype.DefaultInterpolation = Hs;
24359
- class to extends Ei {
24356
+ Ci.prototype.TimeBufferType = Float32Array;
24357
+ Ci.prototype.ValueBufferType = Float32Array;
24358
+ Ci.prototype.DefaultInterpolation = Hs;
24359
+ class to extends Ci {
24360
24360
  }
24361
24361
  to.prototype.ValueTypeName = "bool";
24362
24362
  to.prototype.ValueBufferType = Array;
24363
24363
  to.prototype.DefaultInterpolation = jo;
24364
24364
  to.prototype.InterpolantFactoryMethodLinear = void 0;
24365
24365
  to.prototype.InterpolantFactoryMethodSmooth = void 0;
24366
- class xp extends Ei {
24366
+ class xp extends Ci {
24367
24367
  }
24368
24368
  xp.prototype.ValueTypeName = "color";
24369
- class sa extends Ei {
24369
+ class sa extends Ci {
24370
24370
  }
24371
24371
  sa.prototype.ValueTypeName = "number";
24372
- class mM extends Zi {
24372
+ class mM extends Xi {
24373
24373
  constructor(e, t, i, r) {
24374
24374
  super(e, t, i, r);
24375
24375
  }
@@ -24381,7 +24381,7 @@ class mM extends Zi {
24381
24381
  return s;
24382
24382
  }
24383
24383
  }
24384
- class no extends Ei {
24384
+ class no extends Ci {
24385
24385
  InterpolantFactoryMethodLinear(e) {
24386
24386
  return new mM(this.times, this.values, this.getValueSize(), e);
24387
24387
  }
@@ -24389,14 +24389,14 @@ class no extends Ei {
24389
24389
  no.prototype.ValueTypeName = "quaternion";
24390
24390
  no.prototype.DefaultInterpolation = Hs;
24391
24391
  no.prototype.InterpolantFactoryMethodSmooth = void 0;
24392
- class io extends Ei {
24392
+ class io extends Ci {
24393
24393
  }
24394
24394
  io.prototype.ValueTypeName = "string";
24395
24395
  io.prototype.ValueBufferType = Array;
24396
24396
  io.prototype.DefaultInterpolation = jo;
24397
24397
  io.prototype.InterpolantFactoryMethodLinear = void 0;
24398
24398
  io.prototype.InterpolantFactoryMethodSmooth = void 0;
24399
- class oa extends Ei {
24399
+ class oa extends Ci {
24400
24400
  }
24401
24401
  oa.prototype.ValueTypeName = "vector";
24402
24402
  class aa {
@@ -24419,7 +24419,7 @@ class aa {
24419
24419
  blendMode: e.blendMode
24420
24420
  };
24421
24421
  for (let s = 0, o = i.length; s !== o; ++s)
24422
- t.push(Ei.toJSON(i[s]));
24422
+ t.push(Ci.toJSON(i[s]));
24423
24423
  return r;
24424
24424
  }
24425
24425
  static CreateFromMorphTargetSequence(e, t, i, r) {
@@ -24894,7 +24894,7 @@ class yM extends Tn {
24894
24894
  const s = this, o = new ks(), a = new ti(this.manager);
24895
24895
  return a.setResponseType("arraybuffer"), a.setRequestHeader(this.requestHeader), a.setPath(this.path), a.setWithCredentials(s.withCredentials), a.load(e, function(c) {
24896
24896
  const l = s.parse(c);
24897
- l && (l.image !== void 0 ? o.image = l.image : l.data !== void 0 && (o.image.width = l.width, o.image.height = l.height, o.image.data = l.data), o.wrapS = l.wrapS !== void 0 ? l.wrapS : yn, o.wrapT = l.wrapT !== void 0 ? l.wrapT : yn, o.magFilter = l.magFilter !== void 0 ? l.magFilter : Wt, o.minFilter = l.minFilter !== void 0 ? l.minFilter : Wt, o.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.encoding !== void 0 && (o.encoding = l.encoding), l.flipY !== void 0 && (o.flipY = l.flipY), l.format !== void 0 && (o.format = l.format), l.type !== void 0 && (o.type = l.type), l.mipmaps !== void 0 && (o.mipmaps = l.mipmaps, o.minFilter = Lr), l.mipmapCount === 1 && (o.minFilter = Wt), l.generateMipmaps !== void 0 && (o.generateMipmaps = l.generateMipmaps), o.needsUpdate = !0, t && t(o, l));
24897
+ l && (l.image !== void 0 ? o.image = l.image : l.data !== void 0 && (o.image.width = l.width, o.image.height = l.height, o.image.data = l.data), o.wrapS = l.wrapS !== void 0 ? l.wrapS : yn, o.wrapT = l.wrapT !== void 0 ? l.wrapT : yn, o.magFilter = l.magFilter !== void 0 ? l.magFilter : Wt, o.minFilter = l.minFilter !== void 0 ? l.minFilter : Wt, o.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.encoding !== void 0 && (o.encoding = l.encoding), l.flipY !== void 0 && (o.flipY = l.flipY), l.format !== void 0 && (o.format = l.format), l.type !== void 0 && (o.type = l.type), l.mipmaps !== void 0 && (o.mipmaps = l.mipmaps, o.minFilter = Rr), l.mipmapCount === 1 && (o.minFilter = Wt), l.generateMipmaps !== void 0 && (o.generateMipmaps = l.generateMipmaps), o.needsUpdate = !0, t && t(o, l));
24898
24898
  }, i, r), o;
24899
24899
  }
24900
24900
  }
@@ -24907,7 +24907,7 @@ class wp extends Tn {
24907
24907
  return o.setCrossOrigin(this.crossOrigin), o.setPath(this.path), o.load(e, function(a) {
24908
24908
  s.image = a;
24909
24909
  const c = e.search(/\.jpe?g($|\?)/i) > 0 || e.search(/^data\:image\/jpeg/) === 0;
24910
- s.format = c ? pr : Jn, s.needsUpdate = !0, t !== void 0 && t(s);
24910
+ s.format = c ? mr : Jn, s.needsUpdate = !0, t !== void 0 && t(s);
24911
24911
  }, i, r), s;
24912
24912
  }
24913
24913
  }
@@ -25127,7 +25127,7 @@ class Kr extends gl {
25127
25127
  return this;
25128
25128
  }
25129
25129
  }
25130
- class Si extends pt {
25130
+ class Ti extends pt {
25131
25131
  constructor(e, t = 1) {
25132
25132
  super(), this.type = "Light", this.color = new ke(e), this.intensity = t;
25133
25133
  }
@@ -25141,13 +25141,13 @@ class Si extends pt {
25141
25141
  return t.object.color = this.color.getHex(), t.object.intensity = this.intensity, this.groundColor !== void 0 && (t.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (t.object.distance = this.distance), this.angle !== void 0 && (t.object.angle = this.angle), this.decay !== void 0 && (t.object.decay = this.decay), this.penumbra !== void 0 && (t.object.penumbra = this.penumbra), this.shadow !== void 0 && (t.object.shadow = this.shadow.toJSON()), t;
25142
25142
  }
25143
25143
  }
25144
- Si.prototype.isLight = !0;
25145
- class Ap extends Si {
25144
+ Ti.prototype.isLight = !0;
25145
+ class Ap extends Ti {
25146
25146
  constructor(e, t, i) {
25147
25147
  super(e, i), this.type = "HemisphereLight", this.position.copy(pt.DefaultUp), this.updateMatrix(), this.groundColor = new ke(t);
25148
25148
  }
25149
25149
  copy(e) {
25150
- return Si.prototype.copy.call(this, e), this.groundColor.copy(e.groundColor), this;
25150
+ return Ti.prototype.copy.call(this, e), this.groundColor.copy(e.groundColor), this;
25151
25151
  }
25152
25152
  }
25153
25153
  Ap.prototype.isHemisphereLight = !0;
@@ -25218,7 +25218,7 @@ class xM extends _p {
25218
25218
  }
25219
25219
  }
25220
25220
  xM.prototype.isSpotLightShadow = !0;
25221
- class Xu extends Si {
25221
+ class Xu extends Ti {
25222
25222
  constructor(e, t, i = 0, r = Math.PI / 3, s = 0, o = 1) {
25223
25223
  super(e, t), this.type = "SpotLight", this.position.copy(pt.DefaultUp), this.updateMatrix(), this.target = new pt(), this.distance = i, this.angle = r, this.penumbra = s, this.decay = o, this.shadow = new xM();
25224
25224
  }
@@ -25286,7 +25286,7 @@ class MM extends _p {
25286
25286
  }
25287
25287
  }
25288
25288
  MM.prototype.isPointLightShadow = !0;
25289
- class Yu extends Si {
25289
+ class Yu extends Ti {
25290
25290
  constructor(e, t, i = 0, r = 1) {
25291
25291
  super(e, t), this.type = "PointLight", this.distance = i, this.decay = r, this.shadow = new MM();
25292
25292
  }
@@ -25346,7 +25346,7 @@ class wM extends _p {
25346
25346
  }
25347
25347
  }
25348
25348
  wM.prototype.isDirectionalLightShadow = !0;
25349
- class qu extends Si {
25349
+ class qu extends Ti {
25350
25350
  constructor(e, t) {
25351
25351
  super(e, t), this.type = "DirectionalLight", this.position.copy(pt.DefaultUp), this.updateMatrix(), this.target = new pt(), this.shadow = new wM();
25352
25352
  }
@@ -25358,13 +25358,13 @@ class qu extends Si {
25358
25358
  }
25359
25359
  }
25360
25360
  qu.prototype.isDirectionalLight = !0;
25361
- class Sp extends Si {
25361
+ class Sp extends Ti {
25362
25362
  constructor(e, t) {
25363
25363
  super(e, t), this.type = "AmbientLight";
25364
25364
  }
25365
25365
  }
25366
25366
  Sp.prototype.isAmbientLight = !0;
25367
- class Tp extends Si {
25367
+ class Tp extends Ti {
25368
25368
  constructor(e, t, i = 10, r = 10) {
25369
25369
  super(e, t), this.type = "RectAreaLight", this.width = i, this.height = r;
25370
25370
  }
@@ -25458,7 +25458,7 @@ class Ep {
25458
25458
  }
25459
25459
  }
25460
25460
  Ep.prototype.isSphericalHarmonics3 = !0;
25461
- class Hl extends Si {
25461
+ class Hl extends Ti {
25462
25462
  constructor(e = new Ep(), t = 1) {
25463
25463
  super(void 0, t), this.sh = e;
25464
25464
  }
@@ -25536,7 +25536,7 @@ class AM extends Tn {
25536
25536
  return this.textures = e, this;
25537
25537
  }
25538
25538
  }
25539
- class mr {
25539
+ class gr {
25540
25540
  static decodeText(e) {
25541
25541
  if (typeof TextDecoder < "u")
25542
25542
  return new TextDecoder().decode(e);
@@ -25620,7 +25620,7 @@ class _M extends Tn {
25620
25620
  let d;
25621
25621
  if (p.isInterleavedBufferAttribute) {
25622
25622
  const y = r(e.data, p.data);
25623
- d = new Mr(y, p.itemSize, p.offset, p.normalized);
25623
+ d = new wr(y, p.itemSize, p.offset, p.normalized);
25624
25624
  } else {
25625
25625
  const y = Ro(p.type, p.array), v = p.isInstancedBufferAttribute ? Lp : ht;
25626
25626
  d = new v(y, p.itemSize, p.normalized);
@@ -25636,7 +25636,7 @@ class _M extends Tn {
25636
25636
  let M;
25637
25637
  if (g.isInterleavedBufferAttribute) {
25638
25638
  const w = r(e.data, g.data);
25639
- M = new Mr(w, g.itemSize, g.offset, g.normalized);
25639
+ M = new wr(w, g.itemSize, g.offset, g.normalized);
25640
25640
  } else {
25641
25641
  const w = Ro(g.type, g.array);
25642
25642
  M = new ht(w, g.itemSize, g.normalized);
@@ -25655,7 +25655,7 @@ class _M extends Tn {
25655
25655
  const f = e.data.boundingSphere;
25656
25656
  if (f !== void 0) {
25657
25657
  const m = new ee();
25658
- f.center !== void 0 && m.fromArray(f.center), o.boundingSphere = new Rr(m, f.radius);
25658
+ f.center !== void 0 && m.fromArray(f.center), o.boundingSphere = new Fr(m, f.radius);
25659
25659
  }
25660
25660
  return e.name && (o.name = e.name), e.userData && (o.userData = e.userData), o;
25661
25661
  }
@@ -25665,7 +25665,7 @@ class _B extends Tn {
25665
25665
  super(e);
25666
25666
  }
25667
25667
  load(e, t, i, r) {
25668
- const s = this, o = this.path === "" ? mr.extractUrlBase(e) : this.path;
25668
+ const s = this, o = this.path === "" ? gr.extractUrlBase(e) : this.path;
25669
25669
  this.resourcePath = this.resourcePath || o;
25670
25670
  const a = new ti(this.manager);
25671
25671
  a.setPath(this.path), a.setRequestHeader(this.requestHeader), a.setWithCredentials(this.withCredentials), a.load(e, function(c) {
@@ -25685,7 +25685,7 @@ class _B extends Tn {
25685
25685
  }, i, r);
25686
25686
  }
25687
25687
  async loadAsync(e, t) {
25688
- const i = this, r = this.path === "" ? mr.extractUrlBase(e) : this.path;
25688
+ const i = this, r = this.path === "" ? gr.extractUrlBase(e) : this.path;
25689
25689
  this.resourcePath = this.resourcePath || r;
25690
25690
  const s = new ti(this.manager);
25691
25691
  s.setPath(this.path), s.setRequestHeader(this.requestHeader), s.setWithCredentials(this.withCredentials);
@@ -25940,7 +25940,7 @@ class _B extends Tn {
25940
25940
  o = new sM();
25941
25941
  break;
25942
25942
  case "Line":
25943
- o = new ji(a(e.geometry), c(e.material));
25943
+ o = new $i(a(e.geometry), c(e.material));
25944
25944
  break;
25945
25945
  case "LineLoop":
25946
25946
  o = new Hu(a(e.geometry), c(e.material));
@@ -25956,7 +25956,7 @@ class _B extends Tn {
25956
25956
  o = new Nl(c(e.material));
25957
25957
  break;
25958
25958
  case "Group":
25959
- o = new Di();
25959
+ o = new Ni();
25960
25960
  break;
25961
25961
  case "Bone":
25962
25962
  o = new Ul();
@@ -26017,7 +26017,7 @@ const SB = {
26017
26017
  NearestMipmapLinearFilter: ll,
26018
26018
  LinearFilter: Wt,
26019
26019
  LinearMipmapNearestFilter: Pu,
26020
- LinearMipmapLinearFilter: Lr
26020
+ LinearMipmapLinearFilter: Rr
26021
26021
  };
26022
26022
  class Rp extends Tn {
26023
26023
  constructor(e) {
@@ -26096,7 +26096,7 @@ class SM {
26096
26096
  }
26097
26097
  return _;
26098
26098
  }
26099
- const s = Vi.isClockWise, o = this.subPaths;
26099
+ const s = Gi.isClockWise, o = this.subPaths;
26100
26100
  if (o.length === 0) return [];
26101
26101
  if (t === !0) return i(o);
26102
26102
  let a, c, l;
@@ -27827,7 +27827,7 @@ class ZB extends pt {
27827
27827
  this.cone.scale.set(t, t, e), _v.setFromMatrixPosition(this.light.target.matrixWorld), this.cone.lookAt(_v), this.color !== void 0 ? this.cone.material.color.set(this.color) : this.cone.material.color.copy(this.light.color);
27828
27828
  }
27829
27829
  }
27830
- const zr = /* @__PURE__ */ new ee(), Oc = /* @__PURE__ */ new Ye(), Wh = /* @__PURE__ */ new Ye();
27830
+ const Vr = /* @__PURE__ */ new ee(), Oc = /* @__PURE__ */ new Ye(), Wh = /* @__PURE__ */ new Ye();
27831
27831
  class UM extends Nn {
27832
27832
  constructor(e) {
27833
27833
  const t = kM(e), i = new et(), r = [], s = [], o = new ke(0, 0, 1), a = new ke(0, 1, 0);
@@ -27844,7 +27844,7 @@ class UM extends Nn {
27844
27844
  Wh.copy(this.root.matrixWorld).invert();
27845
27845
  for (let s = 0, o = 0; s < t.length; s++) {
27846
27846
  const a = t[s];
27847
- a.parent && a.parent.isBone && (Oc.multiplyMatrices(Wh, a.matrixWorld), zr.setFromMatrixPosition(Oc), r.setXYZ(o, zr.x, zr.y, zr.z), Oc.multiplyMatrices(Wh, a.parent.matrixWorld), zr.setFromMatrixPosition(Oc), r.setXYZ(o + 1, zr.x, zr.y, zr.z), o += 2);
27847
+ a.parent && a.parent.isBone && (Oc.multiplyMatrices(Wh, a.matrixWorld), Vr.setFromMatrixPosition(Oc), r.setXYZ(o, Vr.x, Vr.y, Vr.z), Oc.multiplyMatrices(Wh, a.parent.matrixWorld), Vr.setFromMatrixPosition(Oc), r.setXYZ(o + 1, Vr.x, Vr.y, Vr.z), o += 2);
27848
27848
  }
27849
27849
  i.getAttribute("position").needsUpdate = !0, super.updateMatrixWorld(e);
27850
27850
  }
@@ -27957,7 +27957,7 @@ class KB extends pt {
27957
27957
  0
27958
27958
  ], 3));
27959
27959
  const s = new pn({ fog: !1, toneMapped: !1 });
27960
- this.lightPlane = new ji(r, s), this.add(this.lightPlane), r = new et(), r.setAttribute("position", new Ze([0, 0, 0, 0, 0, 1], 3)), this.targetLine = new ji(r, s), this.add(this.targetLine), this.update();
27960
+ this.lightPlane = new $i(r, s), this.add(this.lightPlane), r = new et(), r.setAttribute("position", new Ze([0, 0, 0, 0, 0, 1], 3)), this.targetLine = new $i(r, s), this.add(this.targetLine), this.update();
27961
27961
  }
27962
27962
  dispose() {
27963
27963
  this.lightPlane.geometry.dispose(), this.lightPlane.material.dispose(), this.targetLine.geometry.dispose(), this.targetLine.material.dispose();
@@ -28024,7 +28024,7 @@ class e4 extends Nn {
28024
28024
  t.isEmpty() || (t.getCenter(this.position), t.getSize(this.scale), this.scale.multiplyScalar(0.5), super.updateMatrixWorld(e));
28025
28025
  }
28026
28026
  }
28027
- class t4 extends ji {
28027
+ class t4 extends $i {
28028
28028
  constructor(e, t = 1, i = 16776960) {
28029
28029
  const r = i, s = [1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0], o = new et();
28030
28030
  o.setAttribute("position", new Ze(s, 3)), o.computeBoundingSphere(), super(o, new pn({ color: r, toneMapped: !1 })), this.type = "PlaneHelper", this.plane = e, this.size = t;
@@ -28041,7 +28041,7 @@ let Uc, jh;
28041
28041
  class n4 extends pt {
28042
28042
  // dir is assumed to be normalized
28043
28043
  constructor(e = new ee(0, 0, 1), t = new ee(0, 0, 0), i = 1, r = 16776960, s = i * 0.2, o = s * 0.2) {
28044
- super(), this.type = "ArrowHelper", Uc === void 0 && (Uc = new et(), Uc.setAttribute("position", new Ze([0, 0, 0, 0, 1, 0], 3)), jh = new ls(0, 0.5, 1, 5, 1), jh.translate(0, -0.5, 0)), this.position.copy(t), this.line = new ji(Uc, new pn({ color: r, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new Kt(jh, new Un({ color: r, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(i, s, o);
28044
+ super(), this.type = "ArrowHelper", Uc === void 0 && (Uc = new et(), Uc.setAttribute("position", new Ze([0, 0, 0, 0, 1, 0], 3)), jh = new ls(0, 0.5, 1, 5, 1), jh.translate(0, -0.5, 0)), this.position.copy(t), this.line = new $i(Uc, new pn({ color: r, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new Kt(jh, new Un({ color: r, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(i, s, o);
28045
28045
  }
28046
28046
  setDirection(e) {
28047
28047
  if (e.y > 0.99999)
@@ -28128,7 +28128,7 @@ class r4 {
28128
28128
  return s < 103 ? i : s > 142 ? (i |= 31744, i |= (s == 255 ? 0 : 1) && t & 8388607, i) : s < 113 ? (r |= 2048, i |= (r >> 114 - s) + (r >> 113 - s & 1), i) : (i |= s - 112 << 10 | r >> 1, i += r & 1, i);
28129
28129
  }
28130
28130
  }
28131
- const Do = 4, Qr = 8, Ri = Math.pow(2, Qr), WM = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], jM = Qr - Do + 1 + WM.length, _o = 20, Ni = {
28131
+ const Do = 4, Qr = 8, Fi = Math.pow(2, Qr), WM = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], jM = Qr - Do + 1 + WM.length, _o = 20, Bi = {
28132
28132
  [On]: 0,
28133
28133
  [Ws]: 1,
28134
28134
  [Du]: 2,
@@ -28140,7 +28140,7 @@ const Do = 4, Qr = 8, Ri = Math.pow(2, Qr), WM = [0.125, 0.215, 0.35, 0.446, 0.5
28140
28140
  side: Yt,
28141
28141
  depthWrite: !1,
28142
28142
  depthTest: !1
28143
- }), s4 = new Kt(new br(), Ts), $h = /* @__PURE__ */ new Aa(), { _lodPlanes: ka, _sizeLods: Rv, _sigmas: kc } = /* @__PURE__ */ l4(), Fv = /* @__PURE__ */ new ke();
28143
+ }), s4 = new Kt(new xr(), Ts), $h = /* @__PURE__ */ new Aa(), { _lodPlanes: ka, _sizeLods: Rv, _sigmas: kc } = /* @__PURE__ */ l4(), Fv = /* @__PURE__ */ new ke();
28144
28144
  let Zh = null;
28145
28145
  const Es = (1 + Math.sqrt(5)) / 2, So = 1 / Es, Pv = [
28146
28146
  /* @__PURE__ */ new ee(1, 1, 1),
@@ -28259,10 +28259,10 @@ class o4 {
28259
28259
  const v = y % 3;
28260
28260
  v == 0 ? (a.up.set(0, c[y], 0), a.lookAt(l[y], 0, 0)) : v == 1 ? (a.up.set(0, 0, c[y]), a.lookAt(0, l[y], 0)) : (a.up.set(0, c[y], 0), a.lookAt(0, 0, l[y])), zc(
28261
28261
  r,
28262
- v * Ri,
28263
- y > 2 ? Ri : 0,
28264
- Ri,
28265
- Ri
28262
+ v * Fi,
28263
+ y > 2 ? Fi : 0,
28264
+ Fi,
28265
+ Fi
28266
28266
  ), h.setRenderTarget(r), p && h.render(s4, a), h.render(e, a);
28267
28267
  }
28268
28268
  h.toneMapping = m, h.outputEncoding = f, h.autoClear = u;
@@ -28271,7 +28271,7 @@ class o4 {
28271
28271
  const i = this._renderer;
28272
28272
  e.isCubeTexture ? this._cubemapShader == null && (this._cubemapShader = Nv()) : this._equirectShader == null && (this._equirectShader = Dv());
28273
28273
  const r = e.isCubeTexture ? this._cubemapShader : this._equirectShader, s = new Kt(ka[0], r), o = r.uniforms;
28274
- o.envMap.value = e, e.isCubeTexture || o.texelSize.value.set(1 / e.image.width, 1 / e.image.height), o.inputEncoding.value = Ni[e.encoding], o.outputEncoding.value = Ni[t.texture.encoding], zc(t, 0, 0, 3 * Ri, 2 * Ri), i.setRenderTarget(t), i.render(s, $h);
28274
+ o.envMap.value = e, e.isCubeTexture || o.texelSize.value.set(1 / e.image.width, 1 / e.image.height), o.inputEncoding.value = Bi[e.encoding], o.outputEncoding.value = Bi[t.texture.encoding], zc(t, 0, 0, 3 * Fi, 2 * Fi), i.setRenderTarget(t), i.render(s, $h);
28275
28275
  }
28276
28276
  _applyPMREM(e) {
28277
28277
  const t = this._renderer, i = t.autoClear;
@@ -28324,8 +28324,8 @@ class o4 {
28324
28324
  }
28325
28325
  for (let x = 0; x < v.length; x++)
28326
28326
  v[x] = v[x] / g;
28327
- f.envMap.value = e.texture, f.samples.value = y, f.weights.value = v, f.latitudinal.value = o === "latitudinal", a && (f.poleAxis.value = a), f.dTheta.value = p, f.mipInt.value = Qr - i, f.inputEncoding.value = Ni[e.texture.encoding], f.outputEncoding.value = Ni[e.texture.encoding];
28328
- const M = Rv[r], w = 3 * Math.max(0, Ri - 2 * M), _ = (r === 0 ? 0 : 2 * Ri) + 2 * M * (r > Qr - Do ? r - Qr + Do : 0);
28327
+ f.envMap.value = e.texture, f.samples.value = y, f.weights.value = v, f.latitudinal.value = o === "latitudinal", a && (f.poleAxis.value = a), f.dTheta.value = p, f.mipInt.value = Qr - i, f.inputEncoding.value = Bi[e.texture.encoding], f.outputEncoding.value = Bi[e.texture.encoding];
28328
+ const M = Rv[r], w = 3 * Math.max(0, Fi - 2 * M), _ = (r === 0 ? 0 : 2 * Fi) + 2 * M * (r > Qr - Do ? r - Qr + Do : 0);
28329
28329
  zc(t, w, _, 3 * M, 2 * M), c.setRenderTarget(t), c.render(u, $h);
28330
28330
  }
28331
28331
  }
@@ -28372,7 +28372,7 @@ function l4() {
28372
28372
  return { _lodPlanes: n, _sizeLods: e, _sigmas: t };
28373
28373
  }
28374
28374
  function Ov(n) {
28375
- const e = new wi(3 * Ri, 3 * Ri, n);
28375
+ const e = new Ai(3 * Fi, 3 * Fi, n);
28376
28376
  return e.texture.mapping = ya, e.texture.name = "PMREM.cubeUv", e.scissorTest = !0, e;
28377
28377
  }
28378
28378
  function zc(n, e, t, i, r) {
@@ -28391,8 +28391,8 @@ function c4(n) {
28391
28391
  dTheta: { value: 0 },
28392
28392
  mipInt: { value: 0 },
28393
28393
  poleAxis: { value: t },
28394
- inputEncoding: { value: Ni[On] },
28395
- outputEncoding: { value: Ni[On] }
28394
+ inputEncoding: { value: Bi[On] },
28395
+ outputEncoding: { value: Bi[On] }
28396
28396
  },
28397
28397
  vertexShader: Np(),
28398
28398
  fragmentShader: (
@@ -28463,7 +28463,7 @@ function c4(n) {
28463
28463
  }
28464
28464
  `
28465
28465
  ),
28466
- blending: fr,
28466
+ blending: pr,
28467
28467
  depthTest: !1,
28468
28468
  depthWrite: !1
28469
28469
  });
@@ -28475,8 +28475,8 @@ function Dv() {
28475
28475
  uniforms: {
28476
28476
  envMap: { value: null },
28477
28477
  texelSize: { value: n },
28478
- inputEncoding: { value: Ni[On] },
28479
- outputEncoding: { value: Ni[On] }
28478
+ inputEncoding: { value: Bi[On] },
28479
+ outputEncoding: { value: Bi[On] }
28480
28480
  },
28481
28481
  vertexShader: Np(),
28482
28482
  fragmentShader: (
@@ -28521,7 +28521,7 @@ function Dv() {
28521
28521
  }
28522
28522
  `
28523
28523
  ),
28524
- blending: fr,
28524
+ blending: pr,
28525
28525
  depthTest: !1,
28526
28526
  depthWrite: !1
28527
28527
  });
@@ -28531,8 +28531,8 @@ function Nv() {
28531
28531
  name: "CubemapToCubeUV",
28532
28532
  uniforms: {
28533
28533
  envMap: { value: null },
28534
- inputEncoding: { value: Ni[On] },
28535
- outputEncoding: { value: Ni[On] }
28534
+ inputEncoding: { value: Bi[On] },
28535
+ outputEncoding: { value: Bi[On] }
28536
28536
  },
28537
28537
  vertexShader: Np(),
28538
28538
  fragmentShader: (
@@ -28557,7 +28557,7 @@ function Nv() {
28557
28557
  }
28558
28558
  `
28559
28559
  ),
28560
- blending: fr,
28560
+ blending: pr,
28561
28561
  depthTest: !1,
28562
28562
  depthWrite: !1
28563
28563
  });
@@ -28796,7 +28796,7 @@ function B4(n, e) {
28796
28796
  return console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead."), new Nn(new hp(n.geometry), new pn({ color: e !== void 0 ? e : 16777215 }));
28797
28797
  }
28798
28798
  Tn.prototype.extractUrlBase = function(n) {
28799
- return console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead."), mr.extractUrlBase(n);
28799
+ return console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead."), gr.extractUrlBase(n);
28800
28800
  };
28801
28801
  Tn.Handlers = {
28802
28802
  add: function() {
@@ -28839,7 +28839,7 @@ Gn.prototype.isIntersectionSphere = function(n) {
28839
28839
  Gn.prototype.size = function(n) {
28840
28840
  return console.warn("THREE.Box3: .size() has been renamed to .getSize()."), this.getSize(n);
28841
28841
  };
28842
- Rr.prototype.empty = function() {
28842
+ Fr.prototype.empty = function() {
28843
28843
  return console.warn("THREE.Sphere: .empty() has been renamed to .isEmpty()."), this.isEmpty();
28844
28844
  };
28845
28845
  Pl.prototype.setFromMatrix = function(n) {
@@ -28923,7 +28923,7 @@ Ye.prototype.makeFrustum = function(n, e, t, i, r, s) {
28923
28923
  Ye.prototype.getInverse = function(n) {
28924
28924
  return console.warn("THREE.Matrix4: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."), this.copy(n).invert();
28925
28925
  };
28926
- Pi.prototype.isIntersectionLine = function(n) {
28926
+ Ii.prototype.isIntersectionLine = function(n) {
28927
28927
  return console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine()."), this.intersectsLine(n);
28928
28928
  };
28929
28929
  Sn.prototype.multiplyVector3 = function(n) {
@@ -28966,7 +28966,7 @@ Kr.prototype.extractAllPoints = function(n) {
28966
28966
  return console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead."), this.extractPoints(n);
28967
28967
  };
28968
28968
  Kr.prototype.extrude = function(n) {
28969
- return console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead."), new _i(this, n);
28969
+ return console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead."), new Si(this, n);
28970
28970
  };
28971
28971
  Kr.prototype.makeGeometry = function(n) {
28972
28972
  return console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead."), new Zs(this, n);
@@ -29065,7 +29065,7 @@ Bl.prototype.initBones = function() {
29065
29065
  un.prototype.setLens = function(n, e) {
29066
29066
  console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup."), e !== void 0 && (this.filmGauge = e), this.setFocalLength(n);
29067
29067
  };
29068
- Object.defineProperties(Si.prototype, {
29068
+ Object.defineProperties(Ti.prototype, {
29069
29069
  onlyShadow: {
29070
29070
  set: function() {
29071
29071
  console.warn("THREE.Light: .onlyShadow has been removed.");
@@ -29194,13 +29194,13 @@ ps.prototype.setDynamic = function(n) {
29194
29194
  ps.prototype.setArray = function() {
29195
29195
  console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers");
29196
29196
  };
29197
- _i.prototype.getArrays = function() {
29197
+ Si.prototype.getArrays = function() {
29198
29198
  console.error("THREE.ExtrudeGeometry: .getArrays() has been removed.");
29199
29199
  };
29200
- _i.prototype.addShapeList = function() {
29200
+ Si.prototype.addShapeList = function() {
29201
29201
  console.error("THREE.ExtrudeGeometry: .addShapeList() has been removed.");
29202
29202
  };
29203
- _i.prototype.addShape = function() {
29203
+ Si.prototype.addShape = function() {
29204
29204
  console.error("THREE.ExtrudeGeometry: .addShape() has been removed.");
29205
29205
  };
29206
29206
  Gu.prototype.dispose = function() {
@@ -29248,7 +29248,7 @@ Object.defineProperties(cn.prototype, {
29248
29248
  }
29249
29249
  }
29250
29250
  });
29251
- Object.defineProperties(xr.prototype, {
29251
+ Object.defineProperties(Mr.prototype, {
29252
29252
  derivatives: {
29253
29253
  get: function() {
29254
29254
  return console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives."), this.extensions.derivatives;
@@ -29422,7 +29422,7 @@ Object.defineProperties(tM.prototype, {
29422
29422
  function z4(n, e, t) {
29423
29423
  return console.warn("THREE.WebGLRenderTargetCube( width, height, options ) is now WebGLCubeRenderTarget( size, options )."), new ku(n, t);
29424
29424
  }
29425
- Object.defineProperties(wi.prototype, {
29425
+ Object.defineProperties(Ai.prototype, {
29426
29426
  wrapS: {
29427
29427
  get: function() {
29428
29428
  return console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS."), this.texture.wrapS;
@@ -29602,8 +29602,8 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29602
29602
  Box2: _a,
29603
29603
  Box3: Gn,
29604
29604
  Box3Helper: e4,
29605
- BoxBufferGeometry: br,
29606
- BoxGeometry: br,
29605
+ BoxBufferGeometry: xr,
29606
+ BoxGeometry: xr,
29607
29607
  BoxHelper: VM,
29608
29608
  BufferAttribute: ht,
29609
29609
  BufferGeometry: et,
@@ -29679,8 +29679,8 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29679
29679
  EquirectangularRefractionMapping: hu,
29680
29680
  Euler: Qs,
29681
29681
  EventDispatcher: ds,
29682
- ExtrudeBufferGeometry: _i,
29683
- ExtrudeGeometry: _i,
29682
+ ExtrudeBufferGeometry: Si,
29683
+ ExtrudeGeometry: Si,
29684
29684
  FaceColors: f4,
29685
29685
  FileLoader: ti,
29686
29686
  FlatShading: Gf,
@@ -29689,7 +29689,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29689
29689
  Float32BufferAttribute: Ze,
29690
29690
  Float64Attribute: I4,
29691
29691
  Float64BufferAttribute: Wx,
29692
- FloatType: ur,
29692
+ FloatType: hr,
29693
29693
  Fog: Ol,
29694
29694
  FogExp2: Il,
29695
29695
  Font: Fp,
@@ -29705,7 +29705,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29705
29705
  GreaterEqualStencilFunc: tP,
29706
29706
  GreaterStencilFunc: QF,
29707
29707
  GridHelper: zM,
29708
- Group: Di,
29708
+ Group: Ni,
29709
29709
  HalfFloatType: Ns,
29710
29710
  HemisphereLight: Ap,
29711
29711
  HemisphereLightHelper: qB,
@@ -29730,15 +29730,15 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29730
29730
  Int8BufferAttribute: Ux,
29731
29731
  IntType: Ob,
29732
29732
  InterleavedBuffer: ps,
29733
- InterleavedBufferAttribute: Mr,
29734
- Interpolant: Zi,
29733
+ InterleavedBufferAttribute: wr,
29734
+ Interpolant: Xi,
29735
29735
  InterpolateDiscrete: jo,
29736
29736
  InterpolateLinear: Hs,
29737
29737
  InterpolateSmooth: Yc,
29738
29738
  InvertStencilOp: XF,
29739
29739
  JSONLoader: G4,
29740
29740
  KeepStencilOp: qc,
29741
- KeyframeTrack: Ei,
29741
+ KeyframeTrack: Ci,
29742
29742
  LOD: sM,
29743
29743
  LatheBufferGeometry: Qo,
29744
29744
  LatheGeometry: Qo,
@@ -29748,9 +29748,9 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29748
29748
  LessEqualDepth: cu,
29749
29749
  LessEqualStencilFunc: KF,
29750
29750
  LessStencilFunc: qF,
29751
- Light: Si,
29751
+ Light: Ti,
29752
29752
  LightProbe: Hl,
29753
- Line: ji,
29753
+ Line: $i,
29754
29754
  Line3: NM,
29755
29755
  LineBasicMaterial: pn,
29756
29756
  LineCurve: Vl,
@@ -29765,11 +29765,11 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29765
29765
  LinearInterpolant: bp,
29766
29766
  LinearMipMapLinearFilter: VF,
29767
29767
  LinearMipMapNearestFilter: zF,
29768
- LinearMipmapLinearFilter: Lr,
29768
+ LinearMipmapLinearFilter: Rr,
29769
29769
  LinearMipmapNearestFilter: Pu,
29770
29770
  LinearToneMapping: Eb,
29771
29771
  Loader: Tn,
29772
- LoaderUtils: mr,
29772
+ LoaderUtils: gr,
29773
29773
  LoadingManager: Mp,
29774
29774
  LogLuvEncoding: Lx,
29775
29775
  LoopOnce: _x,
@@ -29810,7 +29810,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29810
29810
  NearestMipmapNearestFilter: al,
29811
29811
  NeverDepth: yb,
29812
29812
  NeverStencilFunc: YF,
29813
- NoBlending: fr,
29813
+ NoBlending: pr,
29814
29814
  NoColors: d4,
29815
29815
  NoToneMapping: qr,
29816
29816
  NormalAnimationBlendMode: Iu,
@@ -29840,7 +29840,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29840
29840
  ParticleSystemMaterial: w4,
29841
29841
  Path: gl,
29842
29842
  PerspectiveCamera: un,
29843
- Plane: Pi,
29843
+ Plane: Ii,
29844
29844
  PlaneBufferGeometry: js,
29845
29845
  PlaneGeometry: js,
29846
29846
  PlaneHelper: t4,
@@ -29851,8 +29851,8 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29851
29851
  Points: Ma,
29852
29852
  PointsMaterial: ms,
29853
29853
  PolarGridHelper: JB,
29854
- PolyhedronBufferGeometry: $i,
29855
- PolyhedronGeometry: $i,
29854
+ PolyhedronBufferGeometry: Zi,
29855
+ PolyhedronGeometry: Zi,
29856
29856
  PositionalAudio: IB,
29857
29857
  PropertyBinding: yt,
29858
29858
  PropertyMixer: FM,
@@ -29889,7 +29889,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29889
29889
  RGBDEncoding: Yf,
29890
29890
  RGBEEncoding: Du,
29891
29891
  RGBEFormat: Vb,
29892
- RGBFormat: pr,
29892
+ RGBFormat: mr,
29893
29893
  RGBIntegerFormat: $b,
29894
29894
  RGBM16Encoding: Xf,
29895
29895
  RGBM7Encoding: Zf,
@@ -29930,19 +29930,19 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29930
29930
  SceneUtils: H4,
29931
29931
  ShaderChunk: mt,
29932
29932
  ShaderLib: bi,
29933
- ShaderMaterial: xr,
29933
+ ShaderMaterial: Mr,
29934
29934
  ShadowMaterial: dp,
29935
29935
  Shape: Kr,
29936
29936
  ShapeBufferGeometry: Zs,
29937
29937
  ShapeGeometry: Zs,
29938
29938
  ShapePath: SM,
29939
- ShapeUtils: Vi,
29939
+ ShapeUtils: Gi,
29940
29940
  ShortType: Ib,
29941
29941
  Skeleton: kl,
29942
29942
  SkeletonHelper: UM,
29943
29943
  SkinnedMesh: Bl,
29944
29944
  SmoothShading: BF,
29945
- Sphere: Rr,
29945
+ Sphere: Fr,
29946
29946
  SphereBufferGeometry: Xs,
29947
29947
  SphereGeometry: Xs,
29948
29948
  Spherical: jB,
@@ -30014,7 +30014,7 @@ const j4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30014
30014
  WebGLCubeRenderTarget: ku,
30015
30015
  WebGLMultipleRenderTargets: Nx,
30016
30016
  WebGLMultisampleRenderTarget: Jf,
30017
- WebGLRenderTarget: wi,
30017
+ WebGLRenderTarget: Ai,
30018
30018
  WebGLRenderTargetCube: z4,
30019
30019
  WebGLRenderer: Ct,
30020
30020
  WebGLUtils: nM,
@@ -30341,7 +30341,7 @@ function u5() {
30341
30341
  return Uv || (Uv = 1, function(n, e) {
30342
30342
  (function(t, i) {
30343
30343
  n.exports = i();
30344
- })(typeof window < "u" ? window : $r, function() {
30344
+ })(typeof window < "u" ? window : Zr, function() {
30345
30345
  if (typeof window > "u")
30346
30346
  return null;
30347
30347
  var t = typeof window < "u" && window.Math == Math ? window : typeof self < "u" && self.Math == Math ? self : Function("return this")(), i = t.requestAnimationFrame || t.mozRequestAnimationFrame || t.webkitRequestAnimationFrame || function(h) {
@@ -30513,7 +30513,7 @@ class h5 extends Tn {
30513
30513
  load(e, t, i, r) {
30514
30514
  const s = this;
30515
30515
  let o;
30516
- this.resourcePath !== "" ? o = this.resourcePath : this.path !== "" ? o = this.path : o = mr.extractUrlBase(e), this.manager.itemStart(e);
30516
+ this.resourcePath !== "" ? o = this.resourcePath : this.path !== "" ? o = this.path : o = gr.extractUrlBase(e), this.manager.itemStart(e);
30517
30517
  const a = function(l) {
30518
30518
  r ? r(l) : console.error(l), s.manager.itemError(e), s.manager.itemEnd(e);
30519
30519
  }, c = new ti(this.manager);
@@ -30552,7 +30552,7 @@ class h5 extends Tn {
30552
30552
  const o = {}, a = {};
30553
30553
  if (typeof e == "string")
30554
30554
  s = e;
30555
- else if (mr.decodeText(new Uint8Array(e, 0, 4)) === ZM) {
30555
+ else if (gr.decodeText(new Uint8Array(e, 0, 4)) === ZM) {
30556
30556
  try {
30557
30557
  o[Mt.KHR_BINARY_GLTF] = new x5(e);
30558
30558
  } catch (u) {
@@ -30561,7 +30561,7 @@ class h5 extends Tn {
30561
30561
  }
30562
30562
  s = o[Mt.KHR_BINARY_GLTF].content;
30563
30563
  } else
30564
- s = mr.decodeText(new Uint8Array(e));
30564
+ s = gr.decodeText(new Uint8Array(e));
30565
30565
  const c = JSON.parse(s);
30566
30566
  if (c.asset === void 0 || c.asset.version[0] < 2) {
30567
30567
  r && r(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));
@@ -30810,7 +30810,7 @@ class x5 {
30810
30810
  this.name = Mt.KHR_BINARY_GLTF, this.content = null, this.body = null;
30811
30811
  const t = new DataView(e, 0, Va);
30812
30812
  if (this.header = {
30813
- magic: mr.decodeText(new Uint8Array(e.slice(0, 4))),
30813
+ magic: gr.decodeText(new Uint8Array(e.slice(0, 4))),
30814
30814
  version: t.getUint32(4, !0),
30815
30815
  length: t.getUint32(8, !0)
30816
30816
  }, this.header.magic !== ZM)
@@ -30825,7 +30825,7 @@ class x5 {
30825
30825
  const a = r.getUint32(s, !0);
30826
30826
  if (s += 4, a === kv.JSON) {
30827
30827
  const c = new Uint8Array(e, Va + s, o);
30828
- this.content = mr.decodeText(c);
30828
+ this.content = gr.decodeText(c);
30829
30829
  } else if (a === kv.BIN) {
30830
30830
  const c = Va + s;
30831
30831
  this.body = e.slice(c, c + o);
@@ -31021,7 +31021,7 @@ class _5 {
31021
31021
  this.name = Mt.KHR_MESH_QUANTIZATION;
31022
31022
  }
31023
31023
  }
31024
- class la extends Zi {
31024
+ class la extends Xi {
31025
31025
  constructor(e, t, i, r) {
31026
31026
  super(e, t, i, r);
31027
31027
  }
@@ -31042,7 +31042,7 @@ la.prototype.interpolate_ = function(n, e, t, i) {
31042
31042
  }
31043
31043
  return r;
31044
31044
  };
31045
- const or = {
31045
+ const ar = {
31046
31046
  POINTS: 0,
31047
31047
  LINES: 1,
31048
31048
  LINE_LOOP: 2,
@@ -31063,7 +31063,7 @@ const or = {
31063
31063
  9984: al,
31064
31064
  9985: Pu,
31065
31065
  9986: ll,
31066
- 9987: Lr
31066
+ 9987: Rr
31067
31067
  }, Vv = {
31068
31068
  33071: yn,
31069
31069
  33648: Ho,
@@ -31085,7 +31085,7 @@ const or = {
31085
31085
  COLOR_0: "color",
31086
31086
  WEIGHTS_0: "skinWeight",
31087
31087
  JOINTS_0: "skinIndex"
31088
- }, Vr = {
31088
+ }, Gr = {
31089
31089
  scale: "scale",
31090
31090
  translation: "position",
31091
31091
  rotation: "quaternion",
@@ -31400,7 +31400,7 @@ class R5 {
31400
31400
  if (m && m !== u) {
31401
31401
  const v = Math.floor(f / m), g = "InterleavedBuffer:" + r.bufferView + ":" + r.componentType + ":" + v + ":" + r.count;
31402
31402
  let M = t.cache.get(g);
31403
- M || (d = new l(a, v * m, r.count * m / h), M = new ps(d, m / h), t.cache.add(g, M)), y = new Mr(M, c, f % m / h, p);
31403
+ M || (d = new l(a, v * m, r.count * m / h), M = new ps(d, m / h), t.cache.add(g, M)), y = new wr(M, c, f % m / h, p);
31404
31404
  } else
31405
31405
  a === null ? d = new l(r.count * c) : d = new l(a, f, r.count * c), y = new ht(d, c, p);
31406
31406
  if (r.sparse !== void 0) {
@@ -31456,9 +31456,9 @@ class R5 {
31456
31456
  }), i.load(Hv(d, o.path), g, void 0, v);
31457
31457
  });
31458
31458
  }).then(function(d) {
31459
- u === !0 && l.revokeObjectURL(h), d.flipY = !1, a.name && (d.name = a.name), f || (d.format = pr);
31459
+ u === !0 && l.revokeObjectURL(h), d.flipY = !1, a.name && (d.name = a.name), f || (d.format = mr);
31460
31460
  const v = (s.samplers || {})[a.sampler] || {};
31461
- return d.magFilter = zv[v.magFilter] || Wt, d.minFilter = zv[v.minFilter] || Lr, d.wrapS = Vv[v.wrapS] || as, d.wrapT = Vv[v.wrapT] || as, r.associations.set(d, {
31461
+ return d.magFilter = zv[v.magFilter] || Wt, d.minFilter = zv[v.minFilter] || Rr, d.wrapS = Vv[v.wrapS] || as, d.wrapT = Vv[v.wrapT] || as, r.associations.set(d, {
31462
31462
  type: "textures",
31463
31463
  index: e
31464
31464
  }), d;
@@ -31605,15 +31605,15 @@ class R5 {
31605
31605
  const d = h[m], y = o[m];
31606
31606
  let v;
31607
31607
  const g = l[m];
31608
- if (y.mode === or.TRIANGLES || y.mode === or.TRIANGLE_STRIP || y.mode === or.TRIANGLE_FAN || y.mode === void 0)
31609
- v = s.isSkinnedMesh === !0 ? new Bl(d, g) : new Kt(d, g), v.isSkinnedMesh === !0 && !v.geometry.attributes.skinWeight.normalized && v.normalizeSkinWeights(), y.mode === or.TRIANGLE_STRIP ? v.geometry = $v(v.geometry, Cx) : y.mode === or.TRIANGLE_FAN && (v.geometry = $v(v.geometry, $f));
31610
- else if (y.mode === or.LINES)
31608
+ if (y.mode === ar.TRIANGLES || y.mode === ar.TRIANGLE_STRIP || y.mode === ar.TRIANGLE_FAN || y.mode === void 0)
31609
+ v = s.isSkinnedMesh === !0 ? new Bl(d, g) : new Kt(d, g), v.isSkinnedMesh === !0 && !v.geometry.attributes.skinWeight.normalized && v.normalizeSkinWeights(), y.mode === ar.TRIANGLE_STRIP ? v.geometry = $v(v.geometry, Cx) : y.mode === ar.TRIANGLE_FAN && (v.geometry = $v(v.geometry, $f));
31610
+ else if (y.mode === ar.LINES)
31611
31611
  v = new Nn(d, g);
31612
- else if (y.mode === or.LINE_STRIP)
31613
- v = new ji(d, g);
31614
- else if (y.mode === or.LINE_LOOP)
31612
+ else if (y.mode === ar.LINE_STRIP)
31613
+ v = new $i(d, g);
31614
+ else if (y.mode === ar.LINE_LOOP)
31615
31615
  v = new Hu(d, g);
31616
- else if (y.mode === or.POINTS)
31616
+ else if (y.mode === ar.POINTS)
31617
31617
  v = new Ma(d, g);
31618
31618
  else
31619
31619
  throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + y.mode);
@@ -31621,7 +31621,7 @@ class R5 {
31621
31621
  }
31622
31622
  if (u.length === 1)
31623
31623
  return u[0];
31624
- const f = new Di();
31624
+ const f = new Ni();
31625
31625
  for (let m = 0, p = u.length; m < p; m++)
31626
31626
  f.add(u[m]);
31627
31627
  return f;
@@ -31676,21 +31676,21 @@ class R5 {
31676
31676
  if (M === void 0) continue;
31677
31677
  M.updateMatrix(), M.matrixAutoUpdate = !0;
31678
31678
  let F;
31679
- switch (Vr[T.path]) {
31680
- case Vr.weights:
31679
+ switch (Gr[T.path]) {
31680
+ case Gr.weights:
31681
31681
  F = sa;
31682
31682
  break;
31683
- case Vr.rotation:
31683
+ case Gr.rotation:
31684
31684
  F = no;
31685
31685
  break;
31686
- case Vr.position:
31687
- case Vr.scale:
31686
+ case Gr.position:
31687
+ case Gr.scale:
31688
31688
  default:
31689
31689
  F = oa;
31690
31690
  break;
31691
31691
  }
31692
31692
  const L = M.name ? M.name : M.uuid, I = x.interpolation !== void 0 ? S5[x.interpolation] : Hs, S = [];
31693
- Vr[T.path] === Vr.weights ? M.traverse(function(R) {
31693
+ Gr[T.path] === Gr.weights ? M.traverse(function(R) {
31694
31694
  R.isMesh === !0 && R.morphTargetInfluences && S.push(R.name ? R.name : R.uuid);
31695
31695
  }) : S.push(L);
31696
31696
  let E = _.array;
@@ -31702,7 +31702,7 @@ class R5 {
31702
31702
  }
31703
31703
  for (let R = 0, A = S.length; R < A; R++) {
31704
31704
  const C = new F(
31705
- S[R] + "." + Vr[T.path],
31705
+ S[R] + "." + Gr[T.path],
31706
31706
  w.array,
31707
31707
  E,
31708
31708
  I
@@ -31747,7 +31747,7 @@ class R5 {
31747
31747
  }), Promise.all(a);
31748
31748
  }().then(function(a) {
31749
31749
  let c;
31750
- if (s.isBone === !0 ? c = new Ul() : a.length > 1 ? c = new Di() : a.length === 1 ? c = a[0] : c = new pt(), c !== a[0])
31750
+ if (s.isBone === !0 ? c = new Ul() : a.length > 1 ? c = new Ni() : a.length === 1 ? c = a[0] : c = new pt(), c !== a[0])
31751
31751
  for (let l = 0, h = a.length; l < h; l++)
31752
31752
  c.add(a[l]);
31753
31753
  if (s.name && (c.userData.name = s.name, c.name = o), Cs(c, s), s.extensions && Ga(i, c, s), s.matrix !== void 0) {
@@ -31764,7 +31764,7 @@ class R5 {
31764
31764
  * @return {Promise<Group>}
31765
31765
  */
31766
31766
  loadScene(e) {
31767
- const t = this.json, i = this.extensions, r = this.json.scenes[e], s = this, o = new Di();
31767
+ const t = this.json, i = this.extensions, r = this.json.scenes[e], s = this, o = new Ni();
31768
31768
  r.name && (o.name = s.createUniqueName(r.name)), Cs(o, r), r.extensions && Ga(i, o, r);
31769
31769
  const a = r.nodes || [], c = [];
31770
31770
  for (let l = 0, h = a.length; l < h; l++)
@@ -31852,7 +31852,7 @@ function F5(n, e, t) {
31852
31852
  r.expandByVector(a);
31853
31853
  }
31854
31854
  n.boundingBox = r;
31855
- const o = new Rr();
31855
+ const o = new Fr();
31856
31856
  r.getCenter(o.center), o.radius = r.min.distanceTo(r.max) / 2, n.boundingSphere = o;
31857
31857
  }
31858
31858
  function jv(n, e, t) {
@@ -32265,7 +32265,7 @@ const G5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32265
32265
  (function(n, e) {
32266
32266
  (function(i, r) {
32267
32267
  n.exports = r();
32268
- })($r, () => (
32268
+ })(Zr, () => (
32269
32269
  /******/
32270
32270
  (() => {
32271
32271
  var t = [
@@ -32286,7 +32286,7 @@ const G5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32286
32286
  /* 2 */
32287
32287
  /***/
32288
32288
  (o) => {
32289
- o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.19.2","description":"ZincJS (Web-based-Zinc-Visualisation)","main":"build/zinc.js","directories":{"doc":"docs"},"files":["package.json","LICENSE","README.md","src/*","build/zinc.js","build/zinc.frontend.js","build/zinc.js.map","webpack.config.js"],"scripts":{"build-bundle":"webpack --config webpack.frontend.js; webpack --config webpack.backend.js","build-backend":"webpack --config webpack.backend.js","test":"npm --prefix ./test install && npm --prefix ./test run test-ci","changelog":"auto-changelog -p --output CHANGELOG.md --template keepachangelog","jsdoc":"jsdoc -c jsdoc_conf.json","version":"npm run build-bundle;npm run jsdoc;npm run changelog; git add CHANGELOG.md docs","release:beta":"npm version prerelease --preid=beta; npm publish --tag beta","release:minor":"npm version minor; npm publish","release:patch":"npm version patch; npm publish"},"repository":{"type":"git","url":"git+https://github.com/alan-wu/ZincJS.git"},"keywords":["library","webgl","3d","zincjs"],"author":"Alan Wu <alan.wu@auckland.ac.nz>","license":"MIT","bugs":{"url":"https://github.com/alan-wu/ZincJS/issues"},"homepage":"http://alan-wu.github.io/ZincJS/","devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","auto-changelog":"^2.4.0","babel-loader":"^9.1.3","babel-preset-minify":"^0.5.1","file-loader":"^6.2.0","jsdoc":"^4.0.2","raw-loader":"^4.0.2","webpack":"^5.90.3","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"dependencies":{"css-element-queries":"^1.2.2","lodash":"^4.17.19","nifti-reader-js":"^0.8.0","promise-polyfill":"^8.1.3","three":"^0.130.1","three-spritetext":"1.6.2","url-loader":"^4.1.1","url-polyfill":"^1.1.7","webworkify-webpack":"^2.1.5"}}');
32289
+ o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.19.3","description":"ZincJS (Web-based-Zinc-Visualisation)","main":"build/zinc.js","directories":{"doc":"docs"},"files":["package.json","LICENSE","README.md","src/*","build/zinc.js","build/zinc.frontend.js","build/zinc.js.map","webpack.config.js"],"scripts":{"build-bundle":"webpack --config webpack.frontend.js; webpack --config webpack.backend.js","build-backend":"webpack --config webpack.backend.js","test":"npm --prefix ./test install && npm --prefix ./test run test-ci","changelog":"auto-changelog -p --output CHANGELOG.md --template keepachangelog","jsdoc":"jsdoc -c jsdoc_conf.json","version":"npm run build-bundle;npm run jsdoc;npm run changelog; git add CHANGELOG.md docs","release:beta":"npm version prerelease --preid=beta; npm publish --tag beta","release:minor":"npm version minor; npm publish","release:patch":"npm version patch; npm publish"},"repository":{"type":"git","url":"git+https://github.com/alan-wu/ZincJS.git"},"keywords":["library","webgl","3d","zincjs"],"author":"Alan Wu <alan.wu@auckland.ac.nz>","license":"MIT","bugs":{"url":"https://github.com/alan-wu/ZincJS/issues"},"homepage":"http://alan-wu.github.io/ZincJS/","devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","auto-changelog":"^2.4.0","babel-loader":"^9.1.3","babel-preset-minify":"^0.5.1","file-loader":"^6.2.0","jsdoc":"^4.0.2","raw-loader":"^4.0.2","webpack":"^5.90.3","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"dependencies":{"css-element-queries":"^1.2.2","lodash":"^4.17.19","nifti-reader-js":"^0.8.0","promise-polyfill":"^8.1.3","three":"^0.130.1","three-spritetext":"1.6.2","url-loader":"^4.1.1","url-polyfill":"^1.1.7","webworkify-webpack":"^2.1.5"}}');
32290
32290
  },
32291
32291
  /* 3 */
32292
32292
  /***/
@@ -35839,10 +35839,10 @@ void main() {
35839
35839
  }
35840
35840
  }
35841
35841
  else if (0 < T.vertices.length) {
35842
- var Ci = new l.PointsMaterial({ size: 1, sizeAttenuation: !1 }), Qi = new l.BufferGeometry();
35843
- Qi.setAttribute("position", new l.Float32BufferAttribute(T.vertices, 3)), 0 < T.colors.length && T.colors[0] !== void 0 && (Qi.setAttribute("color", new l.Float32BufferAttribute(T.colors, 3)), Ci.vertexColors = !0);
35844
- var Li = new l.Points(Qi, Ci);
35845
- Q.add(Li);
35842
+ var Li = new l.PointsMaterial({ size: 1, sizeAttenuation: !1 }), er = new l.BufferGeometry();
35843
+ er.setAttribute("position", new l.Float32BufferAttribute(T.vertices, 3)), 0 < T.colors.length && T.colors[0] !== void 0 && (er.setAttribute("color", new l.Float32BufferAttribute(T.colors, 3)), Li.vertexColors = !0);
35844
+ var Ri = new l.Points(er, Li);
35845
+ Q.add(Ri);
35846
35846
  }
35847
35847
  return Q;
35848
35848
  }
@@ -36952,7 +36952,7 @@ void main() {
36952
36952
  }
36953
36953
  }
36954
36954
  this.previous_pointer_x = this.pointer_x, this.previous_pointer_y = this.pointer_y;
36955
- }, Ci = () => {
36955
+ }, Li = () => {
36956
36956
  var se = 0;
36957
36957
  return this._state === I.ZOOM ? se = this.previous_pointer_y - this.pointer_y : this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM ? se = W : (se = -1 * (this.touchZoomDistanceEnd - this.touchZoomDistanceStart), this.touchZoomDistanceStart = this.touchZoomDistanceEnd), se;
36958
36958
  };
@@ -36967,8 +36967,8 @@ void main() {
36967
36967
  0.01 < Ke + ye && (Ne.normalize(), Q.copy(this.cameraObject.position), Q.x += Ne.x * ye, Q.y += Ne.y * ye, Q.z += Ne.z * ye, ie() && (this.cameraObject.position.copy(Q), this.updateDirectionalLight(), fe(), re = !0));
36968
36968
  }
36969
36969
  };
36970
- var Qi = () => {
36971
- var se = Ci();
36970
+ var er = () => {
36971
+ var se = Li();
36972
36972
  this.changeZoomByValue(se), this._state === I.ZOOM && (this.previous_pointer_x = this.pointer_x, this.previous_pointer_y = this.pointer_y), (this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && (W = 0, this._state = I.NONE);
36973
36973
  };
36974
36974
  this.setDirectionalLight = (se) => {
@@ -37000,7 +37000,7 @@ void main() {
37000
37000
  }, this.getPlayRate = () => B, this.setPlayRate = (se) => {
37001
37001
  B = se;
37002
37002
  };
37003
- var Li = (se) => {
37003
+ var Ri = (se) => {
37004
37004
  var Ee = b + se;
37005
37005
  Ee > A && (Ee -= A), b = Ee;
37006
37006
  };
@@ -37015,21 +37015,21 @@ void main() {
37015
37015
  }, this.setCurrentTimeFrame = (se) => {
37016
37016
  2 < D && (b = A * se / (D - 1), 0 > b && (b = 0), b > A && (b = A));
37017
37017
  };
37018
- var Fr = (se) => {
37019
- if (Y === L.PATH && (Li(se), P)) {
37018
+ var Pr = (se) => {
37019
+ if (Y === L.PATH && (Ri(se), P)) {
37020
37020
  for (var Ee = this.getCurrentTimeFrame(), Ne = Ee[0], Ke = Ee[1], q = Ee[2], ye = [P[3 * Ne], P[3 * Ne + 1], P[3 * Ne + 2]], ve = [P[3 * Ke], P[3 * Ke + 1], P[3 * Ke + 2]], be = [], Re = 0; Re < ye.length; Re++) be.push(q * ye[Re] + (1 - q) * ve[Re]);
37021
37021
  this.cameraObject.position.set(be[0], be[1], be[2]), this.cameraObject.target.set(ve[0], ve[1], ve[2]), z && this.cameraObject.lookAt(this.cameraObject.target), O && (this.directionalLight.position.set(be[0], be[1], be[2]), this.directionalLight.target.position.set(ve[0], ve[1], ve[2]));
37022
37022
  }
37023
37023
  };
37024
37024
  this.calculatePathNow = () => {
37025
- Fr(0);
37025
+ Pr(0);
37026
37026
  };
37027
37027
  var gs = () => {
37028
- this._state === I.ROTATE || this._state === I.TOUCH_ROTATE || this._state === I.KEYBOARD_ROTATE ? Vt() : this._state === I.PAN || this._state === I.TOUCH_PAN || this._state === I.KEYBOARD_PAN ? (Ut(), he.triggerCallback()) : (this._state === I.ZOOM || this._state === I.TOUCH_ZOOM || this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && (he.zoom(Ci()), this.previous_pointer_x = this.pointer_x, this.previous_pointer_y = this.pointer_y, (this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && (this._state = I.NONE), W = 0, he.triggerCallback());
37028
+ this._state === I.ROTATE || this._state === I.TOUCH_ROTATE || this._state === I.KEYBOARD_ROTATE ? Vt() : this._state === I.PAN || this._state === I.TOUCH_PAN || this._state === I.KEYBOARD_PAN ? (Ut(), he.triggerCallback()) : (this._state === I.ZOOM || this._state === I.TOUCH_ZOOM || this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && (he.zoom(Li()), this.previous_pointer_x = this.pointer_x, this.previous_pointer_y = this.pointer_y, (this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && (this._state = I.NONE), W = 0, he.triggerCallback());
37029
37029
  };
37030
37030
  this.update = (se) => {
37031
37031
  var Ee = se * B, Ne = C, Ke = !0;
37032
- return Y === L.PATH ? Fr(Ee) : Y === L.SMOOTH_CAMERA_TRANSITION && Z ? (Z.update(Ee), Z.isTransitionCompleted() && (Y = L.DEFAULT), Ne = !1) : Y === L.ROTATE_CAMERA_TRANSITION && te ? (te.update(Ee), te.isTransitionCompleted() && (Y = L.DEFAULT), Ne = !1) : Y === L.AUTO_TUMBLE && J ? J.update(Ee) : Y === L.SYNC_CONTROL && he ? (gs(), Ne = !1) : Ke = !1, Ne && (this._state !== I.NONE && (Ke = !0), this._state === I.ROTATE || this._state === I.TOUCH_ROTATE || this._state === I.KEYBOARD_ROTATE ? Vt() : this._state === I.PAN || this._state === I.TOUCH_PAN || this._state === I.KEYBOARD_PAN ? Ut() : (this._state === I.ZOOM || this._state === I.TOUCH_ZOOM || this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && Qi(), this._state !== I.NONE && Y === L.AUTO_TUMBLE && J && J.stopOnCameraInput, this._state === I.SCROLL && (this._state = I.NONE)), z ? (Ke = !0, z.update()) : this.cameraObject.lookAt(this.cameraObject.target), Ke = Ke || re, re = !1, Ke;
37032
+ return Y === L.PATH ? Pr(Ee) : Y === L.SMOOTH_CAMERA_TRANSITION && Z ? (Z.update(Ee), Z.isTransitionCompleted() && (Y = L.DEFAULT), Ne = !1) : Y === L.ROTATE_CAMERA_TRANSITION && te ? (te.update(Ee), te.isTransitionCompleted() && (Y = L.DEFAULT), Ne = !1) : Y === L.AUTO_TUMBLE && J ? J.update(Ee) : Y === L.SYNC_CONTROL && he ? (gs(), Ne = !1) : Ke = !1, Ne && (this._state !== I.NONE && (Ke = !0), this._state === I.ROTATE || this._state === I.TOUCH_ROTATE || this._state === I.KEYBOARD_ROTATE ? Vt() : this._state === I.PAN || this._state === I.TOUCH_PAN || this._state === I.KEYBOARD_PAN ? Ut() : (this._state === I.ZOOM || this._state === I.TOUCH_ZOOM || this._state === I.SCROLL || this._state === I.KEYBOARD_ZOOM) && er(), this._state !== I.NONE && Y === L.AUTO_TUMBLE && J && J.stopOnCameraInput, this._state === I.SCROLL && (this._state = I.NONE)), z ? (Ke = !0, z.update()) : this.cameraObject.lookAt(this.cameraObject.target), Ke = Ke || re, re = !1, Ke;
37033
37033
  }, this.playPath = () => {
37034
37034
  Y = L.PATH;
37035
37035
  }, this.stopPath = () => {
@@ -38333,8 +38333,8 @@ void main() {
38333
38333
  })()
38334
38334
  ));
38335
38335
  })(nb);
38336
- var Yr = nb.exports;
38337
- const Jc = /* @__PURE__ */ IL(Yr), Ii = {
38336
+ var wi = nb.exports;
38337
+ const Jc = /* @__PURE__ */ IL(wi), Oi = {
38338
38338
  SELECTED_COLOUR: "#00ff00",
38339
38339
  HIGHLIGHTED_COLOUR: "#ff0000",
38340
38340
  DEFAULT_RADIUS: 1,
@@ -38414,7 +38414,7 @@ const Jc = /* @__PURE__ */ IL(Yr), Ii = {
38414
38414
  }
38415
38415
  return !1;
38416
38416
  }, Z5 = (n, e) => {
38417
- const t = e.getBoundingBox(), i = new Yr.THREE.Vector3().subVectors(t.max, t.min), r = new Yr.THREE.BoxGeometry(i.x, i.y, i.z);
38417
+ const t = e.getBoundingBox(), i = new wi.THREE.Vector3().subVectors(t.max, t.min), r = new wi.THREE.BoxGeometry(i.x, i.y, i.z);
38418
38418
  i.addVectors(t.min, t.max).multiplyScalar(0.5);
38419
38419
  const s = r.getAttribute("position"), o = s.count, a = [];
38420
38420
  for (let c = 0; c < o; c++)
@@ -39001,14 +39001,14 @@ function eU(n, e, t, i, r, s) {
39001
39001
  ], 6)
39002
39002
  ], 2);
39003
39003
  }
39004
- const tw = /* @__PURE__ */ Ki(K5, [["render", eU], ["__scopeId", "data-v-1ea383cd"]]), tU = {
39004
+ const tw = /* @__PURE__ */ Qi(K5, [["render", eU], ["__scopeId", "data-v-1ea383cd"]]), tU = {
39005
39005
  name: "LinesControls",
39006
39006
  components: {
39007
39007
  Button: Tl,
39008
- Col: qi,
39009
- Container: Ji,
39010
- InputNumber: Cr,
39011
- Main: Er,
39008
+ Col: Ji,
39009
+ Container: Ki,
39010
+ InputNumber: Lr,
39011
+ Main: Cr,
39012
39012
  Slider: hi,
39013
39013
  ElIconArrowLeft: is,
39014
39014
  ElIconArrowRight: Vs
@@ -39029,8 +39029,8 @@ const tw = /* @__PURE__ */ Ki(K5, [["render", eU], ["__scopeId", "data-v-1ea383c
39029
39029
  distance: 0,
39030
39030
  newDistance: 0,
39031
39031
  width: 1,
39032
- radius: Ii.DEFAULT_RADIUS,
39033
- radialSegments: Ii.DEFAULT_RADIAL_SEGMENTS,
39032
+ radius: Oi.DEFAULT_RADIUS,
39033
+ radialSegments: Oi.DEFAULT_RADIAL_SEGMENTS,
39034
39034
  currentIndex: 0,
39035
39035
  ElIconArrowLeft: kn(is),
39036
39036
  ElIconArrowRight: kn(Vs),
@@ -39087,7 +39087,7 @@ const tw = /* @__PURE__ */ Ki(K5, [["render", eU], ["__scopeId", "data-v-1ea383c
39087
39087
  },
39088
39088
  setObject: function(n) {
39089
39089
  var e;
39090
- this.currentIndex = -1, this.distance = 0, n.isLines2 || n.isTubeLines ? (this.zincObject = xn(n), this.width = this.zincObject.getMorph().material.linewidth, this.isTubeLines = n.isTubeLines, n.isEditable ? (this.currentIndex = 0, this.distance = Gc(n, this.currentIndex)) : (e = n.userData) != null && e.isNerves && (this.radius = Ii.ZOOM_RADIUS, this.radialSegments = Ii.ZOOM_RADIAL_SEGMENTS)) : (this.zincObject = void 0, this.width = 10);
39090
+ this.currentIndex = -1, this.distance = 0, n.isLines2 || n.isTubeLines ? (this.zincObject = xn(n), this.width = this.zincObject.getMorph().material.linewidth, this.isTubeLines = n.isTubeLines, n.isEditable ? (this.currentIndex = 0, this.distance = Gc(n, this.currentIndex)) : (e = n.userData) != null && e.isNerves && (this.radius = Oi.ZOOM_RADIUS, this.radialSegments = Oi.ZOOM_RADIAL_SEGMENTS)) : (this.zincObject = void 0, this.width = 10);
39091
39091
  },
39092
39092
  modifyWidth: function() {
39093
39093
  this.zincObject.setWidth(this.width);
@@ -39098,7 +39098,7 @@ const tw = /* @__PURE__ */ Ki(K5, [["render", eU], ["__scopeId", "data-v-1ea383c
39098
39098
  }
39099
39099
  };
39100
39100
  function nU(n, e, t, i, r, s) {
39101
- const o = qi, a = hi, c = Cr, l = Tr, h = Tl, u = Er, f = Ji;
39101
+ const o = Ji, a = hi, c = Lr, l = Er, h = Tl, u = Cr, f = Ki;
39102
39102
  return pe(), je(f, { class: "lines-container" }, {
39103
39103
  default: de(() => [
39104
39104
  ae(u, { class: "slides-block" }, {
@@ -39382,16 +39382,16 @@ function nU(n, e, t, i, r, s) {
39382
39382
  _: 1
39383
39383
  });
39384
39384
  }
39385
- const nw = /* @__PURE__ */ Ki(tU, [["render", nU], ["__scopeId", "data-v-0deb177d"]]), iU = {
39385
+ const nw = /* @__PURE__ */ Qi(tU, [["render", nU], ["__scopeId", "data-v-0deb177d"]]), iU = {
39386
39386
  name: "PointsControls",
39387
39387
  components: {
39388
- Col: qi,
39389
- Container: Ji,
39390
- InputNumber: Cr,
39391
- Main: Er,
39388
+ Col: Ji,
39389
+ Container: Ki,
39390
+ InputNumber: Lr,
39391
+ Main: Cr,
39392
39392
  Select: ga,
39393
39393
  Slider: hi,
39394
- Row: Tr,
39394
+ Row: Er,
39395
39395
  Option: va,
39396
39396
  ElIconArrowLeft: is,
39397
39397
  ElIconArrowRight: Vs
@@ -39469,7 +39469,7 @@ const nw = /* @__PURE__ */ Ki(tU, [["render", nU], ["__scopeId", "data-v-0deb177
39469
39469
  }
39470
39470
  };
39471
39471
  function rU(n, e, t, i, r, s) {
39472
- const o = qi, a = hi, c = Cr, l = Tr, h = va, u = ga, f = Tl, m = Er, p = Ji;
39472
+ const o = Ji, a = hi, c = Lr, l = Er, h = va, u = ga, f = Tl, m = Cr, p = Ki;
39473
39473
  return pe(), je(p, { class: "pointset-container" }, {
39474
39474
  default: de(() => [
39475
39475
  ae(m, { class: "slides-block" }, {
@@ -39708,18 +39708,18 @@ function rU(n, e, t, i, r, s) {
39708
39708
  _: 1
39709
39709
  });
39710
39710
  }
39711
- const iw = /* @__PURE__ */ Ki(iU, [["render", rU], ["__scopeId", "data-v-d1de9c65"]]), sU = {
39711
+ const iw = /* @__PURE__ */ Qi(iU, [["render", rU], ["__scopeId", "data-v-d1de9c65"]]), sU = {
39712
39712
  name: "TextureSlidesControls",
39713
39713
  components: {
39714
39714
  Checkbox: Ey,
39715
- Col: qi,
39716
- Container: Ji,
39715
+ Col: Ji,
39716
+ Container: Ki,
39717
39717
  Divider: $y,
39718
39718
  Footer: jy,
39719
39719
  Icon: Ht,
39720
- InputNumber: Cr,
39721
- Main: Er,
39722
- Row: Tr,
39720
+ InputNumber: Lr,
39721
+ Main: Cr,
39722
+ Row: Er,
39723
39723
  Select: ga,
39724
39724
  Slider: hi,
39725
39725
  Option: va,
@@ -39789,7 +39789,7 @@ const iw = /* @__PURE__ */ Ki(iU, [["render", rU], ["__scopeId", "data-v-d1de9c6
39789
39789
  }
39790
39790
  };
39791
39791
  function oU(n, e, t, i, r, s) {
39792
- const o = Ey, a = Tr, c = qi, l = hi, h = Cr, u = $y, f = va, m = ga, p = N0, d = Ht, y = Er, v = wu, g = jy, M = Ji;
39792
+ const o = Ey, a = Er, c = Ji, l = hi, h = Lr, u = $y, f = va, m = ga, p = N0, d = Ht, y = Cr, v = wu, g = jy, M = Ki;
39793
39793
  return pe(), je(M, { class: "t-slides-container" }, {
39794
39794
  default: de(() => [
39795
39795
  ae(y, { class: "slides-block" }, {
@@ -40029,13 +40029,13 @@ function oU(n, e, t, i, r, s) {
40029
40029
  _: 1
40030
40030
  });
40031
40031
  }
40032
- const rw = /* @__PURE__ */ Ki(sU, [["render", oU], ["__scopeId", "data-v-687baffd"]]), aU = {
40032
+ const rw = /* @__PURE__ */ Qi(sU, [["render", oU], ["__scopeId", "data-v-687baffd"]]), aU = {
40033
40033
  name: "TransformationControls",
40034
40034
  components: {
40035
- Col: qi,
40036
- Container: Ji,
40037
- InputNumber: Cr,
40038
- Main: Er,
40035
+ Col: Ji,
40036
+ Container: Ki,
40037
+ InputNumber: Lr,
40038
+ Main: Cr,
40039
40039
  Slider: hi
40040
40040
  },
40041
40041
  inject: ["boundingDims"],
@@ -40093,7 +40093,7 @@ const rw = /* @__PURE__ */ Ki(sU, [["render", oU], ["__scopeId", "data-v-687baff
40093
40093
  }
40094
40094
  };
40095
40095
  function lU(n, e, t, i, r, s) {
40096
- const o = qi, a = hi, c = Cr, l = Tr, h = Er, u = Ji;
40096
+ const o = Ji, a = hi, c = Lr, l = Er, h = Cr, u = Ki;
40097
40097
  return pe(), je(u, { class: "transformation-container" }, {
40098
40098
  default: de(() => [
40099
40099
  ae(h, { class: "slides-block" }, {
@@ -40304,12 +40304,12 @@ function lU(n, e, t, i, r, s) {
40304
40304
  _: 1
40305
40305
  });
40306
40306
  }
40307
- const sw = /* @__PURE__ */ Ki(aU, [["render", lU], ["__scopeId", "data-v-962c6314"]]), cU = {
40307
+ const sw = /* @__PURE__ */ Qi(aU, [["render", lU], ["__scopeId", "data-v-962c6314"]]), cU = {
40308
40308
  name: "OpacityControls",
40309
40309
  components: {
40310
- Container: Ji,
40310
+ Container: Ki,
40311
40311
  Header: YR,
40312
- Main: Er,
40312
+ Main: Cr,
40313
40313
  Slider: hi
40314
40314
  },
40315
40315
  props: {
@@ -40333,7 +40333,7 @@ const sw = /* @__PURE__ */ Ki(aU, [["render", lU], ["__scopeId", "data-v-962c631
40333
40333
  }
40334
40334
  }, uU = { class: "block" }, hU = { class: "display" };
40335
40335
  function dU(n, e, t, i, r, s) {
40336
- const o = hi, a = Ji;
40336
+ const o = hi, a = Ki;
40337
40337
  return t.material ? (pe(), je(a, {
40338
40338
  key: 0,
40339
40339
  class: "opacity-container"
@@ -40356,7 +40356,7 @@ function dU(n, e, t, i, r, s) {
40356
40356
  _: 1
40357
40357
  })) : He("", !0);
40358
40358
  }
40359
- const ow = /* @__PURE__ */ Ki(cU, [["render", dU], ["__scopeId", "data-v-7e39127d"]]), fU = {
40359
+ const ow = /* @__PURE__ */ Qi(cU, [["render", dU], ["__scopeId", "data-v-7e39127d"]]), fU = {
40360
40360
  name: "PrimitiveControls",
40361
40361
  components: {
40362
40362
  Collapse: ky,
@@ -40499,7 +40499,7 @@ function mU(n, e, t, i, r, s) {
40499
40499
  [wn, s.hasValidPrimitive]
40500
40500
  ]);
40501
40501
  }
40502
- const aw = /* @__PURE__ */ Ki(fU, [["render", mU], ["__scopeId", "data-v-bea9a9dc"]]), sf = Jw("main", {
40502
+ const aw = /* @__PURE__ */ Qi(fU, [["render", mU], ["__scopeId", "data-v-bea9a9dc"]]), sf = Jw("main", {
40503
40503
  state: () => ({
40504
40504
  userProfile: {
40505
40505
  token: ""
@@ -40518,11 +40518,11 @@ const aw = /* @__PURE__ */ Ki(fU, [["render", mU], ["__scopeId", "data-v-bea9a9d
40518
40518
  }), gU = {
40519
40519
  name: "ScaffoldTooltip",
40520
40520
  components: {
40521
- Col: qi,
40521
+ Col: Ji,
40522
40522
  CreateTooltipContent: Yw,
40523
40523
  Icon: Ht,
40524
40524
  Popover: Lu,
40525
- Row: Tr,
40525
+ Row: Er,
40526
40526
  Tooltip: Xw
40527
40527
  },
40528
40528
  props: {
@@ -40682,7 +40682,7 @@ function bU(n, e, t, i, r, s) {
40682
40682
  }, 8, ["visible", "onHide"])
40683
40683
  ], 4);
40684
40684
  }
40685
- const lw = /* @__PURE__ */ Ki(gU, [["render", bU], ["__scopeId", "data-v-0b62fe75"]]);
40685
+ const lw = /* @__PURE__ */ Qi(gU, [["render", bU], ["__scopeId", "data-v-0b62fe75"]]);
40686
40686
  var Yn = Uint8Array, Po = Uint16Array, xU = Int32Array, cw = new Yn([
40687
40687
  0,
40688
40688
  0,
@@ -40763,8 +40763,8 @@ var Yn = Uint8Array, Po = Uint16Array, xU = Int32Array, cw = new Yn([
40763
40763
  fw[28] = 258, wU[258] = 28;
40764
40764
  var AU = hw(uw, 0), _U = AU.b, of = new Po(32768);
40765
40765
  for (var Nt = 0; Nt < 32768; ++Nt) {
40766
- var Gr = (Nt & 43690) >> 1 | (Nt & 21845) << 1;
40767
- Gr = (Gr & 52428) >> 2 | (Gr & 13107) << 2, Gr = (Gr & 61680) >> 4 | (Gr & 3855) << 4, of[Nt] = ((Gr & 65280) >> 8 | (Gr & 255) << 8) >> 1;
40766
+ var Hr = (Nt & 43690) >> 1 | (Nt & 21845) << 1;
40767
+ Hr = (Hr & 52428) >> 2 | (Hr & 13107) << 2, Hr = (Hr & 61680) >> 4 | (Hr & 3855) << 4, of[Nt] = ((Hr & 65280) >> 8 | (Hr & 255) << 8) >> 1;
40768
40768
  }
40769
40769
  var Qa = function(n, e, t) {
40770
40770
  for (var i = n.length, r = 0, s = new Po(e); r < i; ++r)
@@ -41436,7 +41436,7 @@ we(We, "MAGIC_COOKIE", 348), we(We, "STANDARD_HEADER_SIZE", 348), we(We, "MAGIC_
41436
41436
  we(We, "MAGIC_NUMBER2", [110, 105, 49]), // ni1 (.hdr/.img)
41437
41437
  we(We, "EXTENSION_HEADER_SIZE", 8);
41438
41438
  let vt = We;
41439
- const Fi = class Fi {
41439
+ const Pi = class Pi {
41440
41440
  constructor() {
41441
41441
  we(this, "littleEndian", !1);
41442
41442
  we(this, "dim_info", 0);
@@ -41486,7 +41486,7 @@ const Fi = class Fi {
41486
41486
  * @returns {number}
41487
41487
  */
41488
41488
  we(this, "getExtensionLocation", function() {
41489
- return Fi.MAGIC_COOKIE + 4;
41489
+ return Pi.MAGIC_COOKIE + 4;
41490
41490
  });
41491
41491
  /**
41492
41492
  * Returns the extension size.
@@ -41566,7 +41566,7 @@ const Fi = class Fi {
41566
41566
  */
41567
41567
  readHeader(e) {
41568
41568
  var t = new DataView(e), i = Be.getIntAt(t, 0, this.littleEndian), r, s, o, a;
41569
- if (i !== Fi.MAGIC_COOKIE && (this.littleEndian = !0, i = Be.getIntAt(t, 0, this.littleEndian)), i !== Fi.MAGIC_COOKIE)
41569
+ if (i !== Pi.MAGIC_COOKIE && (this.littleEndian = !0, i = Be.getIntAt(t, 0, this.littleEndian)), i !== Pi.MAGIC_COOKIE)
41570
41570
  throw new Error("This does not appear to be a NIFTI file!");
41571
41571
  for (this.magic = Be.getStringAt(t, 4, 12), this.datatypeCode = Be.getShortAt(t, 12, this.littleEndian), this.numBitsPerVoxel = Be.getShortAt(t, 14, this.littleEndian), r = 0; r < 8; r += 1)
41572
41572
  a = 16 + r * 8, this.dims[r] = Be.getInt64At(t, a, this.littleEndian);
@@ -41575,7 +41575,7 @@ const Fi = class Fi {
41575
41575
  for (this.vox_offset = Be.getInt64At(t, 168, this.littleEndian), this.scl_slope = Be.getDoubleAt(t, 176, this.littleEndian), this.scl_inter = Be.getDoubleAt(t, 184, this.littleEndian), this.cal_max = Be.getDoubleAt(t, 192, this.littleEndian), this.cal_min = Be.getDoubleAt(t, 200, this.littleEndian), this.slice_duration = Be.getDoubleAt(t, 208, this.littleEndian), this.toffset = Be.getDoubleAt(t, 216, this.littleEndian), this.slice_start = Be.getInt64At(t, 224, this.littleEndian), this.slice_end = Be.getInt64At(t, 232, this.littleEndian), this.description = Be.getStringAt(t, 240, 320), this.aux_file = Be.getStringAt(t, 320, 344), this.qform_code = Be.getIntAt(t, 344, this.littleEndian), this.sform_code = Be.getIntAt(t, 348, this.littleEndian), this.quatern_b = Be.getDoubleAt(t, 352, this.littleEndian), this.quatern_c = Be.getDoubleAt(t, 360, this.littleEndian), this.quatern_d = Be.getDoubleAt(t, 368, this.littleEndian), this.qoffset_x = Be.getDoubleAt(t, 376, this.littleEndian), this.qoffset_y = Be.getDoubleAt(t, 384, this.littleEndian), this.qoffset_z = Be.getDoubleAt(t, 392, this.littleEndian), s = 0; s < 3; s += 1)
41576
41576
  for (o = 0; o < 4; o += 1)
41577
41577
  a = 400 + (s * 4 + o) * 8, this.affine[s][o] = Be.getDoubleAt(t, a, this.littleEndian);
41578
- this.affine[3][0] = 0, this.affine[3][1] = 0, this.affine[3][2] = 0, this.affine[3][3] = 1, this.slice_code = Be.getIntAt(t, 496, this.littleEndian), this.xyzt_units = Be.getIntAt(t, 500, this.littleEndian), this.intent_code = Be.getIntAt(t, 504, this.littleEndian), this.intent_name = Be.getStringAt(t, 508, 524), this.dim_info = Be.getByteAt(t, 524), t.byteLength > Fi.MAGIC_COOKIE && (this.extensionFlag[0] = Be.getByteAt(t, 540), this.extensionFlag[1] = Be.getByteAt(t, 541), this.extensionFlag[2] = Be.getByteAt(t, 542), this.extensionFlag[3] = Be.getByteAt(t, 543), this.extensionFlag[0] && (this.extensions = Be.getExtensionsAt(t, this.getExtensionLocation(), this.littleEndian, this.vox_offset), this.extensionSize = this.extensions[0].esize, this.extensionCode = this.extensions[0].ecode));
41578
+ this.affine[3][0] = 0, this.affine[3][1] = 0, this.affine[3][2] = 0, this.affine[3][3] = 1, this.slice_code = Be.getIntAt(t, 496, this.littleEndian), this.xyzt_units = Be.getIntAt(t, 500, this.littleEndian), this.intent_code = Be.getIntAt(t, 504, this.littleEndian), this.intent_name = Be.getStringAt(t, 508, 524), this.dim_info = Be.getByteAt(t, 524), t.byteLength > Pi.MAGIC_COOKIE && (this.extensionFlag[0] = Be.getByteAt(t, 540), this.extensionFlag[1] = Be.getByteAt(t, 541), this.extensionFlag[2] = Be.getByteAt(t, 542), this.extensionFlag[3] = Be.getByteAt(t, 543), this.extensionFlag[0] && (this.extensions = Be.getExtensionsAt(t, this.getExtensionLocation(), this.littleEndian, this.vox_offset), this.extensionSize = this.extensions[0].esize, this.extensionCode = this.extensions[0].ecode));
41579
41579
  }
41580
41580
  /**
41581
41581
  * Returns a formatted string of header fields.
@@ -41643,9 +41643,9 @@ const Fi = class Fi {
41643
41643
  }
41644
41644
  };
41645
41645
  /*** Static Pseudo-constants ***/
41646
- we(Fi, "MAGIC_COOKIE", 540), we(Fi, "MAGIC_NUMBER_LOCATION", 4), we(Fi, "MAGIC_NUMBER", [110, 43, 50, 0, 13, 10, 26, 10]), // n+2\0
41647
- we(Fi, "MAGIC_NUMBER2", [110, 105, 50, 0, 13, 10, 26, 10]);
41648
- let si = Fi;
41646
+ we(Pi, "MAGIC_COOKIE", 540), we(Pi, "MAGIC_NUMBER_LOCATION", 4), we(Pi, "MAGIC_NUMBER", [110, 43, 50, 0, 13, 10, 26, 10]), // n+2\0
41647
+ we(Pi, "MAGIC_NUMBER2", [110, 105, 50, 0, 13, 10, 26, 10]);
41648
+ let si = Pi;
41649
41649
  function mw(n, e = !1) {
41650
41650
  var t, i, r, s;
41651
41651
  return n.byteLength < vt.STANDARD_HEADER_SIZE ? !1 : (t = new DataView(n), t && (i = t.getUint8(vt.MAGIC_NUMBER_LOCATION)), r = t.getUint8(vt.MAGIC_NUMBER_LOCATION + 1), s = t.getUint8(vt.MAGIC_NUMBER_LOCATION + 2), e && i === vt.MAGIC_NUMBER2[0] && r === vt.MAGIC_NUMBER2[1] && s === vt.MAGIC_NUMBER2[2] ? !0 : i === vt.MAGIC_NUMBER[0] && r === vt.MAGIC_NUMBER[1] && s === vt.MAGIC_NUMBER[2]);
@@ -41678,7 +41678,7 @@ function HU(n, e) {
41678
41678
  var s = n.dims[1] * n.dims[2] * n.dims[3] * i * r * (n.numBitsPerVoxel / 8);
41679
41679
  return e.slice(t, t + s);
41680
41680
  }
41681
- const WU = require("three"), jU = {
41681
+ const WU = {
41682
41682
  id: "mesh-location-orientation",
41683
41683
  locations: [
41684
41684
  {
@@ -41708,7 +41708,7 @@ const WU = require("three"), jU = {
41708
41708
  ]
41709
41709
  },
41710
41710
  type: "slides"
41711
- }, $U = {
41711
+ }, jU = {
41712
41712
  hideWhitePixel: !1,
41713
41713
  hideBlackPixel: !0,
41714
41714
  keepScalePosition: !0,
@@ -41723,7 +41723,7 @@ function Qv(n) {
41723
41723
  }
41724
41724
  return e = void 0, { niftiHeader: void 0, niftiImage: void 0 };
41725
41725
  }
41726
- function ZU(n, e, t, i, r) {
41726
+ function $U(n, e, t, i, r) {
41727
41727
  if (n != null && n.dims && n.dims[0] === 3) {
41728
41728
  const s = n.dims[1], o = n.dims[2], a = n.dims[3], { typedData: c, dataType: l } = e0(n, e), h = s * o, u = h * a * 4, f = new Uint8Array(u);
41729
41729
  let m;
@@ -41763,20 +41763,20 @@ function ZU(n, e, t, i, r) {
41763
41763
  function e0(n, e) {
41764
41764
  return n.datatypeCode === vt.TYPE_UINT8 ? { typedData: new Uint8Array(e), dataType: "uint" } : n.datatypeCode === vt.TYPE_INT16 ? { typedData: new Int16Array(e), dataType: "int16" } : n.datatypeCode === vt.TYPE_INT32 ? { typedData: new Int32Array(e), dataType: "int32" } : n.datatypeCode === vt.TYPE_FLOAT32 ? { typedData: new Float32Array(e), dataType: "float" } : n.datatypeCode === vt.TYPE_FLOAT64 ? { typedData: new Float64Array(e), dataType: "float" } : n.datatypeCode === vt.TYPE_INT8 ? { typedData: new Int8Array(e), dataType: "int" } : n.datatypeCode === vt.TYPE_UINT16 ? { typedData: new Uint16Array(e), dataType: "int" } : n.datatypeCode === vt.TYPE_UINT32 ? { typedData: new Uint32Array(e), dataType: "int" } : void 0;
41765
41765
  }
41766
- function XU(n, e) {
41766
+ function ZU(n, e) {
41767
41767
  if (n != null && n.affine && n.dims) {
41768
41768
  const t = n.affine, i = [0, 0, 0], r = [0, 0, 0];
41769
41769
  return i[0] = t[0][3], i[1] = t[1][3], i[2] = t[2][3], r[0] = t[0][0] * n.dims[1], r[1] = t[1][1] * n.dims[2], r[2] = t[2][2] * n.dims[3], e.keepScalePosition && (r[0] = Math.abs(r[0]), r[1] = Math.abs(r[1]), r[2] = Math.abs(r[2])), { position: i, scale: r };
41770
41770
  }
41771
41771
  return { position: void 0, scale: void 0 };
41772
41772
  }
41773
- function YU(n, e) {
41774
- return n && n.sform_code ? XU(n, e) : { position: void 0, scale: void 0 };
41773
+ function XU(n, e) {
41774
+ return n && n.sform_code ? ZU(n, e) : { position: void 0, scale: void 0 };
41775
41775
  }
41776
41776
  function bw(n) {
41777
41777
  if (n != null && n.data) {
41778
- const e = new (require("../texture/textureArray")).TextureArray();
41779
- return e.impl = new WU.DataTexture2DArray(
41778
+ const e = new wi.TextureArray();
41779
+ return e.impl = new wi.THREE.DataTexture2DArray(
41780
41780
  n.data,
41781
41781
  n.width,
41782
41782
  n.height,
@@ -41788,14 +41788,14 @@ function bw(n) {
41788
41788
  }, e.isLoading = !1, e.impl.needsUpdate = !0, e;
41789
41789
  }
41790
41790
  }
41791
- function qU(n, e, t, i, r) {
41791
+ function YU(n, e, t, i, r) {
41792
41792
  if (e != null && e.data) {
41793
- const s = new (require("../primitives/textureSlides")).TextureSlides(), o = bw(e);
41793
+ const s = new wi.TextureSlides(), o = bw(e);
41794
41794
  if (o) {
41795
41795
  s.groupName = "Images", s.morph.renderOrder = 1, s.texture = o;
41796
- const a = structuredClone(jU);
41796
+ const a = structuredClone(WU);
41797
41797
  if (Object.assign(a, i), t && n) {
41798
- const { position: c, scale: l } = YU(n, r);
41798
+ const { position: c, scale: l } = XU(n, r);
41799
41799
  c && l && (a.locations[0].scale = l, a.locations[0].position = c);
41800
41800
  }
41801
41801
  return s.initialise(a, void 0), s.showEdges(10066329), s;
@@ -41803,7 +41803,7 @@ function qU(n, e, t, i, r) {
41803
41803
  }
41804
41804
  }
41805
41805
  async function xw(n, e, t) {
41806
- const i = { ...$U };
41806
+ const i = { ...jU };
41807
41807
  t && Object.assign(i, t);
41808
41808
  let r, s;
41809
41809
  if (e) {
@@ -41811,34 +41811,34 @@ async function xw(n, e, t) {
41811
41811
  r = m.niftiHeader, s = m.niftiImage;
41812
41812
  }
41813
41813
  const a = await (await fetch(n)).arrayBuffer(), { niftiHeader: c, niftiImage: l } = Qv(a);
41814
- return { sources: ZU(c, l, r, s, i), niftiHeader: c };
41814
+ return { sources: $U(c, l, r, s, i), niftiHeader: c };
41815
41815
  }
41816
- async function JU(n, e, t, i, r) {
41816
+ async function qU(n, e, t, i, r) {
41817
41817
  let s = !1, o, a = n;
41818
41818
  if (Array.isArray(n) && (a = n[0], n.length > 1 && (r != null && r.timeEnabled) && (s = !0)), typeof a == "string") {
41819
41819
  const { sources: c, niftiHeader: l } = await xw(a, t, r);
41820
- o = qU(l, c, e, i, r);
41820
+ o = YU(l, c, e, i, r);
41821
41821
  }
41822
41822
  if (s && o) {
41823
41823
  for (let c = 1; c < n.length; c++) {
41824
- const l = await KU(n[c], t, r);
41824
+ const l = await JU(n[c], t, r);
41825
41825
  o.addTextureArray(l);
41826
41826
  }
41827
41827
  o.timeEnabled = !0;
41828
41828
  }
41829
41829
  return o;
41830
41830
  }
41831
- async function KU(n, e, t) {
41831
+ async function JU(n, e, t) {
41832
41832
  const { sources: i } = await xw(n, e, t);
41833
41833
  return bw(i);
41834
41834
  }
41835
- const QU = {
41835
+ const KU = {
41836
41836
  hideWhitePixel: !1,
41837
41837
  hideBlackPixel: !1,
41838
41838
  keepScalePosition: !0,
41839
41839
  filterByValue: !0,
41840
41840
  timeEnabled: !0
41841
- }, ek = {
41841
+ }, QU = {
41842
41842
  v1: {
41843
41843
  id: "mesh-location-orientation",
41844
41844
  locations: [
@@ -41870,9 +41870,9 @@ const QU = {
41870
41870
  },
41871
41871
  type: "slides"
41872
41872
  }
41873
- }, tk = async (n, e, t) => await JU(n, e, t, ek.v1, QU), bl = { ALL: 0, SELECTED: 1, HIGHLIGHTED: 2, MOVE: 3 }, nk = function(n, e, t) {
41873
+ }, ek = async (n, e, t) => await qU(n, e, t, QU.v1, KU), bl = { ALL: 0, SELECTED: 1, HIGHLIGHTED: 2, MOVE: 3 }, tk = function(n, e, t) {
41874
41874
  this.eventType = n, this.identifiers = e, this.zincObjects = t;
41875
- }, ik = function(n, e, t) {
41875
+ }, nk = function(n, e, t) {
41876
41876
  this.targetedID = [];
41877
41877
  const i = n, r = e;
41878
41878
  this.targetEventType = t;
@@ -41881,18 +41881,18 @@ const QU = {
41881
41881
  return t;
41882
41882
  }, this.notify = function(o, a, c, l) {
41883
41883
  if (o !== i && (s.targetEventType === bl.ALL || s.targetEventType === a)) {
41884
- const h = new nk(a, c, l);
41884
+ const h = new tk(a, c, l);
41885
41885
  r(h);
41886
41886
  }
41887
41887
  };
41888
- }, rk = function() {
41888
+ }, ik = function() {
41889
41889
  const n = [];
41890
41890
  this.publish = function(e, t, i, r) {
41891
41891
  for (let s = 0; s < n.length; s++)
41892
41892
  n[s].notify(e, t, i, r);
41893
41893
  }, this.subscribe = function(e, t, i) {
41894
41894
  if (typeof t == "function") {
41895
- const r = new ik(e, t, i);
41895
+ const r = new nk(e, t, i);
41896
41896
  return n.push(r), r;
41897
41897
  }
41898
41898
  }, this.unsubscribe = function(e) {
@@ -41989,12 +41989,12 @@ const Hc = (n, e, t, i) => {
41989
41989
  let o = e;
41990
41990
  i === "highlight" && "highlightColour" in s.userData && (o = s.userData.highlightColour), i === "select" && "selectedColour" in s.userData && (o = s.userData.selectedColour), o && s.setEmissiveRGB(o);
41991
41991
  } else n[r].material && n[r].material.emissive && n[r].material.emissive.setRGB(...e);
41992
- t && n[r].material.depthFunc && (n[r].material.depthFunc = Yr.THREE.LessEqualDepth), n[r].children.forEach((o) => {
41992
+ t && n[r].material.depthFunc && (n[r].material.depthFunc = wi.THREE.LessEqualDepth), n[r].children.forEach((o) => {
41993
41993
  const a = o.userData;
41994
41994
  a && a.isZincObject && o.material && o.material.emissive && o.material.emissive.setRGB(...e);
41995
41995
  });
41996
41996
  }
41997
- }, sk = function() {
41997
+ }, rk = function() {
41998
41998
  let n = [], e = [];
41999
41999
  this.highlightColour = [0.5, 0, 0], this.selectColour = [0, 0.5, 0], this.originalColour = [0, 0, 0];
42000
42000
  const t = [], i = [], r = this, s = function(c, l) {
@@ -42030,12 +42030,12 @@ const Hc = (n, e, t, i) => {
42030
42030
  const l = [...n];
42031
42031
  this.setNervesStyle(l), r.resetHighlighted();
42032
42032
  const h = o(c, e), u = a(h);
42033
- return this.setNervesStyle(h, Ii.HIGHLIGHTED_COLOUR), Hc(u, r.highlightColour, !1, "highlight"), n = h, s(n, l);
42033
+ return this.setNervesStyle(h, Oi.HIGHLIGHTED_COLOUR), Hc(u, r.highlightColour, !1, "highlight"), n = h, s(n, l);
42034
42034
  }, this.setSelected = function(c) {
42035
42035
  const l = [...e];
42036
42036
  this.setNervesStyle(l), r.resetHighlighted(), r.resetSelected();
42037
42037
  const h = a(c);
42038
- return this.setNervesStyle(c, Ii.SELECTED_COLOUR), Hc(h, r.selectColour, !1, "select"), e = c, s(e, l);
42038
+ return this.setNervesStyle(c, Oi.SELECTED_COLOUR), Hc(h, r.selectColour, !1, "select"), e = c, s(e, l);
42039
42039
  };
42040
42040
  const a = function(c) {
42041
42041
  i.length = 0;
@@ -42046,7 +42046,7 @@ const Hc = (n, e, t, i) => {
42046
42046
  this.setNervesStyle = function(c, l) {
42047
42047
  const h = Up(c);
42048
42048
  if (h && h.length) {
42049
- const u = l ? Ii.ZOOM_RADIUS : Ii.DEFAULT_RADIUS, f = l ? Ii.ZOOM_RADIAL_SEGMENTS : Ii.DEFAULT_RADIAL_SEGMENTS;
42049
+ const u = l ? Oi.ZOOM_RADIUS : Oi.DEFAULT_RADIUS, f = l ? Oi.ZOOM_RADIAL_SEGMENTS : Oi.DEFAULT_RADIAL_SEGMENTS;
42050
42050
  h.forEach((m) => {
42051
42051
  var p, d, y;
42052
42052
  if (m.isTubeLines && ((p = m.userData) != null && p.isNerves) && !((d = m.userData) != null && d.isGreyScale)) {
@@ -42067,7 +42067,7 @@ const Hc = (n, e, t, i) => {
42067
42067
  }, this.reset = function() {
42068
42068
  r.resetSelected(), r.resetHighlighted();
42069
42069
  };
42070
- }, Vp = Jc.THREE, ok = function() {
42070
+ }, Vp = Jc.THREE, sk = function() {
42071
42071
  const n = document.createElement("div");
42072
42072
  let e;
42073
42073
  if (n.style.height = "100%", t0.isWebGLAvailable())
@@ -42078,7 +42078,7 @@ const Hc = (n, e, t, i) => {
42078
42078
  }
42079
42079
  return { Zinc: Jc, renderer: e, container: n };
42080
42080
  }, nn = function() {
42081
- ii.call(this), this.scene = void 0, this.rendererContainer = void 0, this.displayArea = void 0, this.graphicsHighlight = new sk(), this.selectObjectOnPick = !0, this.zincRenderer = null, this.selectedScreenCoordinates = new Vp.Vector3(), this.selectedCenter = void 0, this.liveUpdatesObjects = void 0, this.ignorePreviousSelected = !1;
42081
+ ii.call(this), this.scene = void 0, this.rendererContainer = void 0, this.displayArea = void 0, this.graphicsHighlight = new rk(), this.selectObjectOnPick = !0, this.zincRenderer = null, this.selectedScreenCoordinates = new Vp.Vector3(), this.selectedCenter = void 0, this.liveUpdatesObjects = void 0, this.ignorePreviousSelected = !1;
42082
42082
  };
42083
42083
  nn.prototype = Object.create(ii.prototype);
42084
42084
  nn.prototype.getIntersectedObject = function(n) {
@@ -42189,7 +42189,7 @@ nn.prototype.getPlayRate = function(n) {
42189
42189
  };
42190
42190
  nn.prototype.initialiseRenderer = function(n) {
42191
42191
  if (this.zincRenderer === void 0 || this.rendererContainer === void 0) {
42192
- let e = ok();
42192
+ let e = sk();
42193
42193
  this.Zinc = e.Zinc, this.zincRenderer = e.renderer, this.rendererContainer = e.container;
42194
42194
  }
42195
42195
  n && (this.displayArea = n, this.displayArea.appendChild(this.rendererContainer), this.zincRenderer && this.zincRenderer.animate());
@@ -42197,15 +42197,15 @@ nn.prototype.initialiseRenderer = function(n) {
42197
42197
  nn.prototype.destroy = function() {
42198
42198
  this.zincRenderer && (this.zincRenderer.dispose(), this.zincRenderer.getThreeJSRenderer().dispose(), this.zincRenderer = void 0), ii.prototype.destroy.call(this);
42199
42199
  };
42200
- const ak = function() {
42200
+ const ok = function() {
42201
42201
  this.type = "anatomical", this.data = void 0, this.isAnnotation = !0;
42202
- }, lk = function() {
42202
+ }, ak = function() {
42203
42203
  this.currentName = "", this.currentSystem = "", this.currentPart = "", this.currentSpecies = "", this.metaURL = "", this.viewURL = "", this.timeVarying = !1, this.currentTime = 0;
42204
42204
  }, Mw = function(n) {
42205
42205
  nn.call(this);
42206
42206
  const e = this;
42207
42207
  let t;
42208
- this.sceneData = new lk();
42208
+ this.sceneData = new ak();
42209
42209
  const i = new Array(), r = new Array(), s = new Array(), o = new Array();
42210
42210
  let a, c;
42211
42211
  const l = n;
@@ -42245,7 +42245,7 @@ const ak = function() {
42245
42245
  };
42246
42246
  const f = function() {
42247
42247
  if (e.zincRenderer.playAnimation && e.liveUpdatesObjects && e.setupLiveCoordinates(e.liveUpdatesObjects), e.selectedCenter) {
42248
- const S = new Yr.THREE.Vector3();
42248
+ const S = new wi.THREE.Vector3();
42249
42249
  S.copy(e.selectedCenter);
42250
42250
  const E = e.scene.vectorToScreenXY(S);
42251
42251
  e.selectedScreenCoordinates.x = E.x, e.selectedScreenCoordinates.y = E.y;
@@ -42278,7 +42278,7 @@ const ak = function() {
42278
42278
  }, this.unsetDownloadErrorCallback = function() {
42279
42279
  c = void 0;
42280
42280
  }, this.getNamedObjectsToScreenCoordinates = function(S, E) {
42281
- const R = new Yr.THREE.Vector3();
42281
+ const R = new wi.THREE.Vector3();
42282
42282
  R.setFromMatrixPosition(obj.matrixWorld);
42283
42283
  const A = width / 2, C = height / 2;
42284
42284
  return R.project(E), R.x = R.x * A + A, R.y = -(R.y * C) + C, R;
@@ -42390,13 +42390,13 @@ const ak = function() {
42390
42390
  e.changeOrganPartsVisibility(S, E);
42391
42391
  };
42392
42392
  }, this.changeBackgroundColour = function(S) {
42393
- const E = new Yr.THREE.Color(S);
42393
+ const E = new wi.THREE.Color(S);
42394
42394
  e.zincRenderer && e.zincRenderer.getThreeJSRenderer().setClearColor(E, 1);
42395
42395
  };
42396
42396
  const M = function(S, E, R, A) {
42397
42397
  for (let P = 0; P < s.length; P++)
42398
42398
  s[P](A, e.scene.isTimeVarying());
42399
- const C = new ak(), b = A.region.getFullPath();
42399
+ const C = new ok(), b = A.region.getFullPath();
42400
42400
  C.data = {
42401
42401
  species: e.sceneData.currentSpecies,
42402
42402
  system: S,
@@ -42457,7 +42457,7 @@ const ak = function() {
42457
42457
  }
42458
42458
  return A;
42459
42459
  }, this.getCentreAndSize = function() {
42460
- const S = new Yr.THREE.Vector3(), E = this.scene.getBoundingBox();
42460
+ const S = new wi.THREE.Vector3(), E = this.scene.getBoundingBox();
42461
42461
  E.getCenter(S);
42462
42462
  const R = [S.x, S.y, S.z];
42463
42463
  E.getSize(S);
@@ -42522,7 +42522,7 @@ var Rt = function() {
42522
42522
  return e;
42523
42523
  }, Rt.apply(this, arguments);
42524
42524
  };
42525
- function ck(n, e, t, i) {
42525
+ function lk(n, e, t, i) {
42526
42526
  function r(s) {
42527
42527
  return s instanceof t ? s : new t(function(o) {
42528
42528
  o(s);
@@ -42549,7 +42549,7 @@ function ck(n, e, t, i) {
42549
42549
  l((i = i.apply(n, [])).next());
42550
42550
  });
42551
42551
  }
42552
- function uk(n, e) {
42552
+ function ck(n, e) {
42553
42553
  var t = { label: 0, sent: function() {
42554
42554
  if (s[0] & 1) throw s[1];
42555
42555
  return s[1];
@@ -42636,7 +42636,7 @@ function Xt(n, e) {
42636
42636
  }
42637
42637
  return s;
42638
42638
  }
42639
- var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42639
+ var uk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42640
42640
  /** @class */
42641
42641
  function() {
42642
42642
  function n(e, t) {
@@ -42683,7 +42683,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42683
42683
  }()
42684
42684
  ), To = function(n) {
42685
42685
  return n[n.length - 1];
42686
- }, dk = function(n, e, t) {
42686
+ }, hk = function(n, e, t) {
42687
42687
  var i = /* @__PURE__ */ new Map();
42688
42688
  if (e === void 0)
42689
42689
  return i;
@@ -42756,9 +42756,9 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42756
42756
  }, n.prototype.clear = function() {
42757
42757
  this._size = void 0, this._tree.clear();
42758
42758
  }, n.prototype.delete = function(e) {
42759
- return this._size = void 0, fk(this._tree, e);
42759
+ return this._size = void 0, dk(this._tree, e);
42760
42760
  }, n.prototype.entries = function() {
42761
- return new nd(this, hk);
42761
+ return new nd(this, uk);
42762
42762
  }, n.prototype.forEach = function(e) {
42763
42763
  var t, i;
42764
42764
  try {
@@ -42776,7 +42776,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42776
42776
  }
42777
42777
  }
42778
42778
  }, n.prototype.fuzzyGet = function(e, t) {
42779
- return dk(this._tree, e, t);
42779
+ return hk(this._tree, e, t);
42780
42780
  }, n.prototype.get = function(e) {
42781
42781
  var t = af(this._tree, e);
42782
42782
  return t !== void 0 ? t.get(Mn) : void 0;
@@ -42914,7 +42914,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42914
42914
  return n.set(e.slice(s), m), m;
42915
42915
  }
42916
42916
  return n;
42917
- }, fk = function(n, e) {
42917
+ }, dk = function(n, e) {
42918
42918
  var t = Xt(mu(n, e), 2), i = t[0], r = t[1];
42919
42919
  if (i !== void 0) {
42920
42920
  if (i.delete(Mn), i.size === 0)
@@ -42941,14 +42941,14 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
42941
42941
  }
42942
42942
  }, Gp = function(n) {
42943
42943
  return n[n.length - 1];
42944
- }, Ha, Hp = "or", Ew = "and", pk = "and_not", mk = (
42944
+ }, Ha, Hp = "or", Ew = "and", fk = "and_not", pk = (
42945
42945
  /** @class */
42946
42946
  function() {
42947
42947
  function n(e) {
42948
42948
  if ((e == null ? void 0 : e.fields) == null)
42949
42949
  throw new Error('MiniSearch: option "fields" must be provided');
42950
42950
  var t = e.autoVacuum == null || e.autoVacuum === !0 ? ad : e.autoVacuum;
42951
- this._options = Rt(Rt(Rt({}, od), e), { autoVacuum: t, searchOptions: Rt(Rt({}, n0), e.searchOptions || {}), autoSuggestOptions: Rt(Rt({}, xk), e.autoSuggestOptions || {}) }), this._index = new id(), this._documentCount = 0, this._documentIds = /* @__PURE__ */ new Map(), this._idToShortId = /* @__PURE__ */ new Map(), this._fieldIds = {}, this._fieldLength = /* @__PURE__ */ new Map(), this._avgFieldLength = [], this._nextId = 0, this._storedFields = /* @__PURE__ */ new Map(), this._dirtCount = 0, this._currentVacuum = null, this._enqueuedVacuum = null, this._enqueuedVacuumConditions = cf, this.addFields(this._options.fields);
42951
+ this._options = Rt(Rt(Rt({}, od), e), { autoVacuum: t, searchOptions: Rt(Rt({}, n0), e.searchOptions || {}), autoSuggestOptions: Rt(Rt({}, bk), e.autoSuggestOptions || {}) }), this._index = new id(), this._documentCount = 0, this._documentIds = /* @__PURE__ */ new Map(), this._idToShortId = /* @__PURE__ */ new Map(), this._fieldIds = {}, this._fieldLength = /* @__PURE__ */ new Map(), this._avgFieldLength = [], this._nextId = 0, this._storedFields = /* @__PURE__ */ new Map(), this._dirtCount = 0, this._currentVacuum = null, this._enqueuedVacuum = null, this._enqueuedVacuumConditions = cf, this.addFields(this._options.fields);
42952
42952
  }
42953
42953
  return n.prototype.add = function(e) {
42954
42954
  var t, i, r, s, o, a, c = this._options, l = c.extractField, h = c.tokenize, u = c.processTerm, f = c.fields, m = c.idField, p = l(e, m);
@@ -43161,9 +43161,9 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43161
43161
  return i._enqueuedVacuumConditions = cf, i.performVacuuming(e, r);
43162
43162
  }), this._enqueuedVacuum)) : this.vacuumConditionsMet(t) === !1 ? Promise.resolve() : (this._currentVacuum = this.performVacuuming(e), this._currentVacuum);
43163
43163
  }, n.prototype.performVacuuming = function(e, t) {
43164
- return ck(this, void 0, void 0, function() {
43164
+ return lk(this, void 0, void 0, function() {
43165
43165
  var i, r, s, o, a, c, l, h, u, f, m, p, d, y, v, g, M, w, _, x, T, F, L, I, S;
43166
- return uk(this, function(E) {
43166
+ return ck(this, function(E) {
43167
43167
  switch (E.label) {
43168
43168
  case 0:
43169
43169
  if (i = this._dirtCount, !this.vacuumConditionsMet(t)) return [3, 10];
@@ -43423,7 +43423,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43423
43423
  return f(y);
43424
43424
  }).filter(function(y) {
43425
43425
  return !!y;
43426
- }), p = m.map(bk(h)), d = p.map(function(y) {
43426
+ }), p = m.map(yk(h)), d = p.map(function(y) {
43427
43427
  return i.executeQuerySpec(y, h);
43428
43428
  });
43429
43429
  return this.combineResults(d, h.combineWith);
@@ -43499,7 +43499,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43499
43499
  if (t === void 0 && (t = Hp), e.length === 0)
43500
43500
  return /* @__PURE__ */ new Map();
43501
43501
  var i = t.toLowerCase();
43502
- return e.reduce(gk[i]) || /* @__PURE__ */ new Map();
43502
+ return e.reduce(mk[i]) || /* @__PURE__ */ new Map();
43503
43503
  }, n.prototype.toJSON = function() {
43504
43504
  var e, t, i, r, s = [];
43505
43505
  try {
@@ -43560,9 +43560,9 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43560
43560
  }
43561
43561
  var L = o ? o(this._documentIds.get(F), t, this._storedFields.get(F)) : 1;
43562
43562
  if (L) {
43563
- var I = M.get(F), S = this._fieldLength.get(F)[g], E = yk(I, w, this._documentCount, S, _, a), R = i * v * L * E, A = c.get(F);
43563
+ var I = M.get(F), S = this._fieldLength.get(F)[g], E = vk(I, w, this._documentCount, S, _, a), R = i * v * L * E, A = c.get(F);
43564
43564
  if (A) {
43565
- A.score += R, Mk(A.terms, e);
43565
+ A.score += R, xk(A.terms, e);
43566
43566
  var C = sd(A.match, t);
43567
43567
  C ? C.push(y) : A.match[t] = [y];
43568
43568
  } else
@@ -43670,7 +43670,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43670
43670
  }()
43671
43671
  ), sd = function(n, e) {
43672
43672
  return Object.prototype.hasOwnProperty.call(n, e) ? n[e] : void 0;
43673
- }, gk = (Ha = {}, Ha[Hp] = function(n, e) {
43673
+ }, mk = (Ha = {}, Ha[Hp] = function(n, e) {
43674
43674
  var t, i;
43675
43675
  try {
43676
43676
  for (var r = ft(e.keys()), s = r.next(); !s.done; s = r.next()) {
@@ -43716,7 +43716,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43716
43716
  }
43717
43717
  }
43718
43718
  return r;
43719
- }, Ha[pk] = function(n, e) {
43719
+ }, Ha[fk] = function(n, e) {
43720
43720
  var t, i;
43721
43721
  try {
43722
43722
  for (var r = ft(e.keys()), s = r.next(); !s.done; s = r.next()) {
@@ -43733,10 +43733,10 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43733
43733
  }
43734
43734
  }
43735
43735
  return n;
43736
- }, Ha), vk = { k: 1.2, b: 0.7, d: 0.5 }, yk = function(n, e, t, i, r, s) {
43736
+ }, Ha), gk = { k: 1.2, b: 0.7, d: 0.5 }, vk = function(n, e, t, i, r, s) {
43737
43737
  var o = s.k, a = s.b, c = s.d, l = Math.log(1 + (t - e + 0.5) / (e + 0.5));
43738
43738
  return l * (c + n * (o + 1) / (n + o * (1 - a + a * i / r)));
43739
- }, bk = function(n) {
43739
+ }, yk = function(n) {
43740
43740
  return function(e, t, i) {
43741
43741
  var r = typeof n.fuzzy == "function" ? n.fuzzy(e, t, i) : n.fuzzy || !1, s = typeof n.prefix == "function" ? n.prefix(e, t, i) : n.prefix === !0;
43742
43742
  return { term: e, fuzzy: r, prefix: s };
@@ -43747,7 +43747,7 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43747
43747
  return n[e];
43748
43748
  },
43749
43749
  tokenize: function(n) {
43750
- return n.split(wk);
43750
+ return n.split(Mk);
43751
43751
  },
43752
43752
  processTerm: function(n) {
43753
43753
  return n.toLowerCase();
@@ -43766,13 +43766,13 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43766
43766
  maxFuzzy: 6,
43767
43767
  boost: {},
43768
43768
  weights: { fuzzy: 0.45, prefix: 0.375 },
43769
- bm25: vk
43770
- }, xk = {
43769
+ bm25: gk
43770
+ }, bk = {
43771
43771
  combineWith: Ew,
43772
43772
  prefix: function(n, e, t) {
43773
43773
  return e === t.length - 1;
43774
43774
  }
43775
- }, lf = { batchSize: 1e3, batchWait: 10 }, cf = { minDirtFactor: 0.1, minDirtCount: 20 }, ad = Rt(Rt({}, lf), cf), Mk = function(n, e) {
43775
+ }, lf = { batchSize: 1e3, batchWait: 10 }, cf = { minDirtFactor: 0.1, minDirtCount: 20 }, ad = Rt(Rt({}, lf), cf), xk = function(n, e) {
43776
43776
  n.includes(e) || n.push(e);
43777
43777
  }, i0 = function(n, e) {
43778
43778
  var t, i;
@@ -43812,10 +43812,10 @@ var hk = "ENTRIES", ww = "KEYS", Aw = "VALUES", Mn = "", nd = (
43812
43812
  }
43813
43813
  }
43814
43814
  return i;
43815
- }, wk = /[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;
43816
- class Ak {
43815
+ }, Mk = /[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;
43816
+ class wk {
43817
43817
  constructor() {
43818
- this._searchEngine = new mk({
43818
+ this._searchEngine = new pk({
43819
43819
  fields: ["path", "name"],
43820
43820
  storeFields: ["path"],
43821
43821
  tokenize: (e, t) => e.split(/[\s/]+/)
@@ -43892,7 +43892,7 @@ class Ak {
43892
43892
  return Array.isArray(e) ? t = this.searchTerms(e) : t = this.search(e), this.processResults(t, e);
43893
43893
  }
43894
43894
  }
43895
- const _k = [
43895
+ const Ak = [
43896
43896
  {
43897
43897
  id: 0,
43898
43898
  nerve_id: "ILX:0793723",
@@ -44705,14 +44705,14 @@ const _k = [
44705
44705
  "FMA subclasses (in human nerves)": ["FMA:6892", "FMA:6893"],
44706
44706
  "subclass labels": ["Right T9 grey ramus communicans", "Left T9 grey ramus communicans"]
44707
44707
  }
44708
- ], Sk = () => {
44708
+ ], _k = () => {
44709
44709
  const n = {};
44710
- return _k.forEach((e) => {
44710
+ return Ak.forEach((e) => {
44711
44711
  e.nerve_id && e.label !== "nerve" && e["subclass labels"].forEach((t) => {
44712
44712
  t in n || (n[t.toLowerCase()] = e.nerve_id);
44713
44713
  });
44714
44714
  }), n;
44715
- }, Tk = [
44715
+ }, Sk = [
44716
44716
  {
44717
44717
  label: "urinary bladder",
44718
44718
  anatomicalId: "UBERON:0001255"
@@ -44749,23 +44749,23 @@ const _k = [
44749
44749
  label: "lung",
44750
44750
  anatomicalId: "UBERON:0002048"
44751
44751
  }
44752
- ], Ek = () => {
44752
+ ], Tk = () => {
44753
44753
  const n = {};
44754
- return Tk.forEach((e) => {
44754
+ return Sk.forEach((e) => {
44755
44755
  const t = e.label.toLowerCase();
44756
44756
  t in n || (n[t.toLowerCase()] = e.anatomicalId);
44757
44757
  }), n;
44758
- }, o0 = Sk(), a0 = Ek(), Ck = {
44758
+ }, o0 = _k(), a0 = Tk(), Ek = {
44759
44759
  name: "ScaffoldVuer",
44760
44760
  components: {
44761
44761
  Button: Tl,
44762
- Col: qi,
44762
+ Col: Ji,
44763
44763
  Loading: TF,
44764
44764
  Option: va,
44765
44765
  Popover: Lu,
44766
44766
  Radio: Oy,
44767
44767
  RadioGroup: Dy,
44768
- Row: Tr,
44768
+ Row: Er,
44769
44769
  ScaffoldOverlay: tb,
44770
44770
  Select: ga,
44771
44771
  Slider: hi,
@@ -45291,11 +45291,11 @@ const _k = [
45291
45291
  }
45292
45292
  },
45293
45293
  beforeCreate: function() {
45294
- this.$module = new Mw(), this.selectedObjects = [], this.hoveredObjects = [], this.currentBackground = "white", this._currentURL = void 0, this.availableBackground = ["white", "black", "lightskyblue"], this.$_searchIndex = new Ak();
45294
+ this.$module = new Mw(), this.selectedObjects = [], this.hoveredObjects = [], this.currentBackground = "white", this._currentURL = void 0, this.availableBackground = ["white", "black", "lightskyblue"], this.$_searchIndex = new wk();
45295
45295
  },
45296
45296
  mounted: function() {
45297
45297
  this.openMapRef = kn(this.$refs.openMapRef), this.backgroundIconRef = kn(this.$refs.backgroundIconRef), this.$refs.scaffoldTreeControls.setModule(this.$module);
45298
- let n = new rk();
45298
+ let n = new ik();
45299
45299
  n.subscribe(this, this.eventNotifierCallback), this.$module.addNotifier(n), this.$module.addOrganPartAddedCallback(this.zincObjectAdded), this.$module.addOrganPartRemovedCallback(this.zincObjectRemoved), this.$module.initialiseRenderer(this.$refs.display), this.toggleRendering(this.render), this.clientHeight = this.$refs.scaffoldContainer.$el.clientHeight, this.ro = new ResizeObserver(this.adjustLayout).observe(
45300
45300
  this.$refs.scaffoldContainer.$el
45301
45301
  ), this.helpTextWait = [], this.helpTextWait.length = this.hoverVisibilities.length, this.defaultRate = this.$module.getPlayRate(), this.$module.zincRenderer.addPreRenderCallbackFunction(() => {
@@ -46581,15 +46581,15 @@ const _k = [
46581
46581
  this.setMarkerModeForObjectsWithName(n, e, "on");
46582
46582
  },
46583
46583
  readNIFTIFromSource: async function(n, e, t) {
46584
- return await tk(n, e, t);
46584
+ return await ek(n, e, t);
46585
46585
  }
46586
46586
  }
46587
- }, Lk = { class: "animation-data" }, Rk = { class: "purple" }, Fk = { class: "animation-data" }, Pk = { class: "purple" }, Ik = { class: "animation-data" }, Ok = { class: "bottom-right-control control-layer" }, Dk = { class: "control-layer" }, Nk = { class: "viewing-mode-container" }, Bk = { style: { "margin-bottom": "2px" } }, Uk = {
46587
+ }, Ck = { class: "animation-data" }, Lk = { class: "purple" }, Rk = { class: "animation-data" }, Fk = { class: "purple" }, Pk = { class: "animation-data" }, Ik = { class: "bottom-right-control control-layer" }, Ok = { class: "control-layer" }, Dk = { class: "viewing-mode-container" }, Nk = { style: { "margin-bottom": "2px" } }, Bk = {
46588
46588
  key: 0,
46589
46589
  class: "viewing-mode-title"
46590
- }, kk = ["onClick"], zk = { class: "colour-radio-container" }, Vk = { class: "outlines-radio-container" }, Gk = { class: "background-colour-container" }, Hk = ["onClick"];
46591
- function Wk(n, e, t, i, r, s) {
46592
- const o = Xn("map-svg-sprite-color"), a = lw, c = Xn("DrawToolbar"), l = U0, h = Ht, u = Lu, f = aw, m = tw, p = Xn("map-svg-icon"), d = hi, y = Tr, v = eb, g = va, M = ga, w = Qy, _ = Tl, x = Oy, T = Dy, F = tb, L = _d;
46590
+ }, Uk = ["onClick"], kk = { class: "colour-radio-container" }, zk = { class: "outlines-radio-container" }, Vk = { class: "background-colour-container" }, Gk = ["onClick"];
46591
+ function Hk(n, e, t, i, r, s) {
46592
+ const o = Xn("map-svg-sprite-color"), a = lw, c = Xn("DrawToolbar"), l = U0, h = Ht, u = Lu, f = aw, m = tw, p = Xn("map-svg-icon"), d = hi, y = Er, v = eb, g = va, M = ga, w = Qy, _ = Tl, x = Oy, T = Dy, F = tb, L = _d;
46593
46593
  return _t((pe(), je(F, {
46594
46594
  ref: "scaffoldContainer",
46595
46595
  class: "scaffold-container",
@@ -46785,15 +46785,15 @@ function Wk(n, e, t, i, r, s) {
46785
46785
  default: de(() => [
46786
46786
  ae(y, { class: "tab-content" }, {
46787
46787
  default: de(() => [
46788
- De("div", Lk, [
46788
+ De("div", Ck, [
46789
46789
  e[35] || (e[35] = ot(" Original duration: ")),
46790
- De("div", Rk, bt(n.orginalDuration), 1)
46790
+ De("div", Lk, bt(n.orginalDuration), 1)
46791
46791
  ]),
46792
- De("div", Fk, [
46792
+ De("div", Rk, [
46793
46793
  e[36] || (e[36] = ot(" Animation duration: ")),
46794
- De("div", Pk, bt(n.animateDuration), 1)
46794
+ De("div", Fk, bt(n.animateDuration), 1)
46795
46795
  ]),
46796
- De("div", Ik, [
46796
+ De("div", Pk, [
46797
46797
  e[37] || (e[37] = ot(" Playback speed ")),
46798
46798
  ae(M, {
46799
46799
  teleported: !0,
@@ -46826,7 +46826,7 @@ function Wk(n, e, t, i, r, s) {
46826
46826
  ]),
46827
46827
  _: 1
46828
46828
  }, 8, ["visible"])) : He("", !0),
46829
- De("div", Ok, [
46829
+ De("div", Ik, [
46830
46830
  ae(u, {
46831
46831
  visible: n.hoverVisibilities[0].value,
46832
46832
  content: "Zoom in",
@@ -46940,8 +46940,8 @@ function Wk(n, e, t, i, r, s) {
46940
46940
  "virtual-triggering": ""
46941
46941
  }, {
46942
46942
  default: de(() => [
46943
- De("div", Dk, [
46944
- De("div", Nk, [
46943
+ De("div", Ok, [
46944
+ De("div", Dk, [
46945
46945
  ae(y, { class: "backgroundText" }, {
46946
46946
  default: de(() => e[39] || (e[39] = [
46947
46947
  ot("Viewing Mode")
@@ -46950,15 +46950,15 @@ function Wk(n, e, t, i, r, s) {
46950
46950
  }),
46951
46951
  ae(y, { class: "backgroundControl" }, {
46952
46952
  default: de(() => [
46953
- De("div", Bk, [
46953
+ De("div", Nk, [
46954
46954
  (pe(!0), Ce(Dt, null, qn(n.viewingModes, (I, S, E) => (pe(), Ce(Dt, { key: S }, [
46955
- S === n.viewingMode ? (pe(), Ce("span", Uk, [
46955
+ S === n.viewingMode ? (pe(), Ce("span", Bk, [
46956
46956
  De("b", null, bt(S), 1)
46957
46957
  ])) : (pe(), Ce("span", {
46958
46958
  key: 1,
46959
46959
  class: "viewing-mode-unselected",
46960
46960
  onClick: (R) => s.changeViewingMode(S)
46961
- }, bt(S), 9, kk))
46961
+ }, bt(S), 9, Uk))
46962
46962
  ], 64))), 128))
46963
46963
  ]),
46964
46964
  ae(y, { class: "viewing-mode-description" }, {
@@ -46980,7 +46980,7 @@ function Wk(n, e, t, i, r, s) {
46980
46980
  _: 1
46981
46981
  })
46982
46982
  ]),
46983
- De("div", zk, [
46983
+ De("div", kk, [
46984
46984
  ae(y, { class: "backgroundSpacer" }),
46985
46985
  ae(y, { class: "backgroundText" }, {
46986
46986
  default: de(() => e[41] || (e[41] = [
@@ -47016,7 +47016,7 @@ function Wk(n, e, t, i, r, s) {
47016
47016
  _: 1
47017
47017
  })
47018
47018
  ]),
47019
- De("div", Vk, [
47019
+ De("div", zk, [
47020
47020
  ae(y, { class: "backgroundSpacer" }),
47021
47021
  ae(y, { class: "backgroundText" }, {
47022
47022
  default: de(() => e[44] || (e[44] = [
@@ -47052,7 +47052,7 @@ function Wk(n, e, t, i, r, s) {
47052
47052
  _: 1
47053
47053
  })
47054
47054
  ]),
47055
- De("div", Gk, [
47055
+ De("div", Vk, [
47056
47056
  ae(y, { class: "backgroundSpacer" }),
47057
47057
  ae(y, { class: "backgroundText" }, {
47058
47058
  default: de(() => e[47] || (e[47] = [
@@ -47070,7 +47070,7 @@ function Wk(n, e, t, i, r, s) {
47070
47070
  I == n.currentBackground ? "active" : ""
47071
47071
  ]),
47072
47072
  onClick: (S) => s.backgroundChangeCallback(I)
47073
- }, null, 10, Hk))), 128))
47073
+ }, null, 10, Gk))), 128))
47074
47074
  ]),
47075
47075
  _: 1
47076
47076
  })
@@ -47145,7 +47145,7 @@ function Wk(n, e, t, i, r, s) {
47145
47145
  [L, n.loading]
47146
47146
  ]);
47147
47147
  }
47148
- const Jk = /* @__PURE__ */ Ki(Ck, [["render", Wk], ["__scopeId", "data-v-7949acf9"]]);
47148
+ const qk = /* @__PURE__ */ Qi(Ek, [["render", Hk], ["__scopeId", "data-v-7949acf9"]]);
47149
47149
  export {
47150
- Jk as ScaffoldVuer
47150
+ qk as ScaffoldVuer
47151
47151
  };