(()=>{"use strict";var e,n={4860:(e,n,t)=>{var r=t(4804),o=t(7811),i=t(9800),l=t(7761),a=t(9529),s=t(6424),c=t(5761),u=t(196);Cesium.Ion.defaultAccessToken=u.x;const d=new c.Z({layers:[new s.Z({source:new a.Z})],controls:(0,l.c)({attributionOptions:{collapsible:!1}}),target:"map",view:new i.ZP({center:(0,o.vs)([25,20],"EPSG:4326","EPSG:3857"),zoom:3})}),m=document.getElementById("time"),p=new r.Z({map:d,time(){const e=m.value;if(p.getCesiumScene().globe.enableLighting&&e){const n=new Date;return n.setUTCHours(e),Cesium.JulianDate.fromDate(n)}return Cesium.JulianDate.now()}}),v=p.getCesiumScene();Cesium.createWorldTerrainAsync().then((e=>v.terrainProvider=e)),p.setEnabled(!0),m.style.display="none",document.getElementById("enable").addEventListener("click",(()=>p.setEnabled(!p.getEnabled()))),window.toggleTime=function(){v.globe.enableLighting=!v.globe.enableLighting,"none"==m.style.display?m.style.display="inline-block":m.style.display="none"}}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={exports:{}};return n[e].call(i.exports,i,i.exports,r),i.exports}r.m=n,e=[],r.O=(n,t,o,i)=>{if(!t){var l=1/0;for(u=0;u<e.length;u++){for(var[t,o,i]=e[u],a=!0,s=0;s<t.length;s++)(!1&i||l>=i)&&Object.keys(r.O).every((e=>r.O[e](t[s])))?t.splice(s--,1):(a=!1,i<l&&(l=i));if(a){e.splice(u--,1);var c=o();void 0!==c&&(n=c)}}return n}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[t,o,i]},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.j=179,(()=>{var e={179:0};r.O.j=n=>0===e[n];var n=(n,t)=>{var o,i,[l,a,s]=t,c=0;if(l.some((n=>0!==e[n]))){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(s)var u=s(r)}for(n&&n(t);c<l.length;c++)i=l[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(u)},t=self.webpackChunkol_cesium=self.webpackChunkol_cesium||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})();var o=r.O(void 0,[351],(()=>r(4860)));o=r.O(o)})();
//# sourceMappingURL=main.ad37d3914b9e34c23785.js.map