@arcgis/core 5.0.0-next.37 → 5.0.0-next.38

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.
Files changed (52) hide show
  1. package/applications/Components/testUtils.d.ts +4 -0
  2. package/applications/Components/testUtils.js +5 -0
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/2795e491f803654413d2.js +1 -0
  5. package/assets/esri/core/workers/chunks/2f9129003f77bfeab2f9.js +1 -0
  6. package/assets/esri/core/workers/chunks/50ffb22c48fadd36c748.js +1 -0
  7. package/assets/esri/core/workers/chunks/{ce8fc1ca229d53a4b68d.js → 7ab237d19b84d89ff483.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{52c8687b473c9953c2f2.js → d9958654c6438f28237b.js} +1 -1
  9. package/chunks/GaussianSplat.glsl.js +2 -2
  10. package/config.js +1 -1
  11. package/geometry/support/buffer/BufferView.js +1 -1
  12. package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
  13. package/interfaces.d.ts +24 -0
  14. package/kernel.js +1 -1
  15. package/package.json +1 -1
  16. package/support/revision.js +1 -1
  17. package/support/tests/meshUtils.js +5 -0
  18. package/support/tests/serviceMockDependencies.js +5 -0
  19. package/support/tests/setupServiceMocksMesh.js +5 -0
  20. package/views/3d/analysis/Dimension/DimensionTool.js +1 -1
  21. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  22. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  23. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  24. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  25. package/views/3d/layers/FlowSubView3D.js +1 -1
  26. package/views/3d/layers/PointCloudWorker.js +1 -1
  27. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  28. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  29. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  30. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  31. package/views/3d/terrain/TerrainSurface.js +1 -1
  32. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +4 -4
  33. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +1 -1
  34. package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatUnpacking.glsl.js +8 -8
  35. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  36. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  37. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
  38. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +5 -0
  39. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
  40. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferLayout.js +1 -1
  41. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferLayoutField.js +5 -0
  42. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBufferView.js +5 -0
  43. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  44. package/views/BreakpointsOwner.js +1 -1
  45. package/views/ToolViewManager.js +1 -1
  46. package/views/interactive/InteractiveToolBase.js +1 -1
  47. package/views/interactive/ToolViewManagerManipulatorState.js +1 -1
  48. package/widgets/Slider.js +1 -1
  49. package/assets/esri/core/workers/chunks/951a3442d4342539f2ea.js +0 -1
  50. package/assets/esri/core/workers/chunks/c5967133f3ba34a883f8.js +0 -1
  51. package/assets/esri/core/workers/chunks/e0a74250d22fa1d7dc18.js +0 -1
  52. package/views/3d/webgl-engine/core/shaderLibrary/util/FastApproximateTrigonometry.glsl.js +0 -26
@@ -0,0 +1,4 @@
1
+ import "../../interfaces";
2
+
3
+ export const getServiceMockDependencies: __esri.testUtils["getServiceMockDependencies"];
4
+ export const waitUpdated: __esri.testUtils["waitUpdated"];
@@ -0,0 +1,5 @@
1
+ /*
2
+ All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
+ */
5
+ import e from"../../views/support/waitForResources.js";async function t(t){await e(t);const n="3d"===t.type?t.resourceController?.scheduler?.test?.getRunning()??null:null;if(null!=n)throw new Error(`View is not updating, but scheduler is running tasks:${n} at ${(new Error).stack}`)}async function n(){const{getServiceMockDependencies:e}=await import("../../support/tests/serviceMockDependencies.js");return e()}export{n as getServiceMockDependencies,t as waitUpdated};
@@ -1 +1 @@
1
- var RemoteClient;(()=>{var e={799:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>i,HC:()=>a,Wm:()=>c,_e:()=>f});var n=r(93637);const o=/\{([^}]+)\}/g;function s(e){return e??""}function a(e,t){return t?e.replaceAll(o,"object"==typeof t?(e,r)=>s((0,n.wc)(r,t)):(e,r)=>s(t(r))):e}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}let l;function f(e){return l??=new DOMParser,l.parseFromString(e||"","text/html").body.innerText||""}},2131:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},4576:(e,t,r)=>{"use strict";r.d(t,{Am:()=>a,Ho:()=>d,Ji:()=>s,MJ:()=>i,Mo:()=>w,Ru:()=>O,TF:()=>k,VO:()=>l,Xj:()=>u,Xy:()=>m,aI:()=>c,iv:()=>f,k4:()=>_,mW:()=>y,qh:()=>p,vW:()=>b});var n=r(21818),o=r(87811);const s=1.5;function a(e,t){return t?e.filter((e,r,n)=>n.findIndex(t.bind(null,e))===r):Array.from(new Set(e))}function i(e,t,r,n,o,s,a){if(null==e&&null==n)return!0;t=Math.max(0,t),o=Math.max(0,o),r=Math.max(0,r<0?(e?.length??0)+r:r),s=Math.max(0,s<0?(n?.length??0)+s:s);const i=r-t;if(null==e||null==n||i!==s-o)return!1;if(a){for(let r=0;r<i;r++)if(!a(e[t+r],n[o+r]))return!1}else for(let r=0;r<i;r++)if(e[t+r]!==n[o+r])return!1;return!0}function c(e,t,r){return i(e,0,e?.length??0,t,0,t?.length??0,r)}function l(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function f(e,t,r){let n,o;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),o=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),o=e.filter(e=>!t.includes(e))),{added:n,removed:o}}function u(e){return e&&"number"==typeof e.length}function d(e,t){const r=e.length;if(0===r)return[];const n=[];for(let o=0;o<r;o+=t)n.push(e.slice(o,o+t));return n}class b{constructor(){this.last=0}}const h=new b;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function m(e,t,r,o){const s=r??e.length,a=p(e,(0,n.zI)(t),s,o);if(-1!==a)return e[a]=e[s-1],null==r&&e.pop(),t}const g=new Set;function y(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const a=Math.max(0,o.last-10);for(let t=a;t<r;++t)if(g.has(e[t])&&(s?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<a;++t)if(g.has(e[t])&&(s?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function w(e){return e?(v.seed=e,()=>v.getFloat()):Math.random}const v=new o.A;function _(e,t){if(!e)return e;const r=w(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),o=e[t];e[t]=e[n],e[n]=o}return e}function k(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function O(e,t){return null!=e}},4718:(e,t,r)=>{"use strict";r.d(t,{Nb:()=>c,TU:()=>i,aI:()=>b,gh:()=>h,o8:()=>a,oy:()=>s});var n=r(4576),o=r(34275);function s(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&s(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function a(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=d(e);if(null!=t)return t;if(c(e))return e.clone();if(l(e))return e.map(a);if(f(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=a(e[t]);return r}function i(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=d(e);if(null!=r)return r;if(l(e)){let r=!0;const n=e.map(e=>{const n=i(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(c(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(f(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],o=i(r);if(null!=r&&null==o)return null;n[t]=o}return n}function c(e){return"function"==typeof e.clone}function l(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function u(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){if((0,o.dz)(e)||(0,o.mg)(e)||(0,o.UR)(e)||(0,o.IY)(e)||(0,o.jq)(e)||(0,o._G)(e)||(0,o.XJ)(e)||(0,o.vZ)(e)||(0,o.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,a(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(a(r));return t}return null}function b(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof e?.getTime&&"function"==typeof t?.getTime&&e.getTime()===t.getTime()||!1}function h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!u(e)&&u(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},8341:(e,t,r)=>{"use strict";r.d(t,{Go:()=>a,Jc:()=>c,T:()=>s,VI:()=>u,mF:()=>l,oV:()=>b,u1:()=>f});var n=r(44208),o=r(74887);const s="worker:port-closed",a={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let i=0;function c(){return i++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function f(e,t,r,n){if(t.type===a.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==a.INVOKE&&t.type!==a.RESPONSE)return void e.postMessage(t);let o;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(o=d(n),t.data=r):(o=d(r.transferList),t.data=r.result),o?e.postMessage(t,o):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===s;if(!(0,o.zf)(e)&&!t)throw e;return}}},12195:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},18357:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,u:()=>o});const n="20251111",o="6e272f8cc2ec8e17b6f0493ffc24c2052f1d1b00"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){}function s(e){return e}r.d(t,{Ur:()=>o,Xb:()=>n,zI:()=>s}),r(44208)},26306:(e,t,r)=>{"use strict";function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function o(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>o})},34275:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return"Int8Array"===e?.constructor?.name}function s(e){return"Uint8Array"===e?.constructor?.name}function a(e){return"Uint8ClampedArray"===e?.constructor?.name}function i(e){return"Int16Array"===e?.constructor?.name}function c(e){return"Uint16Array"===e?.constructor?.name}function l(e){return"Int32Array"===e?.constructor?.name}function f(e){return"Uint32Array"===e?.constructor?.name}function u(e){return"Float16Array"===e?.constructor?.name}function d(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>i,JI:()=>m,LW:()=>u,PI:()=>w,UR:()=>a,XJ:()=>f,_G:()=>l,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>o,h2:()=>v,iu:()=>h,jq:()=>c,mg:()=>s,mw:()=>n,vZ:()=>d,y9:()=>p}),r(44208);const p=1024;function m(e){return b(e)||d(e)||l(e)||i(e)||o(e)}function g(e){return b(e)||d(e)}function y(e){return b(e)?179769e303:u(e)?65504:d(e)?3402823e32:f(e)?4294967295:c(e)?65535:s(e)||a(e)?255:l(e)?2147483647:i(e)?32767:o(e)?127:256}const w=-32768,v=-2147483648},36563:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>i,hA:()=>o,rE:()=>a,vE:()=>s});const n={remove:()=>{}};function o(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function s(e){return o(()=>function(e){e.forEach(e=>e?.remove())}(e))}function a(e){return o(()=>e?.abort())}function i(e){return{[Symbol.dispose](){e.remove()}}}},37955:(e,t,r)=>{"use strict";r.d(t,{Oo:()=>i,on:()=>a,wb:()=>o});var n=r(36563);function o(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||s(e)}function s(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function a(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");return s(e)?function(e,t,r,o){if(Array.isArray(t)){const s=t.slice();for(const t of s)e.addEventListener(t,r,o);return(0,n.hA)(()=>{for(const t of s)e.removeEventListener(t,r,o)})}return e.addEventListener(t,r,o),(0,n.hA)(()=>e.removeEventListener(t,r,o))}(e,t,r):e.on(t,r)}function i(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=a(e,t,t=>{n.remove(),r.call(e,t)});return n}},39131:(e,t,r)=>{"use strict";r.d(t,{$E:()=>a,py:()=>s,qG:()=>i});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,o={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function s(e){const t=e?.match(n);if(!t)return null;const[,r,s,a]=t;if(!r)return null;let i=null,c=null,l=null;const{devext:f,qaext:u,www:d}=o;if(s)if(i=r,a)switch(a.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qa":({customBaseUrl:c,portalHostname:l}=u);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qaext":({customBaseUrl:c,portalHostname:l}=u);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:i}}function a(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function i(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},44208:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const n=globalThis,o={...n.esriConfig?.has};function s(e){return"function"==typeof o[e]?o[e]=o[e](n):o[e]}s.add=(e,t,r,n)=>{(n||void 0===o[e])&&(o[e]=t),r&&s(e)},s.cache=o,s.add("big-integer-warning-enabled",!0),s.add("esri-deprecation-warnings",!0),s.add("esri-tests-disable-screenshots",!1),s.add("esri-tests-use-full-window",!1),s.add("esri-tests-post-to-influx",!0),s.add("esri-cim-animations-enable-status","enabled"),s.add("esri-cim-animations-spotlight",!1),s.add("esri-cim-animations-freeze-time",!1),(()=>{s.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(s.add("host-browser",e),s.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),s.add("dom",e),s("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(s.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),s.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),s.add("khtml",r.includes("Konqueror")?n:void 0),s.add("edge",parseFloat(t.split("Edge/")[1])||void 0),s.add("opr",parseFloat(t.split("OPR/")[1])||void 0),s.add("webkit",!s("wp")&&!s("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),s.add("chrome",!s("edge")&&!s("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),s.add("android",!s("wp")&&parseFloat(t.split("Android ")[1])||void 0),s.add("safari",!r.includes("Safari")||s("wp")||s("chrome")||s("android")||s("edge")||s("opr")?void 0:parseFloat(r.split("Version/")[1])),s.add("mac",r.includes("Macintosh")),!s("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));s.add(e,n),s.add("ios",n)}s("webkit")||(!t.includes("Gecko")||s("wp")||s("khtml")||s("edge")||s.add("mozilla",n),s("mozilla")&&s.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&s.add("esri-mobile",t),r&&s.add("esri-iPhone",r),s.add("esri-geolocation",!!navigator.geolocation)}s.add("esri-wasm","WebAssembly"in n),s.add("esri-performance-mode-frames-between-render",20),s.add("esri-force-performance-mode",!1),s.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),s.add("wasm-simd",()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]))),s.add("esri-atomics","Atomics"in n),s.add("esri-workers","Worker"in n),s.add("web-feat:cache","caches"in n),s.add("esri-workers-arraybuffer-transfer",!s("safari")||Number(s("safari"))>=12),s.add("workers-pool-size",8),s.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),s.add("featurelayer-simplify-payload-size-factors",[1,1,4]),s.add("featurelayer-fast-triangulation-enabled",!0),s.add("featurelayer-animation-enabled",!0),s.add("featurelayer-snapshot-enabled",!0),s.add("featurelayer-snapshot-initial-tolerance",0),s.add("featurelayer-snapshot-point-min-threshold",8e4),s.add("featurelayer-snapshot-point-max-threshold",4e5),s.add("featurelayer-snapshot-multipoint-min-threshold",2e4),s.add("featurelayer-snapshot-multipoint-max-threshold",1e5),s.add("featurelayer-snapshot-polygon-min-threshold",2e3),s.add("featurelayer-snapshot-polygon-max-threshold",2e3),s.add("featurelayer-snapshot-polyline-min-threshold",2e3),s.add("featurelayer-snapshot-polyline-max-threshold",2e3),s.add("featurelayer-snapshot-max-vertex-count",25e4),s.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),s.add("featurelayer-snapshot-concurrency",4),s.add("featurelayer-snapshot-coverage",.1),s.add("featurelayer-query-max-depth",4),s.add("featurelayer-query-pausing-enabled",!1),s.add("featurelayer-query-tile-concurrency",4),s.add("featurelayer-query-tile-max-features",6e5),s.add("featurelayer-advanced-symbols",!1),s.add("featurelayer-pbf",!0),s.add("featurelayer-pbf-statistics",!1),s.add("feature-layers-workers",!0),s.add("feature-polyline-generalization-factor",1),s.add("parquetlayer-full-query-feature-count",2e4),s.add("parquetlayer-hittest-max-feature-count",1),s.add("mapview-transitions-duration",200),s.add("mapview-essential-goto-duration",200),s.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),s.add("mapserver-pbf-version-support",10.81),s.add("mapservice-popup-identify-max-tolerance",20),s.add("request-queue-concurrency-global",50),s.add("request-queue-concurrency-hosted",16),s.add("request-queue-concurrency-non-hosted",4),s.add("curve-densification-coarse-segments",128),s.add("curve-densification-max-segments",2e3),s.add("curve-densification-min-segments",3),s.add("curve-densification-pixel-deviation",.5),s.add("view-readyState-waiting-delay",1e3),s.add("gradient-depth-bias",.01),s.add("gradient-depth-epsilon",1e-8),s.add("enable-feature:esri-compress-textures",!0),s.add("enable-feature:basemap-groundlayers",!0),s.add("enable-feature:oit-ground",!1),!s("host-webworker")&&s("host-browser")&&(s.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),s.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},49186:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(4718),o=r(53966),s=r(79907);class a extends s.A{constructor(e,t,r){super(e,t,r)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw o.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new a(e.name,e.message,e.details)}}a.prototype.type="error"},52268:(e,t,r)=>{"use strict";function n(e,t){return new Proxy({},{get:(r,n,o)=>(...r)=>{let o,s;const a=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(a)&&(o=a.signal,s=a.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:s,signal:o})}})}r.d(t,{L:()=>n})},53966:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(92602),o=(r(44208),r(799));const s={info:0,warn:1,error:2,none:3};class a{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,a._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=a.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,a._loggers.get(e)||new a({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),s=this._loggedMessages[e].get(n);if("once"===t&&null!=s||"oncePerTick"===t&&s&&s>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return s[this._parentWithMember("level",t)]<=s[e]}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then(()=>{a._tickCounter++,a._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${t}]`,...r)}},61322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(70333),o=r(49186),s=r(37955),a=r(36563),i=r(97768),c=r(74887),l=r(52268);const f={CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1185)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(8243)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8487),r.e(5845)]).then(r.bind(r,38419)),Feature3DPipelineWorker:()=>Promise.all([r.e(7603),r.e(2869),r.e(3910),r.e(5323),r.e(8303),r.e(4903),r.e(1214),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7005),r.e(655),r.e(387),r.e(4633),r.e(89)]).then(r.bind(r,64183)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7421),r.e(3443),r.e(449)]).then(r.bind(r,24734)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(6787)]).then(r.bind(r,12543)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(7421),r.e(8720)]).then(r.bind(r,68716)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(2603),r.e(7005),r.e(5967)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(9911)]).then(r.bind(r,5561)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(2603),r.e(387),r.e(431),r.e(784)]).then(r.bind(r,70491)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009))};var u=r(8341),d=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=u.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:d.$,fullVersion:n.ol,revision:d.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const o=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=o),v.clients.set(o,n),r.port2}static loadWorker(e){const t=f[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,s=r?.transferList;if(!this._port)return Promise.reject(new o.A(u.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const a=(0,u.Jc)();return new Promise((r,o)=>{if((0,c.G4)(n))return this._processWork(),void o((0,c.NK)());const l=(0,c.u7)(n,()=>{const e=this._outJobs.get(a);e&&(this._outJobs.delete(a),this._processWork(),(0,i.xt)(e.abortHandle),this._post({type:h,jobId:a}),o((0,c.NK)()))}),f={resolve:r,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(a,f),this._post({type:p,jobId:a,methodName:e,abortable:null!=n},t,s)})}createInvokeProxy(e){return(0,l.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,a.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:o}=e;this.apply(t,r,n).then(e=>o.resolve(e)).catch(e=>o.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,i.xt)(e.abortHandle),e.reject((0,c.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,u.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:o}=e,s=o?new AbortController:null,a=this._inJobs;let i,l=this._client,f=l[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)l=l[e[t]],f=l[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:s?s.signal:null}),i=f.apply(l,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,u.mF)(e)})}(0,c.$X)(i)?(a.set(r,{controller:s,promise:i}),i.then(e=>{a.has(r)&&(a.delete(r),this._post({type:m,jobId:r},e))},e=>{a.has(r)&&(a.delete(r),(0,c.zf)(e)||this._post({type:m,jobId:r,error:(0,u.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},i)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,s.on)(e.port,"message",e=>{const o=(0,u.VI)(e);o?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,s=this._outJobs;if(!s.has(t))return;const a=s.get(t);s.delete(t),this._processWork(),(0,i.xt)(a.abortHandle),r?a.reject(o.A.fromJSON(JSON.parse(r))):a.resolve(n)}_post(e,t,r){return(0,u.u1)(this._port,e,t,r)}}},70333:(e,t,r)=>{"use strict";r.d(t,{Aq:()=>c,Y3:()=>l,id:()=>a,ol:()=>i,rE:()=>s});var n=r(44208),o=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const s="5.0";let a,i=s;function c(e){a=e}function l(e){const t=a?.findCredential(e);return t?.token?(0,o.rs)(e,"token",t.token):e}i="5.0.0-next.37",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},74887:(e,t,r)=>{"use strict";r.d(t,{Pl:()=>O,Ol:()=>k,nA:()=>_,NK:()=>l,Tw:()=>x,sg:()=>S,Lx:()=>v,QZ:()=>w,zf:()=>y,G4:()=>d,$X:()=>P,u7:()=>p,NY:()=>m,hn:()=>j,Mq:()=>u,QP:()=>b,Te:()=>f,jH:()=>h,NO:()=>M,z7:()=>A,qr:()=>g});var n=r(36563);const o=(s=globalThis,{setTimeout:(e,t)=>{const r=s.setTimeout(e,t);return(0,n.hA)(()=>s.clearTimeout(r))}});var s,a=r(49186),i=r(37955),c=(r(53966),r(97768));function l(e="Aborted"){return new a.A("AbortError",e)}function f(e,t="Aborted"){if(d(e))throw l(t)}function u(e){return e instanceof AbortSignal?e:e?.signal??void 0}function d(e){const t=u(e);return null!=t&&t.aborted}function b(e){if(y(e))throw e}function h(e){if(!y(e))throw e}function p(e,t){const r=u(e);if(null!=r){if(!r.aborted)return(0,i.Oo)(r,"abort",()=>t());t()}}function m(e,t){const r=u(e);if(null!=r)return f(r),(0,i.Oo)(r,"abort",()=>t(l()))}function g(e,t){return null==u(t)?e:new Promise((r,n)=>{let o=p(t,()=>n(l()));const s=()=>{o=(0,c.xt)(o)};e.then(s,s),e.then(r,n)})}function y(e){return"AbortError"===e?.name}async function w(e){try{return await e}catch(e){if(!y(e))throw e;return}}async function v(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await v(r),o={};return t.map((e,t)=>o[e]=n[t]),o}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function _(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function k(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function O(e,t=void 0,r){const n=new AbortController;return p(r,()=>n.abort()),new Promise((r,o)=>{let s=setTimeout(()=>{s=0,r(t)},e);p(n,()=>{s&&(clearTimeout(s),o(l()))})})}function P(e){return e&&"function"==typeof e.then}function A(e){return P(e)?e:Promise.resolve(e)}function S(e,t=-1){let r,n,o,s,a=null;const i=(...c)=>{if(r){n=c,s&&s.reject(l()),s=x();const e=s.promise;if(a){const e=a;a=null,e.abort()}return e}if(o=s||x(),s=null,t>0){const n=new AbortController;r=A(e(...c,n.signal));const o=r;O(t).then(()=>{r===o&&(s?n.abort():a=n)})}else r=1,r=A(e(...c));const f=()=>{const e=n;n=o=r=a=null,null!=e&&i(...e)},u=r,d=o;return u.then(f,f),u.then(d.resolve,d.reject),d.promise};return i}function x(){let e,t;const r=new Promise((r,n)=>{e=r,t=n}),n=t=>{e(t)};return n.resolve=t=>e(t),n.reject=e=>t(e),n.timeout=(e,t)=>o.setTimeout(()=>n.reject(t),e),n.promise=r,n}function j(e,t){t.then(e.resolve,e.reject)}async function M(e){await Promise.resolve(),f(e)}},79907:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(93637);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=(t&&function(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}(t,r))??""}toString(){return"["+this.name+"]: "+this.message}}},84952:(e,t,r)=>{"use strict";r.d(t,{$1:()=>Z,$z:()=>Q,An:()=>x,BQ:()=>se,DB:()=>X,FL:()=>F,FX:()=>J,Hg:()=>re,Il:()=>be,Ln:()=>ge,N9:()=>oe,S8:()=>D,T1:()=>pe,UC:()=>he,V1:()=>H,Xq:()=>A,Zo:()=>ke,_0:()=>Pe,a6:()=>_e,b8:()=>q,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>T,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>L,s_:()=>C,tk:()=>ne,ut:()=>U,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>N});var n=r(92602),o=r(4576),s=r(49186),a=r(53966),i=r(12195),c=r(39131),l=r(26306);const f=()=>a.A.getLogger("esri.core.urlUtils"),u=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",b=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,p=/^\s*https:/i,m=/^\s*file:/i,g=/:\d+$/,y=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,w=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),v=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class _{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(w);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(v),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const k={};let O=new _(n.A.applicationUrl);let P=function(){const e=O.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${O.scheme}://${O.host}${null!=O.port?`:${O.port}`:""}${t}`}();const A=()=>O,S=()=>P;function x(e){if(!e)return null;const t={path:null,query:null},r=new _(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=j(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function j(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(o):r[n]=o}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",s=t?.[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map(e=>(0,i.W)(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e)).join("&"):(0,i.W)(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function C(e=!1){let t,r=u.proxyUrl;if("string"==typeof e){t=ie(e);const n=N(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw f().warn(d),new s.A("urlUtils:proxy-not-set",d);return t&&le()&&(r=ce(r)),x(r)}function $(e,t=!1){const r=N(e);let n,o;if(r){const e=W(r.proxyUrl);n=e.path,o=e.query?j(e.query):null}else if(t){const t=C(e);n=t.path,o=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...o,...t.query});r&&(e=`${e}?${r}`)}return e}const I={path:"",query:""};function W(e){const t=e.indexOf("?");return-1!==t?(I.path=e.slice(0,t),I.query=e.slice(t+1)):(I.path=e,I.query=null),I}function E(e){return(e=fe(e=be(e=W(e).path),!0)).toLowerCase()}function T(e){const t={proxyUrl:e.proxyUrl,urlPrefix:E(e.urlPrefix)},r=u.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;o=e;break}t.startsWith(n)&&(o=e+1)}return r.splice(o,0,t),o}function N(e){const t=u.proxyRules,r=E(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,c.py)(e),n=(0,c.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&J(e,t,!0)}function U(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=u.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=ye(e),o=ye(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function F(e){if("string"==typeof e){if(!K(e))return!0;e=ye(e)}if(J(e,O))return!0;const t=u.trustedServers||[];for(let r=0;r<t.length;r++){const n=z(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function z(e){return k[e]||(ae(e)||se(e)?k[e]=[new _(B(e))]:k[e]=[new _(`http://${e}`),new _(`https://${e}`)]),k[e]}function B(e,t=P,r){return se(e)?r?.preserveProtocolRelative?e:"http"===O.scheme&&O.authority===Q(e).slice(2)?`http:${e}`:`https:${e}`:ae(e)?e:G(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function H(e,t=P,r){if(null==e||!K(e))return e;const n=D(e),o=n.toLowerCase(),s=D(t).toLowerCase().replace(/\/+$/,""),a=r?D(r).toLowerCase().replace(/\/+$/,""):null;if(a&&!s.startsWith(a))return e;const i=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=i(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=i(o,"/",c+1);if(-1===l)return e;if(a&&l<a.length)return e;e=n.slice(l);const f=s.slice(l-1).replaceAll(/[^/]+/g,"").length;if(f>0)for(let t=0;t<f;t++)e=`../${e}`;else e=`./${e}`;return e}function D(e){return function(e){const t=u.httpsDomains;if(!function(e){return null!=e&&h.test(e)||"http"===O.scheme&&se(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),g.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===O.scheme&&n===O.authority&&!y.test(e)||(le()&&n===O.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||le()&&!N(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=W(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function G(...e){const t=e.filter(o.Ru);if(!t?.length)return;const r=[];if(K(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&m.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Q(e,t=!1){if(null==e||V(e)||X(e))return null;let r=e.indexOf("://");if(-1===r&&se(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function K(e){return se(e)||ae(e)}function V(e){return null!=e&&e.startsWith("blob:")}function X(e){return null!=e&&e.startsWith("data:")}function Y(e){const t=te(e);return t?.isBase64?(0,l.M)(t.data):null}function Z(e){return(0,l.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const ee=/^data:(.*?)(;base64)?,(.*)$/;function te(e){const t=e.match(ee);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function re(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function ne(e){return(await fetch(e)).blob()}function oe(e){const t=Y(e);if(!t)return null;const r=te(e);return new Blob([t],{type:r.mediaType})}function se(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function ae(e){return null!=e&&b.test(e)}function ie(e){return null!=e&&p.test(e)||"https"===O.scheme&&se(e)}function ce(e){return se(e)?`https:${e}`:e.replace(h,"https:")}function le(){return"https"===O.scheme}function fe(e,t=!1){return se(e)?e.slice(2):(e=e.replace(b,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function ue(e){let t=0;if(K(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(o,"")}function be(e){return e.endsWith("/")?e:`${e}/`}function he(e){return e.replace(/\/+$/,"")}function pe(e,t,r){if(!(t&&r&&e&&K(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),s=e.indexOf(":",n+2),a=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,a).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(a)}`}function me(e,t){const r=new URL(e);return r.host=t,r.port&&!g.test(t)&&(r.port=""),r.toString()}function ge(e){return new URL(e).host}function ye(e){return"string"==typeof e?new _(B(e)):(e.scheme||(e.scheme=O.scheme),e)}function we(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function ve(e,t,r){const n=x(e),o=n.query||{};return o[t]=String(r),`${n.path}?${M(o)}`}function _e(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const o=M(n);return o?`${r.path}?${o}`:r.path}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function Oe(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Pe(e){return"string"==typeof e?te(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(te(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},87811:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},92602:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(44208);var n=r(93637);const o={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(o,globalThis.esriConfig,!0),delete o.has),!o.assetsPath){{const e="5.0.0-next.37";o.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}o.defaultAssetsPath=o.assetsPath}},93637:(e,t,r)=>{"use strict";r.d(t,{$N:()=>o,a4:()=>u,i7:()=>f,i8:()=>i,sM:()=>a,wc:()=>s});var n=r(4718);function o(e,t,r=!1){return l(e,t,r)}function s(e,t){if(null!=t)return t[e]||c(e.split("."),!1,t)}function a(e,t,r){const n=e.split("."),o=n.pop(),s=c(n,!0,r);s&&o&&(s[o]=t)}function i(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(i(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(i(e[r],t[r]))return!0;return!1}return e!==t}function c(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function l(e,t,r){return t?Object.keys(t).reduce((e,o)=>{if("__proto__"===o)return e;let s=e[o],a=t[o];return s===a?e:void 0===s?(e[o]=(0,n.o8)(a),e):(Array.isArray(a)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.slice():e[o]=[s]:e[o]=[],a&&(Array.isArray(a)||(a=[a]),r?a.forEach(e=>{s.includes(e)||s.push(e)}):e[o]=a.slice())):a&&"object"==typeof a?e[o]=l(s,a,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=a),e)},e||{}):e}function f(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function u(e,t){return Object.values(e).includes(t)}},97768:(e,t,r)=>{"use strict";function n(e,t){if(null==e)throw new Error(t??"value is None")}function o(e){return e?.destroy(),null}function s(e){return e?.dispose(),null}function a(e){return e?.remove(),null}function i(e){return e?.abort(),null}function c(e){return e?.release(),null}function l(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function f(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>l,DC:()=>i,Gz:()=>c,Lw:()=>n,Pb:()=>f,WD:()=>s,pR:()=>o,xt:()=>a})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{36:"4f4d51181ae7db9fbe6d",73:"61369838aa337d0156c5",89:"ce8fc1ca229d53a4b68d",146:"cf0e2c91b330b1d0ef77",148:"defc6b50df5018bd9e86",168:"69278d08a7d64917f826",177:"8d4cc5f1d07b4aa3aea0",191:"09b77f82c22530b44daa",217:"f7f53567b0c5b35d6aea",224:"3266c3392c24ce6cdd83",309:"7bc09e80bf45fe137055",353:"2de32649f8b0c6404d7c",369:"af00081b78fc30ac556c",382:"052ded41dc06c93ec0a7",387:"d786b17cc9062b1450ac",390:"41f487713c6278d389a1",427:"9461cc37ab3397265270",431:"c5967133f3ba34a883f8",449:"48d1a443b324753921de",490:"bbdfa8ffcf084cbd9938",547:"bfbbcaa1fb04f17fc869",563:"c4de24582c29fda5a033",566:"274f2b5e6dbc58505142",573:"755ce019c97f5d527772",588:"d87dc2eeffabd3507143",591:"5f781ef46ce7c4048c2f",647:"c82a974c8448407885e6",655:"50eb381b18b84b9c75a3",692:"ef639d31c94d2b55b8d4",708:"d8db2c51b2fb42f37b2a",744:"e1148067ceae7d9eaaf8",784:"4b6a44c6265c8959abd8",788:"ff8e2f998169ca3a7a68",795:"040f3d8e1099c4843390",807:"d239a4ef60e348cfb05a",812:"05e3bfd07a7a227862fd",820:"3c5f07ebe1b09dcdc958",860:"1bacdd17e199e22b5cd1",893:"f11453f24c0b728669d2",957:"c0d6f8e55349f4f5cd58",980:"97b01803d0c38541aa08",985:"6f3ffc04086bca30e55d",1005:"328106e181e5957ceaa5",1017:"8ca83a9af9d24b192128",1023:"36130910ba141f34531b",1088:"004c2a1a37b99a184b13",1185:"da517b4b07d4d27ce94c",1190:"d14e75b160aa432233c6",1197:"06462b267ff8d5984882",1204:"558822b700e8bd844052",1214:"5e34a183420e7007a989",1224:"7aa730e5ac7b268e3c98",1273:"5b290d18de61789417f9",1277:"2a41283bba2361afa1fd",1279:"f609b256df9eb3803464",1312:"ee67c8a7c1f8b482cd99",1352:"a1a7b0e7ca488c895cb7",1360:"5dc0d853c21ccb6054c7",1384:"32d32d3c3b38a215d20d",1414:"48c8ef4170e803a564d6",1421:"9f0172b83f25ef5f8d40",1436:"70e2804d3710c6af468e",1437:"eefad79be500667af96e",1598:"61a9ffd4cf07d8bb7a9b",1698:"145c6a7cdcc9893efb27",1713:"234ffd08c2be03a0b9fe",1728:"30184e39129d9c66ea54",1763:"3b1982bf7b44ff897a35",1776:"6b820f14c110d9da118e",1837:"b4349db7155673329432",1863:"a8a017d7969562d21d2e",1867:"49e6219dd08cb6c27023",1874:"fecae7495e53bb05f282",1878:"65fd971d0574d69cbc26",1882:"a59433c78ed01febca6d",1894:"0b679d5a1bfdbd006d6e",1918:"630eba99f48ea79a9560",1956:"1e55f152b60145f33b61",1967:"9527f1a611557a7af237",2158:"e537e1d37f3fcb14fce2",2186:"2b27499fa9de22970b7a",2274:"014dbe6fa93a277b08f7",2288:"8ec238b5b59ef18a1713",2314:"8ad6595ad44c2d60c1ce",2343:"c5d6b416baf24e74b9ba",2372:"cade149fa19b4d06dd24",2390:"a34a14fd989dbbd3c2d0",2409:"29471e0b3f7296dee096",2423:"2d3ae187f8aa3495d4ae",2503:"e0017c6739d2532793e6",2510:"ae793d814cf32db9fbde",2558:"bc731ec9d5136f1d9253",2561:"28db329528def851efd7",2593:"0a5427127634738aa239",2603:"f1b99529e2055873b65a",2657:"55818fe7a7aa1e5c8bbd",2712:"44f759d723ae05bb1b19",2741:"5f9e64f00329cb646f0c",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2848:"3386d4392f465b807b94",2869:"396a95b800a0bdc398b9",2958:"ffdba51e7256ebf8ebd3",2980:"e0369ce0d729c9656488",3009:"3fe7be535affae31de7e",3054:"871dd5e1f016a04b8d98",3091:"024104997daea0d74b38",3103:"06d52a570d5d44f8c86e",3116:"1432e789aa4cba627337",3169:"725819839434c59102f3",3236:"2613e482450b57f2d4f5",3263:"be631029691d9a320cb5",3276:"e5baa30944061418cb13",3285:"98175b454e807b1a3c5f",3299:"cb500d673ca7ec1ef945",3345:"1d566539ff6fb6ac798c",3356:"478def691ae6763686f3",3359:"600e2e6b51e2fb9c598c",3367:"48e2737182c75005fb8f",3390:"29286234be26680245f6",3443:"d048e4926e78458afa3e",3444:"1d4ea8db272655c0608c",3463:"61707c22b029c2a7a397",3508:"98997841ec3955287ba2",3513:"8d9bdde17eec0bc09f68",3543:"de3da4d31a7529761565",3548:"9664d9e679abc41f6c42",3561:"eb7eb3b3b8800fd73f3e",3562:"e3be67c762af672ec602",3637:"20988e116f3723228f36",3661:"39d2b540738431adec98",3666:"a4f492aa5444e6381063",3693:"f97a7cb367634353177d",3779:"27dfbe3d903b95d4c67a",3813:"44471962c30344dfafdf",3910:"ad3a4d139613b4c0e0b4",3937:"9046a792395da28fa8f7",4038:"f3b3b193959db809c8c6",4097:"83aa39fbb1fad3b9d143",4123:"987e19af8a525e77883f",4167:"21f37a4b8d1857369203",4314:"ad891ac388fa6c1c9b94",4342:"dd105d6e0fcedee32644",4375:"b25a131c04092c3ab75d",4383:"56569d0c2cf5c5167651",4496:"6d0fe4db6b94f3d2c53a",4526:"19820cddba13a3585c0b",4575:"231c0b583fa97f2ca675",4633:"e9bc3c6482ba778c9349",4649:"768d9b6eaba7bfa18dde",4724:"4d5591c1b4ef37075921",4800:"2266a8f2c2ec37c19bb4",4802:"780f60210878a8286633",4815:"72cebf18da5ec5eeb666",4903:"2d0d8243ed0c21f8a498",4929:"4df7cc3477bc46fc39af",4971:"52ecbaa2d32692d6d8df",4996:"df458ad51be27df3d79d",5066:"cda5c95fd49b8901f7d4",5141:"944dfa9309da8f49a616",5165:"7fd2366ee1fc81fa8c56",5180:"4675ed3ca3e0104d00bf",5181:"42f3e83826b3a3dedaaa",5294:"103153951ba312dc5e9e",5323:"c1c77a00f639eaee9c0d",5367:"a00bba1c7cbf8cd7892c",5369:"4cbf5a97b2b3c6553f6f",5404:"0ae018098906d6a88904",5455:"d9251c3c85c3ddd242c8",5482:"bd4e959be3a0ce3ba41e",5549:"b21cf62652ca772108c8",5552:"892c417f5130b003889d",5605:"5dc2f2e28c30386efadf",5613:"af663e81c851bcf142f1",5666:"28a5a7c6b3d6902146f6",5710:"59ce992d3a5e7c32b9fb",5740:"22ca80f491e070b2a5e7",5756:"05b7720ab6bf0874f27c",5804:"fdbe16e3b23e01655c0c",5845:"f441fc74451330384fb0",5856:"20f4c6d8b310ecab97be",5874:"852de585a72d902344a6",5890:"f919f0db9f9ec0c649b9",5897:"d2a6f035022a3f060ffa",5902:"00c77f03dd511c6dbff2",5913:"77b45957cfe42523c1c8",5924:"706423d801fa9cbf2e90",5942:"4d6706d6dbe578653c28",5967:"e0a74250d22fa1d7dc18",5977:"aead7c9830fa310e5b53",6011:"9e869fd6450cf874783a",6018:"31186e83fe009aa0fd36",6049:"ba59568e748f0ba53b78",6052:"59889855d23baec1adf9",6129:"0271a2ca4e9b1e4fd284",6154:"4b14ee37b5ac50a734f9",6160:"b809d499ff050976d9ed",6187:"2c7038a7ffaf75344b02",6339:"538ddb267aa328814865",6343:"f98689562017583f73ee",6357:"c5c02ace54fe4ab9214b",6395:"78fc9a55e620602db1ff",6418:"262232437d37a7460b11",6468:"71dd80231ea656a6380c",6554:"db04b0a30cce9e476551",6558:"82ba4140e30f083fbc87",6647:"640085b5ade5c7f16228",6650:"dc5075b2326c79130baa",6673:"2463cebf904a3c46c639",6699:"27ec791318e81285c222",6730:"690a40d2eef52bfc149f",6787:"8c271e9272e4eaf1325a",6859:"06221ebadab32111e2c6",6956:"88aa71f02f43bb069345",7005:"e501d68a1464805c4b4e",7048:"f8caceeaa14d99c35526",7074:"60f2de8dd8876bfd715a",7087:"0f4e9846d074864b39c2",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"74881340e040bfd0580f",7367:"dee9867b3379e024ae96",7375:"110429583b28c28c36ee",7421:"a716b8fdeda4e16f03ab",7444:"ced12ad98f8f48d0dc00",7464:"727804cf901094b1d620",7528:"9ba8a2e1c0fb4e1efc7c",7546:"bd2a28b14e5c0a55d783",7548:"3001568a99fdd14aada9",7561:"60eeeea671a523bb6b15",7603:"86832d94190150c70c11",7656:"48820e12d94eb49c0a65",7677:"a5d25c71aa4dfaa878cf",7694:"1694b9154df3eccf602e",7817:"dc3a4ad62bc041a4f899",7836:"b56c07c0b43cb1999070",7883:"b9909264cfea68d5f2a1",7885:"b96af22ec1470905e4fb",7982:"ce99abfdcd71ff9e4e36",8010:"0ee407b8db5c07a00d82",8018:"9d0f0d055ec25af037e0",8098:"a67c3958d76d10c04fa6",8125:"44b6b7418cbf7f778bef",8140:"f693a4d97b2762d0e6ff",8207:"a9577a700b6a7b69d6aa",8241:"794960ec36e11f4416c2",8243:"52c8687b473c9953c2f2",8256:"a59dab47a58695c639da",8303:"297344c2c1119159d143",8344:"5b73c77587772120b209",8368:"ae6066ea6cb373dc6db3",8377:"9a855a10798348a21bab",8399:"3904f8732c9953cb177d",8411:"907083c427d7fb4354e9",8441:"20e4243ea563d05a5256",8487:"951a3442d4342539f2ea",8535:"e7f4d135ef9665de1468",8570:"51b78eca012eac92dd07",8628:"fc61443546f21869f8ba",8654:"3f8849c49f0e3ce7eb6b",8692:"c052fb8c952cda0b5d13",8714:"9921c8d4487a0f580b93",8720:"8d9e622cec13f5cea726",8766:"4ff40eea70d19c934504",8812:"920b4def081c78c0d586",8948:"1de216d9850c39c1735d",8969:"0a58b57e1777a8b0ea23",8993:"d1f4152b2b8d47cbf586",8999:"8c07396e9ea3007d6404",9e3:"9ff8ee6ed6b98c03ae7e",9013:"08ef90e3fcfd4eda4301",9036:"f6148611d883a59f8fb8",9041:"f3c232fc56a29d51196a",9062:"fb76b43181077c55a207",9110:"31675811cacdb6fd96cf",9117:"d764b6273974f4bca31b",9126:"c5cc0fc652432a9264cc",9159:"4cda42b94e9cb58dd372",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"e093e745708f722bc1b9",9203:"bcfa98b6866a96c194cb",9221:"6330d8767ba1d5329daa",9239:"9d258f14199181dee424",9247:"b59be95949445ff5afab",9263:"2c4218306747f5d15575",9265:"ab88577987cf2fe1cb32",9279:"b6dec5dfdeca54bae88d",9321:"4ce28c936eaffe57c448",9361:"9110287f272141f60c35",9384:"88cbaa91c495d86f4bb0",9419:"444026d1938c1078ca97",9466:"e6fa6f9c278589c8a713",9476:"c8d2cce4a426c72ab173",9506:"6e5d41f51572e3e7cf92",9573:"c582fb447c89d732cfff",9588:"1e848d9da1c61a27cf18",9616:"94dc8b0fa129f1e168c4",9644:"4f0de45a0a295d66d446",9645:"30c4af16e3a2acc25589",9695:"e229d51c8cc27588e113",9700:"768ae52b4e5c3e571ef5",9708:"edc3d98f33d7bf959154",9718:"1d877c3c96c40eab906c",9785:"22f745539ca54d8cd30d",9801:"a6324f5f560ffadc6e5d",9838:"a1b08aab73747f4e7e25",9911:"febce0d80f019dc2a427",9926:"98739414c107ad78e4d8",9933:"5e30acfda04f7fc2b676",9953:"7c08c0824ad354177787",9958:"d32aad968798948946e4"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,s,a]=t;for(var i in s)r.o(s,i)&&(r.m[i]=s[i]);for(a&&a(r);o.length;)e[o.pop()]=1;n(t)}})(),r(2131);var n=r(61322);RemoteClient=n})();
1
+ var RemoteClient;(()=>{var e={799:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>i,HC:()=>a,Wm:()=>c,_e:()=>f});var n=r(93637);const o=/\{([^}]+)\}/g;function s(e){return e??""}function a(e,t){return t?e.replaceAll(o,"object"==typeof t?(e,r)=>s((0,n.wc)(r,t)):(e,r)=>s(t(r))):e}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}let l;function f(e){return l??=new DOMParser,l.parseFromString(e||"","text/html").body.innerText||""}},2131:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},4576:(e,t,r)=>{"use strict";r.d(t,{Am:()=>a,Ho:()=>d,Ji:()=>s,MJ:()=>i,Mo:()=>w,Ru:()=>O,TF:()=>k,VO:()=>l,Xj:()=>u,Xy:()=>m,aI:()=>c,iv:()=>f,k4:()=>_,mW:()=>y,qh:()=>p,vW:()=>b});var n=r(21818),o=r(87811);const s=1.5;function a(e,t){return t?e.filter((e,r,n)=>n.findIndex(t.bind(null,e))===r):Array.from(new Set(e))}function i(e,t,r,n,o,s,a){if(null==e&&null==n)return!0;t=Math.max(0,t),o=Math.max(0,o),r=Math.max(0,r<0?(e?.length??0)+r:r),s=Math.max(0,s<0?(n?.length??0)+s:s);const i=r-t;if(null==e||null==n||i!==s-o)return!1;if(a){for(let r=0;r<i;r++)if(!a(e[t+r],n[o+r]))return!1}else for(let r=0;r<i;r++)if(e[t+r]!==n[o+r])return!1;return!0}function c(e,t,r){return i(e,0,e?.length??0,t,0,t?.length??0,r)}function l(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function f(e,t,r){let n,o;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),o=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),o=e.filter(e=>!t.includes(e))),{added:n,removed:o}}function u(e){return e&&"number"==typeof e.length}function d(e,t){const r=e.length;if(0===r)return[];const n=[];for(let o=0;o<r;o+=t)n.push(e.slice(o,o+t));return n}class b{constructor(){this.last=0}}const h=new b;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function m(e,t,r,o){const s=r??e.length,a=p(e,(0,n.zI)(t),s,o);if(-1!==a)return e[a]=e[s-1],null==r&&e.pop(),t}const g=new Set;function y(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const a=Math.max(0,o.last-10);for(let t=a;t<r;++t)if(g.has(e[t])&&(s?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<a;++t)if(g.has(e[t])&&(s?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function w(e){return e?(v.seed=e,()=>v.getFloat()):Math.random}const v=new o.A;function _(e,t){if(!e)return e;const r=w(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),o=e[t];e[t]=e[n],e[n]=o}return e}function k(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function O(e,t){return null!=e}},4718:(e,t,r)=>{"use strict";r.d(t,{Nb:()=>c,TU:()=>i,aI:()=>b,gh:()=>h,o8:()=>a,oy:()=>s});var n=r(4576),o=r(34275);function s(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&s(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function a(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=d(e);if(null!=t)return t;if(c(e))return e.clone();if(l(e))return e.map(a);if(f(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=a(e[t]);return r}function i(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=d(e);if(null!=r)return r;if(l(e)){let r=!0;const n=e.map(e=>{const n=i(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(c(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(f(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],o=i(r);if(null!=r&&null==o)return null;n[t]=o}return n}function c(e){return"function"==typeof e.clone}function l(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function u(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){if((0,o.dz)(e)||(0,o.mg)(e)||(0,o.UR)(e)||(0,o.IY)(e)||(0,o.jq)(e)||(0,o._G)(e)||(0,o.XJ)(e)||(0,o.vZ)(e)||(0,o.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,a(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(a(r));return t}return null}function b(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof e?.getTime&&"function"==typeof t?.getTime&&e.getTime()===t.getTime()||!1}function h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!u(e)&&u(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},8341:(e,t,r)=>{"use strict";r.d(t,{Go:()=>a,Jc:()=>c,T:()=>s,VI:()=>u,mF:()=>l,oV:()=>b,u1:()=>f});var n=r(44208),o=r(74887);const s="worker:port-closed",a={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let i=0;function c(){return i++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function f(e,t,r,n){if(t.type===a.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==a.INVOKE&&t.type!==a.RESPONSE)return void e.postMessage(t);let o;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(o=d(n),t.data=r):(o=d(r.transferList),t.data=r.result),o?e.postMessage(t,o):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===s;if(!(0,o.zf)(e)&&!t)throw e;return}}},12195:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},18357:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,u:()=>o});const n="20251113",o="47c76123e885a306881d2d0c77bcf14a9389b2d5"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){}function s(e){return e}r.d(t,{Ur:()=>o,Xb:()=>n,zI:()=>s}),r(44208)},26306:(e,t,r)=>{"use strict";function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function o(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>o})},34275:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return"Int8Array"===e?.constructor?.name}function s(e){return"Uint8Array"===e?.constructor?.name}function a(e){return"Uint8ClampedArray"===e?.constructor?.name}function i(e){return"Int16Array"===e?.constructor?.name}function c(e){return"Uint16Array"===e?.constructor?.name}function l(e){return"Int32Array"===e?.constructor?.name}function f(e){return"Uint32Array"===e?.constructor?.name}function u(e){return"Float16Array"===e?.constructor?.name}function d(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>i,JI:()=>m,LW:()=>u,PI:()=>w,UR:()=>a,XJ:()=>f,_G:()=>l,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>o,h2:()=>v,iu:()=>h,jq:()=>c,mg:()=>s,mw:()=>n,vZ:()=>d,y9:()=>p}),r(44208);const p=1024;function m(e){return b(e)||d(e)||l(e)||i(e)||o(e)}function g(e){return b(e)||d(e)}function y(e){return b(e)?179769e303:u(e)?65504:d(e)?3402823e32:f(e)?4294967295:c(e)?65535:s(e)||a(e)?255:l(e)?2147483647:i(e)?32767:o(e)?127:256}const w=-32768,v=-2147483648},36563:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>i,hA:()=>o,rE:()=>a,vE:()=>s});const n={remove:()=>{}};function o(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function s(e){return o(()=>function(e){e.forEach(e=>e?.remove())}(e))}function a(e){return o(()=>e?.abort())}function i(e){return{[Symbol.dispose](){e.remove()}}}},37955:(e,t,r)=>{"use strict";r.d(t,{Oo:()=>i,on:()=>a,wb:()=>o});var n=r(36563);function o(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||s(e)}function s(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function a(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");return s(e)?function(e,t,r,o){if(Array.isArray(t)){const s=t.slice();for(const t of s)e.addEventListener(t,r,o);return(0,n.hA)(()=>{for(const t of s)e.removeEventListener(t,r,o)})}return e.addEventListener(t,r,o),(0,n.hA)(()=>e.removeEventListener(t,r,o))}(e,t,r):e.on(t,r)}function i(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=a(e,t,t=>{n.remove(),r.call(e,t)});return n}},39131:(e,t,r)=>{"use strict";r.d(t,{$E:()=>a,py:()=>s,qG:()=>i});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,o={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function s(e){const t=e?.match(n);if(!t)return null;const[,r,s,a]=t;if(!r)return null;let i=null,c=null,l=null;const{devext:f,qaext:u,www:d}=o;if(s)if(i=r,a)switch(a.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qa":({customBaseUrl:c,portalHostname:l}=u);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qaext":({customBaseUrl:c,portalHostname:l}=u);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:i}}function a(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function i(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},44208:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const n=globalThis,o={...n.esriConfig?.has};function s(e){return"function"==typeof o[e]?o[e]=o[e](n):o[e]}s.add=(e,t,r,n)=>{(n||void 0===o[e])&&(o[e]=t),r&&s(e)},s.cache=o,s.add("big-integer-warning-enabled",!0),s.add("esri-deprecation-warnings",!0),s.add("esri-tests-disable-screenshots",!1),s.add("esri-tests-use-full-window",!1),s.add("esri-tests-post-to-influx",!0),s.add("esri-cim-animations-enable-status","enabled"),s.add("esri-cim-animations-spotlight",!1),s.add("esri-cim-animations-freeze-time",!1),(()=>{s.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(s.add("host-browser",e),s.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),s.add("dom",e),s("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(s.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),s.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),s.add("khtml",r.includes("Konqueror")?n:void 0),s.add("edge",parseFloat(t.split("Edge/")[1])||void 0),s.add("opr",parseFloat(t.split("OPR/")[1])||void 0),s.add("webkit",!s("wp")&&!s("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),s.add("chrome",!s("edge")&&!s("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),s.add("android",!s("wp")&&parseFloat(t.split("Android ")[1])||void 0),s.add("safari",!r.includes("Safari")||s("wp")||s("chrome")||s("android")||s("edge")||s("opr")?void 0:parseFloat(r.split("Version/")[1])),s.add("mac",r.includes("Macintosh")),!s("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));s.add(e,n),s.add("ios",n)}s("webkit")||(!t.includes("Gecko")||s("wp")||s("khtml")||s("edge")||s.add("mozilla",n),s("mozilla")&&s.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&s.add("esri-mobile",t),r&&s.add("esri-iPhone",r),s.add("esri-geolocation",!!navigator.geolocation)}s.add("esri-wasm","WebAssembly"in n),s.add("esri-performance-mode-frames-between-render",20),s.add("esri-force-performance-mode",!1),s.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),s.add("wasm-simd",()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]))),s.add("esri-atomics","Atomics"in n),s.add("esri-workers","Worker"in n),s.add("web-feat:cache","caches"in n),s.add("esri-workers-arraybuffer-transfer",!s("safari")||Number(s("safari"))>=12),s.add("workers-pool-size",8),s.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),s.add("featurelayer-simplify-payload-size-factors",[1,1,4]),s.add("featurelayer-fast-triangulation-enabled",!0),s.add("featurelayer-animation-enabled",!0),s.add("featurelayer-snapshot-enabled",!0),s.add("featurelayer-snapshot-initial-tolerance",0),s.add("featurelayer-snapshot-point-min-threshold",8e4),s.add("featurelayer-snapshot-point-max-threshold",4e5),s.add("featurelayer-snapshot-multipoint-min-threshold",2e4),s.add("featurelayer-snapshot-multipoint-max-threshold",1e5),s.add("featurelayer-snapshot-polygon-min-threshold",2e3),s.add("featurelayer-snapshot-polygon-max-threshold",2e3),s.add("featurelayer-snapshot-polyline-min-threshold",2e3),s.add("featurelayer-snapshot-polyline-max-threshold",2e3),s.add("featurelayer-snapshot-max-vertex-count",25e4),s.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),s.add("featurelayer-snapshot-concurrency",4),s.add("featurelayer-snapshot-coverage",.1),s.add("featurelayer-query-max-depth",4),s.add("featurelayer-query-pausing-enabled",!1),s.add("featurelayer-query-tile-concurrency",4),s.add("featurelayer-query-tile-max-features",6e5),s.add("featurelayer-advanced-symbols",!1),s.add("featurelayer-pbf",!0),s.add("featurelayer-pbf-statistics",!1),s.add("feature-layers-workers",!0),s.add("feature-polyline-generalization-factor",1),s.add("parquetlayer-full-query-feature-count",2e4),s.add("parquetlayer-hittest-max-feature-count",1),s.add("mapview-transitions-duration",200),s.add("mapview-essential-goto-duration",200),s.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),s.add("mapserver-pbf-version-support",10.81),s.add("mapservice-popup-identify-max-tolerance",20),s.add("request-queue-concurrency-global",50),s.add("request-queue-concurrency-hosted",16),s.add("request-queue-concurrency-non-hosted",4),s.add("curve-densification-coarse-segments",128),s.add("curve-densification-max-segments",2e3),s.add("curve-densification-min-segments",3),s.add("curve-densification-pixel-deviation",.5),s.add("view-readyState-waiting-delay",1e3),s.add("gradient-depth-bias",.01),s.add("gradient-depth-epsilon",1e-8),s.add("enable-feature:esri-compress-textures",!0),s.add("enable-feature:basemap-groundlayers",!0),s.add("enable-feature:oit-ground",!1),!s("host-webworker")&&s("host-browser")&&(s.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),s.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},49186:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(4718),o=r(53966),s=r(79907);class a extends s.A{constructor(e,t,r){super(e,t,r)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw o.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new a(e.name,e.message,e.details)}}a.prototype.type="error"},52268:(e,t,r)=>{"use strict";function n(e,t){return new Proxy({},{get:(r,n,o)=>(...r)=>{let o,s;const a=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(a)&&(o=a.signal,s=a.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:s,signal:o})}})}r.d(t,{L:()=>n})},53966:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(92602),o=(r(44208),r(799));const s={info:0,warn:1,error:2,none:3};class a{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,a._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=a.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,a._loggers.get(e)||new a({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),s=this._loggedMessages[e].get(n);if("once"===t&&null!=s||"oncePerTick"===t&&s&&s>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return s[this._parentWithMember("level",t)]<=s[e]}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then(()=>{a._tickCounter++,a._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${t}]`,...r)}},61322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(70333),o=r(49186),s=r(37955),a=r(36563),i=r(97768),c=r(74887),l=r(52268);const f={CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1185)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(8243)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8487),r.e(5845)]).then(r.bind(r,38419)),Feature3DPipelineWorker:()=>Promise.all([r.e(7603),r.e(2869),r.e(3910),r.e(5323),r.e(8303),r.e(4903),r.e(1214),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7005),r.e(655),r.e(387),r.e(4633),r.e(89)]).then(r.bind(r,64183)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7421),r.e(3443),r.e(449)]).then(r.bind(r,24734)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(6787)]).then(r.bind(r,12543)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(7421),r.e(8720)]).then(r.bind(r,68716)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(2603),r.e(7005),r.e(5967)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(9911)]).then(r.bind(r,5561)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(2603),r.e(387),r.e(431),r.e(784)]).then(r.bind(r,70491)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009))};var u=r(8341),d=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=u.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:d.$,fullVersion:n.ol,revision:d.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const o=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=o),v.clients.set(o,n),r.port2}static loadWorker(e){const t=f[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,s=r?.transferList;if(!this._port)return Promise.reject(new o.A(u.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const a=(0,u.Jc)();return new Promise((r,o)=>{if((0,c.G4)(n))return this._processWork(),void o((0,c.NK)());const l=(0,c.u7)(n,()=>{const e=this._outJobs.get(a);e&&(this._outJobs.delete(a),this._processWork(),(0,i.xt)(e.abortHandle),this._post({type:h,jobId:a}),o((0,c.NK)()))}),f={resolve:r,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(a,f),this._post({type:p,jobId:a,methodName:e,abortable:null!=n},t,s)})}createInvokeProxy(e){return(0,l.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,a.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:o}=e;this.apply(t,r,n).then(e=>o.resolve(e)).catch(e=>o.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,i.xt)(e.abortHandle),e.reject((0,c.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,u.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:o}=e,s=o?new AbortController:null,a=this._inJobs;let i,l=this._client,f=l[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)l=l[e[t]],f=l[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:s?s.signal:null}),i=f.apply(l,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,u.mF)(e)})}(0,c.$X)(i)?(a.set(r,{controller:s,promise:i}),i.then(e=>{a.has(r)&&(a.delete(r),this._post({type:m,jobId:r},e))},e=>{a.has(r)&&(a.delete(r),(0,c.zf)(e)||this._post({type:m,jobId:r,error:(0,u.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},i)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,s.on)(e.port,"message",e=>{const o=(0,u.VI)(e);o?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,s=this._outJobs;if(!s.has(t))return;const a=s.get(t);s.delete(t),this._processWork(),(0,i.xt)(a.abortHandle),r?a.reject(o.A.fromJSON(JSON.parse(r))):a.resolve(n)}_post(e,t,r){return(0,u.u1)(this._port,e,t,r)}}},70333:(e,t,r)=>{"use strict";r.d(t,{Aq:()=>c,Y3:()=>l,id:()=>a,ol:()=>i,rE:()=>s});var n=r(44208),o=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const s="5.0";let a,i=s;function c(e){a=e}function l(e){const t=a?.findCredential(e);return t?.token?(0,o.rs)(e,"token",t.token):e}i="5.0.0-next.38",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},74887:(e,t,r)=>{"use strict";r.d(t,{Pl:()=>O,Ol:()=>k,nA:()=>_,NK:()=>l,Tw:()=>x,sg:()=>S,Lx:()=>v,QZ:()=>w,zf:()=>y,G4:()=>d,$X:()=>P,u7:()=>p,NY:()=>m,hn:()=>j,Mq:()=>u,QP:()=>b,Te:()=>f,jH:()=>h,NO:()=>M,z7:()=>A,qr:()=>g});var n=r(36563);const o=(s=globalThis,{setTimeout:(e,t)=>{const r=s.setTimeout(e,t);return(0,n.hA)(()=>s.clearTimeout(r))}});var s,a=r(49186),i=r(37955),c=(r(53966),r(97768));function l(e="Aborted"){return new a.A("AbortError",e)}function f(e,t="Aborted"){if(d(e))throw l(t)}function u(e){return e instanceof AbortSignal?e:e?.signal??void 0}function d(e){const t=u(e);return null!=t&&t.aborted}function b(e){if(y(e))throw e}function h(e){if(!y(e))throw e}function p(e,t){const r=u(e);if(null!=r){if(!r.aborted)return(0,i.Oo)(r,"abort",()=>t());t()}}function m(e,t){const r=u(e);if(null!=r)return f(r),(0,i.Oo)(r,"abort",()=>t(l()))}function g(e,t){return null==u(t)?e:new Promise((r,n)=>{let o=p(t,()=>n(l()));const s=()=>{o=(0,c.xt)(o)};e.then(s,s),e.then(r,n)})}function y(e){return"AbortError"===e?.name}async function w(e){try{return await e}catch(e){if(!y(e))throw e;return}}async function v(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await v(r),o={};return t.map((e,t)=>o[e]=n[t]),o}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function _(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function k(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function O(e,t=void 0,r){const n=new AbortController;return p(r,()=>n.abort()),new Promise((r,o)=>{let s=setTimeout(()=>{s=0,r(t)},e);p(n,()=>{s&&(clearTimeout(s),o(l()))})})}function P(e){return e&&"function"==typeof e.then}function A(e){return P(e)?e:Promise.resolve(e)}function S(e,t=-1){let r,n,o,s,a=null;const i=(...c)=>{if(r){n=c,s&&s.reject(l()),s=x();const e=s.promise;if(a){const e=a;a=null,e.abort()}return e}if(o=s||x(),s=null,t>0){const n=new AbortController;r=A(e(...c,n.signal));const o=r;O(t).then(()=>{r===o&&(s?n.abort():a=n)})}else r=1,r=A(e(...c));const f=()=>{const e=n;n=o=r=a=null,null!=e&&i(...e)},u=r,d=o;return u.then(f,f),u.then(d.resolve,d.reject),d.promise};return i}function x(){let e,t;const r=new Promise((r,n)=>{e=r,t=n}),n=t=>{e(t)};return n.resolve=t=>e(t),n.reject=e=>t(e),n.timeout=(e,t)=>o.setTimeout(()=>n.reject(t),e),n.promise=r,n}function j(e,t){t.then(e.resolve,e.reject)}async function M(e){await Promise.resolve(),f(e)}},79907:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(93637);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=(t&&function(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}(t,r))??""}toString(){return"["+this.name+"]: "+this.message}}},84952:(e,t,r)=>{"use strict";r.d(t,{$1:()=>Z,$z:()=>Q,An:()=>x,BQ:()=>se,DB:()=>X,FL:()=>F,FX:()=>J,Hg:()=>re,Il:()=>be,Ln:()=>ge,N9:()=>oe,S8:()=>D,T1:()=>pe,UC:()=>he,V1:()=>H,Xq:()=>A,Zo:()=>ke,_0:()=>Pe,a6:()=>_e,b8:()=>q,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>T,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>L,s_:()=>C,tk:()=>ne,ut:()=>U,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>N});var n=r(92602),o=r(4576),s=r(49186),a=r(53966),i=r(12195),c=r(39131),l=r(26306);const f=()=>a.A.getLogger("esri.core.urlUtils"),u=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",b=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,p=/^\s*https:/i,m=/^\s*file:/i,g=/:\d+$/,y=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,w=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),v=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class _{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(w);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(v),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const k={};let O=new _(n.A.applicationUrl);let P=function(){const e=O.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${O.scheme}://${O.host}${null!=O.port?`:${O.port}`:""}${t}`}();const A=()=>O,S=()=>P;function x(e){if(!e)return null;const t={path:null,query:null},r=new _(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=j(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function j(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(o):r[n]=o}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",s=t?.[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map(e=>(0,i.W)(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e)).join("&"):(0,i.W)(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function C(e=!1){let t,r=u.proxyUrl;if("string"==typeof e){t=ie(e);const n=N(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw f().warn(d),new s.A("urlUtils:proxy-not-set",d);return t&&le()&&(r=ce(r)),x(r)}function $(e,t=!1){const r=N(e);let n,o;if(r){const e=W(r.proxyUrl);n=e.path,o=e.query?j(e.query):null}else if(t){const t=C(e);n=t.path,o=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...o,...t.query});r&&(e=`${e}?${r}`)}return e}const I={path:"",query:""};function W(e){const t=e.indexOf("?");return-1!==t?(I.path=e.slice(0,t),I.query=e.slice(t+1)):(I.path=e,I.query=null),I}function E(e){return(e=fe(e=be(e=W(e).path),!0)).toLowerCase()}function T(e){const t={proxyUrl:e.proxyUrl,urlPrefix:E(e.urlPrefix)},r=u.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;o=e;break}t.startsWith(n)&&(o=e+1)}return r.splice(o,0,t),o}function N(e){const t=u.proxyRules,r=E(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,c.py)(e),n=(0,c.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&J(e,t,!0)}function U(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=u.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=ye(e),o=ye(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function F(e){if("string"==typeof e){if(!K(e))return!0;e=ye(e)}if(J(e,O))return!0;const t=u.trustedServers||[];for(let r=0;r<t.length;r++){const n=z(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function z(e){return k[e]||(ae(e)||se(e)?k[e]=[new _(B(e))]:k[e]=[new _(`http://${e}`),new _(`https://${e}`)]),k[e]}function B(e,t=P,r){return se(e)?r?.preserveProtocolRelative?e:"http"===O.scheme&&O.authority===Q(e).slice(2)?`http:${e}`:`https:${e}`:ae(e)?e:G(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function H(e,t=P,r){if(null==e||!K(e))return e;const n=D(e),o=n.toLowerCase(),s=D(t).toLowerCase().replace(/\/+$/,""),a=r?D(r).toLowerCase().replace(/\/+$/,""):null;if(a&&!s.startsWith(a))return e;const i=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=i(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=i(o,"/",c+1);if(-1===l)return e;if(a&&l<a.length)return e;e=n.slice(l);const f=s.slice(l-1).replaceAll(/[^/]+/g,"").length;if(f>0)for(let t=0;t<f;t++)e=`../${e}`;else e=`./${e}`;return e}function D(e){return function(e){const t=u.httpsDomains;if(!function(e){return null!=e&&h.test(e)||"http"===O.scheme&&se(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),g.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===O.scheme&&n===O.authority&&!y.test(e)||(le()&&n===O.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||le()&&!N(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=W(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function G(...e){const t=e.filter(o.Ru);if(!t?.length)return;const r=[];if(K(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&m.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Q(e,t=!1){if(null==e||V(e)||X(e))return null;let r=e.indexOf("://");if(-1===r&&se(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function K(e){return se(e)||ae(e)}function V(e){return null!=e&&e.startsWith("blob:")}function X(e){return null!=e&&e.startsWith("data:")}function Y(e){const t=te(e);return t?.isBase64?(0,l.M)(t.data):null}function Z(e){return(0,l.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const ee=/^data:(.*?)(;base64)?,(.*)$/;function te(e){const t=e.match(ee);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function re(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function ne(e){return(await fetch(e)).blob()}function oe(e){const t=Y(e);if(!t)return null;const r=te(e);return new Blob([t],{type:r.mediaType})}function se(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function ae(e){return null!=e&&b.test(e)}function ie(e){return null!=e&&p.test(e)||"https"===O.scheme&&se(e)}function ce(e){return se(e)?`https:${e}`:e.replace(h,"https:")}function le(){return"https"===O.scheme}function fe(e,t=!1){return se(e)?e.slice(2):(e=e.replace(b,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function ue(e){let t=0;if(K(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(o,"")}function be(e){return e.endsWith("/")?e:`${e}/`}function he(e){return e.replace(/\/+$/,"")}function pe(e,t,r){if(!(t&&r&&e&&K(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),s=e.indexOf(":",n+2),a=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,a).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(a)}`}function me(e,t){const r=new URL(e);return r.host=t,r.port&&!g.test(t)&&(r.port=""),r.toString()}function ge(e){return new URL(e).host}function ye(e){return"string"==typeof e?new _(B(e)):(e.scheme||(e.scheme=O.scheme),e)}function we(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function ve(e,t,r){const n=x(e),o=n.query||{};return o[t]=String(r),`${n.path}?${M(o)}`}function _e(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const o=M(n);return o?`${r.path}?${o}`:r.path}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function Oe(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Pe(e){return"string"==typeof e?te(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(te(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},87811:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},92602:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(44208);var n=r(93637);const o={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(o,globalThis.esriConfig,!0),delete o.has),!o.assetsPath){{const e="5.0.0-next.38";o.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}o.defaultAssetsPath=o.assetsPath}},93637:(e,t,r)=>{"use strict";r.d(t,{$N:()=>o,a4:()=>u,i7:()=>f,i8:()=>i,sM:()=>a,wc:()=>s});var n=r(4718);function o(e,t,r=!1){return l(e,t,r)}function s(e,t){if(null!=t)return t[e]||c(e.split("."),!1,t)}function a(e,t,r){const n=e.split("."),o=n.pop(),s=c(n,!0,r);s&&o&&(s[o]=t)}function i(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(i(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(i(e[r],t[r]))return!0;return!1}return e!==t}function c(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function l(e,t,r){return t?Object.keys(t).reduce((e,o)=>{if("__proto__"===o)return e;let s=e[o],a=t[o];return s===a?e:void 0===s?(e[o]=(0,n.o8)(a),e):(Array.isArray(a)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.slice():e[o]=[s]:e[o]=[],a&&(Array.isArray(a)||(a=[a]),r?a.forEach(e=>{s.includes(e)||s.push(e)}):e[o]=a.slice())):a&&"object"==typeof a?e[o]=l(s,a,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=a),e)},e||{}):e}function f(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function u(e,t){return Object.values(e).includes(t)}},97768:(e,t,r)=>{"use strict";function n(e,t){if(null==e)throw new Error(t??"value is None")}function o(e){return e?.destroy(),null}function s(e){return e?.dispose(),null}function a(e){return e?.remove(),null}function i(e){return e?.abort(),null}function c(e){return e?.release(),null}function l(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function f(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>l,DC:()=>i,Gz:()=>c,Lw:()=>n,Pb:()=>f,WD:()=>s,pR:()=>o,xt:()=>a})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{36:"4f4d51181ae7db9fbe6d",73:"61369838aa337d0156c5",89:"7ab237d19b84d89ff483",146:"cf0e2c91b330b1d0ef77",148:"defc6b50df5018bd9e86",168:"69278d08a7d64917f826",177:"8d4cc5f1d07b4aa3aea0",191:"09b77f82c22530b44daa",217:"f7f53567b0c5b35d6aea",224:"3266c3392c24ce6cdd83",309:"7bc09e80bf45fe137055",353:"2de32649f8b0c6404d7c",369:"af00081b78fc30ac556c",382:"052ded41dc06c93ec0a7",387:"d786b17cc9062b1450ac",390:"41f487713c6278d389a1",427:"9461cc37ab3397265270",431:"50ffb22c48fadd36c748",449:"48d1a443b324753921de",490:"bbdfa8ffcf084cbd9938",547:"bfbbcaa1fb04f17fc869",563:"c4de24582c29fda5a033",566:"274f2b5e6dbc58505142",573:"755ce019c97f5d527772",588:"d87dc2eeffabd3507143",591:"5f781ef46ce7c4048c2f",647:"c82a974c8448407885e6",655:"50eb381b18b84b9c75a3",692:"ef639d31c94d2b55b8d4",708:"d8db2c51b2fb42f37b2a",744:"e1148067ceae7d9eaaf8",784:"4b6a44c6265c8959abd8",788:"ff8e2f998169ca3a7a68",795:"040f3d8e1099c4843390",807:"d239a4ef60e348cfb05a",812:"05e3bfd07a7a227862fd",820:"3c5f07ebe1b09dcdc958",860:"1bacdd17e199e22b5cd1",893:"f11453f24c0b728669d2",957:"c0d6f8e55349f4f5cd58",980:"97b01803d0c38541aa08",985:"6f3ffc04086bca30e55d",1005:"328106e181e5957ceaa5",1017:"8ca83a9af9d24b192128",1023:"36130910ba141f34531b",1088:"004c2a1a37b99a184b13",1185:"da517b4b07d4d27ce94c",1190:"d14e75b160aa432233c6",1197:"06462b267ff8d5984882",1204:"558822b700e8bd844052",1214:"5e34a183420e7007a989",1224:"7aa730e5ac7b268e3c98",1273:"5b290d18de61789417f9",1277:"2a41283bba2361afa1fd",1279:"f609b256df9eb3803464",1312:"ee67c8a7c1f8b482cd99",1352:"a1a7b0e7ca488c895cb7",1360:"5dc0d853c21ccb6054c7",1384:"32d32d3c3b38a215d20d",1414:"48c8ef4170e803a564d6",1421:"9f0172b83f25ef5f8d40",1436:"70e2804d3710c6af468e",1437:"eefad79be500667af96e",1598:"61a9ffd4cf07d8bb7a9b",1698:"145c6a7cdcc9893efb27",1713:"234ffd08c2be03a0b9fe",1728:"30184e39129d9c66ea54",1763:"3b1982bf7b44ff897a35",1776:"6b820f14c110d9da118e",1837:"b4349db7155673329432",1863:"a8a017d7969562d21d2e",1867:"49e6219dd08cb6c27023",1874:"fecae7495e53bb05f282",1878:"65fd971d0574d69cbc26",1882:"a59433c78ed01febca6d",1894:"0b679d5a1bfdbd006d6e",1918:"630eba99f48ea79a9560",1956:"1e55f152b60145f33b61",1967:"9527f1a611557a7af237",2158:"e537e1d37f3fcb14fce2",2186:"2b27499fa9de22970b7a",2274:"014dbe6fa93a277b08f7",2288:"8ec238b5b59ef18a1713",2314:"8ad6595ad44c2d60c1ce",2343:"c5d6b416baf24e74b9ba",2372:"cade149fa19b4d06dd24",2390:"a34a14fd989dbbd3c2d0",2409:"29471e0b3f7296dee096",2423:"2d3ae187f8aa3495d4ae",2503:"e0017c6739d2532793e6",2510:"ae793d814cf32db9fbde",2558:"bc731ec9d5136f1d9253",2561:"28db329528def851efd7",2593:"0a5427127634738aa239",2603:"f1b99529e2055873b65a",2657:"55818fe7a7aa1e5c8bbd",2712:"44f759d723ae05bb1b19",2741:"5f9e64f00329cb646f0c",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2848:"3386d4392f465b807b94",2869:"396a95b800a0bdc398b9",2958:"ffdba51e7256ebf8ebd3",2980:"e0369ce0d729c9656488",3009:"3fe7be535affae31de7e",3054:"871dd5e1f016a04b8d98",3091:"024104997daea0d74b38",3103:"06d52a570d5d44f8c86e",3116:"1432e789aa4cba627337",3169:"725819839434c59102f3",3236:"2613e482450b57f2d4f5",3263:"be631029691d9a320cb5",3276:"e5baa30944061418cb13",3285:"98175b454e807b1a3c5f",3299:"cb500d673ca7ec1ef945",3345:"1d566539ff6fb6ac798c",3356:"478def691ae6763686f3",3359:"600e2e6b51e2fb9c598c",3367:"48e2737182c75005fb8f",3390:"29286234be26680245f6",3443:"d048e4926e78458afa3e",3444:"1d4ea8db272655c0608c",3463:"61707c22b029c2a7a397",3508:"98997841ec3955287ba2",3513:"8d9bdde17eec0bc09f68",3543:"de3da4d31a7529761565",3548:"9664d9e679abc41f6c42",3561:"eb7eb3b3b8800fd73f3e",3562:"e3be67c762af672ec602",3637:"20988e116f3723228f36",3661:"39d2b540738431adec98",3666:"a4f492aa5444e6381063",3693:"f97a7cb367634353177d",3779:"27dfbe3d903b95d4c67a",3813:"44471962c30344dfafdf",3910:"ad3a4d139613b4c0e0b4",3937:"9046a792395da28fa8f7",4038:"f3b3b193959db809c8c6",4097:"83aa39fbb1fad3b9d143",4123:"987e19af8a525e77883f",4167:"21f37a4b8d1857369203",4314:"ad891ac388fa6c1c9b94",4342:"dd105d6e0fcedee32644",4375:"b25a131c04092c3ab75d",4383:"56569d0c2cf5c5167651",4496:"6d0fe4db6b94f3d2c53a",4526:"19820cddba13a3585c0b",4575:"231c0b583fa97f2ca675",4633:"e9bc3c6482ba778c9349",4649:"768d9b6eaba7bfa18dde",4724:"4d5591c1b4ef37075921",4800:"2266a8f2c2ec37c19bb4",4802:"780f60210878a8286633",4815:"72cebf18da5ec5eeb666",4903:"2d0d8243ed0c21f8a498",4929:"4df7cc3477bc46fc39af",4971:"52ecbaa2d32692d6d8df",4996:"df458ad51be27df3d79d",5066:"cda5c95fd49b8901f7d4",5141:"944dfa9309da8f49a616",5165:"7fd2366ee1fc81fa8c56",5180:"4675ed3ca3e0104d00bf",5181:"42f3e83826b3a3dedaaa",5294:"103153951ba312dc5e9e",5323:"c1c77a00f639eaee9c0d",5367:"a00bba1c7cbf8cd7892c",5369:"4cbf5a97b2b3c6553f6f",5404:"0ae018098906d6a88904",5455:"d9251c3c85c3ddd242c8",5482:"bd4e959be3a0ce3ba41e",5549:"b21cf62652ca772108c8",5552:"892c417f5130b003889d",5605:"5dc2f2e28c30386efadf",5613:"af663e81c851bcf142f1",5666:"28a5a7c6b3d6902146f6",5710:"59ce992d3a5e7c32b9fb",5740:"22ca80f491e070b2a5e7",5756:"05b7720ab6bf0874f27c",5804:"fdbe16e3b23e01655c0c",5845:"f441fc74451330384fb0",5856:"20f4c6d8b310ecab97be",5874:"852de585a72d902344a6",5890:"f919f0db9f9ec0c649b9",5897:"d2a6f035022a3f060ffa",5902:"00c77f03dd511c6dbff2",5913:"77b45957cfe42523c1c8",5924:"706423d801fa9cbf2e90",5942:"4d6706d6dbe578653c28",5967:"2f9129003f77bfeab2f9",5977:"aead7c9830fa310e5b53",6011:"9e869fd6450cf874783a",6018:"31186e83fe009aa0fd36",6049:"ba59568e748f0ba53b78",6052:"59889855d23baec1adf9",6129:"0271a2ca4e9b1e4fd284",6154:"4b14ee37b5ac50a734f9",6160:"b809d499ff050976d9ed",6187:"2c7038a7ffaf75344b02",6339:"538ddb267aa328814865",6343:"f98689562017583f73ee",6357:"c5c02ace54fe4ab9214b",6395:"78fc9a55e620602db1ff",6418:"262232437d37a7460b11",6468:"71dd80231ea656a6380c",6554:"db04b0a30cce9e476551",6558:"82ba4140e30f083fbc87",6647:"640085b5ade5c7f16228",6650:"dc5075b2326c79130baa",6673:"2463cebf904a3c46c639",6699:"27ec791318e81285c222",6730:"690a40d2eef52bfc149f",6787:"8c271e9272e4eaf1325a",6859:"06221ebadab32111e2c6",6956:"88aa71f02f43bb069345",7005:"e501d68a1464805c4b4e",7048:"f8caceeaa14d99c35526",7074:"60f2de8dd8876bfd715a",7087:"0f4e9846d074864b39c2",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"74881340e040bfd0580f",7367:"dee9867b3379e024ae96",7375:"110429583b28c28c36ee",7421:"a716b8fdeda4e16f03ab",7444:"ced12ad98f8f48d0dc00",7464:"727804cf901094b1d620",7528:"9ba8a2e1c0fb4e1efc7c",7546:"bd2a28b14e5c0a55d783",7548:"3001568a99fdd14aada9",7561:"60eeeea671a523bb6b15",7603:"86832d94190150c70c11",7656:"48820e12d94eb49c0a65",7677:"a5d25c71aa4dfaa878cf",7694:"1694b9154df3eccf602e",7817:"dc3a4ad62bc041a4f899",7836:"b56c07c0b43cb1999070",7883:"b9909264cfea68d5f2a1",7885:"b96af22ec1470905e4fb",7982:"ce99abfdcd71ff9e4e36",8010:"0ee407b8db5c07a00d82",8018:"9d0f0d055ec25af037e0",8098:"a67c3958d76d10c04fa6",8125:"44b6b7418cbf7f778bef",8140:"f693a4d97b2762d0e6ff",8207:"a9577a700b6a7b69d6aa",8241:"794960ec36e11f4416c2",8243:"d9958654c6438f28237b",8256:"a59dab47a58695c639da",8303:"297344c2c1119159d143",8344:"5b73c77587772120b209",8368:"ae6066ea6cb373dc6db3",8377:"9a855a10798348a21bab",8399:"3904f8732c9953cb177d",8411:"907083c427d7fb4354e9",8441:"20e4243ea563d05a5256",8487:"2795e491f803654413d2",8535:"e7f4d135ef9665de1468",8570:"51b78eca012eac92dd07",8628:"fc61443546f21869f8ba",8654:"3f8849c49f0e3ce7eb6b",8692:"c052fb8c952cda0b5d13",8714:"9921c8d4487a0f580b93",8720:"8d9e622cec13f5cea726",8766:"4ff40eea70d19c934504",8812:"920b4def081c78c0d586",8948:"1de216d9850c39c1735d",8969:"0a58b57e1777a8b0ea23",8993:"d1f4152b2b8d47cbf586",8999:"8c07396e9ea3007d6404",9e3:"9ff8ee6ed6b98c03ae7e",9013:"08ef90e3fcfd4eda4301",9036:"f6148611d883a59f8fb8",9041:"f3c232fc56a29d51196a",9062:"fb76b43181077c55a207",9110:"31675811cacdb6fd96cf",9117:"d764b6273974f4bca31b",9126:"c5cc0fc652432a9264cc",9159:"4cda42b94e9cb58dd372",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"e093e745708f722bc1b9",9203:"bcfa98b6866a96c194cb",9221:"6330d8767ba1d5329daa",9239:"9d258f14199181dee424",9247:"b59be95949445ff5afab",9263:"2c4218306747f5d15575",9265:"ab88577987cf2fe1cb32",9279:"b6dec5dfdeca54bae88d",9321:"4ce28c936eaffe57c448",9361:"9110287f272141f60c35",9384:"88cbaa91c495d86f4bb0",9419:"444026d1938c1078ca97",9466:"e6fa6f9c278589c8a713",9476:"c8d2cce4a426c72ab173",9506:"6e5d41f51572e3e7cf92",9573:"c582fb447c89d732cfff",9588:"1e848d9da1c61a27cf18",9616:"94dc8b0fa129f1e168c4",9644:"4f0de45a0a295d66d446",9645:"30c4af16e3a2acc25589",9695:"e229d51c8cc27588e113",9700:"768ae52b4e5c3e571ef5",9708:"edc3d98f33d7bf959154",9718:"1d877c3c96c40eab906c",9785:"22f745539ca54d8cd30d",9801:"a6324f5f560ffadc6e5d",9838:"a1b08aab73747f4e7e25",9911:"febce0d80f019dc2a427",9926:"98739414c107ad78e4d8",9933:"5e30acfda04f7fc2b676",9953:"7c08c0824ad354177787",9958:"d32aad968798948946e4"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,s,a]=t;for(var i in s)r.o(s,i)&&(r.m[i]=s[i]);for(a&&a(r);o.length;)e[o.pop()]=1;n(t)}})(),r(2131);var n=r(61322);RemoteClient=n})();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8487],{620:(e,t,s)=>{s.d(t,{O_:()=>f,vA:()=>i}),s(48163),s(87317),(0,s(91829).vt)();class r{constructor(e){this.message=e}toString(){return`AssertException: ${this.message}`}}function i(e,t="Assertion"){if(!e){const e=new Error(t).stack;throw new r(`${t} at ${e}`)}}function f(e,t,s,r){let i,f=(s[0]-e[0])/t[0],u=(r[0]-e[0])/t[0];f>u&&(i=f,f=u,u=i);let n=(s[1]-e[1])/t[1],c=(r[1]-e[1])/t[1];if(n>c&&(i=n,n=c,c=i),f>c||n>u)return!1;n>f&&(f=n),c<u&&(u=c);let h=(s[2]-e[2])/t[2],y=(r[2]-e[2])/t[2];return h>y&&(i=h,h=y,y=i),!(f>y||h>u||(y<u&&(u=y),u<0))}},13030:(e,t,s)=>{s.d(t,{Y$:()=>E,XW:()=>a,qB:()=>C,Qt:()=>G,My:()=>W,bf:()=>q,jZ:()=>_,j0:()=>x,Sx:()=>M,E$:()=>L,h:()=>V,P:()=>I,SL:()=>P,dy:()=>se,gH:()=>m,ZD:()=>T,si:()=>w,mJ:()=>H,UL:()=>K,D6:()=>z,Yi:()=>O,An:()=>j,LC:()=>N,xs:()=>A,EC:()=>S,Xm:()=>R,Vp:()=>J,zD:()=>ee,m8:()=>D,nS:()=>U,H$:()=>$,eI:()=>v,td:()=>re,Eq:()=>b,jz:()=>g,Aj:()=>Y,E7:()=>Q,Y4:()=>te,TX:()=>Z,Uz:()=>X,ml:()=>k,XP:()=>F});var r=s(34727),i=s(87317),f=s(91829),u=s(20498);class n{static{this.ElementCount=9}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=9;const f=this.TypedArrayConstructor;void 0===r&&(r=9*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;for(let e=0;e<9;++e)r[f++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class c{static{this.ElementCount=16}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=16;const f=this.TypedArrayConstructor;void 0===r&&(r=16*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){this.copyFromTypedBuffer(e,t.typedBuffer,s*t.typedBufferStride)}copyFromTypedBuffer(e,t,s){const r=this.typedBuffer;let i=e*this.typedBufferStride;for(let e=0;e<16;++e)r[i++]=t[s++]}get buffer(){return this.typedBuffer.buffer}}class h{static{this.ElementCount=1}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=1;const f=this.TypedArrayConstructor;void 0===r&&(r=f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}get(e){return this.typedBuffer[e*this.typedBufferStride]}set(e,t){this.typedBuffer[e*this.typedBufferStride]=t}get buffer(){return this.typedBuffer.buffer}}var y=s(37585);class d{static{this.ElementCount=2}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=2;const f=this.TypedArrayConstructor;void 0===r&&(r=2*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,y.hZ)(t,this.typedBuffer[e],this.typedBuffer[e+1])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e]=t[1]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}var l=s(38954);class p{static{this.ElementCount=3}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=3;const f=this.TypedArrayConstructor;void 0===r&&(r=3*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,l.h)(t,this.typedBuffer[e],this.typedBuffer[e+1],this.typedBuffer[e+2])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e]=t[2]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e]=r}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}class o{static{this.ElementCount=4}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=4;const f=this.TypedArrayConstructor;void 0===r&&(r=4*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,i.c)(t,this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e++]=t[2],this.typedBuffer[e]=t[3]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r,i){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e++]=r,this.typedBuffer[e]=i}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f++]=i[u++],r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}var B=s(620);class a extends h{constructor(e,t=0,s,r){(0,B.vA)(u.SX),super((0,u.pX)(),e,t,s,r),this.elementType="f16"}static{this.ElementType="f16"}}class E extends h{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class T extends d{constructor(e,t=0,s,r){(0,B.vA)(u.SX),super((0,u.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(T,e,t)}static{this.ElementType="f16"}}class m extends d{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(m,e,t)}static{this.ElementType="f32"}}class S extends p{constructor(e,t=0,s,r){(0,B.vA)(u.SX),super((0,u.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(S,e,t)}static{this.ElementType="f16"}}class A extends p{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(A,e,t)}static fromTypedArray(e,t){return new A(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f32"}}class g extends o{constructor(e,t=0,s,r){(0,B.vA)(u.SX),super((0,u.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(g,e,t)}static{this.ElementType="f16"}}class b extends o{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(b,e,t)}static{this.ElementType="f32"}}class _ extends n{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(_,e,t)}static{this.ElementType="f32"}}class x extends n{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(x,e,t)}static{this.ElementType="f64"}}class M extends c{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(M,e,t)}static{this.ElementType="f32"}}class L extends c{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(L,e,t)}static{this.ElementType="f64"}}class C extends h{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(C,e,t)}static{this.ElementType="f64"}}class w extends d{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(w,e,t)}static{this.ElementType="f64"}}class R extends p{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(R,e,t)}static fromTypedArray(e,t){return new R(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f64"}}class Y extends o{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(Y,e,t)}static{this.ElementType="f64"}}class P extends h{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(P,e,t)}static{this.ElementType="u8"}}class N extends d{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(N,e,t)}static{this.ElementType="u8"}}class v extends p{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(v,e,t)}static fromTypedArray(e,t){return new v(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="u8"}}class F extends o{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(F,e,t)}static{this.ElementType="u8"}}class V extends h{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(V,e,t)}static{this.ElementType="u16"}}class O extends d{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(O,e,t)}static{this.ElementType="u16"}}class U extends p{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(U,e,t)}static{this.ElementType="u16"}}class X extends o{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(X,e,t)}static{this.ElementType="u16"}}class I extends h{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(I,e,t)}static{this.ElementType="u32"}}class j extends d{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(j,e,t)}static{this.ElementType="u32"}}class $ extends p{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer($,e,t)}static{this.ElementType="u32"}}class k extends o{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(k,e,t)}static{this.ElementType="u32"}}class q extends h{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(q,e,t)}static{this.ElementType="i8"}}class z extends d{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(z,e,t)}static{this.ElementType="i8"}}class D extends p{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(D,e,t)}static{this.ElementType="i8"}}class Z extends o{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(Z,e,t)}static{this.ElementType="i8"}}class G extends h{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(G,e,t)}static{this.ElementType="i16"}}class H extends d{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(H,e,t)}static{this.ElementType="i16"}}class J extends p{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(J,e,t)}static{this.ElementType="i16"}}class Q extends o{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(Q,e,t)}static{this.ElementType="i16"}}class W extends h{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(W,e,t)}static{this.ElementType="i32"}}class K extends d{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(K,e,t)}static{this.ElementType="i32"}}class ee extends p{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(ee,e,t)}static{this.ElementType="i32"}}class te extends o{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(te,e,t)}static{this.ElementType="i32"}}class se extends P{constructor(e,t=0,s,r){super(e,t,s,r)}get(e){return this.typedBuffer[e*this.typedBufferStride]/255}set(e,t){this.typedBuffer[e*this.typedBufferStride]=Math.round(255*(0,r.qE)(t,0,1))}slice(e,t){return this.sliceBuffer(se,e,t)}}class re extends F{constructor(e,t=0,s,r){super(e,t,s,r)}getVec(e,t){return(0,i.s)(t,super.getVec(e,t),1/255)}setVec(e,t){(0,i.m)(ie,(0,i.b)(ie,t,f.uY),f.Un),(0,i.s)(ie,ie,255),(0,i.r)(ie,ie),super.setVec(e,ie)}get(e,t){return super.get(e,t)/255}set(e,t,s){super.set(e,t,Math.round(255*(0,r.qE)(s,0,1)))}setValues(e,t,s,r,f){(0,i.c)(ie,t,s,r,f),this.setVec(e,ie)}slice(e,t){return this.sliceBuffer(re,e,t)}}const ie=(0,f.vt)()},20498:(e,t,s)=>{s.d(t,{SX:()=>f,pX:()=>i});let r=globalThis.Float16Array;function i(){return r}let f=!!r},65686:(e,t,s)=>{s.d(t,{a:()=>f,b:()=>y,l:()=>h,n:()=>n,t:()=>u});var r=s(40876),i=(s(44208),s(53966));function f(e,t,s){u(e.typedBuffer,t.typedBuffer,s,e.typedBufferStride,t.typedBufferStride)}function u(e,t,s,r=4,i=r){if(e.length/r!==t.length/i)return;const f=e.length/r,u=s[0],n=s[1],c=s[2],h=s[3],y=s[4],d=s[5],l=s[6],p=s[7],o=s[8];let B=0,a=0;for(let s=0;s<f;s++){const s=t[B],f=t[B+1],E=t[B+2],T=t[B+3];e[a]=u*s+h*f+l*E,e[a+1]=n*s+y*f+p*E,e[a+2]=c*s+d*f+o*E,e[a+3]=T,B+=i,a+=r}}function n(e,t){const s=Math.min(e.count,t.count),r=e.typedBuffer,i=e.typedBufferStride,f=t.typedBuffer,u=t.typedBufferStride;for(let e=0;e<s;e++){const t=e*i,s=e*u,n=f[s],c=f[s+1],h=f[s+2],y=n*n+c*c+h*h;if(y>0){const e=1/Math.sqrt(y);r[t]=e*n,r[t+1]=e*c,r[t+2]=e*h}}}function c(e,t,s,r=4){const i=Math.min(e.length/r,t.count),f=t.typedBuffer,u=t.typedBufferStride;let n=0,c=0;for(let t=0;t<i;t++)e[c]=s*f[n],e[c+1]=s*f[n+1],e[c+2]=s*f[n+2],e[c+3]=s*f[n+3],n+=u,c+=r}function h(e,t,s,r){y(e.typedBuffer,t,s,r,e.typedBufferStride)}function y(e,t,s,i,f=4){const u=Math.min(e.length/f,t.count),n=t.typedBuffer,c=t.typedBufferStride;let h=0,y=0;const d=1/r.Tf;for(let t=0;t<u;t++)e[y]=i*(s*n[h])**d,e[y+1]=i*(s*n[h+1])**d,e[y+2]=i*(s*n[h+2])**d,e[y+3]=i*s*n[h+3],h+=c,y+=f}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:y,linearToSRGBView:h,normalize:n,scale:c,scaleView:function(e,t,s){c(e.typedBuffer,t,s,e.typedBufferStride)},transformMat3:u,transformMat3View:f,transformMat4:function(e,t,s,r=4,f=r){if(e.length/r!==t.length/f)return void i.A.getLogger("esri.views.3d.support.buffer.math").error("source and destination buffers need to have the same number of elements");const u=e.length/r,n=s[0],c=s[1],h=s[2],y=s[3],d=s[4],l=s[5],p=s[6],o=s[7],B=s[8],a=s[9],E=s[10],T=s[11],m=s[12],S=s[13],A=s[14],g=s[15];let b=0,_=0;for(let s=0;s<u;s++){const s=t[b],i=t[b+1],u=t[b+2],x=t[b+3];e[_]=n*s+d*i+B*u+m*x,e[_+1]=c*s+l*i+a*u+S*x,e[_+2]=h*s+p*i+E*u+A*x,e[_+3]=y*s+o*i+T*u+g*x,b+=f,_+=r}},transformMat4View:function(e,t,s){if(e.count!==t.count)return;const r=e.count,i=s[0],f=s[1],u=s[2],n=s[3],c=s[4],h=s[5],y=s[6],d=s[7],l=s[8],p=s[9],o=s[10],B=s[11],a=s[12],E=s[13],T=s[14],m=s[15],S=e.typedBuffer,A=e.typedBufferStride,g=t.typedBuffer,b=t.typedBufferStride;for(let e=0;e<r;e++){const t=e*A,s=e*b,r=g[s],_=g[s+1],x=g[s+2],M=g[s+3];S[t]=i*r+c*_+l*x+a*M,S[t+1]=f*r+h*_+p*x+E*M,S[t+2]=u*r+y*_+o*x+T*M,S[t+3]=n*r+d*_+B*x+m*M}}},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5967],{9093:(e,t,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(e,t,n,r,o,i,l,s,a,u,c,f,d,p,h,g){return[e,t,n,r,o,i,l,s,a,u,c,f,d,p,h,g]}},Symbol.toStringTag,{value:"Module"}))},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>o});var r=n(37539);function o(e,t,n,o,i,l,s=Math.floor(e.length/3)){const a=(0,r.jd)(t,i);if(null==a)return!1;if(a===r.pO){if(e===o&&n===l)return!0;const t=n+3*s;for(let r=n,i=l;r<t;r++,i++)o[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=l;t<u;t+=3,r+=3)a(e,t,o,r);return!0}},19356:(e,t,n)=>{n.d(t,{i:()=>r});const r=new(n(66552).J)({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"})},20061:(e,t,n)=>{n.d(t,{A:()=>p});var r,o=n(31635),i=n(69540),l=n(66552),s=n(25482),a=n(91429),u=n(56507),c=n(93223);const f=(0,l.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=r=class extends((0,i.OU)(s.o)){static from(e){return(0,u.PZ)(r,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,o.Cg)([(0,c.e)(f)],d.prototype,"order",void 0),d=r=(0,o.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],d);const p=d},29242:(e,t,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(e,t,n,r,o,i,l,s,a){return[e,t,n,r,o,i,l,s,a]}n.d(t,{fA:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635:(e,t,n)=>{function r(e,t,n,r){var o,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(l=(i<3?o(l):i>3?o(t,n,l):o(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function o(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>l,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function l(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34142:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var r=n(4576),o=n(34275),i=n(67026),l=n(82534),s=n(38954),a=n(72385),u=n(16930),c=n(9762),f=(n(44208),n(63531)),d=n(69846),p=n(48425),h=n(59418),g=n(37203);function y(e,t,n){return e?.attributeInfo.useElevation?t?function(e,t){const n=new Float64Array(t);for(let r=0;r<t;r++)n[r]=e[3*r+2];return n}(t,n):null:e?.attributeInfo.storageInfo?(0,h.m0)(e.attributeInfo.storageInfo,e.buffer,n,!0):null}function b(e){switch(e){default:case null:case"none":return e=>e;case"low-four-bit":return e=>15&e;case"high-four-bit":return e=>(240&e)>>4;case"absolute-value":return e=>Math.abs(e);case"modulo-ten":return e=>e%10}}function m(e){let t=0;for(const n of e||[])t|=1<<n;return t}var w=n(57005);class M{transform(e){const t=this._transform(e),n=[t.points.buffer,t.rgb.buffer];null!=t.pointIdFilterMap&&n.push(t.pointIdFilterMap.buffer);for(const e of t.attributes)"buffer"in e.values&&(0,o.mw)(e.values.buffer)&&e.values.buffer!==t.rgb.buffer&&n.push(e.values.buffer);return Promise.resolve({result:t,transferList:n})}_transform(e){const t=function(e,t){if(null==e.encoding||""===e.encoding){const n=(0,h.wH)(t,e);if(null==n.vertexAttributes.position)return;const r=(0,h.MA)(t,n.vertexAttributes.position),o=n.header.fields,i=[o.offsetX,o.offsetY,o.offsetZ],l=[o.scaleX,o.scaleY,o.scaleZ],s=r.length/3,a=new Float64Array(3*s);for(let e=0;e<s;e++)a[3*e]=r[3*e]*l[0]+i[0],a[3*e+1]=r[3*e+1]*l[1]+i[1],a[3*e+2]=r[3*e+2]*l[2]+i[2];return a}if("lepcc-xyz"===e.encoding)return(0,g.Me)(t).result}(e.schema,e.geometryBuffer);let n=t.length/3,o=null;const i=new Array,l=y(e.primaryAttributeData,t,n);null!=e.primaryAttributeData&&l&&i.push({attributeInfo:e.primaryAttributeData.attributeInfo,values:l});const s=y(e.modulationAttributeData,t,n);null!=e.modulationAttributeData&&s&&i.push({attributeInfo:e.modulationAttributeData.attributeInfo,values:s});let a=function(e,t,n,r){const{rendererJSON:o,isRGBRenderer:i}=e;let l=null,s=null;if(t&&i)l=t;else if(t&&"pointCloudUniqueValueRenderer"===o?.type){s=p.A.fromJSON(o);const e=s.colorUniqueValueInfos;l=new Uint8Array(3*r);const n=b(s.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(t[o]):t[o])+"";for(let t=0;t<e.length;t++)if(e[t].values.includes(r)){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else if(t&&"pointCloudStretchRenderer"===o?.type){s=d.A.fromJSON(o);const e=s.stops;l=new Uint8Array(3*r);const n=b(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o],i=e.length-1;if(r<e[0].value)l[3*o]=e[0].color.r,l[3*o+1]=e[0].color.g,l[3*o+2]=e[0].color.b;else if(r>=e[i].value)l[3*o]=e[i].color.r,l[3*o+1]=e[i].color.g,l[3*o+2]=e[i].color.b;else for(let t=1;t<e.length;t++)if(r<e[t].value){const n=(r-e[t-1].value)/(e[t].value-e[t-1].value);l[3*o]=e[t].color.r*n+e[t-1].color.r*(1-n),l[3*o+1]=e[t].color.g*n+e[t-1].color.g*(1-n),l[3*o+2]=e[t].color.b*n+e[t-1].color.b*(1-n);break}}}else if(t&&"pointCloudClassBreaksRenderer"===o?.type){s=f.A.fromJSON(o);const e=s.colorClassBreakInfos;l=new Uint8Array(3*r);const n=b(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o];for(let t=0;t<e.length;t++)if(r>=e[t].minValue&&r<=e[t].maxValue){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else l=new Uint8Array(3*r).fill(255);if(n&&s?.colorModulation){const e=s.colorModulation.minValue,t=s.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],s=r>=t?1:r<=e?o:o+(1-o)*(r-e)/(t-e);l[3*i]=s*l[3*i],l[3*i+1]=s*l[3*i+1],l[3*i+2]=s*l[3*i+2]}}return l}(e.rendererInfo,l,s,n);if(e.filterInfo&&e.filterInfo.length>0&&null!=e.filterAttributesData){const l=e.filterAttributesData.filter(r.Ru).map(e=>{const r=y(e,t,n),o={attributeInfo:e.attributeInfo,values:r};return i.push(o),o});o=new Uint32Array(n),n=function(e,t,n,r,o){const i=e.length/3;let l=0;for(let s=0;s<i;s++){let i=!0;for(let e=0;e<r.length&&i;e++){const{filterJSON:t}=r[e],n=o[e].values[s];switch(t.type){case"pointCloudValueFilter":{const e="exclude"===t.mode;t.values.includes(n)===e&&(i=!1);break}case"pointCloudBitfieldFilter":{const e=m(t.requiredSetBits),r=m(t.requiredClearBits);(n&e)===e&&0===(n&r)||(i=!1);break}case"pointCloudReturnFilter":{const e=15&n,r=n>>>4&15,o=r>1,l=1===e,s=e===r;let a=!1;for(const e of t.includedReturns)if("last"===e&&s||"firstOfMany"===e&&l&&o||"lastOfMany"===e&&s&&o||"single"===e&&!o){a=!0;break}a||(i=!1);break}}}i&&(n[l]=s,e[3*l]=e[3*s],e[3*l+1]=e[3*s+1],e[3*l+2]=e[3*s+2],t[3*l]=t[3*s],t[3*l+1]=t[3*s+1],t[3*l+2]=t[3*s+2],l++)}return l}(t,a,o,e.filterInfo,l)}for(const r of e.userAttributesData){const e=y(r,t,n);i.push({attributeInfo:r.attributeInfo,values:e})}3*n<a.length&&(a=a.slice(0,3*n)),function(e,t,n){if(0!==n)for(let r=0;r<t;r++)e[3*r+2]+=n}(t,n,e.elevationOffset);const c=v(t,n,w.ab.fromData(e.obbData),u.A.fromJSON(e.inSR),u.A.fromJSON(e.outSR));return{obbData:e.obbData,points:c,rgb:a,attributes:i,pointIdFilterMap:o}}}function v(e,t,n,r,o){if(!(0,c.projectBuffer)(e,r,0,e,o,0,t))throw new Error("Can't reproject");const l=(0,a.o8)(n.center),u=(0,a.vt)(),f=(0,a.vt)(),d=(0,a.o8)(n.halfSize);(0,i.Xr)(C,n.quaternion);const p=new Float32Array(3*t);for(let n=0;n<t;n++){let t=3*n;u[0]=e[t]-l[0],u[1]=e[t+1]-l[1],u[2]=e[t+2]-l[2],(0,s.r)(f,u,C),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),p[t++]=u[0],p[t++]=u[1],p[t]=u[2]}return n.halfSize=d,p}const C=(0,l.vt)();function A(){return new M}},34304:(e,t,n)=>{n.d(t,{DF:()=>a,FD:()=>o,Ov:()=>i,ct:()=>u});let r=1e-6;function o(){return r}const i=Math.random,l=Math.PI/180,s=180/Math.PI;function a(e){return e*l}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:o,setEpsilon:function(e){r=e},toDegree:u,toRadian:a},Symbol.toStringTag,{value:"Module"}))},37203:(e,t,n)=>{n.d(t,{Ax:()=>b,Me:()=>u,mb:()=>h});var r=n(49186);const o=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function l(e,t,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(e,n+i.identifierOffset,i.identifierLength)),version:t.getUint16(n+i.versionOffset,o),checksum:t.getUint32(n+i.checksumOffset,o)}}const s={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function a(e,t){return{sizeLo:e.getUint32(t+s.sizeLo,o),sizeHi:e.getUint32(t+s.sizeHi,o),minX:e.getFloat64(t+s.minX,o),minY:e.getFloat64(t+s.minY,o),minZ:e.getFloat64(t+s.minZ,o),maxX:e.getFloat64(t+s.maxX,o),maxY:e.getFloat64(t+s.maxY,o),maxZ:e.getFloat64(t+s.maxZ,o),errorX:e.getFloat64(t+s.errorX,o),errorY:e.getFloat64(t+s.errorY,o),errorZ:e.getFloat64(t+s.errorZ,o),count:e.getUint32(t+s.count,o),reserved:e.getUint32(t+s.reserved,o)}}function u(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:u}=l(e,t,n);if(n+=i.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const f=a(t,n);if(n+=s.byteCount,f.sizeHi*2**32+f.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),p=[],h=[],g=[],y=[];if(n=c(e,n,p),n=c(e,n,h),n=c(e,n,g),n=c(e,n,y),n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad length");let b=0,m=0;for(let e=0;e<p.length;e++){m+=p[e];let t=0;for(let n=0;n<h[e];n++){t+=g[b];const e=y[b];d[3*b]=Math.min(f.maxX,f.minX+2*f.errorX*t),d[3*b+1]=Math.min(f.maxY,f.minY+2*f.errorY*m),d[3*b+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*e),b++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function c(e,t,n){const r=[];t=f(e,t,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,t=f(e,t,o);for(let e=0;e<o.length;e++)n.push(o[e]+r[i])}return t}function f(e,t,n){const i=new DataView(e,t),l=i.getUint8(0),s=31&l,a=!!(32&l),u=(192&l)>>6;let c=0;if(0===u)c=i.getUint32(1,o),t+=5;else if(1===u)c=i.getUint16(1,o),t+=3;else{if(2!==u)throw new r.A("lepcc-decode-error","Bad count type");c=i.getUint8(1),t+=2}if(a)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*s/8),d=new Uint8Array(e,t,f);let p=0,h=0,g=0;const y=-1>>>32-s;for(let e=0;e<c;e++){for(;h<s;)p|=d[g]<<h,h+=8,g+=1;n[e]=p&y,p>>>=s,h-=s,h+s>32&&(p|=d[g-1]>>8-h)}return t+g}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function p(e,t){return{sizeLo:e.getUint32(t+d.sizeLo,o),sizeHi:e.getUint32(t+d.sizeHi,o),count:e.getUint32(t+d.count,o),colorMapCount:e.getUint16(t+d.colorMapCount,o),lookupMethod:e.getUint8(t+d.lookupMethod),compressionMethod:e.getUint8(t+d.compressionMethod)}}function h(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:s}=l(e,t,n);if(n+=i.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(s>1)throw new r.A("lepcc-decode-error","Unknown version");const a=p(t,n);if(n+=d.byteCount,a.sizeHi*2**32+a.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===a.lookupMethod||1===a.lookupMethod)&&0===a.compressionMethod){if(3*a.colorMapCount+a.count+n!==e.byteLength||a.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const t=new Uint8Array(e,n,3*a.colorMapCount),o=new Uint8Array(e,n+3*a.colorMapCount,a.count),i=new Uint8Array(3*a.count);for(let e=0;e<a.count;e++){const n=o[e];i[3*e]=t[3*n],i[3*e+1]=t[3*n+1],i[3*e+2]=t[3*n+2]}return i}if(0===a.lookupMethod&&0===a.compressionMethod){if(3*a.count+n!==e.byteLength||0!==a.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(e,n).slice()}if(a.lookupMethod<=2&&1===a.compressionMethod){if(n+3!==e.byteLength||1!==a.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=t.getUint8(n),i=t.getUint8(n+1),l=t.getUint8(n+2),s=new Uint8Array(3*a.count);for(let e=0;e<a.count;e++)s[3*e]=o,s[3*e+1]=i,s[3*e+2]=l;return s}throw new r.A("lepcc-decode-error","Bad method "+a.lookupMethod+","+a.compressionMethod)}const g={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function y(e,t){return{sizeLo:e.getUint32(t+g.sizeLo,o),sizeHi:e.getUint32(t+g.sizeHi,o),count:e.getUint32(t+g.count,o),scaleFactor:e.getUint16(t+g.scaleFactor,o),bitsPerPoint:e.getUint8(t+g.bitsPerPoint),reserved:e.getUint8(t+g.reserved)}}function b(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:s}=l(e,t,n);if(n+=i.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(s>1)throw new r.A("lepcc-decode-error","Unknown version");const a=y(t,n);if(n+=g.byteCount,a.sizeHi*2**32+a.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const u=new Uint16Array(a.count);if(8===a.bitsPerPoint){if(a.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint8Array(e,n,a.count);for(let e=0;e<a.count;e++)u[e]=t[e]*a.scaleFactor}else if(16===a.bitsPerPoint){if(2*a.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint16Array(e,n,a.count);for(let e=0;e<a.count;e++)u[e]=t[e]*a.scaleFactor}else{const t=[];if(f(e,n,t)!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let e=0;e<a.count;e++)u[e]=t[e]*a.scaleFactor}return u}},37539:(e,t,n)=>{n.d(t,{pO:()=>g,jd:()=>d,Tp:()=>p,w5:()=>f});var r=n(34727),o=n(86211),i=n(73941),l=n(79258);Math.PI;const s=l.$O.radius,a=l.$O.eccentricitySquared,u={a1:s*a,a2:s*a*s*a,a3:s*a*a/2,a4:s*a*s*a*2.5,a5:s*a+s*a*a/2,a6:1-a};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var c=n(21325);const f={2:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:b,11:m,2:g,4:j},5:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:b,11:m,2:g,4:j},7:{5:null,7:g,9:null,10:g,1:null,6:C,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){const o=e[t]/V,i=z-2*Math.atan(Math.exp(-e[t+1]/V)),l=V+(e[t+2]??0),s=Math.cos(i)*l;n[r]=Math.cos(o)*s,n[r+1]=Math.sin(o)*s,n[r+2]=Math.sin(i)*l},6:null,8:null,0:null,3:g,11:function(e,t,n,r){y(e,t,n,r),m(n,r,n,r)},2:y,4:function(e,t,n,r){y(e,t,n,r),j(n,r,n,r)}},4:{5:k,7:null,9:null,10:k,1:function(e,t,n,r){k(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){k(e,t,n,r),b(n,r,n,r)},11:function(e,t,n,r){k(e,t,n,r),m(n,r,n,r)},2:k,4:g},1:{5:U,7:null,9:null,10:U,1:g,6:null,8:null,0:null,3:function(e,t,n,r){U(e,t,n,r),b(n,r,n,r)},11:function(e,t,n,r){U(e,t,n,r),m(n,r,n,r)},2:U,4:function(e,t,n,r){U(e,t,n,r),j(n,r,n,r)}},6:{5:null,7:O,9:null,10:O,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:A,6:C,8:v,0:null,3:b,11:m,2:g,4:j},11:{5:w,7:null,9:null,10:w,1:function(e,t,n,r){w(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){w(e,t,n,r),b(n,r,n,r)},11:g,2:w,4:function(e,t,n,r){w(e,t,n,r),j(n,r,n,r)}}};function d(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(R.source.spatialReference===e&&R.dest.spatialReference===t)return R;const n=h(e,R.source),r=h(t,R.dest);return 0===n&&0===r?(0,c.aI)(e,t)?R.projector=g:R.projector=null:R.projector=f[n][r],R}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function y(e,t,n,r){n[r]=x*(e[t]/V),n[r+1]=x*(z-2*Math.atan(Math.exp(-e[t+1]/V))),n[r+2]=e[t+2]??0}function b(e,t,n,o){!function(e,t,n,o,i){const l=.4999999*Math.PI,s=(0,r.qE)(T*e[t+1],-l,l),a=Math.sin(s);n[o++]=T*e[t]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[o]=e[t+2]??0}(e,t,n,o,l.$O)}function m(e,t,n,r){n[r]=e[t]*q,n[r+1]=e[t+1]*q,n[r+2]=e[t+2]??0}function w(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function M(e,t,n,r,o){const i=o+(e[t+2]??0),l=T*e[t],s=T*e[t+1],a=Math.cos(s)*i;n[r]=Math.cos(l)*a,n[r+1]=Math.sin(l)*a,n[r+2]=Math.sin(s)*i}function v(e,t,n,r){M(e,t,n,r,l.Sw.radius)}function C(e,t,n,r){M(e,t,n,r,l.sH.radius)}function A(e,t,n,r){M(e,t,n,r,l.$O.radius)}function S(e,t,n,o,i){const l=e[t],s=e[t+1],a=e[t+2]??0,u=Math.sqrt(l*l+s*s+a*a),c=(0,r.YN)(a/(0===u?1:u)),f=Math.atan2(s,l);n[o++]=x*f,n[o++]=x*c,n[o]=u-i}function I(e,t,n,r){S(e,t,n,r,l.Sw.radius)}function O(e,t,n,r){S(e,t,n,r,l.sH.radius)}function U(e,t,n,r){S(e,t,n,r,l.$O.radius)}function j(e,t,n,r){!function(e,t,n,r,o){const i=T*e[t],l=T*e[t+1],s=e[t+2]??0,a=Math.sin(l),u=Math.cos(l),c=o.radius/Math.sqrt(1-o.eccentricitySquared*a*a);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-o.eccentricitySquared)+s)*a}(e,t,n,r,l.$O)}function k(e,t,n,r){const o=u,i=e[t],s=e[t+1],a=e[t+2]??0;let c,f,d,p,h,g,y,b,m,w,M,v,C,A,S,I,O,U,j,k,R;c=Math.abs(a),f=i*i+s*s,d=Math.sqrt(f),p=f+a*a,h=Math.sqrt(p),k=Math.atan2(s,i),g=a*a/p,y=f/p,A=o.a2/h,S=o.a3-o.a4/h,y>.3?(b=c/h*(1+y*(o.a1+A+g*S)/h),j=Math.asin(b),w=b*b,m=Math.sqrt(1-w)):(m=d/h*(1-g*(o.a5-A-y*S)/h),j=Math.acos(m),w=1-m*m,b=Math.sqrt(w)),M=1-l.$O.eccentricitySquared*w,v=l.$O.radius/Math.sqrt(M),C=o.a6*v,A=d-v*m,S=c-C*b,O=m*A+b*S,I=m*S-b*A,U=I/(C/M+O),j+=U,R=O+I*U/2,a<0&&(j=-j),n[r++]=x*k,n[r++]=x*j,n[r]=R}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},T=(0,r.kU)(1),x=(0,r.KJ)(1),z=.5*Math.PI,V=l.$O.radius,q=V*Math.PI/180,P=180/(V*Math.PI)},40876:(e,t,n)=>{n.d(t,{Eq:()=>p,G1:()=>g,TS:()=>i,Tf:()=>m,V6:()=>o,Vm:()=>h,ay:()=>a,c1:()=>y,c4:()=>l,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>M});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function l(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function a(e,t,n,r=1){const o=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,l=2*n-i;return[Math.round(255*s(l,i,o+1/3)),Math.round(255*s(l,i,o)),Math.round(255*s(l,i,o-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,o=t?1:17,i=t?9===e.length:5===e.length;let l=Number("0x"+e.slice(1));if(isNaN(l))return null;const s=[0,0,0,1];let a;return i&&(a=l&r,l>>=n,s[3]=o*a/255),a=l&r,l>>=n,s[2]=o*a,a=l&r,l>>=n,s[1]=o*a,a=l&r,l>>=n,s[0]=o*a,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),o=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function f(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?g(e[3]):1,e}function p(e){let t=o(e)?i(e):null;return t??=f(e),t??=c(e),t}function h(e){const t=p(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return b(e,0,1)}function y(e){return Math.round(b(e,0,255))}function b(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const m=2.2,w=1/m;function M(e){return e**w}},48425:(e,t,n)=>{n.d(t,{A:()=>b});var r,o=n(31635),i=n(4718),l=n(91429),s=n(51857),a=n(20061),u=n(68197),c=n(25482),f=n(56507);let d=r=class extends c.o{constructor(){super(...arguments),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new r({description:this.description,label:this.label,values:(0,i.o8)(this.values),color:(0,i.o8)(this.color)})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"description",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,o.Cg)([(0,l.MZ)({type:[String],json:{write:{isRequired:!0}}})],d.prototype,"values",void 0),(0,o.Cg)([(0,l.MZ)({type:u.A,json:{type:[f.jz],write:{isRequired:!0}}})],d.prototype,"color",void 0),d=r=(0,o.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],d);const p=d;var h,g=n(19356),y=n(93223);let b=h=class extends s.A{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new h({...this.cloneProperties(),field:(0,i.o8)(this.field),fieldTransformType:(0,i.o8)(this.fieldTransformType),colorUniqueValueInfos:(0,i.o8)(this.colorUniqueValueInfos),legendOptions:(0,i.o8)(this.legendOptions)})}};(0,o.Cg)([(0,y.e)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],b.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],b.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:g.i.apiValues,json:{type:g.i.jsonValues,read:g.i.read,write:g.i.write}})],b.prototype,"fieldTransformType",void 0),(0,o.Cg)([(0,l.MZ)({type:[p],json:{write:{isRequired:!0}}})],b.prototype,"colorUniqueValueInfos",void 0),(0,o.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],b.prototype,"legendOptions",void 0),b=h=(0,o.Cg)([(0,l.$K)("esri.renderers.PointCloudUniqueValueRenderer")],b)},51850:(e,t,n)=>{function r(){return[0,0,0]}function o(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function l(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function a(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(t,{CN:()=>l,Cb:()=>y,Cw:()=>h,JP:()=>g,Un:()=>p,ci:()=>s,fA:()=>i,o8:()=>o,uY:()=>d,vt:()=>r});const d=[0,0,0],p=a(),h=u(),g=c(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:h,UNIT_Y:g,UNIT_Z:y,ZEROS:d,clone:o,create:r,freeze:l,fromArray:s,fromValues:i,ones:a,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},51857:(e,t,n)=>{n.d(t,{A:()=>C});var r,o=n(31635),i=n(66552),l=n(25482),s=n(4718),a=n(91429);let u=r=class extends l.o{constructor(){super(...arguments),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new r({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"minValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"maxValue",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.ColorModulation")],u);const c=u,f=new i.J({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let d=class extends l.o{};(0,o.Cg)([(0,a.MZ)({type:f.apiValues,readOnly:!0,nonNullable:!0,json:{type:f.jsonValues,read:!1,write:{writer:f.write,isRequired:!0}}})],d.prototype,"type",void 0),d=(0,o.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],d);const p=d;var h,g=n(93223);let y=h=class extends p{constructor(){super(...arguments),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new h({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,o.Cg)([(0,g.e)({pointCloudFixedSizeAlgorithm:"fixed-size"})],y.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],y.prototype,"size",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"useRealWorldSymbolSizes",void 0),y=h=(0,o.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],y);const b=y;var m;let w=m=class extends p{constructor(){super(...arguments),this.type="splat",this.scaleFactor=1}clone(){return new m({scaleFactor:this.scaleFactor})}};(0,o.Cg)([(0,g.e)({pointCloudSplatAlgorithm:"splat"})],w.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,value:1,nonNullable:!0,json:{write:{isRequired:!0}}})],w.prototype,"scaleFactor",void 0),w=m=(0,o.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],w);const M={key:"type",base:p,typeMap:{"fixed-size":b,splat:w}},v=(0,i.O)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let C=class extends l.o{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,s.o8)(this.pointSizeAlgorithm),colorModulation:(0,s.o8)(this.colorModulation),pointsPerInch:(0,s.o8)(this.pointsPerInch)}}};(0,o.Cg)([(0,a.MZ)({type:v.apiValues,readOnly:!0,nonNullable:!0,json:{type:v.jsonValues,read:!1,write:{writer:v.write,isRequired:!0}}})],C.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:M,json:{write:!0}})],C.prototype,"pointSizeAlgorithm",void 0),(0,o.Cg)([(0,a.MZ)({type:c,json:{write:!0}})],C.prototype,"colorModulation",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0},nonNullable:!0,type:Number})],C.prototype,"pointsPerInch",void 0),C=(0,o.Cg)([(0,a.$K)("esri.renderers.PointCloudRenderer")],C)},59418:(e,t,n)=>{n.d(t,{wH:()=>g,MA:()=>d,E5:()=>p,m0:()=>b});var r=n(49186),o=n(4718),i=n(53966),l=n(34275),s=n(37203);const a=()=>i.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function u(e,t,n){let o="",i=0;for(;i<n;){const l=e[t+i];if(l<128)o+=String.fromCharCode(l),i++;else if(l>=192&&l<224){if(i+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const s=(31&l)<<6|63&e[t+i+1];o+=String.fromCharCode(s),i+=2}else if(l>=224&&l<240){if(i+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const s=(15&l)<<12|(63&e[t+i+1])<<6|63&e[t+i+2];o+=String.fromCharCode(s),i+=3}else{if(!(l>=240&&l<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const s=(7&l)<<18|(63&e[t+i+1])<<12|(63&e[t+i+2])<<6|63&e[t+i+3];if(s>=65536){const e=55296+(s-65536>>10),t=56320+(1023&s);o+=String.fromCharCode(e,t)}else o+=String.fromCharCode(s);i+=4}}}return o}function c(e,t){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<t.length;o++){const i=t[o],l=i.valueType||i.type,s=w[l];n.fields[i.property]=s(e,r),r+=m[l].BYTES_PER_ELEMENT}return n.byteCount=r,n}function f(e,t,n){const o=[];let i,l,s=0;for(l=0;l<e;l+=1){if(i=t[l],i>0){if(o.push(u(n,s,i-1)),0!==n[s+i-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);s+=i}return o}function d(e,t){return new(0,m[t.valueType])(e,t.byteOffset,t.count*t.valuesPerElement)}function p(e,t){if(!e)return null;const n=e[t];return(0,l.IY)(e)?n===l.PI?null:n:(0,l._G)(e)?n===l.h2?null:n:n!=n?null:n}function h(e,t,n){if(t!==e&&a().error(`Invalid ${n} buffer size\n expected: ${e}, actual: ${t})`),t<e)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:e,actualSize:t})}function g(e,t){const n=c(e,t&&t.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,l=null!=i.vertexCount?i.vertexCount:i.count;for(const e of t.ordering){if(!t.vertexAttributes[e])continue;const n={...t.vertexAttributes[e],byteOffset:r,count:l},i=y[e]||"_"+e;o.vertexAttributes[i]=n,r+=v(n.valueType)*n.valuesPerElement*l}const s=i.faceCount;if(t.faces&&s){o.faces={};for(const e of t.ordering){if(!t.faces[e])continue;const n={...t.faces[e],byteOffset:r,count:s};o.faces[e]=n,r+=v(n.valueType)*n.valuesPerElement*s}}const a=i.featureCount;if(t.featureAttributes&&t.featureAttributeOrder&&a){o.featureAttributes={};for(const e of t.featureAttributeOrder){if(!t.featureAttributes[e])continue;const n={...t.featureAttributes[e],byteOffset:r,count:a};o.featureAttributes[e]=n,r+=("UInt64"===n.valueType?8:v(n.valueType))*n.valuesPerElement*a}}return h(r,e.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const y={position:"position",normal:"normal",color:"color",uv0:"uv0",region:"uvRegion"};function b(e,t,n,i=!1){if("lepcc-rgb"===e.encoding)return i?(0,s.mb)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint8Array(e):e.length<l.y9?Array.from(e):e}((0,s.mb)(t));if("lepcc-intensity"===e.encoding)return i?(0,s.Ax)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint16Array(e):e.length<l.y9?Array.from(e):e}((0,s.Ax)(t));if(null!=e.encoding&&""!==e.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");e["attributeByteCounts "]&&!e.attributeByteCounts&&(a().warn("Warning: Trailing space in 'attributeByteCounts '."),e.attributeByteCounts=e["attributeByteCounts "]),"ObjectIds"===e.ordering[0]&&e.hasOwnProperty("objectIds")&&(a().warn("Warning: Case error in objectIds"),e.ordering[0]="objectIds");const u=function(e,t,n){const i=null!=t.header?c(e,t.header):{byteOffset:0,byteCount:0,fields:{count:n}},l={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let s=i.byteCount;for(let e=0;e<t.ordering.length;e++){const n=t.ordering[e],a=(0,o.o8)(t[n]);if(a.count=i.fields.count??0,"String"===a.valueType){if(a.byteOffset=s,a.byteCount=i.fields[n+"ByteCount"],"UTF-8"!==a.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:a.encoding});if(a.timeEncoding&&"ECMA_ISO8601"!==a.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:a.timeEncoding})}else{if(!M(a.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:a.valueType});{const e=v(a.valueType);s+=s%e!==0?e-s%e:0,a.byteOffset=s,a.byteCount=e*a.valuesPerElement*a.count}}s+=a.byteCount??0,l.entries[n]=a}return l.byteCount=s-l.byteOffset,l}(t,e,n);h(u.byteOffset+u.byteCount,t.byteLength,"attribute");const g=u.entries.attributeValues||u.entries.objectIds;if(g){if("String"===g.valueType){const e=u.entries.attributeByteCounts,n=d(t,e),r=function(e,t){return new Uint8Array(e,t.byteOffset,t.byteCount)}(t,g);return g.timeEncoding?function(e,t,n){return f(e,t,n).map(e=>{const t=e?Date.parse(e):null;return null==t||Number.isNaN(t)?null:t})}(e.count,n,r):f(e.count,n,r)}return i?d(t,g):function(e,t){const n=d(e,t);if(n.length>=l.y9)return n;const r=new Array;return n.forEach((e,t)=>r.push(p(n,t))),r}(t,g)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const m={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},w={Float32:(e,t)=>new DataView(e,0).getFloat32(t,!0),Float64:(e,t)=>new DataView(e,0).getFloat64(t,!0),UInt8:(e,t)=>new DataView(e,0).getUint8(t),Int8:(e,t)=>new DataView(e,0).getInt8(t),UInt16:(e,t)=>new DataView(e,0).getUint16(t,!0),Int16:(e,t)=>new DataView(e,0).getInt16(t,!0),UInt32:(e,t)=>new DataView(e,0).getUint32(t,!0),Int32:(e,t)=>new DataView(e,0).getInt32(t,!0)};function M(e){return m.hasOwnProperty(e)}function v(e){return M(e)?m[e].BYTES_PER_ELEMENT:0}},63531:(e,t,n)=>{n.d(t,{A:()=>b});var r,o=n(31635),i=n(4718),l=n(91429),s=n(51857),a=n(20061),u=n(68197),c=n(25482),f=n(56507);let d=r=class extends c.o{constructor(){super(...arguments),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new r({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,i.o8)(this.color)})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"description",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue",isRequired:!0}}})],d.prototype,"minValue",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue",isRequired:!0}}})],d.prototype,"maxValue",void 0),(0,o.Cg)([(0,l.MZ)({type:u.A,json:{type:[f.jz],write:{isRequired:!0}}})],d.prototype,"color",void 0),d=r=(0,o.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],d);const p=d;var h,g=n(19356),y=n(93223);let b=h=class extends s.A{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new h({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,i.o8)(this.colorClassBreakInfos),legendOptions:(0,i.o8)(this.legendOptions)})}};(0,o.Cg)([(0,y.e)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],b.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],b.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],b.prototype,"legendOptions",void 0),(0,o.Cg)([(0,l.MZ)({type:g.i.apiValues,json:{type:g.i.jsonValues,read:g.i.read,write:g.i.write}})],b.prototype,"fieldTransformType",void 0),(0,o.Cg)([(0,l.MZ)({type:[p],json:{write:{isRequired:!0}}})],b.prototype,"colorClassBreakInfos",void 0),b=h=(0,o.Cg)([(0,l.$K)("esri.renderers.PointCloudClassBreaksRenderer")],b)},68197:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(40876),o=n(34727),i=n(56507);function l(e){return(0,o.qE)((0,i.Vr)(e),0,255)}function s(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class a{static blendColors(e,t,n,r=new a){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?a.fromArray(n,t):null}static fromHex(e,t=new a){const n=(0,r.oW)(e);return n?a.fromArray(n,t):null}static fromArray(e,t=new a){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?a.fromArray(n,t):null}static fromJSON(e){return null!=e?new a([e[0],e[1],e[2],(e[3]??255)/255]):void 0}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e,t){return null==e?null:(t??=[0,0,0,0],t[0]=e.r/255,t[1]=e.g/255,t[2]=e.b/255,t[3]=null!=e.a?e.a:1,t)}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)a.fromString(e,this);else if(Array.isArray(e))a.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof a||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,o=4===n||8===n,i=`#${s(this.r,r)}${s(this.g,r)}${s(this.b,r)}${o?s(Math.round(255*this.a),r):""}`;return t?i.toUpperCase():i}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),n=l(this.g),r=l(this.b);return 0===e||1!==this.a?[t,n,r,l(255*this.a)]:[t,n,r]}clone(){return new a(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}a.prototype.declaredClass="esri.Color"},69540:(e,t,n)=>{n.d(t,{OU:()=>c,Pw:()=>f});var r=n(31635),o=n(69622),i=(n(44208),n(4718)),l=(n(53966),n(97768)),s=n(88620),a=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let o=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,o={},a=new Map;for(const t in n){const l=n[t],s=r?.originOf(t),u=l.clonable;if(l.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let f=null;if("function"==typeof u)f=u(c,e);else if("reference"===u)f=c;else if(f=(0,i.TU)(c,e),null!=c&&null==f)continue;0===s?a.set(t,f):o[t]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(a.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of a)e.set(t,n,0)}return u}};return o=(0,r.Cg)([(0,a.$)("esri.core.Clonable")],o),o},f=c(o.A)},69846:(e,t,n)=>{n.d(t,{A:()=>d});var r,o=n(31635),i=n(4718),l=n(91429),s=n(51857),a=n(20061),u=n(19356),c=n(72500),f=n(93223);let d=r=class extends s.A{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new r({...this.cloneProperties(),field:(0,i.o8)(this.field),fieldTransformType:(0,i.o8)(this.fieldTransformType),stops:(0,i.o8)(this.stops),legendOptions:(0,i.o8)(this.legendOptions)})}};(0,o.Cg)([(0,f.e)({pointCloudStretchRenderer:"point-cloud-stretch"})],d.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],d.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],d.prototype,"legendOptions",void 0),(0,o.Cg)([(0,l.MZ)({type:u.i.apiValues,json:{type:u.i.jsonValues,read:u.i.read,write:u.i.write}})],d.prototype,"fieldTransformType",void 0),(0,o.Cg)([(0,l.MZ)({type:[c.A],json:{write:{isRequired:!0}}})],d.prototype,"stops",void 0),d=r=(0,o.Cg)([(0,l.$K)("esri.renderers.PointCloudStretchRenderer")],d)},72385:(e,t,n)=>{function r(){return new Float32Array(3)}function o(e){const t=new Float32Array(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(e,t,n){const r=new Float32Array(3);return r[0]=e,r[1]=t,r[2]=n,r}function l(){return r()}function s(){return i(1,1,1)}function a(){return i(1,0,0)}function u(){return i(0,1,0)}function c(){return i(0,0,1)}n.d(t,{fA:()=>i,o8:()=>o,vt:()=>r});const f=l(),d=s(),p=a(),h=u(),g=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:p,UNIT_Y:h,UNIT_Z:g,ZEROS:f,clone:o,create:r,fromValues:i,ones:s,unitX:a,unitY:u,unitZ:c,zeros:l},Symbol.toStringTag,{value:"Module"}))},72500:(e,t,n)=>{n.d(t,{A:()=>f});var r,o=n(31635),i=n(68197),l=n(25482),s=n(91429),a=n(56507),u=n(43937);let c=r=class extends l.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,n){t[n]=e??0}clone(){return new r({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,o.Cg)([(0,s.MZ)({type:i.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"color",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],c.prototype,"value",void 0),(0,o.Cg)([(0,u.K)("value")],c.prototype,"writeValue",null),c=r=(0,o.Cg)([(0,s.$K)("esri.renderers.visualVariables.support.ColorStop")],c);const f=c},77690:(e,t,n)=>{n.d(t,{B8:()=>s,Ge:()=>p,I0:()=>d,KC:()=>a,a4:()=>u,hZ:()=>i,hs:()=>f,lw:()=>c,mg:()=>l,z0:()=>o});var r=n(34304);function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function i(e,t,n,r,o,i,l,s,a,u){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=l,e[6]=s,e[7]=a,e[8]=u,e}function l(e,t){if(e===t){const n=t[1],r=t[2],o=t[5];e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=r,e[7]=o}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e}function s(e,t){const n=t[0],r=t[1],o=t[2],i=t[3],l=t[4],s=t[5],a=t[6],u=t[7],c=t[8],f=c*l-s*u,d=-c*i+s*a,p=u*i-l*a;let h=n*f+r*d+o*p;return h?(h=1/h,e[0]=f*h,e[1]=(-c*r+o*u)*h,e[2]=(s*r-o*l)*h,e[3]=d*h,e[4]=(c*n-o*a)*h,e[5]=(-s*n+o*i)*h,e[6]=p*h,e[7]=(-u*n+r*a)*h,e[8]=(l*n-r*i)*h,e):null}function a(e,t){const n=t[0],r=t[1],o=t[2],i=t[3],l=t[4],s=t[5],a=t[6],u=t[7],c=t[8];return e[0]=l*c-s*u,e[1]=o*u-r*c,e[2]=r*s-o*l,e[3]=s*a-i*c,e[4]=n*c-o*a,e[5]=o*i-n*s,e[6]=i*u-l*a,e[7]=r*a-n*u,e[8]=n*l-r*i,e}function u(e){const t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],l=e[5],s=e[6],a=e[7],u=e[8];return t*(u*i-l*a)+n*(-u*o+l*s)+r*(a*o-i*s)}function c(e,t,n){const r=t[0],o=t[1],i=t[2],l=t[3],s=t[4],a=t[5],u=t[6],c=t[7],f=t[8],d=n[0],p=n[1],h=n[2],g=n[3],y=n[4],b=n[5],m=n[6],w=n[7],M=n[8];return e[0]=d*r+p*l+h*u,e[1]=d*o+p*s+h*c,e[2]=d*i+p*a+h*f,e[3]=g*r+y*l+b*u,e[4]=g*o+y*s+b*c,e[5]=g*i+y*a+b*f,e[6]=m*r+w*l+M*u,e[7]=m*o+w*s+M*c,e[8]=m*i+w*a+M*f,e}function f(e,t,n){const r=n[0],o=n[1],i=n[2];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=o*t[3],e[4]=o*t[4],e[5]=o*t[5],e[6]=i*t[6],e[7]=i*t[7],e[8]=i*t[8],e}function d(e,t){const n=t[0],r=t[1],o=t[2],i=t[3],l=n+n,s=r+r,a=o+o,u=n*l,c=r*l,f=r*s,d=o*l,p=o*s,h=o*a,g=i*l,y=i*s,b=i*a;return e[0]=1-f-h,e[3]=c-b,e[6]=d+y,e[1]=c+b,e[4]=1-u-h,e[7]=p-g,e[2]=d-y,e[5]=p+g,e[8]=1-u-f,e}function p(e,t){const n=t[0],r=t[1],o=t[2],i=t[3],l=t[4],s=t[5],a=t[6],u=t[7],c=t[8],f=t[9],d=t[10],p=t[11],h=t[12],g=t[13],y=t[14],b=t[15],m=n*s-r*l,w=n*a-o*l,M=n*u-i*l,v=r*a-o*s,C=r*u-i*s,A=o*u-i*a,S=c*g-f*h,I=c*y-d*h,O=c*b-p*h,U=f*y-d*g,j=f*b-p*g,k=d*b-p*y;let R=m*k-w*j+M*U+v*O-C*I+A*S;return R?(R=1/R,e[0]=(s*k-a*j+u*U)*R,e[1]=(a*O-l*k-u*I)*R,e[2]=(l*j-s*O+u*S)*R,e[3]=(o*j-r*k-i*U)*R,e[4]=(n*k-o*O+i*I)*R,e[5]=(r*O-n*j-i*S)*R,e[6]=(g*A-y*C+b*v)*R,e[7]=(y*M-h*A-b*w)*R,e[8]=(h*C-g*M+b*m)*R,e):null}function h(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e}const g=c,y=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e},adjoint:a,copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},determinant:u,equals:function(e,t){const n=e[0],o=e[1],i=e[2],l=e[3],s=e[4],a=e[5],u=e[6],c=e[7],f=e[8],d=t[0],p=t[1],h=t[2],g=t[3],y=t[4],b=t[5],m=t[6],w=t[7],M=t[8],v=(0,r.FD)();return Math.abs(n-d)<=v*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(o-p)<=v*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(i-h)<=v*Math.max(1,Math.abs(i),Math.abs(h))&&Math.abs(l-g)<=v*Math.max(1,Math.abs(l),Math.abs(g))&&Math.abs(s-y)<=v*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(u-m)<=v*Math.max(1,Math.abs(u),Math.abs(m))&&Math.abs(c-w)<=v*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(f-M)<=v*Math.max(1,Math.abs(f),Math.abs(M))},exactEquals:function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]},frob:function(e){return Math.sqrt(e[0]**2+e[1]**2+e[2]**2+e[3]**2+e[4]**2+e[5]**2+e[6]**2+e[7]**2+e[8]**2)},fromMat2d:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e},fromMat4:o,fromQuat:d,fromRotation:function(e,t){const n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},fromScaling:function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},fromTranslation:function(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},invert:s,isOrthoNormal:function(e){const t=(0,r.FD)(),n=e[0],o=e[1],i=e[2],l=e[3],s=e[4],a=e[5],u=e[6],c=e[7],f=e[8];return Math.abs(1-(n*n+l*l+u*u))<=t&&Math.abs(1-(o*o+s*s+c*c))<=t&&Math.abs(1-(i*i+a*a+f*f))<=t},mul:g,multiply:c,multiplyScalar:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e},multiplyScalarAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e},normalFromMat4:p,normalFromMat4Legacy:function(e,t){const n=t[0],r=t[1],o=t[2],i=t[4],l=t[5],s=t[6],a=t[8],u=t[9],c=t[10],f=c*l-s*u,d=-c*i+s*a,p=u*i-l*a,h=n*f+r*d+o*p;if(!h)return null;const g=1/h;return e[0]=f*g,e[1]=(-c*r+o*u)*g,e[2]=(s*r-o*l)*g,e[3]=d*g,e[4]=(c*n-o*a)*g,e[5]=(-s*n+o*i)*g,e[6]=p*g,e[7]=(-u*n+r*a)*g,e[8]=(l*n-r*i)*g,e},projection:function(e,t,n){return e[0]=2/t,e[1]=0,e[2]=0,e[3]=0,e[4]=-2/n,e[5]=0,e[6]=-1,e[7]=1,e[8]=1,e},rotate:function(e,t,n){const r=t[0],o=t[1],i=t[2],l=t[3],s=t[4],a=t[5],u=t[6],c=t[7],f=t[8],d=Math.sin(n),p=Math.cos(n);return e[0]=p*r+d*l,e[1]=p*o+d*s,e[2]=p*i+d*a,e[3]=p*l-d*r,e[4]=p*s-d*o,e[5]=p*a-d*i,e[6]=u,e[7]=c,e[8]=f,e},scale:f,scaleByVec2:function(e,t,n){const r=n[0],o=n[1];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=o*t[3],e[4]=o*t[4],e[5]=o*t[5],e},set:i,str:function(e){return"mat3("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+")"},sub:y,subtract:h,translate:function(e,t,n){const r=t[0],o=t[1],i=t[2],l=t[3],s=t[4],a=t[5],u=t[6],c=t[7],f=t[8],d=n[0],p=n[1];return e[0]=r,e[1]=o,e[2]=i,e[3]=l,e[4]=s,e[5]=a,e[6]=d*r+p*l+u,e[7]=d*o+p*s+c,e[8]=d*i+p*a+f,e},transpose:l},Symbol.toStringTag,{value:"Module"}))}}]);