@arcgis/core 4.26.0-next.20230124 → 4.26.0-next.20230125
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/applications/SceneViewer/sceneViewerUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/125a642d8bc4312318bb.js +1 -0
- package/assets/esri/core/workers/chunks/16e9d07533a6e3cf0ca0.js +1 -0
- package/assets/esri/core/workers/chunks/208e24c056f90ac78f88.js +1 -0
- package/assets/esri/core/workers/chunks/{af046d64ba4af5fa93b3.js → 3161400f0c67198ed10b.js} +1 -1
- package/assets/esri/core/workers/chunks/4503194b1b1d8908a386.js +1 -0
- package/assets/esri/core/workers/chunks/{9c36fff8a1cb2aea3fe9.js → 486a604808692d3e7bfc.js} +1 -1
- package/assets/esri/core/workers/chunks/58d4d2af39c9f472ee8c.js +1 -0
- package/assets/esri/core/workers/chunks/{f6383a20d40bf6c4563d.js → 5addafa6c5f0502b34d4.js} +1 -1
- package/assets/esri/core/workers/chunks/{560c6c64bb1563c83c05.js → 817de532853d40224456.js} +1 -1
- package/assets/esri/core/workers/chunks/9335939e0c7bfceeeebe.js +1 -0
- package/assets/esri/core/workers/chunks/985154f1cd74dc762894.js +1 -0
- package/assets/esri/core/workers/chunks/b13ae901ebf3f6aee714.js +1 -0
- package/assets/esri/core/workers/chunks/b69d4913ae9f7da840d8.js +1 -0
- package/assets/esri/core/workers/chunks/b8d80d8b52c3a86bd0d2.js +1 -0
- package/assets/esri/core/workers/chunks/be83f84e219c8d4dba43.js +1 -0
- package/assets/esri/core/workers/chunks/c423c1cf02fb419604ba.js +1 -0
- package/assets/esri/core/workers/chunks/ce702aa7ab1d01dc3289.js +1 -0
- package/assets/esri/core/workers/chunks/{fdf9daa80f55b96d38c9.js → d0e4dbe41fd77d00a60b.js} +1 -1
- package/assets/esri/core/workers/chunks/{ed1312c2627c0d7e654d.js → dde60d0978da029863ee.js} +1 -1
- package/assets/esri/core/workers/chunks/f7ed302a233d4cfb9060.js +1 -0
- package/assets/esri/t9n/common.json +1 -1
- package/assets/esri/t9n/common_en.json +1 -1
- package/assets/esri/themes/base/_core.scss +2 -0
- package/assets/esri/themes/base/widgets/_Editor.scss +48 -42
- package/assets/esri/themes/base/widgets/_ValuePicker.scss +196 -0
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/Tooltip.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/Tooltip_en.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
- package/assets/esri/widgets/ValuePicker/t9n/ValuePicker.json +1 -0
- package/assets/esri/widgets/ValuePicker/t9n/ValuePicker_en.json +1 -0
- package/core/fontUtils.js +1 -1
- package/core/unitUtils.js +1 -1
- package/geohash/geohashUtils.js +1 -1
- package/geometry/support/MeshTexture.js +1 -1
- package/geometry/support/boundsUtils.js +1 -1
- package/geometry/support/clipRay.js +1 -1
- package/geometry/support/typeUtils.js +1 -1
- package/geometry.js +1 -1
- package/interfaces.d.ts +6 -107
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/graphics/dehydratedFeatures.js +1 -1
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/arcgisLayerUrl.js +1 -1
- package/layers/support/rasterDatasets/multipartParser.js +1 -1
- package/networks/UtilityNetwork.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/GeometryUtils.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/util.js +1 -1
- package/views/2d/engine/vectorTiles/enums.js +1 -1
- package/views/2d/engine/webgl/GeometryUtils.js +1 -1
- package/views/2d/engine/webgl/Utils.js +1 -1
- package/views/2d/engine/webgl/color.js +1 -1
- package/views/2d/engine/webgl/enums.js +1 -1
- package/views/2d/interactive/editingTools/ControlPointsTransformTool.js +1 -1
- package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/layers/SubtypeGroupLayerView2D.js +1 -1
- package/views/2d/layers/features/schemaUtils.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/features/support/tileUtils.js +1 -1
- package/views/2d/layers/support/cimSymbolUtils.js +1 -1
- package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
- package/views/3d/layers/VoxelLayerView3D.js +1 -1
- package/views/3d/layers/support/featureReference.js +1 -1
- package/views/3d/support/ResourceController.js +1 -1
- package/views/3d/support/earthUtils.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/terrain/terrainUtils.js +1 -1
- package/views/3d/webgl-engine/lib/AnimationTimeStep.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/draw/DrawGraphicTool.js +1 -1
- package/views/draw/DrawOperation.js +1 -1
- package/views/interactive/dragEventPipeline.js +1 -1
- package/views/interactive/keybindings.js +1 -1
- package/views/interactive/sketch/SketchTooltipVisibleElements.js +1 -1
- package/views/interactive/snapping/SnappingOperation.js +1 -1
- package/views/interactive/snapping/snappingUtils.js +1 -1
- package/views/interactive/tooltip/DrawTooltipInfos.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawPoint.js +1 -1
- package/widgets/Directions/DirectionsViewModel.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/CreateWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/Workflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/FeatureForm/FormExpressionArcadeExecutor.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/LayerList/ListItem.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/ValuePicker/ValuePickerBaseComponent.js +5 -0
- package/widgets/ValuePicker/ValuePickerCollection.js +5 -0
- package/widgets/ValuePicker/ValuePickerCombobox.js +5 -0
- package/widgets/ValuePicker/ValuePickerSlider.js +5 -0
- package/widgets/ValuePicker/ValuePickerSliderVisibleElements.js +5 -0
- package/widgets/ValuePicker/ValuePickerViewModel.js +5 -0
- package/widgets/ValuePicker/ValuePickerVisibleElements.js +5 -0
- package/widgets/ValuePicker.js +5 -0
- package/widgets/support/AnalysisViewModel.js +1 -1
- package/widgets/support/DatePicker.js +1 -1
- package/widgets/support/GeolocationPositioning.js +1 -1
- package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/widgets/support/Selector2D/SelectionOperation2D.js +1 -1
- package/widgets/support/Selector2D/selectorUtils.js +1 -1
- package/widgets/support/SnappingControls/SnappingListItem.js +1 -1
- package/widgets/support/SnappingControls/snappingLayerListUtils.js +1 -1
- package/widgets/support/TimePicker.js +1 -1
- package/widgets/support/geolocationUtils.js +1 -1
- package/assets/esri/core/workers/chunks/11dc8f3daf8607596d50.js +0 -1
- package/assets/esri/core/workers/chunks/13da7d992cbeb39cc2c7.js +0 -1
- package/assets/esri/core/workers/chunks/1fe589ec2cf9bc9e7c25.js +0 -1
- package/assets/esri/core/workers/chunks/2304857374630a00f6a2.js +0 -1
- package/assets/esri/core/workers/chunks/4243558925a465ecedd1.js +0 -1
- package/assets/esri/core/workers/chunks/4d8c53e961275b6a4ee1.js +0 -1
- package/assets/esri/core/workers/chunks/4f274e8494180e007d67.js +0 -1
- package/assets/esri/core/workers/chunks/7271a37094ea417ffd63.js +0 -1
- package/assets/esri/core/workers/chunks/90653ef5e718bafd6960.js +0 -1
- package/assets/esri/core/workers/chunks/9070aa0a94a9204ded1c.js +0 -1
- package/assets/esri/core/workers/chunks/930d4395802f6faca5dd.js +0 -1
- package/assets/esri/core/workers/chunks/c49a12d2771d73cfcafb.js +0 -1
- package/assets/esri/core/workers/chunks/cae1bf2f701e8d6e1089.js +0 -1
- package/assets/esri/core/workers/chunks/cd0fa942d57a278b0a44.js +0 -1
- package/views/2d/layers/features/batchUtils.js +0 -5
- package/views/3d/webgl-engine/lib/IdGen.js +0 -5
- package/widgets/Slice/SlicePlane.d.ts +0 -4
- package/widgets/Slice/SlicePlane.js +0 -5
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.26/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import r from"../../core/Logger.js";import{isNone as e}from"../../core/maybe.js";import{isHostedAgolService as
|
|
5
|
+
import r from"../../core/Logger.js";import{isNone as e}from"../../core/maybe.js";import{isHostedAgolService as t}from"../../layers/support/arcgisLayerUrl.js";import{schemaValidationErrorName as o}from"../../support/webSceneUtils.js";import{renderSVG as n}from"../../symbols/support/svgUtils.js";import{viewingModeFromString as i}from"../../views/ViewingMode.js";import{ZoomController as s}from"../../views/3d/state/controllers/global/ZoomController.js";import{ZoomController as a}from"../../views/3d/state/controllers/local/ZoomController.js";import{TilingScheme as c}from"../../views/3d/terrain/TilingScheme.js";import{isSpatialReferenceSupported as u}from"../../views/support/spatialReferenceSupport.js";function p(r){return r.back()}function m(r){return r.hasPendingEdits}const l=r.getLogger("sceneViewer.appState.saveState");function f(r,e){return l.warn(r,e)}function g(r){return t(r)}function d(r,e,t,o){return n(r,e,t,o)}function j(r){return!r.canNotSaveAs()}function w(r,e){return u(r,i(e))}function S(r,e,t){return r.getOrCreateCompatible(e,t)}function v(r){return new c(r)}function b(r){return e(c.checkUnsupported(r))}function C(r){return r&&r.name===o}function y(r){const e=r.state.cameraController;return e instanceof s||e instanceof a?e.dragBeginPoint:null}export{j as canSaveAs,v as createTilingScheme,m as editorHasPendingEdits,p as editorNavigateBack,S as getOrCreateCompatibleTileInfo,g as isHostedAgolServiceUrl,C as isSchemaValidationError,w as isSpatialReferenceSupported,b as isSupportedTileInfo,d as renderSVG,f as saveStateWarning,y as zoomDragBeginPoint};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var RemoteClient;(()=>{var e={88277:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},68773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s}),r(80442);var n=r(78286),o=r(17202);const s={analysisTheme:{accentColor:[255,128,0],textColor:"white"},apiKey:void 0,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",portalUrl:"https://www.arcgis.com",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:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.RH)(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.26.0";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${o.r}/assets`}s.defaultAssetsPath=s.assetsPath}},20102:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(22974),o=r(92604),s=r(58896);class i extends s.Z{constructor(e,t,r){if(super(e,t,r),!(this instanceof i))return new i(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.d9)(t)}catch(e){return"[object]"}})))}}catch(e){throw o.Z.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new i(e.name,e.message,e.details)}}i.prototype.type="error"},92604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(68773),o=(r(80442),r(70586)),s=r(19153);const i={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[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(){const e=this;return{loggedMessages:e._loggedMessages,clearLoggedWarnings:()=>e._loggedMessages.warn.clear()}}static get testSingleton(){return{resetLoggers(e={}){const t=a._loggers;return a._loggers=e,t},set throttlingDisabled(e){a._throttlingDisabled=e}}}static getLogger(e){let t=a._loggers[e];return t||(t=new a({module:e})),t}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=this._argsToKey(r),o=this._loggedMessages[e].get(n);if("once"===t&&null!=o||"oncePerTick"===t&&o&&o>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.Z.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;(0,o.pC)(r);){const t=r[e];if((0,o.pC)(t))return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",this._consoleWriter)}_consoleWriter(e,t,...r){console[e](`[${t}]`,...r)}_matchLevel(e){const t=n.Z.log.level?n.Z.log.level:"warn";return i[this._parentWithMember("level",t)]<=i[e]}_argsToKey(...e){return(0,s.hP)(JSON.stringify(e,((e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]")))}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then((()=>{a._tickCounter++,a._tickCounterScheduled=!1})))}}a._loggers={},a._tickCounter=0,a._tickCounterScheduled=!1,a._throttlingDisabled=!1},58896:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(78286);class o{constructor(e,t,r){this.name=e,this.details=r,this instanceof o&&(this.message=(t&&function(e,t){return e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,((e,r)=>{if(""===r)return"$";const o=(0,n.hS)(r,t)??"";if(void 0===o)throw new Error(`could not find key "${r}" in template`);return o.toString()}))}(t,r))??"")}toString(){return"["+this.name+"]: "+this.message}}},77734:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});class n{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}}n._m=2147483647,n._a=48271,n._c=0},67676:(e,t,r)=>{"use strict";r.d(t,{FY:()=>m,Od:()=>y,SO:()=>d,Vx:()=>i,a9:()=>u,cq:()=>p,e$:()=>b,e5:()=>a,fS:()=>s,w6:()=>f,zG:()=>c});var n=r(70586),o=r(77734);function s(e,t,r){if((0,n.Wi)(e)&&(0,n.Wi)(t))return!0;if((0,n.Wi)(e)||(0,n.Wi)(t)||e.length!==t.length)return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function i(e,t){let r=e.length!==t.length;r&&(e.length=t.length);for(let n=0;n<t.length;++n)e[n]!==t[n]&&(e[n]=t[n],r=!0);return r}function a(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 c(e){return e&&"number"==typeof e.length}const l=!!Array.prototype.fill;function u(e,t){if(l)return new Array(e).fill(t);const r=new Array(e);for(let n=0;n<e;n++)r[n]=t;return r}function f(e,t){void 0===t&&(t=e,e=0);const r=new Array(t-e);for(let n=e;n<t;n++)r[n-e]=n;return r}class d{constructor(){this.last=0}}const h=new d;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function b(e,t,r,n){const o=r??e.length,s=p(e,t,o,n);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const g=new Set;function m(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const i=Math.max(0,o.last-10);for(let t=i;t<r;++t)if(g.has(e[t])&&(s&&s.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<i;++t)if(g.has(e[t])&&(s&&s.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function y(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}new o.Z},60235:(e,t,r)=>{"use strict";r.d(t,{Mr:()=>i,x9:()=>a});var n=r(80442);const o=new Set;function s(e,t,r=!1){r&&o.has(t)||(r&&o.add(t),e.warn(`🛑 DEPRECATED - ${t}`))}function i(e,t,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;a(e,"Property: "+(n?n+"::":"")+t,r)}}function a(e,t,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{replacement:n,version:o,see:i,warnOnce:a}=r;let c=t;n&&(c+=`\n\t🛠️ Replacement: ${n}`),o&&(c+=`\n\t⚙️ Version: ${o}`),i&&(c+=`\n\t🔗 See ${i} for more details.`),s(e,c,a)}}},91460:(e,t,r)=>{"use strict";function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const s=o(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{IH:()=>s,on:()=>o,vT:()=>n})},80442:(e,t,r)=>{"use strict";let n;function o(e){return"function"==typeof n[e]?n[e]=n[e](globalThis):n[e]}r.d(t,{Z:()=>o}),n=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},o.add=(e,t,r,s)=>((s||void 0===n[e])&&(n[e]=t),r&&o(e)),o.cache=n,o.add("esri-deprecation-warnings",!0),(()=>{o.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(o.add("host-browser",e),o.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),o.add("dom",e),o("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(o.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),o.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),o.add("khtml",r.includes("Konqueror")?n:void 0),o.add("edge",parseFloat(t.split("Edge/")[1])||void 0),o.add("opr",parseFloat(t.split("OPR/")[1])||void 0),o.add("webkit",!o("wp")&&!o("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),o.add("chrome",!o("edge")&&!o("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),o.add("android",!o("wp")&&parseFloat(t.split("Android ")[1])||void 0),o.add("safari",!r.includes("Safari")||o("wp")||o("chrome")||o("android")||o("edge")||o("opr")?void 0:parseFloat(r.split("Version/")[1])),o.add("mac",r.includes("Macintosh")),!o("wp")&&t.match(/(iPhone|iPod|iPad)/)){const e=RegExp.$1.replace(/P/,"p"),r=t.match(/OS ([\d_]+)/)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replace(/_/g,""));o.add(e,n),o.add("ios",n)}o("webkit")||(!t.includes("Gecko")||o("wp")||o("khtml")||o("edge")||o.add("mozilla",n),o("mozilla")&&o.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&o.add("esri-mobile",t),r&&o.add("esri-iPhone",r),o.add("esri-geolocation",!!navigator.geolocation)}o.add("esri-wasm","WebAssembly"in globalThis),o.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,t=!1===globalThis.crossOriginIsolated;return e&&!t})),o.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])))),o.add("esri-atomics","Atomics"in globalThis),o.add("esri-workers","Worker"in globalThis),o.add("web-feat:cache","caches"in globalThis),o.add("esri-workers-arraybuffer-transfer",!o("safari")||Number(o("safari"))>=12),o.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),o.add("featurelayer-simplify-payload-size-factors",[1,1,4]),o.add("featurelayer-snapshot-enabled",!0),o.add("featurelayer-snapshot-point-min-threshold",8e4),o.add("featurelayer-snapshot-point-max-threshold",4e5),o.add("featurelayer-snapshot-point-coverage",.1),o.add("featurelayer-advanced-symbols",!1),o.add("featurelayer-pbf",!0),o.add("featurelayer-pbf-statistics",!1),o.add("feature-layers-workers",!0),o.add("feature-polyline-generalization-factor",1),o.add("mapview-transitions-duration",200),o.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),o.add("mapserver-pbf-version-support",10.81),o.add("mapimagelayer-popup-identify-max-tolerance",20),o.add("heatmap-allow-raster-fallback",!0),o.add("heatmap-force-raster",!1),o("host-webworker")||o("host-browser")&&(o.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),o.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{o.add("esri-image-decode",!0,!0,!0)})).catch((()=>{o.add("esri-image-decode",!1,!0,!0)}))}return!1})),o.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})))})(),o.add("enable-feature:SceneLayer-editing",!0),o.add("enable-feature:direct-3d-object-feature-layer-display",!0)},22974:(e,t,r)=>{"use strict";r.d(t,{Vo:()=>c,d9:()=>a,fS:()=>p,y7:()=>b,yd:()=>i});var n=r(67676),o=r(70586),s=r(1533);function i(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&i(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=h(e);if((0,o.pC)(t))return t;if(l(e))return e.clone();if(u(e))return e.map(a);if(f(e))return e.clone();const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=a(e[t]);return r}function c(e){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const t=h(e);if((0,o.pC)(t))return t;if(u(e)){let t=!0;const r=e.map((e=>{const r=c(e);return null!=e&&null==r&&(t=!1),r}));return t?r:null}if(l(e))return e.clone();if(!f(e)){const t=new(0,Object.getPrototypeOf(e).constructor);for(const r of Object.getOwnPropertyNames(e)){const n=e[r],o=c(n);if(null!=n&&null==o)return null;t[r]=o}return t}return null}function l(e){return"function"==typeof e.clone}function u(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function d(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){if((0,s.W0)(e)||(0,s.lq)(e)||(0,s.KZ)(e)||(0,s.z3)(e)||(0,s.Uc)(e)||(0,s.Hx)(e)||(0,s.ZY)(e)||(0,s.xZ)(e)||(0,s.fS)(e))return e.slice();if(e instanceof Date)return new Date(e.getTime());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 p(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 b(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.fS)(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):!!d(e)&&d(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))}},70586:(e,t,r)=>{"use strict";function n(e){return null!=e}function o(e){return null==e}function s(e,t){return n(e)?t(e):null}function i(e){return e}function a(e,t){return c(e,t),e}function c(e,t){if(o(e))throw new Error(t??"value is None")}function l(e,t){return n(e)?e:"function"==typeof t?t():t}function u(e,t){return n(e)?e:t}function f(e){return n(e)&&e.destroy(),null}function d(e){return n(e)&&e.dispose(),null}function h(e){return n(e)&&e.remove(),null}function p(e){return n(e)&&e.abort(),null}function b(e){return n(e)&&e.release(),null}function g(e,t,r){return n(e)&&n(t)?n(r)?r(e,t):e.equals(t):e===t}function m(e){return null}function y(e,t){const r=new Array;for(const n of e)r.push(v(n,null,t));return r}function w(e,t){for(const r of e)s(r,t)}function v(e,t,r){return n(e)?r(e):t}function _(e){return e.filter((e=>n(e)))}function O(e,...t){let r=e;for(let e=0;e<t.length&&r;++e)r=r[t[e]];return r}function k(e){return e}r.d(t,{Fd:()=>y,IM:()=>p,JR:()=>w,M2:()=>d,O3:()=>c,Pt:()=>l,R2:()=>v,RY:()=>b,SC:()=>f,U2:()=>O,Wg:()=>i,Wi:()=>o,_W:()=>g,hw:()=>h,j0:()=>k,lV:()=>_,pC:()=>n,s3:()=>a,wN:()=>m,yl:()=>u,yw:()=>s})},78286:(e,t,r)=>{"use strict";r.d(t,{RB:()=>i,RH:()=>o,hS:()=>s});var n=r(22974);function o(e,t,r=!1){return c(e,t,r)}function s(e,t){if(null!=t)return t[e]||a(e.split("."),!1,t)}function i(e,t,r){const n=e.split("."),o=n.pop(),s=a(n,!0,r);s&&o&&(s[o]=t)}function a(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 c(e,t,r){return t?Object.keys(t).reduce(((e,o)=>{let s=e[o],i=t[o];return s===i?e:void 0===s?(e[o]=(0,n.d9)(i),e):(Array.isArray(i)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.concat():e[o]=[s]:e[o]=[],i&&(Array.isArray(i)||(i=[i]),r?i.forEach((e=>{s.includes(e)||s.push(e)})):e[o]=i.concat())):i&&"object"==typeof i?e[o]=c(s,i,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=i),e)}),e||{}):e}},95330:(e,t,r)=>{"use strict";r.d(t,{e4:()=>O,zE:()=>c,dD:()=>w,hh:()=>C,Ds:()=>P,as:()=>v,WW:()=>_,R8:()=>y,D_:()=>m,Hc:()=>f,y8:()=>k,fu:()=>p,$F:()=>b,r9:()=>d,k_:()=>l,H9:()=>h,Yn:()=>x,gx:()=>S,Hl:()=>g});const n=(o=globalThis,{setTimeout:(e,t)=>{const r=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(r)}}});var o;r(60235);var s=r(20102),i=r(91460),a=(r(92604),r(70586));function c(e="Aborted"){return new s.Z("AbortError",e)}function l(e,t="Aborted"){if(f(e))throw c(t)}function u(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function f(e){const t=u(e);return(0,a.pC)(t)&&t.aborted}function d(e){if(m(e))throw e}function h(e){if(!m(e))throw e}function p(e,t){const r=u(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,i.IH)(r,"abort",(()=>t()));t()}}function b(e,t){const r=u(e);if(!(0,a.Wi)(r))return l(r),(0,i.IH)(r,"abort",(()=>t(c())))}function g(e,t){const r=u(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let o=p(t,(()=>n(c())));const s=()=>o=(0,a.hw)(o);e.then(s,s),e.then(r,n)}))}function m(e){return"AbortError"===e?.name}async function y(e){try{return await e}catch(e){if(!m(e))throw e;return}}function w(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}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 new Promise((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const o={promise:t||Promise.resolve(t)};r.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}async function _(e){return(await v(e)).filter((e=>!!e.value)).map((e=>e.value))}function O(e,t,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(c()))}))}))}function k(e){return e&&"function"==typeof e.then}function S(e){return k(e)?e:Promise.resolve(e)}function P(e,t=-1){let r,n,o,s,i=null;const l=(...u)=>{if(r){n=u,s&&s.reject(c()),s=w();const e=(0,a.j0)(s.promise);if(i){const e=i;i=null,e.abort()}return e}if(o=s||w(),s=null,t>0){const n=new AbortController;r=S(e(...u,n.signal));const o=r;O(t).then((()=>{r===o&&(s?n.abort():i=n)}))}else r=1,r=S(e(...u));const f=()=>{const e=n;n=o=r=i=null,null!=e&&l(...e)},d=r,h=o;return d.then(f,f),d.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return l}function C(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>n.setTimeout((()=>o.reject(t)),e),o.promise=r,o}async function x(e){await Promise.resolve(),l(e)}},19153:(e,t,r)=>{"use strict";r.d(t,{Cb:()=>l,Qs:()=>a,gx:()=>i,hP:()=>c});var n=r(78286);const o=/\{([^\}]+)\}/g;function s(e){return e??""}function i(e,t){return e.replace(o,"object"==typeof t?(e,r)=>s((0,n.hS)(r,t)):(e,r)=>s(t(r)))}function a(e,t){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(e=>t&&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}function l(e){return(new DOMParser).parseFromString(e||"","text/html").body.innerText||""}},1533:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return e&&e.constructor&&"Int8Array"===e.constructor.name}function s(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name}function i(e){return e&&e.constructor&&"Uint8ClampedArray"===e.constructor.name}function a(e){return e&&e.constructor&&"Int16Array"===e.constructor.name}function c(e){return e&&e.constructor&&"Uint16Array"===e.constructor.name}function l(e){return e&&e.constructor&&"Int32Array"===e.constructor.name}function u(e){return e&&e.constructor&&"Uint32Array"===e.constructor.name}function f(e){return e&&e.constructor&&"Float32Array"===e.constructor.name}function d(e){return e&&e.constructor&&"Float64Array"===e.constructor.name}r.d(t,{DB:()=>h,Hx:()=>l,KZ:()=>i,Uc:()=>c,W0:()=>o,ZY:()=>u,eP:()=>n,fS:()=>d,lq:()=>s,xZ:()=>f,z3:()=>a});const h=1024},17452:(e,t,r)=>{"use strict";r.d(t,{$U:()=>se,AH:()=>G,B7:()=>j,D6:()=>J,Fv:()=>F,HK:()=>Q,Hu:()=>pe,Ie:()=>de,L:()=>S,Ml:()=>me,P$:()=>z,PF:()=>Z,Qj:()=>fe,R9:()=>w,TI:()=>k,YP:()=>K,Yd:()=>le,ZN:()=>be,Zo:()=>R,_l:()=>te,b7:()=>E,ed:()=>I,fZ:()=>ye,fl:()=>ge,hF:()=>B,hO:()=>ie,io:()=>re,jc:()=>V,kl:()=>q,mN:()=>P,oC:()=>ne,oh:()=>L,qg:()=>T,rS:()=>Y,sJ:()=>ee,tD:()=>N,tm:()=>W,u0:()=>C,v_:()=>D,vt:()=>ue});var n=r(68773),o=r(20102),s=r(92604),i=r(70586),a=r(19745);const c=s.Z.getLogger("esri.core.urlUtils"),l=n.Z.request,u="esri/config: esriConfig.request.proxyUrl is not set.",f=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,d=/^\s*http:/i,h=/^\s*https:/i,p=/^\s*file:/i,b=/:\d+$/,g=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,m=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),y=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class w{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=(0,i.j0)(this.uri.match(m));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=(0,i.j0)(this.authority.match(y)),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 v={};let _=new w(n.Z.applicationUrl);let O=function(){const e=(0,i.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const k=()=>_,S=()=>O;function P(e){if(!e)return null;const t={path:null,query:null},r=new w(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=C(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function C(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 x(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function j(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&&t[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>x(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):x(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function E(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=se(e);const n=I(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw c.warn(u),new o.Z("urlutils:proxy-not-set",u);return t&&ae()&&(r=ie(r)),P(r)}function T(e){const t=I(e);let r,n;if(t){const e=M(t.proxyUrl);r=e.path,n=e.query?C(e.query):null}if(r){const t=P(e);e=r+"?"+t.path;const o=j({...n,...t.query});o&&(e=`${e}?${o}`)}return e}const A={path:"",query:""};function M(e){const t=e.indexOf("?");return-1!==t?(A.path=e.slice(0,t),A.query=e.slice(t+1)):(A.path=e,A.query=null),A}function $(e){return(e=ce(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=M(e).path),!0)).toLowerCase()}function N(e){const t={proxyUrl:e.proxyUrl,urlPrefix:$(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;o=e;break}0===t.indexOf(n)&&(o=e+1)}return r.splice(o,0,t),o}function I(e){const t=l.proxyRules,r=$(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function R(e,t){if(!e||!t)return!1;e=U(e),t=U(t);const r=(0,a.a)(e),n=(0,a.a)(t);return(0,i.pC)(r)&&(0,i.pC)(n)?r.portalHostname===n.portalHostname:!(0,i.pC)(r)&&!(0,i.pC)(n)&&J(e,t,!0)}function W(e,t){return e=U(e),t=U(t),ce(e)===ce(t)}function U(e){const t=(e=F(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function L(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=l.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=he(e),o=he(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function q(e){if("string"==typeof e){if(!K(e))return!0;e=he(e)}if(J(e,_))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=H(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function H(e){return v[e]||(oe(e)||ne(e)?v[e]=[new w(B(e))]:v[e]=[new w(`http://${e}`),new w(`https://${e}`)]),v[e]}function B(e,t=O,r){return ne(e)?r&&r.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===z(e).slice(2)?`http:${e}`:`https:${e}`:oe(e)?e:(0,i.j0)(D("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function Z(e,t=O,r){if(null==e||!K(e))return e;const n=F(e),o=n.toLowerCase(),s=F(t).toLowerCase().replace(/\/+$/,""),i=r?F(r).toLowerCase().replace(/\/+$/,""):null;if(i&&0!==s.indexOf(i))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=a(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=a(o,"/",c+1);if(-1===l)return e;if(i&&l<i.length)return e;e=n.slice(l);const u=s.slice(l-1).replace(/[^/]+/g,"").length;if(u>0)for(let t=0;t<u;t++)e=`../${e}`;else e=`./${e}`;return e}function F(e){return function(e){const t=l.httpsDomains;if(!function(e){return null!=e&&d.test(e)||"http"===_.scheme&&ne(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),b.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&n===_.authority&&!g.test(e)||(ae()&&n===_.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||ae()&&!I(e))&&(e=ie(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=M(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function D(...e){const t=e.filter(i.pC);if(!t||!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&&p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&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 z(e,t=!1){if(null==e||V(e)||Q(e))return null;let r=e.indexOf("://");if(-1===r&&ne(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=ce(e,!0)),e}function K(e){return ne(e)||oe(e)}function V(e){return null!=e&&"blob:"===e.slice(0,5)}function Q(e){return null!=e&&"data:"===e.slice(0,5)}function G(e){const t=ee(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}function Y(e){return btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}const X=/^data:(.*?)(;base64)?,(.*)$/;function ee(e){const t=e.match(X);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function te(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function re(e,t){(function(e,t){if(!e)return!1;const r=document.createElement("a");if(!("download"in r))return!1;const n=URL.createObjectURL(e);return r.download=t,r.href=n,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ne(e){return null!=e&&"/"===e[0]&&"/"===e[1]}function oe(e){return null!=e&&f.test(e)}function se(e){return null!=e&&h.test(e)||"https"===_.scheme&&ne(e)}function ie(e){return ne(e)?`https:${e}`:e.replace(d,"https:")}function ae(){return"https"===_.scheme}function ce(e,t=!1){return ne(e)?e.slice(2):(e=e.replace(f,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function le(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 ue(e,t){if(!e)return"";const r=P(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(o,"")}function fe(e){return e.replace(/\/+$/,"")}function de(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),i=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,i).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(i)}`}function he(e){return"string"==typeof e?new w(B(e)):(e.scheme||(e.scheme=_.scheme),e)}function pe(e,t){const r=P(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 be(e,t,r){const n=P(e),o=n.query||{};return o[t]=String(r),`${n.path}?${j(o)}`}function ge(e,t){const r=P(e),n=r.query||{};for(const e in t)n[e]=t[e];const o=j(n);return o?`${r.path}?${o}`:r.path}function me(e){if((0,i.Wi)(e))return null;const t=e.match(we);return t?t[2]:null}function ye(e){if((0,i.Wi)(e))return null;const t=e.match(we);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}const we=/([^.]*)\.([^\/]*)$/},25045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(40330),o=r(20102),s=r(91460),i=r(70586),a=r(95330),c=r(94362),l=r(17202);const u={statsWorker:()=>Promise.all([r.e(1400),r.e(1562),r.e(3847),r.e(6841)]).then(r.bind(r,36841)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7154)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(212),r.e(2062)]).then(r.bind(r,49594)),ElevationSamplerWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(6481),r.e(6459),r.e(9936)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(5795),r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(4599),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(3660)]).then(r.bind(r,65967)),GeoJSONSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(1400),r.e(1562),r.e(8732),r.e(1916)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(7126),r.e(2584),r.e(5795),r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(4599),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(4325),r.e(3942),r.e(6367),r.e(1901)]).then(r.bind(r,67661)),PointCloudWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(8643),r.e(9634)]).then(r.bind(r,90447)),RasterWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(6610),r.e(5202),r.e(6239)]).then(r.bind(r,61576)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(6481),r.e(212),r.e(5467)]).then(r.bind(r,73248)),SceneLayerWorker:()=>r.e(1412).then(r.bind(r,31412)),WFSSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(4325),r.e(1785),r.e(6656),r.e(6188)]).then(r.bind(r,56456))},{CLOSE:f,ABORT:d,INVOKE:h,RESPONSE:p,OPEN_PORT:b,ON:g}=c.Cs;class m{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===c.Cs.ABORT?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 y{static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new y(t.port1,{channel:t,client:r},(()=>null));return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=n),y.clients.set(n,r),t.port2}static loadWorker(e){const t=u[e];return t?t():Promise.resolve(null)}constructor(e,t,r){this._port=e,this._getNextJob=r,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new m((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:f}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const n=r&&r.signal,s=r&&r.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const l=(0,c.jt)();return new Promise(((r,o)=>{if((0,a.Hc)(n))return this._processWork(),void o((0,a.zE)());const c=(0,a.fu)(n,(()=>{const e=this._outJobs.get(l);e&&(this._outJobs.delete(l),this._processWork(),(0,i.hw)(e.abortHandle),this._post({type:d,jobId:l}),o((0,a.zE)()))})),u={resolve:r,reject:o,abortHandle:c,debugInfo:e};this._outJobs.set(l,u),this._post({type:h,jobId:l,methodName:e,abortable:null!=n},t,s)}))}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:c.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),{remove(){r.port1.postMessage({type:c.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",n)}}}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:b,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._getNextJob();if(!e)return;const{methodName:t,data:r,invokeOptions:n,deferred:o}=e;this.invoke(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.hw)(e.abortHandle),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,i.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,c.QM)(e);if(t)switch(t.type){case p:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case f:this._onCloseMessage();break;case b:this._onOpenPortMessage(t);break;case g:this._onOnMessage(t)}}_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&&y.clients.get(this)===e&&e.destroy(),y.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:o}=e,s=o?new AbortController:null,i=this._inJobs;let l,u=this._client,f=u[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)u=u[e[t]],f=u[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);l=f.call(u,n,{client:this,signal:s?s.signal:null})}catch(e){return void this._post({type:p,jobId:r,error:(0,c.AB)(e)})}(0,a.y8)(l)?(i.set(r,{controller:s,promise:l}),l.then((e=>{i.has(r)&&(i.delete(r),this._post({type:p,jobId:r},e))}),(e=>{i.has(r)&&(i.delete(r),(0,a.D_)(e)||this._post({type:p,jobId:r,error:(0,c.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:p,jobId:r},l)}_onOpenPortMessage(e){new y(e.port,{client:this._client},(()=>null))}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,s.on)(e.port,"message",(e=>{(0,c.QM)(e)?.type===c.Cs.CLOSE&&(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.hw)(a.abortHandle),r?a.reject(o.Z.fromJSON(JSON.parse(r))):a.resolve(n)}_post(e,t,r){return(0,c.oi)(this._port,e,t,r)}}y.kernelInfo={revision:l.$,version:n.i8,buildDate:l.r},y.clients=new Map},94362:(e,t,r)=>{"use strict";r.d(t,{AB:()=>a,Cs:()=>n,QM:()=>l,jt:()=>i,oi:()=>c});var n,o=r(80442);!function(e){e[e.HANDSHAKE=0]="HANDSHAKE",e[e.OPEN=1]="OPEN",e[e.OPENED=2]="OPENED",e[e.RESPONSE=3]="RESPONSE",e[e.INVOKE=4]="INVOKE",e[e.ABORT=5]="ABORT",e[e.CLOSE=6]="CLOSE",e[e.OPEN_PORT=7]="OPEN_PORT",e[e.ON=8]="ON"}(n||(n={}));let s=0;function i(){return s++}function a(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 c(e,t,r,s){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let i;if(function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(i=u(r.transferList),t.data=r.result):(i=u(s),t.data=r),i){if((0,o.Z)("ff"))for(const r of i)if("byteLength"in r&&r.byteLength>267386880){const r="Worker call with large ArrayBuffer would crash Firefox";switch(t.type){case n.INVOKE:throw r;case n.RESPONSE:return void c(e,{type:n.RESPONSE,jobId:t.jobId,error:a(r)})}}e.postMessage(t,i)}else e.postMessage(t)}function l(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function u(e){if(!e||!e.length)return null;if((0,o.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},40330:(e,t,r)=>{"use strict";r.d(t,{Dp:()=>l,Nv:()=>i,i8:()=>s,id:()=>a,qh:()=>c});var n=r(80442),o=r(17452);const s="4.26",i={async request(e,t){const{default:n}=await r.e(3172).then(r.bind(r,3172)),s=e.options,i=s.responseType;s.signal=t?.signal,s.responseType="native"===i||"native-request-init"===i?"native-request-init":i&&["blob","json","text"].includes(i)&&(0,o.oh)(e.url)?.after?i:"array-buffer";const a=await n(e.url,s),c={data:a.data,httpStatus:a.httpStatus,ssl:a.ssl};switch(a.requestOptions?.responseType){case"native-request-init":return delete c.data.signal,c;case"blob":c.data=await c.data.arrayBuffer();break;case"json":c.data=(new TextEncoder).encode(JSON.stringify(c.data)).buffer;break;case"text":c.data=(new TextEncoder).encode(c.data).buffer}return{result:c,transferList:[c.data]}}};let a;function c(e){a=e}function l(e){const t=a&&a.findCredential(e);return t&&t.token?(0,o.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")},19745:(e,t,r)=>{"use strict";r.d(t,{P:()=>i,a:()=>s});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,i]=t;if(!r)return null;let a=null,c=null,l=null;const{devext:u,qaext:f,www:d}=o;if(s)if(a=r,i)switch(i.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=u);break;case"qa":({customBaseUrl:c,portalHostname:l}=f);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=u);break;case"qaext":({customBaseUrl:c,portalHostname:l}=f);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:a}}function i(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}},17202:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,r:()=>n});const n="20230124",o="706932e88e2c3f7ab76fadb7990b19b8d35869ab"}},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/"+{24:"2312c752419c7c1d7e4a",81:"b5a823da33cdcf4efe2d",212:"f3f2759b39ab76cde66c",216:"5e9869849d999aac5756",223:"acf800382cbcd4875865",247:"a9f83bbccf3b5f229262",540:"96536f507bc6e501a4f7",565:"969bb94d5bdc9da114e2",576:"5ec4fedbbcbb0053cf74",639:"1186a56dacaf269d5271",665:"2e5b61ee21fa6287cc65",690:"798cd875d64182741364",719:"1891bd626592a8cc3e7e",731:"330b8c72baa725516ef5",739:"5983c9f28b7f63c7e1e0",819:"d1ead6e8aa7e8e21fbc6",837:"b26a671d3523b8a48404",908:"cae1bf2f701e8d6e1089",911:"2187672a72e776b9b153",1027:"16b0cefeb9f3e8544b6d",1073:"7bc7b6cf75771687d81f",1074:"fa059d94d5051ded85b3",1158:"3714482f3a829d122da1",1400:"09ac51aeb0f6fe16aa30",1412:"09556ef505728089b3b1",1421:"106329846470141953ad",1423:"d00bd1c0f003417d97c7",1433:"4d5bdf18feeb9c8cb6ff",1513:"ba7239089a04098e3619",1534:"1cf86638f8e097d8e6e2",1537:"b9743aed120acb208b13",1559:"0e67a5caab64ddd90a5d",1562:"1fe589ec2cf9bc9e7c25",1612:"64b63a6f82d3969af846",1761:"1039cd48a12e88baa97a",1785:"2304857374630a00f6a2",1790:"3a00f94f8f0d49c60969",1901:"11dc8f3daf8607596d50",1916:"90653ef5e718bafd6960",1932:"930d4395802f6faca5dd",2062:"f9e0b8eaf99f48393a6e",2134:"0867268dbc626bd6aa62",2156:"233e2a275efa43766d15",2462:"a0a5aace9845eb383667",2584:"53197e8e017235c5efcb",2592:"fde8827bd7f1a97a6db3",2664:"670880e249ff43fcd485",2693:"4d8c53e961275b6a4ee1",2710:"719ee5c4a064ea9bdfcf",3011:"bf5c34d81724e9bdc182",3027:"fce9f487437d3c5ef080",3055:"a51c2c5d3e7f764f44d5",3084:"cd0fa942d57a278b0a44",3172:"157305921c999a08e9bb",3230:"ed1312c2627c0d7e654d",3529:"0f29a06eba4aae3eca11",3660:"594674e926a3c245fa84",3668:"2f2a4ec418b6a03c80ae",3847:"9070aa0a94a9204ded1c",3852:"d4338bc4a99b71c44dc2",3942:"41d25407888326c91566",3992:"4a2b4574b87be7b98481",4150:"23f83625d9f6998cfa7b",4166:"6a75b1f316ea2c44df53",4242:"2e7e8b035673d90deefd",4286:"3b6402b2929ba339468f",4325:"e95e449c3fab1a03498c",4358:"eab47a18717478014e03",4371:"4b56a15d904a64747e64",4475:"a84ad71a80c3f84869a7",4499:"423955dd5f10692daf3b",4547:"f7a57c012fb9f864d28f",4599:"bb8a670d4a1eaa458bef",4695:"cdf7b4b87132af9a8ca8",4729:"7cbc669fb0ae7b697bf1",5015:"c49510a48cdf64a0d9fc",5072:"530b9d43d466d4cb2dba",5103:"0f7d53062ee425243aa1",5115:"1a13a05b143f214278c0",5202:"d94f216f04ad8f8b4f2b",5235:"d001500e31cadd04c95d",5329:"0e21e5b4d065567a6a91",5464:"006af87392d7136fb8c7",5467:"fdf9daa80f55b96d38c9",5468:"3a7006535381d2657f40",5546:"293594192932f0e00ecf",5587:"dfbe4f2092d2f99024d7",5590:"5f0e211f07d8abe5e764",5642:"348a3321fc757ca1f948",5660:"2d99132b319e68e54f2f",5732:"83f7e22a12d90ef93e62",5795:"13da7d992cbeb39cc2c7",5837:"c419a26e2b7d20d99cef",5853:"19ed87aaf7b63ea62fae",5935:"60a08ce29d09cb07ef06",6188:"aa8bcdbd715921b56c1c",6233:"acfde5a4cce3a4589f15",6237:"1aaf284ce0ee24053bd1",6239:"4f274e8494180e007d67",6261:"14b113a6fdcf81e56674",6367:"fcf033c581f58d006cf6",6368:"560c6c64bb1563c83c05",6395:"3664d97f0c2819690cf9",6459:"de4b687431b4d5cf0369",6465:"8d52093b6c4bfd087a12",6481:"3ca8ff2c0f65872bc81a",6502:"21f1d91121d95ef21604",6584:"db96a2dc1879b4944cb8",6610:"9e4f5cc543a93f967257",6656:"9c36fff8a1cb2aea3fe9",6710:"c860891552d6d886394b",6748:"9aee6f171d4fbac941d9",6774:"22677d246a80195507e6",6785:"f6383a20d40bf6c4563d",6841:"b3a717b7e41f3b0180be",7035:"46fbfb2f815f4a543d5f",7126:"d6842acbfa7a39f3ca30",7154:"878a51ff8267f4b26ebb",7269:"02497309e0f848bf2879",7277:"7b9bdc287ab1bbe0bad6",7374:"582d12138e6eea62d6fe",7476:"5c8fd7842bdfe912eef2",7483:"ce3b6f9be5d68dea8596",7541:"190c9feab5f80e586d84",7662:"c49a12d2771d73cfcafb",7774:"6bc90a5ebfbfbb998656",7845:"2680392cef77d98ad097",7873:"21f7d3400c070aa45596",7905:"9b449a036598479ad0b0",8008:"d3e21ad05030bb14e844",8062:"ebd9f923cef87ddbcb14",8092:"f1b26b73101210b8f29c",8096:"22a990a8d4d4587866a5",8153:"3fa91ee5299cd5f470c1",8227:"1c9fff56d6e1cc3df63f",8244:"d19deb5233712148e266",8636:"ec6621ff3a5d300e00f9",8643:"685302b6a325d881ac8e",8732:"99e16173584702577b80",8758:"4b2edcb8ef7fae4f7d28",8828:"c6eb6a97ecc6ed9ce713",8833:"30ae4c22f6b8aab9f841",9070:"76df52cb37efaba366d1",9078:"4243558925a465ecedd1",9169:"ac4c10194e904840a4ad",9230:"1e55c5e9a0bfb92f36aa",9238:"7271a37094ea417ffd63",9243:"6c519c5a474f51f37af0",9291:"179efcf889111d2576c5",9296:"4a333587e8e1eeb5fd97",9393:"8bc4b317284c77cdf7c0",9634:"63706a04e173000994db",9746:"5fd92d473dd21ff3045e",9771:"4b41a08d603e846306da",9790:"7acc061da63714d388da",9880:"1b5bdd80db9a1a410ff8",9884:"a6866c770e341d26d265",9904:"af046d64ba4af5fa93b3",9936:"2f61fb9105ea2d39aae9",9942:"5002d6584996b5a12828",9971:"c9a9bb4c8b416f9b042a"}[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&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={134: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,i]=t;for(var a in s)r.o(s,a)&&(r.m[a]=s[a]);for(i&&i(r);o.length;)e[o.pop()]=1;n(t)}})(),r(88277);var n=r(25045);RemoteClient=n})();
|
|
1
|
+
var RemoteClient;(()=>{var e={88277:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},68773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s}),r(80442);var n=r(78286),o=r(17202);const s={analysisTheme:{accentColor:[255,128,0],textColor:"white"},apiKey:void 0,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",portalUrl:"https://www.arcgis.com",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:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.RH)(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.26.0";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${o.r}/assets`}s.defaultAssetsPath=s.assetsPath}},20102:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(22974),o=r(92604),s=r(58896);class i extends s.Z{constructor(e,t,r){if(super(e,t,r),!(this instanceof i))return new i(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.d9)(t)}catch(e){return"[object]"}})))}}catch(e){throw o.Z.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new i(e.name,e.message,e.details)}}i.prototype.type="error"},92604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(68773),o=(r(80442),r(70586)),s=r(19153);const i={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[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(){const e=this;return{loggedMessages:e._loggedMessages,clearLoggedWarnings:()=>e._loggedMessages.warn.clear()}}static get testSingleton(){return{resetLoggers(e={}){const t=a._loggers;return a._loggers=e,t},set throttlingDisabled(e){a._throttlingDisabled=e}}}static getLogger(e){let t=a._loggers[e];return t||(t=new a({module:e})),t}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=this._argsToKey(r),o=this._loggedMessages[e].get(n);if("once"===t&&null!=o||"oncePerTick"===t&&o&&o>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.Z.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;(0,o.pC)(r);){const t=r[e];if((0,o.pC)(t))return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",this._consoleWriter)}_consoleWriter(e,t,...r){console[e](`[${t}]`,...r)}_matchLevel(e){const t=n.Z.log.level?n.Z.log.level:"warn";return i[this._parentWithMember("level",t)]<=i[e]}_argsToKey(...e){return(0,s.hP)(JSON.stringify(e,((e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]")))}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then((()=>{a._tickCounter++,a._tickCounterScheduled=!1})))}}a._loggers={},a._tickCounter=0,a._tickCounterScheduled=!1,a._throttlingDisabled=!1},58896:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(78286);class o{constructor(e,t,r){this.name=e,this.details=r,this instanceof o&&(this.message=(t&&function(e,t){return e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,((e,r)=>{if(""===r)return"$";const o=(0,n.hS)(r,t)??"";if(void 0===o)throw new Error(`could not find key "${r}" in template`);return o.toString()}))}(t,r))??"")}toString(){return"["+this.name+"]: "+this.message}}},77734:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});class n{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}}n._m=2147483647,n._a=48271,n._c=0},67676:(e,t,r)=>{"use strict";r.d(t,{FY:()=>m,Od:()=>y,SO:()=>d,Vx:()=>i,a9:()=>u,cq:()=>p,e$:()=>b,e5:()=>a,fS:()=>s,w6:()=>f,zG:()=>c});var n=r(70586),o=r(77734);function s(e,t,r){if((0,n.Wi)(e)&&(0,n.Wi)(t))return!0;if((0,n.Wi)(e)||(0,n.Wi)(t)||e.length!==t.length)return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function i(e,t){let r=e.length!==t.length;r&&(e.length=t.length);for(let n=0;n<t.length;++n)e[n]!==t[n]&&(e[n]=t[n],r=!0);return r}function a(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 c(e){return e&&"number"==typeof e.length}const l=!!Array.prototype.fill;function u(e,t){if(l)return new Array(e).fill(t);const r=new Array(e);for(let n=0;n<e;n++)r[n]=t;return r}function f(e,t){void 0===t&&(t=e,e=0);const r=new Array(t-e);for(let n=e;n<t;n++)r[n-e]=n;return r}class d{constructor(){this.last=0}}const h=new d;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function b(e,t,r,n){const o=r??e.length,s=p(e,t,o,n);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const g=new Set;function m(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const i=Math.max(0,o.last-10);for(let t=i;t<r;++t)if(g.has(e[t])&&(s&&s.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<i;++t)if(g.has(e[t])&&(s&&s.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function y(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}new o.Z},60235:(e,t,r)=>{"use strict";r.d(t,{Mr:()=>i,x9:()=>a});var n=r(80442);const o=new Set;function s(e,t,r=!1){r&&o.has(t)||(r&&o.add(t),e.warn(`🛑 DEPRECATED - ${t}`))}function i(e,t,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;a(e,"Property: "+(n?n+"::":"")+t,r)}}function a(e,t,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{replacement:n,version:o,see:i,warnOnce:a}=r;let c=t;n&&(c+=`\n\t🛠️ Replacement: ${n}`),o&&(c+=`\n\t⚙️ Version: ${o}`),i&&(c+=`\n\t🔗 See ${i} for more details.`),s(e,c,a)}}},91460:(e,t,r)=>{"use strict";function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const s=o(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{IH:()=>s,on:()=>o,vT:()=>n})},80442:(e,t,r)=>{"use strict";let n;function o(e){return"function"==typeof n[e]?n[e]=n[e](globalThis):n[e]}r.d(t,{Z:()=>o}),n=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},o.add=(e,t,r,s)=>((s||void 0===n[e])&&(n[e]=t),r&&o(e)),o.cache=n,o.add("esri-deprecation-warnings",!0),(()=>{o.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(o.add("host-browser",e),o.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),o.add("dom",e),o("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(o.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),o.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),o.add("khtml",r.includes("Konqueror")?n:void 0),o.add("edge",parseFloat(t.split("Edge/")[1])||void 0),o.add("opr",parseFloat(t.split("OPR/")[1])||void 0),o.add("webkit",!o("wp")&&!o("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),o.add("chrome",!o("edge")&&!o("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),o.add("android",!o("wp")&&parseFloat(t.split("Android ")[1])||void 0),o.add("safari",!r.includes("Safari")||o("wp")||o("chrome")||o("android")||o("edge")||o("opr")?void 0:parseFloat(r.split("Version/")[1])),o.add("mac",r.includes("Macintosh")),!o("wp")&&t.match(/(iPhone|iPod|iPad)/)){const e=RegExp.$1.replace(/P/,"p"),r=t.match(/OS ([\d_]+)/)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replace(/_/g,""));o.add(e,n),o.add("ios",n)}o("webkit")||(!t.includes("Gecko")||o("wp")||o("khtml")||o("edge")||o.add("mozilla",n),o("mozilla")&&o.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&o.add("esri-mobile",t),r&&o.add("esri-iPhone",r),o.add("esri-geolocation",!!navigator.geolocation)}o.add("esri-wasm","WebAssembly"in globalThis),o.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,t=!1===globalThis.crossOriginIsolated;return e&&!t})),o.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])))),o.add("esri-atomics","Atomics"in globalThis),o.add("esri-workers","Worker"in globalThis),o.add("web-feat:cache","caches"in globalThis),o.add("esri-workers-arraybuffer-transfer",!o("safari")||Number(o("safari"))>=12),o.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),o.add("featurelayer-simplify-payload-size-factors",[1,1,4]),o.add("featurelayer-snapshot-enabled",!0),o.add("featurelayer-snapshot-point-min-threshold",8e4),o.add("featurelayer-snapshot-point-max-threshold",4e5),o.add("featurelayer-snapshot-point-coverage",.1),o.add("featurelayer-advanced-symbols",!1),o.add("featurelayer-pbf",!0),o.add("featurelayer-pbf-statistics",!1),o.add("feature-layers-workers",!0),o.add("feature-polyline-generalization-factor",1),o.add("mapview-transitions-duration",200),o.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),o.add("mapserver-pbf-version-support",10.81),o.add("mapimagelayer-popup-identify-max-tolerance",20),o.add("heatmap-allow-raster-fallback",!0),o.add("heatmap-force-raster",!1),o("host-webworker")||o("host-browser")&&(o.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),o.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{o.add("esri-image-decode",!0,!0,!0)})).catch((()=>{o.add("esri-image-decode",!1,!0,!0)}))}return!1})),o.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})))})(),o.add("enable-feature:SceneLayer-editing",!0),o.add("enable-feature:direct-3d-object-feature-layer-display",!0)},22974:(e,t,r)=>{"use strict";r.d(t,{Vo:()=>c,d9:()=>a,fS:()=>p,y7:()=>b,yd:()=>i});var n=r(67676),o=r(70586),s=r(1533);function i(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&i(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=h(e);if((0,o.pC)(t))return t;if(l(e))return e.clone();if(u(e))return e.map(a);if(f(e))return e.clone();const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=a(e[t]);return r}function c(e){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const t=h(e);if((0,o.pC)(t))return t;if(u(e)){let t=!0;const r=e.map((e=>{const r=c(e);return null!=e&&null==r&&(t=!1),r}));return t?r:null}if(l(e))return e.clone();if(!f(e)){const t=new(0,Object.getPrototypeOf(e).constructor);for(const r of Object.getOwnPropertyNames(e)){const n=e[r],o=c(n);if(null!=n&&null==o)return null;t[r]=o}return t}return null}function l(e){return"function"==typeof e.clone}function u(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function d(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){if((0,s.W0)(e)||(0,s.lq)(e)||(0,s.KZ)(e)||(0,s.z3)(e)||(0,s.Uc)(e)||(0,s.Hx)(e)||(0,s.ZY)(e)||(0,s.xZ)(e)||(0,s.fS)(e))return e.slice();if(e instanceof Date)return new Date(e.getTime());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 p(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 b(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.fS)(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):!!d(e)&&d(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))}},70586:(e,t,r)=>{"use strict";function n(e){return null!=e}function o(e){return null==e}function s(e,t){return n(e)?t(e):null}function i(e){return e}function a(e,t){return c(e,t),e}function c(e,t){if(o(e))throw new Error(t??"value is None")}function l(e,t){return n(e)?e:"function"==typeof t?t():t}function u(e,t){return n(e)?e:t}function f(e){return n(e)&&e.destroy(),null}function d(e){return n(e)&&e.dispose(),null}function h(e){return n(e)&&e.remove(),null}function p(e){return n(e)&&e.abort(),null}function b(e){return n(e)&&e.release(),null}function g(e,t,r){return n(e)&&n(t)?n(r)?r(e,t):e.equals(t):e===t}function m(e){return null}function y(e,t){const r=new Array;for(const n of e)r.push(v(n,null,t));return r}function w(e,t){for(const r of e)s(r,t)}function v(e,t,r){return n(e)?r(e):t}function _(e){return e.filter((e=>n(e)))}function O(e,...t){let r=e;for(let e=0;e<t.length&&r;++e)r=r[t[e]];return r}function k(e){return e}r.d(t,{Fd:()=>y,IM:()=>p,JR:()=>w,M2:()=>d,O3:()=>c,Pt:()=>l,R2:()=>v,RY:()=>b,SC:()=>f,U2:()=>O,Wg:()=>i,Wi:()=>o,_W:()=>g,hw:()=>h,j0:()=>k,lV:()=>_,pC:()=>n,s3:()=>a,wN:()=>m,yl:()=>u,yw:()=>s})},78286:(e,t,r)=>{"use strict";r.d(t,{RB:()=>i,RH:()=>o,hS:()=>s});var n=r(22974);function o(e,t,r=!1){return c(e,t,r)}function s(e,t){if(null!=t)return t[e]||a(e.split("."),!1,t)}function i(e,t,r){const n=e.split("."),o=n.pop(),s=a(n,!0,r);s&&o&&(s[o]=t)}function a(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 c(e,t,r){return t?Object.keys(t).reduce(((e,o)=>{let s=e[o],i=t[o];return s===i?e:void 0===s?(e[o]=(0,n.d9)(i),e):(Array.isArray(i)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.concat():e[o]=[s]:e[o]=[],i&&(Array.isArray(i)||(i=[i]),r?i.forEach((e=>{s.includes(e)||s.push(e)})):e[o]=i.concat())):i&&"object"==typeof i?e[o]=c(s,i,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=i),e)}),e||{}):e}},95330:(e,t,r)=>{"use strict";r.d(t,{e4:()=>O,zE:()=>c,dD:()=>w,hh:()=>C,Ds:()=>P,as:()=>v,WW:()=>_,R8:()=>y,D_:()=>m,Hc:()=>f,y8:()=>k,fu:()=>p,$F:()=>b,r9:()=>d,k_:()=>l,H9:()=>h,Yn:()=>x,gx:()=>S,Hl:()=>g});const n=(o=globalThis,{setTimeout:(e,t)=>{const r=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(r)}}});var o;r(60235);var s=r(20102),i=r(91460),a=(r(92604),r(70586));function c(e="Aborted"){return new s.Z("AbortError",e)}function l(e,t="Aborted"){if(f(e))throw c(t)}function u(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function f(e){const t=u(e);return(0,a.pC)(t)&&t.aborted}function d(e){if(m(e))throw e}function h(e){if(!m(e))throw e}function p(e,t){const r=u(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,i.IH)(r,"abort",(()=>t()));t()}}function b(e,t){const r=u(e);if(!(0,a.Wi)(r))return l(r),(0,i.IH)(r,"abort",(()=>t(c())))}function g(e,t){const r=u(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let o=p(t,(()=>n(c())));const s=()=>o=(0,a.hw)(o);e.then(s,s),e.then(r,n)}))}function m(e){return"AbortError"===e?.name}async function y(e){try{return await e}catch(e){if(!m(e))throw e;return}}function w(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}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 new Promise((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const o={promise:t||Promise.resolve(t)};r.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}async function _(e){return(await v(e)).filter((e=>!!e.value)).map((e=>e.value))}function O(e,t,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(c()))}))}))}function k(e){return e&&"function"==typeof e.then}function S(e){return k(e)?e:Promise.resolve(e)}function P(e,t=-1){let r,n,o,s,i=null;const l=(...u)=>{if(r){n=u,s&&s.reject(c()),s=w();const e=(0,a.j0)(s.promise);if(i){const e=i;i=null,e.abort()}return e}if(o=s||w(),s=null,t>0){const n=new AbortController;r=S(e(...u,n.signal));const o=r;O(t).then((()=>{r===o&&(s?n.abort():i=n)}))}else r=1,r=S(e(...u));const f=()=>{const e=n;n=o=r=i=null,null!=e&&l(...e)},d=r,h=o;return d.then(f,f),d.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return l}function C(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>n.setTimeout((()=>o.reject(t)),e),o.promise=r,o}async function x(e){await Promise.resolve(),l(e)}},19153:(e,t,r)=>{"use strict";r.d(t,{Cb:()=>l,Qs:()=>a,gx:()=>i,hP:()=>c});var n=r(78286);const o=/\{([^\}]+)\}/g;function s(e){return e??""}function i(e,t){return e.replace(o,"object"==typeof t?(e,r)=>s((0,n.hS)(r,t)):(e,r)=>s(t(r)))}function a(e,t){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(e=>t&&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}function l(e){return(new DOMParser).parseFromString(e||"","text/html").body.innerText||""}},1533:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return e&&e.constructor&&"Int8Array"===e.constructor.name}function s(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name}function i(e){return e&&e.constructor&&"Uint8ClampedArray"===e.constructor.name}function a(e){return e&&e.constructor&&"Int16Array"===e.constructor.name}function c(e){return e&&e.constructor&&"Uint16Array"===e.constructor.name}function l(e){return e&&e.constructor&&"Int32Array"===e.constructor.name}function u(e){return e&&e.constructor&&"Uint32Array"===e.constructor.name}function f(e){return e&&e.constructor&&"Float32Array"===e.constructor.name}function d(e){return e&&e.constructor&&"Float64Array"===e.constructor.name}r.d(t,{DB:()=>h,Hx:()=>l,KZ:()=>i,Uc:()=>c,W0:()=>o,ZY:()=>u,eP:()=>n,fS:()=>d,lq:()=>s,xZ:()=>f,z3:()=>a});const h=1024},17452:(e,t,r)=>{"use strict";r.d(t,{$U:()=>se,AH:()=>G,B7:()=>j,D6:()=>J,Fv:()=>F,HK:()=>Q,Hu:()=>pe,Ie:()=>de,L:()=>S,Ml:()=>me,P$:()=>z,PF:()=>Z,Qj:()=>fe,R9:()=>w,TI:()=>k,YP:()=>K,Yd:()=>le,ZN:()=>be,Zo:()=>R,_l:()=>te,b7:()=>E,ed:()=>I,fZ:()=>ye,fl:()=>ge,hF:()=>B,hO:()=>ie,io:()=>re,jc:()=>V,kl:()=>q,mN:()=>P,oC:()=>ne,oh:()=>L,qg:()=>T,rS:()=>Y,sJ:()=>ee,tD:()=>N,tm:()=>W,u0:()=>C,v_:()=>D,vt:()=>ue});var n=r(68773),o=r(20102),s=r(92604),i=r(70586),a=r(19745);const c=s.Z.getLogger("esri.core.urlUtils"),l=n.Z.request,u="esri/config: esriConfig.request.proxyUrl is not set.",f=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,d=/^\s*http:/i,h=/^\s*https:/i,p=/^\s*file:/i,b=/:\d+$/,g=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,m=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),y=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class w{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=(0,i.j0)(this.uri.match(m));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=(0,i.j0)(this.authority.match(y)),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 v={};let _=new w(n.Z.applicationUrl);let O=function(){const e=(0,i.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const k=()=>_,S=()=>O;function P(e){if(!e)return null;const t={path:null,query:null},r=new w(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=C(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function C(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 x(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function j(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&&t[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>x(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):x(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function E(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=se(e);const n=I(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw c.warn(u),new o.Z("urlutils:proxy-not-set",u);return t&&ae()&&(r=ie(r)),P(r)}function T(e){const t=I(e);let r,n;if(t){const e=M(t.proxyUrl);r=e.path,n=e.query?C(e.query):null}if(r){const t=P(e);e=r+"?"+t.path;const o=j({...n,...t.query});o&&(e=`${e}?${o}`)}return e}const A={path:"",query:""};function M(e){const t=e.indexOf("?");return-1!==t?(A.path=e.slice(0,t),A.query=e.slice(t+1)):(A.path=e,A.query=null),A}function $(e){return(e=ce(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=M(e).path),!0)).toLowerCase()}function N(e){const t={proxyUrl:e.proxyUrl,urlPrefix:$(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;o=e;break}0===t.indexOf(n)&&(o=e+1)}return r.splice(o,0,t),o}function I(e){const t=l.proxyRules,r=$(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function R(e,t){if(!e||!t)return!1;e=U(e),t=U(t);const r=(0,a.a)(e),n=(0,a.a)(t);return(0,i.pC)(r)&&(0,i.pC)(n)?r.portalHostname===n.portalHostname:!(0,i.pC)(r)&&!(0,i.pC)(n)&&J(e,t,!0)}function W(e,t){return e=U(e),t=U(t),ce(e)===ce(t)}function U(e){const t=(e=F(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function L(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=l.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=he(e),o=he(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function q(e){if("string"==typeof e){if(!K(e))return!0;e=he(e)}if(J(e,_))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=H(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function H(e){return v[e]||(oe(e)||ne(e)?v[e]=[new w(B(e))]:v[e]=[new w(`http://${e}`),new w(`https://${e}`)]),v[e]}function B(e,t=O,r){return ne(e)?r&&r.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===z(e).slice(2)?`http:${e}`:`https:${e}`:oe(e)?e:(0,i.j0)(D("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function Z(e,t=O,r){if(null==e||!K(e))return e;const n=F(e),o=n.toLowerCase(),s=F(t).toLowerCase().replace(/\/+$/,""),i=r?F(r).toLowerCase().replace(/\/+$/,""):null;if(i&&0!==s.indexOf(i))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=a(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=a(o,"/",c+1);if(-1===l)return e;if(i&&l<i.length)return e;e=n.slice(l);const u=s.slice(l-1).replace(/[^/]+/g,"").length;if(u>0)for(let t=0;t<u;t++)e=`../${e}`;else e=`./${e}`;return e}function F(e){return function(e){const t=l.httpsDomains;if(!function(e){return null!=e&&d.test(e)||"http"===_.scheme&&ne(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),b.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&n===_.authority&&!g.test(e)||(ae()&&n===_.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||ae()&&!I(e))&&(e=ie(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=M(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function D(...e){const t=e.filter(i.pC);if(!t||!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&&p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&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 z(e,t=!1){if(null==e||V(e)||Q(e))return null;let r=e.indexOf("://");if(-1===r&&ne(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=ce(e,!0)),e}function K(e){return ne(e)||oe(e)}function V(e){return null!=e&&"blob:"===e.slice(0,5)}function Q(e){return null!=e&&"data:"===e.slice(0,5)}function G(e){const t=ee(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}function Y(e){return btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}const X=/^data:(.*?)(;base64)?,(.*)$/;function ee(e){const t=e.match(X);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function te(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function re(e,t){(function(e,t){if(!e)return!1;const r=document.createElement("a");if(!("download"in r))return!1;const n=URL.createObjectURL(e);return r.download=t,r.href=n,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ne(e){return null!=e&&"/"===e[0]&&"/"===e[1]}function oe(e){return null!=e&&f.test(e)}function se(e){return null!=e&&h.test(e)||"https"===_.scheme&&ne(e)}function ie(e){return ne(e)?`https:${e}`:e.replace(d,"https:")}function ae(){return"https"===_.scheme}function ce(e,t=!1){return ne(e)?e.slice(2):(e=e.replace(f,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function le(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 ue(e,t){if(!e)return"";const r=P(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(o,"")}function fe(e){return e.replace(/\/+$/,"")}function de(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),i=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,i).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(i)}`}function he(e){return"string"==typeof e?new w(B(e)):(e.scheme||(e.scheme=_.scheme),e)}function pe(e,t){const r=P(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 be(e,t,r){const n=P(e),o=n.query||{};return o[t]=String(r),`${n.path}?${j(o)}`}function ge(e,t){const r=P(e),n=r.query||{};for(const e in t)n[e]=t[e];const o=j(n);return o?`${r.path}?${o}`:r.path}function me(e){if((0,i.Wi)(e))return null;const t=e.match(we);return t?t[2]:null}function ye(e){if((0,i.Wi)(e))return null;const t=e.match(we);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}const we=/([^.]*)\.([^\/]*)$/},25045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(40330),o=r(20102),s=r(91460),i=r(70586),a=r(95330),c=r(94362),l=r(17202);const u={statsWorker:()=>Promise.all([r.e(1400),r.e(1562),r.e(3847),r.e(6841)]).then(r.bind(r,36841)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7154)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(212),r.e(2062)]).then(r.bind(r,49594)),ElevationSamplerWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(6481),r.e(6459),r.e(9936)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(5795),r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(4599),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(3660)]).then(r.bind(r,65967)),GeoJSONSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(1400),r.e(1562),r.e(8732),r.e(1916)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(7126),r.e(2584),r.e(5795),r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(4599),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(4325),r.e(3942),r.e(6367),r.e(7014)]).then(r.bind(r,92885)),PointCloudWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(8643),r.e(9634)]).then(r.bind(r,90447)),RasterWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1562),r.e(6610),r.e(5202),r.e(6239)]).then(r.bind(r,61576)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(6481),r.e(212),r.e(5467)]).then(r.bind(r,73248)),SceneLayerWorker:()=>r.e(1412).then(r.bind(r,31412)),WFSSourceWorker:()=>Promise.all([r.e(4547),r.e(1400),r.e(1534),r.e(1562),r.e(8732),r.e(3847),r.e(1559),r.e(8833),r.e(7774),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(4325),r.e(1785),r.e(6656),r.e(6188)]).then(r.bind(r,56456))},{CLOSE:f,ABORT:d,INVOKE:h,RESPONSE:p,OPEN_PORT:b,ON:g}=c.Cs;class m{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===c.Cs.ABORT?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 y{static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new y(t.port1,{channel:t,client:r},(()=>null));return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=n),y.clients.set(n,r),t.port2}static loadWorker(e){const t=u[e];return t?t():Promise.resolve(null)}constructor(e,t,r){this._port=e,this._getNextJob=r,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new m((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:f}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const n=r&&r.signal,s=r&&r.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const l=(0,c.jt)();return new Promise(((r,o)=>{if((0,a.Hc)(n))return this._processWork(),void o((0,a.zE)());const c=(0,a.fu)(n,(()=>{const e=this._outJobs.get(l);e&&(this._outJobs.delete(l),this._processWork(),(0,i.hw)(e.abortHandle),this._post({type:d,jobId:l}),o((0,a.zE)()))})),u={resolve:r,reject:o,abortHandle:c,debugInfo:e};this._outJobs.set(l,u),this._post({type:h,jobId:l,methodName:e,abortable:null!=n},t,s)}))}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:c.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),{remove(){r.port1.postMessage({type:c.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",n)}}}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:b,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._getNextJob();if(!e)return;const{methodName:t,data:r,invokeOptions:n,deferred:o}=e;this.invoke(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.hw)(e.abortHandle),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,i.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,c.QM)(e);if(t)switch(t.type){case p:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case f:this._onCloseMessage();break;case b:this._onOpenPortMessage(t);break;case g:this._onOnMessage(t)}}_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&&y.clients.get(this)===e&&e.destroy(),y.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:o}=e,s=o?new AbortController:null,i=this._inJobs;let l,u=this._client,f=u[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)u=u[e[t]],f=u[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);l=f.call(u,n,{client:this,signal:s?s.signal:null})}catch(e){return void this._post({type:p,jobId:r,error:(0,c.AB)(e)})}(0,a.y8)(l)?(i.set(r,{controller:s,promise:l}),l.then((e=>{i.has(r)&&(i.delete(r),this._post({type:p,jobId:r},e))}),(e=>{i.has(r)&&(i.delete(r),(0,a.D_)(e)||this._post({type:p,jobId:r,error:(0,c.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:p,jobId:r},l)}_onOpenPortMessage(e){new y(e.port,{client:this._client},(()=>null))}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,s.on)(e.port,"message",(e=>{(0,c.QM)(e)?.type===c.Cs.CLOSE&&(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.hw)(a.abortHandle),r?a.reject(o.Z.fromJSON(JSON.parse(r))):a.resolve(n)}_post(e,t,r){return(0,c.oi)(this._port,e,t,r)}}y.kernelInfo={revision:l.$,version:n.i8,buildDate:l.r},y.clients=new Map},94362:(e,t,r)=>{"use strict";r.d(t,{AB:()=>a,Cs:()=>n,QM:()=>l,jt:()=>i,oi:()=>c});var n,o=r(80442);!function(e){e[e.HANDSHAKE=0]="HANDSHAKE",e[e.OPEN=1]="OPEN",e[e.OPENED=2]="OPENED",e[e.RESPONSE=3]="RESPONSE",e[e.INVOKE=4]="INVOKE",e[e.ABORT=5]="ABORT",e[e.CLOSE=6]="CLOSE",e[e.OPEN_PORT=7]="OPEN_PORT",e[e.ON=8]="ON"}(n||(n={}));let s=0;function i(){return s++}function a(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 c(e,t,r,s){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let i;if(function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(i=u(r.transferList),t.data=r.result):(i=u(s),t.data=r),i){if((0,o.Z)("ff"))for(const r of i)if("byteLength"in r&&r.byteLength>267386880){const r="Worker call with large ArrayBuffer would crash Firefox";switch(t.type){case n.INVOKE:throw r;case n.RESPONSE:return void c(e,{type:n.RESPONSE,jobId:t.jobId,error:a(r)})}}e.postMessage(t,i)}else e.postMessage(t)}function l(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function u(e){if(!e||!e.length)return null;if((0,o.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},40330:(e,t,r)=>{"use strict";r.d(t,{Dp:()=>l,Nv:()=>i,i8:()=>s,id:()=>a,qh:()=>c});var n=r(80442),o=r(17452);const s="4.26",i={async request(e,t){const{default:n}=await r.e(3172).then(r.bind(r,3172)),s=e.options,i=s.responseType;s.signal=t?.signal,s.responseType="native"===i||"native-request-init"===i?"native-request-init":i&&["blob","json","text"].includes(i)&&(0,o.oh)(e.url)?.after?i:"array-buffer";const a=await n(e.url,s),c={data:a.data,httpStatus:a.httpStatus,ssl:a.ssl};switch(a.requestOptions?.responseType){case"native-request-init":return delete c.data.signal,c;case"blob":c.data=await c.data.arrayBuffer();break;case"json":c.data=(new TextEncoder).encode(JSON.stringify(c.data)).buffer;break;case"text":c.data=(new TextEncoder).encode(c.data).buffer}return{result:c,transferList:[c.data]}}};let a;function c(e){a=e}function l(e){const t=a&&a.findCredential(e);return t&&t.token?(0,o.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")},19745:(e,t,r)=>{"use strict";r.d(t,{P:()=>i,a:()=>s});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,i]=t;if(!r)return null;let a=null,c=null,l=null;const{devext:u,qaext:f,www:d}=o;if(s)if(a=r,i)switch(i.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=u);break;case"qa":({customBaseUrl:c,portalHostname:l}=f);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=u);break;case"qaext":({customBaseUrl:c,portalHostname:l}=f);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:a}}function i(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}},17202:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,r:()=>n});const n="20230125",o="eaef671df9ae8543388677486fea7ac9dbe74d7c"}},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/"+{24:"2312c752419c7c1d7e4a",81:"b5a823da33cdcf4efe2d",212:"f3f2759b39ab76cde66c",216:"5e9869849d999aac5756",223:"acf800382cbcd4875865",247:"a9f83bbccf3b5f229262",540:"96536f507bc6e501a4f7",565:"969bb94d5bdc9da114e2",576:"5ec4fedbbcbb0053cf74",639:"1186a56dacaf269d5271",665:"2e5b61ee21fa6287cc65",690:"798cd875d64182741364",719:"1891bd626592a8cc3e7e",731:"330b8c72baa725516ef5",739:"5983c9f28b7f63c7e1e0",819:"d1ead6e8aa7e8e21fbc6",837:"b26a671d3523b8a48404",908:"b69d4913ae9f7da840d8",911:"2187672a72e776b9b153",1027:"16b0cefeb9f3e8544b6d",1073:"7bc7b6cf75771687d81f",1074:"fa059d94d5051ded85b3",1158:"3714482f3a829d122da1",1400:"09ac51aeb0f6fe16aa30",1412:"09556ef505728089b3b1",1421:"106329846470141953ad",1423:"d00bd1c0f003417d97c7",1433:"4d5bdf18feeb9c8cb6ff",1513:"ba7239089a04098e3619",1534:"1cf86638f8e097d8e6e2",1537:"b9743aed120acb208b13",1559:"0e67a5caab64ddd90a5d",1562:"16e9d07533a6e3cf0ca0",1612:"64b63a6f82d3969af846",1761:"1039cd48a12e88baa97a",1785:"985154f1cd74dc762894",1790:"3a00f94f8f0d49c60969",1916:"208e24c056f90ac78f88",1932:"c423c1cf02fb419604ba",2062:"f9e0b8eaf99f48393a6e",2134:"0867268dbc626bd6aa62",2156:"233e2a275efa43766d15",2462:"a0a5aace9845eb383667",2584:"53197e8e017235c5efcb",2592:"fde8827bd7f1a97a6db3",2664:"670880e249ff43fcd485",2693:"b13ae901ebf3f6aee714",2710:"719ee5c4a064ea9bdfcf",3011:"bf5c34d81724e9bdc182",3027:"fce9f487437d3c5ef080",3055:"a51c2c5d3e7f764f44d5",3084:"f7ed302a233d4cfb9060",3172:"157305921c999a08e9bb",3230:"dde60d0978da029863ee",3529:"0f29a06eba4aae3eca11",3660:"594674e926a3c245fa84",3668:"2f2a4ec418b6a03c80ae",3847:"b8d80d8b52c3a86bd0d2",3852:"d4338bc4a99b71c44dc2",3942:"41d25407888326c91566",3992:"4a2b4574b87be7b98481",4150:"23f83625d9f6998cfa7b",4166:"6a75b1f316ea2c44df53",4242:"2e7e8b035673d90deefd",4286:"3b6402b2929ba339468f",4325:"e95e449c3fab1a03498c",4358:"eab47a18717478014e03",4371:"4b56a15d904a64747e64",4475:"a84ad71a80c3f84869a7",4499:"423955dd5f10692daf3b",4547:"f7a57c012fb9f864d28f",4599:"bb8a670d4a1eaa458bef",4695:"cdf7b4b87132af9a8ca8",4729:"7cbc669fb0ae7b697bf1",5015:"c49510a48cdf64a0d9fc",5072:"530b9d43d466d4cb2dba",5103:"0f7d53062ee425243aa1",5115:"1a13a05b143f214278c0",5202:"d94f216f04ad8f8b4f2b",5235:"d001500e31cadd04c95d",5329:"0e21e5b4d065567a6a91",5464:"006af87392d7136fb8c7",5467:"d0e4dbe41fd77d00a60b",5468:"3a7006535381d2657f40",5546:"293594192932f0e00ecf",5587:"dfbe4f2092d2f99024d7",5590:"5f0e211f07d8abe5e764",5642:"348a3321fc757ca1f948",5660:"2d99132b319e68e54f2f",5732:"83f7e22a12d90ef93e62",5795:"4503194b1b1d8908a386",5837:"c419a26e2b7d20d99cef",5853:"19ed87aaf7b63ea62fae",5935:"60a08ce29d09cb07ef06",6188:"aa8bcdbd715921b56c1c",6233:"acfde5a4cce3a4589f15",6237:"1aaf284ce0ee24053bd1",6239:"125a642d8bc4312318bb",6261:"14b113a6fdcf81e56674",6367:"fcf033c581f58d006cf6",6368:"817de532853d40224456",6395:"3664d97f0c2819690cf9",6459:"de4b687431b4d5cf0369",6465:"8d52093b6c4bfd087a12",6481:"3ca8ff2c0f65872bc81a",6502:"21f1d91121d95ef21604",6584:"db96a2dc1879b4944cb8",6610:"9e4f5cc543a93f967257",6656:"486a604808692d3e7bfc",6710:"c860891552d6d886394b",6748:"9aee6f171d4fbac941d9",6774:"22677d246a80195507e6",6785:"5addafa6c5f0502b34d4",6841:"b3a717b7e41f3b0180be",7014:"58d4d2af39c9f472ee8c",7035:"46fbfb2f815f4a543d5f",7126:"d6842acbfa7a39f3ca30",7154:"878a51ff8267f4b26ebb",7269:"02497309e0f848bf2879",7277:"7b9bdc287ab1bbe0bad6",7374:"582d12138e6eea62d6fe",7476:"5c8fd7842bdfe912eef2",7483:"ce3b6f9be5d68dea8596",7541:"190c9feab5f80e586d84",7662:"ce702aa7ab1d01dc3289",7774:"6bc90a5ebfbfbb998656",7845:"2680392cef77d98ad097",7873:"21f7d3400c070aa45596",7905:"9b449a036598479ad0b0",8008:"d3e21ad05030bb14e844",8062:"ebd9f923cef87ddbcb14",8092:"f1b26b73101210b8f29c",8096:"22a990a8d4d4587866a5",8153:"3fa91ee5299cd5f470c1",8227:"1c9fff56d6e1cc3df63f",8244:"d19deb5233712148e266",8636:"ec6621ff3a5d300e00f9",8643:"685302b6a325d881ac8e",8732:"99e16173584702577b80",8758:"4b2edcb8ef7fae4f7d28",8828:"c6eb6a97ecc6ed9ce713",8833:"30ae4c22f6b8aab9f841",9070:"76df52cb37efaba366d1",9078:"9335939e0c7bfceeeebe",9169:"ac4c10194e904840a4ad",9230:"1e55c5e9a0bfb92f36aa",9238:"be83f84e219c8d4dba43",9243:"6c519c5a474f51f37af0",9291:"179efcf889111d2576c5",9296:"4a333587e8e1eeb5fd97",9393:"8bc4b317284c77cdf7c0",9634:"63706a04e173000994db",9746:"5fd92d473dd21ff3045e",9771:"4b41a08d603e846306da",9790:"7acc061da63714d388da",9880:"1b5bdd80db9a1a410ff8",9884:"a6866c770e341d26d265",9904:"3161400f0c67198ed10b",9936:"2f61fb9105ea2d39aae9",9942:"5002d6584996b5a12828",9971:"c9a9bb4c8b416f9b042a"}[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&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={134: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,i]=t;for(var a in s)r.o(s,a)&&(r.m[a]=s[a]);for(i&&i(r);o.length;)e[o.pop()]=1;n(t)}})(),r(88277);var n=r(25045);RemoteClient=n})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6239,3172,9880],{22303:(e,t,r)=>{r.d(t,{Z:()=>h});var o,n,s=r(35270),i=r(22021),a=r(70586),l=r(75215);function u(e){return(0,i.uZ)((0,l.vU)(e),0,255)}function c(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}class d{static blendColors(e,t,r,o=new d){return o.r=Math.round(e.r+(t.r-e.r)*r),o.g=Math.round(e.g+(t.g-e.g)*r),o.b=Math.round(e.b+(t.b-e.b)*r),o.a=e.a+(t.a-e.a)*r,o._sanitize()}static fromRgb(e,t){const r=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const e=r[2].split(/\s*,\s*/),o=r[1];if("rgb"===o&&3===e.length||"rgba"===o&&4===e.length){const r=e[0];if("%"===r.charAt(r.length-1)){const r=e.map((e=>2.56*parseFloat(e)));return 4===e.length&&(r[3]=parseFloat(e[3])),d.fromArray(r,t)}return d.fromArray(e.map((e=>parseFloat(e))),t)}if("hsl"===o&&3===e.length||"hsla"===o&&4===e.length)return d.fromArray((0,s.B7)(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])),t)}return null}static fromHex(e,t=new d){if(4!==e.length&&7!==e.length||"#"!==e[0])return null;const r=4===e.length?4:8,o=(1<<r)-1;let n=Number("0x"+e.substr(1));return isNaN(n)?null:(["b","g","r"].forEach((e=>{const s=n&o;n>>=r,t[e]=4===r?17*s:s})),t.a=1,t)}static fromArray(e,t=new d){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,s.St)(e)?(0,s.h$)(e):null;return r&&d.fromArray(r,t)||d.fromRgb(e,t)||d.fromHex(e,t)}static fromJSON(e){return e&&new d([e[0],e[1],e[2],e[3]/255])}static toUnitRGB(e){return(0,a.pC)(e)?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return(0,a.pC)(e)?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?d.fromString(e,this):Array.isArray(e)?d.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof d||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(){const e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return`#${e.length<2?"0"+e:e}${t.length<2?"0"+t:t}${r.length<2?"0"+r:r}`}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=d.AlphaMode.ALWAYS){const t=u(this.r),r=u(this.g),o=u(this.b);return e===d.AlphaMode.ALWAYS||1!==this.a?[t,r,o,u(255*this.a)]:[t,r,o]}clone(){return new d(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return(0,a.pC)(e)&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=Math.round(c(this.r,0,255)),this.g=Math.round(c(this.g,0,255)),this.b=Math.round(c(this.b,0,255)),this.a=c(this.a,0,1),this}_set(e,t,r,o){this.r=e,this.g=t,this.b=r,this.a=o}}d.prototype.declaredClass="esri.Color",o=d||(d={}),(n=o.AlphaMode||(o.AlphaMode={}))[n.ALWAYS=0]="ALWAYS",n[n.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const h=d},99880:(e,t,r)=>{r.d(t,{V:()=>l});var o=r(68773),n=(r(3172),r(20102)),s=r(92604),i=r(17452);const a=s.Z.getLogger("esri.assets");function l(e){if(!o.Z.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.Z("assets:path-not-set","config.assetsPath is not set");return(0,i.v_)(o.Z.assetsPath,e)}},35270:(e,t,r)=>{r.d(t,{B7:()=>l,St:()=>n,VL:()=>i,h$:()=>s,rW:()=>u});const o={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return o[e]||o[e.toLowerCase()]}function s(e){return o[e]??o[e.toLowerCase()]}function i(e){return[...s(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const o=6*r;return o<1?e+(t-e)*o:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,o=1){const n=(e%360+360)%360/360,s=r<=.5?r*(t+1):r+t-r*t,i=2*r-s;return[Math.round(255*a(i,s,n+1/3)),Math.round(255*a(i,s,n)),Math.round(255*a(i,s,n-1/3)),o]}function u(e){const t=e.length>5,r=t?8:4,o=(1<<r)-1,n=t?1:17,s=t?9===e.length:5===e.length;let i=Number("0x"+e.substr(1));if(isNaN(i))return null;const a=[0,0,0,1];let l;return s&&(l=i&o,i>>=r,a[3]=n*l/255),l=i&o,i>>=r,a[2]=n*l,l=i&o,i>>=r,a[1]=n*l,l=i&o,i>>=r,a[0]=n*l,a}},36030:(e,t,r)=>{r.d(t,{J:()=>s});var o=r(35454),n=r(5600);function s(e,t={}){const r=e instanceof o.X?e:new o.X(e,t),s={type:t?.ignoreUnknown??1?r.apiValues:String,json:{type:r.jsonValues,read:!t?.readOnly&&{reader:r.read},write:{writer:r.write}}};return void 0!==t?.readOnly&&(s.readOnly=!!t.readOnly),void 0!==t?.default&&(s.json.default=t.default),void 0!==t?.name&&(s.json.name=t.name),void 0!==t?.nonNullable&&(s.nonNullable=t.nonNullable),(0,n.Cb)(s)}},10661:(e,t,r)=>{r.d(t,{s:()=>n});var o=r(42100);class n extends o.s{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var o=r(75215),n=r(6570),s=r(9361),i=r(65091),a=r(94139),l=r(38913),u=r(58901);r(82971),r(86973),r(33955);const c={base:s.Z,key:"type",typeMap:{extent:n.Z,multipoint:i.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,o.N7)(c)},24470:(e,t,r)=>{r.d(t,{Gv:()=>b,HH:()=>u,SO:()=>d,Ue:()=>s,al:()=>a,cS:()=>f,fS:()=>y,jE:()=>h,jn:()=>c,kK:()=>m,oJ:()=>l,r3:()=>p}),r(80442),r(22021);var o=r(70586),n=r(6570);function s(e=w){return[e[0],e[1],e[2],e[3]]}function i(e,t){return e!==t&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3]),e}function a(e,t,r,o,n=s()){return n[0]=e,n[1]=t,n[2]=r,n[3]=o,n}function l(e,t=s()){return t[0]=e.xmin,t[1]=e.ymin,t[2]=e.xmax,t[3]=e.ymax,t}function u(e,t){return new n.Z({xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:t})}function c(e,t,r){if((0,o.Wi)(t))i(r,e);else if("length"in t)g(t)?(r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r[2]=Math.max(e[2],t[2]),r[3]=Math.max(e[3],t[3])):2!==t.length&&3!==t.length||(r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r[2]=Math.max(e[2],t[0]),r[3]=Math.max(e[3],t[1]));else switch(t.type){case"extent":r[0]=Math.min(e[0],t.xmin),r[1]=Math.min(e[1],t.ymin),r[2]=Math.max(e[2],t.xmax),r[3]=Math.max(e[3],t.ymax);break;case"point":r[0]=Math.min(e[0],t.x),r[1]=Math.min(e[1],t.y),r[2]=Math.max(e[2],t.x),r[3]=Math.max(e[3],t.y)}}function d(e){return function(e){return(0,o.Wi)(e)||e[0]>=e[2]?0:e[2]-e[0]}(e)*function(e){return e[1]>=e[3]?0:e[3]-e[1]}(e)}function h(e,t,r){return t>=e[0]&&r>=e[1]&&t<=e[2]&&r<=e[3]}function m(e,t){return Math.max(t[0],e[0])<=Math.min(t[2],e[2])&&Math.max(t[1],e[1])<=Math.min(t[3],e[3])}function p(e,t){return t[0]>=e[0]&&t[2]<=e[2]&&t[1]>=e[1]&&t[3]<=e[3]}function f(e){return e?i(e,b):s(b)}function g(e){return null!=e&&4===e.length}function y(e,t){return g(e)&&g(t)?e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]:e===t}const b=[1/0,1/0,-1/0,-1/0],w=[0,0,0,0]},33955:(e,t,r)=>{r.d(t,{Ji:()=>g,YX:()=>c,aW:()=>d,im:()=>f,l9:()=>m,oU:()=>p,q9:()=>b,wp:()=>h});var o=r(70586),n=r(6570),s=r(9361),i=r(65091),a=r(94139),l=r(38913),u=r(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function d(e){return void 0!==e.points}function h(e){return void 0!==e.x&&void 0!==e.y}function m(e){return void 0!==e.paths}function p(e){return void 0!==e.rings}function f(e){return(0,o.Wi)(e)?null:e instanceof s.Z?e:h(e)?a.Z.fromJSON(e):m(e)?u.Z.fromJSON(e):p(e)?l.Z.fromJSON(e):d(e)?i.Z.fromJSON(e):c(e)?n.Z.fromJSON(e):null}function g(e){return e?h(e)?"esriGeometryPoint":m(e)?"esriGeometryPolyline":p(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":d(e)?"esriGeometryMultipoint":null:null}const y={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:n.Z,esriGeometryMultipoint:i.Z};function b(e){return e&&y[e]||null}},86973:(e,t,r)=>{r.d(t,{M:()=>n,P:()=>s});var o=r(35454);const n=(0,o.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),s=(0,o.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},61576:(e,t,r)=>{r.r(t),r.d(t,{default:()=>g}),r(66577);var o=r(70586),n=r(18571),s=r(5847),i=r(75993),a=r(55914),l=r(8168),u=r(73506),c=r(15612),d=r(80676),h=r(87521),m=r(72758),p=r(23808),f=r(6570);class g{convertVectorFieldData(e){const t=s.Z.fromJSON(e.pixelBlock),r=(0,d.KC)(t,e.type);return Promise.resolve((0,o.pC)(r)&&r.toJSON())}async decode(e){const t=await(0,i.J)(e.data,e.options);return t&&t.toJSON()}symbolize(e){e.pixelBlock=s.Z.fromJSON(e.pixelBlock),e.extent=e.extent?f.Z.fromJSON(e.extent):null;const t=this.symbolizer.symbolize(e);return Promise.resolve((0,o.pC)(t)&&t.toJSON())}async updateSymbolizer(e){this.symbolizer=m.Z.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,l.Ue)(e.rasterFunctionJSON)}async process(e){const t=this.rasterFunction.process({extent:f.Z.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map((e=>(0,o.pC)(e)?s.Z.fromJSON(e):null)),primaryRasterIds:e.primaryRasterIds});return(0,o.pC)(t)?t.toJSON():null}stretch(e){const t=this.symbolizer.simpleStretch(s.Z.fromJSON(e.srcPixelBlock),e.stretchParams);return Promise.resolve((0,o.pC)(t)&&t.toJSON())}estimateStatisticsHistograms(e){const t=(0,c.Hv)(s.Z.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,a.Vl)(s.Z.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel);return t&&t.forEach(((e,r)=>{t.set(r,e?.toJSON())})),Promise.resolve(t)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map((e=>e?new s.Z(e):null)),r=(0,a.us)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let n,i=r;return e.coefs&&(i=(0,a.Uk)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(n=(0,a.Qh)(e.destDimension,e.gcsGrid),i=(0,o.Wg)((0,d.xQ)(i,e.isUV?"vector-uv":"vector-magdir",n))),{pixelBlock:i?.toJSON(),localNorthDirections:n}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:o,indexData:n}=await(0,p.GE)(e.meshType,e.simulationSettings,r,t.signal);return{result:{vertexBuffer:o.buffer,indexBuffer:n.buffer},transferList:[o.buffer,n.buffer]}}async getProjectionOffsetGrid(e){const t=f.Z.fromJSON(e.projectedExtent),r=f.Z.fromJSON(e.srcBufferExtent);let o=null;e.datumTransformationSteps&&(o=new n.Z({steps:e.datumTransformationSteps})),(e.includeGCSGrid||(0,u.Mk)(t.spatialReference,r.spatialReference,o))&&await(0,u.zD)();const s=e.rasterTransform?(0,h.c)(e.rasterTransform):null;return(0,u.Qp)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:o,rasterTransform:s})}}},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var o=r(68773),n=r(40330),s=r(20102),i=r(80442),a=r(22974),l=r(70586),u=r(95330),c=r(17452),d=r(19745),h=r(71058),m=r(85958);async function p(e,t){const a=(0,c.HK)(e),d=(0,c.jc)(e);d||a||(e=(0,c.Fv)(e));const b={url:e,requestOptions:{...(0,l.Wg)(t)}};let w=(0,c.oh)(e);if(w){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,o;try{o=await e.before(t)}catch(e){r=O("request:interceptor",e,t)}if((o instanceof Error||o instanceof s.Z)&&(r=O("request:interceptor",o,t)),r)throw e.error&&e.error(r),r;return o}}(w,b);if(null!=e)return{data:e,getHeader:k,httpStatus:200,requestOptions:b.requestOptions,url:b.url};w.after||w.error||(w=null)}if(e=b.url,"image"===(t=b.requestOptions).responseType){if((0,i.Z)("host-webworker")||(0,i.Z)("host-node"))throw O("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),b)}else if(a)throw O("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),b);if("head"===t.method){if(t.body)throw O("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),b);if(a||d)throw O("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),b)}if(await async function(){(0,i.Z)("host-webworker")?f||(f=await r.e(9884).then(r.bind(r,29884))):p._abortableFetch||(p._abortableFetch=globalThis.fetch.bind(globalThis))}(),f)return f.execute(e,t);const v=new AbortController;(0,u.fu)(t,(()=>v.abort()));const S={controller:v,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:w,params:b,redoRequest:!1,useIdentity:g.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},x=await async function(e){let t,r;await async function(e){const t=e.params.url,r=e.params.requestOptions,s=e.controller.signal,i=r.body;let a=null,l=null;if(y&&"HTMLFormElement"in globalThis&&(i instanceof FormData?a=i:i instanceof HTMLFormElement&&(a=new FormData(i))),"string"==typeof i&&(l=i),e.fetchOptions={cache:r.cacheBust&&!p._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",priority:g.priority,redirect:"follow",signal:s},(a||l)&&(e.fetchOptions.body=a||l),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query?.token||a?.get("token")),!e.hasToken&&o.Z.apiKey&&(0,h.r)(t)&&(r.query||(r.query={}),r.query.token=o.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!q(t)&&!(0,u.Hc)(s)){let o;"immediate"===r.authMode?(await C(),o=await n.id.getCredential(t,{signal:s}),e.credential=o):"no-prompt"===r.authMode?(await C(),o=await n.id.getCredential(t,{prompt:!1,signal:s}).catch((()=>{})),e.credential=o):n.id&&(o=n.id.findCredential(t)),o&&(e.credentialToken=o.token,e.useSSL=!!o.ssl)}}(e);try{do{[t,r]=await N(e)}while(!await P(e,t,r))}catch(r){const o=O("request:server",r,e.params,t);throw o.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(o),o}const s=e.params.url;if(r&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(s)){if(!e.hasToken&&!e.credentialToken&&r.user?.username&&!(0,c.kl)(s)){const e=(0,c.P$)(s,!0);e&&g.trustedServers.push(e)}Array.isArray(r.authorizedCrossOriginNoCorsDomains)&&(0,m.Hu)(r.authorizedCrossOriginNoCorsDomains)}const i=e.credential;if(i&&n.id){const e=n.id.findServerInfo(i.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=n.id.findCredential(t,i.userId);e&&-1===n.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:r,getHeader:t?e=>t?.headers.get(e):k,httpStatus:t?.status??200,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(S);return w?.after?.(x),x}let f;const g=o.Z.request,y="FormData"in globalThis,b=[499,498,403,401],w=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],k=()=>null,S=Symbol();function x(e){const t=(0,c.P$)(e);return!t||t.endsWith(".arcgis.com")||p._corsServers.includes(t)||(0,c.kl)(t)}function O(e,t,r,o){let n="Error";const i={url:r.url,requestOptions:r.requestOptions,getHeader:k,ssl:!1};if(t instanceof s.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=i,t;if(t){const e=o&&(e=>o.headers.get(e)),r=o&&o.status,s=t.message;s&&(n=s),e&&(i.getHeader=e),i.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,i.subCode=t.subcode,i.messageCode=t.messageCode,"string"==typeof t.details?i.messages=[t.details]:i.messages=t.details,i.raw=S in t?t[S]:t}return(0,u.D_)(t)?(0,u.zE)():new s.Z(e,n,i)}async function C(){n.id||await Promise.all([r.e(6261),r.e(1400),r.e(1761)]).then(r.bind(r,55142))}function q(e){return v.some((t=>t.test(e)))}async function N(e){let t=e.params.url;const r=e.params.requestOptions,o=e.fetchOptions??{},s=(0,c.jc)(t)||(0,c.HK)(t),a=r.responseType||"json",l=s?0:null!=r.timeout?r.timeout:g.timeout;let h=!1;if(!s){e.useSSL&&(t=(0,c.hO)(t)),r.cacheBust&&"default"===o.cache&&(t=(0,c.ZN)(t,"request.preventCache",Date.now()));let s={...r.query};e.credentialToken&&(s.token=e.credentialToken);let a=(0,c.B7)(s);(0,i.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;h="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||l>g.maxUrlLength;const p=r.useProxy||!!(0,c.ed)(t);if(p){const e=(0,c.b7)(t);u=e.path,!h&&u.length+1+l>g.maxUrlLength&&(h=!0),e.query&&(s={...e.query,...s})}if("HEAD"===o.method&&(h||p)){if(h){if(l>g.maxUrlLength)throw O("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw O("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(p)throw O("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(h?(o.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,c.fl)(t,s):(o.body=(0,c.B7)(s),o.headers||(o.headers={}),o.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,c.fl)(t,s),p&&(e.useProxy=!0,t=`${u}?${t}`),s.token&&y&&o.body instanceof FormData&&!(0,d.P)(t)&&o.body.set("token",s.token),r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,c.D6)(t,(0,c.TI)()))if((0,c.kl)(t))e.withCredentials=!0;else if(n.id){const r=n.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(o.credentials="include",(0,m.jH)(t)&&await(0,m.jz)(h?(0,c.fl)(t,s):t))}let f,b,w=0,v=!1;l>0&&(w=setTimeout((()=>{v=!0,e.controller.abort()}),l));try{if("native-request-init"===r.responseType)b=o,b.url=t;else if("image"!==r.responseType||"default"!==o.cache||"GET"!==o.method||h||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!s&&!e.useProxy&&g.proxyUrl&&!x(t)){if(f=await p._abortableFetch(t,o),e.useProxy||function(e){const t=(0,c.P$)(e);t&&!p._corsServers.includes(t)&&p._corsServers.push(t)}(t),"native"===r.responseType)b=f;else if("HEAD"!==o.method)if(f.ok){switch(a){case"array-buffer":b=await f.arrayBuffer();break;case"blob":case"image":b=await f.blob();break;default:b=await f.text()}if(w&&(clearTimeout(w),w=0),"json"===a||"xml"===a||"document"===a)if(b)switch(a){case"json":b=JSON.parse(b);break;case"xml":b=Z(b,"application/xml");break;case"document":b=Z(b,"text/html")}else b=null;if(b){if("array-buffer"===a||"blob"===a){const e=f.headers.get("Content-Type");if(e&&/application\/json|text\/plain/i.test(e)&&b["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(b).json();e.error&&(b=e)}catch{}}"image"===a&&b instanceof Blob&&(b=await T(URL.createObjectURL(b),e,!0))}}else b=await f.text()}else b=await T(t,e)}catch(o){if("AbortError"===o.name){if(v)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!f&&o instanceof TypeError&&g.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||x(t))throw o;e.redoRequest=!0,(0,c.tD)({proxyUrl:g.proxyUrl,urlPrefix:(0,c.P$)(t)??""})}finally{w&&clearTimeout(w)}return[f,b]}function Z(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function P(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const o=e.params.requestOptions;if(!t||"native"===o.responseType||"native-request-init"===o.responseType)return!0;let s,i;if(!t.ok)throw s=new Error(`Unable to load ${t.url} status: ${t.status}`),s[S]=r,s;r&&(r.error?s=r.error:"error"===r.status&&Array.isArray(r.messages)&&(s={...r},s[S]=r,s.details=r.messages));let a,l=null;s&&(i=Number(s.code),l=s.hasOwnProperty("subcode")?Number(s.subcode):null,a=s.messageCode,a=a&&a.toUpperCase());const u=o.authMode;if(403===i&&(4===l||s.message&&s.message.toLowerCase().includes("ssl")&&!s.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===i)&&void 0!==i&&b.includes(i)&&!q(e.params.url)&&(403!==i||a&&!w.includes(a)&&(null==l||2===l&&e.credentialToken))){await C();try{const t=await n.id.getCredential(e.params.url,{error:O("request:server",s,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=void 0,e.credentialToken=void 0,!1;s=t}}if(s)throw s;return!0}function T(e,t,r=!1){const o=t.controller.signal,n=new Image;return t.withCredentials?n.crossOrigin="use-credentials":n.crossOrigin="anonymous",n.alt="",n.fetchPriority=g.priority,n.src=e,(0,m.fY)(n,e,r,o)}p._abortableFetch=null,p._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},98046:(e,t,r)=>{r.d(t,{Z:()=>m});var o,n=r(43697),s=r(22303),i=r(22974),a=r(5600),l=r(75215),u=r(36030),c=r(52011),d=r(899);let h=o=class extends d.Z{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new o({fromColor:(0,i.d9)(this.fromColor),toColor:(0,i.d9)(this.toColor),algorithm:this.algorithm})}};(0,n._)([(0,u.J)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],h.prototype,"algorithm",void 0),(0,n._)([(0,a.Cb)({type:s.Z,json:{type:[l.z8],write:!0}})],h.prototype,"fromColor",void 0),(0,n._)([(0,a.Cb)({type:s.Z,json:{type:[l.z8],write:!0}})],h.prototype,"toColor",void 0),(0,n._)([(0,a.Cb)({type:["algorithmic"]})],h.prototype,"type",void 0),h=o=(0,n._)([(0,c.j)("esri.rest.support.AlgorithmicColorRamp")],h);const m=h},899:(e,t,r)=>{r.d(t,{Z:()=>l});var o=r(43697),n=r(96674),s=r(5600),i=(r(75215),r(67676),r(52011));let a=class extends n.wq{constructor(e){super(e),this.type=null}};(0,o._)([(0,s.Cb)({readOnly:!0,json:{read:!1,write:!0}})],a.prototype,"type",void 0),a=(0,o._)([(0,i.j)("esri.rest.support.ColorRamp")],a);const l=a},1515:(e,t,r)=>{r.d(t,{Z:()=>d});var o,n=r(43697),s=r(22974),i=r(5600),a=(r(75215),r(52011)),l=r(98046),u=r(899);let c=o=class extends u.Z{constructor(e){super(e),this.colorRamps=null,this.type="multipart"}clone(){return new o({colorRamps:(0,s.d9)(this.colorRamps)})}};(0,n._)([(0,i.Cb)({type:[l.Z],json:{write:!0}})],c.prototype,"colorRamps",void 0),(0,n._)([(0,i.Cb)({type:["multipart"]})],c.prototype,"type",void 0),c=o=(0,n._)([(0,a.j)("esri.rest.support.MultipartColorRamp")],c);const d=c},94593:(e,t,r)=>{r.d(t,{V:()=>i,i:()=>a});var o=r(98046),n=r(899),s=r(1515);const i={key:"type",base:n.Z,typeMap:{algorithmic:o.Z,multipart:s.Z}};function a(e){return e&&e.type?"algorithmic"===e.type?o.Z.fromJSON(e):"multipart"===e.type?s.Z.fromJSON(e):null:null}},71058:(e,t,r)=>{r.d(t,{r:()=>s});var o=r(17452);const n=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function s(e){const t=(0,o.P$)(e,!0);return!!t&&t.endsWith(".arcgis.com")&&!n.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{Hu:()=>c,fY:()=>l,jH:()=>d,jz:()=>h});var o=r(68773),n=r(80442),s=r(70586),i=r(95330),a=r(17452);function l(e,t,r=!1,o){return new Promise(((a,l)=>{if((0,i.Hc)(o))return void l(u());let c=()=>{m(),l(new Error(`Unable to load ${t}`))},d=()=>{const t=e;m(),a(t)},h=()=>{if(!e)return;const t=e;m(),t.src="",l(u())};const m=()=>{(0,n.Z)("esri-image-decode")||(e.removeEventListener("error",c),e.removeEventListener("load",d)),c=null,d=null,e=null,(0,s.pC)(o)&&o.removeEventListener("abort",h),h=null,r&&URL.revokeObjectURL(t)};(0,s.pC)(o)&&o.addEventListener("abort",h),(0,n.Z)("esri-image-decode")?e.decode().then(d,c):(e.addEventListener("error",c),e.addEventListener("load",d))}))}function u(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}function c(e){o.Z.request.crossOriginNoCorsDomains||(o.Z.request.crossOriginNoCorsDomains={});const t=o.Z.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[(0,a.P$)(r)??""]=0:(t[(0,a.P$)("http://"+r)??""]=0,t[(0,a.P$)("https://"+r)??""]=0)}function d(e){const t=o.Z.request.crossOriginNoCorsDomains;if(t){let r=(0,a.P$)(e);if(r)return r=r.toLowerCase(),!(0,a.D6)(r,(0,a.TI)())&&t[r]<Date.now()-36e5}return!1}async function h(e){const t=o.Z.request.crossOriginNoCorsDomains,r=(0,a.P$)(e);t&&r&&(t[r.toLowerCase()]=Date.now());const n=(0,a.mN)(e);e=n.path,"json"===n.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1562],{46851:(t,e,r)=>{r.d(e,{R:()=>s,a:()=>u,g:()=>i,t:()=>l});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function l(t){return t*o}function u(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){n=t},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},17896:(t,e,r)=>{r.d(e,{B:()=>f,C:()=>h,a:()=>l,b:()=>u,c:()=>o,d:()=>d,e:()=>g,f:()=>M,g:()=>c,h:()=>_,i:()=>p,j:()=>k,k:()=>v,l:()=>s,m:()=>w,n:()=>x,p:()=>y,q:()=>R,r:()=>P,s:()=>a,t:()=>S,u:()=>O,z:()=>m});var n=r(65617),i=r(46851);function s(t){const e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}function l(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}function u(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}function f(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}function h(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t}function c(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}function m(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}function p(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(r*r+n*n+i*i)}function d(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return r*r+n*n+i*i}function y(t){const e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}function x(t,e){const r=e[0],n=e[1],i=e[2];let s=r*r+n*n+i*i;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function M(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],a=r[1],l=r[2];return t[0]=i*l-s*a,t[1]=s*o-n*l,t[2]=n*a-i*o,t}function _(t,e,r,n){const i=e[0],s=e[1],o=e[2];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t}function w(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12],t[1]=r[1]*n+r[5]*i+r[9]*s+r[13],t[2]=r[2]*n+r[6]*i+r[10]*s+r[14],t}function S(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=n*r[0]+i*r[3]+s*r[6],t[1]=n*r[1]+i*r[4]+s*r[7],t[2]=n*r[2]+i*r[5]+s*r[8],t}function R(t,e,r){const n=r[0],i=r[1],s=r[2],o=r[3],a=e[0],l=e[1],u=e[2];let f=i*u-s*l,h=s*a-n*u,c=n*l-i*a,m=i*c-s*h,p=s*f-n*c,d=n*h-i*f;const y=2*o;return f*=y,h*=y,c*=y,m*=2,p*=2,d*=2,t[0]=a+f+m,t[1]=l+h+p,t[2]=u+c+d,t}const C=(0,n.c)(),b=(0,n.c)();function v(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e,r){const n=r[0]-e[0],i=r[1]-e[1],s=r[2]-e[2];let o=n*n+i*i+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=i*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const A=u,Z=f,z=h,k=p,G=d,O=s,E=y;Object.freeze(Object.defineProperty({__proto__:null,abs:function(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t},add:l,angle:function(t,e){o(C,t),o(b,e),x(C,C),x(b,b);const r=g(C,b);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(t,e,r,n,i,s){const o=1-s,a=o*o,l=s*s,u=a*o,f=3*s*a,h=3*l*o,c=l*s;return t[0]=e[0]*u+r[0]*f+n[0]*h+i[0]*c,t[1]=e[1]*u+r[1]*f+n[1]*h+i[1]*c,t[2]=e[2]*u+r[2]*f+n[2]*h+i[2]*c,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},copy:o,cross:M,direction:P,dist:k,distance:p,div:z,divide:h,dot:g,equals:function(t,e){if(t===e)return!0;const r=t[0],n=t[1],s=t[2],o=e[0],a=e[1],l=e[2],u=(0,i.g)();return Math.abs(r-o)<=u*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))},exactEquals:v,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,r,n,i,s){const o=s*s,a=o*(2*s-3)+1,l=o*(s-2)+s,u=o*(s-1),f=o*(3-2*s);return t[0]=e[0]*a+r[0]*l+n[0]*u+i[0]*f,t[1]=e[1]*a+r[1]*l+n[1]*u+i[1]*f,t[2]=e[2]*a+r[2]*l+n[2]*u+i[2]*f,t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t},len:O,length:s,lerp:_,max:function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t},min:function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t},mul:Z,multiply:f,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t},normalize:x,random:function(t,e){e=e||1;const r=i.R,n=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0],s[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),s[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateY:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),s[1]=i[1],s[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateZ:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),s[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),s[2]=i[2],t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[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:c,scaleAndAdd:m,set:a,sign:function(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t},sqrDist:G,sqrLen:E,squaredDistance:d,squaredLength:y,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:A,subtract:u,transformMat3:S,transformMat4:w,transformQuat:R},Symbol.toStringTag,{value:"Module"}))},65617:(t,e,r)=>{function n(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function s(t,e,r){return[t,e,r]}function o(t){const e=[0,0,0],r=Math.min(3,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e}function a(t,e){return new Float64Array(t,e,3)}function l(){return s(1,1,1)}function u(){return s(1,0,0)}function f(){return s(0,1,0)}function h(){return s(0,0,1)}r.d(e,{O:()=>m,Z:()=>c,a:()=>i,b:()=>a,c:()=>n,d:()=>o,f:()=>s});const c=[0,0,0],m=l(),p=u(),d=f(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:d,UNIT_Z:y,ZEROS:c,clone:i,create:n,createView:a,fromArray:o,fromValues:s,ones:l,unitX:u,unitY:f,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},98766:(t,e,r)=>{r.d(e,{a:()=>o,b:()=>f,c:()=>i,d:()=>y,e:()=>m,f:()=>p,g:()=>g,h:()=>M,l:()=>x,n:()=>d,s:()=>s});var n=r(46851);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function o(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function a(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function u(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function f(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function h(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(r*r+n*n+i*i+s*s)}function c(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return r*r+n*n+i*i+s*s}function m(t){const e=t[0],r=t[1],n=t[2],i=t[3];return Math.sqrt(e*e+r*r+n*n+i*i)}function p(t){const e=t[0],r=t[1],n=t[2],i=t[3];return e*e+r*r+n*n+i*i}function d(t,e){const r=e[0],n=e[1],i=e[2],s=e[3];let o=r*r+n*n+i*i+s*s;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=n*o,t[2]=i*o,t[3]=s*o),t}function y(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function x(t,e,r,n){const i=e[0],s=e[1],o=e[2],a=e[3];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t[3]=a+n*(r[3]-a),t}function g(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function M(t,e){const r=t[0],i=t[1],s=t[2],o=t[3],a=e[0],l=e[1],u=e[2],f=e[3],h=(0,n.g)();return Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-l)<=h*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(s-u)<=h*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(o-f)<=h*Math.max(1,Math.abs(o),Math.abs(f))}const _=a,w=l,S=u,R=h,C=c,b=m,v=p;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,dist:R,distance:h,div:S,divide:u,dot:y,equals:M,exactEquals:g,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:b,length:m,lerp:x,max:function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t},min:function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t},mul:w,multiply:l,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:d,random:function(t,e){const r=n.R;let i,s,o,a,l,u;e=e||1;do{i=2*r()-1,s=2*r()-1,l=i*i+s*s}while(l>=1);do{o=2*r()-1,a=2*r()-1,u=o*o+a*a}while(u>=1);const f=Math.sqrt((1-l)/u);return t[0]=e*i,t[1]=e*s,t[2]=e*o*f,t[3]=e*a*f,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[3]=Math.round(e[3]),t},scale:f,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:s,sqrDist:C,sqrLen:v,squaredDistance:c,squaredLength:p,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:_,subtract:a,transformMat4:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*s+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*s+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*s+r[15]*o,t},transformQuat:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],a=r[1],l=r[2],u=r[3],f=u*n+a*s-l*i,h=u*i+l*n-o*s,c=u*s+o*i-a*n,m=-o*n-a*i-l*s;return t[0]=f*u+m*-o+h*-l-c*-a,t[1]=h*u+m*-a+c*-o-f*-l,t[2]=c*u+m*-l+f*-a-h*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},71715:(t,e,r)=>{r.d(e,{r:()=>i});var n=r(5600);function i(t,e,r){let i,s;return void 0===e||Array.isArray(e)?(s=t,r=e,i=[void 0]):(s=e,i=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;i.forEach((i=>{const a=(0,n.CJ)(t,i,s);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[e],r&&(a.read.source=(a.read.source||[]).concat(r))}))}}},30556:(t,e,r)=>{r.d(e,{c:()=>i});var n=r(5600);function i(t,e,r){let i,s;return void 0===e?(s=t,i=[void 0]):"string"!=typeof e?(s=t,i=[void 0],r=e):(s=e,i=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;for(const a of i){const i=(0,n.CJ)(t,a,s);i.write&&"object"==typeof i.write||(i.write={}),r&&(i.write.target=r),i.write.writer=o[e]}}}},22021:(t,e,r)=>{r.d(e,{BV:()=>f,Kt:()=>c,Sf:()=>s,Vl:()=>u,ZF:()=>h,_3:()=>_,jE:()=>g,oK:()=>y,oc:()=>M,t7:()=>l,uZ:()=>o,wt:()=>a});var n=r(17896);r(98766);const i=new Float32Array(1);function s(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function o(t,e,r){return Math.min(Math.max(t,e),r)}function a(t){return 0==(t&t-1)}function l(t,e,r){return t+(e-t)*r}function u(t){return t*Math.PI/180}function f(t){return 180*t/Math.PI}function h(t){return Math.acos(o(t,-1,1))}function c(t){return Math.asin(o(t,-1,1))}function m(t,e,r=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=r}const p=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));const d=BigInt("1000000");function y(t){return x(Math.max(-_,Math.min(t,_)))}function x(t){return i[0]=t,i[0]}function g(t,e){const r=(0,n.l)(t),i=c(t[2]/r),s=Math.atan2(t[1]/r,t[0]/r);return(0,n.s)(e,r,i,s),e}function M(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],n=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(m(e,1)&&m(r,1)&&m(n,1))}!function(t){const e=function(t){return p.setFloat64(0,t),p.getBigInt64(0)}(t=Math.abs(t)),r=function(t){return p.setBigInt64(0,t),p.getFloat64(0)}(e<=d?d:e-d);Math.abs(t-r)}(1);const _=x(34028234663852886e22)},67900:(t,e,r)=>{r.d(e,{$C:()=>C,CN:()=>I,En:()=>S,Jo:()=>E,_R:()=>b,c9:()=>P,cM:()=>v,gV:()=>O,hd:()=>u,qE:()=>z,ty:()=>R}),r(80442);var n=r(35454),i=r(70586),s=r(2109),o=r(68441),a=r(8744),l=r(58116);const u=39.37,f=o.sv.radius*Math.PI/200,h=/UNIT\[([^\]]+)\]\]$/i,c=l.Z,m=/UNIT\[([^\]]+)\]/i,p=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),d=(0,n.w)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),y=t=>t*t,x=t=>t*t*t,g={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:y(.001)},"square-centimeters":{inBaseUnits:y(.01)},"square-decimeters":{inBaseUnits:y(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:y(1e3)},"square-inches":{inBaseUnits:y(.0254)},"square-feet":{inBaseUnits:y(.3048)},"square-yards":{inBaseUnits:y(.9144)},"square-miles":{inBaseUnits:y(1609.344)},"square-us-feet":{inBaseUnits:y(1200/3937)},acres:{inBaseUnits:.0015625*y(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*x(.001)},"cubic-centimeters":{inBaseUnits:1e3*x(.01)},"cubic-decimeters":{inBaseUnits:1e3*x(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*x(1e3)},"cubic-inches":{inBaseUnits:1e3*x(.0254)},"cubic-feet":{inBaseUnits:1e3*x(.3048)},"cubic-yards":{inBaseUnits:1e3*x(.9144)},"cubic-miles":{inBaseUnits:1e3*x(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},M=(()=>{const t={};for(const e in g)for(const r in g[e].units)t[r]=e;return t})();function _(t){const e=M[t];if(!e)throw new Error("unknown type");return e}function w(t,e=null){return e=e||_(t),g[e].baseUnit===t}function S(t,e,r){if(e===r)return t;const n=_(e);if(n!==_(r))throw new Error("incompatible units");const i=w(e,n)?t:function(t,e,r){return t*g[r].units[e].inBaseUnits}(t,e,n);return w(r,n)?i:function(t,e,r){return t/g[r].units[e].inBaseUnits}(i,r,n)}function R(t,e,r){return S(t,e,"meters")/(r*Math.PI/180)}function C(t){return d.fromJSON(t.toLowerCase())||null}function b(t){if((0,i.pC)(t)&&!(0,a.N$)(t))return 1;const e=P(t);return e>1e5?1:e}function v(t){return P(t)>=(0,s.Iu)(t).metersPerDegree?"meters":z(t)}function P(t,e=o.sv.metersPerDegree){return(0,i.Pt)(function(t,e=!1){const r=(0,i.pC)(t)?t.wkid:null,n=(0,i.pC)(t)?t.wkt:null;let s=null;if(r){if((0,a.o$)(r))return o.yr.metersPerDegree;if((0,a.ME)(r))return o.Z1.metersPerDegree;s=c.values[c[r]],!s&&e&&p.has(r)&&(s=f)}else n&&(G(n)?s=A(h.exec(n),s):k(n)&&(s=A(m.exec(n),s)));return s}(t,!0),e)}function A(t,e){return t&&t[1]?Z(t[1]):e}function Z(t){return parseFloat(t.split(",")[1])}function z(t){const e=(0,i.pC)(t)?t.wkid:null,r=(0,i.pC)(t)?t.wkt:null;let n=null;if(e)n=c.units[c[e]];else if(r){const t=G(r)?h:k(r)?m:null;if(t){const e=t.exec(r);e&&e[1]&&(n=function(t){const e=/[\\"\\']{1}([^\\"\\']+)/.exec(t);let r=e&&e[1];if(!r||!c.units.includes(r)){const e=Z(t);r=null;const n=c.values;for(let t=0;t<n.length;++t)if(Math.abs(e-n[t])<1e-7){r=c.units[t];break}}return r}(e[1]))}}return(0,i.pC)(n)?C(n):null}function k(t){return/^GEOCCS/i.test(t)}function G(t){return/^PROJCS/i.test(t)}new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);const O=(0,n.w)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),E=(0,n.w)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),I=(0,n.w)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"})},6570:(t,e,r)=>{r.d(e,{Z:()=>g});var n,i=r(43697),s=r(70586),o=r(19153),a=r(5600),l=(r(75215),r(67676),r(52011)),u=r(9361),f=r(94139),h=r(82971),c=r(54102),m=r(87416),p=r(8744),d=r(40488);function y(t,e,r){return null==e?r:null==r?e:t(e,r)}let x=n=class extends u.Z{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,e,r,n,i){return function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?h.Z.WGS84:t.spatialReference,t):{xmin:t,ymin:e,xmax:r,ymax:n,spatialReference:i??h.Z.WGS84}}static fromBounds(t,e){return new n({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:e})}static fromPoint(t){return new n({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new f.Z({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const e=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-e.x,t.y-e.y,t.z-e.z):this.offset(t.x-e.x,t.y-e.y)}clone(){const t=new n;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const e=this.spatialReference,r=t.spatialReference;return e&&r&&!e.equals(r)&&(0,d.Q8)(e,r)&&(t=e.isWebMercator?(0,d.$)(t):(0,d.Sx)(t,!0)),"point"===t.type?(0,c.aV)(this,t):"extent"===t.type&&(0,c.uP)(this,t)}equals(t){if(this===t)return!0;if((0,s.Wi)(t))return!1;const e=this.spatialReference,r=t.spatialReference;return e&&r&&!e.equals(r)&&(0,d.Q8)(e,r)&&(t=e.isWebMercator?(0,d.$)(t):(0,d.Sx)(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const e=.5*(1-t),r=this.width*e,n=this.height*e;if(this.xmin+=r,this.ymin+=n,this.xmax-=r,this.ymax-=n,this.hasZ){const t=(this.zmax-this.zmin)*e;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*e;this.mmin+=t,this.mmax-=t}return this}intersects(t){if((0,s.Wi)(t))return!1;"mesh"===t.type&&(t=t.extent);const e=this.spatialReference,r=t.spatialReference;return e&&r&&!(0,p.fS)(e,r)&&(0,d.Q8)(e,r)&&(t=e.isWebMercator?(0,d.$)(t):(0,d.Sx)(t,!0)),(0,m.IY)(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,e,r){return this.xmin+=t,this.ymin+=e,this.xmax+=t,this.ymax+=e,null!=r&&(this.zmin+=r,this.zmax+=r),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=y(Math.min,this.zmin,t.zmin),this.zmax=y(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=y(Math.min,this.mmin,t.mmin),this.mmax=y(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:(0,s.Wi)(t)||!this.intersects(t)?null:(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=y(Math.max,this.zmin,t.zmin),this.zmax=y(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=y(Math.max,this.mmin,t.mmin),this.mmax=y(Math.min,this.mmax,t.mmax)),this)}toJSON(t){return this.write({},t)}_shiftCM(t=(0,p.C5)(this.spatialReference)){if(!t||!this.spatialReference)return this;const e=this.spatialReference,r=this._getCM(t);if(r){const n=e.isWebMercator?(0,d.Sx)(r):r;this.xmin-=r.x,this.xmax-=r.x,e.isWebMercator||(n.x=this._normalizeX(n.x,t).x),this.spatialReference=new h.Z((0,o.gx)((e.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:n.x}))}return this}_getCM(t){let e=null;const[r,n]=t.valid,i=this.xmin,s=this.xmax;return i>=r&&i<=n&&s>=r&&s<=n||(e=this.center),e}_normalize(t,e,r){const n=this.spatialReference;if(!n)return this;const i=r??(0,p.C5)(n);if(null==i)return this;const s=this._getParts(i).map((t=>t.extent));if(s.length<2)return s[0]||this;if(s.length>2)return t?this._shiftCM(i):this.set({xmin:i.valid[0],xmax:i.valid[1]});if(t)return this._shiftCM(i);if(e)return s;let o=!0,a=!0;return s.forEach((t=>{t.hasZ||(o=!1),t.hasM||(a=!1)})),{rings:s.map((t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(o){const r=(t.zmax-t.zmin)/2;for(let t=0;t<e.length;t++)e[t].push(r)}if(a){const r=(t.mmax-t.mmin)/2;for(let t=0;t<e.length;t++)e[t].push(r)}return e})),hasZ:o,hasM:a,spatialReference:n}}_getParts(t){let e=this.cache._parts;if(!e){e=[];const{ymin:r,ymax:i,spatialReference:s}=this,o=this.width,a=this.xmin,l=this.xmax;let u;t=t||(0,p.C5)(s);const[f,h]=t.valid;u=this._normalizeX(this.xmin,t);const c=u.x,m=u.frameId;u=this._normalizeX(this.xmax,t);const d=u.x,y=u.frameId,x=c===d&&o>0;if(o>2*h){const t=new n(a<l?c:d,r,h,i,s),o=new n(f,r,a<l?d:c,i,s),u=new n(0,r,h,i,s),p=new n(f,r,0,i,s),x=[],g=[];t.contains(u)&&x.push(m),t.contains(p)&&g.push(m),o.contains(u)&&x.push(y),o.contains(p)&&g.push(y);for(let t=m+1;t<y;t++)x.push(t),g.push(t);e.push({extent:t,frameIds:[m]},{extent:o,frameIds:[y]},{extent:u,frameIds:x},{extent:p,frameIds:g})}else c>d||x?e.push({extent:new n(c,r,h,i,s),frameIds:[m]},{extent:new n(f,r,d,i,s),frameIds:[y]}):e.push({extent:new n(c,r,d,i,s),frameIds:[m]});this.cache._parts=e}const r=this.hasZ,i=this.hasM;if(r||i){const t={};r&&(t.zmin=this.zmin,t.zmax=this.zmax),i&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let r=0;r<e.length;r++)e[r].extent.set(t)}return e}_normalizeX(t,e){const[r,n]=e.valid,i=2*n;let s,o=0;return t>n?(s=Math.ceil(Math.abs(t-n)/i),t-=s*i,o=s):t<r&&(s=Math.ceil(Math.abs(t-r)/i),t+=s*i,o=-s),{x:t,frameId:o}}};(0,i._)([(0,a.Cb)({readOnly:!0})],x.prototype,"cache",null),(0,i._)([(0,a.Cb)({readOnly:!0})],x.prototype,"center",null),(0,i._)([(0,a.Cb)({readOnly:!0})],x.prototype,"extent",null),(0,i._)([(0,a.Cb)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,i._)([(0,a.Cb)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,i._)([(0,a.Cb)({readOnly:!0})],x.prototype,"height",null),(0,i._)([(0,a.Cb)({readOnly:!0})],x.prototype,"width",null),(0,i._)([(0,a.Cb)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],x.prototype,"xmin",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],x.prototype,"ymin",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"mmin",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"zmin",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],x.prototype,"xmax",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],x.prototype,"ymax",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"mmax",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"zmax",void 0),x=n=(0,i._)([(0,l.j)("esri.geometry.Extent")],x),x.prototype.toJSON.isDefaultToJSON=!0;const g=x},9361:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(43697),i=r(96674),s=r(5600),o=(r(75215),r(67676),r(71715)),a=r(52011),l=r(82971);let u=class extends i.wq{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=l.Z.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof l.Z)return t;if(null!=t){const r=new l.Z;return r.read(t,e),r}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,n._)([(0,s.Cb)()],u.prototype,"type",void 0),(0,n._)([(0,s.Cb)({readOnly:!0})],u.prototype,"cache",null),(0,n._)([(0,s.Cb)({readOnly:!0})],u.prototype,"extent",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],u.prototype,"hasM",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],u.prototype,"hasZ",void 0),(0,n._)([(0,s.Cb)({type:l.Z,json:{write:!0},value:l.Z.WGS84})],u.prototype,"spatialReference",void 0),(0,n._)([(0,o.r)("spatialReference")],u.prototype,"readSpatialReference",null),u=(0,n._)([(0,a.j)("esri.geometry.Geometry")],u);const f=u},65091:(t,e,r)=>{r.d(e,{Z:()=>d});var n,i=r(43697),s=r(22974),o=r(5600),a=(r(75215),r(52011)),l=r(30556),u=r(6570),f=r(9361),h=r(94139),c=r(16238);function m(t){return(e,r)=>null==e?r:null==r?e:t(e,r)}let p=n=class extends f.Z{constructor(...t){super(...t),this.points=[],this.type="multipoint"}normalizeCtorArgs(t,e){if(!t&&!e)return{};const r={};Array.isArray(t)?(r.points=t,r.spatialReference=e):function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?r.spatialReference=t:(t.points&&(r.points=t.points),t.spatialReference&&(r.spatialReference=t.spatialReference),t.hasZ&&(r.hasZ=t.hasZ),t.hasM&&(r.hasM=t.hasM));const n=r.points&&r.points[0];return n&&(void 0===r.hasZ&&void 0===r.hasM?(r.hasZ=n.length>2,r.hasM=!1):void 0===r.hasZ?r.hasZ=n.length>3:void 0===r.hasM&&(r.hasM=n.length>3)),r}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=this.points;if(!t.length)return null;const e=new u.Z,r=this.hasZ,n=this.hasM,i=r?3:2,s=t[0],o=m(Math.min),a=m(Math.max);let l,f,h,c,[p,d]=s,[y,x]=s;for(let e=0,s=t.length;e<s;e++){const s=t[e],[u,m]=s;if(p=o(p,u),d=o(d,m),y=a(y,u),x=a(x,m),r&&s.length>2){const t=s[2];l=o(l,t),h=a(h,t)}if(n&&s.length>i){const t=s[i];f=o(f,t),c=a(c,t)}}return e.xmin=p,e.ymin=d,e.xmax=y,e.ymax=x,e.spatialReference=this.spatialReference,r?(e.zmin=l,e.zmax=h):(e.zmin=void 0,e.zmax=void 0),n?(e.mmin=f,e.mmax=c):(e.mmin=void 0,e.mmax=void 0),e}writePoints(t,e){e.points=(0,s.d9)(this.points)}addPoint(t){return(0,c.l)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}clone(){const t={points:(0,s.d9)(this.points),spatialReference:this.spatialReference};return this.hasZ&&(t.hasZ=!0),this.hasM&&(t.hasM=!0),new n(t)}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],r={x:e[0],y:e[1],spatialReference:this.spatialReference};let n=2;return this.hasZ&&(r.z=e[2],n=3),this.hasM&&(r.m=e[n]),new h.Z(r)}removePoint(t){if(!this._validateInputs(t))return null;const e=new h.Z(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,c.l)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,i._)([(0,o.Cb)({readOnly:!0})],p.prototype,"cache",null),(0,i._)([(0,o.Cb)()],p.prototype,"extent",null),(0,i._)([(0,o.Cb)({type:[[Number]],json:{write:{isRequired:!0}}})],p.prototype,"points",void 0),(0,i._)([(0,l.c)("points")],p.prototype,"writePoints",null),p=n=(0,i._)([(0,a.j)("esri.geometry.Multipoint")],p),p.prototype.toJSON.isDefaultToJSON=!0;const d=p},94139:(t,e,r)=>{r.d(e,{Z:()=>_});var n,i=r(43697),s=r(92604),o=r(70586),a=r(5600),l=r(90578),u=(r(67676),r(71715)),f=r(52011),h=r(30556),c=r(75215),m=r(9361),p=r(82971),d=r(8744),y=r(40488);const x=[0,0];function g(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let M=n=class extends m.Z{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const r=t._get("spatialReference");e._set("spatialReference",Object.isFrozen(r)?r:r.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,r,n,i){let o;if(Array.isArray(t))o=t,i=e,t=o[0],e=o[1],r=o[2],n=o[3];else if(t&&"object"==typeof t){if(o=t,t=null!=o.x?o.x:o.longitude,e=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new p.Z(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.Z.getLogger(this.declaredClass).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.Z.getLogger(this.declaredClass).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i&&i.isWebMercator){const r=(0,y.hG)(o.longitude,o.latitude,x);t=r[0],e=r[1]}}else g(r)?(i=r,r=null):g(n)&&(i=n,n=null);const a={x:t,y:e};return null==a.x&&null!=a.y?s.Z.getLogger(this.declaredClass).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&s.Z.getLogger(this.declaredClass).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=r&&(a.z=r),null!=n&&(a.m=n),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){const{spatialReference:t,x:e,y:r}=this;if(t){if(t.isWebMercator)return(0,y.R6)(e,r,x)[1];if(t.isGeographic)return r}return null}set latitude(t){const{spatialReference:e,x:r}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,y.hG)(r,t,x)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){const{x:t,y:e,spatialReference:r}=this;if(r){if(r.isWebMercator)return(0,y.R6)(t,e,x)[0];if(r.isGeographic)return t}return null}set longitude(t){const{y:e,spatialReference:r}=this;null!=t&&r&&(r.isWebMercator?this._set("x",(0,y.hG)(t,e,x)[0]):r.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,r){e[r]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new n;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return n.copy(t,this),this}equals(t){if((0,o.Wi)(t))return!1;const{x:e,y:r,z:n,m:i,spatialReference:s}=this,{z:a,m:l}=t;let{x:u,y:f,spatialReference:h}=t;if(!s.equals(h))if(s.isWebMercator&&h.isWGS84)[u,f]=(0,y.hG)(u,f),h=s;else{if(!s.isWGS84||!h.isWebMercator)return!1;[u,f]=(0,y.R6)(u,f),h=s}return e===u&&r===f&&n===a&&i===l&&s.wkid===h.wkid}offset(t,e,r){return this.x+=t,this.y+=e,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const t=(0,d.C5)(this.spatialReference);if(!t)return this;let e=this.x;const[r,n]=t.valid,i=2*n;let s;return e>n?(s=Math.ceil(Math.abs(e-n)/i),e-=s*i):e<r&&(s=Math.ceil(Math.abs(e-r)/i),e+=s*i),this._set("x",e),this}distance(t){return function(t,e){const r=t.x-e.x,n=t.y-e.y,i=t.hasZ&&e.hasZ?t.z-e.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,i._)([(0,a.Cb)({readOnly:!0})],M.prototype,"cache",null),(0,i._)([(0,a.Cb)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],M.prototype,"hasM",null),(0,i._)([(0,a.Cb)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],M.prototype,"hasZ",null),(0,i._)([(0,a.Cb)({type:Number})],M.prototype,"latitude",null),(0,i._)([(0,a.Cb)({type:Number})],M.prototype,"longitude",null),(0,i._)([(0,a.Cb)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,l.p)((t=>isNaN(t)?t:(0,c.q9)(t)))],M.prototype,"x",void 0),(0,i._)([(0,h.c)("x")],M.prototype,"writeX",null),(0,i._)([(0,u.r)("x")],M.prototype,"readX",null),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],M.prototype,"y",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],M.prototype,"z",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],M.prototype,"m",void 0),M=n=(0,i._)([(0,f.j)("esri.geometry.Point")],M),M.prototype.toJSON.isDefaultToJSON=!0;const _=M},38913:(t,e,r)=>{r.d(e,{Z:()=>C});var n,i=r(43697),s=r(67676),o=r(22974),a=r(70586),l=r(5600),u=(r(75215),r(52011)),f=r(30556),h=r(6570),c=r(9361),m=r(94139),p=r(82971),d=r(35308),y=r(54102),x=r(86662),g=r(49600),M=r(87416),_=r(40488),w=r(16238);function S(t){return!Array.isArray(t[0])}let R=n=class extends c.Z{static fromExtent(t){const e=t.clone().normalize(),r=t.spatialReference;let i=!1,s=!1;for(const t of e)t.hasZ&&(i=!0),t.hasM&&(s=!0);const o={rings:e.map((t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(i&&t.hasZ){const r=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<e.length;t++)e[t].push(r)}if(s&&t.hasM){const r=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<e.length;t++)e[t].push(r)}return e})),spatialReference:r};return i&&(o.hasZ=!0),s&&(o.hasM=!0),new n(o)}constructor(...t){super(...t),this.rings=[],this.type="polygon"}normalizeCtorArgs(t,e){let r,n,i=null,s=null;return t&&!Array.isArray(t)?(i=t.rings?t.rings:null,e||(t.spatialReference?e=t.spatialReference:t.rings||(e=t)),r=t.hasZ,n=t.hasM):i=t,i=i||[],e=e||p.Z.WGS84,i.length&&i[0]&&null!=i[0][0]&&"number"==typeof i[0][0]&&(i=[i]),s=i[0]&&i[0][0],s&&(void 0===r&&void 0===n?(r=s.length>2,n=s.length>3):void 0===r?r=n?s.length>3:s.length>2:void 0===n&&(n=r?s.length>3:s.length>2)),{rings:i,spatialReference:e,hasZ:r,hasM:n}}get cache(){return this.commitProperty("rings"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get centroid(){const t=(0,d.tO)(this);if(!t||isNaN(t[0])||isNaN(t[1])||this.hasZ&&isNaN(t[2]))return null;const e=new m.Z;return e.x=t[0],e.y=t[1],e.spatialReference=this.spatialReference,this.hasZ&&(e.z=t[2]),e}get extent(){const{spatialReference:t}=this,e=(0,g._w)(this);if(!e)return null;const r=new h.Z(e);return r.spatialReference=t,r}get isSelfIntersecting(){return(0,M.Ff)(this.rings)}writeRings(t,e){e.rings=(0,o.d9)(this.rings)}addRing(t){if(!t)return;const e=this.rings,r=e.length;if(S(t)){const n=[];for(let e=0,r=t.length;e<r;e++)n[e]=t[e].toArray();e[r]=n}else e[r]=t.concat();return this.notifyChange("rings"),this}clone(){const t=new n;return t.spatialReference=this.spatialReference,t.rings=(0,o.d9)(this.rings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if((0,a.Wi)(t))return!1;const e=this.spatialReference,r=t.spatialReference;if((0,a.pC)(e)!==(0,a.pC)(r))return!1;if((0,a.pC)(e)&&(0,a.pC)(r)&&!e.equals(r))return!1;if(this.rings.length!==t.rings.length)return!1;const n=([t,e,r,n],[i,s,o,a])=>t===i&&e===s&&(null==r&&null==o||r===o)&&(null==n&&null==a||n===a);for(let e=0;e<this.rings.length;e++){const r=this.rings[e],i=t.rings[e];if(!(0,s.fS)(r,i,n))return!1}return!0}contains(t){if(!t)return!1;const e=(0,_.iV)(t,this.spatialReference);return(0,y.CI)(this,(0,a.pC)(e)?e:t)}isClockwise(t){let e;return e=S(t)?t.map((t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])):t,(0,x.bu)(e,this.hasM,this.hasZ)}getPoint(t,e){if(!this._validateInputs(t,e))return null;const r=this.rings[t][e],n=this.hasZ,i=this.hasM;return n&&!i?new m.Z(r[0],r[1],r[2],void 0,this.spatialReference):i&&!n?new m.Z(r[0],r[1],void 0,r[2],this.spatialReference):n&&i?new m.Z(r[0],r[1],r[2],r[3],this.spatialReference):new m.Z(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?((0,w.l)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t].splice(e,0,r),this.notifyChange("rings"),this):this}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new m.Z(this.rings[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("rings"),r}removeRing(t){if(!this._validateInputs(t,null))return null;const e=this.rings.splice(t,1)[0],r=this.spatialReference,n=e.map((t=>new m.Z(t,r)));return this.notifyChange("rings"),n}setPoint(t,e,r){return this._validateInputs(t,e)?((0,w.l)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t][e]=r,this.notifyChange("rings"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=e){const n=this.rings[t];if(r&&(e<0||e>n.length))return!1;if(!r&&(e<0||e>=n.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i._)([(0,l.Cb)({readOnly:!0})],R.prototype,"cache",null),(0,i._)([(0,l.Cb)({readOnly:!0})],R.prototype,"centroid",null),(0,i._)([(0,l.Cb)({readOnly:!0})],R.prototype,"extent",null),(0,i._)([(0,l.Cb)({readOnly:!0})],R.prototype,"isSelfIntersecting",null),(0,i._)([(0,l.Cb)({type:[[[Number]]],json:{write:{isRequired:!0}}})],R.prototype,"rings",void 0),(0,i._)([(0,f.c)("rings")],R.prototype,"writeRings",null),R=n=(0,i._)([(0,u.j)("esri.geometry.Polygon")],R),R.prototype.toJSON.isDefaultToJSON=!0;const C=R},58901:(t,e,r)=>{r.d(e,{Z:()=>y});var n,i=r(43697),s=r(22974),o=r(5600),a=(r(75215),r(52011)),l=r(30556),u=r(6570),f=r(9361),h=r(94139),c=r(82971),m=r(49600),p=r(16238);let d=n=class extends f.Z{constructor(...t){super(...t),this.paths=[],this.type="polyline"}normalizeCtorArgs(t,e){let r,n,i=null,s=null;return t&&!Array.isArray(t)?(i=t.paths?t.paths:null,e||(t.spatialReference?e=t.spatialReference:t.paths||(e=t)),r=t.hasZ,n=t.hasM):i=t,i=i||[],e=e||c.Z.WGS84,i.length&&i[0]&&null!=i[0][0]&&"number"==typeof i[0][0]&&(i=[i]),s=i[0]&&i[0][0],s&&(void 0===r&&void 0===n?(r=s.length>2,n=!1):void 0===r?r=!n&&s.length>3:void 0===n&&(n=!r&&s.length>3)),{paths:i,spatialReference:e,hasZ:r,hasM:n}}get cache(){return this.commitProperty("paths"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const{spatialReference:t}=this,e=(0,m.Wn)(this);if(!e)return null;const r=new u.Z(e);return r.spatialReference=t,r}writePaths(t,e){e.paths=(0,s.d9)(this.paths)}addPath(t){if(!t)return;const e=this.paths,r=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const n=[];for(let e=0,r=t.length;e<r;e++)n[e]=t[e].toArray();e[r]=n}else e[r]=t.concat();return this.notifyChange("paths"),this}clone(){const t=new n;return t.spatialReference=this.spatialReference,t.paths=(0,s.d9)(this.paths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const r=this.paths[t][e],n=this.hasZ,i=this.hasM;return n&&!i?new h.Z(r[0],r[1],r[2],void 0,this.spatialReference):i&&!n?new h.Z(r[0],r[1],void 0,r[2],this.spatialReference):n&&i?new h.Z(r[0],r[1],r[2],r[3],this.spatialReference):new h.Z(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?((0,p.l)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t].splice(e,0,r),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],r=this.spatialReference,n=e.map((t=>new h.Z(t,r)));return this.notifyChange("paths"),n}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new h.Z(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(t,e,r){return this._validateInputs(t,e)?((0,p.l)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t][e]=r,this.notifyChange("paths"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const n=this.paths[t];if(r&&(e<0||e>n.length))return!1;if(!r&&(e<0||e>=n.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i._)([(0,o.Cb)({readOnly:!0})],d.prototype,"cache",null),(0,i._)([(0,o.Cb)({readOnly:!0})],d.prototype,"extent",null),(0,i._)([(0,o.Cb)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,i._)([(0,l.c)("paths")],d.prototype,"writePaths",null),d=n=(0,i._)([(0,a.j)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0;const y=d},82971:(t,e,r)=>{r.d(e,{Z:()=>p});var n,i=r(43697),s=r(96674),o=r(22974),a=r(67900),l=r(75215),u=r(5600),f=r(52011),h=r(30556),c=r(8744);let m=n=class extends s.wq{static fromJSON(t){if(!t)return null;if(t.wkid){if(102100===t.wkid)return n.WebMercator;if(4326===t.wkid)return n.WGS84}const e=new n;return e.read(t),e}constructor(t){super(t),this.latestWkid=null,this.wkid=null,this.wkt=null,this.vcsWkid=null,this.latestVcsWkid=null,this.imageCoordinateSystem=null}normalizeCtorArgs(t){return t&&"object"==typeof t?t:{["string"==typeof t?"wkt":"wkid"]:t}}get isWGS84(){return(0,c.oR)(this)}get isWebMercator(){return(0,c.sS)(this)}get isGeographic(){return(0,c.sT)(this)}get isWrappable(){return(0,c.MP)(this)}get metersPerUnit(){return(0,a.c9)(this)}get unit(){return(0,a.qE)(this)||(this.isGeographic?"degrees":null)}writeWkt(t,e){this.wkid||(e.wkt=t)}clone(){if(this===n.WGS84)return n.WGS84;if(this===n.WebMercator)return n.WebMercator;const t=new n;return null!=this.wkid?(t.wkid=this.wkid,null!=this.latestWkid&&(t.latestWkid=this.latestWkid),null!=this.vcsWkid&&(t.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(t.latestVcsWkid=this.latestVcsWkid)):null!=this.wkt&&(t.wkt=this.wkt),this.imageCoordinateSystem&&(t.imageCoordinateSystem=(0,o.d9)(this.imageCoordinateSystem)),t}equals(t){if(null==t)return!1;if(this.imageCoordinateSystem||t.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==t.imageCoordinateSystem)return!1;const{id:e,referenceServiceName:r}=t.imageCoordinateSystem,{geodataXform:n}=t.imageCoordinateSystem,i=this.imageCoordinateSystem;return null==e||n?JSON.stringify(i)===JSON.stringify(t.imageCoordinateSystem):r?i.id===e&&i.referenceServiceName===r:i.id===e}return(0,c.fS)(this,t)}toJSON(t){return this.write(void 0,t)}};m.GCS_NAD_1927=null,m.WGS84=null,m.WebMercator=null,m.PlateCarree=null,(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"isWGS84",null),(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"isWebMercator",null),(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"isGeographic",null),(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"isWrappable",null),(0,i._)([(0,u.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"latestWkid",void 0),(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"metersPerUnit",null),(0,i._)([(0,u.Cb)({readOnly:!0})],m.prototype,"unit",null),(0,i._)([(0,u.Cb)({type:l.z8,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null===this.wkt}}}}}}})],m.prototype,"wkid",void 0),(0,i._)([(0,u.Cb)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null===this.wkid}}}}}}})],m.prototype,"wkt",void 0),(0,i._)([(0,h.c)("wkt"),(0,h.c)("web-scene","wkt")],m.prototype,"writeWkt",null),(0,i._)([(0,u.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"vcsWkid",void 0),(0,i._)([(0,u.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"latestVcsWkid",void 0),(0,i._)([(0,u.Cb)()],m.prototype,"imageCoordinateSystem",void 0),m=n=(0,i._)([(0,f.j)("esri.geometry.SpatialReference")],m),m.prototype.toJSON.isDefaultToJSON=!0,m.GCS_NAD_1927=new m({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'}),m.WGS84=new m(c.Zn),m.WebMercator=new m(c.R_),m.PlateCarree=new m(c.WR),Object.freeze&&(Object.freeze(m.GCS_NAD_1927),Object.freeze(m.WGS84),Object.freeze(m.WebMercator));const p=m},2109:(t,e,r)=>{r.d(e,{Iu:()=>h,JL:()=>l,e8:()=>c,kU:()=>a,mM:()=>u,pn:()=>f});var n=r(70586),i=r(68441),s=r(8744);function o(t){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${t.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const a=o(i.sv),l=o(i.yr),u=o(i.Z1),f={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${i.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`};function h(t){return(0,n.pC)(t)&&((0,s.BZ)(t)||(0,s.fS)(t,l))?i.yr:(0,n.pC)(t)&&((0,s.V2)(t)||(0,s.fS)(t,u))?i.Z1:i.sv}function c(t){return(0,s.o$)(t)?i.yr:(0,s.ME)(t)?i.Z1:i.sv}},68441:(t,e,r)=>{r.d(e,{Z1:()=>o,sv:()=>i,yr:()=>s});class n{constructor(t,e,r,n){this.semiMajorAxis=t,this.flattening=e,this.outerAtmosphereRimWidth=r;const i=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*i,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=n||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const i=new n(6378137,1/298.257223563,3e5,.006694379990137799),s=new n(3396190,1/169.8944472236118,23e4),o=new n(1737400,0,0)},56726:(t,e,r)=>{var n;r.d(e,{W:()=>n}),function(t){t[t.CGCS2000=4490]="CGCS2000",t[t.GCSMARS2000=104971]="GCSMARS2000",t[t.GCSMARS2000_SPHERE=104905]="GCSMARS2000_SPHERE",t[t.GCSMOON2000=104903]="GCSMOON2000"}(n||(n={}))},58116:(t,e,r)=>{let n;r.d(e,{Z:()=>i});const i={values:[1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:5,2136:12,2155:2,2157:0,2158:0,2159:12,2160:12,2204:2,2219:0,2220:0,2254:2,2255:2,2256:1,2265:1,2266:1,2267:2,2268:2,2269:1,2270:1,2271:2,2272:2,2273:1,2294:0,2295:0,2314:3,2899:2,2900:2,2901:1,2909:1,2910:1,2911:2,2912:2,2913:1,2914:1,2992:1,2993:0,2994:1,3080:1,3089:2,3090:0,3091:2,3102:2,3141:0,3142:0,3167:14,3359:2,3360:0,3361:1,3362:0,3363:2,3364:0,3365:2,3366:3,3404:2,3405:0,3406:0,3407:3,3439:0,3440:0,3479:1,3480:0,3481:1,3482:0,3483:1,3484:0,3485:2,3486:0,3487:2,3488:0,3489:0,3490:2,3491:0,3492:2,3493:0,3494:2,3495:0,3496:2,3497:0,3498:2,3499:0,3500:2,3501:0,3502:2,3503:0,3504:2,3505:0,3506:2,3507:0,3508:2,3509:0,3510:2,3511:0,3512:2,3513:0,3514:0,3515:2,3516:0,3517:2,3518:0,3519:2,3520:0,3521:2,3522:0,3523:2,3524:0,3525:2,3526:0,3527:2,3528:0,3529:2,3530:0,3531:2,3532:0,3533:2,3534:0,3535:2,3536:0,3537:2,3538:0,3539:2,3540:0,3541:2,3542:0,3543:2,3544:0,3545:2,3546:0,3547:2,3548:0,3549:2,3550:0,3551:2,3552:0,3553:2,3582:2,3583:0,3584:2,3585:0,3586:2,3587:0,3588:1,3589:0,3590:1,3591:0,3592:0,3593:1,3598:2,3599:0,3600:2,3605:1,3606:0,3607:0,3608:2,3609:0,3610:2,3611:0,3612:2,3613:0,3614:2,3615:0,3616:2,3617:0,3618:2,3619:0,3620:2,3621:0,3622:2,3623:0,3624:2,3625:0,3626:2,3627:0,3628:2,3629:0,3630:2,3631:0,3632:2,3633:0,3634:1,3635:0,3636:1,3640:2,3641:0,3642:2,3643:0,3644:1,3645:0,3646:1,3647:0,3648:1,3649:0,3650:2,3651:0,3652:2,3653:0,3654:2,3655:0,3656:1,3657:0,3658:2,3659:0,3660:2,3661:0,3662:2,3663:0,3664:2,3668:2,3669:0,3670:2,3671:0,3672:2,3673:0,3674:2,3675:0,3676:1,3677:2,3678:0,3679:1,3680:2,3681:0,3682:1,3683:2,3684:0,3685:0,3686:2,3687:0,3688:2,3689:0,3690:2,3691:0,3692:2,3696:2,3697:0,3698:2,3699:0,3700:2,3793:0,3794:0,3812:0,3854:0,3857:0,3920:0,3978:0,3979:0,3991:2,3992:2,4026:0,4037:0,4038:0,4071:0,4082:0,4083:0,4087:0,4088:0,4217:2,4414:0,4415:0,4417:0,4434:0,4437:0,4438:2,4439:2,4462:0,4467:0,4471:0,4474:0,4559:0,4647:0,4822:0,4826:0,4839:0,5018:0,5041:0,5042:0,5048:0,5167:0,5168:0,5221:0,5223:0,5234:0,5235:0,5243:0,5247:0,5266:0,5316:0,5320:0,5321:0,5325:0,5337:0,5361:0,5362:0,5367:0,5382:0,5383:0,5396:0,5456:0,5457:0,5469:0,5472:4,5490:0,5513:0,5514:0,5523:0,5559:0,5588:1,5589:3,5596:0,5627:0,5629:0,5641:0,5643:0,5644:0,5646:2,5654:2,5655:2,5659:0,5700:0,5825:0,5836:0,5837:0,5839:0,5842:0,5844:0,5858:0,5879:0,5880:0,5887:0,5890:0,6128:1,6129:1,6141:1,6204:0,6210:0,6211:0,6307:0,6312:0,6316:0,6362:0,6391:1,6405:1,6406:0,6407:1,6408:0,6409:1,6410:0,6411:2,6412:0,6413:2,6414:0,6415:0,6416:2,6417:0,6418:2,6419:0,6420:2,6421:0,6422:2,6423:0,6424:2,6425:0,6426:2,6427:0,6428:2,6429:0,6430:2,6431:0,6432:2,6433:0,6434:2,6435:0,6436:2,6437:0,6438:2,6439:0,6440:0,6441:2,6442:0,6443:2,6444:0,6445:2,6446:0,6447:2,6448:0,6449:2,6450:0,6451:2,6452:0,6453:2,6454:0,6455:2,6456:0,6457:2,6458:0,6459:2,6460:0,6461:2,6462:0,6463:2,6464:0,6465:2,6466:0,6467:2,6468:0,6469:2,6470:0,6471:2,6472:0,6473:2,6474:0,6475:2,6476:0,6477:2,6478:0,6479:2,6484:2,6485:0,6486:2,6487:0,6488:2,6489:0,6490:2,6491:0,6492:2,6493:0,6494:1,6495:0,6496:1,6497:0,6498:0,6499:1,6500:0,6501:2,6502:0,6503:2,6504:0,6505:2,6506:0,6507:2,6508:0,6509:0,6510:2,6515:1,6516:0,6518:0,6519:2,6520:0,6521:2,6522:0,6523:2,6524:0,6525:2,6526:0,6527:2,6528:0,6529:2,6530:0,6531:2,6532:0,6533:2,6534:0,6535:2,6536:0,6537:2,6538:0,6539:2,6540:0,6541:2,6542:0,6543:2,6544:0,6545:1,6546:0,6547:1,6548:0,6549:2,6550:0,6551:2,6552:0,6553:2,6554:0,6555:2,6556:0,6557:1,6558:0,6559:1,6560:0,6561:1,6562:0,6563:2,6564:0,6565:2,6566:0,6567:0,6568:2,6569:0,6570:1,6571:0,6572:2,6573:0,6574:2,6575:0,6576:2,6577:0,6578:2,6582:2,6583:0,6584:2,6585:0,6586:2,6587:0,6588:2,6589:0,6590:2,6591:0,6592:0,6593:2,6594:0,6595:2,6596:0,6597:2,6598:0,6599:2,6600:0,6601:2,6602:0,6603:2,6605:2,6606:0,6607:2,6608:0,6609:2,6610:0,6611:0,6612:2,6613:0,6614:2,6615:0,6616:2,6617:0,6618:2,6633:2,6646:0,6703:0,6784:0,6785:1,6786:0,6787:1,6788:0,6789:1,6790:0,6791:1,6792:0,6793:1,6794:0,6795:1,6796:0,6797:1,6798:0,6799:1,6800:0,6801:1,6802:0,6803:1,6804:0,6805:1,6806:0,6807:1,6808:0,6809:1,6810:0,6811:1,6812:0,6813:1,6814:0,6815:1,6816:0,6817:1,6818:0,6819:1,6820:0,6821:1,6822:0,6823:1,6824:0,6825:1,6826:0,6827:1,6828:0,6829:1,6830:0,6831:1,6832:0,6833:1,6834:0,6835:1,6836:0,6837:1,6838:0,6839:1,6840:0,6841:1,6842:0,6843:1,6844:0,6845:1,6846:0,6847:1,6848:0,6849:1,6850:0,6851:1,6852:0,6853:1,6854:0,6855:1,6856:0,6857:1,6858:0,6859:1,6860:0,6861:1,6862:0,6863:1,6867:0,6868:1,6870:0,6875:0,6876:0,6879:0,6880:2,6884:0,6885:1,6886:0,6887:1,6915:0,6922:0,6923:2,6924:0,6925:2,6962:0,6984:0,6991:0,7128:2,7131:0,7132:2,7142:0,7257:0,7258:2,7259:0,7260:2,7261:0,7262:2,7263:0,7264:2,7265:0,7266:2,7267:0,7268:2,7269:0,7270:2,7271:0,7272:2,7273:0,7274:2,7275:0,7276:2,7277:0,7278:2,7279:0,7280:2,7281:0,7282:2,7283:0,7284:2,7285:0,7286:2,7287:0,7288:2,7289:0,7290:2,7291:0,7292:2,7293:0,7294:2,7295:0,7296:2,7297:0,7298:2,7299:0,7300:2,7301:0,7302:2,7303:0,7304:2,7305:0,7306:2,7307:0,7308:2,7309:0,7310:2,7311:0,7312:2,7313:0,7314:2,7315:0,7316:2,7317:0,7318:2,7319:0,7320:2,7321:0,7322:2,7323:0,7324:2,7325:0,7326:2,7327:0,7328:2,7329:0,7330:2,7331:0,7332:2,7333:0,7334:2,7335:0,7336:2,7337:0,7338:2,7339:0,7340:2,7341:0,7342:2,7343:0,7344:2,7345:0,7346:2,7347:0,7348:2,7349:0,7350:2,7351:0,7352:2,7353:0,7354:2,7355:0,7356:2,7357:0,7358:2,7359:0,7360:2,7361:0,7362:2,7363:0,7364:2,7365:0,7366:2,7367:0,7368:2,7369:0,7370:2,7877:0,7878:0,7882:0,7883:0,7887:0,7899:0,7991:0,7992:0,8035:2,8036:2,8058:0,8059:0,8082:0,8083:0,8088:0,8090:0,8091:2,8092:0,8093:2,8095:0,8096:2,8097:0,8098:2,8099:0,8100:2,8101:0,8102:2,8103:0,8104:2,8105:0,8106:2,8107:0,8108:2,8109:0,8110:2,8111:0,8112:2,8113:0,8114:2,8115:0,8116:2,8117:0,8118:2,8119:0,8120:2,8121:0,8122:2,8123:0,8124:2,8125:0,8126:2,8127:0,8128:2,8129:0,8130:2,8131:0,8132:2,8133:0,8134:2,8135:0,8136:2,8137:0,8138:2,8139:0,8140:2,8141:0,8142:2,8143:0,8144:2,8145:0,8146:2,8147:0,8148:2,8149:0,8150:2,8151:0,8152:2,8153:0,8154:2,8155:0,8156:2,8157:0,8158:2,8159:0,8160:2,8161:0,8162:2,8163:0,8164:2,8165:0,8166:2,8167:0,8168:2,8169:0,8170:2,8171:0,8172:2,8173:0,8177:2,8179:0,8180:2,8181:0,8182:2,8184:0,8185:2,8187:0,8189:2,8191:0,8193:2,8196:0,8197:2,8198:0,8200:2,8201:0,8202:2,8203:0,8204:2,8205:0,8206:2,8207:0,8208:2,8209:0,8210:2,8212:0,8213:2,8214:0,8216:2,8218:0,8220:2,8222:0,8224:2,8225:0,8226:2,8311:0,8312:1,8313:0,8314:1,8315:0,8316:1,8317:0,8318:1,8319:0,8320:1,8321:0,8322:1,8323:0,8324:1,8325:0,8326:1,8327:0,8328:1,8329:0,8330:1,8331:0,8332:1,8333:0,8334:1,8335:0,8336:1,8337:0,8338:1,8339:0,8340:1,8341:0,8342:1,8343:0,8344:1,8345:0,8346:1,8347:0,8348:1,8352:0,8353:0,8379:0,8380:2,8381:0,8382:2,8383:0,8384:2,8385:0,8387:2,8391:0,8395:0,8433:0,8441:0,8455:0,8456:0,8531:2,8682:0,8686:0,8687:0,8692:0,8693:0,8826:0,8903:0,8950:0,8951:0,9039:0,9040:0,9141:0,9149:0,9150:0,9191:0,9221:0,9222:0,9249:0,9250:0,9252:0,9254:0,9265:0,9284:0,9285:0,9300:0,9354:0,9367:0,9373:0,9377:0,9387:0,9391:0,9456:0,9473:0,9498:0,9674:0,9678:0,9680:0,9709:0,9712:0,9713:0,9716:0,9741:0,9748:2,9749:2,9761:0,9766:0,9793:0,9794:0,9869:0,9874:0,9875:0,9880:0,9943:0,9945:0,9947:0,9967:0,9972:0,9977:0,20042:0,20050:1,20499:0,20538:0,20539:0,20790:0,20791:0,21291:0,21292:0,21500:0,21817:0,21818:0,22032:0,22033:0,22091:0,22092:0,22239:0,22240:0,22332:0,22337:0,22338:0,22391:0,22392:0,22639:0,22700:0,22739:0,22770:0,22780:0,22832:0,23090:0,23095:0,23239:0,23240:0,23433:0,23700:0,24047:0,24048:0,24100:3,24200:0,24305:0,24306:0,24382:10,24383:0,24500:0,24547:0,24548:0,24571:9,24600:0,25e3:0,25231:0,25884:0,25932:0,26237:0,26331:0,26332:0,26432:0,26591:0,26592:0,26632:0,26692:0,27120:0,27200:0,27291:6,27292:6,27429:0,27492:0,27493:0,27500:0,27700:0,28232:0,28600:0,28991:0,28992:0,29100:0,29101:0,29220:0,29221:0,29333:0,29635:0,29636:0,29701:0,29738:0,29739:0,29849:0,29850:0,29871:8,29872:7,29873:0,29874:0,30200:5,30339:0,30340:0,30591:0,30592:0,30791:0,30792:0,30800:0,31028:0,31121:0,31154:0,31170:0,31171:0,31370:0,31528:0,31529:0,31600:0,31700:0,31838:0,31839:0,31900:0,31901:0,32061:0,32062:0,32098:0,32099:2,32100:0,32104:0,32161:0,32766:0,53048:0,53049:0,54090:0,54091:0,65061:2,65062:2,65161:0,65163:0,102041:2,102064:11,102068:15,102069:16,102118:2,102119:1,102120:2,102121:2,102217:2,102218:0,102219:2,102220:2,102378:1,102379:1,102380:0,102381:1,102589:2,102599:2,102600:2,102604:2,102647:0,102704:2,102705:2,102706:0,102731:0,102732:0,102759:1,102760:1,102761:2,102762:0,102763:2,102764:0,102765:0,102766:2,102970:1,102974:2,102993:0,102994:0,102995:2,102996:2,103015:0,103016:2,103017:0,103018:2,103025:0,103026:0,103027:2,103028:2,103035:0,103036:0,103037:2,103038:2,103039:0,103040:0,103041:2,103042:2,103043:0,103044:0,103045:2,103046:2,103047:0,103048:0,103049:2,103050:2,103051:0,103052:2,103053:0,103054:2,103055:0,103056:2,103057:0,103058:0,103059:2,103060:2,103061:0,103062:0,103063:2,103064:2,103069:2,103070:0,103071:0,103072:2,103073:2,103086:0,103087:0,103088:2,103089:2,103094:1,103095:0,103096:2,103103:0,103104:2,103105:0,103106:2,103121:0,103122:2,103123:0,103124:0,103125:1,103126:1,103127:0,103128:0,103129:2,103130:2,103131:0,103132:0,103133:2,103134:2,103135:0,103136:0,103137:1,103138:1,103139:0,103140:2,103141:0,103142:2,103143:0,103144:2,103145:0,103146:1,103147:0,103148:0,103149:2,103150:2,103151:0,103152:2,103172:0,103173:2,103174:0,103175:0,103176:2,103177:2,103178:0,103179:0,103180:2,103181:2,103182:0,103183:0,103184:2,103185:2,103228:0,103229:0,103230:2,103231:2,103250:0,103251:2,103252:0,103253:2,103260:0,103261:0,103262:2,103263:2,103270:0,103271:0,103272:2,103273:2,103274:0,103275:0,103276:2,103277:2,103278:0,103279:0,103280:2,103281:2,103282:0,103283:0,103284:2,103285:2,103286:0,103287:2,103288:0,103289:2,103290:0,103291:2,103292:0,103293:0,103294:2,103295:2,103296:0,103297:0,103298:2,103299:2,103376:2,103377:0,103378:0,103379:2,103380:2,103393:0,103394:0,103395:2,103396:2,103472:0,103473:1,103474:0,103475:2,103482:0,103483:2,103484:0,103485:2,103500:0,103501:2,103502:0,103503:0,103504:1,103505:1,103506:0,103507:0,103508:2,103509:2,103510:0,103511:0,103512:2,103513:2,103514:0,103515:2,103516:0,103517:2,103518:0,103519:2,103520:0,103521:1,103522:0,103523:0,103524:2,103525:2,103526:0,103527:2,103561:2,103562:2,103563:0,103564:0,103565:2,103566:2,103567:0,103568:0,103569:2,103570:2,103584:0,103585:2,103586:0,103587:2,103588:1,103589:0,103590:2,103591:1,103592:0,103593:2,103594:1,103695:2};for(n=2e3;n<=2045;n++)i[n]=0;for(n=2056;n<=2065;n++)i[n]=0;for(n=2067;n<=2135;n++)i[n]=0;for(n=2137;n<=2154;n++)i[n]=0;for(n=2161;n<=2170;n++)i[n]=0;for(n=2172;n<=2193;n++)i[n]=0;for(n=2195;n<=2198;n++)i[n]=0;for(n=2200;n<=2203;n++)i[n]=0;for(n=2205;n<=2217;n++)i[n]=0;for(n=2222;n<=2224;n++)i[n]=1;for(n=2225;n<=2250;n++)i[n]=2;for(n=2251;n<=2253;n++)i[n]=1;for(n=2257;n<=2264;n++)i[n]=2;for(n=2274;n<=2279;n++)i[n]=2;for(n=2280;n<=2282;n++)i[n]=1;for(n=2283;n<=2289;n++)i[n]=2;for(n=2290;n<=2292;n++)i[n]=0;for(n=2308;n<=2313;n++)i[n]=0;for(n=2315;n<=2491;n++)i[n]=0;for(n=2494;n<=2866;n++)i[n]=0;for(n=2867;n<=2869;n++)i[n]=1;for(n=2870;n<=2888;n++)i[n]=2;for(n=2891;n<=2895;n++)i[n]=2;for(n=2896;n<=2898;n++)i[n]=1;for(n=2902;n<=2908;n++)i[n]=2;for(n=2915;n<=2920;n++)i[n]=2;for(n=2921;n<=2923;n++)i[n]=1;for(n=2924;n<=2930;n++)i[n]=2;for(n=2931;n<=2962;n++)i[n]=0;for(n=2964;n<=2968;n++)i[n]=2;for(n=2969;n<=2973;n++)i[n]=0;for(n=2975;n<=2991;n++)i[n]=0;for(n=2995;n<=3051;n++)i[n]=0;for(n=3054;n<=3079;n++)i[n]=0;for(n=3081;n<=3088;n++)i[n]=0;for(n=3092;n<=3101;n++)i[n]=0;for(n=3106;n<=3138;n++)i[n]=0;for(n=3146;n<=3151;n++)i[n]=0;for(n=3153;n<=3166;n++)i[n]=0;for(n=3168;n<=3172;n++)i[n]=0;for(n=3174;n<=3203;n++)i[n]=0;for(n=3294;n<=3358;n++)i[n]=0;for(n=3367;n<=3403;n++)i[n]=0;for(n=3408;n<=3416;n++)i[n]=0;for(n=3417;n<=3438;n++)i[n]=2;for(n=3441;n<=3446;n++)i[n]=2;for(n=3447;n<=3450;n++)i[n]=0;for(n=3451;n<=3459;n++)i[n]=2;for(n=3460;n<=3478;n++)i[n]=0;for(n=3554;n<=3559;n++)i[n]=0;for(n=3560;n<=3570;n++)i[n]=2;for(n=3571;n<=3581;n++)i[n]=0;for(n=3594;n<=3597;n++)i[n]=0;for(n=3601;n<=3604;n++)i[n]=0;for(n=3637;n<=3639;n++)i[n]=0;for(n=3665;n<=3667;n++)i[n]=0;for(n=3693;n<=3695;n++)i[n]=0;for(n=3701;n<=3727;n++)i[n]=0;for(n=3728;n<=3739;n++)i[n]=2;for(n=3740;n<=3751;n++)i[n]=0;for(n=3753;n<=3760;n++)i[n]=2;for(n=3761;n<=3773;n++)i[n]=0;for(n=3775;n<=3777;n++)i[n]=0;for(n=3779;n<=3781;n++)i[n]=0;for(n=3783;n<=3785;n++)i[n]=0;for(n=3788;n<=3791;n++)i[n]=0;for(n=3797;n<=3802;n++)i[n]=0;for(n=3814;n<=3816;n++)i[n]=0;for(n=3825;n<=3829;n++)i[n]=0;for(n=3832;n<=3841;n++)i[n]=0;for(n=3844;n<=3852;n++)i[n]=0;for(n=3873;n<=3885;n++)i[n]=0;for(n=3890;n<=3893;n++)i[n]=0;for(n=3907;n<=3912;n++)i[n]=0;for(n=3942;n<=3950;n++)i[n]=0;for(n=3968;n<=3970;n++)i[n]=0;for(n=3973;n<=3976;n++)i[n]=0;for(n=3986;n<=3989;n++)i[n]=0;for(n=3994;n<=3997;n++)i[n]=0;for(n=4048;n<=4051;n++)i[n]=0;for(n=4056;n<=4063;n++)i[n]=0;for(n=4093;n<=4096;n++)i[n]=0;for(n=4390;n<=4398;n++)i[n]=0;for(n=4399;n<=4413;n++)i[n]=2;for(n=4418;n<=4433;n++)i[n]=2;for(n=4455;n<=4457;n++)i[n]=2;for(n=4484;n<=4489;n++)i[n]=0;for(n=4491;n<=4554;n++)i[n]=0;for(n=4568;n<=4589;n++)i[n]=0;for(n=4652;n<=4656;n++)i[n]=0;for(n=4766;n<=4800;n++)i[n]=0;for(n=5014;n<=5016;n++)i[n]=0;for(n=5069;n<=5072;n++)i[n]=0;for(n=5105;n<=5130;n++)i[n]=0;for(n=5173;n<=5188;n++)i[n]=0;for(n=5253;n<=5259;n++)i[n]=0;for(n=5269;n<=5275;n++)i[n]=0;for(n=5292;n<=5311;n++)i[n]=0;for(n=5329;n<=5331;n++)i[n]=0;for(n=5343;n<=5349;n++)i[n]=0;for(n=5355;n<=5357;n++)i[n]=0;for(n=5387;n<=5389;n++)i[n]=0;for(n=5459;n<=5463;n++)i[n]=0;for(n=5479;n<=5482;n++)i[n]=0;for(n=5518;n<=5520;n++)i[n]=0;for(n=5530;n<=5539;n++)i[n]=0;for(n=5550;n<=5552;n++)i[n]=0;for(n=5562;n<=5583;n++)i[n]=0;for(n=5623;n<=5625;n++)i[n]=2;for(n=5631;n<=5639;n++)i[n]=0;for(n=5649;n<=5653;n++)i[n]=0;for(n=5663;n<=5680;n++)i[n]=0;for(n=5682;n<=5685;n++)i[n]=0;for(n=5875;n<=5877;n++)i[n]=0;for(n=5896;n<=5899;n++)i[n]=0;for(n=5921;n<=5940;n++)i[n]=0;for(n=6050;n<=6125;n++)i[n]=0;for(n=6244;n<=6275;n++)i[n]=0;for(n=6328;n<=6348;n++)i[n]=0;for(n=6350;n<=6356;n++)i[n]=0;for(n=6366;n<=6372;n++)i[n]=0;for(n=6381;n<=6387;n++)i[n]=0;for(n=6393;n<=6404;n++)i[n]=0;for(n=6480;n<=6483;n++)i[n]=0;for(n=6511;n<=6514;n++)i[n]=0;for(n=6579;n<=6581;n++)i[n]=0;for(n=6619;n<=6624;n++)i[n]=0;for(n=6625;n<=6627;n++)i[n]=2;for(n=6628;n<=6632;n++)i[n]=0;for(n=6634;n<=6637;n++)i[n]=0;for(n=6669;n<=6692;n++)i[n]=0;for(n=6707;n<=6709;n++)i[n]=0;for(n=6720;n<=6723;n++)i[n]=0;for(n=6732;n<=6738;n++)i[n]=0;for(n=6931;n<=6933;n++)i[n]=0;for(n=6956;n<=6959;n++)i[n]=0;for(n=7005;n<=7007;n++)i[n]=0;for(n=7057;n<=7070;n++)i[n]=2;for(n=7074;n<=7082;n++)i[n]=0;for(n=7109;n<=7118;n++)i[n]=0;for(n=7119;n<=7127;n++)i[n]=1;for(n=7374;n<=7376;n++)i[n]=0;for(n=7528;n<=7586;n++)i[n]=0;for(n=7587;n<=7645;n++)i[n]=2;for(n=7692;n<=7696;n++)i[n]=0;for(n=7755;n<=7787;n++)i[n]=0;for(n=7791;n<=7795;n++)i[n]=0;for(n=7799;n<=7801;n++)i[n]=0;for(n=7803;n<=7805;n++)i[n]=0;for(n=7825;n<=7831;n++)i[n]=0;for(n=7845;n<=7859;n++)i[n]=0;for(n=8013;n<=8032;n++)i[n]=0;for(n=8065;n<=8068;n++)i[n]=1;for(n=8518;n<=8529;n++)i[n]=2;for(n=8533;n<=8536;n++)i[n]=2;for(n=8538;n<=8540;n++)i[n]=2;for(n=8677;n<=8679;n++)i[n]=0;for(n=8836;n<=8840;n++)i[n]=0;for(n=8857;n<=8859;n++)i[n]=0;for(n=8908;n<=8910;n++)i[n]=0;for(n=9154;n<=9159;n++)i[n]=0;for(n=9205;n<=9218;n++)i[n]=0;for(n=9271;n<=9273;n++)i[n]=0;for(n=9295;n<=9297;n++)i[n]=0;for(n=9356;n<=9360;n++)i[n]=0;for(n=9404;n<=9407;n++)i[n]=0;for(n=9476;n<=9482;n++)i[n]=0;for(n=9487;n<=9494;n++)i[n]=0;for(n=9697;n<=9699;n++)i[n]=0;for(n=9821;n<=9865;n++)i[n]=0;for(n=20002;n<=20032;n++)i[n]=0;for(n=20047;n<=20049;n++)i[n]=0;for(n=20062;n<=20092;n++)i[n]=0;for(n=20135;n<=20138;n++)i[n]=0;for(n=20248;n<=20258;n++)i[n]=0;for(n=20348;n<=20358;n++)i[n]=0;for(n=20436;n<=20440;n++)i[n]=0;for(n=20822;n<=20824;n++)i[n]=0;for(n=20904;n<=20932;n++)i[n]=0;for(n=20934;n<=20936;n++)i[n]=0;for(n=21004;n<=21032;n++)i[n]=0;for(n=21035;n<=21037;n++)i[n]=0;for(n=21095;n<=21097;n++)i[n]=0;for(n=21148;n<=21150;n++)i[n]=0;for(n=21207;n<=21264;n++)i[n]=0;for(n=21307;n<=21364;n++)i[n]=0;for(n=21413;n<=21423;n++)i[n]=0;for(n=21453;n<=21463;n++)i[n]=0;for(n=21473;n<=21483;n++)i[n]=0;for(n=21780;n<=21782;n++)i[n]=0;for(n=21891;n<=21894;n++)i[n]=0;for(n=21896;n<=21899;n++)i[n]=0;for(n=22171;n<=22177;n++)i[n]=0;for(n=22181;n<=22187;n++)i[n]=0;for(n=22191;n<=22197;n++)i[n]=0;for(n=22207;n<=22222;n++)i[n]=0;for(n=22234;n<=22236;n++)i[n]=0;for(n=22243;n<=22250;n++)i[n]=0;for(n=22262;n<=22265;n++)i[n]=0;for(n=22307;n<=22322;n++)i[n]=0;for(n=22348;n<=22357;n++)i[n]=0;for(n=22407;n<=22422;n++)i[n]=0;for(n=22462;n<=22465;n++)i[n]=0;for(n=22521;n<=22525;n++)i[n]=0;for(n=22607;n<=22622;n++)i[n]=0;for(n=22641;n<=22646;n++)i[n]=0;for(n=22648;n<=22657;n++)i[n]=0;for(n=22707;n<=22722;n++)i[n]=0;for(n=22762;n<=22765;n++)i[n]=0;for(n=22991;n<=22994;n++)i[n]=0;for(n=23028;n<=23038;n++)i[n]=0;for(n=23830;n<=23853;n++)i[n]=0;for(n=23866;n<=23872;n++)i[n]=0;for(n=23877;n<=23884;n++)i[n]=0;for(n=23886;n<=23894;n++)i[n]=0;for(n=23946;n<=23948;n++)i[n]=0;for(n=24311;n<=24313;n++)i[n]=0;for(n=24342;n<=24347;n++)i[n]=0;for(n=24370;n<=24374;n++)i[n]=10;for(n=24375;n<=24381;n++)i[n]=0;for(n=24718;n<=24721;n++)i[n]=0;for(n=24817;n<=24821;n++)i[n]=0;for(n=24877;n<=24882;n++)i[n]=0;for(n=24891;n<=24893;n++)i[n]=0;for(n=25391;n<=25395;n++)i[n]=0;for(n=25828;n<=25838;n++)i[n]=0;for(n=26191;n<=26195;n++)i[n]=0;for(n=26391;n<=26393;n++)i[n]=0;for(n=26701;n<=26722;n++)i[n]=0;for(n=26729;n<=26799;n++)i[n]=2;for(n=26801;n<=26803;n++)i[n]=2;for(n=26811;n<=26813;n++)i[n]=2;for(n=26847;n<=26870;n++)i[n]=2;for(n=26891;n<=26899;n++)i[n]=0;for(n=26901;n<=26923;n++)i[n]=0;for(n=26929;n<=26946;n++)i[n]=0;for(n=26948;n<=26998;n++)i[n]=0;for(n=27037;n<=27040;n++)i[n]=0;for(n=27205;n<=27232;n++)i[n]=0;for(n=27258;n<=27260;n++)i[n]=0;for(n=27391;n<=27398;n++)i[n]=0;for(n=27561;n<=27564;n++)i[n]=0;for(n=27571;n<=27574;n++)i[n]=0;for(n=27581;n<=27584;n++)i[n]=0;for(n=27591;n<=27594;n++)i[n]=0;for(n=28191;n<=28193;n++)i[n]=0;for(n=28348;n<=28358;n++)i[n]=0;for(n=28402;n<=28432;n++)i[n]=0;for(n=28462;n<=28492;n++)i[n]=0;for(n=29118;n<=29122;n++)i[n]=0;for(n=29168;n<=29172;n++)i[n]=0;for(n=29177;n<=29185;n++)i[n]=0;for(n=29187;n<=29195;n++)i[n]=0;for(n=29900;n<=29903;n++)i[n]=0;for(n=30161;n<=30179;n++)i[n]=0;for(n=30491;n<=30494;n++)i[n]=0;for(n=30729;n<=30732;n++)i[n]=0;for(n=31251;n<=31259;n++)i[n]=0;for(n=31265;n<=31268;n++)i[n]=0;for(n=31275;n<=31279;n++)i[n]=0;for(n=31281;n<=31297;n++)i[n]=0;for(n=31461;n<=31469;n++)i[n]=0;for(n=31491;n<=31495;n++)i[n]=0;for(n=31917;n<=31922;n++)i[n]=0;for(n=31965;n<=32e3;n++)i[n]=0;for(n=32001;n<=32003;n++)i[n]=2;for(n=32005;n<=32031;n++)i[n]=2;for(n=32033;n<=32060;n++)i[n]=2;for(n=32064;n<=32067;n++)i[n]=2;for(n=32074;n<=32077;n++)i[n]=2;for(n=32081;n<=32086;n++)i[n]=0;for(n=32107;n<=32130;n++)i[n]=0;for(n=32133;n<=32159;n++)i[n]=0;for(n=32164;n<=32167;n++)i[n]=2;for(n=32180;n<=32199;n++)i[n]=0;for(n=32201;n<=32260;n++)i[n]=0;for(n=32301;n<=32360;n++)i[n]=0;for(n=32601;n<=32662;n++)i[n]=0;for(n=32664;n<=32667;n++)i[n]=2;for(n=32701;n<=32761;n++)i[n]=0;for(n=53001;n<=53004;n++)i[n]=0;for(n=53008;n<=53019;n++)i[n]=0;for(n=53021;n<=53032;n++)i[n]=0;for(n=53034;n<=53037;n++)i[n]=0;for(n=53042;n<=53046;n++)i[n]=0;for(n=53074;n<=53080;n++)i[n]=0;for(n=54001;n<=54004;n++)i[n]=0;for(n=54008;n<=54019;n++)i[n]=0;for(n=54021;n<=54032;n++)i[n]=0;for(n=54034;n<=54037;n++)i[n]=0;for(n=54042;n<=54046;n++)i[n]=0;for(n=54048;n<=54053;n++)i[n]=0;for(n=54074;n<=54080;n++)i[n]=0;for(n=54098;n<=54101;n++)i[n]=0;for(n=102001;n<=102040;n++)i[n]=0;for(n=102042;n<=102063;n++)i[n]=0;for(n=102065;n<=102067;n++)i[n]=0;for(n=102070;n<=102117;n++)i[n]=0;for(n=102122;n<=102216;n++)i[n]=0;for(n=102221;n<=102377;n++)i[n]=0;for(n=102382;n<=102388;n++)i[n]=0;for(n=102389;n<=102398;n++)i[n]=2;for(n=102399;n<=102444;n++)i[n]=0;for(n=102445;n<=102447;n++)i[n]=2;for(n=102448;n<=102458;n++)i[n]=0;for(n=102459;n<=102468;n++)i[n]=2;for(n=102469;n<=102499;n++)i[n]=0;for(n=102500;n<=102519;n++)i[n]=1;for(n=102520;n<=102524;n++)i[n]=0;for(n=102525;n<=102529;n++)i[n]=2;for(n=102530;n<=102588;n++)i[n]=0;for(n=102590;n<=102598;n++)i[n]=0;for(n=102601;n<=102603;n++)i[n]=0;for(n=102605;n<=102628;n++)i[n]=0;for(n=102629;n<=102646;n++)i[n]=2;for(n=102648;n<=102700;n++)i[n]=2;for(n=102701;n<=102703;n++)i[n]=0;for(n=102707;n<=102730;n++)i[n]=2;for(n=102733;n<=102758;n++)i[n]=2;for(n=102767;n<=102900;n++)i[n]=0;for(n=102901;n<=102933;n++)i[n]=2;for(n=102934;n<=102950;n++)i[n]=13;for(n=102951;n<=102955;n++)i[n]=0;for(n=102961;n<=102963;n++)i[n]=0;for(n=102965;n<=102969;n++)i[n]=0;for(n=102971;n<=102973;n++)i[n]=0;for(n=102975;n<=102989;n++)i[n]=0;for(n=102990;n<=102992;n++)i[n]=1;for(n=102997;n<=103002;n++)i[n]=0;for(n=103003;n<=103008;n++)i[n]=2;for(n=103009;n<=103011;n++)i[n]=0;for(n=103012;n<=103014;n++)i[n]=2;for(n=103019;n<=103021;n++)i[n]=0;for(n=103022;n<=103024;n++)i[n]=2;for(n=103029;n<=103031;n++)i[n]=0;for(n=103032;n<=103034;n++)i[n]=2;for(n=103065;n<=103068;n++)i[n]=0;for(n=103074;n<=103076;n++)i[n]=0;for(n=103077;n<=103079;n++)i[n]=1;for(n=103080;n<=103082;n++)i[n]=0;for(n=103083;n<=103085;n++)i[n]=2;for(n=103090;n<=103093;n++)i[n]=0;for(n=103097;n<=103099;n++)i[n]=0;for(n=103100;n<=103102;n++)i[n]=2;for(n=103107;n<=103109;n++)i[n]=0;for(n=103110;n<=103112;n++)i[n]=2;for(n=103113;n<=103116;n++)i[n]=0;for(n=103117;n<=103120;n++)i[n]=2;for(n=103153;n<=103157;n++)i[n]=0;for(n=103158;n<=103162;n++)i[n]=2;for(n=103163;n<=103165;n++)i[n]=0;for(n=103166;n<=103168;n++)i[n]=1;for(n=103169;n<=103171;n++)i[n]=2;for(n=103186;n<=103188;n++)i[n]=0;for(n=103189;n<=103191;n++)i[n]=2;for(n=103192;n<=103195;n++)i[n]=0;for(n=103196;n<=103199;n++)i[n]=2;for(n=103200;n<=103224;n++)i[n]=0;for(n=103225;n<=103227;n++)i[n]=1;for(n=103232;n<=103237;n++)i[n]=0;for(n=103238;n<=103243;n++)i[n]=2;for(n=103244;n<=103246;n++)i[n]=0;for(n=103247;n<=103249;n++)i[n]=2;for(n=103254;n<=103256;n++)i[n]=0;for(n=103257;n<=103259;n++)i[n]=2;for(n=103264;n<=103266;n++)i[n]=0;for(n=103267;n<=103269;n++)i[n]=2;for(n=103300;n<=103375;n++)i[n]=0;for(n=103381;n<=103383;n++)i[n]=0;for(n=103384;n<=103386;n++)i[n]=1;for(n=103387;n<=103389;n++)i[n]=0;for(n=103390;n<=103392;n++)i[n]=2;for(n=103397;n<=103399;n++)i[n]=0;for(n=103400;n<=103471;n++)i[n]=2;for(n=103476;n<=103478;n++)i[n]=0;for(n=103479;n<=103481;n++)i[n]=2;for(n=103486;n<=103488;n++)i[n]=0;for(n=103489;n<=103491;n++)i[n]=2;for(n=103492;n<=103495;n++)i[n]=0;for(n=103496;n<=103499;n++)i[n]=2;for(n=103528;n<=103543;n++)i[n]=0;for(n=103544;n<=103548;n++)i[n]=2;for(n=103549;n<=103551;n++)i[n]=0;for(n=103552;n<=103554;n++)i[n]=1;for(n=103555;n<=103557;n++)i[n]=2;for(n=103558;n<=103560;n++)i[n]=0;for(n=103571;n<=103573;n++)i[n]=0;for(n=103574;n<=103576;n++)i[n]=2;for(n=103577;n<=103580;n++)i[n]=0;for(n=103581;n<=103583;n++)i[n]=2;for(n=103595;n<=103694;n++)i[n]=0;for(n=103696;n<=103699;n++)i[n]=0;for(n=103700;n<=103793;n++)i[n]=2;for(n=103794;n<=103890;n++)i[n]=0;for(n=103891;n<=103896;n++)i[n]=2;for(n=103900;n<=103971;n++)i[n]=2;for(n=103972;n<=103977;n++)i[n]=0;for(n=112e3;n<=112101;n++)i[n]=0},20322:(t,e,r)=>{function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function i(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths}function a(t){return void 0!==t.rings}function l(t){return function(e,r){return null==e?r:null==r?e:t(e,r)}}r.d(e,{$P:()=>h,C6:()=>m,Yg:()=>c,lC:()=>d});const u=l(Math.min),f=l(Math.max);function h(t,e){return o(e)?m(t,e.paths,!1,!1):a(e)?m(t,e.rings,!1,!1):i(e)?d(t,e.points,!1,!1,!1,!1):n(e)?p(t,e):(s(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.x,t[3]=e.y),t)}function c(t,e){return o(e)?m(t,e.paths,!0,!1):a(e)?m(t,e.rings,!0,!1):i(e)?d(t,e.points,!0,!1,!0,!1):n(e)?p(t,e,0,0,!0,!1):(s(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.z,t[3]=e.x,t[4]=e.y,t[5]=e.z),t)}function m(t,e,r,n){const i=r?3:2;if(!e.length||!e[0].length)return null;let s,o,a,l,[h,c]=e[0][0],[m,p]=e[0][0];for(let t=0;t<e.length;t++){const d=e[t];for(let t=0;t<d.length;t++){const e=d[t],[y,x]=e;if(h=u(h,y),c=u(c,x),m=f(m,y),p=f(p,x),r&&e.length>2){const t=e[2];s=u(s,t),o=f(o,t)}if(n&&e.length>i){const t=e[i];a=u(s,t),l=f(o,t)}}}return r?n?(t[0]=h,t[1]=c,t[2]=s,t[3]=a,t[4]=m,t[5]=p,t[6]=o,t[7]=l,t.length=8,t):(t[0]=h,t[1]=c,t[2]=s,t[3]=m,t[4]=p,t[5]=o,t.length=6,t):n?(t[0]=h,t[1]=c,t[2]=a,t[3]=m,t[4]=p,t[5]=l,t.length=6,t):(t[0]=h,t[1]=c,t[2]=m,t[3]=p,t.length=4,t)}function p(t,e,r,n,i,s){const o=e.xmin,a=e.xmax,l=e.ymin,u=e.ymax;let f=e.zmin,h=e.zmax,c=e.mmin,m=e.mmax;return i?(f=f||0,h=h||0,s?(c=c||0,m=m||0,t[0]=o,t[1]=l,t[2]=f,t[3]=c,t[4]=a,t[5]=u,t[6]=h,t[7]=m,t):(t[0]=o,t[1]=l,t[2]=f,t[3]=a,t[4]=u,t[5]=h,t)):s?(c=c||0,m=m||0,t[0]=o,t[1]=l,t[2]=c,t[3]=a,t[4]=u,t[5]=m,t):(t[0]=o,t[1]=l,t[2]=a,t[3]=u,t)}function d(t,e,r,n,i,s){const o=r?3:2,a=n&&s,l=r&&i;if(!e.length||!e[0].length)return null;let h,c,m,p,[d,y]=e[0],[x,g]=e[0];for(let t=0;t<e.length;t++){const r=e[t],[n,i]=r;if(d=u(d,n),y=u(y,i),x=f(x,n),g=f(g,i),l&&r.length>2){const t=r[2];h=u(h,t),c=f(c,t)}if(a&&r.length>o){const t=r[o];m=u(h,t),p=f(c,t)}}return i?(h=h||0,c=c||0,s?(m=m||0,p=p||0,t[0]=d,t[1]=y,t[2]=h,t[3]=m,t[4]=x,t[5]=g,t[6]=c,t[7]=p,t):(t[0]=d,t[1]=y,t[2]=h,t[3]=x,t[4]=g,t[5]=c,t)):s?(m=m||0,p=p||0,t[0]=d,t[1]=y,t[2]=m,t[3]=x,t[4]=g,t[5]=p,t):(t[0]=d,t[1]=y,t[2]=x,t[3]=g,t)}},35308:(t,e,r)=>{r.d(e,{$G:()=>i,DS:()=>a,NA:()=>l,a:()=>o,tO:()=>s});var n=r(86662);function i(t){return t?t.hasZ?[t.xmax-t.xmin/2,t.ymax-t.ymin/2,t.zmax-t.zmin/2]:[t.xmax-t.xmin/2,t.ymax-t.ymin/2]:null}function s(t){return t?o(t.rings,t.hasZ??!1):null}function o(t,e){if(!t||!t.length)return null;const r=[],i=[],s=e?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let r=0,n=t.length;r<n;r++){const n=a(t[r],e,s);n&&i.push(n)}if(i.sort(((t,r)=>{let n=t[2]-r[2];return 0===n&&e&&(n=t[4]-r[4]),n})),i.length&&(r[0]=i[0][0],r[1]=i[0][1],e&&(r[2]=i[0][3]),(r[0]<s[0]||r[0]>s[1]||r[1]<s[2]||r[1]>s[3]||e&&(r[2]<s[4]||r[2]>s[5]))&&(r.length=0)),!r.length){const i=t[0]&&t[0].length?function(t,e){const r=e?[0,0,0]:[0,0],i=e?[0,0,0]:[0,0];let s=0,o=0,a=0,l=0;for(let u=0,f=t.length;u<f-1;u++){const f=t[u],h=t[u+1];if(f&&h){r[0]=f[0],r[1]=f[1],i[0]=h[0],i[1]=h[1],e&&f.length>2&&h.length>2&&(r[2]=f[2],i[2]=h[2]);const t=(0,n.xA)(r,i);if(t){s+=t;const r=(0,n.Gi)(f,h);o+=t*r[0],a+=t*r[1],e&&r.length>2&&(l+=t*r[2])}}}return s>0?e?[o/s,a/s,l/s]:[o/s,a/s]:t.length?t[0]:null}(t[0],e):null;if(!i)return null;r[0]=i[0],r[1]=i[1],e&&i.length>2&&(r[2]=i[2])}return r}function a(t,e,r){let n=0,i=0,s=0,o=0,a=0;const l=t.length?t[0][0]:0,u=t.length?t[0][1]:0,f=t.length&&e?t[0][2]:0;for(let h=0;h<t.length;h++){const c=t[h],m=t[(h+1)%t.length],[p,d,y]=c,x=p-l,g=d-u,[M,_,w]=m,S=M-l,R=_-u,C=x*R-S*g;if(o+=C,n+=(x+S)*C,i+=(g+R)*C,e&&c.length>2&&m.length>2){const t=y-f,e=w-f,r=x*e-S*t;s+=(t+e)*r,a+=r}p<r[0]&&(r[0]=p),p>r[1]&&(r[1]=p),d<r[2]&&(r[2]=d),d>r[3]&&(r[3]=d),e&&(y<r[4]&&(r[4]=y),y>r[5]&&(r[5]=y))}if(o>0&&(o*=-1),a>0&&(a*=-1),!o)return null;o*=.5,a*=.5;const h=[n/(6*o)+l,i/(6*o)+u,o];return e&&(r[4]===r[5]||0===a?(h[3]=(r[4]+r[5])/2,h[4]=0):(h[3]=s/(6*a)+f,h[4]=a)),h}function l(t){if(!t||!t.rings)return null;const{rings:e}=t;let r=0;for(let t=0;t<e.length;t++)r+=(0,n.Sm)(e[t]);if(r<1e-6)return o(e,!1);const i=[0,0],s=e[0][0];for(let t=0;t<e.length;t++)u(i,s,e[t]);return i[0]*=1/r,i[1]*=1/r,i[0]+=s[0],i[1]+=s[1],i}function u(t,e,r){if(!t||!r||r.length<3)return null;const i=r[0],s=[0,0],o=[r[1][0]-i[0],r[1][1]-i[1]];let a;for(let e=2;e<r.length;e++)s[0]=r[e][0]-i[0],s[1]=r[e][1]-i[1],a=.16666666666666666*(s[0]*o[1]-s[1]*o[0]),t[0]+=a*(o[0]+s[0]),t[1]+=a*(o[1]+s[1]),o[0]=s[0],o[1]=s[1];const l=(0,n.Sm)(r),u=[i[0],i[1]];return u[0]-=e[0],u[1]-=e[1],u[0]*=l,u[1]*=l,t[0]+=u[0],t[1]+=u[1],t}},54102:(t,e,r)=>{r.d(e,{CI:()=>h,OQ:()=>l,Qg:()=>u,aV:()=>s,lQ:()=>o,uP:()=>a,wP:()=>c});var n=r(70586);const i=[0,0];function s(t,e){return!!(0,n.pC)(e)&&f(t,e.x,e.y,e.z)}function o(t,e){if(!e.points||e.points.length)return!1;for(const r of e.points)if(!l(t,r))return!1;return!0}function a(t,e){const{xmin:r,ymin:n,zmin:i,xmax:s,ymax:o,zmax:a}=e;return t.hasZ&&e.hasZ?f(t,r,n,i)&&f(t,r,o,i)&&f(t,s,o,i)&&f(t,s,n,i)&&f(t,r,n,a)&&f(t,r,o,a)&&f(t,s,o,a)&&f(t,s,n,a):f(t,r,n)&&f(t,r,o)&&f(t,s,o)&&f(t,s,n)}function l(t,e){return f(t,e[0],e[1])}function u(t,e){return f(t,e[0],e[1],e[2])}function f(t,e,r,n){return e>=t.xmin&&e<=t.xmax&&r>=t.ymin&&r<=t.ymax&&(null==n||!t.hasZ||n>=t.zmin&&n<=t.zmax)}function h(t,e){return i[1]=e.y,i[0]=e.x,function(t,e){return c(t.rings,e)}(t,i)}function c(t,e){if(!t)return!1;if(function(t){return!Array.isArray(t[0][0])}(t))return m(!1,t,e);let r=!1;for(let n=0,i=t.length;n<i;n++)r=m(r,t[n],e);return r}function m(t,e,r){const[n,i]=r;let s=t,o=0;for(let t=0,r=e.length;t<r;t++){o++,o===r&&(o=0);const[a,l]=e[t],[u,f]=e[o];(l<i&&f>=i||f<i&&l>=i)&&a+(i-l)/(f-l)*(u-a)<n&&(s=!s)}return s}},86662:(t,e,r)=>{function n(t,e){const r=e[0]-t[0],n=e[1]-t[1];if(t.length>2&&e.length>2){const i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}return Math.sqrt(r*r+n*n)}function i(t,e,r,n){const[i,s]=e,[o,a]=r[n],[l,u]=r[n+1],f=l-o,h=u-a,c=f*f+h*h,m=(i-o)*f+(s-a)*h,p=Math.min(1,Math.max(0,m/c));return t[0]=o+f*p,t[1]=a+h*p,t}function s(t,e,r){const n=r.rings;let i,s,a=!1,l=1/0;for(let r=0;r<n.length;r++){const u=n[r];for(let r=0,n=u.length-1;r<u.length;n=r++)i=u[r],s=u[n],i[1]>e!=s[1]>e&&t<(s[0]-i[0])*(e-i[1])/(s[1]-i[1])+i[0]&&(a=!a),l=Math.min(l,o(t,e,i,s))}return 0===l?0:(a?1:-1)*Math.sqrt(l)}function o(t,e,r,n){let i=r[0],s=r[1],o=n[0]-i,a=n[1]-s;if(0!==o||0!==a){const r=((t-i)*o+(e-s)*a)/(o*o+a*a);r>1?(i=n[0],s=n[1]):r>0&&(i+=o*r,s+=a*r)}return o=t-i,a=e-s,o*o+a*a}function a(t,e){return function(t,e,r){const n=t[0]+r*(e[0]-t[0]),i=t[1]+r*(e[1]-t[1]);return t.length>2&&e.length>2?[n,i,t[2]+r*(e[2]-t[2])]:[n,i]}(t,e,.5)}function l(t,e,r){const n=t.length;let i=0,s=0,o=0;for(let a=0;a<n;a++){const l=t[a],u=t[(a+1)%n];let f=2;i+=l[0]*u[1]-u[0]*l[1],l.length>2&&u.length>2&&r&&(s+=l[0]*u[2]-u[0]*l[2],f=3),l.length>f&&u.length>f&&e&&(o+=l[0]*u[f]-u[0]*l[f])}return i<=0&&s<=0&&o<=0}function u(t){if(!t||t.length<3)return 0;let e=0;const r=t.length-1;for(let n=0;n<r;n++)e+=(t[n][0]-t[n+1][0])*(t[n][1]+t[n+1][1]);return e+=(t[r][0]-t[0][0])*(t[r][1]+t[0][1]),-.5*e}r.d(e,{Gi:()=>a,Sm:()=>u,Tx:()=>i,bu:()=>l,ko:()=>s,xA:()=>n}),r(67676),r(8744)},49600:(t,e,r)=>{r.d(e,{Wn:()=>c,_w:()=>h,aO:()=>f});var n=r(20322);const i=[];function s(t,e,r,n){return{xmin:t,ymin:e,xmax:r,ymax:n}}function o(t,e,r,n,i,s){return{xmin:t,ymin:e,zmin:r,xmax:n,ymax:i,zmax:s}}function a(t,e,r,n,i,s){return{xmin:t,ymin:e,mmin:r,xmax:n,ymax:i,mmax:s}}function l(t,e,r,n,i,s,o,a){return{xmin:t,ymin:e,zmin:r,mmin:n,xmax:i,ymax:s,zmax:o,mmax:a}}function u(t,e=!1,r=!1){return e?r?l(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):o(t[0],t[1],t[2],t[3],t[4],t[5]):r?a(t[0],t[1],t[2],t[3],t[4],t[5]):s(t[0],t[1],t[2],t[3])}function f(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:e,y:r,z:n,m:i}=t,u=null!=i;return null!=n?u?l(e,r,n,i,e,r,n,i):o(e,r,n,e,r,n):u?a(e,r,i,e,r,i):s(e,r,e,r)}(t):function(t){return void 0!==t.rings}(t)?h(t):function(t){return void 0!==t.paths}(t)?c(t):function(t){return void 0!==t.points}(t)?function(t){const{hasZ:e,hasM:r,points:s}=t;return u((0,n.lC)(i,s,e??!1,r??!1),e,r)}(t):null:null}function h(t){const{hasZ:e,hasM:r,rings:s}=t,o=(0,n.C6)(i,s,e??!1,r??!1);return o?u(o,e,r):null}function c(t){const{hasZ:e,hasM:r,paths:s}=t,o=(0,n.C6)(i,s,e??!1,r??!1);return o?u(o,e,r):null}},87416:(t,e,r)=>{r.d(e,{Ff:()=>y,IY:()=>M,UT:()=>g,h_:()=>s});var n=r(54102);function i(t,e){return(0,n.aV)(t,e)}function s(t,e){const r=t.hasZ&&e.hasZ;let n,i,s;if(t.xmin<=e.xmin){if(n=e.xmin,t.xmax<n)return!1}else if(n=t.xmin,e.xmax<n)return!1;if(t.ymin<=e.ymin){if(i=e.ymin,t.ymax<i)return!1}else if(i=t.ymin,e.ymax<i)return!1;if(r&&e.hasZ)if(t.zmin<=e.zmin){if(s=e.zmin,t.zmax<s)return!1}else if(s=t.zmin,e.zmax<s)return!1;return!0}function o(t,e){const{points:r,hasZ:i}=e,s=i?n.Qg:n.OQ;for(const e of r)if(s(t,e))return!0;return!1}const a=[0,0],l=[0,0],u=[0,0],f=[0,0],h=[a,l,u,f],c=[[u,a],[a,l],[l,f],[f,u]];function m(t,e){return function(t,e){a[0]=t.xmin,a[1]=t.ymax,l[0]=t.xmax,l[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,f[0]=t.xmax,f[1]=t.ymin;for(const t of h)if((0,n.wP)(e,t))return!0;for(const r of e){if(!r.length)continue;let e=r[0];if((0,n.OQ)(t,e))return!0;for(let i=1;i<r.length;i++){const s=r[i];if((0,n.OQ)(t,s)||x(e,s,c))return!0;e=s}}return!1}(t,e.rings)}function p(t,e){a[0]=t.xmin,a[1]=t.ymax,l[0]=t.xmax,l[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,f[0]=t.xmax,f[1]=t.ymin;const r=e.paths;for(const e of r){if(!r.length)continue;let i=e[0];if((0,n.OQ)(t,i))return!0;for(let r=1;r<e.length;r++){const s=e[r];if((0,n.OQ)(t,s)||x(i,s,c))return!0;i=s}}return!1}const d=[0,0];function y(t){for(let e=0;e<t.length;e++){const r=t[e];for(let n=0;n<r.length-1;n++){const i=r[n],s=r[n+1];for(let r=e+1;r<t.length;r++)for(let e=0;e<t[r].length-1;e++){const n=t[r][e],o=t[r][e+1];if(g(i,s,n,o,d)&&!(d[0]===i[0]&&d[1]===i[1]||d[0]===n[0]&&d[1]===n[1]||d[0]===s[0]&&d[1]===s[1]||d[0]===o[0]&&d[1]===o[1]))return!0}}const n=r.length;if(!(n<=4))for(let t=0;t<n-3;t++){let e=n-1;0===t&&(e=n-2);const i=r[t],s=r[t+1];for(let n=t+2;n<e;n++){const t=r[n],e=r[n+1];if(g(i,s,t,e,d)&&!(d[0]===i[0]&&d[1]===i[1]||d[0]===t[0]&&d[1]===t[1]||d[0]===s[0]&&d[1]===s[1]||d[0]===e[0]&&d[1]===e[1]))return!0}}}return!1}function x(t,e,r){for(let n=0;n<r.length;n++)if(g(t,e,r[n][0],r[n][1]))return!0;return!1}function g(t,e,r,n,i){const[s,o]=t,[a,l]=e,[u,f]=r,[h,c]=n,m=h-u,p=s-u,d=a-s,y=c-f,x=o-f,g=l-o,M=y*d-m*g;if(0===M)return!1;const _=(m*x-y*p)/M,w=(d*x-g*p)/M;return _>=0&&_<=1&&w>=0&&w<=1&&(i&&(i[0]=s+_*(a-s),i[1]=o+_*(l-o)),!0)}function M(t){switch(t){case"esriGeometryEnvelope":case"extent":return s;case"esriGeometryMultipoint":case"multipoint":return o;case"esriGeometryPoint":case"point":return i;case"esriGeometryPolygon":case"polygon":return m;case"esriGeometryPolyline":case"polyline":return p}}},8744:(t,e,r)=>{r.d(e,{BZ:()=>S,C5:()=>p,JY:()=>v,ME:()=>R,MP:()=>b,N$:()=>y,QM:()=>_,R_:()=>A,V2:()=>C,WR:()=>Z,Zn:()=>P,fS:()=>m,o$:()=>w,oR:()=>x,sS:()=>M,sT:()=>d,yW:()=>g});var n=r(70586),i=r(19153),s=r(56726),o=r(58116);const a={102113:!0,102100:!0,3857:!0,3785:!0},l={4326:!0,3785:!0,3857:!0,102113:!0,102100:!0,104905:!0,104971:!0},u='PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',f=[-20037508.342788905,20037508.342788905],h=[-20037508.342787,20037508.342787],c={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:f,origin:h,dx:1e-5},102100:{wkTemplate:u,valid:f,origin:h,dx:1e-5},3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:f,origin:h,dx:1e-5},3857:{wkTemplate:u,valid:f,origin:h,dx:1e-5},4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function m(t,e){return t===e||!(0,n.Wi)(t)&&!(0,n.Wi)(e)&&(null!=t.wkid||null!=e.wkid?t.wkid===e.wkid||M(t)&&M(e)||null!=e.latestWkid&&t.wkid===e.latestWkid||null!=t.latestWkid&&e.wkid===t.latestWkid:!(!t.wkt||!e.wkt)&&t.wkt.toUpperCase()===e.wkt.toUpperCase())}function p(t){return v(t)&&t.wkid&&c[t.wkid]||null}function d(t){return!!v(t)&&(t.wkid?null==o.Z[t.wkid]:!!t.wkt&&!!/^\s*GEOGCS/i.test(t.wkt))}function y(t){return!(S(t)||C(t))}function x(t){return v(t)&&4326===t.wkid}function g(t){return v(t)&&t.wkid===s.W.CGCS2000}function M(t){return v(t)&&null!=t.wkid&&!0===a[t.wkid]}function _(t){return v(t)&&32662===t.wkid}function w(t){return t===s.W.GCSMARS2000||t===s.W.GCSMARS2000_SPHERE}function S(t){return v(t)&&null!=t.wkid&&w(t.wkid)}function R(t){return t===s.W.GCSMOON2000}function C(t){return v(t)&&null!=t.wkid&&R(t.wkid)}function b(t){return v(t)&&null!=t.wkid&&!0===l[t.wkid]}function v(t){return(0,n.pC)(t)&&(null!=t.wkid&&t.wkid>=2e3||null!=t.wkt)}const P={wkid:4326,wkt:(0,i.gx)(c[4326].wkTemplate,{Central_Meridian:"0.0"})},A={wkid:102100,latestWkid:3857},Z={wkid:32662}},40488:(t,e,r)=>{r.d(e,{$:()=>g,Q8:()=>p,R6:()=>x,Sx:()=>M,hG:()=>y,iV:()=>d,mZ:()=>f});var n=r(22974),i=r(70586),s=r(82971),o=r(68441),a=r(8744);function l(t){return 57.29577951308232*t}function u(t){return.017453292519943*t}function f(t){return Math.PI/2-2*Math.atan(Math.exp(-t/o.sv.radius))}function h(t){return null!=t.wkid||null!=t.wkt}const c=[0,0];function m(t,e,r,n,i){const s=t,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=e(s.x,s.y,c,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=e(s.xmin,s.ymin,c,n),[o.xmax,o.ymax]=e(s.xmax,s.ymax,c,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const t="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<t.length;s++){const o=t[s];i=[],r.push(i);for(let t=0;t<o.length;t++)i.push(e(o[t][0],o[t][1],[0,0],n)),o[t].length>2&&i[t].push(o[t][2]),o[t].length>3&&i[t].push(o[t][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const t=s.points,r=[];for(let i=0;i<t.length;i++)r[i]=e(t[i][0],t[i][1],[0,0],n),t[i].length>2&&r[i].push(t[i][2]),t[i].length>3&&r[i].push(t[i][3]);o.points=r}return i}function p(t,e){const r=t&&(h(t)?t:t.spatialReference),n=e&&(h(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!r||!n)&&(!!(0,a.fS)(n,r)||(0,a.sS)(n)&&(0,a.oR)(r)||(0,a.sS)(r)&&(0,a.oR)(n))}function d(t,e){if((0,i.Wi)(t))return null;const r=t.spatialReference,o=e&&(h(e)?e:e.spatialReference);return p(r,o)?(0,a.fS)(r,o)?(0,n.d9)(t):(0,a.sS)(o)?m(t,y,s.Z.WebMercator,!1,(0,n.d9)(t)):(0,a.oR)(o)?m(t,x,s.Z.WGS84,!1,(0,n.d9)(t)):null:null}function y(t,e,r=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const n=u(e);return r[0]=u(t)*o.sv.radius,r[1]=o.sv.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function x(t,e,r=[0,0],n=!1){const i=l(t/o.sv.radius);return r[0]=n?i:i-360*Math.floor((i+180)/360),r[1]=l(Math.PI/2-2*Math.atan(Math.exp(-e/o.sv.radius))),r}function g(t,e=!1,r=(0,n.d9)(t)){return m(t,y,s.Z.WebMercator,e,r)}function M(t,e=!1,r=(0,n.d9)(t)){return m(t,x,s.Z.WGS84,e,r)}},16238:(t,e,r)=>{function n(t,e,r=!1){let{hasM:n,hasZ:i}=t;Array.isArray(e)?4!==e.length||n||i?3===e.length&&r&&!n?(i=!0,n=!1):3===e.length&&n&&i&&(n=!1,i=!1):(n=!0,i=!0):(i=!i&&e.hasZ&&(!n||e.hasM),n=!n&&e.hasM&&(!i||e.hasZ)),t.hasZ=i,t.hasM=n}r.d(e,{l:()=>n})}}]);
|