@tresjs/core 5.0.1 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tres.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /**
2
- * name: @tresjs/core
3
- * version: v5.0.1
2
+ * name: tresjs
3
+ * version: v0.1.0
4
4
  * (c) 2025
5
- * description: Declarative ThreeJS using Vue Components
5
+ * description: Official monorepo for TresJS
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
7
7
  */
8
- import { reactive as Do, toValue as D, watch as At, onUnmounted as ie, defineComponent as ot, renderSlot as Io, unref as ke, ref as Ae, computed as J, watchEffect as $, readonly as zt, shallowRef as it, isRef as me, useSlots as ko, getCurrentInstance as $t, onMounted as Kt, createElementBlock as xo, openBlock as Ro, normalizeStyle as Lo, normalizeClass as Fo, createRenderer as Mo, h as Wt, provide as qe, Fragment as No } from "vue";
8
+ import { reactive as Io, toValue as I, watch as At, onUnmounted as ie, defineComponent as ot, renderSlot as Do, unref as ke, ref as Ae, computed as J, watchEffect as $, readonly as zt, shallowRef as it, isRef as ge, useSlots as ko, getCurrentInstance as $t, onMounted as Kt, createElementBlock as xo, openBlock as Ro, normalizeStyle as Lo, normalizeClass as Fo, createRenderer as Mo, h as Wt, provide as qe, Fragment as No } from "vue";
9
9
  import * as vr from "three";
