earthsdk3-cesium 3.6.3 → 3.6.5

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.
@@ -571,7 +571,7 @@ class CityShaderInstance extends xbsj['xr-base-utils'].Destroyable {
571
571
  //material.diffuse = vec3(0.0, 0.0, 1.0);
572
572
  //material.diffuse.g = -fsInput.attributes.positionEC.z / 1.0e4;
573
573
  }
574
- `});this._customShader=o}update(){alert("暂未实现!")}get customShader(){return this._customShader}}const lE=(t,i)=>{if(!t)return;const e=6378137*Math.PI/180,[n,o,s]=t,l=1/(e*Math.cos(o*Math.PI/180));return[i[0]/l,i[1]/l,i[2]]},cE=(t,i)=>{const e=6378137*Math.PI/180,[n,o,s]=t,r=i,c=1/(e*Math.cos(o*Math.PI/180));return[n+c*r[0],o+c*r[1],s+r[2]]};function gh(t){return`rgba(${t[0]*255},${t[1]*255},${t[2]*255},${t[3]})`}function hE(t,i){const e=Reflect.has(t,"value"),n=Reflect.has(t,"minValue"),o=Reflect.has(t,"maxValue");try{const s=typeof t.value=="string"?`'${t.value}'`:t.value;if(e)return[`\${${i}} === `+s,gh(t.rgba)];if(n&&o)return[`\${${i}} >= ${t.minValue} && \${${i}} <= ${t.maxValue}`,gh(t.rgba)];if(n)return[`\${${i}} >= ${t.minValue}`,gh(t.rgba)];if(o)return[`\${${i}} <= ${t.maxValue}`,gh(t.rgba)];if(!e&&!n&&!o)throw new Error(`Feature Color JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, rgba值为0~1且必须存在!`)}catch(s){throw new Error(`Feature Color JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, rgba值为0~1且必须存在! ${s}`)}}function uE(t,i){const e=Reflect.has(t,"value"),n=Reflect.has(t,"minValue"),o=Reflect.has(t,"maxValue");try{const s=typeof t.value=="string"?`'${t.value}'`:t.value;if(e)return[`\${${i}} === `+s,t.visable.toString()];if(n&&o)return[`\${${i}} >= ${t.minValue} && \${${i}} <= ${t.maxValue}`,t.visable.toString()];if(n)return[`\${${i}} >= ${t.minValue}`,t.visable.toString()];if(o)return[`\${${i}} <= ${t.maxValue}`,t.visable.toString()];if(!e&&!n&&!o)throw new Error(`Feature Visable JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, visable必须存在!`)}catch(s){throw new Error(`Feature Visable JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, visable必须存在! ${s}`)}}const Wi=class Wi extends Jt{constructor(e,n){super(e,n);m(this,"_czm3DTiles");m(this,"_clippingPlanes");m(this,"_flattenedPlane");m(this,"_styleColor",this.dv(a.react(void 0)));m(this,"_highlightStyleColor",this.dv(a.react(void 0)));m(this,"_styleVisable",this.dv(a.react(void 0)));this._flattenedPlane=this.dv(new Wn(n,e.id)),this._czm3DTiles=this.dv(new be(n,this,e.id)),this._clippingPlanes=this.dv(new Ds(n,e.id));const o=n.viewer;if(!o){console.warn("viewer is undefined!");return}const s=this._czm3DTiles;this.ad(e.setMaterialEvent.don(c=>{s.setMaterial(c)}));{const c=()=>{s.origin&&(e.offset||(e.offset=[0,0,0]),s.position=cE(s.origin,e.offset))};c(),this.d(e.offsetChanged.don(c)),this.d(s.originChanged.don(c))}{const c=()=>{if(!s.position)return;const d=s.position.map((p,f)=>{if(s.origin)return p-s.origin[f]});s.origin&&(e.offset=lE(s.origin,d))};c();const u=this.ad(a.createNextAnimateFrameEvent(s.positionChanged));this.d(u.don(c))}const r=this._clippingPlanes,l=this._flattenedPlane;this.d(e.setFeatureColorEvent.don((c,u)=>{const p=u.reverse().map(f=>hE(f,c));this.setFeatureColor(p)})),this.d(e.setFeatureVisableEvent.don((c,u)=>{const p=u.reverse().map(f=>uE(f,c));this.setFeatureVisable(p)})),this.d(e.resetFeatureStyleEvent.don(()=>{this.resetFeatureStyle()})),this.d(e.highlightFeatureEvent.don((c,u)=>{this.highlightFeature(c,u)})),this.d(e.highlightFeatureAndFlyToEvent.don((c,u,d,p)=>{d&&this.highlightFeature(c,d);const f=new h.Cartesian3(u[0],u[1],u[2]),g=new h.BoundingSphere(f,u[3]);o.camera.flyToBoundingSphere(g,{duration:p??1})})),Wi.strokeFeaturePostProcess.register(this),this.ad(()=>{Wi.strokeFeaturePostProcess.unregister(this)}),this.ad(e.strokeFeatureEvent.don((c,u)=>{u&&Wi.strokeFeaturePostProcess.setStrokeColor(u),Wi.strokeFeaturePostProcess.setStrokeSelect(this,c)})),this.d(s.czmTilesetReadyEvent.don(c=>{const u=d=>{if(c.style=void 0,d.length===0)return;const p=[...d],f=[],g=[];let v;p.forEach(y=>{Array.isArray(y.condition)?(f.push({condition:y.condition,color:y.color??[1,1,1,1]}),g.push({condition:y.condition,show:y.show??!0})):(f.push({condition:[y.condition],color:y.color??[1,1,1,1]}),g.push({condition:[y.condition],show:y.show??!0}))});{const y=(P,C)=>{try{let S;return f.forEach(A=>{if(S===void 0){const E=nE(A,P);E.length>0&&!E.includes(!1)&&(S=eE(A.color,C))}}),S||h.Color.clone(h.Color.WHITE,C)}catch{return h.Color.clone(h.Color.WHITE,C)}},w=P=>{try{let C;return g.forEach(S=>{if(C===void 0){const A=oE(S,P);A.length>0&&!A.includes(!1)&&(C=S.show)}}),C!==void 0?C:!0}catch{return!0}};v=new h.Cesium3DTileStyle({color:{evaluateColor:function(P,C){return y(P,C)}},show:{evaluate:function(P){return w(P)}}})}c.style=v};this.d(e.setFeatureStyleEvent.don(d=>{u(d)})),this.d(e.resetFeatureStyleEvent.don(()=>{c.style=void 0}));{const d=this,p=[],f=c.tileLoad.addEventListener(function(v){try{const w=v.content.getFeature(0),C=w.getPropertyIds().map(E=>{const R=w.getProperty(E);return{key:E,type:typeof R}}),S=p.map(E=>E.key),A=C.filter(E=>!S.includes(E.key));p.push(...A)}catch{}});this.d(()=>{f()});const g=async()=>{try{p.length>0?e._featureTableResultEvent.emit(p):e._featureTableResultEvent.emit(void 0)}catch(v){console.warn(`CzmES3DTileset GetFeatureTable: ${v}`),e._featureTableResultEvent.emit(void 0)}};d.d(e.getFeatureTableEvent.don(()=>{g()}))}{const d=p=>{s.tileset.featureIdLabel=`featureId_${p}`};this.ad(e.featureIdLabelChanged.don(p=>{d(p)}))}})),this.d(s.czmTilesetReadyEvent.don((c,u)=>{e.supportEdit=s.supportEdit,e.tilesetReady.emit(c)})),s.absoluteClippingPlanes=!0,s.czmFlattenedPlaneId=this.flattenedPlane.id,e.flattenedPlaneId=this.flattenedPlane.id,s.clippingPlanesId=this.clippingPlanes.id,this.d(a.track([l,"enabled"],[e,"flattenedPlaneEnabled"])),this.d(a.track([r,"enabled"],[e,"clippingPlaneEnabled"])),this.d(a.track([r,"planeIds"],[e,"clippingPlaneIds"])),this.d(a.track([r,"unionClippingRegions"],[e,"unionClippingRegions"])),this.d(a.track([r,"edgeColor"],[e,"clippingPlaneEdgeColor"])),this.d(a.track([r,"edgeWidth"],[e,"clippingPlaneEdgeWidth"])),this.d(e.clippingPlaneIdChanged.don(()=>{s.clippingPlanesId=e.clippingPlaneId})),this.d(e.excavateIdChanged.don(()=>{s.clippingPolygonsId=e.excavateId}));{const c=()=>{typeof e.url=="string"?e.url=a.ESSceneObject.context.getStrFromEnv(e.url):e.url&&(e.url.url=a.ESSceneObject.context.getStrFromEnv(e.url.url)),s.url=e.url};c(),this.d(e.urlChanged.don(c))}this.d(a.track([s,"show"],[e,"show"])),this.d(a.track([s,"colorBlendMode"],[e,"colorBlendMode"])),this.d(a.track([s,"cacheBytes"],[e,"cacheBytes"])),this.d(a.track([s,"maximumCacheOverflowBytes"],[e,"cacheBytes"])),this.d(a.track([s,"allowPicking"],[e,"allowPicking"])),this.d(a.bind([s,"imageBasedLightingFactor"],[e,"czmImageBasedLightingFactor"])),this.d(a.track([s,"environmentMapManager"],[e,"czmEnvironmentMapManager"])),this.d(a.track([s,"maximumScreenSpaceError"],[e,"maximumScreenSpaceError"])),this.d(a.track([s,"maximumMemoryUsage"],[e,"czmMaximumMemoryUsage"])),this.d(a.track([s,"classificationType"],[e,"czmClassificationType"])),this.d(a.track([s,"styleJson"],[e,"czmStyleJson"])),this.d(a.bind([s,"rotation"],[e,"rotation"])),this.d(a.track([s,"backFaceCulling"],[e,"czmBackFaceCulling"])),this.d(a.track([s,"debugShowBoundingVolume"],[e,"czmDebugShowBoundingVolume"])),this.d(a.track([s,"debugShowContentBoundingVolume"],[e,"czmDebugShowContentBoundingVolume"])),this.d(a.track([s,"skipLevelOfDetail"],[e,"czmSkipLevelOfDetail"])),this.ad(a.bind([s,"splitDirection"],[e,"splitDirection"]));{const c=u=>{e.czmEnvironmentMapManager=e.czmEnvironmentMapManager?{...e.czmEnvironmentMapManager,atmosphereScatteringIntensity:u}:{atmosphereScatteringIntensity:u}};c(e.czmAtmosphereScatteringIntensity),c(e.czmLuminanceAtZenith),this.ad(e.czmAtmosphereScatteringIntensityChanged.don(u=>c(u))),this.ad(e.czmLuminanceAtZenithChanged.don(u=>c(u)))}{const c=()=>{var u,d;(u=e.czmEnvironmentMapManager)!=null&&u.atmosphereScatteringIntensity&&(e.czmAtmosphereScatteringIntensity=e.czmLuminanceAtZenith=(d=e.czmEnvironmentMapManager)==null?void 0:d.atmosphereScatteringIntensity)};c(),this.ad(e.czmEnvironmentMapManagerChanged.don(c))}{const c=()=>{const u=e.materialMode??a.ES3DTileset.defaults.materialMode;Cy=e.materialParams.baseColor??[1,1,1],u==="normal"?s.customShaderInstanceClass=void 0:u==="technology"&&(s.customShaderInstanceClass=void 0,s.customShaderInstanceClass=aE)};this.d(e.materialModeChanged.don(u=>{c()})),this.d(e.materialParamsChanged.don(()=>{c()})),c()}}get czm3DTiles(){return this._czm3DTiles}get clippingPlanes(){return this._clippingPlanes}get flattenedPlane(){return this._flattenedPlane}get styleColor(){return this._styleColor.value}set styleColor(e){this._styleColor.value=e}get highlightStyleColor(){return this._highlightStyleColor.value}set highlightStyleColor(e){this._highlightStyleColor.value=e}get styleVisable(){return this._styleVisable.value}set styleVisable(e){this._styleVisable.value=e}highlightFeature(e,n){const o=n??"rgba(255,0,0,1)",l=["${id} === "+(typeof e=="string"?`'${e}'`:e),o];let c={};const u=this.styleColor?[l,...this.styleColor]:[l];this.styleVisable?c={show:{conditions:[...this.styleVisable]},color:{conditions:[...u]}}:c={color:{conditions:[...u]}},console.log("style",c),this._czm3DTiles.styleJson=c,this.highlightStyleColor=[...l]}setFeatureColor(e){const n=this.highlightStyleColor,o=this.styleColor?[...e,...this.styleColor]:[...e];let s={};this.styleVisable?n?s={show:{conditions:[...this.styleVisable]},color:{conditions:[...o,n]}}:s={show:{conditions:[...this.styleVisable]},color:{conditions:[...o]}}:n?s={color:{conditions:[...o,n]}}:s={color:{conditions:[...o]}},console.log("style",s),this._czm3DTiles.styleJson=s,this.styleColor=[...o]}setFeatureVisable(e){let n={};const o=this.highlightStyleColor,s=this.styleVisable?[...e,...this.styleVisable]:[...e];this.styleColor?o?n={show:{conditions:[...s]},color:{conditions:[o,...this.styleColor]}}:n={show:{conditions:[...s]},color:{conditions:[...this.styleColor]}}:o?n={show:{conditions:[...s]},color:{conditions:[o]}}:n={show:{conditions:[...s]}},console.log("style",n),this._czm3DTiles.styleJson=n,this.styleVisable=[...s]}resetFeatureStyle(){this.czm3DTiles.styleJson=void 0,this.styleColor=void 0,this.highlightStyleColor=void 0,this.styleVisable=void 0}flyTo(e,n){const{sceneObject:o,czmViewer:s,czm3DTiles:r}=this;return s.actived?o.flyToParam||o.flyInParam?super.flyTo(e,n):(r.flyTo(e&&e*1e3),o.flyOverEvent.emit(n,"over",s),!0):!1}flyIn(e,n){const{sceneObject:o,czmViewer:s,czm3DTiles:r}=this;return s.actived?o.flyInParam?super.flyIn(e,n):(r.flyTo(e&&e*1e3),o.flyOverEvent.emit(n,"over",s),!0):!1}};m(Wi,"type",Wi.register("ESCesiumViewer",a.ES3DTileset.type,Wi)),m(Wi,"strokeFeaturePostProcess",new jA);let Rs=Wi;const Ea=class Ea extends me{constructor(e,n){super(e,n);m(this,"_czmModelPrimitive");if(!n.viewer){console.warn("viewer is undefined!");return}const s=a.ESSceneObject.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/glb/warning/warning_b.glb"),r=a.ESSceneObject.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/glb/warning/warning_a.glb");this._czmModelPrimitive=this.dv(new ct(this.czmViewer,this.sceneObject.id));const l=this._czmModelPrimitive;this.d(l.readyEvent.don(c=>{e.readyEvent.emit(c)})),this.ad(a.bind([l,"position"],[e,"position"])),this.ad(je([l,"rotation"],[e,"rotation"])),this.ad(a.track([l,"show"],[e,"show"])),l.activeAnimationsAnimateWhilePaused=!0,l.activeAnimationsJson=[{index:0,loop:"REPEAT",animationTime:"(duration) => Date.now() / 1000 / duration * 2"}];{const c=this.dv(a.createNextAnimateFrameEvent(e.allowPickingChanged,e.editingChanged)),u=()=>{e.allowPicking&&!e.editing?l.allowPicking=!0:l.allowPicking=!1};u(),this.d(c.don(u))}{const c=()=>{const u=e.mode;u==="circle"?l.url=s:(u==="cylinder"||u===void 0)&&(l.url=r)};c(),this.dispose(e.modeChanged.disposableOn(()=>{c()}))}{const c=()=>{const d=e.radius??a.ESAlarm.defaults.radius;l.scale=[d*e.scale[0],d*e.scale[1],d*e.scale[2]]};c();const u=this.dv(a.createNextAnimateFrameEvent(e.radiusChanged,e.scaleChanged));this.dispose(u.disposableOn(()=>{c()}))}}get czmModelPrimitive(){return this._czmModelPrimitive}flyTo(e,n){const{sceneObject:o,czmViewer:s,czmModelPrimitive:r}=this;return!s.actived||!s.viewer?!1:o.flyToParam||o.flyInParam?super.flyTo(e,n):(r&&Rt(s,o,n,e,r,!0),!0)}};m(Ea,"type",Ea.register("ESCesiumViewer",a.ESAlarm.type,Ea));let Ud=Ea;const dE={scan:`
574
+ `});this._customShader=o}update(){alert("暂未实现!")}get customShader(){return this._customShader}}const lE=(t,i)=>{if(!t)return;const e=6378137*Math.PI/180,[n,o,s]=t,l=1/(e*Math.cos(o*Math.PI/180));return[i[0]/l,i[1]/l,i[2]]},cE=(t,i)=>{const e=6378137*Math.PI/180,[n,o,s]=t,r=i,c=1/(e*Math.cos(o*Math.PI/180));return[n+c*r[0],o+c*r[1],s+r[2]]};function gh(t){return`rgba(${t[0]*255},${t[1]*255},${t[2]*255},${t[3]})`}function hE(t,i){const e=Reflect.has(t,"value"),n=Reflect.has(t,"minValue"),o=Reflect.has(t,"maxValue");try{const s=typeof t.value=="string"?`'${t.value}'`:t.value;if(e)return[`\${${i}} === `+s,gh(t.rgba)];if(n&&o)return[`\${${i}} >= ${t.minValue} && \${${i}} <= ${t.maxValue}`,gh(t.rgba)];if(n)return[`\${${i}} >= ${t.minValue}`,gh(t.rgba)];if(o)return[`\${${i}} <= ${t.maxValue}`,gh(t.rgba)];if(!e&&!n&&!o)throw new Error(`Feature Color JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, rgba值为0~1且必须存在!`)}catch(s){throw new Error(`Feature Color JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, rgba值为0~1且必须存在! ${s}`)}}function uE(t,i){const e=Reflect.has(t,"value"),n=Reflect.has(t,"minValue"),o=Reflect.has(t,"maxValue");try{const s=typeof t.value=="string"?`'${t.value}'`:t.value;if(e)return[`\${${i}} === `+s,t.visable.toString()];if(n&&o)return[`\${${i}} >= ${t.minValue} && \${${i}} <= ${t.maxValue}`,t.visable.toString()];if(n)return[`\${${i}} >= ${t.minValue}`,t.visable.toString()];if(o)return[`\${${i}} <= ${t.maxValue}`,t.visable.toString()];if(!e&&!n&&!o)throw new Error(`Feature Visable JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, visable必须存在!`)}catch(s){throw new Error(`Feature Visable JSON错误,${t}中至少应该有一个属性,value|minValue|maxValue, visable必须存在! ${s}`)}}const Wi=class Wi extends Jt{constructor(e,n){super(e,n);m(this,"_czm3DTiles");m(this,"_clippingPlanes");m(this,"_flattenedPlane");m(this,"_styleColor",this.dv(a.react(void 0)));m(this,"_highlightStyleColor",this.dv(a.react(void 0)));m(this,"_styleVisable",this.dv(a.react(void 0)));this._flattenedPlane=this.dv(new Wn(n,e.id)),this._czm3DTiles=this.dv(new be(n,this,e.id)),this._clippingPlanes=this.dv(new Ds(n,e.id));const o=n.viewer;if(!o){console.warn("viewer is undefined!");return}const s=this._czm3DTiles;this.ad(e.setMaterialEvent.don(c=>{s.setMaterial(c)}));{const c=()=>{s.origin&&(e.offset||(e.offset=[0,0,0]),s.position=cE(s.origin,e.offset))};c(),this.d(e.offsetChanged.don(c)),this.d(s.originChanged.don(c))}{const c=()=>{if(!s.position)return;const d=s.position.map((p,f)=>{if(s.origin)return p-s.origin[f]});s.origin&&(e.offset=lE(s.origin,d))};c();const u=this.ad(a.createNextAnimateFrameEvent(s.positionChanged));this.d(u.don(c))}const r=this._clippingPlanes,l=this._flattenedPlane;this.d(e.setFeatureColorEvent.don((c,u)=>{const p=u.reverse().map(f=>hE(f,c));this.setFeatureColor(p)})),this.d(e.setFeatureVisableEvent.don((c,u)=>{const p=u.reverse().map(f=>uE(f,c));this.setFeatureVisable(p)})),this.d(e.resetFeatureStyleEvent.don(()=>{this.resetFeatureStyle()})),this.d(e.highlightFeatureEvent.don((c,u)=>{this.highlightFeature(c,u)})),this.d(e.highlightFeatureAndFlyToEvent.don((c,u,d,p)=>{d&&this.highlightFeature(c,d);const f=new h.Cartesian3(u[0],u[1],u[2]),g=new h.BoundingSphere(f,u[3]);o.camera.flyToBoundingSphere(g,{duration:p??1})})),Wi.strokeFeaturePostProcess.register(this),this.ad(()=>{Wi.strokeFeaturePostProcess.unregister(this)}),this.ad(e.strokeFeatureEvent.don((c,u)=>{u&&Wi.strokeFeaturePostProcess.setStrokeColor(u),Wi.strokeFeaturePostProcess.setStrokeSelect(this,c)})),this.d(s.czmTilesetReadyEvent.don(c=>{const u=d=>{if(c.style=void 0,d.length===0)return;const p=[...d],f=[],g=[];let v;p.forEach(y=>{Array.isArray(y.condition)?(f.push({condition:y.condition,color:y.color??[1,1,1,1]}),g.push({condition:y.condition,show:y.show??!0})):(f.push({condition:[y.condition],color:y.color??[1,1,1,1]}),g.push({condition:[y.condition],show:y.show??!0}))});{const y=(P,C)=>{try{let S;return f.forEach(A=>{if(S===void 0){const E=nE(A,P);E.length>0&&!E.includes(!1)&&(S=eE(A.color,C))}}),S||h.Color.clone(h.Color.WHITE,C)}catch{return h.Color.clone(h.Color.WHITE,C)}},w=P=>{try{let C;return g.forEach(S=>{if(C===void 0){const A=oE(S,P);A.length>0&&!A.includes(!1)&&(C=S.show)}}),C!==void 0?C:!0}catch{return!0}};v=new h.Cesium3DTileStyle({color:{evaluateColor:function(P,C){return y(P,C)}},show:{evaluate:function(P){return w(P)}}})}c.style=v};this.d(e.setFeatureStyleEvent.don(d=>{u(d)})),this.d(e.resetFeatureStyleEvent.don(()=>{c.style=void 0}));{const d=this,p=[],f=c.tileLoad.addEventListener(function(v){try{const w=v.content.getFeature(0),C=w.getPropertyIds().map(E=>{const R=w.getProperty(E);return{key:E,type:typeof R}}),S=p.map(E=>E.key),A=C.filter(E=>!S.includes(E.key));p.push(...A)}catch{}});this.d(()=>{f()});const g=async()=>{try{p.length>0?e._featureTableResultEvent.emit(p):e._featureTableResultEvent.emit(void 0)}catch(v){console.warn(`CzmES3DTileset GetFeatureTable: ${v}`),e._featureTableResultEvent.emit(void 0)}};d.d(e.getFeatureTableEvent.don(()=>{g()}))}{const d=p=>{s.tileset.featureIdLabel=`featureId_${p}`};this.ad(e.featureIdLabelChanged.don(p=>{d(p)}))}})),this.d(s.czmTilesetReadyEvent.don((c,u)=>{e.supportEdit=s.supportEdit,e.tilesetReady.emit(c)})),s.absoluteClippingPlanes=!0,s.czmFlattenedPlaneId=this.flattenedPlane.id,e.flattenedPlaneId=this.flattenedPlane.id,s.clippingPlanesId=this.clippingPlanes.id,this.d(a.track([l,"enabled"],[e,"flattenedPlaneEnabled"])),this.d(a.track([r,"enabled"],[e,"clippingPlaneEnabled"])),this.d(a.track([r,"planeIds"],[e,"clippingPlaneIds"])),this.d(a.track([r,"unionClippingRegions"],[e,"unionClippingRegions"])),this.d(a.track([r,"edgeColor"],[e,"clippingPlaneEdgeColor"])),this.d(a.track([r,"edgeWidth"],[e,"clippingPlaneEdgeWidth"])),this.d(e.clippingPlaneIdChanged.don(()=>{s.clippingPlanesId=e.clippingPlaneId})),this.d(e.excavateIdChanged.don(()=>{s.clippingPolygonsId=e.excavateId}));{const c=()=>{typeof e.url=="string"?e.url=a.ESSceneObject.context.getStrFromEnv(e.url):e.url&&(e.url.url=a.ESSceneObject.context.getStrFromEnv(e.url.url)),s.url=e.url};c(),this.d(e.urlChanged.don(c))}this.d(a.track([s,"show"],[e,"show"])),this.d(a.track([s,"colorBlendMode"],[e,"colorBlendMode"])),this.d(a.track([s,"cacheBytes"],[e,"cacheBytes"])),this.d(a.track([s,"maximumCacheOverflowBytes"],[e,"cacheBytes"])),this.d(a.track([s,"allowPicking"],[e,"allowPicking"])),this.d(a.bind([s,"imageBasedLightingFactor"],[e,"czmImageBasedLightingFactor"])),this.d(a.track([s,"environmentMapManager"],[e,"czmEnvironmentMapManager"])),this.d(a.track([s,"maximumScreenSpaceError"],[e,"maximumScreenSpaceError"])),this.d(a.track([s,"maximumMemoryUsage"],[e,"czmMaximumMemoryUsage"])),this.d(a.track([s,"classificationType"],[e,"czmClassificationType"])),this.d(a.track([s,"styleJson"],[e,"czmStyleJson"])),this.d(a.bind([s,"rotation"],[e,"rotation"])),this.d(a.track([s,"backFaceCulling"],[e,"czmBackFaceCulling"])),this.d(a.track([s,"debugShowBoundingVolume"],[e,"czmDebugShowBoundingVolume"])),this.d(a.track([s,"debugShowContentBoundingVolume"],[e,"czmDebugShowContentBoundingVolume"])),this.d(a.track([s,"skipLevelOfDetail"],[e,"czmSkipLevelOfDetail"])),this.ad(a.bind([s,"splitDirection"],[e,"splitDirection"])),this.ad(a.createEventsCallFunc(e.czmDebugWireframeChanged,()=>{s.enableDebugWireframe=e.czmDebugWireframe,s.debugWireframe=e.czmDebugWireframe},{immediate:!0}));{const c=u=>{e.czmEnvironmentMapManager=e.czmEnvironmentMapManager?{...e.czmEnvironmentMapManager,atmosphereScatteringIntensity:u}:{atmosphereScatteringIntensity:u}};c(e.czmAtmosphereScatteringIntensity),c(e.czmLuminanceAtZenith),this.ad(e.czmAtmosphereScatteringIntensityChanged.don(u=>c(u))),this.ad(e.czmLuminanceAtZenithChanged.don(u=>c(u)))}{const c=()=>{var u,d;(u=e.czmEnvironmentMapManager)!=null&&u.atmosphereScatteringIntensity&&(e.czmAtmosphereScatteringIntensity=e.czmLuminanceAtZenith=(d=e.czmEnvironmentMapManager)==null?void 0:d.atmosphereScatteringIntensity)};c(),this.ad(e.czmEnvironmentMapManagerChanged.don(c))}{const c=()=>{const u=e.materialMode??a.ES3DTileset.defaults.materialMode;Cy=e.materialParams.baseColor??[1,1,1],u==="normal"?s.customShaderInstanceClass=void 0:u==="technology"&&(s.customShaderInstanceClass=void 0,s.customShaderInstanceClass=aE)};this.d(e.materialModeChanged.don(u=>{c()})),this.d(e.materialParamsChanged.don(()=>{c()})),c()}}get czm3DTiles(){return this._czm3DTiles}get clippingPlanes(){return this._clippingPlanes}get flattenedPlane(){return this._flattenedPlane}get styleColor(){return this._styleColor.value}set styleColor(e){this._styleColor.value=e}get highlightStyleColor(){return this._highlightStyleColor.value}set highlightStyleColor(e){this._highlightStyleColor.value=e}get styleVisable(){return this._styleVisable.value}set styleVisable(e){this._styleVisable.value=e}highlightFeature(e,n){const o=n??"rgba(255,0,0,1)",l=["${id} === "+(typeof e=="string"?`'${e}'`:e),o];let c={};const u=this.styleColor?[l,...this.styleColor]:[l];this.styleVisable?c={show:{conditions:[...this.styleVisable]},color:{conditions:[...u]}}:c={color:{conditions:[...u]}},console.log("style",c),this._czm3DTiles.styleJson=c,this.highlightStyleColor=[...l]}setFeatureColor(e){const n=this.highlightStyleColor,o=this.styleColor?[...e,...this.styleColor]:[...e];let s={};this.styleVisable?n?s={show:{conditions:[...this.styleVisable]},color:{conditions:[...o,n]}}:s={show:{conditions:[...this.styleVisable]},color:{conditions:[...o]}}:n?s={color:{conditions:[...o,n]}}:s={color:{conditions:[...o]}},console.log("style",s),this._czm3DTiles.styleJson=s,this.styleColor=[...o]}setFeatureVisable(e){let n={};const o=this.highlightStyleColor,s=this.styleVisable?[...e,...this.styleVisable]:[...e];this.styleColor?o?n={show:{conditions:[...s]},color:{conditions:[o,...this.styleColor]}}:n={show:{conditions:[...s]},color:{conditions:[...this.styleColor]}}:o?n={show:{conditions:[...s]},color:{conditions:[o]}}:n={show:{conditions:[...s]}},console.log("style",n),this._czm3DTiles.styleJson=n,this.styleVisable=[...s]}resetFeatureStyle(){this.czm3DTiles.styleJson=void 0,this.styleColor=void 0,this.highlightStyleColor=void 0,this.styleVisable=void 0}flyTo(e,n){const{sceneObject:o,czmViewer:s,czm3DTiles:r}=this;return s.actived?o.flyToParam||o.flyInParam?super.flyTo(e,n):(r.flyTo(e&&e*1e3),o.flyOverEvent.emit(n,"over",s),!0):!1}flyIn(e,n){const{sceneObject:o,czmViewer:s,czm3DTiles:r}=this;return s.actived?o.flyInParam?super.flyIn(e,n):(r.flyTo(e&&e*1e3),o.flyOverEvent.emit(n,"over",s),!0):!1}};m(Wi,"type",Wi.register("ESCesiumViewer",a.ES3DTileset.type,Wi)),m(Wi,"strokeFeaturePostProcess",new jA);let Rs=Wi;const Ea=class Ea extends me{constructor(e,n){super(e,n);m(this,"_czmModelPrimitive");if(!n.viewer){console.warn("viewer is undefined!");return}const s=a.ESSceneObject.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/glb/warning/warning_b.glb"),r=a.ESSceneObject.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/glb/warning/warning_a.glb");this._czmModelPrimitive=this.dv(new ct(this.czmViewer,this.sceneObject.id));const l=this._czmModelPrimitive;this.d(l.readyEvent.don(c=>{e.readyEvent.emit(c)})),this.ad(a.bind([l,"position"],[e,"position"])),this.ad(je([l,"rotation"],[e,"rotation"])),this.ad(a.track([l,"show"],[e,"show"])),l.activeAnimationsAnimateWhilePaused=!0,l.activeAnimationsJson=[{index:0,loop:"REPEAT",animationTime:"(duration) => Date.now() / 1000 / duration * 2"}];{const c=this.dv(a.createNextAnimateFrameEvent(e.allowPickingChanged,e.editingChanged)),u=()=>{e.allowPicking&&!e.editing?l.allowPicking=!0:l.allowPicking=!1};u(),this.d(c.don(u))}{const c=()=>{const u=e.mode;u==="circle"?l.url=s:(u==="cylinder"||u===void 0)&&(l.url=r)};c(),this.dispose(e.modeChanged.disposableOn(()=>{c()}))}{const c=()=>{const d=e.radius??a.ESAlarm.defaults.radius;l.scale=[d*e.scale[0],d*e.scale[1],d*e.scale[2]]};c();const u=this.dv(a.createNextAnimateFrameEvent(e.radiusChanged,e.scaleChanged));this.dispose(u.disposableOn(()=>{c()}))}}get czmModelPrimitive(){return this._czmModelPrimitive}flyTo(e,n){const{sceneObject:o,czmViewer:s,czmModelPrimitive:r}=this;return!s.actived||!s.viewer?!1:o.flyToParam||o.flyInParam?super.flyTo(e,n):(r&&Rt(s,o,n,e,r,!0),!0)}};m(Ea,"type",Ea.register("ESCesiumViewer",a.ESAlarm.type,Ea));let Ud=Ea;const dE={scan:`
575
575
  in vec2 v_st;
