@arcgis/core 4.34.0-next.79 → 4.34.0-next.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/14743a962e661babe0a4.js +1 -0
- package/assets/esri/core/workers/chunks/{43818bf53dd5445a7bdb.js → b815c2f61fb9c58a2956.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d91e2d185be4a4e8598.js → c6d4b8d683a34fc0d111.js} +1 -1
- package/assets/esri/core/workers/chunks/d0a149050f7f1c1ada09.js +1 -0
- package/chunks/LineMarker.glsl.js +24 -24
- package/chunks/RibbonLine.glsl.js +57 -47
- package/config.js +1 -1
- package/interfaces.d.ts +28 -16
- package/kernel.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/support/Sublayer.js +1 -1
- package/package.json +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/flow/utils.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/support/flow/FlowSubViewExtent3D.js +1 -1
- package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
- package/views/3d/support/flow/FlowWorker.js +1 -1
- package/views/3d/support/flow/StreamlineResources3D.js +1 -1
- package/views/3d/support/flow/StreamlineResources3DOverlay.js +1 -1
- package/views/3d/support/flow/StreamlineResources3DShape.js +1 -1
- package/views/3d/support/flow/VisualQuery3D.js +1 -1
- package/views/3d/support/flow/constants.js +5 -0
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/flow/loadUtils.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +20 -14
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js +24 -18
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/draw/support/Reshape.js +1 -1
- package/assets/esri/core/workers/chunks/0309d008e50e55c7ff1d.js +0 -1
- package/assets/esri/core/workers/chunks/0bae29ffcbb812d3ba0d.js +0 -1
|
@@ -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,{Ji:()=>s,MJ:()=>a,Mo:()=>g,Ru:()=>_,TF:()=>v,VO:()=>c,Xj:()=>f,Xy:()=>h,aI:()=>i,iv:()=>l,k4:()=>w,mW:()=>m,qh:()=>b,vW:()=>u});var n=r(21818),o=r(87811);const s=1.5;function a(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 i(e,t,r){return a(e,0,e?.length??0,t,0,t?.length??0,r)}function c(){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 l(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 f(e){return e&&"number"==typeof e.length}class u{constructor(){this.last=0}}const d=new u;function b(e,t,r,n){n=n||d;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 h(e,t,r,o){const s=r??e.length,a=b(e,(0,n.zI)(t),s,o);if(-1!==a)return e[a]=e[s-1],null==r&&e.pop(),t}const p=new Set;function m(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;p.clear();for(let e=0;e<n;++e)p.add(t[e]);o=o||d;const a=Math.max(0,o.last-10);for(let t=a;t<r;++t)if(p.has(e[t])&&(s?.push(e[t]),p.delete(e[t]),e[t]=e[r-1],--r,--t,0===p.size||0===r))return p.clear(),r;for(let t=0;t<a;++t)if(p.has(e[t])&&(s?.push(e[t]),p.delete(e[t]),e[t]=e[r-1],--r,--t,0===p.size||0===r))return p.clear(),r;return p.clear(),r}function g(e){return e?(y.seed=e,()=>y.getFloat()):Math.random}const y=new o.A;function w(e,t){if(!e)return e;const r=g(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 v(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function _(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,o){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 s;if(function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(s=d(r.transferList),t.data=r.result):(s=d(o),t.data=r),s){if((0,n.A)("ff"))for(const r of s)if("byteLength"in r&&r.byteLength>267386880){const r="Worker call with large ArrayBuffer would crash Firefox";switch(t.type){case a.INVOKE:throw r;case a.RESPONSE:return void f(e,{type:a.RESPONSE,jobId:t.jobId,error:l(r)})}}e.postMessage(t,s)}else 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="20250909",o="2d2e545f4b38647d958daa210119478f472d8694"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){return e}r.d(t,{Xb:()=>n,zI:()=>o}),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,OO:()=>_,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;function _(e){return e}},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";let n;r.d(t,{A:()=>s});const o=globalThis;function s(e){return"function"==typeof n[e]?n[e]=n[e](o):n[e]}n=o.dojoConfig?.has||o.esriConfig?.has?{...o.dojoConfig?.has,...o.esriConfig?.has}:{},s.add=(e,t,r,o)=>{(o||void 0===n[e])&&(n[e]=t),r&&s(e)},s.cache=n,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!==o.WorkerGlobalScope&&self instanceof o.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 o.process||!o.process.versions?.node||!o.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(o.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 o),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 o,t=!1===o.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 o),s.add("esri-workers","Worker"in o),s.add("web-feat:cache","caches"in o),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("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-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("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={statsWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009)),geometryEngineWorker:()=>Promise.all([r.e(9930),r.e(8887)]).then(r.bind(r,68887)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(9536)]).then(r.bind(r,40752)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(135)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(3577),r.e(8487),r.e(1784)]).then(r.bind(r,38419)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(7115),r.e(8702)]).then(r.bind(r,12543)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8786),r.e(7115),r.e(3443),r.e(5363),r.e(2492)]).then(r.bind(r,82492)),PointCloudWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(2603),r.e(7005),r.e(7984),r.e(7242)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(871)]).then(r.bind(r,30139)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(4946),r.e(2603),r.e(431),r.e(2504)]).then(r.bind(r,27444)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),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(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(7005),r.e(655),r.e(3474),r.e(1793),r.e(9691)]).then(r.bind(r,60271)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),FlowWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(3033)]).then(r.bind(r,13033)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8786),r.e(4841)]).then(r.bind(r,6557)),PanoramicMeshWorker:()=>r.e(6982).then(r.bind(r,96982))};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="4.34";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="4.34.0-next.79",(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=void 0){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:()=>R,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>N,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>q,s_:()=>C,tk:()=>ne,ut:()=>L,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>T});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=T(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=T(e);let n,o;if(r){const e=E(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 E(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 W(e){return(e=fe(e=be(e=E(e).path),!0)).toLowerCase()}function N(e){const t={proxyUrl:e.proxyUrl,urlPrefix:W(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 T(e){const t=u.proxyRules,r=W(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function R(e,t){if(!e||!t)return!1;e=U(e),t=U(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 L(e,t){return e=U(e),t=U(t),fe(e)===fe(t)}function U(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function q(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()&&!T(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=E(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="4.34.0-next.79";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:"516864fb68025acc7db6",61:"ccd157ede169b93eea65",73:"03e5d1a00d85e4d16bff",132:"43818bf53dd5445a7bdb",135:"45aeff2f751f124f8e53",146:"050429f516149ce3b517",168:"cd1869e183001266c4c1",177:"e5a9c37de44508e9733b",191:"09b77f82c22530b44daa",212:"ae8dce1a43ca7019f81d",217:"6391ce002fbde9f27a77",224:"b15ff6c9ef2de8a49853",309:"65e279516170ddbd4a65",353:"138c11b5eca621e51396",364:"3d800fbc449bea18b1cd",369:"af00081b78fc30ac556c",382:"b0e52c3775f05aaf7ff6",390:"41f487713c6278d389a1",427:"b0508c96338d7cf296c1",431:"49486c2e12e768b347ed",490:"4823e4522bd7379d858e",547:"8736b78256037b145f8b",563:"31c6e951b99315e8e68a",573:"8cae725e631d922853c8",588:"f45c343527709f6f91c2",591:"a17ed7ce97e69466d730",603:"c78de6dd6c10280cee69",624:"0dfc2ca36014910457ef",647:"48b9ba825856a0c843ff",655:"9971de3f38a55735cec9",688:"ee78a38a0cacb19b2fd4",692:"9e47f680b66320dcfd34",708:"5ea03f53d4d64d9e7cae",744:"5dee8c0c60ced791e57f",795:"813efde41e90e652b7db",807:"d07d3b0e06f12aee4a8b",812:"71fef0a33b7ed9456e47",820:"3c5f07ebe1b09dcdc958",860:"36a006c55766f9540bfc",871:"5e1d6704ee0aa41b1d06",873:"20ae2316d927415f3df9",957:"d7fc8ea2ff527a09f4b9",979:"49cb78c85de0102e5f02",980:"edaf059c7ea18088c3dd",985:"7a23b127f551bf13ef54",1017:"ce8f56cf371812b57a46",1082:"e8e0f73fb94e63e2abc3",1088:"eada3483116a5ea8baed",1190:"ce569860b170700e9b31",1204:"e9311386f58f3cb95c22",1214:"009556f323e58271bc7a",1224:"c799f1c03cb22ef52f5f",1273:"d7adef4093ce19ad356d",1277:"6e4ec9fa931c69e4e4ba",1352:"82404ff7c298493ff6f4",1360:"ce0bf0d0cd9e9a90093b",1384:"ed8a85efbd90241512bb",1407:"c90571063bd2bb57a5a7",1414:"69ae235423f0b1bdfcb4",1421:"9a20be3b02c9d6349b8d",1436:"ed773dab5965e42a2879",1598:"59139347495988b19061",1713:"9c5dcef2a75d4bb9b3d6",1728:"9eb1bfcb9b05f2a36748",1776:"b19d723d09f5bea9ca27",1784:"97d71459ad72b4b780a3",1791:"6dafb2b95bae552c1cc2",1793:"ede479faa4e6920fe673",1812:"885a398de8a33d36c59e",1863:"86378d4f4d7f9a370c22",1867:"c90830ee562b5ddc4f8b",1878:"65fd971d0574d69cbc26",1882:"a6533bab3b2fbc1e2a47",1918:"db81d881805f6f92a2e4",1956:"56edb55b53779e7fd31e",2095:"22a66db7d73e733917e3",2158:"1d9212a70df68a508dca",2186:"36fe6b8228e622407ec2",2189:"589a0e244ef5f1b84ab6",2288:"4e6e8dda6c12f6fbed8e",2314:"23e17b745adf71a5efc7",2343:"61bb39597ccf89f99a72",2372:"21d7f42c2033de987b97",2390:"a34a14fd989dbbd3c2d0",2492:"5c1cdc2ec06c4c6bd0b3",2503:"43fba9d6be5971ec20a9",2504:"0427f66b56ec6601deb0",2507:"3c0990c4be06a2fd51e9",2515:"b246ed6d86c2c8df56fb",2558:"bbdadced49446c907361",2561:"bbb585f0b484ab5eabb3",2568:"aa84775399420e35c6a5",2593:"3245663da75e168bf85c",2603:"2b7f9a57a2cfbc108673",2657:"7f0c78bcba0aed3c4eff",2731:"6b0baecbd35d26393dcf",2741:"9346437b152b20bdcf8a",2763:"0dd6b8b3e634bb5f0ca7",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2869:"2fe96bf7dedef11a3b63",2958:"66db5f77e09d25e33951",2980:"eafc4da265469e9e5e0b",3009:"3fe7be535affae31de7e",3033:"0309d008e50e55c7ff1d",3054:"c779c8b98e07fa881c1d",3081:"09f1a27442bdd52cdeb7",3091:"976dd80e318266ab4c2c",3103:"7b17f52019762aa21af8",3116:"99ac292a858bbedc6a89",3169:"e689a4849f5af3f2f641",3217:"e760b8ca64d67c04d98a",3236:"1ed7a8f4a0058d3b69ef",3263:"d153b29c542c37ae1636",3285:"98175b454e807b1a3c5f",3299:"1bf17c6548ac4cd5a166",3310:"124f8757ea18bfd158ec",3331:"dca2b487152cde45fb65",3356:"8d91e2d185be4a4e8598",3359:"88d8ff0140f5ea97c6b7",3367:"637a5293e36f4f7f2853",3390:"65ec21d29e8563fdbc55",3443:"72ecf49d03bb24bf0998",3474:"88b8f33ce1cbf8a0f855",3513:"f88fe2e8fbc763bdc940",3543:"1c52999a6392370844a6",3548:"b4a053063e6022080d31",3561:"f03635ddf56e2ef90e4c",3562:"3ff3e1507220d3869c76",3577:"5019f1b8186a65a0313b",3637:"914eaed113dda727eb47",3661:"547af4ffbeeccba9d187",3666:"755e2ecd20b6bd1909be",3747:"4d47187bc0821413492d",3779:"23f54b49742098def8ae",3813:"f5710ced8d38f9a90fc5",3910:"c38360d912f256519e06",3937:"9046a792395da28fa8f7",4038:"c95e6bef8c97cf647869",4045:"0652d7e525d99e39c957",4097:"82d5aa8ba4a67160ea69",4123:"5a6b487b70ca85a45f57",4167:"831a69e5a87e92830fbe",4224:"3b23c37e5bc552dc81d4",4342:"ed8863c3d334f438b625",4383:"56569d0c2cf5c5167651",4496:"9280edff80fd87860a5e",4526:"a48f980c1531805db73b",4575:"f9decc88561c03aca3c9",4660:"f8d2c52cc51d5f1bbce2",4753:"e080628ac6e1cf25dc72",4784:"1c7fffb496af6f2540dd",4800:"2266a8f2c2ec37c19bb4",4806:"8bd6c27a93a697a7fa3d",4812:"b4b26cc2ba3ff30e1d03",4815:"6688efc71d9d8f4d2559",4841:"dd84f630466a26722d57",4903:"1990162dcf73601d54f7",4929:"e0bbfbe1ed39c82f1bd4",4946:"23e600e368ac829680b5",4996:"ecac5ca00c742bfb5898",5066:"58422c616a824ab49218",5141:"e19cd07df8ce87e18832",5165:"f592c4e5e1746d4619db",5180:"d2371f5034b2a32e2523",5181:"be8dd8e68c8805300ad1",5257:"8644c54b4f00c53bab80",5294:"3b2ef975831eb75b40fb",5323:"700b5a536f97233bc4af",5363:"80bd5988180f4618fd61",5367:"d48af7bc06b4bb176534",5404:"23a13fbab9984953a7c6",5455:"d66cdb9bb494da19696b",5549:"6201356f7f91e5c06425",5552:"672c04d48aa51f16e9b7",5605:"459a67928bde4a62b6a4",5613:"bc83bcfe123525d21884",5655:"bd4125d163f372a7e978",5666:"28a5a7c6b3d6902146f6",5710:"96e483db7dd1f5dbb07a",5740:"a7fcb60d5a9d2d9560e4",5756:"8bbae8ac586e5c0819d2",5794:"22f196d173711ebd64c7",5804:"6bb5158de43c4b59107f",5856:"0b24a6c06d1becbb6815",5874:"cef9ff811221a7c3812c",5890:"acb49f3d2b783e81a215",5897:"a85acb948cc7d22be592",5902:"19f1bfe815896d4983af",5913:"c5fe356fc5b8b7be0d31",5924:"bd451668c4ce9f7d7128",5950:"486ea51306c619238e41",5971:"5610dfde4e636e2333a9",6018:"709dc98379f4ce18a0b5",6049:"fdae43a97537093e4b97",6052:"ab005fe84952f0676020",6154:"a987731d1b5449d8fb0c",6160:"69e6000044bfb03776ac",6171:"804e3b3df375177e6c86",6187:"388873be1dca91ccbc9d",6277:"b168b6ffc16cd509d316",6339:"00bbd37910c70989b54d",6343:"f98689562017583f73ee",6357:"388482cea4b9fdeaf06e",6395:"9c64b78c5c9b35b31d98",6468:"f5c821ca2911a5103c9a",6554:"e4833b718a813a8d125b",6558:"7db105f6b688b6da8106",6650:"ffee8cc83d703c1dc0c0",6699:"07a355a9c95154971aab",6713:"b78ea9cc4d5f2fd3d871",6730:"81a8addcb858086ff9ee",6791:"9cdeead9d444e8d95477",6859:"b53008c1461dd6bacc63",6982:"fd1fdb97a294a1b7041d",7005:"39a1f361bb69073af765",7048:"0bae29ffcbb812d3ba0d",7074:"cf5db995ba88912cf6b7",7087:"977582cb3c8f17a2cb4c",7091:"c24214666d10cb648428",7115:"83065bef261314f9b2c5",7136:"16d66770ef841564ee3f",7242:"d71836cf70b9604832f1",7243:"c6077a893d5b5c34a46c",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"fdc8300b6374ef2b8b3e",7367:"79968c183135281d2a6f",7375:"a07321a901d6847d1a6b",7444:"d0296368ae143de4d5ce",7464:"6271a706ac3fcba91432",7528:"64c31c90e4c589ca2f04",7546:"d08b80583a23ba253c7e",7548:"7889a909394c61a9d3e0",7559:"451555af283b32a10fef",7561:"9a0b9d931c1a29e81475",7603:"86832d94190150c70c11",7656:"5993427325d1add18ed9",7677:"da1a5537e2f2ca6cc247",7694:"2bb61f80473b495163e3",7817:"7aa7aff6d42be7c2d1d2",7836:"2845a0810e9c00bf30f8",7883:"d51e8eeb1e1eb0605cc9",7982:"afb2770c4abbff9bab3d",7984:"a244afea77127e54dd3a",8010:"5d1d909354c90cb8eb60",8018:"6e5175b43220d6692263",8098:"280af3640f8e93c1024e",8125:"be06c8a58c217a17451b",8140:"79ab06fb4c91ac8da323",8207:"d8494617cebc68e50d35",8241:"1859a11df9f579b993d7",8256:"9673e25114fc1897460d",8303:"025f1d78dfa5ec93178b",8344:"f594df2f5ce6ca41a254",8368:"ae6066ea6cb373dc6db3",8399:"0f37204f86d2997a2811",8411:"5d4b24c864ebb68ae61e",8487:"4753793daf0b7ff8b5ff",8506:"541bffd61006d0e36166",8535:"22bd4255b6b511a43b66",8628:"17103e6542aae53c7301",8692:"afb76f9d6abedef771df",8702:"2605062e44f2d4e73f14",8714:"809a9055da28c8fa58b0",8766:"da42cc4f6142846cb745",8786:"20850b0fdb55fb17bc90",8812:"920b4def081c78c0d586",8887:"213e82a7e3fa5b253ec1",8969:"2a2a925c45d5fd58628b",8991:"6e2a3abc3dbc342212c4",9e3:"67d9cfe02613cb73ee37",9013:"a5a67216e0d0cee95a55",9036:"614a00a3179f8fe23f45",9041:"4094cebc4b92c52f4e27",9062:"896c7d137bfd7a8fa0bc",9110:"7402c2853f6aed8d1bc7",9117:"a7ea2e3895046e566bc6",9159:"efa47bccb95514fe953d",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"251b7f2e295ce191eb62",9211:"0914a52fb33af5d77fab",9221:"d2fe403d6ab237bc89c2",9239:"899f493412acd5a5d91f",9240:"512dcd6e34e217029391",9263:"a6767d75e718f2e1e714",9265:"d3fd11da3a823e148957",9279:"96740c75ad65d651cc43",9321:"24ff9dad3fb64ab54970",9361:"66e0bc4acb18f00a433d",9384:"88cbaa91c495d86f4bb0",9419:"5f079be7f322768aef21",9476:"5b35b30495145bf8dd5d",9506:"ecc15622d6c434ea842b",9536:"96a14689815bec741308",9573:"67fdc8074cdcf374af9a",9588:"651b9144abb1895cc510",9691:"76db75337044de8218c9",9692:"79a9f47dfa9ebabb5dbd",9695:"6593b419339e7598b760",9700:"8be81e1530b952c97936",9718:"db2396bf062468ee8b60",9738:"978fab0f0b10edde4ff8",9838:"cb3b88959b2f048e54a5",9926:"5713f96bade5ebb54c81",9930:"d8a0eb143b2079d7b6b7",9933:"9789f178ece126c4006d",9940:"79c4f10da8360ee60cd2",9953:"0cfded1acf92f89a13cb"}[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,{Ji:()=>s,MJ:()=>a,Mo:()=>g,Ru:()=>_,TF:()=>v,VO:()=>c,Xj:()=>f,Xy:()=>h,aI:()=>i,iv:()=>l,k4:()=>w,mW:()=>m,qh:()=>b,vW:()=>u});var n=r(21818),o=r(87811);const s=1.5;function a(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 i(e,t,r){return a(e,0,e?.length??0,t,0,t?.length??0,r)}function c(){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 l(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 f(e){return e&&"number"==typeof e.length}class u{constructor(){this.last=0}}const d=new u;function b(e,t,r,n){n=n||d;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 h(e,t,r,o){const s=r??e.length,a=b(e,(0,n.zI)(t),s,o);if(-1!==a)return e[a]=e[s-1],null==r&&e.pop(),t}const p=new Set;function m(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;p.clear();for(let e=0;e<n;++e)p.add(t[e]);o=o||d;const a=Math.max(0,o.last-10);for(let t=a;t<r;++t)if(p.has(e[t])&&(s?.push(e[t]),p.delete(e[t]),e[t]=e[r-1],--r,--t,0===p.size||0===r))return p.clear(),r;for(let t=0;t<a;++t)if(p.has(e[t])&&(s?.push(e[t]),p.delete(e[t]),e[t]=e[r-1],--r,--t,0===p.size||0===r))return p.clear(),r;return p.clear(),r}function g(e){return e?(y.seed=e,()=>y.getFloat()):Math.random}const y=new o.A;function w(e,t){if(!e)return e;const r=g(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 v(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function _(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,o){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 s;if(function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(s=d(r.transferList),t.data=r.result):(s=d(o),t.data=r),s){if((0,n.A)("ff"))for(const r of s)if("byteLength"in r&&r.byteLength>267386880){const r="Worker call with large ArrayBuffer would crash Firefox";switch(t.type){case a.INVOKE:throw r;case a.RESPONSE:return void f(e,{type:a.RESPONSE,jobId:t.jobId,error:l(r)})}}e.postMessage(t,s)}else 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="20250910",o="737aa7ea5627033d3384eded76f6055f379ab349"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){return e}r.d(t,{Xb:()=>n,zI:()=>o}),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,OO:()=>_,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;function _(e){return e}},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";let n;r.d(t,{A:()=>s});const o=globalThis;function s(e){return"function"==typeof n[e]?n[e]=n[e](o):n[e]}n=o.dojoConfig?.has||o.esriConfig?.has?{...o.dojoConfig?.has,...o.esriConfig?.has}:{},s.add=(e,t,r,o)=>{(o||void 0===n[e])&&(n[e]=t),r&&s(e)},s.cache=n,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!==o.WorkerGlobalScope&&self instanceof o.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 o.process||!o.process.versions?.node||!o.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(o.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 o),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 o,t=!1===o.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 o),s.add("esri-workers","Worker"in o),s.add("web-feat:cache","caches"in o),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("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-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("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={statsWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009)),geometryEngineWorker:()=>Promise.all([r.e(9930),r.e(8887)]).then(r.bind(r,68887)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(9536)]).then(r.bind(r,40752)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(135)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(3577),r.e(8487),r.e(1784)]).then(r.bind(r,38419)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(7115),r.e(8702)]).then(r.bind(r,12543)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8786),r.e(7115),r.e(3443),r.e(5363),r.e(2492)]).then(r.bind(r,82492)),PointCloudWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(2603),r.e(7005),r.e(7984),r.e(7242)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(871)]).then(r.bind(r,30139)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(4946),r.e(2603),r.e(431),r.e(2504)]).then(r.bind(r,27444)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),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(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(7005),r.e(655),r.e(3474),r.e(1793),r.e(9691)]).then(r.bind(r,60271)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),FlowWorker:()=>Promise.all([r.e(4946),r.e(2741),r.e(6791),r.e(4996),r.e(9419),r.e(3033)]).then(r.bind(r,13033)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(4946),r.e(2741),r.e(708),r.e(6791),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(3577),r.e(4800),r.e(1812),r.e(9476),r.e(8786),r.e(4841)]).then(r.bind(r,6557)),PanoramicMeshWorker:()=>r.e(6982).then(r.bind(r,96982))};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="4.34";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="4.34.0-next.80",(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=void 0){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:()=>R,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>N,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>q,s_:()=>C,tk:()=>ne,ut:()=>L,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>T});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=T(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=T(e);let n,o;if(r){const e=E(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 E(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 W(e){return(e=fe(e=be(e=E(e).path),!0)).toLowerCase()}function N(e){const t={proxyUrl:e.proxyUrl,urlPrefix:W(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 T(e){const t=u.proxyRules,r=W(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function R(e,t){if(!e||!t)return!1;e=U(e),t=U(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 L(e,t){return e=U(e),t=U(t),fe(e)===fe(t)}function U(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function q(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()&&!T(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=E(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="4.34.0-next.80";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:"516864fb68025acc7db6",61:"ccd157ede169b93eea65",73:"03e5d1a00d85e4d16bff",132:"b815c2f61fb9c58a2956",135:"45aeff2f751f124f8e53",146:"050429f516149ce3b517",168:"cd1869e183001266c4c1",177:"e5a9c37de44508e9733b",191:"09b77f82c22530b44daa",212:"ae8dce1a43ca7019f81d",217:"6391ce002fbde9f27a77",224:"b15ff6c9ef2de8a49853",309:"65e279516170ddbd4a65",353:"138c11b5eca621e51396",364:"3d800fbc449bea18b1cd",369:"af00081b78fc30ac556c",382:"b0e52c3775f05aaf7ff6",390:"41f487713c6278d389a1",427:"b0508c96338d7cf296c1",431:"49486c2e12e768b347ed",490:"4823e4522bd7379d858e",547:"8736b78256037b145f8b",563:"31c6e951b99315e8e68a",573:"8cae725e631d922853c8",588:"f45c343527709f6f91c2",591:"a17ed7ce97e69466d730",603:"c78de6dd6c10280cee69",624:"0dfc2ca36014910457ef",647:"48b9ba825856a0c843ff",655:"9971de3f38a55735cec9",688:"ee78a38a0cacb19b2fd4",692:"9e47f680b66320dcfd34",708:"5ea03f53d4d64d9e7cae",744:"5dee8c0c60ced791e57f",795:"813efde41e90e652b7db",807:"d07d3b0e06f12aee4a8b",812:"71fef0a33b7ed9456e47",820:"3c5f07ebe1b09dcdc958",860:"36a006c55766f9540bfc",871:"5e1d6704ee0aa41b1d06",873:"20ae2316d927415f3df9",957:"d7fc8ea2ff527a09f4b9",979:"49cb78c85de0102e5f02",980:"edaf059c7ea18088c3dd",985:"7a23b127f551bf13ef54",1017:"ce8f56cf371812b57a46",1082:"e8e0f73fb94e63e2abc3",1088:"eada3483116a5ea8baed",1190:"ce569860b170700e9b31",1204:"e9311386f58f3cb95c22",1214:"009556f323e58271bc7a",1224:"c799f1c03cb22ef52f5f",1273:"d7adef4093ce19ad356d",1277:"6e4ec9fa931c69e4e4ba",1352:"82404ff7c298493ff6f4",1360:"ce0bf0d0cd9e9a90093b",1384:"ed8a85efbd90241512bb",1407:"c90571063bd2bb57a5a7",1414:"69ae235423f0b1bdfcb4",1421:"9a20be3b02c9d6349b8d",1436:"ed773dab5965e42a2879",1598:"59139347495988b19061",1713:"9c5dcef2a75d4bb9b3d6",1728:"9eb1bfcb9b05f2a36748",1776:"b19d723d09f5bea9ca27",1784:"97d71459ad72b4b780a3",1791:"6dafb2b95bae552c1cc2",1793:"ede479faa4e6920fe673",1812:"885a398de8a33d36c59e",1863:"86378d4f4d7f9a370c22",1867:"c90830ee562b5ddc4f8b",1878:"65fd971d0574d69cbc26",1882:"a6533bab3b2fbc1e2a47",1918:"db81d881805f6f92a2e4",1956:"56edb55b53779e7fd31e",2095:"22a66db7d73e733917e3",2158:"1d9212a70df68a508dca",2186:"36fe6b8228e622407ec2",2189:"589a0e244ef5f1b84ab6",2288:"4e6e8dda6c12f6fbed8e",2314:"23e17b745adf71a5efc7",2343:"61bb39597ccf89f99a72",2372:"21d7f42c2033de987b97",2390:"a34a14fd989dbbd3c2d0",2492:"5c1cdc2ec06c4c6bd0b3",2503:"43fba9d6be5971ec20a9",2504:"0427f66b56ec6601deb0",2507:"3c0990c4be06a2fd51e9",2515:"b246ed6d86c2c8df56fb",2558:"bbdadced49446c907361",2561:"bbb585f0b484ab5eabb3",2568:"aa84775399420e35c6a5",2593:"3245663da75e168bf85c",2603:"2b7f9a57a2cfbc108673",2657:"7f0c78bcba0aed3c4eff",2731:"6b0baecbd35d26393dcf",2741:"9346437b152b20bdcf8a",2763:"0dd6b8b3e634bb5f0ca7",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2869:"2fe96bf7dedef11a3b63",2958:"66db5f77e09d25e33951",2980:"eafc4da265469e9e5e0b",3009:"3fe7be535affae31de7e",3033:"14743a962e661babe0a4",3054:"c779c8b98e07fa881c1d",3081:"09f1a27442bdd52cdeb7",3091:"976dd80e318266ab4c2c",3103:"7b17f52019762aa21af8",3116:"99ac292a858bbedc6a89",3169:"e689a4849f5af3f2f641",3217:"e760b8ca64d67c04d98a",3236:"1ed7a8f4a0058d3b69ef",3263:"d153b29c542c37ae1636",3285:"98175b454e807b1a3c5f",3299:"1bf17c6548ac4cd5a166",3310:"124f8757ea18bfd158ec",3331:"dca2b487152cde45fb65",3356:"c6d4b8d683a34fc0d111",3359:"88d8ff0140f5ea97c6b7",3367:"637a5293e36f4f7f2853",3390:"65ec21d29e8563fdbc55",3443:"72ecf49d03bb24bf0998",3474:"88b8f33ce1cbf8a0f855",3513:"f88fe2e8fbc763bdc940",3543:"1c52999a6392370844a6",3548:"b4a053063e6022080d31",3561:"f03635ddf56e2ef90e4c",3562:"3ff3e1507220d3869c76",3577:"5019f1b8186a65a0313b",3637:"914eaed113dda727eb47",3661:"547af4ffbeeccba9d187",3666:"755e2ecd20b6bd1909be",3747:"4d47187bc0821413492d",3779:"23f54b49742098def8ae",3813:"f5710ced8d38f9a90fc5",3910:"c38360d912f256519e06",3937:"9046a792395da28fa8f7",4038:"c95e6bef8c97cf647869",4045:"0652d7e525d99e39c957",4097:"82d5aa8ba4a67160ea69",4123:"5a6b487b70ca85a45f57",4167:"831a69e5a87e92830fbe",4224:"3b23c37e5bc552dc81d4",4342:"ed8863c3d334f438b625",4383:"56569d0c2cf5c5167651",4496:"9280edff80fd87860a5e",4526:"a48f980c1531805db73b",4575:"f9decc88561c03aca3c9",4660:"f8d2c52cc51d5f1bbce2",4753:"e080628ac6e1cf25dc72",4784:"1c7fffb496af6f2540dd",4800:"2266a8f2c2ec37c19bb4",4806:"8bd6c27a93a697a7fa3d",4812:"b4b26cc2ba3ff30e1d03",4815:"6688efc71d9d8f4d2559",4841:"dd84f630466a26722d57",4903:"1990162dcf73601d54f7",4929:"e0bbfbe1ed39c82f1bd4",4946:"23e600e368ac829680b5",4996:"ecac5ca00c742bfb5898",5066:"58422c616a824ab49218",5141:"e19cd07df8ce87e18832",5165:"f592c4e5e1746d4619db",5180:"d2371f5034b2a32e2523",5181:"be8dd8e68c8805300ad1",5257:"8644c54b4f00c53bab80",5294:"3b2ef975831eb75b40fb",5323:"700b5a536f97233bc4af",5363:"80bd5988180f4618fd61",5367:"d48af7bc06b4bb176534",5404:"23a13fbab9984953a7c6",5455:"d66cdb9bb494da19696b",5549:"6201356f7f91e5c06425",5552:"672c04d48aa51f16e9b7",5605:"459a67928bde4a62b6a4",5613:"bc83bcfe123525d21884",5655:"bd4125d163f372a7e978",5666:"28a5a7c6b3d6902146f6",5710:"96e483db7dd1f5dbb07a",5740:"a7fcb60d5a9d2d9560e4",5756:"8bbae8ac586e5c0819d2",5794:"22f196d173711ebd64c7",5804:"6bb5158de43c4b59107f",5856:"0b24a6c06d1becbb6815",5874:"cef9ff811221a7c3812c",5890:"acb49f3d2b783e81a215",5897:"a85acb948cc7d22be592",5902:"19f1bfe815896d4983af",5913:"c5fe356fc5b8b7be0d31",5924:"bd451668c4ce9f7d7128",5950:"486ea51306c619238e41",5971:"5610dfde4e636e2333a9",6018:"709dc98379f4ce18a0b5",6049:"fdae43a97537093e4b97",6052:"ab005fe84952f0676020",6154:"a987731d1b5449d8fb0c",6160:"69e6000044bfb03776ac",6171:"804e3b3df375177e6c86",6187:"388873be1dca91ccbc9d",6277:"b168b6ffc16cd509d316",6339:"00bbd37910c70989b54d",6343:"f98689562017583f73ee",6357:"388482cea4b9fdeaf06e",6395:"9c64b78c5c9b35b31d98",6468:"f5c821ca2911a5103c9a",6554:"e4833b718a813a8d125b",6558:"7db105f6b688b6da8106",6650:"ffee8cc83d703c1dc0c0",6699:"07a355a9c95154971aab",6713:"b78ea9cc4d5f2fd3d871",6730:"81a8addcb858086ff9ee",6791:"9cdeead9d444e8d95477",6859:"b53008c1461dd6bacc63",6982:"fd1fdb97a294a1b7041d",7005:"39a1f361bb69073af765",7048:"d0a149050f7f1c1ada09",7074:"cf5db995ba88912cf6b7",7087:"977582cb3c8f17a2cb4c",7091:"c24214666d10cb648428",7115:"83065bef261314f9b2c5",7136:"16d66770ef841564ee3f",7242:"d71836cf70b9604832f1",7243:"c6077a893d5b5c34a46c",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"fdc8300b6374ef2b8b3e",7367:"79968c183135281d2a6f",7375:"a07321a901d6847d1a6b",7444:"d0296368ae143de4d5ce",7464:"6271a706ac3fcba91432",7528:"64c31c90e4c589ca2f04",7546:"d08b80583a23ba253c7e",7548:"7889a909394c61a9d3e0",7559:"451555af283b32a10fef",7561:"9a0b9d931c1a29e81475",7603:"86832d94190150c70c11",7656:"5993427325d1add18ed9",7677:"da1a5537e2f2ca6cc247",7694:"2bb61f80473b495163e3",7817:"7aa7aff6d42be7c2d1d2",7836:"2845a0810e9c00bf30f8",7883:"d51e8eeb1e1eb0605cc9",7982:"afb2770c4abbff9bab3d",7984:"a244afea77127e54dd3a",8010:"5d1d909354c90cb8eb60",8018:"6e5175b43220d6692263",8098:"280af3640f8e93c1024e",8125:"be06c8a58c217a17451b",8140:"79ab06fb4c91ac8da323",8207:"d8494617cebc68e50d35",8241:"1859a11df9f579b993d7",8256:"9673e25114fc1897460d",8303:"025f1d78dfa5ec93178b",8344:"f594df2f5ce6ca41a254",8368:"ae6066ea6cb373dc6db3",8399:"0f37204f86d2997a2811",8411:"5d4b24c864ebb68ae61e",8487:"4753793daf0b7ff8b5ff",8506:"541bffd61006d0e36166",8535:"22bd4255b6b511a43b66",8628:"17103e6542aae53c7301",8692:"afb76f9d6abedef771df",8702:"2605062e44f2d4e73f14",8714:"809a9055da28c8fa58b0",8766:"da42cc4f6142846cb745",8786:"20850b0fdb55fb17bc90",8812:"920b4def081c78c0d586",8887:"213e82a7e3fa5b253ec1",8969:"2a2a925c45d5fd58628b",8991:"6e2a3abc3dbc342212c4",9e3:"67d9cfe02613cb73ee37",9013:"a5a67216e0d0cee95a55",9036:"614a00a3179f8fe23f45",9041:"4094cebc4b92c52f4e27",9062:"896c7d137bfd7a8fa0bc",9110:"7402c2853f6aed8d1bc7",9117:"a7ea2e3895046e566bc6",9159:"efa47bccb95514fe953d",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"251b7f2e295ce191eb62",9211:"0914a52fb33af5d77fab",9221:"d2fe403d6ab237bc89c2",9239:"899f493412acd5a5d91f",9240:"512dcd6e34e217029391",9263:"a6767d75e718f2e1e714",9265:"d3fd11da3a823e148957",9279:"96740c75ad65d651cc43",9321:"24ff9dad3fb64ab54970",9361:"66e0bc4acb18f00a433d",9384:"88cbaa91c495d86f4bb0",9419:"5f079be7f322768aef21",9476:"5b35b30495145bf8dd5d",9506:"ecc15622d6c434ea842b",9536:"96a14689815bec741308",9573:"67fdc8074cdcf374af9a",9588:"651b9144abb1895cc510",9691:"76db75337044de8218c9",9692:"79a9f47dfa9ebabb5dbd",9695:"6593b419339e7598b760",9700:"8be81e1530b952c97936",9718:"db2396bf062468ee8b60",9738:"978fab0f0b10edde4ff8",9838:"cb3b88959b2f048e54a5",9926:"5713f96bade5ebb54c81",9930:"d8a0eb143b2079d7b6b7",9933:"9789f178ece126c4006d",9940:"79c4f10da8360ee60cd2",9953:"0cfded1acf92f89a13cb"}[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([[3033],{4095:(t,e,n)=>{n.d(e,{CW:()=>c,DE:()=>u,S1:()=>d});var r=n(44208),o=n(53966),s=(n(34727),n(74887)),i=n(87811);n(5443),n(21325);const l=()=>o.A.getLogger("esri.views.2d.engine.flow.dataUtils"),a=10;async function c(t,e,n,o){const c=performance.now(),f=u(e,n),h=performance.now(),p=d(e,f,n.width,n.height),g=performance.now(),w=function(t){const e=new i.A,n=t.reduce((t,e)=>t+e.vertices.length,0),r=new Float32Array(4*n),o=new Array(t.length);let s=0,l=0;for(const{vertices:n}of t){const t=s;for(const t of n)r[4*s]=t.x,r[4*s+1]=t.y,r[4*s+2]=t.t,r[4*s+3]=t.speed,s++;o[l++]={startVertex:t,numberOfVertices:n.length,totalTime:n[n.length-1].t,timeSeed:e.getFloat()}}return{lineVertices:r,lineDescriptors:o}}(p),y=performance.now(),m="Streamlines"===t?function(t,e){const{lineVertices:n,lineDescriptors:r}=t;let o=0,s=0;for(const t of r)o+=2*t.numberOfVertices,s+=6*(t.numberOfVertices-1);const i=new Float32Array(9*o),l=new Uint32Array(s);let a=0,c=0;function u(){l[c++]=a-2,l[c++]=a,l[c++]=a-1,l[c++]=a,l[c++]=a+1,l[c++]=a-1}function f(t,e,n,r,o,s,l,c){const u=9*a;let f=0;i[u+f++]=t,i[u+f++]=e,i[u+f++]=1,i[u+f++]=n,i[u+f++]=s,i[u+f++]=l,i[u+f++]=r/2,i[u+f++]=o/2,i[u+f++]=c,a++,i[u+f++]=t,i[u+f++]=e,i[u+f++]=-1,i[u+f++]=n,i[u+f++]=s,i[u+f++]=l,i[u+f++]=-r/2,i[u+f++]=-o/2,i[u+f++]=c,a++}for(const t of r){const{totalTime:r,timeSeed:o}=t;let s=null,i=null,l=null,a=null,c=null,h=null;for(let d=0;d<t.numberOfVertices;d++){const p=n[4*(t.startVertex+d)],g=n[4*(t.startVertex+d)+1],w=n[4*(t.startVertex+d)+2],y=n[4*(t.startVertex+d)+3];let m=null,M=null,v=null,x=null;if(d>0){m=p-s,M=g-i;const t=Math.sqrt(m*m+M*M);if(m/=t,M/=t,d>1){let t=m+c,n=M+h;const r=Math.sqrt(t*t+n*n);t/=r,n/=r;const o=Math.min(1/(t*m+n*M),e);t*=o,n*=o,v=-n,x=t}else v=-M,x=m;null!==v&&null!==x&&(f(s,i,l,v,x,r,o,y),u())}s=p,i=g,l=w,c=m,h=M,a=y}f(s,i,l,-h,c,r,o,a)}return{vertexData:i,indexData:l}}(w,a):function(t){const{lineVertices:e,lineDescriptors:n}=t;let r=0,o=0;for(const t of n){const e=t.numberOfVertices-1;r+=4*e*2,o+=6*e*2}const s=new Float32Array(16*r),i=new Uint32Array(o);let l,a,c,u,f,h,d,p,g,w,y,m,M,v,x=0,b=0;function S(){i[b++]=x-8,i[b++]=x-7,i[b++]=x-6,i[b++]=x-7,i[b++]=x-5,i[b++]=x-6,i[b++]=x-4,i[b++]=x-3,i[b++]=x-2,i[b++]=x-3,i[b++]=x-1,i[b++]=x-2}function D(t,e,n,r,o,i,l,a,c,u,f,h,d,p){const g=16*x;let w=0;for(const y of[1,2])for(const m of[1,2,3,4])s[g+w++]=t,s[g+w++]=e,s[g+w++]=n,s[g+w++]=r,s[g+w++]=l,s[g+w++]=a,s[g+w++]=c,s[g+w++]=u,s[g+w++]=y,s[g+w++]=m,s[g+w++]=d,s[g+w++]=p,s[g+w++]=o/2,s[g+w++]=i/2,s[g+w++]=f/2,s[g+w++]=h/2,x++}function V(t,e){let n=g+y,r=w+m;const o=Math.sqrt(n*n+r*r);n/=o,r/=o;const s=g*n+w*r;n/=s,r/=s;let i=y+M,x=m+v;const b=Math.sqrt(i*i+x*x);i/=b,x/=b;const V=y*i+m*x;i/=V,x/=V,D(l,a,c,u,-r,n,f,h,d,p,-x,i,t,e),S()}function F(t,e,n,r,o,s){if(g=y,w=m,y=M,m=v,null==g&&null==w&&(g=y,w=m),null!=f&&null!=h){M=t-f,v=e-h;const n=Math.sqrt(M*M+v*v);M/=n,v/=n}null!=g&&null!=w&&V(o,s),l=f,a=h,c=d,u=p,f=t,h=e,d=n,p=r}function A(t,e){g=y,w=m,y=M,m=v,null==g&&null==w&&(g=y,w=m),null!=g&&null!=w&&V(t,e)}for(const t of n){l=null,a=null,c=null,u=null,f=null,h=null,d=null,p=null,g=null,w=null,y=null,m=null,M=null,v=null;const{totalTime:n,timeSeed:r}=t;for(let o=0;o<t.numberOfVertices;o++)F(e[4*(t.startVertex+o)],e[4*(t.startVertex+o)+1],e[4*(t.startVertex+o)+2],e[4*(t.startVertex+o)+3],n,r);A(n,r)}return{vertexData:s,indexData:i}}(w),M=performance.now();return(0,r.A)("esri-2d-profiler")&&(l().info("I.1","_createFlowFieldFromData (ms)",Math.round(h-c)),l().info("I.2","_getStreamlines (ms)",Math.round(g-h)),l().info("I.3","createAnimatedLinesData (ms)",Math.round(y-g)),l().info("I.4","create{Streamlines|Particles}Mesh (ms)",Math.round(M-y)),l().info("I.5","createFlowMesh (ms)",Math.round(M-c)),l().info("I.6","Mesh size (bytes)",m.vertexData.buffer.byteLength+m.indexData.buffer.byteLength)),await Promise.resolve(),(0,s.Te)(o),m}function u(t,e){const n=function(t,e,n,r){if(0===r)return t;const o=Math.round(3*r),s=new Array(2*o+1);let i=0;for(let t=-o;t<=o;t++){const e=Math.exp(-t*t/(r*r));s[t+o]=e,i+=e}for(let t=-o;t<=o;t++)s[t+o]/=i;const l=new Float32Array(t.length);for(let r=0;r<n;r++)for(let n=0;n<e;n++){let i=0,a=0;for(let l=-o;l<=o;l++){if(n+l<0||n+l>=e)continue;const c=s[l+o];i+=c*t[2*(r*e+(n+l))],a+=c*t[2*(r*e+(n+l))+1]}l[2*(r*e+n)]=i,l[2*(r*e+n)+1]=a}const a=new Float32Array(t.length);for(let t=0;t<e;t++)for(let r=0;r<n;r++){let i=0,c=0;for(let a=-o;a<=o;a++){if(r+a<0||r+a>=n)continue;const u=s[a+o];i+=u*l[2*((r+a)*e+t)],c+=u*l[2*((r+a)*e+t)+1]}a[2*(r*e+t)]=i,a[2*(r*e+t)+1]=c}return a}(e.data,e.width,e.height,t.smoothing);return t.interpolate?(t,r)=>{const o=Math.floor(t),s=Math.floor(r);if(o<0||o>=e.width)return[0,0];if(s<0||s>=e.height)return[0,0];const i=t-o,l=r-s,a=o,c=s,u=o<e.width-1?o+1:o,f=s<e.height-1?s+1:s,h=n[2*(c*e.width+a)],d=n[2*(c*e.width+u)],p=n[2*(f*e.width+a)],g=n[2*(f*e.width+u)],w=n[2*(c*e.width+a)+1],y=n[2*(c*e.width+u)+1];return[(h*(1-l)+p*l)*(1-i)+(d*(1-l)+g*l)*i,(w*(1-l)+n[2*(f*e.width+a)+1]*l)*(1-i)+(y*(1-l)+n[2*(f*e.width+u)+1]*l)*i]}:(t,r)=>{const o=Math.round(t),s=Math.round(r);return o<0||o>=e.width||s<0||s>=e.height?[0,0]:[n[2*(s*e.width+o)],n[2*(s*e.width+o)+1]]}}function f(t,e,n,r,o,s,i){const l=[],{raster:a,width:c,height:u,resolutionFactor:f}=i;let h=r,d=o,p=0,[g,w]=n(h,d);g*=e.velocityScale,w*=e.velocityScale;const y=Math.sqrt(g*g+w*w);let m,M;l.push({x:h,y:d,t:p,speed:y});for(let r=0;r<e.verticesPerLine;r++){let[r,o]=n(h,d);r*=e.velocityScale,o*=e.velocityScale;const i=Math.sqrt(r*r+o*o);if(i<e.minSpeedThreshold)return l;const g=t*r/i,w=t*o/i;if(h+=g*e.segmentLength,d+=w*e.segmentLength,p+=t*e.segmentLength/i,Math.acos(g*m+w*M)>e.maxTurnAngle)return l;if(e.collisions){const t=Math.round(h*f),e=Math.round(d*f);if(t<0||t>c-1||e<0||e>u-1)return l;const n=a[e*c+t];if(-1!==n&&n!==s)return l;a[e*c+t]=s}l.push({x:h,y:d,t:p,speed:i}),m=g,M=w}return l}function h(t,e,n,r,o,s,i){const l=Math.round((.2+.8*s.getFloat())*t.verticesPerLine),a=t.verticesPerLine-l,c=f(-1,{...t,verticesPerLine:a},e,n,r,o,i),u=f(1,{...t,verticesPerLine:l},e,n,r,o,i),h=c.reverse();return h.splice(-1,1),h.concat(u)}function d(t,e,n,r,o={positions:[]}){const{positions:s}=o,l=[],a=new i.A,c=1/Math.max(t.lineCollisionWidth,1),u=Math.round(n*c),d=Math.round(r*c),p=new Int32Array(u*d);for(let t=0;t<p.length;t++)p[t]=-1;const g={raster:p,width:u,height:d,resolutionFactor:c},w={},y=t.lineSpacing/Math.sqrt(t.density),m=Math.floor(r/y),M=Math.floor(n/y);for(let t=0;t<m;t++){const e=t*y;for(let n=0;n<M;n++){const r=n*y;w[`${n}-${t}`]={x:r,y:e,positions:[]}}}for(const{x:t,y:e}of s){const n=w[`${Math.floor(t/y)}-${Math.floor(e/y)}`];n&&n.positions.push([t,e])}const v=[];for(const t in w){const e=w[t];if(0===e.positions.length)v.push({x:e.x,y:e.y,sort:.66+.33*a.getFloat(),stage:0});else{const[t]=e.positions.splice(0,1);v.push({x:t[0],y:t[1],sort:.33*a.getFloat(),stage:1});for(const[t,n]of e.positions)v.push({x:t,y:n,sort:.33+.33*a.getFloat(),stage:2})}}v.sort((t,e)=>t.sort-e.sort);for(const{x:n,y:r,stage:o}of v){const s=t.onlyForwardTracing?f(1,t,e,n,r,l.length,g):h(t,e,n,r,l.length,a,g);s.length<2||l.push({stage:o,vertices:s})}return l}},13033:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var r=n(31635),o=(n(53966),n(44208),n(87811),n(49186),n(40608)),s=n(4095),i=n(19419);n(73941);let l=class{constructor(){this._tileData=new Map}async generateStreamlines(t){const{flowData:e,needsMagnitude:n,simulationSettings:r,size:o,startPositions:i}=t,l=c((0,s.DE)(r,e),r,o,n,i);return{result:{streamlines:l},transferList:l?.map(t=>t.vertices.buffer)}}async generateTiledStreamlines(t){const{extent:e,flowDataTiles:n,needsMagnitude:r,reset:o,pixelSize:l,simulationSettings:a,size:u,startPositions:f}=t;this._updateTileData(n,o);const h=c(function(t,e,n,r,o){const[l,a]=n;let c=null;const u=new Map;e.forEach(e=>{u.set(e.lij,(0,s.DE)(t,e))});const f=(t,e,n)=>(0,i.Rj)(t.extent,e,n);return(t,n)=>{const s=Math.round(t),h=Math.round(n);if(s<0||s>=l||h<0||h>=a)return[0,0];const d=t/l*(0,i.VL)(r)+r[0],p=(a-n)/a*(0,i.uJ)(r)+r[1];if(!(0,i.Rj)(r,d,p))return[0,0];if(null==c||!f(c,d,p)){c=null;for(const[t,n]of e)if(f(n,d,p)){c=n;break}}if(null==c?.data)return[0,0];const g=u.get(c.lij);if(null==g)return[0,0];const w=c.extent;return g((d-w[0])/(0,i.VL)(w)*o,o-(p-w[1])/(0,i.uJ)(w)*o)}}(a,this._tileData,u,e,l),a,u,r,f);return{result:{streamlines:h},transferList:h?.map(t=>t.vertices.buffer)??[]}}_updateTileData(t,e){e&&this._tileData.forEach((e,n)=>{null==t.get(n)&&this._tileData.delete(n)}),t.forEach((t,e)=>{"delete"===t?this._tileData.delete(e):"on-worker"!==t&&this._tileData.set(e,t)})}};l=(0,r.Cg)([(0,o.$)("esri.views.3d.support.flow.FlowWorker")],l);const a=l;function c(t,e,n,r,o){if(null==t)return;const i=(0,s.S1)(e,t,n[0],n[1],{positions:o}),l=[],a=function(t){return t?4:3}(r);for(const{vertices:t,stage:e}of i){const n=new Float32Array(t.length*a);for(let e=0;e<t.length;e++)n[e*a]=t[e].x,n[e*a+1]=t[e].y,n[e*a+2]=t[e].t,r&&(n[e*a+3]=t[e].speed);l.push({vertices:n,stage:e,hasMagnitude:r})}return l}},31635:(t,e,n)=>{function r(t,e,n,r){var o,s=arguments.length,i=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(s<3?o(i):s>3?o(e,n,i):o(e,n))||i);return s>3&&i&&Object.defineProperty(e,n,i),i}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>i,mS:()=>o}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function i(t){function e(e){t.error=t.hasError?new s(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var s=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(s).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[132],{13069:(t,e,n)=>{n.d(e,{AG:()=>a,lk:()=>r,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function o(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function a(t){const e=t.toUpperCase();return t.startsWith("{")?e:`{${e}}`}},38954:(t,e,n)=>{n.d(e,{A:()=>p,B:()=>d,C:()=>c,D:()=>h,E:()=>L,F:()=>D,H:()=>N,a:()=>P,b:()=>y,c:()=>s,d:()=>l,e:()=>v,f:()=>u,g:()=>g,h:()=>w,i:()=>a,j:()=>M,k:()=>_,l:()=>o,m:()=>R,n:()=>S,o:()=>T,q:()=>C,r:()=>b,s:()=>A,t:()=>I,u:()=>x,v:()=>E,w:()=>f,x:()=>K,y:()=>z,z:()=>m});var i=n(51850),r=n(34304);function o(t){const e=t[0],n=t[1],i=t[2];return Math.sqrt(e*e+n*n+i*i)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t}function M(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+i*i+r*r)}function A(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return n*n+i*i+r*r}function _(t){const e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function S(t,e){const n=e[0],i=e[1],r=e[2];let o=n*n+i*i+r*r;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function w(t,e,n){const i=e[0],r=e[1],o=e[2],s=n[0],a=n[1],u=n[2];return t[0]=r*u-o*a,t[1]=o*s-i*u,t[2]=i*a-r*s,t}function R(t,e,n,i){const r=e[0],o=e[1],s=e[2];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=s+i*(n[2]-s),t}function I(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12],t[1]=n[1]*i+n[5]*r+n[9]*o+n[13],t[2]=n[2]*i+n[6]*r+n[10]*o+n[14],t}function T(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t}function E(t,e,n){const i=n[0],r=n[1],o=n[2],s=n[3],a=e[0],u=e[1],l=e[2],c=r*l-o*u,h=o*a-i*l,f=i*u-r*a,d=r*f-o*h,p=o*c-i*f,m=i*h-r*c,g=2*s;return t[0]=a+c*g+2*d,t[1]=u+h*g+2*p,t[2]=l+f*g+2*m,t}const k=(0,i.vt)(),q=(0,i.vt)();function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function L(t,e,n){const i=n[0]-e[0],r=n[1]-e[1],o=n[2]-e[2];let s=i*i+r*r+o*o;return s>0?(s=1/Math.sqrt(s),t[0]=i*s,t[1]=r*s,t[2]=o*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=l,O=c,U=h,D=M,K=A,N=o,z=_;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,e){S(k,t),S(q,e);const n=v(k,q);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,i,r,o){const s=1-o,a=s*s,u=o*o,l=a*s,c=3*o*a,h=3*u*s,f=u*o;return t[0]=e[0]*l+n[0]*c+i[0]*h+r[0]*f,t[1]=e[1]*l+n[1]*c+i[1]*h+r[1]*f,t[2]=e[2]*l+n[2]*c+i[2]*h+r[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:w,crossAndNormalize:function(t,e,n){const i=e[0],r=e[1],o=e[2],s=n[0],a=n[1],u=n[2],l=r*u-o*a,c=o*s-i*u,h=i*a-r*s,f=Math.sqrt(l*l+c*c+h*h);return t[0]=l/f,t[1]=c/f,t[2]=h/f,t},direction:L,dist:D,distance:M,div:U,divide:h,dot:v,equals:function(t,e){if(t===e)return!0;const n=t[0],i=t[1],o=t[2],s=e[0],a=e[1],u=e[2],l=(0,r.FD)();return Math.abs(n-s)<=l*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(i-a)<=l*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-u)<=l*Math.max(1,Math.abs(o),Math.abs(u))},exactEquals:C,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,i,r,o){const s=o*o,a=s*(2*o-3)+1,u=s*(o-2)+o,l=s*(o-1),c=s*(3-2*o);return t[0]=e[0]*a+n[0]*u+i[0]*l+r[0]*c,t[1]=e[1]*a+n[1]*u+i[1]*l+r[1]*c,t[2]=e[2]*a+n[2]*u+i[2]*l+r[2]*c,t},inverse:b,len:N,length:o,lerp:R,max:m,min:p,mul:O,multiply:c,negate:x,normalize:S,random:function(t,e=1){const n=r.Ov,i=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(i)*s,t[1]=Math.sin(i)*s,t[2]=o*e,t},rotateX:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0],o[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),o[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),o[1]=r[1],o[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),o[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),o[2]=r[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:d,sqrDist:K,sqrLen:z,squaredDistance:A,squaredLength:_,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:l,transformMat3:T,transformMat4:I,transformQuat:E},Symbol.toStringTag,{value:"Module"}))},52136:(t,e,n)=>{n.d(e,{p:()=>s});var i=n(31635),r=n(10107),o=(n(44208),n(53966),n(87811),n(40608));const s=t=>{const e=t;let n=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(t){null!=t?this._override("apiKey",t):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,r.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,i.Cg)([(0,o.$)("esri.layers.mixins.APIKeyMixin")],n),n}},61528:(t,e,n)=>{n.r(e),n.d(e,{default:()=>k});var i=n(31635),r=n(78888),o=n(49186),s=n(53966),a=n(92071),u=n(74887),l=n(36708),c=n(10107),h=(n(44208),n(87811),n(36005)),f=n(40608),d=n(87024),p=n(5443),m=n(16930),g=n(4146),y=n(52136),M=n(18768),A=n(69208),_=n(16131),x=n(8303),b=n(25036),S=n(10873),v=n(58325),w=n(88546),R=n(20655),I=n(24212),T=n(97159);let E=class extends((0,M.b)((0,_.q)((0,x.A)((0,b.j)((0,a.P)((0,A.d)((0,y.p)(g.A)))))))){readModifications(t,e,n){this._modificationsSource={url:(0,T.f)(t,n),context:n}}initialize(){this.addHandles((0,l.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,l.OH))}constructor(t){super(t),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new m.A({wkid:4326,vcsWkid:115700}),this.fullExtent=new p.A(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null}set elevationInfo(t){null!=t&&"absolute-height"!==t.mode||this._set("elevationInfo",t),this._validateElevationInfo(t)}async load(t){return this.addResolvingPromise(this._doLoad(t)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(t){const e=[t];for(;e?.length>0;){const t=e.pop();if(!t)return;for(const[n,i]of Object.entries(t)){if("uri"===n)try{const t=new URL("https://tmp"+i).searchParams.get("session");if(t)return t}catch(t){}"object"==typeof i&&null!==i&&e.push(i)}}return null}async requestRootAndSession(t){const e=(t,e)=>new o.A("request-root-and-session:"+t,"requestRootAndSession: "+e);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((n,i)=>{this.url||i(e("url-missing","requestRootAndSession: url missing")),this._key=this.customParameters?this.customParameters.key:null,this._session=null,new Promise((t,n)=>{if(this.replacesTerrain&&!this._key){const i=this.portalItem?.portal||this.parent?.portalItem?.portal||R.A.getDefault();i.signIn().then(()=>{i.g3dTilesEnabled||n(e("g3dTilesEnabled-false","g3dTilesEnabled is false")),(0,r.A)(i.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(e=>{this._key=e.data.keyString,t()},()=>n(e("session-key-not-found","can't get session key")))},()=>n(e("sign-in.failed","can't sign in to portal")))}else t()}).then(()=>{(0,r.A)(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:t}).then(t=>{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(t.data)),this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=t.data,this.fullExtent=(0,w.uB)(this._rootTilesetJSON),n(),this._rootRequestPromise=null):i(e("root-parse-failed","Error parsing root tile"))},t=>{(0,u.QP)(t),i(t),this._rootRequestPromise=null,s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})},t=>i(t))})),this._rootRequestPromise}async _doLoad(t){const e=null!=t?t.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:t=>{if(t.typeKeywords?.includes("IntegratedMesh"))return!0;throw new o.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},t)}catch(t){(0,u.QP)(t)}if(null!=this._modificationsSource){const e=await v.A.fromUrl(this._modificationsSource.url,this.spatialReference,t);this.setAtOrigin("modifications",e,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(e)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},t=>{s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})}async fetchAttributionData(){return this.load().then(()=>({}))}_validateElevationInfo(t){const e="Integrated mesh 3d tiles layers";(0,I.XF)(s.A.getLogger(this),(0,I.B)(e,"absolute-height",t)),(0,I.XF)(s.A.getLogger(this),(0,I.tW)(e,t))}get replacesTerrain(){return!!this.parent&&"type"in this.parent&&"Basemap"===this.parent.type&&!!this.url?.match(/.+\.googleapis.com/)}};(0,i.Cg)([(0,c.MZ)({type:["IntegratedMesh3DTilesLayer"]})],E.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({type:v.A,clonable:t=>t.clone()}),(0,d.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],E.prototype,"modifications",void 0),(0,i.Cg)([(0,h.w)(["web-scene","portal-item"],"modifications")],E.prototype,"readModifications",null),(0,i.Cg)([(0,c.MZ)({type:m.A})],E.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)({type:p.A})],E.prototype,"fullExtent",void 0),(0,i.Cg)([(0,c.MZ)(S.Yj)],E.prototype,"elevationInfo",null),(0,i.Cg)([(0,c.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)(S.OZ)],E.prototype,"url",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],E.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),E=(0,i.Cg)([(0,f.$)("esri.layers.IntegratedMesh3DTilesLayer")],E);const k=E},76553:(t,e,n)=>{function i(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{H:()=>i})},88546:(t,e,n)=>{n.d(e,{_8:()=>p,uB:()=>m});var i=n(34727),r=n(38954),o=n(51850),s=n(73941),a=n(5443),u=n(54239),l=n(16930),c=n(9762);function h(t,e){if(!Array.isArray(t)||t.length<e)return!1;for(const e of t)if("number"!=typeof e)return!1;return!0}const f=7645211,d={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function p(t){return!(!(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)||!t.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function m(t,e=!1){let n=new l.A({wkid:4326,vcsWkid:115700}),u=t.root?.boundingVolume,p=!1,m=t?.root?.transform;if(e&&(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)&&(t.root?.extensions?.ESRI_crs?.boundingVolume?.box||t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))n=new l.A(t.extensions?.ESRI_crs),u=t.root?.extensions?.ESRI_crs?.boundingVolume,m=t.root?.transform,p=!0;else if(!u)return new a.A(-180,-90,180,90,n);if(u.box){const t=u?.box;if(t[3]>f&&t[7]>f&&t[11]>f)return new a.A({...d,spatialReference:n})}const g=(0,o.vt)();if(!p&&u.region&&h(u.region,6)){const t=u.region,e=(0,i.KJ)(t[0]),r=(0,i.KJ)(t[1]),o=t[4],s=(0,i.KJ)(t[2]),l=(0,i.KJ)(t[3]),c=t[5];return new a.A({xmin:e,ymin:r,zmin:o,xmax:s,ymax:l,zmax:c,spatialReference:n})}if(u.sphere&&h(u.sphere,4)){const t=u.sphere,e=(0,o.fA)(t[0],t[1],t[2]),i=t[3]/Math.sqrt(3),f=(0,o.vt)();(0,r.d)(f,e,(0,o.fA)(i,i,i));const d=(0,o.vt)();if((0,r.f)(d,e,(0,o.fA)(i,i,i)),m&&h(m,16)){const t=m;(0,r.t)(g,f,t),(0,r.c)(f,g),(0,r.t)(g,d,t),(0,r.c)(d,g)}p||((0,c.projectBuffer)(f,s.Ro,0,f,l.A.WGS84,0),(0,c.projectBuffer)(d,s.Ro,0,d,l.A.WGS84,0));const y=(0,o.vt)(),M=(0,o.vt)();return(0,r.A)(y,f,d),(0,r.z)(M,f,d),new a.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:M[0],ymax:M[1],zmax:M[2],spatialReference:n})}if(u.box&&h(u.box,12)){const t=u.box,e=(0,o.fA)(t[0],t[1],t[2]),i=(0,o.fA)(t[3],t[4],t[5]),f=(0,o.fA)(t[6],t[7],t[8]),d=(0,o.fA)(t[9],t[10],t[11]),g=[];for(let t=0;t<8;++t)g.push((0,o.vt)());if((0,r.f)(g[0],e,i),(0,r.f)(g[0],g[0],f),(0,r.f)(g[0],g[0],d),(0,r.a)(g[1],e,i),(0,r.f)(g[1],g[1],f),(0,r.f)(g[1],g[1],d),(0,r.f)(g[2],e,i),(0,r.a)(g[2],g[2],f),(0,r.f)(g[2],g[2],d),(0,r.a)(g[3],e,i),(0,r.a)(g[3],g[3],f),(0,r.f)(g[3],g[3],d),(0,r.f)(g[4],e,i),(0,r.f)(g[4],g[4],f),(0,r.a)(g[4],g[4],d),(0,r.a)(g[5],e,i),(0,r.f)(g[5],g[5],f),(0,r.a)(g[5],g[5],d),(0,r.f)(g[6],e,i),(0,r.a)(g[6],g[6],f),(0,r.a)(g[6],g[6],d),(0,r.a)(g[7],e,i),(0,r.a)(g[7],g[7],f),(0,r.a)(g[7],g[7],d),m&&h(m,16)){const t=m;for(let e=0;e<8;++e)(0,r.t)(g[e],g[e],t)}const y=(0,o.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),M=(0,o.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let t=0;t<8;++t)p||(0,c.projectBuffer)(g[t],s.Ro,0,g[t],l.A.WGS84,0),(0,r.A)(M,M,g[t]),(0,r.z)(y,y,g[t]);return new a.A({xmin:M[0],ymin:M[1],zmin:M[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:n})}return new a.A(-180,-90,180,90,n)}new Map([[5773,new u.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new u.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new u.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new u.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})]])}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[132],{13069:(t,e,n)=>{n.d(e,{AG:()=>a,lk:()=>r,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function o(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function a(t){const e=t.toUpperCase();return t.startsWith("{")?e:`{${e}}`}},38954:(t,e,n)=>{n.d(e,{A:()=>p,B:()=>d,C:()=>c,D:()=>h,E:()=>L,F:()=>D,H:()=>N,a:()=>P,b:()=>y,c:()=>s,d:()=>l,e:()=>v,f:()=>u,g:()=>g,h:()=>w,i:()=>a,j:()=>M,k:()=>_,l:()=>o,m:()=>R,n:()=>S,o:()=>T,q:()=>C,r:()=>b,s:()=>A,t:()=>I,u:()=>x,v:()=>E,w:()=>f,x:()=>K,y:()=>z,z:()=>m});var i=n(51850),r=n(34304);function o(t){const e=t[0],n=t[1],i=t[2];return Math.sqrt(e*e+n*n+i*i)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t}function M(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+i*i+r*r)}function A(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return n*n+i*i+r*r}function _(t){const e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function S(t,e){const n=e[0],i=e[1],r=e[2];let o=n*n+i*i+r*r;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function w(t,e,n){const i=e[0],r=e[1],o=e[2],s=n[0],a=n[1],u=n[2];return t[0]=r*u-o*a,t[1]=o*s-i*u,t[2]=i*a-r*s,t}function R(t,e,n,i){const r=e[0],o=e[1],s=e[2];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=s+i*(n[2]-s),t}function I(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12],t[1]=n[1]*i+n[5]*r+n[9]*o+n[13],t[2]=n[2]*i+n[6]*r+n[10]*o+n[14],t}function T(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t}function E(t,e,n){const i=n[0],r=n[1],o=n[2],s=n[3],a=e[0],u=e[1],l=e[2],c=r*l-o*u,h=o*a-i*l,f=i*u-r*a,d=r*f-o*h,p=o*c-i*f,m=i*h-r*c,g=2*s;return t[0]=a+c*g+2*d,t[1]=u+h*g+2*p,t[2]=l+f*g+2*m,t}const k=(0,i.vt)(),q=(0,i.vt)();function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function L(t,e,n){const i=n[0]-e[0],r=n[1]-e[1],o=n[2]-e[2];let s=i*i+r*r+o*o;return s>0?(s=1/Math.sqrt(s),t[0]=i*s,t[1]=r*s,t[2]=o*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=l,O=c,U=h,D=M,K=A,N=o,z=_;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,e){S(k,t),S(q,e);const n=v(k,q);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,i,r,o){const s=1-o,a=s*s,u=o*o,l=a*s,c=3*o*a,h=3*u*s,f=u*o;return t[0]=e[0]*l+n[0]*c+i[0]*h+r[0]*f,t[1]=e[1]*l+n[1]*c+i[1]*h+r[1]*f,t[2]=e[2]*l+n[2]*c+i[2]*h+r[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:w,crossAndNormalize:function(t,e,n){const i=e[0],r=e[1],o=e[2],s=n[0],a=n[1],u=n[2],l=r*u-o*a,c=o*s-i*u,h=i*a-r*s,f=Math.sqrt(l*l+c*c+h*h);return t[0]=l/f,t[1]=c/f,t[2]=h/f,t},direction:L,dist:D,distance:M,div:U,divide:h,dot:v,equals:function(t,e){if(t===e)return!0;const n=t[0],i=t[1],o=t[2],s=e[0],a=e[1],u=e[2],l=(0,r.FD)();return Math.abs(n-s)<=l*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(i-a)<=l*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-u)<=l*Math.max(1,Math.abs(o),Math.abs(u))},exactEquals:C,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,i,r,o){const s=o*o,a=s*(2*o-3)+1,u=s*(o-2)+o,l=s*(o-1),c=s*(3-2*o);return t[0]=e[0]*a+n[0]*u+i[0]*l+r[0]*c,t[1]=e[1]*a+n[1]*u+i[1]*l+r[1]*c,t[2]=e[2]*a+n[2]*u+i[2]*l+r[2]*c,t},inverse:b,len:N,length:o,lerp:R,max:m,min:p,mul:O,multiply:c,negate:x,normalize:S,random:function(t,e=1){const n=r.Ov,i=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(i)*s,t[1]=Math.sin(i)*s,t[2]=o*e,t},rotateX:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0],o[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),o[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),o[1]=r[1],o[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),o[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),o[2]=r[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:d,sqrDist:K,sqrLen:z,squaredDistance:A,squaredLength:_,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:l,transformMat3:T,transformMat4:I,transformQuat:E},Symbol.toStringTag,{value:"Module"}))},52136:(t,e,n)=>{n.d(e,{p:()=>s});var i=n(31635),r=n(10107),o=(n(44208),n(53966),n(87811),n(40608));const s=t=>{const e=t;let n=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(t){null!=t?this._override("apiKey",t):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,r.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,i.Cg)([(0,o.$)("esri.layers.mixins.APIKeyMixin")],n),n}},61528:(t,e,n)=>{n.r(e),n.d(e,{default:()=>k});var i=n(31635),r=n(78888),o=n(49186),s=n(53966),a=n(92071),u=n(74887),l=n(36708),c=n(10107),h=(n(44208),n(87811),n(36005)),f=n(40608),d=n(87024),p=n(5443),m=n(16930),g=n(4146),y=n(52136),M=n(18768),A=n(69208),_=n(16131),x=n(8303),b=n(25036),S=n(10873),v=n(58325),w=n(88546),R=n(20655),I=n(24212),T=n(97159);let E=class extends((0,M.b)((0,_.q)((0,x.A)((0,b.j)((0,a.P)((0,A.d)((0,y.p)(g.A)))))))){readModifications(t,e,n){this._modificationsSource={url:(0,T.f)(t,n),context:n}}initialize(){this.addHandles((0,l.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,l.OH))}constructor(t){super(t),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new m.A({wkid:4326,vcsWkid:115700}),this.fullExtent=new p.A(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null}set elevationInfo(t){null!=t&&"absolute-height"!==t.mode||this._set("elevationInfo",t),this._validateElevationInfo(t)}async load(t){return this.addResolvingPromise(this._doLoad(t)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(t){const e=[t];for(;e?.length>0;){const t=e.pop();if(!t)return;for(const[n,i]of Object.entries(t)){if("uri"===n)try{const t=new URL("https://tmp"+i).searchParams.get("session");if(t)return t}catch(t){}"object"==typeof i&&null!==i&&e.push(i)}}return null}async requestRootAndSession(t){const e=(t,e)=>new o.A("request-root-and-session:"+t,"requestRootAndSession: "+e);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((n,i)=>{this.url||i(e("url-missing","requestRootAndSession: url missing")),this._key=this.customParameters?this.customParameters.key:null,new Promise((t,n)=>{if(this.replacesTerrain&&!this._key){const i=this.portalItem?.portal||this.parent?.portalItem?.portal||R.A.getDefault();i.signIn().then(()=>{i.g3dTilesEnabled||n(e("g3dTilesEnabled-false","g3dTilesEnabled is false")),(0,r.A)(i.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(e=>{this._key=e.data.keyString,t()},()=>n(e("session-key-not-found","can't get session key")))},()=>n(e("sign-in.failed","can't sign in to portal")))}else t()}).then(()=>{(0,r.A)(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:t}).then(t=>{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(t.data)),this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=t.data,this.fullExtent=(0,w.uB)(this._rootTilesetJSON),n(),this._rootRequestPromise=null):i(e("root-parse-failed","Error parsing root tile"))},t=>{(0,u.QP)(t),i(t),this._rootRequestPromise=null,s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})},t=>i(t))})),this._rootRequestPromise}async _doLoad(t){const e=null!=t?t.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:t=>{if(t.typeKeywords?.includes("IntegratedMesh"))return!0;throw new o.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},t)}catch(t){(0,u.QP)(t)}if(null!=this._modificationsSource){const e=await v.A.fromUrl(this._modificationsSource.url,this.spatialReference,t);this.setAtOrigin("modifications",e,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(e)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},t=>{s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})}async fetchAttributionData(){return this.load().then(()=>({}))}_validateElevationInfo(t){const e="Integrated mesh 3d tiles layers";(0,I.XF)(s.A.getLogger(this),(0,I.B)(e,"absolute-height",t)),(0,I.XF)(s.A.getLogger(this),(0,I.tW)(e,t))}get replacesTerrain(){return!!this.parent&&"type"in this.parent&&"Basemap"===this.parent.type&&!!this.url?.match(/.+\.googleapis.com/)}};(0,i.Cg)([(0,c.MZ)({type:["IntegratedMesh3DTilesLayer"]})],E.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({type:v.A,clonable:t=>t.clone()}),(0,d.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],E.prototype,"modifications",void 0),(0,i.Cg)([(0,h.w)(["web-scene","portal-item"],"modifications")],E.prototype,"readModifications",null),(0,i.Cg)([(0,c.MZ)({type:m.A})],E.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)({type:p.A})],E.prototype,"fullExtent",void 0),(0,i.Cg)([(0,c.MZ)(S.Yj)],E.prototype,"elevationInfo",null),(0,i.Cg)([(0,c.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)(S.OZ)],E.prototype,"url",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],E.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),E=(0,i.Cg)([(0,f.$)("esri.layers.IntegratedMesh3DTilesLayer")],E);const k=E},76553:(t,e,n)=>{function i(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{H:()=>i})},88546:(t,e,n)=>{n.d(e,{_8:()=>p,uB:()=>m});var i=n(34727),r=n(38954),o=n(51850),s=n(73941),a=n(5443),u=n(54239),l=n(16930),c=n(9762);function h(t,e){if(!Array.isArray(t)||t.length<e)return!1;for(const e of t)if("number"!=typeof e)return!1;return!0}const f=7645211,d={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function p(t){return!(!(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)||!t.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function m(t,e=!1){let n=new l.A({wkid:4326,vcsWkid:115700}),u=t.root?.boundingVolume,p=!1,m=t?.root?.transform;if(e&&(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)&&(t.root?.extensions?.ESRI_crs?.boundingVolume?.box||t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))n=new l.A(t.extensions?.ESRI_crs),u=t.root?.extensions?.ESRI_crs?.boundingVolume,m=t.root?.transform,p=!0;else if(!u)return new a.A(-180,-90,180,90,n);if(u.box){const t=u?.box;if(t[3]>f&&t[7]>f&&t[11]>f)return new a.A({...d,spatialReference:n})}const g=(0,o.vt)();if(!p&&u.region&&h(u.region,6)){const t=u.region,e=(0,i.KJ)(t[0]),r=(0,i.KJ)(t[1]),o=t[4],s=(0,i.KJ)(t[2]),l=(0,i.KJ)(t[3]),c=t[5];return new a.A({xmin:e,ymin:r,zmin:o,xmax:s,ymax:l,zmax:c,spatialReference:n})}if(u.sphere&&h(u.sphere,4)){const t=u.sphere,e=(0,o.fA)(t[0],t[1],t[2]),i=t[3]/Math.sqrt(3),f=(0,o.vt)();(0,r.d)(f,e,(0,o.fA)(i,i,i));const d=(0,o.vt)();if((0,r.f)(d,e,(0,o.fA)(i,i,i)),m&&h(m,16)){const t=m;(0,r.t)(g,f,t),(0,r.c)(f,g),(0,r.t)(g,d,t),(0,r.c)(d,g)}p||((0,c.projectBuffer)(f,s.Ro,0,f,l.A.WGS84,0),(0,c.projectBuffer)(d,s.Ro,0,d,l.A.WGS84,0));const y=(0,o.vt)(),M=(0,o.vt)();return(0,r.A)(y,f,d),(0,r.z)(M,f,d),new a.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:M[0],ymax:M[1],zmax:M[2],spatialReference:n})}if(u.box&&h(u.box,12)){const t=u.box,e=(0,o.fA)(t[0],t[1],t[2]),i=(0,o.fA)(t[3],t[4],t[5]),f=(0,o.fA)(t[6],t[7],t[8]),d=(0,o.fA)(t[9],t[10],t[11]),g=[];for(let t=0;t<8;++t)g.push((0,o.vt)());if((0,r.f)(g[0],e,i),(0,r.f)(g[0],g[0],f),(0,r.f)(g[0],g[0],d),(0,r.a)(g[1],e,i),(0,r.f)(g[1],g[1],f),(0,r.f)(g[1],g[1],d),(0,r.f)(g[2],e,i),(0,r.a)(g[2],g[2],f),(0,r.f)(g[2],g[2],d),(0,r.a)(g[3],e,i),(0,r.a)(g[3],g[3],f),(0,r.f)(g[3],g[3],d),(0,r.f)(g[4],e,i),(0,r.f)(g[4],g[4],f),(0,r.a)(g[4],g[4],d),(0,r.a)(g[5],e,i),(0,r.f)(g[5],g[5],f),(0,r.a)(g[5],g[5],d),(0,r.f)(g[6],e,i),(0,r.a)(g[6],g[6],f),(0,r.a)(g[6],g[6],d),(0,r.a)(g[7],e,i),(0,r.a)(g[7],g[7],f),(0,r.a)(g[7],g[7],d),m&&h(m,16)){const t=m;for(let e=0;e<8;++e)(0,r.t)(g[e],g[e],t)}const y=(0,o.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),M=(0,o.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let t=0;t<8;++t)p||(0,c.projectBuffer)(g[t],s.Ro,0,g[t],l.A.WGS84,0),(0,r.A)(M,M,g[t]),(0,r.z)(y,y,g[t]);return new a.A({xmin:M[0],ymin:M[1],zmin:M[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:n})}return new a.A(-180,-90,180,90,n)}new Map([[5773,new u.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new u.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new u.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new u.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})]])}}]);
|