(()=>{"use strict";var e,n={1199:(e,n,t)=>{var r=t(4949),o=t(3797),a=t(3969),i=t(7908),d=t(8456),s=t(4804),c=t(9800),l=t(5761),u=t(9529),m=t(6424),p=t(4993),f=t(1900),v=t(196);let h=0,w=0,g=0;const y=[],M=new m.Z({source:new u.Z}),E=new l.Z({layers:[M],target:"map2d",view:new c.ZP({center:[0,0],zoom:2})});Cesium.Ion.defaultAccessToken=v.x;const C=new s.Z({map:E}),Z=C.getCesiumScene();Cesium.createWorldTerrainAsync().then((e=>Z.terrainProvider=e)),C.setEnabled(!0);let O;new Cesium.ScreenSpaceEventHandler(Z.canvas).setInputAction((e=>{const n=Z.drillPick(e.position);if(Cesium.defined(n))for(let e=0;e<n.length;++e){const t=n[e].primitive;if(t.olFeature==O)continue;Cesium.Ellipsoid.WGS84.cartesianToCartographic(t.position);O=t.olFeature}else O=void 0}),Cesium.ScreenSpaceEventType.LEFT_CLICK),window.clearFeatures=function(){y.forEach((e=>{E.getLayers().remove(e)})),y.length=0,h=document.getElementById("total").innerHTML=0,document.getElementById("created").innerHTML="",document.getElementById("added").innerHTML=""},window.addFeatures=function(){let e=Date.now();const n=[],t=18e6;for(let e=0;e<1e3;++e){const e=new p.Z({geometry:new f.Z([2*t*Math.random()-t,2*t*Math.random()-t,t*Math.random()])}),r=[new d.ZP({image:new i.Z({radius:2,fill:new a.Z({color:[255*Math.random(),255*Math.random(),255*Math.random(),Math.random()]})})})];e.setStyle(r),e.setId(t*Math.random()),n.push(e)}let s=Date.now();w=s-e,e=s;const c=new o.Z({}),l=new r.Z({source:c});c.addFeatures(n),E.addLayer(l),y.push(l),s=Date.now(),g=s-e,h+=1e3,document.getElementById("total").innerHTML=h,document.getElementById("created").innerHTML=`Features created in ${w}ms.`,document.getElementById("added").innerHTML=`Features added in ${g}ms.`}}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}};return n[e].call(a.exports,a,a.exports,r),a.exports}r.m=n,e=[],r.O=(n,t,o,a)=>{if(!t){var i=1/0;for(l=0;l<e.length;l++){for(var[t,o,a]=e[l],d=!0,s=0;s<t.length;s++)(!1&a||i>=a)&&Object.keys(r.O).every((e=>r.O[e](t[s])))?t.splice(s--,1):(d=!1,a<i&&(i=a));if(d){e.splice(l--,1);var c=o();void 0!==c&&(n=c)}}return n}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[t,o,a]},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=968,(()=>{var e={968:0};r.O.j=n=>0===e[n];var n=(n,t)=>{var o,a,[i,d,s]=t,c=0;if(i.some((n=>0!==e[n]))){for(o in d)r.o(d,o)&&(r.m[o]=d[o]);if(s)var l=s(r)}for(n&&n(t);c<i.length;c++)a=i[c],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return r.O(l)},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(1199)));o=r.O(o)})();
//# sourceMappingURL=synthvectors.498e856e8e18839c5443.js.map