itowns
Version:
A JS/WebGL framework for 3D geospatial data visualization
1 lines • 1.33 MB
JavaScript
import*as e from"three";var t={122:(e,t,r)=>{var n=r(46518),i=r(44576),s=r(91955),o=r(79306),a=r(22812),l=r(79039),c=r(43724);n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:l((function(){return c&&1!==Object.getOwnPropertyDescriptor(i,"queueMicrotask").value.length}))},{queueMicrotask:function(e){a(arguments.length,1),s(o(e))}})},162:(e,t,r)=>{var n=r(69565),i=r(79306),s=r(94901),o=r(28551),a=TypeError;e.exports=function(e,t){var r,l=o(this),c=i(l.get),u=i(l.has),h=i(l.set),d=arguments.length>2?arguments[2]:void 0;if(!s(t)&&!s(d))throw new a("At least one callback required");return n(u,l,e)?(r=n(c,l,e),s(t)&&(r=t(r),n(h,l,e,r))):s(d)&&(r=d(),n(h,l,e,r)),r}},221:(e,t,r)=>{var n=r(46518),i=r(79039),s=r(20034),o=r(22195),a=r(15652),l=Object.isSealed;n({target:"Object",stat:!0,forced:a||i((function(){l(1)}))},{isSealed:function(e){return!s(e)||!(!a||"ArrayBuffer"!==o(e))||!!l&&l(e)}})},373:(e,t,r)=>{var n=r(44576),i=r(27476),s=r(79039),o=r(79306),a=r(74488),l=r(94644),c=r(13709),u=r(13763),h=r(39519),d=r(3607),p=l.aTypedArray,f=l.exportTypedArrayMethod,A=n.Uint16Array,g=A&&i(A.prototype.sort),m=!(!g||s((function(){g(new A(2),null)}))&&s((function(){g(new A(2),{})}))),y=!!g&&!s((function(){if(h)return h<74;if(c)return c<67;if(u)return!0;if(d)return d<602;var e,t,r=new A(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(g(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));f("sort",(function(e){return void 0!==e&&o(e),y?g(this,e):a(p(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!y||m)},616:(e,t,r)=>{var n=r(79504),i=r(39297),s=SyntaxError,o=parseInt,a=String.fromCharCode,l=n("".charAt),c=n("".slice),u=n(/./.exec),h={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},d=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t<e.length;){var f=l(e,t);if("\\"===f){var A=c(e,t,t+2);if(i(h,A))n+=h[A],t+=2;else{if("\\u"!==A)throw new s('Unknown escape sequence: "'+A+'"');var g=c(e,t+=2,t+4);if(!u(d,g))throw new s("Bad Unicode escape at: "+t);n+=a(o(g,16)),t+=4}}else{if('"'===f){r=!1,t++;break}if(u(p,f))throw new s("Bad control character in string literal at: "+t);n+=f,t++}}if(r)throw new s("Unterminated string at: "+t);return{value:n,end:t}}},655:(e,t,r)=>{var n=r(36955),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},876:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Step=t.Scale=t.Key=t.Getter=t.Dimension=t.Bounds=t.Binary=void 0,i(r(16882),t);var s=r(33359);Object.defineProperty(t,"Binary",{enumerable:!0,get:function(){return s.Binary}});var o=r(19459);Object.defineProperty(t,"Bounds",{enumerable:!0,get:function(){return o.Bounds}});var a=r(44324);Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return a.Dimension}});var l=r(27201);Object.defineProperty(t,"Getter",{enumerable:!0,get:function(){return l.Getter}});var c=r(54623);Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return c.Key}});var u=r(66838);Object.defineProperty(t,"Scale",{enumerable:!0,get:function(){return u.Scale}});var h=r(95192);Object.defineProperty(t,"Step",{enumerable:!0,get:function(){return h.Step}})},944:e=>{var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},1103:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1469:(e,t,r)=>{var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},1480:(e,t,r)=>{var n=r(46518),i=r(79039),s=r(10298).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:s})},1548:(e,t,r)=>{var n=r(44576),i=r(79039),s=r(39519),o=r(84215),a=n.structuredClone;e.exports=!!a&&!i((function(){if("DENO"===o&&s>92||"NODE"===o&&s>94||"BROWSER"===o&&s>97)return!1;var e=new ArrayBuffer(8),t=a(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},1625:(e,t,r)=>{var n=r(79504);e.exports=n({}.isPrototypeOf)},1688:(e,t,r)=>{var n=r(46518),i=r(70380);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},1767:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1886:(e,t,r)=>{var n=r(69565),i=r(24074),s=r(28551),o=r(70081),a=r(1767),l=r(55966),c=r(78227)("asyncIterator");e.exports=function(e,t){var r=arguments.length<2?l(e,c):t;return r?s(n(r,e)):new i(a(o(e)))}},1951:(e,t,r)=>{var n=r(78227);t.f=n},2008:(e,t,r)=>{var n=r(46518),i=r(59213).filter;n({target:"Array",proto:!0,forced:!r(70597)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},2087:(e,t,r)=>{var n=r(20034),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},2222:(e,t,r)=>{var n=r(46518),i=r(97751),s=r(79039),o=r(22812),a=r(655),l=r(67416),c=i("URL"),u=l&&s((function(){c.canParse()})),h=s((function(){return 1!==c.canParse.length}));n({target:"URL",stat:!0,forced:!u||h},{canParse:function(e){var t=o(arguments.length,1),r=a(e),n=t<2||void 0===arguments[1]?void 0:a(arguments[1]);try{return!!new c(r,n)}catch(e){return!1}}})},2259:(e,t,r)=>{r(70511)("iterator")},2293:(e,t,r)=>{var n=r(28551),i=r(35548),s=r(64117),o=r(78227)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||s(r=n(a)[o])?t:i(r)}},2360:(e,t,r)=>{var n,i=r(28551),s=r(96801),o=r(88727),a=r(30421),l=r(20397),c=r(4055),u=r(66119),h="prototype",d="script",p=u("IE_PROTO"),f=function(){},A=function(e){return"<"+d+">"+e+"</"+d+">"},g=function(e){e.write(A("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+d+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(A("document.F=Object")),e.close(),e.F):g(n);for(var i=o.length;i--;)delete m[h][o[i]];return m()};a[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f[h]=i(e),r=new f,f[h]=null,r[p]=e):r=m(),void 0===t?r:s.f(r,t)}},2478:(e,t,r)=>{var n=r(79504),i=r(48981),s=Math.floor,o=n("".charAt),a=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,h,d){var p=r+e.length,f=n.length,A=u;return void 0!==h&&(h=i(h),A=c),a(d,A,(function(i,a){var c;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,p);case"<":c=h[l(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>f){var d=s(u/10);return 0===d?i:d<=f?void 0===n[d-1]?o(a,1):n[d-1]+o(a,1):i}c=n[u-1]}return void 0===c?"":c}))}},2848:(e,t,r)=>{r(46518)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},2892:(e,t,r)=>{var n=r(46518),i=r(96395),s=r(43724),o=r(44576),a=r(19167),l=r(79504),c=r(92796),u=r(39297),h=r(23167),d=r(1625),p=r(10757),f=r(72777),A=r(79039),g=r(38480).f,m=r(77347).f,y=r(24913).f,v=r(31240),w=r(43802).trim,b="Number",E=o[b],x=a[b],C=E.prototype,_=o.TypeError,I=l("".slice),S=l("".charCodeAt),M=c(b,!E(" 0o1")||!E("0b1")||E("+0x1")),T=function(e){var t,r=arguments.length<1?0:E(function(e){var t=f(e,"number");return"bigint"==typeof t?t:function(e){var t,r,n,i,s,o,a,l,c=f(e,"number");if(p(c))throw new _("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=w(c),43===(t=S(c,0))||45===t){if(88===(r=S(c,2))||120===r)return NaN}else if(48===t){switch(S(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(s=I(c,2)).length,a=0;a<o;a++)if((l=S(s,a))<48||l>i)return NaN;return parseInt(s,n)}return+c}(t)}(e));return d(C,t=this)&&A((function(){v(t)}))?h(Object(r),this,T):r};T.prototype=C,M&&!i&&(C.constructor=T),n({global:!0,constructor:!0,wrap:!0,forced:M},{Number:T});var B=function(e,t){for(var r,n=s?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)u(t,r=n[i])&&!u(e,r)&&y(e,r,m(t,r))};i&&x&&B(a[b],x),(M||i)&&B(a[b],E)},2917:(e,t,r)=>{r(15239),r(9035),r(78662)},2945:(e,t,r)=>{var n=r(46518),i=r(44576),s=r(97751),o=r(79504),a=r(69565),l=r(79039),c=r(655),u=r(22812),h=r(92804).c2i,d=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,f=/[=]{1,2}$/,A=s("atob"),g=String.fromCharCode,m=o("".charAt),y=o("".replace),v=o(d.exec),w=!!A&&!l((function(){return"hi"!==A("aGk=")})),b=w&&l((function(){return""!==A(" ")})),E=w&&!l((function(){A("a")})),x=w&&!l((function(){A()})),C=w&&1!==A.length;n({global:!0,bind:!0,enumerable:!0,forced:!w||b||E||x||C},{atob:function(e){if(u(arguments.length,1),w&&!b&&!E)return a(A,i,e);var t,r,n,o=y(c(e),p,""),l="",x=0,C=0;if(o.length%4==0&&(o=y(o,f,"")),(t=o.length)%4==1||v(d,o))throw new(s("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;x<t;)r=m(o,x++),n=C%4?64*n+h[r]:h[r],C++%4&&(l+=g(255&n>>(-2*C&6)));return l}})},2952:(e,t,r)=>{var n=r(76080),i=r(79504),s=r(47055),o=r(48981),a=r(26198),l=r(72248),c=l.Map,u=l.get,h=l.has,d=l.set,p=i([].push);e.exports=function(e){for(var t,r,i=o(this),l=s(i),f=n(e,arguments.length>1?arguments[1]:void 0),A=new c,g=a(l),m=0;g>m;m++)t=f(r=l[m],m,i),h(A,t)?p(u(A,t),r):d(A,t,[r]);return A}},3064:(e,t,r)=>{var n=r(46518),i=r(36639).find;n({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return i(this,e)}})},3238:(e,t,r)=>{var n=r(44576),i=r(77811),s=r(67394),o=n.DataView;e.exports=function(e){if(!i||0!==s(e))return!1;try{return new o(e),!1}catch(e){return!0}}},3296:(e,t,r)=>{r(45806)},3362:(e,t,r)=>{r(10436),r(16499),r(82003),r(7743),r(51481),r(40280)},3451:(e,t,r)=>{var n=r(46518),i=r(79504),s=r(30421),o=r(20034),a=r(39297),l=r(24913).f,c=r(38480),u=r(10298),h=r(34124),d=r(33392),p=r(92744),f=!1,A=d("meta"),g=0,m=function(e){l(e,A,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},f=!0;var e=c.f,t=i([].splice),r={};r[A]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,s=n.length;i<s;i++)if(n[i]===A){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,A)){if(!h(e))return"F";if(!t)return"E";m(e)}return e[A].objectID},getWeakData:function(e,t){if(!a(e,A)){if(!h(e))return!0;if(!t)return!1;m(e)}return e[A].weakData},onFreeze:function(e){return p&&f&&h(e)&&!a(e,A)&&m(e),e}};s[A]=!0},3470:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},3607:(e,t,r)=>{var n=r(82839).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},3690:(e,t,r)=>{r(15823)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},3717:(e,t,r)=>{var n=r(79504),i=2147483647,s=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",l=RangeError,c=n(o.exec),u=Math.floor,h=String.fromCharCode,d=n("".charCodeAt),p=n([].join),f=n([].push),A=n("".replace),g=n("".split),m=n("".toLowerCase),y=function(e){return e+22+75*(e<26)},v=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=d(e,r++);if(i>=55296&&i<=56319&&r<n){var s=d(e,r++);56320==(64512&s)?f(t,((1023&i)<<10)+(1023&s)+65536):(f(t,i),r--)}else f(t,i)}return t}(e);var r,n,s=e.length,o=128,c=0,A=72;for(r=0;r<e.length;r++)(n=e[r])<128&&f(t,h(n));var g=t.length,m=g;for(g&&f(t,"-");m<s;){var w=i;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<w&&(w=n);var b=m+1;if(w-o>u((i-c)/b))throw new l(a);for(c+=(w-o)*b,o=w,r=0;r<e.length;r++){if((n=e[r])<o&&++c>i)throw new l(a);if(n===o){for(var E=c,x=36;;){var C=x<=A?1:x>=A+26?26:x-A;if(E<C)break;var _=E-C,I=36-C;f(t,h(y(C+_%I))),E=u(_/I),x+=36}f(t,h(y(E))),A=v(c,b,m===g),c=0,m++}}c++,o++}return p(t,"")};e.exports=function(e){var t,r,n=[],i=g(A(m(e),o,"."),".");for(t=0;t<i.length;t++)r=i[t],f(n,c(s,r)?"xn--"+w(r):r);return p(n,".")}},3949:(e,t,r)=>{r(7588)},3995:(e,t,r)=>{var n=r(46518),i=r(79504),s=r(24194),o=r(57696),a=r(67787),l=r(53602),c=Math.pow,u=1024,h=i(DataView.prototype.setUint16);n({target:"DataView",proto:!0},{setFloat16:function(e,t){s(this);var r=o(e),n=function(e){if(e!=e)return 32256;if(0===e)return(1/e==-1/0)<<15;var t=e<0;if(t&&(e=-e),e>=65520)return t<<15|31744;if(e<61005353927612305e-21)return t<<15|l(16777216*e);var r=0|a(e);if(-15===r)return t<<15|u;var n=l((e*c(2,-r)-1)*u);return n===u?t<<15|r+16<<10:t<<15|r+15<<10|n}(+t);return h(this,r,n,arguments.length>2&&arguments[2])}})},4055:(e,t,r)=>{var n=r(44576),i=r(20034),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},4235:(e,t,r)=>{var n=r(46518),i=r(79504),s=r(72652),o=RangeError,a=TypeError,l=1/0,c=Math.abs,u=Math.pow,h=i([].push),d=u(2,1023),p=u(2,53)-1,f=Number.MAX_VALUE,A=u(2,971),g={},m={},y={},v={},w={},b=function(e,t){var r=e+t;return{hi:r,lo:t-(r-e)}};n({target:"Math",stat:!0},{sumPrecise:function(e){var t=[],r=0,n=v;switch(s(e,(function(e){if(++r>=p)throw new o("Maximum allowed index exceeded");if("number"!=typeof e)throw new a("Value is not a number");n!==g&&(e!=e?n=g:e===l?n=n===m?g:y:e===-1/0?n=n===y?g:m:0===e&&1/e!==l||n!==v&&n!==w||(n=w,h(t,e)))})),n){case g:return NaN;case m:return-1/0;case y:return l;case v:return-0}for(var i,u,E,x,C,_,I=[],S=0,M=0;M<t.length;M++){i=t[M];for(var T=0,B=0;B<I.length;B++){if(u=I[B],c(i)<c(u)&&(_=i,i=u,u=_),x=(E=b(i,u)).hi,C=E.lo,c(x)===l){var P=x===l?1:-1;S+=P,c(i=i-P*d-P*d)<c(u)&&(_=i,i=u,u=_),x=(E=b(i,u)).hi,C=E.lo}0!==C&&(I[T++]=C),i=x}I.length=T,0!==i&&h(I,i)}var R=I.length-1;if(x=0,C=0,0!==S){var L=R>=0?I[R]:0;if(R--,c(S)>1||S>0&&L>0||S<0&&L<0)return S>0?l:-1/0;if(x=(E=b(S*d,L/2)).hi,C=E.lo,C*=2,c(2*x)===l)return x>0?x===d&&C===-A/2&&R>=0&&I[R]<0?f:l:x===-d&&C===A/2&&R>=0&&I[R]>0?-f:-1/0;0!==C&&(I[++R]=C,C=0),x*=2}for(;R>=0&&(x=(E=b(x,I[R--])).hi,0===(C=E.lo)););return R>=0&&(C<0&&I[R]<0||C>0&&I[R]>0)&&(u=2*C)==(i=x+u)-x&&(x=i),x}})},4294:(e,t,r)=>{var n=r(46518),i=r(97751),s=r(18745),o=r(79039),a=r(14601),l="AggregateError",c=i(l),u=!o((function(){return 1!==c([1]).errors[0]}))&&o((function(){return 7!==c([1],l,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(l,(function(e){return function(t,r){return s(e,this,arguments)}}),u,!0)})},4360:(e,t,r)=>{var n=r(46518),i=r(33164);n({target:"Math",stat:!0},{f16round:function(e){return i(e,.0009765625,65504,6103515625e-14)}})},4495:(e,t,r)=>{var n=r(39519),i=r(79039),s=r(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4731:(e,t,r)=>{var n=r(44576);r(10687)(n.JSON,"JSON",!0)},5240:(e,t,r)=>{r(16468)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(91625))},5247:(e,t,r)=>{r.d(t,{M:()=>A});var n=r(43070),i=r(52219);const s=Math.PI,o=s/2,a=new n.Vector3,l=new n.Vector3,c=new n.Vector3,u=new n.Matrix4;let h=0;const d=[];function p(e=!1){return e?(d[h]||(d[h]=new n.Vector3),h++,d[h-1]):new n.Vector3}function f(){h=0}class A extends i.C1{constructor(e,t,r,n=-o,i=o,a=0,l=2*s,c=0,u=0){super(e,t,r),this.latStart=n,this.latEnd=i,this.lonStart=a,this.lonEnd=l,this.heightStart=c,this.heightEnd=u}_getPoints(e=!1){const{latStart:t,latEnd:r,lonStart:i,lonEnd:a,heightStart:l,heightEnd:c}=this,u=n.MathUtils.mapLinear(.5,0,1,t,r),h=n.MathUtils.mapLinear(.5,0,1,i,a),d=Math.floor(i/o)*o,f=[[-s/2,0],[s/2,0],[0,d],[0,d+s/2],[0,d+s],[0,d+3*s/2],[t,a],[r,a],[t,i],[r,i],[0,i],[0,a],[u,h],[t,h],[r,h],[u,i],[u,a]],A=[],g=f.length;for(let s=0;s<=1;s++){const o=n.MathUtils.mapLinear(s,0,1,l,c);for(let n=0,s=g;n<s;n++){const[s,l]=f[n];if(s>=t&&s<=r&&l>=i&&l<=a){const t=p(e);A.push(t),this.getCartographicToPosition(s,l,o,t)}}}return A}getBoundingBox(e,t){f();const{latStart:r,latEnd:i,lonStart:o,lonEnd:h}=this;if(i-r<s/2){const e=n.MathUtils.mapLinear(.5,0,1,r,i),s=n.MathUtils.mapLinear(.5,0,1,o,h);this.getCartographicToNormal(e,s,c),l.set(0,0,1),a.crossVectors(l,c),l.crossVectors(a,c),t.makeBasis(a,l,c)}else a.set(1,0,0),l.set(0,1,0),c.set(0,0,1),t.makeBasis(a,l,c);u.copy(t).invert();const d=this._getPoints(!0);for(let e=0,t=d.length;e<t;e++)d[e].applyMatrix4(u);e.makeEmpty(),e.setFromPoints(d)}getBoundingSphere(e,t){f();const r=this._getPoints(!0);e.makeEmpty(),e.setFromPoints(r,t)}}},5506:(e,t,r)=>{var n=r(46518),i=r(32357).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},5745:(e,t,r)=>{var n=r(46518),i=r(77240);n({target:"String",proto:!0,forced:r(23061)("bold")},{bold:function(){return i(this,"b","","")}})},5746:(e,t,r)=>{var n=r(69565),i=r(89228),s=r(28551),o=r(64117),a=r(67750),l=r(3470),c=r(655),u=r(55966),h=r(56682);i("search",(function(e,t,r){return[function(t){var r=a(this),i=o(t)?void 0:u(t,e);return i?n(i,t,r):new RegExp(t)[e](c(r))},function(e){var n=s(this),i=c(e),o=r(t,n,i);if(o.done)return o.value;var a=n.lastIndex;l(a,0)||(n.lastIndex=0);var u=h(n,i);return l(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]}))},5914:(e,t,r)=>{r(46518)({target:"Math",stat:!0},{sign:r(77782)})},6469:(e,t,r)=>{var n=r(78227),i=r(2360),s=r(24913).f,o=n("unscopables"),a=Array.prototype;void 0===a[o]&&s(a,o,{configurable:!0,value:i(null)}),e.exports=function(e){a[o][e]=!0}},6585:e=>{var t=1e3,r=60*t,n=60*r,i=24*n,s=7*i;function o(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(l=e,(c=Math.abs(l))>=i?o(l,c,i,"day"):c>=n?o(l,c,n,"hour"):c>=r?o(l,c,r,"minute"):c>=t?o(l,c,t,"second"):l+" ms"):function(e){var s=Math.abs(e);return s>=i?Math.round(e/i)+"d":s>=n?Math.round(e/n)+"h":s>=r?Math.round(e/r)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6660:(e,t,r)=>{r(46518)({target:"Math",stat:!0,forced:!0},{signbit:function(e){var t=+e;return t==t&&0===t?1/t==-1/0:t<0}})},6761:(e,t,r)=>{var n=r(46518),i=r(44576),s=r(69565),o=r(79504),a=r(96395),l=r(43724),c=r(4495),u=r(79039),h=r(39297),d=r(1625),p=r(28551),f=r(25397),A=r(56969),g=r(655),m=r(6980),y=r(2360),v=r(71072),w=r(38480),b=r(10298),E=r(33717),x=r(77347),C=r(24913),_=r(96801),I=r(48773),S=r(36840),M=r(62106),T=r(25745),B=r(66119),P=r(30421),R=r(33392),L=r(78227),D=r(1951),k=r(70511),O=r(58242),F=r(10687),Q=r(91181),N=r(59213).forEach,U=B("hidden"),G="Symbol",z="prototype",j=Q.set,V=Q.getterFor(G),q=Object[z],H=i.Symbol,W=H&&H[z],$=i.RangeError,Y=i.TypeError,K=i.QObject,J=x.f,X=C.f,Z=b.f,ee=I.f,te=o([].push),re=T("symbols"),ne=T("op-symbols"),ie=T("wks"),se=!K||!K[z]||!K[z].findChild,oe=function(e,t,r){var n=J(q,t);n&&delete q[t],X(e,t,r),n&&e!==q&&X(q,t,n)},ae=l&&u((function(){return 7!==y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?oe:X,le=function(e,t){var r=re[e]=y(W);return j(r,{type:G,tag:e,description:t}),l||(r.description=t),r},ce=function(e,t,r){e===q&&ce(ne,t,r),p(e);var n=A(t);return p(r),h(re,n)?(r.enumerable?(h(e,U)&&e[U][n]&&(e[U][n]=!1),r=y(r,{enumerable:m(0,!1)})):(h(e,U)||X(e,U,m(1,y(null))),e[U][n]=!0),ae(e,n,r)):X(e,n,r)},ue=function(e,t){p(e);var r=f(t),n=v(r).concat(fe(r));return N(n,(function(t){l&&!s(he,r,t)||ce(e,t,r[t])})),e},he=function(e){var t=A(e),r=s(ee,this,t);return!(this===q&&h(re,t)&&!h(ne,t))&&(!(r||!h(this,t)||!h(re,t)||h(this,U)&&this[U][t])||r)},de=function(e,t){var r=f(e),n=A(t);if(r!==q||!h(re,n)||h(ne,n)){var i=J(r,n);return!i||!h(re,n)||h(r,U)&&r[U][n]||(i.enumerable=!0),i}},pe=function(e){var t=Z(f(e)),r=[];return N(t,(function(e){h(re,e)||h(P,e)||te(r,e)})),r},fe=function(e){var t=e===q,r=Z(t?ne:f(e)),n=[];return N(r,(function(e){!h(re,e)||t&&!h(q,e)||te(n,re[e])})),n};c||(S(W=(H=function(){if(d(W,this))throw new Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=R(e),r=function(e){var n=void 0===this?i:this;n===q&&s(r,ne,e),h(n,U)&&h(n[U],t)&&(n[U][t]=!1);var o=m(1,e);try{ae(n,t,o)}catch(e){if(!(e instanceof $))throw e;oe(n,t,o)}};return l&&se&&ae(q,t,{configurable:!0,set:r}),le(t,e)})[z],"toString",(function(){return V(this).tag})),S(H,"withoutSetter",(function(e){return le(R(e),e)})),I.f=he,C.f=ce,_.f=ue,x.f=de,w.f=b.f=pe,E.f=fe,D.f=function(e){return le(L(e),e)},l&&(M(W,"description",{configurable:!0,get:function(){return V(this).description}}),a||S(q,"propertyIsEnumerable",he,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(v(ie),(function(e){k(e)})),n({target:G,stat:!0,forced:!c},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ue(y(e),t)},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe}),O(),F(H,G),P[U]=!0},6980:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6986:(e,t,r)=>{var n=r(46518),i=r(77957),s=r(34598),o=r(6469);n({target:"Array",proto:!0,forced:!s("groupBy")},{groupBy:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("groupBy")},7036:(e,t,r)=>{var n=r(46518),i=r(79306),s=r(36194),o=r(72248),a=o.get,l=o.has,c=o.set;n({target:"Map",proto:!0,real:!0,forced:!0},{getOrInsertComputed:function(e,t){if(s(this),i(t),l(this,e))return a(this,e);0===e&&1/e==-1/0&&(e=0);var r=t(e);return c(this,e,r),r}})},7040:(e,t,r)=>{var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7467:(e,t,r)=>{var n=r(46518),i=r(18745),s=r(59323),o=r(97751),a=r(2360),l=Object,c=function(){var e=o("Object","freeze");return e?e(a(null)):a(null)};n({global:!0,forced:!0},{compositeKey:function(){return i(s,l,arguments).get("object",c)}})},7588:(e,t,r)=>{var n=r(46518),i=r(72652),s=r(79306),o=r(28551),a=r(1767);n({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(this),s(e);var t=a(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},7709:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.allSettled=void 0,t.allSettled=function(e){return Promise.all(e.map((e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}})))}},7740:e=>{var t=Math.log;e.exports=Math.log1p||function(e){var r=+e;return r>-1e-8&&r<1e-8?r-r*r/2:t(1+r)}},7743:(e,t,r)=>{var n=r(46518),i=r(69565),s=r(79306),o=r(36043),a=r(1103),l=r(72652);n({target:"Promise",stat:!0,forced:r(90537)},{race:function(e){var t=this,r=o.f(t),n=r.reject,c=a((function(){var o=s(t.resolve);l(e,(function(e){i(o,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},7860:(e,t,r)=>{var n=r(82839);e.exports=/web0s(?!.*chrome)/i.test(n)},7904:(e,t,r)=>{var n=r(46518),i=r(43724),s=r(42551),o=r(48981),a=r(56969),l=r(42787),c=r(77347).f;i&&n({target:"Object",proto:!0,forced:s},{__lookupSetter__:function(e){var t,r=o(this),n=a(e);do{if(t=c(r,n))return t.set}while(r=l(r))}})},8045:(e,t,r)=>{var n=r(76080),i=r(79504),s=r(48981),o=r(33517),a=r(1886),l=r(70081),c=r(1767),u=r(50851),h=r(55966),d=r(97751),p=r(44124),f=r(78227),A=r(24074),g=r(36639).toArray,m=f("asyncIterator"),y=i(p("Array","values")),v=i(y([]).next),w=function(){return new b(this)},b=function(e){this.iterator=y(e)};b.prototype.next=function(){return v(this.iterator)},e.exports=function(e){var t=this,r=arguments.length,i=r>1?arguments[1]:void 0,p=r>2?arguments[2]:void 0;return new(d("Promise"))((function(r){var d=s(e);void 0!==i&&(i=n(i,p));var f=h(d,m),y=f?void 0:u(d)||w,v=o(t)?new t:[],b=f?a(d,f):new A(c(l(d,y)));r(g(b,i,v))}))}},8085:(e,t,r)=>{var n=r(46518),i=Math.floor,s=Math.log,o=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-i(s(t+.5)*o):32}})},8159:(e,t,r)=>{var n=r(46518),i=r(36639).some;n({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return i(this,e)}})},8288:(e,t,r)=>{var n=r(46518),i=r(18449),s=r(28551),o=i.toKey,a=i.set;n({target:"Reflect",stat:!0},{metadata:function(e,t){return function(r,n){a(e,t,s(r),o(n))}}})},8379:(e,t,r)=>{var n=r(18745),i=r(25397),s=r(91291),o=r(26198),a=r(34598),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,h=a("lastIndexOf"),d=u||!h;e.exports=d?function(e){if(u)return n(c,this,arguments)||0;var t=i(this),r=o(t);if(0===r)return-1;var a=r-1;for(arguments.length>1&&(a=l(a,s(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},8872:(e,t,r)=>{r(18237)},8921:(e,t,r)=>{var n=r(46518),i=r(8379);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},8995:(e,t,r)=>{var n=r(94644),i=r(59213).map,s=n.aTypedArray,o=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return i(s(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},9035:(e,t,r)=>{var n=r(46518),i=r(97751),s=r(69565),o=r(28551),a=r(33517),l=r(70081),c=r(55966),u=r(72652),h=r(78227)("observable");n({target:"Observable",stat:!0,forced:!0},{from:function(e){var t=a(this)?this:i("Observable"),r=c(o(e),h);if(r){var n=o(s(r,e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}var d=l(e);return new t((function(e){u(d,(function(t,r){if(e.next(t),e.closed)return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete()}))}})},9065:(e,t,r)=>{var n=r(46518),i=r(43724),s=r(28551),o=r(77347);n({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(e,t){return o.f(s(e),t)}})},9156:(e,t,r)=>{var n=r(46518),i=r(91354);n({target:"Object",stat:!0,forced:!0},{iterateKeys:function(e){return new i(e,"keys")}})},9220:(e,t,r)=>{var n=r(46518),i=r(43724),s=r(42551),o=r(48981),a=r(56969),l=r(42787),c=r(77347).f;i&&n({target:"Object",proto:!0,forced:s},{__lookupGetter__:function(e){var t,r=o(this),n=a(e);do{if(t=c(r,n))return t.get}while(r=l(r))}})},9391:(e,t,r)=>{var n=r(46518),i=r(96395),s=r(80550),o=r(79039),a=r(97751),l=r(94901),c=r(2293),u=r(93438),h=r(36840),d=s&&s.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!s&&o((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,a("Promise")),r=l(e);return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!i&&l(s)){var p=a("Promise").prototype.finally;d.finally!==p&&h(d,"finally",p,{unsafe:!0})}},9539:(e,t,r)=>{var n=r(69565),i=r(28551),s=r(55966);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},9678:(e,t,r)=>{var n=r(46518),i=r(37628),s=r(25397),o=r(6469),a=Array;n({target:"Array",proto:!0},{toReversed:function(){return i(s(this),a)}}),o("toReversed")},9730:(e,t,r)=>{r(3995)},9868:(e,t,r)=>{var n=r(46518),i=r(79504),s=r(91291),o=r(31240),a=r(72333),l=r(79039),c=RangeError,u=String,h=Math.floor,d=i(a),p=i("".slice),f=i(1..toFixed),A=function(e,t,r){return 0===t?r:t%2==1?A(e,t-1,r*e):A(e*e,t/2,r)},g=function(e,t,r){for(var n=-1,i=r;++n<6;)i+=t*e[n],e[n]=i%1e7,i=h(i/1e7)},m=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=h(n/t),n=n%t*1e7},y=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=u(e[t]);r=""===r?n:r+d("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:l((function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)}))||!l((function(){f({})}))},{toFixed:function(e){var t,r,n,i,a=o(this),l=s(e),h=[0,0,0,0,0,0],f="",v="0";if(l<0||l>20)throw new c("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return u(a);if(a<0&&(f="-",a=-a),a>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(a*A(2,69,1))-69)<0?a*A(2,-t,1):a/A(2,t,1),r*=4503599627370496,(t=52-t)>0){for(g(h,0,r),n=l;n>=7;)g(h,1e7,0),n-=7;for(g(h,A(10,n,1),0),n=t-1;n>=23;)m(h,1<<23),n-=23;m(h,1<<n),g(h,1,1),m(h,2),v=y(h)}else g(h,0,r),g(h,1<<-t,0),v=y(h)+d("0",l);return l>0?f+((i=v.length)<=l?"0."+d("0",l-i)+v:p(v,0,i-l)+"."+p(v,i-l)):f+v}})},9920:(e,t,r)=>{var n=r(46518),i=r(36639).forEach;n({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return i(this,e)}})},10149:(e,t,r)=>{r(44732)},10255:(e,t,r)=>{var n=r(46518),i=r(79504),s=Math.pow,o=s(2,-24),a=.0009765625,l=i(DataView.prototype.getUint16);n({target:"DataView",proto:!0},{getFloat16:function(e){var t,r,n,i;return r=(t=l(this,e,arguments.length>1&&arguments[1]))>>>15,i=1023&t,31==(n=t>>>10&31)?0===i?0===r?1/0:-1/0:NaN:0===n?i*(0===r?o:-o):s(2,n-15)*(0===r?1+i*a:-1-i*a)}})},10287:(e,t,r)=>{r(46518)({target:"Object",stat:!0},{setPrototypeOf:r(52967)})},10298:(e,t,r)=>{var n=r(22195),i=r(25397),s=r(38480).f,o=r(67680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"===n(e)?function(e){try{return s(e)}catch(e){return o(a)}}(e):s(i(e))}},10350:(e,t,r)=>{var n=r(43724),i=r(39297),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},10436:(e,t,r)=>{var n,i,s,o=r(46518),a=r(96395),l=r(38574),c=r(44576),u=r(69565),h=r(36840),d=r(52967),p=r(10687),f=r(87633),A=r(79306),g=r(94901),m=r(20034),y=r(90679),v=r(2293),w=r(59225).set,b=r(91955),E=r(90757),x=r(1103),C=r(18265),_=r(91181),I=r(80550),S=r(10916),M=r(36043),T="Promise",B=S.CONSTRUCTOR,P=S.REJECTION_EVENT,R=S.SUBCLASSING,L=_.getterFor(T),D=_.set,k=I&&I.prototype,O=I,F=k,Q=c.TypeError,N=c.document,U=c.process,G=M.f,z=G,j=!!(N&&N.createEvent&&c.dispatchEvent),V="unhandledrejection",q=function(e){var t;return!(!m(e)||!g(t=e.then))&&t},H=function(e,t){var r,n,i,s=t.value,o=1===t.state,a=o?e.ok:e.fail,l=e.resolve,c=e.reject,h=e.domain;try{a?(o||(2===t.rejection&&J(t),t.rejection=1),!0===a?r=s:(h&&h.enter(),r=a(s),h&&(h.exit(),i=!0)),r===e.promise?c(new Q("Promise-chain cycle")):(n=q(r))?u(n,r,l,c):l(r)):c(s)}catch(e){h&&!i&&h.exit(),c(e)}},W=function(e,t){e.notified||(e.notified=!0,b((function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},$=function(e,t,r){var n,i;j?((n=N.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!P&&(i=c["on"+e])?i(n):e===V&&E("Unhandled promise rejection",r)},Y=function(e){u(w,c,(function(){var t,r=e.facade,n=e.value;if(K(e)&&(t=x((function(){l?U.emit("unhandledRejection",n,r):$(V,r,n)})),e.rejection=l||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},J=function(e){u(w,c,(function(){var t=e.facade;l?U.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},X=function(e,t,r){return function(n){e(t,n,r)}},Z=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new Q("Promise can't be resolved itself");var n=q(t);n?b((function(){var r={done:!1};try{u(n,t,X(ee,r,e),X(Z,r,e))}catch(t){Z(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){Z({done:!1},t,e)}}};if(B&&(F=(O=function(e){y(this,F),A(e),u(n,this);var t=L(this);try{e(X(ee,t),X(Z,t))}catch(e){Z(t,e)}}).prototype,(n=function(e){D(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=h(F,"then",(function(e,t){var r=L(this),n=G(v(this,O));return r.parent=!0,n.ok=!g(e)||e,n.fail=g(t)&&t,n.domain=l?U.domain:void 0,0===r.state?r.reactions.add(n):b((function(){H(n,r)})),n.promise})),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=X(ee,t),this.reject=X(Z,t)},M.f=G=function(e){return e===O||void 0===e?new i(e):z(e)},!a&&g(I)&&k!==Object.prototype)){s=k.then,R||h(k,"then",(function(e,t){var r=this;return new O((function(e,t){u(s,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete k.constructor}catch(e){}d&&d(k,F)}o({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:O}),p(O,T,!1,!0),f(T)},10539:()=>{},10586:(e,t,r)=>{var n=r(46518),i=r(59323),s=r(97751),o=r(18745);n({global:!0,forced:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?s("Symbol").for(arguments[0]):o(i,null,arguments).get("symbol",s("Symbol"))}})},10687:(e,t,r)=>{var n=r(24913).f,i=r(39297),s=r(78227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,s)&&n(e,s,{configurable:!0,value:t})}},10757:(e,t,r)=>{var n=r(97751),i=r(94901),s=r(1625),o=r(7040),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},10838:(e,t,r)=>{var n=r(46518),i=r(43839).findLast,s=r(6469);n({target:"Array",proto:!0},{findLast:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("findLast")},10916:(e,t,r)=>{var n=r(44576),i=r(80550),s=r(94901),o=r(92796),a=r(33706),l=r(78227),c=r(84215),u=r(96395),h=r(39519),d=i&&i.prototype,p=l("species"),f=!1,A=s(n.PromiseRejectionEvent),g=o("Promise",(function(){var e=a(i),t=e!==String(i);if(!t&&66===h)return!0;if(u&&(!d.catch||!d.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(f=r.then((function(){}))instanceof n))return!0}return!(t||"BROWSER"!==c&&"DENO"!==c||A)}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:A,SUBCLASSING:f}},11025:(e,t,r)=>{r(52675),r(89463),r(66412),r(60193),r(92168),r(2259),r(86964),r(83142),r(83237),r(61833),r(67947),r(31073),r(45700),r(78125),r(20326),r(16280),r(76918),r(30067),r(4294),r(18107),r(28706),r(26835),r(88431),r(33771),r(2008),r(50113),r(48980),r(10838),r(13451),r(46449),r(78350),r(51629),r(23418),r(74423),r(25276),r(64346),r(23792),r(48598),r(8921),r(62062),r(31051),r(44114),r(72712),r(18863),r(94490),r(34782),r(15086),r(26910),r(87478),r(54554),r(9678),r(57145),r(71658),r(93514),r(30237),r(13609),r(11558),r(54743),r(46761),r(11745),r(38309),r(10255),r(3995),r(16573),r(78100),r(77936),r(61699),r(59089),r(91191),r(93515),r(1688),r(60739),r(89572),r(23288),r(36456),r(94170),r(48957),r(62010),r(55081),r(18111),r(29314),r(81148),r(22489),r(20116),r(30531),r(7588),r(49603),r(61701),r(18237),r(13579),r(54972),r(61806),r(33110),r(4731),r(36033),r(47072),r(93153),r(82326),r(36389),r(64444),r(8085),r(77762),r(65070),r(60605),r(4360),r(39469),r(72152),r(75376),r(56624),r(11367),r(5914),r(78553),r(98690),r(60479),r(70761),r(2892),r(45374),r(25428),r(32637),r(40150),r(59149),r(64601),r(44435),r(87220),r(25843),r(62337),r(9868),r(80630),r(69085),r(59904),r(17427),r(67945),r(84185),r(87607),r(5506),r(52811),r(53921),r(83851),r(81278),r(1480),r(40875),r(77691),r(78347),r(29908),r(94052),r(94003),r(221),r(79432),r(9220),r(7904),r(93967),r(63548),r(93941),r(10287),r(26099),r(16034),r(78459),r(58940),r(3362),r(96167),r(93518),r(9391),r(31689),r(14628),r(39796),r(60825),r(87411),r(21211),r(40888),r(9065),r(86565),r(32812),r(84634),r(71137),r(30985),r(34268),r(34873),r(15472),r(84864),r(96069),r(57465),r(27495),r(69479),r(87745),r(90906),r(38781),r(31415),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(67357),r(23860),r(99449),r(27337),r(21699),r(42043),r(47764),r(71761),r(28543),r(35701),r(68156),r(85906),r(42781),r(25440),r(79978),r(5746),r(90744),r(11392),r(50375),r(67438),r(42762),r(39202),r(43359),r(89907),r(11898),r(35490),r(5745),r(94298),r(60268),r(69546),r(20781),r(50778),r(89195),r(46276),r(48718),r(16308),r(34594),r(29833),r(46594),r(72107),r(95477),r(21489),r(22134),r(3690),r(61740),r(48140),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(21903),r(91134),r(33206),r(48345),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(52568),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(37467),r(44732),r(33684),r(79577),r(88267),r(73772),r(30958),r(49806),r(39687),r(26148),r(34504),r(87370),r(31659),r(95115),r(17978),r(46058),r(6986),r(88177),r(80081),r(45490),r(17656),r(55105),r(54151),r(72400),r(73677),r(61938),r(85901),r(26280),r(27913),r(47801),r(82750),r(33811),r(84847),r(74147),r(29150),r(74648),r(17333),r(3064),r(32679),r(9920),r(46967),r(45182),r(41393),r(14905),r(8159),r(39320),r(86994),r(24964),r(7467),r(10586),r(47390),r(81332),r(9730),r(56192),r(66557),r(26615),r(83354),r(98225),r(37998),r(16401),r(18640),r(62480),r(98992),r(51098),r(81218),r(16037),r(64743),r(23215),r(54520),r(72577),r(30670),r(3949),r(45882),r(76913),r(81454),r(75289),r(8872),r(37550),r(27413),r(41795),r(81730),r(67296),r(58335),r(33981),r(71517),r(11379),r(93777),r(14190),r(12359),r(86097),r(39172),r(27254),r(7036),r(57019),r(17273),r(81723),r(27415),r(19929),r(37583),r(55122),r(16385),r(20230),r(57268),r(79733),r(19717),r(52231),r(58179),r(30456),r(74017),r(79310),r(16453),r(83062),r(96369),r(15637),r(2848),r(24842),r(24746),r(33454),r(6660),r(4235),r(15941),r(82101),r(79926),r(84208),r(91550),r(9156),r(48918),r(66090),r(2917),r(35874),r(47575),r(47628),r(43799),r(65186),r(42978),r(72527),r(79852),r(42376),r(40617),r(73067),r(66820),r(8288),r(37108),r(25509),r(65223),r(43375),r(60321),r(41927),r(11632),r(64377),r(49522),r(39225),r(66771),r(13972),r(12516),r(99209),r(68931),r(25714),r(52514),r(35694),r(52774),r(23283),r(49536),r(21926),r(17561),r(16864),r(66197),r(16215),r(78898),r(84114),r(74176),r(66337),r(44590),r(38344),r(12041),r(51755),r(81202),r(49604),r(43275),r(13070),r(87153),r(53032),r(53803),r(13976),r(30465),r(18999),r(42793),r(77208),r(73440),r(13195),r(51839),r(14037),r(47350),r(91706),r(96847),r(23241),r(43250),r(10149),r(67302),r(55871),r(24082),r(57051),r(27650),r(41549),r(49797),r(49631),r(35623),r(67348),r(26957),r(79732),r(35644),r(80805),r(73525),r(49634),r(83742),r(56422),r(82451),r(46270),r(2945),r(42207),r(23500),r(62953),r(55815),r(64979),r(79739),r(59848),r(122),r(13611),r(71678),r(76031),r(3296),r(2222),r(45781),r(27208),r(48408),r(14603),r(47566),r(98721),r(19167)},11029:(e,t)=>{let r;function n(e){return(""+e).replace(/^((?:https?|file|ftp|chrome-extension|moz-extension):\/\/.+)?\/[^/]+(?:\?.*)?$/,"$1")+"/"}Object.defineProperty(t,"__esModule",{value:!0}),t.getBundleURL=t.getBaseURL=void 0,t.getBundleURL=function(){return r||(r=function(){try{throw new Error}catch(e){const t=(""+e.stack).match(/(https?|file|ftp|chrome-extension|moz-extension):\/\/[^)\n]+/g);if(t)return n(t[0])}return"/"}()),r},t.getBaseURL=n},11056:(e,t,r)=>{var n=r(24913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},11367:(e,t,r)=>{r(46518)({target:"Math",stat:!0},{log2:r(67787)})},11379:(e,t,r)=>{var n=r(46518),i=r(36194),s=r(72248),o=s.get,a=s.has,l=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var r,n,s=i(this);return a(s,e)?(r=o(s,e),"update"in t&&(r=t.update(r,e,s),l(s,e,r)),r):(n=t.insert(e,s),l(s,e,n),n)}})},11392:(e,t,r)=>{var n,i=r(46518),s=r(27476),o=r(77347).f,a=r(18014),l=r(655),c=r(60511),u=r(67750),h=r(41436),d=r(96395),p=s("".slice),f=Math.min,A=h("startsWith");i({target:"String",proto:!0,forced:!(!d&&!A&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||A)},{startsWith:function(e){var t=l(u(this));c(e);var r=a(f(arguments.length>1?arguments[1]:void 0,t.length)),n=l(e);return p(t,r,r+n.length)===n}})},11558:(e,t,r)=>{var n=r(46518),i=r(39928),s=r(25397),o=Array;n({target:"Array",proto:!0},{with:function(e,t){return i(s(this),o,e,t)}})},11632:(e,t,r)=>{var n=r(46518),i=r(76080),s=r(97080),o=r(94402),a=r(38469),l=o.Set,c=o.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),r=i(e,arguments.length>1?arguments[1]:void 0),n=new l;return a(t,(function(e){r(e,e,t)&&c(n,e)})),n}})},11677:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Extractor=void 0;const n=r(876);function i(e){const{scale:t,offset:r}=e,i=a(e);function s(e,t){return e.getUint8(i(t)+14)}function o(e,t){return e.getUint8(i(t)+15)}function l(e,t){return 31&o(e,t)}return{X:(e,s)=>n.Scale.unapply(e.getInt32(i(s),!0),t[0],r[0]),Y:(e,s)=>n.Scale.unapply(e.getInt32(i(s)+4,!0),t[1],r[1]),Z:(e,s)=>n.Scale.unapply(e.getInt32(i(s)+8,!0),t[2],r[2]),Intensity:(e,t)=>e.getUint16(i(t)+12,!0),ReturnNumber:(e,t)=>7&s(e,t),NumberOfReturns:(e,t)=>(56&s(e,t))>>3,ScanDirectionFlag:(e,t)=>(64&s(e,t))>>6,EdgeOfFlightLine:(e,t)=>(128&s(e,t))>>7,Classification:(e,t)=>{const r=l(e,t);return 12===r?0:r},Synthetic:(e,t)=>(32&o(e,t))>>5,KeyPoint:(e,t)=>(64&o(e,t))>>6,Withheld:(e,t)=>(128&o(e,t))>>7,Overlap:(e,t)=>12===l(e,t)?1:0,ScanAngle:(e,t)=>e.getInt8(i(t)+16),UserData:(e,t)=>e.getUint8(i(t)+17),PointSourceId:(e,t)=>e.getUint16(i(t)+18,!0)}}function s(e){const{scale:t,offset:r}=e,i=a(e);function s(e,t){return e.getUint8(i(t)+15)}return{X:(e,s)=>n.Scale.unapply(e.getInt32(i(s),!0),t[0],r[0]),Y:(e,s)=>n.Scale.unapply(e.getInt32(i(s)+4,!0),t[1],r[1]),Z:(e,s)=>n.Scale.unapply(e.getInt32(i(s)+8,!0),t[2],r[2]),Intensity:(e,t)=>e.getUint16(i(t)+12,!0),ReturnNumber:(e,t)=>15&e.getUint16(i(t)+14,!0),NumberOfReturns:(e,t)=>(240&e.getUint16(i(t)+14,!0))>>4,Synthetic:(e,t)=>1&s(e,t),KeyPoint:(e,t)=>(2&s(e,t))>>1,Withheld:(e,t)=>(4&s(e,t))>>2,Overlap:(e,t)=>(8&s(e,t))>>3,ScannerChannel:(e,t)=>(48&s(e,t))>>4,ScanDirectionFlag:(e,t)=>(64&s(e,t))>>6,EdgeOfFlightLine:(e,t)=>(128&s(e,t))>>7,Classification:(e,t)=>e.getUint8(i(t)+16),UserData:(e,t)=>e.getUint8(i(t)+17),ScanAngle:(e,t)=>.006*e.getInt16(i(t)+18,!0),PointSourceId:(e,t)=>e.getUint16(i(t)+20,!0),GpsTime:(e,t)=>e.getFloat64(i(t)+22,!0)}}function o(e){const t=a(e);return{...s(e),Red:(e,r)=>e.getUint16(t(r)+30,!0),Green:(e,r)=>e.getUint16(t(r)+32,!0),Blue:(e,r)=>e.getUint16(t(r)+34,!0)}}function a(e){const{pointDataRecordLength:t}=e;return function(e){return e*t}}t.Extractor={create:function(e,t=[]){const r=function(e,t){let r=function(e){switch(e){case 0:return 20;case 1:return 28;case 2:return 26;case 3:return 34;case 6:return 30;case 7:return 36;case 8:return 38;default:throw new Error(`Unsupported point data record format: ${e}`)}}(e.pointDataRecordFormat);return t.reduce(((t,i)=>{const s=r;r+=i.length;const o=function(e,t,{type:r,length:i}){const s=a(e);switch(r){case"signed":switch(i){case 1:return(e,r)=>e.getInt8(s(r)+t);case 2:return(e,r)=>e.getInt16(s(r)+t,!0);case 4:return(e,r)=>e.getInt32(s(r)+t,!0);case 8:return(e,r)=>(0,n.parseBigInt)(e.getBigInt64(s(r)+t,!0))}case"unsigned":switch(i){case 1:return(e,r)=>e.getUint8(s(r)+t);case 2:return(e,r)=>e.getUint16(s(r)+t,!0);case 4:return(e,r)=>e.getUint32(s(r)+t,!0);case 8:return(e,r)=>(0,n.parseBigInt)((0,n.getBigUint64)(e,s(r)+t,!0))}case"float":switch(i){case 4:return(e,r)=>e.getFloat32(s(r)+t,!0);case 8:return(e,r)=>e.getFloat64(s(r)+t,!0)}}}(e,s,i);if(!o)return t;return{...t,[i.name]:(e,t)=>n.Scale.unapply(o(e,t),i.scale,i.offset)}}),{})}(e,t);return{...(()=>{const{pointDataRecordFormat:t}=e;switch(t){case 0:return i(e);case 1:return function(e){const t=a(e);return{...i(e),GpsTime:(e,r)=>e.getFloat64(t(r)+20,!0)}}(e);case 2:return function(e){const t=a(e);return{...i(e),Red:(e,r)=>e.getUint16(t(r)+20,!0),Green:(e,r)=>e.getUint16(t(r)+22,!0),Blue:(e,r)=>e.getUint16(t(r)+24,!0)}}(e);case 3:return function(e){const t=a(e);return{...i(e),GpsTime:(e,r)=>e.getFloat64(t(r)+20,!0),Red:(e,r)=>e.getUint16(t(r)+28,!0),Green:(e,r)=>e.getUint16(t(r)+30,!0),Blue:(e,r)=>e.getUint16(t(r)+32,!0)}}(e);case 6:return s(e);case 7:return o(e);case 8:return function(e){const t=a(e);return{...o(e),Infrared:(e,r)=>e.getUint16(t(r)+36,!0)}}(e);default:throw new Error(`Unsupported point data record format: ${t}`)}})(),...r}}}},11745:(e,t,r)=>{var n=r(46518),i=r(27476),s=r(79039),o=r(66346),a=r(28551),l=r(35610),c=r(18014),u=o.ArrayBuffer,h=o.DataView,d=h.prototype,p=i(u.prototype.slice),f=i(d.getUint8),A=i(d.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:s((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(p&&void 0===t)return p(a(this),e);for(var r=a(this).byteLength,n=l(e,r),i=l(void 0===t?r:t,r),s=new u(c(i-n)),o=new h(this),d=new h(s),g=0;n<i;)A(d,g++,f(o,n++));return s}})},11854:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.expose=t.isWorkerRuntime=t.Transfer=t.registerSerializer=void 0;const s=i(r(95409)),o=r(99278),a=r(66712),l=r(12781),c=i(r(64304));var u=r(99278);Object.defineProperty(t,"registerSerializer",{enumerable:!0,get:function(){return u.registerSerializer}});var h=r(66712);Object.defineProperty(t,"Transfer",{enumerable:!0,get:function(){return h.Transfer}}),t.isWorkerRuntime=c.default.isWorkerRuntime;let d=!1;const p=new Map,f=e=>e&&e.type===l.MasterMessageType.run,A=e=>s.default(e)||function(e){return e&&"object"==typeof e&&"function"==typeof e.subscribe}(e);function g(e){return a.isTransferDescriptor(e)?{payload:e.send,transferables:e.transferables}:{payload:e,transferables:void 0}}function m(e,t){const{payload:r,transferables:n}=g(t),i={type:l.WorkerMessageType.error,uid:e,error:o.serialize(r)};c.default.postMessageToMaster(i,n)}function y(e,t,r){const{payload:n,transferables:i}=g(r),s={type:l.WorkerMessageType.result,uid:e,complete:!!t||void 0,payload:n};c.default.postMessageToMaster(s,i)}function v(e){try{const t={type:l.WorkerMessageType.uncaughtError,error:o.serialize(e)};c.default.postMessageToMaster(t)}catch(t){console.error("Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.\nLatest error:",t,"\nOriginal error:",e)}}function w(e,t,r){return n(this,void 0,void 0,(function*(){let n;try{n=t(...r)}catch(t){return m(e,t)}const i=A(n)?"observable":"promise";if(function(e,t){const r={type:l.WorkerMessageType.running,uid:e,resultType:t};c.default.postMessageToMaster(r)}(e,i),A(n)){const t=n.subscribe((t=>y(e,!1,o.serialize(t))),(t=>{m(e,o.serialize(t)),p.delete(e)}),(()=>{y(e,!0),p.delete(e)}));p.set(e,t)}else try{const t=yield n;y(e,!0,o.serialize(t))}catch(t){m(e,o.serialize(t))}}))}t.expose=function(e){if(!c.default.isWorkerRuntime())throw Error("expose() called in the master thread.");if(d)throw Error("expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.");if(d=!0,"function"==typeof e)c.default.subscribeToMasterMessages((t=>{f(t)&&!t.method&&w(t.uid,e,t.args.map(o.deserialize))})),function(){const e={type:l.WorkerMessageType.init,exposed:{type:"function"}};c.default.postMessageToMaster(e)}();else{if("object"!=typeof e||!e)throw Error(`Invalid argument passed to expose(). Expected a function or an object, got: ${e}`);c.default.subscribeToMasterMessages((t=>{f(t)&&t.method&&w(t.uid,e[t.method],t.args.map(o.deserialize))})),function(e){const t={type:l.WorkerMessageType.init,exposed:{type:"module",methods:e}};c.default.postMessageToMaster(t)}(Object.keys(e).filter((t=>"function"==typeof e[t])))}c.default.subscribeToMasterMessages((e=>{if((t=e)&&t.type===l.MasterMessageType.cancel){const t=e.uid,r=p.get(t);r&&(r.unsubscribe(),p.delete(t))}var t}))},"undefined"!=typeof self&&"function"==typeof self.addEventListener&&c.default.isWorkerRuntime()&&(self.addEventListener("error",(e=>{setTimeout((()=>v(e.error||e)),250)})),self.addEventListener("unhandledrejection",(e=>{const t=e.reason;t&&"string"==typeof t.message&&setTimeout((()=>v(t)),250)}))),"undefined"!=typeof process&&"function"==typeof process.on&&c.default.isWorkerRuntime()&&(process.on("uncaughtException",(e=>{setTimeout((()=>v(e)),250)})),process.on("unhandledRejection",(e=>{e&&"string"==typeof e.message&&setTimeout((()=>v(e)),250)})))},11898:(e,t,r)=>{var n=r(46518),i=r(77240);n({target:"String",proto:!0,forced:r(23061)("big")},{big:function(){return i(this,"big","","")}})},12041:(e,t,r)=>{r(79978)},12211:(e,t,r)=>{var n=r(79039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},12359:(e,t,r)=>{var n=r(46518),i=r(76080),s=r(36194),o=r(26223);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=s(this),r=i(e,arguments.length>1?arguments[1]:void 0),n=o(t,(function(e,n){if(r(e,n,t))return{value:e}}),!0);return n&&n.value}})},12516:(e,t,r)=>{var n=r(46518),i=r(69565),s=r(