cesium-dev-tool 1.1.0 → 1.1.1

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.
@@ -10,4 +10,4 @@
10
10
  console.error("vite-plugin-css-injected-by-js", e);
11
11
  }
12
12
  })();
13
- const t=n;!function(){const t=n,e=i();for(;;)try{if(372447==parseInt(t(423))/1*(parseInt(t(479))/2)+-parseInt(t(463))/3*(-parseInt(t(427))/4)+-parseInt(t(418))/5*(parseInt(t(492))/6)+parseInt(t(458))/7*(parseInt(t(444))/8)+parseInt(t(416))/9+parseInt(t(434))/10+parseInt(t(465))/11*(-parseInt(t(439))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class e{#t;#e;#n;#i;#s;count=0;[t(441)];constructor(e,n){const i=t;if(this.#n=this,this.#i=this[i(451)]++,this.#t=e,this.#s=null,this.#e=n,!(e instanceof Array))throw new Error("Parameter 1 must be of type Array");if(void 0!==n){if(typeof n!==i(456))throw new Error(i(426))}else n={};window.addEventListener("resize",()=>{s[i(449)](n,"close_on_resize",!0)&&this.hide()}),this[i(432)]()}[t(489)](e){const n=t;if(typeof e!==n(456))throw new Error(n(464));this.#e=e}[t(470)](e,n){const i=t;if(typeof e!==i(450))throw new Error(i(480));if(typeof n===i(483))throw new Error(i(472));this.#e[e]=n}[t(469)](){return this.#e}[t(432)](){const e=t;if(null==document[e(424)](e(467)+this.#i)){let t=document[e(466)]("div");t.className=e(445),t.id=e(467)+this.#i,document[e(419)][e(462)](t)}let n=document[e(424)](e(467)+this.#i);n[e(436)]="",n[e(462)](this[e(453)](this.#t))}[t(453)](e){const n=t,i=this;let r=document[n(466)]("ul");return e[n(485)](function(t){const e=n;let o=document[e(466)]("li");if(o[e(452)]=i.#n,t.className&&(o[e(477)]=t[e(477)]),typeof t[e(459)]===e(483)){let n=document[e(466)](e(438));n[e(477)]=e(471),""!=s[e(449)](t,e(484),"")?n[e(436)]=s.getProperty(t,e(484),""):n[e(436)]=s[e(449)](i.#e,"default_icon","");let r=document.createElement(e(438));r[e(477)]=e(474),""!=s[e(449)](t,e(433),"")?r[e(436)]=s[e(449)](t,"text",""):r[e(436)]=s.getProperty(i.#e,e(422),"item");let a=document.createElement("span");if(a[e(477)]=e(487),typeof t[e(490)]!==e(483)&&(""!=s[e(449)](i.#e,e(429),"")?a.innerHTML=s[e(449)](i.#e,e(429),""):a[e(436)]="&#155;"),o.appendChild(n),o[e(462)](r),o.appendChild(a),s[e(449)](t,e(481),!0)){if(typeof t[e(476)]===e(456)){let n=Object[e(437)](t[e(476)]);for(let i=0;i<n[e(460)];i++)o[e(415)](n[i],t[e(476)][n[i]])}typeof t[e(490)]!==e(483)&&o.appendChild(i[e(453)](t[e(490)]))}else o[e(431)](e(442),"")}else"cm_divider"===t.type&&(o[e(477)]=e(421));r[e(462)](o)}),r}[t(457)](e,n){const i=t;typeof n!==i(483)?this.#s=n:this.#s=e[i(417)];let r=document[i(424)]("cm_"+this.#i);const o={x:e[i(447)],y:e.clientY},a=o.x,u=o.y,c=r[i(455)]+4,l=r[i(491)]+4,h=window.innerWidth,p=window.innerHeight,d=parseInt(s.getProperty(this.#e,"mouse_offset",2));r[i(425)][i(454)]=h-a<c?h-c+"px":a+d+"px",p-u<l?r[i(425)][i(446)]=p-l+"px":r.style[i(446)]=u+d+"px";const m=s[i(435)](r);h-a<m[i(468)]?r[i(440)][i(448)](i(461)):r[i(440)][i(430)](i(461)),p-u<m.height?r.classList.add(i(428)):r.classList[i(430)](i(428)),r[i(440)][i(448)](i(457)),s.getProperty(this.#e,i(473),!0)&&window[i(415)](i(488),this[i(443)][i(486)](this))}[t(482)](){const e=t;document[e(424)](e(467)+this.#i)[e(440)][e(430)]("display"),window[e(475)](e(488),this[e(443)][e(486)](this))}[t(443)](){this[t(482)]()}}function n(t,e){const s=i();return(n=function(t,e){return s[t-=415]})(t,e)}function i(){const t=["icon","forEach","bind","cm_sub_span","click","setOptions","sub","offsetHeight","408bdxcIs","addEventListener","3996936CfAHOG","target","16790QBAviw","body","getElementsByTagName","cm_divider","default_text","2369DJvGhM","getElementById","style","Parameter 2 must be of type object","932504jGAvKO","cm_border_bottom","sub_icon","remove","setAttribute","reload","text","3077500isjznE","getSizes","innerHTML","keys","span","12iOERBg","classList","DIVIDER","disabled","documentClick","8dsumat","cm_container","top","clientX","add","getProperty","string","count","menu","renderLevel","left","offsetWidth","object","display","3958283MltCxi","type","length","cm_border_right","appendChild","3CHmLll","Parameter 1 must be of type object","15736215IVdtIJ","createElement","cm_","width","getOptions","changeOption","cm_icon_span","Parameter 2 must be set","close_on_click","cm_text","removeEventListener","events","className","height","406NLQuPF","Parameter 1 must be of type string","enabled","hide","undefined"];return(i=function(){return t})()}let s={getProperty:function(t,e,n){return void 0!==t[e]?t[e]:n},getSizes:function(e){const n=t;let i=e[n(420)]("li"),r=0,o=0;for(let t=0;t<i[n(460)];t++){let e=i[t];e.offsetWidth>r&&(r=e[n(455)]),e[n(491)]>o&&(o=e.offsetHeight)}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(420)]("ul");if(typeof e[0]!==n(483)){let t=s[n(435)](e[0]);r+t[n(468)]>a&&(a=r+t[n(468)]),o+t.height>u&&(u=o+t[n(478)])}}return{width:a,height:u}}};function r(){const t=["28nOGxlZ","403356lVuRsU","400628jONXYZ","2JKDLwq","1965704EFzYfI","1930404vJCjsC","Cartographic","5186952RQToCc","latitude","transformCnToCc","fromCartesian","2755145pDKWhF","toDegrees","144869mmhWiE"];return(r=function(){return t})()}const o=u;!function(){const t=u,e=r();for(;;)try{if(400550==-parseInt(t(241))/1+-parseInt(t(231))/2*(-parseInt(t(233))/3)+-parseInt(t(244))/4+-parseInt(t(239))/5+parseInt(t(243))/6*(-parseInt(t(242))/7)+parseInt(t(232))/8+parseInt(t(235))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class a{#r;constructor(t){this.#r=t}static[o(237)](t){const e=o,n=Cesium[e(234)][e(238)](t);return[Cesium.Math[e(240)](n.longitude),Cesium.Math[e(240)](n[e(236)]),n.height]}}function u(t,e){const n=r();return(u=function(t,e){return n[t-=231]})(t,e)}const c=l;function l(t,e){const n=h();return(l=function(t,e){return n[t-=395]})(t,e)}function h(){const t=["PolylineMaterialAppearance","请选择3个及以上的点","1122185xYJiMX","camera","GroundPolylinePrimitive","destroy","position","MOUSE_MOVE","ScreenSpaceEventHandler","202uiZwUm","setInputAction","%c多边形坐标:","5109804hZLeof","PointPrimitiveCollection","push","fromDegrees","info","CHARTREUSE","Color","pick","setTimeout","groupEnd","globe","ellipsoid","endPosition","CallbackProperty","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","10888SIOdfb","POSITIVE_INFINITY","remove","add","LEFT_DOUBLE_CLICK","1206590BHqvKh","6wRBIzw","pickPosition","GREEN","defined","ScreenSpaceEventType","scene","GroundPolylineGeometry","createMouseAdsorbHandle","%c鼠标点击位置坐标:","length","GeometryInstance","group","primitives","canvas","entities","isDestroyed","terrainProvider","Material","getPickRay","transformCnToCc","LEFT_CLICK","Cartesian3","withAlpha","fromType","endEvent","13023vOUHiC","2638zgOjEz","385aNVzNC","RED","3135804hZcEZT"];return(h=function(){return t})()}!function(){const t=l,e=h();for(;;)try{if(490677==-parseInt(t(403))/1+-parseInt(t(416))/2*(parseInt(t(402))/3)+parseInt(t(406))/4+-parseInt(t(409))/5*(parseInt(t(440))/6)+parseInt(t(404))/7*(-parseInt(t(434))/8)+parseInt(t(419))/9+-parseInt(t(439))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const p=c(433);class d{#r;#o;#a;#u;#c;#l;#h;constructor(t){this.#r=t,this.#h=[]}openMouseAdsorb(){const t=c;this[t(401)](),this.#o=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#o[t(417)](e=>{const n=t,i=this.#p(e[n(413)]);if(i){const t=a[n(396)](i);console[n(423)](n(448)+t,p)}this.endEvent()},Cesium[t(444)][t(397)]),this[t(447)]()}[c(447)](){const t=c;this.#u=this.#r.scene[t(452)][t(437)](new(Cesium[t(420)]));let e=this.#u[t(437)]({position:new(Cesium[t(398)])(1,2,3),color:Cesium[t(425)].YELLOW});this.#a=new(Cesium[t(415)])(this.#r.scene[t(453)]),this.#a.setInputAction(n=>{const i=t;if(!this.#u||this.#u[i(455)]())return;const s=this.#p(n.endPosition);s&&(e[i(413)]=s)},Cesium[t(444)][t(414)])}#d(){const t=c;this.#o&&!this.#o[t(455)]()&&this.#o[t(412)](),this.#a&&!this.#a.isDestroyed()&&this.#a[t(412)](),this.#o=void 0,this.#a=void 0}#m(){const t=c;if(this.#c&&(this.#c.forEach(t=>{const e=l;this.#r[e(454)][e(436)](t)}),this.#c=[]),this.#u&&!this.#u[t(455)]()){const e=this.#r[t(445)][t(452)];e.contains(this.#u)?e[t(436)](this.#u):this.#u[t(412)]()}this.#u=void 0}[c(401)](){this.#d(),this.#m()}#p(t){const e=c,n=this.#r[e(445)][e(426)](t);if(Cesium[e(443)](n))return this.#r[e(445)].pickPosition(t);const i=this.#r.camera[e(395)](t);return this.#r[e(456)]instanceof Cesium.EllipsoidTerrainProvider?this.#r.camera.pickEllipsoid(t,this.#r[e(445)].globe[e(430)]):this.#r.scene.globe[e(426)](i,this.#r[e(445)])}drawPolygon(){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(415)])(this.#r[t(445)][t(453)]),this.#o[t(417)](n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(427)](()=>{const t=r,o=this.#p(n[t(413)]);if(o){const e=a[t(396)](o);i[t(421)](...e),s[t(421)](o)}!e&&(e=this.#f()),2===s[t(449)]&&this.#g(),this.#A(s.at(-1))},200)},Cesium[t(444)][t(397)]),this.#o.setInputAction(e=>{const i=t,r=this.#p(e[i(431)]);r&&(n=r,s[i(449)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium.ScreenSpaceEventType.MOUSE_MOVE),this.#o[t(417)](r=>{const o=t;clearTimeout(this.#l);let a,u=this.#r[o(445)][o(441)](r[o(413)]),c=this.#r[o(445)][o(426)](r[o(413)]);if(c&&u&&!c.id)a=[1,1,1];else{let t=this.#r[o(410)].getPickRay(r.position);a=this.#r[o(445)][o(429)][o(426)](t,this.#r[o(445)])}a&&(s[o(449)]<2?alert(o(408)):(s[o(421)](n),console[o(451)](o(418),p),console[o(423)](""+i),console[o(428)](),i=[],s=[],e=void 0,this.#h=[],this[o(401)]()))},Cesium[t(444)][t(438)])}#A(t){const e=c,n=this.#r[e(454)][e(437)]({position:t,point:{pixelSize:7,color:Cesium[e(425)][e(424)],disableDepthTestDistance:Number[e(435)]}});return this.#c.push(n),n}#C(t,e){const n=c;let i=new(Cesium[n(450)])({geometry:new(Cesium[n(446)])({positions:[Cesium[n(398)][n(422)](...t),Cesium.Cartesian3[n(422)](...e)],width:3})}),s=new(Cesium[n(407)])({material:Cesium[n(457)][n(400)](n(425),{color:new(Cesium[n(425)])(1,1,0,1)})}),r=new(Cesium[n(411)])({geometryInstances:i,appearance:s});return this.#r[n(445)][n(452)][n(437)](r)}#f(){const t=c,e=this.#r[t(454)].add({polyline:{positions:new(Cesium[t(432)])(()=>this.#h,!1),width:3,material:Cesium[t(425)][t(405)],clampToGround:!0}});return this.#c[t(421)](e),e}#I(t){const e=c,n=this.#r[e(454)][e(437)]({polygon:{hierarchy:t,material:Cesium[e(425)][e(442)].withAlpha(.5)}});return this.#c.push(n),n}#g(){const t=c,e=this.#r[t(454)][t(437)]({polygon:{hierarchy:new Cesium.CallbackProperty(()=>new Cesium.PolygonHierarchy(this.#h),!1),material:Cesium[t(425)][t(442)][t(399)](.5)}});return this.#c[t(421)](e),e}}function m(){const t=["1686LgmteK","493YOXaiE","24yWAPMw","1173699rmDaOF","Cartesian3","transformCnToCc","笛卡尔坐标:","537972HSOgFk","fromDegrees","110wTtgHP","setView","208490ThytrN","position","getCameraInfo","setCameraPosition","group","91768aNZiBC","info","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","flyTo","95dxfDHr","HPR角度:","13BKgucU","camera","1290375sKrnZE","1278102AvaOeP","12fjyBXj"];return(m=function(){return t})()}const f=A;!function(){const t=A,e=m();for(;;)try{if(231652==-parseInt(t(255))/1*(-parseInt(t(254))/2)+-parseInt(t(251))/3+parseInt(t(242))/4*(parseInt(t(247))/5)+-parseInt(t(253))/6*(-parseInt(t(252))/7)+-parseInt(t(256))/8*(parseInt(t(257))/9)+parseInt(t(237))/10*(-parseInt(t(263))/11)+parseInt(t(261))/12*(parseInt(t(249))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class g{#r;constructor(t){this.#r=t}[f(239)](){const t=f,e=a[t(259)](this.#r.camera.position),{heading:n,pitch:i,roll:s}=this.#r.camera,r=t(244);console[t(241)]("%c视角位置参数:",r),console[t(243)](t(245)+[e]),console[t(243)](t(260)+[this.#r[t(250)][t(238)]]),console[t(243)](t(248)+[n,i,s]),console.groupEnd()}[f(240)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=f;n?this.#r[i(250)][i(246)]({destination:Cesium[i(258)].fromDegrees(...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(250)][i(264)]({destination:Cesium[i(258)][i(262)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}function A(t,e){const n=m();return(A=function(t,e){return n[t-=237]})(t,e)}var C,I,M=9e15,b=1e9,w="0123456789abcdef",v="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",y="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",E={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-M,maxE:M,crypto:!1},R=!0,N="[DecimalError] ",T=N+"Invalid argument: ",S=N+"Precision limit exceeded",L=N+"crypto unavailable",P="[object Decimal]",D=Math.floor,k=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,O=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,G=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,z=1e7,Z=v.length-1,Y=y.length-1,F={toStringTag:P};function j(t){var e,n,i,s=t.length-1,r="",o=t[0];if(s>0){for(r+=o,e=1;e<s;e++)(n=7-(i=t[e]+"").length)&&(r+=$(n)),r+=i;(n=7-(i=(o=t[e])+"").length)&&(r+=$(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return r+o}function H(t,e,n){if(t!==~~t||t<e||t>n)throw Error(T+t)}function U(t,e,n,i){var s,r,o,a;for(r=t[0];r>=10;r/=10)--e;return--e<0?(e+=7,s=0):(s=Math.ceil((e+1)/7),e%=7),r=k(10,7-e),a=t[s]%r|0,null==i?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),o=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):o=(n<4&&a+1==r||n>3&&a+1==r/2)&&(t[s+1]/r/100|0)==k(10,e-2)-1||(a==r/2||0==a)&&!(t[s+1]/r/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),o=(i||n<4)&&9999==a||!i&&n>3&&4999==a):o=((i||n<4)&&a+1==r||!i&&n>3&&a+1==r/2)&&(t[s+1]/r/1e3|0)==k(10,e-3)-1,o}function Q(t,e,n){for(var i,s,r=[0],o=0,a=t.length;o<a;){for(s=r.length;s--;)r[s]*=e;for(r[0]+=w.indexOf(t.charAt(o++)),i=0;i<r.length;i++)r[i]>n-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}F.absoluteValue=F.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),J(t)},F.ceil=function(){return J(new this.constructor(this),this.e+1,2)},F.clampedTo=F.clamp=function(t,e){var n=this,i=n.constructor;if(t=new i(t),e=new i(e),!t.s||!e.s)return new i(NaN);if(t.gt(e))throw Error(T+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new i(n)},F.comparedTo=F.cmp=function(t){var e,n,i,s,r=this,o=r.d,a=(t=new r.constructor(t)).d,u=r.s,c=t.s;if(!o||!a)return u&&c?u!==c?u:o===a?0:!o^u<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?u:a[0]?-c:0;if(u!==c)return u;if(r.e!==t.e)return r.e>t.e^u<0?1:-1;for(e=0,n=(i=o.length)<(s=a.length)?i:s;e<n;++e)if(o[e]!==a[e])return o[e]>a[e]^u<0?1:-1;return i===s?0:i>s^u<0?1:-1},F.cosine=F.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i,s;if(e.isZero())return e;(i=e.d.length)<32?s=(1/ut(4,n=Math.ceil(i/3))).toString():(n=16,s="2.3283064365386962890625e-10"),t.precision+=n,e=at(t,1,e.times(s),new t(1));for(var r=n;r--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}(i,ct(i,n)),i.precision=t,i.rounding=e,J(2==I||3==I?n.neg():n,t,e,!0)):new i(1):new i(NaN)},F.cubeRoot=F.cbrt=function(){var t,e,n,i,s,r,o,a,u,c,l=this,h=l.constructor;if(!l.isFinite()||l.isZero())return new h(l);for(R=!1,(r=l.s*k(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=j(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=k(n,1/3),t=D((t+1)/3)-(t%3==(t<0?-1:2)),(i=new h(n=r==1/0?"5e"+t:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=l.s),o=(t=h.precision)+3;;)if(c=(u=(a=i).times(a).times(a)).plus(l),i=V(c.plus(l).times(a),c.plus(u),o+2,1),j(a.d).slice(0,o)===(n=j(i.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(s||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(J(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(J(a,t+1,0),a.times(a).times(a).eq(l))){i=a;break}o+=4,s=1}return R=!0,J(i,t,h.rounding,e)},F.decimalPlaces=F.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-D(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},F.dividedBy=F.div=function(t){return V(this,new this.constructor(t))},F.dividedToIntegerBy=F.divToInt=function(t){var e=this.constructor;return J(V(this,new e(t),0,1,1),e.precision,e.rounding)},F.equals=F.eq=function(t){return 0===this.cmp(t)},F.floor=function(){return J(new this.constructor(this),this.e+1,3)},F.greaterThan=F.gt=function(t){return this.cmp(t)>0},F.greaterThanOrEqualTo=F.gte=function(t){var e=this.cmp(t);return 1==e||0===e},F.hyperbolicCosine=F.cosh=function(){var t,e,n,i,s,r=this,o=r.constructor,a=new o(1);if(!r.isFinite())return new o(r.s?1/0:NaN);if(r.isZero())return a;n=o.precision,i=o.rounding,o.precision=n+Math.max(r.e,r.sd())+4,o.rounding=1,(s=r.d.length)<32?e=(1/ut(4,t=Math.ceil(s/3))).toString():(t=16,e="2.3283064365386962890625e-10"),r=at(o,1,r.times(e),new o(1),!0);for(var u,c=t,l=new o(8);c--;)u=r.times(r),r=a.minus(u.times(l.minus(u.times(l))));return J(r,o.precision=n,o.rounding=i,!0)},F.hyperbolicSine=F.sinh=function(){var t,e,n,i,s=this,r=s.constructor;if(!s.isFinite()||s.isZero())return new r(s);if(e=r.precision,n=r.rounding,r.precision=e+Math.max(s.e,s.sd())+4,r.rounding=1,(i=s.d.length)<3)s=at(r,2,s,s,!0);else{t=(t=1.4*Math.sqrt(i))>16?16:0|t,s=at(r,2,s=s.times(1/ut(5,t)),s,!0);for(var o,a=new r(5),u=new r(16),c=new r(20);t--;)o=s.times(s),s=s.times(a.plus(o.times(u.times(o).plus(c))))}return r.precision=e,r.rounding=n,J(s,e,n,!0)},F.hyperbolicTangent=F.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,V(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},F.inverseCosine=F.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),s=n.precision,r=n.rounding;return-1!==i?0===i?e.isNeg()?q(n,s,r):new n(0):new n(NaN):e.isZero()?q(n,s+4,r).times(.5):(n.precision=s+6,n.rounding=1,e=e.asin(),t=q(n,s+4,r).times(.5),n.precision=s,n.rounding=r,t.minus(e))},F.inverseHyperbolicCosine=F.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,R=!1,n=n.times(n).minus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},F.inverseHyperbolicSine=F.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,R=!1,n=n.times(n).plus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln())},F.inverseHyperbolicTangent=F.atanh=function(){var t,e,n,i,s=this,r=s.constructor;return s.isFinite()?s.e>=0?new r(s.abs().eq(1)?s.s/0:s.isZero()?s:NaN):(t=r.precision,e=r.rounding,i=s.sd(),Math.max(i,t)<2*-s.e-1?J(new r(s),t,e,!0):(r.precision=n=i-s.e,s=V(s.plus(1),new r(1).minus(s),n+t,1),r.precision=t+4,r.rounding=1,s=s.ln(),r.precision=t,r.rounding=e,s.times(.5))):new r(NaN)},F.inverseSine=F.asin=function(){var t,e,n,i,s=this,r=s.constructor;return s.isZero()?new r(s):(e=s.abs().cmp(1),n=r.precision,i=r.rounding,-1!==e?0===e?((t=q(r,n+4,i).times(.5)).s=s.s,t):new r(NaN):(r.precision=n+6,r.rounding=1,s=s.div(new r(1).minus(s.times(s)).sqrt().plus(1)).atan(),r.precision=n,r.rounding=i,s.times(2)))},F.inverseTangent=F.atan=function(){var t,e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&h+4<=Y)return(o=q(l,h+4,p).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(h+4<=Y)return(o=q(l,h+4,p).times(.5)).s=c.s,o}for(l.precision=a=h+10,l.rounding=1,t=n=Math.min(28,a/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(a/7),i=1,u=c.times(c),o=new l(c),s=c;-1!==t;)if(s=s.times(u),r=o.minus(s.div(i+=2)),s=s.times(u),void 0!==(o=r.plus(s.div(i+=2))).d[e])for(t=e;o.d[t]===r.d[t]&&t--;);return n&&(o=o.times(2<<n-1)),R=!0,J(o,l.precision=h,l.rounding=p,!0)},F.isFinite=function(){return!!this.d},F.isInteger=F.isInt=function(){return!!this.d&&D(this.e/7)>this.d.length-2},F.isNaN=function(){return!this.s},F.isNegative=F.isNeg=function(){return this.s<0},F.isPositive=F.isPos=function(){return this.s>0},F.isZero=function(){return!!this.d&&0===this.d[0]},F.lessThan=F.lt=function(t){return this.cmp(t)<0},F.lessThanOrEqualTo=F.lte=function(t){return this.cmp(t)<1},F.logarithm=F.log=function(t){var e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(null==t)t=new l(10),e=!0;else{if(n=(t=new l(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new l(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new l(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)r=!0;else{for(s=n[0];s%10==0;)s/=10;r=1!==s}if(R=!1,o=st(c,a=h+5),i=e?K(l,a+10):st(t,a),U((u=V(o,i,a,1)).d,s=h,p))do{if(o=st(c,a+=10),i=e?K(l,a+10):st(t,a),u=V(o,i,a,1),!r){+j(u.d).slice(s+1,s+15)+1==1e14&&(u=J(u,h+1,0));break}}while(U(u.d,s+=10,p));return R=!0,J(u,h,p)},F.minus=F.sub=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.constructor;if(t=new m(t),!d.d||!t.d)return d.s&&t.s?d.d?t.s=-t.s:t=new m(t.d||d.s!==t.s?d:NaN):t=new m(NaN),t;if(d.s!=t.s)return t.s=-t.s,d.plus(t);if(c=d.d,p=t.d,a=m.precision,u=m.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new m(3===u?-0:0);t=new m(d)}return R?J(t,a,u):t}if(n=D(t.e/7),l=D(d.e/7),c=c.slice(),r=l-n){for((h=r<0)?(e=c,r=-r,o=p.length):(e=p,n=l,o=c.length),r>(i=Math.max(Math.ceil(a/7),o)+2)&&(r=i,e.length=1),e.reverse(),i=r;i--;)e.push(0);e.reverse()}else{for((h=(i=c.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(c[i]!=p[i]){h=c[i]<p[i];break}r=0}for(h&&(e=c,c=p,p=e,t.s=-t.s),o=c.length,i=p.length-o;i>0;--i)c[o++]=0;for(i=p.length;i>r;){if(c[--i]<p[i]){for(s=i;s&&0===c[--s];)c[s]=z-1;--c[s],c[i]+=z}c[i]-=p[i]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=X(c,n),R?J(t,a,u):t):new m(3===u?-0:0)},F.modulo=F.mod=function(t){var e,n=this,i=n.constructor;return t=new i(t),!n.d||!t.s||t.d&&!t.d[0]?new i(NaN):!t.d||n.d&&!n.d[0]?J(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=V(n,t.abs(),0,3,1)).s*=t.s:e=V(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},F.naturalExponential=F.exp=function(){return it(this)},F.naturalLogarithm=F.ln=function(){return st(this)},F.negated=F.neg=function(){var t=new this.constructor(this);return t.s=-t.s,J(t)},F.plus=F.add=function(t){var e,n,i,s,r,o,a,u,c,l,h=this,p=h.constructor;if(t=new p(t),!h.d||!t.d)return h.s&&t.s?h.d||(t=new p(t.d||h.s===t.s?h:NaN)):t=new p(NaN),t;if(h.s!=t.s)return t.s=-t.s,h.minus(t);if(c=h.d,l=t.d,a=p.precision,u=p.rounding,!c[0]||!l[0])return l[0]||(t=new p(h)),R?J(t,a,u):t;if(r=D(h.e/7),i=D(t.e/7),c=c.slice(),s=r-i){for(s<0?(n=c,s=-s,o=l.length):(n=l,i=r,o=c.length),s>(o=(r=Math.ceil(a/7))>o?r+1:o+1)&&(s=o,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for((o=c.length)-(s=l.length)<0&&(s=o,n=l,l=c,c=n),e=0;s;)e=(c[--s]=c[s]+l[s]+e)/z|0,c[s]%=z;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),R?J(t,a,u):t},F.precision=F.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(T+t);return n.d?(e=_(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},F.round=function(){var t=this,e=t.constructor;return J(new e(t),t.e+1,e.rounding)},F.sine=F.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i=e.d.length;if(i<3)return e.isZero()?e:at(t,2,e,e);n=(n=1.4*Math.sqrt(i))>16?16:0|n,e=at(t,2,e=e.times(1/ut(5,n)),e);for(var s,r=new t(5),o=new t(16),a=new t(20);n--;)s=e.times(e),e=e.times(r.plus(s.times(o.times(s).minus(a))));return e}(i,ct(i,n)),i.precision=t,i.rounding=e,J(I>2?n.neg():n,t,e,!0)):new i(NaN)},F.squareRoot=F.sqrt=function(){var t,e,n,i,s,r,o=this,a=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!a||!a[0])return new l(!c||c<0&&(!a||a[0])?NaN:a?o:1/0);for(R=!1,0==(c=Math.sqrt(+o))||c==1/0?(((e=j(a)).length+u)%2==0&&(e+="0"),c=Math.sqrt(e),u=D((u+1)/2)-(u<0||u%2),i=new l(e=c==1/0?"5e"+u:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new l(c.toString()),n=(u=l.precision)+3;;)if(i=(r=i).plus(V(o,r,n+2,1)).times(.5),j(r.d).slice(0,n)===(e=j(i.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(s||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(J(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(J(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,J(i,u,l.rounding,t)},F.tangent=F.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,(n=n.sin()).s=1,n=V(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,J(2==I||4==I?n.neg():n,t,e,!0)):new i(NaN)},F.times=F.mul=function(t){var e,n,i,s,r,o,a,u,c,l=this,h=l.constructor,p=l.d,d=(t=new h(t)).d;if(t.s*=l.s,!(p&&p[0]&&d&&d[0]))return new h(!t.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*t.s:t.s/0);for(n=D(l.e/7)+D(t.e/7),(u=p.length)<(c=d.length)&&(r=p,p=d,d=r,o=u,u=c,c=o),r=[],i=o=u+c;i--;)r.push(0);for(i=c;--i>=0;){for(e=0,s=u+i;s>i;)a=r[s]+d[i]*p[s-i-1]+e,r[s--]=a%z|0,e=a/z|0;r[s]=(r[s]+e)%z|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?J(t,h.precision,h.rounding):t},F.toBinary=function(t,e){return lt(this,2,t,e)},F.toDecimalPlaces=F.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(H(t,0,b),void 0===e?e=i.rounding:H(e,0,8),J(n,t+n.e+1,e))},F.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(H(t,0,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(H(t,0,b),void 0===e?e=r.rounding:H(e,0,8),n=W(i=J(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},F.toFraction=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.d,f=d.constructor;if(!m)return new f(d);if(c=n=new f(1),i=u=new f(0),o=(r=(e=new f(i)).e=_(m)-d.e-1)%7,e.d[0]=k(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(a=new f(t)).isInt()||a.lt(c))throw Error(T+a);t=a.gt(e)?r>0?e:c:a}for(R=!1,a=new f(j(m)),l=f.precision,f.precision=r=7*m.length*2;h=V(a,e,0,1,1),1!=(s=n.plus(h.times(i))).cmp(t);)n=i,i=s,s=c,c=u.plus(h.times(s)),u=s,s=e,e=a.minus(h.times(s)),a=s;return s=V(t.minus(n),i,0,1,1),u=u.plus(s.times(c)),n=n.plus(s.times(i)),u.s=c.s=d.s,p=V(c,i,r,1).minus(d).abs().cmp(V(u,n,r,1).minus(d).abs())<1?[c,i]:[u,n],f.precision=l,R=!0,p},F.toHexadecimal=F.toHex=function(t,e){return lt(this,16,t,e)},F.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:H(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(R=!1,n=V(n,t,0,e,1).times(t),R=!0,J(n)):(t.s=n.s,n=t),n},F.toNumber=function(){return+this},F.toOctal=function(t,e){return lt(this,8,t,e)},F.toPower=F.pow=function(t){var e,n,i,s,r,o,a=this,u=a.constructor,c=+(t=new u(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new u(k(+a,c));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return J(a,i,r);if((e=D(t.e/7))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return s=tt(u,a,n,i),t.s<0?new u(1).div(s):J(s,i,r);if((o=a.s)<0){if(e<t.d.length-1)return new u(NaN);if(1&t.d[e]||(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(e=0!=(n=k(+a,c))&&isFinite(n)?new u(n+"").e:D(c*(Math.log("0."+j(a.d))/Math.LN10+a.e+1)))>u.maxE+1||e<u.minE-1?new u(e>0?o/0:0):(R=!1,u.rounding=a.s=1,n=Math.min(12,(e+"").length),(s=it(t.times(st(a,i+n)),i)).d&&U((s=J(s,i+5,1)).d,i,r)&&(e=i+10,+j((s=J(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=J(s,i+1,0))),s.s=o,R=!0,u.rounding=r,J(s,i,r))},F.toPrecision=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,i.e<=s.toExpNeg||i.e>=s.toExpPos):(H(t,1,b),void 0===e?e=s.rounding:H(e,0,8),n=W(i=J(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},F.toSignificantDigits=F.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(H(t,1,b),void 0===e?e=n.rounding:H(e,0,8)),J(new n(this),t,e)},F.toString=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},F.truncated=F.trunc=function(){return J(new this.constructor(this),this.e+1,1)},F.valueOf=F.toJSON=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var V=function(){function t(t,e,n){var i,s=0,r=t.length;for(t=t.slice();r--;)i=t[r]*e+s,t[r]=i%n|0,s=i/n|0;return s&&t.unshift(s),t}function e(t,e,n,i){var s,r;if(n!=i)r=n>i?1:-1;else for(s=r=0;s<n;s++)if(t[s]!=e[s]){r=t[s]>e[s]?1:-1;break}return r}function n(t,e,n,i){for(var s=0;n--;)t[n]-=s,s=t[n]<e[n]?1:0,t[n]=s*i+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,s,r,o,a,u){var c,l,h,p,d,m,f,g,A,I,M,b,w,v,y,E,R,N,T,S,L=i.constructor,P=i.s==s.s?1:-1,k=i.d,B=s.d;if(!(k&&k[0]&&B&&B[0]))return new L(i.s&&s.s&&(k?!B||k[0]!=B[0]:B)?k&&0==k[0]||!B?0*P:P/0:NaN);for(u?(d=1,l=i.e-s.e):(u=z,d=7,l=D(i.e/d)-D(s.e/d)),T=B.length,R=k.length,I=(A=new L(P)).d=[],h=0;B[h]==(k[h]||0);h++);if(B[h]>(k[h]||0)&&l--,null==r?(v=r=L.precision,o=L.rounding):v=a?r+(i.e-s.e)+1:r,v<0)I.push(1),m=!0;else{if(v=v/d+2|0,h=0,1==T){for(p=0,B=B[0],v++;(h<R||p)&&v--;h++)y=p*u+(k[h]||0),I[h]=y/B|0,p=y%B|0;m=p||h<R}else{for((p=u/(B[0]+1)|0)>1&&(B=t(B,p,u),k=t(k,p,u),T=B.length,R=k.length),E=T,b=(M=k.slice(0,T)).length;b<T;)M[b++]=0;(S=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(c=e(B,M,T,b))<0?(w=M[0],T!=b&&(w=w*u+(M[1]||0)),(p=w/N|0)>1?(p>=u&&(p=u-1),1==(c=e(f=t(B,p,u),M,g=f.length,b=M.length))&&(p--,n(f,T<g?S:B,g,u))):(0==p&&(c=p=1),f=B.slice()),(g=f.length)<b&&f.unshift(0),n(M,f,b,u),-1==c&&(c=e(B,M,T,b=M.length))<1&&(p++,n(M,T<b?S:B,b,u)),b=M.length):0===c&&(p++,M=[0]),I[h++]=p,c&&M[0]?M[b++]=k[E]||0:(M=[k[E]],b=1)}while((E++<R||void 0!==M[0])&&v--);m=void 0!==M[0]}I[0]||I.shift()}if(1==d)A.e=l,C=m;else{for(h=1,p=I[0];p>=10;p/=10)h++;A.e=h+l*d-1,J(A,a?r+A.e+1:r,o,m)}return A}}();function J(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(s=1,a=h[0];a>=10;a/=10)s++;if((r=e-s)<0)r+=7,o=e,u=(l=h[p=0])/k(10,s-o-1)%10|0;else if((p=Math.ceil((r+1)/7))>=(a=h.length)){if(!i)break t;for(;a++<=p;)h.push(0);l=u=0,s=1,o=(r%=7)-7+1}else{for(l=a=h[p],s=1;a>=10;a/=10)s++;u=(o=(r%=7)-7+s)<0?0:l/k(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?l:l%k(10,s-o-1)),c=n<4?(u||i)&&(0==n||n==(t.s<0?3:2)):u>5||5==u&&(4==n||i||6==n&&(r>0?o>0?l/k(10,s-o):0:h[p-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=k(10,(7-e%7)%7),t.e=-e||0):h[0]=t.e=0,t;if(0==r?(h.length=p,a=1,p--):(h.length=p+1,a=k(10,7-r),h[p]=o>0?(l/k(10,s-o)%k(10,o)|0)*a:0),c)for(;;){if(0==p){for(r=1,o=h[0];o>=10;o/=10)r++;for(o=h[0]+=a,a=1;o>=10;o/=10)a++;r!=a&&(t.e++,h[0]==z&&(h[0]=1));break}if(h[p]+=a,h[p]!=z)break;h[p--]=0,a=1}for(r=h.length;0===h[--r];)h.pop()}return R&&(t.e>d.maxE?(t.d=null,t.e=NaN):t.e<d.minE&&(t.e=0,t.d=[0])),t}function W(t,e,n){if(!t.isFinite())return rt(t);var i,s=t.e,r=j(t.d),o=r.length;return e?(n&&(i=n-o)>0?r=r.charAt(0)+"."+r.slice(1)+$(i):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(t.e<0?"e":"e+")+t.e):s<0?(r="0."+$(-s-1)+r,n&&(i=n-o)>0&&(r+=$(i))):s>=o?(r+=$(s+1-o),n&&(i=n-s-1)>0&&(r=r+"."+$(i))):((i=s+1)<o&&(r=r.slice(0,i)+"."+r.slice(i)),n&&(i=n-o)>0&&(s+1===o&&(r+="."),r+=$(i))),r}function X(t,e){var n=t[0];for(e*=7;n>=10;n/=10)e++;return e}function K(t,e,n){if(e>Z)throw R=!0,n&&(t.precision=n),Error(S);return J(new t(v),e,1,!0)}function q(t,e,n){if(e>Y)throw Error(S);return J(new t(y),e,n,!0)}function _(t){var e=t.length-1,n=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function $(t){for(var e="";t--;)e+="0";return e}function tt(t,e,n,i){var s,r=new t(1),o=Math.ceil(i/7+4);for(R=!1;;){if(n%2&&ht((r=r.times(e)).d,o)&&(s=!0),0===(n=D(n/2))){n=r.d.length-1,s&&0===r.d[n]&&++r.d[n];break}ht((e=e.times(e)).d,o)}return R=!0,r}function et(t){return 1&t.d[t.d.length-1]}function nt(t,e,n){for(var i,s=new t(e[0]),r=0;++r<e.length;){if(!(i=new t(e[r])).s){s=i;break}s[n](i)&&(s=i)}return s}function it(t,e){var n,i,s,r,o,a,u,c=0,l=0,h=0,p=t.constructor,d=p.rounding,m=p.precision;if(!t.d||!t.d[0]||t.e>17)return new p(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(R=!1,u=m):u=e,a=new p(.03125);t.e>-2;)t=t.times(a),h+=5;for(u+=i=Math.log(k(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=J(r.times(t),u,1),n=n.times(++l),j((a=o.plus(V(r,n,u,1))).d).slice(0,u)===j(o.d).slice(0,u)){for(s=h;s--;)o=J(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(c<3&&U(o.d,u-i,d,c)))return J(o,p.precision=m,d,R=!0);p.precision=u+=10,n=r=a=new p(1),l=0,c++}o=a}}function st(t,e){var n,i,s,r,o,a,u,c,l,h,p,d=1,m=t,f=m.d,g=m.constructor,A=g.rounding,C=g.precision;if(m.s<0||!f||!f[0]||!m.e&&1==f[0]&&1==f.length)return new g(f&&!f[0]?-1/0:1!=m.s?NaN:f?0:m);if(null==e?(R=!1,l=C):l=e,g.precision=l+=10,i=(n=j(f)).charAt(0),!(Math.abs(r=m.e)<15e14))return c=K(g,l+2,C).times(r+""),m=st(new g(i+"."+n.slice(1)),l-10).plus(c),g.precision=C,null==e?J(m,C,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=j((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new g("0."+n),r++):m=new g(i+"."+n.slice(1)),h=m,u=o=m=V(m.minus(1),m.plus(1),l,1),p=J(m.times(m),l,1),s=3;;){if(o=J(o.times(p),l,1),j((c=u.plus(V(o,new g(s),l,1))).d).slice(0,l)===j(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(K(g,l+2,C).times(r+""))),u=V(u,new g(d),l,1),null!=e)return g.precision=C,u;if(!U(u.d,l-10,A,a))return J(u,g.precision=C,A,R=!0);g.precision=l+=10,c=o=m=V(h.minus(1),h.plus(1),l,1),p=J(m.times(m),l,1),s=a=1}u=c,s+=2}}function rt(t){return String(t.s*t.s/0)}function ot(t,e){var n,i,s;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(s=e.length;48===e.charCodeAt(s-1);--s);if(e=e.slice(i,s)){if(s-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%7,n<0&&(i+=7),i<s){for(i&&t.d.push(+e.slice(0,i)),s-=7;i<s;)t.d.push(+e.slice(i,i+=7));i=7-(e=e.slice(i)).length}else i-=s;for(;i--;)e+="0";t.d.push(+e),R&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function at(t,e,n,i,s){var r,o,a,u,c=t.precision,l=Math.ceil(c/7);for(R=!1,u=n.times(n),a=new t(i);;){if(o=V(a.times(u),new t(e++*e++),c,1),a=s?i.plus(o):i.minus(o),i=V(o.times(u),new t(e++*e++),c,1),void 0!==(o=a.plus(i)).d[l]){for(r=l;o.d[r]===a.d[r]&&r--;);if(-1==r)break}r=a,a=i,i=o,o=r}return R=!0,o.d.length=l+1,o}function ut(t,e){for(var n=t;--e;)n*=t;return n}function ct(t,e){var n,i=e.s<0,s=q(t,t.precision,1),r=s.times(.5);if((e=e.abs()).lte(r))return I=i?4:1,e;if((n=e.divToInt(s)).isZero())I=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return I=et(n)?i?2:3:i?4:1,e;I=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function lt(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor,m=void 0!==n;if(m?(H(n,1,b),void 0===i?i=d.rounding:H(i,0,8)):(n=d.precision,i=d.rounding),t.isFinite()){for(m?(s=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):s=e,(o=(l=W(t)).indexOf("."))>=0&&(l=l.replace(".",""),(p=new d(1)).e=l.length-o,p.d=Q(W(p),10,s),p.e=p.d.length),r=u=(h=Q(l,10,s)).length;0==h[--u];)h.pop();if(h[0]){if(o<0?r--:((t=new d(t)).d=h,t.e=r,h=(t=V(t,p,n,i,0,s)).d,r=t.e,c=C),o=h[n],a=s/2,c=c||void 0!==h[n+1],c=i<4?(void 0!==o||c)&&(0===i||i===(t.s<0?3:2)):o>a||o===a&&(4===i||c||6===i&&1&h[n-1]||i===(t.s<0?8:7)),h.length=n,c)for(;++h[--n]>s-1;)h[n]=0,n||(++r,h.unshift(1));for(u=h.length;!h[u-1];--u);for(o=0,l="";o<u;o++)l+=w.charAt(h[o]);if(m){if(u>1)if(16==e||8==e){for(o=16==e?4:3,--u;u%o;u++)l+="0";for(u=(h=Q(l,s,e)).length;!h[u-1];--u);for(o=1,l="1.";o<u;o++)l+=w.charAt(h[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(++r>u)for(r-=u;r--;)l+="0";else r<u&&(l=l.slice(0,r)+"."+l.slice(r))}else l=m?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=rt(t);return t.s<0?"-"+l:l}function ht(t,e){if(t.length>e)return t.length=e,!0}function pt(t){return new this(t).abs()}function dt(t){return new this(t).acos()}function mt(t){return new this(t).acosh()}function ft(t,e){return new this(t).plus(e)}function gt(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function Ct(t){return new this(t).atan()}function It(t){return new this(t).atanh()}function Mt(t,e){t=new this(t),e=new this(e);var n,i=this.precision,s=this.rounding,r=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?q(this,i,s):new this(0)).s=t.s:!t.d||e.isZero()?(n=q(this,r,1).times(.5)).s=t.s:e.s<0?(this.precision=r,this.rounding=1,n=this.atan(V(t,e,r,1)),e=q(this,r,1),this.precision=i,this.rounding=s,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(V(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function bt(t){return new this(t).cbrt()}function wt(t){return J(t=new this(t),t.e+1,2)}function vt(t,e,n){return new this(t).clamp(e,n)}function yt(t){if(!t||"object"!=typeof t)throw Error(N+"Object expected");var e,n,i,s=!0===t.defaults,r=["precision",1,b,"rounding",0,8,"toExpNeg",-M,0,"toExpPos",0,M,"maxE",0,M,"minE",-M,0,"modulo",0,9];for(e=0;e<r.length;e+=3)if(n=r[e],s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!(D(i)===i&&i>=r[e+1]&&i<=r[e+2]))throw Error(T+n+": "+i);this[n]=i}if(n="crypto",s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(T+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(L);this[n]=!0}else this[n]=!1}return this}function Et(t){return new this(t).cos()}function Rt(t){return new this(t).cosh()}function Nt(t,e){return new this(t).div(e)}function Tt(t){return new this(t).exp()}function St(t){return J(t=new this(t),t.e+1,3)}function Lt(){var t,e,n=new this(0);for(R=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return R=!0,new this(1/0);n=e}return R=!0,n.sqrt()}function Pt(t){return t instanceof _t||t&&t.toStringTag===P||!1}function Dt(t){return new this(t).ln()}function kt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Ot(t){return new this(t).log(10)}function Gt(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function zt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function Yt(t,e){return new this(t).pow(e)}function Ft(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:H(t,1,b),i=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));r<i;)(s=e[r])>=429e7?e[r]=crypto.getRandomValues(new Uint32Array(1))[0]:a[r++]=s%1e7;else{if(!crypto.randomBytes)throw Error(L);for(e=crypto.randomBytes(i*=4);r<i;)(s=e[r]+(e[r+1]<<8)+(e[r+2]<<16)+((127&e[r+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,r):(a.push(s%1e7),r+=4);r=i/4}else for(;r<i;)a[r++]=1e7*Math.random()|0;for(t%=7,(i=a[--r])&&t&&(s=k(10,7-t),a[r]=(i/s|0)*s);0===a[r];r--)a.pop();if(r<0)n=0,a=[0];else{for(n=-1;0===a[0];n-=7)a.shift();for(i=1,s=a[0];s>=10;s/=10)i++;i<7&&(n-=7-i)}return o.e=n,o.d=a,o}function jt(t){return J(t=new this(t),t.e+1,this.rounding)}function Ht(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ut(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Vt(t){return new this(t).sqrt()}function Jt(t,e){return new this(t).sub(e)}function Wt(){var t=0,e=arguments,n=new this(e[t]);for(R=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return R=!0,J(n,this.precision,this.rounding)}function Xt(t){return new this(t).tan()}function Kt(t){return new this(t).tanh()}function qt(t){return J(t=new this(t),t.e+1,1)}F[Symbol.for("nodejs.util.inspect.custom")]=F.toString,F[Symbol.toStringTag]="Decimal";var _t=F.constructor=function t(e){var n,i,s;function r(t){var e,n,i,s=this;if(!(s instanceof r))return new r(t);if(s.constructor=r,Pt(t))return s.s=t.s,void(R?!t.d||t.e>r.maxE?(s.e=NaN,s.d=null):t.e<r.minE?(s.e=0,s.d=[0]):(s.e=t.e,s.d=t.d.slice()):(s.e=t.e,s.d=t.d?t.d.slice():t.d));if("number"==(i=typeof t)){if(0===t)return s.s=1/t<0?-1:1,s.e=0,void(s.d=[0]);if(t<0?(t=-t,s.s=-1):s.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(R?e>r.maxE?(s.e=NaN,s.d=null):e<r.minE?(s.e=0,s.d=[0]):(s.e=e,s.d=[t]):(s.e=e,s.d=[t]))}return 0*t!=0?(t||(s.s=NaN),s.e=NaN,void(s.d=null)):ot(s,t.toString())}if("string"!==i)throw Error(T+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),s.s=-1):(43===n&&(t=t.slice(1)),s.s=1),x.test(t)?ot(s,t):function(t,e){var n,i,s,r,o,a,u,c,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),x.test(e))return ot(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(O.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!G.test(e))throw Error(T+e);n=8}for((r=e.search(/p/i))>0?(u=+e.slice(r+1),e=e.substring(2,r)):e=e.slice(2),o=(r=e.indexOf("."))>=0,i=t.constructor,o&&(r=(a=(e=e.replace(".","")).length)-r,s=tt(i,new i(n),r,2*r)),r=l=(c=Q(e,n,z)).length-1;0===c[r];--r)c.pop();return r<0?new i(0*t.s):(t.e=X(c,l),t.d=c,R=!1,o&&(t=V(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?k(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=F,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=yt,r.clone=t,r.isDecimal=Pt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=ft,r.asin=gt,r.asinh=At,r.atan=Ct,r.atanh=It,r.atan2=Mt,r.cbrt=bt,r.ceil=wt,r.clamp=vt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=Tt,r.floor=St,r.hypot=Lt,r.ln=Dt,r.log=kt,r.log10=Ot,r.log2=Bt,r.max=Gt,r.min=xt,r.mod=zt,r.mul=Zt,r.pow=Yt,r.random=Ft,r.round=jt,r.sign=Ht,r.sin=Ut,r.sinh=Qt,r.sqrt=Vt,r.sub=Jt,r.sum=Wt,r.tan=Xt,r.tanh=Kt,r.trunc=qt,void 0===e&&(e={}),e&&!0!==e.defaults)for(s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<s.length;)e.hasOwnProperty(i=s[n++])||(e[i]=this[i]);return r.config(e),r}(E);function $t(t,e){const n=ne();return($t=function(t,e){return n[t-=483]})(t,e)}v=new _t(v),y=new _t(y);const te=$t;!function(){const t=$t,e=ne();for(;;)try{if(440269==parseInt(t(580))/1*(-parseInt(t(598))/2)+-parseInt(t(534))/3+-parseInt(t(538))/4*(parseInt(t(591))/5)+-parseInt(t(540))/6+parseInt(t(547))/7*(parseInt(t(553))/8)+-parseInt(t(579))/9*(-parseInt(t(597))/10)+parseInt(t(532))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ee{#r;[te(590)];CatLongitude={};CatLongitudeStep=1e-4;[te(531)]={};[te(544)]=1e-4;[te(517)]={};[te(503)]=.1;[te(601)]={};[te(493)]=1;CatPitch={};[te(584)]=1;CatRoll={};CatRollStep=1;[te(523)]={};[te(586)]=.1;constructor(t){this.#r=t}[te(593)](){const t=te;console[t(582)]("调用成功");const e=t(567);let n=(new DOMParser)[t(508)](e,"text/html")[t(564)](t(485))[0];document[t(525)].appendChild(n),this.removeMenuEvent(t(485)),this[t(484)](),this.bindEventGLB()}[te(568)](){const t=te;this[t(542)](this[t(528)],t(563),"CatMenuLonInputPlus",t(497),t(526),()=>{this[t(573)]()}),this[t(542)](this.CatLatitude,t(486),t(509),t(536),t(577),()=>{this[t(573)]()}),this[t(542)](this.CatHeight,t(560),"CatMenuHeiInputPlus",t(583),"CatMenuHeiStepInput",()=>{this.changeEntityPos()}),this.createEvent(this[t(601)],t(550),t(565),t(561),"CatMenuHeadingStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(572)],t(530),t(569),t(495),t(592),()=>{this[t(513)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),"CatMenuRollStepInput",()=>{this[t(513)]()}),this[t(542)](this[t(523)],t(500),t(546),t(566),"CatMenuScaleStepInput",()=>{this[t(570)]()})}[te(542)](t,e,n,i,s,r){const o=te,a=document.getElementsByClassName(e)[0];Object[o(504)](t,"value",{get(){return this[o(515)]},set(t){const e=o;this[e(515)]=t,a[e(554)]=t,r()}}),a[o(545)]=e=>{const n=o;t[n(554)]=e[n(588)][n(554)]};const u=document[o(564)](n)[0],c=document[o(564)](i)[0];u.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(554)];t[e(554)]=_t(a[e(554)])[e(507)](_t(n)).toNumber()},c.onclick=()=>{const e=o,n=document[e(564)](s)[0][e(554)];t[e(554)]=_t(a[e(554)]).sub(_t(n))[e(581)]()}}changeEntityPos(){const t=te,e=document[t(564)](t(563))[0].value,n=document[t(564)](t(486))[0][t(554)],i=document[t(564)]("CatMenuHeiInput")[0][t(554)];this.CatEntity.position=Cesium[t(492)][t(578)](e,n,i)}[te(513)](){const t=te,e=this.CatEntity.position[t(515)],n=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(550))[0].value)),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(530))[0][t(554)])),s=Cesium.Math[t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)])),r=new Cesium.HeadingPitchRoll(n,i,s);let o=Cesium[t(594)][t(551)](e,r);this[t(590)][t(585)]=o}[te(570)](){const t=te,e=document[t(564)](t(500))[0].value;this[t(590)][t(511)][t(514)]=Number(e)}[te(484)](){const t=te;document[t(564)](t(543))[0][t(499)](t(552),()=>{const e=t,n=document[e(564)](e(596))[0][e(554)],i=this.#r[e(557)][e(548)](n);if(i){this[e(590)]=i;const t=a[e(512)](i[e(501)]._value);document[e(564)](e(563))[0][e(554)]=t[0],document[e(564)]("CatMenuLatInput")[0].value=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0].value=this[e(522)],document.getElementsByClassName("CatMenuLatStepInput")[0][e(554)]=this[e(544)],document[e(564)](e(510))[0][e(554)]=this[e(493)];const n=i.computeModelMatrix(Cesium[e(600)][e(603)]()),s=Cesium.Transforms.fixedFrameToHeadingPitchRoll(n);document[e(564)](e(550))[0][e(554)]=Cesium[e(589)][e(533)](s.heading),document[e(564)](e(530))[0].value=Cesium[e(589)][e(533)](s.pitch),document[e(564)](e(483))[0][e(554)]=Cesium[e(589)][e(533)](s.roll),document[e(564)](e(487))[0][e(554)]=this[e(493)],document[e(564)](e(592))[0][e(554)]=this[e(584)],document.getElementsByClassName("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0][e(554)]=i[e(511)].scale||1,document[e(564)]("CatMenuScaleStepInput")[0][e(554)]=this[e(586)]}else alert("没有找到id为"+n+e(489))})}[te(494)](t){const e=te;let n=document[e(564)](e(485))[0],i=document.getElementsByClassName(e(521))[0];t?i.addEventListener(e(552),()=>{const t=e;n[t(559)][t(491)](n)}):(this.CatEntity=null,n[e(559)][e(491)](n))}[te(490)](){const t=te;console[t(582)](t(518));let e=(new DOMParser)[t(508)]('\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'3dtile的url\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',t(555))[t(564)](t(485))[0];document.body[t(506)](e),this[t(494)](t(485)),this[t(602)](),this[t(537)]()}[te(537)](){const t=te;this[t(542)](this.CatLongitude,"CatMenuLonInput","CatMenuLonInputPlus",t(497),"CatMenuLonStepInput",()=>{this[t(498)]()}),this.createEvent(this[t(531)],t(486),t(509),t(536),t(577),()=>{this[t(498)]()}),this[t(542)](this[t(517)],t(560),t(541),"CatMenuHeiInputMinus",t(510),()=>{this[t(498)]()}),this[t(542)](this[t(601)],t(550),t(565),t(561),t(487),()=>{this.change3dtilePos()}),this[t(542)](this[t(572)],"CatMenuPitchInput",t(569),t(495),t(592),()=>{this[t(498)]()}),this[t(542)](this[t(519)],t(483),t(574),t(535),t(576),()=>{this[t(498)]()}),this[t(542)](this.CatScale,t(500),t(546),t(566),t(539),()=>{this[t(498)]()})}[te(498)](){const t=te,e=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(550))[0].value)),n=Cesium[t(589)][t(558)](Number(document[t(564)](t(530))[0][t(554)])),i=Cesium[t(589)][t(558)](Number(document.getElementsByClassName(t(483))[0][t(554)]));let s=Cesium.Matrix3[t(505)](e),r=Cesium[t(587)][t(516)](n),o=Cesium[t(587)][t(520)](i),a=Cesium[t(488)][t(527)](s),u=Cesium[t(488)][t(527)](r),c=Cesium[t(488)].fromRotationTranslation(o);const l=document[t(564)]("CatMenuLonInput")[0][t(554)],h=document[t(564)]("CatMenuLatInput")[0][t(554)],p=document.getElementsByClassName(t(560))[0][t(554)];let d=Cesium[t(492)][t(578)](l,h,p),m=Cesium.Transforms.eastNorthUpToFixedFrame(d);const f=document[t(564)](t(500))[0][t(554)];let g=new(Cesium[t(492)])(f,f,f);const A=Cesium[t(488)][t(562)](g,new(Cesium[t(488)]));Cesium.Matrix4[t(556)](m,a,m),Cesium[t(488)][t(556)](m,u,m),Cesium[t(488)][t(556)](m,c,m),Cesium[t(488)][t(556)](m,A,m),this[t(590)][t(599)][t(571)]=m}confirmEvent3Dtile(){const t=te;document[t(564)](t(543))[0].addEventListener(t(552),()=>{const e=t,n=document.getElementsByClassName(e(596))[0].value;let i;for(let t of this.#r[e(575)][e(496)][e(595)])if(t._url==n){i=t;break}if(i){this[e(590)]=i,console.log(this[e(590)]);const t=a.transformCnToCc(i[e(529)][e(524)]);document.getElementsByClassName(e(563))[0][e(554)]=t[0],document.getElementsByClassName(e(486))[0][e(554)]=t[1],document[e(564)](e(560))[0][e(554)]=t[2],document[e(564)]("CatMenuLonStepInput")[0][e(554)]=this[e(522)],document.getElementsByClassName(e(577))[0][e(554)]=this.CatLatitudeStep,document[e(564)](e(510))[0][e(554)]=this.CatHeadingStep,document[e(564)]("CatMenuHeadingInput")[0][e(554)]=0,document[e(564)](e(530))[0][e(554)]=0,document.getElementsByClassName(e(483))[0][e(554)]=0,document.getElementsByClassName(e(487))[0][e(554)]=this.CatHeadingStep,document[e(564)](e(592))[0][e(554)]=this[e(584)],document[e(564)]("CatMenuRollStepInput")[0][e(554)]=this[e(502)],document[e(564)](e(500))[0].value=1,document[e(564)](e(539))[0][e(554)]=1}else alert(e(549)+n+e(489))})}}function ne(){const t=["CatScale","center","body","CatMenuLonStepInput","fromRotationTranslation","CatLongitude","boundingSphere","CatMenuPitchInput","CatLatitude","27437443HubYzZ","toDegrees","1908543jOezKR","CatMenuRollInputMinus","CatMenuLatInputMinus","bindEvent3Dtile","8708qayrIG","CatMenuScaleStepInput","3054498tCOTjH","CatMenuHeiInputPlus","createEvent","CatMenuIdInputButton","CatLatitudeStep","onchange","CatMenuScaleInputPlus","413InFTEX","getById","没有找到url为","CatMenuHeadingInput","headingPitchRollQuaternion","click","33992IkdgfE","value","text/html","multiply","entities","toRadians","parentNode","CatMenuHeiInput","CatMenuHeadingInputMinus","fromScale","CatMenuLonInput","getElementsByClassName","CatMenuHeadingInputPlus","CatMenuScaleInputMinus",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'glb模型的id\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"bindEventGLB","CatMenuPitchInputPlus","changeScale","transform","CatPitch","changeEntityPos","CatMenuRollInputPlus","scene","CatMenuRollStepInput","CatMenuLatStepInput","fromDegrees","7101AxIMOK","1ImdSky","toNumber","log","CatMenuHeiInputMinus","CatPitchStep","orientation","CatScaleStep","Matrix3","target","Math","CatEntity","1785CCbSBD","CatMenuPitchStepInput","createGlbMenu","Transforms","_primitives","CatMenuIdInput","240RlsWLU","802436RSZFge","_root","JulianDate","CatHeading","confirmEvent3Dtile","now","CatMenuRollInput","confirmEventGlb","CatGlbMenuContainer","CatMenuLatInput","CatMenuHeadingStepInput","Matrix4","的对象","create3DtileMenu","removeChild","Cartesian3","CatHeadingStep","removeMenuEvent","CatMenuPitchInputMinus","primitives","CatMenuLonInputMinus","change3dtilePos","addEventListener","CatMenuScaleInput","position","CatRollStep","CatHeightStep","defineProperty","fromRotationX","appendChild","add","parseFromString","CatMenuLatInputPlus","CatMenuHeiStepInput","model","transformCnToCc","changeHPR","scale","_value","fromRotationY","CatHeight","调用成功","CatRoll","fromRotationZ","CatMenuCloseButton","CatLongitudeStep"];return(ne=function(){return t})()}const ie=se;function se(t,e){const n=re();return(se=function(t,e){return n[t-=211]})(t,e)}function re(){const t=["toRadians","fromRotationTranslation","Math","Cartesian3","createGlbMenu","Matrix3","setGlb","transform","zoomTo","Matrix4","fromDegrees","adjust3Dtile","primitives","555aNlHue","add","multiply","fromRotationY","fromRotationZ","9628mYjEqA","937428eieazo","15OiJnIK","Cesium3DTileset","fromScale","fromUrl","HeadingPitchRoll","1902150KItwMC","2295270FGkTlQ","5076968PdecJY","scene","set3Dtile","5379073wTITHx","eastNorthUpToFixedFrame","headingPitchRollQuaternion","fromRotationX","adjustGlb","1911357nDaRuS"];return(re=function(){return t})()}!function(){const t=se,e=re();for(;;)try{if(610138==parseInt(t(212))/1+-parseInt(t(218))/2+-parseInt(t(242))/3*(parseInt(t(211))/4)+parseInt(t(213))/5*(parseInt(t(219))/6)+parseInt(t(223))/7+-parseInt(t(220))/8+-parseInt(t(228))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{#r;#M;constructor(t){this.#r=t,this.#M=new ee(t)}[ie(227)](){const t=ie;this.#M[t(233)]()}[ie(235)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=ie,a=Cesium[o(232)].fromDegrees(...e),u=new(Cesium[o(217)])(Cesium.Math.toRadians(n[0]),Cesium[o(231)][o(229)](n[1]),Cesium[o(231)][o(229)](n[2])),c=Cesium.Transforms[o(225)](a,u),l=this.#r.entities[o(243)]({id:i,position:a,orientation:c,model:{uri:t,scale:s}});return r&&this.#r.zoomTo(l),l}[ie(240)](){this.#M.create3DtileMenu()}async[ie(222)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=ie;let o=await Cesium[r(214)][r(216)](t,{}),a=Cesium.Matrix3[r(226)](Cesium[r(231)][r(229)](n[0])),u=Cesium.Matrix3[r(245)](Cesium[r(231)][r(229)](n[1])),c=Cesium[r(234)][r(246)](Cesium[r(231)][r(229)](n[2])),l=Cesium[r(238)][r(230)](a),h=Cesium[r(238)][r(230)](u),p=Cesium[r(238)][r(230)](c),d=Cesium[r(232)][r(239)](...e),m=Cesium.Transforms[r(224)](d),f=new Cesium.Cartesian3(i,i,i);const g=Cesium[r(238)][r(215)](f,new Cesium.Matrix4);return Cesium[r(238)][r(244)](m,l,m),Cesium[r(238)].multiply(m,h,m),Cesium[r(238)].multiply(m,p,m),Cesium.Matrix4[r(244)](m,g,m),o._root[r(236)]=m,this.#r[r(221)][r(241)].add(o),s&&this.#r[r(237)](o),o}}const ae=ce;!function(){const t=ce,e=le();for(;;)try{if(948057==parseInt(t(474))/1+-parseInt(t(461))/2*(-parseInt(t(523))/3)+-parseInt(t(524))/4+parseInt(t(458))/5+parseInt(t(486))/6+-parseInt(t(511))/7*(-parseInt(t(529))/8)+-parseInt(t(475))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ue={startMeasure(t,e={}){const n=ce;if(![n(535),n(477),n(488),n(481)][n(536)](t))throw new Error(n(470)+t);const i=this[n(465)](e);this[n(478)](!1);const s={id:t+"-"+Date[n(497)]()+"-"+Math[n(533)]().toString(36)[n(495)](2,8),type:t,useTerrain:Boolean(e[n(494)]),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(537)],onComplete:e[n(527)],onRemove:e.onRemove,onCancel:e[n(514)]},cancelled:!1};return this[n(464)]=s,this[n(531)](!0),this[n(468)](s),this[n(462)](s),this[n(502)](),this[n(500)](s,{phase:"start",instruction:this[n(493)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=ce,n=this[e(464)];if(!n)return this.destroyHandler(),void this.setCursor(!1);n[e(485)]=!0,this[e(499)](),this.removeEntities([...n.pointEntities,...n.previewEntities]),this[e(531)](!1),this[e(464)]=null,this[e(502)](),t&&(typeof n[e(463)].onCancel===e(517)&&n[e(463)][e(514)]({type:n[e(534)],useTerrain:n[e(494)],surfaceMode:n.surfaceMode}),this[e(500)](n,{phase:e(504),instruction:"",formattedValue:""}))},clearAll(){const t=ce;this.clearCurrent(!1),this.resultGroups[t(510)](e=>{const n=t;this[n(526)](e[n(491)])}),this[t(459)]=[],this[t(480)](!1),this[t(502)]()},destroy(){const t=ce;this[t(498)](),this[t(499)](),this[t(472)](),this[t(522)](),this[t(531)](!1)},async finalizeSession(t){const e=ce;if(!t||t.cancelled)return;this[e(499)](),this.setCursor(!1),this.emitUpdate(t,{phase:e(479),instruction:e(467)});const n=await this[e(513)](t);if(t[e(485)])return;const i={...n,id:t.id};this[e(526)](t.pointEntities);const s=this.commitResult(t,i);this[e(526)](t[e(507)]),this[e(459)][e(483)]({id:t.id,entities:s,result:i,callbacks:t.callbacks}),this.activeMeasurement=null,this[e(502)](),"function"==typeof t[e(463)][e(527)]&&t[e(463)][e(527)](i),this[e(500)](t,{phase:e(520),instruction:this.getInstruction(t.type,0),formattedValue:i.formattedValue,result:i})},async buildResult(t){const e=ce;switch(t[e(534)]){case e(535):return this.buildLengthResult(t[e(516)],t[e(469)],t.pointSurfaceTypes);case e(477):return this[e(528)](t[e(516)],t[e(469)],t[e(460)]);case e(488):return this[e(471)](t[e(516)],t.surfaceMode,t[e(460)]);case e(481):return this[e(521)](t.points,t[e(469)],t.pointSurfaceTypes);default:throw new Error(e(470)+t[e(534)])}},emitUpdate(t,e={}){const n=ce;if(typeof t?.callbacks?.[n(537)]===n(517)){const i=this[n(487)](t[n(469)],t[n(460)]);t.callbacks[n(537)]({type:t[n(534)],useTerrain:t.useTerrain,surfaceMode:t[n(469)],surfaceType:i[n(489)],surfaceLabel:i[n(490)],actualTerrain:i.actualTerrain,...e})}},resolveSurfaceMode(t={}){const e=ce;return[e(501),e(525),e(538),e(476)].includes(t[e(469)])?t[e(469)]:t[e(494)]?e(501):e(476)},resolveMeasurementSurfaceType(t=ae(476),e=[]){const n=ae,i=[n(501),n(525),n(538),"auto"][n(536)](t)?t:"auto";return i===n(501)&&this.hasTerrainProvider()?n(501):e[n(536)]("scene")?"scene":e[n(536)](n(501))?n(501):e[n(536)](n(538))?n(538):"scene"===i?"scene":n(538)},getMeasurementSurfaceInfo(t=ae(476),e=[]){const n=ae,i=this[n(492)](t,e),s={terrain:{surfaceType:n(501),titlePrefix:"地形",surfaceLabel:n(518),actualTerrain:!0},scene:{surfaceType:n(525),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(538),titlePrefix:"无地形",surfaceLabel:n(473),actualTerrain:!1}};return s[i]||s[n(538)]},getMeasureTitle(t,e){const n=ae;return"angle"===t?"角度":""+this[n(487)](e,[e])[n(532)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ae;if(!t)return this[e(487)](e(538));const n=t[e(506)][e(535)]>0?t[e(506)]:t[e(460)];return this[e(487)](t[e(469)],n)},updatePreviewLineClampState(t){const e=ae;t?.[e(515)]?.[e(484)]&&(t[e(515)][e(484)].clampToGround=this[e(503)](t[e(534)],this[e(496)](t)[e(489)]))},getInstruction(t,e){const n=ae;return t===n(535)?n(0===e?512:519):"area"===t?n(e<2?530:508):t===n(481)?n(0===e?482:509):0===e?n(505):1===e?"左键选择角度顶点。":n(466)}};function ce(t,e){const n=le();return(ce=function(t,e){return n[t-=458]})(t,e)}function le(){const t=["resolveMeasurementSurfaceType","getInstruction","useTerrain","slice","getSessionPreviewSurfaceInfo","now","clearAll","destroyHandler","emitUpdate","terrain","refreshForegroundLineOverlayState","shouldClampLineToGround","idle","左键选择角度起点。","dynamicSurfaceTypes","previewEntities","左键继续绘制面积边界,左键双击或按回车结束面积测量。","左键选择高差终点完成测量,右键取消。","forEach","1560083UvMqfl","左键开始长度测量,左键双击或按回车结束。","buildResult","onCancel","previewLineEntity","points","function","贴地结果","左键继续加点,左键双击或按回车结束长度测量。","complete","buildHeightResult","destroyForegroundLineOverlay","141rSGqXY","6956804lPheaY","scene","removeEntities","onComplete","buildAreaResult","24YPnFHe","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","setCursor","titlePrefix","random","type","length","includes","onUpdate","ellipsoid","1950550qpoDDh","resultGroups","pointSurfaceTypes","51780eJlToK","bindEvents","callbacks","activeMeasurement","resolveSurfaceMode","左键选择角度终点完成测量,右键取消。","正在计算测量结果...","createPreviewEntities","surfaceMode","Unsupported measure type: ","buildAngleResult","destroyResultInteractionHandler","无地形结果","199783uCHNSt","3006117ZktMhH","auto","area","clearCurrent","computing","setCloseButtonHover","height","左键选择高差起点。","push","polyline","cancelled","3275646amVmmr","getMeasurementSurfaceInfo","angle","surfaceType","surfaceLabel","entities"];return(le=function(){return t})()}function he(){const t=["632745SVGzuR","handler","getAnglePreview","MOUSE_MOVE","808678WgShwY","getAreaPreview","drawing","4wNyNYG","canvas","ScreenSpaceEventType","bindEnterFinishEvent","measureKeydownHandler","keydown","pointEntities","preview","map","key","trimDuplicatedTrailingPoints","emitUpdate","LEFT_DOUBLE_CLICK","bindAngleEvents","159728Avaybz","3753522SAsWXQ","area","909BAfFiM","hidePreviewCursor","updatePreviewLabel","activeMeasurement","push","endPosition","updatePreviewLineClampState","text","showPreviewCursor","angle","cloneCartesian","cancelScheduledMouseMoveWork","setInputAction","getLengthPreview","Cesium","dynamicSurfaceTypes","1627414jowNvV","position","5618925FqRdhS","scene","surfaceMode","371EPTRLx","points","RIGHT_CLICK","clearCurrent","LEFT_CLICK","dynamicPositions","scheduleSessionMouseMove","finalizeSession","surfaceType","Enter","addEventListener","pointSurfaceTypes","getPickedPosition","cancelled","window","slice","getPickedPositionFinal","type","106390RejhVj","length","height","ScreenSpaceEventHandler","getInstruction","POSITIVE_INFINITY","createPointEntity","preventDefault","handleResultCloseClick"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=297]})(t,e)}!function(){const t=pe,e=he();for(;;)try{if(589251==parseInt(t(349))/1+-parseInt(t(313))/2+parseInt(t(345))/3+-parseInt(t(352))/4*(parseInt(t(315))/5)+-parseInt(t(367))/6+parseInt(t(318))/7*(parseInt(t(366))/8)+-parseInt(t(297))/9*(-parseInt(t(336))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const de={bindEnterFinishEvent(t){const e=pe;"function"==typeof globalThis.window?.[e(328)]&&(this[e(356)]&&(globalThis[e(332)].removeEventListener(e(357),this[e(356)]),this[e(356)]=null),this[e(356)]=n=>{const i=e;n[i(361)]===i(327)&&t&&!t.cancelled&&this[i(300)]===t&&(t[i(319)][i(337)]<(t=>{const n=e;return t===n(337)?2:t===n(368)||t===n(306)?3:t===n(338)?2:Number[n(341)]})(t[i(335)])||(n[i(343)](),this[i(308)](),this[i(325)](t)))},globalThis[e(332)][e(328)](e(357),this[e(356)]))},bindEvents(t){const e=pe,n=this[e(311)];this[e(346)]=new(n[e(339)])(this.viewer[e(316)][e(353)]),this[e(355)](t),t[e(335)]!==e(306)?t[e(335)]!==e(338)?(this[e(346)][e(309)](async n=>{const i=e;if(this[i(308)](),this.handleResultCloseClick(n[i(314)]))return;const s=await this[i(334)](n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s.position;t[i(319)][i(301)](this[i(307)](r)),t.pointSurfaceTypes[i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t[i(312)]=t[i(329)].slice(),t[i(358)].push(this[i(342)](r)),this[i(303)](t);const o=t[i(335)]===i(337)?this[i(310)](t[i(319)],t.surfaceMode,t[i(329)]):this.getAreaPreview(t[i(319)]);this[i(299)](t,o[i(304)],o[i(314)]),this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)].length),formattedValue:o[i(304)]})},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t.points.length)return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[...t.points,this.cloneCartesian(r)],t.dynamicSurfaceTypes=[...t.pointSurfaceTypes,s.surfaceType],this[n(303)](t);const o=t[n(335)]===n(337)?this[n(310)](t[n(323)],t.surfaceMode,t[n(312)]):this[n(350)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t[n(335)],t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](async n=>{const i=e;this[i(308)]();const s=(await this[i(334)](n.position,t[i(317)]))?.[i(314)];if(t[i(331)]||this[i(300)]!==t)return;this[i(362)](t,s);const r=t[i(335)]===i(337)?2:3;t[i(319)][i(337)]<r||this.finalizeSession(t)},n[e(354)][e(364)])):this.bindHeightEvents(t):this[e(365)](t)},bindAngleEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this.cancelScheduledMouseMoveWork(),this[i(344)](n.position))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t.cancelled||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t[i(319)][i(360)](t=>this[i(307)](t)),t.dynamicSurfaceTypes=t.pointSurfaceTypes[i(333)](),t[i(358)].push(this.createPointEntity(r)),this[i(303)](t),3!==t.points[i(337)]?this[i(363)](t,{phase:i(351),instruction:this.getInstruction(t.type,t[i(319)][i(337)]),formattedValue:2===t[i(319)][i(337)]?this[i(347)](t[i(319)]).text:""}):this[i(325)](t)},n[e(354)].LEFT_CLICK),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:"preview"});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)][n(333)](),void this[n(303)](t);const r=s[n(314)];if(this[n(305)](t,r),1===t.points[n(337)])return t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t),void this.updatePreviewLabel(t,"",null);t.dynamicPositions=[t[n(319)][0],t[n(319)][1],this.cloneCartesian(r)],t[n(312)]=[...t.pointSurfaceTypes,s[n(326)]],this[n(303)](t);const o=this[n(347)](t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this.emitUpdate(t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o[n(304)]})})},n.ScreenSpaceEventType.MOUSE_MOVE),this.handler[e(309)](()=>{this[e(321)]()},n[e(354)].RIGHT_CLICK)},bindHeightEvents(t){const e=pe,n=this[e(311)];this[e(346)].setInputAction(async n=>{const i=e;if(this[i(308)](),this[i(344)](n[i(314)]))return;const s=await this.getPickedPositionFinal(n[i(314)],t[i(317)]);if(t[i(331)]||this[i(300)]!==t)return;if(!s)return;const r=s[i(314)];t[i(319)][i(301)](this.cloneCartesian(r)),t[i(329)][i(301)](s[i(326)]),t[i(323)]=t.points.map(t=>this[i(307)](t)),t[i(312)]=t[i(329)][i(333)](),t[i(358)].push(this.createPointEntity(r)),this.updatePreviewLineClampState(t),2!==t[i(319)][i(337)]?this[i(363)](t,{phase:"drawing",instruction:this[i(340)](t[i(335)],t[i(319)][i(337)]),formattedValue:""}):this[i(325)](t)},n[e(354)][e(322)]),this[e(346)][e(309)](n=>{const i=e;this[i(324)](t,n[i(302)],e=>{const n=i;if(0===t[n(319)][n(337)])return;const s=this[n(330)](e,t[n(317)],{pickStage:n(359)});if(!s)return this[n(298)](t),t[n(312)]=t[n(329)].slice(),void this[n(303)](t);const r=s[n(314)];this[n(305)](t,r),t[n(323)]=[t[n(319)][0],this[n(307)](r)],t[n(312)]=[...t[n(329)],s[n(326)]],this[n(303)](t);const o=this.getHeightPreview(t[n(323)]);this[n(299)](t,o[n(304)],o[n(314)]),this[n(363)](t,{phase:n(351),instruction:this[n(340)](t.type,t[n(319)][n(337)]),formattedValue:o.text})})},n[e(354)][e(348)]),this.handler[e(309)](()=>{this.clearCurrent()},n[e(354)][e(320)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=387]})(t,e)}!function(){const t=me,e=ge();for(;;)try{if(549665==-parseInt(t(400))/1+parseInt(t(413))/2+parseInt(t(407))/3*(-parseInt(t(417))/4)+parseInt(t(406))/5+-parseInt(t(394))/6*(-parseInt(t(405))/7)+parseInt(t(393))/8*(parseInt(t(409))/9)+-parseInt(t(397))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fe={async buildLengthResult(t,e,n=[]){const i=me,s=this[i(415)](e,n);let r=0,o=t[i(401)](t=>this[i(387)](t)),a=[];if(s[i(388)]===i(408)){const e=await this[i(395)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e[i(399)],a=e[i(396)],r=a[i(420)]((t,e)=>t+this[i(419)](e),0)}else s.surfaceType===i(410)?(a=t.slice(0,-1).map((e,n)=>[this[i(387)](e),this.cloneCartesian(t[n+1])]),r=this.calculateCartesianDistance(t)):(a=t[i(398)](0,-1)[i(401)]((e,n)=>[this[i(387)](e),this[i(387)](t[n+1])]),r=this[i(414)](t));return{type:i(411),title:this[i(403)](i(411),s[i(388)]),surfaceType:s[i(388)],surfaceLabel:s[i(412)],actualTerrain:s.actualTerrain,value:r,formattedValue:this.formatDistance(r),displayPositions:o,displaySegments:a,labelPosition:o[o.length-1]||t[t[i(411)]-1],pointCount:t[i(411)],points:t[i(401)](t=>this[i(389)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(411)]<2)return{text:"",position:null};const s=this[i(415)](e,n)[i(388)]===i(416)?this[i(414)](t):this[i(419)](t);return{text:this[i(402)](s),position:t[t[i(411)]-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(418)];if(t[e(411)]<2)return 0;const i=new(n[e(404)]);let s=0;for(let n=0;n<t[e(411)]-1;n+=1){const r=this[e(391)](t[n]),o=this.cartesianToCartographic(t[n+1]);i[e(390)](r,o),s+=Number.isFinite(i[e(392)])?i.surfaceDistance:0}return s}};function ge(){const t=["calculateSurfaceDistance","getMeasurementSurfaceInfo","ellipsoid","5956uxvlKl","Cesium","calculateCartesianDistance","reduce","cloneCartesian","surfaceType","serializePoint","setEndPoints","cartesianToCartographic","surfaceDistance","184YeHlTm","42WFSFbN","buildSampledPolyline","segments","9596350VppGCR","slice","flattenedPositions","962288gBWoXI","map","formatDistance","getMeasureTitle","EllipsoidGeodesic","664503yRayKL","2791855JsHQHT","228AOfXqt","terrain","128385LUqGik","scene","length","surfaceLabel","2067566WAbCJZ"];return(ge=function(){return t})()}function Ae(t,e){const n=Ce();return(Ae=function(t,e){return n[t-=388]})(t,e)}function Ce(){const t=["4494753eLSpRv","projectPointsOntoPlane","621708RTNUHi","triangulate","subtract","getCenterPosition","length","scene","actualTerrain","cloneCartesian","20eIzTMB","projectPointOntoEllipsoid","1oQqjJa","EPSILON10","globe","14fpnlUB","cartesianToCartographic","map","cross","getMeasurementSurfaceInfo","947632tksteM","EPSILON6","abs","center","EllipsoidTangentPlane","surfaceLabel","Math","surfaceType","28TnkPra","getMeasureTitle","768942SmOwKz","buildSampledPolyline","defined","BoundingSphere","Cesium","8792795tYbnyN","formatArea","1854927wRpnPB","calculatePolygonArea","area","Cartesian3","ellipsoid","PolygonPipeline","fromPoints","terrain","cartographicToCartesian","height","segments","calculateTriangleArea","375185sBSvTR"];return(Ce=function(){return t})()}!function(){const t=Ae,e=Ce();for(;;)try{if(505825==parseInt(t(434))/1*(-parseInt(t(424))/2)+-parseInt(t(409))/3+-parseInt(t(400))/4*(parseInt(t(421))/5)+-parseInt(t(402))/6*(parseInt(t(437))/7)+parseInt(t(392))/8+parseInt(t(422))/9+-parseInt(t(432))/10*(-parseInt(t(407))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ie={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(391)](e,n);let r=t[i(389)](t=>this[i(431)](t)),o=t[i(389)]((e,n)=>[this[i(431)](e),this[i(431)](t[(n+1)%t[i(428)]])]);if(s[i(399)]===i(416)){const e=await this[i(403)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e.flattenedPositions,o=e[i(419)]}const a=this[i(410)](r);return{type:i(411),title:this[i(401)](i(411),s.surfaceType),surfaceType:s[i(399)],surfaceLabel:s[i(397)],actualTerrain:s[i(430)],value:a,formattedValue:this[i(408)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(427)](r),pointCount:t[i(428)],points:t[i(389)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(428)]<3?{text:"",position:null}:{text:this[e(408)](this[e(410)](t)),position:this[e(427)](t)}},calculatePolygonArea(t){const e=Ae,n=this.Cesium;if(t.length<3)return 0;const i=n[e(396)].fromPoints(t,this.viewer[e(429)].globe[e(413)]).projectPointsOntoPlane(t);if(!i||i.length<3)return 0;const s=n[e(414)][e(425)](i);if(!s||s[e(428)]<3)return 0;let r=0;for(let n=0;n<s[e(428)];n+=3)r+=this[e(420)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(406)],r=s[i(412)][i(426)](e,t,new(s[i(412)])),o=s[i(412)].subtract(n,t,new(s[i(412)])),a=s[i(412)][i(390)](r,o,new(s[i(412)]));return.5*s[i(412)].magnitude(a)},getCenterPosition(t){const e=Ae,n=this[e(406)];if(0===t[e(428)])return null;if(t[e(428)]<3)return n[e(405)][e(415)](t).center;const i=n[e(396)].fromPoints(t,this.viewer[e(429)][e(436)][e(413)]),s=i[e(423)](t);if(!s||s[e(428)]<3)return n[e(405)][e(415)](t)[e(395)];let r=0,o=s[e(428)]-1;const a=new n.Cartesian2(0,0);for(let t=0;t<s[e(428)];o=t,t+=1){const e=s[t],n=s[o],i=e.x*n.y-n.x*e.y;a.x+=(e.x+n.x)*i,a.y+=(e.y+n.y)*i,r+=i}if(Math[e(394)](r)<n[e(398)][e(435)])return n[e(405)][e(415)](t)[e(395)];const u=1/(3*r);a.x*=u,a.y*=u;const c=i[e(433)](a);if(!n[e(404)](c))return n.BoundingSphere[e(415)](t)[e(395)];const l=t.reduce((t,n)=>{const i=e;return t+(this[i(388)](n)[i(418)]||0)},0)/t.length;if(Math.abs(l)<n[e(398)][e(393)])return c;const h=this[e(388)](c);return h[e(418)]=l,this[e(417)](h)}};function Me(t,e){const n=we();return(Me=function(t,e){return n[t-=470]})(t,e)}!function(){const t=Me,e=we();for(;;)try{if(280016==parseInt(t(492))/1*(parseInt(t(498))/2)+parseInt(t(483))/3+parseInt(t(488))/4*(-parseInt(t(482))/5)+-parseInt(t(491))/6+-parseInt(t(493))/7+parseInt(t(489))/8*(parseInt(t(499))/9)+parseInt(t(481))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const be={buildAngleResult(t,e,n=[]){const i=Me,s=this.getMeasurementSurfaceInfo(e,n),r=this[i(474)](t);return{type:i(495),title:this[i(484)]("angle",s.surfaceType),surfaceType:s[i(477)],surfaceLabel:s[i(471)],actualTerrain:s[i(476)],value:r,formattedValue:this[i(475)](r),displayPositions:t[i(470)](t=>this.cloneCartesian(t)),displaySegments:[[this[i(494)](t[0]),this[i(494)](t[1])],[this[i(494)](t[1]),this.cloneCartesian(t[2])]],labelPosition:t[1],pointCount:t[i(478)],points:t[i(470)](t=>this[i(490)](t))}},getAnglePreview(t){const e=Me;return t[e(478)]<3?{text:"",position:null}:{text:this[e(475)](this[e(474)](t)),position:t[1]}},calculateAngle(t){const e=Me,n=this[e(473)];if(t.length<3)return 0;const i=t[1],s=n.Cartesian3.normalize(n[e(485)][e(487)](t[0],i,new(n[e(485)])),new(n[e(485)])),r=n.Cartesian3[e(486)](n.Cartesian3[e(487)](t[2],i,new(n[e(485)])),new(n[e(485)])),o=n[e(472)][e(497)](n[e(485)][e(496)](s,r),-1,1);return n[e(472)][e(479)](Math[e(480)](o))}};function we(){const t=["angle","dot","clamp","4VGbhDZ","315OFvCni","map","surfaceLabel","Math","Cesium","calculateAngle","formatAngle","actualTerrain","surfaceType","length","toDegrees","acos","6230200bwFtzq","29005BbgtJf","640416JLSuzw","getMeasureTitle","Cartesian3","normalize","subtract","264eLefSZ","5032zXDZwf","serializePoint","1272384yXTQtk","276476zRmXoa","3755591SsNVoE","cloneCartesian"];return(we=function(){return t})()}function ve(){const t=["getMeasurementSurfaceInfo","Math","1049652vTAjNQ","latitude","36bfeUGk","3253430qsCqWC","formatDistance","getHeightDifferenceInfo","1341sOexWO","高差:","71298AdLhHt","height","cartographicToCartesian","234OAWhbH","cartesianToCartographic","isSamePosition","Cesium","60qCtjNs","positions","labelPosition","surfaceType","getMeasureTitle","midpoint","Cartesian3","abs","cloneCartesian","1458372GUbGmC","push","14056GoGrxo","190101VfLzWG","filter","EPSILON6","7CEdsZB","longitude","map","length","serializePoint","47nupAEG","3002769zwOevt","getMidpointPosition"];return(ve=function(){return t})()}function ye(t,e){const n=ve();return(ye=function(t,e){return n[t-=142]})(t,e)}!function(){const t=ye,e=ve();for(;;)try{if(895973==parseInt(t(172))/1*(parseInt(t(145))/2)+-parseInt(t(164))/3*(parseInt(t(179))/4)+-parseInt(t(180))/5+parseInt(t(161))/6*(parseInt(t(167))/7)+parseInt(t(163))/8*(parseInt(t(143))/9)+parseInt(t(152))/10*(-parseInt(t(173))/11)+parseInt(t(177))/12*(parseInt(t(148))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ee={buildHeightResult(t,e,n=[]){const i=ye,s=this[i(175)](e,n),r=this[i(160)](t[0]),o=this.cloneCartesian(t[1]),a=this.buildHeightGuideShape(r,o),{heightDifference:u}=this[i(142)](r,o);return{type:"height",title:this[i(156)]("height",s.surfaceType),surfaceType:s[i(155)],surfaceLabel:s.surfaceLabel,actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(181)](u),displayPositions:a[i(153)],displaySegments:a.segments,labelPosition:a[i(154)],pointCount:t[i(170)],points:t[i(169)](t=>this[i(171)](t))}},getHeightPreview(t){const e=ye;if(t[e(170)]<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(142)](t[0],t[1]);return{text:e(144)+this[e(181)](i),position:n[e(154)]}},getHeightDifferenceInfo(t,e){const n=ye,i=this[n(149)](t),s=this.cartesianToCartographic(e),r=i[n(146)]||0,o=s.height||0;return{heightDifference:Math[n(159)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=ye;return this[n(151)][n(158)][n(157)](t,e,new(this[n(151)][n(158)]))},buildHeightGuideShape(t,e){const n=ye,i=this[n(151)],s=this[n(149)](t),r=this[n(149)](e),o=[t,this[n(147)]({longitude:r[n(168)],latitude:r[n(178)],height:s[n(146)]||0}),e][n(165)]((t,e,s)=>{const r=n;return 0===e||!this[r(150)](t,s[e-1],i[r(176)][r(166)])}),a=[];for(let t=0;t<o[n(170)]-1;t+=1)a[n(162)]([this[n(160)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(170)]>=3?this[n(174)](o[1],o[2]):this[n(174)](o[0],o[o[n(170)]-1]);return{positions:o[n(169)](t=>this[n(160)](t)),segments:a,labelPosition:u}}};function Re(t,e){const n=Te();return(Re=function(t,e){return n[t-=250]})(t,e)}!function(){const t=Re,e=Te();for(;;)try{if(553099==parseInt(t(300))/1+parseInt(t(297))/2*(parseInt(t(266))/3)+-parseInt(t(255))/4+-parseInt(t(289))/5*(-parseInt(t(262))/6)+-parseInt(t(310))/7+parseInt(t(268))/8*(-parseInt(t(295))/9)+-parseInt(t(296))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ne={createPreviewEntities(t){const e=Re,n=this[e(279)],i=this[e(313)](t[e(306)]),s="height"===t[e(306)],r=void 0!==globalThis.document&&this[e(286)](t[e(306)]),o=this[e(307)](t[e(306)],i[e(260)]),a=this[e(307)](t[e(306)],i[e(260)],{depthFail:!0}),u=this[e(275)].entities[e(284)]({polyline:{positions:new(n[e(314)])(()=>this[e(294)](t[e(306)],this.getDynamicLinePositions(t),this.getSessionPreviewSurfaceInfo(t)[e(263)]),!1),width:4,clampToGround:this[e(253)](t[e(306)],this[e(298)](t)[e(263)]),material:o,depthFailMaterial:a}}),c=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],point:{pixelSize:10,color:i[e(276)],outlineColor:n[e(281)][e(274)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),l=this[e(275)][e(252)][e(284)]({position:n[e(304)][e(256)],label:{text:"",font:this[e(303)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(281)][e(274)],style:n[e(273)][e(311)],eyeOffset:this[e(259)],pixelOffset:s?new(n[e(271)])(-20,-8):this[e(258)],horizontalOrigin:s?n.HorizontalOrigin.RIGHT:n[e(272)][e(288)],verticalOrigin:s?n[e(312)][e(288)]:n.VerticalOrigin[e(308)],disableDepthTestDistance:Number[e(299)]},show:!1});t[e(264)]=u,t[e(293)]=c,t[e(291)]=l,r&&(u[e(280)]=!1),t[e(292)].push(u,c,l)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(291)])return t.surfaceMode===i(290)?(t[i(291)][i(280)]=!1,void(t.previewLabelEntity[i(301)][i(278)]="")):e&&n?(t[i(291)][i(269)]=n,t[i(291)].label[i(278)]=e,void(t[i(291)][i(280)]=!0)):(t[i(291)].show=!1,void(t.previewLabelEntity[i(301)][i(278)]=""))},showPreviewCursor(t,e){const n=Re;t[n(293)]&&(t[n(293)][n(269)]=e,t[n(293)][n(280)]=!0)},hidePreviewCursor(t){const e=Re;t[e(293)]&&(t[e(293)][e(280)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t.points[n(282)]<2)){for(;t[n(257)][n(282)]>=2;){const i=t[n(257)][t[n(257)].length-1],s=t[n(257)][t[n(257)][n(282)]-2];if(!this[n(309)](i,e)||!this[n(309)](s,e))break;t[n(257)][n(254)](),t[n(305)][n(254)]();const r=t[n(285)].pop();this[n(250)](r?[r]:[])}t[n(283)]=t[n(257)][n(265)](t=>this[n(287)](t)),t[n(302)]=t[n(305)].slice(),this[n(277)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(283)][e(282)]?t[e(306)]===e(267)&&t.dynamicPositions.length>1?this[e(251)](t[e(283)][0],t[e(283)][1])[e(270)]:t[e(306)]===e(261)&&t.dynamicPositions[e(282)]>1?[...t.dynamicPositions,t[e(283)][0]]:t[e(283)]:[]}};function Te(){const t=["dynamicSurfaceTypes","resultLabelFont","Cartesian3","pointSurfaceTypes","type","createLineMaterial","BOTTOM","isSamePosition","4881352FqLgTK","FILL","VerticalOrigin","getColorByType","CallbackProperty","removeEntities","buildHeightGuideShape","entities","shouldClampLineToGround","pop","2082992znKwIo","ZERO","points","resultLabelPixelOffset","labelEyeOffset","line","area","296766QeVIUB","surfaceType","previewLineEntity","map","15SujCEP","height","5810144MtoYui","position","positions","Cartesian2","HorizontalOrigin","LabelStyle","WHITE","viewer","point","updatePreviewLineClampState","text","Cesium","show","Color","length","dynamicPositions","add","pointEntities","shouldRenderLineViaOverlay","cloneCartesian","CENTER","70MnDpxq","auto","previewLabelEntity","previewEntities","previewPointEntity","getRenderableLinePositions","9PjGQVH","2217980eXNqZn","388982oIUFSY","getSessionPreviewSurfaceInfo","POSITIVE_INFINITY","1054340CpTtIa","label"];return(Te=function(){return t})()}function Se(t,e){const n=Le();return(Se=function(t,e){return n[t-=373]})(t,e)}function Le(){const t=["displaySegments","getValue","resultLabelCloseGap","isCloseButtonHit","left","updateCloseButtonHover","MOUSE_MOVE","devicePixelRatio","resultGroups","resultLabelPaddingBottom","applyCursorStyle","measureText","displayPositions","some","map","resultInteractionHandler","resultLabelPaddingTop","image/png","width","canvas","splice","Cesium","document","POSITIVE_INFINITY","toDataURL","lineTo","setInputAction","labelEyeOffset","createClosableLabelGraphic","wgs84ToWindowCoordinates","title","545072lUWXXx","textAlign","font","angle","shouldRenderLineViaOverlay","height","setCloseButtonHover","CENTER","resultLabelCloseSize","forEach","VerticalOrigin","terrain","area","hasClosableResults","length","closeRect","viewer","max","createElement","#ffffff","measureHasCloseButton","Cartesian3","fillStyle","background","surfaceType","ScreenSpaceEventHandler","measureGroupId","split","horizontal","clock","rgba(255, 255, 255, 0.16)","middle","findIndex","image","ScreenSpaceEventType","measurePixelOffset","result","createPointEntity","window","612VDYtev","removeResultGroup","push","getRenderableLinePositions","Cartesian2","WHITE","rgba(15, 23, 42, 0.92)","resultLabelFont","createResultLabelEntity","currentTime","2657106HuyjmR","activeMeasurement","LabelStyle","FILL","drawRoundedRect","defined","measureBillboardOrigin","145265lpsdNQ","HorizontalOrigin","createLineMaterial","scene","resultLabelPaddingX","measureBillboardSize","labelPosition","getCloseButtonEntityAt","notify","undefined","removeEntities","isHoveringCloseButton","function","type","entities","position","shouldClampLineToGround","8RoEPrw","216NfuvrC","fillText","#fde68a","1095533iDISLc","find","BOTTOM","fromCssColorString","line","resultLabelPixelOffset","handleResultCloseClick","scale","points","includes","fill","moveTo","LEFT_CLICK","Color","textBaseline","getEntityBillboardBounds","1795242SJsMml","1141406VyVkJw","RIGHT","callbacks","resultLabelLineHeight","getColorByType","measureCloseRect","refreshForegroundLineOverlayState","formattedValue","normalize","add","ceil"];return(Le=function(){return t})()}!function(){const t=Se,e=Le();for(;;)try{if(734698==-parseInt(t(492))/1+-parseInt(t(415))/2+parseInt(t(508))/3+parseInt(t(454))/4+-parseInt(t(471))/5*(-parseInt(t(489))/6)+parseInt(t(373))/7+parseInt(t(488))/8*(parseInt(t(464))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Pe={commitResult(t,e){const n=Se,i=this.Cesium,s=this[n(377)](t.type),r=[],o=typeof globalThis.document!==n(480)&&this[n(419)](t[n(484)]),a=this[n(473)](t[n(484)],s.line),u=this[n(473)](t[n(484)],s[n(496)],{depthFail:!0});if(t[n(484)]===n(427)){const t=e.surfaceType!==n(426)?e[n(396)][n(398)](t=>{const e=n,s=i[e(436)][e(381)](t,new(i[e(436)]));return i.Cartesian3[e(382)](t,i[e(436)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(436)]))}):e.displayPositions;r[n(456)](this[n(431)][n(485)][n(382)]({polygon:{hierarchy:t,material:s[n(502)],perPositionHeight:e[n(439)]!==n(426),classificationType:"terrain"===e.surfaceType?i.ClassificationType.TERRAIN:void 0,zIndex:e[n(439)]===n(426)?1:void 0}}))}if(!o){const s=e[n(384)]&&e[n(384)].length>0?e[n(384)]:["area"===t[n(484)]?[...e[n(396)],e.displayPositions[0]]:e.displayPositions];r[n(456)](...s.map(s=>this[n(431)][n(485)][n(382)]({polyline:{positions:new i.CallbackProperty(()=>this[n(457)](t[n(484)],s,e.surfaceType,{clipPoints:!0}),!1),width:4,clampToGround:this[n(487)](t[n(484)],e[n(439)]),material:a,depthFailMaterial:u}})))}return r[n(456)](...t[n(500)].map(t=>this[n(452)](t))),r[n(456)](this[n(462)](t,e,s)),r},createResultLabelEntity(t,e,n){const i=Se,s=this[i(405)],r=e[i(414)]+"\n"+e[i(380)],o=t.type===i(420);if(![i(429),"area",i(418),"height"][i(501)](t.type))return this.viewer.entities[i(382)]({position:e[i(477)],label:{text:r,font:this.resultLabelFont,showBackground:!0,backgroundColor:n.background,fillColor:s.Color[i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)][i(422)],verticalOrigin:s[i(425)].BOTTOM,disableDepthTestDistance:Number[i(407)]}});if(!globalThis[i(406)])return o?this[i(431)][i(485)].add({position:e[i(477)],label:{text:"高差:"+e[i(380)],font:"28px sans-serif",showBackground:!1,fillColor:s[i(505)][i(495)](i(491)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(505)][i(459)],outlineWidth:4,eyeOffset:this[i(411)],pixelOffset:new(s[i(458)])(-20,-8),horizontalOrigin:s.HorizontalOrigin.RIGHT,verticalOrigin:s[i(425)][i(422)],disableDepthTestDistance:Number[i(407)]}}):this[i(431)].entities.add({position:e[i(477)],label:{text:r,font:this[i(461)],showBackground:!0,backgroundColor:n[i(438)],fillColor:s[i(505)][i(459)],style:s[i(466)][i(467)],eyeOffset:this[i(411)],pixelOffset:this[i(497)],horizontalOrigin:s[i(472)].CENTER,verticalOrigin:s.VerticalOrigin[i(494)],disableDepthTestDistance:Number[i(407)]}});const a=this[i(412)](o?"高差:"+e.formattedValue:r,n.background),u=o?new(s[i(458)])(-20,-8):this[i(497)],c=o?s[i(472)][i(374)]:s[i(472)].CENTER,l=o?s[i(425)][i(422)]:s[i(425)][i(494)],h=this[i(431)][i(485)][i(382)]({position:e.labelPosition,billboard:{image:a[i(448)],width:a.width,height:a[i(420)],horizontalOrigin:c,verticalOrigin:l,eyeOffset:this.labelEyeOffset,pixelOffset:u,disableDepthTestDistance:Number[i(407)]}});return h[i(441)]=t.id,h[i(435)]=!0,h[i(378)]=a[i(430)],h[i(476)]={width:a[i(402)],height:a[i(420)]},h[i(470)]={horizontal:c,vertical:l},h[i(450)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Se,i=t[n(442)]("\n").filter(t=>""!==t),s=i[n(429)]>0?i:[""],r=document[n(433)](n(403)),o=r.getContext("2d"),a=Math[n(432)](...s[n(398)](t=>{const e=n;return o.font=this.resultLabelFont,o[e(395)](t)[e(402)]})),u=Math[n(383)](2*this.resultLabelPaddingX+a+this[n(386)]+this[n(423)]),c=Math[n(383)](this[n(400)]+s.length*this[n(376)]+this[n(393)]),l=globalThis[n(453)]?.[n(391)]||1;r[n(402)]=Math[n(383)](u*l),r[n(420)]=Math.ceil(c*l),o[n(499)](l,l),o[n(417)]=this[n(461)],o[n(416)]="left",o[n(506)]=n(446),this[n(468)](o,0,0,u,c,10),o.fillStyle=e?.toCssColorString?.()||n(460),o[n(502)]();const h={x:u-this[n(475)]-this[n(423)],y:8,width:this[n(423)],height:this.resultLabelCloseSize};return this[n(468)](o,h.x,h.y,h[n(402)],h[n(420)],6),o.fillStyle=n(445),o[n(502)](),o.beginPath(),o.strokeStyle="rgba(255, 255, 255, 0.96)",o.lineWidth=1.6,o[n(503)](h.x+5,h.y+5),o[n(409)](h.x+h.width-5,h.y+h[n(420)]-5),o[n(503)](h.x+h[n(402)]-5,h.y+5),o[n(409)](h.x+5,h.y+h[n(420)]-5),o.stroke(),o[n(437)]=n(434),s[n(424)]((t,e)=>{const i=n,s=this[i(400)]+(e+.5)*this[i(376)];o[i(490)](t,this.resultLabelPaddingX,s)}),{image:r[n(408)](n(401)),width:u,height:c,closeRect:h}},initResultInteractionHandler(){const t=Se,e=this[t(405)];this[t(399)]=new(e[t(440)])(this.viewer[t(474)][t(403)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()?this[n(389)](e.endPosition):this.setCloseButtonHover(!1)},e[t(449)][t(390)]),this[t(399)][t(410)](e=>{const n=t;this[n(428)]()&&(this[n(465)]||this[n(498)](e.position))},e.ScreenSpaceEventType[t(504)])},handleResultCloseClick(t){const e=Se,n=this[e(478)](t);if(!n||!n[e(435)])return!1;const i=this[e(455)](n[e(441)]);return i&&this[e(421)](!1),i},updateCloseButtonHover(t){const e=Se,n=this[e(478)](t),i=Boolean(n&&n[e(435)]);this[e(421)](i)},setCloseButtonHover(t){const e=Se;this.isHoveringCloseButton!==t&&(this[e(482)]=t,this[e(394)]())},hasClosableResults(){const t=Se;return this[t(392)][t(397)](e=>["length","area",t(418),"height"][t(501)](e?.[t(451)]?.[t(484)]))},getCloseButtonEntityAt(t){const e=Se;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(485)]?.[e(493)](t=>t?.[e(435)]);if(i&&this[e(387)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Se,i=this[n(507)](t),s=t[n(378)];if(!i||!s)return!1;const r=e.x-i[n(388)],o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(402)]&&o>=s.y&&o<=s.y+s[n(420)]},getEntityBillboardBounds(t){const e=Se,n=this[e(405)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(413)](this[e(431)][e(474)],i);if(!n[e(469)](s))return null;const r=t.measureBillboardSize,o=t[e(450)]||{x:0,y:0},a=t[e(470)]||{horizontal:n[e(472)][e(422)],vertical:n.VerticalOrigin[e(494)]};let u=s.x+o.x;a.horizontal===n[e(472)].CENTER?u-=r[e(402)]/2:a[e(443)]===n.HorizontalOrigin[e(374)]&&(u-=r[e(402)]);let c=s.y+o.y;return a.vertical===n[e(425)][e(422)]?c-=r[e(420)]/2:a.vertical===n[e(425)][e(494)]&&(c-=r[e(420)]),{left:u,top:c,width:r[e(402)],height:r[e(420)]}},getEntityPosition(t){const e=Se;return t?.[e(486)]?"function"==typeof t[e(486)].getValue?t.position[e(385)](this[e(431)][e(444)][e(463)]):t[e(486)]:null},removeResultGroup(t,e={}){const n=Se,i=this[n(392)][n(447)](e=>e.id===t);if(-1===i)return!1;const[s]=this.resultGroups[n(404)](i,1);return this[n(481)](s[n(485)]),!1!==e[n(479)]&&typeof s[n(375)]?.onRemove===n(483)&&s[n(375)].onRemove(s[n(451)]),this[n(379)](),!0}},De=ke;function ke(t,e){const n=Be();return(ke=function(t,e){return n[t-=125]})(t,e)}function Be(){const t=["scene","reverse","ellipsoid","drawingBufferWidth","1174134CSQjYI","map","height","cartographicToCartesian","min","POSITIVE_INFINITY","fromCssColorString","944075hZOWZY","</svg>","#22c55e",'" cy="',"#f43f5e","#fb923c","shouldLiftLineAboveSurface","data:image/svg+xml;charset=utf-8,","#9a3412","PolylineOutlineMaterialProperty","4315650yYsoAE","cloneCartesian","trimPolylineFromStart","HorizontalOrigin","angle","lineTo","withAlpha","entities","add","Cartesian3","#0ea5e9","#0369a1","EPSILON7","CENTER","slice","depthFail","VerticalOrigin","moveTo","WHITE","drawingBufferHeight","Math","3567952mClhrp","359752VRhJVO","Color","#9f1239",'" viewBox="0 0 ',"isFinite","Cesium","distance","BoundingSphere","2826246YHMZzu","cartesianToCartographic","quadraticCurveTo","#4ade80","length","context",'<svg xmlns="http://www.w3.org/2000/svg" width="',"#38bdf8","pointMarkerImage","camera","pointMarkerSize","11731657OVuwyI","lerp","viewer","getPointClippedSegmentPositions","area","liftLinePositionsAboveSurface","#e11d48",'" r="',"clipPoints"];return(Be=function(){return t})()}!function(){const t=ke,e=Be();for(;;)try{if(501195==-parseInt(t(150))/1+-parseInt(t(182))/2+parseInt(t(143))/3+parseInt(t(181))/4+-parseInt(t(160))/5+-parseInt(t(190))/6+parseInt(t(130))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Oe={getPointClippedSegmentPositions(t){const e=ke;if(!t||t[e(194)]<2)return t||[];const n=this.calculateCartesianDistance(t);if(n<=this[e(187)][e(180)][e(172)])return t;const i=this.getPointClipWorldDistance(t[0]),s=this.getPointClipWorldDistance(t[t[e(194)]-1]),r=n-.05;if(r<=0)return[];const o=Math[e(147)](i,.5*r),a=Math[e(147)](s,.5*r),u=this[e(162)](t,o);return u.length<2?[]:this.trimPolylineFromEnd(u,a)},getRenderableLinePositions(t,e,n=De(141),i={}){const s=De;if(!Array.isArray(e)||0===e.length)return[];const r=this[s(156)](t,n)?this[s(135)](e):e[s(144)](t=>this[s(161)](t));return i[s(138)]?this[s(133)](r):r},shouldLiftLineAboveSurface:(t,e=De(141))=>!1,liftLinePositionsAboveSurface(t,e=1.5){return t[De(144)](t=>this.liftPositionAboveSurface(t,e))},liftPositionAboveSurface(t,e=1.5){const n=De,i=this[n(191)](t);return i?(i[n(145)]=(i.height||0)+e,this[n(146)](i)):this[n(161)](t)},getPointClipWorldDistance(t){const e=De,n=this[e(187)],i=this.viewer[e(139)][e(195)],s=new(n[e(189)])(t,1),r=this[e(132)][e(128)].getPixelSize(s,i[e(142)],i[e(179)]);return!Number[e(186)](r)||r<=0?0:r*this.pointClipPixelRadius},trimPolylineFromStart(t,e){const n=De,i=this[n(187)];if(e<=0)return t[n(144)](t=>this[n(161)](t));let s=e;for(let e=0;e<t[n(194)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(169)][n(188)](r,o);if(s<a){const u=s/a;return[i[n(169)][n(131)](r,o,u,new(i[n(169)])),...t[n(174)](e+1)[n(144)](t=>this.cloneCartesian(t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=De;if(e<=0)return t[n(144)](t=>this[n(161)](t));const i=t[n(174)]().reverse();return this.trimPolylineFromStart(i,e)[n(140)]()},shouldClampLineToGround(t,e="ellipsoid"){const n=De;return("length"===t||t===n(134))&&e!==n(139)},createPointEntity(t){const e=De,n=this[e(187)];return this[e(132)][e(167)][e(168)]({position:t,billboard:{image:this[e(127)],width:this[e(129)],height:this[e(129)],horizontalOrigin:n[e(163)][e(173)],verticalOrigin:n[e(176)].CENTER,disableDepthTestDistance:Number[e(148)],eyeOffset:new n.Cartesian3(0,0,-8)}})},createPointMarkerImage(){const t=De,e=this[t(129)],n=e/2,i=[t(125)+e+'" height="'+e+t(185)+e+" "+e+'">','<circle cx="'+n+t(153)+n+t(137)+'7" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',t(151)].join("");return t(157)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=De,a=Math[o(147)](r,i/2,s/2);t.beginPath(),t[o(177)](e+a,n),t.lineTo(e+i-a,n),t[o(192)](e+i,n,e+i,n+a),t[o(165)](e+i,n+s-a),t.quadraticCurveTo(e+i,n+s,e+i-a,n+s),t[o(165)](e+a,n+s),t[o(192)](e,n+s,e,n+s-a),t[o(165)](e,n+a),t[o(192)](e,n,e+a,n),t.closePath()},getColorByType(t){const e=De,n=this[e(187)];return{length:{line:n.Color[e(149)](e(126)),point:n.Color[e(149)](e(170)),fill:n[e(183)].fromCssColorString("#38bdf8")[e(166)](.18),background:n.Color[e(149)](e(171))[e(166)](.88)},area:{line:n.Color[e(149)](e(155)),point:n[e(183)][e(149)]("#f97316"),fill:n[e(183)][e(149)](e(155))[e(166)](.28),background:n[e(183)][e(149)](e(158))[e(166)](.88)},angle:{line:n[e(183)][e(149)](e(193)),point:n[e(183)][e(149)](e(152)),fill:n[e(183)][e(149)](e(193))[e(166)](.18),background:n[e(183)][e(149)]("#166534")[e(166)](.88)},height:{line:n[e(183)][e(149)](e(154)),point:n[e(183)][e(149)](e(136)),fill:n[e(183)].fromCssColorString(e(154))[e(166)](.18),background:n[e(183)].fromCssColorString(e(184))[e(166)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=De;if(![i(145),i(164)].includes(t))return e;const s=this[i(187)];return new(s[i(159)])({color:e,outlineColor:s[i(183)][i(178)].withAlpha(n[i(175)]?.96:.82),outlineWidth:n[i(175)]?2:1})}};function Ge(){const t=["zIndex","type","533212ygGFMJ","label","pixelOffset","ceil","rgba(255, 255, 255, 0.94)","drawForegroundLinePath","max","currentTime","activeMeasurement","isFinite","absolute","verticalOrigin","stroke","length","Cesium","collectForegroundLinePaths","map","displaySegments","round","lineTo","getDynamicLinePositions","getEntityPosition","undefined","clearRect","true","syncForegroundLineOverlaySize","getColorByType","reduce","foregroundLineCanvas","match","getContext","24nApwPf","inset","buildOverlayMaskRect","position","toCssColorString","14px sans-serif","radius","removeEventListener","estimateLabelMaskSize","HorizontalOrigin","result","foregroundLineOverlayBound","isArray","show","shouldUseForegroundLineOverlay","billboard","container","punchForegroundLabelMasks","wgs84ToWindowCoordinates","includes","beginPath","1964320IZcOTu","addEventListener","destination-out","getValue","fill","BOTTOM","buildForegroundPathsByType","appendChild","entities","VerticalOrigin","foregroundLineContext","scene","initForegroundLineOverlay","1599315jVmVTT","measureHasCloseButton","previewLabelEntity","measureBillboardOrigin","CENTER","aria-hidden","canvas","3240288KtcPGc","measurePixelOffset","foregroundLineOverlayActive","#000000","horizontal","removeChild","9HPmdrd","measureBillboardSize","horizontalOrigin","none","find","clientWidth","1tbShox","display","clientHeight","width","defined","postRender","projectCartesianToOverlay","push","fillStyle","drawRoundedRect","devicePixelRatio","paddingY","isPreview","542717FBlsHB","style","top","save","resultGroups","resultLabelFont","viewer","parentNode","area","font","displayPositions","strokeStyle","getForegroundOverlayLineTypes","moveTo","getPointClippedSegmentPositions","restore","setTransform","some","left","7211420vTfDEY","shouldRenderLineViaOverlay","lineJoin","746178hOLGnB","resolveGraphicDynamicValue","forEach","height","cloneCartesian","split"];return(Ge=function(){return t})()}function xe(t,e){const n=Ge();return(xe=function(t,e){return n[t-=167]})(t,e)}!function(){const t=xe,e=Ge();for(;;)try{if(564647==-parseInt(t(229))/1*(-parseInt(t(264))/2)+parseInt(t(176))/3*(-parseInt(t(272))/4)+parseInt(t(210))/5+parseInt(t(217))/6+-parseInt(t(242))/7+-parseInt(t(197))/8+parseInt(t(223))/9*(parseInt(t(261))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ze={initForegroundLineOverlay(){const t=xe;if(typeof document!==t(167)&&this[t(248)].container&&!this[t(219)]){if(!this[t(173)]||!this[t(207)]){const e=document.createElement("canvas");e.setAttribute(t(215),t(169)),e[t(243)][t(179)]=t(282),e[t(243)][t(177)]="0",e.style.pointerEvents=t(226),e.style[t(270)]="10",e[t(243)][t(230)]="none",this[t(248)][t(192)][t(204)](e),this[t(173)]=e,this[t(207)]=e[t(175)]("2d")}this[t(248)][t(208)][t(234)][t(198)](this[t(187)]),this[t(219)]=!0,this[t(170)]()}},destroyForegroundLineOverlay(){const t=xe;this[t(219)]&&this[t(248)]?.[t(208)]?.[t(234)]&&this[t(187)]&&this[t(248)][t(208)].postRender[t(183)](this[t(187)]),this[t(173)]?.[t(249)]&&this[t(173)][t(249)][t(222)](this[t(173)]),this[t(173)]=null,this.foregroundLineContext=null,this.foregroundLineOverlayActive=!1},getForegroundOverlayLineTypes(){const t=xe;return[t(285),t(250),"angle","height"]},shouldRenderLineViaOverlay(t){const e=xe;return this[e(254)]()[e(195)](t)},refreshForegroundLineOverlayState(){const t=xe;this[t(190)]()?this[t(209)]():this.destroyForegroundLineOverlay()},shouldUseForegroundLineOverlay(){const t=xe;return!!this[t(262)](this[t(280)]?.[t(271)])||this[t(246)][t(259)](e=>this[t(262)](e?.[t(186)]?.[t(271)]))},syncForegroundLineOverlaySize(){const t=xe,e=this[t(173)],n=this.foregroundLineContext,i=this.viewer[t(192)];if(!e||!n||!i)return null;const s=Math[t(278)](1,Math.round(i[t(228)]||this[t(248)][t(216)][t(228)]||1)),r=Math[t(278)](1,Math[t(290)](i[t(231)]||this[t(248)][t(216)][t(231)]||1)),o=globalThis[t(239)]||1,a=Math[t(278)](1,Math[t(290)](s*o)),u=Math[t(278)](1,Math.round(r*o));return(e[t(232)]!==a||e[t(267)]!==u)&&(e[t(232)]=a,e[t(267)]=u,e.style.width=s+"px",e.style[t(267)]=r+"px"),n[t(258)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=xe,e=[],n=this.getForegroundOverlayLineTypes();return n[t(195)](this[t(280)]?.[t(271)])&&this.activeMeasurement.dynamicPositions[t(285)]>1&&e[t(236)](...this[t(203)](this.activeMeasurement[t(271)],this[t(292)](this.activeMeasurement))),this[t(246)][t(266)](i=>{const s=t;i?.[s(186)]&&n[s(195)](i.result[s(271)])&&e[s(236)](...this[s(203)](i[s(186)][s(271)],i[s(186)][s(252)],i[s(186)][s(289)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=xe,s=this[i(171)](t)?.line;return s?(t===i(267)?[this[i(256)](e)]:n&&n[i(285)]>0?n.map(t=>this.getPointClippedSegmentPositions(t)):this.buildLineSegmentsFromPositions(e)[i(288)](t=>this[i(256)](t))).filter(t=>Array.isArray(t)&&t[i(285)]>1)[i(288)](t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=xe,n=[];for(let i=0;i<t[e(285)]-1;i+=1)n[e(236)]([this[e(268)](t[i]),this[e(268)](t[i+1])]);return n},renderForegroundLineOverlay(){const t=xe,e=this[t(173)],n=this[t(207)];if(!e||!n)return;const i=this[t(170)]();if(!i)return;const s=this[t(287)]();if(e[t(243)][t(230)]=s[t(285)]>0?"block":t(226),n[t(168)](0,0,i[t(232)],i[t(267)]),0===s[t(285)])return;s.forEach(e=>{const i=t;this[i(277)](n,e.positions,e.color,e[i(232)])});const r=this.collectForegroundLabelMasks();this[t(193)](n,r)},drawForegroundLinePath(t,e,n,i=4){const s=xe,r=[];let o=[];e[s(266)](t=>{const e=s,n=this[e(235)](t);if(!n)return o[e(285)]>1&&r[e(236)](o),void(o=[]);o[e(236)](n)}),o[s(285)]>1&&r[s(236)](o),0!==r[s(285)]&&(t[s(245)](),t[s(263)]=s(290),t.lineCap=s(290),r.forEach(e=>{const r=s;t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=r(276),t.lineWidth=i+3,t.stroke(),t[r(196)](),t[r(255)](e[0].x,e[0].y);for(let n=1;n<e[r(285)];n+=1)t[r(291)](e[n].x,e[n].y);t[r(253)]=n[r(180)](),t.lineWidth=i,t[r(284)]()}),t[s(257)]())},collectForegroundLabelMasks(){const t=xe,e=[],n=(t,n={})=>{const i=this.getForegroundLabelMask(t,n);i&&e.push(i)};return this[t(280)]?.[t(212)]?.[t(189)]&&n(this[t(280)][t(212)],{isPreview:!0}),this[t(246)][t(266)](e=>{const i=t;if(!e?.entities||0===e[i(205)].length)return;const s=e[i(205)][i(227)](t=>t?.[i(211)]||t?.[i(273)]);s&&!1!==s[i(189)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=xe,i=this.Cesium;if(!t||!1===t[n(189)])return null;const s=this[n(293)](t),r=this[n(235)](s);if(!r)return null;let o=e[n(241)]?112:124,a=e[n(241)]?34:38,u=i[n(185)][n(214)],c=i.VerticalOrigin[n(202)],l={x:0,y:0};if(t[n(211)]&&t.measureBillboardSize)o=t[n(224)][n(232)],a=t[n(224)][n(267)],u=t[n(213)]?.[n(221)]??i[n(185)].CENTER,c=t[n(213)]?.vertical??i[n(206)][n(202)],l=t[n(218)]||l;else if(t[n(191)]){const e=t.billboard;o=Number(this[n(265)](e[n(232)],o))||o,a=Number(this[n(265)](e[n(267)],a))||a,u=this[n(265)](e.horizontalOrigin,u),c=this[n(265)](e[n(283)],c);const i=this[n(265)](e[n(274)],null);i&&(l={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(273)],s=String(this.resolveGraphicDynamicValue(i.text,"")),r=String(this[n(265)](i[n(251)],this[n(247)]||n(181))),h=this[n(184)](s,r,e[n(241)]);o=h[n(232)],a=h[n(267)],u=this[n(265)](i[n(225)],u),c=this[n(265)](i[n(283)],c);const p=this[n(265)](i.pixelOffset,null);p&&(l={x:p.x||0,y:p.y||0})}}return this[n(178)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:c,pixelOffset:l,paddingX:e[n(241)]?8:10,paddingY:e[n(241)]?6:8,radius:e[n(241)]?10:12})},resolveGraphicDynamicValue(t,e){const n=xe;return t&&"function"==typeof t[n(200)]?t[n(200)](this[n(248)].clock[n(279)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=xe,s=String(t||"")[i(269)]("\n"),r=s[i(172)]((t,e)=>Math[i(278)](t,e[i(285)]),0),o=String(e||"")[i(174)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(278)](n?96:112,Math[i(275)](r*a*.64+(n?20:26))),height:Math[i(278)](n?30:34,Math[i(275)](s[i(285)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=xe,i=this.Cesium,s=Math[n(278)](1,Number(e.width)||1),r=Math[n(278)](1,Number(e[n(267)])||1),o=Number(e[n(274)]?.x)||0,a=Number(e[n(274)]?.y)||0;let u=t.x+o;e[n(225)]===i.HorizontalOrigin.CENTER?u-=s/2:e.horizontalOrigin===i[n(185)].RIGHT&&(u-=s);let c=t.y+a;e[n(283)]===i[n(206)][n(214)]?c-=r/2:e[n(283)]===i[n(206)][n(202)]&&(c-=r);const l=Number(e.paddingX)||0,h=Number(e[n(240)])||0;return{left:u-l,top:c-h,width:s+2*l,height:r+2*h,radius:Number(e[n(182)])||10}},punchForegroundLabelMasks(t,e){const n=xe;Array[n(188)](e)&&0!==e.length&&(t[n(245)](),t.globalCompositeOperation=n(199),t[n(237)]=n(220),e[n(266)](e=>{const i=n;!e||e.width<=0||e[i(267)]<=0||(this[i(238)](t,e[i(260)],e[i(244)],e.width,e[i(267)],e[i(182)]),t[i(201)]())}),t[n(257)]())},projectCartesianToOverlay(t){const e=xe,n=this[e(286)];if(!t)return null;const i=n.SceneTransforms[e(194)](this[e(248)][e(208)],t);return n[e(233)](i)&&Number.isFinite(i.x)&&Number[e(281)](i.y)?{x:i.x,y:i.y}:null}},Ze=Ye;function Ye(t,e){const n=je();return(Ye=function(t,e){return n[t-=423]})(t,e)}!function(){const t=Ye,e=je();for(;;)try{if(374154==parseInt(t(432))/1+-parseInt(t(478))/2+parseInt(t(447))/3+parseInt(t(523))/4+parseInt(t(423))/5+parseInt(t(465))/6+parseInt(t(509))/7*(-parseInt(t(529))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fe={getPickedPosition(t,e=Ze(463),n={}){const i=Ze,s=this[i(464)];if(!t)return null;const r=n?.[i(460)]===i(480)?i(480):i(482),o=e!==i(463),a=r===i(482)&&o,u=r===i(480)&&o,c=this[i(472)].scene,l=()=>{const e=i;if(!c.pickPositionSupported)return null;const n=this[e(493)](()=>{const n=e;c.render();const i=c.pick(t);if(!this[n(435)](i))return null;const r=c[n(506)](t);return s.defined(r)?r:null});return s.defined(n)?{position:n,surfaceType:e(450)}:null},h=()=>{const e=i;if("function"!=typeof c[e(468)])return null;const n=this[e(472)].camera[e(462)](t);if(!s.defined(n))return null;const r=this[e(493)](()=>{const t=e;c.render();const i=c[t(468)](n);return i&&this[t(435)](i.object)&&s[t(473)](i[t(429)])?i[t(429)]:null});return s[e(473)](r)?{position:r,surfaceType:e(450)}:null},p=()=>(r===i(480)||a)&&h()||l(),d=()=>{const e=i;if(!this[e(528)]())return null;const n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;const r=c[e(424)].pick(n,c);return s[e(473)](r)?{position:r,surfaceType:e(430)}:null},m=()=>{const e=i,n=this[e(472)][e(479)][e(462)](t);if(!s[e(473)](n))return null;if(!s[e(445)]||typeof s[e(445)][e(425)]!==e(501))return null;const r=s.IntersectionTests[e(425)](n,c.globe[e(467)]);if(!s[e(473)](r))return null;const o=r[e(533)]>=0?r[e(533)]:r[e(495)];if(!s[e(473)](o)||o<0)return null;const a=s[e(448)][e(436)](n,o);return s[e(473)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(467)}:null},f=()=>{const e=i,n=this[e(472)][e(479)][e(449)](t,c[e(424)].ellipsoid);return s[e(473)](n)?{position:this.projectToEllipsoidSurface(n),surfaceType:"ellipsoid"}:null},g=()=>(a||u)&&m()||f();if(o)switch(e){case"scene":return p();case i(430):return d();case i(467):return g()}return p()||d()||g()},async getPickedPositionFinal(t,e=Ze(463)){const n=Ze,i=this[n(464)];if(!t)return null;const s=this[n(472)].scene,r=async()=>{const e=n;if(typeof s[e(505)]!==e(501))return null;const r=this[e(472)].camera[e(462)](t);if(!i[e(473)](r))return null;try{const t=await this[e(486)](async()=>{const t=e;s[t(520)]();const n=await s.pickFromRayMostDetailed(r);return n&&this[t(435)](n[t(469)])&&i[t(473)](n[t(429)])?n[t(429)]:null});return i[e(473)](t)?{position:t,surfaceType:e(450)}:null}catch{return null}};switch(e){case"terrain":return this[n(489)](t,n(430),{pickStage:n(480)});case n(467):return this[n(489)](t,"ellipsoid",{pickStage:"final"});case n(450):return await r()||this[n(489)](t,n(450),{pickStage:n(480)});case n(463):default:return await r()||this[n(489)](t,"auto",{pickStage:n(480)})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this[e(472)][e(450)];return this[e(493)](()=>n[e(507)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this[e(457)];if(!n||typeof t!==e(501))return typeof t===e(501)?t():null;const i=[];[n[e(502)],n.previewPointEntity,n.previewLabelEntity,...Array[e(516)](n[e(452)])?n.pointEntities:[]][e(515)](Boolean)[e(539)](t=>{const n=e,s=t[n(532)];!1!==s&&(i[n(494)]({entity:t,originalShow:s}),t[n(532)]=!1)});try{return t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(457)];if(!n||"function"!=typeof t)return typeof t===e(501)?t():null;const i=[];[n.previewLineEntity,n[e(441)],n[e(508)],...Array[e(516)](n[e(452)])?n[e(452)]:[]][e(515)](Boolean).forEach(t=>{const n=t[e(532)];!1!==n&&(i.push({entity:t,originalShow:n}),t.show=!1)});try{return await t()}finally{i[e(539)](({entity:t,originalShow:n})=>{t[e(532)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this[e(464)];if(!n[e(473)](t))return!1;const i=t[e(518)];if(typeof n.Cesium3DTileFeature!==e(498)&&t instanceof n[e(483)])return!0;if(typeof n.Cesium3DTilePointFeature!==e(498)&&t instanceof n[e(510)])return!0;if(typeof n[e(456)]!==e(498)&&i instanceof n[e(456)])return!0;if(void 0!==n[e(513)]&&i instanceof n[e(513)])return!0;if(n[e(473)](t[e(503)])||n[e(473)](t[e(540)]?.[e(503)]))return!0;if(typeof n.Entity!==e(498)){if(t.id instanceof n[e(459)])return!1;if(i?.id instanceof n[e(459)])return!1}return!1},async buildTerrainBoundary(t){const e=Ze,n=[];for(let i=0;i<t.length;i+=1){const s=(i+1)%t.length,r=(await this.sampleSegment(t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(434)](t=>this[e(530)](t));n[e(426)]>0&&r.shift(),n[e(494)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e.closed)?t[n(426)]:Math.max(0,t[n(426)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t[n(426)]],u=(await this[n(537)](i,a,e)).map(t=>this[n(530)](t));s[n(494)](u),r[n(426)]>0?r.push(...u[n(428)](1)):r[n(494)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this.Cesium,r=this.cartesianToCartographic(t),o=this[i(487)](e),a=new(s[i(535)])(r,o),u=Number[i(538)](a[i(458)])?a[i(458)]:0,c=n[i(491)]||30,l=n[i(497)]||120,h=Math[i(492)](1,Math.min(l,Math[i(485)](u/c))),p=[];for(let t=0;t<=h;t+=1){const e=0===h?0:t/h;let n;n=u>0?a[i(444)](e):new s.Cartographic(r[i(536)],r[i(512)],r[i(481)]||0),n[i(481)]=s[i(474)][i(442)](r[i(481)]||0,o[i(481)]||0,e),p[i(494)](n)}return n[i(531)]&&this[i(528)]()&&await s.sampleTerrainMostDetailed(this[i(472)][i(519)],p),p},calculateCartesianDistance(t){const e=Ze,n=this[e(464)];if(t.length<2)return 0;let i=0;for(let s=0;s<t[e(426)]-1;s+=1)i+=n[e(525)].distance(t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number.isFinite(t)?t>=1e3?(t/1e3).toFixed(3)+e(427):t[e(522)](2)+" m":"0.00 m"},formatArea(t){const e=Ze;return Number[e(538)](t)?t>=1e6?(t/1e6)[e(522)](3)+e(526):t[e(522)](2)+e(490):e(527)},formatAngle(t){const e=Ze;return Number.isFinite(t)?t[e(522)](2)+"°":e(477)},hasTerrainProvider(){const t=Ze;return!(this.viewer[t(519)]instanceof this[t(464)].EllipsoidTerrainProvider)},cartesianToCartographic(t){const e=Ze;return this[e(464)][e(451)][e(461)](t,this[e(472)][e(450)][e(424)][e(467)])},cartographicToCartesian(t){const e=Ze;return this[e(464)].Cartesian3[e(431)](t[e(536)],t.latitude,t[e(481)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(487)](t);return n[e(481)]=0,this[e(530)](n)},cloneCartesian(t){return this[Ze(464)].Cartesian3.clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this[i(464)][i(525)].distance(t,e)<=n},serializePoint(t){const e=Ze,n=this[e(464)],i=this[e(487)](t);return{longitude:Number(n[e(474)][e(524)](i[e(536)])[e(522)](6)),latitude:Number(n[e(474)][e(524)](i[e(512)]).toFixed(6)),height:Number((i[e(481)]||0)[e(522)](2))}},removeEntities(t=[]){t.forEach(t=>{const e=Ye;t&&this[e(472)][e(438)][e(504)](t)})},destroyHandler(){const t=Ze;this[t(455)](),this[t(488)]&&"function"==typeof globalThis[t(466)]?.[t(437)]&&(globalThis[t(466)][t(437)](t(454),this[t(488)]),this[t(488)]=null),this[t(433)]&&(this[t(433)][t(521)](),this[t(433)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(501)&&("function"==typeof globalThis[e(476)]?(this.pendingMoveCallback=t,null===this[e(443)]&&(this[e(443)]=globalThis[e(476)](()=>{const t=e;this[t(443)]=null;const n=this.pendingMoveCallback;this[t(471)]=null,typeof n===t(501)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this.Cesium;if(!e||typeof n!==i(501))return;const r=s[i(511)][i(500)](e);this[i(514)](()=>{const e=i;t&&!t[e(446)]&&this[e(457)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this[t(443)]&&typeof globalThis[t(470)]===t(501)&&globalThis.cancelAnimationFrame(this[t(443)]),this[t(443)]=null,this[t(471)]=null},destroyResultInteractionHandler(){const t=Ze;this.resultInteractionHandler&&(this[t(440)][t(521)](),this[t(440)]=null),this[t(496)](!1)},setCursor(t){const e=Ze;this[e(472)].canvas&&(this[e(439)]=t,this[e(484)]())},applyCursorStyle(){const t=Ze;this[t(472)][t(534)]&&(this.isHoveringCloseButton?this[t(472)][t(534)][t(517)][t(541)]=t(499):this[t(472)][t(534)][t(517)][t(541)]=this[t(439)]?t(475):this[t(453)])}};function je(){const t=["IntersectionTests","cancelled","1974273sQhhQX","Ray","pickEllipsoid","scene","Cartographic","pointEntities","defaultCursor","keydown","cancelScheduledMouseMoveWork","Cesium3DTileset","activeMeasurement","surfaceDistance","Entity","pickStage","fromCartesian","getPickRay","auto","Cesium","681912kdWvFO","window","ellipsoid","pickFromRay","object","cancelAnimationFrame","pendingMoveCallback","viewer","defined","Math","crosshair","requestAnimationFrame","0.00°","10070kZKBBv","camera","final","height","preview","Cesium3DTileFeature","applyCursorStyle","ceil","withHiddenActiveMeasurementEntitiesAsync","cartesianToCartographic","measureKeydownHandler","getPickedPosition"," m²","step","max","withHiddenActiveMeasurementEntities","push","stop","setCloseButtonHover","maxSamples","undefined","pointer","clone","function","previewLineEntity","tileset","remove","pickFromRayMostDetailed","pickPosition","pick","previewLabelEntity","118027TwbHfo","Cesium3DTilePointFeature","Cartesian2","latitude","Model","scheduleMouseMoveWork","filter","isArray","style","primitive","terrainProvider","render","destroy","toFixed","1277444CinZYV","toDegrees","Cartesian3"," km²","0.00 m²","hasTerrainProvider","824LjLGzN","cartographicToCartesian","withTerrain","show","start","canvas","EllipsoidGeodesic","longitude","sampleSegment","isFinite","forEach","content","cursor","3650020VDuWaF","globe","rayEllipsoid","length"," km","slice","position","terrain","fromRadians","294764JBohQE","handler","map","isSceneSurfacePickObject","getPoint","removeEventListener","entities","measureCursorActive","resultInteractionHandler","previewPointEntity","lerp","pendingMoveFrameId","interpolateUsingFraction"];return(je=function(){return t})()}var He=Qe;function Ue(){var t=["5Smkctt","Cartesian3","pendingMoveFrameId","pointMarkerSize","2000780ZBNEVD","foregroundLineOverlayActive","resultGroups","14px sans-serif","resultInteractionHandler","resultLabelFont","949991WHetXP","301396nuvZTN","resultLabelLineHeight","foregroundLineCanvas","defaultCursor","resultLabelPaddingX","measureKeydownHandler","cursor","pointMarkerImage","resultLabelCloseGap","startAngleMeasure","measureCursorActive","Cesium","isHoveringCloseButton","9771957aQAQSL","startLengthMeasure","initResultInteractionHandler","resultLabelPaddingTop","handler","MeasureTools requires a Cesium viewer.","bind","3673176tzzRKa","prototype","angle","startHeightMeasure","pointClipPixelRadius","startMeasure","activeMeasurement","labelEyeOffset","30gZHVJu","1197165jFvBoV","foregroundLineOverlayBound","3527396NkOkaJ"];return(Ue=function(){return t})()}function Qe(t,e){var n=Ue();return(Qe=function(t,e){return n[t-=161]})(t,e)}!function(){for(var t=Qe,e=Ue();;)try{if(723281==-parseInt(t(187))/1+parseInt(t(180))/2+-parseInt(t(173))/3+-parseInt(t(175))/4*(parseInt(t(176))/5)+-parseInt(t(172))/6*(-parseInt(t(186))/7)+-parseInt(t(164))/8+parseInt(t(200))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ve{constructor(t){var e=Qe;if(!t)throw new Error(e(162));if(this.viewer=t,this[e(198)]=globalThis[e(198)],!this[e(198)])throw new Error("Cesium global is unavailable.");this[e(161)]=null,this[e(192)]=null,this[e(184)]=null,this[e(170)]=null,this[e(182)]=[],this[e(190)]=this.viewer.canvas?.style?.[e(193)]||"",this[e(179)]=18,this[e(168)]=10,this[e(185)]=e(183),this[e(188)]=20,this[e(191)]=12,this[e(203)]=10,this.resultLabelPaddingBottom=10,this.resultLabelCloseSize=18,this[e(195)]=8,this.resultLabelPixelOffset=new(this[e(198)].Cartesian2)(0,-24),this[e(171)]=new(this[e(198)][e(177)])(0,0,-10),this[e(197)]=!1,this[e(199)]=!1,this[e(178)]=null,this.pendingMoveCallback=null,this[e(189)]=null,this.foregroundLineContext=null,this[e(181)]=!1,this[e(174)]=this.renderForegroundLineOverlay[e(163)](this),this[e(194)]=this.createPointMarkerImage(),this[e(202)]()}[He(201)](t={}){return this[He(169)]("length",t)}startAreaMeasure(t={}){return this[He(169)]("area",t)}[He(196)](t={}){var e=He;return this[e(169)](e(166),t)}[He(167)](t={}){return this[He(169)]("height",t)}}function Je(t,e){const n=Xe();return(Je=function(t,e){return n[t-=345]})(t,e)}Object.assign(Ve[He(165)],ue,de,fe,Ie,be,Ee,Ne,Pe,Oe,ze,Fe);const We=Je;function Xe(){const t=["shadows","获取视角信息","82763XWzJwz","clearAll","skyAtmosphere","filter",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE5QURBOTc1REUzQzExRUJBQTczQUYxQkU2OUYxRUJGIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE5QURBOTc2REUzQzExRUJBQTczQUYxQkU2OUYxRUJGIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTlBREE5NzNERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTlBREE5NzRERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Zxx+pAAABPklEQVR42qTTv0vDQBjGcduGii7ij1GQLg5uiuBUBMGhYHDt4OTo4uDmJioi+C+oIN3cStV20UGloKiDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',"高差测量","enableLighting","enabled",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE20lEQVR4AeSZXXrbIBBF426syXuypjhrSt7tnbn3KEJBaMSPAJt87WciCQ0zcw9okN0/T7/k39vb28W119fX91Zp/woACJfgZ9dOp9O5FYThAXjipf/nA4T53k/ngbOhAcy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vgsAMYgqCYY940rGpGwFsWthNQFIxFLxUwmG94GgusB3+xvn4f2Sa4lvWvGt2CYAJW4WPctBr75ZfNOKb+W6AaDZ+2/EA2QFQEufl5tYxWdM79at4luJrwBo6Vf9HmcFKO2rrfil8VYASge3ttdz37XiW/kOA0Diu1f8JACSsIx69xF3fnPsHWrjf7UCSIJkNlYdO4hH3I4hoq5XALAkGZLivHcjDvF6x4n53wDAmKSUXO+CdNftDl1WMwFgKAi9v9t3f8tDR6rtAnAD2Ze1Gpq+H+APwC7GI49JACSnZJv98DmLH2L20ZYFAMMWEEYTj65sABjPEA4VxxHFo6kIAAME4SoxQCj5tWeIik/+YSsGgAMglBRHbBk3YjsEwAkRiGRxnFeLGzLcsQoAamIQJP4hX3DIK7dVAyCQg4BgXVMbpjpBv667fmqd/wMAAP//YEFnJwAAAAZJREFUAwBlm3DVklpk4wAAAABJRU5ErkJggg=="/>',"关闭光照效果","模型调整","getPrototypeOf","show","ScreenSpaceEventHandler","开启光照效果","CesiumDevTools v1.0.4","positionPick","关闭地表透明","initMenu","清空测量结果",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdX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","开启大气渲染","globe","srcElement","ScreenSpaceEventType","_debug","开启深度检测",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3Nzk4MDE4REUzQzExRUJCQUIyRjEwOTMzMTRFNjI5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3Nzk4MDE5REUzQzExRUJCQUIyRjEwOTMzMTRFNjI5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTc3OTgwMTZERTNDMTFFQkJBQjJGMTA5MzMxNEU2MjkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTc3OTgwMTdERTNDMTFFQkJBQjJGMTA5MzMxNEU2MjkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5GX8+9AAABRklEQVR42qTTzStEURjH8bkoL43sDOOtbDQLfwGllJLc1SyslIUVsyQLshALKZQyG7aahexkwWZM8hdINrJQhAUlQmN8n+mnTlNXnZz6dG+n5zn3nOe5JwjDMBYxZrCMWWxFBVVFzPcouRar6PZZIMC2kg9R/9cOatCPPmeuA4N4xhkGMIJN3DlxpzgPqIEFNsX8xwMSdoRjTewhr/cshhw7mj/Bvt7LebaDdp6Xqoed+wa9eHe+FscFkvjCB1K4t6RbLKIB1ZiuSLbxioxqZkWdt2S3CyUnuORTCFugDUt4w7daWFcRF1cri9rdClp+27iBRuTQqrat48BZYAxdKuIL0ljD+H/a+Ihm24FdhmEV0EYCEypcVsWzwu3iSTFF/aXlIxTEHZ36G1NKPsKkz2WaUq9HVbSM7228wgI+MYfrqAV+BBgAxmlEz0eKwzQAAAAASUVORK5CYII=" />',"glb模型调整","openMouseAdsorb","12ZWHUTc","setInputAction","面积测量","14ScUxOC","角度测量","auto","12TfRqAy","关闭深度检测","adjust3Dtile","显示三角网","height","8996119TlQJgu",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8i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MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkQxNkI2MTQ1REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkQxNkI2MTQ2REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RDE2QjYxNDNERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE2QjYxNDRERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',"tileProvider","关闭大气渲染","log","取消当前测量","关闭三角网","adjustGlb","开启地表透明","视角相关","forEach","wireframe","depthTestAgainstTerrain","10NTwdXO","getOwnPropertyNames",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy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FFQkFGOTU5QkVFRkFCODhDRjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUFCMjE0NTdERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz49EbzzAAAAtUlEQVR42mL09fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',"坐标拾取","3dtile模型调整","7QrJMyy","innerHTML","translucency","position","angle","backFaceAlpha","820548xyWEIw","info",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY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XBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE2QUNGNzVEREUzQzExRUI4MkJGREFGQjMzM0E5M0Q0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTZBQ0Y3NUFERTNDMTFFQjgyQkZEQUZCMzMzQTkzRDQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTZBQ0Y3NUJERTNDMTFFQjgyQkZEQUZCMzMzQTkzRDQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz45Mo0MAAABJklEQVR42mL09fVlwANWADETEIfhUsDCgB9oEZBHMWAhEP8G4nQg/gsV2wjErEhqmIF4OhBzAHEcA9R5MPAViJOBuALKZwTi+UA8C8oGgRIgTgXi79hckAvE94F4LxAHA3E3ECtC5R4CcSkQ74bye2CakF3wF6pJHohXI2lmgIqtBGIlIO5E8iKKATDQjeRkZAAS60WXA3lhKRCrA/FOqH+V8QS6HNRloHBwBeLbTEiuYMJhMz7AxIiWkEAG3MbjigfQcPiPKwxAEmXICtDkStHlmNDYIAWPgTgUGqUwcA8qdg+aTpixGTAZiLuA2AuI10K9AcMqUDFQwLUD8RRsCYkbiOcBcQuSk5Og4VKNlIBABvLDA41AbrwEpfXIzY0XCMUjQIABAJ9vNJEwlARIAAAAAElFTkSuQmCC" />',"692946KoLbPf","startMeasure"];return(Xe=function(){return t})()}!function(){const t=Je,e=Xe();for(;;)try{if(625875==-parseInt(t(406))/1*(parseInt(t(358))/2)+parseInt(t(402))/3+parseInt(t(361))/4*(parseInt(t(427))/5)+-parseInt(t(396))/6+parseInt(t(390))/7*(parseInt(t(345))/8)+parseInt(t(386))/9*(-parseInt(t(381))/10)+-parseInt(t(366))/11*(-parseInt(t(355))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ke{#b;#w;#v;#y;#E;#r;constructor(t){const e=Je;this.#b=new d(t),this.#w=new g(t),this.#v=new oe(t),this.#y=new a(t),this.#E=new Ve(t),this.#R(this.#y),this.#R(this.#w),this.#R(this.#v),this.#r=t,console[e(372)](e(421))}#R(t){const e=Je;Object[e(382)](Object[e(417)](t))[e(409)](t=>"constructor"!==t)[e(378)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Je;this.#E[e(403)](t,{surfaceMode:e(360),useTerrain:!1,onComplete:t=>{console[e(397)]("测量结果:",t)}})}[We(424)](){const t=We,n=[{text:"点击相关",icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4L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ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Zxx+pAAABPklEQVR42qTTv0vDQBjGcduGii7ij1GQLg5uiuBUBMGhYHDt4OTo4uDmJioi+C+oIN3cStV20UGloKiDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{const n=t;this.#b[n(354)]()}}},{text:"绘制并返回矩形",icon:t(410),events:{click:e=>{const n=t;this.#b[n(385)]()}}}]},{text:"测量",icon:t(414),sub:[{text:"长度测量",icon:"",events:{click:t=>{this.#N("length")}}},{text:t(357),icon:"",events:{click:t=>{this.#N("area")}}},{text:t(359),icon:"",events:{click:e=>{const n=t;this.#N(n(394))}}},{text:t(411),icon:"",events:{click:e=>{const n=t;this.#N(n(365))}}},{text:t(373),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(425),icon:"",events:{click:e=>{const n=t;this.#E[n(407)]()}}}]},{text:t(377),icon:t(398),sub:[{text:t(405),icon:t(410),events:{click:e=>{this[t(428)]()}}}]},{text:t(416),icon:t(383),sub:[{text:t(353),icon:t(410),events:{click:e=>{const n=t;this.#v[n(375)]()}}},{text:t(389),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0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3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz52t5iFAAABhUlEQVR42nTTPSjFURjH8et2WVhYZDEoyw2DhDIYWNBdrpeYLMIgMVCIxaqIskjJ5DWKYrDIOyVChpsyMSiD5G2Q71O/U8ff9dSne8//f87zP+c556TEYrFQkqhDK8qRjWccYxFL+HYdw4GBOdjBNM7RggI0qT2GE+S5ARFvcCZ2sYVafHnvEthTggkcoQz3foJZrKM/9H+8o0P/V2yJbgmlKMSw19mmfYUPXKvtole1qXcz6MQUPtVuwBDa8IoKFTCkIr5hxpKGvaofeF9oRhxdWFNnixGvjxW7xM1gUdO0SMUpLpCBTaTrXb6X4NF2zSXo1m8VJhH1Op55CRLe8yy8uCXkYlnTigYqf6llWIx6z+2QnVmCAdyqcMnClpamurhCpqjAqxF91dbaGFhjSEf4zooVeN6jWs1HtEazoOMaCUw/GG3a4ko7rWGv8nMabFv1FEhg72uwjUFU48a/TH0oxoYKFdddcAm6dMEOUaQt/nWZHuxioF3tfSU9VXtc/sSPAAMAI9tWnA5LgQkAAAAASUVORK5CYII=" />',events:{click:e=>{const n=t;this.#v[n(363)]()}}}]},{text:"地形服务",icon:t(387),sub:[{text:t(364),icon:t(352),events:{click:e=>{const n=t;"显示三角网"===e.srcElement[n(391)]?(e[n(348)][n(391)]=n(374),this.#r[n(368)].globe[n(399)].tileProvider[n(350)].wireframe=!0,this.#r[n(368)].requestRender()):(e[n(348)][n(391)]=n(364),this.#r[n(368)][n(347)][n(399)][n(370)][n(350)][n(379)]=!1,this.#r[n(368)][n(400)]())}}},{text:t(376),className:"terrianOpc",icon:t(369),events:{click:e=>{const n=t;e[n(348)][n(391)]===n(376)?(e[n(348)][n(391)]=n(423),this.#r.scene.globe.translucency[n(413)]=!0,this.#r[n(368)].globe.translucency[n(430)]=.2,this.#r[n(368)][n(347)][n(392)][n(395)]=.2):(e[n(348)][n(391)]="开启地表透明",this.#r[n(368)][n(347)].transl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9InhtcC5paWQ6QUEyRDg4MjhERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUEyRDg4MjlERTNDMTFFQkE2RjJEOTFGRjU3RTNCMkMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4C7Aj+AAABHUlEQVR42mL09fVloAQwYRFzBOKDQNwDxIxQ3AMVc0RXzILFgAAgtoPiYKiYApQOBOL9+AxgBmILJL4Cmrw5VM1fdAOcoDZbA7ERHi+bAfEpID4CxBuBeB/MgHqok2HgNxDXAfFCIP4PxIlA3ADEbFALQNgAZAAsEE+g2QTS3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',sub:[{text:t(351),icon:t(367),events:{click:e=>{const n=t;e[n(348)].innerHTML===n(351)?(e[n(348)][n(391)]=n(362),this.#r[n(368)][n(347)][n(380)]=!0):(e[n(348)][n(391)]="开启深度检测",this.#r[n(368)][n(347)][n(380)]=!1)}}},{text:t(371),icon:t(426),events:{click:e=>{const n=t;"关闭大气渲染"===e[n(348)].innerHTML?(e.srcElement[n(391)]=n(346),this.#r[n(368)].skyAtmosphere[n(418)]=!1):(e[n(348)][n(391)]="关闭大气渲染",this.#r[n(368)][n(408)][n(418)]=!0)}}},{text:t(420),icon:t(401),events:{click:e=>{const n=t;e.srcElement[n(391)]===n(420)?(e[n(348)].innerHTML=n(415),this.#r[n(368)].globe[n(412)]=!0,this.#r[n(404)]=!0):(e[n(348)][n(391)]=n(420),this.#r[n(368)][n(347)][n(412)]=!1,this.#r[n(404)]=!1)}}}]}];let i=new e(n,{});new(Cesium[t(419)])(this.#r.scene.canvas)[t(356)](e=>{const n=t;let s={clientX:e[n(393)].x,clientY:e[n(393)].y};i[n(384)](s)},Cesium[t(349)][t(429)])}}export{Ke as default};
13
+ function t(e,i){const s=n();return(t=function(t,e){return s[t-=375]})(e,i)}const e=t;function n(){const t=["clientY","getElementById","appendChild","length","default_icon","1215SOeCFR","span","default_text","height","17780232fYYRLQ","cm_","add","Parameter 1 must be of type object","object","innerHTML","remove","&#155;","classList","8145hByzOs","div","cm_border_bottom","Parameter 2 must be of type object","item","enabled","documentClick","getElementsByTagName","clientX","1463895ohzPJG","close_on_click","mouse_offset","changeOption","setAttribute","target","6996VoAwuh","innerWidth","text","style","6eWgQOc","sub","removeEventListener","undefined","createElement","Parameter 2 must be set","cm_divider","addEventListener","forEach","getProperty","Parameter 1 must be of type string","bind","932830VABbvc","string","width","cm_icon_span","click","cm_border_right","count","menu","top","events","offsetHeight","getSizes","hide","offsetWidth","disabled","22JtBoQF","sub_icon","9IjYbCe","icon","setOptions","87434zftxOd","display","close_on_resize","className","keys","left","type","resize","body","renderLevel","3688zcUyBx","DIVIDER","1762642ApXEpD"];return(n=function(){return t})()}!function(){const e=t,i=n();for(;;)try{if(295614==parseInt(e(392))/1*(-parseInt(e(395))/2)+parseInt(e(435))/3+parseInt(e(441))/4*(-parseInt(e(413))/5)+-parseInt(e(445))/6*(parseInt(e(407))/7)+parseInt(e(405))/8*(-parseInt(e(426))/9)+-parseInt(e(375))/10*(parseInt(e(390))/11)+parseInt(e(417))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}();class i{#t;#e;#n;#i;#s;[e(381)]=0;[e(406)];constructor(t,n){const i=e;if(this.#n=this,this.#i=this.count++,this.#t=t,this.#s=null,this.#e=n,!(t instanceof Array))throw new Error("Parameter 1 must be of type Array");if(typeof n!==i(448)){if(typeof n!==i(421))throw new Error(i(429))}else n={};window.addEventListener(i(402),()=>{const t=i;s[t(454)](n,t(397),!0)&&this[t(387)]()}),this.reload()}[e(394)](t){const n=e;if(typeof t!==n(421))throw new Error(n(420));this.#e=t}[e(438)](t,n){const i=e;if(typeof t!==i(376))throw new Error(i(455));if(typeof n===i(448))throw new Error(i(450));this.#e[t]=n}getOptions(){return this.#e}reload(){const t=e;if(null==document[t(409)]("cm_"+this.#i)){let e=document[t(449)](t(427));e[t(398)]="cm_container",e.id="cm_"+this.#i,document[t(403)][t(410)](e)}let n=document[t(409)](t(418)+this.#i);n[t(422)]="",n[t(410)](this[t(404)](this.#t))}[e(404)](t){const n=e,i=this;let r=document[n(449)]("ul");return t[n(453)](function(t){const e=n;let o=document[e(449)]("li");if(o[e(382)]=i.#n,t[e(398)]&&(o[e(398)]=t[e(398)]),typeof t.type===e(448)){let n=document[e(449)](e(414));n.className=e(378),""!=s[e(454)](t,"icon","")?n[e(422)]=s[e(454)](t,e(393),""):n.innerHTML=s[e(454)](i.#e,e(412),"");let r=document[e(449)](e(414));r.className="cm_text",""!=s[e(454)](t,e(443),"")?r[e(422)]=s[e(454)](t,"text",""):r[e(422)]=s[e(454)](i.#e,e(415),e(430));let a=document[e(449)]("span");if(a[e(398)]="cm_sub_span",void 0!==t[e(446)]&&(""!=s[e(454)](i.#e,"sub_icon","")?a[e(422)]=s[e(454)](i.#e,e(391),""):a.innerHTML=e(424)),o[e(410)](n),o[e(410)](r),o[e(410)](a),s[e(454)](t,e(431),!0)){if(typeof t[e(384)]===e(421)){let n=Object[e(399)](t.events);for(let i=0;i<n[e(411)];i++)o[e(452)](n[i],t[e(384)][n[i]])}typeof t[e(446)]!==e(448)&&o[e(410)](i[e(404)](t[e(446)]))}else o[e(439)](e(389),"")}else t[e(401)]===e(451)&&(o.className=e(451));r.appendChild(o)}),r}[e(396)](t,n){const i=e;this.#s=void 0!==n?n:t[i(440)];let r=document.getElementById(i(418)+this.#i);const o={x:t[i(434)],y:t[i(408)]},a=o.x,u=o.y,c=r[i(388)]+4,l=r[i(385)]+4,h=window[i(442)],p=window.innerHeight,d=parseInt(s.getProperty(this.#e,i(437),2));r[i(444)][i(400)]=h-a<c?h-c+"px":a+d+"px",r[i(444)][i(383)]=p-u<l?p-l+"px":u+d+"px";const m=s.getSizes(r);h-a<m[i(377)]?r[i(425)][i(419)]("cm_border_right"):r[i(425)][i(423)](i(380)),p-u<m[i(416)]?r[i(425)].add(i(428)):r[i(425)][i(423)](i(428)),r[i(425)][i(419)](i(396)),s[i(454)](this.#e,i(436),!0)&&window[i(452)](i(379),this[i(432)].bind(this))}hide(){const t=e;document[t(409)](t(418)+this.#i)[t(425)][t(423)](t(396)),window[t(447)](t(379),this[t(432)][t(456)](this))}[e(432)](){this.hide()}}let s={getProperty:function(t,n,i){const s=e;return typeof t[n]!==s(448)?t[n]:i},getSizes:function(t){const n=e;let i=t[n(433)]("li"),r=0,o=0;for(let t=0;t<i[n(411)];t++){let e=i[t];e[n(388)]>r&&(r=e[n(388)]),e[n(385)]>o&&(o=e[n(385)])}let a=r,u=o;for(let t=0;t<i.length;t++){let e=i[t][n(433)]("ul");if(typeof e[0]!==n(448)){let t=s[n(386)](e[0]);r+t.width>a&&(a=r+t[n(377)]),o+t[n(416)]>u&&(u=o+t[n(416)])}}return{width:a,height:u}}};const r=a;function o(){const t=["2844770znjibx","Cartographic","toDegrees","796sknNMt","Math","21376619LJuohJ","944124izsBpm","545NhRqLG","4cEZGeG","7EeNHRu","height","transformCnToCc","1876496UKYnKC","564180niBEOa","longitude","latitude","1101562jFYFCI","fromCartesian","9oozmep"];return(o=function(){return t})()}function a(t,e){const n=o();return(a=function(t,e){return n[t-=458]})(t,e)}!function(){const t=a,e=o();for(;;)try{if(836423==-parseInt(t(476))/1+-parseInt(t(468))/2*(-parseInt(t(466))/3)+parseInt(t(463))/4*(-parseInt(t(467))/5)+-parseInt(t(473))/6+parseInt(t(469))/7*(-parseInt(t(472))/8)+parseInt(t(459))/9*(-parseInt(t(460))/10)+parseInt(t(465))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class u{#r;constructor(t){this.#r=t}static[r(471)](t){const e=r,n=Cesium[e(461)][e(458)](t);return[Cesium[e(464)][e(462)](n[e(474)]),Cesium[e(464)].toDegrees(n[e(475)]),n[e(470)]]}}const c=p;!function(){const t=p,e=d();for(;;)try{if(728435==-parseInt(t(308))/1*(parseInt(t(348))/2)+parseInt(t(358))/3*(parseInt(t(335))/4)+parseInt(t(301))/5+parseInt(t(300))/6*(parseInt(t(325))/7)+-parseInt(t(341))/8*(parseInt(t(330))/9)+parseInt(t(315))/10*(-parseInt(t(312))/11)+-parseInt(t(311))/12*(-parseInt(t(293))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const l="\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t";class h{#r;#o;#a;#u;#c;#l;#h;constructor(t){this.#r=t,this.#h=[]}[c(327)](){const t=c;this[t(338)](),this.#o=new Cesium.ScreenSpaceEventHandler(this.#r.scene.canvas),this.#o[t(299)](e=>{const n=t,i=this.#p(e[n(316)]);if(i){const t=u.transformCnToCc(i);console.info(n(347)+t,l)}this[n(338)]()},Cesium[t(322)][t(359)]),this[t(333)]()}createMouseAdsorbHandle(){const t=c;this.#u=this.#r[t(349)][t(343)][t(318)](new(Cesium[t(319)]));let e=this.#u[t(318)]({position:new Cesium.Cartesian3(1,2,3),color:Cesium.Color[t(326)]});this.#a=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#a[t(299)](n=>{const i=t;if(!this.#u||this.#u[i(305)]())return;const s=this.#p(n[i(354)]);s&&(e.position=s)},Cesium[t(322)][t(297)])}#d(){const t=c;this.#o&&!this.#o[t(305)]()&&this.#o.destroy(),this.#a&&!this.#a[t(305)]()&&this.#a[t(357)](),this.#o=void 0,this.#a=void 0}#m(){const t=c;if(this.#c&&(this.#c[t(324)](e=>{const n=t;this.#r[n(352)][n(356)](e)}),this.#c=[]),this.#u&&!this.#u[t(305)]()){const e=this.#r[t(349)].primitives;e.contains(this.#u)?e[t(356)](this.#u):this.#u[t(357)]()}this.#u=void 0}[c(338)](){this.#d(),this.#m()}#p(t){const e=c,n=this.#r.scene[e(350)](t);if(Cesium[e(292)](n))return this.#r[e(349)][e(329)](t);const i=this.#r.camera.getPickRay(t);return this.#r[e(306)]instanceof Cesium[e(317)]?this.#r.camera[e(346)](t,this.#r[e(349)][e(307)].ellipsoid):this.#r[e(349)][e(307)].pick(i,this.#r[e(349)])}[c(344)](){const t=c;this.#c=[];let e,n,i=[],s=[];this.#o=new(Cesium[t(314)])(this.#r[t(349)][t(302)]),this.#o.setInputAction(n=>{const r=t;clearTimeout(this.#l),this.#l=window[r(331)](()=>{const t=r,o=this.#p(n[t(316)]);if(o){const e=u[t(353)](o);i[t(295)](...e),s.push(o)}!e&&(e=this.#g()),2===s.length&&this.#f(),this.#A(s.at(-1))},200)},Cesium.ScreenSpaceEventType.LEFT_CLICK),this.#o[t(299)](e=>{const i=t,r=this.#p(e.endPosition);r&&(n=r,s[i(340)]>0&&(this.#h=[...s],this.#h.push(r,s.at(0))))},Cesium[t(322)].MOUSE_MOVE),this.#o.setInputAction(r=>{const o=t;clearTimeout(this.#l);let a,u=this.#r[o(349)].pickPosition(r[o(316)]),c=this.#r[o(349)][o(350)](r[o(316)]);if(c&&u&&!c.id)a=[1,1,1];else{let t=this.#r[o(321)][o(291)](r[o(316)]);a=this.#r[o(349)][o(307)][o(350)](t,this.#r.scene)}a&&(s[o(340)]<2?alert(o(342)):(s[o(295)](n),console[o(298)](o(304),l),console[o(339)](""+i),console[o(323)](),i=[],s=[],e=void 0,this.#h=[],this[o(338)]()))},Cesium[t(322)].LEFT_DOUBLE_CLICK)}#A(t){const e=c,n=this.#r[e(352)][e(318)]({position:t,point:{pixelSize:7,color:Cesium[e(309)][e(337)],disableDepthTestDistance:Number[e(310)]}});return this.#c[e(295)](n),n}#I(t,e){const n=c;let i=new(Cesium[n(294)])({geometry:new Cesium.GroundPolylineGeometry({positions:[Cesium[n(332)].fromDegrees(...t),Cesium.Cartesian3[n(303)](...e)],width:3})}),s=new(Cesium[n(313)])({material:Cesium[n(336)][n(320)](n(309),{color:new(Cesium[n(309)])(1,1,0,1)})}),r=new(Cesium[n(334)])({geometryInstances:i,appearance:s});return this.#r[n(349)][n(343)].add(r)}#g(){const t=c,e=this.#r[t(352)][t(318)]({polyline:{positions:new Cesium.CallbackProperty(()=>this.#h,!1),width:3,material:Cesium.Color[t(328)],clampToGround:!0}});return this.#c[t(295)](e),e}#C(t){const e=c,n=this.#r[e(352)].add({polygon:{hierarchy:t,material:Cesium[e(309)][e(345)][e(351)](.5)}});return this.#c[e(295)](n),n}#f(){const t=c,e=this.#r[t(352)][t(318)]({polygon:{hierarchy:new(Cesium[t(296)])(()=>new(Cesium[t(355)])(this.#h),!1),material:Cesium.Color[t(345)][t(351)](.5)}});return this.#c.push(e),e}}function p(t,e){const n=d();return(p=function(t,e){return n[t-=291]})(t,e)}function d(){const t=["1311MHvyat","LEFT_CLICK","getPickRay","defined","184028yXLxjY","GeometryInstance","push","CallbackProperty","MOUSE_MOVE","group","setInputAction","330dphfMZ","411755JkeWAc","canvas","fromDegrees","%c多边形坐标:","isDestroyed","terrainProvider","globe","7Rdtbjy","Color","POSITIVE_INFINITY","1524XZUZQS","44sMaCJZ","PolylineMaterialAppearance","ScreenSpaceEventHandler","1056370HIYGce","position","EllipsoidTerrainProvider","add","PointPrimitiveCollection","fromType","camera","ScreenSpaceEventType","groupEnd","forEach","76461rMIVZE","YELLOW","openMouseAdsorb","RED","pickPosition","121383PecuWW","setTimeout","Cartesian3","createMouseAdsorbHandle","GroundPolylinePrimitive","7464AmVmkv","Material","CHARTREUSE","endEvent","info","length","760AmcTJa","请选择3个及以上的点","primitives","drawPolygon","GREEN","pickEllipsoid","%c鼠标点击位置坐标:","246892fUOFjd","scene","pick","withAlpha","entities","transformCnToCc","endPosition","PolygonHierarchy","remove","destroy"];return(d=function(){return t})()}const m=f;function g(){const t=["2671031fJyqbY","getCameraInfo","9047493NVqlXf","46vyJMva","7796wWlSBy","transformCnToCc","\n\t\t\tfont-size: 1.5em;\n\t\t\tcolor: #c12c1f;\n\t\t\tbackground-color: #ecd452;\n\t\t","经纬度坐标:","%c视角位置参数:","setCameraPosition","info","setView","6QHvqcL","Cartesian3","fromDegrees","60GUKTPp","HPR角度:","9sbwJPJ","1262gUQWnV","group","position","5240557qzpKvd","7159680LnvcAh","camera","groupEnd","flyTo","849525XTGNzq"];return(g=function(){return t})()}function f(t,e){const n=g();return(f=function(t,e){return n[t-=458]})(t,e)}!function(){const t=f,e=g();for(;;)try{if(510118==-parseInt(t(468))/1*(-parseInt(t(483))/2)+-parseInt(t(482))/3*(-parseInt(t(469))/4)+-parseInt(t(464))/5*(-parseInt(t(477))/6)+parseInt(t(459))/7+-parseInt(t(460))/8+-parseInt(t(467))/9+-parseInt(t(480))/10*(-parseInt(t(465))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class A{#r;constructor(t){this.#r=t}[m(466)](){const t=m,e=u[t(470)](this.#r[t(461)][t(458)]),{heading:n,pitch:i,roll:s}=this.#r[t(461)],r=t(471);console[t(484)](t(473),r),console.info(t(472)+[e]),console[t(475)]("笛卡尔坐标:"+[this.#r[t(461)][t(458)]]),console[t(475)](t(481)+[n,i,s]),console[t(462)]()}[m(474)]({positionArr:t,hprArr:e=[0,-1.570796,0],isFly:n=!0}={}){const i=m;n?this.#r[i(461)][i(463)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}}):this.#r[i(461)][i(476)]({destination:Cesium[i(478)][i(479)](...t),orientation:{heading:e[0],pitch:e[1],roll:e[2]}})}}var I,C,M=9e15,v=1e9,b="0123456789abcdef",w="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",y="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",E={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-M,maxE:M,crypto:!1},R=!0,N="[DecimalError] ",S=N+"Invalid argument: ",T=N+"Precision limit exceeded",P=N+"crypto unavailable",L="[object Decimal]",k=Math.floor,D=Math.pow,B=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,G=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,O=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=1e7,Z=w.length-1,z=y.length-1,j={toStringTag:L};function F(t){var e,n,i,s=t.length-1,r="",o=t[0];if(s>0){for(r+=o,e=1;e<s;e++)(n=7-(i=t[e]+"").length)&&(r+=$(n)),r+=i;(n=7-(i=(o=t[e])+"").length)&&(r+=$(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return r+o}function U(t,e,n){if(t!==~~t||t<e||t>n)throw Error(S+t)}function H(t,e,n,i){var s,r,o,a;for(r=t[0];r>=10;r/=10)--e;return--e<0?(e+=7,s=0):(s=Math.ceil((e+1)/7),e%=7),r=D(10,7-e),a=t[s]%r|0,null==i?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),o=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):o=(n<4&&a+1==r||n>3&&a+1==r/2)&&(t[s+1]/r/100|0)==D(10,e-2)-1||(a==r/2||0==a)&&!(t[s+1]/r/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),o=(i||n<4)&&9999==a||!i&&n>3&&4999==a):o=((i||n<4)&&a+1==r||!i&&n>3&&a+1==r/2)&&(t[s+1]/r/1e3|0)==D(10,e-3)-1,o}function Q(t,e,n){for(var i,s,r=[0],o=0,a=t.length;o<a;){for(s=r.length;s--;)r[s]*=e;for(r[0]+=b.indexOf(t.charAt(o++)),i=0;i<r.length;i++)r[i]>n-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}j.absoluteValue=j.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),V(t)},j.ceil=function(){return V(new this.constructor(this),this.e+1,2)},j.clampedTo=j.clamp=function(t,e){var n=this,i=n.constructor;if(t=new i(t),e=new i(e),!t.s||!e.s)return new i(NaN);if(t.gt(e))throw Error(S+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new i(n)},j.comparedTo=j.cmp=function(t){var e,n,i,s,r=this,o=r.d,a=(t=new r.constructor(t)).d,u=r.s,c=t.s;if(!o||!a)return u&&c?u!==c?u:o===a?0:!o^u<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?u:a[0]?-c:0;if(u!==c)return u;if(r.e!==t.e)return r.e>t.e^u<0?1:-1;for(e=0,n=(i=o.length)<(s=a.length)?i:s;e<n;++e)if(o[e]!==a[e])return o[e]>a[e]^u<0?1:-1;return i===s?0:i>s^u<0?1:-1},j.cosine=j.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i,s;if(e.isZero())return e;(i=e.d.length)<32?s=(1/ut(4,n=Math.ceil(i/3))).toString():(n=16,s="2.3283064365386962890625e-10"),t.precision+=n,e=at(t,1,e.times(s),new t(1));for(var r=n;r--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(2==C||3==C?n.neg():n,t,e,!0)):new i(1):new i(NaN)},j.cubeRoot=j.cbrt=function(){var t,e,n,i,s,r,o,a,u,c,l=this,h=l.constructor;if(!l.isFinite()||l.isZero())return new h(l);for(R=!1,(r=l.s*D(l.s*l,1/3))&&Math.abs(r)!=1/0?i=new h(r.toString()):(n=F(l.d),(r=((t=l.e)-n.length+1)%3)&&(n+=1==r||-2==r?"0":"00"),r=D(n,1/3),t=k((t+1)/3)-(t%3==(t<0?-1:2)),(i=new h(n=r==1/0?"5e"+t:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=l.s),o=(t=h.precision)+3;;)if(c=(u=(a=i).times(a).times(a)).plus(l),i=J(c.plus(l).times(a),c.plus(u),o+2,1),F(a.d).slice(0,o)===(n=F(i.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(s||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(V(i,t+1,1),e=!i.times(i).times(i).eq(l));break}if(!s&&(V(a,t+1,0),a.times(a).times(a).eq(l))){i=a;break}o+=4,s=1}return R=!0,V(i,t,h.rounding,e)},j.decimalPlaces=j.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=7*((t=e.length-1)-k(this.e/7)),t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},j.dividedBy=j.div=function(t){return J(this,new this.constructor(t))},j.dividedToIntegerBy=j.divToInt=function(t){var e=this.constructor;return V(J(this,new e(t),0,1,1),e.precision,e.rounding)},j.equals=j.eq=function(t){return 0===this.cmp(t)},j.floor=function(){return V(new this.constructor(this),this.e+1,3)},j.greaterThan=j.gt=function(t){return this.cmp(t)>0},j.greaterThanOrEqualTo=j.gte=function(t){var e=this.cmp(t);return 1==e||0===e},j.hyperbolicCosine=j.cosh=function(){var t,e,n,i,s,r=this,o=r.constructor,a=new o(1);if(!r.isFinite())return new o(r.s?1/0:NaN);if(r.isZero())return a;n=o.precision,i=o.rounding,o.precision=n+Math.max(r.e,r.sd())+4,o.rounding=1,(s=r.d.length)<32?e=(1/ut(4,t=Math.ceil(s/3))).toString():(t=16,e="2.3283064365386962890625e-10"),r=at(o,1,r.times(e),new o(1),!0);for(var u,c=t,l=new o(8);c--;)u=r.times(r),r=a.minus(u.times(l.minus(u.times(l))));return V(r,o.precision=n,o.rounding=i,!0)},j.hyperbolicSine=j.sinh=function(){var t,e,n,i,s=this,r=s.constructor;if(!s.isFinite()||s.isZero())return new r(s);if(e=r.precision,n=r.rounding,r.precision=e+Math.max(s.e,s.sd())+4,r.rounding=1,(i=s.d.length)<3)s=at(r,2,s,s,!0);else{t=(t=1.4*Math.sqrt(i))>16?16:0|t,s=at(r,2,s=s.times(1/ut(5,t)),s,!0);for(var o,a=new r(5),u=new r(16),c=new r(20);t--;)o=s.times(s),s=s.times(a.plus(o.times(u.times(o).plus(c))))}return r.precision=e,r.rounding=n,V(s,e,n,!0)},j.hyperbolicTangent=j.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,J(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},j.inverseCosine=j.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),s=n.precision,r=n.rounding;return-1!==i?0===i?e.isNeg()?q(n,s,r):new n(0):new n(NaN):e.isZero()?q(n,s+4,r).times(.5):(n.precision=s+6,n.rounding=1,e=e.asin(),t=q(n,s+4,r).times(.5),n.precision=s,n.rounding=r,t.minus(e))},j.inverseHyperbolicCosine=j.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,R=!1,n=n.times(n).minus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},j.inverseHyperbolicSine=j.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,R=!1,n=n.times(n).plus(1).sqrt().plus(n),R=!0,i.precision=t,i.rounding=e,n.ln())},j.inverseHyperbolicTangent=j.atanh=function(){var t,e,n,i,s=this,r=s.constructor;return s.isFinite()?s.e>=0?new r(s.abs().eq(1)?s.s/0:s.isZero()?s:NaN):(t=r.precision,e=r.rounding,i=s.sd(),Math.max(i,t)<2*-s.e-1?V(new r(s),t,e,!0):(r.precision=n=i-s.e,s=J(s.plus(1),new r(1).minus(s),n+t,1),r.precision=t+4,r.rounding=1,s=s.ln(),r.precision=t,r.rounding=e,s.times(.5))):new r(NaN)},j.inverseSine=j.asin=function(){var t,e,n,i,s=this,r=s.constructor;return s.isZero()?new r(s):(e=s.abs().cmp(1),n=r.precision,i=r.rounding,-1!==e?0===e?((t=q(r,n+4,i).times(.5)).s=s.s,t):new r(NaN):(r.precision=n+6,r.rounding=1,s=s.div(new r(1).minus(s.times(s)).sqrt().plus(1)).atan(),r.precision=n,r.rounding=i,s.times(2)))},j.inverseTangent=j.atan=function(){var t,e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&h+4<=z)return(o=q(l,h+4,p).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(h+4<=z)return(o=q(l,h+4,p).times(.5)).s=c.s,o}for(l.precision=a=h+10,l.rounding=1,t=n=Math.min(28,a/7+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(R=!1,e=Math.ceil(a/7),i=1,u=c.times(c),o=new l(c),s=c;-1!==t;)if(s=s.times(u),r=o.minus(s.div(i+=2)),s=s.times(u),void 0!==(o=r.plus(s.div(i+=2))).d[e])for(t=e;o.d[t]===r.d[t]&&t--;);return n&&(o=o.times(2<<n-1)),R=!0,V(o,l.precision=h,l.rounding=p,!0)},j.isFinite=function(){return!!this.d},j.isInteger=j.isInt=function(){return!!this.d&&k(this.e/7)>this.d.length-2},j.isNaN=function(){return!this.s},j.isNegative=j.isNeg=function(){return this.s<0},j.isPositive=j.isPos=function(){return this.s>0},j.isZero=function(){return!!this.d&&0===this.d[0]},j.lessThan=j.lt=function(t){return this.cmp(t)<0},j.lessThanOrEqualTo=j.lte=function(t){return this.cmp(t)<1},j.logarithm=j.log=function(t){var e,n,i,s,r,o,a,u,c=this,l=c.constructor,h=l.precision,p=l.rounding;if(null==t)t=new l(10),e=!0;else{if(n=(t=new l(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new l(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new l(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)r=!0;else{for(s=n[0];s%10==0;)s/=10;r=1!==s}if(R=!1,o=st(c,a=h+5),i=e?K(l,a+10):st(t,a),H((u=J(o,i,a,1)).d,s=h,p))do{if(o=st(c,a+=10),i=e?K(l,a+10):st(t,a),u=J(o,i,a,1),!r){+F(u.d).slice(s+1,s+15)+1==1e14&&(u=V(u,h+1,0));break}}while(H(u.d,s+=10,p));return R=!0,V(u,h,p)},j.minus=j.sub=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.constructor;if(t=new m(t),!d.d||!t.d)return d.s&&t.s?d.d?t.s=-t.s:t=new m(t.d||d.s!==t.s?d:NaN):t=new m(NaN),t;if(d.s!=t.s)return t.s=-t.s,d.plus(t);if(c=d.d,p=t.d,a=m.precision,u=m.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new m(3===u?-0:0);t=new m(d)}return R?V(t,a,u):t}if(n=k(t.e/7),l=k(d.e/7),c=c.slice(),r=l-n){for((h=r<0)?(e=c,r=-r,o=p.length):(e=p,n=l,o=c.length),r>(i=Math.max(Math.ceil(a/7),o)+2)&&(r=i,e.length=1),e.reverse(),i=r;i--;)e.push(0);e.reverse()}else{for((h=(i=c.length)<(o=p.length))&&(o=i),i=0;i<o;i++)if(c[i]!=p[i]){h=c[i]<p[i];break}r=0}for(h&&(e=c,c=p,p=e,t.s=-t.s),o=c.length,i=p.length-o;i>0;--i)c[o++]=0;for(i=p.length;i>r;){if(c[--i]<p[i]){for(s=i;s&&0===c[--s];)c[s]=Y-1;--c[s],c[i]+=Y}c[i]-=p[i]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=X(c,n),R?V(t,a,u):t):new m(3===u?-0:0)},j.modulo=j.mod=function(t){var e,n=this,i=n.constructor;return t=new i(t),!n.d||!t.s||t.d&&!t.d[0]?new i(NaN):!t.d||n.d&&!n.d[0]?V(new i(n),i.precision,i.rounding):(R=!1,9==i.modulo?(e=J(n,t.abs(),0,3,1)).s*=t.s:e=J(n,t,0,i.modulo,1),e=e.times(t),R=!0,n.minus(e))},j.naturalExponential=j.exp=function(){return it(this)},j.naturalLogarithm=j.ln=function(){return st(this)},j.negated=j.neg=function(){var t=new this.constructor(this);return t.s=-t.s,V(t)},j.plus=j.add=function(t){var e,n,i,s,r,o,a,u,c,l,h=this,p=h.constructor;if(t=new p(t),!h.d||!t.d)return h.s&&t.s?h.d||(t=new p(t.d||h.s===t.s?h:NaN)):t=new p(NaN),t;if(h.s!=t.s)return t.s=-t.s,h.minus(t);if(c=h.d,l=t.d,a=p.precision,u=p.rounding,!c[0]||!l[0])return l[0]||(t=new p(h)),R?V(t,a,u):t;if(r=k(h.e/7),i=k(t.e/7),c=c.slice(),s=r-i){for(s<0?(n=c,s=-s,o=l.length):(n=l,i=r,o=c.length),s>(o=(r=Math.ceil(a/7))>o?r+1:o+1)&&(s=o,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for((o=c.length)-(s=l.length)<0&&(s=o,n=l,l=c,c=n),e=0;s;)e=(c[--s]=c[s]+l[s]+e)/Y|0,c[s]%=Y;for(e&&(c.unshift(e),++i),o=c.length;0==c[--o];)c.pop();return t.d=c,t.e=X(c,i),R?V(t,a,u):t},j.precision=j.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(S+t);return n.d?(e=_(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},j.round=function(){var t=this,e=t.constructor;return V(new e(t),t.e+1,e.rounding)},j.sine=j.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+7,i.rounding=1,n=function(t,e){var n,i=e.d.length;if(i<3)return e.isZero()?e:at(t,2,e,e);n=(n=1.4*Math.sqrt(i))>16?16:0|n,e=at(t,2,e=e.times(1/ut(5,n)),e);for(var s,r=new t(5),o=new t(16),a=new t(20);n--;)s=e.times(e),e=e.times(r.plus(s.times(o.times(s).minus(a))));return e}(i,ct(i,n)),i.precision=t,i.rounding=e,V(C>2?n.neg():n,t,e,!0)):new i(NaN)},j.squareRoot=j.sqrt=function(){var t,e,n,i,s,r,o=this,a=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!a||!a[0])return new l(!c||c<0&&(!a||a[0])?NaN:a?o:1/0);for(R=!1,0==(c=Math.sqrt(+o))||c==1/0?(((e=F(a)).length+u)%2==0&&(e+="0"),c=Math.sqrt(e),u=k((u+1)/2)-(u<0||u%2),i=new l(e=c==1/0?"5e"+u:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new l(c.toString()),n=(u=l.precision)+3;;)if(i=(r=i).plus(J(o,r,n+2,1)).times(.5),F(r.d).slice(0,n)===(e=F(i.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(s||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(V(i,u+1,1),t=!i.times(i).eq(o));break}if(!s&&(V(r,u+1,0),r.times(r).eq(o))){i=r;break}n+=4,s=1}return R=!0,V(i,u,l.rounding,t)},j.tangent=j.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,(n=n.sin()).s=1,n=J(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,V(2==C||4==C?n.neg():n,t,e,!0)):new i(NaN)},j.times=j.mul=function(t){var e,n,i,s,r,o,a,u,c,l=this,h=l.constructor,p=l.d,d=(t=new h(t)).d;if(t.s*=l.s,!(p&&p[0]&&d&&d[0]))return new h(!t.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*t.s:t.s/0);for(n=k(l.e/7)+k(t.e/7),(u=p.length)<(c=d.length)&&(r=p,p=d,d=r,o=u,u=c,c=o),r=[],i=o=u+c;i--;)r.push(0);for(i=c;--i>=0;){for(e=0,s=u+i;s>i;)a=r[s]+d[i]*p[s-i-1]+e,r[s--]=a%Y|0,e=a/Y|0;r[s]=(r[s]+e)%Y|0}for(;!r[--o];)r.pop();return e?++n:r.shift(),t.d=r,t.e=X(r,n),R?V(t,h.precision,h.rounding):t},j.toBinary=function(t,e){return lt(this,2,t,e)},j.toDecimalPlaces=j.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(U(t,0,v),void 0===e?e=i.rounding:U(e,0,8),V(n,t+n.e+1,e))},j.toExponential=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,!0):(U(t,0,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t+1,e),!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toFixed=function(t,e){var n,i,s=this,r=s.constructor;return void 0===t?n=W(s):(U(t,0,v),void 0===e?e=r.rounding:U(e,0,8),n=W(i=V(new r(s),t+s.e+1,e),!1,t+i.e+1)),s.isNeg()&&!s.isZero()?"-"+n:n},j.toFraction=function(t){var e,n,i,s,r,o,a,u,c,l,h,p,d=this,m=d.d,g=d.constructor;if(!m)return new g(d);if(c=n=new g(1),i=u=new g(0),o=(r=(e=new g(i)).e=_(m)-d.e-1)%7,e.d[0]=D(10,o<0?7+o:o),null==t)t=r>0?e:c;else{if(!(a=new g(t)).isInt()||a.lt(c))throw Error(S+a);t=a.gt(e)?r>0?e:c:a}for(R=!1,a=new g(F(m)),l=g.precision,g.precision=r=7*m.length*2;h=J(a,e,0,1,1),1!=(s=n.plus(h.times(i))).cmp(t);)n=i,i=s,s=c,c=u.plus(h.times(s)),u=s,s=e,e=a.minus(h.times(s)),a=s;return s=J(t.minus(n),i,0,1,1),u=u.plus(s.times(c)),n=n.plus(s.times(i)),u.s=c.s=d.s,p=J(c,i,r,1).minus(d).abs().cmp(J(u,n,r,1).minus(d).abs())<1?[c,i]:[u,n],g.precision=l,R=!0,p},j.toHexadecimal=j.toHex=function(t,e){return lt(this,16,t,e)},j.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:U(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(R=!1,n=J(n,t,0,e,1).times(t),R=!0,V(n)):(t.s=n.s,n=t),n},j.toNumber=function(){return+this},j.toOctal=function(t,e){return lt(this,8,t,e)},j.toPower=j.pow=function(t){var e,n,i,s,r,o,a=this,u=a.constructor,c=+(t=new u(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new u(D(+a,c));if((a=new u(a)).eq(1))return a;if(i=u.precision,r=u.rounding,t.eq(1))return V(a,i,r);if((e=k(t.e/7))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return s=tt(u,a,n,i),t.s<0?new u(1).div(s):V(s,i,r);if((o=a.s)<0){if(e<t.d.length-1)return new u(NaN);if(1&t.d[e]||(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(e=0!=(n=D(+a,c))&&isFinite(n)?new u(n+"").e:k(c*(Math.log("0."+F(a.d))/Math.LN10+a.e+1)))>u.maxE+1||e<u.minE-1?new u(e>0?o/0:0):(R=!1,u.rounding=a.s=1,n=Math.min(12,(e+"").length),(s=it(t.times(st(a,i+n)),i)).d&&H((s=V(s,i+5,1)).d,i,r)&&(e=i+10,+F((s=V(it(t.times(st(a,e+n)),e),e+5,1)).d).slice(i+1,i+15)+1==1e14&&(s=V(s,i+1,0))),s.s=o,R=!0,u.rounding=r,V(s,i,r))},j.toPrecision=function(t,e){var n,i=this,s=i.constructor;return void 0===t?n=W(i,i.e<=s.toExpNeg||i.e>=s.toExpPos):(U(t,1,v),void 0===e?e=s.rounding:U(e,0,8),n=W(i=V(new s(i),t,e),t<=i.e||i.e<=s.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},j.toSignificantDigits=j.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(U(t,1,v),void 0===e?e=n.rounding:U(e,0,8)),V(new n(this),t,e)},j.toString=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},j.truncated=j.trunc=function(){return V(new this.constructor(this),this.e+1,1)},j.valueOf=j.toJSON=function(){var t=this,e=t.constructor,n=W(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var J=function(){function t(t,e,n){var i,s=0,r=t.length;for(t=t.slice();r--;)i=t[r]*e+s,t[r]=i%n|0,s=i/n|0;return s&&t.unshift(s),t}function e(t,e,n,i){var s,r;if(n!=i)r=n>i?1:-1;else for(s=r=0;s<n;s++)if(t[s]!=e[s]){r=t[s]>e[s]?1:-1;break}return r}function n(t,e,n,i){for(var s=0;n--;)t[n]-=s,s=t[n]<e[n]?1:0,t[n]=s*i+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,s,r,o,a,u){var c,l,h,p,d,m,g,f,A,C,M,v,b,w,y,E,R,N,S,T,P=i.constructor,L=i.s==s.s?1:-1,D=i.d,B=s.d;if(!(D&&D[0]&&B&&B[0]))return new P(i.s&&s.s&&(D?!B||D[0]!=B[0]:B)?D&&0==D[0]||!B?0*L:L/0:NaN);for(u?(d=1,l=i.e-s.e):(u=Y,d=7,l=k(i.e/d)-k(s.e/d)),S=B.length,R=D.length,C=(A=new P(L)).d=[],h=0;B[h]==(D[h]||0);h++);if(B[h]>(D[h]||0)&&l--,null==r?(w=r=P.precision,o=P.rounding):w=a?r+(i.e-s.e)+1:r,w<0)C.push(1),m=!0;else{if(w=w/d+2|0,h=0,1==S){for(p=0,B=B[0],w++;(h<R||p)&&w--;h++)y=p*u+(D[h]||0),C[h]=y/B|0,p=y%B|0;m=p||h<R}else{for((p=u/(B[0]+1)|0)>1&&(B=t(B,p,u),D=t(D,p,u),S=B.length,R=D.length),E=S,v=(M=D.slice(0,S)).length;v<S;)M[v++]=0;(T=B.slice()).unshift(0),N=B[0],B[1]>=u/2&&++N;do{p=0,(c=e(B,M,S,v))<0?(b=M[0],S!=v&&(b=b*u+(M[1]||0)),(p=b/N|0)>1?(p>=u&&(p=u-1),1==(c=e(g=t(B,p,u),M,f=g.length,v=M.length))&&(p--,n(g,S<f?T:B,f,u))):(0==p&&(c=p=1),g=B.slice()),(f=g.length)<v&&g.unshift(0),n(M,g,v,u),-1==c&&(c=e(B,M,S,v=M.length))<1&&(p++,n(M,S<v?T:B,v,u)),v=M.length):0===c&&(p++,M=[0]),C[h++]=p,c&&M[0]?M[v++]=D[E]||0:(M=[D[E]],v=1)}while((E++<R||void 0!==M[0])&&w--);m=void 0!==M[0]}C[0]||C.shift()}if(1==d)A.e=l,I=m;else{for(h=1,p=C[0];p>=10;p/=10)h++;A.e=h+l*d-1,V(A,a?r+A.e+1:r,o,m)}return A}}();function V(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(s=1,a=h[0];a>=10;a/=10)s++;if((r=e-s)<0)r+=7,o=e,u=(l=h[p=0])/D(10,s-o-1)%10|0;else if((p=Math.ceil((r+1)/7))>=(a=h.length)){if(!i)break t;for(;a++<=p;)h.push(0);l=u=0,s=1,o=(r%=7)-7+1}else{for(l=a=h[p],s=1;a>=10;a/=10)s++;u=(o=(r%=7)-7+s)<0?0:l/D(10,s-o-1)%10|0}if(i=i||e<0||void 0!==h[p+1]||(o<0?l:l%D(10,s-o-1)),c=n<4?(u||i)&&(0==n||n==(t.s<0?3:2)):u>5||5==u&&(4==n||i||6==n&&(r>0?o>0?l/D(10,s-o):0:h[p-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=D(10,(7-e%7)%7),t.e=-e||0):h[0]=t.e=0,t;if(0==r?(h.length=p,a=1,p--):(h.length=p+1,a=D(10,7-r),h[p]=o>0?(l/D(10,s-o)%D(10,o)|0)*a:0),c)for(;;){if(0==p){for(r=1,o=h[0];o>=10;o/=10)r++;for(o=h[0]+=a,a=1;o>=10;o/=10)a++;r!=a&&(t.e++,h[0]==Y&&(h[0]=1));break}if(h[p]+=a,h[p]!=Y)break;h[p--]=0,a=1}for(r=h.length;0===h[--r];)h.pop()}return R&&(t.e>d.maxE?(t.d=null,t.e=NaN):t.e<d.minE&&(t.e=0,t.d=[0])),t}function W(t,e,n){if(!t.isFinite())return rt(t);var i,s=t.e,r=F(t.d),o=r.length;return e?(n&&(i=n-o)>0?r=r.charAt(0)+"."+r.slice(1)+$(i):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(t.e<0?"e":"e+")+t.e):s<0?(r="0."+$(-s-1)+r,n&&(i=n-o)>0&&(r+=$(i))):s>=o?(r+=$(s+1-o),n&&(i=n-s-1)>0&&(r=r+"."+$(i))):((i=s+1)<o&&(r=r.slice(0,i)+"."+r.slice(i)),n&&(i=n-o)>0&&(s+1===o&&(r+="."),r+=$(i))),r}function X(t,e){var n=t[0];for(e*=7;n>=10;n/=10)e++;return e}function K(t,e,n){if(e>Z)throw R=!0,n&&(t.precision=n),Error(T);return V(new t(w),e,1,!0)}function q(t,e,n){if(e>z)throw Error(T);return V(new t(y),e,n,!0)}function _(t){var e=t.length-1,n=7*e+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function $(t){for(var e="";t--;)e+="0";return e}function tt(t,e,n,i){var s,r=new t(1),o=Math.ceil(i/7+4);for(R=!1;;){if(n%2&&ht((r=r.times(e)).d,o)&&(s=!0),0===(n=k(n/2))){n=r.d.length-1,s&&0===r.d[n]&&++r.d[n];break}ht((e=e.times(e)).d,o)}return R=!0,r}function et(t){return 1&t.d[t.d.length-1]}function nt(t,e,n){for(var i,s=new t(e[0]),r=0;++r<e.length;){if(!(i=new t(e[r])).s){s=i;break}s[n](i)&&(s=i)}return s}function it(t,e){var n,i,s,r,o,a,u,c=0,l=0,h=0,p=t.constructor,d=p.rounding,m=p.precision;if(!t.d||!t.d[0]||t.e>17)return new p(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(R=!1,u=m):u=e,a=new p(.03125);t.e>-2;)t=t.times(a),h+=5;for(u+=i=Math.log(D(2,h))/Math.LN10*2+5|0,n=r=o=new p(1),p.precision=u;;){if(r=V(r.times(t),u,1),n=n.times(++l),F((a=o.plus(J(r,n,u,1))).d).slice(0,u)===F(o.d).slice(0,u)){for(s=h;s--;)o=V(o.times(o),u,1);if(null!=e)return p.precision=m,o;if(!(c<3&&H(o.d,u-i,d,c)))return V(o,p.precision=m,d,R=!0);p.precision=u+=10,n=r=a=new p(1),l=0,c++}o=a}}function st(t,e){var n,i,s,r,o,a,u,c,l,h,p,d=1,m=t,g=m.d,f=m.constructor,A=f.rounding,I=f.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new f(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==e?(R=!1,l=I):l=e,f.precision=l+=10,i=(n=F(g)).charAt(0),!(Math.abs(r=m.e)<15e14))return c=K(f,l+2,I).times(r+""),m=st(new f(i+"."+n.slice(1)),l-10).plus(c),f.precision=I,null==e?V(m,I,A,R=!0):m;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)i=(n=F((m=m.times(t)).d)).charAt(0),d++;for(r=m.e,i>1?(m=new f("0."+n),r++):m=new f(i+"."+n.slice(1)),h=m,u=o=m=J(m.minus(1),m.plus(1),l,1),p=V(m.times(m),l,1),s=3;;){if(o=V(o.times(p),l,1),F((c=u.plus(J(o,new f(s),l,1))).d).slice(0,l)===F(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(K(f,l+2,I).times(r+""))),u=J(u,new f(d),l,1),null!=e)return f.precision=I,u;if(!H(u.d,l-10,A,a))return V(u,f.precision=I,A,R=!0);f.precision=l+=10,c=o=m=J(h.minus(1),h.plus(1),l,1),p=V(m.times(m),l,1),s=a=1}u=c,s+=2}}function rt(t){return String(t.s*t.s/0)}function ot(t,e){var n,i,s;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(s=e.length;48===e.charCodeAt(s-1);--s);if(e=e.slice(i,s)){if(s-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%7,n<0&&(i+=7),i<s){for(i&&t.d.push(+e.slice(0,i)),s-=7;i<s;)t.d.push(+e.slice(i,i+=7));i=7-(e=e.slice(i)).length}else i-=s;for(;i--;)e+="0";t.d.push(+e),R&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function at(t,e,n,i,s){var r,o,a,u,c=t.precision,l=Math.ceil(c/7);for(R=!1,u=n.times(n),a=new t(i);;){if(o=J(a.times(u),new t(e++*e++),c,1),a=s?i.plus(o):i.minus(o),i=J(o.times(u),new t(e++*e++),c,1),void 0!==(o=a.plus(i)).d[l]){for(r=l;o.d[r]===a.d[r]&&r--;);if(-1==r)break}r=a,a=i,i=o,o=r}return R=!0,o.d.length=l+1,o}function ut(t,e){for(var n=t;--e;)n*=t;return n}function ct(t,e){var n,i=e.s<0,s=q(t,t.precision,1),r=s.times(.5);if((e=e.abs()).lte(r))return C=i?4:1,e;if((n=e.divToInt(s)).isZero())C=i?3:2;else{if((e=e.minus(n.times(s))).lte(r))return C=et(n)?i?2:3:i?4:1,e;C=et(n)?i?1:4:i?3:2}return e.minus(s).abs()}function lt(t,e,n,i){var s,r,o,a,u,c,l,h,p,d=t.constructor,m=void 0!==n;if(m?(U(n,1,v),void 0===i?i=d.rounding:U(i,0,8)):(n=d.precision,i=d.rounding),t.isFinite()){for(m?(s=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):s=e,(o=(l=W(t)).indexOf("."))>=0&&(l=l.replace(".",""),(p=new d(1)).e=l.length-o,p.d=Q(W(p),10,s),p.e=p.d.length),r=u=(h=Q(l,10,s)).length;0==h[--u];)h.pop();if(h[0]){if(o<0?r--:((t=new d(t)).d=h,t.e=r,h=(t=J(t,p,n,i,0,s)).d,r=t.e,c=I),o=h[n],a=s/2,c=c||void 0!==h[n+1],c=i<4?(void 0!==o||c)&&(0===i||i===(t.s<0?3:2)):o>a||o===a&&(4===i||c||6===i&&1&h[n-1]||i===(t.s<0?8:7)),h.length=n,c)for(;++h[--n]>s-1;)h[n]=0,n||(++r,h.unshift(1));for(u=h.length;!h[u-1];--u);for(o=0,l="";o<u;o++)l+=b.charAt(h[o]);if(m){if(u>1)if(16==e||8==e){for(o=16==e?4:3,--u;u%o;u++)l+="0";for(u=(h=Q(l,s,e)).length;!h[u-1];--u);for(o=1,l="1.";o<u;o++)l+=b.charAt(h[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(++r>u)for(r-=u;r--;)l+="0";else r<u&&(l=l.slice(0,r)+"."+l.slice(r))}else l=m?"0p+0":"0";l=(16==e?"0x":2==e?"0b":8==e?"0o":"")+l}else l=rt(t);return t.s<0?"-"+l:l}function ht(t,e){if(t.length>e)return t.length=e,!0}function pt(t){return new this(t).abs()}function dt(t){return new this(t).acos()}function mt(t){return new this(t).acosh()}function gt(t,e){return new this(t).plus(e)}function ft(t){return new this(t).asin()}function At(t){return new this(t).asinh()}function It(t){return new this(t).atan()}function Ct(t){return new this(t).atanh()}function Mt(t,e){t=new this(t),e=new this(e);var n,i=this.precision,s=this.rounding,r=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?q(this,i,s):new this(0)).s=t.s:!t.d||e.isZero()?(n=q(this,r,1).times(.5)).s=t.s:e.s<0?(this.precision=r,this.rounding=1,n=this.atan(J(t,e,r,1)),e=q(this,r,1),this.precision=i,this.rounding=s,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(J(t,e,r,1)):(n=q(this,r,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function vt(t){return new this(t).cbrt()}function bt(t){return V(t=new this(t),t.e+1,2)}function wt(t,e,n){return new this(t).clamp(e,n)}function yt(t){if(!t||"object"!=typeof t)throw Error(N+"Object expected");var e,n,i,s=!0===t.defaults,r=["precision",1,v,"rounding",0,8,"toExpNeg",-M,0,"toExpPos",0,M,"maxE",0,M,"minE",-M,0,"modulo",0,9];for(e=0;e<r.length;e+=3)if(n=r[e],s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!(k(i)===i&&i>=r[e+1]&&i<=r[e+2]))throw Error(S+n+": "+i);this[n]=i}if(n="crypto",s&&(this[n]=E[n]),void 0!==(i=t[n])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(S+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(P);this[n]=!0}else this[n]=!1}return this}function Et(t){return new this(t).cos()}function Rt(t){return new this(t).cosh()}function Nt(t,e){return new this(t).div(e)}function St(t){return new this(t).exp()}function Tt(t){return V(t=new this(t),t.e+1,3)}function Pt(){var t,e,n=new this(0);for(R=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return R=!0,new this(1/0);n=e}return R=!0,n.sqrt()}function Lt(t){return t instanceof _t||t&&t.toStringTag===L||!1}function kt(t){return new this(t).ln()}function Dt(t,e){return new this(t).log(e)}function Bt(t){return new this(t).log(2)}function Gt(t){return new this(t).log(10)}function Ot(){return nt(this,arguments,"lt")}function xt(){return nt(this,arguments,"gt")}function Yt(t,e){return new this(t).mod(e)}function Zt(t,e){return new this(t).mul(e)}function zt(t,e){return new this(t).pow(e)}function jt(t){var e,n,i,s,r=0,o=new this(1),a=[];if(void 0===t?t=this.precision:U(t,1,v),i=Math.ceil(t/7),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));r<i;)(s=e[r])>=429e7?e[r]=crypto.getRandomValues(new Uint32Array(1))[0]:a[r++]=s%1e7;else{if(!crypto.randomBytes)throw Error(P);for(e=crypto.randomBytes(i*=4);r<i;)(s=e[r]+(e[r+1]<<8)+(e[r+2]<<16)+((127&e[r+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,r):(a.push(s%1e7),r+=4);r=i/4}else for(;r<i;)a[r++]=1e7*Math.random()|0;for(t%=7,(i=a[--r])&&t&&(s=D(10,7-t),a[r]=(i/s|0)*s);0===a[r];r--)a.pop();if(r<0)n=0,a=[0];else{for(n=-1;0===a[0];n-=7)a.shift();for(i=1,s=a[0];s>=10;s/=10)i++;i<7&&(n-=7-i)}return o.e=n,o.d=a,o}function Ft(t){return V(t=new this(t),t.e+1,this.rounding)}function Ut(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Ht(t){return new this(t).sin()}function Qt(t){return new this(t).sinh()}function Jt(t){return new this(t).sqrt()}function Vt(t,e){return new this(t).sub(e)}function Wt(){var t=0,e=arguments,n=new this(e[t]);for(R=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return R=!0,V(n,this.precision,this.rounding)}function Xt(t){return new this(t).tan()}function Kt(t){return new this(t).tanh()}function qt(t){return V(t=new this(t),t.e+1,1)}j[Symbol.for("nodejs.util.inspect.custom")]=j.toString,j[Symbol.toStringTag]="Decimal";var _t=j.constructor=function t(e){var n,i,s;function r(t){var e,n,i,s=this;if(!(s instanceof r))return new r(t);if(s.constructor=r,Lt(t))return s.s=t.s,void(R?!t.d||t.e>r.maxE?(s.e=NaN,s.d=null):t.e<r.minE?(s.e=0,s.d=[0]):(s.e=t.e,s.d=t.d.slice()):(s.e=t.e,s.d=t.d?t.d.slice():t.d));if("number"==(i=typeof t)){if(0===t)return s.s=1/t<0?-1:1,s.e=0,void(s.d=[0]);if(t<0?(t=-t,s.s=-1):s.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(R?e>r.maxE?(s.e=NaN,s.d=null):e<r.minE?(s.e=0,s.d=[0]):(s.e=e,s.d=[t]):(s.e=e,s.d=[t]))}return 0*t!=0?(t||(s.s=NaN),s.e=NaN,void(s.d=null)):ot(s,t.toString())}if("string"!==i)throw Error(S+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),s.s=-1):(43===n&&(t=t.slice(1)),s.s=1),x.test(t)?ot(s,t):function(t,e){var n,i,s,r,o,a,u,c,l;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),x.test(e))return ot(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(G.test(e))n=16,e=e.toLowerCase();else if(B.test(e))n=2;else{if(!O.test(e))throw Error(S+e);n=8}for((r=e.search(/p/i))>0?(u=+e.slice(r+1),e=e.substring(2,r)):e=e.slice(2),o=(r=e.indexOf("."))>=0,i=t.constructor,o&&(r=(a=(e=e.replace(".","")).length)-r,s=tt(i,new i(n),r,2*r)),r=l=(c=Q(e,n,Y)).length-1;0===c[r];--r)c.pop();return r<0?new i(0*t.s):(t.e=X(c,l),t.d=c,R=!1,o&&(t=J(t,s,4*a)),u&&(t=t.times(Math.abs(u)<54?D(2,u):_t.pow(2,u))),R=!0,t)}(s,t)}if(r.prototype=j,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=yt,r.clone=t,r.isDecimal=Lt,r.abs=pt,r.acos=dt,r.acosh=mt,r.add=gt,r.asin=ft,r.asinh=At,r.atan=It,r.atanh=Ct,r.atan2=Mt,r.cbrt=vt,r.ceil=bt,r.clamp=wt,r.cos=Et,r.cosh=Rt,r.div=Nt,r.exp=St,r.floor=Tt,r.hypot=Pt,r.ln=kt,r.log=Dt,r.log10=Gt,r.log2=Bt,r.max=Ot,r.min=xt,r.mod=Yt,r.mul=Zt,r.pow=zt,r.random=jt,r.round=Ft,r.sign=Ut,r.sin=Ht,r.sinh=Qt,r.sqrt=Jt,r.sub=Vt,r.sum=Wt,r.tan=Xt,r.tanh=Kt,r.trunc=qt,void 0===e&&(e={}),e&&!0!==e.defaults)for(s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<s.length;)e.hasOwnProperty(i=s[n++])||(e[i]=this[i]);return r.config(e),r}(E);w=new _t(w),y=new _t(y);const $t=ee;function te(){const t=["CatMenuHeiInputPlus","调用成功","removeMenuEvent","CatMenuLatInput","parseFromString","CatMenuLonInputMinus","CatMenuRollInputMinus","getInputNumber","text/html","Matrix3","CatScaleStep","CatRollStep","CatMenuHeadingInputMinus","4206796BGPULj","的对象","transformCnToCc","position","confirmEventGlb","1792104QGZfET","869834ZPGngl","CatPitchStep","getById","CatLatitude","scale","addEventListener","changeScale","CatLongitude","CatPitch","CatRoll","CatMenuRollStepInput","value","parentNode","CatHeadingStep",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'3dtile的url\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"CatMenuLatInputMinus","没有找到url为","CatMenuPitchInput","CatMenuHeadingStepInput","roll","isFinite","sub","CatMenuHeiInputMinus","toNumber","fromRotationX","toRadians","CatMenuScaleInputPlus","6ZPxftx","CatMenuLonStepInput","model","change3dtilePos","fromRotationTranslation","Matrix4","CatScale","center","CatMenuRollInputPlus","_primitives","CatLongitudeStep","CatMenuLatInputPlus","create3DtileMenu","CatHeading","bindEvent3Dtile","没有找到id为","toDegrees","log","8540kjGgiE","CatMenuLonInputPlus","CatMenuHeiInput","8irRIjU","CatEntity","bindEventGLB","1622QYVZxq","6rhjXJE","CatMenuIdInput","confirmEvent3Dtile","removeChild","CatGlbMenuContainer","click","1206AJQkkp","multiply",'\n\t\t<div class="CatGlbMenuContainer">\n\t\t\t<div class="CatMenuCloseButton">X</div>\n\t\t\t<div class="CatMenuIdInputContainer">\n\t\t\t\t<input class="CatMenuIdInput" type=\'text\' placeholder=\'glb模型的id\'>\n\t\t\t\t<span class="CatMenuIdInputButton">确定</span>\n\t\t\t</div>\n\t\t\t<div class="CatMenuLonContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">longitude:</span>\n\t\t\t\t<input class="CatMenuLonInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLonInputMinus CatMenuInputMinus">-</span><span class="CatMenuLonInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLonStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuLatContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">latitude:</span>\n\t\t\t\t<input class="CatMenuLatInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuLatInputMinus CatMenuInputMinus">-</span><span class="CatMenuLatInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuLatStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeiContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">height:</span>\n\t\t\t\t<input class="CatMenuHeiInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeiInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeiInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeiStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuHeadingContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">heading:</span>\n\t\t\t\t<input class="CatMenuHeadingInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuHeadingInputMinus CatMenuInputMinus">-</span><span class="CatMenuHeadingInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuHeadingStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuPitchContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">pitch:</span>\n\t\t\t\t<input class="CatMenuPitchInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuPitchInputMinus CatMenuInputMinus">-</span><span class="CatMenuPitchInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuPitchStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuRollContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">roll:</span>\n\t\t\t\t<input class="CatMenuRollInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuRollInputMinus CatMenuInputMinus">-</span><span class="CatMenuRollInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuRollStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t\t<div class="CatMenuScaleContainer CatMenuItemContainer">\n\t\t\t\t<span class="CatMenuPropertyName">scale:</span>\n\t\t\t\t<input class="CatMenuScaleInput CatMenuInput" type=\'text\'>\n\t\t\t\t<span class="CatMenuScaleInputMinus CatMenuInputMinus">-</span><span class="CatMenuScaleInputPlus CatMenuInputPlus">+</span>\n\t\t\t\t<span>step:</span><input class="CatMenuScaleStepInput CatMenuStepInput" type="text">\n\t\t\t</div>\n\t\t</div>\n\t\t',"appendChild","CatMenuLonInput","CatHeightStep","onchange","CatMenuPitchStepInput","CatMenuPitchInputMinus","Transforms","CatLatitudeStep","CatMenuIdInputButton","now","CatMenuHeiStepInput","changeHPR","defineProperty","_value","body","changeEntityPos","target","287307CNpNTf","CatMenuLatStepInput","fromRotationZ","scene","CatMenuPitchInputPlus","getElementsByClassName","fromScale","CatMenuHeadingInput","heading","fixedFrameToHeadingPitchRoll","onclick","CatMenuScaleStepInput","createEvent","CatMenuCloseButton","HeadingPitchRoll","Math","1300665ZchgyK","CatMenuScaleInput","Cartesian3","fromDegrees","entities","CatMenuRollInput","CatHeight"];return(te=function(){return t})()}function ee(t,e){const n=te();return(ee=function(t,e){return n[t-=468]})(t,e)}!function(){const t=ee,e=te();for(;;)try{if(140086==-parseInt(t(560))/1*(parseInt(t(559))/2)+parseInt(t(586))/3*(-parseInt(t(556))/4)+-parseInt(t(482))/5+parseInt(t(535))/6*(-parseInt(t(508))/7)+parseInt(t(507))/8+-parseInt(t(566))/9*(-parseInt(t(553))/10)+parseInt(t(502))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{#r;[$t(557)];[$t(515)]={};[$t(545)]=1e-4;[$t(511)]={};CatLatitudeStep=1e-4;[$t(488)]={};[$t(571)]=.1;[$t(548)]={};[$t(521)]=1;[$t(516)]={};[$t(509)]=1;[$t(517)]={};CatRollStep=1;[$t(541)]={};[$t(499)]=.1;constructor(t){this.#r=t}[$t(496)](t){const e=$t,n=Number(document[e(471)](t)[0][e(519)]);return Number[e(528)](n)?n:0}createGlbMenu(){const t=$t;console[t(552)](t(490));const e=t(568);let n=(new DOMParser)[t(493)](e,t(497)).getElementsByClassName(t(564))[0];document[t(583)][t(569)](n),this[t(491)]("CatGlbMenuContainer"),this[t(506)](),this.bindEventGLB()}[$t(558)](){const t=$t;this.createEvent(this[t(515)],t(570),t(554),"CatMenuLonInputMinus","CatMenuLonStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(511)],"CatMenuLatInput",t(546),t(523),"CatMenuLatStepInput",()=>{this[t(584)]()}),this[t(478)](this[t(488)],t(555),t(489),"CatMenuHeiInputMinus",t(579),()=>{this[t(584)]()}),this.createEvent(this[t(548)],"CatMenuHeadingInput","CatMenuHeadingInputPlus","CatMenuHeadingInputMinus",t(526),()=>{this[t(580)]()}),this[t(478)](this.CatPitch,t(525),t(470),t(574),t(573),()=>{this[t(580)]()}),this[t(478)](this[t(517)],t(487),t(543),t(495),t(518),()=>{this.changeHPR()}),this.createEvent(this.CatScale,t(483),"CatMenuScaleInputPlus","CatMenuScaleInputMinus",t(477),()=>{this[t(514)]()})}[$t(478)](t,e,n,i,s,r){const o=$t,a=document[o(471)](e)[0];Object[o(581)](t,o(519),{get(){return this._value},set(t){this[o(582)]=t,a.value=t,r()}}),a[o(572)]=e=>{const n=o;t[n(519)]=e[n(585)][n(519)]};const u=document.getElementsByClassName(n)[0],c=document[o(471)](i)[0];u[o(476)]=()=>{const e=o,n=document.getElementsByClassName(s)[0][e(519)];t.value=_t(a[e(519)]).add(_t(n))[e(531)]()},c.onclick=()=>{const e=o,n=document.getElementsByClassName(s)[0].value;t[e(519)]=_t(a[e(519)])[e(529)](_t(n)).toNumber()}}changeEntityPos(){const t=$t,e=this[t(496)](t(570)),n=this[t(496)](t(492)),i=this[t(496)](t(555));this.CatEntity[t(505)]=Cesium[t(484)][t(485)](e,n,i)}[$t(580)](){const t=$t,e=this.CatEntity.position[t(582)],n=Cesium.Math[t(533)](Number(document[t(471)](t(473))[0].value)),i=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuPitchInput")[0][t(519)])),s=Cesium[t(481)][t(533)](Number(document[t(471)](t(487))[0][t(519)])),r=new(Cesium[t(480)])(n,i,s);let o=Cesium[t(575)].headingPitchRollQuaternion(e,r);this.CatEntity.orientation=o}[$t(514)](){const t=$t,e=this[t(496)](t(483));this[t(557)].model[t(512)]=e}[$t(506)](){const t=$t;document[t(471)](t(577))[0][t(513)]("click",()=>{const e=t,n=document[e(471)](e(561))[0][e(519)],i=this.#r[e(486)][e(510)](n);if(i){this[e(557)]=i;const t=u[e(504)](i.position[e(582)]);document[e(471)](e(570))[0].value=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document[e(471)](e(555))[0].value=t[2],document.getElementsByClassName("CatMenuLonStepInput")[0][e(519)]=this[e(545)],document[e(471)](e(587))[0][e(519)]=this[e(576)],document[e(471)](e(579))[0][e(519)]=this[e(571)];const n=i.computeModelMatrix(Cesium.JulianDate[e(578)]()),s=Cesium[e(575)][e(475)](n);document[e(471)](e(473))[0].value=Cesium[e(481)][e(551)](s[e(474)]),document.getElementsByClassName("CatMenuPitchInput")[0][e(519)]=Cesium[e(481)][e(551)](s.pitch),document[e(471)](e(487))[0].value=Cesium.Math[e(551)](s[e(527)]),document[e(471)]("CatMenuHeadingStepInput")[0][e(519)]=this[e(521)],document[e(471)]("CatMenuPitchStepInput")[0][e(519)]=this[e(509)],document.getElementsByClassName(e(518))[0].value=this[e(500)],document[e(471)](e(483))[0].value=i[e(537)][e(512)]||1,document[e(471)]("CatMenuScaleStepInput")[0][e(519)]=this[e(499)]}else alert(e(550)+n+e(503))})}removeMenuEvent(t){const e=$t;let n=document.getElementsByClassName(e(564))[0],i=document[e(471)](e(479))[0];t?i.addEventListener(e(565),()=>{const t=e;n.parentNode[t(563)](n)}):(this[e(557)]=null,n[e(520)][e(563)](n))}[$t(547)](){const t=$t;console[t(552)](t(490));const e=t(522);let n=(new DOMParser)[t(493)](e,"text/html")[t(471)](t(564))[0];document[t(583)][t(569)](n),this[t(491)](t(564)),this[t(562)](),this.bindEvent3Dtile()}[$t(549)](){const t=$t;this.createEvent(this[t(515)],"CatMenuLonInput","CatMenuLonInputPlus",t(494),t(536),()=>{this.change3dtilePos()}),this[t(478)](this[t(511)],t(492),"CatMenuLatInputPlus","CatMenuLatInputMinus","CatMenuLatStepInput",()=>{this[t(538)]()}),this.createEvent(this[t(488)],"CatMenuHeiInput",t(489),t(530),t(579),()=>{this.change3dtilePos()}),this[t(478)](this[t(548)],t(473),"CatMenuHeadingInputPlus",t(501),t(526),()=>{this[t(538)]()}),this[t(478)](this[t(516)],t(525),t(470),t(574),"CatMenuPitchStepInput",()=>{this[t(538)]()}),this[t(478)](this[t(517)],t(487),"CatMenuRollInputPlus",t(495),t(518),()=>{this[t(538)]()}),this[t(478)](this[t(541)],t(483),t(534),"CatMenuScaleInputMinus",t(477),()=>{this[t(538)]()})}[$t(538)](){const t=$t,e=Cesium[t(481)][t(533)](Number(document[t(471)]("CatMenuHeadingInput")[0].value)),n=Cesium.Math[t(533)](Number(document[t(471)](t(525))[0][t(519)])),i=Cesium[t(481)][t(533)](Number(document.getElementsByClassName("CatMenuRollInput")[0].value));let s=Cesium[t(498)][t(532)](e),r=Cesium[t(498)].fromRotationY(n),o=Cesium[t(498)][t(468)](i),a=Cesium[t(540)][t(539)](s),u=Cesium[t(540)].fromRotationTranslation(r),c=Cesium[t(540)][t(539)](o);const l=this[t(496)](t(570)),h=this.getInputNumber(t(492)),p=this[t(496)](t(555));let d=Cesium.Cartesian3.fromDegrees(l,h,p),m=Cesium[t(575)].eastNorthUpToFixedFrame(d);const g=this.getInputNumber(t(483));let f=new(Cesium[t(484)])(g,g,g);const A=Cesium.Matrix4[t(472)](f,new(Cesium[t(540)]));Cesium[t(540)][t(567)](m,a,m),Cesium[t(540)].multiply(m,u,m),Cesium.Matrix4[t(567)](m,c,m),Cesium.Matrix4[t(567)](m,A,m),this[t(557)]._root.transform=m}[$t(562)](){const t=$t;document[t(471)](t(577))[0][t(513)](t(565),()=>{const e=t,n=document[e(471)]("CatMenuIdInput")[0].value;let i;for(let t of this.#r[e(469)].primitives[e(544)])if(t._url==n){i=t;break}if(i){this[e(557)]=i,console.log(this[e(557)]);const t=u[e(504)](i.boundingSphere[e(542)]);document[e(471)](e(570))[0][e(519)]=t[0],document[e(471)](e(492))[0][e(519)]=t[1],document.getElementsByClassName(e(555))[0][e(519)]=t[2],document[e(471)](e(536))[0][e(519)]=this[e(545)],document.getElementsByClassName(e(587))[0].value=this[e(576)],document.getElementsByClassName("CatMenuHeiStepInput")[0].value=this[e(571)],document[e(471)]("CatMenuHeadingInput")[0].value=0,document[e(471)](e(525))[0][e(519)]=0,document[e(471)](e(487))[0][e(519)]=0,document[e(471)](e(526))[0].value=this[e(521)],document.getElementsByClassName(e(573))[0].value=this[e(509)],document[e(471)](e(518))[0][e(519)]=this[e(500)],document.getElementsByClassName("CatMenuScaleInput")[0].value=1,document[e(471)](e(477))[0][e(519)]=1}else alert(e(524)+n+e(503))})}}function ie(t,e){const n=oe();return(ie=function(t,e){return n[t-=365]})(t,e)}const se=ie;!function(){const t=ie,e=oe();for(;;)try{if(172515==-parseInt(t(386))/1*(-parseInt(t(396))/2)+parseInt(t(377))/3+parseInt(t(373))/4*(parseInt(t(366))/5)+-parseInt(t(368))/6+parseInt(t(370))/7+parseInt(t(367))/8+parseInt(t(378))/9*(-parseInt(t(394))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{#r;#M;constructor(t){this.#r=t,this.#M=new ne(t)}[se(375)](){const t=se;this.#M[t(389)]()}[se(382)]({url:t,posArr:e,hprArr:n=[0,0,0],id:i=t,scale:s=1,needZoom:r=!1}={}){const o=se,a=Cesium[o(387)][o(374)](...e),u=new Cesium.HeadingPitchRoll(Cesium[o(391)][o(400)](n[0]),Cesium[o(391)].toRadians(n[1]),Cesium[o(391)][o(400)](n[2])),c=Cesium[o(401)].headingPitchRollQuaternion(a,u),l=this.#r[o(381)][o(372)]({id:i,position:a,orientation:c,model:{uri:t,scale:s}});return r&&this.#r[o(399)](l),l}[se(380)](){const t=se;this.#M[t(390)]()}async[se(369)]({url:t,posArr:e,hprArr:n,scale:i=1,needZoom:s=!1}={}){const r=se;let o=await Cesium.Cesium3DTileset[r(371)](t,{}),a=Cesium[r(393)][r(384)](Cesium[r(391)].toRadians(n[0])),u=Cesium.Matrix3.fromRotationY(Cesium[r(391)][r(400)](n[1])),c=Cesium.Matrix3[r(379)](Cesium.Math[r(400)](n[2])),l=Cesium[r(376)][r(365)](a),h=Cesium[r(376)][r(365)](u),p=Cesium.Matrix4[r(365)](c),d=Cesium[r(387)].fromDegrees(...e),m=Cesium[r(401)][r(392)](d),g=new(Cesium[r(387)])(i,i,i);const f=Cesium.Matrix4[r(398)](g,new(Cesium[r(376)]));return Cesium[r(376)][r(397)](m,l,m),Cesium[r(376)][r(397)](m,h,m),Cesium[r(376)][r(397)](m,p,m),Cesium[r(376)][r(397)](m,f,m),o[r(383)][r(395)]=m,this.#r[r(385)][r(388)][r(372)](o),s&&this.#r.zoomTo(o),o}}function oe(){const t=["fromRotationX","scene","22153IXYbzt","Cartesian3","primitives","createGlbMenu","create3DtileMenu","Math","eastNorthUpToFixedFrame","Matrix3","5402670CqrqNm","transform","26dMUuWK","multiply","fromScale","zoomTo","toRadians","Transforms","fromRotationTranslation","4330KmABEW","2391336JsezbM","1906998XCEomd","set3Dtile","1222396SKkCyl","fromUrl","add","316MyqBnK","fromDegrees","adjustGlb","Matrix4","602001mtnHCI","9wazump","fromRotationZ","adjust3Dtile","entities","setGlb","_root"];return(oe=function(){return t})()}function ae(t,e){const n=ue();return(ae=function(t,e){return n[t-=401]})(t,e)}function ue(){const t=["refreshForegroundLineOverlayState","destroyForegroundLineOverlay","onCancel","now","createPreviewEntities","43030wpTszQ","useTerrain","resultGroups","previewEntities","clearAll","type","emitUpdate","slice","369626jfbJwx","pointSurfaceTypes","getInstruction","height","auto","angle","左键选择角度顶点。","803SVHJEI","forEach","onComplete","idle","onUpdate","buildAngleResult","1877874NrwxZL","hasTerrainProvider","左键开始长度测量,左键双击或按回车结束。","setCloseButtonHover","formattedValue","40264hnsEYr","function","getSessionPreviewSurfaceInfo","Unsupported measure type: ","pointEntities","左键依次绘制面积边界,至少 3 个点,左键双击或按回车结束。","computing","points","previewLineEntity","getMeasurementSurfaceInfo","area","bindEvents","push","surfaceType","1940xyrMyu","destroyHandler","左键选择角度终点完成测量,右键取消。","length","5002608dHRlTG","cancelled","左键选择高差起点。","8031LqGGRd","surfaceMode","576JtQvGU","actualTerrain","toString","左键继续绘制面积边界,左键双击或按回车结束面积测量。","ellipsoid","buildAreaResult","removeEntities","callbacks","setCursor","scene","polyline","贴地结果","dynamicSurfaceTypes","titlePrefix","buildHeightResult","7kwjcJv","terrain","左键选择高差终点完成测量,右键取消。","3776WvjeFv","activeMeasurement","includes","2rDBZtR","无地形结果","start","clearCurrent","buildResult","onRemove"];return(ue=function(){return t})()}const ce=ae;!function(){const t=ae,e=ue();for(;;)try{if(206249==parseInt(t(438))/1+-parseInt(t(419))/2*(-parseInt(t(477))/3)+-parseInt(t(416))/4*(-parseInt(t(470))/5)+-parseInt(t(451))/6*(parseInt(t(413))/7)+-parseInt(t(456))/8*(parseInt(t(479))/9)+parseInt(t(430))/10*(-parseInt(t(445))/11)+parseInt(t(474))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const le={startMeasure(t,e={}){const n=ae;if(![n(473),n(466),n(443),n(441)][n(418)](t))throw new Error("Unsupported measure type: "+t);const i=this.resolveSurfaceMode(e);this[n(422)](!1);const s={id:t+"-"+Date[n(428)]()+"-"+Math.random()[n(481)](36)[n(437)](2,8),type:t,useTerrain:Boolean(e.useTerrain),surfaceMode:i,points:[],pointSurfaceTypes:[],dynamicPositions:[],dynamicSurfaceTypes:[],pointEntities:[],previewEntities:[],previewLineEntity:null,previewLabelEntity:null,previewPointEntity:null,callbacks:{onUpdate:e[n(449)],onComplete:e.onComplete,onRemove:e[n(424)],onCancel:e[n(427)]},cancelled:!1};return this[n(417)]=s,this[n(406)](!0),this[n(429)](s),this[n(467)](s),this[n(425)](),this.emitUpdate(s,{phase:n(421),instruction:this[n(440)](t,0),formattedValue:""}),s.id},clearCurrent(t=!0){const e=ae,n=this.activeMeasurement;if(!n)return this.destroyHandler(),void this[e(406)](!1);n[e(475)]=!0,this[e(471)](),this[e(404)]([...n[e(460)],...n[e(433)]]),this[e(406)](!1),this[e(417)]=null,this[e(425)](),t&&(typeof n[e(405)][e(427)]===e(457)&&n[e(405)][e(427)]({type:n[e(435)],useTerrain:n[e(431)],surfaceMode:n[e(478)]}),this[e(436)](n,{phase:e(448),instruction:"",formattedValue:""}))},clearAll(){const t=ae;this[t(422)](!1),this.resultGroups[t(446)](e=>{this[t(404)](e.entities)}),this[t(432)]=[],this[t(454)](!1),this[t(425)]()},destroy(){const t=ae;this[t(434)](),this[t(471)](),this.destroyResultInteractionHandler(),this[t(426)](),this.setCursor(!1)},async finalizeSession(t){const e=ae;if(!t||t[e(475)])return;this[e(471)](),this[e(406)](!1),this.emitUpdate(t,{phase:e(462),instruction:"正在计算测量结果..."});const n=await this[e(423)](t);if(t.cancelled)return;const i={...n,id:t.id};this[e(404)](t.pointEntities);const s=this.commitResult(t,i);this.removeEntities(t[e(433)]),this[e(432)][e(468)]({id:t.id,entities:s,result:i,callbacks:t[e(405)]}),this[e(417)]=null,this[e(425)](),"function"==typeof t[e(405)][e(447)]&&t.callbacks[e(447)](i),this[e(436)](t,{phase:"complete",instruction:this.getInstruction(t[e(435)],0),formattedValue:i[e(455)],result:i})},async buildResult(t){const e=ae;switch(t[e(435)]){case e(473):return this.buildLengthResult(t[e(463)],t.surfaceMode,t[e(439)]);case e(466):return this[e(403)](t[e(463)],t[e(478)],t[e(439)]);case"angle":return this[e(450)](t[e(463)],t[e(478)],t[e(439)]);case e(441):return this[e(412)](t.points,t.surfaceMode,t[e(439)]);default:throw new Error(e(459)+t[e(435)])}},emitUpdate(t,e={}){const n=ae;if(typeof t?.[n(405)]?.[n(449)]===n(457)){const i=this[n(465)](t[n(478)],t.pointSurfaceTypes);t[n(405)][n(449)]({type:t[n(435)],useTerrain:t[n(431)],surfaceMode:t[n(478)],surfaceType:i[n(469)],surfaceLabel:i.surfaceLabel,actualTerrain:i[n(480)],...e})}},resolveSurfaceMode(t={}){const e=ae;return["terrain",e(407),e(402),e(442)][e(418)](t[e(478)])?t.surfaceMode:t.useTerrain?e(414):e(442)},resolveMeasurementSurfaceType(t="auto",e=[]){const n=ae,i=[n(414),n(407),n(402),n(442)][n(418)](t)?t:"auto";return i===n(414)&&this[n(452)]()?n(414):e[n(418)](n(407))?n(407):e.includes(n(414))?n(414):e[n(418)](n(402))?n(402):i===n(407)?n(407):i===n(402)?"ellipsoid":n(402)},getMeasurementSurfaceInfo(t=ce(442),e=[]){const n=ce,i=this.resolveMeasurementSurfaceType(t,e),s={terrain:{surfaceType:"terrain",titlePrefix:"地形",surfaceLabel:n(409),actualTerrain:!0},scene:{surfaceType:n(407),titlePrefix:"",surfaceLabel:"",actualTerrain:!1},ellipsoid:{surfaceType:n(402),titlePrefix:"无地形",surfaceLabel:n(420),actualTerrain:!1}};return s[i]||s[n(402)]},getMeasureTitle(t,e){const n=ce;return t===n(443)?"角度":""+this.getMeasurementSurfaceInfo(e,[e])[n(411)]+({length:"长度",area:"面积",angle:"角度",height:"高差"}[t]||"")},getSessionPreviewSurfaceInfo(t){const e=ce;if(!t)return this[e(465)]("ellipsoid");const n=t.dynamicSurfaceTypes[e(473)]>0?t[e(410)]:t[e(439)];return this[e(465)](t[e(478)],n)},updatePreviewLineClampState(t){const e=ce;t?.[e(464)]?.[e(408)]&&(t[e(464)].polyline.clampToGround=this.shouldClampLineToGround(t[e(435)],this[e(458)](t)[e(469)]))},getInstruction(t,e){const n=ce;return"length"===t?0===e?n(453):"左键继续加点,左键双击或按回车结束长度测量。":t===n(466)?n(e<2?461:401):t===n(441)?n(0===e?476:415):0===e?"左键选择角度起点。":n(1===e?444:472)}};function he(){const t=["LEFT_CLICK","emitUpdate","viewer","576960FLMFxY","angle","surfaceMode","pointEntities","dynamicPositions","window","190075PxKFDx","keydown","getPickedPositionFinal","bindHeightEvents","activeMeasurement","position","RIGHT_CLICK","preventDefault","surfaceType","area","1902240oJzGII","bindAngleEvents","dynamicSurfaceTypes","4562334CRvVZn","height","handler","updatePreviewLineClampState","text","POSITIVE_INFINITY","type","Enter","cancelled","updatePreviewLabel","2671437bTXKsW","showPreviewCursor","LEFT_DOUBLE_CLICK","trimDuplicatedTrailingPoints","1891606EOerKX","getInstruction","pointSurfaceTypes","13535380jETEsT","ScreenSpaceEventType","ScreenSpaceEventHandler","cloneCartesian","measureKeydownHandler","points","setInputAction","endPosition","getAreaPreview","cancelScheduledMouseMoveWork","getLengthPreview","function","MOUSE_MOVE","drawing","push","getAnglePreview","addEventListener","getPickedPosition","scene","length","preview","getHeightPreview","Cesium","slice","handleResultCloseClick","bindEnterFinishEvent","scheduleSessionMouseMove","finalizeSession","68rMvObj","hidePreviewCursor","1YvoBdQ","map","clearCurrent","9TXhyQp"];return(he=function(){return t})()}function pe(t,e){const n=he();return(pe=function(t,e){return n[t-=467]})(t,e)}!function(){const t=pe,e=he();for(;;)try{if(500005==parseInt(t(487))/1*(parseInt(t(527))/2)+-parseInt(t(523))/3+parseInt(t(485))/4*(-parseInt(t(500))/5)+parseInt(t(510))/6+-parseInt(t(513))/7+parseInt(t(494))/8+-parseInt(t(490))/9*(-parseInt(t(530))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const de={bindEnterFinishEvent(t){const e=pe;typeof globalThis[e(499)]?.[e(473)]===e(468)&&(this[e(534)]&&(globalThis[e(499)].removeEventListener(e(501),this[e(534)]),this[e(534)]=null),this.measureKeydownHandler=n=>{const i=e;n.key===i(520)&&t&&!t[i(521)]&&this[i(504)]===t&&(t[i(535)][i(476)]<(t=>{const n=e;return t===n(476)?2:t===n(509)||t===n(495)?3:t===n(514)?2:Number[n(518)]})(t[i(519)])||(n[i(507)](),this[i(539)](),this.finalizeSession(t)))},globalThis[e(499)].addEventListener("keydown",this[e(534)]))},bindEvents(t){const e=pe,n=this[e(479)];this[e(515)]=new(n[e(532)])(this[e(493)][e(475)].canvas),this[e(482)](t),"angle"!==t[e(519)]?t[e(519)]!==e(514)?(this.handler[e(536)](async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this.getPickedPositionFinal(n[i(505)],t[i(496)]);if(t.cancelled||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this.cloneCartesian(r)),t[i(529)][i(471)](s[i(508)]),t[i(498)]=t.points[i(488)](t=>this[i(533)](t)),t[i(512)]=t.pointSurfaceTypes[i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t);const o="length"===t[i(519)]?this.getLengthPreview(t[i(535)],t[i(496)],t.pointSurfaceTypes):this[i(538)](t[i(535)]);this[i(522)](t,o[i(517)],o[i(505)]),this.emitUpdate(t,{phase:i(470),instruction:this.getInstruction(t.type,t[i(535)][i(476)]),formattedValue:o[i(517)]})},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this.scheduleSessionMouseMove(t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t.surfaceMode,{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t[n(529)].slice(),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t[n(498)]=[...t[n(535)],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=t[n(519)]===n(476)?this[n(467)](t[n(498)],t[n(496)],t[n(512)]):this[n(538)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t[n(535)][n(476)]),formattedValue:o[n(517)]})})},n[e(531)].MOUSE_MOVE),this[e(515)][e(536)](async n=>{const i=e;this[i(539)]();const s=(await this[i(502)](n[i(505)],t.surfaceMode))?.position;if(t.cancelled||this[i(504)]!==t)return;this[i(526)](t,s);const r="length"===t[i(519)]?2:3;t[i(535)].length<r||this.finalizeSession(t)},n[e(531)][e(525)])):this[e(503)](t):this[e(511)](t)},bindAngleEvents(t){const e=pe,n=this.Cesium;this.handler.setInputAction(async e=>{const n=pe;if(this[n(539)](),this[n(481)](e[n(505)]))return;const i=await this[n(502)](e[n(505)],t[n(496)]);if(t.cancelled||this[n(504)]!==t)return;if(!i)return;const s=i[n(505)];t.points[n(471)](this[n(533)](s)),t[n(529)].push(i.surfaceType),t.dynamicPositions=t[n(535)][n(488)](t=>this.cloneCartesian(t)),t[n(512)]=t[n(529)].slice(),t[n(497)].push(this.createPointEntity(s)),this[n(516)](t),3!==t.points.length?this[n(492)](t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:2===t.points[n(476)]?this[n(472)](t[n(535)]).text:""}):this[n(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this.getPickedPosition(e,t[n(496)],{pickStage:n(477)});if(!s)return this[n(486)](t),t[n(512)]=t[n(529)][n(480)](),void this[n(516)](t);const r=s.position;if(this[n(524)](t,r),1===t[n(535)][n(476)])return t[n(498)]=[t[n(535)][0],this.cloneCartesian(r)],t[n(512)]=[...t[n(529)],s.surfaceType],this[n(516)](t),void this[n(522)](t,"",null);t.dynamicPositions=[t[n(535)][0],t[n(535)][1],this[n(533)](r)],t.dynamicSurfaceTypes=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(472)](t[n(498)]);this[n(522)](t,o[n(517)],o[n(505)]),this[n(492)](t,{phase:"drawing",instruction:this.getInstruction(t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this.handler[e(536)](()=>{this[e(489)]()},n.ScreenSpaceEventType[e(506)])},bindHeightEvents(t){const e=pe,n=this[e(479)];this[e(515)].setInputAction(async n=>{const i=e;if(this[i(539)](),this[i(481)](n.position))return;const s=await this[i(502)](n[i(505)],t.surfaceMode);if(t[i(521)]||this[i(504)]!==t)return;if(!s)return;const r=s[i(505)];t[i(535)][i(471)](this[i(533)](r)),t.pointSurfaceTypes[i(471)](s.surfaceType),t[i(498)]=t[i(535)].map(t=>this[i(533)](t)),t[i(512)]=t[i(529)][i(480)](),t[i(497)][i(471)](this.createPointEntity(r)),this[i(516)](t),2!==t[i(535)][i(476)]?this[i(492)](t,{phase:i(470),instruction:this.getInstruction(t[i(519)],t[i(535)].length),formattedValue:""}):this[i(484)](t)},n[e(531)][e(491)]),this[e(515)][e(536)](n=>{const i=e;this[i(483)](t,n[i(537)],e=>{const n=i;if(0===t[n(535)][n(476)])return;const s=this[n(474)](e,t[n(496)],{pickStage:n(477)});if(!s)return this.hidePreviewCursor(t),t[n(512)]=t.pointSurfaceTypes[n(480)](),void this[n(516)](t);const r=s[n(505)];this[n(524)](t,r),t.dynamicPositions=[t[n(535)][0],this[n(533)](r)],t[n(512)]=[...t[n(529)],s[n(508)]],this[n(516)](t);const o=this[n(478)](t[n(498)]);this[n(522)](t,o[n(517)],o.position),this.emitUpdate(t,{phase:n(470),instruction:this[n(528)](t[n(519)],t.points[n(476)]),formattedValue:o[n(517)]})})},n[e(531)][e(469)]),this[e(515)][e(536)](()=>{this.clearCurrent()},n[e(531)][e(506)])}};function me(t,e){const n=ge();return(me=function(t,e){return n[t-=317]})(t,e)}function ge(){const t=["slice","EllipsoidGeodesic","cartesianToCartographic","terrain","13045JVbUBS","64yDNXrp","calculateSurfaceDistance","formatDistance","serializePoint","getMeasureTitle","Cesium","33435390GqZMYj","scene","map","surfaceLabel","surfaceDistance","length","2150298DLHgVq","ellipsoid","cloneCartesian","16dqxHKx","surfaceType","10938522oTJgOp","buildSampledPolyline","2824920KyrLcK","setEndPoints","224505zLlXaM","624YvEjUZ","1824016RTfVFm","isFinite","calculateCartesianDistance","reduce","segments"];return(ge=function(){return t})()}!function(){const t=me,e=ge();for(;;)try{if(984469==parseInt(t(348))/1*(-parseInt(t(342))/2)+-parseInt(t(346))/3+parseInt(t(317))/4+parseInt(t(326))/5*(parseInt(t(349))/6)+parseInt(t(344))/7+parseInt(t(327))/8*(-parseInt(t(339))/9)+parseInt(t(333))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fe={async buildLengthResult(t,e,n=[]){const i=me,s=this.getMeasurementSurfaceInfo(e,n);let r=0,o=t[i(335)](t=>this[i(341)](t)),a=[];if(s[i(343)]===i(325)){const e=await this[i(345)](t,{closed:!1,withTerrain:!0,step:30,maxSamples:160});o=e.flattenedPositions,a=e[i(321)],r=a[i(320)]((t,e)=>t+this[i(319)](e),0)}else s.surfaceType===i(334)?(a=t[i(322)](0,-1)[i(335)]((e,n)=>[this[i(341)](e),this[i(341)](t[n+1])]),r=this[i(319)](t)):(a=t.slice(0,-1).map((e,n)=>[this[i(341)](e),this.cloneCartesian(t[n+1])]),r=this[i(328)](t));return{type:"length",title:this[i(331)](i(338),s[i(343)]),surfaceType:s[i(343)],surfaceLabel:s[i(336)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(329)](r),displayPositions:o,displaySegments:a,labelPosition:o[o[i(338)]-1]||t[t[i(338)]-1],pointCount:t[i(338)],points:t[i(335)](t=>this[i(330)](t))}},getLengthPreview(t,e,n=[]){const i=me;if(t[i(338)]<2)return{text:"",position:null};const s=this.getMeasurementSurfaceInfo(e,n)[i(343)]===i(340)?this[i(328)](t):this[i(319)](t);return{text:this[i(329)](s),position:t[t.length-1]}},calculateSurfaceDistance(t){const e=me,n=this[e(332)];if(t[e(338)]<2)return 0;const i=new(n[e(323)]);let s=0;for(let n=0;n<t[e(338)]-1;n+=1){const r=this.cartesianToCartographic(t[n]),o=this[e(324)](t[n+1]);i[e(347)](r,o),s+=Number[e(318)](i[e(337)])?i[e(337)]:0}return s}};function Ae(t,e){const n=Ie();return(Ae=function(t,e){return n[t-=158]})(t,e)}function Ie(){const t=["35wBYKhM","getMeasurementSurfaceInfo","defined","EPSILON6","getCenterPosition","viewer","actualTerrain","subtract","buildSampledPolyline","map","Cartesian2","projectPointOntoEllipsoid","surfaceLabel","calculatePolygonArea","48uErDcP","area","magnitude","cartesianToCartographic","368229BMbStZ","24453lpBGei","cartographicToCartesian","getMeasureTitle","14994ctPyNF","13814HsSJoz","Math","formatArea","Cartesian3","PolygonPipeline","height","calculateTriangleArea","1146565xOExZK","Cesium","2661450CvQluM","center","length","reduce","891040yeFYZl","cloneCartesian","abs","fromPoints","scene","BoundingSphere","ellipsoid","surfaceType","165YiHYNS","flattenedPositions","terrain","projectPointsOntoPlane"];return(Ie=function(){return t})()}!function(){const t=Ae,e=Ie();for(;;)try{if(275055==-parseInt(t(184))/1+parseInt(t(189))/2*(parseInt(t(162))/3)+parseInt(t(202))/4+-parseInt(t(196))/5+parseInt(t(188))/6*(-parseInt(t(166))/7)+parseInt(t(180))/8*(parseInt(t(185))/9)+parseInt(t(198))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce={async buildAreaResult(t,e,n=[]){const i=Ae,s=this[i(167)](e,n);let r=t.map(t=>this[i(203)](t)),o=t[i(175)]((e,n)=>[this.cloneCartesian(e),this[i(203)](t[(n+1)%t[i(200)]])]);if(s[i(161)]===i(164)){const e=await this[i(174)](t,{closed:!0,withTerrain:!0,step:25,maxSamples:120});r=e[i(163)],o=e.segments}const a=this[i(179)](r);return{type:i(181),title:this[i(187)](i(181),s[i(161)]),surfaceType:s[i(161)],surfaceLabel:s[i(178)],actualTerrain:s[i(172)],value:a,formattedValue:this[i(191)](a),displayPositions:r,displaySegments:o,labelPosition:this[i(170)](r),pointCount:t[i(200)],points:t[i(175)](t=>this.serializePoint(t))}},getAreaPreview(t){const e=Ae;return t[e(200)]<3?{text:"",position:null}:{text:this[e(191)](this.calculatePolygonArea(t)),position:this[e(170)](t)}},calculatePolygonArea(t){const e=Ae,n=this[e(197)];if(t[e(200)]<3)return 0;const i=n.EllipsoidTangentPlane.fromPoints(t,this[e(171)].scene.globe[e(160)])[e(165)](t);if(!i||i.length<3)return 0;const s=n[e(193)].triangulate(i);if(!s||s[e(200)]<3)return 0;let r=0;for(let n=0;n<s[e(200)];n+=3)r+=this[e(195)](t[s[n]],t[s[n+1]],t[s[n+2]]);return r},calculateTriangleArea(t,e,n){const i=Ae,s=this[i(197)],r=s.Cartesian3.subtract(e,t,new(s[i(192)])),o=s[i(192)][i(173)](n,t,new(s[i(192)])),a=s.Cartesian3.cross(r,o,new(s[i(192)]));return.5*s[i(192)][i(182)](a)},getCenterPosition(t){const e=Ae,n=this[e(197)];if(0===t[e(200)])return null;if(t[e(200)]<3)return n[e(159)][e(205)](t)[e(199)];const i=n.EllipsoidTangentPlane[e(205)](t,this[e(171)][e(158)].globe[e(160)]),s=i.projectPointsOntoPlane(t);if(!s||s[e(200)]<3)return n[e(159)].fromPoints(t)[e(199)];let r=0,o=s[e(200)]-1;const a=new(n[e(176)])(0,0);for(let t=0;t<s.length;o=t,t+=1){const e=s[t],n=s[o],i=e.x*n.y-n.x*e.y;a.x+=(e.x+n.x)*i,a.y+=(e.y+n.y)*i,r+=i}if(Math[e(204)](r)<n.Math.EPSILON10)return n[e(159)][e(205)](t)[e(199)];const u=1/(3*r);a.x*=u,a.y*=u;const c=i[e(177)](a);if(!n[e(168)](c))return n[e(159)].fromPoints(t).center;const l=t[e(201)]((t,n)=>{const i=e;return t+(this[i(183)](n)[i(194)]||0)},0)/t[e(200)];if(Math[e(204)](l)<n[e(190)][e(169)])return c;const h=this[e(183)](c);return h[e(194)]=l,this[e(186)](h)}};function Me(){const t=["715338rzjJxz","18GVDuoN","65RAZoal","cloneCartesian","surfaceType","6720344idPSBy","8gMnasJ","clamp","1962LbERys","normalize","84TSnIIY","Cartesian3","subtract","248282tXQOBt","Math","getMeasurementSurfaceInfo","serializePoint","702381ZVyoYl","surfaceLabel","formatAngle","1871891uvyUHF","40690pGSdiv","getMeasureTitle","calculateAngle","dot","10632699MzVIJn","length","map","angle"];return(Me=function(){return t})()}function ve(t,e){const n=Me();return(ve=function(t,e){return n[t-=221]})(t,e)}!function(){const t=ve,e=Me();for(;;)try{if(934596==-parseInt(t(233))/1+parseInt(t(229))/2*(-parseInt(t(246))/3)+-parseInt(t(221))/4+-parseInt(t(247))/5*(parseInt(t(245))/6)+-parseInt(t(236))/7*(parseInt(t(222))/8)+-parseInt(t(224))/9*(parseInt(t(237))/10)+-parseInt(t(241))/11*(-parseInt(t(226))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const be={buildAngleResult(t,e,n=[]){const i=ve,s=this[i(231)](e,n),r=this.calculateAngle(t);return{type:i(244),title:this[i(238)](i(244),s[i(249)]),surfaceType:s[i(249)],surfaceLabel:s[i(234)],actualTerrain:s.actualTerrain,value:r,formattedValue:this[i(235)](r),displayPositions:t.map(t=>this.cloneCartesian(t)),displaySegments:[[this.cloneCartesian(t[0]),this[i(248)](t[1])],[this[i(248)](t[1]),this[i(248)](t[2])]],labelPosition:t[1],pointCount:t[i(242)],points:t[i(243)](t=>this[i(232)](t))}},getAnglePreview(t){const e=ve;return t[e(242)]<3?{text:"",position:null}:{text:this[e(235)](this[e(239)](t)),position:t[1]}},calculateAngle(t){const e=ve,n=this.Cesium;if(t[e(242)]<3)return 0;const i=t[1],s=n.Cartesian3[e(225)](n[e(227)][e(228)](t[0],i,new(n[e(227)])),new(n[e(227)])),r=n[e(227)][e(225)](n[e(227)][e(228)](t[2],i,new(n[e(227)])),new(n[e(227)])),o=n.Math[e(223)](n[e(227)][e(240)](s,r),-1,1);return n[e(230)].toDegrees(Math.acos(o))}};function we(t,e){const n=Ee();return(we=function(t,e){return n[t-=300]})(t,e)}!function(){const t=we,e=Ee();for(;;)try{if(177650==parseInt(t(330))/1*(-parseInt(t(312))/2)+parseInt(t(327))/3*(-parseInt(t(309))/4)+-parseInt(t(305))/5+-parseInt(t(317))/6+parseInt(t(319))/7+parseInt(t(315))/8+-parseInt(t(323))/9*(-parseInt(t(326))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ye={buildHeightResult(t,e,n=[]){const i=we,s=this[i(335)](e,n),r=this.cloneCartesian(t[0]),o=this[i(334)](t[1]),a=this[i(322)](r,o),{heightDifference:u}=this[i(318)](r,o);return{type:i(324),title:this.getMeasureTitle("height",s[i(303)]),surfaceType:s[i(303)],surfaceLabel:s[i(328)],actualTerrain:s.actualTerrain,value:u,formattedValue:this[i(311)](u),displayPositions:a[i(308)],displaySegments:a[i(331)],labelPosition:a[i(333)],pointCount:t[i(306)],points:t[i(321)](t=>this[i(304)](t))}},getHeightPreview(t){const e=we;if(t.length<2)return{text:"",position:null};const n=this.buildHeightGuideShape(t[0],t[1]),{heightDifference:i}=this[e(318)](t[0],t[1]);return{text:e(325)+this[e(311)](i),position:n[e(333)]}},getHeightDifferenceInfo(t,e){const n=we,i=this[n(307)](t),s=this[n(307)](e),r=i[n(324)]||0,o=s[n(324)]||0;return{heightDifference:Math[n(314)](r-o),startHeight:r,endHeight:o}},getMidpointPosition(t,e){const n=we;return this[n(300)].Cartesian3[n(320)](t,e,new(this[n(300)][n(302)]))},buildHeightGuideShape(t,e){const n=we,i=this[n(300)],s=this[n(307)](t),r=this.cartesianToCartographic(e),o=[t,this[n(332)]({longitude:r[n(336)],latitude:r[n(310)],height:s[n(324)]||0}),e][n(329)]((t,e,s)=>{const r=n;return 0===e||!this[r(301)](t,s[e-1],i[r(313)].EPSILON6)}),a=[];for(let t=0;t<o[n(306)]-1;t+=1)a.push([this[n(334)](o[t]),this.cloneCartesian(o[t+1])]);const u=o[n(306)]>=3?this[n(316)](o[1],o[2]):this[n(316)](o[0],o[o.length-1]);return{positions:o[n(321)](t=>this[n(334)](t)),segments:a,labelPosition:u}}};function Ee(){const t=["10VahqjT","1977iANcVo","surfaceLabel","filter","1hzKVhi","segments","cartographicToCartesian","labelPosition","cloneCartesian","getMeasurementSurfaceInfo","longitude","Cesium","isSamePosition","Cartesian3","surfaceType","serializePoint","174025RvupvL","length","cartesianToCartographic","positions","1876sCrPyI","latitude","formatDistance","680398dGSeVb","Math","abs","188272fljHDZ","getMidpointPosition","1516794rdSbfk","getHeightDifferenceInfo","1898218oYHAFy","midpoint","map","buildHeightGuideShape","7378344JzHHGT","height","高差:"];return(Ee=function(){return t})()}function Re(t,e){const n=Ne();return(Re=function(t,e){return n[t-=214]})(t,e)}function Ne(){const t=["pointEntities","24966FkcHTg","4178272gxFrJW","type","label","Cartesian3","5495754MTPsKK","updatePreviewLineClampState","push","RIGHT","length","pop","pointSurfaceTypes","shouldClampLineToGround","height","VerticalOrigin","7idKpOP","dynamicSurfaceTypes","show","auto","point","Cesium","getDynamicLinePositions","WHITE","2347138ThobCX","positions","getRenderableLinePositions","ZERO","FILL","5759922uygwnh","cloneCartesian","previewLineEntity","points","buildHeightGuideShape","dynamicPositions","5aoBOeT","resultLabelFont","entities","CENTER","createLineMaterial","undefined","document","text","previewLabelEntity","68103717lchjJy","line","1elNOvt","slice","Color","position","removeEntities","getColorByType","add","map","getSessionPreviewSurfaceInfo","HorizontalOrigin","viewer","surfaceType","area","CallbackProperty","previewPointEntity","Cartesian2","5829888BeVHvp","isSamePosition","2090GSVGOO"];return(Ne=function(){return t})()}!function(){const t=Re,e=Ne();for(;;)try{if(988207==parseInt(t(224))/1*(-parseInt(t(267))/2)+-parseInt(t(272))/3+-parseInt(t(245))/4*(parseInt(t(278))/5)+parseInt(t(249))/6*(-parseInt(t(259))/7)+-parseInt(t(240))/8+parseInt(t(244))/9*(parseInt(t(242))/10)+parseInt(t(222))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Se={createPreviewEntities(t){const e=Re,n=this[e(264)],i=this[e(229)](t[e(246)]),s=t[e(246)]===e(257),r=typeof globalThis[e(219)]!==e(218)&&this.shouldRenderLineViaOverlay(t[e(246)]),o=this[e(217)](t.type,i[e(223)]),a=this[e(217)](t.type,i.line,{depthFail:!0}),u=this[e(234)][e(215)][e(230)]({polyline:{positions:new(n[e(237)])(()=>this[e(269)](t[e(246)],this[e(265)](t),this[e(232)](t)[e(235)]),!1),width:4,clampToGround:this[e(256)](t[e(246)],this.getSessionPreviewSurfaceInfo(t)[e(235)]),material:o,depthFailMaterial:a}}),c=this[e(234)][e(215)][e(230)]({position:n[e(248)].ZERO,point:{pixelSize:10,color:i[e(263)],outlineColor:n.Color[e(266)],outlineWidth:2,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1}),l=this[e(234)].entities[e(230)]({position:n[e(248)][e(270)],label:{text:"",font:this[e(214)],showBackground:!0,backgroundColor:i.background,fillColor:n[e(226)].WHITE,style:n.LabelStyle[e(271)],eyeOffset:this.labelEyeOffset,pixelOffset:s?new(n[e(239)])(-20,-8):this.resultLabelPixelOffset,horizontalOrigin:s?n[e(233)][e(252)]:n[e(233)][e(216)],verticalOrigin:s?n[e(258)][e(216)]:n[e(258)].BOTTOM,disableDepthTestDistance:Number.POSITIVE_INFINITY},show:!1});t[e(274)]=u,t[e(238)]=c,t[e(221)]=l,r&&(u.show=!1),t.previewEntities[e(251)](u,c,l)},updatePreviewLabel(t,e,n){const i=Re;if(t[i(221)])return t.surfaceMode===i(262)?(t[i(221)][i(261)]=!1,void(t[i(221)].label.text="")):e&&n?(t[i(221)][i(227)]=n,t[i(221)][i(247)].text=e,void(t[i(221)][i(261)]=!0)):(t[i(221)][i(261)]=!1,void(t[i(221)][i(247)][i(220)]=""))},showPreviewCursor(t,e){const n=Re;t[n(238)]&&(t.previewPointEntity[n(227)]=e,t[n(238)][n(261)]=!0)},hidePreviewCursor(t){const e=Re;t[e(238)]&&(t[e(238)][e(261)]=!1)},trimDuplicatedTrailingPoints(t,e){const n=Re;if(e&&!(t[n(275)][n(253)]<2)){for(;t.points[n(253)]>=2;){const i=t[n(275)][t[n(275)][n(253)]-1],s=t[n(275)][t[n(275)].length-2];if(!this.isSamePosition(i,e)||!this[n(241)](s,e))break;t[n(275)][n(254)](),t[n(255)].pop();const r=t[n(243)].pop();this[n(228)](r?[r]:[])}t.dynamicPositions=t[n(275)][n(231)](t=>this[n(273)](t)),t[n(260)]=t[n(255)][n(225)](),this[n(250)](t)}},getDynamicLinePositions(t){const e=Re;return t&&0!==t[e(277)].length?"height"===t[e(246)]&&t[e(277)][e(253)]>1?this[e(276)](t.dynamicPositions[0],t[e(277)][1])[e(268)]:t[e(246)]===e(236)&&t[e(277)][e(253)]>1?[...t.dynamicPositions,t[e(277)][0]]:t[e(277)]:[]}};function Te(){const t=["ScreenSpaceEventType","removeEntities","devicePixelRatio","canvas","shouldRenderLineViaOverlay","setCloseButtonHover","21177882qQcYjz","measureBillboardOrigin","line","LabelStyle","RIGHT","resultLabelLineHeight","add","10DKHGVq","CallbackProperty","resultLabelFont","resultLabelPixelOffset","resultLabelPaddingTop","terrain","find","isHoveringCloseButton","Cartesian3","ScreenSpaceEventHandler","window","measurePixelOffset","background","applyCursorStyle","area","displaySegments","setInputAction","getColorByType","defined","6oXOZkR","scale","entities","handleResultCloseClick","shouldClampLineToGround","formattedValue","document","#fde68a","resultInteractionHandler","fill","1657728OoQePC","HorizontalOrigin","Cartesian2","stroke","max","left","filter","horizontal","displayPositions","FILL","ceil","460GlrXVy","points","refreshForegroundLineOverlayState","28px sans-serif","clock","resultLabelCloseGap","CENTER","position","function","push","type","3742270hpzDKN","resultLabelPaddingX","measureCloseRect","Cesium","image","width","lineWidth","labelEyeOffset","viewer","getEntityBillboardBounds","font","toDataURL","高差:","activeMeasurement","#ffffff","MOUSE_MOVE","wgs84ToWindowCoordinates","rgba(255, 255, 255, 0.96)","labelPosition","measureGroupId","createPointEntity","VerticalOrigin","split","createLineMaterial","createElement","ClassificationType","some","image/png","beginPath","removeResultGroup","textBaseline","measureBillboardSize","scene","fillStyle","measureHasCloseButton","map","260990TtxCWd","surfaceType","Color","11188hhUNkd","lineTo","height","angle","resultGroups","onRemove","BOTTOM","findIndex","includes","rgba(255, 255, 255, 0.16)","length","forEach","currentTime","177805QdQcEI","callbacks","result","createClosableLabelGraphic","getCloseButtonEntityAt","POSITIVE_INFINITY","title","vertical","drawRoundedRect","resultLabelCloseSize","moveTo","isCloseButtonHit","5132334wEXHbG","WHITE"];return(Te=function(){return t})()}function Pe(t,e){const n=Te();return(Pe=function(t,e){return n[t-=282]})(t,e)}!function(){const t=Pe,e=Te();for(;;)try{if(574412==-parseInt(t(377))/1+-parseInt(t(361))/2*(parseInt(t(293))/3)+-parseInt(t(364))/4*(-parseInt(t(314))/5)+-parseInt(t(389))/6+-parseInt(t(325))/7+-parseInt(t(303))/8+parseInt(t(397))/9*(parseInt(t(404))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Le={commitResult(t,e){const n=Pe,i=this.Cesium,s=this[n(291)](t[n(324)]),r=[],o=void 0!==globalThis.document&&this[n(395)](t.type),a=this[n(348)](t.type,s.line),u=this.createLineMaterial(t[n(324)],s[n(399)],{depthFail:!0});if(t[n(324)]===n(288)){const t=e[n(362)]!==n(409)?e[n(311)][n(360)](t=>{const e=n,s=i[e(282)].normalize(t,new(i[e(282)]));return i[e(282)][e(403)](t,i[e(282)].multiplyByScalar(s,.5,new i.Cartesian3),new(i[e(282)]))}):e[n(311)];r[n(323)](this[n(333)].entities.add({polygon:{hierarchy:t,material:s[n(302)],perPositionHeight:e.surfaceType!==n(409),classificationType:e[n(362)]===n(409)?i[n(350)].TERRAIN:void 0,zIndex:e[n(362)]===n(409)?1:void 0}}))}if(!o){const s=e[n(289)]&&e[n(289)][n(374)]>0?e.displaySegments:["area"===t.type?[...e[n(311)],e[n(311)][0]]:e.displayPositions];r[n(323)](...s[n(360)](s=>this[n(333)][n(295)][n(403)]({polyline:{positions:new(i[n(405)])(()=>this.getRenderableLinePositions(t[n(324)],s,e[n(362)],{clipPoints:!0}),!1),width:4,clampToGround:this[n(297)](t[n(324)],e[n(362)]),material:a,depthFailMaterial:u}})))}return r[n(323)](...t[n(315)][n(360)](t=>this[n(345)](t))),r.push(this.createResultLabelEntity(t,e,s)),r},createResultLabelEntity(t,e,n){const i=Pe,s=this[i(328)],r=e[i(383)]+"\n"+e[i(298)],o="height"===t[i(324)];if(![i(374),i(288),i(367),i(366)][i(372)](t.type))return this[i(333)][i(295)][i(403)]({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this[i(332)],pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s.VerticalOrigin[i(370)],disableDepthTestDistance:Number.POSITIVE_INFINITY}});if(!globalThis[i(299)])return o?this[i(333)][i(295)][i(403)]({position:e.labelPosition,label:{text:i(337)+e.formattedValue,font:i(317),showBackground:!1,fillColor:s[i(363)].fromCssColorString(i(300)),style:s.LabelStyle.FILL_AND_OUTLINE,outlineColor:s[i(363)].WHITE,outlineWidth:4,eyeOffset:this[i(332)],pixelOffset:new(s[i(305)])(-20,-8),horizontalOrigin:s[i(304)][i(401)],verticalOrigin:s.VerticalOrigin[i(320)],disableDepthTestDistance:Number[i(382)]}}):this[i(333)][i(295)].add({position:e[i(343)],label:{text:r,font:this[i(406)],showBackground:!0,backgroundColor:n[i(286)],fillColor:s[i(363)][i(390)],style:s[i(400)][i(312)],eyeOffset:this.labelEyeOffset,pixelOffset:this[i(407)],horizontalOrigin:s[i(304)][i(320)],verticalOrigin:s[i(346)][i(370)],disableDepthTestDistance:Number[i(382)]}});const a=this[i(380)](o?i(337)+e.formattedValue:r,n[i(286)]),u=o?new(s[i(305)])(-20,-8):this[i(407)],c=o?s[i(304)][i(401)]:s[i(304)].CENTER,l=o?s[i(346)].CENTER:s[i(346)][i(370)],h=this.viewer.entities.add({position:e[i(343)],billboard:{image:a[i(329)],width:a[i(330)],height:a[i(366)],horizontalOrigin:c,verticalOrigin:l,eyeOffset:this[i(332)],pixelOffset:u,disableDepthTestDistance:Number[i(382)]}});return h[i(344)]=t.id,h.measureHasCloseButton=!0,h.measureCloseRect=a.closeRect,h[i(356)]={width:a.width,height:a[i(366)]},h[i(398)]={horizontal:c,vertical:l},h[i(285)]={x:u.x,y:u.y},h},createClosableLabelGraphic(t,e){const n=Pe,i=t[n(347)]("\n")[n(309)](t=>""!==t),s=i.length>0?i:[""],r=document[n(349)](n(394)),o=r.getContext("2d"),a=Math[n(307)](...s[n(360)](t=>{const e=n;return o[e(335)]=this[e(406)],o.measureText(t).width})),u=Math[n(313)](2*this[n(326)]+a+this[n(319)]+this[n(386)]),c=Math[n(313)](this[n(408)]+s.length*this[n(402)]+this.resultLabelPaddingBottom),l=globalThis[n(284)]?.[n(393)]||1;r[n(330)]=Math[n(313)](u*l),r[n(366)]=Math[n(313)](c*l),o[n(294)](l,l),o[n(335)]=this[n(406)],o.textAlign=n(308),o[n(355)]="middle",this[n(385)](o,0,0,u,c,10),o[n(358)]=e?.toCssColorString?.()||"rgba(15, 23, 42, 0.92)",o[n(302)]();const h={x:u-this[n(326)]-this[n(386)],y:8,width:this[n(386)],height:this.resultLabelCloseSize};return this[n(385)](o,h.x,h.y,h[n(330)],h[n(366)],6),o.fillStyle=n(373),o.fill(),o[n(353)](),o.strokeStyle=n(342),o[n(331)]=1.6,o[n(387)](h.x+5,h.y+5),o[n(365)](h.x+h.width-5,h.y+h[n(366)]-5),o[n(387)](h.x+h.width-5,h.y+5),o.lineTo(h.x+5,h.y+h[n(366)]-5),o[n(306)](),o[n(358)]=n(339),s[n(375)]((t,e)=>{const i=n,s=this.resultLabelPaddingTop+(e+.5)*this[i(402)];o.fillText(t,this.resultLabelPaddingX,s)}),{image:r[n(336)](n(352)),width:u,height:c,closeRect:h}},initResultInteractionHandler(){const t=Pe,e=this[t(328)];this[t(301)]=new(e[t(283)])(this.viewer[t(357)][t(394)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()?this.updateCloseButtonHover(e.endPosition):this[n(396)](!1)},e[t(391)][t(340)]),this[t(301)][t(290)](e=>{const n=t;this.hasClosableResults()&&(this[n(338)]||this[n(296)](e[n(321)]))},e.ScreenSpaceEventType.LEFT_CLICK)},handleResultCloseClick(t){const e=Pe,n=this[e(381)](t);if(!n||!n.measureHasCloseButton)return!1;const i=this[e(354)](n.measureGroupId);return i&&this[e(396)](!1),i},updateCloseButtonHover(t){const e=Pe,n=this[e(381)](t),i=Boolean(n&&n[e(359)]);this.setCloseButtonHover(i)},setCloseButtonHover(t){const e=Pe;this.isHoveringCloseButton!==t&&(this[e(411)]=t,this[e(287)]())},hasClosableResults(){const t=Pe;return this[t(368)][t(351)](e=>[t(374),t(288),"angle",t(366)][t(372)](e?.result?.[t(324)]))},getCloseButtonEntityAt(t){const e=Pe;if(!t)return null;for(const n of this.resultGroups){const i=n?.[e(295)]?.[e(410)](t=>t?.[e(359)]);if(i&&this[e(388)](i,t))return i}return null},isCloseButtonHit(t,e){const n=Pe,i=this[n(334)](t),s=t[n(327)];if(!i||!s)return!1;const r=e.x-i.left,o=e.y-i.top;return r>=s.x&&r<=s.x+s[n(330)]&&o>=s.y&&o<=s.y+s[n(366)]},getEntityBillboardBounds(t){const e=Pe,n=this[e(328)],i=this.getEntityPosition(t);if(!i)return null;const s=n.SceneTransforms[e(341)](this[e(333)][e(357)],i);if(!n[e(292)](s))return null;const r=t[e(356)],o=t[e(285)]||{x:0,y:0},a=t[e(398)]||{horizontal:n.HorizontalOrigin[e(320)],vertical:n.VerticalOrigin[e(370)]};let u=s.x+o.x;a[e(310)]===n[e(304)].CENTER?u-=r[e(330)]/2:a.horizontal===n[e(304)][e(401)]&&(u-=r[e(330)]);let c=s.y+o.y;return a[e(384)]===n[e(346)][e(320)]?c-=r[e(366)]/2:a[e(384)]===n[e(346)][e(370)]&&(c-=r[e(366)]),{left:u,top:c,width:r[e(330)],height:r[e(366)]}},getEntityPosition(t){const e=Pe;return t?.[e(321)]?"function"==typeof t[e(321)].getValue?t.position.getValue(this[e(333)][e(318)][e(376)]):t.position:null},removeResultGroup(t,e={}){const n=Pe,i=this[n(368)][n(371)](e=>e.id===t);if(-1===i)return!1;const[s]=this[n(368)].splice(i,1);return this[n(392)](s[n(295)]),!1!==e.notify&&typeof s.callbacks?.[n(369)]===n(322)&&s[n(378)][n(369)](s[n(379)]),this[n(316)](),!0}},ke=Be;function De(){const t=["getPointClipWorldDistance","add",'" viewBox="0 0 ',"cartographicToCartesian","#f97316","9072514GFBSuG","drawingBufferHeight","entities","#0369a1",'" height="',"trimPolylineFromStart","scene","withAlpha","context","#22c55e","closePath",'<circle cx="',"includes","ellipsoid","getPixelSize",'" cy="',"reverse","liftLinePositionsAboveSurface","Cartesian3","trimPolylineFromEnd","12760XWcsVW","join","shouldLiftLineAboveSurface","drawingBufferWidth","depthFail","pointMarkerImage","viewer","area","map","#4ade80","lerp","1EzUVFM","623vgZWXE","#fb923c","pointMarkerSize","#9a3412","height","#38bdf8","data:image/svg+xml;charset=utf-8,","pointClipPixelRadius","length",'<svg xmlns="http://www.w3.org/2000/svg" width="',"2020sUBSdj","cloneCartesian","2676USwbTg","liftPositionAboveSurface","lineTo","#166534","Math","2563866IimTPQ",'" fill="#ffffff" stroke="#1f2937" stroke-width="2"/>',"fromCssColorString","Cesium","910778LiKrBM","9PxuSyX","moveTo","camera","#f43f5e","7560220AdzcZa","isArray","calculateCartesianDistance","min","1917096stioXx","quadraticCurveTo","Color",'" r="',"slice","cartesianToCartographic","WHITE"];return(De=function(){return t})()}function Be(t,e){const n=De();return(Be=function(t,e){return n[t-=248]})(t,e)}!function(){const t=Be,e=De();for(;;)try{if(471295==-parseInt(t(257))/1*(parseInt(t(279))/2)+-parseInt(t(288))/3+parseInt(t(270))/4*(parseInt(t(268))/5)+-parseInt(t(275))/6+-parseInt(t(258))/7*(-parseInt(t(320))/8)+parseInt(t(280))/9*(parseInt(t(284))/10)+parseInt(t(300))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ge={getPointClippedSegmentPositions(t){const e=Be;if(!t||t[e(266)]<2)return t||[];const n=this[e(286)](t);if(n<=this[e(278)][e(274)].EPSILON7)return t;const i=this[e(295)](t[0]),s=this[e(295)](t[t[e(266)]-1]),r=n-.05;if(r<=0)return[];const o=Math.min(i,.5*r),a=Math[e(287)](s,.5*r),u=this.trimPolylineFromStart(t,o);return u.length<2?[]:this[e(319)](u,a)},getRenderableLinePositions(t,e,n=ke(313),i={}){const s=ke;if(!Array[s(285)](e)||0===e[s(266)])return[];const r=this[s(248)](t,n)?this[s(317)](e):e[s(254)](t=>this[s(269)](t));return i.clipPoints?this.getPointClippedSegmentPositions(r):r},shouldLiftLineAboveSurface:(t,e=ke(313))=>!1,liftLinePositionsAboveSurface(t,e=1.5){const n=ke;return t[n(254)](t=>this[n(271)](t,e))},liftPositionAboveSurface(t,e=1.5){const n=ke,i=this[n(293)](t);return i?(i[n(262)]=(i.height||0)+e,this[n(298)](i)):this[n(269)](t)},getPointClipWorldDistance(t){const e=ke,n=this[e(278)],i=this.viewer[e(306)][e(308)],s=new n.BoundingSphere(t,1),r=this.viewer[e(282)][e(314)](s,i[e(249)],i[e(301)]);return!Number.isFinite(r)||r<=0?0:r*this[e(265)]},trimPolylineFromStart(t,e){const n=ke,i=this[n(278)];if(e<=0)return t[n(254)](t=>this[n(269)](t));let s=e;for(let e=0;e<t[n(266)]-1;e+=1){const r=t[e],o=t[e+1],a=i[n(318)].distance(r,o);if(s<a){const u=s/a;return[i.Cartesian3[n(256)](r,o,u,new(i[n(318)])),...t[n(292)](e+1).map(t=>this[n(269)](t))]}s-=a}return[]},trimPolylineFromEnd(t,e){const n=ke;if(e<=0)return t[n(254)](t=>this[n(269)](t));const i=t.slice()[n(316)]();return this[n(305)](i,e)[n(316)]()},shouldClampLineToGround(t,e=ke(313)){const n=ke;return(t===n(266)||t===n(253))&&e!==n(306)},createPointEntity(t){const e=ke,n=this[e(278)];return this[e(252)][e(302)][e(296)]({position:t,billboard:{image:this[e(251)],width:this[e(260)],height:this[e(260)],horizontalOrigin:n.HorizontalOrigin.CENTER,verticalOrigin:n.VerticalOrigin.CENTER,disableDepthTestDistance:Number.POSITIVE_INFINITY,eyeOffset:new(n[e(318)])(0,0,-8)}})},createPointMarkerImage(){const t=ke,e=this[t(260)],n=e/2,i=[t(267)+e+t(304)+e+t(297)+e+" "+e+'">',t(311)+n+t(315)+n+t(291)+7+t(276),"</svg>"][t(321)]("");return t(264)+encodeURIComponent(i)},drawRoundedRect(t,e,n,i,s,r){const o=ke,a=Math[o(287)](r,i/2,s/2);t.beginPath(),t[o(281)](e+a,n),t[o(272)](e+i-a,n),t[o(289)](e+i,n,e+i,n+a),t[o(272)](e+i,n+s-a),t[o(289)](e+i,n+s,e+i-a,n+s),t[o(272)](e+a,n+s),t.quadraticCurveTo(e,n+s,e,n+s-a),t.lineTo(e,n+a),t[o(289)](e,n,e+a,n),t[o(310)]()},getColorByType(t){const e=ke,n=this[e(278)];return{length:{line:n[e(290)][e(277)](e(263)),point:n.Color.fromCssColorString("#0ea5e9"),fill:n[e(290)][e(277)](e(263)).withAlpha(.18),background:n[e(290)].fromCssColorString(e(303))[e(307)](.88)},area:{line:n[e(290)][e(277)](e(259)),point:n[e(290)][e(277)](e(299)),fill:n[e(290)][e(277)]("#fb923c")[e(307)](.28),background:n[e(290)].fromCssColorString(e(261))[e(307)](.88)},angle:{line:n.Color.fromCssColorString(e(255)),point:n[e(290)][e(277)](e(309)),fill:n[e(290)][e(277)](e(255))[e(307)](.18),background:n.Color[e(277)](e(273)).withAlpha(.88)},height:{line:n[e(290)].fromCssColorString("#f43f5e"),point:n[e(290)][e(277)]("#e11d48"),fill:n[e(290)].fromCssColorString(e(283))[e(307)](.18),background:n[e(290)].fromCssColorString("#9f1239")[e(307)](.88)}}[t]},createLineMaterial(t,e,n={}){const i=ke;if(![i(262),"angle"][i(312)](t))return e;const s=this[i(278)];return new s.PolylineOutlineMaterialProperty({color:e,outlineColor:s.Color[i(294)][i(307)](n[i(250)]?.96:.82),outlineWidth:n[i(250)]?2:1})}};function Oe(t,e){const n=Ye();return(Oe=function(t,e){return n[t-=415]})(t,e)}!function(){const t=Oe,e=Ye();for(;;)try{if(742771==-parseInt(t(417))/1+parseInt(t(508))/2*(parseInt(t(427))/3)+-parseInt(t(519))/4+-parseInt(t(540))/5*(parseInt(t(451))/6)+-parseInt(t(433))/7*(parseInt(t(437))/8)+-parseInt(t(453))/9*(-parseInt(t(429))/10)+parseInt(t(539))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe={initForegroundLineOverlay(){const t=Oe;if(typeof document!==t(482)&&this[t(536)][t(517)]&&!this[t(532)]){if(!this.foregroundLineCanvas||!this[t(494)]){const e=document[t(530)](t(521));e[t(510)](t(458),t(538)),e.style[t(415)]="absolute",e[t(419)].inset="0",e.style[t(534)]=t(431),e.style[t(514)]="10",e.style.display=t(431),this[t(536)].container[t(492)](e),this.foregroundLineCanvas=e,this[t(494)]=e.getContext("2d")}this.viewer[t(430)][t(485)][t(468)](this[t(477)]),this[t(532)]=!0,this[t(459)]()}},destroyForegroundLineOverlay(){const t=Oe;this[t(532)]&&this.viewer?.scene?.[t(485)]&&this[t(477)]&&this[t(536)].scene.postRender[t(529)](this[t(477)]),this[t(465)]?.parentNode&&this[t(465)][t(473)][t(535)](this.foregroundLineCanvas),this[t(465)]=null,this[t(494)]=null,this[t(532)]=!1},getForegroundOverlayLineTypes(){const t=Oe;return["length",t(524),t(475),t(484)]},shouldRenderLineViaOverlay(t){const e=Oe;return this[e(439)]()[e(505)](t)},refreshForegroundLineOverlayState(){const t=Oe;this.shouldUseForegroundLineOverlay()?this[t(434)]():this[t(491)]()},shouldUseForegroundLineOverlay(){const t=Oe;return!!this.shouldRenderLineViaOverlay(this[t(533)]?.type)||this[t(441)][t(463)](e=>this[t(483)](e?.[t(499)]?.[t(486)]))},syncForegroundLineOverlaySize(){const t=Oe,e=this[t(465)],n=this[t(494)],i=this[t(536)][t(517)];if(!e||!n||!i)return null;const s=Math[t(516)](1,Math[t(469)](i[t(472)]||this.viewer[t(521)][t(472)]||1)),r=Math.max(1,Math[t(469)](i[t(481)]||this.viewer.canvas.clientHeight||1)),o=globalThis[t(544)]||1,a=Math[t(516)](1,Math[t(469)](s*o)),u=Math[t(516)](1,Math[t(469)](r*o));return(e.width!==a||e[t(484)]!==u)&&(e[t(476)]=a,e[t(484)]=u,e[t(419)][t(476)]=s+"px",e.style[t(484)]=r+"px"),n[t(501)](o,0,0,o,0,0),{width:s,height:r}},collectForegroundLinePaths(){const t=Oe,e=[],n=this[t(439)]();return n.includes(this[t(533)]?.[t(486)])&&this[t(533)][t(423)].length>1&&e[t(428)](...this[t(511)](this.activeMeasurement.type,this.getDynamicLinePositions(this[t(533)]))),this[t(441)][t(435)](i=>{const s=t;i?.result&&n[s(505)](i[s(499)].type)&&e[s(428)](...this[s(511)](i[s(499)].type,i.result[s(541)],i[s(499)][s(462)]))}),e},buildForegroundPathsByType(t,e=[],n=[]){const i=Oe,s=this[i(515)](t)?.[i(490)];return s?(t===i(484)?[this[i(418)](e)]:n&&n[i(495)]>0?n[i(531)](t=>this.getPointClippedSegmentPositions(t)):this[i(452)](e)[i(531)](t=>this[i(418)](t))).filter(t=>Array.isArray(t)&&t[i(495)]>1).map(t=>({positions:t,color:s,width:4})):[]},buildLineSegmentsFromPositions(t=[]){const e=Oe,n=[];for(let i=0;i<t[e(495)]-1;i+=1)n.push([this[e(449)](t[i]),this.cloneCartesian(t[i+1])]);return n},renderForegroundLineOverlay(){const t=Oe,e=this[t(465)],n=this[t(494)];if(!e||!n)return;const i=this.syncForegroundLineOverlaySize();if(!i)return;const s=this[t(425)]();if(e.style[t(489)]=s[t(495)]>0?t(480):"none",n.clearRect(0,0,i[t(476)],i[t(484)]),0===s[t(495)])return;s[t(435)](e=>{const i=t;this[i(455)](n,e[i(520)],e.color,e[i(476)])});const r=this[t(474)]();this.punchForegroundLabelMasks(n,r)},drawForegroundLinePath(t,e,n,i=4){const s=Oe,r=[];let o=[];e[s(435)](t=>{const e=s,n=this[e(542)](t);if(!n)return o.length>1&&r[e(428)](o),void(o=[]);o[e(428)](n)}),o.length>1&&r[s(428)](o),0!==r[s(495)]&&(t[s(523)](),t[s(456)]=s(469),t[s(416)]=s(469),r[s(435)](e=>{const r=s;t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]="rgba(255, 255, 255, 0.94)",t[r(525)]=i+3,t[r(478)](),t.beginPath(),t[r(447)](e[0].x,e[0].y);for(let n=1;n<e[r(495)];n+=1)t[r(420)](e[n].x,e[n].y);t[r(502)]=n[r(454)](),t[r(525)]=i,t[r(478)]()}),t[s(432)]())},collectForegroundLabelMasks(){const t=Oe,e=[],n=(t,n={})=>{const i=this[Oe(467)](t,n);i&&e.push(i)};return this[t(533)]?.[t(518)]?.[t(507)]&&n(this[t(533)][t(518)],{isPreview:!0}),this[t(441)].forEach(e=>{const i=t;if(!e?.[i(471)]||0===e[i(471)][i(495)])return;const s=e.entities.find(t=>t?.[i(461)]||t?.[i(498)]);s&&!1!==s[i(507)]&&n(s,{isPreview:!1})}),e},getForegroundLabelMask(t,e={}){const n=Oe,i=this[n(443)];if(!t||!1===t.show)return null;const s=this[n(513)](t),r=this[n(542)](s);if(!r)return null;let o=e.isPreview?112:124,a=e.isPreview?34:38,u=i.HorizontalOrigin[n(488)],c=i[n(528)].BOTTOM,l={x:0,y:0};if(t[n(461)]&&t[n(464)])o=t[n(464)][n(476)],a=t[n(464)][n(484)],u=t.measureBillboardOrigin?.[n(497)]??i[n(470)][n(488)],c=t.measureBillboardOrigin?.[n(506)]??i[n(528)][n(426)],l=t[n(500)]||l;else if(t[n(424)]){const e=t[n(424)];o=Number(this[n(487)](e[n(476)],o))||o,a=Number(this[n(487)](e[n(484)],a))||a,u=this.resolveGraphicDynamicValue(e[n(457)],u),c=this[n(487)](e.verticalOrigin,c);const i=this.resolveGraphicDynamicValue(e[n(444)],null);i&&(l={x:i.x||0,y:i.y||0})}else{if(!t.label)return null;{const i=t[n(498)],s=String(this[n(487)](i[n(493)],"")),r=String(this[n(487)](i[n(466)],this[n(522)]||n(460))),h=this[n(503)](s,r,e[n(496)]);o=h.width,a=h[n(484)],u=this.resolveGraphicDynamicValue(i[n(457)],u),c=this[n(487)](i.verticalOrigin,c);const p=this[n(487)](i[n(444)],null);p&&(l={x:p.x||0,y:p.y||0})}}return this[n(526)](r,{width:o,height:a,horizontalOrigin:u,verticalOrigin:c,pixelOffset:l,paddingX:e.isPreview?8:10,paddingY:e[n(496)]?6:8,radius:e[n(496)]?10:12})},resolveGraphicDynamicValue(t,e){const n=Oe;return t&&"function"==typeof t[n(446)]?t.getValue(this[n(536)].clock[n(442)])??e:t??e},estimateLabelMaskSize(t,e,n=!1){const i=Oe,s=String(t||"").split("\n"),r=s[i(479)]((t,e)=>Math[i(516)](t,e.length),0),o=String(e||"")[i(509)](/(\d+(?:\.\d+)?)px/),a=o?Number(o[1]):14;return{width:Math[i(516)](n?96:112,Math[i(512)](r*a*.64+(n?20:26))),height:Math.max(n?30:34,Math[i(512)](s[i(495)]*a*1.3+(n?10:14)))}},buildOverlayMaskRect(t,e){const n=Oe,i=this[n(443)],s=Math[n(516)](1,Number(e[n(476)])||1),r=Math.max(1,Number(e[n(484)])||1),o=Number(e[n(444)]?.x)||0,a=Number(e.pixelOffset?.y)||0;let u=t.x+o;e[n(457)]===i[n(470)].CENTER?u-=s/2:e[n(457)]===i.HorizontalOrigin.RIGHT&&(u-=s);let c=t.y+a;e[n(436)]===i[n(528)][n(488)]?c-=r/2:e[n(436)]===i[n(528)].BOTTOM&&(c-=r);const l=Number(e[n(527)])||0,h=Number(e[n(422)])||0;return{left:u-l,top:c-h,width:s+2*l,height:r+2*h,radius:Number(e[n(545)])||10}},punchForegroundLabelMasks(t,e){const n=Oe;Array[n(450)](e)&&0!==e.length&&(t.save(),t[n(537)]="destination-out",t[n(440)]=n(445),e[n(435)](e=>{const i=n;!e||e[i(476)]<=0||e[i(484)]<=0||(this.drawRoundedRect(t,e[i(504)],e.top,e[i(476)],e[i(484)],e.radius),t.fill())}),t.restore())},projectCartesianToOverlay(t){const e=Oe,n=this.Cesium;if(!t)return null;const i=n[e(438)][e(421)](this[e(536)][e(430)],t);return n[e(448)](i)&&Number[e(543)](i.x)&&Number[e(543)](i.y)?{x:i.x,y:i.y}:null}};function Ye(){const t=["positions","canvas","resultLabelFont","save","area","lineWidth","buildOverlayMaskRect","paddingX","VerticalOrigin","removeEventListener","createElement","map","foregroundLineOverlayActive","activeMeasurement","pointerEvents","removeChild","viewer","globalCompositeOperation","true","21643589yqhAdp","15eJbfqd","displayPositions","projectCartesianToOverlay","isFinite","devicePixelRatio","radius","position","lineCap","608085wEEctY","getPointClippedSegmentPositions","style","lineTo","wgs84ToWindowCoordinates","paddingY","dynamicPositions","billboard","collectForegroundLinePaths","BOTTOM","3Lrfbxy","push","275500msKitW","scene","none","restore","1239anRnSW","initForegroundLineOverlay","forEach","verticalOrigin","50936YbqfXb","SceneTransforms","getForegroundOverlayLineTypes","fillStyle","resultGroups","currentTime","Cesium","pixelOffset","#000000","getValue","moveTo","defined","cloneCartesian","isArray","1413462FfhCvA","buildLineSegmentsFromPositions","216JWAUXJ","toCssColorString","drawForegroundLinePath","lineJoin","horizontalOrigin","aria-hidden","syncForegroundLineOverlaySize","14px sans-serif","measureHasCloseButton","displaySegments","some","measureBillboardSize","foregroundLineCanvas","font","getForegroundLabelMask","addEventListener","round","HorizontalOrigin","entities","clientWidth","parentNode","collectForegroundLabelMasks","angle","width","foregroundLineOverlayBound","stroke","reduce","block","clientHeight","undefined","shouldRenderLineViaOverlay","height","postRender","type","resolveGraphicDynamicValue","CENTER","display","line","destroyForegroundLineOverlay","appendChild","text","foregroundLineContext","length","isPreview","horizontal","label","result","measurePixelOffset","setTransform","strokeStyle","estimateLabelMaskSize","left","includes","vertical","show","2367968nkdUMc","match","setAttribute","buildForegroundPathsByType","ceil","getEntityPosition","zIndex","getColorByType","max","container","previewLabelEntity","2512948fRvyER"];return(Ye=function(){return t})()}const Ze=je;function ze(){const t=["terrain","isArray","removeEventListener","primitive","4XKSIVD","cancelScheduledMouseMoveWork","rayEllipsoid","measureKeydownHandler","forEach","0.00 m","window","maxSamples","step","24kdrSsA","pickStage","show","pick","Cartesian3","style","latitude","pickFromRayMostDetailed","undefined","pendingMoveFrameId","final","function","fromRadians"," m²","closed","3hifJNY","projectToEllipsoidSurface","Cesium","position"," km","Cartesian2","min","cancelAnimationFrame","previewLineEntity","getPickedPosition","IntersectionTests","pointer","sampleTerrainMostDetailed","clone","setCloseButtonHover","cancelled","0.00°","1725976skcPGR","isSceneSurfacePickObject","scene","map","22136730IdILko","2091744kVLEGX","measureCursorActive","EllipsoidGeodesic","distance","cartesianToCartographic","pointEntities","Math","toFixed","Cesium3DTileFeature","sampleSegment","preview","surfaceDistance","resultInteractionHandler","defined","applyCursorStyle","camera","Cesium3DTilePointFeature","length","push","requestAnimationFrame","cartographicToCartesian","canvas","pendingMoveCallback","remove","660135fcIKKk","Cesium3DTileset","render","pickFromRay","auto","start","Entity","previewLabelEntity","getPickRay","filter","Cartographic","pickEllipsoid","crosshair","defaultCursor","854140GpIcqq","previewPointEntity","withTerrain","terrainProvider","globe","Model","content","tileset","handler","lerp","ellipsoid","destroy","isHoveringCloseButton","entities","isFinite","7120935VUoUJz","cursor","ceil","1956120nxdZed","interpolateUsingFraction","viewer","EllipsoidTerrainProvider","shift","height","activeMeasurement","longitude","toDegrees","withHiddenActiveMeasurementEntities","stop","scheduleMouseMoveWork"];return(ze=function(){return t})()}function je(t,e){const n=ze();return(je=function(t,e){return n[t-=432]})(t,e)}!function(){const t=je,e=ze();for(;;)try{if(539495==parseInt(t(488))/1+-parseInt(t(502))/2*(parseInt(t(442))/3)+parseInt(t(536))/4*(-parseInt(t(520))/5)+parseInt(t(545))/6*(-parseInt(t(459))/7)+parseInt(t(464))/8+-parseInt(t(517))/9+parseInt(t(463))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fe={getPickedPosition(t,e=Ze(492),n={}){const i=Ze,s=this.Cesium;if(!t)return null;const r=n?.[i(546)]===i(437)?i(437):i(474),o=e!==i(492),a="preview"===r&&o,u=r===i(437)&&o,c=this[i(522)][i(461)],l=()=>{const e=i;if(!c.pickPositionSupported)return null;const n=this[e(529)](()=>{const n=e;c.render();const i=c[n(548)](t);if(!this[n(460)](i))return null;const r=c.pickPosition(t);return s[n(477)](r)?r:null});return s[e(477)](n)?{position:n,surfaceType:e(461)}:null},h=()=>{const e=i;if(typeof c[e(491)]!==e(438))return null;const n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;const r=this[e(529)](()=>{const t=e;c[t(490)]();const i=c[t(491)](n);return i&&this[t(460)](i.object)&&s[t(477)](i.position)?i[t(445)]:null});return s.defined(r)?{position:r,surfaceType:e(461)}:null},p=()=>(r===i(437)||a)&&h()||l(),d=()=>{const e=i;if(!this.hasTerrainProvider())return null;const n=this[e(522)][e(479)][e(496)](t);if(!s.defined(n))return null;const r=c[e(506)][e(548)](n,c);return s.defined(r)?{position:r,surfaceType:e(532)}:null},m=()=>{const e=i,n=this[e(522)][e(479)][e(496)](t);if(!s[e(477)](n))return null;if(!s.IntersectionTests||typeof s[e(452)][e(538)]!==e(438))return null;const r=s[e(452)][e(538)](n,c.globe.ellipsoid);if(!s.defined(r))return null;const o=r[e(493)]>=0?r[e(493)]:r[e(530)];if(!s[e(477)](o)||o<0)return null;const a=s.Ray.getPoint(n,o);return s[e(477)](a)?{position:this.projectToEllipsoidSurface(a),surfaceType:e(512)}:null},g=()=>{const e=i,n=this[e(522)][e(479)][e(499)](t,c[e(506)][e(512)]);return s[e(477)](n)?{position:this[e(443)](n),surfaceType:e(512)}:null},f=()=>(a||u)&&m()||g();if(o)switch(e){case"scene":return p();case i(532):return d();case i(512):return f()}return p()||d()||f()},async getPickedPositionFinal(t,e=Ze(492)){const n=Ze,i=this[n(444)];if(!t)return null;const s=this[n(522)][n(461)],r=async()=>{const e=n;if(typeof s[e(434)]!==e(438))return null;const r=this[e(522)][e(479)][e(496)](t);if(!i.defined(r))return null;try{const t=await this.withHiddenActiveMeasurementEntitiesAsync(async()=>{const t=e;s[t(490)]();const n=await s[t(434)](r);return n&&this[t(460)](n.object)&&i[t(477)](n[t(445)])?n[t(445)]:null});return i[e(477)](t)?{position:t,surfaceType:e(461)}:null}catch{return null}};switch(e){case"terrain":return this[n(451)](t,n(532),{pickStage:n(437)});case"ellipsoid":return this[n(451)](t,n(512),{pickStage:n(437)});case n(461):return await r()||this[n(451)](t,n(461),{pickStage:n(437)});case n(492):default:return await r()||this[n(451)](t,"auto",{pickStage:"final"})}},getTopSceneSurfacePickObject(t){const e=Ze,n=this.viewer[e(461)];return this[e(529)](()=>n[e(548)](t))},withHiddenActiveMeasurementEntities(t){const e=Ze,n=this.activeMeasurement;if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array[e(533)](n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t[n(547)];!1!==s&&(i.push({entity:t,originalShow:s}),t[n(547)]=!1)});try{return t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},async withHiddenActiveMeasurementEntitiesAsync(t){const e=Ze,n=this[e(526)];if(!n||typeof t!==e(438))return typeof t===e(438)?t():null;const i=[];[n[e(450)],n[e(503)],n[e(495)],...Array.isArray(n[e(469)])?n[e(469)]:[]][e(497)](Boolean)[e(540)](t=>{const n=e,s=t.show;!1!==s&&(i[n(482)]({entity:t,originalShow:s}),t.show=!1)});try{return await t()}finally{i[e(540)](({entity:t,originalShow:n})=>{t[e(547)]=n})}},isSceneSurfacePickObject(t){const e=Ze,n=this.Cesium;if(!n.defined(t))return!1;const i=t[e(535)];if(typeof n[e(472)]!==e(435)&&t instanceof n[e(472)])return!0;if(void 0!==n.Cesium3DTilePointFeature&&t instanceof n[e(480)])return!0;if(typeof n[e(489)]!==e(435)&&i instanceof n.Cesium3DTileset)return!0;if(void 0!==n[e(507)]&&i instanceof n[e(507)])return!0;if(n[e(477)](t[e(509)])||n.defined(t[e(508)]?.[e(509)]))return!0;if(typeof n[e(494)]!==e(435)){if(t.id instanceof n[e(494)])return!1;if(i?.id instanceof n[e(494)])return!1}return!1},async buildTerrainBoundary(t){const e=Ze,n=[];for(let i=0;i<t.length;i+=1){const s=(i+1)%t[e(481)],r=(await this[e(473)](t[i],t[s],{withTerrain:!0,step:25,maxSamples:120}))[e(462)](t=>this[e(484)](t));n[e(481)]>0&&r[e(524)](),n[e(482)](...r)}return n},async buildSampledPolyline(t,e={}){const n=Ze,i=Boolean(e[n(441)])?t.length:Math.max(0,t[n(481)]-1),s=[],r=[];for(let o=0;o<i;o+=1){const i=t[o],a=t[(o+1)%t.length],u=(await this.sampleSegment(i,a,e))[n(462)](t=>this[n(484)](t));s[n(482)](u),r[n(481)]>0?r[n(482)](...u.slice(1)):r[n(482)](...u)}return{segments:s,flattenedPositions:r}},async sampleSegment(t,e,n={}){const i=Ze,s=this[i(444)],r=this.cartesianToCartographic(t),o=this.cartesianToCartographic(e),a=new(s[i(466)])(r,o),u=Number.isFinite(a[i(475)])?a.surfaceDistance:0,c=n[i(544)]||30,l=n[i(543)]||120,h=Math.max(1,Math[i(448)](l,Math[i(519)](u/c))),p=[];for(let t=0;t<=h;t+=1){const e=0===h?0:t/h;let n;n=u>0?a[i(521)](e):new(s[i(498)])(r[i(527)],r[i(433)],r[i(525)]||0),n[i(525)]=s[i(470)][i(511)](r[i(525)]||0,o[i(525)]||0,e),p[i(482)](n)}return n[i(504)]&&this.hasTerrainProvider()&&await s[i(454)](this.viewer[i(505)],p),p},calculateCartesianDistance(t){const e=Ze,n=this.Cesium;if(t[e(481)]<2)return 0;let i=0;for(let s=0;s<t.length-1;s+=1)i+=n.Cartesian3[e(467)](t[s],t[s+1]);return i},formatDistance(t){const e=Ze;return Number[e(516)](t)?t>=1e3?(t/1e3)[e(471)](3)+e(446):t.toFixed(2)+" m":e(541)},formatArea(t){const e=Ze;return Number[e(516)](t)?t>=1e6?(t/1e6).toFixed(3)+" km²":t[e(471)](2)+e(440):"0.00 m²"},formatAngle(t){const e=Ze;return Number[e(516)](t)?t[e(471)](2)+"°":e(458)},hasTerrainProvider(){const t=Ze;return!(this[t(522)].terrainProvider instanceof this.Cesium[t(523)])},cartesianToCartographic(t){const e=Ze;return this.Cesium.Cartographic.fromCartesian(t,this[e(522)].scene[e(506)][e(512)])},cartographicToCartesian(t){const e=Ze;return this[e(444)][e(549)][e(439)](t[e(527)],t[e(433)],t[e(525)]||0)},projectToEllipsoidSurface(t){const e=Ze,n=this[e(468)](t);return n.height=0,this[e(484)](n)},cloneCartesian(t){const e=Ze;return this[e(444)][e(549)].clone(t)},isSamePosition(t,e,n=.5){const i=Ze;return!(!t||!e)&&this.Cesium[i(549)][i(467)](t,e)<=n},serializePoint(t){const e=Ze,n=this[e(444)],i=this.cartesianToCartographic(t);return{longitude:Number(n.Math[e(528)](i[e(527)])[e(471)](6)),latitude:Number(n[e(470)][e(528)](i[e(433)])[e(471)](6)),height:Number((i[e(525)]||0)[e(471)](2))}},removeEntities(t=[]){const e=Ze;t[e(540)](t=>{const n=e;t&&this[n(522)][n(515)][n(487)](t)})},destroyHandler(){const t=Ze;this[t(537)](),this[t(539)]&&typeof globalThis.window?.removeEventListener===t(438)&&(globalThis[t(542)][t(534)]("keydown",this.measureKeydownHandler),this.measureKeydownHandler=null),this[t(510)]&&(this[t(510)][t(513)](),this[t(510)]=null)},scheduleMouseMoveWork(t){const e=Ze;typeof t===e(438)&&(typeof globalThis.requestAnimationFrame===e(438)?(this.pendingMoveCallback=t,null===this[e(436)]&&(this[e(436)]=globalThis[e(483)](()=>{const t=e;this[t(436)]=null;const n=this[t(486)];this[t(486)]=null,typeof n===t(438)&&n()}))):t())},scheduleSessionMouseMove(t,e,n){const i=Ze,s=this[i(444)];if(!e||typeof n!==i(438))return;const r=s[i(447)][i(455)](e);this[i(531)](()=>{const e=i;t&&!t[e(457)]&&this[e(526)]===t&&n(r)})},cancelScheduledMouseMoveWork(){const t=Ze;null!==this.pendingMoveFrameId&&"function"==typeof globalThis.cancelAnimationFrame&&globalThis[t(449)](this.pendingMoveFrameId),this.pendingMoveFrameId=null,this[t(486)]=null},destroyResultInteractionHandler(){const t=Ze;this[t(476)]&&(this[t(476)].destroy(),this.resultInteractionHandler=null),this[t(456)](!1)},setCursor(t){const e=Ze;this[e(522)][e(485)]&&(this[e(465)]=t,this[e(478)]())},applyCursorStyle(){const t=Ze;this[t(522)][t(485)]&&(this[t(514)]?this.viewer[t(485)][t(432)][t(518)]=t(453):this.viewer.canvas[t(432)][t(518)]=this[t(465)]?t(500):this[t(501)])}};var Ue=Qe;function He(){var t=["84536RNGmCh","resultInteractionHandler","bind","18nPaERM","Cesium","Cartesian2","measureKeydownHandler","handler","angle","startAreaMeasure","foregroundLineCanvas","110HBbtad","7OaIRow","assign","7701681CtJgJC","resultLabelFont","resultLabelCloseSize","foregroundLineOverlayBound","resultLabelPaddingX","resultGroups","renderForegroundLineOverlay","length","207503dRdvlr","style","pointMarkerSize","viewer","282ojYFCc","Cesium global is unavailable.","MeasureTools requires a Cesium viewer.","24OomvoA","pointClipPixelRadius","resultLabelPaddingTop","height","4618422ONhFoe","24ZQQdth","pointMarkerImage","defaultCursor","resultLabelPaddingBottom","213425gETUbb","startLengthMeasure","startAngleMeasure","resultLabelPixelOffset","foregroundLineContext","resultLabelLineHeight","startHeightMeasure","labelEyeOffset","measureCursorActive","initResultInteractionHandler","14px sans-serif","createPointMarkerImage","4749370MmdfMr","canvas","area","startMeasure","11pHcgMg"];return(He=function(){return t})()}function Qe(t,e){var n=He();return(Qe=function(t,e){return n[t-=199]})(t,e)}!function(){for(var t=Qe,e=He();;)try{if(549717==parseInt(t(199))/1+-parseInt(t(243))/2*(-parseInt(t(203))/3)+-parseInt(t(206))/4*(-parseInt(t(215))/5)+-parseInt(t(210))/6*(-parseInt(t(244))/7)+-parseInt(t(232))/8*(-parseInt(t(235))/9)+-parseInt(t(227))/10*(-parseInt(t(231))/11)+parseInt(t(211))/12*(-parseInt(t(246))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Je{constructor(t){var e=Qe;if(!t)throw new Error(e(205));if(this[e(202)]=t,this.Cesium=globalThis.Cesium,!this[e(236)])throw new Error(e(204));this[e(239)]=null,this[e(238)]=null,this[e(233)]=null,this.activeMeasurement=null,this[e(251)]=[],this[e(213)]=this[e(202)][e(228)]?.[e(200)]?.cursor||"",this[e(201)]=18,this[e(207)]=10,this[e(247)]=e(225),this[e(220)]=20,this[e(250)]=12,this[e(208)]=10,this[e(214)]=10,this[e(248)]=18,this.resultLabelCloseGap=8,this[e(218)]=new(this.Cesium[e(237)])(0,-24),this[e(222)]=new(this[e(236)].Cartesian3)(0,0,-10),this[e(223)]=!1,this.isHoveringCloseButton=!1,this.pendingMoveFrameId=null,this.pendingMoveCallback=null,this[e(242)]=null,this[e(219)]=null,this.foregroundLineOverlayActive=!1,this[e(249)]=this[e(252)][e(234)](this),this[e(212)]=this[e(226)](),this[e(224)]()}[Ue(216)](t={}){var e=Ue;return this[e(230)](e(253),t)}[Ue(241)](t={}){var e=Ue;return this[e(230)](e(229),t)}[Ue(217)](t={}){var e=Ue;return this[e(230)](e(240),t)}[Ue(221)](t={}){var e=Ue;return this[e(230)](e(209),t)}}Object[Ue(245)](Je.prototype,le,de,fe,Ce,be,ye,Se,Le,Ge,xe,Fe);const Ve=Ke;function We(){const t=['<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwg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视角相关","显示三角网","display","position","filter","wireframe","startMeasure","ScreenSpaceEventType","开启光照效果","276gBgPkY","面积测量",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFCMjc4OUZGREUzQzExRUI5MTlEQjhGMTE1OTdBOEZEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFCMjc4QTAwREUzQzExRUI5MTlEQjhGMTE1OTdBOEZEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUIyNzg5RkRERTNDMTFFQjkxOURCOEYxMTU5N0E4RkQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUIyNzg5RkVERTNDMTFFQjkxOURCOEYxMTU5N0E4RkQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5CkwDlAAAAeklEQVR42mL09fVloAQwMVAIsBmQQokBlkA8lVwDJIF4DRCzkWIAC5Rmg2qWgvL/E9DHiO6CKUBsRUkgpkFNJRbTLhr/k4BnU+KC40CcjRwLGKGLA4Bsfg7EIUD8ixwX/IJqfkZuIOYA8TFKYmE2Ror6//8/RdEIEGAAZjMdB42kCvcAAAAASUVORK5CYII="/>',"constructor","绘制并返回矩形","模型调整","测量结果:",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25z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5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',"backFaceAlpha","ScreenSpaceEventHandler","drawPolygon","CesiumDevTools v1.0.4","openMouseAdsorb","getPrototypeOf","地形服务","show",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE3MEZDRDc1REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE3MEZDRDc2REUzQzExRUI4QUUzODVFMEI0NTJEMTYwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTcwRkNENzNERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTcwRkNENzRERTNDMTFFQjhBRTM4NUUwQjQ1MkQxNjAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5NQBqvAAAA1klEQVR42mL09fVloAQwQek9QPyfRLwP2QBnNIO/AvEZApY7IhuADpKB2BSI1xLrBWRwEYhXAbEgEJcB8U9iDXgADYtyIJYB4u1QsSlQ+W9APAmIO4F4PUwTC5IBMUB8FMqeC8TmQBwPxC1AnADEhUC8DIj5gFgZiAPRDdgBxK+AmA3qAgao5pVA7A7EZ4F4OhBn4PICDxArIWkGASloOIA0h6JrRncBLlADxA5AbIlNkhgDmIHYnpiUSCrYi+wCV0rzAgO1DDhERCY6hC8Q7Uh1AUCAAQBKmDUISYZYAgAAAABJRU5ErkJggg==" />',"开启深度检测","enabled","globe","depthTestAgainstTerrain","410Uwwdir","_debug",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPH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iQCsRPoAZloEuyEGHANiCWxSXJ+P//f4pyI0CAAQDoSSLhojjGcQAAAABJRU5ErkJggg==" />',"点击相关","forEach","getCameraInfo","关闭深度检测","2151603zcIMoP","srcElement",'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE2QUNGNzVDREUzQzExRUI4MkJGREFGQjMzM0E5M0Q0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE2QUNGNzVEREUzQzExRUI4MkJGREFGQjMzM0E5M0Q0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTZBQ0Y3NUFERTNDMTFFQjgyQkZEQUZCMzMzQTkzRDQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTZBQ0Y3NUJERTNDMTFFQjgyQkZEQUZCMzMzQTkzRDQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz45Mo0MAAABJklEQVR42mL09fVlwANWADETEIfhUsDCgB9oEZBHMWAhEP8G4nQg/gsV2wjErEhqmIF4OhBzAHEcA9R5MPAViJOBuALKZwTi+UA8C8oGgRIgTgXi79hckAvE94F4LxAHA3E3ECtC5R4CcSkQ74bye2CakF3wF6pJHohXI2lmgIqtBGIlIO5E8iKKATDQjeRkZAAS60WXA3lhKRCrA/FOqH+V8QS6HNRloHBwBeLbTEiuYMJhMz7AxIiWkEAG3MbjigfQcPiPKwxAEmXICtDkStHlmNDYIAWPgTgUGqUwcA8qdg+aTpixGTAZiLuA2AuI10K9AcMqUDFQwLUD8RRsCYkbiOcBcQuSk5Og4VKNlIBABvLDA41AbrwEpfXIzY0XCMUjQIABAJ9vNJEwlARIAAAAAElFTkSuQmCC" />',"translucency","log","area","shadows","clearAll","enableLighting","取消当前测量","坐标拾取","开启地表透明","scene","关闭地表透明","关闭三角网","98361SHgRay","长度测量","118591cNyYBh","initMenu","skyAtmosphere","295dYysyV","glb模型调整","开启大气渲染",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3pr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QVR42mL09fVloAQwYRFzBOKDQNwDxIxQ3AMVc0RXzILFgAAgtoPiYKiYApQOBOL9+AxgBmILJL4Cmrw5VM1fdAOcoDZbA7ERHi+bAfEpID4CxBuBeB/MgHqok2HgNxDXAfFCIP4PxIlA3ADEbFALQNgAZAAsEE+g2QTS3AHEz4H4BRC3A3EJmpoTyLFQAcT3kSTnY3E+sth9qB6s0cgAdTY6+IcvHYCcq4gkHoNFbRQSWxGqBx4LFmiK26EBOQ/qmmggnoCmxhLZgCYg9keKRlBoT4JidHAOiI9CoxFuwF4oBiWSY9D4xgZAacAKOSGhByJI4iQS/wEUI0fdX0J5YSM0kZxGintQZjIF4g3EZCaYd5BBMa60DRBgAFIuOBQwE5CHAAAAAElFTkSuQmCC"/>',"3dtile模型调整","innerHTML","_surface","12FYVOPb","requestRender","setInputAction","height","清空测量结果","20292YWafPS","关闭大气渲染","adjustGlb","terrianOpc",'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE20lEQVR4AeSZXXrbIBBF426syXuypjhrSt7tnbn3KEJBaMSPAJt87WciCQ0zcw9okN0/T7/k39vb28W119fX91Zp/woACJfgZ9dOp9O5FYThAXjipf/nA4T53k/ngbOhAcyzzMzvSXsWhJvsYjZ7Y6f+YQFI1DuzPGWZ+CO7C/YJM/P2kAAQI1FnM+OdTuwZt3N7t3s4ABLxjJjdjCM3GKfxRTvEcAAk4hLRmLyl8WfVhWwfQwEoSTxBIrs4DgNgXrqHq7kFRKshWRyHAIB4JVtU9CzBVh9+8W/do+/hAEiOJEmmV8M/cSz/DwWgpA5XfEtMrA8IVo15KAAllV2tI+Kut9st9/F5Brrv62EArNnwE8s4v35+fp7UXr6+vj50POWAEPTVe8JDAGgWSKKq4kvsNYQEiLAvvNb1Ku7dASBes5C7ZJWv/YmI3YCxPXz33h3Ad9j6vwK5mslcj1o5K/h3B8DMhUnkJh/Y/Q2unwQl+WgR3x93dwAEJ4laCDxGCFabKjtH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zQzExRUI4MEUzQjk1OTc4Q0M5NEUwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUJGQUE2NTdERTNDMTFFQjgwRTNCOTU5NzhDQzk0RTAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUJGQUE2NThERTNDMTFFQjgwRTNCOTU5NzhDQzk0RTAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5ox+wvAAABEUlEQVR42qSTsY4BURSGZyYyW5peYp8CNaEh4wH2AeiIhoRoJJopMLp9gm2UtlxKvIbQU66G/yQ/OeGaSTjJl/lz/pNz5557r+37vhURB369ZwUJKzqSMb7lGHIuaICVyq2Yc+MapMAGFEFX5UWX6KWeNZDuczADVbBUnmif3i/4MDWogx0YslmovJA58bagZmrwBUbUAfd8DdED6jFrb6dwUNNeRAy8Q65xBkfHejMcXhIbrEGBOjTUBvQKrBXt6T/4AS3qNpgqT3SfusXahyF+gzTogRNoKq/JnHifrH24yv+gwruQBRPl5bmyLFBmrfEm7kGOpxHc7f+Pjfdxj+nEIYY8KonMq6/xGHeMFwEGANhvNIpTVztuAAAAAElFTkSuQmCC"/>',"关闭光照效果","89887BzJJcI"];return(We=function(){return t})()}!function(){const t=Ke,e=We();for(;;)try{if(602493==parseInt(t(548))/1*(parseInt(t(475))/2)+parseInt(t(531))/3+-parseInt(t(480))/4*(-parseInt(t(551))/5)+parseInt(t(503))/6*(-parseInt(t(489))/7)+-parseInt(t(485))/8+parseInt(t(546))/9*(-parseInt(t(524))/10)+parseInt(t(486))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xe{#v;#b;#w;#y;#E;#r;constructor(t){const e=Ke;this.#v=new h(t),this.#b=new A(t),this.#w=new re(t),this.#y=new u(t),this.#E=new Je(t),this.#R(this.#y),this.#R(this.#b),this.#R(this.#w),this.#r=t,console[e(535)](e(514))}#R(t){const e=Ke;Object.getOwnPropertyNames(Object[e(516)](t))[e(498)](t=>t!==e(506))[e(528)](e=>{!this[e]&&(this[e]=(...n)=>t[e](...n))})}#N(t){const e=Ke;this.#E[e(500)](t,{surfaceMode:"auto",useTerrain:!1,onComplete:t=>{const n=e;console.info(n(509),t)}})}[Ve(549)](){const t=Ve,e=[{text:t(527),icon:t(487),sub:[{text:t(541),className:"positionPick",icon:t(510),events:{click:e=>{const n=t;this.#v[n(515)]()}}},{text:t(507),icon:t(510),events:{click:e=>{const n=t;this.#v[n(513)]()}}}]},{text:"测量",icon:t(484),sub:[{text:t(547),icon:"",events:{click:e=>{const n=t;this.#N(n(493))}}},{text:t(504),icon:"",events:{click:e=>{const n=t;this.#N(n(536))}}},{text:"角度测量",icon:"",events:{click:t=>{this.#N("angle")}}},{text:"高差测量",icon:"",events:{click:e=>{const n=t;this.#N(n(478))}}},{text:t(540),icon:"",events:{click:t=>{this.#E.clearCurrent()}}},{text:t(479),icon:"",events:{click:e=>{const n=t;this.#E[n(538)]()}}}]},{text:t(494),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvb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ZUlEPSJ4bXAuaWlkOkE5QURBOTc1REUzQzExRUJBQTczQUYxQkU2OUYxRUJGIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE5QURBOTc2REUzQzExRUJBQTczQUYxQkU2OUYxRUJGIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTlBREE5NzNERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTlBREE5NzRERTNDMTFFQkFBNzNBRjFCRTY5RjFFQkYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Zxx+pAAABPklEQVR42qTTv0vDQBjGcduGii7ij1GQLg5uiuBUBMGhYHDt4OTo4uDmJioi+C+oIN3cStV20UGloKiDgwgiKLoIuoilWKp+X3gCRwiS6sGHJr1733tzb5Lwfb/tPyPZ4voxbPwlQQbb2EOtlQTd2vEIvbIfJ0EaC7hHFgVM4Q3n7kIvFJhAHmsYwA4Osam5Mpq/JVjEihZZBdcoIaX5crhUT+V+6n5VO3bgQ9dpzX2hEopPeXoma09df1b1e4EnDOre1r04weOYS6ot9YiDPMCQkhcjdj+2A7YK3jGMq9CCLZ3FGaadcwi6ZO09tQrmsYsllRs88yVGnKA+TGIZt+jBrCW4UZk1tesRDXTp1Psxige1t10VzVj1QRtfsS7BsM7c6eV5Rqc6EftjOkFOlX1HBUe9SO6YiPOV/QgwAE3xRMUtSLANAAAAAElFTkSuQmCC"/>',events:{click:e=>{this[t(529)]()}}}]},{text:t(508),icon:t(505),sub:[{text:t(469),icon:t(510),events:{click:e=>{const n=t;this.#w[n(482)]()}}},{text:t(472),icon:t(490),events:{click:t=>{this.#w.adjust3Dtile()}}}]},{text:t(517),icon:'<img src= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAA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9InhtcC5kaWQ6QUFCMjE0NTdERTNDMTFFQkFGOTU5QkVFRkFCODhDRjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz49EbzzAAAAtUlEQVR42mL09fVloAQwMVAIsBnACsRngNiIXAMKgdgYiKcT40J0BXJAXAtlmwFxKqkGTABiHiR+GxCLEmuAFxAHoskLAXEnEr8FiPuRFbBAaQ4gnozDkgQgngcN3Eog/g/EK4H4BLIBIAklHAYwQgOUH8nFc4DYE4gfwwQSCYSVDhDLIvG1gfgQsgvkqJGQnkP9Rwx+iB6IICBJraT8lIDtz7FFIzKQJsUFjP///6coNwIEGABguikCTLv41QAAAABJRU5ErkJggg=="/>',sub:[{text:t(495),icon:t(491),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(495)?(e.srcElement[n(473)]=n(545),this.#r[n(543)][n(522)]._surface.tileProvider[n(525)][n(499)]=!0,this.#r[n(543)][n(476)]()):(e.srcElement[n(473)]=n(495),this.#r[n(543)].globe[n(474)][n(492)][n(525)].wireframe=!1,this.#r[n(543)][n(476)]())}}},{text:t(542),className:t(483),icon:'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkQxNkI2MTQ1REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkQxNkI2MTQ2REVEMzExRUI4NTJBRjI0MjZFNjE1MzA5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RDE2QjYxNDNERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE2QjYxNDRERUQzMTFFQjg1MkFGMjQyNkU2MTUzMDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4lhJ02AAAANElEQVR42mL09fX9z4AAjEhsosSZGCgEFBvAQo6zqeoCqnhhNBZGY4HqscCAK7RxiQMEGACcZA4W6WoLogAAAABJRU5ErkJggg==" />',events:{click:e=>{const n=t;e.srcElement[n(473)]===n(542)?(e[n(532)][n(473)]=n(544),this.#r.scene[n(522)][n(534)][n(521)]=!0,this.#r[n(543)].globe[n(534)].frontFaceAlpha=.2,this.#r[n(543)].globe.translucency[n(511)]=.2):(e[n(532)][n(473)]=n(542),this.#r[n(543)][n(522)][n(534)][n(521)]=!1)}}}]},{text:"场景设置",icon:t(471),sub:[{text:t(520),icon:t(519),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(520)?(e[n(532)][n(473)]=n(530),this.#r[n(543)][n(522)][n(523)]=!0):(e[n(532)][n(473)]="开启深度检测",this.#r.scene[n(522)].depthTestAgainstTerrain=!1)}}},{text:t(481),icon:t(526),events:{click:e=>{const n=t;e.srcElement[n(473)]===n(481)?(e[n(532)].innerHTML=n(470),this.#r.scene[n(550)][n(518)]=!1):(e.srcElement[n(473)]="关闭大气渲染",this.#r[n(543)][n(550)][n(518)]=!0)}}},{text:t(502),icon:t(533),events:{click:e=>{const n=t;e[n(532)][n(473)]===n(502)?(e.srcElement.innerHTML=n(488),this.#r[n(543)][n(522)][n(539)]=!0,this.#r[n(537)]=!0):(e[n(532)].innerHTML=n(502),this.#r[n(543)][n(522)][n(539)]=!1,this.#r.shadows=!1)}}}]}];let n=new i(e,{});new(Cesium[t(512)])(this.#r[t(543)].canvas)[t(477)](e=>{const i=t;let s={clientX:e[i(497)].x,clientY:e.position.y};n[i(496)](s)},Cesium[t(501)].RIGHT_CLICK)}}function Ke(t,e){const n=We();return(Ke=function(t,e){return n[t-=469]})(t,e)}export{Xe as default};