ss-component-new 1.1.280 → 1.1.281

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.
Files changed (74) hide show
  1. package/dist/{array-DbgDmXNC.cjs → array-Ac3PKTGq.cjs} +1 -1
  2. package/dist/{array-2h3BcR8t.js → array-Cwyp1kgC.js} +2 -2
  3. package/dist/{cloneDeep-7OrlpXQx.js → cloneDeep-DUFqs1IK.js} +1 -1
  4. package/dist/{cloneDeep-Bpr66cRT.cjs → cloneDeep-FsOChpwa.cjs} +1 -1
  5. package/dist/{index-LQ6s3EAm.js → index-97mEFfHG.js} +4 -4
  6. package/dist/{index-CSuH9qx8.cjs → index-B-EoExkd.cjs} +1 -1
  7. package/dist/{index-C_kSlilX.cjs → index-BB3-z4Fn.cjs} +1 -1
  8. package/dist/{index-DNI0y4vG.js → index-BPSj68g5.js} +5 -5
  9. package/dist/{index-BC2c5Z8p.js → index-BTB-WN4W.js} +6 -6
  10. package/dist/{index-8g6OU0KZ.js → index-BUzwJReZ.js} +8 -8
  11. package/dist/{index-CkSwm-tt.js → index-BWYpFe1G.js} +3 -3
  12. package/dist/{index-BNkMYTSt.cjs → index-BY3N1q-K.cjs} +1 -1
  13. package/dist/{index-CnkTsOvJ.js → index-BbeTHsNm.js} +4 -4
  14. package/dist/{index-B4WyvSgX.js → index-Bboy25FG.js} +9 -9
  15. package/dist/{index-Ep3Txq0B.cjs → index-BgrOmPRR.cjs} +1 -1
  16. package/dist/{index-32rotZnG.cjs → index-BhiIxYT9.cjs} +1 -1
  17. package/dist/{index-C62MRIKC.js → index-BoWD0Dmi.js} +8 -8
  18. package/dist/{index-C-J5HhRC.js → index-BsONBHIY.js} +6 -6
  19. package/dist/{index-VyLAjHRF.cjs → index-BvyA3-zl.cjs} +1 -1
  20. package/dist/{index-DB9EBURn.js → index-C7qzvvHr.js} +3 -3
  21. package/dist/{index-CxEIzaZZ.cjs → index-C8s1N4N9.cjs} +1 -1
  22. package/dist/{index-Dg7tfoO3.cjs → index-CBQ65eXB.cjs} +1 -1
  23. package/dist/{index-BVY4csYI.js → index-CCF64i-n.js} +1 -1
  24. package/dist/{index-2p6ng8BQ.js → index-CGEGFh39.js} +3 -3
  25. package/dist/{index-BkPga8GN.cjs → index-CSOYjkUd.cjs} +1 -1
  26. package/dist/{index-B2_GOFWg.js → index-CT5MfiHK.js} +1 -1
  27. package/dist/{index-CEzpMHwU.js → index-CTsZrCe6.js} +5 -5
  28. package/dist/{index-DOYMQjSm.cjs → index-CY6WqluP.cjs} +1 -1
  29. package/dist/{index-BHDtnBBc.js → index-CYPV2KmM.js} +370 -366
  30. package/dist/{index-7ItrgNWX.cjs → index-Ca0dIRJ8.cjs} +1 -1
  31. package/dist/{index-Dm8c4dCB.cjs → index-CcFGFbV_.cjs} +1 -1
  32. package/dist/{index-C7dhDubA.js → index-CcLl4kPD.js} +3 -3
  33. package/dist/{index-C1JWqwIj.cjs → index-Co9eX0n9.cjs} +1 -1
  34. package/dist/{index-DiMnQQYq.cjs → index-CoLd5ctI.cjs} +1 -1
  35. package/dist/{index-pqpRJrua.cjs → index-Cpbn9ZY0.cjs} +1 -1
  36. package/dist/{index-ChoduCXO.js → index-D7p6Dhus.js} +1 -1
  37. package/dist/{index-yyeYGNEV.js → index-D9AMYW90.js} +5 -5
  38. package/dist/{index-phwIzPfM.cjs → index-D9BjWYYa.cjs} +1 -1
  39. package/dist/{index-DmEklWRV.js → index-D9SnMipa.js} +4 -4
  40. package/dist/{index-CQfpCCLD.cjs → index-DHsrdlpr.cjs} +1 -1
  41. package/dist/{index-EOe-M1Jp.js → index-DQ0J39WK.js} +3 -3
  42. package/dist/{index-DiH0tdPe.js → index-DWYS1YPx.js} +4 -4
  43. package/dist/{index-DHBcXVVE.cjs → index-DncBFxOs.cjs} +2 -2
  44. package/dist/{index-sj2Ha0yc.js → index-DvKFJNtb.js} +4 -4
  45. package/dist/{index-BFAI_oss.js → index-L6OEKoiT.js} +1 -1
  46. package/dist/{index-CpnAas7Z.cjs → index-LwOpibqQ.cjs} +1 -1
  47. package/dist/{index-BjbQxmDY.cjs → index-QSZIlTwl.cjs} +1 -1
  48. package/dist/{index-28Ykp9cC.cjs → index-YEyOVEsB.cjs} +1 -1
  49. package/dist/{index-CUUTl5-S.cjs → index-YLsm_qc3.cjs} +1 -1
  50. package/dist/{index-mWAzqtrn.cjs → index-aaPPOUAf.cjs} +1 -1
  51. package/dist/{index-BK1ygm84.cjs → index-cinslkDi.cjs} +1 -1
  52. package/dist/{index-C94t1Wq4.cjs → index-gICeEA0J.cjs} +1 -1
  53. package/dist/{index-BCF2zJQE.cjs → index-ofXwoqS2.cjs} +1 -1
  54. package/dist/{index-6OD6a79y.js → index-wLeUULYM.js} +5 -5
  55. package/dist/{index-qurOCtmA.js → index-yHkaAG5T.js} +7 -7
  56. package/dist/{index-BWJOcjmM.js → index-ygy6i7Ai.js} +7 -7
  57. package/dist/{index.vue_vue_type_script_setup_true_lang-D0atX1ZJ.cjs → index.vue_vue_type_script_setup_true_lang-CRx0k5-c.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_script_setup_true_lang-CawoKBGc.js → index.vue_vue_type_script_setup_true_lang-DcfW0D6o.js} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-yUqeEtl9.cjs → index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-B5P2piGc.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-BVjLqUsb.js → index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-BNXgkB_T.js} +13 -13
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-DP168tSD.js → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-C0xOx_bk.js} +8 -8
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-D-o7M3tf.cjs → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CG_bu310.cjs} +1 -1
  63. package/dist/{login-BtKUwOTM.js → login-41LfmeiG.js} +2 -2
  64. package/dist/{login-DY-KhEwK.cjs → login-D8VTsSIS.cjs} +1 -1
  65. package/dist/{main-D8G6yr67.js → main-B7pUgUYK.js} +7 -7
  66. package/dist/{main-DQi1x5NP.cjs → main-BimSDsES.cjs} +1 -1
  67. package/dist/{menu-wSGshUvU.cjs → menu-BasDnaD3.cjs} +1 -1
  68. package/dist/{menu-DMNIm2Ep.js → menu-CgcTyBO3.js} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +7 -7
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { ref as R, onMounted as rt, nextTick as Xe, onBeforeUnmount as ys, createElementBlock as B, openBlock as S, createElementVNode as P, createCommentVNode as re, normalizeClass as Ge, unref as b, withDirectives as ze, isRef as qe, vModelRadio as Je, toDisplayString as he, watch as ge, Fragment as nt, renderList as at, normalizeStyle as ws, resolveComponent as J, resolveDirective as is, createBlock as ae, withCtx as I, createVNode as F, createTextVNode as ke, renderSlot as He, resolveDynamicComponent as wt, defineComponent as bs } from "vue";
2
- import { m as Pt, a as kt, b as Tt } from "./index-C62MRIKC.js";
3
- import bt from "./index-BVY4csYI.js";
4
- import { p as fe } from "./index-B2_GOFWg.js";
5
- import { C as vs, V as j, M as Ue, T as Ie, Q as Zt, S as Kt, a as ue, R as Cs, P as tt, b as xs, c as Ms, d as Be, e as Ps, W as ks, f as Ts, A as Ds, g as Ee, X as Es, h as As, D as dt, H as Ss, i as Wt, B as Dt, j as pt, k as Ae, l as Ve, m as Ye, E as mt, L as Et, F as At, G as Fs, n as Ze, o as ve, p as st, q as Xt, r as $e, s as Gt, t as ot, v as Ls, w as js, x as Rs, y as ft, z as Os, I as zs, J as gt, K as Is, u as lt, N as Us, O as St, U as Bs, Y as Ns, Z as rs } from "./index-6OD6a79y.js";
6
- import { s as me, u as ct, b as Me, g as Vs } from "./menu-DMNIm2Ep.js";
7
- import { u as $s } from "./index-qurOCtmA.js";
8
- import { o as ls, c as cs, a as hs, b as it, s as de, g as vt, d as Ct, e as xt, f as Mt, _ as Hs, h as Ys, i as Zs } from "./index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-BVjLqUsb.js";
9
- import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { i as Ks, e as Ws, b as qt, c as Jt, a as Xs } from "./array-2h3BcR8t.js";
11
- import { u as us } from "./login-BtKUwOTM.js";
12
- import { S as Pe } from "./index-BHtNKL1L.js";
13
- import { E as Gs } from "./index-B4WyvSgX.js";
14
- import { c as Se } from "./cloneDeep-7OrlpXQx.js";
15
- import { d as ds } from "./index-DB9EBURn.js";
16
- import { _ as qs, a as Js } from "./index-DiH0tdPe.js";
1
+ import { ref as R, onMounted as lt, nextTick as Xe, onBeforeUnmount as ys, createElementBlock as N, openBlock as S, createElementVNode as P, createCommentVNode as le, normalizeClass as Ge, unref as b, withDirectives as ze, isRef as qe, vModelRadio as Je, toDisplayString as he, watch as _e, Fragment as nt, renderList as at, normalizeStyle as ws, resolveComponent as J, resolveDirective as is, createBlock as ae, withCtx as I, createVNode as F, createTextVNode as Te, renderSlot as He, resolveDynamicComponent as wt, defineComponent as bs } from "vue";
2
+ import { m as Pt, a as kt, b as Tt } from "./index-BoWD0Dmi.js";
3
+ import bt from "./index-CCF64i-n.js";
4
+ import { p as ge } from "./index-CT5MfiHK.js";
5
+ import { C as vs, V as j, M as Ue, T as Ie, Q as Zt, S as Kt, a as ue, R as Cs, P as tt, b as xs, c as Ms, d as Be, e as Ps, W as ks, f as Ts, A as Ds, g as Ae, X as Es, h as As, D as dt, H as Ss, i as Wt, B as Dt, j as pt, k as Se, l as Ve, m as Ye, E as mt, L as Et, F as At, G as Fs, n as Ze, o as Ce, p as st, q as Xt, r as $e, s as Gt, t as ot, v as Ls, w as js, x as Rs, y as ft, z as Os, I as zs, J as gt, K as Is, u as rt, N as Us, O as St, U as Bs, Y as Ns, Z as ls } from "./index-wLeUULYM.js";
6
+ import { s as fe, u as ct, b as Pe, g as Vs } from "./menu-CgcTyBO3.js";
7
+ import { u as $s } from "./index-yHkaAG5T.js";
8
+ import { o as rs, c as cs, a as hs, b as it, s as de, g as vt, d as Ct, e as xt, f as Mt, _ as Hs, h as Ys, i as Zs } from "./index.vue_vue_type_style_index_0_scoped_4bf164f6_lang-BNXgkB_T.js";
9
+ import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { i as Ks, e as Ws, b as qt, c as Jt, a as Xs } from "./array-Cwyp1kgC.js";
11
+ import { u as us } from "./login-41LfmeiG.js";
12
+ import { S as ke } from "./index-BHtNKL1L.js";
13
+ import { E as Gs } from "./index-Bboy25FG.js";
14
+ import { c as Fe } from "./cloneDeep-DUFqs1IK.js";
15
+ import { d as ds } from "./index-C7qzvvHr.js";
16
+ import { _ as qs, a as Js } from "./index-DWYS1YPx.js";
17
17
  const Qt = { type: "change" }, Ft = { type: "start" }, ps = { type: "end" }, Qe = new Cs(), es = new tt(), Qs = Math.cos(70 * xs.DEG2RAD), q = new j(), ce = 2 * Math.PI, V = {
18
18
  NONE: -1,
19
19
  ROTATE: 0,
@@ -32,7 +32,7 @@ class eo extends vs {
32
32
  * @param {?HTMLDOMElement} domElement - The HTML element used for event listeners.
33
33
  */
34
34
  constructor(e, t = null) {
35
- super(e, t), this.state = V.NONE, this.target = new j(), this.cursor = new j(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Ue.ROTATE, MIDDLE: Ue.DOLLY, RIGHT: Ue.PAN }, this.touches = { ONE: Ie.ROTATE, TWO: Ie.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new j(), this._lastQuaternion = new Zt(), this._lastTargetPosition = new j(), this._quat = new Zt().setFromUnitVectors(e.up, new j(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Kt(), this._sphericalDelta = new Kt(), this._scale = 1, this._panOffset = new j(), this._rotateStart = new ue(), this._rotateEnd = new ue(), this._rotateDelta = new ue(), this._panStart = new ue(), this._panEnd = new ue(), this._panDelta = new ue(), this._dollyStart = new ue(), this._dollyEnd = new ue(), this._dollyDelta = new ue(), this._dollyDirection = new j(), this._mouse = new ue(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = so.bind(this), this._onPointerDown = to.bind(this), this._onPointerUp = oo.bind(this), this._onContextMenu = ho.bind(this), this._onMouseWheel = io.bind(this), this._onKeyDown = ro.bind(this), this._onTouchStart = lo.bind(this), this._onTouchMove = co.bind(this), this._onMouseDown = no.bind(this), this._onMouseMove = ao.bind(this), this._interceptControlDown = uo.bind(this), this._interceptControlUp = po.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
35
+ super(e, t), this.state = V.NONE, this.target = new j(), this.cursor = new j(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Ue.ROTATE, MIDDLE: Ue.DOLLY, RIGHT: Ue.PAN }, this.touches = { ONE: Ie.ROTATE, TWO: Ie.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new j(), this._lastQuaternion = new Zt(), this._lastTargetPosition = new j(), this._quat = new Zt().setFromUnitVectors(e.up, new j(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Kt(), this._sphericalDelta = new Kt(), this._scale = 1, this._panOffset = new j(), this._rotateStart = new ue(), this._rotateEnd = new ue(), this._rotateDelta = new ue(), this._panStart = new ue(), this._panEnd = new ue(), this._panDelta = new ue(), this._dollyStart = new ue(), this._dollyEnd = new ue(), this._dollyDelta = new ue(), this._dollyDirection = new j(), this._mouse = new ue(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = so.bind(this), this._onPointerDown = to.bind(this), this._onPointerUp = oo.bind(this), this._onContextMenu = ho.bind(this), this._onMouseWheel = io.bind(this), this._onKeyDown = lo.bind(this), this._onTouchStart = ro.bind(this), this._onTouchMove = co.bind(this), this._onMouseDown = no.bind(this), this._onMouseMove = ao.bind(this), this._interceptControlDown = uo.bind(this), this._interceptControlUp = po.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
36
36
  }
37
37
  connect(e) {
38
38
  super.connect(e), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointercancel", this._onPointerUp), this.domElement.addEventListener("contextmenu", this._onContextMenu), this.domElement.addEventListener("wheel", this._onMouseWheel, { passive: !1 }), this.domElement.getRootNode().addEventListener("keydown", this._interceptControlDown, { passive: !0, capture: !0 }), this.domElement.style.touchAction = "none";
@@ -119,8 +119,8 @@ class eo extends vs {
119
119
  a.unproject(this.object);
120
120
  const d = this.object.zoom;
121
121
  this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale)), this.object.updateProjectionMatrix(), n = d !== this.object.zoom;
122
- const r = new j(this._mouse.x, this._mouse.y, 0);
123
- r.unproject(this.object), this.object.position.sub(r).add(a), this.object.updateMatrixWorld(), h = q.length();
122
+ const l = new j(this._mouse.x, this._mouse.y, 0);
123
+ l.unproject(this.object), this.object.position.sub(l).add(a), this.object.updateMatrixWorld(), h = q.length();
124
124
  } else
125
125
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), this.zoomToCursor = !1;
126
126
  h !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(h).add(this.object.position) : (Qe.origin.copy(this.object.position), Qe.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(Qe.direction)) < Qs ? this.object.lookAt(this.target) : (es.setFromNormalAndCoplanarPoint(this.object.up, this.target), Qe.intersectPlane(es, this.target))));
@@ -399,10 +399,10 @@ function ao(m) {
399
399
  function io(m) {
400
400
  this.enabled === !1 || this.enableZoom === !1 || this.state !== V.NONE || (m.preventDefault(), this.dispatchEvent(Ft), this._handleMouseWheel(this._customWheelEvent(m)), this.dispatchEvent(ps));
401
401
  }
402
- function ro(m) {
402
+ function lo(m) {
403
403
  this.enabled !== !1 && this._handleKeyDown(m);
404
404
  }
405
- function lo(m) {
405
+ function ro(m) {
406
406
  switch (this._trackPointer(m), this._pointers.length) {
407
407
  case 1:
408
408
  switch (this.touches.ONE) {
@@ -470,14 +470,14 @@ function po(m) {
470
470
  }
471
471
  function mo(m) {
472
472
  let e = null, t = null, o = null, s = null, n = null, h = null;
473
- const a = R([]), d = R(new j()), r = R(new j()), g = () => {
473
+ const a = R([]), d = R(new j()), l = R(new j()), g = () => {
474
474
  if (!m.value) return;
475
475
  e = new Ms(), e.background = new Be(16777215);
476
476
  const v = m.value;
477
477
  t = new Ps(75, v.clientWidth / v.clientHeight, 0.1, 1e3), o = new ks({
478
478
  antialias: !0,
479
479
  alpha: !0
480
- }), o.setSize(v.clientWidth, v.clientHeight), o.localClippingEnabled = !0, o.shadowMap.enabled = !0, o.shadowMap.type = Ts, o.toneMapping = Ds, o.toneMappingExposure = 1, o.outputColorSpace = Ee, v.appendChild(o.domElement), s = new eo(t, o.domElement), s.enableDamping = !0, s.dampingFactor = 0.05, n = new Es(t, o, {
480
+ }), o.setSize(v.clientWidth, v.clientHeight), o.localClippingEnabled = !0, o.shadowMap.enabled = !0, o.shadowMap.type = Ts, o.toneMapping = Ds, o.toneMappingExposure = 1, o.outputColorSpace = Ae, v.appendChild(o.domElement), s = new eo(t, o.domElement), s.enableDamping = !0, s.dampingFactor = 0.05, n = new Es(t, o, {
481
481
  container: v,
482
482
  type: "cube",
483
483
  placement: "bottom-left",
@@ -533,7 +533,7 @@ function mo(m) {
533
533
  // 响应式数据
534
534
  currentModels: a,
535
535
  initialCameraPosition: d,
536
- initialTargetPosition: r,
536
+ initialTargetPosition: l,
537
537
  // 方法
538
538
  initThreeJS: g,
539
539
  handleResize: () => {
@@ -548,7 +548,7 @@ function mo(m) {
548
548
  v.expandByObject(A);
549
549
  });
550
550
  const M = v.getSize(new j()), c = v.getCenter(new j()), L = Math.max(M.x, M.y, M.z) * 0.6, k = new j(c.x + L, c.y + L, c.z + L), U = c.clone();
551
- t.position.copy(k), t.lookAt(U), s.target.copy(U), s.update(), d.value.copy(k), r.value.copy(U);
551
+ t.position.copy(k), t.lookAt(U), s.target.copy(U), s.update(), d.value.copy(k), l.value.copy(U);
552
552
  },
553
553
  getThreeJSObjects: () => ({
554
554
  scene: e,
@@ -576,7 +576,7 @@ function mo(m) {
576
576
  }
577
577
  function fo(m, e) {
578
578
  const t = R(!1);
579
- let o = null, s = 12700, n = new j(), h = new j(), a = new j(), d = 0, r = null;
579
+ let o = null, s = 12700, n = new j(), h = new j(), a = new j(), d = 0, l = null;
580
580
  const g = (i) => i < 0.5 ? 4 * i * i * i : 1 - Math.pow(-2 * i + 2, 3) / 2, _ = (i) => {
581
581
  const y = new j(), x = d * 1.2, T = new j(a.x + x, a.y, a.z), v = new j(a.x, a.y + x, a.z), M = new j(a.x, a.y - x, a.z);
582
582
  if (i <= 0.567) {
@@ -603,7 +603,7 @@ function fo(m, e) {
603
603
  return;
604
604
  }
605
605
  const v = _(T);
606
- i.position.copy(v), i.lookAt(a), y.target.copy(a), r = requestAnimationFrame(f);
606
+ i.position.copy(v), i.lookAt(a), y.target.copy(a), l = requestAnimationFrame(f);
607
607
  }, w = () => {
608
608
  if (e.value.length === 0) return;
609
609
  const { camera: i, controls: y } = m();
@@ -623,7 +623,7 @@ function fo(m, e) {
623
623
  };
624
624
  L();
625
625
  }, C = () => {
626
- t.value = !1, o = null, r && (cancelAnimationFrame(r), r = null);
626
+ t.value = !1, o = null, l && (cancelAnimationFrame(l), l = null);
627
627
  const { controls: i } = m();
628
628
  i && (i.enabled = !0, i.target.copy(h));
629
629
  };
@@ -631,7 +631,7 @@ function fo(m, e) {
631
631
  isAnimating: t,
632
632
  toggleAnimation: () => {
633
633
  if (t.value) {
634
- t.value = !1, o = null, r && (cancelAnimationFrame(r), r = null);
634
+ t.value = !1, o = null, l && (cancelAnimationFrame(l), l = null);
635
635
  const { camera: i, controls: y } = m();
636
636
  if (!i || !y) return;
637
637
  y.enabled = !0;
@@ -659,7 +659,7 @@ function go(m, e) {
659
659
  new tt(new j(0, 0, 1), 0)
660
660
  // Z轴平面
661
661
  ];
662
- }, r = () => {
662
+ }, l = () => {
663
663
  h.makeEmpty(), e.value.forEach((u) => {
664
664
  h.expandByObject(u);
665
665
  }), a = h.getCenter(new j());
@@ -667,7 +667,7 @@ function go(m, e) {
667
667
  const i = h.getSize(new j());
668
668
  let y, x, T;
669
669
  u === "x" ? (y = new pt(i.z * 1.2, i.y * 1.2), x = new j(a.x, a.y, a.z), T = new mt(0, Math.PI / 2, 0)) : u === "y" ? (y = new pt(i.x * 1.2, i.z * 1.2), x = new j(a.x, a.y, a.z), T = new mt(Math.PI / 2, 0, 0)) : u === "z" && (y = new pt(i.x * 1.2, i.y * 1.2), x = new j(a.x, a.y, a.z), T = new mt(0, 0, 0));
670
- const v = new Ae({
670
+ const v = new Se({
671
671
  color: 8900331,
672
672
  transparent: !0,
673
673
  opacity: 0.3,
@@ -678,7 +678,7 @@ function go(m, e) {
678
678
  }, _ = () => {
679
679
  if (f(), w(), o.value === "none")
680
680
  return;
681
- r();
681
+ l();
682
682
  let u = null;
683
683
  if (o.value === "x" ? (s[0].constant = -a.x, u = s[0]) : o.value === "y" ? (s[1].constant = -a.y, u = s[1]) : o.value === "z" && (s[2].constant = -a.z, u = s[2]), u) {
684
684
  e.value.forEach((y) => {
@@ -712,14 +712,14 @@ function go(m, e) {
712
712
  isClipping: t,
713
713
  activeClippingAxis: o,
714
714
  toggleClipping: () => {
715
- t.value = !t.value, t.value ? (d(), e.value.length > 0 && r()) : (o.value = "none", f(), w());
715
+ t.value = !t.value, t.value ? (d(), e.value.length > 0 && l()) : (o.value = "none", f(), w());
716
716
  },
717
717
  updateClippingPlanes: _,
718
718
  clearClippingPlanes: f,
719
719
  clearClippingMeshes: w
720
720
  };
721
721
  }
722
- const _o = /^[og]\s*(.+)?/, yo = /^mtllib /, wo = /^usemtl /, bo = /^usemap /, ts = /\s+/, ss = new j(), yt = new j(), os = new j(), ns = new j(), pe = new j(), et = new Be();
722
+ const _o = /^[og]\s*(.+)?/, yo = /^mtllib /, wo = /^usemtl /, bo = /^usemap /, ts = /\s+/, ss = new j(), yt = new j(), os = new j(), ns = new j(), me = new j(), et = new Be();
723
723
  function vo() {
724
724
  const m = {
725
725
  objects: [],
@@ -761,7 +761,7 @@ function vo() {
761
761
  groupCount: -1,
762
762
  inherited: !1,
763
763
  clone: function(d) {
764
- const r = {
764
+ const l = {
765
765
  index: typeof d == "number" ? d : this.index,
766
766
  name: this.name,
767
767
  mtllib: this.mtllib,
@@ -771,7 +771,7 @@ function vo() {
771
771
  groupCount: -1,
772
772
  inherited: !1
773
773
  };
774
- return r.clone = this.clone.bind(r), r;
774
+ return l.clone = this.clone.bind(l), l;
775
775
  }
776
776
  };
777
777
  return this.materials.push(a), a;
@@ -829,7 +829,7 @@ function vo() {
829
829
  },
830
830
  addFaceNormal: function(e, t, o) {
831
831
  const s = this.vertices, n = this.object.geometry.normals;
832
- ss.fromArray(s, e), yt.fromArray(s, t), os.fromArray(s, o), pe.subVectors(os, yt), ns.subVectors(ss, yt), pe.cross(ns), pe.normalize(), n.push(pe.x, pe.y, pe.z), n.push(pe.x, pe.y, pe.z), n.push(pe.x, pe.y, pe.z);
832
+ ss.fromArray(s, e), yt.fromArray(s, t), os.fromArray(s, o), me.subVectors(os, yt), ns.subVectors(ss, yt), me.cross(ns), me.normalize(), n.push(me.x, me.y, me.z), n.push(me.x, me.y, me.z), n.push(me.x, me.y, me.z);
833
833
  },
834
834
  addColor: function(e, t, o) {
835
835
  const s = this.colors, n = this.object.geometry.colors;
@@ -847,12 +847,12 @@ function vo() {
847
847
  const t = this.uvs;
848
848
  this.object.geometry.uvs.push(t[e + 0], t[e + 1]);
849
849
  },
850
- addFace: function(e, t, o, s, n, h, a, d, r) {
850
+ addFace: function(e, t, o, s, n, h, a, d, l) {
851
851
  const g = this.vertices.length;
852
852
  let _ = this.parseVertexIndex(e, g), f = this.parseVertexIndex(t, g), w = this.parseVertexIndex(o, g);
853
853
  if (this.addVertex(_, f, w), this.addColor(_, f, w), a !== void 0 && a !== "") {
854
854
  const C = this.normals.length;
855
- _ = this.parseNormalIndex(a, C), f = this.parseNormalIndex(d, C), w = this.parseNormalIndex(r, C), this.addNormal(_, f, w);
855
+ _ = this.parseNormalIndex(a, C), f = this.parseNormalIndex(d, C), w = this.parseNormalIndex(l, C), this.addNormal(_, f, w);
856
856
  } else
857
857
  this.addFaceNormal(_, f, w);
858
858
  if (s !== void 0 && s !== "") {
@@ -933,12 +933,12 @@ class as extends Et {
933
933
  `);
934
934
  let s = [];
935
935
  for (let a = 0, d = o.length; a < d; a++) {
936
- const r = o[a].trimStart();
937
- if (r.length === 0) continue;
938
- const g = r.charAt(0);
936
+ const l = o[a].trimStart();
937
+ if (l.length === 0) continue;
938
+ const g = l.charAt(0);
939
939
  if (g !== "#")
940
940
  if (g === "v") {
941
- const _ = r.split(ts);
941
+ const _ = l.split(ts);
942
942
  switch (_[0]) {
943
943
  case "v":
944
944
  t.vertices.push(
@@ -949,7 +949,7 @@ class as extends Et {
949
949
  parseFloat(_[4]),
950
950
  parseFloat(_[5]),
951
951
  parseFloat(_[6]),
952
- Ee
952
+ Ae
953
953
  ), t.colors.push(et.r, et.g, et.b)) : t.colors.push(void 0, void 0, void 0);
954
954
  break;
955
955
  case "vn":
@@ -967,7 +967,7 @@ class as extends Et {
967
967
  break;
968
968
  }
969
969
  } else if (g === "f") {
970
- const f = r.slice(1).trim().split(ts), w = [];
970
+ const f = l.slice(1).trim().split(ts), w = [];
971
971
  for (let u = 0, i = f.length; u < i; u++) {
972
972
  const y = f[u];
973
973
  if (y.length > 0) {
@@ -991,10 +991,10 @@ class as extends Et {
991
991
  );
992
992
  }
993
993
  } else if (g === "l") {
994
- const _ = r.substring(1).trim().split(" ");
994
+ const _ = l.substring(1).trim().split(" ");
995
995
  let f = [];
996
996
  const w = [];
997
- if (r.indexOf("/") === -1)
997
+ if (l.indexOf("/") === -1)
998
998
  f = _;
999
999
  else
1000
1000
  for (let C = 0, u = _.length; C < u; C++) {
@@ -1003,19 +1003,19 @@ class as extends Et {
1003
1003
  }
1004
1004
  t.addLineGeometry(f, w);
1005
1005
  } else if (g === "p") {
1006
- const f = r.slice(1).trim().split(" ");
1006
+ const f = l.slice(1).trim().split(" ");
1007
1007
  t.addPointGeometry(f);
1008
- } else if ((s = _o.exec(r)) !== null) {
1008
+ } else if ((s = _o.exec(l)) !== null) {
1009
1009
  const _ = (" " + s[0].slice(1).trim()).slice(1);
1010
1010
  t.startObject(_);
1011
- } else if (wo.test(r))
1012
- t.object.startMaterial(r.substring(7).trim(), t.materialLibraries);
1013
- else if (yo.test(r))
1014
- t.materialLibraries.push(r.substring(7).trim());
1015
- else if (bo.test(r))
1011
+ } else if (wo.test(l))
1012
+ t.object.startMaterial(l.substring(7).trim(), t.materialLibraries);
1013
+ else if (yo.test(l))
1014
+ t.materialLibraries.push(l.substring(7).trim());
1015
+ else if (bo.test(l))
1016
1016
  console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');
1017
1017
  else if (g === "s") {
1018
- if (s = r.split(" "), s.length > 1) {
1018
+ if (s = l.split(" "), s.length > 1) {
1019
1019
  const f = s[1].trim().toLowerCase();
1020
1020
  t.object.smooth = f !== "0" && f !== "off";
1021
1021
  } else
@@ -1023,19 +1023,19 @@ class as extends Et {
1023
1023
  const _ = t.object.currentMaterial();
1024
1024
  _ && (_.smooth = t.object.smooth);
1025
1025
  } else {
1026
- if (r === "\0") continue;
1027
- console.warn('THREE.OBJLoader: Unexpected line: "' + r + '"');
1026
+ if (l === "\0") continue;
1027
+ console.warn('THREE.OBJLoader: Unexpected line: "' + l + '"');
1028
1028
  }
1029
1029
  }
1030
1030
  t.finalize();
1031
1031
  const n = new Fs();
1032
1032
  if (n.materialLibraries = [].concat(t.materialLibraries), !(t.objects.length === 1 && t.objects[0].geometry.vertices.length === 0) === !0)
1033
1033
  for (let a = 0, d = t.objects.length; a < d; a++) {
1034
- const r = t.objects[a], g = r.geometry, _ = r.materials, f = g.type === "Line", w = g.type === "Points";
1034
+ const l = t.objects[a], g = l.geometry, _ = l.materials, f = g.type === "Line", w = g.type === "Points";
1035
1035
  let C = !1;
1036
1036
  if (g.vertices.length === 0) continue;
1037
1037
  const u = new Ze();
1038
- u.setAttribute("position", new ve(g.vertices, 3)), g.normals.length > 0 && u.setAttribute("normal", new ve(g.normals, 3)), g.colors.length > 0 && (C = !0, u.setAttribute("color", new ve(g.colors, 3))), g.hasUVIndices === !0 && u.setAttribute("uv", new ve(g.uvs, 2));
1038
+ u.setAttribute("position", new Ce(g.vertices, 3)), g.normals.length > 0 && u.setAttribute("normal", new Ce(g.normals, 3)), g.colors.length > 0 && (C = !0, u.setAttribute("color", new Ce(g.colors, 3))), g.hasUVIndices === !0 && u.setAttribute("uv", new Ce(g.uvs, 2));
1039
1039
  const i = [];
1040
1040
  for (let x = 0, T = _.length; x < T; x++) {
1041
1041
  const v = _[x], M = v.name + "_" + v.smooth + "_" + C;
@@ -1049,7 +1049,7 @@ class as extends Et {
1049
1049
  Xt.prototype.copy.call(D, c), D.color.copy(c.color), D.map = c.map, c = D;
1050
1050
  }
1051
1051
  }
1052
- c === void 0 && (f ? c = new st() : w ? c = new $e({ size: 1, sizeAttenuation: !1 }) : c = new Ae(), c.name = v.name, c.flatShading = !v.smooth, c.vertexColors = C, t.materials[M] = c), i.push(c);
1052
+ c === void 0 && (f ? c = new st() : w ? c = new $e({ size: 1, sizeAttenuation: !1 }) : c = new Se(), c.name = v.name, c.flatShading = !v.smooth, c.vertexColors = C, t.materials[M] = c), i.push(c);
1053
1053
  }
1054
1054
  let y;
1055
1055
  if (i.length > 1) {
@@ -1060,13 +1060,13 @@ class as extends Et {
1060
1060
  f ? y = new Gt(u, i) : w ? y = new ot(u, i) : y = new Ye(u, i);
1061
1061
  } else
1062
1062
  f ? y = new Gt(u, i[0]) : w ? y = new ot(u, i[0]) : y = new Ye(u, i[0]);
1063
- y.name = r.name, n.add(y);
1063
+ y.name = l.name, n.add(y);
1064
1064
  }
1065
1065
  else if (t.vertices.length > 0) {
1066
1066
  const a = new $e({ size: 1, sizeAttenuation: !1 }), d = new Ze();
1067
- d.setAttribute("position", new ve(t.vertices, 3)), t.colors.length > 0 && t.colors[0] !== void 0 && (d.setAttribute("color", new ve(t.colors, 3)), a.vertexColors = !0);
1068
- const r = new ot(d, a);
1069
- n.add(r);
1067
+ d.setAttribute("position", new Ce(t.vertices, 3)), t.colors.length > 0 && t.colors[0] !== void 0 && (d.setAttribute("color", new Ce(t.colors, 3)), a.vertexColors = !0);
1068
+ const l = new ot(d, a);
1069
+ n.add(l);
1070
1070
  }
1071
1071
  return n;
1072
1072
  }
@@ -1089,8 +1089,8 @@ class Co extends Et {
1089
1089
  a.setPath(this.path), a.setRequestHeader(this.requestHeader), a.setWithCredentials(this.withCredentials), a.load(e, function(d) {
1090
1090
  try {
1091
1091
  t(n.parse(d, h));
1092
- } catch (r) {
1093
- s ? s(r) : console.error(r), n.manager.itemError(e);
1092
+ } catch (l) {
1093
+ s ? s(l) : console.error(l), n.manager.itemError(e);
1094
1094
  }
1095
1095
  }, o, s);
1096
1096
  }
@@ -1116,13 +1116,13 @@ class Co extends Et {
1116
1116
  let s = {};
1117
1117
  const n = /\s+/, h = {};
1118
1118
  for (let d = 0; d < o.length; d++) {
1119
- let r = o[d];
1120
- if (r = r.trim(), r.length === 0 || r.charAt(0) === "#")
1119
+ let l = o[d];
1120
+ if (l = l.trim(), l.length === 0 || l.charAt(0) === "#")
1121
1121
  continue;
1122
- const g = r.indexOf(" ");
1123
- let _ = g >= 0 ? r.substring(0, g) : r;
1122
+ const g = l.indexOf(" ");
1123
+ let _ = g >= 0 ? l.substring(0, g) : l;
1124
1124
  _ = _.toLowerCase();
1125
- let f = g >= 0 ? r.substring(g + 1) : "";
1125
+ let f = g >= 0 ? l.substring(g + 1) : "";
1126
1126
  if (f = f.trim(), _ === "newmtl")
1127
1127
  s = { name: f }, h[f] = s;
1128
1128
  else if (_ === "ka" || _ === "kd" || _ === "ks" || _ === "ke") {
@@ -1156,15 +1156,15 @@ class xo {
1156
1156
  t[o] = n;
1157
1157
  for (const h in s) {
1158
1158
  let a = !0, d = s[h];
1159
- const r = h.toLowerCase();
1160
- switch (r) {
1159
+ const l = h.toLowerCase();
1160
+ switch (l) {
1161
1161
  case "kd":
1162
1162
  case "ka":
1163
1163
  case "ks":
1164
1164
  this.options && this.options.normalizeRGB && (d = [d[0] / 255, d[1] / 255, d[2] / 255]), this.options && this.options.ignoreZeroRGBs && d[0] === 0 && d[1] === 0 && d[2] === 0 && (a = !1);
1165
1165
  break;
1166
1166
  }
1167
- a && (n[r] = d);
1167
+ a && (n[l] = d);
1168
1168
  }
1169
1169
  }
1170
1170
  return t;
@@ -1195,23 +1195,23 @@ class xo {
1195
1195
  }
1196
1196
  function h(a, d) {
1197
1197
  if (s[a]) return;
1198
- const r = t.getTextureParams(d, s), g = t.loadTexture(n(t.baseUrl, r.url));
1199
- g.repeat.copy(r.scale), g.offset.copy(r.offset), g.wrapS = t.wrap, g.wrapT = t.wrap, (a === "map" || a === "emissiveMap") && (g.colorSpace = Ee), s[a] = g;
1198
+ const l = t.getTextureParams(d, s), g = t.loadTexture(n(t.baseUrl, l.url));
1199
+ g.repeat.copy(l.scale), g.offset.copy(l.offset), g.wrapS = t.wrap, g.wrapT = t.wrap, (a === "map" || a === "emissiveMap") && (g.colorSpace = Ae), s[a] = g;
1200
1200
  }
1201
1201
  for (const a in o) {
1202
1202
  const d = o[a];
1203
- let r;
1203
+ let l;
1204
1204
  if (d !== "")
1205
1205
  switch (a.toLowerCase()) {
1206
1206
  // Ns is material specular exponent
1207
1207
  case "kd":
1208
- s.color = ft.colorSpaceToWorking(new Be().fromArray(d), Ee);
1208
+ s.color = ft.colorSpaceToWorking(new Be().fromArray(d), Ae);
1209
1209
  break;
1210
1210
  case "ks":
1211
- s.specular = ft.colorSpaceToWorking(new Be().fromArray(d), Ee);
1211
+ s.specular = ft.colorSpaceToWorking(new Be().fromArray(d), Ae);
1212
1212
  break;
1213
1213
  case "ke":
1214
- s.emissive = ft.colorSpaceToWorking(new Be().fromArray(d), Ee);
1214
+ s.emissive = ft.colorSpaceToWorking(new Be().fromArray(d), Ae);
1215
1215
  break;
1216
1216
  case "map_kd":
1217
1217
  h("map", d);
@@ -1239,14 +1239,14 @@ class xo {
1239
1239
  s.shininess = parseFloat(d);
1240
1240
  break;
1241
1241
  case "d":
1242
- r = parseFloat(d), r < 1 && (s.opacity = r, s.transparent = !0);
1242
+ l = parseFloat(d), l < 1 && (s.opacity = l, s.transparent = !0);
1243
1243
  break;
1244
1244
  case "tr":
1245
- r = parseFloat(d), this.options && this.options.invertTrProperty && (r = 1 - r), r > 0 && (s.opacity = 1 - r, s.transparent = !0);
1245
+ l = parseFloat(d), this.options && this.options.invertTrProperty && (l = 1 - l), l > 0 && (s.opacity = 1 - l, s.transparent = !0);
1246
1246
  break;
1247
1247
  }
1248
1248
  }
1249
- return this.materials[e] = new Ae(s), this.materials[e];
1249
+ return this.materials[e] = new Se(s), this.materials[e];
1250
1250
  }
1251
1251
  getTextureParams(e, t) {
1252
1252
  const o = {
@@ -1299,8 +1299,8 @@ class Mo extends Et {
1299
1299
  * @return {BufferGeometry} The parsed geometry.
1300
1300
  */
1301
1301
  parse(e) {
1302
- function t(r) {
1303
- const g = new DataView(r), _ = 32 / 8 * 3 + 32 / 8 * 3 * 3 + 16 / 8, f = g.getUint32(80, !0);
1302
+ function t(l) {
1303
+ const g = new DataView(l), _ = 32 / 8 * 3 + 32 / 8 * 3 * 3 + 16 / 8, f = g.getUint32(80, !0);
1304
1304
  if (80 + 32 / 8 + f * _ === g.byteLength)
1305
1305
  return !0;
1306
1306
  const C = [115, 111, 108, 105, 100];
@@ -1308,63 +1308,63 @@ class Mo extends Et {
1308
1308
  if (o(C, g, u)) return !1;
1309
1309
  return !0;
1310
1310
  }
1311
- function o(r, g, _) {
1312
- for (let f = 0, w = r.length; f < w; f++)
1313
- if (r[f] !== g.getUint8(_ + f)) return !1;
1311
+ function o(l, g, _) {
1312
+ for (let f = 0, w = l.length; f < w; f++)
1313
+ if (l[f] !== g.getUint8(_ + f)) return !1;
1314
1314
  return !0;
1315
1315
  }
1316
- function s(r) {
1317
- const g = new DataView(r), _ = g.getUint32(80, !0);
1316
+ function s(l) {
1317
+ const g = new DataView(l), _ = g.getUint32(80, !0);
1318
1318
  let f, w, C, u = !1, i, y, x, T, v;
1319
1319
  for (let A = 0; A < 70; A++)
1320
1320
  g.getUint32(A, !1) == 1129270351 && g.getUint8(A + 4) == 82 && g.getUint8(A + 5) == 61 && (u = !0, i = new Float32Array(_ * 3 * 3), y = g.getUint8(A + 6) / 255, x = g.getUint8(A + 7) / 255, T = g.getUint8(A + 8) / 255, v = g.getUint8(A + 9) / 255);
1321
1321
  const M = 84, c = 12 * 4 + 2, D = new Ze(), L = new Float32Array(_ * 3 * 3), k = new Float32Array(_ * 3 * 3), U = new Be();
1322
1322
  for (let A = 0; A < _; A++) {
1323
- const H = M + A * c, ie = g.getFloat32(H, !0), le = g.getFloat32(H + 4, !0), p = g.getFloat32(H + 8, !0);
1323
+ const H = M + A * c, ie = g.getFloat32(H, !0), re = g.getFloat32(H + 4, !0), p = g.getFloat32(H + 8, !0);
1324
1324
  if (u) {
1325
- const l = g.getUint16(H + 48, !0);
1326
- (l & 32768) === 0 ? (f = (l & 31) / 31, w = (l >> 5 & 31) / 31, C = (l >> 10 & 31) / 31) : (f = y, w = x, C = T);
1325
+ const r = g.getUint16(H + 48, !0);
1326
+ (r & 32768) === 0 ? (f = (r & 31) / 31, w = (r >> 5 & 31) / 31, C = (r >> 10 & 31) / 31) : (f = y, w = x, C = T);
1327
1327
  }
1328
- for (let l = 1; l <= 3; l++) {
1329
- const E = H + l * 12, O = A * 3 * 3 + (l - 1) * 3;
1330
- L[O] = g.getFloat32(E, !0), L[O + 1] = g.getFloat32(E + 4, !0), L[O + 2] = g.getFloat32(E + 8, !0), k[O] = ie, k[O + 1] = le, k[O + 2] = p, u && (U.setRGB(f, w, C, Ee), i[O] = U.r, i[O + 1] = U.g, i[O + 2] = U.b);
1328
+ for (let r = 1; r <= 3; r++) {
1329
+ const E = H + r * 12, O = A * 3 * 3 + (r - 1) * 3;
1330
+ L[O] = g.getFloat32(E, !0), L[O + 1] = g.getFloat32(E + 4, !0), L[O + 2] = g.getFloat32(E + 8, !0), k[O] = ie, k[O + 1] = re, k[O + 2] = p, u && (U.setRGB(f, w, C, Ae), i[O] = U.r, i[O + 1] = U.g, i[O + 2] = U.b);
1331
1331
  }
1332
1332
  }
1333
1333
  return D.setAttribute("position", new gt(L, 3)), D.setAttribute("normal", new gt(k, 3)), u && (D.setAttribute("color", new gt(i, 3)), D.hasColors = !0, D.alpha = v), D;
1334
1334
  }
1335
- function n(r) {
1335
+ function n(l) {
1336
1336
  const g = new Ze(), _ = /solid([\s\S]*?)endsolid/g, f = /facet([\s\S]*?)endfacet/g, w = /solid\s(.+)/;
1337
1337
  let C = 0;
1338
1338
  const u = /[\s]+([+-]?(?:\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?)/.source, i = new RegExp("vertex" + u + u + u, "g"), y = new RegExp("normal" + u + u + u, "g"), x = [], T = [], v = [], M = new j();
1339
1339
  let c, D = 0, L = 0, k = 0;
1340
- for (; (c = _.exec(r)) !== null; ) {
1340
+ for (; (c = _.exec(l)) !== null; ) {
1341
1341
  L = k;
1342
1342
  const U = c[0], A = (c = w.exec(U)) !== null ? c[1] : "";
1343
1343
  for (v.push(A); (c = f.exec(U)) !== null; ) {
1344
- let le = 0, p = 0;
1345
- const l = c[0];
1346
- for (; (c = y.exec(l)) !== null; )
1344
+ let re = 0, p = 0;
1345
+ const r = c[0];
1346
+ for (; (c = y.exec(r)) !== null; )
1347
1347
  M.x = parseFloat(c[1]), M.y = parseFloat(c[2]), M.z = parseFloat(c[3]), p++;
1348
- for (; (c = i.exec(l)) !== null; )
1349
- x.push(parseFloat(c[1]), parseFloat(c[2]), parseFloat(c[3])), T.push(M.x, M.y, M.z), le++, k++;
1350
- p !== 1 && console.error("THREE.STLLoader: Something isn't right with the normal of face number " + C), le !== 3 && console.error("THREE.STLLoader: Something isn't right with the vertices of face number " + C), C++;
1348
+ for (; (c = i.exec(r)) !== null; )
1349
+ x.push(parseFloat(c[1]), parseFloat(c[2]), parseFloat(c[3])), T.push(M.x, M.y, M.z), re++, k++;
1350
+ p !== 1 && console.error("THREE.STLLoader: Something isn't right with the normal of face number " + C), re !== 3 && console.error("THREE.STLLoader: Something isn't right with the vertices of face number " + C), C++;
1351
1351
  }
1352
1352
  const H = L, ie = k - L;
1353
1353
  g.userData.groupNames = v, g.addGroup(H, ie, D), D++;
1354
1354
  }
1355
- return g.setAttribute("position", new ve(x, 3)), g.setAttribute("normal", new ve(T, 3)), g;
1355
+ return g.setAttribute("position", new Ce(x, 3)), g.setAttribute("normal", new Ce(T, 3)), g;
1356
1356
  }
1357
- function h(r) {
1358
- return typeof r != "string" ? new TextDecoder().decode(r) : r;
1357
+ function h(l) {
1358
+ return typeof l != "string" ? new TextDecoder().decode(l) : l;
1359
1359
  }
1360
- function a(r) {
1361
- if (typeof r == "string") {
1362
- const g = new Uint8Array(r.length);
1363
- for (let _ = 0; _ < r.length; _++)
1364
- g[_] = r.charCodeAt(_) & 255;
1360
+ function a(l) {
1361
+ if (typeof l == "string") {
1362
+ const g = new Uint8Array(l.length);
1363
+ for (let _ = 0; _ < l.length; _++)
1364
+ g[_] = l.charCodeAt(_) & 255;
1365
1365
  return g.buffer || g;
1366
1366
  } else
1367
- return r;
1367
+ return l;
1368
1368
  }
1369
1369
  const d = a(e);
1370
1370
  return t(d) ? s(d) : n(h(e));
@@ -1396,7 +1396,7 @@ function Po(m, e, t, o, s) {
1396
1396
  const w = {
1397
1397
  materials: {},
1398
1398
  create: function(C) {
1399
- return this.materials[C] ? this.materials[C] : (console.warn(`Material '${C}' not found, using default material`), new Ae({
1399
+ return this.materials[C] ? this.materials[C] : (console.warn(`Material '${C}' not found, using default material`), new Se({
1400
1400
  color: 8947848,
1401
1401
  side: Ve
1402
1402
  }));
@@ -1428,7 +1428,7 @@ function Po(m, e, t, o, s) {
1428
1428
  T && v.setMaterials(T);
1429
1429
  const M = v.parse(x);
1430
1430
  T || M.traverse((c) => {
1431
- c.isMesh && (c.material = new Ae({
1431
+ c.isMesh && (c.material = new Se({
1432
1432
  color: 8947848,
1433
1433
  side: Ve
1434
1434
  }));
@@ -1439,7 +1439,7 @@ function Po(m, e, t, o, s) {
1439
1439
  }, i.onerror = () => {
1440
1440
  u(new Error("OBJ文件读取失败"));
1441
1441
  }, i.readAsText(f);
1442
- }), r = async (f) => {
1442
+ }), l = async (f) => {
1443
1443
  var w;
1444
1444
  try {
1445
1445
  t.value = !0;
@@ -1478,7 +1478,7 @@ function Po(m, e, t, o, s) {
1478
1478
  y: parseFloat(k[2]),
1479
1479
  z: parseFloat(k[3])
1480
1480
  })), T = new Ze(), v = x.flatMap((k) => [k.x, k.y, k.z]);
1481
- if (T.setAttribute("position", new ve(v, 3)), f === ".txt") {
1481
+ if (T.setAttribute("position", new Ce(v, 3)), f === ".txt") {
1482
1482
  const k = new $e({
1483
1483
  color: "#5B5C99",
1484
1484
  size: 1,
@@ -1495,11 +1495,11 @@ function Po(m, e, t, o, s) {
1495
1495
  break;
1496
1496
  case ".obj":
1497
1497
  u = new as().parse(C), u.traverse((k) => {
1498
- k.isMesh && (k.material = new Ae({ color: "#5B5C99" })), k instanceof Ye && (k.material.side = Ve);
1498
+ k.isMesh && (k.material = new Se({ color: "#5B5C99" })), k instanceof Ye && (k.material.side = Ve);
1499
1499
  });
1500
1500
  break;
1501
1501
  case ".stl":
1502
- const D = new Mo().parse(C), L = new Ae({ color: "#5B5C99", side: Ve });
1502
+ const D = new Mo().parse(C), L = new Se({ color: "#5B5C99", side: Ve });
1503
1503
  u = new Ye(D, L);
1504
1504
  break;
1505
1505
  default:
@@ -1508,7 +1508,7 @@ function Po(m, e, t, o, s) {
1508
1508
  return u;
1509
1509
  };
1510
1510
  return {
1511
- addModelsFromUrls: r,
1511
+ addModelsFromUrls: l,
1512
1512
  loadModelByDefaultPath: async (f) => {
1513
1513
  console.log(f);
1514
1514
  try {
@@ -1565,7 +1565,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1565
1565
  const t = R(null), o = R(!1), s = R(""), n = R(!1), h = R(!1), {
1566
1566
  currentModels: a,
1567
1567
  initialCameraPosition: d,
1568
- initialTargetPosition: r,
1568
+ initialTargetPosition: l,
1569
1569
  initThreeJS: g,
1570
1570
  handleResize: _,
1571
1571
  fitCameraToAllModels: f,
@@ -1584,14 +1584,14 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1584
1584
  ), k = () => {
1585
1585
  if (h.value || a.value.length === 0) return;
1586
1586
  h.value = !0, i.value && x();
1587
- const { camera: p, controls: l } = w();
1588
- if (!p || !l) return;
1589
- l.enabled = !0;
1590
- const E = (K) => K < 0.5 ? 4 * K * K * K : 1 - Math.pow(-2 * K + 2, 3) / 2, O = p.position.clone(), $ = l.target.clone(), W = 1500, N = Date.now(), se = () => {
1591
- const K = Date.now() - N, te = Math.min(K / W, 1), we = E(te);
1592
- p.position.lerpVectors(O, d.value, we), l.target.lerpVectors($, r.value, we), te < 1 ? requestAnimationFrame(se) : h.value = !1;
1587
+ const { camera: p, controls: r } = w();
1588
+ if (!p || !r) return;
1589
+ r.enabled = !0;
1590
+ const E = (Z) => Z < 0.5 ? 4 * Z * Z * Z : 1 - Math.pow(-2 * Z + 2, 3) / 2, O = p.position.clone(), $ = r.target.clone(), X = 1500, B = Date.now(), te = () => {
1591
+ const Z = Date.now() - B, se = Math.min(Z / X, 1), pe = E(se);
1592
+ p.position.lerpVectors(O, d.value, pe), r.target.lerpVectors($, l.value, pe), se < 1 ? requestAnimationFrame(te) : h.value = !1;
1593
1593
  };
1594
- se();
1594
+ te();
1595
1595
  }, U = () => {
1596
1596
  document.fullscreenElement ? document.exitFullscreen().then(() => {
1597
1597
  n.value = !1, Xe(() => {
@@ -1610,23 +1610,23 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1610
1610
  n.value = !!document.fullscreenElement, n.value || Xe(() => {
1611
1611
  _();
1612
1612
  });
1613
- }, H = async (p, l) => {
1613
+ }, H = async (p, r) => {
1614
1614
  try {
1615
1615
  i.value && x(), T.value && M();
1616
- const E = await l(p);
1616
+ const E = await r(p);
1617
1617
  return f(), E;
1618
1618
  } catch (E) {
1619
1619
  throw console.error("加载模型失败:", E), E;
1620
1620
  }
1621
- }, ie = async (p) => H(p, D), le = async (p) => H(p, L);
1622
- return rt(async () => {
1621
+ }, ie = async (p) => H(p, D), re = async (p) => H(p, L);
1622
+ return lt(async () => {
1623
1623
  await Xe(), g(), window.addEventListener("resize", _), document.addEventListener("fullscreenchange", A);
1624
1624
  }), ys(() => {
1625
1625
  window.removeEventListener("resize", _), document.removeEventListener("fullscreenchange", A), i.value && x(), u();
1626
1626
  }), e({
1627
1627
  addModelsFromUrls: ie,
1628
- loadModelByDefaultPath: le
1629
- }), (p, l) => (S(), B("div", ko, [
1628
+ loadModelByDefaultPath: re
1629
+ }), (p, r) => (S(), N("div", ko, [
1630
1630
  P("div", {
1631
1631
  ref_key: "threejsContainer",
1632
1632
  ref: t,
@@ -1638,7 +1638,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1638
1638
  class: Ge(["control-btn", "reset-btn"]),
1639
1639
  disabled: o.value || b(a).length === 0 || h.value,
1640
1640
  title: "重置"
1641
- }, l[10] || (l[10] = [
1641
+ }, r[10] || (r[10] = [
1642
1642
  P("svg", {
1643
1643
  viewBox: "0 0 24 24",
1644
1644
  fill: "none",
@@ -1650,12 +1650,12 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1650
1650
  ], -1)
1651
1651
  ]), 8, Do),
1652
1652
  P("button", {
1653
- onClick: l[0] || (l[0] = (...E) => b(y) && b(y)(...E)),
1653
+ onClick: r[0] || (r[0] = (...E) => b(y) && b(y)(...E)),
1654
1654
  class: Ge(["control-btn", "animation-btn", { active: b(i) }]),
1655
1655
  disabled: o.value || b(a).length === 0,
1656
1656
  title: b(i) ? "停止动画" : "动画视图"
1657
1657
  }, [
1658
- b(i) ? (S(), B("svg", So, l[12] || (l[12] = [
1658
+ b(i) ? (S(), N("svg", So, r[12] || (r[12] = [
1659
1659
  P("circle", {
1660
1660
  cx: "12",
1661
1661
  cy: "12",
@@ -1675,7 +1675,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1675
1675
  height: "8",
1676
1676
  fill: "currentColor"
1677
1677
  }, null, -1)
1678
- ]))) : (S(), B("svg", Ao, l[11] || (l[11] = [
1678
+ ]))) : (S(), N("svg", Ao, r[11] || (r[11] = [
1679
1679
  P("circle", {
1680
1680
  cx: "12",
1681
1681
  cy: "12",
@@ -1688,11 +1688,11 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1688
1688
  ])))
1689
1689
  ], 10, Eo),
1690
1690
  P("button", {
1691
- onClick: l[1] || (l[1] = (...E) => b(M) && b(M)(...E)),
1691
+ onClick: r[1] || (r[1] = (...E) => b(M) && b(M)(...E)),
1692
1692
  class: Ge(["control-btn", "clipping-btn", { active: b(T) }]),
1693
1693
  disabled: o.value || b(a).length === 0,
1694
1694
  title: "剖面视图"
1695
- }, l[13] || (l[13] = [
1695
+ }, r[13] || (r[13] = [
1696
1696
  P("svg", {
1697
1697
  viewBox: "0 0 24 24",
1698
1698
  fill: "none",
@@ -1719,14 +1719,14 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1719
1719
  class: Ge(["control-btn", "fullscreen-btn"]),
1720
1720
  title: n.value ? "退出全屏" : "全屏"
1721
1721
  }, [
1722
- n.value ? (S(), B("svg", Ro, l[15] || (l[15] = [
1722
+ n.value ? (S(), N("svg", Ro, r[15] || (r[15] = [
1723
1723
  P("path", { d: "M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3" }, null, -1)
1724
- ]))) : (S(), B("svg", jo, l[14] || (l[14] = [
1724
+ ]))) : (S(), N("svg", jo, r[14] || (r[14] = [
1725
1725
  P("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" }, null, -1)
1726
1726
  ])))
1727
1727
  ], 8, Lo)
1728
1728
  ]),
1729
- b(T) ? (S(), B("div", Oo, [
1729
+ b(T) ? (S(), N("div", Oo, [
1730
1730
  P("div", zo, [
1731
1731
  P("div", Io, [
1732
1732
  P("label", Uo, [
@@ -1734,59 +1734,59 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1734
1734
  type: "radio",
1735
1735
  name: "clipping-axis",
1736
1736
  value: "none",
1737
- "onUpdate:modelValue": l[2] || (l[2] = (E) => qe(v) ? v.value = E : null),
1738
- onChange: l[3] || (l[3] = (...E) => b(c) && b(c)(...E))
1737
+ "onUpdate:modelValue": r[2] || (r[2] = (E) => qe(v) ? v.value = E : null),
1738
+ onChange: r[3] || (r[3] = (...E) => b(c) && b(c)(...E))
1739
1739
  }, null, 544), [
1740
1740
  [Je, b(v)]
1741
1741
  ]),
1742
- l[16] || (l[16] = P("span", { class: "radio-text" }, "无切割", -1))
1742
+ r[16] || (r[16] = P("span", { class: "radio-text" }, "无切割", -1))
1743
1743
  ]),
1744
1744
  P("label", Bo, [
1745
1745
  ze(P("input", {
1746
1746
  type: "radio",
1747
1747
  name: "clipping-axis",
1748
1748
  value: "x",
1749
- "onUpdate:modelValue": l[4] || (l[4] = (E) => qe(v) ? v.value = E : null),
1750
- onChange: l[5] || (l[5] = (...E) => b(c) && b(c)(...E))
1749
+ "onUpdate:modelValue": r[4] || (r[4] = (E) => qe(v) ? v.value = E : null),
1750
+ onChange: r[5] || (r[5] = (...E) => b(c) && b(c)(...E))
1751
1751
  }, null, 544), [
1752
1752
  [Je, b(v)]
1753
1753
  ]),
1754
- l[17] || (l[17] = P("span", { class: "radio-text" }, "X轴切割", -1))
1754
+ r[17] || (r[17] = P("span", { class: "radio-text" }, "X轴切割", -1))
1755
1755
  ]),
1756
1756
  P("label", No, [
1757
1757
  ze(P("input", {
1758
1758
  type: "radio",
1759
1759
  name: "clipping-axis",
1760
1760
  value: "y",
1761
- "onUpdate:modelValue": l[6] || (l[6] = (E) => qe(v) ? v.value = E : null),
1762
- onChange: l[7] || (l[7] = (...E) => b(c) && b(c)(...E))
1761
+ "onUpdate:modelValue": r[6] || (r[6] = (E) => qe(v) ? v.value = E : null),
1762
+ onChange: r[7] || (r[7] = (...E) => b(c) && b(c)(...E))
1763
1763
  }, null, 544), [
1764
1764
  [Je, b(v)]
1765
1765
  ]),
1766
- l[18] || (l[18] = P("span", { class: "radio-text" }, "Y轴切割", -1))
1766
+ r[18] || (r[18] = P("span", { class: "radio-text" }, "Y轴切割", -1))
1767
1767
  ]),
1768
1768
  P("label", Vo, [
1769
1769
  ze(P("input", {
1770
1770
  type: "radio",
1771
1771
  name: "clipping-axis",
1772
1772
  value: "z",
1773
- "onUpdate:modelValue": l[8] || (l[8] = (E) => qe(v) ? v.value = E : null),
1774
- onChange: l[9] || (l[9] = (...E) => b(c) && b(c)(...E))
1773
+ "onUpdate:modelValue": r[8] || (r[8] = (E) => qe(v) ? v.value = E : null),
1774
+ onChange: r[9] || (r[9] = (...E) => b(c) && b(c)(...E))
1775
1775
  }, null, 544), [
1776
1776
  [Je, b(v)]
1777
1777
  ]),
1778
- l[19] || (l[19] = P("span", { class: "radio-text" }, "Z轴切割", -1))
1778
+ r[19] || (r[19] = P("span", { class: "radio-text" }, "Z轴切割", -1))
1779
1779
  ])
1780
1780
  ])
1781
1781
  ])
1782
- ])) : re("", !0),
1783
- o.value ? (S(), B("div", $o, [
1784
- l[20] || (l[20] = P("div", { class: "loading-spinner" }, null, -1)),
1782
+ ])) : le("", !0),
1783
+ o.value ? (S(), N("div", $o, [
1784
+ r[20] || (r[20] = P("div", { class: "loading-spinner" }, null, -1)),
1785
1785
  P("p", null, he(s.value), 1)
1786
- ])) : re("", !0)
1786
+ ])) : le("", !0)
1787
1787
  ]));
1788
1788
  }
1789
- }, Yo = /* @__PURE__ */ Fe(Ho, [["__scopeId", "data-v-f00cdda1"]]), Zo = { class: "bread-content" }, Ko = ["onClick"], Wo = {
1789
+ }, Yo = /* @__PURE__ */ Le(Ho, [["__scopeId", "data-v-f00cdda1"]]), Zo = { class: "bread-content" }, Ko = ["onClick"], Wo = {
1790
1790
  key: 0,
1791
1791
  class: "split-title"
1792
1792
  }, Xo = {
@@ -1800,9 +1800,9 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1800
1800
  emits: ["click"],
1801
1801
  setup(m, { emit: e }) {
1802
1802
  const t = m, o = R([]), s = e;
1803
- rt(() => {
1803
+ lt(() => {
1804
1804
  o.value = t == null ? void 0 : t.breadArray;
1805
- }), ge(
1805
+ }), _e(
1806
1806
  () => t == null ? void 0 : t.breadArray,
1807
1807
  () => {
1808
1808
  o.value = t == null ? void 0 : t.breadArray;
@@ -1812,24 +1812,24 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1812
1812
  const n = (h) => {
1813
1813
  s("click", h);
1814
1814
  };
1815
- return (h, a) => (S(), B("div", Zo, [
1816
- (S(!0), B(nt, null, at(o.value, (d, r) => {
1815
+ return (h, a) => (S(), N("div", Zo, [
1816
+ (S(!0), N(nt, null, at(o.value, (d, l) => {
1817
1817
  var g;
1818
- return S(), B("div", {
1819
- key: r,
1818
+ return S(), N("div", {
1819
+ key: l,
1820
1820
  class: "bread-item"
1821
1821
  }, [
1822
1822
  P("div", {
1823
1823
  class: "bread-title",
1824
1824
  onClick: (_) => n(d),
1825
- style: ws({ opacity: ((g = o.value) == null ? void 0 : g.length) - 1 === r ? "0.7" : "1" })
1825
+ style: ws({ opacity: ((g = o.value) == null ? void 0 : g.length) - 1 === l ? "0.7" : "1" })
1826
1826
  }, he(d.value), 13, Ko),
1827
- r !== o.value.length - 1 && Array.isArray(o.value) ? (S(), B("div", Wo, he("/"))) : re("", !0)
1827
+ l !== o.value.length - 1 && Array.isArray(o.value) ? (S(), N("div", Wo, he("/"))) : le("", !0)
1828
1828
  ]);
1829
1829
  }), 128))
1830
1830
  ]));
1831
1831
  }
1832
- }, ms = /* @__PURE__ */ Fe(Xo, [["__scopeId", "data-v-ded7e2bd"]]), Go = { class: "item-menu-content" }, qo = { class: "item-left-content" }, Jo = {
1832
+ }, ms = /* @__PURE__ */ Le(Xo, [["__scopeId", "data-v-ded7e2bd"]]), Go = { class: "item-menu-content" }, qo = { class: "item-left-content" }, Jo = {
1833
1833
  key: 0,
1834
1834
  class: "page-icon"
1835
1835
  }, Qo = { class: "avatar" }, en = { style: { display: "flex" } }, tn = { class: "select-icon" }, sn = {
@@ -1839,7 +1839,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1839
1839
  }, on = { class: "model-select" }, nn = { class: "model-fill" }, an = {
1840
1840
  key: 1,
1841
1841
  class: "show-main-content"
1842
- }, rn = { class: "show-content" }, ln = { class: "item-view-group" }, cn = { class: "show-item-content" }, hn = { class: "item-view-group" }, un = {
1842
+ }, ln = { class: "show-content" }, rn = { class: "item-view-group" }, cn = { class: "show-item-content" }, hn = { class: "item-view-group" }, un = {
1843
1843
  key: 2,
1844
1844
  class: "show-main-content"
1845
1845
  }, dn = {
@@ -1850,8 +1850,8 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1850
1850
  },
1851
1851
  emits: ["change", "contentChange"],
1852
1852
  setup(m, { emit: e }) {
1853
- const t = us(), { loginUserInfo: o, cryptoInfo: s } = me(t);
1854
- rt(() => {
1853
+ const t = us(), { loginUserInfo: o, cryptoInfo: s } = fe(t);
1854
+ lt(() => {
1855
1855
  Gs({
1856
1856
  title: "温馨提示:",
1857
1857
  type: "success",
@@ -1859,11 +1859,11 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1859
1859
  duration: 1e3
1860
1860
  });
1861
1861
  });
1862
- const n = lt(fe);
1863
- Us(fe), R(!0);
1862
+ const n = rt(ge);
1863
+ Us(ge), R(!0);
1864
1864
  const h = ct();
1865
1865
  R(!0);
1866
- const { itemData: a, isEdit: d, isRefreshCurStructure: r, curStructureCompIds: g } = me(n), _ = St(fe), { activeMenuPath: f, menus: w, importLoading: C } = me(h), { selectIndex: u, selectTitle: i } = me(_);
1866
+ const { itemData: a, isEdit: d, isRefreshCurStructure: l, curStructureCompIds: g } = fe(n), _ = St(ge), { activeMenuPath: f, menus: w, importLoading: C } = fe(h), { selectIndex: u, selectTitle: i } = fe(_);
1867
1867
  return R([]), R(!1), (y, x) => {
1868
1868
  const T = J("el-aside"), v = J("el-button"), M = J("el-avatar"), c = J("el-header"), D = J("router-view"), L = J("el-main"), k = J("el-container"), U = is("loading");
1869
1869
  return ze((S(), ae(k, { "element-loading-text": "正在加载页面数据..." }, {
@@ -1876,7 +1876,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1876
1876
  F(bt, { mode: "vertical" })
1877
1877
  ]),
1878
1878
  _: 1
1879
- })) : re("", !0),
1879
+ })) : le("", !0),
1880
1880
  F(k, null, {
1881
1881
  default: I(() => [
1882
1882
  F(c, null, {
@@ -1885,13 +1885,13 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1885
1885
  return [
1886
1886
  P("div", Go, [
1887
1887
  P("div", qo, [
1888
- b(d) === "edit" ? (S(), B("div", Jo, [
1888
+ b(d) === "edit" ? (S(), N("div", Jo, [
1889
1889
  F(v, {
1890
1890
  text: "",
1891
- onClick: b(ls)
1891
+ onClick: b(rs)
1892
1892
  }, {
1893
1893
  default: I(() => x[2] || (x[2] = [
1894
- ke(" 返回页面 ")
1894
+ Te(" 返回页面 ")
1895
1895
  ])),
1896
1896
  _: 1,
1897
1897
  __: [2]
@@ -1899,20 +1899,20 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1899
1899
  F(v, {
1900
1900
  text: "",
1901
1901
  onClick: x[0] || (x[0] = (H) => {
1902
- var ie, le;
1903
- return b(cs)((le = (ie = b(i)) == null ? void 0 : ie.map((p) => p.value)) == null ? void 0 : le.join("/"));
1902
+ var ie, re;
1903
+ return b(cs)((re = (ie = b(i)) == null ? void 0 : ie.map((p) => p.value)) == null ? void 0 : re.join("/"));
1904
1904
  })
1905
1905
  }, {
1906
1906
  icon: I(() => [
1907
- F(Pe, { name: "Store" })
1907
+ F(ke, { name: "Store" })
1908
1908
  ]),
1909
1909
  default: I(() => [
1910
- x[3] || (x[3] = ke(" 保存页面 "))
1910
+ x[3] || (x[3] = Te(" 保存页面 "))
1911
1911
  ]),
1912
1912
  _: 1,
1913
1913
  __: [3]
1914
1914
  })
1915
- ])) : re("", !0),
1915
+ ])) : le("", !0),
1916
1916
  (S(), ae(ms, {
1917
1917
  key: b(i),
1918
1918
  breadArray: b(i),
@@ -1920,19 +1920,19 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1920
1920
  }, null, 8, ["breadArray", "onClick"]))
1921
1921
  ]),
1922
1922
  P("div", Qo, [
1923
- b(d) === "view" ? (S(), B("div", {
1923
+ b(d) === "view" ? (S(), N("div", {
1924
1924
  key: 0,
1925
1925
  class: "select-icon",
1926
1926
  onClick: x[1] || (x[1] = (...H) => b(it) && b(it)(...H))
1927
1927
  }, [
1928
1928
  P("div", en, [
1929
- F(Pe, {
1929
+ F(ke, {
1930
1930
  name: "write",
1931
1931
  style: { width: "clamp(12px, 0.9375rem, 15px)", height: "clamp(12px, 0.9375rem, 15px)" }
1932
1932
  })
1933
1933
  ]),
1934
1934
  x[4] || (x[4] = P("div", { class: "layout-trigger" }, he("修改布局"), -1))
1935
- ])) : re("", !0),
1935
+ ])) : le("", !0),
1936
1936
  P("div", tn, [
1937
1937
  He(y.$slots, "default", {}, void 0, !0)
1938
1938
  ]),
@@ -1943,7 +1943,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1943
1943
  default: I(() => {
1944
1944
  var H;
1945
1945
  return [
1946
- ke(he(((H = b(o)) == null ? void 0 : H.account) ?? "未知"), 1)
1946
+ Te(he(((H = b(o)) == null ? void 0 : H.account) ?? "未知"), 1)
1947
1947
  ];
1948
1948
  }),
1949
1949
  _: 1
@@ -1956,13 +1956,13 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1956
1956
  }),
1957
1957
  F(L, null, {
1958
1958
  default: I(() => {
1959
- var A, H, ie, le;
1959
+ var A, H, ie, re;
1960
1960
  return [
1961
- b(d) === "edit" ? (S(), B("div", sn, [
1961
+ b(d) === "edit" ? (S(), N("div", sn, [
1962
1962
  P("div", on, [
1963
1963
  F(Pt)
1964
1964
  ]),
1965
- (S(), B("div", {
1965
+ (S(), N("div", {
1966
1966
  class: "model-show",
1967
1967
  key: y.innerWidth
1968
1968
  }, [
@@ -1971,49 +1971,49 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
1971
1971
  P("div", nn, [
1972
1972
  F(Tt)
1973
1973
  ])
1974
- ])) : y.$route.path === "/" && ((A = b(de)) == null ? void 0 : A.length) > 0 && b(d) === "view" ? (S(), B("div", an, [
1975
- P("div", rn, [
1976
- (H = b(Se)(b(de))) != null && H.find((p) => p.comp === "FormTop") ? (S(), B("div", {
1974
+ ])) : y.$route.path === "/" && ((A = b(de)) == null ? void 0 : A.length) > 0 && b(d) === "view" ? (S(), N("div", an, [
1975
+ P("div", ln, [
1976
+ (H = b(Fe)(b(de))) != null && H.find((p) => p.comp === "FormTop") ? (S(), N("div", {
1977
1977
  class: "show-header",
1978
1978
  key: y.index
1979
1979
  }, [
1980
- (S(!0), B(nt, null, at((ie = b(Se)(b(de))) == null ? void 0 : ie.filter((p) => p.comp === "FormTop"), (p, l) => (S(), B("div", {
1980
+ (S(!0), N(nt, null, at((ie = b(Fe)(b(de))) == null ? void 0 : ie.filter((p) => p.comp === "FormTop"), (p, r) => (S(), N("div", {
1981
1981
  class: "item-content",
1982
- key: l
1982
+ key: r
1983
1983
  }, [
1984
- P("div", ln, he(p.name), 1),
1984
+ P("div", rn, he(p.name), 1),
1985
1985
  (S(), ae(wt(b(vt)(p.comp)), {
1986
1986
  itemData: p == null ? void 0 : p.compData,
1987
1987
  childItemData: p == null ? void 0 : p.itemChildData,
1988
- key: (p == null ? void 0 : p.id) ?? l,
1988
+ key: (p == null ? void 0 : p.id) ?? r,
1989
1989
  onChange: b(Mt),
1990
- index: (p == null ? void 0 : p.id) ?? l,
1990
+ index: (p == null ? void 0 : p.id) ?? r,
1991
1991
  onContentChange: b(xt),
1992
1992
  onPageChange: b(Ct)
1993
1993
  }, null, 40, ["itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
1994
1994
  ]))), 128))
1995
- ])) : re("", !0),
1995
+ ])) : le("", !0),
1996
1996
  P("div", cn, [
1997
- (S(!0), B(nt, null, at((le = b(Se)(b(de))) == null ? void 0 : le.filter((p) => p.comp !== "FormTop"), (p, l) => (S(), B("div", {
1997
+ (S(!0), N(nt, null, at((re = b(Fe)(b(de))) == null ? void 0 : re.filter((p) => p.comp !== "FormTop"), (p, r) => (S(), N("div", {
1998
1998
  class: "item-content",
1999
- key: l
1999
+ key: r
2000
2000
  }, [
2001
2001
  P("div", hn, he(p.name), 1),
2002
2002
  (S(), ae(wt(b(vt)(p.comp)), {
2003
2003
  itemData: p == null ? void 0 : p.compData,
2004
2004
  childItemData: p == null ? void 0 : p.itemChildData,
2005
- key: (p == null ? void 0 : p.id) ?? l,
2005
+ key: (p == null ? void 0 : p.id) ?? r,
2006
2006
  onChange: b(Mt),
2007
- index: (p == null ? void 0 : p.id) ?? l,
2007
+ index: (p == null ? void 0 : p.id) ?? r,
2008
2008
  onContentChange: b(xt),
2009
2009
  onPageChange: b(Ct)
2010
2010
  }, null, 40, ["itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
2011
2011
  ]))), 128))
2012
2012
  ])
2013
2013
  ])
2014
- ])) : b(d) === "view" ? (S(), B("div", un, [
2014
+ ])) : b(d) === "view" ? (S(), N("div", un, [
2015
2015
  F(D)
2016
- ])) : re("", !0)
2016
+ ])) : le("", !0)
2017
2017
  ];
2018
2018
  }),
2019
2019
  _: 1
@@ -2028,7 +2028,7 @@ const ko = { class: "obj-viewer-container" }, To = { class: "floating-controls"
2028
2028
  ]);
2029
2029
  };
2030
2030
  }
2031
- }, pn = /* @__PURE__ */ Fe(dn, [["__scopeId", "data-v-d2611062"]]);
2031
+ }, pn = /* @__PURE__ */ Le(dn, [["__scopeId", "data-v-d2611062"]]);
2032
2032
  function mn(m, e, t, o, s, n) {
2033
2033
  const h = J("svg-icon"), a = J("ssMenu");
2034
2034
  return S(), ae(a, {
@@ -2048,7 +2048,7 @@ function mn(m, e, t, o, s, n) {
2048
2048
  _: 1
2049
2049
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
2050
2050
  }
2051
- const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef59"]]), ee = [
2051
+ const fn = /* @__PURE__ */ Le(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef59"]]), ee = [
2052
2052
  {
2053
2053
  key: "FitCurve_Eleven",
2054
2054
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
@@ -2112,156 +2112,160 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2112
2112
  }
2113
2113
  },
2114
2114
  setup(m) {
2115
- const e = St(fe), t = R(0), o = R(!1), { selectTitle: s } = me(e), n = R(!1), h = Bs(fe), { tableShowThree: a } = me(h), d = us(), { loginUserInfo: r } = me(d), g = lt(fe), { isEdit: _ } = me(g), f = ct(fe), w = $s(fe), { objUrl: C, blobUrls: u } = me(w), i = R(null), y = R(!0), { importLoading: x, activeMenuPath: T, platName: v } = me(f), M = R(!1);
2116
- ge(() => T.value, async (p) => {
2115
+ const e = St(ge), t = R(0), o = R(!1), { selectTitle: s } = fe(e), n = R(!1), h = Bs(ge), { tableShowThree: a } = fe(h), d = us(), { loginUserInfo: l } = fe(d), g = rt(ge), { isEdit: _ } = fe(g), f = ct(ge), w = $s(ge), { objUrl: C, blobUrls: u } = fe(w), i = R(null), y = R(!0), { importLoading: x, activeMenuPath: T, platName: v } = fe(f), M = R(!1);
2116
+ _e(() => T.value, async (p) => {
2117
2117
  p && (M.value = !0);
2118
2118
  }, { immediate: !0 });
2119
2119
  const c = async (p) => {
2120
- var O, $, W, N, se, K, te;
2121
- const l = (O = p == null ? void 0 : p.split("/")) == null ? void 0 : O[0], E = await Vs({
2120
+ var O, $, X, B, te, Z, se;
2121
+ const r = (O = p == null ? void 0 : p.split("/")) == null ? void 0 : O[0], E = await Vs({
2122
2122
  key: {
2123
2123
  type: "mainEquip",
2124
2124
  systemKey: sessionStorage.getItem("systemKey"),
2125
- pageKey: l
2125
+ pageKey: r
2126
2126
  }
2127
2127
  });
2128
- return (($ = E == null ? void 0 : E.data) == null ? void 0 : $.type) === "success" ? ((te = (K = (se = (N = (W = E == null ? void 0 : E.data) == null ? void 0 : W.result) == null ? void 0 : N[0]) == null ? void 0 : se.value) == null ? void 0 : K.tableData) == null ? void 0 : te.隐藏三维显示) !== !0 : !0;
2128
+ return (($ = E == null ? void 0 : E.data) == null ? void 0 : $.type) === "success" ? ((se = (Z = (te = (B = (X = E == null ? void 0 : E.data) == null ? void 0 : X.result) == null ? void 0 : B[0]) == null ? void 0 : te.value) == null ? void 0 : Z.tableData) == null ? void 0 : se.隐藏三维显示) !== !0 : !0;
2129
2129
  };
2130
- ge(
2130
+ _e(
2131
2131
  () => de.value,
2132
2132
  () => {
2133
- var p, l, E;
2134
- ((p = de.value) == null ? void 0 : p.length) === 2 && ((l = de.value) != null && l.find((O) => (O == null ? void 0 : O.name) === "输入")) && ((E = de.value) != null && E.find((O) => (O == null ? void 0 : O.name) === "输出")) ? n.value = !0 : n.value = !1;
2133
+ var p, r, E;
2134
+ ((p = de.value) == null ? void 0 : p.length) === 2 && ((r = de.value) != null && r.find((O) => (O == null ? void 0 : O.name) === "输入")) && ((E = de.value) != null && E.find((O) => (O == null ? void 0 : O.name) === "输出")) ? n.value = !0 : n.value = !1;
2135
2135
  },
2136
2136
  { deep: !0, immediate: !0 }
2137
- ), ge(
2137
+ ), _e(
2138
2138
  () => T.value,
2139
2139
  async () => {
2140
2140
  T.value && (y.value = await c(T.value));
2141
2141
  },
2142
2142
  { deep: !0, immediate: !0 }
2143
- ), ge(
2143
+ ), _e(
2144
2144
  () => [C.value, i.value],
2145
2145
  () => {
2146
2146
  var p;
2147
2147
  ((p = C.value) == null ? void 0 : p.length) > 0 && i.value && i.value.addModelsFromUrls(C.value);
2148
2148
  },
2149
2149
  { immediate: !0, deep: !0 }
2150
- ), ge(
2150
+ ), _e(
2151
2151
  () => u == null ? void 0 : u.value,
2152
2152
  async () => {
2153
- var p, l, E, O;
2154
- if (u != null && u.value && ((p = u == null ? void 0 : u.value) == null ? void 0 : p.length) > 0 && !((l = de.value) != null && l.find(($) => ($ == null ? void 0 : $.name) === "输入") && ((E = de.value) != null && E.find(($) => ($ == null ? void 0 : $.name) === "输出")))) {
2153
+ var p, r, E, O;
2154
+ if (u != null && u.value && ((p = u == null ? void 0 : u.value) == null ? void 0 : p.length) > 0 && !((r = de.value) != null && r.find(($) => ($ == null ? void 0 : $.name) === "输入") && ((E = de.value) != null && E.find(($) => ($ == null ? void 0 : $.name) === "输出")))) {
2155
2155
  let $ = [];
2156
- const W = await ((O = Se(u == null ? void 0 : u.value)) == null ? void 0 : O.map(async (N) => {
2157
- var te;
2158
- let se;
2159
- !(N != null && N.includes("https://")) && !(N != null && N.includes("http://")) ? se = await ds({
2160
- url: N
2161
- }) : se = Me.get(N, {
2156
+ const X = await ((O = Fe(u == null ? void 0 : u.value)) == null ? void 0 : O.map(async (B) => {
2157
+ var se, pe, be, K;
2158
+ let te, Z;
2159
+ !(B != null && B.includes("https://")) && !(B != null && B.includes("http://")) ? (te = await ds({
2160
+ url: B
2161
+ }), Z = {
2162
+ suffix: "." + ((se = B == null ? void 0 : B.split(".")) == null ? void 0 : se[1]),
2163
+ blob: new Blob([te.data], {
2164
+ type: "application/octet-stream;charset=UTF-8"
2165
+ }),
2166
+ mtlBlobs: []
2167
+ }) : (te = await Pe.get(B, {
2162
2168
  responseType: "blob",
2163
2169
  headers: {
2164
2170
  "Content-Type": "application/json"
2165
2171
  }
2166
- });
2167
- const K = {
2168
- suffix: "." + ((te = N == null ? void 0 : N.split(".")) == null ? void 0 : te[1]),
2169
- blob: new Blob([se.data], {
2172
+ }), Z = {
2173
+ suffix: "." + ((K = (be = (pe = B == null ? void 0 : B.split("http://139.196.154.85:20026")) == null ? void 0 : pe[1]) == null ? void 0 : be.split(".")) == null ? void 0 : K[1]),
2174
+ blob: new Blob([te.data], {
2170
2175
  type: "application/octet-stream;charset=UTF-8"
2171
2176
  }),
2172
2177
  mtlBlobs: []
2173
- };
2174
- $.push(K);
2178
+ }), $.push(Z);
2175
2179
  }));
2176
- await Promise.all(W), i.value.loadModelByDefaultPath($);
2180
+ await Promise.all(X), i.value.loadModelByDefaultPath($);
2177
2181
  }
2178
2182
  },
2179
2183
  { immediate: !0, deep: !0 }
2180
- ), ge(
2184
+ ), _e(
2181
2185
  () => a.value,
2182
2186
  async () => {
2183
- var l, E, O, $;
2187
+ var r, E, O, $;
2184
2188
  if (a.value !== "" && a.value) {
2185
- let W = (l = T.value) == null ? void 0 : l.split("/"), N = W[(W == null ? void 0 : W.length) - 2];
2186
- const K = (((E = ee == null ? void 0 : ee.find((X) => (X == null ? void 0 : X.key) === N)) == null ? void 0 : E.download) ?? "") + "/" + a.value, te = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), we = await Me.post(K, null, {
2189
+ let X = (r = T.value) == null ? void 0 : r.split("/"), B = X[(X == null ? void 0 : X.length) - 2];
2190
+ const Z = (((E = ee == null ? void 0 : ee.find((K) => (K == null ? void 0 : K.key) === B)) == null ? void 0 : E.download) ?? "") + "/" + a.value, se = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), pe = await Pe.post(Z, null, {
2187
2191
  responseType: "blob",
2188
2192
  // 必须设置
2189
2193
  headers: {
2190
- Authorization: te,
2194
+ Authorization: se,
2191
2195
  baseURL: "http://139.196.154.85:20025",
2192
2196
  "Content-Type": "application/json"
2193
2197
  }
2194
2198
  });
2195
- var p = new Blob([we.data], {
2199
+ var p = new Blob([pe.data], {
2196
2200
  type: "application/octet-stream;charset=UTF-8"
2197
2201
  });
2198
- const Le = [
2202
+ const be = [
2199
2203
  {
2200
2204
  suffix: "." + (($ = (O = a.value) == null ? void 0 : O.split(".")) == null ? void 0 : $[1]),
2201
2205
  blob: p,
2202
2206
  mtlBlobs: []
2203
2207
  }
2204
2208
  ];
2205
- i.value.loadModelByDefaultPath(Le);
2209
+ i.value.loadModelByDefaultPath(be);
2206
2210
  }
2207
2211
  },
2208
2212
  { deep: !0, immediate: !0 }
2209
2213
  );
2210
2214
  const D = async () => {
2211
- var se, K, te, we, Le, X, z, be, Ce, Ke, Lt, jt, Rt, Ot, zt, It, Ut;
2215
+ var te, Z, se, pe, be, K, z, ve, xe, Ke, Lt, jt, Rt, Ot, zt, It, Ut;
2212
2216
  o.value = !0;
2213
- let p = (se = T.value) == null ? void 0 : se.split("/"), l = p[(p == null ? void 0 : p.length) - 2];
2214
- const E = ((K = ee == null ? void 0 : ee.find((_e) => (_e == null ? void 0 : _e.key) === l)) == null ? void 0 : K.value) ?? "";
2217
+ let p = (te = T.value) == null ? void 0 : te.split("/"), r = p[(p == null ? void 0 : p.length) - 2];
2218
+ const E = ((Z = ee == null ? void 0 : ee.find((ye) => (ye == null ? void 0 : ye.key) === r)) == null ? void 0 : Z.value) ?? "";
2215
2219
  let O = "";
2216
- const $ = await Me.post("http://139.196.154.85:20024/api/sysAuth/login", {
2220
+ const $ = await Pe.post("http://139.196.154.85:20024/api/sysAuth/login", {
2217
2221
  account: "superadmin",
2218
2222
  password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
2219
2223
  codeId: 0,
2220
2224
  code: ""
2221
2225
  });
2222
- ((te = $ == null ? void 0 : $.data) == null ? void 0 : te.code) === 200 && (O = `Bearer ${(Le = (we = $.data) == null ? void 0 : we.result) == null ? void 0 : Le.accessToken}`, sessionStorage.setItem("magicToken", O));
2223
- const W = O === "" ? "123456" : O, N = await Me.post(E, null, {
2226
+ ((se = $ == null ? void 0 : $.data) == null ? void 0 : se.code) === 200 && (O = `Bearer ${(be = (pe = $.data) == null ? void 0 : pe.result) == null ? void 0 : be.accessToken}`, sessionStorage.setItem("magicToken", O));
2227
+ const X = O === "" ? "123456" : O, B = await Pe.post(E, null, {
2224
2228
  headers: {
2225
- Authorization: W,
2229
+ Authorization: X,
2226
2230
  baseURL: "http://139.196.154.85:20025",
2227
2231
  "Content-Type": "multipart/form-data"
2228
2232
  }
2229
2233
  });
2230
- if (((X = N == null ? void 0 : N.data) == null ? void 0 : X.type) === "success" && Ns((be = (z = N == null ? void 0 : N.data) == null ? void 0 : z.result) == null ? void 0 : be.result)) {
2231
- const _e = (Rt = (jt = (Lt = JSON.parse((Ke = (Ce = N == null ? void 0 : N.data) == null ? void 0 : Ce.result) == null ? void 0 : Ke.result)) == null ? void 0 : Lt.lines_file_paths) == null ? void 0 : jt[0]) == null ? void 0 : Rt.split("\\"), fs = (((Ot = ee == null ? void 0 : ee.find((oe) => (oe == null ? void 0 : oe.key) === l)) == null ? void 0 : Ot.resources) ?? "") + "/" + ((_e == null ? void 0 : _e[(_e == null ? void 0 : _e.length) - 2]) ?? "outputResources"), je = await Me.post(fs, null, {
2234
+ if (((K = B == null ? void 0 : B.data) == null ? void 0 : K.type) === "success" && Ns((ve = (z = B == null ? void 0 : B.data) == null ? void 0 : z.result) == null ? void 0 : ve.result)) {
2235
+ const ye = (Rt = (jt = (Lt = JSON.parse((Ke = (xe = B == null ? void 0 : B.data) == null ? void 0 : xe.result) == null ? void 0 : Ke.result)) == null ? void 0 : Lt.lines_file_paths) == null ? void 0 : jt[0]) == null ? void 0 : Rt.split("\\"), fs = (((Ot = ee == null ? void 0 : ee.find((oe) => (oe == null ? void 0 : oe.key) === r)) == null ? void 0 : Ot.resources) ?? "") + "/" + ((ye == null ? void 0 : ye[(ye == null ? void 0 : ye.length) - 2]) ?? "outputResources"), je = await Pe.post(fs, null, {
2232
2236
  headers: {
2233
- Authorization: W,
2237
+ Authorization: X,
2234
2238
  baseURL: "http://139.196.154.85:20025",
2235
2239
  "Content-Type": "multipart/form-data"
2236
2240
  }
2237
2241
  });
2238
2242
  if (((zt = je == null ? void 0 : je.data) == null ? void 0 : zt.type) === "success") {
2239
- const oe = (It = je == null ? void 0 : je.data) == null ? void 0 : It.result, gs = de.value, _s = await ((Ut = Se(gs)) == null ? void 0 : Ut.map(async (Q) => {
2243
+ const oe = (It = je == null ? void 0 : je.data) == null ? void 0 : It.result, gs = de.value, _s = await ((Ut = Fe(gs)) == null ? void 0 : Ut.map(async (Q) => {
2240
2244
  var Bt, Nt, Vt, $t, Ht, Yt;
2241
2245
  if ((Q == null ? void 0 : Q.name) === "输出") {
2242
2246
  if ((Q == null ? void 0 : Q.comp) === "Table")
2243
2247
  Q.compData = (Bt = Q == null ? void 0 : Q.compData) == null ? void 0 : Bt.map((Y) => {
2244
- var Z, ye;
2245
- return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (ye = (Z = Y == null ? void 0 : Y.contents) == null ? void 0 : Z.map((ne) => (ne = ne == null ? void 0 : ne.map((G, xe) => {
2246
- var Te;
2247
- return typeof G == "string" && xe > 1 && (G = ((Te = oe == null ? void 0 : oe[xe - 1]) != null && Te.includes("input") ? G : oe == null ? void 0 : oe[xe - 1]) ?? G), G;
2248
- }), ne))) == null ? void 0 : ye.filter((ne, G) => G <= (oe == null ? void 0 : oe.length) - 1)), Y;
2248
+ var W, we;
2249
+ return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (we = (W = Y == null ? void 0 : Y.contents) == null ? void 0 : W.map((ne) => (ne = ne == null ? void 0 : ne.map((G, Me) => {
2250
+ var De;
2251
+ return typeof G == "string" && Me > 1 && (G = ((De = oe == null ? void 0 : oe[Me - 1]) != null && De.includes("input") ? G : oe == null ? void 0 : oe[Me - 1]) ?? G), G;
2252
+ }), ne))) == null ? void 0 : we.filter((ne, G) => G <= (oe == null ? void 0 : oe.length) - 1)), Y;
2249
2253
  });
2250
2254
  else if ((Q == null ? void 0 : Q.comp) === "Form") {
2251
2255
  let Y = "";
2252
- if (oe == null || oe.forEach((Z) => {
2253
- Y = Y === "" ? Y + Z : Y + "," + Z;
2254
- }), Q.compData = (Nt = Q == null ? void 0 : Q.compData) == null ? void 0 : Nt.map((Z) => {
2255
- var ye;
2256
- return (Z == null ? void 0 : Z.key) === "formContent" && (Z.contents = (ye = Z.contents) == null ? void 0 : ye.map((ne) => (ne.value = Y, ne))), Z;
2257
- }), (Vt = Y == null ? void 0 : Y.split(",")) != null && Vt.find((Z) => Z.includes(".obj"))) {
2258
- let Z = {};
2259
- Z.suffix = ".obj";
2260
- const ye = [];
2256
+ if (oe == null || oe.forEach((W) => {
2257
+ Y = Y === "" ? Y + W : Y + "," + W;
2258
+ }), Q.compData = (Nt = Q == null ? void 0 : Q.compData) == null ? void 0 : Nt.map((W) => {
2259
+ var we;
2260
+ return (W == null ? void 0 : W.key) === "formContent" && (W.contents = (we = W.contents) == null ? void 0 : we.map((ne) => (ne.value = Y, ne))), W;
2261
+ }), (Vt = Y == null ? void 0 : Y.split(",")) != null && Vt.find((W) => W.includes(".obj"))) {
2262
+ let W = {};
2263
+ W.suffix = ".obj";
2264
+ const we = [];
2261
2265
  let ne = await ((Ht = ($t = Y == null ? void 0 : Y.split(",")) == null ? void 0 : $t.filter((G) => G.includes(".obj") || G.includes(".mtl"))) == null ? void 0 : Ht.map(async (G) => {
2262
- var Te, We;
2266
+ var De, We;
2263
2267
  if (G.includes(".obj")) {
2264
- const Ne = (((Te = ee == null ? void 0 : ee.find((De) => (De == null ? void 0 : De.key) === l)) == null ? void 0 : Te.download) ?? "") + "/" + G, Re = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Oe = await Me.post(Ne, null, {
2268
+ const Ne = (((De = ee == null ? void 0 : ee.find((Ee) => (Ee == null ? void 0 : Ee.key) === r)) == null ? void 0 : De.download) ?? "") + "/" + G, Re = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Oe = await Pe.post(Ne, null, {
2265
2269
  responseType: "blob",
2266
2270
  // 必须设置
2267
2271
  headers: {
@@ -2270,12 +2274,12 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2270
2274
  "Content-Type": "application/json"
2271
2275
  }
2272
2276
  });
2273
- var xe = new Blob([Oe.data], {
2277
+ var Me = new Blob([Oe.data], {
2274
2278
  type: "application/octet-stream;charset=UTF-8"
2275
2279
  });
2276
- Z.blob = xe;
2280
+ W.blob = Me;
2277
2281
  } else if (G.includes(".mtl")) {
2278
- const Ne = (((We = ee == null ? void 0 : ee.find((ut) => (ut == null ? void 0 : ut.key) === l)) == null ? void 0 : We.download) ?? "") + "/" + G, Re = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Oe = await Me.post(Ne, null, {
2282
+ const Ne = (((We = ee == null ? void 0 : ee.find((ut) => (ut == null ? void 0 : ut.key) === r)) == null ? void 0 : We.download) ?? "") + "/" + G, Re = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Oe = await Pe.post(Ne, null, {
2279
2283
  responseType: "blob",
2280
2284
  // 必须设置
2281
2285
  headers: {
@@ -2284,20 +2288,20 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2284
2288
  "Content-Type": "application/json"
2285
2289
  }
2286
2290
  });
2287
- var xe = new Blob([Oe.data], {
2291
+ var Me = new Blob([Oe.data], {
2288
2292
  type: "application/octet-stream;charset=UTF-8"
2289
2293
  });
2290
- ye.push(xe);
2294
+ we.push(Me);
2291
2295
  }
2292
2296
  }));
2293
- await Promise.all(ne), Z.mtlBlobs = ye, i.value.loadModelByDefaultPath([Z]);
2297
+ await Promise.all(ne), W.mtlBlobs = we, i.value.loadModelByDefaultPath([W]);
2294
2298
  } else {
2295
- const Z = [];
2296
- let ye = await ((Yt = Y == null ? void 0 : Y.split(",")) == null ? void 0 : Yt.map(async (ne) => {
2299
+ const W = [];
2300
+ let we = await ((Yt = Y == null ? void 0 : Y.split(",")) == null ? void 0 : Yt.map(async (ne) => {
2297
2301
  var Re, Oe;
2298
2302
  let G = {};
2299
2303
  G.suffix = "." + ((Re = ne == null ? void 0 : ne.split(".")) == null ? void 0 : Re[1]);
2300
- const Te = (((Oe = ee == null ? void 0 : ee.find((De) => (De == null ? void 0 : De.key) === l)) == null ? void 0 : Oe.download) ?? "") + "/" + ne, We = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), ht = await Me.post(Te, null, {
2304
+ const De = (((Oe = ee == null ? void 0 : ee.find((Ee) => (Ee == null ? void 0 : Ee.key) === r)) == null ? void 0 : Oe.download) ?? "") + "/" + ne, We = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), ht = await Pe.post(De, null, {
2301
2305
  responseType: "blob",
2302
2306
  // 必须设置
2303
2307
  headers: {
@@ -2309,9 +2313,9 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2309
2313
  var Ne = new Blob([ht.data], {
2310
2314
  type: "application/octet-stream;charset=UTF-8"
2311
2315
  });
2312
- G.blob = Ne, Z.push(G);
2316
+ G.blob = Ne, W.push(G);
2313
2317
  }));
2314
- await Promise.all(ye), i.value.loadModelByDefaultPath(Z);
2318
+ await Promise.all(we), i.value.loadModelByDefaultPath(W);
2315
2319
  }
2316
2320
  }
2317
2321
  }
@@ -2327,45 +2331,45 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2327
2331
  }, ie = () => {
2328
2332
  const p = document.getElementById("operateCollapse");
2329
2333
  U.value === "open" ? (p.style.width = "25rem", p.style.height = "96%", p.style.overflow = "auto") : (p.style.width = "50px", p.style.height = "50px", p.style.overflow = "hidden");
2330
- }, le = () => {
2334
+ }, re = () => {
2331
2335
  A.value = !A.value;
2332
- const p = document.getElementById("operateCollapse"), l = document.getElementById("menuCollapse");
2333
- A.value ? (l.style.width = "18.75rem", p.style.width = "calc(100% - 24rem)") : p.style.width = "400px";
2336
+ const p = document.getElementById("operateCollapse"), r = document.getElementById("menuCollapse");
2337
+ A.value ? (r.style.width = "18.75rem", p.style.width = "calc(100% - 24rem)") : p.style.width = "400px";
2334
2338
  };
2335
- return (p, l) => {
2336
- const E = J("el-button"), O = J("el-avatar"), $ = J("el-header"), W = J("el-container"), N = J("el-aside"), se = J("el-collapse-item"), K = J("el-collapse"), te = J("el-main"), we = J("router-view"), Le = is("loading");
2337
- return b(_) === "edit" ? (S(), ae(W, {
2339
+ return (p, r) => {
2340
+ const E = J("el-button"), O = J("el-avatar"), $ = J("el-header"), X = J("el-container"), B = J("el-aside"), te = J("el-collapse-item"), Z = J("el-collapse"), se = J("el-main"), pe = J("router-view"), be = is("loading");
2341
+ return b(_) === "edit" ? (S(), ae(X, {
2338
2342
  key: 0,
2339
2343
  class: "client-container"
2340
2344
  }, {
2341
2345
  default: I(() => [
2342
2346
  F($, { class: "client-structure-header" }, {
2343
2347
  default: I(() => {
2344
- var X;
2348
+ var K;
2345
2349
  return [
2346
2350
  P("div", gn, [
2347
2351
  F(E, {
2348
2352
  class: "select-icon",
2349
- onClick: b(ls)
2353
+ onClick: b(rs)
2350
2354
  }, {
2351
- default: I(() => l[6] || (l[6] = [
2352
- ke(" 返回页面 ")
2355
+ default: I(() => r[6] || (r[6] = [
2356
+ Te(" 返回页面 ")
2353
2357
  ])),
2354
2358
  _: 1,
2355
2359
  __: [6]
2356
2360
  }, 8, ["onClick"]),
2357
2361
  F(E, {
2358
2362
  class: "select-icon",
2359
- onClick: l[0] || (l[0] = (z) => {
2360
- var be, Ce;
2361
- return b(cs)((Ce = (be = b(s)) == null ? void 0 : be.map((Ke) => Ke.value)) == null ? void 0 : Ce.join("/"));
2363
+ onClick: r[0] || (r[0] = (z) => {
2364
+ var ve, xe;
2365
+ return b(cs)((xe = (ve = b(s)) == null ? void 0 : ve.map((Ke) => Ke.value)) == null ? void 0 : xe.join("/"));
2362
2366
  })
2363
2367
  }, {
2364
2368
  icon: I(() => [
2365
- F(Pe, { name: "Store" })
2369
+ F(ke, { name: "Store" })
2366
2370
  ]),
2367
2371
  default: I(() => [
2368
- l[7] || (l[7] = ke(" 保存页面 "))
2372
+ r[7] || (r[7] = Te(" 保存页面 "))
2369
2373
  ]),
2370
2374
  _: 1,
2371
2375
  __: [7]
@@ -2384,12 +2388,12 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2384
2388
  ]),
2385
2389
  F(O, {
2386
2390
  size: 35,
2387
- src: (X = b(r)) == null ? void 0 : X.avatarUrl
2391
+ src: (K = b(l)) == null ? void 0 : K.avatarUrl
2388
2392
  }, {
2389
2393
  default: I(() => {
2390
2394
  var z;
2391
2395
  return [
2392
- ke(he(((z = b(r)) == null ? void 0 : z.account) ?? "未知"), 1)
2396
+ Te(he(((z = b(l)) == null ? void 0 : z.account) ?? "未知"), 1)
2393
2397
  ];
2394
2398
  }),
2395
2399
  _: 1
@@ -2399,7 +2403,7 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2399
2403
  }),
2400
2404
  _: 3
2401
2405
  }),
2402
- b(_) === "edit" ? (S(), ae(W, {
2406
+ b(_) === "edit" ? (S(), ae(X, {
2403
2407
  key: 0,
2404
2408
  class: "model-operate",
2405
2409
  style: { "margin-top": "10px", height: "0px" }
@@ -2416,10 +2420,10 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2416
2420
  ])
2417
2421
  ]),
2418
2422
  _: 1
2419
- })) : re("", !0)
2423
+ })) : le("", !0)
2420
2424
  ]),
2421
2425
  _: 3
2422
- })) : ze((S(), ae(W, {
2426
+ })) : ze((S(), ae(X, {
2423
2427
  key: 1,
2424
2428
  class: "client-container",
2425
2429
  "element-loading-text": "正在加载页面数据..."
@@ -2427,14 +2431,14 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2427
2431
  default: I(() => [
2428
2432
  F($, { class: "client-header" }, {
2429
2433
  default: I(() => {
2430
- var X;
2434
+ var K;
2431
2435
  return [
2432
2436
  P("div", xn, [
2433
- F(Pe, {
2437
+ F(ke, {
2434
2438
  name: "logo",
2435
2439
  style: { width: "clamp(18px, 1.5rem, 24px)", height: "clamp(18px, 1.5rem, 24px)", "margin-right": "8px" }
2436
2440
  }),
2437
- ke(" " + he(b(v) === "" ? "CPMPIP" : b(v)), 1)
2441
+ Te(" " + he(b(v) === "" ? "CPMPIP" : b(v)), 1)
2438
2442
  ]),
2439
2443
  P("div", Mn, [
2440
2444
  F(fn, { mode: "horizontal" })
@@ -2442,34 +2446,34 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2442
2446
  P("div", Pn, [
2443
2447
  F(qs, {
2444
2448
  modelValue: L.value,
2445
- "onUpdate:modelValue": l[1] || (l[1] = (z) => L.value = z),
2449
+ "onUpdate:modelValue": r[1] || (r[1] = (z) => L.value = z),
2446
2450
  style: { width: "130px" }
2447
2451
  }, null, 8, ["modelValue"]),
2448
- b(_) === "view" ? (S(), B("div", {
2452
+ b(_) === "view" ? (S(), N("div", {
2449
2453
  key: 0,
2450
2454
  class: "select-icon",
2451
- onClick: l[2] || (l[2] = //@ts-ignore
2455
+ onClick: r[2] || (r[2] = //@ts-ignore
2452
2456
  (...z) => b(it) && b(it)(...z))
2453
2457
  }, [
2454
2458
  P("div", kn, [
2455
- F(Pe, {
2459
+ F(ke, {
2456
2460
  name: "write",
2457
2461
  style: { width: "clamp(12px, 0.9375rem, 15px)", height: "clamp(12px, 0.9375rem, 15px)" }
2458
2462
  })
2459
2463
  ]),
2460
- l[8] || (l[8] = P("div", { class: "layout-trigger" }, he("修改布局"), -1))
2461
- ])) : re("", !0),
2464
+ r[8] || (r[8] = P("div", { class: "layout-trigger" }, he("修改布局"), -1))
2465
+ ])) : le("", !0),
2462
2466
  P("div", Tn, [
2463
2467
  He(p.$slots, "default", {}, void 0, !0)
2464
2468
  ]),
2465
2469
  F(O, {
2466
2470
  size: 35,
2467
- src: (X = b(r)) == null ? void 0 : X.avatarUrl
2471
+ src: (K = b(l)) == null ? void 0 : K.avatarUrl
2468
2472
  }, {
2469
2473
  default: I(() => {
2470
2474
  var z;
2471
2475
  return [
2472
- ke(he(((z = b(r)) == null ? void 0 : z.account) ?? "未知"), 1)
2476
+ Te(he(((z = b(l)) == null ? void 0 : z.account) ?? "未知"), 1)
2473
2477
  ];
2474
2478
  }),
2475
2479
  _: 1
@@ -2479,31 +2483,31 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2479
2483
  }),
2480
2484
  _: 3
2481
2485
  }),
2482
- F(W, { class: "client-body" }, {
2486
+ F(X, { class: "client-body" }, {
2483
2487
  default: I(() => [
2484
- p.$route.path === "/" ? (S(), ae(te, {
2488
+ p.$route.path === "/" ? (S(), ae(se, {
2485
2489
  key: 0,
2486
2490
  class: "client-main"
2487
2491
  }, {
2488
2492
  default: I(() => [
2489
- F(K, {
2493
+ F(Z, {
2490
2494
  modelValue: k.value,
2491
- "onUpdate:modelValue": l[3] || (l[3] = (X) => k.value = X),
2495
+ "onUpdate:modelValue": r[3] || (r[3] = (K) => k.value = K),
2492
2496
  accordion: "",
2493
2497
  class: "client-aside",
2494
2498
  id: "menuCollapse",
2495
2499
  onChange: H
2496
2500
  }, {
2497
2501
  default: I(() => [
2498
- F(se, { name: "open" }, {
2502
+ F(te, { name: "open" }, {
2499
2503
  icon: I(() => [
2500
- F(Pe, {
2504
+ F(ke, {
2501
2505
  name: k.value === "" ? "Right" : "Left",
2502
2506
  style: { width: "20px", height: "20px" }
2503
2507
  }, null, 8, ["name"])
2504
2508
  ]),
2505
2509
  default: I(() => [
2506
- F(N, { style: { width: "100%" } }, {
2510
+ F(B, { style: { width: "100%" } }, {
2507
2511
  default: I(() => [
2508
2512
  F(bt, { mode: "vertical" })
2509
2513
  ]),
@@ -2523,58 +2527,58 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2523
2527
  ref: i
2524
2528
  }, null, 8, ["isShow", "windowConfig"])
2525
2529
  ]),
2526
- F(K, {
2530
+ F(Z, {
2527
2531
  modelValue: U.value,
2528
- "onUpdate:modelValue": l[5] || (l[5] = (X) => U.value = X),
2532
+ "onUpdate:modelValue": r[5] || (r[5] = (K) => U.value = K),
2529
2533
  accordion: "",
2530
2534
  class: "client-main-operate",
2531
2535
  id: "operateCollapse",
2532
2536
  onChange: ie
2533
2537
  }, {
2534
2538
  default: I(() => [
2535
- F(se, { name: "open" }, {
2539
+ F(te, { name: "open" }, {
2536
2540
  icon: I(() => [
2537
- F(Pe, {
2541
+ F(ke, {
2538
2542
  name: U.value === "open" ? "Right" : "Left",
2539
2543
  style: { width: "20px", height: "20px" }
2540
2544
  }, null, 8, ["name"])
2541
2545
  ]),
2542
2546
  default: I(() => {
2543
- var X;
2547
+ var K;
2544
2548
  return [
2545
2549
  P("div", null, [
2546
- F(Pe, {
2550
+ F(ke, {
2547
2551
  class: "fold-icon",
2548
2552
  name: A.value ? "Right" : "Left",
2549
- onClick: le
2553
+ onClick: re
2550
2554
  }, null, 8, ["name"]),
2551
- (S(!0), B(nt, null, at((X = b(Se)(b(de))) == null ? void 0 : X.filter((z) => z.comp !== "FormTop"), (z, be) => {
2552
- var Ce;
2553
- return S(), B("div", {
2555
+ (S(!0), N(nt, null, at((K = b(Fe)(b(de))) == null ? void 0 : K.filter((z) => z.comp !== "FormTop"), (z, ve) => {
2556
+ var xe;
2557
+ return S(), N("div", {
2554
2558
  class: "item-view-content",
2555
- key: be
2559
+ key: ve
2556
2560
  }, [
2557
- ((Ce = z == null ? void 0 : z.comp) == null ? void 0 : Ce.toUpperCase()) !== "TABLE" ? (S(), B("div", En, he(z.name), 1)) : re("", !0),
2561
+ ((xe = z == null ? void 0 : z.comp) == null ? void 0 : xe.toUpperCase()) !== "TABLE" ? (S(), N("div", En, he(z.name), 1)) : le("", !0),
2558
2562
  (S(), ae(wt(b(vt)(z.comp)), {
2559
2563
  compName: z.name,
2560
2564
  itemData: z == null ? void 0 : z.compData,
2561
2565
  childItemData: z == null ? void 0 : z.itemChildData,
2562
- key: (z == null ? void 0 : z.id) ?? be,
2566
+ key: (z == null ? void 0 : z.id) ?? ve,
2563
2567
  onChange: b(Mt),
2564
- index: (z == null ? void 0 : z.id) ?? be,
2568
+ index: (z == null ? void 0 : z.id) ?? ve,
2565
2569
  onContentChange: b(xt),
2566
2570
  onPageChange: b(Ct)
2567
2571
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
2568
2572
  ]);
2569
2573
  }), 128)),
2570
- n.value ? (S(), B("div", An, [
2574
+ n.value ? (S(), N("div", An, [
2571
2575
  F(Js, {
2572
2576
  class: "calculator-content",
2573
- onClickTrigger: l[4] || (l[4] = (z) => D()),
2577
+ onClickTrigger: r[4] || (r[4] = (z) => D()),
2574
2578
  loading: o.value,
2575
2579
  modelValue: "调用方法"
2576
2580
  }, null, 8, ["loading"])
2577
- ])) : re("", !0)
2581
+ ])) : le("", !0)
2578
2582
  ])
2579
2583
  ];
2580
2584
  }),
@@ -2585,22 +2589,22 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2585
2589
  }, 8, ["modelValue"])
2586
2590
  ]),
2587
2591
  _: 1
2588
- })) : (S(), ae(te, {
2592
+ })) : (S(), ae(se, {
2589
2593
  key: 1,
2590
2594
  class: "client-router"
2591
2595
  }, {
2592
2596
  default: I(() => [
2593
2597
  P("div", Sn, [
2594
- F(N, { width: "300px" }, {
2598
+ F(B, { width: "300px" }, {
2595
2599
  default: I(() => [
2596
2600
  F(bt, { mode: "vertical" })
2597
2601
  ]),
2598
2602
  _: 1
2599
2603
  })
2600
2604
  ]),
2601
- F(te, { class: "router-main" }, {
2605
+ F(se, { class: "router-main" }, {
2602
2606
  default: I(() => [
2603
- F(we)
2607
+ F(pe)
2604
2608
  ]),
2605
2609
  _: 1
2606
2610
  })
@@ -2613,11 +2617,11 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2613
2617
  ]),
2614
2618
  _: 3
2615
2619
  })), [
2616
- [Le, b(x)]
2620
+ [be, b(x)]
2617
2621
  ]);
2618
2622
  };
2619
2623
  }
2620
- }), Ln = /* @__PURE__ */ Fe(Fn, [["__scopeId", "data-v-ad56734e"]]), jn = { class: "system-wrap" }, Rn = {
2624
+ }), Ln = /* @__PURE__ */ Le(Fn, [["__scopeId", "data-v-f99a1858"]]), jn = { class: "system-wrap" }, Rn = {
2621
2625
  __name: "index",
2622
2626
  props: {
2623
2627
  windowConfig: {
@@ -2633,27 +2637,27 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2633
2637
  jsonContents: Array
2634
2638
  },
2635
2639
  setup(m) {
2636
- const e = lt(fe), t = St(fe), o = ct();
2640
+ const e = rt(ge), t = St(ge), o = ct();
2637
2641
  R(!1);
2638
2642
  const s = R(!0), n = m;
2639
- return rt(() => {
2640
- }), ge(
2643
+ return lt(() => {
2644
+ }), _e(
2641
2645
  () => [n == null ? void 0 : n.content, n == null ? void 0 : n.jsonContents],
2642
2646
  async () => {
2643
- var d, r, g, _;
2647
+ var d, l, g, _;
2644
2648
  if (((d = n == null ? void 0 : n.jsonContents) == null ? void 0 : d.length) > 0) {
2645
2649
  e.setOriginalData(n == null ? void 0 : n.jsonContents);
2646
2650
  return;
2647
2651
  }
2648
- if (!(n != null && n.content) || ((r = n == null ? void 0 : n.content) == null ? void 0 : r.length) === 0) return;
2652
+ if (!(n != null && n.content) || ((l = n == null ? void 0 : n.content) == null ? void 0 : l.length) === 0) return;
2649
2653
  s.value = !0, o.setImportLoading(!0);
2650
2654
  let h = [], a = [];
2651
2655
  t.setSelectTitle([]), t.setSelectIndex(""), t.setSelectMenu(""), (_ = (g = n == null ? void 0 : n.content) == null ? void 0 : g.filter((f) => f !== "")) == null || _.forEach((f) => {
2652
2656
  Ks(f) ? a.push(Ws(f)) : qt(f) ? a.push(qt(f)) : Jt(f) ? a.push(Jt(f)) : a.push(Ys(f));
2653
- }), h = a == null ? void 0 : a[0], await Zs(h), await rs(), e.setOriginalData(h), o.setImportLoading(!1);
2657
+ }), h = a == null ? void 0 : a[0], await Zs(h), await ls(), e.setOriginalData(h), o.setImportLoading(!1);
2654
2658
  },
2655
2659
  { deep: !0, immediate: !0 }
2656
- ), (h, a) => (S(), B("div", jn, [
2660
+ ), (h, a) => (S(), N("div", jn, [
2657
2661
  m.platform === "browser" ? (S(), ae(pn, { key: 0 }, {
2658
2662
  default: I(() => [
2659
2663
  He(h.$slots, "default", {}, void 0, !0)
@@ -2670,7 +2674,7 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2670
2674
  }, 8, ["windowConfig"]))
2671
2675
  ]));
2672
2676
  }
2673
- }, On = /* @__PURE__ */ Fe(Rn, [["__scopeId", "data-v-65a44ad9"]]), zn = { class: "add-model-content" }, In = {
2677
+ }, On = /* @__PURE__ */ Le(Rn, [["__scopeId", "data-v-65a44ad9"]]), zn = { class: "add-model-content" }, In = {
2674
2678
  key: 0,
2675
2679
  class: "model-operate"
2676
2680
  }, Un = { class: "model-select" }, Bn = { class: "model-fill" }, Nn = {
@@ -2701,13 +2705,13 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2701
2705
  },
2702
2706
  emits: ["change", "contentChange"],
2703
2707
  setup(m, { emit: e }) {
2704
- const t = m, o = e, s = R([]), n = R([]), h = R([]), a = R(0), d = lt(fe), r = ct(fe), { itemData: g, originalData: _ } = me(d), { activeMenuPath: f, platform: w } = me(r), C = R(null), u = R(0), i = R([]);
2708
+ const t = m, o = e, s = R([]), n = R([]), h = R([]), a = R(0), d = rt(ge), l = ct(ge), { itemData: g, originalData: _ } = fe(d), { activeMenuPath: f, platform: w } = fe(l), C = R(null), u = R(0), i = R([]);
2705
2709
  R("");
2706
2710
  const y = R(0), x = (c) => {
2707
2711
  o("contentChange", c);
2708
2712
  }, T = (c) => {
2709
2713
  var L;
2710
- const D = (L = Se(c == null ? void 0 : c.wholeValue)) == null ? void 0 : L.map((k) => {
2714
+ const D = (L = Fe(c == null ? void 0 : c.wholeValue)) == null ? void 0 : L.map((k) => {
2711
2715
  var U;
2712
2716
  return (k == null ? void 0 : k.comp) === "Form" && (k.compData = (U = k.compData) == null ? void 0 : U.map((A) => ((A == null ? void 0 : A.key) === "formContent" && (A.contents = Xs(A == null ? void 0 : A.contents)), A))), k;
2713
2717
  });
@@ -2718,7 +2722,7 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2718
2722
  arrayToContents: D
2719
2723
  });
2720
2724
  };
2721
- ge(
2725
+ _e(
2722
2726
  () => n.value,
2723
2727
  () => {
2724
2728
  y.value === n.value.length && n.value.length !== 0 && (s.value = n.value);
@@ -2744,13 +2748,13 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2744
2748
  }));
2745
2749
  await Promise.all(L);
2746
2750
  };
2747
- return ge(
2751
+ return _e(
2748
2752
  () => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
2749
2753
  async () => {
2750
- await rs(), s.value = t.content, h.value = t == null ? void 0 : t.jsonContents;
2754
+ await ls(), s.value = t.content, h.value = t == null ? void 0 : t.jsonContents;
2751
2755
  },
2752
2756
  { deep: !0, immediate: !0 }
2753
- ), ge(
2757
+ ), _e(
2754
2758
  () => u.value,
2755
2759
  () => {
2756
2760
  var c;
@@ -2759,12 +2763,12 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2759
2763
  { deep: !0, immediate: !0 }
2760
2764
  ), (c, D) => {
2761
2765
  const L = J("svg-icon");
2762
- return S(), B("div", zn, [
2763
- (t == null ? void 0 : t.mode) === "edit" ? (S(), B("div", In, [
2766
+ return S(), N("div", zn, [
2767
+ (t == null ? void 0 : t.mode) === "edit" ? (S(), N("div", In, [
2764
2768
  P("div", Un, [
2765
2769
  F(Pt)
2766
2770
  ]),
2767
- (S(), B("div", {
2771
+ (S(), N("div", {
2768
2772
  class: "model-show",
2769
2773
  key: a.value
2770
2774
  }, [
@@ -2773,8 +2777,8 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2773
2777
  P("div", Bn, [
2774
2778
  F(Tt)
2775
2779
  ])
2776
- ])) : re("", !0),
2777
- (t == null ? void 0 : t.mode) === "view" ? (S(), B("div", Nn, [
2780
+ ])) : le("", !0),
2781
+ (t == null ? void 0 : t.mode) === "view" ? (S(), N("div", Nn, [
2778
2782
  (S(), ae(On, {
2779
2783
  platform: b(w),
2780
2784
  content: s.value,
@@ -2786,7 +2790,7 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2786
2790
  default: I(() => {
2787
2791
  var k;
2788
2792
  return [
2789
- ((k = t == null ? void 0 : t.jsonContents) == null ? void 0 : k.length) === 0 && (t != null && t.showButton) ? (S(), B("div", Vn, [
2793
+ ((k = t == null ? void 0 : t.jsonContents) == null ? void 0 : k.length) === 0 && (t != null && t.showButton) ? (S(), N("div", Vn, [
2790
2794
  P("div", {
2791
2795
  class: "import-button",
2792
2796
  onClick: v
@@ -2806,16 +2810,16 @@ const fn = /* @__PURE__ */ Fe(Hs, [["render", mn], ["__scopeId", "data-v-8c86ef5
2806
2810
  }),
2807
2811
  D[0] || (D[0] = P("div", { class: "import-trigger" }, he("导入模型"), -1))
2808
2812
  ])
2809
- ])) : re("", !0)
2813
+ ])) : le("", !0)
2810
2814
  ];
2811
2815
  }),
2812
2816
  _: 1
2813
2817
  }, 8, ["platform", "content", "jsonContents"]))
2814
- ])) : re("", !0)
2818
+ ])) : le("", !0)
2815
2819
  ]);
2816
2820
  };
2817
2821
  }
2818
- }, ra = /* @__PURE__ */ Fe($n, [["__scopeId", "data-v-4bf164f6"]]);
2822
+ }, la = /* @__PURE__ */ Le($n, [["__scopeId", "data-v-4bf164f6"]]);
2819
2823
  export {
2820
- ra as default
2824
+ la as default
2821
2825
  };