deck.gl 9.3.0-beta.2 → 9.3.0
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.
- package/dist.min.js +1 -1
- package/package.json +15 -15
package/dist.min.js
CHANGED
|
@@ -21,7 +21,7 @@ ${e}`;let{gl:r}=this.device;if(r.shaderSource(this.handle,e),r.compileShader(thi
|
|
|
21
21
|
} catch (error) {
|
|
22
22
|
console.error(error);
|
|
23
23
|
throw error;
|
|
24
|
-
}`}function Yx(t,e=!0,r){let i=r||new Set;if(t){if(cw(t))i.add(t);else if(cw(t.buffer))i.add(t.buffer);else if(!ArrayBuffer.isView(t)){if(e&&typeof t=="object")for(let n in t)Yx(t[n],e,i)}}return r===void 0?Array.from(i):[]}function cw(t){return t?t instanceof ArrayBuffer||typeof MessagePort<"u"&&t instanceof MessagePort||typeof ImageBitmap<"u"&&t instanceof ImageBitmap||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas:!1}var Kx=()=>{},Mn=class{name;source;url;terminated=!1;worker;onMessage;onError;_loadableURL="";static isSupported(){return typeof Worker<"u"&&tt||typeof oa<"u"&&!tt}constructor(e){let{name:r,source:i,url:n}=e;yt(i||n),this.name=r,this.source=i,this.url=n,this.onMessage=Kx,this.onError=o=>console.log(o),this.worker=tt?this._createBrowserWorker():this._createNodeWorker()}destroy(){this.onMessage=Kx,this.onError=Kx,this.worker.terminate(),this.terminated=!0}get isRunning(){return Boolean(this.onMessage)}postMessage(e,r){r=r||Yx(e),this.worker.postMessage(e,r)}_getErrorFromErrorEvent(e){let r="Failed to load ";return r+=`worker ${this.name} from ${this.url}. `,e.message&&(r+=`${e.message} in `),e.lineno&&(r+=`:${e.lineno}:${e.colno}`),new Error(r)}_createBrowserWorker(){this._loadableURL=sw({source:this.source,url:this.url});let e=new Worker(this._loadableURL,{name:this.name});return e.onmessage=r=>{r.data?this.onMessage(r.data):this.onError(new Error("No data received"))},e.onerror=r=>{this.onError(this._getErrorFromErrorEvent(r)),this.terminated=!0},e.onmessageerror=r=>console.error(r),e}_createNodeWorker(){let e;if(this.url){let i=this.url.includes(":/")||this.url.startsWith("/")?this.url:`./${this.url}`,n=this.url.endsWith(".ts")||this.url.endsWith(".mjs")?"module":"commonjs";e=new oa(i,{eval:!1,type:n})}else if(this.source)e=new oa(this.source,{eval:!0});else throw new Error("no worker");return e.on("message",r=>{this.onMessage(r)}),e.on("error",r=>{this.onError(r)}),e.on("exit",r=>{}),e}};var Pl=class{name="unnamed";source;url;maxConcurrency=1;maxMobileConcurrency=1;onDebug=()=>{};reuseWorkers=!0;props={};jobQueue=[];idleQueue=[];count=0;isDestroyed=!1;static isSupported(){return Mn.isSupported()}constructor(e){this.source=e.source,this.url=e.url,this.setProps(e)}destroy(){this.idleQueue.forEach(e=>e.destroy()),this.isDestroyed=!0}setProps(e){this.props={...this.props,...e},e.name!==void 0&&(this.name=e.name),e.maxConcurrency!==void 0&&(this.maxConcurrency=e.maxConcurrency),e.maxMobileConcurrency!==void 0&&(this.maxMobileConcurrency=e.maxMobileConcurrency),e.reuseWorkers!==void 0&&(this.reuseWorkers=e.reuseWorkers),e.onDebug!==void 0&&(this.onDebug=e.onDebug)}async startJob(e,r=(n,o,s)=>n.done(s),i=(n,o)=>n.error(o)){let n=new Promise(o=>(this.jobQueue.push({name:e,onMessage:r,onError:i,onStart:o}),this));return this._startQueuedJob(),await n}async _startQueuedJob(){if(!this.jobQueue.length)return;let e=this._getAvailableWorker();if(!e)return;let r=this.jobQueue.shift();if(r){this.onDebug({message:"Starting job",name:r.name,workerThread:e,backlog:this.jobQueue.length});let i=new wl(r.name,e);e.onMessage=n=>r.onMessage(i,n.type,n.payload),e.onError=n=>r.onError(i,n),r.onStart(i);try{await i.result}catch(n){console.error(`Worker exception: ${n}`)}finally{this.returnWorkerToQueue(e)}}}returnWorkerToQueue(e){!tt||this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency()?(e.destroy(),this.count--):this.idleQueue.push(e),this.isDestroyed||this._startQueuedJob()}_getAvailableWorker(){if(this.idleQueue.length>0)return this.idleQueue.shift()||null;if(this.count<this._getMaxConcurrency()){this.count++;let e=`${this.name.toLowerCase()} (#${this.count} of ${this.maxConcurrency})`;return new Mn({name:e,source:this.source,url:this.url})}return null}_getMaxConcurrency(){return ow?this.maxMobileConcurrency:this.maxConcurrency}};var IH={maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:!0,onDebug:()=>{}},Mo=class{props;workerPools=new Map;static isSupported(){return Mn.isSupported()}static getWorkerFarm(e={}){return Mo._workerFarm=Mo._workerFarm||new Mo({}),Mo._workerFarm.setProps(e),Mo._workerFarm}constructor(e){this.props={...IH},this.setProps(e),this.workerPools=new Map}destroy(){for(let e of this.workerPools.values())e.destroy();this.workerPools=new Map}setProps(e){this.props={...this.props,...e};for(let r of this.workerPools.values())r.setProps(this._getWorkerPoolProps())}getWorkerPool(e){let{name:r,source:i,url:n}=e,o=this.workerPools.get(r);return o||(o=new Pl({name:r,source:i,url:n}),o.setProps(this._getWorkerPoolProps()),this.workerPools.set(r,o)),o}_getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug}}},Rn=Mo;k(Rn,"_workerFarm");function qx(t,e={}){let r=e[t.id]||{},i=tt?`${t.id}-worker.js`:`${t.id}-worker-node.js`,n=r.workerUrl;if(!n&&t.id==="compression"&&(n=e.workerUrl),(e._workerType||e?.core?._workerType)==="test"&&(tt?n=`modules/${t.module}/dist/${i}`:n=`modules/${t.module}/src/workers/${t.id}-worker-node.ts`),!n){let s=t.version;s==="latest"&&(s=iw);let a=s?`@${s}`:"";n=`https://unpkg.com/@loaders.gl/${t.module}${a}/dist/${i}`}return yt(n),n}function Zx(t,e=hp){yt(t,"no worker provided");let r=t.version;return!(!e||!r)}var Jx={};function Ml(t={}){let e=t.useLocalLibraries??t.core?.useLocalLibraries,r=t.CDN??t.core?.CDN,i=t.modules;return{...e!==void 0?{useLocalLibraries:e}:{},...r!==void 0?{CDN:r}:{},...i!==void 0?{modules:i}:{}}}async function _r(t,e=null,r={},i=null){return e&&(t=lw(t,e,r,i)),Jx[t]=Jx[t]||LH(t),await Jx[t]}function lw(t,e,r={},i=null){if(r?.core)throw new Error("loadLibrary: options.core must be pre-normalized");if(!r.useLocalLibraries&&t.startsWith("http"))return t;i=i||t;let n=r.modules||{};return n[i]?n[i]:tt?r.CDN?(yt(r.CDN.startsWith("http")),`${r.CDN}/${e}@${hp}/dist/libs/${i}`):El?`../src/libs/${i}`:`modules/${e}/src/libs/${i}`:`modules/${e}/dist/libs/${i}`}async function LH(t){if(t.endsWith("wasm"))return await OH(t);if(!tt){let{requireFromFile:r}=globalThis.loaders||{};try{let i=await r?.(t);return i||!t.includes("/dist/libs/")?i:await r?.(t.replace("/dist/libs/","/src/libs/"))}catch(i){if(t.includes("/dist/libs/"))try{return await r?.(t.replace("/dist/libs/","/src/libs/"))}catch{}return console.error(i),null}}if(El)return importScripts(t);let e=await FH(t);return BH(e,t)}function BH(t,e){if(!tt){let{requireFromString:i}=globalThis.loaders||{};return i?.(t,e)}if(El)return eval.call(globalThis,t),null;let r=document.createElement("script");r.id=e;try{r.appendChild(document.createTextNode(t))}catch{r.text=t}return document.body.appendChild(r),null}async function OH(t){let{readFileAsArrayBuffer:e}=globalThis.loaders||{};if(tt||!e||t.startsWith("http"))return await(await fetch(t)).arrayBuffer();try{return await e(t)}catch{if(t.includes("/dist/libs/"))return await e(t.replace("/dist/libs/","/src/libs/"));throw new Error(`Failed to load ArrayBuffer from ${t}`)}}async function FH(t){let{readFileAsText:e}=globalThis.loaders||{};if(tt||!e||t.startsWith("http"))return await(await fetch(t)).text();try{return await e(t)}catch{if(t.includes("/dist/libs/"))return await e(t.replace("/dist/libs/","/src/libs/"));throw new Error(`Failed to load text from ${t}`)}}function Qx(t,e){if(!Rn.isSupported())return!1;let r=e?._nodeWorkers??e?.core?._nodeWorkers;if(!tt&&!r)return!1;let i=e?.worker??e?.core?.worker;return Boolean(t.worker&&i)}async function eb(t,e,r,i,n){let o=t.id,s=qx(t,r),c=Rn.getWorkerFarm(r?.core).getWorkerPool({name:o,url:s});r=JSON.parse(JSON.stringify(r)),i=JSON.parse(JSON.stringify(i||{}));let l=await c.startJob("process-on-worker",NH.bind(null,n));return l.postMessage("process",{input:e,options:r,context:i}),await(await l.result).result}async function NH(t,e,r,i){switch(r){case"done":e.done(i);break;case"error":e.error(new Error(i.error));break;case"process":let{id:n,input:o,options:s}=i;try{let a=await t(o,s);e.postMessage("done",{id:n,result:a})}catch(a){let c=a instanceof Error?a.message:"unknown error";e.postMessage("error",{id:n,error:c})}break;default:console.warn(`parse-with-worker unknown message ${r}`)}}function fw(t,e=5){return typeof t=="string"?t.slice(0,e):ArrayBuffer.isView(t)?uw(t.buffer,t.byteOffset,e):t instanceof ArrayBuffer?uw(t,0,e):""}function uw(t,e,r){if(t.byteLength<=e+r)return"";let i=new DataView(t),n="";for(let o=0;o<r;o++)n+=String.fromCharCode(i.getUint8(e+o));return n}function tb(t){try{return JSON.parse(t)}catch{throw new Error(`Failed to parse JSON from data starting with "${fw(t)}"`)}}function rb(t,e,r){if(r=r||t.byteLength,t.byteLength<r||e.byteLength<r)return!1;let i=new Uint8Array(t),n=new Uint8Array(e);for(let o=0;o<i.length;++o)if(i[o]!==n[o])return!1;return!0}function ib(...t){return dw(t)}function dw(t){let e=t.map(o=>o instanceof ArrayBuffer?new Uint8Array(o):o),r=e.reduce((o,s)=>o+s.byteLength,0),i=new Uint8Array(r),n=0;for(let o of e)i.set(o,n),n+=o.byteLength;return i.buffer}function Rl(...t){let e=t,r=e&&e.length>1&&e[0].constructor||null;if(!r)throw new Error('"concatenateTypedArrays" - incorrect quantity of arguments or arguments have incompatible data types');let i=e.reduce((s,a)=>s+a.length,0),n=new r(i),o=0;for(let s of e)n.set(s,o),o+=s.length;return n}function Ro(t,e,r){let i=r!==void 0?new Uint8Array(t).subarray(e,e+r):new Uint8Array(t).subarray(e);return new Uint8Array(i).buffer}function In(t,e){return ce(t>=0),ce(e>0),t+(e-1)&~(e-1)}function nb(t,e,r){let i;if(t instanceof ArrayBuffer)i=new Uint8Array(t);else{let n=t.byteOffset,o=t.byteLength;i=new Uint8Array(t.buffer||t.arrayBuffer,n,o)}return e.set(i,r),r+In(i.byteLength,4)}async function ob(t){let e=[];for await(let r of t)e.push(DH(r));return ib(...e)}function DH(t){if(t instanceof ArrayBuffer)return t;if(ArrayBuffer.isView(t)){let{buffer:e,byteOffset:r,byteLength:i}=t;return hw(e,r,i)}return hw(t)}function hw(t,e=0,r=t.byteLength-e){let i=new Uint8Array(t,e,r),n=new Uint8Array(i.length);return n.set(i),n.buffer}Lo();var UH="Queued Requests",kH="Active Requests",VH="Cancelled Requests",zH="Queued Requests Ever",HH="Active Requests Ever",jH={id:"request-scheduler",throttleRequests:!0,maxRequests:6,debounceTime:0},Ln=class{props;stats;activeRequestCount=0;requestQueue=[];requestMap=new Map;updateTimer=null;constructor(e={}){this.props={...jH,...e},this.stats=new Et({id:this.props.id}),this.stats.get(UH),this.stats.get(kH),this.stats.get(VH),this.stats.get(zH),this.stats.get(HH)}setProps(e){e.throttleRequests!==void 0&&(this.props.throttleRequests=e.throttleRequests),e.maxRequests!==void 0&&(this.props.maxRequests=e.maxRequests),e.debounceTime!==void 0&&(this.props.debounceTime=e.debounceTime)}scheduleRequest(e,r=()=>0){if(!this.props.throttleRequests)return Promise.resolve({done:()=>{}});if(this.requestMap.has(e))return this.requestMap.get(e);let i={handle:e,priority:0,getPriority:r},n=new Promise(o=>(i.resolve=o,i));return this.requestQueue.push(i),this.requestMap.set(e,n),this._issueNewRequests(),n}_issueRequest(e){let{handle:r,resolve:i}=e,n=!1,o=()=>{n||(n=!0,this.requestMap.delete(r),this.activeRequestCount--,this._issueNewRequests())};return this.activeRequestCount++,i?i({done:o}):Promise.resolve({done:o})}_issueNewRequests(){this.updateTimer!==null&&clearTimeout(this.updateTimer),this.updateTimer=setTimeout(()=>this._issueNewRequestsAsync(),this.props.debounceTime)}_issueNewRequestsAsync(){this.updateTimer!==null&&clearTimeout(this.updateTimer),this.updateTimer=null;let e=Math.max(this.props.maxRequests-this.activeRequestCount,0);if(e!==0){this._updateAllRequests();for(let r=0;r<e;++r){let i=this.requestQueue.shift();i&&this._issueRequest(i)}}}_updateAllRequests(){let e=this.requestQueue;for(let r=0;r<e.length;++r){let i=e[r];this._updateRequest(i)||(e.splice(r,1),this.requestMap.delete(i.handle),r--)}e.sort((r,i)=>r.priority-i.priority)}_updateRequest(e){return e.priority=e.getPriority(e.handle),e.priority<0?(e.resolve(null),!1):!0}};var GH="",mw={};function Ll(t){for(let e in mw)if(t.startsWith(e)){let r=mw[e];t=t.replace(e,r)}return!t.startsWith("http://")&&!t.startsWith("https://")&&(t=`${GH}${t}`),t}function pp(t){return t&&typeof t=="object"&&t.isBuffer}function aa(t){if(pp(t))return t;if(t instanceof ArrayBuffer)return t;if(jx(t))return sa(t);if(ArrayBuffer.isView(t)){let e=t.buffer;return t.byteOffset===0&&t.byteLength===t.buffer.byteLength?e:e.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(typeof t=="string"){let e=t;return new TextEncoder().encode(e).buffer}if(t&&typeof t=="object"&&t._toArrayBuffer)return t._toArrayBuffer();throw new Error("toArrayBuffer")}function yr(t){if(t instanceof ArrayBuffer)return t;if(jx(t))return sa(t);let{buffer:e,byteOffset:r,byteLength:i}=t;return e instanceof ArrayBuffer&&r===0&&i===e.byteLength?e:sa(e,r,i)}function sa(t,e=0,r=t.byteLength-e){let i=new Uint8Array(t,e,r),n=new Uint8Array(i.length);return n.set(i),n.buffer}function cb(t){return ArrayBuffer.isView(t)?t:new Uint8Array(t)}var Nt={};Xe(Nt,{dirname:()=>$H,filename:()=>WH,join:()=>XH,resolve:()=>YH});function gw(){if(typeof process<"u"&&typeof process.cwd<"u")return process.cwd();let t=window.location?.pathname;return t?.slice(0,t.lastIndexOf("/")+1)||""}function WH(t){let e=t?t.lastIndexOf("/"):-1;return e>=0?t.substr(e+1):t}function $H(t){let e=t?t.lastIndexOf("/"):-1;return e>=0?t.substr(0,e):""}function XH(...t){let e="/";return t=t.map((r,i)=>(i&&(r=r.replace(new RegExp(`^${e}`),"")),i!==t.length-1&&(r=r.replace(new RegExp(`${e}$`),"")),r)),t.join(e)}function YH(...t){let e=[];for(let o=0;o<t.length;o++)e[o]=t[o];let r="",i=!1,n;for(let o=e.length-1;o>=-1&&!i;o--){let s;o>=0?s=e[o]:(n===void 0&&(n=gw()),s=n),s.length!==0&&(r=`${s}/${r}`,i=s.charCodeAt(0)===Bl)}return r=KH(r,!i),i?`/${r}`:r.length>0?r:"."}var Bl=47,lb=46;function KH(t,e){let r="",i=-1,n=0,o,s=!1;for(let a=0;a<=t.length;++a){if(a<t.length)o=t.charCodeAt(a);else{if(o===Bl)break;o=Bl}if(o===Bl){if(!(i===a-1||n===1))if(i!==a-1&&n===2){if(r.length<2||!s||r.charCodeAt(r.length-1)!==lb||r.charCodeAt(r.length-2)!==lb){if(r.length>2){let c=r.length-1,l=c;for(;l>=0&&r.charCodeAt(l)!==Bl;--l);if(l!==c){r=l===-1?"":r.slice(0,l),i=a,n=0,s=!1;continue}}else if(r.length===2||r.length===1){r="",i=a,n=0,s=!1;continue}}e&&(r.length>0?r+="/..":r="..",s=!0)}else{let c=t.slice(i+1,a);r.length>0?r+=`/${c}`:r=c,s=!1}i=a,n=0}else o===lb&&n!==-1?++n:n=-1}return r}var ub=class{optionsType;options;data;url;loadOptions;fetch;_needsRefresh=!0;constructor(e,r,i){i?this.options=Po({...i,core:ub.defaultOptions},r):this.options={...r},this.data=e,this.url=typeof e=="string"?Ll(e):"",this.loadOptions=ZH(this.options.core?.loadOptions),this.fetch=qH(this.loadOptions)}setProps(e){this.options=Object.assign(this.options,e),this.setNeedsRefresh()}setNeedsRefresh(){this._needsRefresh=!0}getNeedsRefresh(e=!0){let r=this._needsRefresh;return e&&(this._needsRefresh=!1),r}},ca=ub;k(ca,"defaultOptions",{core:{type:"auto",attributions:[],loadOptions:{},loaders:[]}});function qH(t){let e=t?.core?.fetch;if(e&&typeof e=="function")return(i,n)=>e(i,n);let r=t?.fetch;return r&&typeof r!="function"?i=>fetch(i,r):i=>fetch(i)}function ZH(t){let e={...t};t?.core&&(e.core={...t.core});let r=typeof e.baseUri=="string"?e.baseUri:void 0,i=typeof e.baseUrl=="string"?e.baseUrl:void 0;return(r!==void 0||i!==void 0)&&(e.core||={},e.core.baseUrl===void 0&&(e.core.baseUrl=i??r),delete e.baseUri,delete e.baseUrl),e}var Bn=class{};k(Bn,"type","template"),k(Bn,"testURL",e=>!1);var mp=class extends Error{constructor(e,r){super(e),this.reason=r.reason,this.url=r.url,this.response=r.response}reason;url;response};var e8=/^data:([-\w.]+\/[-\w.+]+)(;|,)/,t8=/^([-\w.]+\/[-\w.+]+)/;function fb(t,e){return t.toLowerCase()===e.toLowerCase()}function _w(t){let e=t8.exec(t);return e?e[1]:t}function db(t){let e=e8.exec(t);return e?e[1]:""}var yw=/\?.*/;function xw(t){let e=t.match(yw);return e&&e[0]}function On(t){return t.replace(yw,"")}function bw(t){if(t.length<50)return t;let e=t.slice(t.length-15);return`${t.substr(0,32)}...${e}`}function Bo(t){return or(t)?t.url:sr(t)?("name"in t?t.name:"")||"":typeof t=="string"?t:""}function la(t){if(or(t)){let e=t.headers.get("content-type")||"",r=On(t.url);return _w(e)||db(r)}return sr(t)?t.type||"":typeof t=="string"?db(t):""}function Aw(t){return or(t)?t.headers["content-length"]||-1:sr(t)?t.size:typeof t=="string"?t.length:t instanceof ArrayBuffer||ArrayBuffer.isView(t)?t.byteLength:-1}async function gp(t){if(or(t))return t;let e={},r=Aw(t);r>=0&&(e["content-length"]=String(r));let i=Bo(t),n=la(t);n&&(e["content-type"]=n);let o=await i8(t);o&&(e["x-first-bytes"]=o),typeof t=="string"&&(t=new TextEncoder().encode(t));let s=new Response(t,{headers:e});return Object.defineProperty(s,"url",{value:i}),s}async function vw(t){if(!t.ok)throw await r8(t)}async function r8(t){let e=bw(t.url),r=`Failed to fetch resource (${t.status}) ${t.statusText}: ${e}`;r=r.length>100?`${r.slice(0,100)}...`:r;let i={reason:t.statusText,url:t.url,response:t};try{let n=t.headers.get("Content-Type");i.reason=!t.bodyUsed&&n?.includes("application/json")?await t.json():await t.text()}catch{}return new mp(r,i)}async function i8(t){if(typeof t=="string")return`data:,${t.slice(0,5)}`;if(t instanceof Blob){let r=t.slice(0,5);return await new Promise(i=>{let n=new FileReader;n.onload=o=>i(o?.target?.result),n.readAsDataURL(r)})}if(t instanceof ArrayBuffer){let r=t.slice(0,5);return`data:base64,${n8(r)}`}return null}function n8(t){let e="",r=new Uint8Array(t);for(let i=0;i<r.byteLength;i++)e+=String.fromCharCode(r[i]);return btoa(e)}function o8(t){return!s8(t)&&!a8(t)}function s8(t){return t.startsWith("http:")||t.startsWith("https:")}function a8(t){return t.startsWith("data:")}async function ua(t,e){if(typeof t=="string"){let r=Ll(t);return o8(r)&&globalThis.loaders?.fetchNode?globalThis.loaders?.fetchNode(r,e):await fetch(r,e)}return await gp(t)}ia();var Ol=new Ft({id:"loaders.gl"}),_p=class{log(){return()=>{}}info(){return()=>{}}warn(){return()=>{}}error(){return()=>{}}},yp=class{console;constructor(){this.console=console}log(...e){return this.console.log.bind(this.console,...e)}info(...e){return this.console.info.bind(this.console,...e)}warn(...e){return this.console.warn.bind(this.console,...e)}error(...e){return this.console.error.bind(this.console,...e)}};var xp={core:{baseUrl:void 0,fetch:null,mimeType:void 0,fallbackMimeType:void 0,ignoreRegisteredLoaders:void 0,nothrow:!1,log:new yp,useLocalLibraries:!1,CDN:"https://unpkg.com/@loaders.gl",worker:!0,maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:Gi,_nodeWorkers:!1,_workerType:"",limit:0,_limitMB:0,batchSize:"auto",batchDebounceMs:0,metadata:!1,transforms:[]}},Tw={baseUri:"core.baseUrl",fetch:"core.fetch",mimeType:"core.mimeType",fallbackMimeType:"core.fallbackMimeType",ignoreRegisteredLoaders:"core.ignoreRegisteredLoaders",nothrow:"core.nothrow",log:"core.log",useLocalLibraries:"core.useLocalLibraries",CDN:"core.CDN",worker:"core.worker",maxConcurrency:"core.maxConcurrency",maxMobileConcurrency:"core.maxMobileConcurrency",reuseWorkers:"core.reuseWorkers",_nodeWorkers:"core.nodeWorkers",_workerType:"core._workerType",_worker:"core._workerType",limit:"core.limit",_limitMB:"core._limitMB",batchSize:"core.batchSize",batchDebounceMs:"core.batchDebounceMs",metadata:"core.metadata",transforms:"core.transforms",throws:"nothrow",dataType:"(no longer used)",uri:"core.baseUrl",method:"core.fetch.method",headers:"core.fetch.headers",body:"core.fetch.body",mode:"core.fetch.mode",credentials:"core.fetch.credentials",cache:"core.fetch.cache",redirect:"core.fetch.redirect",referrer:"core.fetch.referrer",referrerPolicy:"core.fetch.referrerPolicy",integrity:"core.fetch.integrity",keepalive:"core.fetch.keepalive",signal:"core.fetch.signal"};var hb=["baseUrl","fetch","mimeType","fallbackMimeType","ignoreRegisteredLoaders","nothrow","log","useLocalLibraries","CDN","worker","maxConcurrency","maxMobileConcurrency","reuseWorkers","_nodeWorkers","_workerType","limit","_limitMB","batchSize","batchDebounceMs","metadata","transforms"];function pb(){globalThis.loaders=globalThis.loaders||{};let{loaders:t}=globalThis;return t._state||(t._state={}),t._state}function mb(){let t=pb();return t.globalOptions=t.globalOptions||{...xp,core:{...xp.core}},Wi(t.globalOptions)}function Ew(t,e,r,i){return r=r||[],r=Array.isArray(r)?r:[r],c8(t,r),Wi(u8(e,t,i))}function Wi(t){let e=d8(t);ww(e);for(let r of hb)e.core&&e.core[r]!==void 0&&delete e[r];return e.core&&e.core._workerType!==void 0&&delete e._worker,e}function c8(t,e){Sw(t,null,xp,Tw,e);for(let r of e){let i=t&&t[r.id]||{},n=r.options&&r.options[r.id]||{},o=r.deprecatedOptions&&r.deprecatedOptions[r.id]||{};Sw(i,r.id,n,o,e)}}function Sw(t,e,r,i,n){let o=e||"Top level",s=e?`${e}.`:"";for(let a in t){let c=!e&&pi(t[a]),l=a==="baseUri"&&!e,u=a==="workerUrl"&&e;if(!(a in r)&&!l&&!u){if(a in i)Ol.level>0&&Ol.warn(`${o} loader option '${s}${a}' no longer supported, use '${i[a]}'`)();else if(!c&&Ol.level>0){let f=l8(a,n);Ol.warn(`${o} loader option '${s}${a}' not recognized. ${f}`)()}}}}function l8(t,e){let r=t.toLowerCase(),i="";for(let n of e)for(let o in n.options){if(t===o)return`Did you mean '${n.id}.${o}'?`;let s=o.toLowerCase();(r.startsWith(s)||s.startsWith(r))&&(i=i||`Did you mean '${n.id}.${o}'?`)}return i}function u8(t,e,r){let i=t.options||{},n={...i};i.core&&(n.core={...i.core}),ww(n),n.core?.log===null&&(n.core={...n.core,log:new _p}),Cw(n,Wi(mb()));let o=Wi(e);return Cw(n,o),f8(n,r),h8(n),n}function Cw(t,e){for(let r in e)if(r in e){let i=e[r];fp(i)&&fp(t[r])?t[r]={...t[r],...e[r]}:t[r]=e[r]}}function f8(t,e){if(!e)return;t.core?.baseUrl!==void 0||(t.core||={},t.core.baseUrl=Nt.dirname(On(e)))}function d8(t){let e={...t};return t.core&&(e.core={...t.core}),e}function ww(t){t.baseUri!==void 0&&(t.core||={},t.core.baseUrl===void 0&&(t.core.baseUrl=t.baseUri));for(let r of hb)if(t[r]!==void 0){let n=t.core=t.core||{};n[r]===void 0&&(n[r]=t[r])}let e=t._worker;e!==void 0&&(t.core||={},t.core._workerType===void 0&&(t.core._workerType=e))}function h8(t){let e=t.core;if(e)for(let r of hb)e[r]!==void 0&&(t[r]=e[r])}function Fl(t){return t?(Array.isArray(t)&&(t=t[0]),Array.isArray(t?.extensions)):!1}function Nl(t){ce(t,"null loader"),ce(Fl(t),"invalid loader");let e;return Array.isArray(t)&&(e=t[1],t=t[0],t={...t,options:{...t.options,...e}}),(t?.parseTextSync||t?.parseText)&&(t.text=!0),t.text||(t.binary=!0),t}var Pw=()=>{let t=pb();return t.loaderRegistry=t.loaderRegistry||[],t.loaderRegistry};function Dl(t){let e=Pw();t=Array.isArray(t)?t:[t];for(let r of t){let i=Nl(r);e.find(n=>i===n)||e.unshift(i)}}function Mw(){return Pw()}var p8=/\.([^.]+)$/;async function Lw(t,e=[],r,i){if(!Bw(t))return null;let n=Wi(r||{});if(n.core||={},t instanceof Response&&Rw(t)){let s=await t.clone().text(),a=bp(s,e,{...n,core:{...n.core,nothrow:!0}},i);if(a)return a}let o=bp(t,e,{...n,core:{...n.core,nothrow:!0}},i);if(o)return o;if(sr(t)&&(t=await t.slice(0,10).arrayBuffer(),o=bp(t,e,n,i)),!o&&t instanceof Response&&Rw(t)){let s=await t.clone().text();o=bp(s,e,n,i)}if(!o&&!n.core.nothrow)throw new Error(Ow(t));return o}function Rw(t){let e=la(t);return Boolean(e&&(e.startsWith("text/")||e==="application/json"||e.endsWith("+json")))}function bp(t,e=[],r,i){if(!Bw(t))return null;let n=Wi(r||{});if(n.core||={},e&&!Array.isArray(e))return Nl(e);let o=[];e&&(o=o.concat(e)),n.core.ignoreRegisteredLoaders||o.push(...Mw()),g8(o);let s=m8(t,o,n,i);if(!s&&!n.core.nothrow)throw new Error(Ow(t));return s}function m8(t,e,r,i){let n=Bo(t),o=la(t),s=On(n)||i?.url,a=null,c="";return r?.core?.mimeType&&(a=gb(e,r?.core?.mimeType),c=`match forced by supplied MIME type ${r?.core?.mimeType}`),a=a||_8(e,s),c=c||(a?`matched url ${s}`:""),a=a||gb(e,o),c=c||(a?`matched MIME type ${o}`:""),a=a||x8(e,t),c=c||(a?`matched initial data ${Fw(t)}`:""),r?.core?.fallbackMimeType&&(a=a||gb(e,r?.core?.fallbackMimeType),c=c||(a?`matched fallback MIME type ${o}`:"")),c&&Sl.log(1,`selectLoader selected ${a?.name}: ${c}.`),a}function Bw(t){return!(t instanceof Response&&t.status===204)}function Ow(t){let e=Bo(t),r=la(t),i="No valid loader found (";i+=e?`${Nt.filename(e)}, `:"no url provided, ",i+=`MIME type: ${r?`"${r}"`:"not provided"}, `;let n=t?Fw(t):"";return i+=n?` first bytes: "${n}"`:"first bytes: not available",i+=")",i}function g8(t){for(let e of t)Nl(e)}function _8(t,e){let r=e&&p8.exec(e),i=r&&r[1];return i?y8(t,i):null}function y8(t,e){e=e.toLowerCase();for(let r of t)for(let i of r.extensions)if(i.toLowerCase()===e)return r;return null}function gb(t,e){for(let r of t)if(r.mimeTypes?.some(i=>fb(e,i))||fb(e,`application/x.${r.id}`))return r;return null}function x8(t,e){if(!e)return null;for(let r of t)if(typeof e=="string"){if(b8(e,r))return r}else if(ArrayBuffer.isView(e)){if(Iw(e.buffer,e.byteOffset,r))return r}else if(e instanceof ArrayBuffer&&Iw(e,0,r))return r;return null}function b8(t,e){return e.testText?e.testText(t):(Array.isArray(e.tests)?e.tests:[e.tests]).some(i=>t.startsWith(i))}function Iw(t,e,r){return(Array.isArray(r.tests)?r.tests:[r.tests]).some(n=>A8(t,e,r,n))}function A8(t,e,r,i){if(na(i))return rb(i,t,i.byteLength);switch(typeof i){case"function":return i(yr(t));case"string":let n=_b(t,e,i.length);return i===n;default:return!1}}function Fw(t,e=5){return typeof t=="string"?t.slice(0,e):ArrayBuffer.isView(t)?_b(t.buffer,t.byteOffset,e):t instanceof ArrayBuffer?_b(t,0,e):""}function _b(t,e,r){if(t.byteLength<e+r)return"";let i=new DataView(t),n="";for(let o=0;o<r;o++)n+=String.fromCharCode(i.getUint8(e+o));return n}var v8=256*1024;function*Nw(t,e){let r=e?.chunkSize||v8,i=0,n=new TextEncoder;for(;i<t.length;){let o=Math.min(t.length-i,r),s=t.slice(i,i+o);i+=o,yield yr(n.encode(s))}}function*Dw(t,e={}){let{chunkSize:r=262144}=e,i=0;for(;i<t.byteLength;){let n=Math.min(t.byteLength-i,r),o=new ArrayBuffer(n),s=new Uint8Array(t,i,n);new Uint8Array(o).set(s),i+=n,yield o}}async function*Uw(t,e){let r=e?.chunkSize||1048576,i=0;for(;i<t.size;){let n=i+r,o=await t.slice(i,n).arrayBuffer();i=n,yield o}}function yb(t,e){return Gi?T8(t,e):S8(t,e)}async function*T8(t,e){let r=t.getReader(),i;try{for(;;){let n=i||r.read();e?._streamReadAhead&&(i=r.read());let{done:o,value:s}=await n;if(o)return;yield aa(s)}}catch{r.releaseLock()}}async function*S8(t,e){for await(let r of t)yield aa(r)}function kw(t,e){if(typeof t=="string")return Nw(t,e);if(t instanceof ArrayBuffer)return Dw(t,e);if(sr(t))return Uw(t,e);if(Cl(t))return yb(t,e);if(or(t)){let r=t.body;if(!r)throw new Error("Readable stream not available on Response");return yb(r,e)}throw new Error("makeIterator")}var Vw="Cannot convert supplied data type";function C8(t,e,r){if(e.text&&typeof t=="string")return t;if(pp(t)&&(t=t.buffer),na(t)){let i=cb(t);return e.text&&!e.binary?new TextDecoder("utf8").decode(i):aa(i)}throw new Error(Vw)}async function zw(t,e,r){if(typeof t=="string"||na(t))return C8(t,e,r);if(sr(t)&&(t=await gp(t)),or(t))return await vw(t),e.binary?await t.arrayBuffer():await t.text();if(Cl(t)&&(t=kw(t,r)),Gx(t)||Wx(t))return ob(t);throw new Error(Vw)}function Ap(t,e){let r=mb(),i=t||r,n=i.fetch??i.core?.fetch;return typeof n=="function"?n:pi(n)?o=>ua(o,n):e?.fetch?e?.fetch:ua}function Hw(t,e,r){if(r)return r;let i={fetch:Ap(e,t),...t};if(i.url){let n=On(i.url);i.baseUrl=n,i.queryString=xw(i.url),i.filename=Nt.filename(n),i.baseUrl=Nt.dirname(n)}return Array.isArray(i.loaders)||(i.loaders=null),i}function jw(t,e){if(t&&!Array.isArray(t))return t;let r;if(t&&(r=Array.isArray(t)?t:[t]),e&&e.loaders){let i=Array.isArray(e.loaders)?e.loaders:[e.loaders];r=r?[...r,...i]:i}return r&&r.length?r:void 0}async function Fn(t,e,r,i){e&&!Array.isArray(e)&&!Fl(e)&&(i=void 0,r=e,e=void 0),t=await t,r=r||{};let n=Bo(t),s=jw(e,i),a=await Lw(t,s,r);if(!a)return null;let c=Ew(r,a,s,n);return i=Hw({url:n,_parse:Fn,loaders:s},c,i||null),await E8(a,t,c,i)}async function E8(t,e,r,i){if(Zx(t),r=Po(t.options,r),or(e)){let{ok:o,redirected:s,status:a,statusText:c,type:l,url:u}=e,f=Object.fromEntries(e.headers.entries());i.response={headers:f,ok:o,redirected:s,status:a,statusText:c,type:l,url:u}}e=await zw(e,t,r);let n=t;if(n.parseTextSync&&typeof e=="string")return n.parseTextSync(e,r,i);if(Qx(t,r))return await eb(t,e,r,i,Fn);if(n.parseText&&typeof e=="string")return await n.parseText(e,r,i);if(n.parse)return await n.parse(e,r,i);throw yt(!n.parseSync),new Error(`${t.id} loader - no parser found and worker is disabled`)}function Gw(t){switch(t.constructor){case Int8Array:return"int8";case Uint8Array:case Uint8ClampedArray:return"uint8";case Int16Array:return"int16";case Uint16Array:return"uint16";case Int32Array:return"int32";case Uint32Array:return"uint32";case Float32Array:return"float32";case Float64Array:return"float64";default:return"null"}}function Ww(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function $w(t){return Array.isArray(t)?t.length===0||typeof t[0]=="number":!1}function xb(t){return Ww(t)||$w(t)}function Oo(t){let e=1/0,r=1/0,i=1/0,n=-1/0,o=-1/0,s=-1/0,a=t.POSITION?t.POSITION.value:[],c=a&&a.length;for(let l=0;l<c;l+=3){let u=a[l],f=a[l+1],d=a[l+2];e=u<e?u:e,r=f<r?f:r,i=d<i?d:i,n=u>n?u:n,o=f>o?f:o,s=d>s?d:s}return[[e,r,i],[n,o,s]]}function bb(t,e,r){let i=Gw(e.value),n=r||Xw(e);return{name:t,type:{type:"fixed-size-list",listSize:e.size,children:[{name:"value",type:i}]},nullable:!1,metadata:n}}function Xw(t){let e={};return"byteOffset"in t&&(e.byteOffset=t.byteOffset.toString(10)),"byteStride"in t&&(e.byteStride=t.byteStride.toString(10)),"normalized"in t&&(e.normalized=t.normalized.toString()),e}async function rt(t,e,r,i){let n,o;!Array.isArray(e)&&!Fl(e)?(n=[],o=e,i=void 0):(n=e,o=r);let s=Ap(o),a=t;return typeof t=="string"&&(a=await s(t)),sr(t)&&(a=await s(t)),typeof t=="string"&&(Wi(o||{}).core?.baseUrl||(o={...o,core:{...o?.core,baseUrl:t}})),Array.isArray(n)?await Fn(a,n,o):await Fn(a,n,o)}function Ab(t,e,r){let i=r?.core?.type||r.type||"auto",n=i==="auto"?w8(t,e):P8(i,e);if(!n)throw new Error("Not a valid source type");return n.createDataSource(t,r)}function w8(t,e){for(let r of e)if(r.testURL&&r.testURL(t))return r;return null}function P8(t,e){for(let r of e)if(r.type===t)return r;return null}var Yw="4.4.1";var M8=globalThis.loaders?.parseImageNode,vb=typeof Image<"u",Tb=typeof ImageBitmap<"u",R8=Boolean(M8),Sb=Gi?!0:R8;function Kw(t){switch(t){case"auto":return Tb||vb||Sb;case"imagebitmap":return Tb;case"image":return vb;case"data":return Sb;default:throw new Error(`@loaders.gl/images: image ${t} not supported in this environment`)}}function qw(){if(Tb)return"imagebitmap";if(vb)return"image";if(Sb)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}function Zw(t){let e=I8(t);if(!e)throw new Error("Not an image");return e}function Ul(t){switch(Zw(t)){case"data":return t;case"image":case"imagebitmap":let e=document.createElement("canvas"),r=e.getContext("2d");if(!r)throw new Error("getImageData");return e.width=t.width,e.height=t.height,r.drawImage(t,0,0),r.getImageData(0,0,t.width,t.height);default:throw new Error("getImageData")}}function I8(t){return typeof ImageBitmap<"u"&&t instanceof ImageBitmap?"imagebitmap":typeof Image<"u"&&t instanceof Image?"image":t&&typeof t=="object"&&t.data&&t.width&&t.height?"data":null}var L8=/^data:image\/svg\+xml/,B8=/\.svg((\?|#).*)?$/;function vp(t){return t&&(L8.test(t)||B8.test(t))}function Jw(t,e){if(vp(e)){let i=new TextDecoder().decode(t);try{typeof unescape=="function"&&typeof encodeURIComponent=="function"&&(i=unescape(encodeURIComponent(i)))}catch(o){throw new Error(o.message)}return`data:image/svg+xml;base64,${btoa(i)}`}return Cb(t,e)}function Cb(t,e){if(vp(e))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(t)])}async function Tp(t,e,r){let i=Jw(t,r),n=self.URL||self.webkitURL,o=typeof i!="string"&&n.createObjectURL(i);try{return await O8(o||i,e)}finally{o&&n.revokeObjectURL(o)}}async function O8(t,e){let r=new Image;return r.src=t,e.image&&e.image.decode&&r.decode?(await r.decode(),r):await new Promise((i,n)=>{try{r.onload=()=>i(r),r.onerror=o=>{let s=o instanceof Error?o.message:"error";n(new Error(s))}}catch(o){n(o)}})}var Qw=!0;async function eP(t,e,r){let i;vp(r)?i=await Tp(t,e,r):i=Cb(t,r);let n=e&&e.imagebitmap;return await F8(i,n)}async function F8(t,e=null){if((N8(e)||!Qw)&&(e=null),e)try{return await createImageBitmap(t,e)}catch(r){console.warn(r),Qw=!1}return await createImageBitmap(t)}function N8(t){if(!t)return!0;for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function tP(t){return!V8(t,"ftyp",4)||!(t[8]&96)?null:D8(t)}function D8(t){switch(U8(t,8,12).replace("\0"," ").trim()){case"avif":case"avis":return{extension:"avif",mimeType:"image/avif"};default:return null}}function U8(t,e,r){return String.fromCharCode(...t.slice(e,r))}function k8(t){return[...t].map(e=>e.charCodeAt(0))}function V8(t,e,r=0){let i=k8(e);for(let n=0;n<i.length;++n)if(i[n]!==t[n+r])return!1;return!0}var gi=!1,kl=!0;function Fo(t){let e=Vl(t);return H8(e)||W8(e)||j8(e)||G8(e)||z8(e)}function z8(t){let e=new Uint8Array(t instanceof DataView?t.buffer:t),r=tP(e);return r?{mimeType:r.mimeType,width:0,height:0}:null}function H8(t){let e=Vl(t);return e.byteLength>=24&&e.getUint32(0,gi)===2303741511?{mimeType:"image/png",width:e.getUint32(16,gi),height:e.getUint32(20,gi)}:null}function j8(t){let e=Vl(t);return e.byteLength>=10&&e.getUint32(0,gi)===1195984440?{mimeType:"image/gif",width:e.getUint16(6,kl),height:e.getUint16(8,kl)}:null}function G8(t){let e=Vl(t);return e.byteLength>=14&&e.getUint16(0,gi)===16973&&e.getUint32(2,kl)===e.byteLength?{mimeType:"image/bmp",width:e.getUint32(18,kl),height:e.getUint32(22,kl)}:null}function W8(t){let e=Vl(t);if(!(e.byteLength>=3&&e.getUint16(0,gi)===65496&&e.getUint8(2)===255))return null;let{tableMarkers:i,sofMarkers:n}=$8(),o=2;for(;o+9<e.byteLength;){let s=e.getUint16(o,gi);if(n.has(s))return{mimeType:"image/jpeg",height:e.getUint16(o+5,gi),width:e.getUint16(o+7,gi)};if(!i.has(s))return null;o+=2,o+=e.getUint16(o,gi)}return null}function $8(){let t=new Set([65499,65476,65484,65501,65534]);for(let r=65504;r<65520;++r)t.add(r);return{tableMarkers:t,sofMarkers:new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502])}}function Vl(t){if(t instanceof DataView)return t;if(ArrayBuffer.isView(t))return new DataView(t.buffer);if(t instanceof ArrayBuffer)return new DataView(t);throw new Error("toDataView")}async function rP(t,e){let{mimeType:r}=Fo(t)||{},i=globalThis.loaders?.parseImageNode;return ce(i),await i(t,r)}async function iP(t,e,r){e=e||{};let n=(e.image||{}).type||"auto",{url:o}=r||{},s=X8(n),a;switch(s){case"imagebitmap":a=await eP(t,e,o);break;case"image":a=await Tp(t,e,o);break;case"data":a=await rP(t,e);break;default:ce(!1)}return n==="data"&&(a=Ul(a)),a}function X8(t){switch(t){case"auto":case"data":return qw();default:return Kw(t),t}}var Y8=["png","jpg","jpeg","gif","webp","bmp","ico","svg","avif"],K8=["image/png","image/jpeg","image/gif","image/webp","image/avif","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],q8={image:{type:"auto",decode:!0}},Nn={dataType:null,batchType:null,id:"image",module:"images",name:"Images",version:Yw,mimeTypes:K8,extensions:Y8,parse:iP,tests:[t=>Boolean(Fo(new DataView(t)))],options:q8};var Eb={};function wb(t){if(Eb[t]===void 0){let e=Gi?J8(t):Z8(t);Eb[t]=e}return Eb[t]}function Z8(t){let e=["image/png","image/jpeg","image/gif"],r=globalThis.loaders?.imageFormatsNode||e,i=globalThis.loaders?.parseImageNode;return Boolean(i)&&r.includes(t)}function J8(t){switch(t){case"image/avif":case"image/webp":return Q8(t);default:return!0}}function Q8(t){try{return document.createElement("canvas").toDataURL(t).indexOf(`data:${t}`)===0}catch{return!1}}ia();var e5=new Ft({id:"deck"}),F=e5;var Pb={};function Sp(t){Pb=t}function ze(t,e,r,i){F.level>0&&Pb[t]&&Pb[t].call(null,e,r,i)}function t5(t){let e=t[0],r=t[t.length-1];return e==="{"&&r==="}"||e==="["&&r==="]"}var nP={dataType:null,batchType:null,id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:t5,parseTextSync:JSON.parse};function r5(){let t="9.3.0-beta.2",e=globalThis.deck&&globalThis.deck.VERSION;if(e&&e!==t)throw new Error(`deck.gl - multiple versions detected: ${e} vs ${t}`);return e||(F.log(1,`deck.gl ${t}`)(),globalThis.deck={...globalThis.deck,VERSION:t,version:t,log:F,_registerLoggers:Sp},Dl([nP,[Nn,{imagebitmap:{premultiplyAlpha:"none"}}]])),t}var Cp=r5();function No(t,e){if(!t){let r=new Error(e||"shadertools: assertion failed.");throw Error.captureStackTrace?.(r,No),r}}var Mb={number:{type:"number",validate(t,e){return Number.isFinite(t)&&typeof e=="object"&&(e.max===void 0||t<=e.max)&&(e.min===void 0||t>=e.min)}},array:{type:"array",validate(t,e){return Array.isArray(t)||ArrayBuffer.isView(t)}}};function sP(t){let e={};for(let[r,i]of Object.entries(t))e[r]=i5(i);return e}function i5(t){let e=oP(t);if(e!=="object")return{value:t,...Mb[e],type:e};if(typeof t=="object")return t?t.type!==void 0?{...t,...Mb[t.type],type:t.type}:t.value===void 0?{type:"object",value:t}:(e=oP(t.value),{...t,...Mb[e],type:e}):{type:"object",value:null};throw new Error("props")}function oP(t){return Array.isArray(t)||ArrayBuffer.isView(t)?"array":typeof t}var aP=`#ifdef MODULE_LOGDEPTH
|
|
24
|
+
}`}function Yx(t,e=!0,r){let i=r||new Set;if(t){if(cw(t))i.add(t);else if(cw(t.buffer))i.add(t.buffer);else if(!ArrayBuffer.isView(t)){if(e&&typeof t=="object")for(let n in t)Yx(t[n],e,i)}}return r===void 0?Array.from(i):[]}function cw(t){return t?t instanceof ArrayBuffer||typeof MessagePort<"u"&&t instanceof MessagePort||typeof ImageBitmap<"u"&&t instanceof ImageBitmap||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas:!1}var Kx=()=>{},Mn=class{name;source;url;terminated=!1;worker;onMessage;onError;_loadableURL="";static isSupported(){return typeof Worker<"u"&&tt||typeof oa<"u"&&!tt}constructor(e){let{name:r,source:i,url:n}=e;yt(i||n),this.name=r,this.source=i,this.url=n,this.onMessage=Kx,this.onError=o=>console.log(o),this.worker=tt?this._createBrowserWorker():this._createNodeWorker()}destroy(){this.onMessage=Kx,this.onError=Kx,this.worker.terminate(),this.terminated=!0}get isRunning(){return Boolean(this.onMessage)}postMessage(e,r){r=r||Yx(e),this.worker.postMessage(e,r)}_getErrorFromErrorEvent(e){let r="Failed to load ";return r+=`worker ${this.name} from ${this.url}. `,e.message&&(r+=`${e.message} in `),e.lineno&&(r+=`:${e.lineno}:${e.colno}`),new Error(r)}_createBrowserWorker(){this._loadableURL=sw({source:this.source,url:this.url});let e=new Worker(this._loadableURL,{name:this.name});return e.onmessage=r=>{r.data?this.onMessage(r.data):this.onError(new Error("No data received"))},e.onerror=r=>{this.onError(this._getErrorFromErrorEvent(r)),this.terminated=!0},e.onmessageerror=r=>console.error(r),e}_createNodeWorker(){let e;if(this.url){let i=this.url.includes(":/")||this.url.startsWith("/")?this.url:`./${this.url}`,n=this.url.endsWith(".ts")||this.url.endsWith(".mjs")?"module":"commonjs";e=new oa(i,{eval:!1,type:n})}else if(this.source)e=new oa(this.source,{eval:!0});else throw new Error("no worker");return e.on("message",r=>{this.onMessage(r)}),e.on("error",r=>{this.onError(r)}),e.on("exit",r=>{}),e}};var Pl=class{name="unnamed";source;url;maxConcurrency=1;maxMobileConcurrency=1;onDebug=()=>{};reuseWorkers=!0;props={};jobQueue=[];idleQueue=[];count=0;isDestroyed=!1;static isSupported(){return Mn.isSupported()}constructor(e){this.source=e.source,this.url=e.url,this.setProps(e)}destroy(){this.idleQueue.forEach(e=>e.destroy()),this.isDestroyed=!0}setProps(e){this.props={...this.props,...e},e.name!==void 0&&(this.name=e.name),e.maxConcurrency!==void 0&&(this.maxConcurrency=e.maxConcurrency),e.maxMobileConcurrency!==void 0&&(this.maxMobileConcurrency=e.maxMobileConcurrency),e.reuseWorkers!==void 0&&(this.reuseWorkers=e.reuseWorkers),e.onDebug!==void 0&&(this.onDebug=e.onDebug)}async startJob(e,r=(n,o,s)=>n.done(s),i=(n,o)=>n.error(o)){let n=new Promise(o=>(this.jobQueue.push({name:e,onMessage:r,onError:i,onStart:o}),this));return this._startQueuedJob(),await n}async _startQueuedJob(){if(!this.jobQueue.length)return;let e=this._getAvailableWorker();if(!e)return;let r=this.jobQueue.shift();if(r){this.onDebug({message:"Starting job",name:r.name,workerThread:e,backlog:this.jobQueue.length});let i=new wl(r.name,e);e.onMessage=n=>r.onMessage(i,n.type,n.payload),e.onError=n=>r.onError(i,n),r.onStart(i);try{await i.result}catch(n){console.error(`Worker exception: ${n}`)}finally{this.returnWorkerToQueue(e)}}}returnWorkerToQueue(e){!tt||this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency()?(e.destroy(),this.count--):this.idleQueue.push(e),this.isDestroyed||this._startQueuedJob()}_getAvailableWorker(){if(this.idleQueue.length>0)return this.idleQueue.shift()||null;if(this.count<this._getMaxConcurrency()){this.count++;let e=`${this.name.toLowerCase()} (#${this.count} of ${this.maxConcurrency})`;return new Mn({name:e,source:this.source,url:this.url})}return null}_getMaxConcurrency(){return ow?this.maxMobileConcurrency:this.maxConcurrency}};var IH={maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:!0,onDebug:()=>{}},Mo=class{props;workerPools=new Map;static isSupported(){return Mn.isSupported()}static getWorkerFarm(e={}){return Mo._workerFarm=Mo._workerFarm||new Mo({}),Mo._workerFarm.setProps(e),Mo._workerFarm}constructor(e){this.props={...IH},this.setProps(e),this.workerPools=new Map}destroy(){for(let e of this.workerPools.values())e.destroy();this.workerPools=new Map}setProps(e){this.props={...this.props,...e};for(let r of this.workerPools.values())r.setProps(this._getWorkerPoolProps())}getWorkerPool(e){let{name:r,source:i,url:n}=e,o=this.workerPools.get(r);return o||(o=new Pl({name:r,source:i,url:n}),o.setProps(this._getWorkerPoolProps()),this.workerPools.set(r,o)),o}_getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug}}},Rn=Mo;k(Rn,"_workerFarm");function qx(t,e={}){let r=e[t.id]||{},i=tt?`${t.id}-worker.js`:`${t.id}-worker-node.js`,n=r.workerUrl;if(!n&&t.id==="compression"&&(n=e.workerUrl),(e._workerType||e?.core?._workerType)==="test"&&(tt?n=`modules/${t.module}/dist/${i}`:n=`modules/${t.module}/src/workers/${t.id}-worker-node.ts`),!n){let s=t.version;s==="latest"&&(s=iw);let a=s?`@${s}`:"";n=`https://unpkg.com/@loaders.gl/${t.module}${a}/dist/${i}`}return yt(n),n}function Zx(t,e=hp){yt(t,"no worker provided");let r=t.version;return!(!e||!r)}var Jx={};function Ml(t={}){let e=t.useLocalLibraries??t.core?.useLocalLibraries,r=t.CDN??t.core?.CDN,i=t.modules;return{...e!==void 0?{useLocalLibraries:e}:{},...r!==void 0?{CDN:r}:{},...i!==void 0?{modules:i}:{}}}async function _r(t,e=null,r={},i=null){return e&&(t=lw(t,e,r,i)),Jx[t]=Jx[t]||LH(t),await Jx[t]}function lw(t,e,r={},i=null){if(r?.core)throw new Error("loadLibrary: options.core must be pre-normalized");if(!r.useLocalLibraries&&t.startsWith("http"))return t;i=i||t;let n=r.modules||{};return n[i]?n[i]:tt?r.CDN?(yt(r.CDN.startsWith("http")),`${r.CDN}/${e}@${hp}/dist/libs/${i}`):El?`../src/libs/${i}`:`modules/${e}/src/libs/${i}`:`modules/${e}/dist/libs/${i}`}async function LH(t){if(t.endsWith("wasm"))return await OH(t);if(!tt){let{requireFromFile:r}=globalThis.loaders||{};try{let i=await r?.(t);return i||!t.includes("/dist/libs/")?i:await r?.(t.replace("/dist/libs/","/src/libs/"))}catch(i){if(t.includes("/dist/libs/"))try{return await r?.(t.replace("/dist/libs/","/src/libs/"))}catch{}return console.error(i),null}}if(El)return importScripts(t);let e=await FH(t);return BH(e,t)}function BH(t,e){if(!tt){let{requireFromString:i}=globalThis.loaders||{};return i?.(t,e)}if(El)return eval.call(globalThis,t),null;let r=document.createElement("script");r.id=e;try{r.appendChild(document.createTextNode(t))}catch{r.text=t}return document.body.appendChild(r),null}async function OH(t){let{readFileAsArrayBuffer:e}=globalThis.loaders||{};if(tt||!e||t.startsWith("http"))return await(await fetch(t)).arrayBuffer();try{return await e(t)}catch{if(t.includes("/dist/libs/"))return await e(t.replace("/dist/libs/","/src/libs/"));throw new Error(`Failed to load ArrayBuffer from ${t}`)}}async function FH(t){let{readFileAsText:e}=globalThis.loaders||{};if(tt||!e||t.startsWith("http"))return await(await fetch(t)).text();try{return await e(t)}catch{if(t.includes("/dist/libs/"))return await e(t.replace("/dist/libs/","/src/libs/"));throw new Error(`Failed to load text from ${t}`)}}function Qx(t,e){if(!Rn.isSupported())return!1;let r=e?._nodeWorkers??e?.core?._nodeWorkers;if(!tt&&!r)return!1;let i=e?.worker??e?.core?.worker;return Boolean(t.worker&&i)}async function eb(t,e,r,i,n){let o=t.id,s=qx(t,r),c=Rn.getWorkerFarm(r?.core).getWorkerPool({name:o,url:s});r=JSON.parse(JSON.stringify(r)),i=JSON.parse(JSON.stringify(i||{}));let l=await c.startJob("process-on-worker",NH.bind(null,n));return l.postMessage("process",{input:e,options:r,context:i}),await(await l.result).result}async function NH(t,e,r,i){switch(r){case"done":e.done(i);break;case"error":e.error(new Error(i.error));break;case"process":let{id:n,input:o,options:s}=i;try{let a=await t(o,s);e.postMessage("done",{id:n,result:a})}catch(a){let c=a instanceof Error?a.message:"unknown error";e.postMessage("error",{id:n,error:c})}break;default:console.warn(`parse-with-worker unknown message ${r}`)}}function fw(t,e=5){return typeof t=="string"?t.slice(0,e):ArrayBuffer.isView(t)?uw(t.buffer,t.byteOffset,e):t instanceof ArrayBuffer?uw(t,0,e):""}function uw(t,e,r){if(t.byteLength<=e+r)return"";let i=new DataView(t),n="";for(let o=0;o<r;o++)n+=String.fromCharCode(i.getUint8(e+o));return n}function tb(t){try{return JSON.parse(t)}catch{throw new Error(`Failed to parse JSON from data starting with "${fw(t)}"`)}}function rb(t,e,r){if(r=r||t.byteLength,t.byteLength<r||e.byteLength<r)return!1;let i=new Uint8Array(t),n=new Uint8Array(e);for(let o=0;o<i.length;++o)if(i[o]!==n[o])return!1;return!0}function ib(...t){return dw(t)}function dw(t){let e=t.map(o=>o instanceof ArrayBuffer?new Uint8Array(o):o),r=e.reduce((o,s)=>o+s.byteLength,0),i=new Uint8Array(r),n=0;for(let o of e)i.set(o,n),n+=o.byteLength;return i.buffer}function Rl(...t){let e=t,r=e&&e.length>1&&e[0].constructor||null;if(!r)throw new Error('"concatenateTypedArrays" - incorrect quantity of arguments or arguments have incompatible data types');let i=e.reduce((s,a)=>s+a.length,0),n=new r(i),o=0;for(let s of e)n.set(s,o),o+=s.length;return n}function Ro(t,e,r){let i=r!==void 0?new Uint8Array(t).subarray(e,e+r):new Uint8Array(t).subarray(e);return new Uint8Array(i).buffer}function In(t,e){return ce(t>=0),ce(e>0),t+(e-1)&~(e-1)}function nb(t,e,r){let i;if(t instanceof ArrayBuffer)i=new Uint8Array(t);else{let n=t.byteOffset,o=t.byteLength;i=new Uint8Array(t.buffer||t.arrayBuffer,n,o)}return e.set(i,r),r+In(i.byteLength,4)}async function ob(t){let e=[];for await(let r of t)e.push(DH(r));return ib(...e)}function DH(t){if(t instanceof ArrayBuffer)return t;if(ArrayBuffer.isView(t)){let{buffer:e,byteOffset:r,byteLength:i}=t;return hw(e,r,i)}return hw(t)}function hw(t,e=0,r=t.byteLength-e){let i=new Uint8Array(t,e,r),n=new Uint8Array(i.length);return n.set(i),n.buffer}Lo();var UH="Queued Requests",kH="Active Requests",VH="Cancelled Requests",zH="Queued Requests Ever",HH="Active Requests Ever",jH={id:"request-scheduler",throttleRequests:!0,maxRequests:6,debounceTime:0},Ln=class{props;stats;activeRequestCount=0;requestQueue=[];requestMap=new Map;updateTimer=null;constructor(e={}){this.props={...jH,...e},this.stats=new Et({id:this.props.id}),this.stats.get(UH),this.stats.get(kH),this.stats.get(VH),this.stats.get(zH),this.stats.get(HH)}setProps(e){e.throttleRequests!==void 0&&(this.props.throttleRequests=e.throttleRequests),e.maxRequests!==void 0&&(this.props.maxRequests=e.maxRequests),e.debounceTime!==void 0&&(this.props.debounceTime=e.debounceTime)}scheduleRequest(e,r=()=>0){if(!this.props.throttleRequests)return Promise.resolve({done:()=>{}});if(this.requestMap.has(e))return this.requestMap.get(e);let i={handle:e,priority:0,getPriority:r},n=new Promise(o=>(i.resolve=o,i));return this.requestQueue.push(i),this.requestMap.set(e,n),this._issueNewRequests(),n}_issueRequest(e){let{handle:r,resolve:i}=e,n=!1,o=()=>{n||(n=!0,this.requestMap.delete(r),this.activeRequestCount--,this._issueNewRequests())};return this.activeRequestCount++,i?i({done:o}):Promise.resolve({done:o})}_issueNewRequests(){this.updateTimer!==null&&clearTimeout(this.updateTimer),this.updateTimer=setTimeout(()=>this._issueNewRequestsAsync(),this.props.debounceTime)}_issueNewRequestsAsync(){this.updateTimer!==null&&clearTimeout(this.updateTimer),this.updateTimer=null;let e=Math.max(this.props.maxRequests-this.activeRequestCount,0);if(e!==0){this._updateAllRequests();for(let r=0;r<e;++r){let i=this.requestQueue.shift();i&&this._issueRequest(i)}}}_updateAllRequests(){let e=this.requestQueue;for(let r=0;r<e.length;++r){let i=e[r];this._updateRequest(i)||(e.splice(r,1),this.requestMap.delete(i.handle),r--)}e.sort((r,i)=>r.priority-i.priority)}_updateRequest(e){return e.priority=e.getPriority(e.handle),e.priority<0?(e.resolve(null),!1):!0}};var GH="",mw={};function Ll(t){for(let e in mw)if(t.startsWith(e)){let r=mw[e];t=t.replace(e,r)}return!t.startsWith("http://")&&!t.startsWith("https://")&&(t=`${GH}${t}`),t}function pp(t){return t&&typeof t=="object"&&t.isBuffer}function aa(t){if(pp(t))return t;if(t instanceof ArrayBuffer)return t;if(jx(t))return sa(t);if(ArrayBuffer.isView(t)){let e=t.buffer;return t.byteOffset===0&&t.byteLength===t.buffer.byteLength?e:e.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(typeof t=="string"){let e=t;return new TextEncoder().encode(e).buffer}if(t&&typeof t=="object"&&t._toArrayBuffer)return t._toArrayBuffer();throw new Error("toArrayBuffer")}function yr(t){if(t instanceof ArrayBuffer)return t;if(jx(t))return sa(t);let{buffer:e,byteOffset:r,byteLength:i}=t;return e instanceof ArrayBuffer&&r===0&&i===e.byteLength?e:sa(e,r,i)}function sa(t,e=0,r=t.byteLength-e){let i=new Uint8Array(t,e,r),n=new Uint8Array(i.length);return n.set(i),n.buffer}function cb(t){return ArrayBuffer.isView(t)?t:new Uint8Array(t)}var Nt={};Xe(Nt,{dirname:()=>$H,filename:()=>WH,join:()=>XH,resolve:()=>YH});function gw(){if(typeof process<"u"&&typeof process.cwd<"u")return process.cwd();let t=window.location?.pathname;return t?.slice(0,t.lastIndexOf("/")+1)||""}function WH(t){let e=t?t.lastIndexOf("/"):-1;return e>=0?t.substr(e+1):t}function $H(t){let e=t?t.lastIndexOf("/"):-1;return e>=0?t.substr(0,e):""}function XH(...t){let e="/";return t=t.map((r,i)=>(i&&(r=r.replace(new RegExp(`^${e}`),"")),i!==t.length-1&&(r=r.replace(new RegExp(`${e}$`),"")),r)),t.join(e)}function YH(...t){let e=[];for(let o=0;o<t.length;o++)e[o]=t[o];let r="",i=!1,n;for(let o=e.length-1;o>=-1&&!i;o--){let s;o>=0?s=e[o]:(n===void 0&&(n=gw()),s=n),s.length!==0&&(r=`${s}/${r}`,i=s.charCodeAt(0)===Bl)}return r=KH(r,!i),i?`/${r}`:r.length>0?r:"."}var Bl=47,lb=46;function KH(t,e){let r="",i=-1,n=0,o,s=!1;for(let a=0;a<=t.length;++a){if(a<t.length)o=t.charCodeAt(a);else{if(o===Bl)break;o=Bl}if(o===Bl){if(!(i===a-1||n===1))if(i!==a-1&&n===2){if(r.length<2||!s||r.charCodeAt(r.length-1)!==lb||r.charCodeAt(r.length-2)!==lb){if(r.length>2){let c=r.length-1,l=c;for(;l>=0&&r.charCodeAt(l)!==Bl;--l);if(l!==c){r=l===-1?"":r.slice(0,l),i=a,n=0,s=!1;continue}}else if(r.length===2||r.length===1){r="",i=a,n=0,s=!1;continue}}e&&(r.length>0?r+="/..":r="..",s=!0)}else{let c=t.slice(i+1,a);r.length>0?r+=`/${c}`:r=c,s=!1}i=a,n=0}else o===lb&&n!==-1?++n:n=-1}return r}var ub=class{optionsType;options;data;url;loadOptions;fetch;_needsRefresh=!0;constructor(e,r,i){i?this.options=Po({...i,core:ub.defaultOptions},r):this.options={...r},this.data=e,this.url=typeof e=="string"?Ll(e):"",this.loadOptions=ZH(this.options.core?.loadOptions),this.fetch=qH(this.loadOptions)}setProps(e){this.options=Object.assign(this.options,e),this.setNeedsRefresh()}setNeedsRefresh(){this._needsRefresh=!0}getNeedsRefresh(e=!0){let r=this._needsRefresh;return e&&(this._needsRefresh=!1),r}},ca=ub;k(ca,"defaultOptions",{core:{type:"auto",attributions:[],loadOptions:{},loaders:[]}});function qH(t){let e=t?.core?.fetch;if(e&&typeof e=="function")return(i,n)=>e(i,n);let r=t?.fetch;return r&&typeof r!="function"?i=>fetch(i,r):i=>fetch(i)}function ZH(t){let e={...t};t?.core&&(e.core={...t.core});let r=typeof e.baseUri=="string"?e.baseUri:void 0,i=typeof e.baseUrl=="string"?e.baseUrl:void 0;return(r!==void 0||i!==void 0)&&(e.core||={},e.core.baseUrl===void 0&&(e.core.baseUrl=i??r),delete e.baseUri,delete e.baseUrl),e}var Bn=class{};k(Bn,"type","template"),k(Bn,"testURL",e=>!1);var mp=class extends Error{constructor(e,r){super(e),this.reason=r.reason,this.url=r.url,this.response=r.response}reason;url;response};var e8=/^data:([-\w.]+\/[-\w.+]+)(;|,)/,t8=/^([-\w.]+\/[-\w.+]+)/;function fb(t,e){return t.toLowerCase()===e.toLowerCase()}function _w(t){let e=t8.exec(t);return e?e[1]:t}function db(t){let e=e8.exec(t);return e?e[1]:""}var yw=/\?.*/;function xw(t){let e=t.match(yw);return e&&e[0]}function On(t){return t.replace(yw,"")}function bw(t){if(t.length<50)return t;let e=t.slice(t.length-15);return`${t.substr(0,32)}...${e}`}function Bo(t){return or(t)?t.url:sr(t)?("name"in t?t.name:"")||"":typeof t=="string"?t:""}function la(t){if(or(t)){let e=t.headers.get("content-type")||"",r=On(t.url);return _w(e)||db(r)}return sr(t)?t.type||"":typeof t=="string"?db(t):""}function Aw(t){return or(t)?t.headers["content-length"]||-1:sr(t)?t.size:typeof t=="string"?t.length:t instanceof ArrayBuffer||ArrayBuffer.isView(t)?t.byteLength:-1}async function gp(t){if(or(t))return t;let e={},r=Aw(t);r>=0&&(e["content-length"]=String(r));let i=Bo(t),n=la(t);n&&(e["content-type"]=n);let o=await i8(t);o&&(e["x-first-bytes"]=o),typeof t=="string"&&(t=new TextEncoder().encode(t));let s=new Response(t,{headers:e});return Object.defineProperty(s,"url",{value:i}),s}async function vw(t){if(!t.ok)throw await r8(t)}async function r8(t){let e=bw(t.url),r=`Failed to fetch resource (${t.status}) ${t.statusText}: ${e}`;r=r.length>100?`${r.slice(0,100)}...`:r;let i={reason:t.statusText,url:t.url,response:t};try{let n=t.headers.get("Content-Type");i.reason=!t.bodyUsed&&n?.includes("application/json")?await t.json():await t.text()}catch{}return new mp(r,i)}async function i8(t){if(typeof t=="string")return`data:,${t.slice(0,5)}`;if(t instanceof Blob){let r=t.slice(0,5);return await new Promise(i=>{let n=new FileReader;n.onload=o=>i(o?.target?.result),n.readAsDataURL(r)})}if(t instanceof ArrayBuffer){let r=t.slice(0,5);return`data:base64,${n8(r)}`}return null}function n8(t){let e="",r=new Uint8Array(t);for(let i=0;i<r.byteLength;i++)e+=String.fromCharCode(r[i]);return btoa(e)}function o8(t){return!s8(t)&&!a8(t)}function s8(t){return t.startsWith("http:")||t.startsWith("https:")}function a8(t){return t.startsWith("data:")}async function ua(t,e){if(typeof t=="string"){let r=Ll(t);return o8(r)&&globalThis.loaders?.fetchNode?globalThis.loaders?.fetchNode(r,e):await fetch(r,e)}return await gp(t)}ia();var Ol=new Ft({id:"loaders.gl"}),_p=class{log(){return()=>{}}info(){return()=>{}}warn(){return()=>{}}error(){return()=>{}}},yp=class{console;constructor(){this.console=console}log(...e){return this.console.log.bind(this.console,...e)}info(...e){return this.console.info.bind(this.console,...e)}warn(...e){return this.console.warn.bind(this.console,...e)}error(...e){return this.console.error.bind(this.console,...e)}};var xp={core:{baseUrl:void 0,fetch:null,mimeType:void 0,fallbackMimeType:void 0,ignoreRegisteredLoaders:void 0,nothrow:!1,log:new yp,useLocalLibraries:!1,CDN:"https://unpkg.com/@loaders.gl",worker:!0,maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:Gi,_nodeWorkers:!1,_workerType:"",limit:0,_limitMB:0,batchSize:"auto",batchDebounceMs:0,metadata:!1,transforms:[]}},Tw={baseUri:"core.baseUrl",fetch:"core.fetch",mimeType:"core.mimeType",fallbackMimeType:"core.fallbackMimeType",ignoreRegisteredLoaders:"core.ignoreRegisteredLoaders",nothrow:"core.nothrow",log:"core.log",useLocalLibraries:"core.useLocalLibraries",CDN:"core.CDN",worker:"core.worker",maxConcurrency:"core.maxConcurrency",maxMobileConcurrency:"core.maxMobileConcurrency",reuseWorkers:"core.reuseWorkers",_nodeWorkers:"core.nodeWorkers",_workerType:"core._workerType",_worker:"core._workerType",limit:"core.limit",_limitMB:"core._limitMB",batchSize:"core.batchSize",batchDebounceMs:"core.batchDebounceMs",metadata:"core.metadata",transforms:"core.transforms",throws:"nothrow",dataType:"(no longer used)",uri:"core.baseUrl",method:"core.fetch.method",headers:"core.fetch.headers",body:"core.fetch.body",mode:"core.fetch.mode",credentials:"core.fetch.credentials",cache:"core.fetch.cache",redirect:"core.fetch.redirect",referrer:"core.fetch.referrer",referrerPolicy:"core.fetch.referrerPolicy",integrity:"core.fetch.integrity",keepalive:"core.fetch.keepalive",signal:"core.fetch.signal"};var hb=["baseUrl","fetch","mimeType","fallbackMimeType","ignoreRegisteredLoaders","nothrow","log","useLocalLibraries","CDN","worker","maxConcurrency","maxMobileConcurrency","reuseWorkers","_nodeWorkers","_workerType","limit","_limitMB","batchSize","batchDebounceMs","metadata","transforms"];function pb(){globalThis.loaders=globalThis.loaders||{};let{loaders:t}=globalThis;return t._state||(t._state={}),t._state}function mb(){let t=pb();return t.globalOptions=t.globalOptions||{...xp,core:{...xp.core}},Wi(t.globalOptions)}function Ew(t,e,r,i){return r=r||[],r=Array.isArray(r)?r:[r],c8(t,r),Wi(u8(e,t,i))}function Wi(t){let e=d8(t);ww(e);for(let r of hb)e.core&&e.core[r]!==void 0&&delete e[r];return e.core&&e.core._workerType!==void 0&&delete e._worker,e}function c8(t,e){Sw(t,null,xp,Tw,e);for(let r of e){let i=t&&t[r.id]||{},n=r.options&&r.options[r.id]||{},o=r.deprecatedOptions&&r.deprecatedOptions[r.id]||{};Sw(i,r.id,n,o,e)}}function Sw(t,e,r,i,n){let o=e||"Top level",s=e?`${e}.`:"";for(let a in t){let c=!e&&pi(t[a]),l=a==="baseUri"&&!e,u=a==="workerUrl"&&e;if(!(a in r)&&!l&&!u){if(a in i)Ol.level>0&&Ol.warn(`${o} loader option '${s}${a}' no longer supported, use '${i[a]}'`)();else if(!c&&Ol.level>0){let f=l8(a,n);Ol.warn(`${o} loader option '${s}${a}' not recognized. ${f}`)()}}}}function l8(t,e){let r=t.toLowerCase(),i="";for(let n of e)for(let o in n.options){if(t===o)return`Did you mean '${n.id}.${o}'?`;let s=o.toLowerCase();(r.startsWith(s)||s.startsWith(r))&&(i=i||`Did you mean '${n.id}.${o}'?`)}return i}function u8(t,e,r){let i=t.options||{},n={...i};i.core&&(n.core={...i.core}),ww(n),n.core?.log===null&&(n.core={...n.core,log:new _p}),Cw(n,Wi(mb()));let o=Wi(e);return Cw(n,o),f8(n,r),h8(n),n}function Cw(t,e){for(let r in e)if(r in e){let i=e[r];fp(i)&&fp(t[r])?t[r]={...t[r],...e[r]}:t[r]=e[r]}}function f8(t,e){if(!e)return;t.core?.baseUrl!==void 0||(t.core||={},t.core.baseUrl=Nt.dirname(On(e)))}function d8(t){let e={...t};return t.core&&(e.core={...t.core}),e}function ww(t){t.baseUri!==void 0&&(t.core||={},t.core.baseUrl===void 0&&(t.core.baseUrl=t.baseUri));for(let r of hb)if(t[r]!==void 0){let n=t.core=t.core||{};n[r]===void 0&&(n[r]=t[r])}let e=t._worker;e!==void 0&&(t.core||={},t.core._workerType===void 0&&(t.core._workerType=e))}function h8(t){let e=t.core;if(e)for(let r of hb)e[r]!==void 0&&(t[r]=e[r])}function Fl(t){return t?(Array.isArray(t)&&(t=t[0]),Array.isArray(t?.extensions)):!1}function Nl(t){ce(t,"null loader"),ce(Fl(t),"invalid loader");let e;return Array.isArray(t)&&(e=t[1],t=t[0],t={...t,options:{...t.options,...e}}),(t?.parseTextSync||t?.parseText)&&(t.text=!0),t.text||(t.binary=!0),t}var Pw=()=>{let t=pb();return t.loaderRegistry=t.loaderRegistry||[],t.loaderRegistry};function Dl(t){let e=Pw();t=Array.isArray(t)?t:[t];for(let r of t){let i=Nl(r);e.find(n=>i===n)||e.unshift(i)}}function Mw(){return Pw()}var p8=/\.([^.]+)$/;async function Lw(t,e=[],r,i){if(!Bw(t))return null;let n=Wi(r||{});if(n.core||={},t instanceof Response&&Rw(t)){let s=await t.clone().text(),a=bp(s,e,{...n,core:{...n.core,nothrow:!0}},i);if(a)return a}let o=bp(t,e,{...n,core:{...n.core,nothrow:!0}},i);if(o)return o;if(sr(t)&&(t=await t.slice(0,10).arrayBuffer(),o=bp(t,e,n,i)),!o&&t instanceof Response&&Rw(t)){let s=await t.clone().text();o=bp(s,e,n,i)}if(!o&&!n.core.nothrow)throw new Error(Ow(t));return o}function Rw(t){let e=la(t);return Boolean(e&&(e.startsWith("text/")||e==="application/json"||e.endsWith("+json")))}function bp(t,e=[],r,i){if(!Bw(t))return null;let n=Wi(r||{});if(n.core||={},e&&!Array.isArray(e))return Nl(e);let o=[];e&&(o=o.concat(e)),n.core.ignoreRegisteredLoaders||o.push(...Mw()),g8(o);let s=m8(t,o,n,i);if(!s&&!n.core.nothrow)throw new Error(Ow(t));return s}function m8(t,e,r,i){let n=Bo(t),o=la(t),s=On(n)||i?.url,a=null,c="";return r?.core?.mimeType&&(a=gb(e,r?.core?.mimeType),c=`match forced by supplied MIME type ${r?.core?.mimeType}`),a=a||_8(e,s),c=c||(a?`matched url ${s}`:""),a=a||gb(e,o),c=c||(a?`matched MIME type ${o}`:""),a=a||x8(e,t),c=c||(a?`matched initial data ${Fw(t)}`:""),r?.core?.fallbackMimeType&&(a=a||gb(e,r?.core?.fallbackMimeType),c=c||(a?`matched fallback MIME type ${o}`:"")),c&&Sl.log(1,`selectLoader selected ${a?.name}: ${c}.`),a}function Bw(t){return!(t instanceof Response&&t.status===204)}function Ow(t){let e=Bo(t),r=la(t),i="No valid loader found (";i+=e?`${Nt.filename(e)}, `:"no url provided, ",i+=`MIME type: ${r?`"${r}"`:"not provided"}, `;let n=t?Fw(t):"";return i+=n?` first bytes: "${n}"`:"first bytes: not available",i+=")",i}function g8(t){for(let e of t)Nl(e)}function _8(t,e){let r=e&&p8.exec(e),i=r&&r[1];return i?y8(t,i):null}function y8(t,e){e=e.toLowerCase();for(let r of t)for(let i of r.extensions)if(i.toLowerCase()===e)return r;return null}function gb(t,e){for(let r of t)if(r.mimeTypes?.some(i=>fb(e,i))||fb(e,`application/x.${r.id}`))return r;return null}function x8(t,e){if(!e)return null;for(let r of t)if(typeof e=="string"){if(b8(e,r))return r}else if(ArrayBuffer.isView(e)){if(Iw(e.buffer,e.byteOffset,r))return r}else if(e instanceof ArrayBuffer&&Iw(e,0,r))return r;return null}function b8(t,e){return e.testText?e.testText(t):(Array.isArray(e.tests)?e.tests:[e.tests]).some(i=>t.startsWith(i))}function Iw(t,e,r){return(Array.isArray(r.tests)?r.tests:[r.tests]).some(n=>A8(t,e,r,n))}function A8(t,e,r,i){if(na(i))return rb(i,t,i.byteLength);switch(typeof i){case"function":return i(yr(t));case"string":let n=_b(t,e,i.length);return i===n;default:return!1}}function Fw(t,e=5){return typeof t=="string"?t.slice(0,e):ArrayBuffer.isView(t)?_b(t.buffer,t.byteOffset,e):t instanceof ArrayBuffer?_b(t,0,e):""}function _b(t,e,r){if(t.byteLength<e+r)return"";let i=new DataView(t),n="";for(let o=0;o<r;o++)n+=String.fromCharCode(i.getUint8(e+o));return n}var v8=256*1024;function*Nw(t,e){let r=e?.chunkSize||v8,i=0,n=new TextEncoder;for(;i<t.length;){let o=Math.min(t.length-i,r),s=t.slice(i,i+o);i+=o,yield yr(n.encode(s))}}function*Dw(t,e={}){let{chunkSize:r=262144}=e,i=0;for(;i<t.byteLength;){let n=Math.min(t.byteLength-i,r),o=new ArrayBuffer(n),s=new Uint8Array(t,i,n);new Uint8Array(o).set(s),i+=n,yield o}}async function*Uw(t,e){let r=e?.chunkSize||1048576,i=0;for(;i<t.size;){let n=i+r,o=await t.slice(i,n).arrayBuffer();i=n,yield o}}function yb(t,e){return Gi?T8(t,e):S8(t,e)}async function*T8(t,e){let r=t.getReader(),i;try{for(;;){let n=i||r.read();e?._streamReadAhead&&(i=r.read());let{done:o,value:s}=await n;if(o)return;yield aa(s)}}catch{r.releaseLock()}}async function*S8(t,e){for await(let r of t)yield aa(r)}function kw(t,e){if(typeof t=="string")return Nw(t,e);if(t instanceof ArrayBuffer)return Dw(t,e);if(sr(t))return Uw(t,e);if(Cl(t))return yb(t,e);if(or(t)){let r=t.body;if(!r)throw new Error("Readable stream not available on Response");return yb(r,e)}throw new Error("makeIterator")}var Vw="Cannot convert supplied data type";function C8(t,e,r){if(e.text&&typeof t=="string")return t;if(pp(t)&&(t=t.buffer),na(t)){let i=cb(t);return e.text&&!e.binary?new TextDecoder("utf8").decode(i):aa(i)}throw new Error(Vw)}async function zw(t,e,r){if(typeof t=="string"||na(t))return C8(t,e,r);if(sr(t)&&(t=await gp(t)),or(t))return await vw(t),e.binary?await t.arrayBuffer():await t.text();if(Cl(t)&&(t=kw(t,r)),Gx(t)||Wx(t))return ob(t);throw new Error(Vw)}function Ap(t,e){let r=mb(),i=t||r,n=i.fetch??i.core?.fetch;return typeof n=="function"?n:pi(n)?o=>ua(o,n):e?.fetch?e?.fetch:ua}function Hw(t,e,r){if(r)return r;let i={fetch:Ap(e,t),...t};if(i.url){let n=On(i.url);i.baseUrl=n,i.queryString=xw(i.url),i.filename=Nt.filename(n),i.baseUrl=Nt.dirname(n)}return Array.isArray(i.loaders)||(i.loaders=null),i}function jw(t,e){if(t&&!Array.isArray(t))return t;let r;if(t&&(r=Array.isArray(t)?t:[t]),e&&e.loaders){let i=Array.isArray(e.loaders)?e.loaders:[e.loaders];r=r?[...r,...i]:i}return r&&r.length?r:void 0}async function Fn(t,e,r,i){e&&!Array.isArray(e)&&!Fl(e)&&(i=void 0,r=e,e=void 0),t=await t,r=r||{};let n=Bo(t),s=jw(e,i),a=await Lw(t,s,r);if(!a)return null;let c=Ew(r,a,s,n);return i=Hw({url:n,_parse:Fn,loaders:s},c,i||null),await E8(a,t,c,i)}async function E8(t,e,r,i){if(Zx(t),r=Po(t.options,r),or(e)){let{ok:o,redirected:s,status:a,statusText:c,type:l,url:u}=e,f=Object.fromEntries(e.headers.entries());i.response={headers:f,ok:o,redirected:s,status:a,statusText:c,type:l,url:u}}e=await zw(e,t,r);let n=t;if(n.parseTextSync&&typeof e=="string")return n.parseTextSync(e,r,i);if(Qx(t,r))return await eb(t,e,r,i,Fn);if(n.parseText&&typeof e=="string")return await n.parseText(e,r,i);if(n.parse)return await n.parse(e,r,i);throw yt(!n.parseSync),new Error(`${t.id} loader - no parser found and worker is disabled`)}function Gw(t){switch(t.constructor){case Int8Array:return"int8";case Uint8Array:case Uint8ClampedArray:return"uint8";case Int16Array:return"int16";case Uint16Array:return"uint16";case Int32Array:return"int32";case Uint32Array:return"uint32";case Float32Array:return"float32";case Float64Array:return"float64";default:return"null"}}function Ww(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function $w(t){return Array.isArray(t)?t.length===0||typeof t[0]=="number":!1}function xb(t){return Ww(t)||$w(t)}function Oo(t){let e=1/0,r=1/0,i=1/0,n=-1/0,o=-1/0,s=-1/0,a=t.POSITION?t.POSITION.value:[],c=a&&a.length;for(let l=0;l<c;l+=3){let u=a[l],f=a[l+1],d=a[l+2];e=u<e?u:e,r=f<r?f:r,i=d<i?d:i,n=u>n?u:n,o=f>o?f:o,s=d>s?d:s}return[[e,r,i],[n,o,s]]}function bb(t,e,r){let i=Gw(e.value),n=r||Xw(e);return{name:t,type:{type:"fixed-size-list",listSize:e.size,children:[{name:"value",type:i}]},nullable:!1,metadata:n}}function Xw(t){let e={};return"byteOffset"in t&&(e.byteOffset=t.byteOffset.toString(10)),"byteStride"in t&&(e.byteStride=t.byteStride.toString(10)),"normalized"in t&&(e.normalized=t.normalized.toString()),e}async function rt(t,e,r,i){let n,o;!Array.isArray(e)&&!Fl(e)?(n=[],o=e,i=void 0):(n=e,o=r);let s=Ap(o),a=t;return typeof t=="string"&&(a=await s(t)),sr(t)&&(a=await s(t)),typeof t=="string"&&(Wi(o||{}).core?.baseUrl||(o={...o,core:{...o?.core,baseUrl:t}})),Array.isArray(n)?await Fn(a,n,o):await Fn(a,n,o)}function Ab(t,e,r){let i=r?.core?.type||r.type||"auto",n=i==="auto"?w8(t,e):P8(i,e);if(!n)throw new Error("Not a valid source type");return n.createDataSource(t,r)}function w8(t,e){for(let r of e)if(r.testURL&&r.testURL(t))return r;return null}function P8(t,e){for(let r of e)if(r.type===t)return r;return null}var Yw="4.4.1";var M8=globalThis.loaders?.parseImageNode,vb=typeof Image<"u",Tb=typeof ImageBitmap<"u",R8=Boolean(M8),Sb=Gi?!0:R8;function Kw(t){switch(t){case"auto":return Tb||vb||Sb;case"imagebitmap":return Tb;case"image":return vb;case"data":return Sb;default:throw new Error(`@loaders.gl/images: image ${t} not supported in this environment`)}}function qw(){if(Tb)return"imagebitmap";if(vb)return"image";if(Sb)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}function Zw(t){let e=I8(t);if(!e)throw new Error("Not an image");return e}function Ul(t){switch(Zw(t)){case"data":return t;case"image":case"imagebitmap":let e=document.createElement("canvas"),r=e.getContext("2d");if(!r)throw new Error("getImageData");return e.width=t.width,e.height=t.height,r.drawImage(t,0,0),r.getImageData(0,0,t.width,t.height);default:throw new Error("getImageData")}}function I8(t){return typeof ImageBitmap<"u"&&t instanceof ImageBitmap?"imagebitmap":typeof Image<"u"&&t instanceof Image?"image":t&&typeof t=="object"&&t.data&&t.width&&t.height?"data":null}var L8=/^data:image\/svg\+xml/,B8=/\.svg((\?|#).*)?$/;function vp(t){return t&&(L8.test(t)||B8.test(t))}function Jw(t,e){if(vp(e)){let i=new TextDecoder().decode(t);try{typeof unescape=="function"&&typeof encodeURIComponent=="function"&&(i=unescape(encodeURIComponent(i)))}catch(o){throw new Error(o.message)}return`data:image/svg+xml;base64,${btoa(i)}`}return Cb(t,e)}function Cb(t,e){if(vp(e))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(t)])}async function Tp(t,e,r){let i=Jw(t,r),n=self.URL||self.webkitURL,o=typeof i!="string"&&n.createObjectURL(i);try{return await O8(o||i,e)}finally{o&&n.revokeObjectURL(o)}}async function O8(t,e){let r=new Image;return r.src=t,e.image&&e.image.decode&&r.decode?(await r.decode(),r):await new Promise((i,n)=>{try{r.onload=()=>i(r),r.onerror=o=>{let s=o instanceof Error?o.message:"error";n(new Error(s))}}catch(o){n(o)}})}var Qw=!0;async function eP(t,e,r){let i;vp(r)?i=await Tp(t,e,r):i=Cb(t,r);let n=e&&e.imagebitmap;return await F8(i,n)}async function F8(t,e=null){if((N8(e)||!Qw)&&(e=null),e)try{return await createImageBitmap(t,e)}catch(r){console.warn(r),Qw=!1}return await createImageBitmap(t)}function N8(t){if(!t)return!0;for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function tP(t){return!V8(t,"ftyp",4)||!(t[8]&96)?null:D8(t)}function D8(t){switch(U8(t,8,12).replace("\0"," ").trim()){case"avif":case"avis":return{extension:"avif",mimeType:"image/avif"};default:return null}}function U8(t,e,r){return String.fromCharCode(...t.slice(e,r))}function k8(t){return[...t].map(e=>e.charCodeAt(0))}function V8(t,e,r=0){let i=k8(e);for(let n=0;n<i.length;++n)if(i[n]!==t[n+r])return!1;return!0}var gi=!1,kl=!0;function Fo(t){let e=Vl(t);return H8(e)||W8(e)||j8(e)||G8(e)||z8(e)}function z8(t){let e=new Uint8Array(t instanceof DataView?t.buffer:t),r=tP(e);return r?{mimeType:r.mimeType,width:0,height:0}:null}function H8(t){let e=Vl(t);return e.byteLength>=24&&e.getUint32(0,gi)===2303741511?{mimeType:"image/png",width:e.getUint32(16,gi),height:e.getUint32(20,gi)}:null}function j8(t){let e=Vl(t);return e.byteLength>=10&&e.getUint32(0,gi)===1195984440?{mimeType:"image/gif",width:e.getUint16(6,kl),height:e.getUint16(8,kl)}:null}function G8(t){let e=Vl(t);return e.byteLength>=14&&e.getUint16(0,gi)===16973&&e.getUint32(2,kl)===e.byteLength?{mimeType:"image/bmp",width:e.getUint32(18,kl),height:e.getUint32(22,kl)}:null}function W8(t){let e=Vl(t);if(!(e.byteLength>=3&&e.getUint16(0,gi)===65496&&e.getUint8(2)===255))return null;let{tableMarkers:i,sofMarkers:n}=$8(),o=2;for(;o+9<e.byteLength;){let s=e.getUint16(o,gi);if(n.has(s))return{mimeType:"image/jpeg",height:e.getUint16(o+5,gi),width:e.getUint16(o+7,gi)};if(!i.has(s))return null;o+=2,o+=e.getUint16(o,gi)}return null}function $8(){let t=new Set([65499,65476,65484,65501,65534]);for(let r=65504;r<65520;++r)t.add(r);return{tableMarkers:t,sofMarkers:new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502])}}function Vl(t){if(t instanceof DataView)return t;if(ArrayBuffer.isView(t))return new DataView(t.buffer);if(t instanceof ArrayBuffer)return new DataView(t);throw new Error("toDataView")}async function rP(t,e){let{mimeType:r}=Fo(t)||{},i=globalThis.loaders?.parseImageNode;return ce(i),await i(t,r)}async function iP(t,e,r){e=e||{};let n=(e.image||{}).type||"auto",{url:o}=r||{},s=X8(n),a;switch(s){case"imagebitmap":a=await eP(t,e,o);break;case"image":a=await Tp(t,e,o);break;case"data":a=await rP(t,e);break;default:ce(!1)}return n==="data"&&(a=Ul(a)),a}function X8(t){switch(t){case"auto":case"data":return qw();default:return Kw(t),t}}var Y8=["png","jpg","jpeg","gif","webp","bmp","ico","svg","avif"],K8=["image/png","image/jpeg","image/gif","image/webp","image/avif","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],q8={image:{type:"auto",decode:!0}},Nn={dataType:null,batchType:null,id:"image",module:"images",name:"Images",version:Yw,mimeTypes:K8,extensions:Y8,parse:iP,tests:[t=>Boolean(Fo(new DataView(t)))],options:q8};var Eb={};function wb(t){if(Eb[t]===void 0){let e=Gi?J8(t):Z8(t);Eb[t]=e}return Eb[t]}function Z8(t){let e=["image/png","image/jpeg","image/gif"],r=globalThis.loaders?.imageFormatsNode||e,i=globalThis.loaders?.parseImageNode;return Boolean(i)&&r.includes(t)}function J8(t){switch(t){case"image/avif":case"image/webp":return Q8(t);default:return!0}}function Q8(t){try{return document.createElement("canvas").toDataURL(t).indexOf(`data:${t}`)===0}catch{return!1}}ia();var e5=new Ft({id:"deck"}),F=e5;var Pb={};function Sp(t){Pb=t}function ze(t,e,r,i){F.level>0&&Pb[t]&&Pb[t].call(null,e,r,i)}function t5(t){let e=t[0],r=t[t.length-1];return e==="{"&&r==="}"||e==="["&&r==="]"}var nP={dataType:null,batchType:null,id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:t5,parseTextSync:JSON.parse};function r5(){let t="9.3.0",e=globalThis.deck&&globalThis.deck.VERSION;if(e&&e!==t)throw new Error(`deck.gl - multiple versions detected: ${e} vs ${t}`);return e||(F.log(1,`deck.gl ${t}`)(),globalThis.deck={...globalThis.deck,VERSION:t,version:t,log:F,_registerLoggers:Sp},Dl([nP,[Nn,{imagebitmap:{premultiplyAlpha:"none"}}]])),t}var Cp=r5();function No(t,e){if(!t){let r=new Error(e||"shadertools: assertion failed.");throw Error.captureStackTrace?.(r,No),r}}var Mb={number:{type:"number",validate(t,e){return Number.isFinite(t)&&typeof e=="object"&&(e.max===void 0||t<=e.max)&&(e.min===void 0||t>=e.min)}},array:{type:"array",validate(t,e){return Array.isArray(t)||ArrayBuffer.isView(t)}}};function sP(t){let e={};for(let[r,i]of Object.entries(t))e[r]=i5(i);return e}function i5(t){let e=oP(t);if(e!=="object")return{value:t,...Mb[e],type:e};if(typeof t=="object")return t?t.type!==void 0?{...t,...Mb[t.type],type:t.type}:t.value===void 0?{type:"object",value:t}:(e=oP(t.value),{...t,...Mb[e],type:e}):{type:"object",value:null};throw new Error("props")}function oP(t){return Array.isArray(t)||ArrayBuffer.isView(t)?"array":typeof t}var aP=`#ifdef MODULE_LOGDEPTH
|
|
25
25
|
logdepth_adjustPosition(gl_Position);
|
|
26
26
|
#endif
|
|
27
27
|
`,cP=`#ifdef MODULE_MATERIAL
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A suite of 3D-enabled data visualization overlays, suitable for react-map-gl",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "9.3.0
|
|
6
|
+
"version": "9.3.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"webgl",
|
|
9
9
|
"visualization",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@deck.gl/aggregation-layers": "9.3.0
|
|
43
|
-
"@deck.gl/arcgis": "9.3.0
|
|
44
|
-
"@deck.gl/carto": "9.3.0
|
|
45
|
-
"@deck.gl/core": "9.3.0
|
|
46
|
-
"@deck.gl/extensions": "9.3.0
|
|
47
|
-
"@deck.gl/geo-layers": "9.3.0
|
|
48
|
-
"@deck.gl/google-maps": "9.3.0
|
|
49
|
-
"@deck.gl/json": "9.3.0
|
|
50
|
-
"@deck.gl/layers": "9.3.0
|
|
51
|
-
"@deck.gl/mapbox": "9.3.0
|
|
52
|
-
"@deck.gl/mesh-layers": "9.3.0
|
|
53
|
-
"@deck.gl/react": "9.3.0
|
|
54
|
-
"@deck.gl/widgets": "9.3.0
|
|
42
|
+
"@deck.gl/aggregation-layers": "9.3.0",
|
|
43
|
+
"@deck.gl/arcgis": "9.3.0",
|
|
44
|
+
"@deck.gl/carto": "9.3.0",
|
|
45
|
+
"@deck.gl/core": "9.3.0",
|
|
46
|
+
"@deck.gl/extensions": "9.3.0",
|
|
47
|
+
"@deck.gl/geo-layers": "9.3.0",
|
|
48
|
+
"@deck.gl/google-maps": "9.3.0",
|
|
49
|
+
"@deck.gl/json": "9.3.0",
|
|
50
|
+
"@deck.gl/layers": "9.3.0",
|
|
51
|
+
"@deck.gl/mapbox": "9.3.0",
|
|
52
|
+
"@deck.gl/mesh-layers": "9.3.0",
|
|
53
|
+
"@deck.gl/react": "9.3.0",
|
|
54
|
+
"@deck.gl/widgets": "9.3.0",
|
|
55
55
|
"@loaders.gl/core": "^4.4.1",
|
|
56
56
|
"@luma.gl/core": "^9.3.2",
|
|
57
57
|
"@luma.gl/engine": "^9.3.2"
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"optional": true
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "83c6be432af286138fc78d4d8d67459d9b3b6cff"
|
|
76
76
|
}
|