ss-component-new 1.2.5 → 1.2.6

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 (116) hide show
  1. package/dist/OrbitControls-Co_9huz0.cjs +1 -0
  2. package/dist/OrbitControls-DA4VpOM_.js +458 -0
  3. package/dist/STLLoader-DmGTF0Nv.js +657 -0
  4. package/dist/STLLoader-RU7KqloS.cjs +6 -0
  5. package/dist/{animationData-C-RfOMuc.cjs → animationData-B0K2ghu6.cjs} +1 -1
  6. package/dist/{animationData-y8dsr3_3.js → animationData-GqECkAbz.js} +4 -4
  7. package/dist/{array-A59WrroX.js → array-D65aMM6H.js} +1 -1
  8. package/dist/{array-BtZq8qON.cjs → array-DMPAgNcb.cjs} +1 -1
  9. package/dist/{iconfont-7cEds3Xj.js → iconfont-ljBfzBSE.js} +2 -2
  10. package/dist/{iconfont-CsuwJCas.cjs → iconfont-t5epssvu.cjs} +1 -1
  11. package/dist/{index-CIH_h4z2.js → index--rLSLEk3.js} +2 -2
  12. package/dist/{index-BstfB43W.cjs → index-67QO-qDa.cjs} +1 -1
  13. package/dist/{index-DTOlfKkI.cjs → index-87kRWJv8.cjs} +1 -1
  14. package/dist/{index-Y9ssLsHN.js → index-8Dyi4QCI.js} +183 -184
  15. package/dist/{index-CxOoKysB.cjs → index-8yRiF_z8.cjs} +1 -1
  16. package/dist/{index-CwnxmCht.js → index-9zEdW6xv.js} +2 -2
  17. package/dist/{index-DQP6am4n.cjs → index-B14iwpkN.cjs} +1 -1
  18. package/dist/{index-De5HlcQy.cjs → index-B7hLDNQ6.cjs} +1 -1
  19. package/dist/{index-Cli0OESv.js → index-BEoEUXZe.js} +10 -10
  20. package/dist/{index-DLBS_tgM.cjs → index-BHJ-tVLT.cjs} +1 -1
  21. package/dist/{index-DX6yycjK.js → index-BMMYAqF1.js} +1 -1
  22. package/dist/{index-DSb6SjE3.js → index-BNOx3XL5.js} +1 -1
  23. package/dist/{index-C5z5UbxK.cjs → index-BNvpuVyw.cjs} +1 -1
  24. package/dist/{index-1z9RrjZc.cjs → index-BOJUyAaV.cjs} +1 -1
  25. package/dist/{index-D2ZBhyUI.cjs → index-BYUPvuvs.cjs} +1 -1
  26. package/dist/{index-CKowlJfn.cjs → index-BaRkv5oc.cjs} +1 -1
  27. package/dist/{index-C1oE8qIa.cjs → index-BpR7F1Fp.cjs} +1 -1
  28. package/dist/{index-BLgbZvdb.js → index-Bs2K1FVH.js} +2 -2
  29. package/dist/{index-NcJvspI2.cjs → index-BsM9qdbC.cjs} +1 -1
  30. package/dist/{index-B8mnYY10.js → index-BsfJJu0R.js} +6 -6
  31. package/dist/{index-BCbxnJnH.js → index-Bw_JtuzR.js} +152 -152
  32. package/dist/{index-C461j30b.js → index-C1FOuBuy.js} +1 -1
  33. package/dist/{index-COKoQtgg.cjs → index-C5CKSB0e.cjs} +1 -1
  34. package/dist/{index-Bc4DtcwM.js → index-C8UOMPgt.js} +2 -2
  35. package/dist/{index-3W-Y0xpv.cjs → index-CA-FC_OL.cjs} +1 -1
  36. package/dist/{index-DNaqgwk-.js → index-CArSUfnV.js} +20 -20
  37. package/dist/{index-DU_1ks22.js → index-CBuqdsPh.js} +4 -4
  38. package/dist/{index-C_GxFCMg.js → index-CMCrQ36H.js} +3 -3
  39. package/dist/{index-DYU11-M5.js → index-CRj9VM12.js} +6 -6
  40. package/dist/{index-700WRwjB.js → index-CRrAiL5l.js} +4 -4
  41. package/dist/{index-Dzrvm_bg.js → index-CShBWCYm.js} +1 -1
  42. package/dist/{index-BwjuTBrR.js → index-CTkF2kl_.js} +1 -1
  43. package/dist/{index-COV5L9rX.cjs → index-CZaBF851.cjs} +1 -1
  44. package/dist/{index-DTCYk2wI.js → index-CbA74tCL.js} +2 -2
  45. package/dist/{index-DgymXtI4.js → index-CbDu4gfZ.js} +2 -2
  46. package/dist/{index-Bxyl11ug.cjs → index-CePZE-QA.cjs} +1 -1
  47. package/dist/{index-DIOVPmEg.cjs → index-CedgKpsz.cjs} +1 -1
  48. package/dist/{index-O8If5b4T.cjs → index-Cm3z0Vmi.cjs} +1 -1
  49. package/dist/{index-Cj8I0l8I.js → index-D-WcrLQv.js} +4 -4
  50. package/dist/{index-OsCw48Sn.cjs → index-D6mwkqWY.cjs} +1 -1
  51. package/dist/{index-BKJg9Djt.cjs → index-D8510-YQ.cjs} +1 -1
  52. package/dist/{index-Bb7Xqt9a.cjs → index-D9oqICYV.cjs} +1 -1
  53. package/dist/{index-BvApH9cT.js → index-DGepdvRW.js} +2 -2
  54. package/dist/{index-ByVPv-Yz.js → index-DGi-ANHr.js} +5 -5
  55. package/dist/{index-C4zGJtAL.js → index-DJGsDpDp.js} +3 -3
  56. package/dist/{index-CIcvrh1S.cjs → index-DPBmAgEA.cjs} +1 -1
  57. package/dist/{index-yQZ9D_YR.js → index-DPWc4No_.js} +2 -2
  58. package/dist/{index-CxnH4vfV.cjs → index-DSchKIyh.cjs} +1 -1
  59. package/dist/{index-CYp77kPp.js → index-DV_ZZQBO.js} +1 -1
  60. package/dist/{index-D8WF1ILq.cjs → index-DVmoPvzr.cjs} +1 -1
  61. package/dist/{index-DWrDb90D.cjs → index-DWs7-g1h.cjs} +1 -1
  62. package/dist/{index-HvKkM5Lq.cjs → index-DZ8a7BZ1.cjs} +1 -1
  63. package/dist/{index-Y6CA0bCm.cjs → index-DcUUpSE1.cjs} +1 -1
  64. package/dist/{index-CX_HTfbe.js → index-DvpVQvAe.js} +2 -2
  65. package/dist/{index-DYx6r9hf.cjs → index-FK1YYpjN.cjs} +1 -1
  66. package/dist/{index-BYDi6Owv.js → index-HvKjB6_P.js} +3 -3
  67. package/dist/{index-DPk1uhLn.js → index-LADv0t0E.js} +12 -12
  68. package/dist/{index-D3-XwkD_.js → index-_66uQhcl.js} +6 -6
  69. package/dist/{index-CJK74ski.cjs → index-_uyv24Pt.cjs} +1 -1
  70. package/dist/{index-CdELRsxO.js → index-g4qw0jRy.js} +6 -6
  71. package/dist/{index-GmZ7sLUW.cjs → index-mtuIEfrj.cjs} +1 -1
  72. package/dist/{index-CjI5pDiU.cjs → index-tttYIzsn.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLUx599w.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs} +1 -1
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js} +2 -2
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-llikchjv.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs} +1 -1
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D-2EkcBi.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js} +6 -6
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DiMotFL8.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs} +1 -1
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DodcXWpb.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js} +13 -13
  79. package/dist/{index.vue_vue_type_style_index_1_lang-CFvcnWO4.js → index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js} +1 -1
  80. package/dist/{index.vue_vue_type_style_index_1_lang-BJQzMo8k.cjs → index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs} +46 -45
  81. package/dist/{index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs → index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs} +1 -1
  82. package/dist/{index.vue_vue_type_style_index_1_lang-BMzWMYje.js → index.vue_vue_type_style_index_1_lang-hBa3nAgx.js} +5100 -5012
  83. package/dist/{isString-BNK38WbE.js → isString--ZVOCy4V.js} +1 -1
  84. package/dist/{isString-BmAegMGI.cjs → isString-CELwppr9.cjs} +1 -1
  85. package/dist/{main-C3-nmz2f.cjs → main-C6Iw-pcH.cjs} +1 -1
  86. package/dist/{main-DS4xl7Jm.js → main-CygliYyN.js} +5 -5
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +11 -11
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +12 -12
  92. package/dist/three-viewport-gizmo-BHznJ6W3.js +26015 -0
  93. package/dist/three-viewport-gizmo-BV37JzRa.cjs +4197 -0
  94. package/dist/{threeLatheView-BzHB-t_G.cjs → threeLatheView-CdUoB0Te.cjs} +1 -1
  95. package/dist/{threeLatheView-sTBlm0tt.js → threeLatheView-DzpPpdDr.js} +4 -4
  96. package/dist/{threeModel-BoNyasP7.cjs → threeModel-BUCLJlE5.cjs} +1 -1
  97. package/dist/{threeModel-CaxS7sQg.js → threeModel-BfMMeZCc.js} +5 -5
  98. package/dist/threePreview-BEqzg370.js +1972 -0
  99. package/dist/threePreview-C-JW_pcY.cjs +1 -0
  100. package/dist/{threeSceneView-wQdzFhdw.cjs → threeSceneView-BTsG2QJg.cjs} +1 -1
  101. package/dist/{threeSceneView-BIAOu60U.js → threeSceneView-DV5dsTZZ.js} +24 -24
  102. package/dist/{threeSceneViewForCPMPIP-XYA9PRYN.js → threeSceneViewForCPMPIP-Bexwqkry.js} +27 -27
  103. package/dist/{threeSceneViewForCPMPIP-Bkr16khM.cjs → threeSceneViewForCPMPIP-DwLWGNUd.cjs} +2 -2
  104. package/dist/{threeViewerHost-D1i6LUb6.cjs → threeViewerHost-CRqcYbJE.cjs} +1 -1
  105. package/dist/{threeViewerHost-BkOYLPdk.js → threeViewerHost-CTjd2V1D.js} +4 -4
  106. package/dist/{useRayCaster-CdDOIWOo.js → useRayCaster-D0_7oJan.js} +12 -12
  107. package/dist/{useRayCaster-0bnGc301.cjs → useRayCaster-DN56HpNP.cjs} +1 -1
  108. package/package.json +1 -1
  109. package/dist/OrbitControls-D1lM0xvz.cjs +0 -1
  110. package/dist/OrbitControls-DI8fa9gz.js +0 -419
  111. package/dist/STLLoader-KxFIlfhN.cjs +0 -6
  112. package/dist/STLLoader-memlq1bT.js +0 -609
  113. package/dist/three-viewport-gizmo-BxFHxv_x.js +0 -18587
  114. package/dist/three-viewport-gizmo-CwaL5sMV.cjs +0 -4195
  115. package/dist/threePreview-Cy7NY-gw.cjs +0 -1
  116. package/dist/threePreview-DPyqhBkJ.js +0 -1873
