qd-changjing/public/static/js/Cesium.js

26 lines
1.5 MiB
JavaScript
Raw Permalink Normal View History

2022-07-05 16:56:29 +08:00
/**
* Modifications copyright (C) 2020 <SuperMap Software Co., Ltd.>
* Cesium - https://github.com/CesiumGS/cesium
*
* Copyright 2011-2020 Cesium Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Columbus View (Pat. Pend.)
*
* Portions licensed separately.
* See https://github.com/CesiumGS/cesium/blob/master/LICENSE.md for full licensing details.
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1f $10E=$10E||{};$10E.1Dx={};$10E.5IF=1d(t){1f Bb=0;1g 1d(){1g Bb<t.1i?{1mw:!1,1N:t[Bb++]}:{1mw:!0}}};$10E.7tr=1d(t){1g{6c:$10E.5IF(t)}};$10E.7tw=!1;$10E.cc9=!1;$10E.cc8=!1;$10E.7tp=!1;$10E.12p=$10E.7tw||"1d"==1W 1Q.3p?1Q.12p:1d(t,Bb,k){t!=2S.1j&&t!=1Q.1j&&(t[Bb]=k.1N)};$10E.7tv=1d(t){t=["2o"==1W 8p&&8p,"2o"==1W 1YN&&1YN,"2o"==1W 1lX&&1lX,t];1k(1f Bb=0;Bb<t.1i;++Bb){1f k=t[Bb];if(k&&k.1o==1o)1g k}1g 7tq};$10E.1lX=$10E.7tv(1b);$10E.7tu="cc7";$10E.1rH=1d(){$10E.1rH=1d(){};$10E.1lX.1l4||($10E.1lX.1l4=$10E.1l4)};$10E.5IG=1d(t,Bb){1b.$10E$1dh$2jO=t;$10E.12p(1b,"19v",{1Sy:!0,2ZM:!0,1N:Bb})};$10E.5IG.1j.4P=1d(){1g 1b.$10E$1dh$2jO};$10E.1l4=1d(){1d t(k){if(1b 2n t)1w 1h 13h("1l4 is 2F a 8s");1g 1h $10E.5IG($10E.7tu+(k||"")+"9w"+Bb++,k)}1f Bb=0;1g t}();$10E.2OK=1d(){$10E.1rH();1f t=$10E.1lX.1l4.26Q;t||(t=$10E.1lX.1l4.26Q=$10E.1lX.1l4("1l4.26Q"));"1d"!=1W 2S.1j[t]&&$10E.12p(2S.1j,t,{1Sy:!0,2ZM:!0,1N:1d(){1g $10E.7ts($10E.5IF(1b))}});$10E.2OK=1d(){}};$10E.7tt=1d(){$10E.1rH();1f t=$10E.1lX.1l4.5IE;t||(t=$10E.1lX.1l4.5IE=$10E.1lX.1l4("1l4.5IE"));$10E.7tt=1d(){}};$10E.7ts=1d(t){$10E.2OK();t={6c:t};t[$10E.1lX.1l4.26Q]=1d(){1g 1b};1g t};$10E.3r6=1d(t){1f Bb="4L"!=1W 1l4&&1l4.26Q&&t[1l4.26Q];1g Bb?Bb.4S(t):$10E.7tr(t)};$10E.1iV=1d(t,Bb,k,u){if(Bb){k=$10E.1lX;t=t.6V(".");1k(u=0;u<t.1i-1;u++){1f ld=t[u];ld in k||(k[ld]={});k=k[ld]}t=t[t.1i-1];u=k[t];Bb=Bb(u);Bb!=u&&1C!=Bb&&$10E.12p(k,t,{1Sy:!0,2ZM:!0,1N:Bb})}};$10E.1iV("7tq",1d(t){1g t||$10E.1lX},"cc6","1r8");$10E.1iV("1o.15q",1d(t){1g t?t:1d(t){t=3l(t);1g 0===t||11n(t)?t:0<t?1:-1}},"1v8","1r8");$10E.1iV("1o.5Af",1d(t){if(t)1g t;1f Bb=1o.7H;1g 1d(k){k=3l(k);1g 0===k?k:(Bb(k)-Bb(-k))/2}},"1v8","1r8");$10E.1iV("1o.3kM",1d(t){if(t)1g t;1f Bb=1o.7H;1g 1d(k){k=3l(k);1g(Bb(k)+Bb(-k))/2}},"1v8","1r8");$10E.1iV("1o.3RB",1d(t){1g t?t:1d(t){if(0===t)1g t;t=3l(t);1f k=1o.2Q(1o.abs(t),1/3);1g 0>t?-k:k}},"1v8","1r8");$10E.1iV("1o.1cc",1d(t){1g t?t:1d(t){1g 1o.7G(t)/1o.20G}},"1v8","1r8");$10E.4EP=1d(t,Bb){$10E.2OK();t 2n 10O&&(t+="");1f k=0,u={6c:1d(){if(k<t.1i){1f ld=k++;1g{1N:Bb(ld,t[ld]),1mw:!1}}u.6c=1d(){1g{1mw:!0,1N:1r 0}};1g u.6c()}};u[1l4.26Q]=1d(){1g u};1g u};$10E.1iV("2S.1j.8S",1d(t){1g t?t:1d(){1g $10E.4EP(1b,1d(t){1g t})}},"1v8","1r8");$10E.1iV("2S.19F",1d(t){1g t?t:1d(t,k,u){k=1C!=k?k:1d(k){1g k};1f Bb=[],p="4L"!=1W 1l4&&1l4.26Q&&t[1l4.26Q];if("1d"==1W p){t=p.4S(t);1k(1f m=0;!(p=t.6c()).1mw;)Bb.1s(k.4S(u,p.1N,m++))}1t 1k(p=t.1i,m=0;m<p;m++)Bb.1s(k.4S(u,t[m],m));1g Bb}},"1v8","1r8");$10E.1iV("2S.1j.2j",1d(t){1g t?t:1d(){1g $10E.4EP(1b,1d(t,k){1g k})}},"7te","1r8");$10E.5Iy=1d(t,Bb){1g 1Q.1j.3x.4S(t,Bb)};$10E.1oN="1d"==1W 1Q.1oN?1Q.1oN:1d(t,Bb){1k(1f k=1;k<4T.1i;k++){1f u=4T[k];if(u)1k(1f ld in u)$10E.5Iy(u,ld)&&(t[ld]=u[ld])}1g t};$10E.1iV("1Q.1oN",1d(t){1g t||$10E.1oN},"1v8","1r8");$10E.1iV("1Q.is",1d(t){1g t?t:1d(t,k){1g t===k?0!==t||1/t===1/k:t!==t&&k!==k}},"1v8","1r8");$10E.1iV("2S.1j.2ZK",1d(t){1g t?t:1d(t,k){1f u=1b;u 2n 10O&&(u=10O(u));1f Bb=u.1i;k=k||0;1k(0>k&&(k=1o.1U(k+Bb,0));k<Bb;k++){1f p=u[k];if(p===t||1Q.is(p,t))1g!0}1g!1}},"cc5","1r8");$10E.3Yc=1d(t,Bb,k){if(1C==t)1w 1h 13h("10D \'1b\' 1N 1k 10O.1j."+k+" 2Y 2F be 1C or 4L");if(Bb 2n 1cm)1w 1h 13h("3Ox 1e4 to 10O.1j."+k+" 2Y 2F be a 24f 6Q");1g t+""};$10E.1iV("10O.1j.2ZK",1d(t){1g t?t:1d(t,k){1g-1!==$10E.3Yc(1b,t,"2ZK").3f(t,k||0)}},"1v8","1r8");$10E.1iV("2S.1j.9V",1d(t){1g t?t:1d(t){t=1r 0===t?1:t;1k(1f k=[],u=0;u<1b.1i;u++){1f Bb=1b[u];2S.8J(Bb)&&0<t?(Bb=2S.1j.9V.4S(Bb,t-1),k.1s.5A(k,Bb)):k.1s(Bb)}1g k}},"cc4","7tf");$10E.1iV("3l.5xf",1d(){1g 4eM},"1v8","1r8");$10E.1iV("10O.1j.3oR",1d(t){1g t?t:1d(t,k){1f u=$10E.3Yc(1b,t,"3oR");t+="";1r 0===k&&(k=u.1i);k=1o.1U(0,1o.2p(k|0,u.1i));1k(1f Bb=t.1i;0<Bb&&0<k;)if(u[--k]!=t[--Bb])1g!1;1g 0>=Bb}},"1v8","1r8");$10E.1iV("10O.1j.2Fe",1d(t){1g t?t:1d(t,k){1f u=$10E.3Y