10
- import { Layers as Vo, Scene as yr, MathUtils as Bo, Clock as Uo, WebGLRenderer as br, Mesh as He, Material as Ho, Vector3 as I, Vector2 as Y, Ray as st, SphereGeometry as jo, Object3D as je, Matrix4 as Te, BufferAttribute as Cr, Triangle as wr, Line3 as zo, Plane as ze, Raycaster as $o, Quaternion as ut, Sphere as Ko, MeshBasicMaterial as Ar, DoubleSide as Wo, Color as xe, PCFSoftShadowMap as Go, ACESFilmicToneMapping as Yo, PerspectiveCamera as qo, ArrowHelper as Xo, Line as Qo, BufferGeometry as Gt, Float32BufferAttribute as Yt, LineBasicMaterial as Zo, BackSide as Jo, HemisphereLightHelper as ei, SpotLightHelper as ti, PointLightHelper as ni, DirectionalLightHelper as ri } from "three";
11
- import { useAsyncState as oi, whenever as qt, tryOnScopeDispose as ii, createEventHook as Ee, useRafFn as Tr, useDevicePixelRatio as si, useTimeout as ui, unrefElement as ai, useWindowSize as li, useElementSize as ci, refDebounced as Xt, createInjectionState as fi, useFps as di, useMemory as pi, promiseTimeout as hi } from "@vueuse/core";
12
- const _i = "@tresjs/core", mi = "module", gi = "5.0.1", Ei = "pnpm@10.17.0", vi = "Declarative ThreeJS using Vue Components", yi = "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)", bi = "MIT", Ci = { type: "git", url: "git+https://github.com/Tresjs/tres.git" }, wi = ["vue", "3d", "threejs", "three", "threejs-vue"], Ai = !1, Ti = { ".": { types: "./dist/index.d.ts", import: "./dist/tres.js", require: "./dist/tres.js", default: "./dist/tres.js" }, "./components": { types: "./dist/src/components/index.d.ts" }, "./composables": { types: "./dist/src/composables/index.d.ts" }, "./types": { types: "./dist/src/types/index.d.ts" }, "./utils": { types: "./dist/src/utils/index.d.ts" }, "./*": "./*" }, Oi = "./dist/tres.js", Si = "./dist/tres.js", Pi = "./dist/index.d.ts", Di = ["*.d.ts", "dist"], Ii = { access: "public" }, ki = { dev: "pnpm --filter='./playground/vue' dev", "dev:nuxt": "pnpm --filter='./playground/nuxt' dev", build: "vite build", test: "vitest", "test:ci": "vitest run", "test:ui": "vitest --ui --coverage.enabled=true", release: "release-it", coverage: "vitest run --coverage", lint: "eslint .", "lint:fix": "eslint . --fix", typecheck: "vue-tsc --noEmit", "docs:dev": "pnpm --filter='./docs' dev", "docs:generate": "pnpm --filter='./docs' generate", "docs:prepare": "pnpm --filter='./docs' prepare", "docs:lint": "pnpm --filter='./docs' lint", "docs:typecheck": "pnpm --filter='./docs' typecheck" }, xi = { three: ">=0.133", vue: ">=3.4" }, Ri = { "@pmndrs/pointer-events": "^6.6.17", "@vue/devtools-api": "^7.7.2", "@vueuse/core": "^13.9.0", radashi: "^12.6.2" }, Li = { "@release-it/conventional-changelog": "^10.0.0", "@stackblitz/sdk": "^1.11.0", "@tresjs/cientos": "5.0.0-alpha.1", "@tresjs/eslint-config": "^1.4.0", "@tresjs/leches": "1.0.0-next.0", "@types/three": "^0.180.0", "@typescript-eslint/eslint-plugin": "^8.42.0", "@typescript-eslint/parser": "^8.42.0", "@vitejs/plugin-vue": "^6.0.1", "@vitest/coverage-c8": "^0.33.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "@vue/test-utils": "^2.4.6", eslint: "^9.34.0", "eslint-plugin-vue": "^10.4.0", esno: "^4.8.0", gsap: "^3.13.0", jsdom: "^27.0.0", kolorist: "^1.8.0", ohmyfetch: "^0.4.21", pathe: "^2.0.3", "release-it": "^19.0.4", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-visualizer": "^6.0.3", sponsorkit: "^17.0.0", three: "^0.180.0", unocss: "^65.5.0", unplugin: "^2.3.10", "unplugin-vue-components": "^29.0.0", vite: "^7.1.6", "vite-plugin-banner": "^0.8.1", "vite-plugin-dts": "4.5.4", "vite-plugin-inspect": "^11.3.3", "vite-plugin-require-transform": "^1.0.21", "vite-svg-loader": "^5.1.0", vitepress: "1.6.4", vitest: "3.2.4", vue: "3.5.21", "vue-demi": "^0.14.10", "vue-tsc": "^3.0.6" }, Fi = { onlyBuiltDependencies: ["better-sqlite3"], ignoredBuiltDependencies: ["vue-demi"], overrides: { ipx: "^3.0.3", vue: "^3.5.21", "vue-router": "^4.5.1" } }, Mi = { unimport: "4.1.1" }, Ni = {
10
+ import { Layers as Vo, Scene as yr, MathUtils as Bo, Clock as Uo, WebGLRenderer as br, Mesh as He, Material as Ho, Vector3 as D, Vector2 as Y, Ray as st, SphereGeometry as jo, Object3D as je, Matrix4 as Te, BufferAttribute as Cr, Triangle as wr, Line3 as zo, Plane as ze, Raycaster as $o, Quaternion as at, Sphere as Ko, MeshBasicMaterial as Ar, DoubleSide as Wo, Color as xe, PCFSoftShadowMap as Go, ACESFilmicToneMapping as Yo, PerspectiveCamera as qo, ArrowHelper as Xo, Line as Qo, BufferGeometry as Gt, Float32BufferAttribute as Yt, LineBasicMaterial as Zo, BackSide as Jo, HemisphereLightHelper as ei, SpotLightHelper as ti, PointLightHelper as ni, DirectionalLightHelper as ri } from "three";
11
+ import { useAsyncState as oi, whenever as qt, tryOnScopeDispose as ii, createEventHook as Ee, useRafFn as Tr, useDevicePixelRatio as si, useTimeout as ai, unrefElement as ui, useWindowSize as li, useElementSize as ci, refDebounced as Xt, createInjectionState as fi, useFps as di, useMemory as pi, promiseTimeout as hi } from "@vueuse/core";
12
+ const _i = "@tresjs/core", gi = "module", mi = "5.0.3", Ei = "pnpm@10.17.0", vi = "Declarative ThreeJS using Vue Components", yi = "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)", bi = "MIT", Ci = { type: "git", url: "git+https://github.com/Tresjs/tres.git" }, wi = ["vue", "3d", "threejs", "three", "threejs-vue"], Ai = !1, Ti = { ".": { types: "./dist/index.d.ts", import: "./dist/tres.js", default: "./dist/tres.js" }, "./components": { types: "./dist/src/components/index.d.ts" }, "./composables": { types: "./dist/src/composables/index.d.ts" }, "./types": { types: "./dist/src/types/index.d.ts" }, "./utils": { types: "./dist/src/utils/index.d.ts" }, "./*": "./*" }, Oi = "./dist/tres.js", Si = "./dist/index.d.ts", Pi = ["*.d.ts", "dist"], Ii = { access: "public" }, Di = { dev: "pnpm --filter='./playground/vue' dev", "dev:nuxt": "pnpm --filter='./playground/nuxt' dev", build: "vite build", test: "vitest", "test:ci": "vitest run", "test:ui": "vitest --ui --coverage.enabled=true", coverage: "vitest run --coverage", lint: "eslint .", "lint:fix": "eslint . --fix", typecheck: "vue-tsc --noEmit", "docs:dev": "pnpm --filter='./docs' dev", "docs:generate": "pnpm --filter='./docs' generate", "docs:prepare": "pnpm --filter='./docs' prepare", "docs:lint": "pnpm --filter='./docs' lint", "docs:typecheck": "pnpm --filter='./docs' typecheck" }, ki = { three: ">=0.133", vue: ">=3.4" }, xi = { "@pmndrs/pointer-events": "^6.6.17", "@vue/devtools-api": "^7.7.2", "@vueuse/core": "catalog:", radashi: "^12.6.2" }, Ri = { "@stackblitz/sdk": "^1.11.0", "@tresjs/eslint-config": "workspace:*", "@tresjs/leches": "workspace:*", "@types/three": "catalog:", "@typescript-eslint/eslint-plugin": "catalog:", "@typescript-eslint/parser": "catalog:", "@vitejs/plugin-vue": "catalog:", "@vitest/coverage-c8": "^0.33.0", "@vitest/coverage-v8": "catalog:", "@vitest/ui": "catalog:", "@vue/test-utils": "catalog:", eslint: "catalog:", "eslint-plugin-vue": "catalog:", esno: "^4.8.0", gsap: "catalog:", jsdom: "catalog:", kolorist: "catalog:", ohmyfetch: "^0.4.21", pathe: "catalog:", "rollup-plugin-analyzer": "catalog:", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-visualizer": "catalog:", sponsorkit: "^17.0.0", three: "catalog:", unocss: "^65.5.0", unplugin: "^2.3.10", "unplugin-vue-components": "^29.0.0", vite: "catalog:", "vite-plugin-banner": "catalog:", "vite-plugin-dts": "catalog:", "vite-plugin-inspect": "^11.3.3", "vite-plugin-require-transform": "^1.0.21", "vite-svg-loader": "^5.1.0", vitepress: "catalog:", vitest: "catalog:", vue: "catalog:", "vue-demi": "^0.14.10", "vue-tsc": "catalog:" }, Li = { implicitDependencies: ["!@tresjs/core-*"] }, Fi = {
13
13
  name: _i,
14
- type: mi,
15
- version: gi,
14
+ type: gi,
15
+ version: mi,
16
16
  packageManager: Ei,
17
17
  description: vi,
18
18
  author: yi,
@@ -21,33 +21,31 @@ const _i = "@tresjs/core", mi = "module", gi = "5.0.1", Ei = "pnpm@10.17.0", vi
21
21
  keywords: wi,
22
22
  sideEffects: Ai,
23
23
  exports: Ti,
24
- main: Oi,
25
- module: Si,
26
- types: Pi,
27
- files: Di,
24
+ module: Oi,
25
+ types: Si,
26
+ files: Pi,
28
27
  publishConfig: Ii,
29
- scripts: ki,
30
- peerDependencies: xi,
31
- dependencies: Ri,
32
- devDependencies: Li,
33
- pnpm: Fi,
34
- resolutions: Mi
28
+ scripts: Di,
29
+ peerDependencies: ki,
30
+ dependencies: xi,
31
+ devDependencies: Ri,
32
+ nx: Li
35
33
  };
36
34
  /*! #__NO_SIDE_EFFECTS__ */
37
35
  // @__NO_SIDE_EFFECTS__
38
- function Vi(e) {
36
+ function Mi(e) {
39
37
  const t = /* @__PURE__ */ Object.create(null);
40
38
  for (const n of e.split(","))
41
39
  t[n] = 1;
42
40
  return (n) => n in t;
43
41
  }
44
- const Bi = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Ui = /* @__PURE__ */ Vi(Bi);
42
+ const Ni = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Vi = /* @__PURE__ */ Mi(Ni);
45
43
  function Qt(e) {
46
44
  var t;
47
- const n = ((t = e?.replace(/([A-Z])+/g, Hi)) == null ? void 0 : t.split(/(?=[A-Z])|[\.\-\s_]/).map((r) => r.toLowerCase())) ?? [];
45
+ const n = ((t = e?.replace(/([A-Z])+/g, Bi)) == null ? void 0 : t.split(/(?=[A-Z])|[\.\-\s_]/).map((r) => r.toLowerCase())) ?? [];
48
46
  return n.length === 0 ? "" : n.length === 1 ? n[0] : n.reduce((r, o) => `${r}${o.charAt(0).toUpperCase()}${o.slice(1)}`);
49
47
  }
50
- function Hi(e) {
48
+ function Bi(e) {
51
49
  if (!e || e.length === 0)
52
50
  return "";
53
51
  const t = e.toLowerCase();
@@ -77,34 +75,34 @@ function Sr(e) {
77
75
  return typeof e == "number" && !Number.isNaN(e);
78
76
  }
79
77
  function Tt(e) {
80
- return ji(e, "[object Object]");
78
+ return Ui(e, "[object Object]");
81
79
  }
82
80
  function Ot(e) {
83
81
  return typeof e == "string";
84
82
  }
85
- function ji(e, t) {
83
+ function Ui(e, t) {
86
84
  return Object.prototype.toString.call(e) === t;
87
85
  }
88
- function at(e) {
86
+ function ut(e) {
89
87
  return typeof e > "u";
90
88
  }
91
- const B = (e) => (t) => Tt(t) && e in t && !!t[e], lt = B("isObject3D"), $e = B("isMesh"), Pr = B("isCamera"), zi = B("isOrthographicCamera"), Dr = B("isPerspectiveCamera"), Ir = B("isColor"), $i = (e) => Ot(e) || Sr(e) || Ir(e), Zt = (e) => e instanceof Vo, kr = B("isBufferGeometry"), xr = B("isMaterial"), Rr = B("isLight"), Lr = B("isFog"), Fr = B("isScene"), dl = B("isGroup"), ct = (e) => e !== null && typeof e == "object" && "set" in e && typeof e.set == "function", Ki = (e) => ct(e) && "copy" in e && typeof e.copy == "function", Wi = (e) => !!e?.constructor, re = (e) => Pr(e) || zi(e) || Dr(e), Gi = (e) => (
89
+ const B = (e) => (t) => Tt(t) && e in t && !!t[e], lt = B("isObject3D"), $e = B("isMesh"), Pr = B("isCamera"), Hi = B("isOrthographicCamera"), Ir = B("isPerspectiveCamera"), Dr = B("isColor"), ji = (e) => Ot(e) || Sr(e) || Dr(e), Zt = (e) => e instanceof Vo, kr = B("isBufferGeometry"), xr = B("isMaterial"), Rr = B("isLight"), Lr = B("isFog"), Fr = B("isScene"), cl = B("isGroup"), ct = (e) => e !== null && typeof e == "object" && "set" in e && typeof e.set == "function", zi = (e) => ct(e) && "copy" in e && typeof e.copy == "function", $i = (e) => !!e?.constructor, re = (e) => Pr(e) || Hi(e) || Ir(e), Ki = (e) => (
92
90
  // NOTE: TresObject is currently defined as
93
91
  // TresObject3D | THREE.BufferGeometry | THREE.Material | THREE.Fog
94
92
  lt(e) || kr(e) || xr(e) || Lr(e)
95
- ), Yi = B("isPrimitive"), qi = (e) => Gi(e) && "__tres" in e, Xi = (e, t) => {
93
+ ), Wi = B("isPrimitive"), Gi = (e) => Ki(e) && "__tres" in e, Yi = (e, t) => {
96
94
  let n = 0;
97
95
  for (let r = 0; r < e.length; r++)
98
96
  t(e[r], r) && (e[n] = e[r], n++);
99
97
  return e.length = n, e;
100
- }, pl = !0, Fe = "[TresJS ▲ ■ ●] ";
98
+ }, fl = !0, Fe = "[TresJS ▲ ■ ●] ";
101
99
  function Jt(...e) {
102
100
  typeof e[0] == "string" ? e[0] = Fe + e[0] : e.unshift(Fe), console.error(...e);
103
101
  }
104
102
  function Me(...e) {
105
103
  typeof e[0] == "string" ? e[0] = Fe + e[0] : e.unshift(Fe), console.warn(...e);
106
104
  }
107
- function hl(e, t) {
105
+ function dl(e, t) {
108
106
  }
109
107
  function en(e) {
110
108
  ((n) => "map" in n && !!n.map)(e) && e.map.dispose(), e.dispose();
@@ -129,16 +127,16 @@ function Ve(e, t) {
129
127
  function tn(...e) {
130
128
  return e.map((t, n) => n === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1)).join("");
131
129
  }
132
- function Qi(e, t, n) {
130
+ function qi(e, t, n) {
133
131
  const r = /-\d+$/;
134
132
  if (Ot(n)) {
135
133
  if (r.test(n)) {
136
- const s = n.replace(r, ""), { target: u, key: a } = Ve(e, s);
137
- if (!Array.isArray(u[a])) {
138
- const l = u[a], c = [];
134
+ const s = n.replace(r, ""), { target: a, key: u } = Ve(e, s);
135
+ if (!Array.isArray(a[u])) {
136
+ const l = a[u], c = [];
139
137
  c.__tresDetach = () => {
140
- c.every((f) => at(f)) && (u[a] = l);
141
- }, u[a] = c;
138
+ c.every((f) => ut(f)) && (a[u] = l);
139
+ }, a[u] = c;
142
140
  }
143
141
  }
144
142
  const { target: o, key: i } = Ve(e, n);
@@ -146,7 +144,7 @@ function Qi(e, t, n) {
146
144
  } else
147
145
  t.__tres.previousAttach = n(e, t);
148
146
  }
149
- function Zi(e, t, n) {
147
+ function Xi(e, t, n) {
150
148
  if (Ot(n)) {
151
149
  const { target: r, key: o } = Ve(e, n), i = t.__tres.previousAttach;
152
150
  i === void 0 ? delete r[o] : r[o] = i, "__tresDetach" in r && r.__tresDetach();
@@ -170,24 +168,24 @@ function ft(e) {
170
168
  const t = e?.__tres?.root;
171
169
  t?.renderer && t.renderer.canBeInvalidated.value && t.renderer.invalidate();
172
170
  }
173
- function Ji(e, t, n, r, o) {
171
+ function Qi(e, t, n, r, o) {
174
172
  const i = [...t.__tres.objects], s = se(t);
175
173
  if (e = se(e), s === e)
176
174
  return !0;
177
- const u = X(e, t.__tres ?? {}, o), a = t.parent ?? t.__tres.parent ?? null, l = { ...t.__tres.memoizedProps };
175
+ const a = X(e, t.__tres ?? {}, o), u = t.parent ?? t.__tres.parent ?? null, l = { ...t.__tres.memoizedProps };
178
176
  delete l.object;
179
177
  for (const c of i)
180
178
  Mr(c, o), Nr(c, o);
181
179
  s.__tres.objects = [], r.remove(t);
182
180
  for (const [c, f] of Object.entries(l))
183
- r.patchProp(u, c, u[c], f);
184
- n(e), r.insert(t, a);
181
+ r.patchProp(a, c, a[c], f);
182
+ n(e), r.insert(t, u);
185
183
  for (const c of i)
186
184
  r.insert(c, t);
187
185
  return !0;
188
186
  }
189
187
  function se(e) {
190
- if (Yi(e)) {
188
+ if (Wi(e)) {
191
189
  const t = e;
192
190
  return t.object.__tres = t.__tres, t.object;
193
191
  } else
@@ -195,29 +193,29 @@ function se(e) {
195
193
  }
196
194
  function Mr(e, t) {
197
195
  const n = e.__tres?.parent || t.scene.value;
198
- e.__tres && (e.__tres.parent = null), n && n.__tres && "objects" in n.__tres && Xi(n.__tres.objects, (r) => r !== e), e.__tres?.attach ? Zi(n, e, e.__tres.attach) : (e.parent?.remove?.(se(e)), e.parent = null);
196
+ e.__tres && (e.__tres.parent = null), n && n.__tres && "objects" in n.__tres && Yi(n.__tres.objects, (r) => r !== e), e.__tres?.attach ? Xi(n, e, e.__tres.attach) : (e.parent?.remove?.(se(e)), e.parent = null);
199
197
  }
200
198
  function Nr(e, t) {
201
199
  e.traverse?.((n) => {
202
200
  re(n) && t.camera.deregisterCamera(n);
203
201
  }), re(e) && t.camera.deregisterCamera(e), ft(e);
204
202
  }
205
- function es(e, t, n) {
206
- const r = new e(n?.manager), o = Do({
203
+ function Zi(e, t, n) {
204
+ const r = new e(n?.manager), o = Io({
207
205
  loaded: 0,
208
206
  total: 0,
209
207
  percentage: 0
210
208
  });
211
209
  n?.extensions && n.extensions(r);
212
- const i = D(t), s = oi(
213
- (a) => new Promise((l, c) => {
214
- const f = a || i || "";
215
- r.load(f, (_) => {
216
- l(_);
217
- }, (_) => {
218
- o.loaded = _.loaded, o.total = _.total, o.percentage = o.loaded / o.total * 100;
219
- }, (_) => {
220
- c(_);
210
+ const i = I(t), s = oi(
211
+ (u) => new Promise((l, c) => {
212
+ const f = u || i || "";
213
+ r.load(f, (h) => {
214
+ l(h);
215
+ }, (h) => {
216
+ o.loaded = h.loaded, o.total = h.total, o.percentage = o.loaded / o.total * 100;
217
+ }, (h) => {
218
+ c(h);
221
219
  });
222
220
  }),
223
221
  n?.initialValue ?? null,
@@ -225,25 +223,25 @@ function es(e, t, n) {
225
223
  ...n?.asyncOptions,
226
224
  immediate: n?.asyncOptions?.immediate ?? !0
227
225
  }
228
- ), u = At(() => D(t), (a) => {
229
- if (a) {
226
+ ), a = At(() => I(t), (u) => {
227
+ if (u) {
230
228
  const l = s.state.value;
231
- l && typeof l == "object" && "scene" in l && l.scene && Ne(l.scene), s.execute(0, a);
229
+ l && typeof l == "object" && "scene" in l && l.scene && Ne(l.scene), s.execute(0, u);
232
230
  }
233
231
  });
234
232
  return ie(() => {
235
- u();
236
- const a = s.state.value;
237
- a && typeof a == "object" && "scene" in a && a.scene && Ne(a.scene);
233
+ a();
234
+ const u = s.state.value;
235
+ u && typeof u == "object" && "scene" in u && u.scene && Ne(u.scene);
238
236
  }), {
239
237
  ...s,
240
- load: (a) => {
241
- s.execute(0, a);
238
+ load: (u) => {
239
+ s.execute(0, u);
242
240
  },
243
241
  progress: o
244
242
  };
245
243
  }
246
- const _l = /* @__PURE__ */ ot({
244
+ const pl = /* @__PURE__ */ ot({
247
245
  __name: "component",
248
246
  props: {
249
247
  loader: {},
@@ -252,32 +250,32 @@ const _l = /* @__PURE__ */ ot({
252
250
  },
253
251
  emits: ["loaded", "error"],
254
252
  setup(e, { emit: t }) {
255
- const n = e, r = t, { state: o, isLoading: i, error: s } = es(n.loader, n.path, { manager: n.manager });
256
- return qt(s, (u) => {
257
- u && r("error", u);
258
- }), qt(o, (u) => {
259
- u && r("loaded", u);
260
- }), (u, a) => Io(u.$slots, "default", {
253
+ const n = e, r = t, { state: o, isLoading: i, error: s } = Zi(n.loader, n.path, { manager: n.manager });
254
+ return qt(s, (a) => {
255
+ a && r("error", a);
256
+ }), qt(o, (a) => {
257
+ a && r("loaded", a);
258
+ }), (a, u) => Do(a.$slots, "default", {
261
259
  state: ke(o),
262
260
  isLoading: ke(i),
263
261
  error: ke(s)
264
262
  });
265
263
  }
266
- }), ts = ({ sizes: e }) => {
264
+ }), Ji = ({ sizes: e }) => {
267
265
  const t = Ae([]), n = J(() => t.value[0]), r = (s) => {
268
- const u = Pr(s) ? s : t.value.find((l) => l.uuid === s);
269
- if (!u)
266
+ const a = Pr(s) ? s : t.value.find((l) => l.uuid === s);
267
+ if (!a)
270
268
  return;
271
- const a = t.value.filter(({ uuid: l }) => l !== u.uuid);
272
- t.value = [u, ...a];
273
- }, o = (s, u = !1) => {
274
- t.value.some(({ uuid: a }) => a === s.uuid) || (t.value.push(s), u && r(s.uuid));
269
+ const u = t.value.filter(({ uuid: l }) => l !== a.uuid);
270
+ t.value = [a, ...u];
271
+ }, o = (s, a = !1) => {
272
+ t.value.some(({ uuid: u }) => u === s.uuid) || (t.value.push(s), a && r(s.uuid));
275
273
  }, i = (s) => {
276
- t.value = t.value.filter(({ uuid: u }) => u !== s.uuid);
274
+ t.value = t.value.filter(({ uuid: a }) => a !== s.uuid);
277
275
  };
278
276
  return $(() => {
279
277
  e.aspectRatio.value && t.value.forEach((s) => {
280
- Dr(s) && (s.aspect = e.aspectRatio.value, s.updateProjectionMatrix());
278
+ Ir(s) && (s.aspect = e.aspectRatio.value, s.updateProjectionMatrix());
281
279
  });
282
280
  }), {
283
281
  activeCamera: n,
@@ -287,7 +285,7 @@ const _l = /* @__PURE__ */ ot({
287
285
  setActiveCamera: r
288
286
  };
289
287
  };
290
- function ns(e) {
288
+ function es(e) {
291
289
  const t = { nodes: {}, materials: {}, meshes: {} };
292
290
  return e && e.traverse((n) => {
293
291
  n.name && (t.nodes[n.name] = n), $e(n) && (t.meshes[n.name] || (t.meshes[n.name] = n), (Array.isArray(n.material) ? n.material : [n.material]).forEach((r) => {
@@ -295,18 +293,18 @@ function ns(e) {
295
293
  }));
296
294
  }), t;
297
295
  }
298
- const ml = (e) => J(() => {
299
- const t = D(e);
296
+ const hl = (e) => J(() => {
297
+ const t = I(e);
300
298
  if (t)
301
- return ns(t);
299
+ return es(t);
302
300
  });
303
301
  function nn() {
304
302
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set();
305
303
  let n = 0, r = !1;
306
304
  const o = () => {
307
305
  const l = Array.from(e.entries()).sort((c, f) => {
308
- const _ = c[1].priority - f[1].priority;
309
- return _ === 0 ? c[1].addI - f[1].addI : _;
306
+ const h = c[1].priority - f[1].priority;
307
+ return h === 0 ? c[1].addI - f[1].addI : h;
310
308
  });
311
309
  t.clear(), l.forEach((c) => t.add(c[0]));
312
310
  }, i = (l) => {
@@ -326,7 +324,7 @@ function nn() {
326
324
  return e.size;
327
325
  } };
328
326
  }
329
- const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), rs = (e, t, n) => {
327
+ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), ts = (e, t, n) => {
330
328
  if (!Q(e.setPixelRatio))
331
329
  return;
332
330
  let r = 0;
@@ -335,16 +333,16 @@ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), rs = (e, t, n) => {
335
333
  r = Bo.clamp(t, o, i);
336
334
  } else Sr(n) ? r = n : r = t;
337
335
  r !== e.getPixelRatio?.() && e.setPixelRatio(r);
338
- }, os = (e) => {
336
+ }, ns = (e) => {
339
337
  const t = new Uo(), n = {
340
338
  before: Ee(),
341
339
  after: Ee()
342
340
  }, { pause: r, resume: o, isActive: i } = Tr(() => {
343
- const a = () => ({
341
+ const u = () => ({
344
342
  delta: t.getDelta(),
345
343
  elapsed: t.elapsedTime
346
344
  });
347
- n.before.trigger(a()), e(), n.after.trigger(a());
345
+ n.before.trigger(u()), e(), n.after.trigger(u());
348
346
  }, {
349
347
  immediate: !1
350
348
  });
@@ -360,7 +358,7 @@ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), rs = (e, t, n) => {
360
358
  onLoop: n.after.on
361
359
  };
362
360
  };
363
- function is({
361
+ function rs({
364
362
  scene: e,
365
363
  canvas: t,
366
364
  options: n,
@@ -373,44 +371,44 @@ function is({
373
371
  canvas: t
374
372
  }) : new br({
375
373
  ...n,
376
- canvas: ai(t)
377
- }), u = Ae(D(n.renderMode) === "manual" ? 0 : 1), a = 60, l = J(() => D(n.renderMode) === "on-demand" && u.value === 0), c = () => e.value.traverse((E) => {
374
+ canvas: ui(t)
375
+ }), a = Ae(I(n.renderMode) === "manual" ? 0 : 1), u = 60, l = J(() => I(n.renderMode) === "on-demand" && a.value === 0), c = () => e.value.traverse((E) => {
378
376
  E instanceof He && E.material instanceof Ho && (E.material.needsUpdate = !0);
379
377
  }), f = (E = 1) => {
380
- l.value && (u.value = Math.min(a, u.value + E));
381
- }, _ = () => {
382
- if (D(n.renderMode) !== "manual")
378
+ l.value && (a.value = Math.min(u, a.value + E));
379
+ }, h = () => {
380
+ if (I(n.renderMode) !== "manual")
383
381
  throw new Error("advance can only be called in manual render mode.");
384
- u.value = 1;
382
+ a.value = 1;
385
383
  }, d = () => {
386
- D(n.renderMode) === "on-demand" && f();
387
- }, h = J(() => D(n.renderMode) === "always"), v = (E) => Tt(E) && "isRenderer" in E && !!E.isRenderer, p = Ee();
388
- let g = !1;
384
+ I(n.renderMode) === "on-demand" && f();
385
+ }, _ = J(() => I(n.renderMode) === "always"), v = (E) => Tt(E) && "isRenderer" in E && !!E.isRenderer, p = Ee();
386
+ let m = !1;
389
387
  v(s) && (s.init(), p.trigger(s));
390
388
  const b = Ee(), C = () => {
391
- u.value = h.value ? 1 : Math.max(0, u.value - 1), b.trigger(s);
389
+ a.value = _.value ? 1 : Math.max(0, a.value - 1), b.trigger(s);
392
390
  };
393
391
  let P = (E) => {
394
392
  o.activeCamera.value && (s.render(e.value, o.activeCamera.value), E());
395
393
  };
396
394
  const M = (E) => {
397
395
  P = E;
398
- }, A = os(() => {
399
- u.value && P(C);
396
+ }, A = ns(() => {
397
+ a.value && P(C);
400
398
  });
401
399
  p.on(A.start), At([r.width, r.height], () => {
402
- s.setSize(r.width.value, r.height.value), !g && s.domElement.width && s.domElement.height && (p.trigger(s), g = !0), d();
400
+ s.setSize(r.width.value, r.height.value), !m && s.domElement.width && s.domElement.height && (p.trigger(s), m = !0), d();
403
401
  }, {
404
402
  immediate: !0
405
403
  });
406
404
  const { pixelRatio: O } = si();
407
405
  $(() => {
408
- rs(s, O.value, D(n.dpr));
409
- }), D(n.renderMode) === "on-demand" && f(), D(n.renderMode) === "manual" && ui(100, {
410
- callback: _
406
+ ts(s, O.value, I(n.dpr));
407
+ }), I(n.renderMode) === "on-demand" && f(), I(n.renderMode) === "manual" && ai(100, {
408
+ callback: h
411
409
  });
412
410
  const T = J(() => {
413
- const E = D(n.clearColor), x = D(n.clearAlpha), R = typeof E == "string" && E.length === 9 && E.startsWith("#");
411
+ const E = I(n.clearColor), x = I(n.clearAlpha), R = typeof E == "string" && E.length === 9 && E.startsWith("#");
414
412
  return R && x !== void 0 && Me(`clearColor with alpha (e.g. ${E}) and clearAlpha cannot both be set, using clearColor as source of truth`), R ? {
415
413
  alpha: Number.parseInt(E.slice(7, 9), 16) / 255,
416
414
  color: E.slice(0, 7)
@@ -442,24 +440,24 @@ function is({
442
440
  }), {
443
441
  loop: A,
444
442
  instance: s,
445
- advance: _,
443
+ advance: h,
446
444
  onReady: p.on,
447
445
  onRender: b.on,
448
446
  invalidate: f,
449
447
  canBeInvalidated: l,
450
- mode: D(n.renderMode),
448
+ mode: I(n.renderMode),
451
449
  replaceRenderFunction: M
452
450
  };
453
451
  }
454
- function ss(e, t, n = 10) {
455
- const r = D(e) ? li() : ci(J(() => D(t).parentElement)), o = zt(Xt(r.width, n)), i = zt(Xt(r.height, n)), s = J(() => o.value / i.value);
452
+ function os(e, t, n = 10) {
453
+ const r = I(e) ? li() : ci(J(() => I(t).parentElement)), o = zt(Xt(r.width, n)), i = zt(Xt(r.height, n)), s = J(() => o.value / i.value);
456
454
  return {
457
455
  height: i,
458
456
  width: o,
459
457
  aspectRatio: s
460
458
  };
461
459
  }
462
- class us {
460
+ class is {
463
461
  nativeEvent;
464
462
  NONE = 0;
465
463
  CAPTURING_PHASE = 1;
@@ -566,8 +564,8 @@ class us {
566
564
  return t in this.nativeEvent ? this.nativeEvent[t] : n;
567
565
  }
568
566
  }
569
- const Xe = new I();
570
- class L extends us {
567
+ const Xe = new D();
568
+ class L extends is {
571
569
  type;
572
570
  bubbles;
573
571
  internalPointer;
@@ -666,7 +664,7 @@ class L extends us {
666
664
  case "screen-ray":
667
665
  case "ray":
668
666
  case "sphere":
669
- return this._ray = new st(this.intersection.pointerPosition, new I(0, 0, -1).applyQuaternion(this.intersection.pointerQuaternion));
667
+ return this._ray = new st(this.intersection.pointerPosition, new D(0, 0, -1).applyQuaternion(this.intersection.pointerQuaternion));
670
668
  case "lines":
671
669
  return this._ray = new st(this.intersection.details.line.start, this.intersection.details.line.end.clone().sub(this.intersection.details.line.start).normalize());
672
670
  }
@@ -679,7 +677,7 @@ class L extends us {
679
677
  get unprojectedPoint() {
680
678
  if (this._unprojectedPoint == null) {
681
679
  const t = this.pointer;
682
- this._unprojectedPoint = new I(t.x, t.y, 0).unproject(this.camera);
680
+ this._unprojectedPoint = new D(t.x, t.y, 0).unproject(this.camera);
683
681
  }
684
682
  return this._unprojectedPoint;
685
683
  }
@@ -692,11 +690,11 @@ class L extends us {
692
690
  get delta() {
693
691
  throw new Error("not supported");
694
692
  }
695
- constructor(t, n, r, o, i, s, u = i.object, a = u, l = {
693
+ constructor(t, n, r, o, i, s, a = i.object, u = a, l = {
696
694
  stopped: !n,
697
695
  stoppedImmediate: !1
698
696
  }) {
699
- super(r), this.type = t, this.bubbles = n, this.internalPointer = o, this.intersection = i, this.camera = s, this.currentObject = u, this.object = a, this.propagationState = l;
697
+ super(r), this.type = t, this.bubbles = n, this.internalPointer = o, this.intersection = i, this.camera = s, this.currentObject = a, this.object = u, this.propagationState = l;
700
698
  }
701
699
  stopPropagation() {
702
700
  this.propagationState.stopped = !0;
@@ -737,7 +735,7 @@ function N(e) {
737
735
  function Vr(e, t) {
738
736
  if (t == null)
739
737
  return;
740
- const n = ls(t, e.type);
738
+ const n = as(t, e.type);
741
739
  if (n != null && n.length > 0) {
742
740
  const r = e.retarget(t), o = n.length;
743
741
  for (let i = 0; i < o && !r.stoppedImmediate; i++)
@@ -758,30 +756,30 @@ const Br = {
758
756
  pointerover: "onPointerOver",
759
757
  pointerup: "onPointerUp",
760
758
  wheel: "onWheel"
761
- }, as = Object.keys(Br);
762
- function ls(e, t) {
759
+ }, ss = Object.keys(Br);
760
+ function as(e, t) {
763
761
  if (e._listeners != null && t in e._listeners)
764
762
  return e._listeners[t];
765
763
  let n;
766
764
  if (e.isVoidObject && t === "click" && e.parent?.__r3f != null && (n = e.parent.__r3f.root.getState().onPointerMissed), e.__r3f != null && (n = e.__r3f.handlers[Br[t]]), n != null)
767
765
  return [n];
768
766
  }
769
- const cs = 1e10, fs = new jo(cs), rn = /* @__PURE__ */ new Map();
767
+ const us = 1e10, ls = new jo(us), rn = /* @__PURE__ */ new Map();
770
768
  function Ur(e) {
771
769
  let t = rn.get(e);
772
- return t == null && (t = new He(fs), t.isVoidObject = !0, t.parent = e, t.pointerEventsOrder = -1 / 0, rn.set(e, t)), t;
770
+ return t == null && (t = new He(ls), t.isVoidObject = !0, t.parent = e, t.pointerEventsOrder = -1 / 0, rn.set(e, t)), t;
773
771
  }
774
- function ds(e, t, n) {
772
+ function cs(e, t, n) {
775
773
  const r = t.normal ?? t.face?.normal;
776
774
  return r == null ? !1 : (e.setFromNormalAndCoplanarPoint(r, t.localPoint), e.applyMatrix4(n), !0);
777
775
  }
778
- function ps(e, t, n) {
776
+ function fs(e, t, n) {
779
777
  if (t === "none" || t === "listener" && !e)
780
778
  return !1;
781
779
  if (n === "all")
782
780
  return !0;
783
781
  if (typeof n == "function")
784
- return ({ id: i, type: s, state: u }) => n(i, s, u);
782
+ return ({ id: i, type: s, state: a }) => n(i, s, a);
785
783
  let r, o;
786
784
  return "deny" in n ? (o = !0, r = n.deny) : (o = !1, r = n.allow), Array.isArray(r) ? (i) => on(r.includes(i.type), o) : (i) => on(r === i.type, o);
787
785
  }
@@ -789,24 +787,24 @@ function on(e, t) {
789
787
  return t ? !e : e;
790
788
  }
791
789
  function Hr(e, t, n, r = !1, o, i, s) {
792
- const u = r || hs(e, t), a = t.pointerEvents ?? o, l = a ?? t.defaultPointerEvents ?? "listener", c = t.pointerEventsType ?? i ?? "all", f = t.pointerEventsOrder ?? s ?? 0, _ = ps(u, l, c), d = n.length;
790
+ const a = r || ds(e, t), u = t.pointerEvents ?? o, l = u ?? t.defaultPointerEvents ?? "listener", c = t.pointerEventsType ?? i ?? "all", f = t.pointerEventsOrder ?? s ?? 0, h = fs(a, l, c), d = n.length;
793
791
  if (d === 1)
794
- (_ === !0 || typeof _ == "function" && _(n[0])) && Qe(n[0], t, l, c, f);
795
- else if (_ === !0)
792
+ (h === !0 || typeof h == "function" && h(n[0])) && Qe(n[0], t, l, c, f);
793
+ else if (h === !0)
796
794
  for (let p = 0; p < d; p++)
797
795
  Qe(n[p], t, l, c, f);
798
- else if (typeof _ == "function")
796
+ else if (typeof h == "function")
799
797
  for (let p = 0; p < d; p++) {
800
- const g = n[p];
801
- _(g) && Qe(g, t, l, c, f);
798
+ const m = n[p];
799
+ h(m) && Qe(m, t, l, c, f);
802
800
  }
803
801
  if (t.children.length === 0 || t.intersectChildren === !1)
804
802
  return;
805
- const h = t.interactableDescendants ?? t.children, v = h.length;
803
+ const _ = t.interactableDescendants ?? t.children, v = _.length;
806
804
  for (let p = 0; p < v; p++)
807
- Hr(e, h[p], n, u, a, c, f);
805
+ Hr(e, _[p], n, a, u, c, f);
808
806
  }
809
- function hs(e, t) {
807
+ function ds(e, t) {
810
808
  if (t.ancestorsHaveListeners || e === "pointer" && t.ancestorsHavePointerListeners || e === "wheel" && t.ancestorsHaveWheelListeners || t.__r3f != null && t.__r3f?.eventCount > 0 && (e === "wheel" && t.__r3f.handlers.onWheel != null || e === "pointer" && Object.keys(t.__r3f.handlers).some((o) => o != "onWheel")))
811
809
  return !0;
812
810
  if (t._listeners == null)
@@ -818,7 +816,7 @@ function hs(e, t) {
818
816
  const n = Object.entries(t._listeners), r = n.length;
819
817
  for (let o = 0; o < r; o++) {
820
818
  const i = n[o];
821
- if (i[0] !== "wheel" && as.includes(i[0]) && i[1] != null && i[1].length > 0)
819
+ if (i[0] !== "wheel" && ss.includes(i[0]) && i[1] != null && i[1].length > 0)
822
820
  return !0;
823
821
  }
824
822
  return !1;
@@ -826,38 +824,38 @@ function hs(e, t) {
826
824
  function Qe({ intersector: e, options: t }, n, r, o, i) {
827
825
  t.filter?.(n, r, o, i) !== !1 && e.executeIntersection(n, i);
828
826
  }
829
- function _s(e, t, { customSort: n = ms } = {}, r) {
827
+ function ps(e, t, { customSort: n = hs } = {}, r) {
830
828
  let o, i, s;
831
- const u = e.length;
832
- for (let a = 0; a < u; a++) {
833
- const l = e[a], c = t?.[a];
834
- (o == null || n(l, c, o, i) < 0) && (s = a, o = l, i = c);
829
+ const a = e.length;
830
+ for (let u = 0; u < a; u++) {
831
+ const l = e[u], c = t?.[u];
832
+ (o == null || n(l, c, o, i) < 0) && (s = u, o = l, i = c);
835
833
  }
836
834
  return s;
837
835
  }
838
- function ms(e, t = 0, n, r = 0) {
836
+ function hs(e, t = 0, n, r = 0) {
839
837
  return t != r ? r - t : e.distance - n.distance;
840
838
  }
841
839
  const sn = 1e7;
842
- function gs(e, t, n, r, o, i = 0) {
843
- const s = t.direction.clone().multiplyScalar(sn), u = sn;
840
+ function _s(e, t, n, r, o, i = 0) {
841
+ const s = t.direction.clone().multiplyScalar(sn), a = sn;
844
842
  return {
845
- distance: u + i,
843
+ distance: a + i,
846
844
  object: Ur(e),
847
845
  point: s,
848
846
  normal: t.origin.clone().sub(s).normalize(),
849
- details: n(s, u),
847
+ details: n(s, a),
850
848
  pointerPosition: r,
851
849
  pointerQuaternion: o,
852
850
  pointOnFace: s,
853
851
  localPoint: s
854
852
  };
855
853
  }
856
- function Es(e, t, n) {
854
+ function gs(e, t, n) {
857
855
  for (; n > 0; )
858
856
  e.push(t), --n;
859
857
  }
860
- const Ze = Symbol("buttonsDownTime"), vs = Symbol("buttonsClickTime");
858
+ const Ze = Symbol("buttonsDownTime"), ms = Symbol("buttonsClickTime");
861
859
  globalThis.pointerEventspointerMap ??= /* @__PURE__ */ new Map();
862
860
  je.prototype.setPointerCapture = function(e) {
863
861
  St(e)?.setCapture(this);
@@ -872,7 +870,7 @@ je.prototype.hasPointerCapture = function(e) {
872
870
  function St(e) {
873
871
  return globalThis.pointerEventspointerMap?.get(e);
874
872
  }
875
- class ys {
873
+ class Es {
876
874
  id;
877
875
  type;
878
876
  state;
@@ -900,8 +898,8 @@ class ys {
900
898
  //to handle interaction before first move (after exit)
901
899
  wasMoved = !1;
902
900
  onFirstMove = [];
903
- constructor(t, n, r, o, i, s, u, a, l = {}) {
904
- this.id = t, this.type = n, this.state = r, this.intersector = o, this.getCamera = i, this.onMoveCommited = s, this.parentSetPointerCapture = u, this.parentReleasePointerCapture = a, this.options = l, globalThis.pointerEventspointerMap?.set(t, this);
901
+ constructor(t, n, r, o, i, s, a, u, l = {}) {
902
+ this.id = t, this.type = n, this.state = r, this.intersector = o, this.getCamera = i, this.onMoveCommited = s, this.parentSetPointerCapture = a, this.parentReleasePointerCapture = u, this.options = l, globalThis.pointerEventspointerMap?.set(t, this);
905
903
  }
906
904
  getPointerCapture() {
907
905
  return this.pointerCapture;
@@ -938,20 +936,20 @@ class ys {
938
936
  o != null && o.object != i?.object && N(new L("pointerout", !0, t, this, o, r));
939
937
  const s = this.pointerEntered;
940
938
  this.pointerEntered = [], this.pointerEnteredHelper.length = 0, jr(i?.object, this.pointerEntered, s, this.pointerEnteredHelper);
941
- const u = s.length;
942
- for (let a = 0; a < u; a++) {
943
- const l = s[a];
939
+ const a = s.length;
940
+ for (let u = 0; u < a; u++) {
941
+ const l = s[u];
944
942
  N(new L("pointerleave", !1, t, this, o, r, l));
945
943
  }
946
944
  i != null && o?.object != i.object && N(new L("pointerover", !0, t, this, i, r));
947
- for (let a = this.pointerEnteredHelper.length - 1; a >= 0; a--) {
948
- const l = this.pointerEnteredHelper[a];
945
+ for (let u = this.pointerEnteredHelper.length - 1; u >= 0; u--) {
946
+ const l = this.pointerEnteredHelper[u];
949
947
  N(new L("pointerenter", !1, t, this, i, r, l));
950
948
  }
951
949
  if (n && i != null && N(new L("pointermove", !0, t, this, i, r)), this.prevIntersection = this.intersection, this.prevEnabled = this.enabled, !this.wasMoved && this.intersector.isReady()) {
952
950
  this.wasMoved = !0;
953
- const a = this.onFirstMove.length;
954
- for (let l = 0; l < a; l++)
951
+ const u = this.onFirstMove.length;
952
+ for (let l = 0; l < u; l++)
955
953
  this.onFirstMove[l](r);
956
954
  this.onFirstMove.length = 0;
957
955
  }
@@ -994,16 +992,16 @@ class ys {
994
992
  return;
995
993
  const { clickThesholdMs: n, contextMenuButton: r = 2, dblClickThresholdMs: o = 500, clickThresholdMs: i = n ?? 300 } = this.options;
996
994
  this.pointerCapture = void 0;
997
- const s = bs(this.buttonsDownTime, this.intersection.object[Ze], t.button, t.timeStamp, i), u = this.getCamera();
998
- if (s && t.button === r && N(new L("contextmenu", !0, t, this, this.intersection, u)), N(new L("pointerup", !0, t, this, this.intersection, u)), !s || t.button === r)
995
+ const s = vs(this.buttonsDownTime, this.intersection.object[Ze], t.button, t.timeStamp, i), a = this.getCamera();
996
+ if (s && t.button === r && N(new L("contextmenu", !0, t, this, this.intersection, a)), N(new L("pointerup", !0, t, this, this.intersection, a)), !s || t.button === r)
999
997
  return;
1000
- N(new L("click", !0, t, this, this.intersection, u));
1001
- const { object: a } = this.intersection, l = a[vs] ??= /* @__PURE__ */ new Map(), c = l.get(t.button);
998
+ N(new L("click", !0, t, this, this.intersection, a));
999
+ const { object: u } = this.intersection, l = u[ms] ??= /* @__PURE__ */ new Map(), c = l.get(t.button);
1002
1000
  if (c == null || t.timeStamp - c > o) {
1003
1001
  l.set(t.button, t.timeStamp);
1004
1002
  return;
1005
1003
  }
1006
- N(new L("dblclick", !0, t, this, this.intersection, u)), l.delete(t.button);
1004
+ N(new L("dblclick", !0, t, this, this.intersection, a)), l.delete(t.button);
1007
1005
  }
1008
1006
  cancel(t) {
1009
1007
  if (this.enabled) {
@@ -1045,30 +1043,30 @@ function jr(e, t, n, r) {
1045
1043
  const o = n.indexOf(e);
1046
1044
  o != -1 ? n.splice(o, 1) : r.push(e), t.push(e), jr(e.parent, t, n, r);
1047
1045
  }
1048
- function bs(e, t, n, r, o) {
1046
+ function vs(e, t, n, r, o) {
1049
1047
  if (t == null)
1050
1048
  return !1;
1051
1049
  const i = t.get(n);
1052
1050
  return !(i == null || r - i > o || i != e.get(n));
1053
1051
  }
1054
- const he = new wr(), Je = new wr(), un = new Y(), an = new Y(), ln = new Y(), et = new I(), Cs = new Te(), Pe = new I();
1055
- function ws(e, t, n) {
1056
- Pe.copy(t).applyMatrix4(Cs.copy(n.matrixWorld).invert());
1052
+ const he = new wr(), Je = new wr(), an = new Y(), un = new Y(), ln = new Y(), et = new D(), ys = new Te(), Pe = new D();
1053
+ function bs(e, t, n) {
1054
+ Pe.copy(t).applyMatrix4(ys.copy(n.matrixWorld).invert());
1057
1055
  const r = n.geometry.attributes.uv;
1058
1056
  if (r == null || !(r instanceof Cr))
1059
1057
  return !1;
1060
1058
  let o;
1061
- return As(n, (i, s, u) => {
1062
- n.getVertexPosition(i, he.a), n.getVertexPosition(s, he.b), n.getVertexPosition(u, he.c);
1063
- const a = he.closestPointToPoint(Pe, et).distanceTo(Pe);
1064
- o != null && a >= o || (o = a, Je.copy(he), un.fromBufferAttribute(r, i), an.fromBufferAttribute(r, s), ln.fromBufferAttribute(r, u));
1065
- }), o == null ? !1 : (Je.closestPointToPoint(Pe, et), Je.getInterpolation(et, un, an, ln, e), !0);
1059
+ return Cs(n, (i, s, a) => {
1060
+ n.getVertexPosition(i, he.a), n.getVertexPosition(s, he.b), n.getVertexPosition(a, he.c);
1061
+ const u = he.closestPointToPoint(Pe, et).distanceTo(Pe);
1062
+ o != null && u >= o || (o = u, Je.copy(he), an.fromBufferAttribute(r, i), un.fromBufferAttribute(r, s), ln.fromBufferAttribute(r, a));
1063
+ }), o == null ? !1 : (Je.closestPointToPoint(Pe, et), Je.getInterpolation(et, an, un, ln, e), !0);
1066
1064
  }
1067
- function As(e, t) {
1065
+ function Cs(e, t) {
1068
1066
  const n = e.geometry.drawRange;
1069
1067
  if (e.geometry.index != null) {
1070
- const s = e.geometry.index, u = Math.max(0, n.start), a = Math.min(s.count, n.start + n.count);
1071
- for (let l = u; l < a; l += 3)
1068
+ const s = e.geometry.index, a = Math.max(0, n.start), u = Math.min(s.count, n.start + n.count);
1069
+ for (let l = a; l < u; l += 3)
1072
1070
  t(s.getX(l), s.getX(l + 1), s.getX(l + 2));
1073
1071
  return;
1074
1072
  }
@@ -1081,22 +1079,22 @@ function As(e, t) {
1081
1079
  }
1082
1080
  new Te();
1083
1081
  new zo();
1084
- new I();
1082
+ new D();
1085
1083
  new ze();
1086
1084
  new st();
1087
1085
  new Y();
1088
- new I(0, 0, 0), new I(0, 0, 1);
1089
- const cn = new Te(), Ts = new I();
1090
- new I(0, 0, -1);
1086
+ new D(0, 0, 0), new D(0, 0, 1);
1087
+ const cn = new Te(), ws = new D();
1088
+ new D(0, 0, -1);
1091
1089
  new ze();
1092
- const fn = new Y(), Os = new I();
1093
- class Ss {
1090
+ const fn = new Y(), As = new D();
1091
+ class Ts {
1094
1092
  prepareTransformation;
1095
1093
  options;
1096
1094
  raycaster = new $o();
1097
- cameraQuaternion = new ut();
1098
- fromPosition = new I();
1099
- fromQuaternion = new ut();
1095
+ cameraQuaternion = new at();
1096
+ fromPosition = new D();
1097
+ fromQuaternion = new at();
1100
1098
  coords = new Y();
1101
1099
  viewPlane = new ze();
1102
1100
  intersects = [];
@@ -1114,12 +1112,12 @@ class Ss {
1114
1112
  if (!this.startIntersection(r))
1115
1113
  return t;
1116
1114
  this.viewPlane.constant -= o.distanceViewPlane;
1117
- const i = this.raycaster.ray.intersectPlane(this.viewPlane, new I());
1115
+ const i = this.raycaster.ray.intersectPlane(this.viewPlane, new D());
1118
1116
  if (i == null)
1119
1117
  return t;
1120
- t.object.updateWorldMatrix(!0, !1), ds(this.viewPlane, t, t.object.matrixWorld);
1118
+ t.object.updateWorldMatrix(!0, !1), cs(this.viewPlane, t, t.object.matrixWorld);
1121
1119
  let s = t.uv;
1122
- return t.object instanceof He && ws(fn, i, t.object) && (s = fn.clone()), {
1120
+ return t.object instanceof He && bs(fn, i, t.object) && (s = fn.clone()), {
1123
1121
  ...t,
1124
1122
  details: {
1125
1123
  ...o,
@@ -1136,17 +1134,17 @@ class Ss {
1136
1134
  }
1137
1135
  startIntersection(t) {
1138
1136
  const n = this.prepareTransformation(t, this.coords);
1139
- return n == null ? !1 : (n.updateWorldMatrix(!0, !1), n.matrixWorld.decompose(this.fromPosition, this.fromQuaternion, Ts), this.raycaster.setFromCamera(this.coords, n), this.viewPlane.setFromNormalAndCoplanarPoint(n.getWorldDirection(Os), this.raycaster.ray.origin), !0);
1137
+ return n == null ? !1 : (n.updateWorldMatrix(!0, !1), n.matrixWorld.decompose(this.fromPosition, this.fromQuaternion, ws), this.raycaster.setFromCamera(this.coords, n), this.viewPlane.setFromNormalAndCoplanarPoint(n.getWorldDirection(As), this.raycaster.ray.origin), !0);
1140
1138
  }
1141
1139
  executeIntersection(t, n) {
1142
1140
  const r = this.intersects.length;
1143
- t.raycast(this.raycaster, this.intersects), Es(this.pointerEventsOrders, n, this.intersects.length - r);
1141
+ t.raycast(this.raycaster, this.intersects), gs(this.pointerEventsOrders, n, this.intersects.length - r);
1144
1142
  }
1145
1143
  finalizeIntersection(t) {
1146
- const n = this.fromPosition.clone(), r = this.cameraQuaternion.clone(), o = this.raycaster.ray.direction.clone(), i = _s(this.intersects, this.pointerEventsOrders, this.options), s = i == null ? void 0 : this.intersects[i];
1147
- return this.intersects.length = 0, this.pointerEventsOrders.length = 0, s == null ? gs(t, this.raycaster.ray, (u, a) => ({
1144
+ const n = this.fromPosition.clone(), r = this.cameraQuaternion.clone(), o = this.raycaster.ray.direction.clone(), i = ps(this.intersects, this.pointerEventsOrders, this.options), s = i == null ? void 0 : this.intersects[i];
1145
+ return this.intersects.length = 0, this.pointerEventsOrders.length = 0, s == null ? _s(t, this.raycaster.ray, (a, u) => ({
1148
1146
  type: "screen-ray",
1149
- distanceViewPlane: a,
1147
+ distanceViewPlane: u,
1150
1148
  screenPoint: this.coords.clone(),
1151
1149
  direction: o
1152
1150
  }), n, r) : (s.object.updateWorldMatrix(!0, !1), cn.copy(s.object.matrixWorld).invert(), Object.assign(s, {
@@ -1163,35 +1161,35 @@ class Ss {
1163
1161
  }));
1164
1162
  }
1165
1163
  }
1166
- new I();
1164
+ new D();
1167
1165
  new Y();
1168
1166
  new Te();
1169
- new I();
1170
- new ut();
1167
+ new D();
1168
+ new at();
1171
1169
  new ze();
1172
1170
  new Ko();
1173
- new I();
1174
- new I();
1175
- new I();
1176
- new I(1e-4, 1e-4, 1e-4);
1171
+ new D();
1172
+ new D();
1173
+ new D();
1174
+ new D(1e-4, 1e-4, 1e-4);
1177
1175
  new Te();
1178
- let Ps = 23412;
1179
- function Ds() {
1180
- return Ps++;
1176
+ let Os = 23412;
1177
+ function Ss() {
1178
+ return Os++;
1181
1179
  }
1182
- function Is(e, t, n) {
1180
+ function Ps(e, t, n) {
1183
1181
  if (!(t instanceof globalThis.MouseEvent))
1184
1182
  return n.set(0, 0);
1185
- const { width: r, height: o, top: i, left: s } = e.getBoundingClientRect(), u = t.clientX - s, a = t.clientY - i;
1186
- return n.set(u / r * 2 - 1, -(a / o) * 2 + 1);
1183
+ const { width: r, height: o, top: i, left: s } = e.getBoundingClientRect(), a = t.clientX - s, u = t.clientY - i;
1184
+ return n.set(a / r * 2 - 1, -(u / o) * 2 + 1);
1187
1185
  }
1188
- function ks(e, t, n, r) {
1189
- return xs(
1186
+ function Is(e, t, n, r) {
1187
+ return Ds(
1190
1188
  e,
1191
1189
  //backwards compatibility
1192
1190
  typeof t == "function" ? t : () => t,
1193
1191
  n,
1194
- Is.bind(null, e),
1192
+ Ps.bind(null, e),
1195
1193
  e.setPointerCapture.bind(e),
1196
1194
  (o) => {
1197
1195
  e.hasPointerCapture(o) && e.releasePointerCapture(o);
@@ -1202,11 +1200,11 @@ function ks(e, t, n, r) {
1202
1200
  }
1203
1201
  );
1204
1202
  }
1205
- function xs(e, t, n, r, o, i, s = {}) {
1206
- const u = s?.forwardPointerCapture ?? !0, a = /* @__PURE__ */ new Map(), l = s.pointerTypePrefix ?? "forward-", c = (O, T) => {
1207
- let E = a.get(O.pointerId);
1208
- return E != null || (E = new ys(Ds(), `${l}${O.pointerType}`, O.pointerState, new Ss((x, R) => (r(x, R), t()), s), t, void 0, u ? o.bind(null, O.pointerId) : void 0, u ? i.bind(null, O.pointerId) : void 0, s), T != "move" && T != "wheel" && (E.setIntersection(E.computeIntersection("pointer", n, O)), E.commit(O, !1)), a.set(O.pointerId, E)), E;
1209
- }, f = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), d = [], h = [], v = (O, T, E) => {
1203
+ function Ds(e, t, n, r, o, i, s = {}) {
1204
+ const a = s?.forwardPointerCapture ?? !0, u = /* @__PURE__ */ new Map(), l = s.pointerTypePrefix ?? "forward-", c = (O, T) => {
1205
+ let E = u.get(O.pointerId);
1206
+ return E != null || (E = new Es(Ss(), `${l}${O.pointerType}`, O.pointerState, new Ts((x, R) => (r(x, R), t()), s), t, void 0, a ? o.bind(null, O.pointerId) : void 0, a ? i.bind(null, O.pointerId) : void 0, s), T != "move" && T != "wheel" && (E.setIntersection(E.computeIntersection("pointer", n, O)), E.commit(O, !1)), u.set(O.pointerId, E)), E;
1207
+ }, f = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), d = [], _ = [], v = (O, T, E) => {
1210
1208
  switch (O) {
1211
1209
  case "move":
1212
1210
  E.move(n, T);
@@ -1228,22 +1226,22 @@ function xs(e, t, n, r, o, i, s = {}) {
1228
1226
  E.up(T);
1229
1227
  return;
1230
1228
  case "exit":
1231
- _.delete(E), f.delete(E), E.exit(T);
1229
+ h.delete(E), f.delete(E), E.exit(T);
1232
1230
  return;
1233
1231
  }
1234
1232
  }, p = (O, T) => {
1235
1233
  const E = c(T, O);
1236
- O === "move" && _.set(E, T), O === "wheel" && f.set(E, T), s.batchEvents ?? !0 ? h.push({ type: O, event: T }) : v(O, T, E);
1237
- }, g = p.bind(null, "move"), b = p.bind(null, "cancel"), C = p.bind(null, "down"), P = p.bind(null, "up"), M = p.bind(null, "wheel"), A = p.bind(null, "exit");
1238
- return e.addEventListener("pointermove", g), e.addEventListener("pointercancel", b), e.addEventListener("pointerdown", C), e.addEventListener("pointerup", P), e.addEventListener("wheel", M), e.addEventListener("pointerleave", A), {
1234
+ O === "move" && h.set(E, T), O === "wheel" && f.set(E, T), s.batchEvents ?? !0 ? _.push({ type: O, event: T }) : v(O, T, E);
1235
+ }, m = p.bind(null, "move"), b = p.bind(null, "cancel"), C = p.bind(null, "down"), P = p.bind(null, "up"), M = p.bind(null, "wheel"), A = p.bind(null, "exit");
1236
+ return e.addEventListener("pointermove", m), e.addEventListener("pointercancel", b), e.addEventListener("pointerdown", C), e.addEventListener("pointerup", P), e.addEventListener("wheel", M), e.addEventListener("pointerleave", A), {
1239
1237
  destroy() {
1240
- e.removeEventListener("pointermove", g), e.removeEventListener("pointercancel", b), e.removeEventListener("pointerdown", C), e.removeEventListener("pointerup", P), e.removeEventListener("wheel", M), e.removeEventListener("pointerleave", A), _.clear(), f.clear();
1238
+ e.removeEventListener("pointermove", m), e.removeEventListener("pointercancel", b), e.removeEventListener("pointerdown", C), e.removeEventListener("pointerup", P), e.removeEventListener("wheel", M), e.removeEventListener("pointerleave", A), h.clear(), f.clear();
1241
1239
  },
1242
1240
  update() {
1243
- const O = h.length;
1241
+ const O = _.length;
1244
1242
  for (let T = 0; T < O; T++) {
1245
- const { type: E, event: x } = h[T], R = c(x, E);
1246
- if (E === "move" && (d.push(R), _.get(R) != x)) {
1243
+ const { type: E, event: x } = _[T], R = c(x, E);
1244
+ if (E === "move" && (d.push(R), h.get(R) != x)) {
1247
1245
  R.emitMove(x);
1248
1246
  continue;
1249
1247
  }
@@ -1253,8 +1251,8 @@ function xs(e, t, n, r, o, i, s = {}) {
1253
1251
  }
1254
1252
  v(E, x, R);
1255
1253
  }
1256
- if (h.length = 0, s.intersectEveryFrame ?? !1)
1257
- for (const [T, E] of _.entries())
1254
+ if (_.length = 0, s.intersectEveryFrame ?? !1)
1255
+ for (const [T, E] of h.entries())
1258
1256
  d.includes(T) || T.move(n, E);
1259
1257
  d.length = 0;
1260
1258
  }
@@ -1263,41 +1261,41 @@ function xs(e, t, n, r, o, i, s = {}) {
1263
1261
  function dn(e) {
1264
1262
  return e.button != null;
1265
1263
  }
1266
- function Rs({
1264
+ function ks({
1267
1265
  canvas: e,
1268
1266
  contextParts: { scene: t, camera: n, renderer: r }
1269
1267
  }) {
1270
- const { update: o, destroy: i } = ks(D(e), () => D(n.activeCamera), t.value), { off: s } = r.loop.onLoop(o);
1268
+ const { update: o, destroy: i } = Is(I(e), () => I(n.activeCamera), t.value), { off: s } = r.loop.onLoop(o);
1271
1269
  ie(i), ie(s);
1272
- const u = Ur(t.value), a = Ee();
1273
- return u.addEventListener("click", a.trigger), {
1274
- onPointerMissed: a.on
1270
+ const a = Ur(t.value), u = Ee();
1271
+ return a.addEventListener("click", u.trigger), {
1272
+ onPointerMissed: u.on
1275
1273
  };
1276
1274
  }
1277
- const Ls = "useTres", [Fs, Ms] = fi(({
1275
+ const xs = "useTres", [Rs, Ls] = fi(({
1278
1276
  scene: e,
1279
1277
  canvas: t,
1280
1278
  windowSize: n,
1281
1279
  rendererOptions: r
1282
1280
  }) => {
1283
- const o = it(e), i = ss(n, t), s = ts({ sizes: i }), u = is(
1281
+ const o = it(e), i = os(n, t), s = Ji({ sizes: i }), a = rs(
1284
1282
  {
1285
1283
  scene: o,
1286
1284
  canvas: t,
1287
1285
  options: r,
1288
1286
  contextParts: { sizes: i, camera: s }
1289
1287
  }
1290
- ), a = Rs({
1288
+ ), u = ks({
1291
1289
  canvas: t,
1292
- contextParts: { scene: o, camera: s, renderer: u }
1290
+ contextParts: { scene: o, camera: s, renderer: a }
1293
1291
  }), l = {
1294
1292
  sizes: i,
1295
1293
  scene: o,
1296
1294
  camera: s,
1297
- renderer: u,
1295
+ renderer: a,
1298
1296
  controls: Ae(null),
1299
1297
  extend: pt,
1300
- events: a
1298
+ events: u
1301
1299
  };
1302
1300
  return l.scene.value.__tres = {
1303
1301
  root: l
@@ -1305,14 +1303,14 @@ const Ls = "useTres", [Fs, Ms] = fi(({
1305
1303
  }, {
1306
1304
  injectionKey: "useTres"
1307
1305
  }), zr = () => {
1308
- const e = Ms();
1306
+ const e = Ls();
1309
1307
  if (!e)
1310
1308
  throw new Error(`useTresContext must be used together with useTresContextProvider.
1311
1309
  You probably tried to use it above or on the same level as a TresCanvas component.
1312
1310
  It should be used in child components of a TresCanvas instance.`);
1313
1311
  return e;
1314
1312
  };
1315
- function Ns() {
1313
+ function Fs() {
1316
1314
  const { scene: e, renderer: t, camera: n, sizes: r, controls: o, extend: i, events: s } = zr();
1317
1315
  return {
1318
1316
  scene: e,
@@ -1326,8 +1324,8 @@ function Ns() {
1326
1324
  advance: t.advance
1327
1325
  };
1328
1326
  }
1329
- const gl = () => {
1330
- const e = Ns(), { renderer: t } = zr(), n = nn(), r = nn();
1327
+ const _l = () => {
1328
+ const e = Fs(), { renderer: t } = zr(), n = nn(), r = nn();
1331
1329
  t.loop.onBeforeLoop((i) => {
1332
1330
  n.trigger({ ...e, ...i });
1333
1331
  }), t.loop.onLoop((i) => {
@@ -1343,26 +1341,26 @@ const gl = () => {
1343
1341
  render: o
1344
1342
  };
1345
1343
  };
1346
- function Vs(e, t = {}, n = {}) {
1344
+ function Ms(e, t = {}, n = {}) {
1347
1345
  let r = e;
1348
- const o = (u) => {
1349
- r = u;
1346
+ const o = (a) => {
1347
+ r = a;
1350
1348
  };
1351
1349
  let i = new Proxy({}, {});
1352
1350
  const s = {
1353
- has(u, a) {
1354
- return a in t || a in r;
1351
+ has(a, u) {
1352
+ return u in t || u in r;
1355
1353
  },
1356
- get(u, a, l) {
1357
- return a in t ? t[a](r) : r[a];
1354
+ get(a, u, l) {
1355
+ return u in t ? t[u](r) : r[u];
1358
1356
  },
1359
- set(u, a, l) {
1360
- return n[a] ? n[a](l, r, i, o) : r[a] = l, !0;
1357
+ set(a, u, l) {
1358
+ return n[u] ? n[u](l, r, i, o) : r[u] = l, !0;
1361
1359
  }
1362
1360
  };
1363
1361
  return i = new Proxy({}, s), i;
1364
1362
  }
1365
- const Bs = [
1363
+ const Ns = [
1366
1364
  "onClick",
1367
1365
  "onContextmenu",
1368
1366
  "onPointermove",
@@ -1376,7 +1374,7 @@ const Bs = [
1376
1374
  "onPointercancel",
1377
1375
  "onLostpointercapture",
1378
1376
  "onWheel"
1379
- ], Us = {
1377
+ ], Vs = {
1380
1378
  onClick: "click",
1381
1379
  onContextmenu: "contextmenu",
1382
1380
  onPointermove: "pointermove",
@@ -1390,18 +1388,18 @@ const Bs = [
1390
1388
  onPointercancel: "pointercancel",
1391
1389
  onLostpointercapture: "lostpointercapture",
1392
1390
  onWheel: "wheel"
1393
- }, pn = (e) => Bs.includes(e), Hs = (e) => {
1391
+ }, pn = (e) => Ns.includes(e), Bs = (e) => {
1394
1392
  const t = e.scene.value;
1395
- function n(c, f, _, d) {
1396
- if (d || (d = {}), d.args || (d.args = []), Ui(c))
1393
+ function n(c, f, h, d) {
1394
+ if (d || (d = {}), d.args || (d.args = []), Vi(c))
1397
1395
  return null;
1398
- let h = c.replace("Tres", ""), v;
1396
+ let _ = c.replace("Tres", ""), v;
1399
1397
  if (c === "primitive") {
1400
- (!Tt(d.object) || me(d.object)) && Jt(
1398
+ (!Tt(d.object) || ge(d.object)) && Jt(
1401
1399
  "Tres primitives need an 'object' prop, whose value is an object or shallowRef<object>"
1402
- ), h = d.object.type;
1400
+ ), _ = d.object.type;
1403
1401
  const p = {};
1404
- v = Vs(
1402
+ v = Ms(
1405
1403
  d.object,
1406
1404
  {
1407
1405
  object: (b) => b,
@@ -1410,7 +1408,7 @@ const Bs = [
1410
1408
  },
1411
1409
  {
1412
1410
  object: (b, C, P, M) => {
1413
- Ji(b, P, M, { patchProp: i, remove: o, insert: r }, e);
1411
+ Qi(b, P, M, { patchProp: i, remove: o, insert: r }, e);
1414
1412
  },
1415
1413
  __tres: (b) => {
1416
1414
  Object.assign(p, b);
@@ -1418,14 +1416,14 @@ const Bs = [
1418
1416
  }
1419
1417
  );
1420
1418
  } else {
1421
- const p = dt.value[h];
1419
+ const p = dt.value[_];
1422
1420
  p || Jt(
1423
- `${h} is not defined on the THREE namespace. Use extend to add it to the catalog.`
1421
+ `${_} is not defined on the THREE namespace. Use extend to add it to the catalog.`
1424
1422
  ), v = new p(...d.args);
1425
1423
  }
1426
1424
  return v ? (re(v) && (d?.position || v.position.set(3, 3, 3), d?.lookAt || v.lookAt(0, 0, 0)), v = X(v, {
1427
- ...qi(v) ? v.__tres : {},
1428
- type: h,
1425
+ ...Gi(v) ? v.__tres : {},
1426
+ type: _,
1429
1427
  memoizedProps: d,
1430
1428
  primitive: c === "primitive",
1431
1429
  attach: d.attach
@@ -1435,17 +1433,17 @@ const Bs = [
1435
1433
  if (!c)
1436
1434
  return;
1437
1435
  f = f || t;
1438
- const _ = c.__tres ? c : X(c, {}, e), d = f.__tres ? f : X(f, {}, e);
1439
- c = se(_), f = se(d), re(c) && e.camera?.registerCamera(c), _.__tres.attach ? Qi(d, _, _.__tres.attach) : lt(c) && lt(d) && (d.add(c), c.dispatchEvent({ type: "added" })), _.__tres.parent = d, d.__tres.objects && !d.__tres.objects.includes(_) && d.__tres.objects.push(_);
1436
+ const h = c.__tres ? c : X(c, {}, e), d = f.__tres ? f : X(f, {}, e);
1437
+ c = se(h), f = se(d), re(c) && e.camera?.registerCamera(c), h.__tres.attach ? qi(d, h, h.__tres.attach) : lt(c) && lt(d) && (d.add(c), c.dispatchEvent({ type: "added" })), h.__tres.parent = d, d.__tres.objects && !d.__tres.objects.includes(h) && d.__tres.objects.push(h);
1440
1438
  }
1441
1439
  function o(c, f) {
1442
1440
  if (!c)
1443
1441
  return;
1444
- f = at(f) ? "default" : f;
1445
- const _ = c.__tres?.dispose;
1446
- at(_) || (_ === null ? f = !1 : f = _);
1447
- const d = c.__tres?.primitive, h = f === "default" ? !d : !!f;
1448
- if (c.__tres && "objects" in c.__tres && [...c.__tres.objects].forEach((v) => o(v, f)), h && c.children && [...c.children].forEach((v) => o(v, f)), Mr(c, e), Nr(c, e), h && !Fr(c)) {
1442
+ f = ut(f) ? "default" : f;
1443
+ const h = c.__tres?.dispose;
1444
+ ut(h) || (h === null ? f = !1 : f = h);
1445
+ const d = c.__tres?.primitive, _ = f === "default" ? !d : !!f;
1446
+ if (c.__tres && "objects" in c.__tres && [...c.__tres.objects].forEach((v) => o(v, f)), _ && c.children && [...c.children].forEach((v) => o(v, f)), Mr(c, e), Nr(c, e), _ && !Fr(c)) {
1449
1447
  if (Q(f))
1450
1448
  f(c);
1451
1449
  else if (Q(c.dispose))
@@ -1456,10 +1454,10 @@ const Bs = [
1456
1454
  }
1457
1455
  "__tres" in c && delete c.__tres;
1458
1456
  }
1459
- function i(c, f, _, d) {
1457
+ function i(c, f, h, d) {
1460
1458
  if (!c)
1461
1459
  return;
1462
- let h = c;
1460
+ let _ = c;
1463
1461
  const v = f;
1464
1462
  if (c.__tres && (c.__tres.memoizedProps[f] = d), f === "attach") {
1465
1463
  const C = c.__tres?.parent || c.parent;
@@ -1470,10 +1468,10 @@ const Bs = [
1470
1468
  c.__tres || (c = X(c, {}, e)), c.__tres.dispose = d;
1471
1469
  return;
1472
1470
  }
1473
- pn(f) && Q(d) && c.addEventListener(Us[f], d);
1474
- let p = Qt(v), g = h?.[p];
1471
+ pn(f) && Q(d) && c.addEventListener(Vs[f], d);
1472
+ let p = Qt(v), m = _?.[p];
1475
1473
  if (v === "args") {
1476
- const C = c, P = _ ?? [], M = d ?? [], A = c.__tres?.type || c.type;
1474
+ const C = c, P = h ?? [], M = d ?? [], A = c.__tres?.type || c.type;
1477
1475
  if (A && P.length && !Or(P, M)) {
1478
1476
  const O = new dt.value[A](...d), T = Object.getOwnPropertyDescriptors(O);
1479
1477
  Object.entries(T).forEach(([E, x]) => {
@@ -1483,43 +1481,43 @@ const Bs = [
1483
1481
  } catch (R) {
1484
1482
  console.warn(`Could not set property ${E} on ${A}:`, R);
1485
1483
  }
1486
- }), h = C;
1484
+ }), _ = C;
1487
1485
  }
1488
1486
  return;
1489
1487
  }
1490
- if (h.type === "BufferGeometry") {
1488
+ if (_.type === "BufferGeometry") {
1491
1489
  if (v === "args")
1492
1490
  return;
1493
- h.setAttribute(
1491
+ _.setAttribute(
1494
1492
  Qt(v),
1495
1493
  new Cr(...d)
1496
1494
  );
1497
1495
  return;
1498
1496
  }
1499
- if (v.includes("-") && g === void 0) {
1500
- const C = Ve(h, v);
1501
- if (g = C.target, h = C.target, p = C.key, g && p) {
1502
- g[p] = d, re(c) && c.updateProjectionMatrix(), ft(c);
1497
+ if (v.includes("-") && m === void 0) {
1498
+ const C = Ve(_, v);
1499
+ if (m = C.target, _ = C.target, p = C.key, m && p) {
1500
+ m[p] = d, re(c) && c.updateProjectionMatrix(), ft(c);
1503
1501
  return;
1504
1502
  }
1505
1503
  }
1506
1504
  let b = d;
1507
- if (b === "" && (b = !0), Q(g)) {
1508
- pn(f) || (Array.isArray(b) ? c[p](...b) : c[p](b)), p.startsWith("on") && Q(b) && (h[p] = b);
1505
+ if (b === "" && (b = !0), Q(m)) {
1506
+ pn(f) || (Array.isArray(b) ? c[p](...b) : c[p](b)), p.startsWith("on") && Q(b) && (_[p] = b);
1509
1507
  return;
1510
1508
  }
1511
- Zt(g) && Zt(b) ? g.mask = b.mask : Ir(g) && $i(b) ? g.set(b) : Ki(g) && Wi(b) && g.constructor === b.constructor ? g.copy(b) : ct(g) && Array.isArray(b) ? "fromArray" in g && typeof g.fromArray == "function" ? g.fromArray(b) : g.set(...b) : ct(g) && typeof b == "number" ? "setScalar" in g && typeof g.setScalar == "function" ? g.setScalar(b) : g.set(b) : h[p] = b, re(c) && c.updateProjectionMatrix(), ft(c);
1509
+ Zt(m) && Zt(b) ? m.mask = b.mask : Dr(m) && ji(b) ? m.set(b) : zi(m) && $i(b) && m.constructor === b.constructor ? m.copy(b) : ct(m) && Array.isArray(b) ? "fromArray" in m && typeof m.fromArray == "function" ? m.fromArray(b) : m.set(...b) : ct(m) && typeof b == "number" ? "setScalar" in m && typeof m.setScalar == "function" ? m.setScalar(b) : m.set(b) : _[p] = b, re(c) && c.updateProjectionMatrix(), ft(c);
1512
1510
  }
1513
1511
  function s(c) {
1514
1512
  return c?.__tres?.parent || null;
1515
1513
  }
1516
- function u(c) {
1514
+ function a(c) {
1517
1515
  const f = X(new je(), { type: "Comment" }, e);
1518
1516
  return f.name = c, f;
1519
1517
  }
1520
- function a(c) {
1521
- const _ = s(c)?.__tres?.objects || [], d = _.indexOf(c);
1522
- return d < 0 || d >= _.length - 1 ? null : _[d + 1];
1518
+ function u(c) {
1519
+ const h = s(c)?.__tres?.objects || [], d = h.indexOf(c);
1520
+ return d < 0 || d >= h.length - 1 ? null : h[d + 1];
1523
1521
  }
1524
1522
  const l = () => {
1525
1523
  };
@@ -1530,17 +1528,17 @@ const Bs = [
1530
1528
  patchProp: i,
1531
1529
  parentNode: s,
1532
1530
  createText: l,
1533
- createComment: u,
1531
+ createComment: a,
1534
1532
  setText: l,
1535
1533
  setElementText: l,
1536
- nextSibling: a,
1534
+ nextSibling: u,
1537
1535
  querySelector: l,
1538
1536
  setScopeId: l,
1539
1537
  cloneNode: l,
1540
1538
  insertStaticContent: l
1541
1539
  };
1542
- }, js = ["asset-load"];
1543
- class zs {
1540
+ }, Us = ["asset-load"];
1541
+ class Hs {
1544
1542
  subscribers = /* @__PURE__ */ new Set();
1545
1543
  messageQueue = [];
1546
1544
  maxQueueSize = 100;
@@ -1555,7 +1553,7 @@ class zs {
1555
1553
  data: n,
1556
1554
  timestamp: Date.now()
1557
1555
  };
1558
- this.subscribers.size > 0 ? this.subscribers.forEach((o) => o(r)) : js.includes(t) && this.queueMessage(r);
1556
+ this.subscribers.size > 0 ? this.subscribers.forEach((o) => o(r)) : Us.includes(t) && this.queueMessage(r);
1559
1557
  }
1560
1558
  /**
1561
1559
  * Queue a message for later delivery
@@ -1599,26 +1597,26 @@ class zs {
1599
1597
  this.messageQueue = [];
1600
1598
  }
1601
1599
  }
1602
- var $s = Object.create, $r = Object.defineProperty, Ks = Object.getOwnPropertyDescriptor, Pt = Object.getOwnPropertyNames, Ws = Object.getPrototypeOf, Gs = Object.prototype.hasOwnProperty, Ys = (e, t) => function() {
1600
+ var js = Object.create, $r = Object.defineProperty, zs = Object.getOwnPropertyDescriptor, Pt = Object.getOwnPropertyNames, $s = Object.getPrototypeOf, Ks = Object.prototype.hasOwnProperty, Ws = (e, t) => function() {
1603
1601
  return e && (t = (0, e[Pt(e)[0]])(e = 0)), t;
1604
- }, qs = (e, t) => function() {
1602
+ }, Gs = (e, t) => function() {
1605
1603
  return t || (0, e[Pt(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1606
- }, Xs = (e, t, n, r) => {
1604
+ }, Ys = (e, t, n, r) => {
1607
1605
  if (t && typeof t == "object" || typeof t == "function")
1608
1606
  for (let o of Pt(t))
1609
- !Gs.call(e, o) && o !== n && $r(e, o, { get: () => t[o], enumerable: !(r = Ks(t, o)) || r.enumerable });
1607
+ !Ks.call(e, o) && o !== n && $r(e, o, { get: () => t[o], enumerable: !(r = zs(t, o)) || r.enumerable });
1610
1608
  return e;
1611
- }, Qs = (e, t, n) => (n = e != null ? $s(Ws(e)) : {}, Xs(
1609
+ }, qs = (e, t, n) => (n = e != null ? js($s(e)) : {}, Ys(
1612
1610
  // If the importer is in node compatibility mode or this is not an ESM
1613
1611
  // file that has been converted to a CommonJS file using a Babel-
1614
1612
  // compatible transform (i.e. "__esModule" has not been set), then set
1615
1613
  // "default" to the CommonJS "module.exports" for node compatibility.
1616
1614
  $r(n, "default", { value: e, enumerable: !0 }),
1617
1615
  e
1618
- )), Oe = Ys({
1616
+ )), Oe = Ws({
1619
1617
  "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
1620
1618
  }
1621
- }), Zs = qs({
1619
+ }), Xs = Gs({
1622
1620
  "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
1623
1621
  Oe(), t.exports = r;
1624
1622
  function n(i) {
@@ -1627,65 +1625,65 @@ var $s = Object.create, $r = Object.defineProperty, Ks = Object.getOwnPropertyDe
1627
1625
  function r(i) {
1628
1626
  if (i = i || {}, i.circles) return o(i);
1629
1627
  const s = /* @__PURE__ */ new Map();
1630
- if (s.set(Date, (f) => new Date(f)), s.set(Map, (f, _) => new Map(a(Array.from(f), _))), s.set(Set, (f, _) => new Set(a(Array.from(f), _))), i.constructorHandlers)
1628
+ if (s.set(Date, (f) => new Date(f)), s.set(Map, (f, h) => new Map(u(Array.from(f), h))), s.set(Set, (f, h) => new Set(u(Array.from(f), h))), i.constructorHandlers)
1631
1629
  for (const f of i.constructorHandlers)
1632
1630
  s.set(f[0], f[1]);
1633
- let u = null;
1631
+ let a = null;
1634
1632
  return i.proto ? c : l;
1635
- function a(f, _) {
1636
- const d = Object.keys(f), h = new Array(d.length);
1633
+ function u(f, h) {
1634
+ const d = Object.keys(f), _ = new Array(d.length);
1637
1635
  for (let v = 0; v < d.length; v++) {
1638
- const p = d[v], g = f[p];
1639
- typeof g != "object" || g === null ? h[p] = g : g.constructor !== Object && (u = s.get(g.constructor)) ? h[p] = u(g, _) : ArrayBuffer.isView(g) ? h[p] = n(g) : h[p] = _(g);
1636
+ const p = d[v], m = f[p];
1637
+ typeof m != "object" || m === null ? _[p] = m : m.constructor !== Object && (a = s.get(m.constructor)) ? _[p] = a(m, h) : ArrayBuffer.isView(m) ? _[p] = n(m) : _[p] = h(m);
1640
1638
  }
1641
- return h;
1639
+ return _;
1642
1640
  }
1643
1641
  function l(f) {
1644
1642
  if (typeof f != "object" || f === null) return f;
1645
- if (Array.isArray(f)) return a(f, l);
1646
- if (f.constructor !== Object && (u = s.get(f.constructor)))
1647
- return u(f, l);
1648
- const _ = {};
1643
+ if (Array.isArray(f)) return u(f, l);
1644
+ if (f.constructor !== Object && (a = s.get(f.constructor)))
1645
+ return a(f, l);
1646
+ const h = {};
1649
1647
  for (const d in f) {
1650
1648
  if (Object.hasOwnProperty.call(f, d) === !1) continue;
1651
- const h = f[d];
1652
- typeof h != "object" || h === null ? _[d] = h : h.constructor !== Object && (u = s.get(h.constructor)) ? _[d] = u(h, l) : ArrayBuffer.isView(h) ? _[d] = n(h) : _[d] = l(h);
1649
+ const _ = f[d];
1650
+ typeof _ != "object" || _ === null ? h[d] = _ : _.constructor !== Object && (a = s.get(_.constructor)) ? h[d] = a(_, l) : ArrayBuffer.isView(_) ? h[d] = n(_) : h[d] = l(_);
1653
1651
  }
1654
- return _;
1652
+ return h;
1655
1653
  }
1656
1654
  function c(f) {
1657
1655
  if (typeof f != "object" || f === null) return f;
1658
- if (Array.isArray(f)) return a(f, c);
1659
- if (f.constructor !== Object && (u = s.get(f.constructor)))
1660
- return u(f, c);
1661
- const _ = {};
1656
+ if (Array.isArray(f)) return u(f, c);
1657
+ if (f.constructor !== Object && (a = s.get(f.constructor)))
1658
+ return a(f, c);
1659
+ const h = {};
1662
1660
  for (const d in f) {
1663
- const h = f[d];
1664
- typeof h != "object" || h === null ? _[d] = h : h.constructor !== Object && (u = s.get(h.constructor)) ? _[d] = u(h, c) : ArrayBuffer.isView(h) ? _[d] = n(h) : _[d] = c(h);
1661
+ const _ = f[d];
1662
+ typeof _ != "object" || _ === null ? h[d] = _ : _.constructor !== Object && (a = s.get(_.constructor)) ? h[d] = a(_, c) : ArrayBuffer.isView(_) ? h[d] = n(_) : h[d] = c(_);
1665
1663
  }
1666
- return _;
1664
+ return h;
1667
1665
  }
1668
1666
  }
1669
1667
  function o(i) {
1670
- const s = [], u = [], a = /* @__PURE__ */ new Map();
1671
- if (a.set(Date, (d) => new Date(d)), a.set(Map, (d, h) => new Map(c(Array.from(d), h))), a.set(Set, (d, h) => new Set(c(Array.from(d), h))), i.constructorHandlers)
1668
+ const s = [], a = [], u = /* @__PURE__ */ new Map();
1669
+ if (u.set(Date, (d) => new Date(d)), u.set(Map, (d, _) => new Map(c(Array.from(d), _))), u.set(Set, (d, _) => new Set(c(Array.from(d), _))), i.constructorHandlers)
1672
1670
  for (const d of i.constructorHandlers)
1673
- a.set(d[0], d[1]);
1671
+ u.set(d[0], d[1]);
1674
1672
  let l = null;
1675
- return i.proto ? _ : f;
1676
- function c(d, h) {
1673
+ return i.proto ? h : f;
1674
+ function c(d, _) {
1677
1675
  const v = Object.keys(d), p = new Array(v.length);
1678
- for (let g = 0; g < v.length; g++) {
1679
- const b = v[g], C = d[b];
1676
+ for (let m = 0; m < v.length; m++) {
1677
+ const b = v[m], C = d[b];
1680
1678
  if (typeof C != "object" || C === null)
1681
1679
  p[b] = C;
1682
- else if (C.constructor !== Object && (l = a.get(C.constructor)))
1683
- p[b] = l(C, h);
1680
+ else if (C.constructor !== Object && (l = u.get(C.constructor)))
1681
+ p[b] = l(C, _);
1684
1682
  else if (ArrayBuffer.isView(C))
1685
1683
  p[b] = n(C);
1686
1684
  else {
1687
1685
  const P = s.indexOf(C);
1688
- P !== -1 ? p[b] = u[P] : p[b] = h(C);
1686
+ P !== -1 ? p[b] = a[P] : p[b] = _(C);
1689
1687
  }
1690
1688
  }
1691
1689
  return p;
@@ -1693,47 +1691,47 @@ var $s = Object.create, $r = Object.defineProperty, Ks = Object.getOwnPropertyDe
1693
1691
  function f(d) {
1694
1692
  if (typeof d != "object" || d === null) return d;
1695
1693
  if (Array.isArray(d)) return c(d, f);
1696
- if (d.constructor !== Object && (l = a.get(d.constructor)))
1694
+ if (d.constructor !== Object && (l = u.get(d.constructor)))
1697
1695
  return l(d, f);
1698
- const h = {};
1699
- s.push(d), u.push(h);
1696
+ const _ = {};
1697
+ s.push(d), a.push(_);
1700
1698
  for (const v in d) {
1701
1699
  if (Object.hasOwnProperty.call(d, v) === !1) continue;
1702
1700
  const p = d[v];
1703
1701
  if (typeof p != "object" || p === null)
1704
- h[v] = p;
1705
- else if (p.constructor !== Object && (l = a.get(p.constructor)))
1706
- h[v] = l(p, f);
1702
+ _[v] = p;
1703
+ else if (p.constructor !== Object && (l = u.get(p.constructor)))
1704
+ _[v] = l(p, f);
1707
1705
  else if (ArrayBuffer.isView(p))
1708
- h[v] = n(p);
1706
+ _[v] = n(p);
1709
1707
  else {
1710
- const g = s.indexOf(p);
1711
- g !== -1 ? h[v] = u[g] : h[v] = f(p);
1708
+ const m = s.indexOf(p);
1709
+ m !== -1 ? _[v] = a[m] : _[v] = f(p);
1712
1710
  }
1713
1711
  }
1714
- return s.pop(), u.pop(), h;
1712
+ return s.pop(), a.pop(), _;
1715
1713
  }
1716
- function _(d) {
1714
+ function h(d) {
1717
1715
  if (typeof d != "object" || d === null) return d;
1718
- if (Array.isArray(d)) return c(d, _);
1719
- if (d.constructor !== Object && (l = a.get(d.constructor)))
1720
- return l(d, _);
1721
- const h = {};
1722
- s.push(d), u.push(h);
1716
+ if (Array.isArray(d)) return c(d, h);
1717
+ if (d.constructor !== Object && (l = u.get(d.constructor)))
1718
+ return l(d, h);
1719
+ const _ = {};
1720
+ s.push(d), a.push(_);
1723
1721
  for (const v in d) {
1724
1722
  const p = d[v];
1725
1723
  if (typeof p != "object" || p === null)
1726
- h[v] = p;
1727
- else if (p.constructor !== Object && (l = a.get(p.constructor)))
1728
- h[v] = l(p, _);
1724
+ _[v] = p;
1725
+ else if (p.constructor !== Object && (l = u.get(p.constructor)))
1726
+ _[v] = l(p, h);
1729
1727
  else if (ArrayBuffer.isView(p))
1730
- h[v] = n(p);
1728
+ _[v] = n(p);
1731
1729
  else {
1732
- const g = s.indexOf(p);
1733
- g !== -1 ? h[v] = u[g] : h[v] = _(p);
1730
+ const m = s.indexOf(p);
1731
+ m !== -1 ? _[v] = a[m] : _[v] = h(p);
1734
1732
  }
1735
1733
  }
1736
- return s.pop(), u.pop(), h;
1734
+ return s.pop(), a.pop(), _;
1737
1735
  }
1738
1736
  }
1739
1737
  }
@@ -1747,14 +1745,14 @@ Kr && (y.self, y.top);
1747
1745
  var hn;
1748
1746
  typeof navigator < "u" && ((hn = navigator.userAgent) == null || hn.toLowerCase().includes("electron"));
1749
1747
  Oe();
1750
- var Js = Qs(Zs()), eu = /(?:^|[-_/])(\w)/g;
1751
- function tu(e, t) {
1748
+ var Qs = qs(Xs()), Zs = /(?:^|[-_/])(\w)/g;
1749
+ function Js(e, t) {
1752
1750
  return t ? t.toUpperCase() : "";
1753
1751
  }
1754
- function nu(e) {
1755
- return e && `${e}`.replace(eu, tu);
1752
+ function ea(e) {
1753
+ return e && `${e}`.replace(Zs, Js);
1756
1754
  }
1757
- function ru(e, t) {
1755
+ function ta(e, t) {
1758
1756
  let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
1759
1757
  n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
1760
1758
  const r = n.lastIndexOf("/"), o = n.substring(r + 1);
@@ -1763,34 +1761,34 @@ function ru(e, t) {
1763
1761
  return o.substring(0, i);
1764
1762
  }
1765
1763
  }
1766
- var _n = (0, Js.default)({ circles: !0 });
1767
- const ou = {
1764
+ var _n = (0, Qs.default)({ circles: !0 });
1765
+ const na = {
1768
1766
  trailing: !0
1769
1767
  };
1770
- function ue(e, t = 25, n = {}) {
1771
- if (n = { ...ou, ...n }, !Number.isFinite(t))
1768
+ function ae(e, t = 25, n = {}) {
1769
+ if (n = { ...na, ...n }, !Number.isFinite(t))
1772
1770
  throw new TypeError("Expected `wait` to be a finite number");
1773
- let r, o, i = [], s, u;
1774
- const a = (l, c) => (s = iu(e, l, c), s.finally(() => {
1775
- if (s = null, n.trailing && u && !o) {
1776
- const f = a(l, u);
1777
- return u = null, f;
1771
+ let r, o, i = [], s, a;
1772
+ const u = (l, c) => (s = ra(e, l, c), s.finally(() => {
1773
+ if (s = null, n.trailing && a && !o) {
1774
+ const f = u(l, a);
1775
+ return a = null, f;
1778
1776
  }
1779
1777
  }), s);
1780
1778
  return function(...l) {
1781
- return s ? (n.trailing && (u = l), s) : new Promise((c) => {
1779
+ return s ? (n.trailing && (a = l), s) : new Promise((c) => {
1782
1780
  const f = !o && n.leading;
1783
1781
  clearTimeout(o), o = setTimeout(() => {
1784
1782
  o = null;
1785
- const _ = n.leading ? r : a(this, l);
1783
+ const h = n.leading ? r : u(this, l);
1786
1784
  for (const d of i)
1787
- d(_);
1785
+ d(h);
1788
1786
  i = [];
1789
- }, t), f ? (r = a(this, l), c(r)) : i.push(c);
1787
+ }, t), f ? (r = u(this, l), c(r)) : i.push(c);
1790
1788
  });
1791
1789
  };
1792
1790
  }
1793
- async function iu(e, t, n) {
1791
+ async function ra(e, t, n) {
1794
1792
  return await e.apply(t, n);
1795
1793
  }
1796
1794
  function ht(e, t = {}, n) {
@@ -1800,15 +1798,15 @@ function ht(e, t = {}, n) {
1800
1798
  }
1801
1799
  return t;
1802
1800
  }
1803
- const su = { run: (e) => e() }, uu = () => su, Wr = typeof console.createTask < "u" ? console.createTask : uu;
1804
- function au(e, t) {
1801
+ const oa = { run: (e) => e() }, ia = () => oa, Wr = typeof console.createTask < "u" ? console.createTask : ia;
1802
+ function sa(e, t) {
1805
1803
  const n = t.shift(), r = Wr(n);
1806
1804
  return e.reduce(
1807
1805
  (o, i) => o.then(() => r.run(() => i(...t))),
1808
1806
  Promise.resolve()
1809
1807
  );
1810
1808
  }
1811
- function lu(e, t) {
1809
+ function aa(e, t) {
1812
1810
  const n = t.shift(), r = Wr(n);
1813
1811
  return Promise.all(e.map((o) => r.run(() => o(...t))));
1814
1812
  }
@@ -1816,7 +1814,7 @@ function tt(e, t) {
1816
1814
  for (const n of [...e])
1817
1815
  n(t);
1818
1816
  }
1819
- class cu {
1817
+ class ua {
1820
1818
  constructor() {
1821
1819
  this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
1822
1820
  }
@@ -1885,10 +1883,10 @@ class cu {
1885
1883
  delete this._hooks[t];
1886
1884
  }
1887
1885
  callHook(t, ...n) {
1888
- return n.unshift(t), this.callHookWith(au, t, ...n);
1886
+ return n.unshift(t), this.callHookWith(sa, t, ...n);
1889
1887
  }
1890
1888
  callHookParallel(t, ...n) {
1891
- return n.unshift(t), this.callHookWith(lu, t, ...n);
1889
+ return n.unshift(t), this.callHookWith(aa, t, ...n);
1892
1890
  }
1893
1891
  callHookWith(t, n, ...r) {
1894
1892
  const o = this._before || this._after ? { name: n, args: r, context: {} } : void 0;
@@ -1919,30 +1917,30 @@ class cu {
1919
1917
  }
1920
1918
  }
1921
1919
  function Gr() {
1922
- return new cu();
1920
+ return new ua();
1923
1921
  }
1924
- var fu = Object.create, Yr = Object.defineProperty, du = Object.getOwnPropertyDescriptor, Dt = Object.getOwnPropertyNames, pu = Object.getPrototypeOf, hu = Object.prototype.hasOwnProperty, _u = (e, t) => function() {
1925
- return e && (t = (0, e[Dt(e)[0]])(e = 0)), t;
1922
+ var la = Object.create, Yr = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, It = Object.getOwnPropertyNames, fa = Object.getPrototypeOf, da = Object.prototype.hasOwnProperty, pa = (e, t) => function() {
1923
+ return e && (t = (0, e[It(e)[0]])(e = 0)), t;
1926
1924
  }, qr = (e, t) => function() {
1927
- return t || (0, e[Dt(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1928
- }, mu = (e, t, n, r) => {
1925
+ return t || (0, e[It(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1926
+ }, ha = (e, t, n, r) => {
1929
1927
  if (t && typeof t == "object" || typeof t == "function")
1930
- for (let o of Dt(t))
1931
- !hu.call(e, o) && o !== n && Yr(e, o, { get: () => t[o], enumerable: !(r = du(t, o)) || r.enumerable });
1928
+ for (let o of It(t))
1929
+ !da.call(e, o) && o !== n && Yr(e, o, { get: () => t[o], enumerable: !(r = ca(t, o)) || r.enumerable });
1932
1930
  return e;
1933
- }, gu = (e, t, n) => (n = e != null ? fu(pu(e)) : {}, mu(
1931
+ }, _a = (e, t, n) => (n = e != null ? la(fa(e)) : {}, ha(
1934
1932
  // If the importer is in node compatibility mode or this is not an ESM
1935
1933
  // file that has been converted to a CommonJS file using a Babel-
1936
1934
  // compatible transform (i.e. "__esModule" has not been set), then set
1937
1935
  // "default" to the CommonJS "module.exports" for node compatibility.
1938
1936
  Yr(n, "default", { value: e, enumerable: !0 }),
1939
1937
  e
1940
- )), m = _u({
1938
+ )), g = pa({
1941
1939
  "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
1942
1940
  }
1943
- }), Eu = qr({
1941
+ }), ga = qr({
1944
1942
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
1945
- m(), function(n) {
1943
+ g(), (function(n) {
1946
1944
  var r = {
1947
1945
  // latin
1948
1946
  À: "A",
@@ -2996,7 +2994,7 @@ var fu = Object.create, Yr = Object.defineProperty, du = Object.getOwnPropertyDe
2996
2994
  ü: "u",
2997
2995
  ö: "o"
2998
2996
  }
2999
- }, u = {
2997
+ }, a = {
3000
2998
  ar: {
3001
2999
  "∆": "delta",
3002
3000
  "∞": "la-nihaya",
@@ -3276,14 +3274,14 @@ var fu = Object.create, Yr = Object.defineProperty, du = Object.getOwnPropertyDe
3276
3274
  "∑": "tong",
3277
3275
  "¤": "tien te"
3278
3276
  }
3279
- }, a = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(p, g) {
3277
+ }, u = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(p, m) {
3280
3278
  var b = "-", C = "", P = "", M = !0, A = {}, O, T, E, x, R, Ut, de, te, Ht, z, w, Se, H, ne, K = "";
3281
3279
  if (typeof p != "string")
3282
3280
  return "";
3283
- if (typeof g == "string" && (b = g), de = u.en, te = s.en, typeof g == "object") {
3284
- O = g.maintainCase || !1, A = g.custom && typeof g.custom == "object" ? g.custom : A, E = +g.truncate > 1 && g.truncate || !1, x = g.uric || !1, R = g.uricNoSlash || !1, Ut = g.mark || !1, M = !(g.symbols === !1 || g.lang === !1), b = g.separator || b, x && (K += a), R && (K += l), Ut && (K += c), de = g.lang && u[g.lang] && M ? u[g.lang] : M ? u.en : {}, te = g.lang && s[g.lang] ? s[g.lang] : g.lang === !1 || g.lang === !0 ? {} : s.en, g.titleCase && typeof g.titleCase.length == "number" && Array.prototype.toString.call(g.titleCase) ? (g.titleCase.forEach(function(U) {
3281
+ if (typeof m == "string" && (b = m), de = a.en, te = s.en, typeof m == "object") {
3282
+ O = m.maintainCase || !1, A = m.custom && typeof m.custom == "object" ? m.custom : A, E = +m.truncate > 1 && m.truncate || !1, x = m.uric || !1, R = m.uricNoSlash || !1, Ut = m.mark || !1, M = !(m.symbols === !1 || m.lang === !1), b = m.separator || b, x && (K += u), R && (K += l), Ut && (K += c), de = m.lang && a[m.lang] && M ? a[m.lang] : M ? a.en : {}, te = m.lang && s[m.lang] ? s[m.lang] : m.lang === !1 || m.lang === !0 ? {} : s.en, m.titleCase && typeof m.titleCase.length == "number" && Array.prototype.toString.call(m.titleCase) ? (m.titleCase.forEach(function(U) {
3285
3283
  A[U + ""] = U + "";
3286
- }), T = !0) : T = !!g.titleCase, g.custom && typeof g.custom.length == "number" && Array.prototype.toString.call(g.custom) && g.custom.forEach(function(U) {
3284
+ }), T = !0) : T = !!m.titleCase, m.custom && typeof m.custom.length == "number" && Array.prototype.toString.call(m.custom) && m.custom.forEach(function(U) {
3287
3285
  A[U + ""] = U + "";
3288
3286
  }), Object.keys(A).forEach(function(U) {
3289
3287
  var pe;
@@ -3293,24 +3291,24 @@ var fu = Object.create, Yr = Object.defineProperty, du = Object.getOwnPropertyDe
3293
3291
  K += w;
3294
3292
  }
3295
3293
  for (K += b, K = d(K), p = p.replace(/(^\s+|\s+$)/g, ""), H = !1, ne = !1, z = 0, Se = p.length; z < Se; z++)
3296
- w = p[z], h(w, A) ? H = !1 : te[w] ? (w = H && te[w].match(/[A-Za-z0-9]/) ? " " + te[w] : te[w], H = !1) : w in r ? (z + 1 < Se && o.indexOf(p[z + 1]) >= 0 ? (P += w, w = "") : ne === !0 ? (w = i[P] + r[w], P = "") : w = H && r[w].match(/[A-Za-z0-9]/) ? " " + r[w] : r[w], H = !1, ne = !1) : w in i ? (P += w, w = "", z === Se - 1 && (w = i[P]), ne = !0) : /* process symbol chars */ de[w] && !(x && a.indexOf(w) !== -1) && !(R && l.indexOf(w) !== -1) ? (w = H || C.substr(-1).match(/[A-Za-z0-9]/) ? b + de[w] : de[w], w += p[z + 1] !== void 0 && p[z + 1].match(/[A-Za-z0-9]/) ? b : "", H = !0) : (ne === !0 ? (w = i[P] + w, P = "", ne = !1) : H && (/[A-Za-z0-9]/.test(w) || C.substr(-1).match(/A-Za-z0-9]/)) && (w = " " + w), H = !1), C += w.replace(new RegExp("[^\\w\\s" + K + "_-]", "g"), b);
3294
+ w = p[z], _(w, A) ? H = !1 : te[w] ? (w = H && te[w].match(/[A-Za-z0-9]/) ? " " + te[w] : te[w], H = !1) : w in r ? (z + 1 < Se && o.indexOf(p[z + 1]) >= 0 ? (P += w, w = "") : ne === !0 ? (w = i[P] + r[w], P = "") : w = H && r[w].match(/[A-Za-z0-9]/) ? " " + r[w] : r[w], H = !1, ne = !1) : w in i ? (P += w, w = "", z === Se - 1 && (w = i[P]), ne = !0) : /* process symbol chars */ de[w] && !(x && u.indexOf(w) !== -1) && !(R && l.indexOf(w) !== -1) ? (w = H || C.substr(-1).match(/[A-Za-z0-9]/) ? b + de[w] : de[w], w += p[z + 1] !== void 0 && p[z + 1].match(/[A-Za-z0-9]/) ? b : "", H = !0) : (ne === !0 ? (w = i[P] + w, P = "", ne = !1) : H && (/[A-Za-z0-9]/.test(w) || C.substr(-1).match(/A-Za-z0-9]/)) && (w = " " + w), H = !1), C += w.replace(new RegExp("[^\\w\\s" + K + "_-]", "g"), b);
3297
3295
  return T && (C = C.replace(/(\w)(\S*)/g, function(U, pe, jt) {
3298
3296
  var Ye = pe.toUpperCase() + (jt !== null ? jt : "");
3299
3297
  return Object.keys(A).indexOf(Ye.toLowerCase()) < 0 ? Ye : Ye.toLowerCase();
3300
3298
  })), C = C.replace(/\s+/g, b).replace(new RegExp("\\" + b + "+", "g"), b).replace(new RegExp("(^\\" + b + "+|\\" + b + "+$)", "g"), ""), E && C.length > E && (Ht = C.charAt(E) === b, C = C.slice(0, E), Ht || (C = C.slice(0, C.lastIndexOf(b)))), !O && !T && (C = C.toLowerCase()), C;
3301
- }, _ = function(p) {
3299
+ }, h = function(p) {
3302
3300
  return function(b) {
3303
3301
  return f(b, p);
3304
3302
  };
3305
3303
  }, d = function(p) {
3306
3304
  return p.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
3307
- }, h = function(v, p) {
3308
- for (var g in p)
3309
- if (p[g] === v)
3305
+ }, _ = function(v, p) {
3306
+ for (var m in p)
3307
+ if (p[m] === v)
3310
3308
  return !0;
3311
3309
  };
3312
3310
  if (typeof t < "u" && t.exports)
3313
- t.exports = f, t.exports.createSlug = _;
3311
+ t.exports = f, t.exports.createSlug = h;
3314
3312
  else if (typeof define < "u" && define.amd)
3315
3313
  define([], function() {
3316
3314
  return f;
@@ -3319,38 +3317,38 @@ var fu = Object.create, Yr = Object.defineProperty, du = Object.getOwnPropertyDe
3319
3317
  try {
3320
3318
  if (n.getSlug || n.createSlug)
3321
3319
  throw "speakingurl: globals exists /(getSlug|createSlug)/";
3322
- n.getSlug = f, n.createSlug = _;
3320
+ n.getSlug = f, n.createSlug = h;
3323
3321
  } catch {
3324
3322
  }
3325
- }(e);
3323
+ })(e);
3326
3324
  }
3327
- }), vu = qr({
3325
+ }), ma = qr({
3328
3326
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
3329
- m(), t.exports = Eu();
3327
+ g(), t.exports = ga();
3330
3328
  }
3331
3329
  });
3332
- m();
3333
- m();
3334
- m();
3335
- m();
3336
- m();
3337
- m();
3338
- m();
3339
- m();
3340
- function yu(e) {
3330
+ g();
3331
+ g();
3332
+ g();
3333
+ g();
3334
+ g();
3335
+ g();
3336
+ g();
3337
+ g();
3338
+ function Ea(e) {
3341
3339
  var t;
3342
3340
  const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
3343
3341
  return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
3344
3342
  }
3345
- function bu(e) {
3343
+ function va(e) {
3346
3344
  const t = e.__file;
3347
3345
  if (t)
3348
- return nu(ru(t, ".vue"));
3346
+ return ea(ta(t, ".vue"));
3349
3347
  }
3350
- function mn(e, t) {
3348
+ function gn(e, t) {
3351
3349
  return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
3352
3350
  }
3353
- function It(e) {
3351
+ function Dt(e) {
3354
3352
  if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
3355
3353
  return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
3356
3354
  if (e.root)
@@ -3358,26 +3356,26 @@ function It(e) {
3358
3356
  }
3359
3357
  function Xr(e) {
3360
3358
  var t, n;
3361
- const r = (t = e.subTree) == null ? void 0 : t.type, o = It(e);
3359
+ const r = (t = e.subTree) == null ? void 0 : t.type, o = Dt(e);
3362
3360
  return o ? ((n = o?.types) == null ? void 0 : n.Fragment) === r : !1;
3363
3361
  }
3364
3362
  function Ke(e) {
3365
3363
  var t, n, r;
3366
- const o = yu(e?.type || {});
3364
+ const o = Ea(e?.type || {});
3367
3365
  if (o)
3368
3366
  return o;
3369
3367
  if (e?.root === e)
3370
3368
  return "Root";
3371
3369
  for (const s in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
3372
3370
  if (e.parent.type.components[s] === e?.type)
3373
- return mn(e, s);
3371
+ return gn(e, s);
3374
3372
  for (const s in (r = e.appContext) == null ? void 0 : r.components)
3375
3373
  if (e.appContext.components[s] === e?.type)
3376
- return mn(e, s);
3377
- const i = bu(e?.type || {});
3374
+ return gn(e, s);
3375
+ const i = va(e?.type || {});
3378
3376
  return i || "Anonymous Component";
3379
3377
  }
3380
- function Cu(e) {
3378
+ function ya(e) {
3381
3379
  var t, n, r;
3382
3380
  const o = (r = (n = (t = e?.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? r : 0, i = e === e?.root ? "root" : e.uid;
3383
3381
  return `${o}:${i}`;
@@ -3385,7 +3383,7 @@ function Cu(e) {
3385
3383
  function _t(e, t) {
3386
3384
  return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
3387
3385
  }
3388
- function wu() {
3386
+ function ba() {
3389
3387
  const e = {
3390
3388
  top: 0,
3391
3389
  bottom: 0,
@@ -3400,12 +3398,12 @@ function wu() {
3400
3398
  };
3401
3399
  return e;
3402
3400
  }
3403
- var De;
3404
- function Au(e) {
3405
- return De || (De = document.createRange()), De.selectNode(e), De.getBoundingClientRect();
3401
+ var Ie;
3402
+ function Ca(e) {
3403
+ return Ie || (Ie = document.createRange()), Ie.selectNode(e), Ie.getBoundingClientRect();
3406
3404
  }
3407
- function Tu(e) {
3408
- const t = wu();
3405
+ function wa(e) {
3406
+ const t = ba();
3409
3407
  if (!e.children)
3410
3408
  return t;
3411
3409
  for (let n = 0, r = e.children.length; n < r; n++) {
@@ -3415,16 +3413,16 @@ function Tu(e) {
3415
3413
  i = ee(o.component);
3416
3414
  else if (o.el) {
3417
3415
  const s = o.el;
3418
- s.nodeType === 1 || s.getBoundingClientRect ? i = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (i = Au(s));
3416
+ s.nodeType === 1 || s.getBoundingClientRect ? i = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (i = Ca(s));
3419
3417
  }
3420
- i && Ou(t, i);
3418
+ i && Aa(t, i);
3421
3419
  }
3422
3420
  return t;
3423
3421
  }
3424
- function Ou(e, t) {
3422
+ function Aa(e, t) {
3425
3423
  return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
3426
3424
  }
3427
- var gn = {
3425
+ var mn = {
3428
3426
  top: 0,
3429
3427
  left: 0,
3430
3428
  right: 0,
@@ -3434,13 +3432,13 @@ var gn = {
3434
3432
  };
3435
3433
  function ee(e) {
3436
3434
  const t = e.subTree.el;
3437
- return typeof window > "u" ? gn : Xr(e) ? Tu(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ee(e.subTree.component) : gn;
3435
+ return typeof window > "u" ? mn : Xr(e) ? wa(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ee(e.subTree.component) : mn;
3438
3436
  }
3439
- m();
3437
+ g();
3440
3438
  function kt(e) {
3441
- return Xr(e) ? Su(e.subTree) : e.subTree ? [e.subTree.el] : [];
3439
+ return Xr(e) ? Ta(e.subTree) : e.subTree ? [e.subTree.el] : [];
3442
3440
  }
3443
- function Su(e) {
3441
+ function Ta(e) {
3444
3442
  if (!e.children)
3445
3443
  return [];
3446
3444
  const t = [];
@@ -3457,7 +3455,7 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3457
3455
  borderRadius: "5px",
3458
3456
  transition: "all 0.1s ease-in",
3459
3457
  pointerEvents: "none"
3460
- }, Pu = {
3458
+ }, Oa = {
3461
3459
  fontFamily: "Arial, Helvetica, sans-serif",
3462
3460
  padding: "5px 8px",
3463
3461
  borderRadius: "4px",
@@ -3470,7 +3468,7 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3470
3468
  lineHeight: "24px",
3471
3469
  backgroundColor: "#42b883",
3472
3470
  boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
3473
- }, Du = {
3471
+ }, Sa = {
3474
3472
  display: "inline-block",
3475
3473
  fontWeight: 400,
3476
3474
  fontStyle: "normal",
@@ -3480,13 +3478,13 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3480
3478
  function ce() {
3481
3479
  return document.getElementById(Qr);
3482
3480
  }
3483
- function Iu() {
3481
+ function Pa() {
3484
3482
  return document.getElementById(Zr);
3485
3483
  }
3486
- function ku() {
3484
+ function Ia() {
3487
3485
  return document.getElementById(eo);
3488
3486
  }
3489
- function xu() {
3487
+ function Da() {
3490
3488
  return document.getElementById(Jr);
3491
3489
  }
3492
3490
  function xt(e) {
@@ -3507,16 +3505,16 @@ function Rt(e) {
3507
3505
  });
3508
3506
  const r = document.createElement("span");
3509
3507
  r.id = Zr, Object.assign(r.style, {
3510
- ...Pu,
3508
+ ...Oa,
3511
3509
  top: e.bounds.top < 35 ? 0 : "-35px"
3512
3510
  });
3513
3511
  const o = document.createElement("span");
3514
3512
  o.id = Jr, o.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
3515
3513
  const i = document.createElement("i");
3516
- return i.id = eo, i.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(i.style, Du), r.appendChild(o), r.appendChild(i), n.appendChild(r), document.body.appendChild(n), n;
3514
+ return i.id = eo, i.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(i.style, Sa), r.appendChild(o), r.appendChild(i), n.appendChild(r), document.body.appendChild(n), n;
3517
3515
  }
3518
3516
  function Lt(e) {
3519
- const t = ce(), n = Iu(), r = xu(), o = ku();
3517
+ const t = ce(), n = Pa(), r = Da(), o = Ia();
3520
3518
  t && (Object.assign(t.style, {
3521
3519
  ...to,
3522
3520
  ...xt(e.bounds)
@@ -3524,7 +3522,7 @@ function Lt(e) {
3524
3522
  top: e.bounds.top < 35 ? 0 : "-35px"
3525
3523
  }), r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
3526
3524
  }
3527
- function Ru(e) {
3525
+ function ka(e) {
3528
3526
  const t = ee(e);
3529
3527
  if (!t.width && !t.height)
3530
3528
  return;
@@ -3535,32 +3533,32 @@ function no() {
3535
3533
  const e = ce();
3536
3534
  e && (e.style.display = "none");
3537
3535
  }
3538
- var mt = null;
3539
- function gt(e) {
3536
+ var gt = null;
3537
+ function mt(e) {
3540
3538
  const t = e.target;
3541
3539
  if (t) {
3542
3540
  const n = t.__vueParentComponent;
3543
- if (n && (mt = n, n.vnode.el)) {
3541
+ if (n && (gt = n, n.vnode.el)) {
3544
3542
  const o = ee(n), i = Ke(n);
3545
3543
  ce() ? Lt({ bounds: o, name: i }) : Rt({ bounds: o, name: i });
3546
3544
  }
3547
3545
  }
3548
3546
  }
3549
- function Lu(e, t) {
3550
- if (e.preventDefault(), e.stopPropagation(), mt) {
3551
- const n = Cu(mt);
3547
+ function xa(e, t) {
3548
+ if (e.preventDefault(), e.stopPropagation(), gt) {
3549
+ const n = ya(gt);
3552
3550
  t(n);
3553
3551
  }
3554
3552
  }
3555
3553
  var Ue = null;
3556
- function Fu() {
3557
- no(), window.removeEventListener("mouseover", gt), window.removeEventListener("click", Ue, !0), Ue = null;
3554
+ function Ra() {
3555
+ no(), window.removeEventListener("mouseover", mt), window.removeEventListener("click", Ue, !0), Ue = null;
3558
3556
  }
3559
- function Mu() {
3560
- return window.addEventListener("mouseover", gt), new Promise((e) => {
3557
+ function La() {
3558
+ return window.addEventListener("mouseover", mt), new Promise((e) => {
3561
3559
  function t(n) {
3562
- n.preventDefault(), n.stopPropagation(), Lu(n, (r) => {
3563
- window.removeEventListener("click", t, !0), Ue = null, window.removeEventListener("mouseover", gt);
3560
+ n.preventDefault(), n.stopPropagation(), xa(n, (r) => {
3561
+ window.removeEventListener("click", t, !0), Ue = null, window.removeEventListener("mouseover", mt);
3564
3562
  const o = ce();
3565
3563
  o && (o.style.display = "none"), e(JSON.stringify({ id: r }));
3566
3564
  });
@@ -3568,7 +3566,7 @@ function Mu() {
3568
3566
  Ue = t, window.addEventListener("click", t, !0);
3569
3567
  });
3570
3568
  }
3571
- function Nu(e) {
3569
+ function Fa(e) {
3572
3570
  const t = _t(F.value, e.id);
3573
3571
  if (t) {
3574
3572
  const [n] = kt(t);
@@ -3598,39 +3596,39 @@ function Nu(e) {
3598
3596
  }, 1200);
3599
3597
  }
3600
3598
  }
3601
- m();
3599
+ g();
3602
3600
  var En, vn;
3603
3601
  (vn = (En = y).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (En.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
3604
- function Vu(e) {
3602
+ function Ma(e) {
3605
3603
  let t = 0;
3606
3604
  const n = setInterval(() => {
3607
3605
  y.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
3608
3606
  5e3 && clearInterval(n);
3609
3607
  }, 30);
3610
3608
  }
3611
- function Bu() {
3609
+ function Na() {
3612
3610
  const e = y.__VUE_INSPECTOR__, t = e.openInEditor;
3613
3611
  e.openInEditor = async (...n) => {
3614
3612
  e.disable(), t(...n);
3615
3613
  };
3616
3614
  }
3617
- function Uu() {
3615
+ function Va() {
3618
3616
  return new Promise((e) => {
3619
3617
  function t() {
3620
- Bu(), e(y.__VUE_INSPECTOR__);
3618
+ Na(), e(y.__VUE_INSPECTOR__);
3621
3619
  }
3622
- y.__VUE_INSPECTOR__ ? t() : Vu(() => {
3620
+ y.__VUE_INSPECTOR__ ? t() : Ma(() => {
3623
3621
  t();
3624
3622
  });
3625
3623
  });
3626
3624
  }
3627
- m();
3628
- m();
3629
- function Hu(e) {
3625
+ g();
3626
+ g();
3627
+ function Ba(e) {
3630
3628
  return !!(e && e.__v_isReadonly);
3631
3629
  }
3632
3630
  function ro(e) {
3633
- return Hu(e) ? ro(e.__v_raw) : !!(e && e.__v_isReactive);
3631
+ return Ba(e) ? ro(e.__v_raw) : !!(e && e.__v_isReactive);
3634
3632
  }
3635
3633
  function nt(e) {
3636
3634
  return !!(e && e.__v_isRef === !0);
@@ -3639,15 +3637,15 @@ function _e(e) {
3639
3637
  const t = e && e.__v_raw;
3640
3638
  return t ? _e(t) : e;
3641
3639
  }
3642
- var ju = class {
3640
+ var Ua = class {
3643
3641
  constructor() {
3644
- this.refEditor = new zu();
3642
+ this.refEditor = new Ha();
3645
3643
  }
3646
3644
  set(e, t, n, r) {
3647
3645
  const o = Array.isArray(t) ? t : t.split(".");
3648
3646
  for (; o.length > 1; ) {
3649
- const u = o.shift();
3650
- e instanceof Map ? e = e.get(u) : e instanceof Set ? e = Array.from(e.values())[u] : e = e[u], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
3647
+ const a = o.shift();
3648
+ e instanceof Map ? e = e.get(a) : e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
3651
3649
  }
3652
3650
  const i = o[0], s = this.refEditor.get(e)[i];
3653
3651
  r ? r(e, i, n) : this.refEditor.isRef(s) ? this.refEditor.set(s, n) : e[i] = n;
@@ -3677,7 +3675,7 @@ var ju = class {
3677
3675
  }
3678
3676
  };
3679
3677
  }
3680
- }, zu = class {
3678
+ }, Ha = class {
3681
3679
  set(e, t) {
3682
3680
  if (nt(e))
3683
3681
  e.value = t;
@@ -3707,11 +3705,11 @@ var ju = class {
3707
3705
  return nt(e) || ro(e);
3708
3706
  }
3709
3707
  };
3710
- m();
3711
- m();
3712
- m();
3713
- var $u = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
3714
- function Ku() {
3708
+ g();
3709
+ g();
3710
+ g();
3711
+ var ja = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
3712
+ function za() {
3715
3713
  if (!Kr || typeof localStorage > "u" || localStorage === null)
3716
3714
  return {
3717
3715
  recordingState: !1,
@@ -3721,7 +3719,7 @@ function Ku() {
3721
3719
  performanceEventEnabled: !1,
3722
3720
  selected: ""
3723
3721
  };
3724
- const e = localStorage.getItem($u);
3722
+ const e = localStorage.getItem(ja);
3725
3723
  return e ? JSON.parse(e) : {
3726
3724
  recordingState: !1,
3727
3725
  mouseEventEnabled: !1,
@@ -3731,21 +3729,21 @@ function Ku() {
3731
3729
  selected: ""
3732
3730
  };
3733
3731
  }
3734
- m();
3735
- m();
3736
- m();
3732
+ g();
3733
+ g();
3734
+ g();
3737
3735
  var yn, bn;
3738
3736
  (bn = (yn = y).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (yn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
3739
- var Wu = new Proxy(y.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
3737
+ var $a = new Proxy(y.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
3740
3738
  get(e, t, n) {
3741
3739
  return Reflect.get(e, t, n);
3742
3740
  }
3743
3741
  });
3744
- function Gu(e, t) {
3745
- k.timelineLayersState[t.id] = !1, Wu.push({
3742
+ function Ka(e, t) {
3743
+ k.timelineLayersState[t.id] = !1, $a.push({
3746
3744
  ...e,
3747
3745
  descriptorId: t.id,
3748
- appRecord: It(t.app)
3746
+ appRecord: Dt(t.app)
3749
3747
  });
3750
3748
  }
3751
3749
  var Cn, wn;
@@ -3754,10 +3752,10 @@ var Ft = new Proxy(y.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
3754
3752
  get(e, t, n) {
3755
3753
  return Reflect.get(e, t, n);
3756
3754
  }
3757
- }), oo = ue(() => {
3755
+ }), oo = ae(() => {
3758
3756
  fe.hooks.callHook("sendInspectorToClient", io());
3759
3757
  });
3760
- function Yu(e, t) {
3758
+ function Wa(e, t) {
3761
3759
  var n, r;
3762
3760
  Ft.push({
3763
3761
  options: e,
@@ -3766,7 +3764,7 @@ function Yu(e, t) {
3766
3764
  stateFilterPlaceholder: (r = e.stateFilterPlaceholder) != null ? r : "Search state...",
3767
3765
  treeFilter: "",
3768
3766
  selectedNodeId: "",
3769
- appRecord: It(t.app)
3767
+ appRecord: Dt(t.app)
3770
3768
  }), oo();
3771
3769
  }
3772
3770
  function io() {
@@ -3787,34 +3785,34 @@ function io() {
3787
3785
  function Re(e, t) {
3788
3786
  return Ft.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
3789
3787
  }
3790
- function qu() {
3788
+ function Ga() {
3791
3789
  const e = Gr();
3792
3790
  e.hook("addInspector", ({ inspector: r, plugin: o }) => {
3793
- Yu(r, o.descriptor);
3791
+ Wa(r, o.descriptor);
3794
3792
  });
3795
- const t = ue(async ({ inspectorId: r, plugin: o }) => {
3793
+ const t = ae(async ({ inspectorId: r, plugin: o }) => {
3796
3794
  var i;
3797
3795
  if (!r || !((i = o?.descriptor) != null && i.app) || k.highPerfModeEnabled)
3798
3796
  return;
3799
- const s = Re(r, o.descriptor.app), u = {
3797
+ const s = Re(r, o.descriptor.app), a = {
3800
3798
  app: o.descriptor.app,
3801
3799
  inspectorId: r,
3802
3800
  filter: s?.treeFilter || "",
3803
3801
  rootNodes: []
3804
3802
  };
3805
- await new Promise((a) => {
3803
+ await new Promise((u) => {
3806
3804
  e.callHookWith(
3807
3805
  async (l) => {
3808
- await Promise.all(l.map((c) => c(u))), a();
3806
+ await Promise.all(l.map((c) => c(a))), u();
3809
3807
  },
3810
3808
  "getInspectorTree"
3811
3809
  /* GET_INSPECTOR_TREE */
3812
3810
  );
3813
3811
  }), e.callHookWith(
3814
- async (a) => {
3815
- await Promise.all(a.map((l) => l({
3812
+ async (u) => {
3813
+ await Promise.all(u.map((l) => l({
3816
3814
  inspectorId: r,
3817
- rootNodes: u.rootNodes
3815
+ rootNodes: a.rootNodes
3818
3816
  })));
3819
3817
  },
3820
3818
  "sendInspectorTreeToClient"
@@ -3822,22 +3820,22 @@ function qu() {
3822
3820
  );
3823
3821
  }, 120);
3824
3822
  e.hook("sendInspectorTree", t);
3825
- const n = ue(async ({ inspectorId: r, plugin: o }) => {
3823
+ const n = ae(async ({ inspectorId: r, plugin: o }) => {
3826
3824
  var i;
3827
3825
  if (!r || !((i = o?.descriptor) != null && i.app) || k.highPerfModeEnabled)
3828
3826
  return;
3829
- const s = Re(r, o.descriptor.app), u = {
3827
+ const s = Re(r, o.descriptor.app), a = {
3830
3828
  app: o.descriptor.app,
3831
3829
  inspectorId: r,
3832
3830
  nodeId: s?.selectedNodeId || "",
3833
3831
  state: null
3834
- }, a = {
3832
+ }, u = {
3835
3833
  currentTab: `custom-inspector:${r}`
3836
3834
  };
3837
- u.nodeId && await new Promise((l) => {
3835
+ a.nodeId && await new Promise((l) => {
3838
3836
  e.callHookWith(
3839
3837
  async (c) => {
3840
- await Promise.all(c.map((f) => f(u, a))), l();
3838
+ await Promise.all(c.map((f) => f(a, u))), l();
3841
3839
  },
3842
3840
  "getInspectorState"
3843
3841
  /* GET_INSPECTOR_STATE */
@@ -3846,8 +3844,8 @@ function qu() {
3846
3844
  async (l) => {
3847
3845
  await Promise.all(l.map((c) => c({
3848
3846
  inspectorId: r,
3849
- nodeId: u.nodeId,
3850
- state: u.state
3847
+ nodeId: a.nodeId,
3848
+ state: a.state
3851
3849
  })));
3852
3850
  },
3853
3851
  "sendInspectorStateToClient"
@@ -3858,13 +3856,13 @@ function qu() {
3858
3856
  const s = Re(r, i.descriptor.app);
3859
3857
  s && (s.selectedNodeId = o);
3860
3858
  }), e.hook("timelineLayerAdded", ({ options: r, plugin: o }) => {
3861
- Gu(r, o.descriptor);
3859
+ Ka(r, o.descriptor);
3862
3860
  }), e.hook("timelineEventAdded", ({ options: r, plugin: o }) => {
3863
3861
  var i;
3864
3862
  const s = ["performance", "component-event", "keyboard", "mouse"];
3865
3863
  k.highPerfModeEnabled || !((i = k.timelineLayersState) != null && i[o.descriptor.id]) && !s.includes(r.layerId) || e.callHookWith(
3866
- async (u) => {
3867
- await Promise.all(u.map((a) => a(r)));
3864
+ async (a) => {
3865
+ await Promise.all(a.map((u) => u(r)));
3868
3866
  },
3869
3867
  "sendTimelineEventToClient"
3870
3868
  /* SEND_TIMELINE_EVENT_TO_CLIENT */
@@ -3874,10 +3872,10 @@ function qu() {
3874
3872
  if (!o)
3875
3873
  return null;
3876
3874
  const i = o.id.toString();
3877
- return [...o.instanceMap].filter(([u]) => u.split(":")[0] === i).map(([, u]) => u);
3875
+ return [...o.instanceMap].filter(([a]) => a.split(":")[0] === i).map(([, a]) => a);
3878
3876
  }), e.hook("getComponentBounds", async ({ instance: r }) => ee(r)), e.hook("getComponentName", ({ instance: r }) => Ke(r)), e.hook("componentHighlight", ({ uid: r }) => {
3879
3877
  const o = F.value.instanceMap.get(r);
3880
- o && Ru(o);
3878
+ o && ka(o);
3881
3879
  }), e.hook("componentUnhighlight", () => {
3882
3880
  no();
3883
3881
  }), e;
@@ -3886,14 +3884,14 @@ var An, Tn;
3886
3884
  (Tn = (An = y).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (An.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
3887
3885
  var On, Sn;
3888
3886
  (Sn = (On = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (On.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
3889
- var Pn, Dn;
3890
- (Dn = (Pn = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Pn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
3891
- var In, kn;
3892
- (kn = (In = y).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (In.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
3887
+ var Pn, In;
3888
+ (In = (Pn = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Pn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
3889
+ var Dn, kn;
3890
+ (kn = (Dn = y).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (Dn.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
3893
3891
  var xn, Rn;
3894
3892
  (Rn = (xn = y).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (xn.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
3895
3893
  var Z = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
3896
- function Xu() {
3894
+ function Ya() {
3897
3895
  return {
3898
3896
  connected: !1,
3899
3897
  clientConnected: !1,
@@ -3905,15 +3903,15 @@ function Xu() {
3905
3903
  highPerfModeEnabled: !0,
3906
3904
  devtoolsClientDetected: {},
3907
3905
  perfUniqueGroupId: 0,
3908
- timelineLayersState: Ku()
3906
+ timelineLayersState: za()
3909
3907
  };
3910
3908
  }
3911
3909
  var Ln, Fn;
3912
- (Fn = (Ln = y)[Z]) != null || (Ln[Z] = Xu());
3913
- var Qu = ue((e) => {
3910
+ (Fn = (Ln = y)[Z]) != null || (Ln[Z] = Ya());
3911
+ var qa = ae((e) => {
3914
3912
  fe.hooks.callHook("devtoolsStateUpdated", { state: e });
3915
3913
  });
3916
- ue((e, t) => {
3914
+ ae((e, t) => {
3917
3915
  fe.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
3918
3916
  });
3919
3917
  var We = new Proxy(y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
@@ -3926,7 +3924,7 @@ var We = new Proxy(y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
3926
3924
  }
3927
3925
  });
3928
3926
  function so() {
3929
- Qu({
3927
+ qa({
3930
3928
  ...y[Z],
3931
3929
  appRecords: We.value,
3932
3930
  activeAppRecordId: F.id,
@@ -3934,10 +3932,10 @@ function so() {
3934
3932
  commands: y.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
3935
3933
  });
3936
3934
  }
3937
- function Zu(e) {
3935
+ function Xa(e) {
3938
3936
  y.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, so();
3939
3937
  }
3940
- function Ju(e) {
3938
+ function Qa(e) {
3941
3939
  y.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, so();
3942
3940
  }
3943
3941
  var k = new Proxy(y[Z], {
@@ -3951,29 +3949,29 @@ var k = new Proxy(y[Z], {
3951
3949
  return { ...y[Z] }, e[t] = n, y[Z][t] = n, !0;
3952
3950
  }
3953
3951
  });
3954
- function ea(e = {}) {
3952
+ function Za(e = {}) {
3955
3953
  var t, n, r;
3956
- const { file: o, host: i, baseUrl: s = window.location.origin, line: u = 0, column: a = 0 } = e;
3954
+ const { file: o, host: i, baseUrl: s = window.location.origin, line: a = 0, column: u = 0 } = e;
3957
3955
  if (o) {
3958
3956
  if (i === "chrome-extension") {
3959
3957
  const l = o.replace(/\\/g, "\\\\"), c = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
3960
3958
  fetch(`${c}__open-in-editor?file=${encodeURI(o)}`).then((f) => {
3961
3959
  if (!f.ok) {
3962
- const _ = `Opening component ${l} failed`;
3963
- console.log(`%c${_}`, "color:red");
3960
+ const h = `Opening component ${l} failed`;
3961
+ console.log(`%c${h}`, "color:red");
3964
3962
  }
3965
3963
  });
3966
3964
  } else if (k.vitePluginDetected) {
3967
3965
  const l = (r = y.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? r : s;
3968
- y.__VUE_INSPECTOR__.openInEditor(l, o, u, a);
3966
+ y.__VUE_INSPECTOR__.openInEditor(l, o, a, u);
3969
3967
  }
3970
3968
  }
3971
3969
  }
3972
- m();
3973
- m();
3974
- m();
3975
- m();
3976
- m();
3970
+ g();
3971
+ g();
3972
+ g();
3973
+ g();
3974
+ g();
3977
3975
  var Mn, Nn;
3978
3976
  (Nn = (Mn = y).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (Mn.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
3979
3977
  var Mt = new Proxy(y.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
@@ -3990,7 +3988,7 @@ function Et(e) {
3990
3988
  function Nt(e) {
3991
3989
  return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
3992
3990
  }
3993
- function ta(e) {
3991
+ function Ja(e) {
3994
3992
  var t, n, r;
3995
3993
  const o = (n = (t = Mt.find((i) => {
3996
3994
  var s;
@@ -3998,7 +3996,7 @@ function ta(e) {
3998
3996
  })) == null ? void 0 : t[0]) != null ? n : null;
3999
3997
  return (r = o?.settings) != null ? r : null;
4000
3998
  }
4001
- function uo(e, t) {
3999
+ function ao(e, t) {
4002
4000
  var n, r, o;
4003
4001
  const i = Nt(e);
4004
4002
  if (i) {
@@ -4007,23 +4005,23 @@ function uo(e, t) {
4007
4005
  return JSON.parse(s);
4008
4006
  }
4009
4007
  if (e) {
4010
- const s = (r = (n = Mt.find((u) => u[0].id === e)) == null ? void 0 : n[0]) != null ? r : null;
4008
+ const s = (r = (n = Mt.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? r : null;
4011
4009
  return Et((o = s?.settings) != null ? o : {});
4012
4010
  }
4013
4011
  return Et(t);
4014
4012
  }
4015
- function na(e, t) {
4013
+ function eu(e, t) {
4016
4014
  const n = Nt(e);
4017
4015
  localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(Et(t)));
4018
4016
  }
4019
- function ra(e, t, n) {
4017
+ function tu(e, t, n) {
4020
4018
  const r = Nt(e), o = localStorage.getItem(r), i = JSON.parse(o || "{}"), s = {
4021
4019
  ...i,
4022
4020
  [t]: n
4023
4021
  };
4024
4022
  localStorage.setItem(r, JSON.stringify(s)), fe.hooks.callHookWith(
4025
- (u) => {
4026
- u.forEach((a) => a({
4023
+ (a) => {
4024
+ a.forEach((u) => u({
4027
4025
  pluginId: e,
4028
4026
  key: t,
4029
4027
  oldValue: i[t],
@@ -4035,18 +4033,18 @@ function ra(e, t, n) {
4035
4033
  /* SET_PLUGIN_SETTINGS */
4036
4034
  );
4037
4035
  }
4038
- m();
4039
- m();
4040
- m();
4041
- m();
4042
- m();
4043
- m();
4044
- m();
4045
- m();
4046
- m();
4047
- m();
4048
- m();
4049
- var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVTOOLS_HOOK = Gr(), oa = {
4036
+ g();
4037
+ g();
4038
+ g();
4039
+ g();
4040
+ g();
4041
+ g();
4042
+ g();
4043
+ g();
4044
+ g();
4045
+ g();
4046
+ g();
4047
+ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVTOOLS_HOOK = Gr(), nu = {
4050
4048
  vueAppInit(e) {
4051
4049
  V.hook("app:init", e);
4052
4050
  },
@@ -4077,12 +4075,12 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4077
4075
  perfEnd(e) {
4078
4076
  return V.hook("perf:end", e);
4079
4077
  }
4080
- }, ao = {
4081
- on: oa,
4078
+ }, uo = {
4079
+ on: nu,
4082
4080
  setupDevToolsPlugin(e, t) {
4083
4081
  return V.callHook("devtools-plugin:setup", e, t);
4084
4082
  }
4085
- }, ia = class {
4083
+ }, ru = class {
4086
4084
  constructor({ plugin: e, ctx: t }) {
4087
4085
  this.hooks = t.hooks, this.plugin = e;
4088
4086
  }
@@ -4146,7 +4144,7 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4146
4144
  }
4147
4145
  // custom inspector
4148
4146
  addInspector(e) {
4149
- this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && na(e.id, this.plugin.descriptor.settings);
4147
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && eu(e.id, this.plugin.descriptor.settings);
4150
4148
  }
4151
4149
  sendInspectorTree(e) {
4152
4150
  k.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
@@ -4172,7 +4170,7 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4172
4170
  }
4173
4171
  // settings
4174
4172
  getSettings(e) {
4175
- return uo(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
4173
+ return ao(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
4176
4174
  }
4177
4175
  // utilities
4178
4176
  getComponentInstances(e) {
@@ -4194,36 +4192,36 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4194
4192
  /* COMPONENT_UNHIGHLIGHT */
4195
4193
  );
4196
4194
  }
4197
- }, sa = ia;
4198
- m();
4199
- m();
4200
- m();
4201
- m();
4202
- var ua = "__vue_devtool_undefined__", aa = "__vue_devtool_infinity__", la = "__vue_devtool_negative_infinity__", ca = "__vue_devtool_nan__";
4203
- m();
4204
- m();
4205
- var fa = {
4206
- [ua]: "undefined",
4207
- [ca]: "NaN",
4208
- [aa]: "Infinity",
4209
- [la]: "-Infinity"
4195
+ }, ou = ru;
4196
+ g();
4197
+ g();
4198
+ g();
4199
+ g();
4200
+ var iu = "__vue_devtool_undefined__", su = "__vue_devtool_infinity__", au = "__vue_devtool_negative_infinity__", uu = "__vue_devtool_nan__";
4201
+ g();
4202
+ g();
4203
+ var lu = {
4204
+ [iu]: "undefined",
4205
+ [uu]: "NaN",
4206
+ [su]: "Infinity",
4207
+ [au]: "-Infinity"
4210
4208
  };
4211
- Object.entries(fa).reduce((e, [t, n]) => (e[n] = t, e), {});
4212
- m();
4213
- m();
4214
- m();
4215
- m();
4216
- m();
4209
+ Object.entries(lu).reduce((e, [t, n]) => (e[n] = t, e), {});
4210
+ g();
4211
+ g();
4212
+ g();
4213
+ g();
4214
+ g();
4217
4215
  var Un, Hn;
4218
4216
  (Hn = (Un = y).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (Un.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
4219
- function da(e, t) {
4220
- return ao.setupDevToolsPlugin(e, t);
4217
+ function cu(e, t) {
4218
+ return uo.setupDevToolsPlugin(e, t);
4221
4219
  }
4222
- function pa(e, t) {
4220
+ function fu(e, t) {
4223
4221
  const [n, r] = e;
4224
4222
  if (n.app !== t)
4225
4223
  return;
4226
- const o = new sa({
4224
+ const o = new ou({
4227
4225
  plugin: {
4228
4226
  setupFn: r,
4229
4227
  descriptor: n
@@ -4236,21 +4234,21 @@ function pa(e, t) {
4236
4234
  }
4237
4235
  function lo(e, t) {
4238
4236
  y.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || k.highPerfModeEnabled && !t?.inspectingComponent || (y.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Mt.forEach((n) => {
4239
- pa(n, e);
4237
+ fu(n, e);
4240
4238
  }));
4241
4239
  }
4242
- m();
4243
- m();
4244
- var ve = "__VUE_DEVTOOLS_ROUTER__", ae = "__VUE_DEVTOOLS_ROUTER_INFO__", jn, zn;
4245
- (zn = (jn = y)[ae]) != null || (jn[ae] = {
4240
+ g();
4241
+ g();
4242
+ var ve = "__VUE_DEVTOOLS_ROUTER__", ue = "__VUE_DEVTOOLS_ROUTER_INFO__", jn, zn;
4243
+ (zn = (jn = y)[ue]) != null || (jn[ue] = {
4246
4244
  currentRoute: null,
4247
4245
  routes: []
4248
4246
  });
4249
4247
  var $n, Kn;
4250
4248
  (Kn = ($n = y)[ve]) != null || ($n[ve] = {});
4251
- new Proxy(y[ae], {
4249
+ new Proxy(y[ue], {
4252
4250
  get(e, t) {
4253
- return y[ae][t];
4251
+ return y[ue][t];
4254
4252
  }
4255
4253
  });
4256
4254
  new Proxy(y[ve], {
@@ -4259,7 +4257,7 @@ new Proxy(y[ve], {
4259
4257
  return y[ve];
4260
4258
  }
4261
4259
  });
4262
- function ha(e) {
4260
+ function du(e) {
4263
4261
  const t = /* @__PURE__ */ new Map();
4264
4262
  return (e?.getRoutes() || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
4265
4263
  }
@@ -4274,38 +4272,38 @@ function Vt(e) {
4274
4272
  };
4275
4273
  });
4276
4274
  }
4277
- function _a(e) {
4275
+ function pu(e) {
4278
4276
  if (e) {
4279
- const { fullPath: t, hash: n, href: r, path: o, name: i, matched: s, params: u, query: a } = e;
4277
+ const { fullPath: t, hash: n, href: r, path: o, name: i, matched: s, params: a, query: u } = e;
4280
4278
  return {
4281
4279
  fullPath: t,
4282
4280
  hash: n,
4283
4281
  href: r,
4284
4282
  path: o,
4285
4283
  name: i,
4286
- params: u,
4287
- query: a,
4284
+ params: a,
4285
+ query: u,
4288
4286
  matched: Vt(s)
4289
4287
  };
4290
4288
  }
4291
4289
  return e;
4292
4290
  }
4293
- function ma(e, t) {
4291
+ function hu(e, t) {
4294
4292
  function n() {
4295
4293
  var r;
4296
- const o = (r = e.app) == null ? void 0 : r.config.globalProperties.$router, i = _a(o?.currentRoute.value), s = Vt(ha(o)), u = console.warn;
4294
+ const o = (r = e.app) == null ? void 0 : r.config.globalProperties.$router, i = pu(o?.currentRoute.value), s = Vt(du(o)), a = console.warn;
4297
4295
  console.warn = () => {
4298
- }, y[ae] = {
4296
+ }, y[ue] = {
4299
4297
  currentRoute: i ? _n(i) : {},
4300
4298
  routes: _n(s)
4301
- }, y[ve] = o, console.warn = u;
4299
+ }, y[ve] = o, console.warn = a;
4302
4300
  }
4303
- n(), ao.on.componentUpdated(ue(() => {
4301
+ n(), uo.on.componentUpdated(ae(() => {
4304
4302
  var r;
4305
- ((r = t.value) == null ? void 0 : r.app) === e.app && (n(), !k.highPerfModeEnabled && fe.hooks.callHook("routerInfoUpdated", { state: y[ae] }));
4303
+ ((r = t.value) == null ? void 0 : r.app) === e.app && (n(), !k.highPerfModeEnabled && fe.hooks.callHook("routerInfoUpdated", { state: y[ue] }));
4306
4304
  }, 200));
4307
4305
  }
4308
- function ga(e) {
4306
+ function _u(e) {
4309
4307
  return {
4310
4308
  // get inspector tree
4311
4309
  async getInspectorTree(t) {
@@ -4345,11 +4343,11 @@ function ga(e) {
4345
4343
  },
4346
4344
  // edit inspector state
4347
4345
  editInspectorState(t) {
4348
- const n = new ju(), r = {
4346
+ const n = new Ua(), r = {
4349
4347
  ...t,
4350
4348
  app: F.value.app,
4351
- set: (o, i = t.path, s = t.state.value, u) => {
4352
- n.set(o, i, s, u || n.createDefaultSetCallback(t.state));
4349
+ set: (o, i = t.path, s = t.state.value, a) => {
4350
+ n.set(o, i, s, a || n.createDefaultSetCallback(t.state));
4353
4351
  }
4354
4352
  };
4355
4353
  e.callHookWith(
@@ -4370,11 +4368,11 @@ function ga(e) {
4370
4368
  },
4371
4369
  // inspect component inspector
4372
4370
  inspectComponentInspector() {
4373
- return Mu();
4371
+ return La();
4374
4372
  },
4375
4373
  // cancel inspect component inspector
4376
4374
  cancelInspectComponentInspector() {
4377
- return Fu();
4375
+ return Ra();
4378
4376
  },
4379
4377
  // get component render code
4380
4378
  getComponentRenderCode(t) {
@@ -4384,16 +4382,16 @@ function ga(e) {
4384
4382
  },
4385
4383
  // scroll to component
4386
4384
  scrollToComponent(t) {
4387
- return Nu({ id: t });
4385
+ return Fa({ id: t });
4388
4386
  },
4389
4387
  // open in editor
4390
- openInEditor: ea,
4388
+ openInEditor: Za,
4391
4389
  // get vue inspector
4392
- getVueInspector: Uu,
4390
+ getVueInspector: Va,
4393
4391
  // toggle app
4394
4392
  toggleApp(t, n) {
4395
4393
  const r = We.value.find((o) => o.id === t);
4396
- r && (Ju(t), Zu(r), ma(r, F), oo(), lo(r.app, n));
4394
+ r && (Qa(t), Xa(r), hu(r, F), oo(), lo(r.app, n));
4397
4395
  },
4398
4396
  // inspect dom
4399
4397
  inspectDOM(t) {
@@ -4404,22 +4402,22 @@ function ga(e) {
4404
4402
  }
4405
4403
  },
4406
4404
  updatePluginSettings(t, n, r) {
4407
- ra(t, n, r);
4405
+ tu(t, n, r);
4408
4406
  },
4409
4407
  getPluginSettings(t) {
4410
4408
  return {
4411
- options: ta(t),
4412
- values: uo(t)
4409
+ options: Ja(t),
4410
+ values: ao(t)
4413
4411
  };
4414
4412
  }
4415
4413
  };
4416
4414
  }
4417
- m();
4415
+ g();
4418
4416
  var Wn, Gn;
4419
4417
  (Gn = (Wn = y).__VUE_DEVTOOLS_ENV__) != null || (Wn.__VUE_DEVTOOLS_ENV__ = {
4420
4418
  vitePluginDetected: !1
4421
4419
  });
4422
- var Yn = qu(), qn, Xn;
4420
+ var Yn = Ga(), qn, Xn;
4423
4421
  (Xn = (qn = y).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (qn.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
4424
4422
  hooks: Yn,
4425
4423
  get state() {
@@ -4430,42 +4428,42 @@ var Yn = qu(), qn, Xn;
4430
4428
  appRecords: We.value
4431
4429
  };
4432
4430
  },
4433
- api: ga(Yn)
4431
+ api: _u(Yn)
4434
4432
  });
4435
4433
  var fe = y.__VUE_DEVTOOLS_KIT_CONTEXT__;
4436
- m();
4437
- gu(vu());
4434
+ g();
4435
+ _a(ma());
4438
4436
  var Qn, Zn;
4439
4437
  (Zn = (Qn = y).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (Qn.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
4440
4438
  id: 0,
4441
4439
  appIds: /* @__PURE__ */ new Set()
4442
4440
  });
4443
- m();
4444
- m();
4445
- function Ea(e) {
4441
+ g();
4442
+ g();
4443
+ function gu(e) {
4446
4444
  k.highPerfModeEnabled = e ?? !k.highPerfModeEnabled, !e && F.value && lo(F.value.app);
4447
4445
  }
4448
- m();
4449
- m();
4450
- m();
4451
- function va(e) {
4446
+ g();
4447
+ g();
4448
+ g();
4449
+ function mu(e) {
4452
4450
  k.devtoolsClientDetected = {
4453
4451
  ...k.devtoolsClientDetected,
4454
4452
  ...e
4455
4453
  };
4456
4454
  const t = Object.values(k.devtoolsClientDetected).some(Boolean);
4457
- Ea(!t);
4455
+ gu(!t);
4458
4456
  }
4459
4457
  var Jn, er;
4460
- (er = (Jn = y).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (Jn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = va);
4461
- m();
4462
- m();
4463
- m();
4464
- m();
4465
- m();
4466
- m();
4467
- m();
4468
- var ya = class {
4458
+ (er = (Jn = y).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (Jn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = mu);
4459
+ g();
4460
+ g();
4461
+ g();
4462
+ g();
4463
+ g();
4464
+ g();
4465
+ g();
4466
+ var Eu = class {
4469
4467
  constructor() {
4470
4468
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
4471
4469
  }
@@ -4483,7 +4481,7 @@ var ya = class {
4483
4481
  }
4484
4482
  }, co = class {
4485
4483
  constructor(e) {
4486
- this.generateIdentifier = e, this.kv = new ya();
4484
+ this.generateIdentifier = e, this.kv = new Eu();
4487
4485
  }
4488
4486
  register(e, t) {
4489
4487
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -4497,7 +4495,7 @@ var ya = class {
4497
4495
  getValue(e) {
4498
4496
  return this.kv.getByKey(e);
4499
4497
  }
4500
- }, ba = class extends co {
4498
+ }, vu = class extends co {
4501
4499
  constructor() {
4502
4500
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
4503
4501
  }
@@ -4508,9 +4506,9 @@ var ya = class {
4508
4506
  return this.classToAllowedProps.get(e);
4509
4507
  }
4510
4508
  };
4511
- m();
4512
- m();
4513
- function Ca(e) {
4509
+ g();
4510
+ g();
4511
+ function yu(e) {
4514
4512
  if ("values" in Object)
4515
4513
  return Object.values(e);
4516
4514
  const t = [];
@@ -4518,8 +4516,8 @@ function Ca(e) {
4518
4516
  e.hasOwnProperty(n) && t.push(e[n]);
4519
4517
  return t;
4520
4518
  }
4521
- function wa(e, t) {
4522
- const n = Ca(e);
4519
+ function bu(e, t) {
4520
+ const n = yu(e);
4523
4521
  if ("find" in n)
4524
4522
  return n.find(t);
4525
4523
  const r = n;
@@ -4542,7 +4540,7 @@ function tr(e, t) {
4542
4540
  return r;
4543
4541
  }
4544
4542
  }
4545
- var Aa = class {
4543
+ var Cu = class {
4546
4544
  constructor() {
4547
4545
  this.transfomers = {};
4548
4546
  }
@@ -4550,17 +4548,17 @@ var Aa = class {
4550
4548
  this.transfomers[e.name] = e;
4551
4549
  }
4552
4550
  findApplicable(e) {
4553
- return wa(this.transfomers, (t) => t.isApplicable(e));
4551
+ return bu(this.transfomers, (t) => t.isApplicable(e));
4554
4552
  }
4555
4553
  findByName(e) {
4556
4554
  return this.transfomers[e];
4557
4555
  }
4558
4556
  };
4559
- m();
4560
- m();
4561
- var Ta = (e) => Object.prototype.toString.call(e).slice(8, -1), fo = (e) => typeof e > "u", Oa = (e) => e === null, ye = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, vt = (e) => ye(e) && Object.keys(e).length === 0, G = (e) => Array.isArray(e), Sa = (e) => typeof e == "string", Pa = (e) => typeof e == "number" && !isNaN(e), Da = (e) => typeof e == "boolean", Ia = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Ce = (e) => e instanceof Set, po = (e) => Ta(e) === "Symbol", ka = (e) => e instanceof Date && !isNaN(e.valueOf()), xa = (e) => e instanceof Error, nr = (e) => typeof e == "number" && isNaN(e), Ra = (e) => Da(e) || Oa(e) || fo(e) || Pa(e) || Sa(e) || po(e), La = (e) => typeof e == "bigint", Fa = (e) => e === 1 / 0 || e === -1 / 0, Ma = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Na = (e) => e instanceof URL;
4562
- m();
4563
- var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join("."), ge = (e) => {
4557
+ g();
4558
+ g();
4559
+ var wu = (e) => Object.prototype.toString.call(e).slice(8, -1), fo = (e) => typeof e > "u", Au = (e) => e === null, ye = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, vt = (e) => ye(e) && Object.keys(e).length === 0, G = (e) => Array.isArray(e), Tu = (e) => typeof e == "string", Ou = (e) => typeof e == "number" && !isNaN(e), Su = (e) => typeof e == "boolean", Pu = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Ce = (e) => e instanceof Set, po = (e) => wu(e) === "Symbol", Iu = (e) => e instanceof Date && !isNaN(e.valueOf()), Du = (e) => e instanceof Error, nr = (e) => typeof e == "number" && isNaN(e), ku = (e) => Su(e) || Au(e) || fo(e) || Ou(e) || Tu(e) || po(e), xu = (e) => typeof e == "bigint", Ru = (e) => e === 1 / 0 || e === -1 / 0, Lu = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Fu = (e) => e instanceof URL;
4560
+ g();
4561
+ var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join("."), me = (e) => {
4564
4562
  const t = [];
4565
4563
  let n = "";
4566
4564
  for (let o = 0; o < e.length; o++) {
@@ -4578,7 +4576,7 @@ var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join(
4578
4576
  const r = n;
4579
4577
  return t.push(r), t;
4580
4578
  };
4581
- m();
4579
+ g();
4582
4580
  function j(e, t, n, r) {
4583
4581
  return {
4584
4582
  isApplicable: e,
@@ -4590,9 +4588,9 @@ function j(e, t, n, r) {
4590
4588
  var _o = [
4591
4589
  j(fo, "undefined", () => null, () => {
4592
4590
  }),
4593
- j(La, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
4594
- j(ka, "Date", (e) => e.toISOString(), (e) => new Date(e)),
4595
- j(xa, "Error", (e, t) => {
4591
+ j(xu, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
4592
+ j(Iu, "Date", (e) => e.toISOString(), (e) => new Date(e)),
4593
+ j(Du, "Error", (e, t) => {
4596
4594
  const n = {
4597
4595
  name: e.name,
4598
4596
  message: e.message
@@ -4606,7 +4604,7 @@ var _o = [
4606
4604
  n[r] = e[r];
4607
4605
  }), n;
4608
4606
  }),
4609
- j(Ia, "regexp", (e) => "" + e, (e) => {
4607
+ j(Pu, "regexp", (e) => "" + e, (e) => {
4610
4608
  const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
4611
4609
  return new RegExp(t, n);
4612
4610
  }),
@@ -4619,9 +4617,9 @@ var _o = [
4619
4617
  (e) => new Set(e)
4620
4618
  ),
4621
4619
  j(be, "map", (e) => [...e.entries()], (e) => new Map(e)),
4622
- j((e) => nr(e) || Fa(e), "number", (e) => nr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
4620
+ j((e) => nr(e) || Ru(e), "number", (e) => nr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
4623
4621
  j((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
4624
- j(Na, "URL", (e) => e.toString(), (e) => new URL(e))
4622
+ j(Fu, "URL", (e) => e.toString(), (e) => new URL(e))
4625
4623
  ];
4626
4624
  function Ge(e, t, n, r) {
4627
4625
  return {
@@ -4631,12 +4629,12 @@ function Ge(e, t, n, r) {
4631
4629
  untransform: r
4632
4630
  };
4633
4631
  }
4634
- var mo = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
4632
+ var go = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
4635
4633
  const r = n.symbolRegistry.getValue(t[1]);
4636
4634
  if (!r)
4637
4635
  throw new Error("Trying to deserialize unknown symbol");
4638
4636
  return r;
4639
- }), Va = [
4637
+ }), Mu = [
4640
4638
  Int8Array,
4641
4639
  Uint8Array,
4642
4640
  Int16Array,
@@ -4646,8 +4644,8 @@ var mo = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
4646
4644
  Float32Array,
4647
4645
  Float64Array,
4648
4646
  Uint8ClampedArray
4649
- ].reduce((e, t) => (e[t.name] = t, e), {}), go = Ge(Ma, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
4650
- const n = Va[t[1]];
4647
+ ].reduce((e, t) => (e[t.name] = t, e), {}), mo = Ge(Lu, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
4648
+ const n = Mu[t[1]];
4651
4649
  if (!n)
4652
4650
  throw new Error("Trying to deserialize unknown typed array");
4653
4651
  return new n(e);
@@ -4673,8 +4671,8 @@ var vo = Ge(Eo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
4673
4671
  if (!r)
4674
4672
  throw new Error("Trying to deserialize unknown custom value");
4675
4673
  return r.deserialize(e);
4676
- }), Ba = [vo, mo, yo, go], rr = (e, t) => {
4677
- const n = tr(Ba, (o) => o.isApplicable(e, t));
4674
+ }), Nu = [vo, go, yo, mo], rr = (e, t) => {
4675
+ const n = tr(Nu, (o) => o.isApplicable(e, t));
4678
4676
  if (n)
4679
4677
  return {
4680
4678
  value: n.transform(e, t),
@@ -4690,17 +4688,17 @@ var vo = Ge(Eo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
4690
4688
  _o.forEach((e) => {
4691
4689
  bo[e.annotation] = e;
4692
4690
  });
4693
- var Ua = (e, t, n) => {
4691
+ var Vu = (e, t, n) => {
4694
4692
  if (G(t))
4695
4693
  switch (t[0]) {
4696
4694
  case "symbol":
4697
- return mo.untransform(e, t, n);
4695
+ return go.untransform(e, t, n);
4698
4696
  case "class":
4699
4697
  return vo.untransform(e, t, n);
4700
4698
  case "custom":
4701
4699
  return yo.untransform(e, t, n);
4702
4700
  case "typed-array":
4703
- return go.untransform(e, t, n);
4701
+ return mo.untransform(e, t, n);
4704
4702
  default:
4705
4703
  throw new Error("Unknown transformation: " + t);
4706
4704
  }
@@ -4711,7 +4709,7 @@ var Ua = (e, t, n) => {
4711
4709
  return r.untransform(e, n);
4712
4710
  }
4713
4711
  };
4714
- m();
4712
+ g();
4715
4713
  var oe = (e, t) => {
4716
4714
  if (t > e.size)
4717
4715
  throw new Error("index out of bounds");
@@ -4728,7 +4726,7 @@ function Co(e) {
4728
4726
  if (Le(e, "constructor"))
4729
4727
  throw new Error("constructor is not allowed as a property");
4730
4728
  }
4731
- var Ha = (e, t) => {
4729
+ var Bu = (e, t) => {
4732
4730
  Co(t);
4733
4731
  for (let n = 0; n < t.length; n++) {
4734
4732
  const r = t[n];
@@ -4755,17 +4753,17 @@ var Ha = (e, t) => {
4755
4753
  for (let i = 0; i < t.length - 1; i++) {
4756
4754
  const s = t[i];
4757
4755
  if (G(r)) {
4758
- const u = +s;
4759
- r = r[u];
4756
+ const a = +s;
4757
+ r = r[a];
4760
4758
  } else if (ye(r))
4761
4759
  r = r[s];
4762
4760
  else if (Ce(r)) {
4763
- const u = +s;
4764
- r = oe(r, u);
4761
+ const a = +s;
4762
+ r = oe(r, a);
4765
4763
  } else if (be(r)) {
4766
4764
  if (i === t.length - 2)
4767
4765
  break;
4768
- const a = +s, l = +t[++i] == 0 ? "key" : "value", c = oe(r, a);
4766
+ const u = +s, l = +t[++i] == 0 ? "key" : "value", c = oe(r, u);
4769
4767
  switch (l) {
4770
4768
  case "key":
4771
4769
  r = c;
@@ -4785,8 +4783,8 @@ var Ha = (e, t) => {
4785
4783
  const i = +t[t.length - 2], s = oe(r, i);
4786
4784
  switch (+o == 0 ? "key" : "value") {
4787
4785
  case "key": {
4788
- const a = n(s);
4789
- r.set(a, r.get(s)), a !== s && r.delete(s);
4786
+ const u = n(s);
4787
+ r.set(u, r.get(s)), u !== s && r.delete(s);
4790
4788
  break;
4791
4789
  }
4792
4790
  case "value": {
@@ -4801,108 +4799,108 @@ function bt(e, t, n = []) {
4801
4799
  if (!e)
4802
4800
  return;
4803
4801
  if (!G(e)) {
4804
- le(e, (i, s) => bt(i, t, [...n, ...ge(s)]));
4802
+ le(e, (i, s) => bt(i, t, [...n, ...me(s)]));
4805
4803
  return;
4806
4804
  }
4807
4805
  const [r, o] = e;
4808
4806
  o && le(o, (i, s) => {
4809
- bt(i, t, [...n, ...ge(s)]);
4807
+ bt(i, t, [...n, ...me(s)]);
4810
4808
  }), t(r, n);
4811
4809
  }
4812
- function ja(e, t, n) {
4810
+ function Uu(e, t, n) {
4813
4811
  return bt(t, (r, o) => {
4814
- e = yt(e, o, (i) => Ua(i, r, n));
4812
+ e = yt(e, o, (i) => Vu(i, r, n));
4815
4813
  }), e;
4816
4814
  }
4817
- function za(e, t) {
4815
+ function Hu(e, t) {
4818
4816
  function n(r, o) {
4819
- const i = Ha(e, ge(o));
4820
- r.map(ge).forEach((s) => {
4817
+ const i = Bu(e, me(o));
4818
+ r.map(me).forEach((s) => {
4821
4819
  e = yt(e, s, () => i);
4822
4820
  });
4823
4821
  }
4824
4822
  if (G(t)) {
4825
4823
  const [r, o] = t;
4826
4824
  r.forEach((i) => {
4827
- e = yt(e, ge(i), () => e);
4825
+ e = yt(e, me(i), () => e);
4828
4826
  }), o && le(o, n);
4829
4827
  } else
4830
4828
  le(t, n);
4831
4829
  return e;
4832
4830
  }
4833
- var $a = (e, t) => ye(e) || G(e) || be(e) || Ce(e) || Eo(e, t);
4834
- function Ka(e, t, n) {
4831
+ var ju = (e, t) => ye(e) || G(e) || be(e) || Ce(e) || Eo(e, t);
4832
+ function zu(e, t, n) {
4835
4833
  const r = n.get(e);
4836
4834
  r ? r.push(t) : n.set(e, [t]);
4837
4835
  }
4838
- function Wa(e, t) {
4836
+ function $u(e, t) {
4839
4837
  const n = {};
4840
4838
  let r;
4841
4839
  return e.forEach((o) => {
4842
4840
  if (o.length <= 1)
4843
4841
  return;
4844
- t || (o = o.map((u) => u.map(String)).sort((u, a) => u.length - a.length));
4842
+ t || (o = o.map((a) => a.map(String)).sort((a, u) => a.length - u.length));
4845
4843
  const [i, ...s] = o;
4846
4844
  i.length === 0 ? r = s.map(rt) : n[rt(i)] = s.map(rt);
4847
4845
  }), r ? vt(n) ? [r] : [r, n] : vt(n) ? void 0 : n;
4848
4846
  }
4849
4847
  var wo = (e, t, n, r, o = [], i = [], s = /* @__PURE__ */ new Map()) => {
4850
- var u;
4851
- const a = Ra(e);
4852
- if (!a) {
4853
- Ka(e, o, t);
4854
- const h = s.get(e);
4855
- if (h)
4848
+ var a;
4849
+ const u = ku(e);
4850
+ if (!u) {
4851
+ zu(e, o, t);
4852
+ const _ = s.get(e);
4853
+ if (_)
4856
4854
  return r ? {
4857
4855
  transformedValue: null
4858
- } : h;
4856
+ } : _;
4859
4857
  }
4860
- if (!$a(e, n)) {
4861
- const h = rr(e, n), v = h ? {
4862
- transformedValue: h.value,
4863
- annotations: [h.type]
4858
+ if (!ju(e, n)) {
4859
+ const _ = rr(e, n), v = _ ? {
4860
+ transformedValue: _.value,
4861
+ annotations: [_.type]
4864
4862
  } : {
4865
4863
  transformedValue: e
4866
4864
  };
4867
- return a || s.set(e, v), v;
4865
+ return u || s.set(e, v), v;
4868
4866
  }
4869
4867
  if (Le(i, e))
4870
4868
  return {
4871
4869
  transformedValue: null
4872
4870
  };
4873
- const l = rr(e, n), c = (u = l?.value) != null ? u : e, f = G(c) ? [] : {}, _ = {};
4874
- le(c, (h, v) => {
4871
+ const l = rr(e, n), c = (a = l?.value) != null ? a : e, f = G(c) ? [] : {}, h = {};
4872
+ le(c, (_, v) => {
4875
4873
  if (v === "__proto__" || v === "constructor" || v === "prototype")
4876
4874
  throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);
4877
- const p = wo(h, t, n, r, [...o, v], [...i, e], s);
4878
- f[v] = p.transformedValue, G(p.annotations) ? _[v] = p.annotations : ye(p.annotations) && le(p.annotations, (g, b) => {
4879
- _[ho(v) + "." + b] = g;
4875
+ const p = wo(_, t, n, r, [...o, v], [...i, e], s);
4876
+ f[v] = p.transformedValue, G(p.annotations) ? h[v] = p.annotations : ye(p.annotations) && le(p.annotations, (m, b) => {
4877
+ h[ho(v) + "." + b] = m;
4880
4878
  });
4881
4879
  });
4882
- const d = vt(_) ? {
4880
+ const d = vt(h) ? {
4883
4881
  transformedValue: f,
4884
4882
  annotations: l ? [l.type] : void 0
4885
4883
  } : {
4886
4884
  transformedValue: f,
4887
- annotations: l ? [l.type, _] : _
4885
+ annotations: l ? [l.type, h] : h
4888
4886
  };
4889
- return a || s.set(e, d), d;
4887
+ return u || s.set(e, d), d;
4890
4888
  };
4891
- m();
4892
- m();
4889
+ g();
4890
+ g();
4893
4891
  function Ao(e) {
4894
4892
  return Object.prototype.toString.call(e).slice(8, -1);
4895
4893
  }
4896
4894
  function or(e) {
4897
4895
  return Ao(e) === "Array";
4898
4896
  }
4899
- function Ga(e) {
4897
+ function Ku(e) {
4900
4898
  if (Ao(e) !== "Object")
4901
4899
  return !1;
4902
4900
  const t = Object.getPrototypeOf(e);
4903
4901
  return !!t && t.constructor === Object && t === Object.prototype;
4904
4902
  }
4905
- function Ya(e, t, n, r, o) {
4903
+ function Wu(e, t, n, r, o) {
4906
4904
  const i = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
4907
4905
  i === "enumerable" && (e[t] = n), o && i === "nonenumerable" && Object.defineProperty(e, t, {
4908
4906
  value: n,
@@ -4914,14 +4912,14 @@ function Ya(e, t, n, r, o) {
4914
4912
  function Ct(e, t = {}) {
4915
4913
  if (or(e))
4916
4914
  return e.map((o) => Ct(o, t));
4917
- if (!Ga(e))
4915
+ if (!Ku(e))
4918
4916
  return e;
4919
4917
  const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
4920
4918
  return [...n, ...r].reduce((o, i) => {
4921
4919
  if (or(t.props) && !t.props.includes(i))
4922
4920
  return o;
4923
- const s = e[i], u = Ct(s, t);
4924
- return Ya(o, i, u, e, t.nonenumerable), o;
4921
+ const s = e[i], a = Ct(s, t);
4922
+ return Wu(o, i, a, e, t.nonenumerable), o;
4925
4923
  }, {});
4926
4924
  }
4927
4925
  var S = class {
@@ -4929,10 +4927,10 @@ var S = class {
4929
4927
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
4930
4928
  */
4931
4929
  constructor({ dedupe: e = !1 } = {}) {
4932
- this.classRegistry = new ba(), this.symbolRegistry = new co((t) => {
4930
+ this.classRegistry = new vu(), this.symbolRegistry = new co((t) => {
4933
4931
  var n;
4934
4932
  return (n = t.description) != null ? n : "";
4935
- }), this.customTransformerRegistry = new Aa(), this.allowedErrorProps = [], this.dedupe = e;
4933
+ }), this.customTransformerRegistry = new Cu(), this.allowedErrorProps = [], this.dedupe = e;
4936
4934
  }
4937
4935
  serialize(e) {
4938
4936
  const t = /* @__PURE__ */ new Map(), n = wo(e, t, this, this.dedupe), r = {
@@ -4942,7 +4940,7 @@ var S = class {
4942
4940
  ...r.meta,
4943
4941
  values: n.annotations
4944
4942
  });
4945
- const o = Wa(t, this.dedupe);
4943
+ const o = $u(t, this.dedupe);
4946
4944
  return o && (r.meta = {
4947
4945
  ...r.meta,
4948
4946
  referentialEqualities: o
@@ -4951,7 +4949,7 @@ var S = class {
4951
4949
  deserialize(e) {
4952
4950
  const { json: t, meta: n } = e;
4953
4951
  let r = Ct(t);
4954
- return n?.values && (r = ja(r, n.values, this)), n?.referentialEqualities && (r = za(r, n.referentialEqualities)), r;
4952
+ return n?.values && (r = Uu(r, n.values, this)), n?.referentialEqualities && (r = Hu(r, n.referentialEqualities)), r;
4955
4953
  }
4956
4954
  stringify(e) {
4957
4955
  return JSON.stringify(this.serialize(e));
@@ -4984,74 +4982,74 @@ S.registerClass = S.defaultInstance.registerClass.bind(S.defaultInstance);
4984
4982
  S.registerSymbol = S.defaultInstance.registerSymbol.bind(S.defaultInstance);
4985
4983
  S.registerCustom = S.defaultInstance.registerCustom.bind(S.defaultInstance);
4986
4984
  S.allowErrorProps = S.defaultInstance.allowErrorProps.bind(S.defaultInstance);
4987
- m();
4988
- m();
4989
- m();
4990
- m();
4991
- m();
4992
- m();
4993
- m();
4994
- m();
4995
- m();
4996
- m();
4997
- m();
4998
- m();
4999
- m();
5000
- m();
5001
- m();
5002
- m();
5003
- m();
5004
- m();
5005
- m();
5006
- m();
5007
- m();
5008
- m();
5009
- m();
4985
+ g();
4986
+ g();
4987
+ g();
4988
+ g();
4989
+ g();
4990
+ g();
4991
+ g();
4992
+ g();
4993
+ g();
4994
+ g();
4995
+ g();
4996
+ g();
4997
+ g();
4998
+ g();
4999
+ g();
5000
+ g();
5001
+ g();
5002
+ g();
5003
+ g();
5004
+ g();
5005
+ g();
5006
+ g();
5007
+ g();
5010
5008
  var ir, sr;
5011
5009
  (sr = (ir = y).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (ir.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
5012
- var ur, ar;
5013
- (ar = (ur = y).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (ur.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
5010
+ var ar, ur;
5011
+ (ur = (ar = y).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (ar.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
5014
5012
  var lr, cr;
5015
5013
  (cr = (lr = y).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (lr.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
5016
5014
  var fr, dr;
5017
5015
  (dr = (fr = y).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (fr.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
5018
5016
  var pr, hr;
5019
5017
  (hr = (pr = y).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (pr.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
5020
- var _r, mr;
5021
- (mr = (_r = y).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (_r.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
5022
- m();
5023
- m();
5024
- m();
5025
- m();
5026
- m();
5027
- m();
5028
- m();
5029
- function qa(e, t) {
5018
+ var _r, gr;
5019
+ (gr = (_r = y).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (_r.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
5020
+ g();
5021
+ g();
5022
+ g();
5023
+ g();
5024
+ g();
5025
+ g();
5026
+ g();
5027
+ function Gu(e, t) {
5030
5028
  const n = `▲ ■ ●${e}`;
5031
- typeof gr == "function" ? gr(n, t) : console.log(n);
5029
+ typeof mr == "function" ? mr(n, t) : console.log(n);
5032
5030
  }
5033
- function gr(e, t) {
5031
+ function mr(e, t) {
5034
5032
  throw new Error(e + t);
5035
5033
  }
5036
5034
  function Bt(e) {
5037
5035
  let t = 0;
5038
5036
  return e.traverse((n) => {
5039
5037
  if ($e(n) && n.type !== "HightlightMesh") {
5040
- const r = n.geometry, o = r.attributes.position.count * 3 * Float32Array.BYTES_PER_ELEMENT, i = r.index ? r.index.count * Uint32Array.BYTES_PER_ELEMENT : 0, s = r.attributes.normal ? r.attributes.normal.count * 3 * Float32Array.BYTES_PER_ELEMENT : 0, u = r.attributes.uv ? r.attributes.uv.count * 2 * Float32Array.BYTES_PER_ELEMENT : 0, a = o + i + s + u;
5041
- t += a;
5038
+ const r = n.geometry, o = r.attributes.position.count * 3 * Float32Array.BYTES_PER_ELEMENT, i = r.index ? r.index.count * Uint32Array.BYTES_PER_ELEMENT : 0, s = r.attributes.normal ? r.attributes.normal.count * 3 * Float32Array.BYTES_PER_ELEMENT : 0, a = r.attributes.uv ? r.attributes.uv.count * 2 * Float32Array.BYTES_PER_ELEMENT : 0, u = o + i + s + a;
5039
+ t += u;
5042
5040
  }
5043
5041
  }), t;
5044
5042
  }
5045
5043
  function Er(e, t, n) {
5046
5044
  e.push(t), e.length > n && e.shift();
5047
5045
  }
5048
- function Xa(e) {
5046
+ function Yu(e) {
5049
5047
  return (e / 1024).toFixed(2);
5050
5048
  }
5051
- function Qa(e) {
5049
+ function qu(e) {
5052
5050
  if (!e)
5053
5051
  return;
5054
- typeof window < "u" && !window.__TRES__DEVTOOLS__ && (window.__TRES__DEVTOOLS__ = new zs());
5052
+ typeof window < "u" && !window.__TRES__DEVTOOLS__ && (window.__TRES__DEVTOOLS__ = new Hs());
5055
5053
  const t = {
5056
5054
  maxFrames: 160,
5057
5055
  fps: {
@@ -5064,11 +5062,11 @@ function Qa(e) {
5064
5062
  accumulator: []
5065
5063
  }
5066
5064
  }, n = 100, r = di({ every: n }), { isSupported: o, memory: i } = pi({ interval: n }), s = 160;
5067
- let u = performance.now(), a = 0;
5068
- const l = 1, c = ({ timestamp: _ }) => {
5069
- e.scene.value && (t.memory.allocatedMem = Bt(e.scene.value)), _ - u >= n && (u = _, Er(t.fps.accumulator, r.value, s), t.fps.value = r.value, o.value && i.value?.usedJSHeapSize && (Er(t.memory.accumulator, i.value.usedJSHeapSize / 1024 / 1024, s), t.memory.accumulator.length > 0 && (t.memory.currentMem = t.memory.accumulator.reduce((d, h) => d + h, 0) / t.memory.accumulator.length)));
5070
- }, { pause: f } = Tr(({ delta: _ }) => {
5071
- window.__TRES__DEVTOOLS__ && (c({ timestamp: performance.now() }), a += _, a >= l && (window.__TRES__DEVTOOLS__.send("context", e), window.__TRES__DEVTOOLS__.send("performance", t), a = 0));
5065
+ let a = performance.now(), u = 0;
5066
+ const l = 1, c = ({ timestamp: h }) => {
5067
+ e.scene.value && (t.memory.allocatedMem = Bt(e.scene.value)), h - a >= n && (a = h, Er(t.fps.accumulator, r.value, s), t.fps.value = r.value, o.value && i.value?.usedJSHeapSize && (Er(t.memory.accumulator, i.value.usedJSHeapSize / 1024 / 1024, s), t.memory.accumulator.length > 0 && (t.memory.currentMem = t.memory.accumulator.reduce((d, _) => d + _, 0) / t.memory.accumulator.length)));
5068
+ }, { pause: f } = Tr(({ delta: h }) => {
5069
+ window.__TRES__DEVTOOLS__ && (c({ timestamp: performance.now() }), u += h, u >= l && (window.__TRES__DEVTOOLS__.send("context", e), window.__TRES__DEVTOOLS__.send("performance", t), u = 0));
5072
5070
  }, { immediate: !0 });
5073
5071
  ie(() => {
5074
5072
  f();
@@ -5083,7 +5081,7 @@ const To = (e, t) => {
5083
5081
  return r;
5084
5082
  }
5085
5083
  };
5086
- class Za extends vr.Mesh {
5084
+ class Xu extends vr.Mesh {
5087
5085
  type = "HightlightMesh";
5088
5086
  createTime;
5089
5087
  constructor(...t) {
@@ -5108,7 +5106,7 @@ const Oo = (e) => {
5108
5106
  });
5109
5107
  const n = Bt(e);
5110
5108
  return n > 0 && t.tags.push({
5111
- label: `${Xa(n)} KB`,
5109
+ label: `${Yu(n)} KB`,
5112
5110
  textColor: 15707189,
5113
5111
  backgroundColor: 16775644,
5114
5112
  tooltip: "Memory usage"
@@ -5134,7 +5132,7 @@ const Oo = (e) => {
5134
5132
  tooltip: "Position"
5135
5133
  })), t;
5136
5134
  };
5137
- function Ja(e, t, n = "") {
5135
+ function Qu(e, t, n = "") {
5138
5136
  const r = n ? `${n}.${e}` : e;
5139
5137
  return {
5140
5138
  id: `context-${t}-${r}`,
@@ -5154,27 +5152,27 @@ function So(e, t, n = "") {
5154
5152
  function wt(e, t, n = /* @__PURE__ */ new WeakSet(), r = 0, o = 4, i, s = "") {
5155
5153
  if (r >= o || !e || n.has(e))
5156
5154
  return;
5157
- const u = r === 0 ? e?.scene?.value?.uuid || Math.random().toString(36).slice(2, 11) : i;
5158
- n.add(e), Object.entries(e).forEach(([a, l]) => {
5159
- if (a.startsWith("_") || typeof l == "function")
5155
+ const a = r === 0 ? e?.scene?.value?.uuid || Math.random().toString(36).slice(2, 11) : i;
5156
+ n.add(e), Object.entries(e).forEach(([u, l]) => {
5157
+ if (u.startsWith("_") || typeof l == "function")
5160
5158
  return;
5161
- const c = s ? `${s}.${a}` : a, f = Ja(a, u, s);
5162
- a !== "scene" && (me(l) ? (f.tags.push({
5159
+ const c = s ? `${s}.${u}` : u, f = Qu(u, a, s);
5160
+ u !== "scene" && (ge(l) ? (f.tags.push({
5163
5161
  label: `Ref<${typeof l.value}>`,
5164
5162
  textColor: 4372611,
5165
5163
  backgroundColor: 15793395
5166
- }), l.value && typeof l.value == "object" ? wt(l.value, f, n, r + 1, o, u, c) : f.label = `${a}: ${JSON.stringify(l.value)}`) : l && typeof l == "object" && !Array.isArray(l) ? Object.keys(l).length > 0 ? n.has(l) ? f.tags.push({
5164
+ }), l.value && typeof l.value == "object" ? wt(l.value, f, n, r + 1, o, a, c) : f.label = `${u}: ${JSON.stringify(l.value)}`) : l && typeof l == "object" && !Array.isArray(l) ? Object.keys(l).length > 0 ? n.has(l) ? f.tags.push({
5167
5165
  label: "Circular",
5168
5166
  textColor: 16711680,
5169
5167
  backgroundColor: 16773360
5170
- }) : wt(l, f, n, r + 1, o, u, c) : f.label = `${a}: {}` : Array.isArray(l) ? (f.label = `${a}: Array(${l.length})`, f.tags.push({
5168
+ }) : wt(l, f, n, r + 1, o, a, c) : f.label = `${u}: {}` : Array.isArray(l) ? (f.label = `${u}: Array(${l.length})`, f.tags.push({
5171
5169
  label: `length: ${l.length}`,
5172
5170
  textColor: 9738662,
5173
5171
  backgroundColor: 16316922
5174
- })) : f.label = `${a}: ${JSON.stringify(l)}`, t.children.push(f));
5172
+ })) : f.label = `${u}: ${JSON.stringify(l)}`, t.children.push(f));
5175
5173
  });
5176
5174
  }
5177
- const el = (e) => (t) => {
5175
+ const Zu = (e) => (t) => {
5178
5176
  if (t.inspectorId === we) {
5179
5177
  const n = Oo(e.scene.value);
5180
5178
  So(e.scene.value, n, t.filter);
@@ -5186,7 +5184,7 @@ const el = (e) => (t) => {
5186
5184
  };
5187
5185
  wt(e, r), t.rootNodes = [n, r];
5188
5186
  }
5189
- }, tl = (e, { highlightMesh: t, prevInstance: n }) => (r) => {
5187
+ }, Ju = (e, { highlightMesh: t, prevInstance: n }) => (r) => {
5190
5188
  if (r.inspectorId !== we)
5191
5189
  return;
5192
5190
  const o = new Ar({
@@ -5203,24 +5201,24 @@ const el = (e) => (t) => {
5203
5201
  const i = r.nodeId.match(/^scene-(.+)$/), s = i ? i[1] : null;
5204
5202
  if (!s)
5205
5203
  return;
5206
- const [u] = e.scene.value.getObjectsByProperty("uuid", s);
5207
- if (!u)
5204
+ const [a] = e.scene.value.getObjectsByProperty("uuid", s);
5205
+ if (!a)
5208
5206
  return;
5209
- if (n && t && t.parent && n.remove(t), $e(u)) {
5210
- const a = new Za(u.geometry.clone(), o);
5211
- u.add(a), t = a, n = u;
5207
+ if (n && t && t.parent && n.remove(t), $e(a)) {
5208
+ const u = new Xu(a.geometry.clone(), o);
5209
+ a.add(u), t = u, n = a;
5212
5210
  }
5213
5211
  if (r.state = {
5214
- object: Object.entries(u).map(([a, l]) => a === "children" ? { key: a, value: l.filter((c) => c.type !== "HightlightMesh") } : { key: a, value: l, editable: !0 }).filter(({ key: a }) => a !== "parent")
5215
- }, Fr(u)) {
5216
- const a = {
5212
+ object: Object.entries(a).map(([u, l]) => u === "children" ? { key: u, value: l.filter((c) => c.type !== "HightlightMesh") } : { key: u, value: l, editable: !0 }).filter(({ key: u }) => u !== "parent")
5213
+ }, Fr(a)) {
5214
+ const u = {
5217
5215
  ...r.state,
5218
5216
  state: [
5219
5217
  {
5220
5218
  key: "Scene Info",
5221
5219
  value: {
5222
- objects: u.children.length,
5223
- memory: Bt(u),
5220
+ objects: a.children.length,
5221
+ memory: Bt(a),
5224
5222
  calls: e.renderer.instance.info.render.calls,
5225
5223
  triangles: e.renderer.instance.info.render.triangles,
5226
5224
  points: e.renderer.instance.info.render.points,
@@ -5229,13 +5227,13 @@ const el = (e) => (t) => {
5229
5227
  }
5230
5228
  ]
5231
5229
  };
5232
- "programs" in e.renderer.instance.info && a.state.push({
5230
+ "programs" in e.renderer.instance.info && u.state.push({
5233
5231
  key: "Programs",
5234
5232
  value: e.renderer.instance.info.programs?.map((l) => ({
5235
5233
  ...l,
5236
5234
  programName: l.name
5237
5235
  }))
5238
- }), r.state = a;
5236
+ }), r.state = u;
5239
5237
  }
5240
5238
  } else if (r.nodeId.includes("context")) {
5241
5239
  const i = r.nodeId.match(/^context-([^-]+(?:-[^-]+)*)-(.+)$/), s = i ? i[2] : "context";
@@ -5243,21 +5241,21 @@ const el = (e) => (t) => {
5243
5241
  r.state = {
5244
5242
  object: Object.entries(e).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => ({
5245
5243
  key: l,
5246
- value: me(c) ? c.value : c,
5244
+ value: ge(c) ? c.value : c,
5247
5245
  editable: !1
5248
5246
  }))
5249
5247
  };
5250
5248
  return;
5251
5249
  }
5252
- const u = s.split(".");
5253
- let a = e;
5254
- for (const l of u) {
5255
- if (!a || typeof a != "object")
5250
+ const a = s.split(".");
5251
+ let u = e;
5252
+ for (const l of a) {
5253
+ if (!u || typeof u != "object")
5256
5254
  break;
5257
- a = me(a[l]) ? a[l].value : a[l];
5255
+ u = ge(u[l]) ? u[l].value : u[l];
5258
5256
  }
5259
- a !== void 0 && (r.state = {
5260
- object: Object.entries(a).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => me(c) ? {
5257
+ u !== void 0 && (r.state = {
5258
+ object: Object.entries(u).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => ge(c) ? {
5261
5259
  key: l,
5262
5260
  value: c.value,
5263
5261
  editable: !1
@@ -5276,31 +5274,31 @@ const el = (e) => (t) => {
5276
5274
  })
5277
5275
  });
5278
5276
  }
5279
- }, nl = (e, t, n, r) => {
5277
+ }, el = (e, t, n, r) => {
5280
5278
  const o = To(e, t);
5281
5279
  if (!o) {
5282
5280
  console.warn("Object with UUID not found in the scene.");
5283
5281
  return;
5284
5282
  }
5285
5283
  let i = o;
5286
- for (let u = 0; u < n.length - 1; u++)
5287
- if (i[n[u]] !== void 0)
5288
- i = i[n[u]];
5284
+ for (let a = 0; a < n.length - 1; a++)
5285
+ if (i[n[a]] !== void 0)
5286
+ i = i[n[a]];
5289
5287
  else {
5290
5288
  console.warn(`Property path is not valid: ${n.join(".")}`);
5291
5289
  return;
5292
5290
  }
5293
5291
  const s = n[n.length - 1];
5294
5292
  i[s] !== void 0 ? i[s] = r : console.warn(`Property path is not valid: ${n.join(".")}`);
5295
- }, rl = (e) => (t) => {
5293
+ }, tl = (e) => (t) => {
5296
5294
  if (t.inspectorId === we && t.nodeId.includes("scene")) {
5297
5295
  const n = t.nodeId.match(/^scene-(.+)$/), r = n ? n[1] : null;
5298
5296
  if (!r)
5299
5297
  return;
5300
- nl(e.scene.value, r, t.path, t.state.value);
5298
+ el(e.scene.value, r, t.path, t.state.value);
5301
5299
  }
5302
5300
  }, we = "tres:inspector";
5303
- function ol(e, t) {
5301
+ function nl(e, t) {
5304
5302
  const n = {
5305
5303
  id: "dev.esm.tres",
5306
5304
  label: "TresJS 🪐",
@@ -5309,10 +5307,10 @@ function ol(e, t) {
5309
5307
  homepage: "https://docs.tresjs.org",
5310
5308
  app: e
5311
5309
  }, r = null, o = null;
5312
- Qa(t), da(
5310
+ qu(t), cu(
5313
5311
  n,
5314
5312
  (i) => {
5315
- typeof i.now != "function" && qa(
5313
+ typeof i.now != "function" && Gu(
5316
5314
  "You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."
5317
5315
  ), i.addInspector({
5318
5316
  id: we,
@@ -5323,14 +5321,14 @@ function ol(e, t) {
5323
5321
  i.sendInspectorTree(we);
5324
5322
  }, 1e3), setInterval(() => {
5325
5323
  i.notifyComponentUpdate();
5326
- }, 5e3), i.on.getInspectorTree(el(t)), i.on.getInspectorState(tl(t, {
5324
+ }, 5e3), i.on.getInspectorTree(Zu(t)), i.on.getInspectorState(Ju(t, {
5327
5325
  highlightMesh: r,
5328
5326
  prevInstance: o
5329
- })), i.on.editInspectorState(rl(t));
5327
+ })), i.on.editInspectorState(tl(t));
5330
5328
  }
5331
5329
  );
5332
5330
  }
5333
- const il = ["data-scene", "data-tres"], sl = /* @__PURE__ */ ot({
5331
+ const rl = ["data-scene", "data-tres"], ol = /* @__PURE__ */ ot({
5334
5332
  __name: "TresCanvas",
5335
5333
  props: {
5336
5334
  camera: {},
@@ -5360,42 +5358,42 @@ const il = ["data-scene", "data-tres"], sl = /* @__PURE__ */ ot({
5360
5358
  },
5361
5359
  emits: ["ready", "pointermissed", "render", "beforeLoop", "loop", "click", "contextmenu", "pointermove", "pointerenter", "pointerleave", "pointerover", "pointerout", "dblclick", "pointerdown", "pointerup", "pointercancel", "lostpointercapture", "wheel"],
5362
5360
  setup(e, { expose: t, emit: n }) {
5363
- const r = e, o = n, i = ko(), s = Ae(), u = it(new yr()), a = $t();
5361
+ const r = e, o = n, i = ko(), s = Ae(), a = it(new yr()), u = $t();
5364
5362
  pt(vr);
5365
- const l = (h, v = !1) => ot({
5363
+ const l = (_, v = !1) => ot({
5366
5364
  setup() {
5367
5365
  const p = $t()?.appContext;
5368
- p && (p.app = a?.appContext.app);
5369
- const g = {};
5366
+ p && (p.app = u?.appContext.app);
5367
+ const m = {};
5370
5368
  function b(C) {
5371
- C && (C.parent && b(C.parent), C.provides && Object.assign(g, C.provides));
5369
+ C && (C.parent && b(C.parent), C.provides && Object.assign(m, C.provides));
5372
5370
  }
5373
- return a?.parent && r.enableProvideBridge && (b(a.parent), Reflect.ownKeys(g).forEach((C) => {
5374
- qe(C, g[C]);
5375
- })), qe(Ls, h), qe("extend", pt), typeof window < "u" && p?.app && ol(p?.app, h), () => Wt(No, null, v ? [] : i.default());
5371
+ return u?.parent && r.enableProvideBridge && (b(u.parent), Reflect.ownKeys(m).forEach((C) => {
5372
+ qe(C, m[C]);
5373
+ })), qe(xs, _), qe("extend", pt), typeof window < "u" && p?.app && nl(p?.app, _), () => Wt(No, null, v ? [] : i.default());
5376
5374
  }
5377
- }), c = (h, v = !1) => {
5378
- const p = l(h, v), { render: g } = Mo(Hs(h));
5379
- g(Wt(p), u.value);
5380
- }, f = (h, v = !1) => {
5381
- Ne(h.scene.value), v && (h.renderer.instance.dispose(), h.renderer.instance instanceof br && (h.renderer.instance.renderLists.dispose(), h.renderer.instance.forceContextLoss())), u.value.__tres = {
5382
- root: h
5375
+ }), c = (_, v = !1) => {
5376
+ const p = l(_, v), { render: m } = Mo(Bs(_));
5377
+ m(Wt(p), a.value);
5378
+ }, f = (_, v = !1) => {
5379
+ Ne(_.scene.value), v && (_.renderer.instance.dispose(), _.renderer.instance instanceof br && (_.renderer.instance.renderLists.dispose(), _.renderer.instance.forceContextLoss())), a.value.__tres = {
5380
+ root: _
5383
5381
  };
5384
- }, _ = it(null);
5385
- t({ context: _, dispose: () => f(_.value, !0) });
5382
+ }, h = it(null);
5383
+ t({ context: h, dispose: () => f(h.value, !0) });
5386
5384
  const d = () => {
5387
- f(_.value), c(_.value, !0);
5385
+ f(h.value), c(h.value, !0);
5388
5386
  };
5389
5387
  return Kt(() => {
5390
- const h = s;
5391
- _.value = Fs({
5392
- scene: u.value,
5393
- canvas: h,
5388
+ const _ = s;
5389
+ h.value = Rs({
5390
+ scene: a.value,
5391
+ canvas: _,
5394
5392
  windowSize: r.windowSize ?? !1,
5395
5393
  rendererOptions: r
5396
5394
  });
5397
- const { camera: v, renderer: p } = _.value, { registerCamera: g, cameras: b, activeCamera: C, deregisterCamera: P } = v;
5398
- c(_.value);
5395
+ const { camera: v, renderer: p } = h.value, { registerCamera: m, cameras: b, activeCamera: C, deregisterCamera: P } = v;
5396
+ c(h.value);
5399
5397
  const M = () => {
5400
5398
  const A = new qo(
5401
5399
  45,
@@ -5403,75 +5401,75 @@ const il = ["data-scene", "data-tres"], sl = /* @__PURE__ */ ot({
5403
5401
  0.1,
5404
5402
  1e3
5405
5403
  );
5406
- A.position.set(3, 3, 3), A.lookAt(0, 0, 0), g(A);
5404
+ A.position.set(3, 3, 3), A.lookAt(0, 0, 0), m(A);
5407
5405
  const O = $(() => {
5408
5406
  b.value.length >= 2 && (A.removeFromParent(), P(A), O?.());
5409
5407
  });
5410
5408
  };
5411
- _.value.events.onPointerMissed((A) => {
5409
+ h.value.events.onPointerMissed((A) => {
5412
5410
  o("pointermissed", A);
5413
5411
  }), At(
5414
5412
  () => r.camera,
5415
5413
  (A, O) => {
5416
- A && g(D(A), !0), O && (D(O).removeFromParent(), P(D(O)));
5414
+ A && m(I(A), !0), O && (I(O).removeFromParent(), P(I(O)));
5417
5415
  },
5418
5416
  {
5419
5417
  immediate: !0
5420
5418
  }
5421
5419
  ), C.value || M(), p.onRender(() => {
5422
- _.value && o("render", _.value);
5420
+ h.value && o("render", h.value);
5423
5421
  }), p.loop.onLoop((A) => {
5424
- _.value && o("loop", { ..._.value, ...A });
5422
+ h.value && o("loop", { ...h.value, ...A });
5425
5423
  }), p.loop.onBeforeLoop((A) => {
5426
- _.value && o("beforeLoop", { ..._.value, ...A });
5424
+ h.value && o("beforeLoop", { ...h.value, ...A });
5427
5425
  }), p.onReady(() => {
5428
- o("ready", _.value);
5426
+ o("ready", h.value);
5429
5427
  });
5430
5428
  }), Kt(async () => {
5431
- await hi(3e3), _.value && (!_.value.sizes.width || !_.value.sizes.height.value) && console.warn("TresCanvas: The canvas has no area, so nothing can be rendered. Set it manually on the parent element or use the prop windowSize.");
5432
- }), ie(d), (h, v) => (Ro(), xo("canvas", {
5429
+ await hi(3e3), h.value && (!h.value.sizes.width || !h.value.sizes.height.value) && console.warn("TresCanvas: The canvas has no area, so nothing can be rendered. Set it manually on the parent element or use the prop windowSize.");
5430
+ }), ie(d), (_, v) => (Ro(), xo("canvas", {
5433
5431
  ref_key: "canvasRef",
5434
5432
  ref: s,
5435
- "data-scene": u.value.uuid,
5436
- class: Fo(h.$attrs.class),
5437
- "data-tres": `tresjs ${ke(Ni).version}`,
5433
+ "data-scene": a.value.uuid,
5434
+ class: Fo(_.$attrs.class),
5435
+ "data-tres": `tresjs ${ke(Fi).version}`,
5438
5436
  style: Lo({
5439
5437
  display: "block",
5440
5438
  width: "100%",
5441
5439
  height: "100%",
5442
- position: h.windowSize ? "fixed" : "relative",
5440
+ position: e.windowSize ? "fixed" : "relative",
5443
5441
  top: 0,
5444
5442
  left: 0,
5445
5443
  pointerEvents: "auto",
5446
5444
  touchAction: "none",
5447
- ...h.$attrs.style
5445
+ ..._.$attrs.style
5448
5446
  })
5449
- }, null, 14, il));
5447
+ }, null, 14, rl));
5450
5448
  }
5451
5449
  });
5452
- function El(e) {
5453
- return typeof e == "number" ? [e, e, e] : e instanceof I ? [e.x, e.y, e.z] : e;
5450
+ function gl(e) {
5451
+ return typeof e == "number" ? [e, e, e] : e instanceof D ? [e.x, e.y, e.z] : e;
5454
5452
  }
5455
- function vl(e) {
5453
+ function ml(e) {
5456
5454
  return e instanceof xe ? e : Array.isArray(e) ? new xe(...e) : new xe(e);
5457
5455
  }
5458
- const ul = [
5456
+ const il = [
5459
5457
  "TresCanvas",
5460
5458
  "TresLeches",
5461
5459
  "TresScene"
5462
- ], yl = {
5460
+ ], El = {
5463
5461
  template: {
5464
5462
  compilerOptions: {
5465
- isCustomElement: (e) => e.startsWith("Tres") && !ul.includes(e) || e === "primitive"
5463
+ isCustomElement: (e) => e.startsWith("Tres") && !il.includes(e) || e === "primitive"
5466
5464
  }
5467
5465
  }
5468
5466
  };
5469
5467
  let q = null;
5470
- const bl = {
5468
+ const vl = {
5471
5469
  updated: (e, t) => {
5472
5470
  const r = ((i) => {
5473
5471
  let s = i.value;
5474
- return i.value && $e(i.value) && (s = i.value.position), Array.isArray(i.value) && (s = new I(...s)), s;
5472
+ return i.value && $e(i.value) && (s = i.value.position), Array.isArray(i.value) && (s = new D(...s)), s;
5475
5473
  })(t);
5476
5474
  if (!r) {
5477
5475
  Me(`v-distance-to: problem with binding value: ${t.value}`);
@@ -5497,8 +5495,8 @@ class Po extends Qo {
5497
5495
  o.setAttribute("position", new Yt(r, 3)), o.computeBoundingSphere();
5498
5496
  const i = new Zo({ fog: !1 });
5499
5497
  super(o, i), this.light = t, this.color = n, this.type = "RectAreaLightHelper";
5500
- const s = [1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0], u = new Gt();
5501
- u.setAttribute("position", new Yt(s, 3)), u.computeBoundingSphere(), this.add(new He(u, new Ar({ side: Jo, fog: !1 })));
5498
+ const s = [1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0], a = new Gt();
5499
+ a.setAttribute("position", new Yt(s, 3)), a.computeBoundingSphere(), this.add(new He(a, new Ar({ side: Jo, fog: !1 })));
5502
5500
  }
5503
5501
  updateMatrixWorld() {
5504
5502
  if (this.scale.set(0.5 * this.light.width, 0.5 * this.light.height, 1), this.color !== void 0)
@@ -5514,32 +5512,32 @@ class Po extends Qo {
5514
5512
  this.geometry.dispose(), this.material.dispose(), this.children[0].geometry.dispose(), this.children[0].material.dispose();
5515
5513
  }
5516
5514
  }
5517
- let Ie, W;
5518
- const al = {
5515
+ let De, W;
5516
+ const sl = {
5519
5517
  DirectionalLight: ri,
5520
5518
  PointLight: ni,
5521
5519
  SpotLight: ti,
5522
5520
  HemisphereLight: ei,
5523
5521
  RectAreaLight: Po
5524
- }, Cl = {
5522
+ }, yl = {
5525
5523
  mounted: (e) => {
5526
5524
  if (!Rr(e)) {
5527
5525
  Me(`${e.type} is not a light`);
5528
5526
  return;
5529
5527
  }
5530
- Ie = al[e.type], e.parent?.add(new Ie(e, 1, e.color.getHex()));
5528
+ De = sl[e.type], e.parent?.add(new De(e, 1, e.color.getHex()));
5531
5529
  },
5532
5530
  updated: (e) => {
5533
- W = e.parent.children.find((t) => t instanceof Ie), !(W instanceof Po) && W.update();
5531
+ W = e.parent.children.find((t) => t instanceof De), !(W instanceof Po) && W.update();
5534
5532
  },
5535
5533
  unmounted: (e) => {
5536
5534
  if (!e.isLight) {
5537
5535
  Me(`${e.type} is not a light`);
5538
5536
  return;
5539
5537
  }
5540
- W = e.parent.children.find((t) => t instanceof Ie), W && W.dispose && W.dispose(), e.parent && e.parent.remove(W);
5538
+ W = e.parent.children.find((t) => t instanceof De), W && W.dispose && W.dispose(), e.parent && e.parent.remove(W);
5541
5539
  }
5542
- }, wl = {
5540
+ }, bl = {
5543
5541
  mounted: (e, t) => {
5544
5542
  if (t.arg) {
5545
5543
  console.log(`v-log:${t.arg}`, e[t.arg]);
@@ -5547,58 +5545,58 @@ const al = {
5547
5545
  }
5548
5546
  console.log("v-log", e);
5549
5547
  }
5550
- }, Al = {
5548
+ }, Cl = {
5551
5549
  install(e) {
5552
- e.component("TresCanvas", sl);
5550
+ e.component("TresCanvas", ol);
5553
5551
  }
5554
5552
  };
5555
5553
  export {
5556
- zs as DevtoolsMessenger,
5557
- sl as TresCanvas,
5558
- _l as UseLoader,
5559
- ns as buildGraph,
5554
+ Hs as DevtoolsMessenger,
5555
+ ol as TresCanvas,
5556
+ pl as UseLoader,
5557
+ es as buildGraph,
5560
5558
  dt as catalogue,
5561
- Al as default,
5559
+ Cl as default,
5562
5560
  Ne as dispose,
5563
5561
  pt as extend,
5564
5562
  kr as isBufferGeometry,
5565
5563
  Pr as isCamera,
5566
- Wi as isClassInstance,
5567
- Ir as isColor,
5568
- $i as isColorRepresentation,
5569
- Ki as isCopyable,
5564
+ $i as isClassInstance,
5565
+ Dr as isColor,
5566
+ ji as isColorRepresentation,
5567
+ zi as isCopyable,
5570
5568
  Lr as isFog,
5571
- dl as isGroup,
5569
+ cl as isGroup,
5572
5570
  Zt as isLayers,
5573
5571
  Rr as isLight,
5574
5572
  xr as isMaterial,
5575
5573
  $e as isMesh,
5576
5574
  lt as isObject3D,
5577
- zi as isOrthographicCamera,
5578
- Dr as isPerspectiveCamera,
5579
- pl as isProd,
5575
+ Hi as isOrthographicCamera,
5576
+ Ir as isPerspectiveCamera,
5577
+ fl as isProd,
5580
5578
  Fr as isScene,
5581
5579
  re as isTresCamera,
5582
- qi as isTresInstance,
5583
- Gi as isTresObject,
5584
- Yi as isTresPrimitive,
5580
+ Gi as isTresInstance,
5581
+ Ki as isTresObject,
5582
+ Wi as isTresPrimitive,
5585
5583
  ct as isVectorLike,
5586
5584
  Jt as logError,
5587
- hl as logMessage,
5585
+ dl as logMessage,
5588
5586
  Me as logWarning,
5589
- vl as normalizeColor,
5590
- El as normalizeVectorFlexibleParam,
5591
- ol as registerTresDevtools,
5592
- yl as templateCompilerOptions,
5593
- ts as useCameraManager,
5594
- ml as useGraph,
5595
- es as useLoader,
5596
- gl as useLoop,
5597
- is as useRendererManager,
5598
- Ns as useTres,
5587
+ ml as normalizeColor,
5588
+ gl as normalizeVectorFlexibleParam,
5589
+ nl as registerTresDevtools,
5590
+ El as templateCompilerOptions,
5591
+ Ji as useCameraManager,
5592
+ hl as useGraph,
5593
+ Zi as useLoader,
5594
+ _l as useLoop,
5595
+ rs as useRendererManager,
5596
+ Fs as useTres,
5599
5597
  zr as useTresContext,
5600
- Fs as useTresContextProvider,
5601
- bl as vDistanceTo,
5602
- Cl as vLightHelper,
5603
- wl as vLog
5598
+ Rs as useTresContextProvider,
5599
+ vl as vDistanceTo,
5600
+ yl as vLightHelper,
5601
+ bl as vLog
5604
5602
  };