ss-component-new 1.2.294 → 1.2.296

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 (94) hide show
  1. package/dist/{OBJLoader-CB9WJT82.cjs → OBJLoader-8gDmNV2i.cjs} +1 -1
  2. package/dist/{OBJLoader-BNv6XCtP.js → OBJLoader-Ck9W3Ir7.js} +1 -1
  3. package/dist/{OrbitControls-Csw6mD-P.js → OrbitControls-BIGKrhyi.js} +1 -1
  4. package/dist/{OrbitControls-R243A2UI.cjs → OrbitControls-BWF5w18E.cjs} +1 -1
  5. package/dist/{PCDLoader-cSzkUgjw.js → PCDLoader-CkJ5aJWh.js} +1 -1
  6. package/dist/{PCDLoader-BsFAYeJ2.cjs → PCDLoader-D-K96lwY.cjs} +1 -1
  7. package/dist/{animationData-BNWYvI2q.js → animationData-BlzkiZT-.js} +1 -1
  8. package/dist/{animationData-j8m9iee2.cjs → animationData-Dzb7SwCQ.cjs} +1 -1
  9. package/dist/{iconfont-CGucCJqY.js → iconfont-B8t8JT6z.js} +2 -2
  10. package/dist/{iconfont-BELvOiht.cjs → iconfont-Btynh8XG.cjs} +1 -1
  11. package/dist/{index-CHxAiQtk.js → index-0uGvrFMJ.js} +3 -3
  12. package/dist/{index-SnOaE90Y.js → index-8iIO_ocM.js} +3 -3
  13. package/dist/{index-Cvo0V0hW.cjs → index-B-SQuycq.cjs} +1 -1
  14. package/dist/{index-DBYidyLi.js → index-B-qFtrGT.js} +1 -1
  15. package/dist/{index-gW_IQxDq.cjs → index-B2nCv699.cjs} +1 -1
  16. package/dist/{index-w2CRXMRQ.js → index-B7DZXq3g.js} +6 -6
  17. package/dist/{index-79I_iorC.js → index-B8yivODj.js} +1 -1
  18. package/dist/{index-CZm0g4PU.js → index-BVXIOYWQ.js} +9 -7
  19. package/dist/{index-DQqCL4ju.cjs → index-B_qXEQkF.cjs} +1 -1
  20. package/dist/{index-Cuz9ELzW.js → index-Bgw0FBZB.js} +1 -1
  21. package/dist/{index-C0igWyW4.js → index-BsQ-qwMF.js} +13 -13
  22. package/dist/{index-71M6SFRc.js → index-BtwkxysC.js} +1 -1
  23. package/dist/{index-CmRzCos6.js → index-Bu1pHSKB.js} +843 -823
  24. package/dist/index-BwavyD4W.cjs +1 -0
  25. package/dist/{index-DKofIQfe.js → index-CIZi1SsV.js} +1 -1
  26. package/dist/{index-B0OE5_Ny.js → index-CJ-zljKi.js} +1 -1
  27. package/dist/{index-BkSFOSV8.cjs → index-CQn_Bk7v.cjs} +1 -1
  28. package/dist/{index-_yqtp0Dh.cjs → index-CSrPyW_f.cjs} +1 -1
  29. package/dist/{index-CZSaHDnf.js → index-CYPJ4mm3.js} +1 -1
  30. package/dist/{index-ByJJvmV6.js → index-CtbAPra-.js} +3 -3
  31. package/dist/{index-IClu4Xf8.cjs → index-D0jGNd-H.cjs} +1 -1
  32. package/dist/{index-9Nz7Dg2Z.js → index-D6bXtF73.js} +1 -1
  33. package/dist/{index-BC4uFre2.cjs → index-D9i7wZaC.cjs} +1 -1
  34. package/dist/{index-gHB9TMLI.cjs → index-DGVafVuW.cjs} +1 -1
  35. package/dist/{index-C5SNPyky.cjs → index-DKCWuetb.cjs} +1 -1
  36. package/dist/{index-LT5l3lP1.cjs → index-DO9bzS7t.cjs} +1 -1
  37. package/dist/{index-DU8A2Rcx.js → index-DOsxjhUA.js} +2 -2
  38. package/dist/{index-CkSlNi8L.js → index-DQTWAF7D.js} +2 -2
  39. package/dist/{index-BD9p0Xlt.js → index-DT0pnWzT.js} +2 -2
  40. package/dist/{index-D12kMfBu.cjs → index-DTjWhnIF.cjs} +1 -1
  41. package/dist/{index-C98tDP8u.cjs → index-DjaN4VhG.cjs} +1 -1
  42. package/dist/index-DvfqgYXo.cjs +1 -0
  43. package/dist/{index-DL8dLTof.cjs → index-DyDrPMvD.cjs} +1 -1
  44. package/dist/{index-_2EYJgni.cjs → index-K4Aol2cP.cjs} +1 -1
  45. package/dist/{index-CmcomRyN.js → index-_kvrccCu.js} +1 -1
  46. package/dist/{index-CvykFWHw.cjs → index-_wyT2-AA.cjs} +1 -1
  47. package/dist/{index-Dq3HNSET.js → index-dTA9hAgr.js} +3261 -3248
  48. package/dist/{index-CGoPD35H.cjs → index-hBEZJTBK.cjs} +1 -1
  49. package/dist/{index-DsOj_EOL.cjs → index-hKbFMqEu.cjs} +12 -12
  50. package/dist/{index-C4efuh6q.cjs → index-hORaVIHc.cjs} +1 -1
  51. package/dist/{index-D5O3A6Fx.js → index-jfKxOdn1.js} +1 -1
  52. package/dist/{index-xpsuJRYD.cjs → index-l7UB2yUy.cjs} +1 -1
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BqQN_vwd.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BNPzwHXs.js} +6 -6
  54. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B_3YixjC.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CNiwHtU5.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAniHexV.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs} +59 -59
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B8FQIQZU.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js} +1643 -1648
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DRUxrXlC.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BOzovrSr.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dg0WsT5i.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BuwJQ9eE.js} +19 -19
  59. package/dist/{index.vue_vue_type_style_index_1_lang-C-HS1nJI.cjs → index.vue_vue_type_style_index_1_lang-CDoOP6Aw.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_1_lang--VeL916J.js → index.vue_vue_type_style_index_1_lang-ZmTqB1dO.js} +4 -4
  61. package/dist/{main-Dx_m6QdJ.cjs → main-CBor783N.cjs} +1 -1
  62. package/dist/{main-BKAAdzBm.js → main-Yx9pP1an.js} +2 -2
  63. package/dist/{pointTrack-05CcPzgf.cjs → pointTrack-BkpbGc8n.cjs} +1 -1
  64. package/dist/{pointTrack-BRZj2fRP.js → pointTrack-CMyadDzE.js} +2 -2
  65. package/dist/{robotUtil-DGZFmHa1.js → robotUtil-BAK-GNOJ.js} +1 -1
  66. package/dist/{robotUtil-_esgRFP3.cjs → robotUtil-BtBh1-GY.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.css +1 -1
  69. package/dist/ss-component.js +31 -31
  70. package/dist/ss-component2.cjs +1 -1
  71. package/dist/ss-component2.js +10 -10
  72. package/dist/{threeModel-euHdSZWK.cjs → threeModel-C0vGemcj.cjs} +1 -1
  73. package/dist/{threeModel-WVUvmnEU.js → threeModel-C44vcdqj.js} +5 -5
  74. package/dist/{threePreview-BvzwkKZR.js → threePreview-CKjG0F-q.js} +4 -4
  75. package/dist/{threePreview-B3amehMf.cjs → threePreview-PffN5Aiq.cjs} +1 -1
  76. package/dist/{threeSceneView-BV580zYO.js → threeSceneView-4FffGfEx.js} +7 -7
  77. package/dist/{threeSceneView-BYYPjbrf.cjs → threeSceneView-BI__dTV5.cjs} +1 -1
  78. package/dist/{threeSceneViewForCPMPIP-BcL1uoBQ.js → threeSceneViewForCPMPIP-Bo1U2avY.js} +9 -9
  79. package/dist/{threeSceneViewForCPMPIP-CSKEFRk_.cjs → threeSceneViewForCPMPIP-DZddF3u8.cjs} +1 -1
  80. package/dist/{threeTrackPathView-BpunMIGZ.js → threeTrackPathView-DzU4AIwq.js} +5 -5
  81. package/dist/{threeTrackPathView-CGEH2zTP.cjs → threeTrackPathView-oMFtTDLX.cjs} +1 -1
  82. package/dist/{threeViewerHost-BPu_LZha.cjs → threeViewerHost-BcIsHd7R.cjs} +2 -2
  83. package/dist/{threeViewerHost-CiYZBM4H.js → threeViewerHost-DUzh9-TD.js} +2 -2
  84. package/dist/{urdfTree-CoHIn4kK.js → urdfTree-BVGBRI7Z.js} +1 -1
  85. package/dist/{urdfTree-BjckM2-i.cjs → urdfTree-C_RPoplj.cjs} +1 -1
  86. package/dist/{workpieceTreePanel-CbsK-tey.cjs → workpieceTreePanel-B1eC1Q8u.cjs} +1 -1
  87. package/dist/{workpieceTreePanel-CtLKTnWz.js → workpieceTreePanel-_Vo2EKuP.js} +6 -6
  88. package/package.json +1 -1
  89. package/dist/index-CslSvatz.cjs +0 -1
  90. package/dist/index-IvJ1OjwT.cjs +0 -1
  91. package/dist/obj/model.mtl +0 -42
  92. package/dist/obj/model.obj +0 -26110
  93. package/public/obj/model.mtl +0 -42
  94. package/public/obj/model.obj +0 -26110
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("vue"),Q=require("./OBJLoader-CB9WJT82.cjs"),S=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAniHexV.cjs");function ee(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let A;function R(){R.init||(R.init=!0,A=ee()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){R(),c.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",A&&this.$el.appendChild(e),e.data="about:blank",A||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!A&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const te=c.withScopeId("data-v-b329ee4c");c.pushScopeId("data-v-b329ee4c");const ie={class:"resize-observer",tabindex:"-1"};c.popScopeId();const re=te((e,t,i,r,n,s)=>(c.openBlock(),c.createBlock("div",ie)));E.render=re;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function L(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(t){return typeof t}:L=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t,i){return t&&se(e.prototype,t),e}function X(e){return le(e)||ae(e)||ce(e)||ue()}function le(e){if(Array.isArray(e))return N(e)}function ae(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function ce(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function ue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ "use strict";const c=require("vue"),Q=require("./OBJLoader-8gDmNV2i.cjs"),S=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs");function ee(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let A;function R(){R.init||(R.init=!0,A=ee()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){R(),c.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",A&&this.$el.appendChild(e),e.data="about:blank",A||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!A&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const te=c.withScopeId("data-v-b329ee4c");c.pushScopeId("data-v-b329ee4c");const ie={class:"resize-observer",tabindex:"-1"};c.popScopeId();const re=te((e,t,i,r,n,s)=>(c.openBlock(),c.createBlock("div",ie)));E.render=re;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function L(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(t){return typeof t}:L=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t,i){return t&&se(e.prototype,t),e}function X(e){return le(e)||ae(e)||ce(e)||ue()}function le(e){if(Array.isArray(e))return N(e)}function ae(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function ce(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function ue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function de(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function fe(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,n,s,o=function(a){for(var u=arguments.length,d=new Array(u>1?u-1:0),y=1;y<u;y++)d[y-1]=arguments[y];if(s=d,!(r&&a===n)){var v=i.leading;typeof v=="function"&&(v=v(a,n)),(!r||a!==n)&&v&&e.apply(void 0,[a].concat(X(s))),n=a,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[a].concat(X(s))),r=0},t)}};return o._clear=function(){clearTimeout(r),r=null},o}function Z(e,t){if(e===t)return!0;if(L(e)==="object"){for(var i in e)if(!Z(e[i],t[i]))return!1;return!0}return!1}var he=function(){function e(t,i,r){ne(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(i,r)}return oe(e,[{key:"createObserver",value:function(i,r){var n=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=de(i),this.callback=function(l,a){n.options.callback(l,a),l&&n.options.once&&(n.frozen=!0,n.destroyObserver())},this.callback&&this.options.throttle){var s=this.options.throttleOptions||{},o=s.leading;this.callback=fe(this.callback,this.options.throttle,{leading:function(a){return o==="both"||o==="visible"&&a||o==="hidden"&&!a}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(l){var a=l[0];if(l.length>1){var u=l.find(function(y){return y.isIntersecting});u&&(a=u)}if(n.callback){var d=a.isIntersecting&&a.intersectionRatio>=n.threshold;if(d===n.oldResult)return;n.oldResult=d,n.callback(d,a)}},this.options.intersection),c.nextTick(function(){n.observer&&n.observer.observe(n.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function W(e,t,i){var r=t.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var n=new he(e,r,i);e._vue_visibilityState=n}}function me(e,t,i){var r=t.value,n=t.oldValue;if(!Z(r,n)){var s=e._vue_visibilityState;if(!r){K(e);return}s?s.createObserver(r,i):W(e,{value:r},i)}}function K(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var ye={beforeMount:W,updated:me,unmounted:K},pe={itemsLimit:1e3},ve=/(auto|scroll)/;function G(e,t){return e.parentNode===null?t:G(e.parentNode,t.concat([e]))}var B=function(t,i){return getComputedStyle(t,null).getPropertyValue(i)},ge=function(t){return B(t,"overflow")+B(t,"overflow-y")+B(t,"overflow-x")},be=function(t){return ve.test(ge(t))};function q(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=G(e.parentNode,[]),i=0;i<t.length;i+=1)if(be(t[i]))return t[i];return document.scrollingElement||document.documentElement}}function F(e){"@babel/helpers - typeof";return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(e)}var we={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function ze(){return this.items.length&&F(this.items[0])!=="object"}var H=!1;if(typeof window<"u"){H=!1;try{var _e=Object.defineProperty({},"passive",{get:function(){H=!0}});window.addEventListener("test",null,_e)}catch{}}let Se=0;var U={name:"RecycleScroller",components:{ResizeObserver:E},directives:{ObserveVisibility:ye},props:{...we,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,i=this.sizeField,r=this.minItemSize;let n=1e4,s=0,o;for(let l=0,a=t.length;l<a;l++)o=t[l][i]||r,o<n&&(n=o),s+=o,e[l]={accumulator:s,size:o};return this.$_computedMinItemSize=n,e}return[]},simpleArray:ze,itemIndexByKey(){const{keyField:e,items:t}=this,i={};for(let r=0,n=t.length;r<n;r++)i[t[r][e]]=r;return i}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,i,r,n){const s=c.markRaw({id:Se++,index:t,used:!0,key:r,type:n}),o=c.shallowReactive({item:i,position:0,nr:s});return e.push(o),o},unuseView(e,t=!1){const i=this.$_unusedViews,r=e.nr.type;let n=i.get(r);n||(n=[],i.set(r,n)),n.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:i}=this.updateVisibleItems(!1,!0);i||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const i=this.itemSize,r=this.gridItems||1,n=this.itemSecondarySize||i,s=this.$_computedMinItemSize,o=this.typeField,l=this.simpleArray?null:this.keyField,a=this.items,u=a.length,d=this.sizes,y=this.$_views,v=this.$_unusedViews,g=this.pool,x=this.itemIndexByKey;let p,m,T,z,_;if(!u)p=m=z=_=T=0;else if(this.$_prerender)p=z=0,m=_=Math.min(this.prerender,a.length),T=null;else{const f=this.getScroll();if(t){let w=f.start-this.$_lastUpdateScrollPosition;if(w<0&&(w=-w),i===null&&w<s||w<i)return{continuous:!0}}this.$_lastUpdateScrollPosition=f.start;const I=this.buffer;f.start-=I,f.end+=I;let b=0;if(this.$refs.before&&(b=this.$refs.before.scrollHeight,f.start-=b),this.$refs.after){const w=this.$refs.after.scrollHeight;f.end+=w}if(i===null){let w,C=0,Y=u-1,$=~~(u/2),D;do D=$,w=d[$].accumulator,w<f.start?C=$:$<u-1&&d[$+1].accumulator>f.start&&(Y=$),$=~~((C+Y)/2);while($!==D);for($<0&&($=0),p=$,T=d[u-1].accumulator,m=$;m<u&&d[m].accumulator<f.end;m++);for(m===-1?m=a.length-1:(m++,m>u&&(m=u)),z=p;z<u&&b+d[z].accumulator<f.start;z++);for(_=z;_<u&&b+d[_].accumulator<f.end;_++);}else{p=~~(f.start/i*r);const w=p%r;p-=w,m=Math.ceil(f.end/i*r),z=Math.max(0,Math.floor((f.start-b)/i*r)),_=Math.floor((f.end-b)/i*r),p<0&&(p=0),m>u&&(m=u),z<0&&(z=0),_>u&&(_=u),T=Math.ceil(u/r)*i}}m-p>pe.itemsLimit&&this.itemsLimitError(),this.totalSize=T;let h;const V=p<=this.$_endIndex&&m>=this.$_startIndex;if(V)for(let f=0,I=g.length;f<I;f++)h=g[f],h.nr.used&&(e&&(h.nr.index=x[h.item[l]]),(h.nr.index==null||h.nr.index<p||h.nr.index>=m)&&this.unuseView(h));const j=V?null:new Map;let O,k,M;for(let f=p;f<m;f++){O=a[f];const I=l?O[l]:O;if(I==null)throw new Error(`Key is ${I} on item (keyField is '${l}')`);if(h=y.get(I),!i&&!d[f].size){h&&this.unuseView(h);continue}k=O[o];let b=v.get(k),w=!1;if(!h)V?b&&b.length?h=b.pop():h=this.addView(g,f,O,I,k):(M=j.get(k)||0,(!b||M>=b.length)&&(h=this.addView(g,f,O,I,k),this.unuseView(h,!0),b=v.get(k)),h=b[M],j.set(k,M+1)),y.delete(h.nr.key),h.nr.used=!0,h.nr.index=f,h.nr.key=I,h.nr.type=k,y.set(I,h),w=!0;else if(!h.nr.used&&(h.nr.used=!0,w=!0,b)){const C=b.indexOf(h);C!==-1&&b.splice(C,1)}h.item=O,w&&(f===a.length-1&&this.$emit("scroll-end"),f===0&&this.$emit("scroll-start")),i===null?(h.position=d[f-1].accumulator,h.offset=0):(h.position=Math.floor(f/r)*i,h.offset=f%r*n)}return this.$_startIndex=p,this.$_endIndex=m,this.emitUpdate&&this.$emit("update",p,m,z,_),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:V}},getListenerTarget(){let e=q(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,i=t==="vertical";let r;if(this.pageMode){const n=e.getBoundingClientRect(),s=i?n.height:n.width;let o=-(i?n.top:n.left),l=i?window.innerHeight:window.innerWidth;o<0&&(l+=o,o=0),o+l>s&&(l=s-o),r={start:o,end:o+l}}else i?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,H?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const i=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/i)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let i,r,n;if(this.pageMode){const s=q(this.$el),o=s.tagName==="HTML"?0:s[t.scroll],l=s.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[t.start]-l[t.start];i=s,r=t.scroll,n=e+o+u}else i=this.$el,r=t.scroll,n=e;i[r]=n},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const Ie={key:0,ref:"before",class:"vue-recycle-scroller__slot"},$e={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function xe(e,t,i,r,n,s){const o=c.resolveComponent("ResizeObserver"),l=c.resolveDirective("observe-visibility");return c.withDirectives((c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["vue-recycle-scroller",{ready:n.ready,"page-mode":i.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...a)=>s.handleScroll&&s.handleScroll(...a))},[e.$slots.before?(c.openBlock(),c.createElementBlock("div",Ie,[c.renderSlot(e.$slots,"before")],512)):c.createCommentVNode("v-if",!0),(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i.listTag),{ref:"wrapper",style:c.normalizeStyle({[e.direction==="vertical"?"minHeight":"minWidth"]:n.totalSize+"px"}),class:c.normalizeClass(["vue-recycle-scroller__item-wrapper",i.listClass])},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.pool,a=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i.itemTag),c.mergeProps({key:a.nr.id,style:n.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${a.position}px) translate${e.direction==="vertical"?"X":"Y"}(${a.offset}px)`,width:i.gridItems?`${e.direction==="vertical"&&i.itemSecondarySize||i.itemSize}px`:void 0,height:i.gridItems?`${e.direction==="horizontal"&&i.itemSecondarySize||i.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[i.itemClass,{hover:!i.skipHover&&n.hoverKey===a.nr.key}]]},c.toHandlers(i.skipHover?{}:{mouseenter:()=>{n.hoverKey=a.nr.key},mouseleave:()=>{n.hoverKey=null}})),{default:c.withCtx(()=>[c.renderSlot(e.$slots,"default",{item:a.item,index:a.nr.index,active:a.nr.used})]),_:2},1040,["style","class"]))),128)),c.renderSlot(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(c.openBlock(),c.createElementBlock("div",$e,[c.renderSlot(e.$slots,"after")],512)):c.createCommentVNode("v-if",!0),c.createVNode(o,{onNotify:s.handleResize},null,8,["onNotify"])],34)),[[l,s.handleVisibilityChange]])}U.render=xe;U.__file="src/components/RecycleScroller.vue";const Te=async e=>await new Q.OBJLoader().loadAsync(e);function ke(e){const t=[];return e.forEach(i=>{if(i.includes("X")||i.includes("Y")||i.includes("Z"))return;const[r,n,s]=i.trim().split(/\s+/);t.push(+r,+n,+s)}),t}function P(e,t,i){const r=+i||0;switch(e){case"X":t.x=r;break;case"Y":t.y=r;break;case"Z":t.z=r;break}}function Oe(e){const t=[],i=["X","Y","Z"];let r=0,n=0,s=0;return e.forEach(o=>{const l={x:r,y:n,z:s},a=o.trim();if(!a)return;let u=null,d="";for(let y=0;y<(a==null?void 0:a.length);y++){const v=a[y],g=i.find(x=>x===v);if(g){u&&P(u,l,d),d="",u=g;continue}d=d+v}u&&P(u,l,d),t.push(l.x,l.y,l.z),r=l.x,n=l.y,s=l.z}),t}const Ce=e=>e==null?void 0:e.filter(i=>i.includes("=")),Ve=e=>e.replace(/,/g,""),Me=e=>e==null?void 0:e.map(i=>Ve(i)),Ae=e=>{const t=Ce(e);return Me(t)};function Le(e){const t=Ae(e),i=[];return t.forEach(r=>{var y,v,g,x,p,m;let[n,s,o,l]=r.trim().split(/\s+/);s=(y=s==null?void 0:s.trim)==null?void 0:y.call(s),o=(v=o==null?void 0:o.trim)==null?void 0:v.call(o),l=(g=l==null?void 0:l.trim)==null?void 0:g.call(l);const[,a]=(x=s==null?void 0:s.split)==null?void 0:x.call(s,"="),[,u]=(p=o==null?void 0:o.split)==null?void 0:p.call(o,"="),[,d]=(m=l==null?void 0:l.split)==null?void 0:m.call(l,"=");i.push(+a,+u,+d)}),i}const Pe=e=>e>="0"&&e<="9",Ee=e=>e==="+"||e==="-",Be=e=>e===".";function Re(e){return Pe(e)||Ee(e)||Be(e)}function Ne(e){const t=[],i=new Set(["X","Y","Z"]);let r=0,n=0,s=0;return e.forEach(o=>{const l={x:r,y:n,z:s},a=o.trim();if(!a)return;let u=!1,d=null,y="";for(let v=0;v<(a==null?void 0:a.length);v++){const g=a[v];if(g==="T")break;const x=i.has(g)?g:null,p=Re(g);if(x||!p){d&&(P(d,l,y),u=!0),d=x,y="";continue}y=y+g}d&&(P(d,l,y),u=!0),u&&(t.push(l.x,l.y,l.z),r=l.x,n=l.y,s=l.z)}),t}function Fe(e){return e==null?void 0:e.includes("=")}async function He(e){var n,s;const t=(n=e==null?void 0:e.trim())==null?void 0:n.split(/\r?\n/);if(Fe(e))return Le(t);const i=t==null?void 0:t[0],r=(s=i==null?void 0:i.trim())==null?void 0:s.split(/\s+/);if((r==null?void 0:r.length)>=3)return ke(t);if((r==null?void 0:r.length)===1)return Oe(t)}async function Ue(e){const t=e.trim().split(/\r?\n/),i=[];return t.forEach(r=>{const n=r.trim().split(/\s+/);if(n.length!=3)return;const[s,o,l]=n;i.push(+s,+o,+l)}),i}async function je(e){const t=e.trim().split(/\r?\n/),i=[];return t.forEach(r=>{const n=r.trim().split(/\s+/);if(n.length!=3)return;const[s,o,l]=n;i.push(+s,+o,+l)}),i}async function Ye(e){let t=e.trim().split(/\r?\n/);return t=t.filter(r=>{const n=r.startsWith("X")||r.startsWith("Y")||r.startsWith("Z"),s=r.startsWith("G")&&(r.includes("X")||r.includes("Y")||r.includes("Z")),o=r.startsWith("N")&&(r.includes("X")||r.includes("Y")||r.includes("Z"));return n||s||o}),Ne(t)}async function De(e,t){const{isCyd:i,isUv:r,isCpt:n,isNc:s}=t;return r?He(e):i?je(e):n?Ue(e):s?Ye(e):[]}function Xe(e){const t=[];for(let i=0;i<e.length;i+=3)t.push(new S.Vector3(e[i],e[i+1],e[i+2]));return t}function qe(e){const t=new S.BufferGeometry,i=new Float32Array(e.length),r=new S.Color(2003455);for(let o=0;o<i.length;o+=3)i[o]=r.r,i[o+1]=r.g,i[o+2]=r.b;t.setAttribute("position",new S.Float32BufferAttribute(e,3)),t.setAttribute("color",new S.Float32BufferAttribute(i,3));const n=new S.LineBasicMaterial({vertexColors:!0,linewidth:3});return new S.Line(t,n)}function Ze(e,t){if(!t||t.length<3)return;const{scene:i,camera:r,renderer:n,controls:s}=e();if(!i||!r||!n||!s)return;const o=qe(t);return o.name="轨迹路径",i.add(o),o}function We(e,t,i,r=4,n=50){let s=1/0,o=-1/0,l=1/0,a=-1/0,u=1/0,d=-1/0;for(let m=0;m<e.length;m+=3){const T=e[m],z=e[m+1],_=e[m+2];s=Math.min(s,T),o=Math.max(o,T),l=Math.min(l,z),a=Math.max(a,z),u=Math.min(u,_),d=Math.max(d,_)}const v=Math.sqrt((o-s)**2+(a-l)**2+(d-u)**2)*.05,g=S.MathUtils.degToRad(t.fov),x=2*Math.tan(g/2)*n,p=v/x*i.domElement.height*(r/4);return Math.min(.4,p)}function J(e){if(e.length%3!==0)return console.error("points array length is not a multiple of 3:",e),null;const t=new S.BufferGeometry;t.setAttribute("position",new S.Float32BufferAttribute(e,3));const i=new Float32Array(e.length);for(let s=0;s<e.length;s+=3)i[s]=.118,i[s+1]=.569,i[s+2]=1;t.setAttribute("color",new S.BufferAttribute(i,3));const r=new S.PointsMaterial({vertexColors:!0,size:.4,sizeAttenuation:!0}),n=new S.Points(t,r);return r.needsUpdate=!0,n}function Ke(e,t){if(!t)return;const{scene:i,camera:r,renderer:n,controls:s}=e();if(!i||!r||!n||!s)return;const o=J(t);if(!o)return;o.name="轨迹路径",i.add(o);const l=We(t,r,n,.1,50);return o.material.size=l,o}exports.convertPointsToVector3=Xe;exports.drawLine=Ze;exports.drawPoints=Ke;exports.getPointGeometry=J;exports.getPoints=De;exports.loadObjByUrl=Te;exports.script$2=U;
@@ -1,6 +1,6 @@
1
1
  import { nextTick as ee, pushScopeId as le, popScopeId as ae, withScopeId as ce, createBlock as B, openBlock as O, markRaw as ue, shallowReactive as de, resolveComponent as fe, resolveDirective as he, withDirectives as me, createElementBlock as k, normalizeClass as W, createCommentVNode as q, createVNode as ye, renderSlot as A, resolveDynamicComponent as K, normalizeStyle as pe, withCtx as G, Fragment as ve, renderList as ge, mergeProps as be, toHandlers as we } from "vue";
2
- import { O as ze } from "./OBJLoader-BNv6XCtP.js";
3
- import { V as _e, J as te, C as Ie, aZ as H, ao as Se, N as $e, ab as xe, am as Te, au as Oe, y as Ce } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B8FQIQZU.js";
2
+ import { O as ze } from "./OBJLoader-Ck9W3Ir7.js";
3
+ import { V as _e, J as te, C as Ie, aZ as H, ao as Se, N as $e, ab as xe, am as Te, au as Oe, y as Ce } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js";
4
4
  function Me() {
5
5
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
6
6
  if (t > 0)
@@ -1,4 +1,4 @@
1
- import { r as i } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B8FQIQZU.js";
1
+ import { r as i } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js";
2
2
  const c = 1e-3, o = (n, t) => {
3
3
  if (!t)
4
4
  return null;
@@ -1 +1 @@
1
- "use strict";const s=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAniHexV.cjs"),g=.001,o=(n,t)=>{if(!t)return null;const e=n.joints[t];return e||null},c=(n,t)=>{if(!t)return null;const e=o(n,t);if(!e)return null;let r=null;return e.traverse(i=>{i instanceof s.Mesh&&!r&&(r=i)}),r},l=(n,t)=>{if(!t)return null;const e=n.links[t];return e||null},a=(n,t)=>{if(!t)return null;const e=l(n,t);if(!e)return null;let r=null;return e.traverse(i=>{i instanceof s.Mesh&&!r&&(r=i)}),r},u=n=>{const t=n.joints;return Object.values(t)},f=n=>u(n).filter(r=>r.jointType!=="fixed"),J=n=>{const t=n.links;return Object.keys(t)},m=(n,t)=>{if(!n)return null;let e=null;return n.traverse(r=>{r.name===t&&(e=r.matrixWorld.clone())}),e};exports.getAllLinkName=J;exports.getJoints=u;exports.getMeshFromJoint=c;exports.getMeshFromLink=a;exports.getNonFixedJoints=f;exports.getObjectWorldMatrix=m;exports.getTargetJoint=o;exports.getTargetLink=l;exports.mm2m=g;
1
+ "use strict";const s=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs"),g=.001,o=(n,t)=>{if(!t)return null;const e=n.joints[t];return e||null},c=(n,t)=>{if(!t)return null;const e=o(n,t);if(!e)return null;let r=null;return e.traverse(i=>{i instanceof s.Mesh&&!r&&(r=i)}),r},l=(n,t)=>{if(!t)return null;const e=n.links[t];return e||null},a=(n,t)=>{if(!t)return null;const e=l(n,t);if(!e)return null;let r=null;return e.traverse(i=>{i instanceof s.Mesh&&!r&&(r=i)}),r},u=n=>{const t=n.joints;return Object.values(t)},f=n=>u(n).filter(r=>r.jointType!=="fixed"),J=n=>{const t=n.links;return Object.keys(t)},m=(n,t)=>{if(!n)return null;let e=null;return n.traverse(r=>{r.name===t&&(e=r.matrixWorld.clone())}),e};exports.getAllLinkName=J;exports.getJoints=u;exports.getMeshFromJoint=c;exports.getMeshFromLink=a;exports.getNonFixedJoints=f;exports.getObjectWorldMatrix=m;exports.getTargetJoint=o;exports.getTargetLink=l;exports.mm2m=g;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAniHexV.cjs");const C=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs");require("./index-CEwxrYB-.cjs");const d=require("./ss-component2.cjs"),o=require("./index-9hspBVrQ.cjs"),s=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-Dx_m6QdJ.cjs")));s.install=e=>{e.component("ssComponent",s)};const r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DsOj_EOL.cjs")).then(e=>e.index$1));r.install=e=>{e.component("ssTab",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DQqCL4ju.cjs")));i.install=e=>{e.component("ssMenu",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CGoPD35H.cjs")));c.install=e=>{e.component("ssMenuComponent",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-IClu4Xf8.cjs")));l.install=e=>{e.component("ssCanvas",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));m.install=e=>{e.component("ssFold",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-C4efuh6q.cjs")).then(e=>e.index));u.install=e=>{e.component("ssAvatar",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-euHdSZWK.cjs")));a.install=e=>{e.component("ssThree",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-BPu_LZha.cjs")).then(e=>e.threeViewerHost));h.install=e=>{e.component("threeViewerHost",h)};const p=C.useMenuState(),P=[s,r,i,c,l,m,u,a,h],q=e=>{P.forEach(t=>{e.use(t)}),e.use(d)},y=e=>{switch(e){case"browser":return o.browserThemeConfig;case"client":return o.clientThemeConfig;case"three":return o.threeThemeConfig}},g=e=>{const t=document.documentElement;e==null||e.forEach(f=>{t.style.setProperty(f.name,f.value)})},A=e=>{p.setPlatform(e);const t=y(e);g(t)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=v.SvgIcon;exports.router=d;exports.default=q;exports.platformApi=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs");const C=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs");require("./index-CEwxrYB-.cjs");const s=require("./ss-component2.cjs"),t=require("./index-9hspBVrQ.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-CBor783N.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-hKbFMqEu.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-B_qXEQkF.cjs")));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-hBEZJTBK.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-D0jGNd-H.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-hORaVIHc.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-C0vGemcj.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-BcIsHd7R.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=C.useMenuState(),P=[r,i,c,l,m,u,a,h,f],q=e=>{P.forEach(o=>{e.use(o)}),e.use(s),e.config.globalProperties.$router=s},g=e=>{switch(e){case"browser":return t.browserThemeConfig;case"client":return t.clientThemeConfig;case"three":return t.threeThemeConfig}},y=e=>{const o=document.documentElement;e==null||e.forEach(d=>{o.style.setProperty(d.name,d.value)})},A=e=>{p.setPlatform(e);const o=g(e);y(o)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=v.SvgIcon;exports.router=s;exports.default=q;exports.platformApi=T;