Files
electron-4/src/renderer/public/sdk/YJEarth.min.js

19 lines
2.5 MiB
JavaScript
Raw Normal View History

2025-12-05 18:21:33 +08:00
/*! update time: 2025/12/5 18:19:51*/!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=41)}([function(e,t,i){var n=i(42)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(36);function o(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,i){return t&&o(e.prototype,t),i&&o(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function i(e,t,i,n,o,s,a){try{var r=e[s](a),l=r.value}catch(e){return void i(e)}r.done?t(l):Promise.resolve(l).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,s){var a=e.apply(t,n);function r(e){i(a,o,s,r,l,"next",e)}function l(e){i(a,o,s,r,l,"throw",e)}r(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(33);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function i(t){return e.exports=i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(47),o=i(48),s=i(34),a=i(49);e.exports=function(e){return n(e)||o(e)||s(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){"use strict";i.d(t,"p",(function(){return P})),i.d(t,"D",(function(){return O})),i.d(t,"i",(function(){return D})),i.d(t,"a",(function(){return T})),i.d(t,"b",(function(){return N})),i.d(t,"x",(function(){return B})),i.d(t,"j",(function(){return j})),i.d(t,"E",(function(){return A})),i.d(t,"s",(function(){return L})),i.d(t,"k",(function(){return R})),i.d(t,"y",(function(){return I})),i.d(t,"v",(function(){return z})),i.d(t,"f",(function(){return F})),i.d(t,"g",(function(){return H})),i.d(t,"c",(function(){return V})),i.d(t,"d",(function(){return W})),i.d(t,"r",(function(){return G})),i.d(t,"t",(function(){return U})),i.d(t,"o",(function(){return Y})),i.d(t,"B",(function(){return J})),i.d(t,"q",(function(){return X})),i.d(t,"C",(function(){return Z})),i.d(t,"e",(function(){return K})),i.d(t,"G",(function(){return Q})),i.d(t,"F",(function(){return $})),i.d(t,"u",(function(){return p})),i.d(t,"H",(function(){return d})),i.d(t,"m",(function(){return ee})),i.d(t,"z",(function(){return te})),i.d(t,"n",(function(){return ie})),i.d(t,"A",(function(){return ne})),i.d(t,"l",(function(){return oe})),i.d(t,"w",(function(){return se})),i.d(t,"h",(function(){return ae}));var n=i(18),o=i.n(n),s=i(3),a=i.n(s),r=
2025-08-29 09:35:52 +08:00
/**
* [js-md5]{@link https://github.com/emn178/js-md5}
*
* @namespace md5
* @version 0.7.3
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
2025-12-05 18:21:33 +08:00
*/!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__(52),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(t){return new Md5(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var i=OUTPUT_TYPES[t];e[i]=createOutputMethod(i)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null==e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e){if(!this.finalized){var t,i=typeof e;if("string"!==i){if("object"!==i)throw ERROR;if(null===e)throw ERROR;if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw ERROR;t=!0}for(var n,o,s=0,a=e.length,r=this.blocks,l=this.buffer8;s<a;){if(this.hashed&&(this.hashed=!1,r[0]=r[16],r[16]=r[1]=r[2]=r[3]=r[4]=r[5]=r[6]=r[7]=r[8]=r[9]=r[10]=r[11]=r[12]=r[13]=r[14]=r[15]=0),t)if(ARRAY_BUFFER)for(o=this.start;s<a&&o<64;++s)l[o++]=e[s];else for(o=this.start;s<a&&o<64;++s)r[o>>2]|=e[s]<<SHIFT[3&o++];else if(ARRAY_BUFFER)for(o=this.start;s<a&&o<64;++s)(n=e.charCodeAt(s))<128?l[o++]=n:n<2048?(l[o++]=192|n>>6,l[o++]=128|63&n):n<55296||n>=57344?(l[o++]=224|n>>12,l[o++]=128|n>>6&63,l[o++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++s)),l[o++]=240|n>>18,l[o++]=128|n>>12&63,l[o++]=128|n>>6&63,l[o++]=128|63&n);else for(o=this.start;s<a&&o<64;++s)(n=e.charCodeAt(s))<128?r[o>>2]|=n<<SHIFT[3&o++]:n<2048?(r[o>>2]|=(192|n>>6)<<SHIFT[3&o++],r[o>>2]|=(128|63&n)<<SHIFT[3&o++]):n<55296||n>=57344?(r[o>>2]|=(224|n>>12)<<SHIFT[3&o++],r[o>>2]|=(128|n>>6&63)<<SHIFT[3&o++],r[o>>2]|=(128|63&n)<<SHIFT[3&o++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++s)),r[o>>2]|=(240|n>>18)<<SHIFT[3&o++],r[o>>2]|=(128|n>>12&63)<<SHIFT[3&o++],r[o>>2]|=(128|n>>6&63)<<SHIFT[3&o++],r[o>>2]|=(128|63&n)<<SHIFT[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=th
return t.translation=Cesium.Cartesian3.fromElements(0,0,0),t.rotation=Cesium.Quaternion.fromHeadingPitchRoll(e),Cesium.Matrix4.fromTranslationRotationScale(t)},c=function(e,i){e._billboard.id=t.options.id;var n=e.position;Cesium.Cartesian3.normalize(n,r),Cesium.Cartesian3.multiplyByScalar(r,l*i,r),e.velocity=Cesium.Cartesian3.add(e.velocity,r,e.velocity)},t=this,this.originalOptions=this.deepCopyObj(this.options),i=this.sdk.viewer.scene,new Cesium.Cartesian3,n=Cesium.Cartographic.fromDegrees(this.options.lng,this.options.lat,this.options.alt),o=this.sdk.viewer.scene.globe.ellipsoid.cartographicToCartesian(n),s=Cesium.Transforms.eastNorthUpToFixedFrame(o),Cesium.Matrix4.multiplyByScale(s,new Cesium.Cartesian3(1,1,1),s),a=this.sdk.viewer.camera.positionCartographic.height,this.particleSystem=i.primitives.add(new Cesium.ParticleSystem({show:!(a>=1e7)&&this.options.show,image:this.options.url||this.getSourceRootPath()+"/img/particlesystem/fountain.png",startColor:Cesium.Color.fromCssColorString(this.options.startColor),endColor:Cesium.Color.fromCssColorString(this.options.endColor),startScale:this.options.startScale,endScale:this.options.endScale,minimumParticleLife:this.options.minimumParticleLife,maximumParticleLife:this.options.maximumParticleLife,minimumSpeed:this.options.minimumSpeed,maximumSpeed:this.options.maximumSpeed,lifetime:.5,imageSize:new Cesium.Cartesian2(this.options.particleSize,2*this.options.particleSize),sizeInMeters:!0,emissionRate:this.options.emissionRate,loop:!0,emitter:new Cesium.ConeEmitter(Cesium.Math.toRadians(.2)),modelMatrix:s,emitterModelMatrix:u(),updateCallback:c})),r=new Cesium.Cartesian3,l=-3.5,this.particleSystem.id=this.options.id,this.entity=this.particleSystem,this.entity.position={lng:this.options.lng,lat:this.options.lat,alt:this.options.alt},Object(J.g)(this.sdk,this.options.id),this.options.show&&Object(Z.f)(0,this.options.id),this.sdk.viewer.camera.changed.addEventListener((function(){if(h.entity&&h.show){var e=h.sdk.viewer.camera.positionCartographic.height;h.entity.show=!(e>=1e7)}}));case 21:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"flyTo",value:(o=_()(S.a.mark((function e(){var t,i,n,o,s,a,r,l=arguments;return S.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:{},!this._error){e.next=3;break}return e.abrupt("return");case 3:if(Object(X.w)(0),Object(X.f)(this.sdk),Object(X.g)(this.sdk),!(this.options.customView&&this.options.customView.relativePosition&&this.options.customView.orientation)){e.next=25;break}if(i={heading:Cesium.Math.toRadians(this.options.customView.orientation.heading||0),pitch:Cesium.Math.toRadians(this.options.customView.orientation.pitch||-60),roll:Cesium.Math.toRadians(this.options.customView.orientation.roll||0)},n=this.options.customView.relativePosition.lng,o=this.options.customView.relativePosition.lat,s=this.options.customView.relativePosition.alt,a=Cesium.Cartesian3.fromDegrees(n,o,s),r={lng:0,lat:0},this.options.position?r=jr({},this.options.position):this.options.positions?r=jr({},this.options.positions[0]):this.options.center?r=jr({},this.options.center):(this.options.hasOwnProperty("lng")&&(r.lng=this.options.lng),this.options.hasOwnProperty("lat")&&(r.lat=this.options.lat),this.options.hasOwnProperty("alt")&&(r.alt=this.options.alt)),r.hasOwnProperty("alt")){e.next=18;break}return e.next=17,this.getClampToHeight(r);case 17:r.alt=e.sent;case 18:n=this.options.customView.relativePosition.lng+r.lng,o=this.options.customView.relativePosition.lat+r.lat,s=this.options.customView.relativePosition.alt+r.alt,a=Cesium.Cartesian3.fromDegrees(n,o,s),this.sdk.viewer.camera.flyTo({destination:a,orientation:i}),e.next=26;break;case 25:this.sdk.viewer.camera.flyTo({destination:Cesium.Cartesian3.fromDegrees(this.options.lng,this.options.lat,this.options.alt+500),orientation:t.orientation||{heading:Cesium.Math.toRadians(0),pitch:Cesium.Math.toRadians(-90),roll:Cesium.Math.toRadians(0)}});case 26:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,argumen
return i.translation=Cesium.Cartesian3.fromElements(0,0,1),i.rotation=Cesium.Quaternion.fromHeadingPitchRoll(e),Cesium.Matrix4.fromTranslationRotationScale(i)},g=function(e,i){e._billboard.id=t.options.id;var n=e.position;Cesium.Cartesian3.normalize(n,a),Cesium.Cartesian3.multiplyByScalar(a,r*i,a),e.velocity=Cesium.Cartesian3.add(e.velocity,a,e.velocity)},t=this,this.originalOptions=this.deepCopyObj(this.options),i=this.sdk.viewer.scene,n=Cesium.Cartographic.fromDegrees(this.options.start.lng,this.options.start.lat,this.options.start.alt),o=this.sdk.viewer.scene.globe.ellipsoid.cartographicToCartesian(n),s=Cesium.Transforms.eastNorthUpToFixedFrame(o),Cesium.Matrix4.multiplyByScale(s,new Cesium.Cartesian3(1,1,1),s),a=new Cesium.Cartesian3,r=-3.8,l=Cesium.Cartesian3.fromDegrees(this.options.start.lng,this.options.start.lat,this.options.start.alt),c=Cesium.Cartesian3.fromDegrees(this.options.end.lng,this.options.end.lat,this.options.end.alt),this.options.heading||0===this.options.heading||(this.options.heading=b(l,c)),u=this.options.end.alt-this.options.start.alt,h=Cesium.Cartesian3.distance(l,Cesium.Cartesian3.fromDegrees(this.options.end.lng,this.options.end.lat,this.options.start.alt)),p=u?2*u/h:0,d=Math.atan(p)*(180/Math.PI),m=Math.sqrt(Math.abs(p)*h/-r),f=-r*m/Math.abs(Math.cos(d)),this.options.pitch||0===this.options.pitch||(this.options.pitch=90-d),this.options.speed||0===this.options.speed||(this.options.speed=f),v=this.sdk.viewer.camera.positionCartographic.height,this.particleSystem=i.primitives.add(new Cesium.ParticleSystem({show:!(v>=1e7)&&this.options.show,image:this.options.url||this.getSourceRootPath()+"/img/particlesystem/smoke.png",startColor:Cesium.Color.fromCssColorString(this.options.startColor),endColor:Cesium.Color.fromCssColorString(this.options.endColor),startScale:this.options.startScale,endScale:this.options.endScale,minimumParticleLife:this.options.minimumParticleLife,maximumParticleLife:this.options.maximumParticleLife,minimumSpeed:this.options.speed,maximumSpeed:this.options.speed,lifetime:.5,imageSize:new Cesium.Cartesian2(this.options.particleSize,2*this.options.particleSize),sizeInMeters:!0,emissionRate:this.options.emissionRate,loop:!0,emitter:new Cesium.CircleEmitter(.2),modelMatrix:s,emitterModelMatrix:y(),updateCallback:g})),this.particleSystem.id=this.options.id,this.entity=this.particleSystem,this.entity.position={lng:this.options.start.lng,lat:this.options.start.lat,alt:this.options.start.alt},Object(J.g)(this.sdk,this.options.id),this.options.show&&Object(Z.f)(0,this.options.id),this.sdk.viewer.camera.changed.addEventListener((function(){if(C.entity&&C.show){var e=C.sdk.viewer.camera.positionCartographic.height;C.entity.show=!(e>=1e7)}}));case 31:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"flyTo",value:(o=_()(S.a.mark((function e(){var t,i,n,o,s,a,r,l=arguments;return S.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:{},Object(X.w)(0),Object(X.f)(this.sdk),Object(X.g)(this.sdk),!(this.options.customView&&this.options.customView.relativePosition&&this.options.customView.orientation)){e.next=23;break}if(i={heading:Cesium.Math.toRadians(this.options.customView.orientation.heading||0),pitch:Cesium.Math.toRadians(this.options.customView.orientation.pitch||-60),roll:Cesium.Math.toRadians(this.options.customView.orientation.roll||0)},n=this.options.customView.relativePosition.lng,o=this.options.customView.relativePosition.lat,s=this.options.customView.relativePosition.alt,a=Cesium.Cartesian3.fromDegrees(n,o,s),r={lng:0,lat:0},this.options.position?r=Hr({},this.options.position):this.options.positions?r=Hr({},this.options.positions[0]):this.options.line&&this.options.line.positions?r=Hr({},this.options.line.positions[0]):this.options.center?r=Hr({},this.options.center):this.options.start?r=Hr({},this.options.start):(this.options.hasOwnProperty("lng")&&(r.lng=this.options.lng),this.options.hasOwnProperty("lat")&&(r.lat=this.options.lat),this.options.hasOwnProperty("alt")&&(r.alt=this.options.alt)),r.ha
2025-09-25 16:21:00 +08:00
i.translation=Cesium.Cartesian3.fromElements(0,0,1),i.rotation=Cesium.Quaternion.fromHeadingPitchRoll(t);var n=Cesium.Matrix4.fromTranslationRotationScale(i);this.particleSystem.emitterModelMatrix=n,this._elms.heading&&this._elms.heading.forEach((function(t){t.value=Number(e)}))}},{key:"pitch",get:function(){return this.options.pitch},set:function(e){this.options.pitch=Number(e);var t=Cesium.HeadingPitchRoll.fromDegrees(this.options.heading+90,this.options.pitch,0),i=new Cesium.TranslationRotationScale;//!!!发射粒子的方向
2025-12-05 18:21:33 +08:00
i.translation=Cesium.Cartesian3.fromElements(0,0,1),i.rotation=Cesium.Quaternion.fromHeadingPitchRoll(t);var n=Cesium.Matrix4.fromTranslationRotationScale(i);this.particleSystem.emitterModelMatrix=n,this._elms.pitch&&this._elms.pitch.forEach((function(t){t.value=Number(e)}))}},{key:"edit",value:(n=_()(S.a.mark((function e(){var i,n,o,s,a,r=this,l=arguments;return S.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=l.length>0&&void 0!==l[0]&&l[0],this.originalOptions=this.deepCopyObj(this.options),this._DialogObject&&this._DialogObject.close&&(this._DialogObject.close(),this._DialogObject=null),!i){e.next=20;break}return e.next=7,new Be(this.sdk,this.originalOptions,{title:"喷射水柱属性",left:"180px",top:"100px",confirmCallBack:function(e){r.name=r.name.trim(),r.name||(r.name="未命名对象"),r.originalOptions=r.deepCopyObj(r.options),r._DialogObject.close(),r.Dialog.confirmCallBack&&r.Dialog.confirmCallBack(r.originalOptions),Object(J.g)(r.sdk,r.options.id),Object(Z.g)(r.sdk,r.options.id)},resetCallBack:function(){r.reset(),r.Dialog.resetCallBack&&r.Dialog.resetCallBack()},removeCallBack:function(){r.Dialog.removeCallBack&&r.Dialog.removeCallBack()},closeCallBack:function(){r.reset(),r.positionEditing=!1,r.Dialog.closeCallBack&&r.Dialog.closeCallBack()},showCallBack:function(e){r.show=e,r.Dialog.showCallBack&&r.Dialog.showCallBack()},translationalCallBack:function(){r.positionEditing=!r.positionEditing}},!0);case 7:this._DialogObject=e.sent,this._DialogObject._element.body.className=this._DialogObject._element.body.className+" particle-effects",(n=document.createElement("div")).innerHTML='\n <span class="custom-divider"></span>\n <div class="div-item">\n <div class="row">\n <div class="col">\n <span class="label"></span>\n <input style="width: 175px;" class="input" type="text" @model="name">\n </div>\n <div class="col">\n </div>\n </div>\n </div>\n <span class="custom-divider"></span>\n <div class="div-item">\n <div class="row">\n <div class="col">\n <span class="label"></span>\n <input class="input" type="number" title="" min="-180" max="180" @model="lng">\n </div>\n <div class="col">\n <span class="label"></span>\n <input class="input" type="number" title="" min="-90" max="90" @model="lat">\n </div>\n </div>\n <div class="row">\n <div class="col">\n <span class="label"></span>\n <div class="input-number input-number-unit-1">\n <input class="input" type="number" title="" min="-9999999" max="999999999" @model="alt">\n <span class="unit">m</span>\n <span class="arrow"></span>\n </div>\n </div>\n <div class="col">\n <div class="row">\n <div class="col">\n <span class="label"></span>\n <div class="start_color"></div>\n </div>\n <div class="col" style="margin: 0;justify-content: flex-end;">\n <span class="label"></span>\n <div class="end_color"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <span class="custom-divider"></span>\n <div class="div-item">\n <div class="row">\n <div class="col">\n <div class="row">\n <span></span>\n <input type="range" max="30" min="0" step="0.1" @model="speed">\n </div>\n </div>\n <div class="col">\n <div class="row">\n <span>/</span>\n <input type="range" max="100" min="0" step="1" @model="emissionRate">\n </div>\n </div>\n
2025-08-29 09:35:52 +08:00
/**
* @license
* Copyright 2010-2024 Three.js Authors
* SPDX-License-Identifier: MIT
2025-12-05 18:21:33 +08:00
*/()?Reflect.construct(t,i||[],Oe()(e).constructor):t.apply(e,i))}var pu=1014,du=1020,mu=2400,fu=2401,vu="srgb",gu="srgb-linear",yu="display-p3",bu="display-p3-linear",Cu="linear",wu="srgb",ku="rec709",_u=7680,xu=35044,Su=2e3,Eu=2001,Pu=function(){return h()((function e(){c()(this,e)}),[{key:"addEventListener",value:function(e,t){void 0===this._listeners&&(this._listeners={});var i=this._listeners;void 0===i[e]&&(i[e]=[]),-1===i[e].indexOf(t)&&i[e].push(t)}},{key:"hasEventListener",value:function(e,t){if(void 0===this._listeners)return!1;var i=this._listeners;return void 0!==i[e]&&-1!==i[e].indexOf(t)}},{key:"removeEventListener",value:function(e,t){if(void 0!==this._listeners){var i=this._listeners[e];if(void 0!==i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}}}},{key:"dispatchEvent",value:function(e){if(void 0!==this._listeners){var t=this._listeners[e.type];if(void 0!==t){e.target=this;for(var i=t.slice(0),n=0,o=i.length;n<o;n++)i[n].call(this,e);e.target=null}}}}])}(),Ou=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"],Du=Math.PI/180;Math.PI;function Mu(){var e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,i=4294967295*Math.random()|0,n=4294967295*Math.random()|0;return(Ou[255&e]+Ou[e>>8&255]+Ou[e>>16&255]+Ou[e>>24&255]+"-"+Ou[255&t]+Ou[t>>8&255]+"-"+Ou[t>>16&15|64]+Ou[t>>24&255]+"-"+Ou[63&i|128]+Ou[i>>8&255]+"-"+Ou[i>>16&255]+Ou[i>>24&255]+Ou[255&n]+Ou[n>>8&255]+Ou[n>>16&255]+Ou[n>>24&255]).toLowerCase()}function Tu(e,t,i){return Math.max(t,Math.min(i,e))}function Nu(e,t){return(e%t+t)%t}function Bu(e,t,i){return(1-i)*e+i*t}function ju(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function Au(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(4294967295*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(2147483647*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw new Error("Invalid component type.")}}var Lu=function(){return h()((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c()(this,e),e.prototype.isVector2=!0,this.x=t,this.y=i}),[{key:"width",get:function(){return this.x},set:function(e){this.x=e}},{key:"height",get:function(){return this.y},set:function(e){this.y=e}},{key:"set",value:function(e,t){return this.x=e,this.y=t,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:f