@arcgis/core 5.0.0-next.71 → 5.0.0-next.73
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/Ground.js +1 -1
- package/applications/Components/analysisUtils.d.ts +1 -2
- package/applications/Components/analysisUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00631252e8bd4a456253.js +1 -0
- package/assets/esri/core/workers/chunks/{322085d63719da6e443c.js → 0c02b084ae30ba138c5d.js} +1 -1
- package/assets/esri/core/workers/chunks/0f2f1731543ed21db0a8.js +1 -0
- package/assets/esri/core/workers/chunks/1b201d83e9ba7d8615c0.js +1 -0
- package/assets/esri/core/workers/chunks/{b4f944ef6c174b20b619.js → 23545a9adc75564ecf6e.js} +1 -1
- package/assets/esri/core/workers/chunks/261b5a5db022ef580a1b.js +1 -0
- package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +1 -0
- package/assets/esri/core/workers/chunks/{37e46461da3000949a26.js → 2d8b8880e6bff4414e95.js} +1 -1
- package/assets/esri/core/workers/chunks/2fba74bae99ece15706c.js +1 -0
- package/assets/esri/core/workers/chunks/2fc64404bc42b7250086.js +1 -0
- package/assets/esri/core/workers/chunks/33cbfc34d5e2fc1a1a4f.js +1 -0
- package/assets/esri/core/workers/chunks/35887be3e4a218268d99.js +1 -0
- package/assets/esri/core/workers/chunks/3596ae4cb2bd2f3f35d9.js +1 -0
- package/assets/esri/core/workers/chunks/37814bf052ab59a5fb9e.js +1 -0
- package/assets/esri/core/workers/chunks/4e0d299054da075e5103.js +1 -0
- package/assets/esri/core/workers/chunks/50186162cd6d7c2ef0f9.js +1 -0
- package/assets/esri/core/workers/chunks/543ea1a0e7a6f1d267d1.js +1 -0
- package/assets/esri/core/workers/chunks/{dbfb00fb28b8b9f687a1.js → 5bbf20135c87a1cc8a18.js} +1 -1
- package/assets/esri/core/workers/chunks/5ed31ec0f53c1d55c4ea.js +1 -0
- package/assets/esri/core/workers/chunks/6309e8beedf5e7f2a50f.js +1 -0
- package/assets/esri/core/workers/chunks/{1a45b4b4803337f4b99f.js → 64985e9b6e2edb3ceb37.js} +38 -38
- package/assets/esri/core/workers/chunks/65475370cc4ebe2aa657.js +1 -0
- package/assets/esri/core/workers/chunks/65d9f3bc88472008443a.js +1 -0
- package/assets/esri/core/workers/chunks/6ab0f16f5c8806855c47.js +1 -0
- package/assets/esri/core/workers/chunks/7e37a3005f2ad2c0a918.js +1 -0
- package/assets/esri/core/workers/chunks/7f2496a59379e1a61ee5.js +1 -0
- package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +1 -0
- package/assets/esri/core/workers/chunks/{25abbe1663e18e677dc2.js → 935a6dccb88557f98189.js} +2 -2
- package/assets/esri/core/workers/chunks/{a808be466812db51813d.js → 9382af94bf6bf1b09c8c.js} +1 -1
- package/assets/esri/core/workers/chunks/{8e83c133b201b9b61e70.js → 979bc762ccc0d3fc2467.js} +1 -1
- package/assets/esri/core/workers/chunks/9c417f4dfb19e4c4bd71.js +1 -0
- package/assets/esri/core/workers/chunks/a554ad74be03b1ed1a72.js +1 -0
- package/assets/esri/core/workers/chunks/{e6e837e43b9348050832.js → a67c86f4254807eb6a05.js} +1 -1
- package/assets/esri/core/workers/chunks/{1ec1a1997b5577619040.js → b211b53aa7616a093b90.js} +1 -1
- package/assets/esri/core/workers/chunks/c31babdb59382b6bc007.js +1 -0
- package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +1 -0
- package/assets/esri/core/workers/chunks/ce218c10b209b58e04fd.js +1 -0
- package/assets/esri/core/workers/chunks/ceef586d8cc8adc4d249.js +1 -0
- package/assets/esri/core/workers/chunks/d13e8ce9270dc0662b87.js +1 -0
- package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +1 -0
- package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +1 -0
- package/assets/esri/core/workers/chunks/ea6f897f21b4f30e8e99.js +1 -0
- package/assets/esri/core/workers/chunks/{e8a3ad00936f2ccaf362.js → f0a667d8d33bc51c795d.js} +1 -1
- package/assets/esri/core/workers/chunks/{29b09db309ff75fb3e97.js → f65d26588d2d80680a26.js} +1 -1
- package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +1 -0
- package/assets/esri/core/workers/chunks/f893e10d660e819cca45.js +1 -0
- package/assets/esri/core/workers/chunks/{878010ca23da0bca9405.js → fb1ed5ef2f95ab093346.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/lyr3DMain.js +1 -1
- package/config.js +1 -1
- package/core/workers/registry.js +1 -1
- package/geometry/spatialReferenceEllipsoidUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/RouteLayer.d.ts +3 -3
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/GeometryDescriptor.js +1 -1
- package/layers/support/layerUtils.d.ts +4 -0
- package/layers/support/types.d.ts +3 -2
- package/package.json +1 -1
- package/rest/featureService/FeatureService.d.ts +1 -1
- package/rest/featureService/types.d.ts +4 -4
- package/rest/geoprocessor/GPOptions.d.ts +5 -5
- package/rest/geoprocessor/execute.d.ts +6 -0
- package/rest/layerSources/DynamicDataLayer.d.ts +2 -2
- package/rest/layerSources/QueryTableDataSource.d.ts +1 -1
- package/rest/print.d.ts +1 -1
- package/rest/support/ClosestFacilityParameters.d.ts +3 -3
- package/rest/support/ClosestFacilitySolveResult.d.ts +2 -2
- package/rest/support/Query.d.ts +2 -2
- package/rest/support/RouteParameters.d.ts +2 -5
- package/rest/support/RouteResult.d.ts +1 -1
- package/rest/support/ServiceAreaParameters.d.ts +1 -1
- package/rest/support/ServiceAreaSolveResult.d.ts +2 -2
- package/rest/support/types.d.ts +1 -1
- package/rest/symbolService.d.ts +2 -2
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/support/measurementUtils.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
- package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/support/Segment.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileLineGroundComputation.js +1 -1
- package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
- package/views/support/MeasurementWorker.js +5 -0
- package/views/support/MeasurementWorkerHandle.js +5 -0
- package/views/support/automaticAreaMeasurementUtils.js +1 -1
- package/views/support/geodesicAreaMeasurementUtils.js +1 -1
- package/views/support/geodesicLengthMeasurementUtils.js +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +2 -2
- package/widgets/Search/SearchResultRenderer.d.ts +0 -2
- package/widgets/Search/SearchSource.d.ts +2 -2
- package/widgets/Search/SearchViewModel.d.ts +6 -7
- package/widgets/Search/types.d.ts +4 -4
- package/assets/esri/core/workers/chunks/0367a8580fede8f804f9.js +0 -1
- package/assets/esri/core/workers/chunks/14f4f5b7549cea7b5a6a.js +0 -1
- package/assets/esri/core/workers/chunks/1b475593c80d7bccdda5.js +0 -1
- package/assets/esri/core/workers/chunks/27ec8688f72130239b98.js +0 -1
- package/assets/esri/core/workers/chunks/2dd347aa2a061d536e69.js +0 -1
- package/assets/esri/core/workers/chunks/2f6fa33692478e99d24b.js +0 -1
- package/assets/esri/core/workers/chunks/3e7ea06b342e33bc48a5.js +0 -1
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +0 -1
- package/assets/esri/core/workers/chunks/668a868fe2dcb6384ac9.js +0 -1
- package/assets/esri/core/workers/chunks/6acfa51b81e6f4255118.js +0 -1
- package/assets/esri/core/workers/chunks/6f8098f9fe233833245a.js +0 -1
- package/assets/esri/core/workers/chunks/76dbaef0d0794913f36f.js +0 -1
- package/assets/esri/core/workers/chunks/7c5218eae13d3bd30598.js +0 -1
- package/assets/esri/core/workers/chunks/7fc09382f934e9223a9b.js +0 -1
- package/assets/esri/core/workers/chunks/822ef6a043c7e147b4b6.js +0 -1
- package/assets/esri/core/workers/chunks/980313a6c35e79812d17.js +0 -1
- package/assets/esri/core/workers/chunks/9c157c0eeadb824ad01e.js +0 -1
- package/assets/esri/core/workers/chunks/a39ac9127a215d14d412.js +0 -1
- package/assets/esri/core/workers/chunks/a893f8db2477cf677ac8.js +0 -1
- package/assets/esri/core/workers/chunks/a95e28ade258b144cbb5.js +0 -1
- package/assets/esri/core/workers/chunks/abcee7cfd53cfe1d91e9.js +0 -1
- package/assets/esri/core/workers/chunks/b9f0d313f59fc7c43560.js +0 -1
- package/assets/esri/core/workers/chunks/bbe2eaef7edfa33b6eea.js +0 -1
- package/assets/esri/core/workers/chunks/bfdf646d4c8f175a4236.js +0 -1
- package/assets/esri/core/workers/chunks/d749aa62ad694147aebe.js +0 -1
- package/assets/esri/core/workers/chunks/d7d9656b990ce8be2152.js +0 -1
- package/assets/esri/core/workers/chunks/d8a7004c399d539aed09.js +0 -1
- package/assets/esri/core/workers/chunks/df92239eefff04471a0b.js +0 -1
- package/assets/esri/core/workers/chunks/ee2ca25048a920e43743.js +0 -1
- package/assets/esri/core/workers/chunks/eeb24a4ab4993f1f4e8e.js +0 -1
- package/assets/esri/core/workers/chunks/fe5d2735f057c7789f4b.js +0 -1
- package/views/support/GeodesicMeasurementWorker.js +0 -5
- package/views/support/GeodesicMeasurementWorkerHandle.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,3169,4161,4423,6061,8125],{4197:(t,e,n)=>{n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,c,h,l,m,f,g,p){return[t,e,n,r,s,i,o,a,u,c,h,l,m,f,g,p]}},Symbol.toStringTag,{value:"Module"}))},60591:(t,e,n)=>{n.d(e,{execute:()=>r.e}),n(4576),n(86211),n(70787),n(78125);var r=n(92523)},64523:(t,e,n)=>{n.d(e,{O:()=>h});var r=n(31635),s=n(76061),i=n(55537),o=n(88885),a=n(95213),u=n(83661),c=n(5247);class h{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n,r){return new l(t,e,n,r)}execute(t,e,n,r){return t||(0,i.a)("null param is not allowed."),new l(null,e,n,r).generalize(t)}}class l extends s.G{constructor(t,e,n,r){super(),this.m_pline=null,this.m_point=new a.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=r,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=n}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new o.a({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new o.P({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const n=(new c.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const s=n,a=t.createInstance();a.getGeometryType()===i.G.enumPolygon&&a.setFillRule(t.getFillRule()),this.m_xy=s.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new o.L;this.m_pline=e,(0,r.mS)(t,(0,u.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=s.getPathCount();t<e;t++)this.generalizePath(s.getImpl(),t,a.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,a}generalizePath(t,e,n){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const r=t.getPathStart(e),s=t.getPathEnd(e)-1,i=t.isClosedPath(e),o=t.isClosedPathInXYPlane(e);let a=0,c=-1;this.m_stack.push(i?r:s),this.m_stack.push(r);let h=!1,l=!1;for(!this.m_bRemoveDegenerateParts&&o&&(h=!0,l=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const n=this.m_stack.at(-1);let r=t.getXY(e);this.m_pline.setStartXY(r),r=t.getXY(n),this.m_pline.setEndXY(r);const i=[Number.NaN];let o=this.findGreatestDistance(e,n,s,i);o>=0&&(h?h=!1:(l&&i[0]>a&&(a=i[0],c=o),i[0]<=this.m_maxDeviation&&(o=-1))),o>=0?(this.m_stack.push(o),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const m=this.m_resultstack.length;if(m===t.getPathSize(e)&&m===this.m_stack.length)n.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(u.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(l&&c>=0&&a<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>c;this.m_resultstack.push(c),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,u.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,r=this.m_resultstack.length;e<r;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?n.startPathPoint(this.m_point):n.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)n.lineToPoint(this.m_point);n.closePathWithLine()}}}findGreatestDistance(t,e,n,r){let s=e-1;e<=t&&(s=n);let i=-1,o=0;const a=new u.P;for(let e=t+1;e<=s;e++){this.m_xy.queryPoint2D(2*e,a);const t=a.x,n=a.y,r=this.m_pline.getClosestCoordinate(a,!1);a.assign(this.m_pline.getCoord2D(r)),a.x-=t,a.y-=n;const s=a.length();s>o&&(i=e,o=s),this.m_callCount++}return r[0]=o,i}}},69397:(t,e,n)=>{n.d(e,{$B:()=>s,Qf:()=>c,Qh:()=>a,RS:()=>i,Ul:()=>g,ez:()=>m,lM:()=>o,qK:()=>l});var r=n(34275);function s(t){return 32+t.length}const i=16;function o(t){if(!t)return 0;let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=u(t[n],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=m;for(let r=0;r<e;r++)n+=u(t[r]);return n}(t);let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=u(t[n]));return e}function u(t,e=!0){switch(typeof t){case"object":return e?a(t):l;case"string":return s(t);case"number":return i;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,i):0:0),0)}function h(t,e){return m+t.length*e}const l=32,m=16,f=145,g=64},70328:(t,e,n)=>{n.d(e,{BI:()=>x,DC:()=>l,Ej:()=>f,Ie:()=>_,Jt:()=>d,Ne:()=>g,RF:()=>h,aI:()=>P,fA:()=>o,gE:()=>u,hZ:()=>y,iT:()=>m,is:()=>M,qv:()=>v,vI:()=>p,vY:()=>a,v_:()=>k,vt:()=>i,w1:()=>c});var r=n(5443),s=(n(19419),n(4197));function i(t=k){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return y(r,v),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function p(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _(t){return t?y(t,v):i(v)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function x(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function M(t){return 6===t.length}function P(t,e,n){if(null==t||null==e)return t===e;if(!M(t)||!M(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],k=[0,0,0,0,0,0];i()},70787:(t,e,n)=>{n.d(e,{fz:()=>a,g7:()=>i,zo:()=>o});var r=n(76061);const s=new(n(64523).O);function i(t,e,n){return s.execute(t,e,n,null)}function o(t,e,n){const i=s.executeMany(new r.S(t),e,n,null);return Array.from(i)}function a(){return s.supportsCurves()}},76061:(t,e,n)=>{n.d(e,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class s extends r{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(t,e,n)=>{n.r(e),n.d(e,{fromExtent:()=>d,fromGeometry:()=>_,fromMultipoint:()=>x,fromPoint:()=>M,fromPolygon:()=>P,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>k,fromSpatialReference:()=>G,getSpatialReference:()=>y,toExtent:()=>w,toGeometry:()=>C,toMultipoint:()=>I,toPoint:()=>V,toPolygon:()=>R,toPolyline:()=>A});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),m=(n(90293),n(83299));const f="_gxVersion",g=2,p=1;function y(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function _(t){switch(t.type){case"point":return M(t);case"multipoint":return x(t);case"polyline":return v(t);case"polygon":return P(t);case"extent":return d(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function d(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(g,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(p,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const e=new o.M,n=new i.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function P(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function v(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function k(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function G(t){return(0,m.fromSpatialReference)(t)}function C(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return V(t,e);case s.G.enumEnvelope:return w(t,e);case s.G.enumMultiPoint:return I(t,e);case s.G.enumPolyline:return A(t,e);case s.G.enumPolygon:return R(t,e)}return null}function w(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(g,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(p,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(f,t),n}function I(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(f,t),c}function V(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(f,t),n}function R(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}function A(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}},92523:(t,e,n)=>{n.d(e,{e:()=>a,g:()=>c});var r=n(4576),s=n(86211),i=n(70787),o=n(78125);function a(t,e,n={}){const{removeDegenerateParts:r=!1,unit:a}=n,u=(0,o.getSpatialReference)(t);return a&&(e=(0,s.UW)(e,a,u)),(0,o.toGeometry)((0,i.g7)((0,o.fromGeometry)(t),e,r),u)}const u=(0,i.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:function(t,e,n={}){const{removeDegenerateParts:a=!1,unit:u}=n,c=t.map(o.fromGeometry),h=(0,o.getSpatialReference)(t);return u&&(e=(0,s.UW)(e,u,h)),(0,i.zo)(c,e,a).map(t=>(0,o.toGeometry)(t,h)).filter(r.Ru)},supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},92722:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,3169,4161,6061,6893,8125],{4197:(t,e,n)=>{n.d(e,{Vj:()=>c,cj:()=>a,jh:()=>o,l5:()=>u,xm:()=>s});var r=n(34275),i=n(9093);function o(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function s(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function u(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function a(t){return[...t]}function c(t){const e=(0,i.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,e,n,r,i,o,s,u,a,c,h,l,f,m,y,g){return[t,e,n,r,i,o,s,u,a,c,h,l,f,m,y,g]}},Symbol.toStringTag,{value:"Module"}))},60408:(t,e,n)=>{function r(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 o(t){return void 0!==t.x&&void 0!==t.y}function s(t){return void 0!==t.paths||void 0!==t.curvePaths}function u(t){return void 0!==t.rings||void 0!==t.curveRings}function a(t){return"object"==typeof t&&"vertexAttributes"in t}function c(t){return t?o(t)?"esriGeometryPoint":s(t)?"esriGeometryPolyline":u(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":i(t)?"esriGeometryMultipoint":null:null}function h(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function l(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>c,Bi:()=>u,Pv:()=>h,Rg:()=>s,U9:()=>i,W0:()=>l,ZC:()=>r,fT:()=>o,uW:()=>a})},69397:(t,e,n)=>{n.d(e,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>o,Ul:()=>y,ez:()=>f,lM:()=>s,qK:()=>l});var r=n(34275);function i(t){return 32+t.length}const o=16;function s(t){if(!t)return 0;let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?u(t):l;case"string":return i(t);case"number":return o;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+m:Array.isArray(e)?h(e,o):0:0),0)}function h(t,e){return f+t.length*e}const l=32,f=16,m=145,y=64},70328:(t,e,n)=>{n.d(e,{BI:()=>x,DC:()=>l,Ej:()=>m,Ie:()=>d,Jt:()=>M,Ne:()=>y,RF:()=>h,aI:()=>G,fA:()=>s,gE:()=>a,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>P,vI:()=>g,vY:()=>u,v_:()=>C,vt:()=>o,w1:()=>c});var r=n(5443),i=(n(19419),n(4197));function o(t=C){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function s(t,e,n,r,i,s,u=o()){return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=i,u[5]=s,u}function u(t,e=o()){return function(t,e,n,r=o()){return p(r,P),function(t,e,n=0,r=e.length/3){let i=t[0],o=t[1],s=t[2],u=t[3],a=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,e[n+3*t]),o=Math.min(o,e[n+3*t+1]),s=Math.min(s,e[n+3*t+2]),u=Math.max(u,e[n+3*t]),a=Math.max(a,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=i,t[1]=o,t[2]=s,t[3]=u,t[4]=a,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function a(t,e=(0,i.jh)(24)){const[n,r,o,s,u,a]=t;return e[0]=n,e[1]=r,e[2]=o,e[3]=n,e[4]=r,e[5]=a,e[6]=n,e[7]=u,e[8]=o,e[9]=n,e[10]=u,e[11]=a,e[12]=s,e[13]=r,e[14]=o,e[15]=s,e[16]=r,e[17]=a,e[18]=s,e[19]=u,e[20]=o,e[21]=s,e[22]=u,e[23]=a,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function y(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function g(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function d(t){return t?p(t,P):o(P)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function x(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function G(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const P=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];o()},76061:(t,e,n)=>{n.d(e,{G:()=>r,S:()=>i});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class i extends r{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(t,e,n)=>{n.r(e),n.d(e,{fromExtent:()=>M,fromGeometry:()=>d,fromMultipoint:()=>x,fromPoint:()=>v,fromPolygon:()=>G,fromPolyline:()=>P,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>V,getSpatialReference:()=>p,toExtent:()=>w,toGeometry:()=>I,toMultipoint:()=>A,toPoint:()=>Z,toPolygon:()=>R,toPolyline:()=>E});var r=n(83661),i=(n(79187),n(55537)),o=n(95213),s=n(88885),u=n(5443),a=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion",y=2,g=1;function p(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function d(t){switch(t.type){case"point":return v(t);case"multipoint":return x(t);case"polyline":return P(t);case"polygon":return G(t);case"extent":return M(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function M(t){if(!t.getCacheValue(m)){const e=new o.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(y,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(g,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function x(t){if(!t.getCacheValue(m)){const e=new s.M,n=new o.P,r=t.points,i=t.hasM,u=t.hasZ,a=u?3:2;for(let t=0,o=r.length;t<o;t++){const o=r[t];n.setXYCoords(o[0],o[1]),u&&n.setZ(o[2]??0),i&&n.setM(o[a]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const e=new o.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function G(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:i}=t,o=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:i});t.setCacheValue(m,o)}return t.getCacheValue(m)}function P(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:i}=t,o=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:i});t.setCacheValue(m,o)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:i}=t,o=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:i});t.setCacheValue(m,o)}return t.getCacheValue(m)}function V(t){return(0,f.fromSpatialReference)(t)}function I(t,e){if(t)switch(t.getGeometryType()){case i.G.enumPoint:return Z(t,e);case i.G.enumEnvelope:return w(t,e);case i.G.enumMultiPoint:return A(t,e);case i.G.enumPolyline:return E(t,e);case i.G.enumPolygon:return R(t,e)}return null}function w(t,e){if(t.isEmpty())return null;const n=new u.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(y,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(g,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),i=n.hasZ(),s=[],u=new o.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,u);const n=[u.getX(),u.getY()];i&&n.push(u.getZ()),r&&n.push(u.getM()),s.push(n)}const c=new a.A({hasM:r,hasZ:i,points:s,spatialReference:e});return c.setCacheValue(m,t),c}function Z(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),i=t.getDescription();return i.hasM()&&(n.m=t.getM()),i.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function R(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function E(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},92722:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(69397);class i{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new i(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const o=n-t,s=r-e;return new i([5],[t,e,o,0,0,s,-o,0,0,-s])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let i=this.coords[r*e],o=this.coords[r*e+1];for(let s=1;s<n;s+=1){const n=r*(e+s),u=this.coords[n],a=this.coords[n+1];t+=-.5*(u-i)*(a+o),i=u,o=a}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let i=0;i<r;i++){const r=n*(e+i);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:i}=this;for(const t of n){for(let n=1;n<t;n++){const t=i*(r+n);e[t]+=e[t-i],e[t+1]+=e[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,o=this.coords.slice(0,r*n);return t?(t.set(o),new i(e,t)):new i(e,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new i(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(t,e,n)=>{n.d(e,{A:()=>l});var r,i=n(31635),o=n(69622),s=n(91429),a=n(99157);let l=r=class extends o.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,i.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,e,n,r,i,o,s,a,l,u,c,h,f,p,d,m){return[t,e,n,r,i,o,s,a,l,u,c,h,f,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>i});var r=n(37539);function i(t,e,n,i,o,s,a=Math.floor(t.length/3)){const l=(0,r.jd)(e,o);if(null==l)return!1;if(l===r.pO){if(t===i&&n===s)return!0;const e=n+3*a;for(let r=n,o=s;r<e;r++,o++)i[o]=t[r]??0;return!0}const u=n+3*a;for(let e=n,r=s;e<u;e+=3,r+=3)l(t,e,i,r);return!0}},11006:(t,e,n)=>{function r(t,e,n,r,o){i(t,e,n||0,r||t.length-1,o||s)}function i(t,e,n,r,s){for(;r>n;){if(r-n>600){var a=r-n+1,l=e-n+1,u=Math.log(a),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(a-c)/a)*(l-a/2<0?-1:1);i(t,e,Math.max(n,Math.floor(e-l*c/a+h)),Math.min(r,Math.floor(e+(a-l)*c/a+h)),s)}var f=t[e],p=n,d=r;for(o(t,n,e),s(t[r],f)>0&&o(t,n,r);p<d;){for(o(t,p,d),p++,d--;s(t[p],f)<0;)p++;for(;s(t[d],f)>0;)d--}0===s(t[n],f)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function s(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(31635),i=n(69540),o=n(25482),s=n(91429),a=n(51850),l=n(93223);let u=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276:(t,e,n)=>{n.d(e,{H:()=>o,f:()=>i});var r=n(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(t){t.forEach(i)}},22141:(t,e,n)=>{n.d(e,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>_,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>A,si:()=>w,xA:()=>R});var r=n(34727),i=n(77690),o=n(29242),s=n(58083),a=n(9093),l=n(38954),u=n(51850),c=n(48353),h=n(9762),f=(n(79258),n(21325)),p=n(28735),d=n(13030),m=n(73354),g=n(65686);const y="Projection may be possible after calling projection.load().";function M(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function x(t,e,n,r,i,o){return P(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function w(t,e,n,r,i,o){return P(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function v(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function b(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n){return(0,i.Ge)(B,n),(0,m.b)(e,t,B),(0,r.or)(B)&&(0,m.n)(e,e),e}function _(t,e,n){return(0,i.z0)(B,n),(0,g.t)(e,t,B),(0,r.or)(B)&&(0,m.n)(e,e,4),e}function R(t,e,n,r,i,o){if(!P(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function S(t,e,n,r,i,o){if(!P(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,16)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function C(t,e,n,r,o){switch((0,c.l)(r,n,O,r),1===t&&(0,s.B8)(O,O),e){case 0:return(0,i.Ge)(o,O);case 1:return(0,i.z0)(o,O)}}function P(t,e,n,r,i,o,s,a){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,f.x1)(t)||(0,f.q8)(t)||(0,f.KQ)(t)}(i))for(let r=0;r<u;r++)o.getVec(r,j),e.getVec(r,k),(0,l.t)(k,k,C(t,n,j,s,B)),a.setVec(r,k);else for(let i=0;i<u;i++){o.getVec(i,j),e.getVec(i,k);const u=(0,p.jg)(r.get(i,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),C(t,n,j,s,B),0===t?(B[0]*=c,B[1]*=c,B[2]*=c,B[3]*=c,B[4]*=c,B[5]*=c):(B[0]*=c,B[3]*=c,B[6]*=c,B[1]*=c,B[4]*=c,B[7]*=c),(0,l.t)(k,k,B),(0,l.n)(k,k),a.setVec(i,k)}return a}const j=(0,u.vt)(),k=(0,u.vt)(),O=(0,a.vt)(),B=(0,o.vt)()},27615:(t,e,n)=>{n.d(e,{CK:()=>l,Hq:()=>a,MW:()=>u,TE:()=>c,yJ:()=>h});var r=n(38954),i=n(86738),o=n(95696),s=n(18251);function a(t){return null!=t.origin}function l(t){return a(t.vertexSpace)}function u(t,e){if(!a(t))return null;const[n,r,o]=t.origin;return new i.A({x:n,y:r,z:o,spatialReference:e})}function c(t,e){const{x:n,y:r,z:i,spatialReference:a}=t,l=[n,r,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(a))?new s.A({origin:l}):new o.A({origin:l})}function h(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.m)(t.origin,e.origin))}},28735:(t,e,n)=>{n.d(e,{Cv:()=>y,Gh:()=>w,ci:()=>v,je:()=>M,jg:()=>f,tD:()=>x,y7:()=>g});var r=n(4718),i=n(21276),o=n(16930),s=n(79258),a=n(21325);const l=57.29577951308232,u=.017453292519943;function c(t){return t*l}function h(t){return t*u}function f(t){return Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))}function p(t){return null!=t.wkid||null!=t.wkt}const d=[0,0];function m(t,e,n,r,i){const o=t,s=i;if(s.spatialReference=n,"x"in o&&"x"in s)[s.x,s.y]=e(o.x,o.y,d,r);else if("xmin"in o&&"xmin"in s)[s.xmin,s.ymin]=e(o.xmin,o.ymin,d,r),[s.xmax,s.ymax]=e(o.xmax,o.ymax,d,r);else if("paths"in o&&"paths"in s||"rings"in o&&"rings"in s){const t="paths"in o?o.paths:o.rings,n=[];let i;for(let o=0;o<t.length;o++){const s=t[o];i=[],n.push(i);for(let t=0;t<s.length;t++)i.push(e(s[t][0],s[t][1],[0,0],r)),s[t].length>2&&i[t].push(s[t][2]),s[t].length>3&&i[t].push(s[t][3])}"paths"in s?s.paths=n:s.rings=n}else if("points"in o&&"points"in s){const t=o.points,n=[];for(let i=0;i<t.length;i++)n[i]=e(t[i][0],t[i][1],[0,0],r),t[i].length>2&&n[i].push(t[i][2]),t[i].length>3&&n[i].push(t[i][3]);s.points=n}return i}function g(t,e){const n=t&&(p(t)?t:t.spatialReference),r=e&&(p(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,a.aI)(r,n)||(0,a.K8)(r)&&(0,a.oT)(n)||(0,a.K8)(n)&&(0,a.oT)(r))}function y(t,e){if(null==t)return null;const n=t.spatialReference,i=e&&(p(e)?e:e.spatialReference);return g(n,i)?(0,a.aI)(n,i)?(0,r.o8)(t):(0,a.K8)(i)?m(t,M,o.A.WebMercator,!1,(0,r.o8)(t)):(0,a.oT)(i)?m(t,x,o.A.WGS84,!1,(0,r.o8)(t)):null:null}function M(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=h(e);return n[0]=h(t)*s.$O.radius,n[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function x(t,e,n=[0,0],r=!1){if(t===a.Mc[0])n[0]=-180;else if(t===a.Mc[1])n[0]=180;else{const e=c(t/s.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=c(Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))),n}function w(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,M,o.A.WebMercator,e,n)}function v(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,x,o.A.WGS84,e,n)}},31635:(t,e,n)=>{function r(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function i(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new o(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},34304:(t,e,n)=>{n.d(e,{DF:()=>l,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,s=Math.PI/180,a=180/Math.PI;function l(t){return t*s}function u(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){r=t},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},37539:(t,e,n)=>{n.d(e,{pO:()=>m,jd:()=>f,Tp:()=>p,w5:()=>h});var r=n(34727),i=n(86211),o=n(73941),s=n(79258);Math.PI;const a=s.$O.radius,l=s.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const h={2:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:P},5:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:P},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){const i=t[e]/N,o=I-2*Math.atan(Math.exp(-t[e+1]/N)),s=N+(t[e+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:m,11:function(t,e,n,r){g(t,e,n,r),M(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),P(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(t,e,n,r){j(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),M(n,r,n,r)},2:j,4:m},1:{5:C,7:null,9:null,10:C,1:m,6:null,8:null,0:null,3:function(t,e,n,r){C(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){C(t,e,n,r),M(n,r,n,r)},2:C,4:function(t,e,n,r){C(t,e,n,r),P(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:A,6:b,8:v,0:null,3:y,11:M,2:m,4:P},11:{5:x,7:null,9:null,10:x,1:function(t,e,n,r){x(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){x(t,e,n,r),y(n,r,n,r)},11:m,2:x,4:function(t,e,n,r){x(t,e,n,r),P(n,r,n,r)}}};function f(t,e){return p(t,e)?.projector}function p(t,e){if(null==t||null==e)return null;if(k.source.spatialReference===t&&k.dest.spatialReference===e)return k;const n=d(t,k.source),r=d(e,k.dest);return 0===n&&0===r?(0,c.aI)(t,e)?k.projector=m:k.projector=null:k.projector=h[n][r],k}function d(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,i.GA)(t,1)),(0,o.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===o.FY.wkt?e.spatialReferenceId=6:t.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function m(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function g(t,e,n,r){n[r]=B*(t[e]/N),n[r+1]=B*(I-2*Math.atan(Math.exp(-t[e+1]/N))),n[r+2]=t[e+2]??0}function y(t,e,n,i){!function(t,e,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(O*t[e+1],-s,s),l=Math.sin(a);n[i++]=O*t[e]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=t[e+2]??0}(t,e,n,i,s.$O)}function M(t,e,n,r){n[r]=t[e]*T,n[r+1]=t[e+1]*T,n[r+2]=t[e+2]??0}function x(t,e,n,r){n[r]=t[e]*z,n[r+1]=t[e+1]*z,n[r+2]=t[e+2]??0}function w(t,e,n,r,i){const o=i+(t[e+2]??0),s=O*t[e],a=O*t[e+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function v(t,e,n,r){w(t,e,n,r,s.Sw.radius)}function b(t,e,n,r){w(t,e,n,r,s.sH.radius)}function A(t,e,n,r){w(t,e,n,r,s.$O.radius)}function _(t,e,n,i,o){const s=t[e],a=t[e+1],l=t[e+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),h=Math.atan2(a,s);n[i++]=B*h,n[i++]=B*c,n[i]=u-o}function R(t,e,n,r){_(t,e,n,r,s.Sw.radius)}function S(t,e,n,r){_(t,e,n,r,s.sH.radius)}function C(t,e,n,r){_(t,e,n,r,s.$O.radius)}function P(t,e,n,r){!function(t,e,n,r,i){const o=O*t[e],s=O*t[e+1],a=t[e+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(t,e,n,r,s.$O)}function j(t,e,n,r){const i=u,o=t[e],a=t[e+1],l=t[e+2]??0;let c,h,f,p,d,m,g,y,M,x,w,v,b,A,_,R,S,C,P,j,k;c=Math.abs(l),h=o*o+a*a,f=Math.sqrt(h),p=h+l*l,d=Math.sqrt(p),j=Math.atan2(a,o),m=l*l/p,g=h/p,A=i.a2/d,_=i.a3-i.a4/d,g>.3?(y=c/d*(1+g*(i.a1+A+m*_)/d),P=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=f/d*(1-m*(i.a5-A-g*_)/d),P=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-s.$O.eccentricitySquared*x,v=s.$O.radius/Math.sqrt(w),b=i.a6*v,A=f-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,C=R/(b/w+S),P+=C,k=S+R*C/2,l<0&&(P=-P),n[r++]=B*j,n[r++]=B*P,n[r]=k}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},O=(0,r.kU)(1),B=(0,r.KJ)(1),I=.5*Math.PI,N=s.$O.radius,T=N*Math.PI/180,z=180/(N*Math.PI)},38419:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var r=n(44208),i=n(75503),o=n(95696),s=n(72258);class a{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new i.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i}=t,a=(0,s.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i},o.A.absolute,{allowBufferReuse:!0})?.position;return a?!t.components||t.components.some(t=>!t.faces)?{position:a.buffer}:{position:a.buffer,components:t.components.map(t=>t.faces)}:null}(t),a=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return l().fromJSON(a)}createIndexThread(t){const e=l();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const i=new Array(r);let o=0;for(const t of n)for(let n=0;n<t.length;n+=3)i[o++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(i),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function l(){return new i.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},38954:(t,e,n)=>{n.d(e,{A:()=>h,B:()=>M,C:()=>N,D:()=>w,E:()=>I,F:()=>X,G:()=>q,H:()=>E,a:()=>T,b:()=>o,c:()=>y,d:()=>s,e:()=>u,f:()=>R,g:()=>_,h:()=>a,i:()=>l,j:()=>g,l:()=>S,m:()=>B,n:()=>A,o:()=>b,p:()=>C,q:()=>v,r:()=>j,s:()=>x,t:()=>P,u:()=>Y,v:()=>f,w:()=>m,x:()=>d,y:()=>p,z:()=>c});var r=n(51850),i=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],i=e[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],i=e[1],o=e[2],s=n[0],a=n[1],l=n[2];return t[0]=i*l-o*a,t[1]=o*s-r*l,t[2]=r*a-i*s,t}function S(t,e,n,r){const i=e[0],o=e[1],s=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=s+r*(n[2]-s),t}function C(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12],t[1]=n[1]*r+n[5]*i+n[9]*o+n[13],t[2]=n[2]*r+n[6]*i+n[10]*o+n[14],t}function P(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function j(t,e,n){const r=n[0],i=n[1],o=n[2],s=n[3],a=e[0],l=e[1],u=e[2],c=i*u-o*l,h=o*a-r*u,f=r*l-i*a,p=i*f-o*h,d=o*c-r*f,m=r*h-i*c,g=2*s;return t[0]=a+c*g+2*p,t[1]=l+h*g+2*d,t[2]=u+f*g+2*m,t}const k=(0,r.vt)(),O=(0,r.vt)();function B(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function I(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],s=e[0],a=e[1],l=e[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function N(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],o=n[2]-e[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=i*s,t[2]=o*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=u,z=c,Z=h,X=M,q=x,Y=o,E=w;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:function(t,e){A(k,t),A(O,e);const n=_(k,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,h=3*l*s,f=l*o;return t[0]=e[0]*u+n[0]*c+r[0]*h+i[0]*f,t[1]=e[1]*u+n[1]*c+r[1]*h+i[1]*f,t[2]=e[2]*u+n[2]*c+r[2]*h+i[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],o=e[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,h=r*a-i*s,f=Math.sqrt(u*u+c*c+h*h);return t[0]=u/f,t[1]=c/f,t[2]=h/f,t},direction:N,dist:X,distance:M,div:Z,divide:h,dot:_,equals:I,exactEquals:B,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return t[0]=e[0]*a+n[0]*l+r[0]*u+i[0]*c,t[1]=e[1]*a+n[1]*l+r[1]*u+i[1]*c,t[2]=e[2]*a+n[2]*l+r[2]*u+i[2]*c,t},inverse:b,len:Y,length:o,lerp:S,max:m,min:d,mul:z,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=o*e,t},rotateX:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:p,sqrDist:q,sqrLen:E,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:u,transformMat3:P,transformMat4:C,transformQuat:j},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>d,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>h,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!r[t]||!!r[t.toLowerCase()]}function o(t){return r[t]??r[t.toLowerCase()]}function s(t){return[...o(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,s=2*n-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let s=Number("0x"+t.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&r,s>>=n,a[3]=i*l/255),l=s&r,s>>=n,a[2]=i*l,l=s&r,s>>=n,a[1]=i*l,l=s&r,s>>=n,a[0]=i*l,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function h(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=i(t)?o(t):null;return e??=h(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163:(t,e,n)=>{function r(){return[0,0]}function i(t){return[t[0],t[1]]}function o(t,e){return[t,e]}function s(){return o(1,1)}function a(){return o(1,0)}function l(){return o(0,1)}n.d(e,{Un:()=>u,fA:()=>o,o8:()=>i,vt:()=>r});const u=s(),c=a(),h=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:h,ZEROS:[0,0],clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:o,ones:s,unitX:a,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,e,n)=>{n.d(e,{l:()=>u});var r=n(34727),i=n(58083),o=n(51850);function s(t,e,n){const r=Math.sin(t),i=Math.cos(t),o=Math.sin(e),s=Math.cos(e),a=n;return a[0]=-r,a[4]=-o*i,a[8]=s*i,a[12]=0,a[1]=i,a[5]=-o*r,a[9]=s*r,a[13]=0,a[2]=0,a[6]=s,a[10]=o,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=n(37539),l=n(21325);function u(t,e,n,r){const o=(0,a.Tp)(t,r);if(null==o)return!1;const u=o.source.spatialReferenceId,d=o.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,l.aI)(t,r)))return(0,i.kN)(n,e),!0;if(c(d)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,f,0),r(f,0,p,0),s(h*f[0],h*f[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,f,0),r(f,0,p,0),m?function(t,e,n){s(t,e,n),(0,i.mg)(n,n)}(h*f[0],h*f[1],n):(0,i.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const h=(0,r.kU)(1),f=(0,o.vt)(),p=(0,o.vt)()},48526:(t,e,n)=>{n.d(e,{A:()=>d});var r,i=n(31635),o=n(4718),s=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),f=n(56993),p=n(43937);let d=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:i}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:i}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,h.ge)(this);return t?new a.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:i})}addPoint(t){return(0,f.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new u.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new u.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,f.h)(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.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,s.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],d.prototype,"points",void 0),(0,i.Cg)([(0,p.K)("points")],d.prototype,"writePoints",null),d=r=(0,i.Cg)([(0,s.$K)("esri.geometry.Multipoint")],d),d.prototype.toJSON.isDefaultToJSON=!0},51850:(t,e,n)=>{function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,e,n){return[t,e,n]}function s(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function h(){return o(0,0,1)}n.d(e,{CN:()=>s,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>a,fA:()=>o,o8:()=>i,uY:()=>f,vt:()=>r});const f=[0,0,0],p=l(),d=u(),m=c(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:f,clone:i,create:r,freeze:s,fromArray:a,fromValues:o,ones:l,unitX:u,unitY:c,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},65806:(t,e,n)=>{n.d(e,{g:()=>s});var r=n(51850),i=n(91218),o=n(9762);function s(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,o.projectBuffer)(a,t.spatialReference,0,e,n,0);const s=(0,i.tryProject)(t,n,r);return!!s&&(e[0]=s.x,e[1]=s.y,e[2]=s.z??0,!0)}const a=(0,r.vt)()},69540:(t,e,n)=>{n.d(e,{OU:()=>c,Pw:()=>h});var r=n(31635),i=n(69622),o=(n(44208),n(4718)),s=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,a.oY)(this);(0,s.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,i={},l=new Map;for(const e in n){const s=n[e],a=r?.originOf(e),u=s.clonable;if(s.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let h=null;if("function"==typeof u)h=u(c,t);else if("reference"===u)h=c;else if(h=(0,o.TU)(c,t),null!=c&&null==h)continue;0===a?l.set(e,h):i[e]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(l.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,n]of l)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],i),i},h=c(i.A)},72258:(t,e,n)=>{n.d(e,{UR:()=>v,p5:()=>w,xK:()=>C});var r=n(53966),i=n(34727),o=n(86211),s=n(77690),a=n(29242),l=n(58083),u=n(9093),c=n(38954),h=n(51850),f=n(98764),p=n(48353),d=n(65806),m=n(27615),g=n(21325),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const i=t;if(!(0,d.g)(e,i,r))return!1;const{origin:o}=n;return(0,c.e)(t,i,o),!0}const i=(0,f.lO)(r),o=t;if(!(0,d.g)(e,o,i))return!1;const{origin:s}=n,a=B;if(!(0,p.l)(r,s,a,i))return!1;const u=(0,l.B8)(B,a);return null!=u&&((0,c.p)(t,o,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:i,vertexAttributes:o}=t,a=(0,m.Hq)(r)?i:null,h=R(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!a||(0,l.t2)(a.localMatrix,u.zK))&&S(h)){const{position:t,normal:e,tangent:r}=o,i=n?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const s=b(e,o);if(!(0,p.l)(e,r,P,s))return(0,M.CN)(x(),e,s),null;if(n&&(0,l.lw)(P,P,n.localMatrix),!(0,p.l)(e,i,j,s))return(0,M.CN)(x(),s,e),null;(0,l.B8)(j,j);const a=(0,l.lw)(P,j,P);return _(a,e,o,3),A(t,a)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},i,o){const s=b(t,o);if(!(0,p.l)(t,r,P,s))return(0,M.CN)(x(),t,s),null;n&&(0,l.lw)(P,P,n.localMatrix),_(P,t,o,1);const a=new Float64Array(e.position.length),u=function(t,e,n,r,i){(0,y.t)(r,t,e);const o=new Float64Array(t.length);return(0,M.$5)(r,i,o,n)?o:((0,M.CN)(x(),i,n),null)}(e.position,P,t,a,s);if(!u)return null;const h=function(t,e,n,r,i,o){if(null==i)return null;const s=new Float32Array(i.length);return(0,M.qs)(i,s,o),(0,M.si)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.normal,P);if(e.normal&&!h)return null;const f=function(t,e,n,r,i,o){if(null==i)return null;const s=new Float32Array(i.length);return(0,M.KM)(i,s,o),(0,M.Mv)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.tangent,P);if(e.tangent&&!f)return null;if(i){const t=(0,c.q)(O,i);(0,y.a)(u,u,t)}return{position:u,normal:h,tangent:f}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const a=b(e,o);if(!(0,p.l)(e,i,P,a))return(0,M.CN)(x(),e,a),null;const u=1/R(e,o,2);(0,l.hs)(P,P,[u,u,u]);const c=(0,l.B8)(j,P),{position:h,normal:f,tangent:d}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:i}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:i,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(h.length),g=function(t,e,n,r,i){const o=(0,M.gr)(t,e,r,i);if(!o)return(0,M.CN)(x(),e,i),null;const s=new Float64Array(o.length);return(0,y.t)(s,o,n),s}(h,e,c,m,a);if(!g)return null;const w=(0,s.Ge)(k,c),v=function(t,e,n,r,i,o,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,i,a)?((0,y.b)(a,a,o),a):((0,M.CN)(x(),n,i),null)}(f,h,e,m,a,w,f!==t.normal?f:void 0);if(!v&&f)return null;const _=function(t,e,n,r,i,o,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,i,a)?((0,y.b)(a,a,o,4),a):((0,M.CN)(x(),n,i),null)}(d,h,e,m,a,w,d!==t.tangent?d:void 0);return!_&&d?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},i,o){const s=R(n,o,3),a=r||!S(s)?(0,l.C)(P,e?.localMatrix??u.zK):null;a&&_(a,n,o,3);const{position:h,normal:f,tangent:p}=a?A(t,a):t,d=o?.allowBufferReuse,m=d?h:new Float64Array(h.length);let g=h;if(r&&(g=(0,y.a)(m,g,r)),i){const t=(0,c.q)(O,i);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:f!==t.normal||d?f:f?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,g.B3)(t)?f.Y0:(0,f.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:n,normal:r,tangent:i}}function _(t,e,n,r){const i=R(e,n,r);S(i)||(0,l.hs)(t,t,[i,i,i])}function R(t,e,n){const r=!!(1&n),i=!!(2&n),o=e?.sourceUnit,s=e?.targetUnit;if(!o&&!s)return 1;let a=C(o,t);r||!o||S(a)||(x().warn("source unit conversion not supported"),a=1);let l=1/C(s,t);return i||!s||S(l)||(x().warn("target unit conversion not supported"),l=1),a*l}function S(t){return(0,i.Io)(t,1)}function C(t,e){if(null==t)return 1;const n=(0,o.KX)(e);return 1/(0,o.oU)(n,"meters",t)}const P=(0,u.vt)(),j=(0,u.vt)(),k=(0,a.vt)(),O=(0,h.vt)(),B=(0,u.vt)()},73354:(t,e,n)=>{n.d(e,{a:()=>h,b:()=>a,c:()=>s,d:()=>i,e:()=>f,f:()=>c,l:()=>u,n:()=>p,t:()=>o});var r=n(40876);function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return t;const o=t.length/r,s=n[0],a=n[1],l=n[2],u=n[4],c=n[5],h=n[6],f=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<o;n++){const n=e[M],o=e[M+1],w=e[M+2];t[x]=s*n+u*o+f*w+m,t[x+1]=a*n+c*o+p*w+g,t[x+2]=l*n+h*o+d*w+y,M+=i,x+=r}return t}function s(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return;const o=t.length/r,s=n[0],a=n[1],l=n[2],u=n[3],c=n[4],h=n[5],f=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<o;n++){const n=e[m],o=e[m+1],y=e[m+2];t[g]=s*n+u*o+f*y,t[g+1]=a*n+c*o+p*y,t[g+2]=l*n+h*o+d*y,m+=i,g+=r}}function l(t,e,n,r=3,i=r){const o=Math.min(t.length/r,e.length/i);let s=0,a=0;for(let l=0;l<o;l++)t[a]=n*e[s],t[a+1]=n*e[s+1],t[a+2]=n*e[s+2],s+=i,a+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,i,o=3,s=o){const a=Math.min(t.length/o,e.length/s);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<a;r++)t[u]=i*(n*e[l])**c,t[u+1]=i*(n*e[l+1])**c,t[u+2]=i*(n*e[l+2])**c,l+=s,u+=o}function h(t,e,n,r=3,i=r){const o=t.length/r;if(o!==Math.ceil(e.length/i))return t;let s=0,a=0;for(let l=0;l<o;l++)t[a]=e[s]+n[0],t[a+1]=e[s+1]+n[1],t[a+2]=e[s+2]+n[2],s+=i,a+=r;return t}function f(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let o=0,s=0;for(let a=0;a<i;a++){const i=e[o],a=e[o+1],l=e[o+2],u=i*i+a*a+l*l;if(u>0){const e=1/Math.sqrt(u);t[s]=e*i,t[s+1]=e*a,t[s+2]=e*l}o+=r,s+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:f,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,o=t.typedBufferStride,s=e.typedBuffer,a=e.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)i[u]=s[l]>>n,i[u+1]=s[l+1]>>n,i[u+2]=s[l+2]>>n,l+=a,u+=o},transformMat3:a,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:h},Symbol.toStringTag,{value:"Module"}))},75503:(t,e,n)=>{n.d(e,{EC:()=>R,wq:()=>a});var r=n(4576),i=n(21818),o=(n(44208),n(15142)),s=n(11006);class a{constructor(t=9,e){this._compareMinX=f,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){l(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let i=0,o=n.children.length;i<o;i++){const o=n.children[i],s=n.leaf?r(o):o;x(t,s)&&(n.leaf?e(o):M(t,s)?l(o,e):v.push(o))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r],o=e.leaf?n(i):i;if(x(t,o)){if(e.leaf||M(t,o))return!0;v.push(i)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new C([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,s=0,a=!1;const l=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),o=A.data[A.length-1],s=_.pop()??0,a=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,i.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;a||n.leaf||!M(n,l)?o?(s++,n=o.children[s],a=!1):n=null:(A.push(n),_.push(s),s=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const i=n-e+1;let o=this._maxEntries;if(i<=o){const r=new C(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(o)),o=Math.ceil(i/o**(r-1)));const s=new P([]);s.height=r;const a=Math.ceil(i/o),l=a*Math.ceil(Math.sqrt(o));w(t,e,n,l,this._compareMinX);for(let i=e;i<=n;i+=l){const e=Math.min(i+l-1,n);w(t,i,e,a,this._compareMinY);for(let n=i;n<=e;n+=a){const i=Math.min(n+a-1,e);s.children.push(this._build(t,n,i,r-1))}}return u(s,this._toBBox),s}_insert(t,e,n){const r=this._toBBox,i=n?t:r(t);A.clear();const o=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let o=0,s=e.children.length;o<s;o++){const s=e.children[o],a=d(s),l=g(t,s)-a;l<i?(i=l,r=a<r?a:r,n=s):l===i&&a<r&&(r=a,n=s)}e=n||e.children[0]}return e}(i,this._data,e,A);for(o.children.push(t),h(o,i);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)h(e.data[r],t)}(i,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const o=this._chooseSplitIndex(n,i,r);if(!o)return;const s=n.children.splice(o,n.children.length-o),a=n.leaf?new C(s):new P(s);a.height=n.height,u(n,this._toBBox),u(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this._data=new P([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,i,o;r=i=1/0;for(let s=e;s<=n-e;s++){const e=c(t,0,s,this._toBBox),a=c(t,s,n,this._toBBox),l=y(e,a),u=d(e)+d(a);l<r?(r=l,o=s,i=u<i?u:i):l===r&&u<i&&(i=u,o=s)}return o}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:f,i=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,i)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const i=this._toBBox,o=c(t,0,e,i),s=c(t,n-e,n,i);let a=m(o)+m(s);for(let r=e;r<n-e;r++){const e=t.children[r];h(o,t.leaf?i(e):e),a+=m(o)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];h(s,t.leaf?i(e):e),a+=m(s)}return a}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const i=t.data[e-1],o=i.children;o.splice((0,r.qh)(o,n,o.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function l(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,i.z)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,i){i||(i=new C([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o,s=e;s<n;s++)o=t.children[s],h(i,t.leaf?r(o):o);return i}function h(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function f(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,o-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,i){const o=[e,n];for(;o.length;){const e=o.pop(),n=o.pop();if(e-n<=r)continue;const a=n+Math.ceil((e-n)/r/2)*r;(0,s.q)(t,a,n,e,i),o.push(n,a,a,e)}}const v=new o.A,b=new o.A,A=new o.A,_=new o.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class C extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class P extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},82799:(t,e,n)=>{n.d(e,{A:()=>d});var r,i=n(31635),o=n(4718),s=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),f=n(56993),p=n(43937);let d=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:i}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:i}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,o.o8)(t)}get extent(){const t=(0,h.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,o.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,o.o8)(this.paths),t.curvePaths=(0,o.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,i=this.hasM;return r&&!i?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new u.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,i.Cg)([(0,p.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,i.Cg)([(0,p.K)("paths")],d.prototype,"writePaths",null),d=r=(0,i.Cg)([(0,s.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},86738:(t,e,n)=>{n.d(e,{A:()=>x});var r=n(31635),i=n(69622),o=n(53966),s=n(91429),a=n(56507),l=n(91075),u=n(16930),c=n(21325),h=n(28735);function f({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,h.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends l.A{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 n=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(n)?n:n.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,n,r,i){let s;if(Array.isArray(t))s=t,i=e,t=s[0],e=s[1],n=s[2],r=s[3];else if(t&&"object"==typeof t){if(s=t,t=null!=s.x?s.x:s.longitude,e=null!=s.y?s.y:s.latitude,n=s.z,r=s.m,(i=s.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&i?.isWebMercator){const n=(0,h.je)(s.longitude,s.latitude,y);t=n[0],e=n[1]}}else M(n)?(i=n,n=null):M(r)&&(i=r,r=null);const a={x:t,y:e};return null==a.x&&null!=a.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=n&&(a.z=n),null!=r&&(a.m=r),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(){return f(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,h.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return f(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,h.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;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 d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:i,spatialReference:o}=this,{z:s,m:a}=t;let{x:l,y:u,spatialReference:c}=t;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[l,u]=(0,h.je)(l,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,h.tD)(l,u),c=o}return e===l&&n===u&&r===s&&i===a&&o.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,i=2*r;let o;return e>r?(o=Math.ceil(Math.abs(e-r)/i),e-=o*i):e<n&&(o=Math.ceil(Math.abs(e-n)/i),e+=o*i),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+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,r.Cg)([(0,s.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(t=>isNaN(t)?t:(0,a.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,s.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(31635),i=n(25482),o=n(91429),s=n(16930),a=n(36005);let l=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof s.A)return t;if(null!=t){const n=new s.A;return n.read(t,e),n}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,r.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,o.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,o.$K)("esri.geometry.Geometry")],l)},91218:(t,e,n)=>{n.r(e),n.d(e,{canProjectWithoutEngine:()=>L,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>j,isLoadedOrLoad:()=>k,isLoadedOrLoadFor:()=>O,load:()=>I,project:()=>N,projectAsync:()=>F,projectExtent:()=>et,projectMany:()=>T,projectMultipoint:()=>U,projectOrLoad:()=>Z,projectOrLoadMany:()=>X,projectPoint:()=>W,projectPolygon:()=>Q,projectPolyline:()=>V,projectWithoutEngine:()=>K,requiresLoad:()=>B,test:()=>E,tryProject:()=>z,unload:()=>Y});var r=n(49186),i=n(74887),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),h=n(91075),f=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(159),M=n(9762),x=n(37539);function w(t,e,n,r,i,o){return v[0]=t,v[1]=e,v[2]=n,(0,M.projectBuffer)(v,r,0,i,o,0)}const v=(0,a.vt)();var b=n(21325);let A=null,_=null,R=null,S=null,C={};const P=new s.I;function j(){return!!(_?.isLoaded()&&R?.isLoaded()&&S?.isLoaded())}function k(){return!!j()||((0,o.gc)(P),I(),!1)}function O(t,e){return!t||!e||L(t,e)||k()}function B(t,e){return!L(t,e)&&!j()}async function I(t){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(_=t,_.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(R=t,R.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(S=t,S.load()))])),await A,(0,i.Te)(t),P.notify()}function N(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),T(t,t[0].spatialReference,e,n)):((0,l.f)(t),T([t],t.spatialReference,e,n)[0])}function T(t,e,n,r){if(null==e||null==n)return t;if(L(e,n,r))return t.map(t=>K(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return T(t.map(t=>K(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return T(t,e,g.A.WGS84).map(t=>K(t,g.A.WGS84,n));if(!j())throw new q;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:S.getTransformation(e,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let i=C[t];i||(i=S.getTransformation(e,n)||new y.A,C[t]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof h.A?_.executeMany(t,n,r):R.executeMany(t,n,r)}function z(t,e,n){try{return N(t,e,n)}catch(t){return null}}function Z(t,e){const n=X([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function X(t,e,n){if(!j())for(const n of t)if(null!=n&&!(0,b.aI)(n.spatialReference,e)&&(0,b.fn)(n.spatialReference)&&(0,b.fn)(e)&&!L(n.spatialReference,e))return(0,o.gc)(P),{pending:I(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,b.aI)(t.spatialReference,e)?t:(0,b.fn)(t.spatialReference)&&(0,b.fn)(e)?N(t,e,n):null)}}class q extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Y(){A=null,_=null,R=null,S=null,C={}}const E={get loadPromise(){return A}};async function F(t,e,n){if((0,i.Te)(n),!t)return t;const r=X(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,i.Te)(n),F(t,e,n);const o=r.geometries??[];return Array.isArray(t)?o:o[0]}function L(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,b.aI)(t,e)||(0,b.fn)(t)&&(0,b.fn)(e)&&!!(0,x.jd)(t,e))}function $(t,e){if((0,b.aI)(t,e))return!0;if(!(0,b.fn)(t)||!(0,b.fn)(e))return!1;const n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t),r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e);return n&&r}async function G(t,e,n,r){if(j())return(0,i.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:i}of t)if(e&&n&&!L(e,n,i))return I(r)}else if(t&&e&&!L(t,e,n))return I(r);return(0,i.NO)(r)}function K(t,e,n){return t?"x"in t?D(t,e,new p.A,n,0):"xmin"in t?nt(t,e,new c.A,n,0):"rings"in t?tt(t,e,new d.A,n,0):"paths"in t?H(t,e,new m.A,n,0):"points"in t?J(t,e,new f.A,n,0):null:null}function W(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=D(t,t.spatialReference,e,n,r)}function D(t,e,n,r,i){it[0]=t.x,it[1]=t.y;const o=t.z;return it[2]=void 0!==o?o:i,(0,M.projectBuffer)(it,e,0,it,r,0)?(n.x=it[0],n.y=it[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=it[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function U(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,i){const{points:o,hasZ:s,hasM:a}=t,l=[],c=o.length,h=[];for(const t of o)h.push(t[0],t[1],s?t[2]:i);if(!(0,M.projectBuffer)(h,e,0,h,r,0,c))return null;const f=s||(0,u.xP)(r);for(let t=0;t<c;++t){const e=3*t,n=h[e],r=h[e+1];f&&a?l.push([n,r,h[e+2],o[t][3]]):f?l.push([n,r,h[e+2]]):a?l.push([n,r,o[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function V(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=H(t,t.spatialReference,e,n,r)}function H(t,e,n,r,i){const{paths:o,hasZ:s,hasM:a}=t,l=[];if(!rt(o,s??!1,a??!1,e,l,r,i))return null;const c=s||(0,u.xP)(r);return n.paths=l,n.spatialReference=r,n.hasZ=c,n.hasM=a,n}function Q(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,r)}function tt(t,e,n,r,i){const{rings:o,hasZ:s,hasM:a}=t,l=[];if(!rt(o,s??!1,a??!1,e,l,r,i))return null;const c=s||(0,u.xP)(r);return n.rings=l,n.spatialReference=r,n.hasZ=c,n.hasM=a,n}function et(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,r)}function nt(t,e,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:c,hasM:h}=t;if(!w(o,s,c?t.zmin:i,e,it,r))return null;const f=c||(0,u.xP)(r);return n.xmin=it[0],n.ymin=it[1],f&&(n.zmin=it[2]),w(a,l,c?t.zmax:i,e,it,r)?(n.xmax=it[0],n.ymax=it[1],f&&(n.zmax=it[2]),h&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function rt(t,e,n,r,i,o,s=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:s);if(!(0,M.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const c=e||(0,u.xP)(o);for(const e of t){const t=new Array;for(const r of e)c&&n?t.push([a[l++],a[l++],a[l++],r[3]]):c?t.push([a[l++],a[l++],a[l++]]):n?(t.push([a[l++],a[l++],r[2]]),l++):(t.push([a[l++],a[l++]]),l++);i.push(t)}return!0}const it=(0,a.vt)()},95488:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(11406);class i extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696:(t,e,n)=>{n.d(e,{A:()=>u});var r,i=n(31635),o=n(69540),s=n(25482),a=n(91429),l=n(93223);let u=class extends((0,o.OU)(s.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(t,e,n)=>{n.d(e,{Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(t){const e=h.get(t);if(e)return e;let n=s;if(t)if(t===a)n=a;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?n=a:((0,o.ZL)(e)||(0,o.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===f?n=a:t===p&&(n=l)}}}return h.set(t,n),n}const h=new Map,f=a.wkt.toUpperCase(),p=l.wkt.toUpperCase()},99157:(t,e,n)=>{n.d(e,{A:()=>a});var r,i=n(31635),o=n(69622),s=n(91429);let a=r=class extends o.A{constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(t,e,n)=>{n.d(e,{A:()=>l});var r,i=n(31635),o=n(69622),s=n(91429),a=n(99157);let l=r=class extends o.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,i.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,e,n,r,i,o,s,a,l,u,c,f,h,p,d,m){return[t,e,n,r,i,o,s,a,l,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>i});var r=n(37539);function i(t,e,n,i,o,s,a=Math.floor(t.length/3)){const l=(0,r.jd)(e,o);if(null==l)return!1;if(l===r.pO){if(t===i&&n===s)return!0;const e=n+3*a;for(let r=n,o=s;r<e;r++,o++)i[o]=t[r]??0;return!0}const u=n+3*a;for(let e=n,r=s;e<u;e+=3,r+=3)l(t,e,i,r);return!0}},11006:(t,e,n)=>{function r(t,e,n,r,o){i(t,e,n||0,r||t.length-1,o||s)}function i(t,e,n,r,s){for(;r>n;){if(r-n>600){var a=r-n+1,l=e-n+1,u=Math.log(a),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(a-c)/a)*(l-a/2<0?-1:1);i(t,e,Math.max(n,Math.floor(e-l*c/a+f)),Math.min(r,Math.floor(e+(a-l)*c/a+f)),s)}var h=t[e],p=n,d=r;for(o(t,n,e),s(t[r],h)>0&&o(t,n,r);p<d;){for(o(t,p,d),p++,d--;s(t[p],h)<0;)p++;for(;s(t[d],h)>0;)d--}0===s(t[n],h)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function s(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(31635),i=n(69540),o=n(25482),s=n(91429),a=n(51850),l=n(93223);let u=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276:(t,e,n)=>{n.d(e,{H:()=>o,f:()=>i});var r=n(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(t){t.forEach(i)}},22141:(t,e,n)=>{n.d(e,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>_,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>A,si:()=>w,xA:()=>R});var r=n(34727),i=n(77690),o=n(29242),s=n(58083),a=n(9093),l=n(38954),u=n(51850),c=n(48353),f=n(9762),h=(n(79258),n(21325)),p=n(28735),d=n(13030),m=n(73354),g=n(65686);const y="Projection may be possible after calling projection.load().";function M(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function x(t,e,n,r,i,o){return C(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function w(t,e,n,r,i,o){return C(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o))?o:null}function v(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function b(t,e,n,r){return(0,f.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n){return(0,i.Ge)(P,n),(0,m.b)(e,t,P),(0,r.or)(P)&&(0,m.n)(e,e),e}function _(t,e,n){return(0,i.z0)(P,n),(0,g.t)(e,t,P),(0,r.or)(P)&&(0,m.n)(e,e,4),e}function R(t,e,n,r,i,o){if(!C(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function S(t,e,n,r,i,o){if(!C(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),n,d.Xm.fromTypedArray(r),i,d.xs.fromTypedArray(o,16)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function j(t,e,n,r,o){switch((0,c.l)(r,n,O,r),1===t&&(0,s.B8)(O,O),e){case 0:return(0,i.Ge)(o,O);case 1:return(0,i.z0)(o,O)}}function C(t,e,n,r,i,o,s,a){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,h.x1)(t)||(0,h.q8)(t)||(0,h.KQ)(t)}(i))for(let r=0;r<u;r++)o.getVec(r,k),e.getVec(r,B),(0,l.t)(B,B,j(t,n,k,s,P)),a.setVec(r,B);else for(let i=0;i<u;i++){o.getVec(i,k),e.getVec(i,B);const u=(0,p.jg)(r.get(i,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),j(t,n,k,s,P),0===t?(P[0]*=c,P[1]*=c,P[2]*=c,P[3]*=c,P[4]*=c,P[5]*=c):(P[0]*=c,P[3]*=c,P[6]*=c,P[1]*=c,P[4]*=c,P[7]*=c),(0,l.t)(B,B,P),(0,l.n)(B,B),a.setVec(i,B)}return a}const k=(0,u.vt)(),B=(0,u.vt)(),O=(0,a.vt)(),P=(0,o.vt)()},27615:(t,e,n)=>{n.d(e,{CK:()=>l,Hq:()=>a,MW:()=>u,TE:()=>c,yJ:()=>f});var r=n(38954),i=n(86738),o=n(95696),s=n(18251);function a(t){return null!=t.origin}function l(t){return a(t.vertexSpace)}function u(t,e){if(!a(t))return null;const[n,r,o]=t.origin;return new i.A({x:n,y:r,z:o,spatialReference:e})}function c(t,e){const{x:n,y:r,z:i,spatialReference:a}=t,l=[n,r,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(a))?new s.A({origin:l}):new o.A({origin:l})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.m)(t.origin,e.origin))}},28735:(t,e,n)=>{n.d(e,{Cv:()=>y,Gh:()=>w,ci:()=>v,je:()=>M,jg:()=>h,tD:()=>x,y7:()=>g});var r=n(4718),i=n(21276),o=n(16930),s=n(79258),a=n(21325);const l=57.29577951308232,u=.017453292519943;function c(t){return t*l}function f(t){return t*u}function h(t){return Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))}function p(t){return null!=t.wkid||null!=t.wkt}const d=[0,0];function m(t,e,n,r,i){const o=t,s=i;if(s.spatialReference=n,"x"in o&&"x"in s)[s.x,s.y]=e(o.x,o.y,d,r);else if("xmin"in o&&"xmin"in s)[s.xmin,s.ymin]=e(o.xmin,o.ymin,d,r),[s.xmax,s.ymax]=e(o.xmax,o.ymax,d,r);else if("paths"in o&&"paths"in s||"rings"in o&&"rings"in s){const t="paths"in o?o.paths:o.rings,n=[];let i;for(let o=0;o<t.length;o++){const s=t[o];i=[],n.push(i);for(let t=0;t<s.length;t++)i.push(e(s[t][0],s[t][1],[0,0],r)),s[t].length>2&&i[t].push(s[t][2]),s[t].length>3&&i[t].push(s[t][3])}"paths"in s?s.paths=n:s.rings=n}else if("points"in o&&"points"in s){const t=o.points,n=[];for(let i=0;i<t.length;i++)n[i]=e(t[i][0],t[i][1],[0,0],r),t[i].length>2&&n[i].push(t[i][2]),t[i].length>3&&n[i].push(t[i][3]);s.points=n}return i}function g(t,e){const n=t&&(p(t)?t:t.spatialReference),r=e&&(p(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,a.aI)(r,n)||(0,a.K8)(r)&&(0,a.oT)(n)||(0,a.K8)(n)&&(0,a.oT)(r))}function y(t,e){if(null==t)return null;const n=t.spatialReference,i=e&&(p(e)?e:e.spatialReference);return g(n,i)?(0,a.aI)(n,i)?(0,r.o8)(t):(0,a.K8)(i)?m(t,M,o.A.WebMercator,!1,(0,r.o8)(t)):(0,a.oT)(i)?m(t,x,o.A.WGS84,!1,(0,r.o8)(t)):null:null}function M(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=f(e);return n[0]=f(t)*s.$O.radius,n[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function x(t,e,n=[0,0],r=!1){if(t===a.Mc[0])n[0]=-180;else if(t===a.Mc[1])n[0]=180;else{const e=c(t/s.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=c(Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))),n}function w(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,M,o.A.WebMercator,e,n)}function v(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),m(t,x,o.A.WGS84,e,n)}},31635:(t,e,n)=>{function r(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function i(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new o(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},34304:(t,e,n)=>{n.d(e,{DF:()=>l,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,s=Math.PI/180,a=180/Math.PI;function l(t){return t*s}function u(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){r=t},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},37539:(t,e,n)=>{n.d(e,{pO:()=>m,jd:()=>h,Tp:()=>p,w5:()=>f});var r=n(34727),i=n(86211),o=n(73941),s=n(79258);Math.PI;const a=s.$O.radius,l=s.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const f={2:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:C},5:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:y,11:M,2:m,4:C},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){const i=t[e]/T,o=I-2*Math.atan(Math.exp(-t[e+1]/T)),s=T+(t[e+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:m,11:function(t,e,n,r){g(t,e,n,r),M(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),C(n,r,n,r)}},4:{5:k,7:null,9:null,10:k,1:function(t,e,n,r){k(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){k(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){k(t,e,n,r),M(n,r,n,r)},2:k,4:m},1:{5:j,7:null,9:null,10:j,1:m,6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),M(n,r,n,r)},2:j,4:function(t,e,n,r){j(t,e,n,r),C(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:A,6:b,8:v,0:null,3:y,11:M,2:m,4:C},11:{5:x,7:null,9:null,10:x,1:function(t,e,n,r){x(t,e,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){x(t,e,n,r),y(n,r,n,r)},11:m,2:x,4:function(t,e,n,r){x(t,e,n,r),C(n,r,n,r)}}};function h(t,e){return p(t,e)?.projector}function p(t,e){if(null==t||null==e)return null;if(B.source.spatialReference===t&&B.dest.spatialReference===e)return B;const n=d(t,B.source),r=d(e,B.dest);return 0===n&&0===r?(0,c.aI)(t,e)?B.projector=m:B.projector=null:B.projector=f[n][r],B}function d(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,i.GA)(t,1)),(0,o.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===o.FY.wkt?e.spatialReferenceId=6:t.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function m(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function g(t,e,n,r){n[r]=P*(t[e]/T),n[r+1]=P*(I-2*Math.atan(Math.exp(-t[e+1]/T))),n[r+2]=t[e+2]??0}function y(t,e,n,i){!function(t,e,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(O*t[e+1],-s,s),l=Math.sin(a);n[i++]=O*t[e]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=t[e+2]??0}(t,e,n,i,s.$O)}function M(t,e,n,r){n[r]=t[e]*N,n[r+1]=t[e+1]*N,n[r+2]=t[e+2]??0}function x(t,e,n,r){n[r]=t[e]*z,n[r+1]=t[e+1]*z,n[r+2]=t[e+2]??0}function w(t,e,n,r,i){const o=i+(t[e+2]??0),s=O*t[e],a=O*t[e+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function v(t,e,n,r){w(t,e,n,r,s.Sw.radius)}function b(t,e,n,r){w(t,e,n,r,s.sH.radius)}function A(t,e,n,r){w(t,e,n,r,s.$O.radius)}function _(t,e,n,i,o){const s=t[e],a=t[e+1],l=t[e+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),f=Math.atan2(a,s);n[i++]=P*f,n[i++]=P*c,n[i]=u-o}function R(t,e,n,r){_(t,e,n,r,s.Sw.radius)}function S(t,e,n,r){_(t,e,n,r,s.sH.radius)}function j(t,e,n,r){_(t,e,n,r,s.$O.radius)}function C(t,e,n,r){!function(t,e,n,r,i){const o=O*t[e],s=O*t[e+1],a=t[e+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(t,e,n,r,s.$O)}function k(t,e,n,r){const i=u,o=t[e],a=t[e+1],l=t[e+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,A,_,R,S,j,C,k,B;c=Math.abs(l),f=o*o+a*a,h=Math.sqrt(f),p=f+l*l,d=Math.sqrt(p),k=Math.atan2(a,o),m=l*l/p,g=f/p,A=i.a2/d,_=i.a3-i.a4/d,g>.3?(y=c/d*(1+g*(i.a1+A+m*_)/d),C=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(i.a5-A-g*_)/d),C=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-s.$O.eccentricitySquared*x,v=s.$O.radius/Math.sqrt(w),b=i.a6*v,A=h-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,j=R/(b/w+S),C+=j,B=S+R*j/2,l<0&&(C=-C),n[r++]=P*k,n[r++]=P*C,n[r]=B}const B={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},O=(0,r.kU)(1),P=(0,r.KJ)(1),I=.5*Math.PI,T=s.$O.radius,N=T*Math.PI/180,z=180/(T*Math.PI)},38419:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var r=n(44208),i=n(75503),o=n(95696),s=n(72258);class a{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new i.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i}=t,a=(0,s.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i},o.A.absolute,{allowBufferReuse:!0})?.position;return a?!t.components||t.components.some(t=>!t.faces)?{position:a.buffer}:{position:a.buffer,components:t.components.map(t=>t.faces)}:null}(t),a=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return l().fromJSON(a)}createIndexThread(t){const e=l();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const i=new Array(r);let o=0;for(const t of n)for(let n=0;n<t.length;n+=3)i[o++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(i),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function l(){return new i.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},38954:(t,e,n)=>{n.d(e,{A:()=>f,B:()=>M,C:()=>T,D:()=>w,E:()=>I,F:()=>q,G:()=>Y,H:()=>E,a:()=>N,b:()=>o,c:()=>y,d:()=>s,e:()=>u,f:()=>R,g:()=>_,h:()=>a,i:()=>l,j:()=>g,l:()=>S,m:()=>P,n:()=>A,o:()=>b,p:()=>j,q:()=>v,r:()=>k,s:()=>x,t:()=>C,u:()=>Z,v:()=>h,w:()=>m,x:()=>d,y:()=>p,z:()=>c});var r=n(51850),i=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],i=e[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],i=e[1],o=e[2],s=n[0],a=n[1],l=n[2];return t[0]=i*l-o*a,t[1]=o*s-r*l,t[2]=r*a-i*s,t}function S(t,e,n,r){const i=e[0],o=e[1],s=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=s+r*(n[2]-s),t}function j(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12],t[1]=n[1]*r+n[5]*i+n[9]*o+n[13],t[2]=n[2]*r+n[6]*i+n[10]*o+n[14],t}function C(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function k(t,e,n){const r=n[0],i=n[1],o=n[2],s=n[3],a=e[0],l=e[1],u=e[2],c=i*u-o*l,f=o*a-r*u,h=r*l-i*a,p=i*h-o*f,d=o*c-r*h,m=r*f-i*c,g=2*s;return t[0]=a+c*g+2*p,t[1]=l+f*g+2*d,t[2]=u+h*g+2*m,t}const B=(0,r.vt)(),O=(0,r.vt)();function P(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function I(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],s=e[0],a=e[1],l=e[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function T(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],o=n[2]-e[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=i*s,t[2]=o*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=u,z=c,X=f,q=M,Y=x,Z=o,E=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:function(t,e){A(B,t),A(O,e);const n=_(B,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,f=3*l*s,h=l*o;return t[0]=e[0]*u+n[0]*c+r[0]*f+i[0]*h,t[1]=e[1]*u+n[1]*c+r[1]*f+i[1]*h,t[2]=e[2]*u+n[2]*c+r[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],o=e[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,f=r*a-i*s,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:T,dist:q,distance:M,div:X,divide:f,dot:_,equals:I,exactEquals:P,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return t[0]=e[0]*a+n[0]*l+r[0]*u+i[0]*c,t[1]=e[1]*a+n[1]*l+r[1]*u+i[1]*c,t[2]=e[2]*a+n[2]*l+r[2]*u+i[2]*c,t},inverse:b,len:Z,length:o,lerp:S,max:m,min:d,mul:z,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=o*e,t},rotateX:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:p,sqrDist:Y,sqrLen:E,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:u,transformMat3:C,transformMat4:j,transformQuat:k},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>d,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!r[t]||!!r[t.toLowerCase()]}function o(t){return r[t]??r[t.toLowerCase()]}function s(t){return[...o(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,s=2*n-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let s=Number("0x"+t.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&r,s>>=n,a[3]=i*l/255),l=s&r,s>>=n,a[2]=i*l,l=s&r,s>>=n,a[1]=i*l,l=s&r,s>>=n,a[0]=i*l,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=i(t)?o(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163:(t,e,n)=>{function r(){return[0,0]}function i(t){return[t[0],t[1]]}function o(t,e){return[t,e]}function s(){return o(1,1)}function a(){return o(1,0)}function l(){return o(0,1)}n.d(e,{Un:()=>u,fA:()=>o,o8:()=>i,vt:()=>r});const u=s(),c=a(),f=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:o,ones:s,unitX:a,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,e,n)=>{n.d(e,{l:()=>u});var r=n(34727),i=n(58083),o=n(51850);function s(t,e,n){const r=Math.sin(t),i=Math.cos(t),o=Math.sin(e),s=Math.cos(e),a=n;return a[0]=-r,a[4]=-o*i,a[8]=s*i,a[12]=0,a[1]=i,a[5]=-o*r,a[9]=s*r,a[13]=0,a[2]=0,a[6]=s,a[10]=o,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=n(37539),l=n(21325);function u(t,e,n,r){const o=(0,a.Tp)(t,r);if(null==o)return!1;const u=o.source.spatialReferenceId,d=o.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,l.aI)(t,r)))return(0,i.kN)(n,e),!0;if(c(d)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),s(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),m?function(t,e,n){s(t,e,n),(0,i.mg)(n,n)}(f*h[0],f*h[1],n):(0,i.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,o.vt)(),p=(0,o.vt)()},48526:(t,e,n)=>{n.d(e,{A:()=>d});var r,i=n(31635),o=n(4718),s=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),f=n(90634),h=n(56993),p=n(43937);let d=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:i}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:i}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,f.ge)(this);return t?new a.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:i})}addPoint(t){return(0,h.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new u.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new u.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,h.h)(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.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,s.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],d.prototype,"points",void 0),(0,i.Cg)([(0,p.K)("points")],d.prototype,"writePoints",null),d=r=(0,i.Cg)([(0,s.$K)("esri.geometry.Multipoint")],d),d.prototype.toJSON.isDefaultToJSON=!0},51850:(t,e,n)=>{function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,e,n){return[t,e,n]}function s(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(e,{CN:()=>s,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>a,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0],p=l(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:i,create:r,freeze:s,fromArray:a,fromValues:o,ones:l,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},65806:(t,e,n)=>{n.d(e,{g:()=>s});var r=n(51850),i=n(91218),o=n(9762);function s(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,o.projectBuffer)(a,t.spatialReference,0,e,n,0);const s=(0,i.tryProject)(t,n,r);return!!s&&(e[0]=s.x,e[1]=s.y,e[2]=s.z??0,!0)}const a=(0,r.vt)()},69540:(t,e,n)=>{n.d(e,{OU:()=>c,Pw:()=>f});var r=n(31635),i=n(69622),o=(n(44208),n(4718)),s=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,a.oY)(this);(0,s.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,i={},l=new Map;for(const e in n){const s=n[e],a=r?.originOf(e),u=s.clonable;if(s.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let f=null;if("function"==typeof u)f=u(c,t);else if("reference"===u)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===a?l.set(e,f):i[e]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(l.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,n]of l)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],i),i},f=c(i.A)},72258:(t,e,n)=>{n.d(e,{UR:()=>v,p5:()=>w,xK:()=>j});var r=n(53966),i=n(34727),o=n(86211),s=n(77690),a=n(29242),l=n(58083),u=n(9093),c=n(38954),f=n(51850),h=n(98764),p=n(48353),d=n(65806),m=n(27615),g=n(21325),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const i=t;if(!(0,d.g)(e,i,r))return!1;const{origin:o}=n;return(0,c.e)(t,i,o),!0}const i=(0,h.lO)(r),o=t;if(!(0,d.g)(e,o,i))return!1;const{origin:s}=n,a=P;if(!(0,p.l)(r,s,a,i))return!1;const u=(0,l.B8)(P,a);return null!=u&&((0,c.p)(t,o,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:i,vertexAttributes:o}=t,a=(0,m.Hq)(r)?i:null,f=R(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!a||(0,l.t2)(a.localMatrix,u.zK))&&S(f)){const{position:t,normal:e,tangent:r}=o,i=n?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const s=b(e,o);if(!(0,p.l)(e,r,C,s))return(0,M.CN)(x(),e,s),null;if(n&&(0,l.lw)(C,C,n.localMatrix),!(0,p.l)(e,i,k,s))return(0,M.CN)(x(),s,e),null;(0,l.B8)(k,k);const a=(0,l.lw)(C,k,C);return _(a,e,o,3),A(t,a)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},i,o){const s=b(t,o);if(!(0,p.l)(t,r,C,s))return(0,M.CN)(x(),t,s),null;n&&(0,l.lw)(C,C,n.localMatrix),_(C,t,o,1);const a=new Float64Array(e.position.length),u=function(t,e,n,r,i){(0,y.t)(r,t,e);const o=new Float64Array(t.length);return(0,M.$5)(r,i,o,n)?o:((0,M.CN)(x(),i,n),null)}(e.position,C,t,a,s);if(!u)return null;const f=function(t,e,n,r,i,o){if(null==i)return null;const s=new Float32Array(i.length);return(0,M.qs)(i,s,o),(0,M.si)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.normal,C);if(e.normal&&!f)return null;const h=function(t,e,n,r,i,o){if(null==i)return null;const s=new Float32Array(i.length);return(0,M.KM)(i,s,o),(0,M.Mv)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.tangent,C);if(e.tangent&&!h)return null;if(i){const t=(0,c.q)(O,i);(0,y.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const a=b(e,o);if(!(0,p.l)(e,i,C,a))return(0,M.CN)(x(),e,a),null;const u=1/R(e,o,2);(0,l.hs)(C,C,[u,u,u]);const c=(0,l.B8)(k,C),{position:f,normal:h,tangent:d}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:i}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:i,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(f.length),g=function(t,e,n,r,i){const o=(0,M.gr)(t,e,r,i);if(!o)return(0,M.CN)(x(),e,i),null;const s=new Float64Array(o.length);return(0,y.t)(s,o,n),s}(f,e,c,m,a);if(!g)return null;const w=(0,s.Ge)(B,c),v=function(t,e,n,r,i,o,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,i,a)?((0,y.b)(a,a,o),a):((0,M.CN)(x(),n,i),null)}(h,f,e,m,a,w,h!==t.normal?h:void 0);if(!v&&h)return null;const _=function(t,e,n,r,i,o,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,i,a)?((0,y.b)(a,a,o,4),a):((0,M.CN)(x(),n,i),null)}(d,f,e,m,a,w,d!==t.tangent?d:void 0);return!_&&d?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},i,o){const s=R(n,o,3),a=r||!S(s)?(0,l.C)(C,e?.localMatrix??u.zK):null;a&&_(a,n,o,3);const{position:f,normal:h,tangent:p}=a?A(t,a):t,d=o?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),i){const t=(0,c.q)(O,i);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,g.B3)(t)?h.Y0:(0,h.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:n,normal:r,tangent:i}}function _(t,e,n,r){const i=R(e,n,r);S(i)||(0,l.hs)(t,t,[i,i,i])}function R(t,e,n){const r=!!(1&n),i=!!(2&n),o=e?.sourceUnit,s=e?.targetUnit;if(!o&&!s)return 1;let a=j(o,t);r||!o||S(a)||(x().warn("source unit conversion not supported"),a=1);let l=1/j(s,t);return i||!s||S(l)||(x().warn("target unit conversion not supported"),l=1),a*l}function S(t){return(0,i.Io)(t,1)}function j(t,e){if(null==t)return 1;const n=(0,o.KX)(e);return 1/(0,o.oU)(n,"meters",t)}const C=(0,u.vt)(),k=(0,u.vt)(),B=(0,a.vt)(),O=(0,f.vt)(),P=(0,u.vt)()},73354:(t,e,n)=>{n.d(e,{a:()=>f,b:()=>a,c:()=>s,d:()=>i,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>o});var r=n(40876);function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return t;const o=t.length/r,s=n[0],a=n[1],l=n[2],u=n[4],c=n[5],f=n[6],h=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<o;n++){const n=e[M],o=e[M+1],w=e[M+2];t[x]=s*n+u*o+h*w+m,t[x+1]=a*n+c*o+p*w+g,t[x+2]=l*n+f*o+d*w+y,M+=i,x+=r}return t}function s(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return;const o=t.length/r,s=n[0],a=n[1],l=n[2],u=n[3],c=n[4],f=n[5],h=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<o;n++){const n=e[m],o=e[m+1],y=e[m+2];t[g]=s*n+u*o+h*y,t[g+1]=a*n+c*o+p*y,t[g+2]=l*n+f*o+d*y,m+=i,g+=r}}function l(t,e,n,r=3,i=r){const o=Math.min(t.length/r,e.length/i);let s=0,a=0;for(let l=0;l<o;l++)t[a]=n*e[s],t[a+1]=n*e[s+1],t[a+2]=n*e[s+2],s+=i,a+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,i,o=3,s=o){const a=Math.min(t.length/o,e.length/s);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<a;r++)t[u]=i*(n*e[l])**c,t[u+1]=i*(n*e[l+1])**c,t[u+2]=i*(n*e[l+2])**c,l+=s,u+=o}function f(t,e,n,r=3,i=r){const o=t.length/r;if(o!==Math.ceil(e.length/i))return t;let s=0,a=0;for(let l=0;l<o;l++)t[a]=e[s]+n[0],t[a+1]=e[s+1]+n[1],t[a+2]=e[s+2]+n[2],s+=i,a+=r;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let o=0,s=0;for(let a=0;a<i;a++){const i=e[o],a=e[o+1],l=e[o+2],u=i*i+a*a+l*l;if(u>0){const e=1/Math.sqrt(u);t[s]=e*i,t[s+1]=e*a,t[s+2]=e*l}o+=r,s+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,o=t.typedBufferStride,s=e.typedBuffer,a=e.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)i[u]=s[l]>>n,i[u+1]=s[l+1]>>n,i[u+2]=s[l+2]>>n,l+=a,u+=o},transformMat3:a,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(t,e,n)=>{n.d(e,{EC:()=>R,wq:()=>a});var r=n(4576),i=n(21818),o=(n(44208),n(15142)),s=n(11006);class a{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){l(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let i=0,o=n.children.length;i<o;i++){const o=n.children[i],s=n.leaf?r(o):o;x(t,s)&&(n.leaf?e(o):M(t,s)?l(o,e):v.push(o))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r],o=e.leaf?n(i):i;if(x(t,o)){if(e.leaf||M(t,o))return!0;v.push(i)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new j([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,s=0,a=!1;const l=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),o=A.data[A.length-1],s=_.pop()??0,a=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,i.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;a||n.leaf||!M(n,l)?o?(s++,n=o.children[s],a=!1):n=null:(A.push(n),_.push(s),s=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const i=n-e+1;let o=this._maxEntries;if(i<=o){const r=new j(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(o)),o=Math.ceil(i/o**(r-1)));const s=new C([]);s.height=r;const a=Math.ceil(i/o),l=a*Math.ceil(Math.sqrt(o));w(t,e,n,l,this._compareMinX);for(let i=e;i<=n;i+=l){const e=Math.min(i+l-1,n);w(t,i,e,a,this._compareMinY);for(let n=i;n<=e;n+=a){const i=Math.min(n+a-1,e);s.children.push(this._build(t,n,i,r-1))}}return u(s,this._toBBox),s}_insert(t,e,n){const r=this._toBBox,i=n?t:r(t);A.clear();const o=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let o=0,s=e.children.length;o<s;o++){const s=e.children[o],a=d(s),l=g(t,s)-a;l<i?(i=l,r=a<r?a:r,n=s):l===i&&a<r&&(r=a,n=s)}e=n||e.children[0]}return e}(i,this._data,e,A);for(o.children.push(t),f(o,i);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(i,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const o=this._chooseSplitIndex(n,i,r);if(!o)return;const s=n.children.splice(o,n.children.length-o),a=n.leaf?new j(s):new C(s);a.height=n.height,u(n,this._toBBox),u(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this._data=new C([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,i,o;r=i=1/0;for(let s=e;s<=n-e;s++){const e=c(t,0,s,this._toBBox),a=c(t,s,n,this._toBBox),l=y(e,a),u=d(e)+d(a);l<r?(r=l,o=s,i=u<i?u:i):l===r&&u<i&&(i=u,o=s)}return o}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,i)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const i=this._toBBox,o=c(t,0,e,i),s=c(t,n-e,n,i);let a=m(o)+m(s);for(let r=e;r<n-e;r++){const e=t.children[r];f(o,t.leaf?i(e):e),a+=m(o)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(s,t.leaf?i(e):e),a+=m(s)}return a}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const i=t.data[e-1],o=i.children;o.splice((0,r.qh)(o,n,o.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function l(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,i.z)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,i){i||(i=new j([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o,s=e;s<n;s++)o=t.children[s],f(i,t.leaf?r(o):o);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,o-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,i){const o=[e,n];for(;o.length;){const e=o.pop(),n=o.pop();if(e-n<=r)continue;const a=n+Math.ceil((e-n)/r/2)*r;(0,s.q)(t,a,n,e,i),o.push(n,a,a,e)}}const v=new o.A,b=new o.A,A=new o.A,_=new o.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class j extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class C extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},86738:(t,e,n)=>{n.d(e,{A:()=>x});var r=n(31635),i=n(69622),o=n(53966),s=n(91429),a=n(56507),l=n(91075),u=n(16930),c=n(21325),f=n(28735);function h({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,f.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends l.A{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 n=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(n)?n:n.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,n,r,i){let s;if(Array.isArray(t))s=t,i=e,t=s[0],e=s[1],n=s[2],r=s[3];else if(t&&"object"==typeof t){if(s=t,t=null!=s.x?s.x:s.longitude,e=null!=s.y?s.y:s.latitude,n=s.z,r=s.m,(i=s.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&i?.isWebMercator){const n=(0,f.je)(s.longitude,s.latitude,y);t=n[0],e=n[1]}}else M(n)?(i=n,n=null):M(r)&&(i=r,r=null);const a={x:t,y:e};return null==a.x&&null!=a.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=n&&(a.z=n),null!=r&&(a.m=r),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(){return h(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,f.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;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 d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:i,spatialReference:o}=this,{z:s,m:a}=t;let{x:l,y:u,spatialReference:c}=t;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[l,u]=(0,f.je)(l,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,f.tD)(l,u),c=o}return e===l&&n===u&&r===s&&i===a&&o.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,i=2*r;let o;return e>r?(o=Math.ceil(Math.abs(e-r)/i),e-=o*i):e<n&&(o=Math.ceil(Math.abs(e-n)/i),e+=o*i),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+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,r.Cg)([(0,s.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(t=>isNaN(t)?t:(0,a.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,s.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(31635),i=n(25482),o=n(91429),s=n(16930),a=n(36005);let l=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof s.A)return t;if(null!=t){const n=new s.A;return n.read(t,e),n}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,r.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,o.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,o.$K)("esri.geometry.Geometry")],l)},91218:(t,e,n)=>{n.r(e),n.d(e,{canProjectWithoutEngine:()=>L,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>B,isLoadedOrLoadFor:()=>O,load:()=>I,project:()=>T,projectAsync:()=>F,projectExtent:()=>et,projectMany:()=>N,projectMultipoint:()=>D,projectOrLoad:()=>X,projectOrLoadMany:()=>q,projectPoint:()=>K,projectPolygon:()=>Q,projectPolyline:()=>J,projectWithoutEngine:()=>W,requiresLoad:()=>P,test:()=>E,tryProject:()=>z,unload:()=>Z});var r=n(49186),i=n(74887),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(159),M=n(9762),x=n(37539);function w(t,e,n,r,i,o){return v[0]=t,v[1]=e,v[2]=n,(0,M.projectBuffer)(v,r,0,i,o,0)}const v=(0,a.vt)();var b=n(21325);let A=null,_=null,R=null,S=null,j={};const C=new s.I;function k(){return!!(_?.isLoaded()&&R?.isLoaded()&&S?.isLoaded())}function B(){return!!k()||((0,o.gc)(C),I(),!1)}function O(t,e){return!t||!e||L(t,e)||B()}function P(t,e){return!L(t,e)&&!k()}async function I(t){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(_=t,_.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(R=t,R.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(S=t,S.load()))])),await A,(0,i.Te)(t),C.notify()}function T(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),N(t,t[0].spatialReference,e,n)):((0,l.f)(t),N([t],t.spatialReference,e,n)[0])}function N(t,e,n,r){if(null==e||null==n)return t;if(L(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return N(t.map(t=>W(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return N(t,e,g.A.WGS84).map(t=>W(t,g.A.WGS84,n));if(!k())throw new Y;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:S.getTransformation(e,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let i=j[t];i||(i=S.getTransformation(e,n)||new y.A,j[t]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?_.executeMany(t,n,r):R.executeMany(t,n,r)}function z(t,e,n){try{return T(t,e,n)}catch(t){return null}}function X(t,e){const n=q([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(t,e,n){if(!k())for(const n of t)if(null!=n&&!(0,b.aI)(n.spatialReference,e)&&(0,b.fn)(n.spatialReference)&&(0,b.fn)(e)&&!L(n.spatialReference,e))return(0,o.gc)(C),{pending:I(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,b.aI)(t.spatialReference,e)?t:(0,b.fn)(t.spatialReference)&&(0,b.fn)(e)?T(t,e,n):null)}}class Y extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){A=null,_=null,R=null,S=null,j={}}const E={get loadPromise(){return A}};async function F(t,e,n){if((0,i.Te)(n),!t)return t;const r=q(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,i.Te)(n),F(t,e,n);const o=r.geometries??[];return Array.isArray(t)?o:o[0]}function L(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,b.aI)(t,e)||(0,b.fn)(t)&&(0,b.fn)(e)&&!!(0,x.jd)(t,e))}function $(t,e){if((0,b.aI)(t,e))return!0;if(!(0,b.fn)(t)||!(0,b.fn)(e))return!1;const n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t),r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e);return n&&r}async function G(t,e,n,r){if(k())return(0,i.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:i}of t)if(e&&n&&!L(e,n,i))return I(r)}else if(t&&e&&!L(t,e,n))return I(r);return(0,i.NO)(r)}function W(t,e,n){return t?"x"in t?U(t,e,new p.A,n,0):"xmin"in t?nt(t,e,new c.A,n,0):"rings"in t?tt(t,e,new d.A,n,0):"paths"in t?H(t,e,new m.A,n,0):"points"in t?V(t,e,new h.A,n,0):null:null}function K(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=U(t,t.spatialReference,e,n,r)}function U(t,e,n,r,i){it[0]=t.x,it[1]=t.y;const o=t.z;return it[2]=void 0!==o?o:i,(0,M.projectBuffer)(it,e,0,it,r,0)?(n.x=it[0],n.y=it[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=it[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function D(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=V(t,t.spatialReference,e,n,r)}function V(t,e,n,r,i){const{points:o,hasZ:s,hasM:a}=t,l=[],c=o.length,f=[];for(const t of o)f.push(t[0],t[1],s?t[2]:i);if(!(0,M.projectBuffer)(f,e,0,f,r,0,c))return null;const h=s||(0,u.xP)(r);for(let t=0;t<c;++t){const e=3*t,n=f[e],r=f[e+1];h&&a?l.push([n,r,f[e+2],o[t][3]]):h?l.push([n,r,f[e+2]]):a?l.push([n,r,o[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function J(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=H(t,t.spatialReference,e,n,r)}function H(t,e,n,r,i){const{paths:o,hasZ:s,hasM:a}=t,l=[];if(!rt(o,s??!1,a??!1,e,l,r,i))return null;const c=s||(0,u.xP)(r);return n.paths=l,n.spatialReference=r,n.hasZ=c,n.hasM=a,n}function Q(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,r)}function tt(t,e,n,r,i){const{rings:o,hasZ:s,hasM:a}=t,l=[];if(!rt(o,s??!1,a??!1,e,l,r,i))return null;const c=s||(0,u.xP)(r);return n.rings=l,n.spatialReference=r,n.hasZ=c,n.hasM=a,n}function et(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,r)}function nt(t,e,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:c,hasM:f}=t;if(!w(o,s,c?t.zmin:i,e,it,r))return null;const h=c||(0,u.xP)(r);return n.xmin=it[0],n.ymin=it[1],h&&(n.zmin=it[2]),w(a,l,c?t.zmax:i,e,it,r)?(n.xmax=it[0],n.ymax=it[1],h&&(n.zmax=it[2]),f&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function rt(t,e,n,r,i,o,s=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:s);if(!(0,M.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const c=e||(0,u.xP)(o);for(const e of t){const t=new Array;for(const r of e)c&&n?t.push([a[l++],a[l++],a[l++],r[3]]):c?t.push([a[l++],a[l++],a[l++]]):n?(t.push([a[l++],a[l++],r[2]]),l++):(t.push([a[l++],a[l++]]),l++);i.push(t)}return!0}const it=(0,a.vt)()},95488:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(11406);class i extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696:(t,e,n)=>{n.d(e,{A:()=>u});var r,i=n(31635),o=n(69540),s=n(25482),a=n(91429),l=n(93223);let u=class extends((0,o.OU)(s.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(t,e,n)=>{n.d(e,{Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=s;if(t)if(t===a)n=a;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?n=a:((0,o.ZL)(e)||(0,o.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=a:t===p&&(n=l)}}}return f.set(t,n),n}const f=new Map,h=a.wkt.toUpperCase(),p=l.wkt.toUpperCase()},99157:(t,e,n)=>{n.d(e,{A:()=>a});var r,i=n(31635),o=n(69622),s=n(91429);let a=r=class extends o.A{constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7229],{2272:(e,t,i)=>{i.d(t,{Dl:()=>u,gf:()=>d,jV:()=>l,lF:()=>h});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function h(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>h(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function d(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7330),i.e(168),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},29432:(e,t,i)=>{i.r(t),i.d(t,{default:()=>v});var s=i(49186),n=i(60408),r=i(21325),o=i(90708),a=i(33032),l=i(83221),u=i(31464),h=i(56390),d=i(64714),c=i(82832),p=i(95466),f=i(98453),m=i(30524),y=i(98623);const g=r.KK,_={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:r.KK},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:c.PC};function x(e){return(0,n.fT)(e)?null!=e.z:!!e.hasZ}function I(e){return(0,n.fT)(e)?null!=e.m:!!e.hasM}class v{constructor(){this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!n.hasM,c=null!=e.hasZ?e.hasZ:!!n.hasZ,x=!e.spatialReference&&!n.spatialReference,I=x?g:e.spatialReference||n.spatialReference,v=x?_:null,S=e.geometryType||n.geometryType,M=!S;let B=e.objectIdField||n.objectIdField,A=e.timeInfo;const w=new p.A(r);if(!M&&(x&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!S))throw new s.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(!B)throw new s.A("feature-layer:missing-property","objectIdField not set and couldn't be found in the provided fields");if(n.objectIdField&&B!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${B}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),B=n.objectIdField),B&&!n.objectIdField){const e=w.get(B);e?(B=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:B,name:B,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new s.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===B&&(e.type="esriFieldTypeOID"),!f.m.jsonValues.includes(e.type))throw new s.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,m._b)(e))}const F={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,m.lD)(e);void 0!==t&&(F[e.name]=t)}if(A){if(A.startTimeField){const e=w.get(A.startTimeField);e?(A.startTimeField=e.name,e.type="esriFieldTypeDate"):A.startTimeField=null}if(A.endTimeField){const e=w.get(A.endTimeField);e?(A.endTimeField=e.name,e.type="esriFieldTypeDate"):A.endTimeField=null}if(A.trackIdField){const e=w.get(A.trackIdField);e?A.trackIdField=e.name:(A.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:A}}))}A.startTimeField||A.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:A}}),A=null)}const T=w.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??y.n$}:null;this._createDefaultAttributes=(0,d.Vx)(F,B);const z={warnings:t,featureErrors:[],layerDefinition:{...b,drawingInfo:(0,d.F0)(S),templates:(0,d.e2)(F),extent:v,geometryType:S,objectIdField:B,fields:r,hasZ:c,hasM:o,timeInfo:A,dateFieldsTimeReference:T},assignedObjectIds:{}},R={type:"object-id",fieldName:B};if(this._queryEngine=new h.do({fieldsIndex:p.A.fromLayerJSON({fields:r,timeInfo:A,dateFieldsTimeReference:T}),geometryType:S,hasM:o,hasZ:c,featureIdInfo:R,spatialReference:I,featureStore:new l.A({geometryType:S,hasM:o,hasZ:c}),timeInfo:A}),!i?.length)return this._nextObjectId=a.L,z;const C=(0,a.H)(B,i);return this._nextObjectId=C+1,await(0,u.Nk)(i,I),this._loadInitialFeatures(z,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,c.$1)(t,i),(0,u.Nk)(e.adds,t),(0,u.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,r=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(r||(r=(0,n.$B)(e)),o||(o=e.spatialReference),null==i&&(i=x(e)),null==s&&(s=I(e)),r&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:h,fieldsIndex:d}=this._queryEngine,p=[],f={type:"object-id",fieldName:a};for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,n.$B)(s.geometry)){e.featureErrors.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),r=(0,c.MB)(d,t,s.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,null!=s.uid&&(e.assignedObjectIds[s.uid]=s.attributes[a]),null!=s.geometry&&(s.geometry=(0,u.Cv)(s.geometry,s.geometry.spatialReference,l)),p.push(s))}h.addMany((0,o.Di)([],p,i,r,s,f));const{fullExtent:m,timeExtent:y}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=m,y){const{start:t,end:i}=y;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,c.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i}=e,{geometryType:s,hasM:r,hasZ:a,objectIdField:l,spatialReference:h,featureStore:d,featureIdInfo:p,fieldsIndex:f}=this._queryEngine,m=[];for(const r of t){if(r.geometry&&s!==(0,n.$B)(r.geometry)){i.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),o=(0,c.MB)(f,t,r.attributes);if(o)i.push(o);else{if(this._assignObjectId(t,r.attributes),r.attributes=t,null!=r.uid){const t=r.attributes[l];e.uidToObjectId[r.uid]=t}if(null!=r.geometry){const e=r.geometry.spatialReference??h;r.geometry=(0,u.Cv)((0,c.CR)(r.geometry,e),e,h)}m.push(r),i.push((0,c.bP)(r.attributes[l]))}}d.addMany((0,o.Di)([],m,s,a,r,p))}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:h,fieldsIndex:d,featureIdInfo:p}=this._queryEngine;for(const f of t){const{attributes:t,geometry:m}=f,y=t?.[a];if(null==y){e.push((0,c.Yx)(`Identifier field ${a} missing`));continue}if(!h.has(y)){e.push((0,c.Yx)(`Feature with object id ${y} missing`));continue}const g=(0,o.oN)(h.getFeature(y),i,r,s);if(null!=m){if(i!==(0,n.$B)(m)){e.push((0,c.Yx)("Incorrect geometry type."));continue}const t=m.spatialReference??l;g.geometry=(0,u.Cv)((0,c.CR)(m,t),t,l)}if(t){const i=(0,c.MB)(d,g.attributes,t);if(i){e.push(i);continue}}h.add((0,o.E2)(g,i,r,s,p)),e.push((0,c.bP)(y))}}_assignObjectId(e,t,i=!1){const s=this._queryEngine.objectIdField;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}},33032:(e,t,i)=>{i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},36708:(e,t,i)=>{i.d(t,{C_:()=>c,OH:()=>m,Vh:()=>y,on:()=>d,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return h(e,t,i,p)}function u(e,t,i={}){return h(e,t,i,f)}function h(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function d(e,t,i,o={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(h),i(e)}const p=l(e,(e,i)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,n.hA)(()=>{p.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??p)])})}(e,f,t)}function p(e){return!0}function f(e){return!!e}i(80559);const m={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},37730:(e,t,i)=>{i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},48526:(e,t,i)=>{i.d(t,{A:()=>f});var s,n=i(31635),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,r.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:i,hasZ:n}=this;return new s({points:(0,r.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:n})}addPoint(e){return(0,c.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=t[2],s=3),this.hasM&&(i.m=t[s]),new u.A(i)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,c.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,n.Cg)([(0,p.K)("points")],f.prototype,"writePoints",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},60408:(e,t,i)=>{function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>n,W0:()=>d,ZC:()=>s,fT:()=>r,uW:()=>l})},64714:(e,t,i)=>{i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>p});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let i=`this${d(t)} = null;`;for(const t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>({[t]:null,...e})}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function p(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864:(e,t,i)=>{i.d(t,{rS:()=>h,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._users.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const n=this._users.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,r,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new n,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482:(e,t,i)=>{function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(h&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const h=i.ms??"0",d=h?+h.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,d);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,d)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,h=!Number.isNaN(new Date("technology 10").getTime())},69540:(e,t,i)=>{i.d(t,{OU:()=>h,Pw:()=>d});var s=i(31635),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let n=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,n={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,r.TU)(h,e),null!=h&&null==d)continue;0===a?l.set(t,d):n[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},d=h(n.A)},75503:(e,t,i)=>{i.d(t,{EC:()=>B,wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=p,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),v.prune(),S.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}t=I.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(S.clear(),M.clear();i||S.length>0;){if(i||(i=S.pop(),r=S.data[S.length-1],o=M.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),S.push(i),this._condense(S),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(S.push(i),M.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new w(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new F([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);S.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=f(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,S);for(r.children.push(e),d(r,n);t>=0&&S.data[t].children.length>this._maxEntries;)this._split(S,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)d(t.data[s],e)}(n,S,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new w(o):new F(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=f(t)+f(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:p;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=h(e,0,t,n),o=h(e,i-t,i,n);let a=m(r)+m(o);for(let s=t;s<i-t;s++){const t=e.children[s];d(r,e.leaf?n(t):t),a+=m(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];d(o,e.leaf?n(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(v.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else v.pushArray(i.children);i=v.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,n){n||(n=new w([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],d(n,e.leaf?s(r):r);return n}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function p(e,t){return e.minY-t.minY}function f(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,v=new r.A,S=new r.A,M=new r.A({deallocator:void 0});class B{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class A extends B{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class w extends A{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends A{constructor(e){super(),this.children=e,this.leaf=!1}}},82799:(e,t,i)=>{i.d(t,{A:()=>f});var s,n=i(31635),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,paths:t,spatialReference:n}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,r.o8)(e)}get extent(){const e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,r.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,i=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const s=[];for(let t=0,i=e.length;t<i;t++)s[t]=e[t].toArray();t[i]=s}else t[i]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new s;return e.spatialReference=this.spatialReference,e.paths=(0,r.o8)(this.paths),e.curvePaths=(0,r.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const i=this.paths[e][t],s=this.hasZ,n=this.hasM;return s&&!n?new u.A(i[0],i[1],i[2],void 0,this.spatialReference):n&&!s?new u.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&n?new u.A(i[0],i[1],i[2],i[3],this.spatialReference):new u.A(i[0],i[1],this.spatialReference)}insertPoint(e,t,i){return this._validateInputs(e,t,!0)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e].splice(t,0,i),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],i=this.spatialReference,s=t.map(e=>new u.A(e,i));return this.notifyChange("paths"),s}removePoint(e,t){if(!this._validateInputs(e,t))return null;const i=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(e,t,i){return this._validateInputs(e,t)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e][t]=i,this.notifyChange("paths"),this):this}_validateInputs(e,t,i=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const s=this.paths[e];if(i&&(t<0||t>s.length))return!1;if(!i&&(t<0||t>=s.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],f.prototype,"curvePaths",void 0),(0,n.Cg)([(0,p.K)("curvePaths")],f.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],f.prototype,"paths",void 0),(0,n.Cg)([(0,p.K)("paths")],f.prototype,"writePaths",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Polyline")],f),f.prototype.toJSON.isDefaultToJSON=!0},82832:(e,t,i)=>{i.d(t,{$1:()=>y,CR:()=>m,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>h});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function h(e){return new u(e)}const d=new Set;function c(e,t,i,s=!1){d.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=p(o,i[n]);if(d.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!d.has(t.name))return l(`missing required field "${t.name}"`);return null}function p(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let f;function m(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==f)throw new TypeError("geometry engine not loaded");return f.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==f&&(f=await i.e(1023).then(i.bind(i,81023))),f}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},83221:(e,t,i)=>{i.d(t,{A:()=>f});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(51441),c=i(37730);const p=(0,a.vt)();class f{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,d.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(p,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},93470:(e,t,i)=>{i.d(t,{Cb:()=>r,HW:()=>h,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},h={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},98453:(e,t,i)=>{i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7229],{2272:(e,t,i)=>{i.d(t,{Dl:()=>u,gf:()=>d,jV:()=>l,lF:()=>h});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function h(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>h(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function d(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7330),i.e(168),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},29432:(e,t,i)=>{i.r(t),i.d(t,{default:()=>S});var s=i(49186),n=i(60408),r=i(21325),o=i(90708),a=i(33032),l=i(83221),u=i(31464),h=i(56390),d=i(64714),c=i(82832),f=i(95466),p=i(98453),m=i(30524),y=i(98623);const g=r.KK,_={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:r.KK},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:c.PC};function x(e){return(0,n.fT)(e)?null!=e.z:!!e.hasZ}function I(e){return(0,n.fT)(e)?null!=e.m:!!e.hasM}class S{constructor(){this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!n.hasM,c=null!=e.hasZ?e.hasZ:!!n.hasZ,x=!e.spatialReference&&!n.spatialReference,I=x?g:e.spatialReference||n.spatialReference,S=x?_:null,v=e.geometryType||n.geometryType,M=!v;let B=e.objectIdField||n.objectIdField,F=e.timeInfo;const z=new f.A(r);if(!M&&(x&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!v))throw new s.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(!B)throw new s.A("feature-layer:missing-property","objectIdField not set and couldn't be found in the provided fields");if(n.objectIdField&&B!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${B}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),B=n.objectIdField),B&&!n.objectIdField){const e=z.get(B);e?(B=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:B,name:B,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new s.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===B&&(e.type="esriFieldTypeOID"),!p.m.jsonValues.includes(e.type))throw new s.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,m._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,m.lD)(e);void 0!==t&&(T[e.name]=t)}if(F){if(F.startTimeField){const e=z.get(F.startTimeField);e?(F.startTimeField=e.name,e.type="esriFieldTypeDate"):F.startTimeField=null}if(F.endTimeField){const e=z.get(F.endTimeField);e?(F.endTimeField=e.name,e.type="esriFieldTypeDate"):F.endTimeField=null}if(F.trackIdField){const e=z.get(F.trackIdField);e?F.trackIdField=e.name:(F.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:F}}))}F.startTimeField||F.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:F}}),F=null)}const A=z.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??y.n$}:null;this._createDefaultAttributes=(0,d.Vx)(T,B);const w={warnings:t,featureErrors:[],layerDefinition:{...b,drawingInfo:(0,d.F0)(v),templates:(0,d.e2)(T),extent:S,geometryType:v,objectIdField:B,fields:r,hasZ:c,hasM:o,timeInfo:F,dateFieldsTimeReference:A},assignedObjectIds:{}},R={type:"object-id",fieldName:B};if(this._queryEngine=new h.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:F,dateFieldsTimeReference:A}),geometryType:v,hasM:o,hasZ:c,featureIdInfo:R,spatialReference:I,featureStore:new l.A({geometryType:v,hasM:o,hasZ:c}),timeInfo:F}),!i?.length)return this._nextObjectId=a.L,w;const E=(0,a.H)(B,i);return this._nextObjectId=E+1,await(0,u.Nk)(i,I),this._loadInitialFeatures(w,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,c.$1)(t,i),(0,u.Nk)(e.adds,t),(0,u.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,r=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(r||(r=(0,n.$B)(e)),o||(o=e.spatialReference),null==i&&(i=x(e)),null==s&&(s=I(e)),r&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:h,fieldsIndex:d}=this._queryEngine,f=[],p={type:"object-id",fieldName:a};for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,n.$B)(s.geometry)){e.featureErrors.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),r=(0,c.MB)(d,t,s.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,null!=s.uid&&(e.assignedObjectIds[s.uid]=s.attributes[a]),null!=s.geometry&&(s.geometry=(0,u.Cv)(s.geometry,s.geometry.spatialReference,l)),f.push(s))}h.addMany((0,o.Di)([],f,i,r,s,p));const{fullExtent:m,timeExtent:y}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=m,y){const{start:t,end:i}=y;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,c.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i}=e,{geometryType:s,hasM:r,hasZ:a,objectIdField:l,spatialReference:h,featureStore:d,featureIdInfo:f,fieldsIndex:p}=this._queryEngine,m=[];for(const r of t){if(r.geometry&&s!==(0,n.$B)(r.geometry)){i.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),o=(0,c.MB)(p,t,r.attributes);if(o)i.push(o);else{if(this._assignObjectId(t,r.attributes),r.attributes=t,null!=r.uid){const t=r.attributes[l];e.uidToObjectId[r.uid]=t}if(null!=r.geometry){const e=r.geometry.spatialReference??h;r.geometry=(0,u.Cv)((0,c.CR)(r.geometry,e),e,h)}m.push(r),i.push((0,c.bP)(r.attributes[l]))}}d.addMany((0,o.Di)([],m,s,a,r,f))}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:r,objectIdField:a,spatialReference:l,featureStore:h,fieldsIndex:d,featureIdInfo:f}=this._queryEngine;for(const p of t){const{attributes:t,geometry:m}=p,y=t?.[a];if(null==y){e.push((0,c.Yx)(`Identifier field ${a} missing`));continue}if(!h.has(y)){e.push((0,c.Yx)(`Feature with object id ${y} missing`));continue}const g=(0,o.oN)(h.getFeature(y),i,r,s);if(null!=m){if(i!==(0,n.$B)(m)){e.push((0,c.Yx)("Incorrect geometry type."));continue}const t=m.spatialReference??l;g.geometry=(0,u.Cv)((0,c.CR)(m,t),t,l)}if(t){const i=(0,c.MB)(d,g.attributes,t);if(i){e.push(i);continue}}h.add((0,o.E2)(g,i,r,s,f)),e.push((0,c.bP)(y))}}_assignObjectId(e,t,i=!1){const s=this._queryEngine.objectIdField;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}},33032:(e,t,i)=>{i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},36708:(e,t,i)=>{i.d(t,{C_:()=>c,OH:()=>m,Vh:()=>y,on:()=>d,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,p)}function h(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function d(e,t,i,o={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(h),i(e)}const f=l(e,(e,i)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,n.hA)(()=>{f.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}i(80559);const m={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},37730:(e,t,i)=>{i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},48526:(e,t,i)=>{i.d(t,{A:()=>p});var s,n=i(31635),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),f=i(43937);let p=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,r.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:i,hasZ:n}=this;return new s({points:(0,r.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:n})}addPoint(e){return(0,c.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=t[2],s=3),this.hasM&&(i.m=t[s]),new u.A(i)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,c.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],p.prototype,"points",void 0),(0,n.Cg)([(0,f.K)("points")],p.prototype,"writePoints",null),p=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],p),p.prototype.toJSON.isDefaultToJSON=!0},60408:(e,t,i)=>{function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>n,W0:()=>d,ZC:()=>s,fT:()=>r,uW:()=>l})},64714:(e,t,i)=>{i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>f});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let i=`this${d(t)} = null;`;for(const t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>({[t]:null,...e})}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864:(e,t,i)=>{i.d(t,{rS:()=>h,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._users.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const n=this._users.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,r,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new n,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482:(e,t,i)=>{function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(h&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const h=i.ms??"0",d=h?+h.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,d);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,d)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,h=!Number.isNaN(new Date("technology 10").getTime())},69540:(e,t,i)=>{i.d(t,{OU:()=>h,Pw:()=>d});var s=i(31635),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let n=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,n={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,r.TU)(h,e),null!=h&&null==d)continue;0===a?l.set(t,d):n[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},d=h(n.A)},75503:(e,t,i)=>{i.d(t,{EC:()=>B,wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),S.prune(),v.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}t=I.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new z([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(v.clear(),M.clear();i||v.length>0;){if(i||(i=v.pop(),r=v.data[v.length-1],o=M.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),v.push(i),this._condense(v),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(v.push(i),M.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new z(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new T([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);v.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=p(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,v);for(r.children.push(e),d(r,n);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)d(t.data[s],e)}(n,v,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new z(o):new T(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new T([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=p(t)+p(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=h(e,0,t,n),o=h(e,i-t,i,n);let a=m(r)+m(o);for(let s=t;s<i-t;s++){const t=e.children[s];d(r,e.leaf?n(t):t),a+=m(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];d(o,e.leaf?n(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(S.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else S.pushArray(i.children);i=S.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,n){n||(n=new z([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],d(n,e.leaf?s(r):r);return n}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,S=new r.A,v=new r.A,M=new r.A({deallocator:void 0});class B{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends B{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class z extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class T extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},82832:(e,t,i)=>{i.d(t,{$1:()=>y,CR:()=>m,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>h});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function h(e){return new u(e)}const d=new Set;function c(e,t,i,s=!1){d.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=f(o,i[n]);if(d.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!d.has(t.name))return l(`missing required field "${t.name}"`);return null}function f(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let p;function m(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==p)throw new TypeError("geometry engine not loaded");return p.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==p&&(p=await i.e(1023).then(i.bind(i,81023))),p}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},83221:(e,t,i)=>{i.d(t,{A:()=>p});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(51441),c=i(37730);const f=(0,a.vt)();class p{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,d.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},93470:(e,t,i)=>{i.d(t,{Cb:()=>r,HW:()=>h,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},h={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},98453:(e,t,i)=>{i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);
|