@@ -0,0 +1,6 @@
1
+ "use strict";const i=require("./three-viewport-gizmo-BV37JzRa.cjs"),H=/^[og]\s*(.+)?/,N=/^mtllib /,W=/^usemtl /,q=/^usemap /,G=/\s+/,T=new i.Vector3,z=new i.Vector3,D=new i.Vector3,E=new i.Vector3,C=new i.Vector3,I=new i.Color;function J(){const B={objects:[],object:{},vertices:[],normals:[],colors:[],uvs:[],materials:{},materialLibraries:[],startObject:function(t,s){if(this.object&&this.object.fromDeclaration===!1){this.object.name=t,this.object.fromDeclaration=s!==!1;return}const o=this.object&&typeof this.object.currentMaterial=="function"?this.object.currentMaterial():void 0;if(this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0),this.object={name:t||"",fromDeclaration:s!==!1,geometry:{vertices:[],normals:[],colors:[],uvs:[],hasUVIndices:!1},materials:[],smooth:!0,startMaterial:function(e,r){const u=this._finalize(!1);u&&(u.inherited||u.groupCount<=0)&&this.materials.splice(u.index,1);const h={index:this.materials.length,name:e||"",mtllib:Array.isArray(r)&&r.length>0?r[r.length-1]:"",smooth:u!==void 0?u.smooth:this.smooth,groupStart:u!==void 0?u.groupEnd:0,groupEnd:-1,groupCount:-1,inherited:!1,clone:function(c){const n={index:typeof c=="number"?c:this.index,name:this.name,mtllib:this.mtllib,smooth:this.smooth,groupStart:0,groupEnd:-1,groupCount:-1,inherited:!1};return n.clone=this.clone.bind(n),n}};return this.materials.push(h),h},currentMaterial:function(){if(this.materials.length>0)return this.materials[this.materials.length-1]},_finalize:function(e){const r=this.currentMaterial();if(r&&r.groupEnd===-1&&(r.groupEnd=this.geometry.vertices.length/3,r.groupCount=r.groupEnd-r.groupStart,r.inherited=!1),e&&this.materials.length>1)for(let u=this.materials.length-1;u>=0;u--)this.materials[u].groupCount<=0&&this.materials.splice(u,1);return e&&this.materials.length===0&&this.materials.push({name:"",smooth:this.smooth}),r}},o&&o.name&&typeof o.clone=="function"){const e=o.clone(0);e.inherited=!0,this.object.materials.push(e)}this.objects.push(this.object)},finalize:function(){this.object&&typeof this.object._finalize=="function"&&this.object._finalize(!0)},parseVertexIndex:function(t,s){const o=parseInt(t,10);return(o>=0?o-1:o+s/3)*3},parseNormalIndex:function(t,s){const o=parseInt(t,10);return(o>=0?o-1:o+s/3)*3},parseUVIndex:function(t,s){const o=parseInt(t,10);return(o>=0?o-1:o+s/2)*2},addVertex:function(t,s,o){const e=this.vertices,r=this.object.geometry.vertices;r.push(e[t+0],e[t+1],e[t+2]),r.push(e[s+0],e[s+1],e[s+2]),r.push(e[o+0],e[o+1],e[o+2])},addVertexPoint:function(t){const s=this.vertices;this.object.geometry.vertices.push(s[t+0],s[t+1],s[t+2])},addVertexLine:function(t){const s=this.vertices;this.object.geometry.vertices.push(s[t+0],s[t+1],s[t+2])},addNormal:function(t,s,o){const e=this.normals,r=this.object.geometry.normals;r.push(e[t+0],e[t+1],e[t+2]),r.push(e[s+0],e[s+1],e[s+2]),r.push(e[o+0],e[o+1],e[o+2])},addFaceNormal:function(t,s,o){const e=this.vertices,r=this.object.geometry.normals;T.fromArray(e,t),z.fromArray(e,s),D.fromArray(e,o),C.subVectors(D,z),E.subVectors(T,z),C.cross(E),C.normalize(),r.push(C.x,C.y,C.z),r.push(C.x,C.y,C.z),r.push(C.x,C.y,C.z)},addColor:function(t,s,o){const e=this.colors,r=this.object.geometry.colors;e[t]!==void 0&&r.push(e[t+0],e[t+1],e[t+2]),e[s]!==void 0&&r.push(e[s+0],e[s+1],e[s+2]),e[o]!==void 0&&r.push(e[o+0],e[o+1],e[o+2])},addUV:function(t,s,o){const e=this.uvs,r=this.object.geometry.uvs;r.push(e[t+0],e[t+1]),r.push(e[s+0],e[s+1]),r.push(e[o+0],e[o+1])},addDefaultUV:function(){const t=this.object.geometry.uvs;t.push(0,0),t.push(0,0),t.push(0,0)},addUVLine:function(t){const s=this.uvs;this.object.geometry.uvs.push(s[t+0],s[t+1])},addFace:function(t,s,o,e,r,u,h,c,n){const a=this.vertices.length;let l=this.parseVertexIndex(t,a),f=this.parseVertexIndex(s,a),m=this.parseVertexIndex(o,a);if(this.addVertex(l,f,m),this.addColor(l,f,m),h!==void 0&&h!==""){const g=this.normals.length;l=this.parseNormalIndex(h,g),f=this.parseNormalIndex(c,g),m=this.parseNormalIndex(n,g),this.addNormal(l,f,m)}else this.addFaceNormal(l,f,m);if(e!==void 0&&e!==""){const g=this.uvs.length;l=this.parseUVIndex(e,g),f=this.parseUVIndex(r,g),m=this.parseUVIndex(u,g),this.addUV(l,f,m),this.object.geometry.hasUVIndices=!0}else this.addDefaultUV()},addPointGeometry:function(t){this.object.geometry.type="Points";const s=this.vertices.length;for(let o=0,e=t.length;o<e;o++){const r=this.parseVertexIndex(t[o],s);this.addVertexPoint(r),this.addColor(r)}},addLineGeometry:function(t,s){this.object.geometry.type="Line";const o=this.vertices.length,e=this.uvs.length;for(let r=0,u=t.length;r<u;r++)this.addVertexLine(this.parseVertexIndex(t[r],o));for(let r=0,u=s.length;r<u;r++)this.addUVLine(this.parseUVIndex(s[r],e))}};return B.startObject("",!1),B}class Z extends i.Loader{constructor(t){super(t),this.materials=null}load(t,s,o,e){const r=this,u=new i.FileLoader(this.manager);u.setPath(this.path),u.setRequestHeader(this.requestHeader),u.setWithCredentials(this.withCredentials),u.load(t,function(h){try{s(r.parse(h))}catch(c){e?e(c):console.error(c),r.manager.itemError(t)}},o,e)}setMaterials(t){return this.materials=t,this}parse(t){const s=new J;t.indexOf(`\r
2
+ `)!==-1&&(t=t.replace(/\r\n/g,`
3
+ `)),t.indexOf(`\\
4
+ `)!==-1&&(t=t.replace(/\\\n/g,""));const o=t.split(`
5
+ `);let e=[];for(let h=0,c=o.length;h<c;h++){const n=o[h].trimStart();if(n.length===0)continue;const a=n.charAt(0);if(a!=="#")if(a==="v"){const l=n.split(G);switch(l[0]){case"v":s.vertices.push(parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3])),l.length>=7?(I.setRGB(parseFloat(l[4]),parseFloat(l[5]),parseFloat(l[6]),i.SRGBColorSpace),s.colors.push(I.r,I.g,I.b)):s.colors.push(void 0,void 0,void 0);break;case"vn":s.normals.push(parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3]));break;case"vt":s.uvs.push(parseFloat(l[1]),parseFloat(l[2]));break}}else if(a==="f"){const f=n.slice(1).trim().split(G),m=[];for(let p=0,b=f.length;p<b;p++){const x=f[p];if(x.length>0){const w=x.split("/");m.push(w)}}const g=m[0];for(let p=1,b=m.length-1;p<b;p++){const x=m[p],w=m[p+1];s.addFace(g[0],x[0],w[0],g[1],x[1],w[1],g[2],x[2],w[2])}}else if(a==="l"){const l=n.substring(1).trim().split(" ");let f=[];const m=[];if(n.indexOf("/")===-1)f=l;else for(let g=0,p=l.length;g<p;g++){const b=l[g].split("/");b[0]!==""&&f.push(b[0]),b[1]!==""&&m.push(b[1])}s.addLineGeometry(f,m)}else if(a==="p"){const f=n.slice(1).trim().split(" ");s.addPointGeometry(f)}else if((e=H.exec(n))!==null){const l=(" "+e[0].slice(1).trim()).slice(1);s.startObject(l)}else if(W.test(n))s.object.startMaterial(n.substring(7).trim(),s.materialLibraries);else if(N.test(n))s.materialLibraries.push(n.substring(7).trim());else if(q.test(n))console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');else if(a==="s"){if(e=n.split(" "),e.length>1){const f=e[1].trim().toLowerCase();s.object.smooth=f!=="0"&&f!=="off"}else s.object.smooth=!0;const l=s.object.currentMaterial();l&&(l.smooth=s.object.smooth)}else{if(n==="\0")continue;console.warn('THREE.OBJLoader: Unexpected line: "'+n+'"')}}s.finalize();const r=new i.Group;if(r.materialLibraries=[].concat(s.materialLibraries),!(s.objects.length===1&&s.objects[0].geometry.vertices.length===0)===!0)for(let h=0,c=s.objects.length;h<c;h++){const n=s.objects[h],a=n.geometry,l=n.materials,f=a.type==="Line",m=a.type==="Points";let g=!1;if(a.vertices.length===0)continue;const p=new i.BufferGeometry;p.setAttribute("position",new i.Float32BufferAttribute(a.vertices,3)),a.normals.length>0&&p.setAttribute("normal",new i.Float32BufferAttribute(a.normals,3)),a.colors.length>0&&(g=!0,p.setAttribute("color",new i.Float32BufferAttribute(a.colors,3))),a.hasUVIndices===!0&&p.setAttribute("uv",new i.Float32BufferAttribute(a.uvs,2));const b=[];for(let w=0,j=l.length;w<j;w++){const F=l[w],M=F.name+"_"+F.smooth+"_"+g;let d=s.materials[M];if(this.materials!==null){if(d=this.materials.create(F.name),f&&d&&!(d instanceof i.LineBasicMaterial)){const y=new i.LineBasicMaterial;i.Material.prototype.copy.call(y,d),y.color.copy(d.color),d=y}else if(m&&d&&!(d instanceof i.PointsMaterial)){const y=new i.PointsMaterial({size:10,sizeAttenuation:!1});i.Material.prototype.copy.call(y,d),y.color.copy(d.color),y.map=d.map,d=y}}d===void 0&&(f?d=new i.LineBasicMaterial:m?d=new i.PointsMaterial({size:1,sizeAttenuation:!1}):d=new i.MeshPhongMaterial,d.name=F.name,d.flatShading=!F.smooth,d.vertexColors=g,s.materials[M]=d),b.push(d)}let x;if(b.length>1){for(let w=0,j=l.length;w<j;w++){const F=l[w];p.addGroup(F.groupStart,F.groupCount,w)}f?x=new i.LineSegments(p,b):m?x=new i.Points(p,b):x=new i.Mesh(p,b)}else f?x=new i.LineSegments(p,b[0]):m?x=new i.Points(p,b[0]):x=new i.Mesh(p,b[0]);x.name=n.name,r.add(x)}else if(s.vertices.length>0){const h=new i.PointsMaterial({size:1,sizeAttenuation:!1}),c=new i.BufferGeometry;c.setAttribute("position",new i.Float32BufferAttribute(s.vertices,3)),s.colors.length>0&&s.colors[0]!==void 0&&(c.setAttribute("color",new i.Float32BufferAttribute(s.colors,3)),h.vertexColors=!0);const n=new i.Points(c,h);r.add(n)}return r}}class X extends i.Loader{constructor(t){super(t)}load(t,s,o,e){const r=this,u=this.path===""?i.LoaderUtils.extractUrlBase(t):this.path,h=new i.FileLoader(this.manager);h.setPath(this.path),h.setRequestHeader(this.requestHeader),h.setWithCredentials(this.withCredentials),h.load(t,function(c){try{s(r.parse(c,u))}catch(n){e?e(n):console.error(n),r.manager.itemError(t)}},o,e)}setMaterialOptions(t){return this.materialOptions=t,this}parse(t,s){const o=t.split(`
6
+ `);let e={};const r=/\s+/,u={};for(let c=0;c<o.length;c++){let n=o[c];if(n=n.trim(),n.length===0||n.charAt(0)==="#")continue;const a=n.indexOf(" ");let l=a>=0?n.substring(0,a):n;l=l.toLowerCase();let f=a>=0?n.substring(a+1):"";if(f=f.trim(),l==="newmtl")e={name:f},u[f]=e;else if(l==="ka"||l==="kd"||l==="ks"||l==="ke"){const m=f.split(r,3);e[l]=[parseFloat(m[0]),parseFloat(m[1]),parseFloat(m[2])]}else e[l]=f}const h=new Y(this.resourcePath||s,this.materialOptions);return h.setCrossOrigin(this.crossOrigin),h.setManager(this.manager),h.setMaterials(u),h}}class Y{constructor(t="",s={}){this.baseUrl=t,this.options=s,this.materialsInfo={},this.materials={},this.materialsArray=[],this.nameLookup={},this.crossOrigin="anonymous",this.side=this.options.side!==void 0?this.options.side:i.FrontSide,this.wrap=this.options.wrap!==void 0?this.options.wrap:i.RepeatWrapping}setCrossOrigin(t){return this.crossOrigin=t,this}setManager(t){this.manager=t}setMaterials(t){this.materialsInfo=this.convert(t),this.materials={},this.materialsArray=[],this.nameLookup={}}convert(t){if(!this.options)return t;const s={};for(const o in t){const e=t[o],r={};s[o]=r;for(const u in e){let h=!0,c=e[u];const n=u.toLowerCase();switch(n){case"kd":case"ka":case"ks":this.options&&this.options.normalizeRGB&&(c=[c[0]/255,c[1]/255,c[2]/255]),this.options&&this.options.ignoreZeroRGBs&&c[0]===0&&c[1]===0&&c[2]===0&&(h=!1);break}h&&(r[n]=c)}}return s}preload(){for(const t in this.materialsInfo)this.create(t)}getIndex(t){return this.nameLookup[t]}getAsArray(){let t=0;for(const s in this.materialsInfo)this.materialsArray[t]=this.create(s),this.nameLookup[s]=t,t++;return this.materialsArray}create(t){return this.materials[t]===void 0&&this.createMaterial_(t),this.materials[t]}createMaterial_(t){const s=this,o=this.materialsInfo[t],e={name:t,side:this.side};function r(h,c){return typeof c!="string"||c===""?"":/^https?:\/\//i.test(c)?c:h+c}function u(h,c){if(e[h])return;const n=s.getTextureParams(c,e),a=s.loadTexture(r(s.baseUrl,n.url));a.repeat.copy(n.scale),a.offset.copy(n.offset),a.wrapS=s.wrap,a.wrapT=s.wrap,(h==="map"||h==="emissiveMap")&&(a.colorSpace=i.SRGBColorSpace),e[h]=a}for(const h in o){const c=o[h];let n;if(c!=="")switch(h.toLowerCase()){case"kd":e.color=i.ColorManagement.colorSpaceToWorking(new i.Color().fromArray(c),i.SRGBColorSpace);break;case"ks":e.specular=i.ColorManagement.colorSpaceToWorking(new i.Color().fromArray(c),i.SRGBColorSpace);break;case"ke":e.emissive=i.ColorManagement.colorSpaceToWorking(new i.Color().fromArray(c),i.SRGBColorSpace);break;case"map_kd":u("map",c);break;case"map_ks":u("specularMap",c);break;case"map_ke":u("emissiveMap",c);break;case"norm":u("normalMap",c);break;case"map_bump":case"bump":u("bumpMap",c);break;case"disp":u("displacementMap",c);break;case"map_d":u("alphaMap",c),e.transparent=!0;break;case"ns":e.shininess=parseFloat(c);break;case"d":n=parseFloat(c),n<1&&(e.opacity=n,e.transparent=!0);break;case"tr":n=parseFloat(c),this.options&&this.options.invertTrProperty&&(n=1-n),n>0&&(e.opacity=1-n,e.transparent=!0);break}}return this.materials[t]=new i.MeshPhongMaterial(e),this.materials[t]}getTextureParams(t,s){const o={scale:new i.Vector2(1,1),offset:new i.Vector2(0,0)},e=t.split(/\s+/);let r;return r=e.indexOf("-bm"),r>=0&&(s.bumpScale=parseFloat(e[r+1]),e.splice(r,2)),r=e.indexOf("-mm"),r>=0&&(s.displacementBias=parseFloat(e[r+1]),s.displacementScale=parseFloat(e[r+2]),e.splice(r,3)),r=e.indexOf("-s"),r>=0&&(o.scale.set(parseFloat(e[r+1]),parseFloat(e[r+2])),e.splice(r,4)),r=e.indexOf("-o"),r>=0&&(o.offset.set(parseFloat(e[r+1]),parseFloat(e[r+2])),e.splice(r,4)),o.url=e.join(" ").trim(),o}loadTexture(t,s,o,e,r){const u=this.manager!==void 0?this.manager:i.DefaultLoadingManager;let h=u.getHandler(t);h===null&&(h=new i.TextureLoader(u)),h.setCrossOrigin&&h.setCrossOrigin(this.crossOrigin);const c=h.load(t,o,e,r);return s!==void 0&&(c.mapping=s),c}}class K extends i.Loader{constructor(t){super(t)}load(t,s,o,e){const r=this,u=new i.FileLoader(this.manager);u.setPath(this.path),u.setResponseType("arraybuffer"),u.setRequestHeader(this.requestHeader),u.setWithCredentials(this.withCredentials),u.load(t,function(h){try{s(r.parse(h))}catch(c){e?e(c):console.error(c),r.manager.itemError(t)}},o,e)}parse(t){function s(n){const a=new DataView(n),l=32/8*3+32/8*3*3+16/8,f=a.getUint32(80,!0);if(80+32/8+f*l===a.byteLength)return!0;const g=[115,111,108,105,100];for(let p=0;p<5;p++)if(o(g,a,p))return!1;return!0}function o(n,a,l){for(let f=0,m=n.length;f<m;f++)if(n[f]!==a.getUint8(l+f))return!1;return!0}function e(n){const a=new DataView(n),l=a.getUint32(80,!0);let f,m,g,p=!1,b,x,w,j,F;for(let v=0;v<70;v++)a.getUint32(v,!1)==1129270351&&a.getUint8(v+4)==82&&a.getUint8(v+5)==61&&(p=!0,b=new Float32Array(l*3*3),x=a.getUint8(v+6)/255,w=a.getUint8(v+7)/255,j=a.getUint8(v+8)/255,F=a.getUint8(v+9)/255);const M=84,d=12*4+2,y=new i.BufferGeometry,V=new Float32Array(l*3*3),_=new Float32Array(l*3*3),S=new i.Color;for(let v=0;v<l;v++){const k=M+v*d,O=a.getFloat32(k,!0),U=a.getFloat32(k+4,!0),P=a.getFloat32(k+8,!0);if(p){const L=a.getUint16(k+48,!0);(L&32768)===0?(f=(L&31)/31,m=(L>>5&31)/31,g=(L>>10&31)/31):(f=x,m=w,g=j)}for(let L=1;L<=3;L++){const R=k+L*12,A=v*3*3+(L-1)*3;V[A]=a.getFloat32(R,!0),V[A+1]=a.getFloat32(R+4,!0),V[A+2]=a.getFloat32(R+8,!0),_[A]=O,_[A+1]=U,_[A+2]=P,p&&(S.setRGB(f,m,g,i.SRGBColorSpace),b[A]=S.r,b[A+1]=S.g,b[A+2]=S.b)}}return y.setAttribute("position",new i.BufferAttribute(V,3)),y.setAttribute("normal",new i.BufferAttribute(_,3)),p&&(y.setAttribute("color",new i.BufferAttribute(b,3)),y.hasColors=!0,y.alpha=F),y}function r(n){const a=new i.BufferGeometry,l=/solid([\s\S]*?)endsolid/g,f=/facet([\s\S]*?)endfacet/g,m=/solid\s(.+)/;let g=0;const p=/[\s]+([+-]?(?:\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?)/.source,b=new RegExp("vertex"+p+p+p,"g"),x=new RegExp("normal"+p+p+p,"g"),w=[],j=[],F=[],M=new i.Vector3;let d,y=0,V=0,_=0;for(;(d=l.exec(n))!==null;){V=_;const S=d[0],v=(d=m.exec(S))!==null?d[1]:"";for(F.push(v);(d=f.exec(S))!==null;){let U=0,P=0;const L=d[0];for(;(d=x.exec(L))!==null;)M.x=parseFloat(d[1]),M.y=parseFloat(d[2]),M.z=parseFloat(d[3]),P++;for(;(d=b.exec(L))!==null;)w.push(parseFloat(d[1]),parseFloat(d[2]),parseFloat(d[3])),j.push(M.x,M.y,M.z),U++,_++;P!==1&&console.error("THREE.STLLoader: Something isn't right with the normal of face number "+g),U!==3&&console.error("THREE.STLLoader: Something isn't right with the vertices of face number "+g),g++}const k=V,O=_-V;a.userData.groupNames=F,a.addGroup(k,O,y),y++}return a.setAttribute("position",new i.Float32BufferAttribute(w,3)),a.setAttribute("normal",new i.Float32BufferAttribute(j,3)),a}function u(n){return typeof n!="string"?new TextDecoder().decode(n):n}function h(n){if(typeof n=="string"){const a=new Uint8Array(n.length);for(let l=0;l<n.length;l++)a[l]=n.charCodeAt(l)&255;return a.buffer||a}else return n}const c=h(t);return s(c)?e(c):r(u(t))}}exports.MTLLoader=X;exports.OBJLoader=Z;exports.STLLoader=K;
@@ -1 +1 @@
1
- "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-BJQzMo8k.cjs"),U=require("./threeViewerHost-D1i6LUb6.cjs"),T=require("./index-1z9RrjZc.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await U.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长||0,u=m.外径||0;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let $=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w)||[];return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let $=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
1
+ "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs"),U=require("./threeViewerHost-CRqcYbJE.cjs"),T=require("./index-BOJUyAaV.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await U.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长||0,u=m.外径||0;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let $=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w)||[];return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let $=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
@@ -1,7 +1,7 @@
1
- import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
2
- import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-BMzWMYje.js";
3
- import { d as I } from "./threeViewerHost-BkOYLPdk.js";
4
- import { c as P } from "./index-CYp77kPp.js";
1
+ import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
2
+ import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-hBa3nAgx.js";
3
+ import { d as I } from "./threeViewerHost-CTjd2V1D.js";
4
+ import { c as P } from "./index-DV_ZZQBO.js";
5
5
  function N(r) {
6
6
  try {
7
7
  const c = new URL(r).pathname, s = c.substring(c.lastIndexOf("/") + 1);
@@ -1,5 +1,5 @@
1
1
  import { watch as Ee, unref as Ue, getCurrentScope as Le, onScopeDispose as We, computed as Oe, ref as q, reactive as De } from "vue";
2
- import { c as s } from "./index-CYp77kPp.js";
2
+ import { c as s } from "./index-DV_ZZQBO.js";
3
3
  const Je = typeof window < "u";
4
4
  var ie;
5
5
  Je && ((ie = window == null ? void 0 : window.navigator) != null && ie.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -1,4 +1,4 @@
1
- "use strict";const z=require("vue"),i=require("./index-1z9RrjZc.cjs"),Me=typeof window<"u";var le;Me&&((le=window==null?void 0:window.navigator)!=null&&le.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ue(e){return e==null}function Ee(){}const Le=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Le)));function We(){const e=new Map;return{on(t,r){const n=e.get(t);n!=null&&n.add(r)||e.set(t,new Set([r]))},off(t,r){const n=e.get(t);n&&n.delete(r)},clear(t){const r=e.get(t);r&&r.clear()},clearAll(){e.clear()},emit(t,...r){const n=e.get(t);n&&n.forEach(o=>{o(...r)})}}}function Ve(e,t=16){if(typeof e!="function")return Ee;const r=(...a)=>{e(...a)};if(t<=0)return Oe(r);let n=0,o;return function(...a){const l=Date.now(),s=l-n;clearTimeout(o),s>=t?(n=l,r(...a)):o=setTimeout(()=>{n=Date.now(),r(...a)},Math.max(0,t-s))}}function Je(e,t=100){if(typeof e!="function")return Ee;const r=(...o)=>{e(...o)};if(t<=0)return Oe(r);let n;return function(...o){clearTimeout(n),n=setTimeout(()=>{r(...o)},t)}}function Oe(e){if(typeof e!="function")return e;let t=!1,r,n;return function(...o){return r=o,t||(t=!0,n=Promise.resolve().then(()=>(t=!1,n=void 0,e(...r)))),n}}const U=new Set,Te=new WeakMap;function Ie(){U.forEach(e=>{e(...Te.get(e))}),U.clear()}function Ge(e,...t){if(typeof e!="function")return e;Te.set(e,t),!U.has(e)&&(U.add(e),U.size===1&&Promise.resolve().then(Ie))}const q=typeof window<"u";var ie;q&&(ie=window==null?void 0:window.navigator)!=null&&ie.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function se(e){return e!=null}function ce(){}const Xe=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Xe)));const Ze=q&&("ontouchstart"in window||Ke()>0),He=Ze?"pointerdown":"click";function Ke(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Ye(e,t,r=window.Event){const{type:n,bubbles:o=!1,cancelable:a=!1,...l}=t;if(!se(n)||n==="")return!1;let s;return se(r)?s=new r(n,{bubbles:o,cancelable:a}):(s=document.createEvent("HTMLEvents"),s.initEvent(n,o,a)),Object.assign(s,l),e.dispatchEvent(s)}const Qe="clickoutside",et=new Set;q&&document.addEventListener(He,e=>{const t=e.target,r=e.composedPath&&e.composedPath();et.forEach(n=>{n!==t&&(r?!r.includes(n):!n.contains(t))&&(!n.__transferElement||n.__transferElement!==t&&!n.__transferElement.contains(t))&&Ye(n,{type:Qe})})},!0);const tt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let H;if(q){for(const e of tt)if(e[1]in document){H=e;break}}z.computed(()=>!1);const rt=new Set,nt=new WeakMap;if(q&&H){const e=H[2],t=H[4];document.addEventListener(t,()=>{if(rt.forEach(r=>{r.value=!1}),document[e]){const r=nt.get(document[e]);r&&(r.value=!0)}},!1)}const De=new Map;De.set("x",0);De.set("y",0);var N=[],ot=function(){return N.some(function(e){return e.activeTargets.length>0})},at=function(){return N.some(function(e){return e.skippedTargets.length>0})},fe="ResizeObserver loop completed with undelivered notifications.",lt=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:fe}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=fe),window.dispatchEvent(e)},W;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(W||(W={}));var $=function(e){return Object.freeze(e)},it=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,$(this)}return e}(),Se=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,l=t.bottom,s=t.left,m=t.width,f=t.height;return{x:r,y:n,top:o,right:a,bottom:l,left:s,width:m,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ae=function(e){return e instanceof SVGElement&&"getBBox"in e},Ae=function(e){if(ae(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,l=o.offsetHeight;return!(a||l||e.getClientRects().length)},ue=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},st=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},L=typeof window<"u"?window:{},I=new WeakMap,de=/auto|scroll/,ct=/^tb|vertical/,ft=/msie|trident/i.test(L.navigator&&L.navigator.userAgent),S=function(e){return parseFloat(e||"0")},C=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new it((r?t:e)||0,(r?e:t)||0)},pe=$({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new Se(0,0,0,0)}),Be=function(e,t){if(t===void 0&&(t=!1),I.has(e)&&!t)return I.get(e);if(Ae(e))return I.set(e,pe),pe;var r=getComputedStyle(e),n=ae(e)&&e.ownerSVGElement&&e.getBBox(),o=!ft&&r.boxSizing==="border-box",a=ct.test(r.writingMode||""),l=!n&&de.test(r.overflowY||""),s=!n&&de.test(r.overflowX||""),m=n?0:S(r.paddingTop),f=n?0:S(r.paddingRight),A=n?0:S(r.paddingBottom),c=n?0:S(r.paddingLeft),x=n?0:S(r.borderTopWidth),u=n?0:S(r.borderRightWidth),d=n?0:S(r.borderBottomWidth),T=n?0:S(r.borderLeftWidth),y=c+f,p=m+A,g=T+u,b=x+d,_=s?e.offsetHeight-b-e.clientHeight:0,j=l?e.offsetWidth-g-e.clientWidth:0,F=o?y+g:0,R=o?p+b:0,D=n?n.width:S(r.width)-F-j,B=n?n.height:S(r.height)-R-_,V=D+y+j+g,J=B+p+_+b,P=$({devicePixelContentBoxSize:C(Math.round(D*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:C(V,J,a),contentBoxSize:C(D,B,a),contentRect:new Se(c,m,D,B)});return I.set(e,P),P},_e=function(e,t,r){var n=Be(e,r),o=n.borderBoxSize,a=n.contentBoxSize,l=n.devicePixelContentBoxSize;switch(t){case W.DEVICE_PIXEL_CONTENT_BOX:return l;case W.BORDER_BOX:return o;default:return a}},ut=function(){function e(t){var r=Be(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=$([r.borderBoxSize]),this.contentBoxSize=$([r.contentBoxSize]),this.devicePixelContentBoxSize=$([r.devicePixelContentBoxSize])}return e}(),je=function(e){if(Ae(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},dt=function(){var e=1/0,t=[];N.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(s){var m=new ut(s.target),f=je(s.target);l.push(m),s.lastReportedSize=_e(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e},he=function(e){N.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(je(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},pt=function(){var e=0;for(he(e);ot();)e=dt(),he(e);return at()&&lt(),e>0},ee,Fe=[],ht=function(){return Fe.splice(0).forEach(function(e){return e()})},gt=function(e){if(!ee){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return ht()}).observe(r,n),ee=function(){r.textContent="".concat(t?t--:t++)}}Fe.push(e),ee()},bt=function(e){gt(function(){requestAnimationFrame(e)})},K=0,mt=function(){return!!K},yt=250,vt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ge=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],be=function(e){return e===void 0&&(e=0),Date.now()+e},te=!1,kt=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=yt),!te){te=!0;var n=be(t);bt(function(){var o=!1;try{o=pt()}finally{if(te=!1,t=n-be(),!mt())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,vt)};document.body?r():L.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ge.forEach(function(r){return L.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ge.forEach(function(r){return L.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),oe=new kt,me=function(e){!K&&e>0&&oe.start(),K+=e,!K&&oe.stop()},wt=function(e){return!ae(e)&&!st(e)&&getComputedStyle(e).display==="inline"},zt=function(){function e(t,r){this.target=t,this.observedBox=r||W.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=_e(this.target,this.observedBox,!0);return wt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xt=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),G=new WeakMap,ye=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},X=function(){function e(){}return e.connect=function(t,r){var n=new xt(t,r);G.set(t,n)},e.observe=function(t,r,n){var o=G.get(t),a=o.observationTargets.length===0;ye(o.observationTargets,r)<0&&(a&&N.push(o),o.observationTargets.push(new zt(r,n&&n.box)),me(1),oe.schedule())},e.unobserve=function(t,r){var n=G.get(t),o=ye(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&N.splice(N.indexOf(n),1),n.observationTargets.splice(o,1),me(-1))},e.disconnect=function(t){var r=this,n=G.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Et=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q=new WeakMap;function Ot(e){var t;for(let r=0,n=e.length;r<n;++r){const o=e[r],a=Q.get(o.target);if(typeof a=="function"){const{inlineSize:l,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:m,offsetHeight:f}=o.target;a(Object.assign(o,{offsetWidth:m,offsetHeight:f,width:l??m,height:s??f}))}}}const Re=new(q&&window.ResizeObserver||Et)(Ot);function ve(e,t){Q.set(e,t),Re.observe(e)}function ke(e){Q.has(e)&&(Re.unobserve(e),Q.delete(e))}function Tt(e={}){let t=ce;const r=z.watch(()=>z.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(ve(o,e.onResize),t=()=>{ke(o),t=ce})},{immediate:!0}),n=()=>{r(),t()};return z.getCurrentScope()&&z.onScopeDispose(n),{observeResize:ve,unobserveResize:ke,unobserve:n}}const Dt=z.ref(!1);z.computed(()=>Dt.value);const we="__theme_style__",re="__theme_observer__",ze=z.reactive(new Map),xe=new Map;z.watch(ze,()=>{if(!q)return;xe.clear();const e=document.head.querySelector(`#${we}`);e&&document.head.removeChild(e);const t=document.createElement("style");let r=`.${re} { width: 1px }`,n=1;for(const[o,[a,l]]of ze.entries())r+=` html.${a} .${re}, .${l} .${re} { width: ${++n}px }`,xe.set(n,o);t.textContent=r,t.id=we,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();const w=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],k=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];z.ref(0);const Ne=e=>{var t,r;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let n=[];return(r=Object.entries(e))==null||r.forEach(([o,a])=>{var s,m;let l=[];if(l.push(o),((s=Object.keys(a))==null?void 0:s.length)>0){let f=[];(m=Ne(a))==null||m.forEach(A=>{f.push(A)}),f==null||f.forEach(A=>{l.push(A)})}n.push(l)}),n}},St=(e,t)=>{var n;let r=t;return Array.isArray(Object.keys(e))&&((n=Object.entries(e))==null||n.forEach(([o,a])=>{let l=[o];if(typeof a=="object"&&a!==null){let s=Ne(a);s==null||s.forEach(m=>{l.push(m)})}r.push(l)})),r},At=e=>{const t={};return e.forEach(n=>{const o=n.split("/");let a=t;o.forEach(l=>{a[l]||(a[l]={}),a=a[l]})}),St(t,[])},Bt=e=>At(e);z.ref(0);z.ref(1);const $e=e=>{let t;e.replaceAll(" ",`\r
1
+ "use strict";const z=require("vue"),i=require("./index-BOJUyAaV.cjs"),Me=typeof window<"u";var le;Me&&((le=window==null?void 0:window.navigator)!=null&&le.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ue(e){return e==null}function Ee(){}const Le=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Le)));function We(){const e=new Map;return{on(t,r){const n=e.get(t);n!=null&&n.add(r)||e.set(t,new Set([r]))},off(t,r){const n=e.get(t);n&&n.delete(r)},clear(t){const r=e.get(t);r&&r.clear()},clearAll(){e.clear()},emit(t,...r){const n=e.get(t);n&&n.forEach(o=>{o(...r)})}}}function Ve(e,t=16){if(typeof e!="function")return Ee;const r=(...a)=>{e(...a)};if(t<=0)return Oe(r);let n=0,o;return function(...a){const l=Date.now(),s=l-n;clearTimeout(o),s>=t?(n=l,r(...a)):o=setTimeout(()=>{n=Date.now(),r(...a)},Math.max(0,t-s))}}function Je(e,t=100){if(typeof e!="function")return Ee;const r=(...o)=>{e(...o)};if(t<=0)return Oe(r);let n;return function(...o){clearTimeout(n),n=setTimeout(()=>{r(...o)},t)}}function Oe(e){if(typeof e!="function")return e;let t=!1,r,n;return function(...o){return r=o,t||(t=!0,n=Promise.resolve().then(()=>(t=!1,n=void 0,e(...r)))),n}}const U=new Set,Te=new WeakMap;function Ie(){U.forEach(e=>{e(...Te.get(e))}),U.clear()}function Ge(e,...t){if(typeof e!="function")return e;Te.set(e,t),!U.has(e)&&(U.add(e),U.size===1&&Promise.resolve().then(Ie))}const q=typeof window<"u";var ie;q&&(ie=window==null?void 0:window.navigator)!=null&&ie.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function se(e){return e!=null}function ce(){}const Xe=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Xe)));const Ze=q&&("ontouchstart"in window||Ke()>0),He=Ze?"pointerdown":"click";function Ke(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Ye(e,t,r=window.Event){const{type:n,bubbles:o=!1,cancelable:a=!1,...l}=t;if(!se(n)||n==="")return!1;let s;return se(r)?s=new r(n,{bubbles:o,cancelable:a}):(s=document.createEvent("HTMLEvents"),s.initEvent(n,o,a)),Object.assign(s,l),e.dispatchEvent(s)}const Qe="clickoutside",et=new Set;q&&document.addEventListener(He,e=>{const t=e.target,r=e.composedPath&&e.composedPath();et.forEach(n=>{n!==t&&(r?!r.includes(n):!n.contains(t))&&(!n.__transferElement||n.__transferElement!==t&&!n.__transferElement.contains(t))&&Ye(n,{type:Qe})})},!0);const tt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let H;if(q){for(const e of tt)if(e[1]in document){H=e;break}}z.computed(()=>!1);const rt=new Set,nt=new WeakMap;if(q&&H){const e=H[2],t=H[4];document.addEventListener(t,()=>{if(rt.forEach(r=>{r.value=!1}),document[e]){const r=nt.get(document[e]);r&&(r.value=!0)}},!1)}const De=new Map;De.set("x",0);De.set("y",0);var N=[],ot=function(){return N.some(function(e){return e.activeTargets.length>0})},at=function(){return N.some(function(e){return e.skippedTargets.length>0})},fe="ResizeObserver loop completed with undelivered notifications.",lt=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:fe}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=fe),window.dispatchEvent(e)},W;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(W||(W={}));var $=function(e){return Object.freeze(e)},it=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,$(this)}return e}(),Se=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,l=t.bottom,s=t.left,m=t.width,f=t.height;return{x:r,y:n,top:o,right:a,bottom:l,left:s,width:m,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ae=function(e){return e instanceof SVGElement&&"getBBox"in e},Ae=function(e){if(ae(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,l=o.offsetHeight;return!(a||l||e.getClientRects().length)},ue=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},st=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},L=typeof window<"u"?window:{},I=new WeakMap,de=/auto|scroll/,ct=/^tb|vertical/,ft=/msie|trident/i.test(L.navigator&&L.navigator.userAgent),S=function(e){return parseFloat(e||"0")},C=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new it((r?t:e)||0,(r?e:t)||0)},pe=$({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new Se(0,0,0,0)}),Be=function(e,t){if(t===void 0&&(t=!1),I.has(e)&&!t)return I.get(e);if(Ae(e))return I.set(e,pe),pe;var r=getComputedStyle(e),n=ae(e)&&e.ownerSVGElement&&e.getBBox(),o=!ft&&r.boxSizing==="border-box",a=ct.test(r.writingMode||""),l=!n&&de.test(r.overflowY||""),s=!n&&de.test(r.overflowX||""),m=n?0:S(r.paddingTop),f=n?0:S(r.paddingRight),A=n?0:S(r.paddingBottom),c=n?0:S(r.paddingLeft),x=n?0:S(r.borderTopWidth),u=n?0:S(r.borderRightWidth),d=n?0:S(r.borderBottomWidth),T=n?0:S(r.borderLeftWidth),y=c+f,p=m+A,g=T+u,b=x+d,_=s?e.offsetHeight-b-e.clientHeight:0,j=l?e.offsetWidth-g-e.clientWidth:0,F=o?y+g:0,R=o?p+b:0,D=n?n.width:S(r.width)-F-j,B=n?n.height:S(r.height)-R-_,V=D+y+j+g,J=B+p+_+b,P=$({devicePixelContentBoxSize:C(Math.round(D*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:C(V,J,a),contentBoxSize:C(D,B,a),contentRect:new Se(c,m,D,B)});return I.set(e,P),P},_e=function(e,t,r){var n=Be(e,r),o=n.borderBoxSize,a=n.contentBoxSize,l=n.devicePixelContentBoxSize;switch(t){case W.DEVICE_PIXEL_CONTENT_BOX:return l;case W.BORDER_BOX:return o;default:return a}},ut=function(){function e(t){var r=Be(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=$([r.borderBoxSize]),this.contentBoxSize=$([r.contentBoxSize]),this.devicePixelContentBoxSize=$([r.devicePixelContentBoxSize])}return e}(),je=function(e){if(Ae(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},dt=function(){var e=1/0,t=[];N.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(s){var m=new ut(s.target),f=je(s.target);l.push(m),s.lastReportedSize=_e(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e},he=function(e){N.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(je(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},pt=function(){var e=0;for(he(e);ot();)e=dt(),he(e);return at()&&lt(),e>0},ee,Fe=[],ht=function(){return Fe.splice(0).forEach(function(e){return e()})},gt=function(e){if(!ee){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return ht()}).observe(r,n),ee=function(){r.textContent="".concat(t?t--:t++)}}Fe.push(e),ee()},bt=function(e){gt(function(){requestAnimationFrame(e)})},K=0,mt=function(){return!!K},yt=250,vt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ge=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],be=function(e){return e===void 0&&(e=0),Date.now()+e},te=!1,kt=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=yt),!te){te=!0;var n=be(t);bt(function(){var o=!1;try{o=pt()}finally{if(te=!1,t=n-be(),!mt())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,vt)};document.body?r():L.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ge.forEach(function(r){return L.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ge.forEach(function(r){return L.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),oe=new kt,me=function(e){!K&&e>0&&oe.start(),K+=e,!K&&oe.stop()},wt=function(e){return!ae(e)&&!st(e)&&getComputedStyle(e).display==="inline"},zt=function(){function e(t,r){this.target=t,this.observedBox=r||W.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=_e(this.target,this.observedBox,!0);return wt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xt=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),G=new WeakMap,ye=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},X=function(){function e(){}return e.connect=function(t,r){var n=new xt(t,r);G.set(t,n)},e.observe=function(t,r,n){var o=G.get(t),a=o.observationTargets.length===0;ye(o.observationTargets,r)<0&&(a&&N.push(o),o.observationTargets.push(new zt(r,n&&n.box)),me(1),oe.schedule())},e.unobserve=function(t,r){var n=G.get(t),o=ye(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&N.splice(N.indexOf(n),1),n.observationTargets.splice(o,1),me(-1))},e.disconnect=function(t){var r=this,n=G.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Et=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ue(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q=new WeakMap;function Ot(e){var t;for(let r=0,n=e.length;r<n;++r){const o=e[r],a=Q.get(o.target);if(typeof a=="function"){const{inlineSize:l,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:m,offsetHeight:f}=o.target;a(Object.assign(o,{offsetWidth:m,offsetHeight:f,width:l??m,height:s??f}))}}}const Re=new(q&&window.ResizeObserver||Et)(Ot);function ve(e,t){Q.set(e,t),Re.observe(e)}function ke(e){Q.has(e)&&(Re.unobserve(e),Q.delete(e))}function Tt(e={}){let t=ce;const r=z.watch(()=>z.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(ve(o,e.onResize),t=()=>{ke(o),t=ce})},{immediate:!0}),n=()=>{r(),t()};return z.getCurrentScope()&&z.onScopeDispose(n),{observeResize:ve,unobserveResize:ke,unobserve:n}}const Dt=z.ref(!1);z.computed(()=>Dt.value);const we="__theme_style__",re="__theme_observer__",ze=z.reactive(new Map),xe=new Map;z.watch(ze,()=>{if(!q)return;xe.clear();const e=document.head.querySelector(`#${we}`);e&&document.head.removeChild(e);const t=document.createElement("style");let r=`.${re} { width: 1px }`,n=1;for(const[o,[a,l]]of ze.entries())r+=` html.${a} .${re}, .${l} .${re} { width: ${++n}px }`,xe.set(n,o);t.textContent=r,t.id=we,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();const w=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],k=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];z.ref(0);const Ne=e=>{var t,r;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let n=[];return(r=Object.entries(e))==null||r.forEach(([o,a])=>{var s,m;let l=[];if(l.push(o),((s=Object.keys(a))==null?void 0:s.length)>0){let f=[];(m=Ne(a))==null||m.forEach(A=>{f.push(A)}),f==null||f.forEach(A=>{l.push(A)})}n.push(l)}),n}},St=(e,t)=>{var n;let r=t;return Array.isArray(Object.keys(e))&&((n=Object.entries(e))==null||n.forEach(([o,a])=>{let l=[o];if(typeof a=="object"&&a!==null){let s=Ne(a);s==null||s.forEach(m=>{l.push(m)})}r.push(l)})),r},At=e=>{const t={};return e.forEach(n=>{const o=n.split("/");let a=t;o.forEach(l=>{a[l]||(a[l]={}),a=a[l]})}),St(t,[])},Bt=e=>At(e);z.ref(0);z.ref(1);const $e=e=>{let t;e.replaceAll(" ",`\r
2
2
  `).replaceAll(`
3
3
  `,`\r
4
4
  `).includes(`\r
@@ -1,6 +1,6 @@
1
1
  import { shallowRef as l2, ref as S, defineComponent as t2, computed as G, createElementBlock as X, openBlock as U, normalizeStyle as J, normalizeClass as K, createElementVNode as a2 } from "vue";
2
- import { V as s, B as E, S as c2, C as i2, P as e2, W as h2, a as o2, A as n2, b as s2, M as Q, aI as p2, X as d2, G as v2, c as T, d as z2, e as I, f as r2, D as W, H as f2, g as Y, aw as A2, h as M2, i as m2, j as q, E as N } from "./three-viewport-gizmo-BxFHxv_x.js";
3
- import { O as u2 } from "./OrbitControls-DI8fa9gz.js";
2
+ import { V as s, B as E, S as c2, C as i2, P as e2, W as h2, a as o2, A as n2, b as s2, M as Q, aI as p2, X as d2, G as v2, c as T, d as z2, e as I, f as r2, D as W, H as f2, g as Y, aw as A2, h as M2, i as m2, j as q, E as N } from "./three-viewport-gizmo-BHznJ6W3.js";
3
+ import { O as u2 } from "./OrbitControls-DA4VpOM_.js";
4
4
  import { _ as F2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  function k2(m) {
6
6
  let i = null, c = null, h = null, e = null, d = null, z = null, a = null, A = null, f = null;