{"version":3,"sources":["node_modules/@arcgis/core/core/workers/utils.js","node_modules/@arcgis/core/core/workers/connectionRegistry.js","node_modules/@arcgis/core/core/workers/InvokeHandler.js","node_modules/@arcgis/core/core/workers/registry.js","node_modules/@arcgis/core/core/workers/RemoteClient.js","node_modules/@arcgis/core/core/workers/Connection.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport has from \"../has.js\";\nimport { isAbortError as t } from \"../promiseUtils.js\";\nconst r = \"worker:port-closed\";\nvar e;\n!function (t) {\n t[t.HANDSHAKE = 0] = \"HANDSHAKE\", t[t.OPEN = 1] = \"OPEN\", t[t.OPENED = 2] = \"OPENED\", t[t.RESPONSE = 3] = \"RESPONSE\", t[t.INVOKE = 4] = \"INVOKE\", t[t.ABORT = 5] = \"ABORT\", t[t.CLOSE = 6] = \"CLOSE\", t[t.OPEN_PORT = 7] = \"OPEN_PORT\", t[t.ON = 8] = \"ON\";\n}(e || (e = {}));\nlet n = 0;\nfunction s() {\n return n++;\n}\nfunction o(t) {\n return t && \"object\" == typeof t && (\"result\" in t || \"transferList\" in t);\n}\nfunction i(t) {\n return t ? \"string\" == typeof t ? JSON.stringify({\n name: \"message\",\n message: t\n }) : t.toJSON ? JSON.stringify(t) : JSON.stringify({\n name: t.name,\n message: t.message,\n details: t.details || {\n stack: t.stack\n }\n }) : null;\n}\nfunction a(t, r, n, s) {\n if (r.type === e.OPEN_PORT) return void t.postMessage(r, [r.port]);\n if (r.type !== e.INVOKE && r.type !== e.RESPONSE) return void t.postMessage(r);\n let f;\n if (o(n) ? (f = u(n.transferList), r.data = n.result) : (f = u(s), r.data = n), f) {\n if (has(\"ff\")) for (const n of f) if (\"byteLength\" in n && n.byteLength > 267386880) {\n const n = \"Worker call with large ArrayBuffer would crash Firefox\";\n switch (r.type) {\n case e.INVOKE:\n throw n;\n case e.RESPONSE:\n return void a(t, {\n type: e.RESPONSE,\n jobId: r.jobId,\n error: i(n)\n });\n }\n }\n t.postMessage(r, f);\n } else t.postMessage(r);\n}\nfunction f(t) {\n if (!t) return null;\n const r = t.data;\n return r ? \"string\" == typeof r ? JSON.parse(r) : r : null;\n}\nfunction u(t) {\n if (!t?.length) return null;\n if (has(\"esri-workers-arraybuffer-transfer\")) return t;\n const r = t.filter(t => !c(t));\n return r.length ? r : null;\n}\nfunction c(t) {\n return t instanceof ArrayBuffer || \"ArrayBuffer\" === t?.constructor?.name;\n}\nasync function O(e) {\n try {\n return await e;\n } catch (n) {\n const e = n?.name === r;\n if (!(t(n) || e)) throw n;\n return;\n }\n}\nexport { e as MessageType, O as ignoreConnectionErrors, o as isTransferrableResult, s as newJobId, r as portClosedErrorName, a as postMessage, f as receiveMessage, i as toInvokeError };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst n = new FinalizationRegistry(n => {\n n.close();\n});\nfunction e(e, i) {\n n.register(e, i, i);\n}\nfunction i(e) {\n n.unregister(e);\n}\nexport { e as register, i as unregister };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nfunction t(t, r) {\n return new Proxy({}, {\n get: (e, i, s) => (...e) => {\n let s, o;\n const a = e[e.length - 1];\n n(a) && (s = a.signal, o = a.transferList, e.pop());\n return t.apply(r ? `${r}.${i.toString()}` : i.toString(), e, {\n transferList: o,\n signal: s\n });\n }\n });\n}\nfunction n(t) {\n return \"object\" == typeof t && !Array.isArray(t) && null != t && (\"signal\" in t || \"transferList\" in t || 0 === Object.keys(t).length);\n}\nexport { t as createInvokeProxy };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst e = {\n statsWorker: () => import(\"../../smartMapping/statistics/support/statsWorker.js\"),\n geometryEngineWorker: () => import(\"../../geometry/geometryEngineWorker.js\"),\n CSVSourceWorker: () => import(\"../../layers/graphics/sources/support/CSVSourceWorker.js\"),\n EdgeProcessingWorker: () => import(\"../../views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker.js\"),\n ElevationSamplerWorker: () => import(\"../../geometry/support/meshUtils/ElevationSamplerWorker.js\"),\n FeatureServiceSnappingSourceWorker: () => import(\"../../views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js\"),\n GeoJSONSourceWorker: () => import(\"../../layers/graphics/sources/geojson/GeoJSONSourceWorker.js\"),\n LercWorker: () => import(\"../../layers/support/LercWorker.js\"),\n MemorySourceWorker: () => import(\"../../layers/graphics/sources/support/MemorySourceWorker.js\"),\n PBFDecoderWorker: () => import(\"../../views/3d/support/PBFDecoderWorker.js\"),\n FeaturePipelineWorker: () => import(\"../../views/2d/layers/features/FeaturePipelineWorker.js\"),\n PointCloudWorker: () => import(\"../../views/3d/layers/PointCloudWorker.js\"),\n RasterWorker: () => import(\"../../layers/support/RasterWorker.js\"),\n SceneLayerSnappingSourceWorker: () => import(\"../../views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js\"),\n SceneLayerWorker: () => import(\"../../views/3d/layers/SceneLayerWorker.js\"),\n WFSSourceWorker: () => import(\"../../layers/graphics/sources/WFSSourceWorker.js\"),\n WorkerTileHandler: () => import(\"../../views/2d/engine/vectorTiles/WorkerTileHandler.js\"),\n Lyr3DWorker: () => import(\"../../views/3d/layers/Lyr3DWorker.js\"),\n Feature3DPipelineWorker: () => import(\"../../views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js\")\n};\nexport { e as registry };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { fullVersion as e } from \"../../kernel.js\";\nimport s from \"../Error.js\";\nimport { on as t } from \"../events.js\";\nimport { makeHandle as o } from \"../handleUtils.js\";\nimport { removeMaybe as n } from \"../maybe.js\";\nimport { isAborted as r, createAbortError as i, onAbort as l, isPromiseLike as a, isAbortError as h } from \"../promiseUtils.js\";\nimport { createInvokeProxy as c } from \"./InvokeHandler.js\";\nimport { registry as p } from \"./registry.js\";\nimport { portClosedErrorName as _, newJobId as u, MessageType as d, receiveMessage as b, toInvokeError as m, postMessage as g } from \"./utils.js\";\nimport { buildDate as f, commitHash as v } from \"../../support/revision.js\";\nconst {\n CLOSE: M,\n ABORT: k,\n INVOKE: j,\n RESPONSE: y,\n OPEN_PORT: I,\n ON: J\n } = d,\n w = 2;\nclass O {\n constructor(e) {\n this._invoke = e, this._timer = null, this._cancelledJobIds = new Set(), this._invokeMessages = [], this._timer = null, this._process = this._process.bind(this);\n }\n push(e) {\n e.type === d.ABORT ? this._cancelledJobIds.add(e.jobId) : (this._invokeMessages.push(e), null === this._timer && (this._timer = setTimeout(this._process, 0)));\n }\n clear() {\n this._invokeMessages.length = 0, this._cancelledJobIds.clear(), this._timer = null;\n }\n _process() {\n this._timer = null;\n for (const e of this._invokeMessages) this._cancelledJobIds.has(e.jobId) || this._invoke(e);\n this._cancelledJobIds.clear(), this._invokeMessages.length = 0;\n }\n}\nclass E {\n static connect(e, s) {\n const t = new MessageChannel();\n let o;\n o = \"function\" == typeof e ? new e() : \"default\" in e && \"function\" == typeof e.default ? new e.default() : e;\n const n = new E(t.port1, {\n channel: t,\n client: o,\n schedule: s\n });\n return \"object\" == typeof o && \"remoteClient\" in o && (o.remoteClient = n), E.clients.set(n, o), t.port2;\n }\n static loadWorker(e) {\n const s = p[e];\n return s ? s() : Promise.resolve(null);\n }\n constructor(e, s, t) {\n this._port = e, this._jobQueue = t, this._outJobs = new Map(), this._inJobs = new Map(), this._invokeQueue = new O(e => this._onInvokeMessage(e)), this._client = s.client, this._onMessage = this._onMessage.bind(this), this._channel = s.channel, this._schedule = s.schedule, this._port.addEventListener(\"message\", this._onMessage), this._port.start();\n }\n close() {\n this._post({\n type: M\n }), this._close();\n }\n isBusy() {\n return this._outJobs.size > 0;\n }\n invoke(e, s, t) {\n return this.apply(e, [s], t);\n }\n apply(e, t, o) {\n const a = o?.signal,\n h = o?.transferList;\n if (!this._port) return Promise.reject(new s(_, `Cannot call invoke('${e}'), port is closed`, {\n methodName: e,\n data: t\n }));\n const c = u();\n return new Promise((s, o) => {\n if (r(a)) return this._processWork(), void o(i());\n const p = l(a, () => {\n const e = this._outJobs.get(c);\n e && (this._outJobs.delete(c), this._processWork(), n(e.abortHandle), this._post({\n type: k,\n jobId: c\n }), o(i()));\n }),\n _ = {\n resolve: s,\n reject: o,\n abortHandle: p,\n debugInfo: e\n };\n this._outJobs.set(c, _), this._post({\n type: j,\n jobId: c,\n methodName: e,\n abortable: null != a\n }, t, h);\n });\n }\n createInvokeProxy(e) {\n return c(this, e);\n }\n on(e, s) {\n const t = new MessageChannel();\n function n(e) {\n s(e.data);\n }\n return this._port.postMessage({\n type: d.ON,\n eventType: e,\n port: t.port2\n }, [t.port2]), t.port1.addEventListener(\"message\", n), t.port1.start(), o(() => {\n t.port1.postMessage({\n type: d.CLOSE\n }), t.port1.close(), t.port1.removeEventListener(\"message\", n);\n });\n }\n jobAdded() {\n this._processWork();\n }\n openPort() {\n const e = new MessageChannel();\n return this._post({\n type: I,\n port: e.port2\n }), e.port1;\n }\n _processWork() {\n if (this._outJobs.size >= w) return;\n const e = this._jobQueue?.pop();\n if (!e) return;\n const {\n methodName: s,\n data: t,\n invokeOptions: o,\n resolver: n\n } = e;\n this.apply(s, t, o).then(e => n.resolve(e)).catch(e => n.reject(e));\n }\n _close() {\n this._channel && (this._channel = void 0), this._port.removeEventListener(\"message\", this._onMessage), this._port.close(), this._outJobs.forEach(e => {\n n(e.abortHandle), e.reject(i(`Worker closing, aborting job calling '${e.debugInfo}'`));\n }), this._inJobs.clear(), this._outJobs.clear(), this._invokeQueue.clear(), this._port = null, this._client = null, this._schedule = null;\n }\n _onMessage(e) {\n null != this._schedule ? this._schedule(() => this._processMessage(e, !0)) : this._processMessage(e, !1);\n }\n _processMessage(e, s) {\n const t = b(e);\n if (t) switch (t.type) {\n case y:\n this._onResponseMessage(t);\n break;\n case j:\n s ? this._onInvokeMessage(t) : this._invokeQueue.push(t);\n break;\n case k:\n this._onAbortMessage(t);\n break;\n case M:\n this._onCloseMessage();\n break;\n case I:\n this._onOpenPortMessage(t);\n break;\n case J:\n this._onOnMessage(t);\n }\n }\n _onAbortMessage(e) {\n const s = this._inJobs,\n t = e.jobId,\n o = s.get(t);\n this._invokeQueue.push(e), o && (o.controller && o.controller.abort(), s.delete(t));\n }\n _onCloseMessage() {\n const e = this._client;\n this._close(), e && \"destroy\" in e && E.clients.get(this) === e && e.destroy(), E.clients.delete(this), e?.remoteClient && (e.remoteClient = null);\n }\n _onInvokeMessage(e) {\n const {\n methodName: s,\n jobId: t,\n data: o = [],\n abortable: n\n } = e,\n r = n ? new AbortController() : null,\n i = this._inJobs;\n let l,\n c = this._client,\n p = c[s];\n try {\n if (!p && s && s.includes(\".\")) {\n const e = s.split(\".\");\n for (let s = 0; s < e.length - 1; s++) c = c[e[s]], p = c[e[s + 1]];\n }\n if (\"function\" != typeof p) throw new TypeError(`${s} is not a function`);\n o.push({\n client: this,\n signal: r ? r.signal : null\n }), l = p.apply(c, o);\n } catch (_) {\n return void this._post({\n type: y,\n jobId: t,\n error: m(_)\n });\n }\n a(l) ? (i.set(t, {\n controller: r,\n promise: l\n }), l.then(e => {\n i.has(t) && (i.delete(t), this._post({\n type: y,\n jobId: t\n }, e));\n }, e => {\n i.has(t) && (i.delete(t), h(e) || this._post({\n type: y,\n jobId: t,\n error: m(e || {\n message: `Error encountered at method ${s}`\n })\n }));\n })) : this._post({\n type: y,\n jobId: t\n }, l);\n }\n _onOpenPortMessage(e) {\n new E(e.port, {\n client: this._client\n });\n }\n _onOnMessage(e) {\n const {\n port: s\n } = e,\n o = this._client.on(e.eventType, e => {\n s.postMessage(e);\n }),\n n = t(e.port, \"message\", e => {\n const t = b(e);\n t?.type === d.CLOSE && (n.remove(), o.remove(), s.close());\n });\n }\n _onResponseMessage(e) {\n const {\n jobId: t,\n error: o,\n data: r\n } = e,\n i = this._outJobs;\n if (!i.has(t)) return;\n const l = i.get(t);\n i.delete(t), this._processWork(), n(l.abortHandle), o ? l.reject(s.fromJSON(JSON.parse(o))) : l.resolve(r);\n }\n _post(e, s, t) {\n return g(this._port, e, s, t);\n }\n}\nE.kernelInfo = {\n buildDate: f,\n fullVersion: e,\n revision: v\n}, E.clients = new Map();\nexport { E as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { handlesGroup as e } from \"../handleUtils.js\";\nimport \"../has.js\";\nimport { isPromiseLike as t, createAbortError as s, createResolver as i, throwIfAborted as n } from \"../promiseUtils.js\";\nimport o from \"../Queue.js\";\nimport { unregister as r } from \"./connectionRegistry.js\";\nimport { createInvokeProxy as l } from \"./InvokeHandler.js\";\nimport h from \"./RemoteClient.js\";\nclass c {\n constructor() {\n this._inUseClients = new Array(), this._clients = new Array(), this._clientPromises = new Array(), this._ongoingJobsQueue = new o();\n }\n destroy() {\n this.close();\n }\n get closed() {\n return !this._clients?.length;\n }\n open(e, s) {\n return new Promise((i, o) => {\n let r = !0;\n const l = e => {\n n(s.signal), r && (r = !1, e());\n };\n this._clients.length = e.length, this._clientPromises.length = e.length, this._inUseClients.length = e.length;\n for (let n = 0; n < e.length; ++n) {\n const r = e[n];\n t(r) ? this._clientPromises[n] = r.then(e => (this._clients[n] = new h(e, s, this._ongoingJobsQueue), l(i), this._clients[n]), () => (l(o), null)) : (this._clients[n] = new h(r, s, this._ongoingJobsQueue), this._clientPromises[n] = Promise.resolve(this._clients[n]), l(i));\n }\n });\n }\n broadcast(e, t, s) {\n const i = new Array(this._clientPromises.length);\n for (let n = 0; n < this._clientPromises.length; ++n) {\n const o = this._clientPromises[n];\n i[n] = o.then(i => i?.invoke(e, t, s));\n }\n return i;\n }\n close() {\n let e;\n for (; e = this._ongoingJobsQueue.pop();) e.resolver.reject(s(`Worker closing, aborting job calling '${e.methodName}'`));\n for (const t of this._clientPromises) t.then(e => e?.close());\n this._clients.length = 0, this._clientPromises.length = 0, this._inUseClients.length = 0, r(this);\n }\n invoke(e, t, s) {\n return this.apply(e, [t], s);\n }\n apply(e, t, s) {\n const n = i();\n this._ongoingJobsQueue.push({\n methodName: e,\n data: t,\n invokeOptions: s,\n resolver: n\n });\n for (let i = 0; i < this._clientPromises.length; i++) {\n const e = this._clients[i];\n e ? e.jobAdded() : this._clientPromises[i].then(e => e?.jobAdded());\n }\n return n.promise;\n }\n createInvokeProxy(e) {\n return l(this, e);\n }\n on(t, s) {\n return Promise.all(this._clientPromises).then(() => e(this._clients.map(e => e.on(t, s))));\n }\n openPorts() {\n return new Promise(e => {\n const t = new Array(this._clientPromises.length);\n let s = t.length;\n for (let i = 0; i < this._clientPromises.length; ++i) {\n this._clientPromises[i].then(n => {\n n && (t[i] = n.openPort()), 0 == --s && e(t);\n });\n }\n });\n }\n get test() {}\n}\nexport { c as default };"],"mappings":"gWAMA,IAAMA,EAAI,qBACNC,GACH,SAAU,EAAG,CACZ,EAAE,EAAE,UAAY,CAAC,EAAI,YAAa,EAAE,EAAE,KAAO,CAAC,EAAI,OAAQ,EAAE,EAAE,OAAS,CAAC,EAAI,SAAU,EAAE,EAAE,SAAW,CAAC,EAAI,WAAY,EAAE,EAAE,OAAS,CAAC,EAAI,SAAU,EAAE,EAAE,MAAQ,CAAC,EAAI,QAAS,EAAE,EAAE,MAAQ,CAAC,EAAI,QAAS,EAAE,EAAE,UAAY,CAAC,EAAI,YAAa,EAAE,EAAE,GAAK,CAAC,EAAI,IACxP,GAAEA,IAAMA,EAAI,CAAC,EAAE,EACf,IAAIC,EAAI,EACR,SAASC,GAAI,CACX,OAAOD,GACT,CACA,SAASE,EAAE,EAAG,CACZ,OAAO,GAAiB,OAAO,GAAnB,WAAyB,WAAY,GAAK,iBAAkB,EAC1E,CACA,SAASC,EAAE,EAA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AkB,EAAG,CACnB,OAAOG,EAAE,KAAM,CAAC,CAClB,CACA,GAAGA,EAAGT,EAAG,CACP,OAAO,QAAQ,IAAI,KAAK,eAAe,EAAE,KAAK,IAAMS,EAAE,KAAK,SAAS,IAAIJ,GAAKA,EAAE,GAAGI,EAAGT,CAAC,CAAC,CAAC,CAAC,CAC3F,CACA,WAAY,CACV,OAAO,IAAI,QAAQ,GAAK,CACtB,IAAMS,EAAI,IAAI,MAAM,KAAK,gBAAgB,MAAM,EAC3C,EAAIA,EAAE,OACV,QAASR,EAAI,EAAGA,EAAI,KAAK,gBAAgB,OAAQ,EAAEA,EACjD,KAAK,gBAAgBA,CAAC,EAAE,KAAK,GAAK,CAChC,IAAMQ,EAAER,CAAC,EAAI,EAAE,SAAS,GAAS,EAAE,GAAP,GAAY,EAAEQ,CAAC,CAC7C,CAAC,CAEL,CAAC,CACH,CACA,IAAI,MAAO,CAAC,CACd","names":["r","e","n","s","o","i","a","f","u","has","t","c","O","__async","n","e","i","t","r","e","i","s","o","a","n","e","M","k","j","y","I","J","e","w","O","E","_E","s","t","o","a","h","r","c","u","m","l","_","n","f","i","p","S","c","s","i","o","r","l","e","n","S","E","t","u"],"x_google_ignoreList":[0,1,2,3,4,5]}