576
576
  uniform vec4 u_color;
577
577
  void main()
@@ -2292,10 +2292,10 @@ async function initCesiumViewer(container, czmViewer) {
2292
2292
  `;function lO(){const t="https://gitee.com/mirrors/CesiumJS/blob/main/packages/engine/Source/Core/Ion.js#L7",e=` 因浏览器同源策略限制,需要用户自行打开网址获取最新的token,点击确定自动打开网址,请不要拦截!
2293
2293
  github地址:https://github.com/CesiumGS/cesium/blob/main/packages/engine/Source/Core/Ion.js#L7
2294
2294
  gitee地址:${t}
2295
- `;console.log(e);const n=globalThis.prompt(e,t);n&&globalThis.open(n,"_blank")}const lt=class lt extends a.ESViewer{constructor(e){super(e);m(this,"_disabledInputStack",this.disposeVar(a.react(0)));m(this,"_viewer",this.dv(a.react(void 0)));m(this,"_viewerInstance");m(this,"_viewerLegend");m(this,"pickCustomAttachedInfo");m(this,"_fps",this.dv(a.react(0)));m(this,"_notSupportEditingCount",this.disposeVar(a.react(0)));m(this,"_editingSystem",$h);m(this,"_moveObjectsProcess",this.ad(xC()));if(e.type!=="ESCesiumViewer")throw new Error("option.type must be ESCesiumViewer");this.ad(new AF(this)),this.ad(new EF(this)),this.dv(new a.ObjResettingWithEvent(this.viewerChanged,()=>{if(this.viewer)return new DF(this)})),this._viewerLegend=this.dv(new iO(this)),this._viewerInstance=this.dv(new a.ObjResettingWithEvent(this.viewerChanged,()=>{if(this.viewer)return new zg(this,this.viewer)})),this.d(this.viewerChanged.don(o=>{this.viewer&&(this.viewer.scene.globe.baseColor=te([1,1,1,1]))}));const n=e;this.d(this._viewer.changed.don(o=>{this.viewerChanged.emit(o)})),this.dv(new a.ObjResettingWithEvent(this.subContainerChanged,()=>{if(this.setStatus("Raw"),this.setStatusLog(""),!!this.subContainer)return new ML(this.subContainer,this,o=>this._viewer.value=o,n.options)}))}get disabledInputStack(){return this._disabledInputStack.value}get disabledInputStackChanged(){return this._disabledInputStack.changed}incrementDisabledInputStack(){++this._disabledInputStack.value}decrementDisabledInputStack(){--this._disabledInputStack.value}get viewer(){return this._viewer.value}get extensions(){return this.viewer&&Ke(this.viewer)}get viewerInstance(){return this._viewerInstance}get viewerLegend(){return this._viewerLegend}async pick(e,n,o){if(!this.extensions)return;const{pickingManager:s}=this.extensions;return await s.pick(e,void 0,n)}async pickPosition(e){if(!this.extensions)return;const{pickingManager:n}=this.extensions;return await n.pickPosition(e)}async quickPickPosition(e){if(!this.extensions)return;const{pickingManager:n}=this.extensions;return await n.quickPickPosition(e)}async getTerrainHeight(e){const{viewer:n}=this;if(!n)return;const o=h.Cartographic.fromDegrees(e[0],e[1],e[2],lt.getHeightsScartchCarto);return n.scene.globe.getHeight(o)}getCameraInfo(){if(!this.viewer)return;const{camera:e}=this.viewer;return{position:Ht(e),rotation:jo(e)}}calcFlyToParam(e){if(!this.viewer)return;const{camera:n}=this.viewer;if(!n||!e)return;const o=h.Cartesian3.fromDegrees(...e),s=h.Transforms.eastNorthUpToFixedFrame(o),r=h.Matrix4.inverse(s,new h.Matrix4),l=h.Matrix4.multiplyByPoint(r,n.positionWC,new h.Cartesian3),c=h.Cartesian3.magnitude(l);let u=-Math.asin(l.z/c);u=h.Math.toDegrees(u);let d=h.Math.PI_OVER_TWO-Math.atan(l.y/l.x);l.x>0&&(d+=l.y<0?-h.Math.PI:h.Math.PI),d=h.Math.toDegrees(d);const p=jo(n),f=p[0]-d,g=p[1]-u;return{distance:c,heading:d,pitch:u,flyDuration:1,hDelta:f,pDelta:g}}flyIn(e,n,o,s="default"){var c;const r={position:e,rotation:n,duration:(o??1)*1e3},l=(c=this.viewer)==null?void 0:c.camera;return l&&Er(l,r,s)}flyTo(e,n,o="default"){var g;const{distance:s,heading:r,pitch:l,flyDuration:c,hDelta:u,pDelta:d}=e,p={position:n,viewDistance:s,rotation:[r,l,0],duration:c*1e3,hdelta:u,pdelta:d},f=(g=this.viewer)==null?void 0:g.camera;return f&&Er(f,p,o)}flyToBoundingSphere(e,n,o=1){var p;const s=[[e[0],e[1],0],[e[0],e[3],0],[e[2],e[3],0],[e[2],e[1],0]],r=a.getGeoBoundingSphereFromPositions(s);if(!r)return;const{center:l,radius:c}=r,u={position:l,viewDistance:n??c,rotation:[0,-90,0],duration:o*1e3},d=(p=this.viewer)==null?void 0:p.camera;return d&&Er(d,u)}getCurrentCameraInfo(){if(!this.viewer)return;const{camera:e}=this.viewer;return{position:Ht(e),rotation:jo(e)}}transformFlyParam(e,n){if("position"in n){const o=h.Cartesian3.fromDegrees(...e),s=h.Transforms.eastNorthUpToFixedFrame(o),r=h.Matrix4.inverse(s,new h.Matrix4),l=h.Matrix4.multiplyByPoint(r,Se(n.position),new h.Cartesian3),c=h.Cartesian3.magnitude(l);let u=-Math.asin(l.z/c);u=h.Math.toDegrees(u);let d=h.Math.PI_OVER_TWO-Math.atan(l.y/l.x);l.x>0&&(d+=l.y<0?-h.Math.PI:h.Math.PI),d=h.Math.toDegrees(d);const p=n.rotation[0]-d,f=n.rotation[1]-u;return{distance:c,heading:d,pitch:u,flyDuration:n.flyDuration??1,hDelta:p,pDelta:f}}else{const o=Se(e);let s={heading:h.Math.toRadians(n.heading),pitch:h.Math.toRadians(n.pitch),roll:0};const r=new h.HeadingPitchRoll;if(n.distance){r.heading=s.heading,r.pitch=s.pitch,r.roll=0,r.heading-=h.Math.PI_OVER_TWO;const c=h.Transforms.headingPitchRollToFixedFrame(o,r,void 0,void 0),u=h.Matrix4.multiplyByPointAsVector(c,h.Cartesian3.UNIT_X,new h.Cartesian3);h.Cartesian3.multiplyByScalar(u,n.distance,u),h.Cartesian3.subtract(o,u,o)}n.hDelta&&(s.heading+=h.Math.toRadians(n.hDelta)),n.pDelta&&(s.pitch+=h.Math.toRadians(n.pDelta));const l=se(o);return l?{position:l,rotation:[h.Math.toDegrees(s.heading),h.Math.toDegrees(s.pitch),h.Math.toDegrees(s.roll)],flyDuration:n.flyDuration??1}:void 0}}getLengthInPixel(){return this._viewerLegend.length}changeToWalk(e,n=4.2,o=1.6){var s,r;(r=(s=this._viewerInstance)==null?void 0:s.obj)==null||r.navigationManager.changeToWalk(e,n,o),this._navigationMode.value="Walk"}changeToMap(){var e,n;(n=(e=this._viewerInstance)==null?void 0:e.obj)==null||n.navigationManager.changeToMap(),this._navigationMode.value="Map"}changeToRotateGlobe(e,n,o){var s,r;(r=(s=this._viewerInstance)==null?void 0:s.obj)==null||r.navigationManager.changeToRotateGlobe(e,n,o),this._navigationMode.value="RotateGlobe"}changeToLine(e,n,o,s,r,l){var c,u;(u=(c=this._viewerInstance)==null?void 0:c.obj)==null||u.navigationManager.changeToLine(e,n,o,s,r,l),this._navigationMode.value="Line"}changeToUserDefined(e){this.changeToMap(),console.warn("Cesium引擎暂不支持自定义漫游,已切换为Map模式")}changeToRotatePoint(e,n,o,s,r){var l,c;(c=(l=this._viewerInstance)==null?void 0:l.obj)==null||c.navigationManager.changeToRotatePoint(e,n,o,s,r),this._navigationMode.value="RotatePoint"}changeToFollow(e,n,o,s,r){var l,c;(c=(l=this._viewerInstance)==null?void 0:l.obj)==null||c.navigationManager.changeToFollow(e,n,o,s,r),this._navigationMode.value="Follow"}getFPS(){return this._fps.value}async getBoundSphere(e){return Promise.resolve(void 0)}async getVersion(){const e=globalThis.g_XE3CopyRights??{};return e.cesium={version:h.VERSION},e}async getHeightByLonLat(e,n,o){if(!this.viewer)return null;const s=h.Cartographic.fromDegrees(e,n,void 0,lt.getHeightsScartchCarto);return this.viewer.scene.sampleHeight(s)??null}async getHeightsByLonLats(e,n){const o=e.map(r=>this.getHeightByLonLat(...r));return await Promise.all(o)}async capture(e,n){if(this.viewer)return await xm(this.viewer.scene,e,n)}async lonLatAltToScreenPosition(e){if(!this.viewer||!this.isPointVisible(e))return;const n=this.viewer.scene.cartesianToCanvasCoordinates(Se(e));if(n)return[n.x,n.y]}get notSupportEditingCount(){return this._notSupportEditingCount.value}set notSupportEditingCount(e){this._notSupportEditingCount.value=e}get notSupportEditingCountChanged(){return this._notSupportEditingCount.changed}startEditing(e,n,o){o=Object.assign({useKeyToSwitch:!0,callSource:"outer"},o);const s=e.components.main??e;s&&n!=null&&(s.editingID=`${o.callSource}_${a.createGuid()}`,this._editingSystem.create(this,s,n,o.useKeyToSwitch))}stopEditing(){this._editingSystem.stop()}moveObjects(e){const n=[],o=a.createGuid();for(let s=0;s<e.length;s++){const r=e[s],l=r.components.main??r;l.editingID=o,l&&n.push(l)}this._moveObjectsProcess.restart(void 0,this,n,o)}getCzmObject(e){return this.sceneObjectsMap.get(e)}setCurrentDefaultAccessToken(){this.ionAccessToken=lt.currentDefaultAccessToken}setLatestDefaultAccessToken(){if(!lt.latestDefaultAccessToken){alert("Cesium最新的iontoken无法获取!"),console.error("Cesium最新的iontoken无法获取!");return}this.ionAccessToken=lt.latestDefaultAccessToken}positionsToLocalPositions(e,n){return Dt(e,n)}localPositionsToPositions(e,n){return Cn(e,n)}isPointVisible(e){if(!this.viewer)return!1;const n=e instanceof h.Cartesian3?e:Se(e),o=new h.EllipsoidalOccluder(this.viewer.scene.globe.ellipsoid,this.viewer.scene.camera.positionWC);if(o.cameraPosition=this.viewer.scene.camera.positionWC,!o.isPointVisible(n))return!1;const s=this.viewer.scene.cartesianToCanvasCoordinates(n);return!(!s||s.x<0||s.y<0)}getESProperties(){const e={...super.getESProperties()},n=lt.defaults;return{...e,more:[...e.more,new a.GroupProperty([],"通用","通用"),new a.EvalStringProperty([this,"createCesiumViewerFuncStr"],"CesiumViewer创建函数",aO,rO,!0),new a.FunctionProperty([],()=>lt.getCesiumIonToken(),[],"获取官方token"),new a.FunctionProperty([],()=>this.setCurrentDefaultAccessToken(),[],"重置为当前使用的Cesium版本的token"),new a.FunctionProperty([],()=>this.setLatestDefaultAccessToken(),[],"最新token","重置为当前Cesium官方的最新token"),new a.BooleanProperty([this,"flashLighting"],"头顶灯",n.flashLighting,!0),new a.BooleanProperty([this,"particleGlobalControl"],"粒子全局控制播放",n.particleGlobalControl,!0),new a.GroupProperty([],"Viewer","Viewer"),new a.NumberProperty([this,"resolutionScale"],"分辨率比率",n.resolutionScale,!0),new a.NumberProperty([this,"msaaSamples"],"msaaSamples",n.msaaSamples,!0),new a.BooleanProperty([this,"shadows"]),new a.GroupProperty([],"比例尺","比例尺(Legend)"),new a.NumberProperty([this.viewerLegend,"resolution"],"resolution",void 0,!0,!0),new a.NumberProperty([this.viewerLegend,"zoom"],"zoom",void 0,!0,!0),new a.Number3Property([this.viewerLegend,"center"],"center",void 0,!0,!0),new a.NumberProperty([this.viewerLegend.legend,"lengthInPixels"],"lengthInPixels",100,!0,!1),new a.NumberProperty([this.viewerLegend.legend,"computedLengthInPixels"],"computedLengthInPixels",void 0,!0,!0),new a.NumberProperty([this.viewerLegend.legend,"computedLengthInMeters"],"computedLengthInMeters",void 0,!0,!0),new a.StringProperty([this.viewerLegend.legend,"computedLengthInStr"],"computedLengthInStr",void 0,!0,!0),new a.GroupProperty([],"场景","场景(Scene)"),new a.NumberProperty([this,"sceneSplitPosition"],"内部视口分割比例",n.sceneSplitPosition,!0),new a.GroupProperty([],"Globe","Globe"),new a.EnumProperty([this,"sceneGlobeShadows"],[["禁用","DISABLED"],["启用","ENABLED"],["仅投射","CAST_ONLY"],["仅接收","RECEIVE_ONLY"]],"sceneGlobeShadows",n.sceneGlobeShadows,!0),new a.NumberProperty([this,"sceneGlobeTerrainExaggeration"]),new a.NumberProperty([this,"sceneGlobeTerrainExaggerationRelativeHeight"]),new a.NumberProperty([this,"sceneGlobeVerticalExaggeration"]),new a.NumberProperty([this,"sceneGlobeVerticalExaggerationRelativeHeight"]),new a.BooleanProperty([this,"sceneGlobeBackFaceCulling"]),new a.BooleanProperty([this,"sceneGlobeShowSkirts"]),new a.BooleanProperty([this,"sceneGlobeShowWaterEffect"]),new a.ColorProperty([this,"sceneGlobeBaseColor"]),new a.Number4Property([this,"sceneGlobeCartographicLimitRectangle"]),new a.JsonProperty([this,"sceneGlobeClippingPlanes"]),new a.StringProperty([this,"sceneGlobeClippingPlanesId"]),new a.JsonProperty([this,"sceneGlobeClippingPolygons"]),new a.StringsProperty([this,"sceneGlobeClippingPolygonsId"]),new a.GroupProperty([],"underground","underground"),new a.ColorProperty([this,"sceneGlobeUndergroundColor"],"sceneGlobeUndergroundColor",n.sceneGlobeUndergroundColor,!0),new a.Number4Property([this,"sceneGlobeUndergroundColorAlphaByDistance"],"sceneGlobeUndergroundColorAlphaByDistance",n.sceneGlobeUndergroundColorAlphaByDistance,!0),new a.GroupProperty([],"Translucency","Translucency"),new a.Number4Property([this,"sceneGlobeTranslucencyBackFaceAlphaByDistance"],"背面渐变透明度",n.sceneGlobeTranslucencyBackFaceAlphaByDistance,!0),new a.Number4Property([this,"sceneGlobeTranslucencyFrontFaceAlphaByDistance"],"正面渐变透明度",n.sceneGlobeTranslucencyFrontFaceAlphaByDistance,!0),new a.Number4Property([this,"sceneGlobeTranslucencyRectangle"],"矩形范围",n.sceneGlobeTranslucencyRectangle,!0),new a.GroupProperty([],"Sun","Sun"),new a.BooleanProperty([this,"sun"],"sun",n.sun,!0),new a.NumberProperty([this,"sceneSunGlowFactor"],"sceneSunGlowFactor",n.sceneSunGlowFactor,!0),new a.GroupProperty([],"Moon","Moon"),new a.BooleanProperty([this,"moon"],"moon",n.moon,!0),new a.StringProperty([this,"sceneMoonTextureUrl"],"sceneMoonTextureUrl",n.sceneMoonTextureUrl,!0),new a.BooleanProperty([this,"sceneMoonOnlySunLighting"],"sceneMoonOnlySunLighting",n.sceneMoonOnlySunLighting,!0),new a.GroupProperty([],"SkyBox","SkyBox"),new a.BooleanProperty([this,"sceneSkyBoxShow"]),new a.JsonProperty([this,"sceneSkyBoxSources"],"sceneSkyBoxSources",n.sceneSkyBoxSources,void 0,!0),new a.GroupProperty([],"Background","Background"),new a.BooleanProperty([this,"xbsjUseBackground"]),new a.StringProperty([this,"xbsjBackgroundImageUri"]),new a.ColorProperty([this,"xbsjBackgroundColor"]),new a.GroupProperty([],"SkyAtmosphere","SkyAtmosphere"),new a.JsonProperty([this,"xbsjLocalBoxSources"],"xbsjLocalBoxSources",n.xbsjLocalBoxSources,void 0,!0),new a.ColorProperty([this,"sceneBackgroundColor"]),new a.GroupProperty([],"Fog","Fog"),new a.BooleanProperty([this,"sceneFogEnabled"],"sceneFogEnabled",n.sceneFogEnabled,!0),new a.NumberProperty([this,"sceneFogDensity"],"sceneFogDensity",n.sceneFogDensity,!0),new a.NumberProperty([this,"sceneFogScreenSpaceErrorFactor"],"sceneFogScreenSpaceErrorFactor",n.sceneFogScreenSpaceErrorFactor,!0),new a.NumberProperty([this,"sceneFogMinimumBrightness"],"sceneFogMinimumBrightness",n.sceneFogMinimumBrightness,!0),new a.GroupProperty([],"Sscc","Sscc"),new a.BooleanProperty([this,"sceneSsccEnableInputs"],"sceneSsccEnableInputs",n.sceneSsccEnableInputs,!0),new a.BooleanProperty([this,"sceneSsccEnableCollisionDetection"],"sceneSsccEnableCollisionDetection",n.sceneSsccEnableCollisionDetection,!0),new a.NumberProperty([this,"sceneSsccZoomFactor"],"sceneSsccZoomFactor",n.sceneSsccZoomFactor,!0),new a.NumberProperty([this,"sceneCameraFrustumFov"],"相机广角"),new a.GroupProperty([],"后处理","后处理"),new a.BooleanProperty([this,"scenePpsfxaaEnabled"],"开启FXAA",n.scenePpsfxaaEnabled,!0),new a.GroupProperty([],"环境遮蔽","环境遮蔽"),new a.BooleanProperty([this,"scenePpsAmbientOcclusionEnabled"]),new a.BooleanProperty([this,"scenePpsAmbientOcclusionAmbientOcclusionOnly"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionIntensity"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionBias"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionLengthCap"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionStepSize"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionBlurStepSize"]),new a.GroupProperty([],"Bloom","Bloom"),new a.BooleanProperty([this,"scenePpsBloomEnabled"]),new a.BooleanProperty([this,"scenePpsBloomGlowOnly"]),new a.NumberProperty([this,"scenePpsBloomContrast"]),new a.NumberProperty([this,"scenePpsBloomBrightness"]),new a.NumberProperty([this,"scenePpsBloomDelta"]),new a.NumberProperty([this,"scenePpsBloomSigma"]),new a.NumberProperty([this,"scenePpsBloomStepSize"]),new a.GroupProperty([],"调试","调试"),new a.BooleanProperty([this,"sceneDebugShowFramesPerSecond"],"sceneDebugShowFramesPerSecond",n.sceneDebugShowFramesPerSecond,!0),new a.BooleanProperty([this,"sceneDebugShowCommands"],"sceneDebugShowCommands",n.sceneDebugShowCommands,!0),new a.BooleanProperty([this,"sceneDebugShowFrustums"],"sceneDebugShowFrustums",n.sceneDebugShowFrustums,!0),new a.BooleanProperty([this,"sceneDebugShowFrustumPlanes"],"sceneDebugShowFrustumPlanes",n.sceneDebugShowFrustumPlanes,!0),new a.NumberProperty([this,"sceneDebugShowDepthFrustum"],"sceneDebugShowDepthFrustum",n.sceneDebugShowDepthFrustum,!0),new a.GroupProperty([],"Inspector","Inspector"),new a.BooleanProperty([this,"showCesiumInspector"],"showCesiumInspector",n.showCesiumInspector,!0),new a.BooleanProperty([this,"cesiumInspectorWireframe"],"cesiumInspectorWireframe",n.cesiumInspectorWireframe,!0),new a.BooleanProperty([this,"showCesium3DTilesInspector"],"showCesium3DTilesInspector",n.showCesium3DTilesInspector,!0)]}}};m(lt,"type",lt.register("ESCesiumViewer",lt)),m(lt,"getCesiumIonToken",lO),m(lt,"currentDefaultAccessToken",h.Ion.defaultAccessToken),m(lt,"latestDefaultAccessToken"),m(lt,"ObjectsToExcludeWrapper",MF),m(lt,"defaults",{...a.ESViewer.defaults,flashLighting:!1,resolutionScale:1,msaaSamples:4,sceneSplitPosition:0,sceneGlobeShadows:"RECEIVE_ONLY",sceneGlobeUndergroundColor:[0,0,0,1],sceneGlobeUndergroundColorAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyBackFaceAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyFrontFaceAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyRectangle:[-3.141592653589793,-1.5707963267948966,3.141592653589793,1.5707963267948966].map(e=>180*e/Math.PI),sun:!0,sceneSunGlowFactor:1,moon:!0,sceneMoonTextureUrl:h.buildModuleUrl("Assets/Textures/moonSmall.jpg"),sceneMoonOnlySunLighting:!0,sceneSkyBoxSources:{positiveX:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_px.jpg"),negativeX:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_mx.jpg"),positiveY:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_py.jpg"),negativeY:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_my.jpg"),positiveZ:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_pz.jpg"),negativeZ:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_mz.jpg")},xbsjLocalBoxSources:{positiveX:"${earthsdk3-assets-script-dir}/assets/img/skybox/east.jpg",negativeX:"${earthsdk3-assets-script-dir}/assets/img/skybox/west.jpg",positiveY:"${earthsdk3-assets-script-dir}/assets/img/skybox/bottom.jpg",negativeY:"${earthsdk3-assets-script-dir}/assets/img/skybox/top.jpg",positiveZ:"${earthsdk3-assets-script-dir}/assets/img/skybox/north.jpg",negativeZ:"${earthsdk3-assets-script-dir}/assets/img/skybox/south.jpg"},sceneFogEnabled:!0,sceneFogDensity:2e-4,sceneFogScreenSpaceErrorFactor:2,sceneFogMinimumBrightness:.03,sceneSsccEnableInputs:!0,sceneSsccEnableCollisionDetection:!0,sceneSsccZoomFactor:5,scenePpsfxaaEnabled:!0,sceneDebugShowFramesPerSecond:!1,sceneDebugShowCommands:!1,sceneDebugShowFrustums:!1,sceneDebugShowFrustumPlanes:!1,sceneDebugShowDepthFrustum:1,showCesiumInspector:!1,cesiumInspectorWireframe:!1,showCesium3DTilesInspector:!1,particleGlobalControl:!1}),m(lt,"getHeightsScartchCarto",new h.Cartographic);let Me=lt;(t=>{t.createDefaultProps=()=>({...a.ESViewer.createDefaultProps(),...sO()})})(Me||(Me={})),a.extendClassProps(Me.prototype,Me.createDefaultProps),I.copyright=void 0;try{const t="earthsdk3-cesium",i="3.6.3",e="2025-12-04T02:15:04.000Z",n="北京西部世界科技有限公司",o="地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn",s="961ae990522bc6051fa861e8065653128ba328ae",l=((Date.now()-1764814504e3)/36e5).toFixed(1),c=`%c🌏 ${t}%c ${i}.${s.slice(0,8)}.${e} (距今${l}个小时)
2295
+ `;console.log(e);const n=globalThis.prompt(e,t);n&&globalThis.open(n,"_blank")}const lt=class lt extends a.ESViewer{constructor(e){super(e);m(this,"_disabledInputStack",this.disposeVar(a.react(0)));m(this,"_viewer",this.dv(a.react(void 0)));m(this,"_viewerInstance");m(this,"_viewerLegend");m(this,"pickCustomAttachedInfo");m(this,"_fps",this.dv(a.react(0)));m(this,"_notSupportEditingCount",this.disposeVar(a.react(0)));m(this,"_editingSystem",$h);m(this,"_moveObjectsProcess",this.ad(xC()));if(e.type!=="ESCesiumViewer")throw new Error("option.type must be ESCesiumViewer");this.ad(new AF(this)),this.ad(new EF(this)),this.dv(new a.ObjResettingWithEvent(this.viewerChanged,()=>{if(this.viewer)return new DF(this)})),this._viewerLegend=this.dv(new iO(this)),this._viewerInstance=this.dv(new a.ObjResettingWithEvent(this.viewerChanged,()=>{if(this.viewer)return new zg(this,this.viewer)})),this.d(this.viewerChanged.don(o=>{this.viewer&&(this.viewer.scene.globe.baseColor=te([1,1,1,1]))}));const n=e;this.d(this._viewer.changed.don(o=>{this.viewerChanged.emit(o)})),this.dv(new a.ObjResettingWithEvent(this.subContainerChanged,()=>{if(this.setStatus("Raw"),this.setStatusLog(""),!!this.subContainer)return new ML(this.subContainer,this,o=>this._viewer.value=o,n.options)}))}get disabledInputStack(){return this._disabledInputStack.value}get disabledInputStackChanged(){return this._disabledInputStack.changed}incrementDisabledInputStack(){++this._disabledInputStack.value}decrementDisabledInputStack(){--this._disabledInputStack.value}get viewer(){return this._viewer.value}get extensions(){return this.viewer&&Ke(this.viewer)}get viewerInstance(){return this._viewerInstance}get viewerLegend(){return this._viewerLegend}async pick(e,n,o){if(!this.extensions)return;const{pickingManager:s}=this.extensions;return await s.pick(e,void 0,n)}async pickPosition(e){if(!this.extensions)return;const{pickingManager:n}=this.extensions;return await n.pickPosition(e)}async quickPickPosition(e){if(!this.extensions)return;const{pickingManager:n}=this.extensions;return await n.quickPickPosition(e)}async getTerrainHeight(e){const{viewer:n}=this;if(!n)return;const o=h.Cartographic.fromDegrees(e[0],e[1],e[2],lt.getHeightsScartchCarto);return n.scene.globe.getHeight(o)}getCameraInfo(){if(!this.viewer)return;const{camera:e}=this.viewer;return{position:Ht(e),rotation:jo(e)}}calcFlyToParam(e){if(!this.viewer)return;const{camera:n}=this.viewer;if(!n||!e)return;const o=h.Cartesian3.fromDegrees(...e),s=h.Transforms.eastNorthUpToFixedFrame(o),r=h.Matrix4.inverse(s,new h.Matrix4),l=h.Matrix4.multiplyByPoint(r,n.positionWC,new h.Cartesian3),c=h.Cartesian3.magnitude(l);let u=-Math.asin(l.z/c);u=h.Math.toDegrees(u);let d=h.Math.PI_OVER_TWO-Math.atan(l.y/l.x);l.x>0&&(d+=l.y<0?-h.Math.PI:h.Math.PI),d=h.Math.toDegrees(d);const p=jo(n),f=p[0]-d,g=p[1]-u;return{distance:c,heading:d,pitch:u,flyDuration:1,hDelta:f,pDelta:g}}flyIn(e,n,o,s="default"){var c;const r={position:e,rotation:n,duration:(o??1)*1e3},l=(c=this.viewer)==null?void 0:c.camera;return l&&Er(l,r,s)}flyTo(e,n,o="default"){var g;const{distance:s,heading:r,pitch:l,flyDuration:c,hDelta:u,pDelta:d}=e,p={position:n,viewDistance:s,rotation:[r,l,0],duration:c*1e3,hdelta:u,pdelta:d},f=(g=this.viewer)==null?void 0:g.camera;return f&&Er(f,p,o)}flyToBoundingSphere(e,n,o=1){var p;const s=[[e[0],e[1],0],[e[0],e[3],0],[e[2],e[3],0],[e[2],e[1],0]],r=a.getGeoBoundingSphereFromPositions(s);if(!r)return;const{center:l,radius:c}=r,u={position:l,viewDistance:n??c,rotation:[0,-90,0],duration:o*1e3},d=(p=this.viewer)==null?void 0:p.camera;return d&&Er(d,u)}getCurrentCameraInfo(){if(!this.viewer)return;const{camera:e}=this.viewer;return{position:Ht(e),rotation:jo(e)}}transformFlyParam(e,n){if("position"in n){const o=h.Cartesian3.fromDegrees(...e),s=h.Transforms.eastNorthUpToFixedFrame(o),r=h.Matrix4.inverse(s,new h.Matrix4),l=h.Matrix4.multiplyByPoint(r,Se(n.position),new h.Cartesian3),c=h.Cartesian3.magnitude(l);let u=-Math.asin(l.z/c);u=h.Math.toDegrees(u);let d=h.Math.PI_OVER_TWO-Math.atan(l.y/l.x);l.x>0&&(d+=l.y<0?-h.Math.PI:h.Math.PI),d=h.Math.toDegrees(d);const p=n.rotation[0]-d,f=n.rotation[1]-u;return{distance:c,heading:d,pitch:u,flyDuration:n.flyDuration??1,hDelta:p,pDelta:f}}else{const o=Se(e);let s={heading:h.Math.toRadians(n.heading),pitch:h.Math.toRadians(n.pitch),roll:0};const r=new h.HeadingPitchRoll;if(n.distance){r.heading=s.heading,r.pitch=s.pitch,r.roll=0,r.heading-=h.Math.PI_OVER_TWO;const c=h.Transforms.headingPitchRollToFixedFrame(o,r,void 0,void 0),u=h.Matrix4.multiplyByPointAsVector(c,h.Cartesian3.UNIT_X,new h.Cartesian3);h.Cartesian3.multiplyByScalar(u,n.distance,u),h.Cartesian3.subtract(o,u,o)}n.hDelta&&(s.heading+=h.Math.toRadians(n.hDelta)),n.pDelta&&(s.pitch+=h.Math.toRadians(n.pDelta));const l=se(o);return l?{position:l,rotation:[h.Math.toDegrees(s.heading),h.Math.toDegrees(s.pitch),h.Math.toDegrees(s.roll)],flyDuration:n.flyDuration??1}:void 0}}getLengthInPixel(){return this._viewerLegend.length}changeToWalk(e,n=4.2,o=1.6){var s,r;(r=(s=this._viewerInstance)==null?void 0:s.obj)==null||r.navigationManager.changeToWalk(e,n,o),this._navigationMode.value="Walk"}changeToMap(){var e,n;(n=(e=this._viewerInstance)==null?void 0:e.obj)==null||n.navigationManager.changeToMap(),this._navigationMode.value="Map"}changeToRotateGlobe(e,n,o){var s,r;(r=(s=this._viewerInstance)==null?void 0:s.obj)==null||r.navigationManager.changeToRotateGlobe(e,n,o),this._navigationMode.value="RotateGlobe"}changeToLine(e,n,o,s,r,l){var c,u;(u=(c=this._viewerInstance)==null?void 0:c.obj)==null||u.navigationManager.changeToLine(e,n,o,s,r,l),this._navigationMode.value="Line"}changeToUserDefined(e){this.changeToMap(),console.warn("Cesium引擎暂不支持自定义漫游,已切换为Map模式")}changeToRotatePoint(e,n,o,s,r){var l,c;(c=(l=this._viewerInstance)==null?void 0:l.obj)==null||c.navigationManager.changeToRotatePoint(e,n,o,s,r),this._navigationMode.value="RotatePoint"}changeToFollow(e,n,o,s,r){var l,c;(c=(l=this._viewerInstance)==null?void 0:l.obj)==null||c.navigationManager.changeToFollow(e,n,o,s,r),this._navigationMode.value="Follow"}getFPS(){return this._fps.value}async getBoundSphere(e){return Promise.resolve(void 0)}async getVersion(){const e=globalThis.g_XE3CopyRights??{};return e.cesium={version:h.VERSION},e}async getHeightByLonLat(e,n,o){if(!this.viewer)return null;const s=h.Cartographic.fromDegrees(e,n,void 0,lt.getHeightsScartchCarto);return this.viewer.scene.sampleHeight(s)??null}async getHeightsByLonLats(e,n){const o=e.map(r=>this.getHeightByLonLat(...r));return await Promise.all(o)}async capture(e,n){if(this.viewer)return await xm(this.viewer.scene,e,n)}async lonLatAltToScreenPosition(e){if(!this.viewer||!this.isPointVisible(e))return;const n=this.viewer.scene.cartesianToCanvasCoordinates(Se(e));if(n)return[n.x,n.y]}get notSupportEditingCount(){return this._notSupportEditingCount.value}set notSupportEditingCount(e){this._notSupportEditingCount.value=e}get notSupportEditingCountChanged(){return this._notSupportEditingCount.changed}startEditing(e,n,o){o=Object.assign({useKeyToSwitch:!0,callSource:"outer"},o);const s=e.components.main??e;s&&n!=null&&(s.editingID=`${o.callSource}_${a.createGuid()}`,this._editingSystem.create(this,s,n,o.useKeyToSwitch))}stopEditing(){this._editingSystem.stop()}moveObjects(e){const n=[],o=a.createGuid();for(let s=0;s<e.length;s++){const r=e[s],l=r.components.main??r;l.editingID=o,l&&n.push(l)}this._moveObjectsProcess.restart(void 0,this,n,o)}getCzmObject(e){return this.sceneObjectsMap.get(e)}setCurrentDefaultAccessToken(){this.ionAccessToken=lt.currentDefaultAccessToken}setLatestDefaultAccessToken(){if(!lt.latestDefaultAccessToken){alert("Cesium最新的iontoken无法获取!"),console.error("Cesium最新的iontoken无法获取!");return}this.ionAccessToken=lt.latestDefaultAccessToken}positionsToLocalPositions(e,n){return Dt(e,n)}localPositionsToPositions(e,n){return Cn(e,n)}isPointVisible(e){if(!this.viewer)return!1;const n=e instanceof h.Cartesian3?e:Se(e),o=new h.EllipsoidalOccluder(this.viewer.scene.globe.ellipsoid,this.viewer.scene.camera.positionWC);if(o.cameraPosition=this.viewer.scene.camera.positionWC,!o.isPointVisible(n))return!1;const s=this.viewer.scene.cartesianToCanvasCoordinates(n);return!(!s||s.x<0||s.y<0)}getESProperties(){const e={...super.getESProperties()},n=lt.defaults;return{...e,more:[...e.more,new a.GroupProperty([],"通用","通用"),new a.EvalStringProperty([this,"createCesiumViewerFuncStr"],"CesiumViewer创建函数",aO,rO,!0),new a.FunctionProperty([],()=>lt.getCesiumIonToken(),[],"获取官方token"),new a.FunctionProperty([],()=>this.setCurrentDefaultAccessToken(),[],"重置为当前使用的Cesium版本的token"),new a.FunctionProperty([],()=>this.setLatestDefaultAccessToken(),[],"最新token","重置为当前Cesium官方的最新token"),new a.BooleanProperty([this,"flashLighting"],"头顶灯",n.flashLighting,!0),new a.BooleanProperty([this,"particleGlobalControl"],"粒子全局控制播放",n.particleGlobalControl,!0),new a.GroupProperty([],"Viewer","Viewer"),new a.NumberProperty([this,"resolutionScale"],"分辨率比率",n.resolutionScale,!0),new a.NumberProperty([this,"msaaSamples"],"msaaSamples",n.msaaSamples,!0),new a.BooleanProperty([this,"shadows"]),new a.GroupProperty([],"比例尺","比例尺(Legend)"),new a.NumberProperty([this.viewerLegend,"resolution"],"resolution",void 0,!0,!0),new a.NumberProperty([this.viewerLegend,"zoom"],"zoom",void 0,!0,!0),new a.Number3Property([this.viewerLegend,"center"],"center",void 0,!0,!0),new a.NumberProperty([this.viewerLegend.legend,"lengthInPixels"],"lengthInPixels",100,!0,!1),new a.NumberProperty([this.viewerLegend.legend,"computedLengthInPixels"],"computedLengthInPixels",void 0,!0,!0),new a.NumberProperty([this.viewerLegend.legend,"computedLengthInMeters"],"computedLengthInMeters",void 0,!0,!0),new a.StringProperty([this.viewerLegend.legend,"computedLengthInStr"],"computedLengthInStr",void 0,!0,!0),new a.GroupProperty([],"场景","场景(Scene)"),new a.NumberProperty([this,"sceneSplitPosition"],"内部视口分割比例",n.sceneSplitPosition,!0),new a.GroupProperty([],"Globe","Globe"),new a.EnumProperty([this,"sceneGlobeShadows"],[["禁用","DISABLED"],["启用","ENABLED"],["仅投射","CAST_ONLY"],["仅接收","RECEIVE_ONLY"]],"sceneGlobeShadows",n.sceneGlobeShadows,!0),new a.NumberProperty([this,"sceneGlobeTerrainExaggeration"]),new a.NumberProperty([this,"sceneGlobeTerrainExaggerationRelativeHeight"]),new a.NumberProperty([this,"sceneGlobeVerticalExaggeration"]),new a.NumberProperty([this,"sceneGlobeVerticalExaggerationRelativeHeight"]),new a.BooleanProperty([this,"sceneGlobeBackFaceCulling"]),new a.BooleanProperty([this,"sceneGlobeShowSkirts"]),new a.BooleanProperty([this,"sceneGlobeShowWaterEffect"]),new a.ColorProperty([this,"sceneGlobeBaseColor"]),new a.Number4Property([this,"sceneGlobeCartographicLimitRectangle"]),new a.JsonProperty([this,"sceneGlobeClippingPlanes"]),new a.StringProperty([this,"sceneGlobeClippingPlanesId"]),new a.JsonProperty([this,"sceneGlobeClippingPolygons"]),new a.StringsProperty([this,"sceneGlobeClippingPolygonsId"]),new a.GroupProperty([],"underground","underground"),new a.ColorProperty([this,"sceneGlobeUndergroundColor"],"sceneGlobeUndergroundColor",n.sceneGlobeUndergroundColor,!0),new a.Number4Property([this,"sceneGlobeUndergroundColorAlphaByDistance"],"sceneGlobeUndergroundColorAlphaByDistance",n.sceneGlobeUndergroundColorAlphaByDistance,!0),new a.GroupProperty([],"Translucency","Translucency"),new a.Number4Property([this,"sceneGlobeTranslucencyBackFaceAlphaByDistance"],"背面渐变透明度",n.sceneGlobeTranslucencyBackFaceAlphaByDistance,!0),new a.Number4Property([this,"sceneGlobeTranslucencyFrontFaceAlphaByDistance"],"正面渐变透明度",n.sceneGlobeTranslucencyFrontFaceAlphaByDistance,!0),new a.Number4Property([this,"sceneGlobeTranslucencyRectangle"],"矩形范围",n.sceneGlobeTranslucencyRectangle,!0),new a.GroupProperty([],"Sun","Sun"),new a.BooleanProperty([this,"sun"],"sun",n.sun,!0),new a.NumberProperty([this,"sceneSunGlowFactor"],"sceneSunGlowFactor",n.sceneSunGlowFactor,!0),new a.GroupProperty([],"Moon","Moon"),new a.BooleanProperty([this,"moon"],"moon",n.moon,!0),new a.StringProperty([this,"sceneMoonTextureUrl"],"sceneMoonTextureUrl",n.sceneMoonTextureUrl,!0),new a.BooleanProperty([this,"sceneMoonOnlySunLighting"],"sceneMoonOnlySunLighting",n.sceneMoonOnlySunLighting,!0),new a.GroupProperty([],"SkyBox","SkyBox"),new a.BooleanProperty([this,"sceneSkyBoxShow"]),new a.JsonProperty([this,"sceneSkyBoxSources"],"sceneSkyBoxSources",n.sceneSkyBoxSources,void 0,!0),new a.GroupProperty([],"Background","Background"),new a.BooleanProperty([this,"xbsjUseBackground"]),new a.StringProperty([this,"xbsjBackgroundImageUri"]),new a.ColorProperty([this,"xbsjBackgroundColor"]),new a.GroupProperty([],"SkyAtmosphere","SkyAtmosphere"),new a.JsonProperty([this,"xbsjLocalBoxSources"],"xbsjLocalBoxSources",n.xbsjLocalBoxSources,void 0,!0),new a.ColorProperty([this,"sceneBackgroundColor"]),new a.GroupProperty([],"Fog","Fog"),new a.BooleanProperty([this,"sceneFogEnabled"],"sceneFogEnabled",n.sceneFogEnabled,!0),new a.NumberProperty([this,"sceneFogDensity"],"sceneFogDensity",n.sceneFogDensity,!0),new a.NumberProperty([this,"sceneFogScreenSpaceErrorFactor"],"sceneFogScreenSpaceErrorFactor",n.sceneFogScreenSpaceErrorFactor,!0),new a.NumberProperty([this,"sceneFogMinimumBrightness"],"sceneFogMinimumBrightness",n.sceneFogMinimumBrightness,!0),new a.GroupProperty([],"Sscc","Sscc"),new a.BooleanProperty([this,"sceneSsccEnableInputs"],"sceneSsccEnableInputs",n.sceneSsccEnableInputs,!0),new a.BooleanProperty([this,"sceneSsccEnableCollisionDetection"],"sceneSsccEnableCollisionDetection",n.sceneSsccEnableCollisionDetection,!0),new a.NumberProperty([this,"sceneSsccZoomFactor"],"sceneSsccZoomFactor",n.sceneSsccZoomFactor,!0),new a.NumberProperty([this,"sceneCameraFrustumFov"],"相机广角"),new a.GroupProperty([],"后处理","后处理"),new a.BooleanProperty([this,"scenePpsfxaaEnabled"],"开启FXAA",n.scenePpsfxaaEnabled,!0),new a.GroupProperty([],"环境遮蔽","环境遮蔽"),new a.BooleanProperty([this,"scenePpsAmbientOcclusionEnabled"]),new a.BooleanProperty([this,"scenePpsAmbientOcclusionAmbientOcclusionOnly"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionIntensity"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionBias"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionLengthCap"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionStepSize"]),new a.NumberProperty([this,"scenePpsAmbientOcclusionBlurStepSize"]),new a.GroupProperty([],"Bloom","Bloom"),new a.BooleanProperty([this,"scenePpsBloomEnabled"]),new a.BooleanProperty([this,"scenePpsBloomGlowOnly"]),new a.NumberProperty([this,"scenePpsBloomContrast"]),new a.NumberProperty([this,"scenePpsBloomBrightness"]),new a.NumberProperty([this,"scenePpsBloomDelta"]),new a.NumberProperty([this,"scenePpsBloomSigma"]),new a.NumberProperty([this,"scenePpsBloomStepSize"]),new a.GroupProperty([],"调试","调试"),new a.BooleanProperty([this,"sceneDebugShowFramesPerSecond"],"sceneDebugShowFramesPerSecond",n.sceneDebugShowFramesPerSecond,!0),new a.BooleanProperty([this,"sceneDebugShowCommands"],"sceneDebugShowCommands",n.sceneDebugShowCommands,!0),new a.BooleanProperty([this,"sceneDebugShowFrustums"],"sceneDebugShowFrustums",n.sceneDebugShowFrustums,!0),new a.BooleanProperty([this,"sceneDebugShowFrustumPlanes"],"sceneDebugShowFrustumPlanes",n.sceneDebugShowFrustumPlanes,!0),new a.NumberProperty([this,"sceneDebugShowDepthFrustum"],"sceneDebugShowDepthFrustum",n.sceneDebugShowDepthFrustum,!0),new a.GroupProperty([],"Inspector","Inspector"),new a.BooleanProperty([this,"showCesiumInspector"],"showCesiumInspector",n.showCesiumInspector,!0),new a.BooleanProperty([this,"cesiumInspectorWireframe"],"cesiumInspectorWireframe",n.cesiumInspectorWireframe,!0),new a.BooleanProperty([this,"showCesium3DTilesInspector"],"showCesium3DTilesInspector",n.showCesium3DTilesInspector,!0)]}}};m(lt,"type",lt.register("ESCesiumViewer",lt)),m(lt,"getCesiumIonToken",lO),m(lt,"currentDefaultAccessToken",h.Ion.defaultAccessToken),m(lt,"latestDefaultAccessToken"),m(lt,"ObjectsToExcludeWrapper",MF),m(lt,"defaults",{...a.ESViewer.defaults,flashLighting:!1,resolutionScale:1,msaaSamples:4,sceneSplitPosition:0,sceneGlobeShadows:"RECEIVE_ONLY",sceneGlobeUndergroundColor:[0,0,0,1],sceneGlobeUndergroundColorAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyBackFaceAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyFrontFaceAlphaByDistance:[6378.137,0,12756274e-1,1],sceneGlobeTranslucencyRectangle:[-3.141592653589793,-1.5707963267948966,3.141592653589793,1.5707963267948966].map(e=>180*e/Math.PI),sun:!0,sceneSunGlowFactor:1,moon:!0,sceneMoonTextureUrl:h.buildModuleUrl("Assets/Textures/moonSmall.jpg"),sceneMoonOnlySunLighting:!0,sceneSkyBoxSources:{positiveX:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_px.jpg"),negativeX:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_mx.jpg"),positiveY:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_py.jpg"),negativeY:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_my.jpg"),positiveZ:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_pz.jpg"),negativeZ:h.buildModuleUrl("Assets/Textures/SkyBox/tycho2t3_80_mz.jpg")},xbsjLocalBoxSources:{positiveX:"${earthsdk3-assets-script-dir}/assets/img/skybox/east.jpg",negativeX:"${earthsdk3-assets-script-dir}/assets/img/skybox/west.jpg",positiveY:"${earthsdk3-assets-script-dir}/assets/img/skybox/bottom.jpg",negativeY:"${earthsdk3-assets-script-dir}/assets/img/skybox/top.jpg",positiveZ:"${earthsdk3-assets-script-dir}/assets/img/skybox/north.jpg",negativeZ:"${earthsdk3-assets-script-dir}/assets/img/skybox/south.jpg"},sceneFogEnabled:!0,sceneFogDensity:2e-4,sceneFogScreenSpaceErrorFactor:2,sceneFogMinimumBrightness:.03,sceneSsccEnableInputs:!0,sceneSsccEnableCollisionDetection:!0,sceneSsccZoomFactor:5,scenePpsfxaaEnabled:!0,sceneDebugShowFramesPerSecond:!1,sceneDebugShowCommands:!1,sceneDebugShowFrustums:!1,sceneDebugShowFrustumPlanes:!1,sceneDebugShowDepthFrustum:1,showCesiumInspector:!1,cesiumInspectorWireframe:!1,showCesium3DTilesInspector:!1,particleGlobalControl:!1}),m(lt,"getHeightsScartchCarto",new h.Cartographic);let Me=lt;(t=>{t.createDefaultProps=()=>({...a.ESViewer.createDefaultProps(),...sO()})})(Me||(Me={})),a.extendClassProps(Me.prototype,Me.createDefaultProps),I.copyright=void 0;try{const t="earthsdk3-cesium",i="3.6.5",e="2025-12-22T03:45:39.000Z",n="北京西部世界科技有限公司",o="地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn",s="aa1f9890101d404875e17142255a5b00304f8f89",l=((Date.now()-1766375139e3)/36e5).toFixed(1),c=`%c🌏 ${t}%c ${i}.${s.slice(0,8)}.${e} (距今${l}个小时)
2296
2296
  %c${o?o+`
2297
2297
  `:""}当前网站正在使用${t},此软件版权归${n}所有
2298
- `;I.copyright=Object.freeze({get owner(){return"北京西部世界科技有限公司"},get ownerlink(){},get gituri(){return GITURI_&&GITURI_.replace("${commitId}","961ae990522bc6051fa861e8065653128ba328ae")},get info(){return c},get date(){return"2025-12-04T02:15:04.000Z"},get author(){return"suplyang"},get version(){return"3.6.3"},get name(){return"earthsdk3-cesium"},get commitId(){return"961ae990522bc6051fa861e8065653128ba328ae"},print(){console.info(this.info,`
2298
+ `;I.copyright=Object.freeze({get owner(){return"北京西部世界科技有限公司"},get ownerlink(){},get gituri(){return GITURI_&&GITURI_.replace("${commitId}","aa1f9890101d404875e17142255a5b00304f8f89")},get info(){return c},get date(){return"2025-12-22T03:45:39.000Z"},get author(){return"suplyang"},get version(){return"3.6.5"},get name(){return"earthsdk3-cesium"},get commitId(){return"aa1f9890101d404875e17142255a5b00304f8f89"},print(){console.info(this.info,`
2299
2299
  font-size: 18px;
2300
2300
  font-weight: 1000;
2301
2301
  line-height: 1;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/CzmObjects/general/CzmES3DTileset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAkD,WAAW,EAAyJ,MAAM,WAAW,CAAC;AAC/O,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,cAAc,cAAc,CAAC;AAkI7B,qBAAa,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CAAE,SAAQ,iBAAiB,CAAC,CAAC,CAAC;IAEzF,MAAM,CAAC,QAAQ,CAAC,IAAI,SAAwF;IAE5G,MAAM,CAAC,wBAAwB,2BAAkC;IAEjE,OAAO,CAAC,WAAW,CAAa;IAChC,IAAI,UAAU,eAA8B;IAE5C,OAAO,CAAC,eAAe,CAAC;IACxB,IAAI,cAAc,QAAmC;IAErD,OAAO,CAAC,eAAe,CAAC;IACxB,IAAI,cAAc,QAAmC;IAErD,OAAO,CAAC,WAAW,CAA6D;IAChF,IAAI,UAAU,IACQ,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,SAAS,CADD;IACnD,IAAI,UAAU,CAAC,KAAK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化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn",
5
5
  "type": "module",
6
6
  "main": "./dist/earthsdk3-cesium.umd.cjs",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "peerDependencies": {
40
40
  "cesium": "1.134.1",
41
- "earthsdk3": "3.6.2"
41
+ "earthsdk3": "3.6.3"
42
42
  },
43
43
  "dependencies": {
44
44
  "@types/delaunator": "^5.0.2",