@arcgis/core 5.2.0-next.121 → 5.2.0-next.123
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/arcgisGlobal.d.ts +2 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0148cb611bf7c8c5fe8a.js +1 -0
- package/assets/esri/core/workers/chunks/{deb5b1d772ca407654d4.js → 0acc754907395e83bbc6.js} +1 -1
- package/assets/esri/core/workers/chunks/{bcb06a0643b4c83535ee.js → 1302bf9718747cd9fdd9.js} +1 -1
- package/assets/esri/core/workers/chunks/{956432c9d45940983bc2.js → 1b42d163ef22e3565bb7.js} +1 -1
- package/assets/esri/core/workers/chunks/1b551ef3d84d9c1e93f9.js +1 -0
- package/assets/esri/core/workers/chunks/{4adad3312caa24af98ac.js → 1c38ce72160d5a4e4b3d.js} +1 -1
- package/assets/esri/core/workers/chunks/1c3b087fbf2d102376fc.js +1 -0
- package/assets/esri/core/workers/chunks/{9b3813e39992b1b99941.js → 1e46703cb566c25458ad.js} +1 -1
- package/assets/esri/core/workers/chunks/{015cb790262a59857c5f.js → 1f135269aea3931e11b2.js} +1 -1
- package/assets/esri/core/workers/chunks/23279303cd7698314c56.js +1 -0
- package/assets/esri/core/workers/chunks/{4bf2cc4d092601ff2b86.js → 24673aac70d6c949b6fa.js} +1 -1
- package/assets/esri/core/workers/chunks/24cf91aeab53a897e951.js +1 -0
- package/assets/esri/core/workers/chunks/26bc509a031788bfa678.js +1 -0
- package/assets/esri/core/workers/chunks/2ae6deade655fdbc28de.js +1 -0
- package/assets/esri/core/workers/chunks/{37cf4ca2083cd3b6002e.js → 2c7bb5c9751524687002.js} +1 -1
- package/assets/esri/core/workers/chunks/2c8957f9c7610805208c.js +1 -0
- package/assets/esri/core/workers/chunks/{a3c1a5a5c5cbf27b376d.js → 2d592c935571de80a2e2.js} +1 -1
- package/assets/esri/core/workers/chunks/{a917a1df8270860dc514.js → 2f52ad525744b8793d49.js} +1 -1
- package/assets/esri/core/workers/chunks/{6efc5873747b9cd44fb9.js → 323451ef52d0c2805f1d.js} +1 -1
- package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +1 -0
- package/assets/esri/core/workers/chunks/38890ac5917942374ab8.js +1 -0
- package/assets/esri/core/workers/chunks/3e33d953e41b281a120b.js +1 -0
- package/assets/esri/core/workers/chunks/3e52351e06d85bf9bedd.js +1 -0
- package/assets/esri/core/workers/chunks/{fbc5f275c4e5e6bfffaa.js → 462fd57af8ed7921d6ba.js} +1 -1
- package/assets/esri/core/workers/chunks/{1846296be959e28c42bb.js → 475906b079f4f1ddacf2.js} +1 -1
- package/assets/esri/core/workers/chunks/{ea49721fdd2172d1c799.js → 48a2f68e06a2e90b77d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{b6ca73c1384f07b30b74.js → 4bb8432d99a39733368f.js} +1 -1
- package/assets/esri/core/workers/chunks/{c44cbe04efddbbbaec13.js → 4f58e0322707f63f5bf2.js} +1 -1
- package/assets/esri/core/workers/chunks/{0e9f54d7f158195bd203.js → 59cd139712d919e6a738.js} +1 -1
- package/assets/esri/core/workers/chunks/59d5247ac4075b024244.js +1 -0
- package/assets/esri/core/workers/chunks/5afc12671a9a1bb6c56c.js +1 -0
- package/assets/esri/core/workers/chunks/5b9f3c4f65412c66316f.js +1 -0
- package/assets/esri/core/workers/chunks/{be3421ffb5b391bca02e.js → 5d35e0c2665f5e625ee9.js} +1 -1
- package/assets/esri/core/workers/chunks/5e70bfb9d6235a87b87a.js +1 -0
- package/assets/esri/core/workers/chunks/6006bd8a5ed945fa2776.js +1 -0
- package/assets/esri/core/workers/chunks/618927cfcb93dd1d92fd.js +1 -0
- package/assets/esri/core/workers/chunks/6709d24867d275b33d24.js +1 -0
- package/assets/esri/core/workers/chunks/68e24fa3f564c2a5c9fd.js +1 -0
- package/assets/esri/core/workers/chunks/{fd5e61cb6f936eadcfe3.js → 724ea2e2843e6dac0a90.js} +1 -1
- package/assets/esri/core/workers/chunks/7441d121f00ce747c08e.js +1 -0
- package/assets/esri/core/workers/chunks/{e86f83a6514a35255f64.js → 781fa83e8063b8f685dc.js} +1 -1
- package/assets/esri/core/workers/chunks/{a005efcde3ca9def4e6b.js → 78c1b75b1a8937eaa3cd.js} +1 -1
- package/assets/esri/core/workers/chunks/793b072519ded0dc6f34.js +1 -0
- package/assets/esri/core/workers/chunks/{1086f190f94c715bbfe4.js → 7994fce5f36963aadc51.js} +1 -1
- package/assets/esri/core/workers/chunks/7adee504107cb9ad8563.js +1 -0
- package/assets/esri/core/workers/chunks/7efc45858ebd3fd3302e.js +1 -0
- package/assets/esri/core/workers/chunks/7ff536284942c5284a16.js +1 -0
- package/assets/esri/core/workers/chunks/813dd84933b407c8fe86.js +1 -0
- package/assets/esri/core/workers/chunks/8daeac785af725c3ebdf.js +1 -0
- package/assets/esri/core/workers/chunks/{3ab25279aaa30f035038.js → 8daed13400d9e63e65ae.js} +1 -1
- package/assets/esri/core/workers/chunks/9020bd7a0e488d55ef14.js +1 -0
- package/assets/esri/core/workers/chunks/{cf7c06702babd6fa88b4.js → 9af36ee6a0df224859bc.js} +1 -1
- package/assets/esri/core/workers/chunks/{452d069ba7ad6759b558.js → 9c46c7f00d42f5c02b26.js} +1 -1
- package/assets/esri/core/workers/chunks/a3ab53b534e2872131be.js +1 -0
- package/assets/esri/core/workers/chunks/{fa3f824c874f29d24953.js → aa6b2cc8f6f5627891c1.js} +1 -1
- package/assets/esri/core/workers/chunks/ac7af417ebf7721d7400.js +1 -0
- package/assets/esri/core/workers/chunks/aed479c14d93955f4798.js +1 -0
- package/assets/esri/core/workers/chunks/{60c61f34733063730386.js → b013b70e40dfb6ce013e.js} +1 -1
- package/assets/esri/core/workers/chunks/b22de8bf4a4a739bc36d.js +1 -0
- package/assets/esri/core/workers/chunks/b39cd78d2d97bef9909e.js +1 -0
- package/assets/esri/core/workers/chunks/b5f50955c1eee55b67d1.js +1 -0
- package/assets/esri/core/workers/chunks/bdf012e591a8476db467.js +1 -0
- package/assets/esri/core/workers/chunks/{daf7b647bd960d8bad56.js → be52c319a0a81ce1ba36.js} +1 -1
- package/assets/esri/core/workers/chunks/{89edaa1ffa566908ebca.js → ca5a4f62b09cc8579dc0.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb390c0d92d1536fce3.js → ce1ccf9ec90b786591e5.js} +1 -1
- package/assets/esri/core/workers/chunks/cf0bed7ae27021fd7b05.js +1 -0
- package/assets/esri/core/workers/chunks/cf6f671823fa6c2a9a5e.js +1 -0
- package/assets/esri/core/workers/chunks/{39c5e0f6262f69a62c66.js → d25210574168ead2f813.js} +1 -1
- package/assets/esri/core/workers/chunks/d3378c479052d566317c.js +1 -0
- package/assets/esri/core/workers/chunks/d3ef23923424ad8c5048.js +1 -0
- package/assets/esri/core/workers/chunks/{46388b86d1b10e6121bd.js → d507d7d7a7282fc38e8d.js} +1 -1
- package/assets/esri/core/workers/chunks/dc0816f064be576a2fa6.js +1 -0
- package/assets/esri/core/workers/chunks/{d9b761104ab6e4acaf91.js → dd4ecf81250cc001d040.js} +1 -1
- package/assets/esri/core/workers/chunks/{ab60f3bc18b5ea504f70.js → e0eb89a935509ba34d9b.js} +1 -1
- package/assets/esri/core/workers/chunks/e10fe4c77b8dc4492092.js +1 -0
- package/assets/esri/core/workers/chunks/e4e1db4e9e5f13167401.js +1 -0
- package/assets/esri/core/workers/chunks/e5ee64e2fb5bfcb716d8.js +1 -0
- package/assets/esri/core/workers/chunks/{e755075ac2e02e881fad.js → e6637f9176566382ed3e.js} +1 -1
- package/assets/esri/core/workers/chunks/e6dc68c4bd8eddb168d1.js +1 -0
- package/assets/esri/core/workers/chunks/eb780f2dafa14f776166.js +1 -0
- package/assets/esri/core/workers/chunks/{d9d5f50af047ee7af129.js → eb7f45736c852725b0bb.js} +89 -58
- package/assets/esri/core/workers/chunks/ed31ec586b754241474d.js +1 -0
- package/assets/esri/core/workers/chunks/f38d11be766043413659.js +1 -0
- package/assets/esri/libs/pdfjs/pdf.worker.mjs +63075 -0
- package/assets/esri/libs/pdfjs/wasm/jbig2.wasm +0 -0
- package/assets/esri/libs/pdfjs/wasm/openjpeg.wasm +0 -0
- package/assets/esri/libs/pdfjs/wasm/qcms_bg.wasm +0 -0
- package/assets/esri/libs/pdfjs/wasm/quickjs-eval.wasm +0 -0
- package/assets/esri/widgets/support/SelectionToolbar/t9n/messages.en.json +1 -1
- package/chunks/CloudsComposition.glsl.js +2 -2
- package/chunks/GlobalIllumination.glsl.js +42 -13
- package/chunks/GlobalIlluminationBlur.glsl.js +1 -1
- package/config.js +1 -1
- package/core/arrayUtils.js +1 -1
- package/core/workers/registry.js +1 -1
- package/geometry/support/geometryUtils.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/geometry/support/meshUtils/elevation.js +1 -1
- package/kernel.js +1 -1
- package/layers/GeospatialPDFLayer.d.ts +40 -0
- package/layers/GeospatialPDFLayer.js +2 -0
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/geospatialPDF/GeospatialPDFFrame.js +2 -0
- package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +5 -0
- package/layers/geospatialPDF/GeospatialPDFParserUtils.js +2 -0
- package/layers/geospatialPDF/GeospatialPDFWorkerClient.js +2 -0
- package/layers/geospatialPDF/LGIDictMapFrame.js +2 -0
- package/layers/geospatialPDF/Projection.js +2 -0
- package/layers/geospatialPDF/ViewportMeasureFrame.js +2 -0
- package/layers/geospatialPDF/renderExtentUtils.js +2 -0
- package/layers/geospatialPDF/sharedUtils.js +2 -0
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/raster/datasets/GeospatialPDFRaster.js +2 -0
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/LabelClass.js +1 -1
- package/layers/support/layersLoader.js +1 -1
- package/layers/types.d.ts +1 -1
- package/package.json +4 -4
- package/portal/PortalItem.js +1 -1
- package/portal/support/portalLayers.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/OverrideHelper.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/input/MapViewInputManager.js +1 -1
- package/views/2d/input/handlers/KeyPan.js +1 -1
- package/views/2d/input/handlers/KeyRotate.js +1 -1
- package/views/2d/layerViewModuleImportUtils.js +1 -1
- package/views/2d/layers/GeospatialPDFLayerView2D.js +2 -0
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/layers/support/annodime/virtualFields.js +1 -1
- package/views/2d/types.d.ts +2 -0
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/analysis/Slice/SliceTool.js +1 -1
- package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
- package/views/3d/layerViewModuleImportUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/GeospatialPDFLayerView3D.js +2 -0
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/LayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/Intersector.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/support/GroundAndIMSurface.js +1 -1
- package/views/3d/support/hitTest.js +1 -1
- package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
- package/views/3d/types.d.ts +2 -0
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +8 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +6 -6
- package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
- package/views/SceneView.d.ts +31 -0
- package/views/SceneView.js +1 -1
- package/views/View.d.ts +35 -0
- package/views/View.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileLineGroundComputation.js +1 -1
- package/views/analysis/ElevationProfile/elevationProfileQuerySourceUtils.js +1 -1
- package/views/interactive/options/ViewOptions.d.ts +98 -0
- package/views/interactive/options/ViewOptions.js +2 -0
- package/views/interactive/support/Units.d.ts +10 -2
- package/views/interactive/support/Units.js +1 -1
- package/views/layers/FeatureLikeLayerView.d.ts +27 -5
- package/views/layers/GraphicsLayerView.d.ts +25 -2
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/views/selection/types.d.ts +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/types.d.ts +9 -3
- package/widgets/ElevationProfile/ElevationProfileLineGround.js +1 -1
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.d.ts +8 -2
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
- package/widgets/support/SelectionToolbar/VisibleElements.d.ts +8 -1
- package/widgets/support/SelectionToolbar/VisibleElements.js +1 -1
- package/widgets/support/SelectionToolbar.d.ts +7 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +0 -1
- package/assets/esri/core/workers/chunks/0b727d7bf3e36e146725.js +0 -1
- package/assets/esri/core/workers/chunks/0bd067a5c0bac96caeb5.js +0 -1
- package/assets/esri/core/workers/chunks/0ff13f7a18b0123d253e.js +0 -1
- package/assets/esri/core/workers/chunks/114bc14c49176f64a2c5.js +0 -1
- package/assets/esri/core/workers/chunks/173417fe995e9bfc49d8.js +0 -1
- package/assets/esri/core/workers/chunks/2cf571d968118b6bdde0.js +0 -1
- package/assets/esri/core/workers/chunks/43436c7ccc6baefc885d.js +0 -1
- package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +0 -1
- package/assets/esri/core/workers/chunks/48d3da636be15581fd7d.js +0 -1
- package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +0 -1
- package/assets/esri/core/workers/chunks/50ae209237f104735a30.js +0 -1
- package/assets/esri/core/workers/chunks/54f9062526c2002b7fd7.js +0 -1
- package/assets/esri/core/workers/chunks/56b7ac280bf0be938c14.js +0 -1
- package/assets/esri/core/workers/chunks/61bcbafd676804ce3e1d.js +0 -1
- package/assets/esri/core/workers/chunks/63f7141c71f29dbe8270.js +0 -1
- package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +0 -1
- package/assets/esri/core/workers/chunks/75410a4de76e67ed5da4.js +0 -1
- package/assets/esri/core/workers/chunks/85780f4fa4b5509f864e.js +0 -1
- package/assets/esri/core/workers/chunks/862754d2d659528fe884.js +0 -1
- package/assets/esri/core/workers/chunks/8675ab3c4dec2f13b9c6.js +0 -1
- package/assets/esri/core/workers/chunks/8a103b6e9534516421e2.js +0 -1
- package/assets/esri/core/workers/chunks/917dec9c004218c58950.js +0 -1
- package/assets/esri/core/workers/chunks/91a51d959ee5c6123c46.js +0 -1
- package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +0 -1
- package/assets/esri/core/workers/chunks/99ebc99e8d1bca105b5e.js +0 -1
- package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +0 -1
- package/assets/esri/core/workers/chunks/a42505b978d54d36d3b6.js +0 -1
- package/assets/esri/core/workers/chunks/a70c59129ea808857d07.js +0 -1
- package/assets/esri/core/workers/chunks/a86a4e550a92f770d6d5.js +0 -1
- package/assets/esri/core/workers/chunks/b45ebb1b64ee7314375e.js +0 -1
- package/assets/esri/core/workers/chunks/b5b30c8447a0f967fa79.js +0 -1
- package/assets/esri/core/workers/chunks/baa8bce361a2677533ec.js +0 -1
- package/assets/esri/core/workers/chunks/c70a32ac0fa49f4493ca.js +0 -1
- package/assets/esri/core/workers/chunks/cf1106eda10f3cccb1bd.js +0 -1
- package/assets/esri/core/workers/chunks/d1b5be1aeab16d36d4b1.js +0 -1
- package/assets/esri/core/workers/chunks/d38252956c3d9e2168f7.js +0 -1
- package/assets/esri/core/workers/chunks/d6130cd8a20d24dd9d3c.js +0 -1
- package/assets/esri/core/workers/chunks/da161f8cbe1cfc5fcf7c.js +0 -1
- package/assets/esri/core/workers/chunks/da5b3421a984cb94fd58.js +0 -1
- package/assets/esri/core/workers/chunks/e52f30dfb7c82491a7f2.js +0 -1
- package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +0 -1
- package/assets/esri/core/workers/chunks/f75e57d3e02f9828b049.js +0 -1
- package/assets/esri/core/workers/chunks/f774e5b94710ccee1af0.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,1550,1948,2174,7992,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},69397(t,e,r){r.d(e,{Qf:()=>o,Qh:()=>i,lM:()=>n});var s=r(34275);function n(t){if(!t)return 0;let e=u;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return o(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=c;for(let s=0;s<e;s++)r+=a(t[s]);return r}(t);let e=u;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?i(t):u;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function o(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,16):0:0),0)}function h(t,e){return c+t.length*e}const u=32,c=16,l=145},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>C,MY:()=>w,NO:()=>M,Nh:()=>P,V2:()=>_,_s:()=>Y,e6:()=>I,gh:()=>E,jm:()=>V,tr:()=>X,uX:()=>p});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),c=r(79567),l=r(52006),f=r(49663),g=r(46068),m=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new x(this):[][Symbol.iterator]()}}class x{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=R(t),this._segments=new d(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],l,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,c.e)(n,t,r),t=(0,l.yP)(r)}const[a,o,u,f]=n;e={xmin:a,ymin:o,xmax:u,ymax:f,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function C(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:c}=n;function f(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),o&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])h[2*m]=t,h[2*m+1]=e,++m;return n}for(const t of r[0])f(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,l.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*m]=e,h[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];f(r);const i=m-1;(0,l.wY)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,l.DA)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,l.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,l.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&S(e,r)||f(r)}return n.partOffsets[y]=m,n}function E(t){const e=R(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=O(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function P(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=_(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const c=2+Number(s)+Number(n);let l=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[l++],u.vertexXY[2*t+1]=r[l++],s&&(u.vertexZ[t]=r[l++]),n&&(u.vertexM[t]=r[l++]);o&&(l+=c)}return u}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new m.A([],[],o,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(c){const t=l;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function V(...t){const e=new Set;for(const r of t){if(!r)continue;const t=[r.vertexXY,r.vertexZ,r.vertexM,r.partOffsets,r.partFlags,r.segmentFlags,r.segmentIndices,r.segmentParams];for(const r of t){const t=r?.buffer;t&&e.add(t)}}return Array.from(e)}function w(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(u);let l=0;return h.vertexXY=new Float64Array(c,l,2*e),l+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(c,l,e),l+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(c,l,e),l+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(c,l,h.segmentParamCount),l+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(c,l,e),h.segmentIndices.fill(N),l+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(c,l,r+1),l+=h.partOffsets.byteLength,h.partFlags=new Int8Array(c,l,r+1),l+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(c,l,e),h.segmentFlags.fill(1),l+=h.segmentFlags.byteLength),h}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],c,l,f,m,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return n[a++]=x,n[a++]=m,n[a++]=p,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,f.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,F((0,u.pM)(t,e),0,...e.c[1],n,a)}function F(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:c}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function X(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,c){return a[u]=2,o[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const G=1.61803,N=-1},965(t,e,r){r.d(e,{lengthExecute:()=>i});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateLength2D();if(i&&r){const e=(0,n.getSpatialReference)(t);i=(0,s.PQ)(i,e,r)}return i}r(85036),Boolean(!0)},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>Z,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>w,toPolygon:()=>A,toPolyline:()=>O});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){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(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return w(t,e);case n.G.enumEnvelope:return Z(t,e);case n.G.enumMultiPoint:return V(t,e);case n.G.enumPolyline:return O(t,e);case n.G.enumPolygon:return A(t,e)}return null}function Z(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function V(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(g,t),u}function w(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function A(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},85036(t,e,r){r.d(e,{Q:()=>i});var s=r(51447),n=r(53966);function i(t,e,r){(0,s.io)(n.A.getLogger(`esri.geometry.operators.${t}`),`${e} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}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,s.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 r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,1550,1735,1948,4642,7992,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},69397(t,e,r){r.d(e,{Qf:()=>o,Qh:()=>i,lM:()=>n});var s=r(34275);function n(t){if(!t)return 0;let e=h;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return o(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let r=c;for(let s=0;s<e;s++)r+=a(t[s]);return r}(t);let e=h;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?i(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function o(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+l:Array.isArray(e)?u(e,16):0:0),0)}function u(t,e){return c+t.length*e}const h=32,c=16,l=145},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>C,MY:()=>w,NO:()=>M,Nh:()=>P,V2:()=>_,_s:()=>Y,e6:()=>I,gh:()=>E,jm:()=>V,tr:()=>X,uX:()=>p});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),u=r(513),h=r(50954),c=r(79567),l=r(52006),f=r(49663),g=r(46068),m=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new x(this):[][Symbol.iterator]()}}class x{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=R(t),this._segments=new d(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,u],l,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,u=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,c.e)(n,t,r),t=(0,l.yP)(r)}const[a,o,h,f]=n;e={xmin:a,ymin:o,xmax:h,ymax:f,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function C(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=n;function f(t){u[2*m]=t[0],u[2*m+1]=t[1],i&&(h[m]=t[2]),o&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*m]=t,u[2*m+1]=e,++m;return n}for(const t of r[0])f(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,l.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*m]=e,u[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];f(r);const i=m-1;(0,l.wY)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,l.DA)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,l.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,l.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&S(e,r)||f(r)}return n.partOffsets[y]=m,n}function E(t){const e=R(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=O(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function P(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=_(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(s)+Number(n);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],s&&(h.vertexZ[t]=r[l++]),n&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new m.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function V(...t){const e=new Set;for(const r of t){if(!r)continue;const t=[r.vertexXY,r.vertexZ,r.vertexM,r.partOffsets,r.partFlags,r.segmentFlags,r.segmentIndices,r.segmentParams];for(const r of t){const t=r?.buffer;t&&e.add(t)}}return Array.from(e)}function w(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(N),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],c,l,f,m,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return n[a++]=x,n[a++]=m,n[a++]=p,n[a++]=f,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,f.io)(t,e);return F(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,F((0,h.pM)(t,e),0,...e.c[1],n,a)}function F(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function X(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const G=1.61803,N=-1},88411(t,e,r){r.d(e,{densifyExecute:()=>o}),r(4576);var s=r(34727),n=r(86211),i=r(91735),a=r(78125);function o(t,e,r={}){let{maxAngleInDegrees:o=0,maxDeviation:u=0,unit:h}=r;const c=(0,a.getSpatialReference)(t);return h&&(e=(0,n.UW)(e,h,c),u&&(u=(0,n.UW)(u,h,c))),(0,a.toGeometry)((0,i.execute)((0,a.fromGeometry)(t),e,u,(0,s.kU)(o)),c)}r(85036);const u=(0,i.f)();Boolean(u)},91735(t,e,r){r.d(e,{execute:()=>n,f:()=>i}),r(76061);const s=new(r(5247).O);function n(t,e,r,n){return s.execute(t,e,r,n,null)}function i(){return s.supportsCurves()}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>Z,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>w,toPolygon:()=>A,toPolyline:()=>O});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){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(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return w(t,e);case n.G.enumEnvelope:return Z(t,e);case n.G.enumMultiPoint:return V(t,e);case n.G.enumPolyline:return O(t,e);case n.G.enumPolygon:return A(t,e)}return null}function Z(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function V(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:s,hasZ:n,points:a,spatialReference:e});return h.setCacheValue(g,t),h}function w(t,e){if(t instanceof s.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function A(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},85036(t,e,r){r.d(e,{Q:()=>i});var s=r(51447),n=r(53966);function i(t,e,r){(0,s.io)(n.A.getLogger(`esri.geometry.operators.${t}`),`${e} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}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,s.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 r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-n)*(u+i),n=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9933],{39933(e,t,l){l.r(t),l.d(t,{build:()=>s.b}),l(32680),l(34711),l(71020),l(72722),l(96336),l(53466),l(54154),l(9169),l(12696),l(72233),l(18e3),l(98619),l(20598),l(22393),l(59469),l(56529),l(51406),l(89435),l(58614),l(20693),l(33079),l(31821),l(63761),l(27832),l(47630),l(14113);var s=l(57323)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1560,4500,5651],{19334(e,t,r){r.d(t,{e:()=>s});var o=r(54639),i=r(14112);class n{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry.toJSON()}toAccessorGeometry(e){return this._geometry}toGxGeometry(e){return e.fromAccessorGeometry(this._geometry)}}function s(e){if(null==e)return null;switch(e.type){case"point":if((0,i.e6)(e))return null;break;case"polygon":if((0,i.Wq)(e))return null;break;case"polyline":if((0,i.IY)(e))return null;break;case"multipoint":if((0,i.DG)(e))return null;break;case"extent":if((0,i.As)(e))return null;break;default:return null}const t=o.R.of(e.type,e.spatialReference,e.hasZ,e.hasM,new n(e));return t.asAccessorGeometry(),t}},36983(e,t,r){r.d(t,{R:()=>p,p:()=>u});var o=r(54639),i=r(14112),n=r(16930),s=r(60408),a=r(65864);class l{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry}toAccessorGeometry(e){const t=(0,a.rS)(this._geometry);return t.spatialReference=e,t}toGxGeometry(e){return e.fromJsonGeometry(this._geometry)}}function p(e,t){if(null==e||"object"!=typeof e)return null;let r=t;if("spatialReference"in e&&(e.spatialReference instanceof n.A?r=e.spatialReference:"object"==typeof e.spatialReference&&null!=e.spatialReference&&(r=new n.A,r.read(e.spatialReference))),null==r)throw new Error("Spatial reference required");return(0,s.fT)(e)?u("point",e,r):(0,s.Rg)(e)?u("polyline",e,r):(0,s.Bi)(e)?u("polygon",e,r):(0,s.U9)(e)?u("multipoint",e,r):(0,s.ZC)(e)?u("extent",e,r):null}function u(e,t,r){if(null==t)return null;let n=!1,s=!1;switch(e){case"point":if((0,i.e6)(t))return null;n=void 0!==t.z,s=void 0!==t.m;break;case"polygon":if((0,i.Wq)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"polyline":if((0,i.IY)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"multipoint":if((0,i.DG)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"extent":if((0,i.As)(t))return null;n=null!=t.zmin&&null!=t.zmax,s=null!=t.mmin&&null!=t.mmax;break;default:throw new Error("Unsupported geometry type: "+t.type)}return o.R.of(e,r,n,s,new l(t))}},14112(e,t,r){function o(e){return"NaN"===e.x||null===e.x||isNaN(e.x)}function i(e){if(0===(e.curveRings??e.rings).length)return!0;for(const t of e.curveRings??e.rings)if(t.length>0)return!1;return!0}function n(e){if(0===(e.curvePaths??e.paths).length)return!0;for(const t of e.curvePaths??e.paths)if(t.length>0)return!1;return!0}function s(e){return 0===e.points.length}function a(e){return"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)}r.d(t,{As:()=>a,DG:()=>s,IY:()=>n,Wq:()=>i,e6:()=>o})},16852(e,t,r){r.r(t),r.d(t,{default:()=>N});var o=r(32198),i=r(49186),n=r(4718),s=r(93637),a=r(91429),l=r(16930),p=r(55156),u=r(60950),c=r(89808),y=r(99959);const d=Symbol("isOrientedImageryGraphicOrigin");var f;class g extends y.A{get[(f=d,u.ym)](){return this.layer}get[p.e](){return this.layer}get[c.Q](){return this.layer}constructor(e){super(),this[f]=!0,this.type="oriented-imagery",this.layer=e}get id(){return this.layer.id}}var m=r(18589),h=r(82935),v=r(23281),w=r(20437),C=r(43440),b=r(79677);const M=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","imageGeometryField","imageReferenceField","referenceIDField","sequenceOrderField","sequenceOrderFields","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),x=new Set(["elevationSource"]),S=(e,t)=>!M.has(t)&&e;function Z(e,t,r,o){const{name:i,write:n,read:s}=((e,t,r)=>{const o=`orientedImageryProperties.${e}`,i={allowNull:x.has(e),ignoreOrigin:!0};return{name:o,write:t?{...i,target:o,writer:t}:i,read:r?{ignoreOrigin:!0,source:o,reader:r}:{ignoreOrigin:!0}}})(e,t,r),a={name:i,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${i}`,write:t,read:r},"web-scene":{name:i,write:S(n,e),read:S(s,e)},"web-map":{name:i,write:n,read:s}}};return o&&a.origins?(a.type=o,a.origins["web-map"].type=o,a.origins["web-scene"].type=o,a):a}let j=class extends m.default{constructor(e){super(e),this.attributeTableTemplate=null,this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.graphicOrigin=new g(this),this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imageGeometryField="ImageGeometry",this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageReferenceField="OIObjectID",this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.referenceIDField="OBJECTID",this.sequenceOrderField="SequenceOrder",this.sequenceOrderFields=[],this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.verticalSearchRange=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.virtualCacheDirectory=null,this.dataStoreID=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:r}=this;return(0,v.eR)(e,t,r)}get effectiveSequenceOrderField(){const{sequenceOrderField:e,fields:t,sequenceOrderFields:r}=this;return(0,v.o)(e,t,r)}get fieldConfigurations(){return super.fieldConfigurations}set fieldConfigurations(e){super.fieldConfigurations=e}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}findFirstValidLayerId(e){return e.layers?.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new i.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var P;(0,o.Cg)([(0,a.MZ)({type:C.A,json:{write:!1,read:!1}})],j.prototype,"attributeTableTemplate",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraHeading")})],j.prototype,"cameraHeading",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraHeight")})],j.prototype,"cameraHeight",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraPitch")})],j.prototype,"cameraPitch",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraRoll")})],j.prototype,"cameraRoll",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("coveragePercent")})],j.prototype,"coveragePercent",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("demPathPrefix")})],j.prototype,"demPathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("demPathSuffix")})],j.prototype,"demPathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("depthImagePathPrefix")})],j.prototype,"depthImagePathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("depthImagePathSuffix")})],j.prototype,"depthImagePathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:Z("elevationSource")})],j.prototype,"elevationSource",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"effectiveElevationSource",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"effectiveSequenceOrderField",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("farDistance")})],j.prototype,"farDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:[w.A]})],j.prototype,"fields",void 0),(0,o.Cg)([(0,a.MZ)()],j.prototype,"geometryType",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],j.prototype,"graphicOrigin",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("horizontalFieldOfView")})],j.prototype,"horizontalFieldOfView",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("horizontalMeasurementUnit")})],j.prototype,"horizontalMeasurementUnit",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("imageGeometryField"),default:"ImageGeometry"}})],j.prototype,"imageGeometryField",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("imagePathPrefix")})],j.prototype,"imagePathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("imagePathSuffix")})],j.prototype,"imagePathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("imageReferenceField"),default:"OIObjectID"}})],j.prototype,"imageReferenceField",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("imageRotation")})],j.prototype,"imageRotation",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("maximumDistance")})],j.prototype,"maximumDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("nearDistance")})],j.prototype,"nearDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],j.prototype,"operationalLayerType",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("orientationAccuracy",(e,t,r)=>{(0,s.sM)(r,e.join(";"),t)},e=>{const t=e?.split(";")?.map(Number);return(0,v.Qv)(t)?(0,v.Yp)(t):[0,0,0,0,0,0,0,0]},String)}})],j.prototype,"orientationAccuracy",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("orientedImageryType",v.fs.write,v.fs.read,v.fs.jsonValues.slice(1))}})],j.prototype,"orientedImageryType",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("referenceIDField"),default:"OBJECTID"}})],j.prototype,"referenceIDField",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("sequenceOrderField"),default:"SequenceOrder"}})],j.prototype,"sequenceOrderField",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("sequenceOrderFields",function(e,t,r){e?.length&&(0,s.sM)(r,e,t)}),default:[]}})],j.prototype,"sequenceOrderFields",void 0),(0,o.Cg)([(0,a.MZ)({type:l.A})],j.prototype,"spatialReference",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"subtypeField",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"subtypes",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],j.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:v.RR.apiValues,json:{...Z("timeIntervalUnit",v.RR.write,v.RR.read,v.RR.jsonValues)}})],j.prototype,"timeIntervalUnit",void 0),(0,o.Cg)([(0,a.MZ)((P=(0,n.o8)(h.B),P.json?(P.json.origins=P.json.origins??{},P.json.origins["web-scene"]={write:!1,read:!1},P):P))],j.prototype,"useViewTime",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("verticalFieldOfView")})],j.prototype,"verticalFieldOfView",void 0),(0,o.Cg)([(0,a.MZ)({type:v.l6.apiValues,json:{...Z("verticalMeasurementUnit",v.l6.write,v.l6.read,v.l6.jsonValues)}})],j.prototype,"verticalMeasurementUnit",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("verticalSearchRange")})],j.prototype,"verticalSearchRange",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("videoPathPrefix")})],j.prototype,"videoPathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("videoPathSuffix")})],j.prototype,"videoPathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.orientedImageryProperties.virtualCacheDirectory",read:!0}}}})],j.prototype,"virtualCacheDirectory",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.dsid",read:!0}}}})],j.prototype,"dataStoreID",void 0),(0,o.Cg)([(0,a.MZ)({type:b.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],j.prototype,"visibilityTimeExtent",void 0),j=(0,o.Cg)([(0,a.$K)("esri.layers.OrientedImageryLayer")],j);const N=j},32756(e,t,r){r.d(t,{Rr:()=>a});var o=r(32198),i=r(93637),n=r(91429),s=r(91880);function a(e,t,r){if(!e)return null;const o=e.find(e=>!!e.field);if(!o)return null;const i=new s.A;return i.read(o,r),[i]}const l={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,o){const n=e.find(e=>!!e.field);n&&(0,i.sM)(r,[n.toJSON()],t)}}}};r.d(t,["fY",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,o.Cg)([(0,n.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,o.Cg)([(0,n.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,l])},63490(e,t,r){r.d(t,{Mr:()=>l,TH:()=>a});var o=r(32198),i=r(69540),n=r(25482),s=r(91429);let a=class extends((0,i.OU)(n.o)){constructor(){super(...arguments),this.url=null}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"lod",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"rasterFunction",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"url",void 0),a=(0,o.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],a);let l=class extends((0,i.OU)(n.o)){constructor(e){super(e),this.constantElevation=null}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],l.prototype,"constantElevation",void 0),l=(0,o.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],l),r.d(t,["E1",0,e=>null!=e&&"number"==typeof e.constantElevation])},23281(e,t,r){r.d(t,{eR:()=>M,Qv:()=>I,fs:()=>Z,Yp:()=>O,o:()=>E,RR:()=>x,l6:()=>S});var o=r(66552),i=(r(86211),r(28735),r(32198)),n=r(69540),s=r(25482),a=r(91429),l=r(69622),p=r(21325);let u=class extends l.A{set horizontalWKID(e){e?(0,p.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,p.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:o,tangentialDistortionCoefficients:i}=this;return e?.length>1&&!Number.isNaN(t)&&r?.length>1&&o?.length>1&&i?.length>1}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"horizontalWKID",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"verticalWKID",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"z",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientation")],u);const c=u;let y=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],y.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"heading",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"pitch",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"roll",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"z",void 0),y=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationHPR")],y);const d=y;let f=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:r,ellipsoidRadius:o,squaredEccentricity:i,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${r}|${o}|${i}|${s.join("|")}`}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"latitude",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"longitude",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"ellipsoidRadius",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"squaredEccentricity",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"properties",void 0),f=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationLTP")],f);const g=f;let m=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"omega",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"phi",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"kappa",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"z",void 0),m=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationOPK")],m);const h=m;let v=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:o,tangentialDistortionCoefficients:i}=this;return e?.length>1||!Number.isNaN(t)||r?.length>1||o?.length>1||i?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"yaw",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationYPR")],v);const w=v,C=new Map;C.set("2",{desc:"Using Omega Phi Kappa",constructor:h}),C.set("1",{desc:"Using Heading, Pitch and Roll",constructor:d}),C.set("3",{desc:"Using Yaw, Pitch and Roll",constructor:w}),C.set("4",{desc:"Using Local Tangent Plane",constructor:g});var b=r(63490);function M(e,t,r){return e?(0,b.E1)(e)?new b.Mr(e):function(e,t,r){let{url:o}=e;return o?(o=function(e,t,r){return t&&(e=`${t}${e}`),r&&(e+=`${r}`),e}(o,t,r),new b.TH({...e,url:o})):null}(e,t,r):e}const x=new o.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),S=new o.J({Feet:"feet",Meter:"meter"}),Z=new o.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique",Terrestrial360Video:"terrestrial-360-video",TerrestrialFrameVideo:"terrestrial-frame-video",Aerial360Video:"aerial-360-video",AerialFrameVideo:"aerial-frame-video","":null}),j=new Map;j.set("1",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,heading:s,pitch:a,roll:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("3",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,yaw:s,pitch:a,roll:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("2",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,omega:s,phi:a,kappa:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("4",function(e){const[t,r,o,i,n,...s]=e.slice(1),a=j.get(n),l=C.get(n)?.constructor;return a&&l?{latitude:t,longitude:r,ellipsoidRadius:o,squaredEccentricity:i,properties:new l(a([n,"",...s]))}:null});const P=e=>{const t=e.map(e=>parseFloat(e)).filter(e=>!isNaN(e));if(t.length===e.length)return t};function N(e,t,r,o,i){const n=P(e),s=P(t),a=P(r),l=P(o);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(i):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}function I(e){return Array.isArray(e)&&e?.length>5&&!e.some(isNaN)}function O(e){for(e=e.slice(0,8);e.length<8;)e.push(0);return e}function E(e,t,r){const o=function(e,t){return e?.length?e.map(({field:e,order:r})=>{const o=t.find(t=>t.name.toLowerCase()===e.toLowerCase());return o?{fieldName:o.name,sortOrder:"desc"===r?.toLowerCase()?"desc":"asc"}:null}).filter(e=>null!=e):null}(r,t);if(o?.length)return o;if(!e){const e=t.find(e=>e.name.toLocaleLowerCase()==="sequenceorder".toLocaleLowerCase());return e?[{fieldName:e.name,sortOrder:"asc"}]:null}const i=t.find(t=>t.name.toLowerCase()===e.trim().toLowerCase());return i?[{fieldName:i.name,sortOrder:"asc"}]:null}},29005(e,t,r){r.d(t,{A:()=>p});var o=r(32198),i=r(69540),n=r(66552),s=r(25482),a=r(91429);const l=new n.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],p.prototype,"drawingTool",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,o.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],p)},33143(e,t,r){r.d(t,{A:()=>c});var o=r(32198),i=r(69540),n=r(25482),s=r(91429),a=r(8631),l=r(29005),p=r(36005),u=r(43937);let c=class extends((0,i.OU)(n.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,o.Cg)([(0,p.w)("domains")],c.prototype,"readDomains",null),(0,o.Cg)([(0,u.K)("domains")],c.prototype,"writeDomains",null),(0,o.Cg)([(0,s.MZ)({type:[l.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,o.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],c)},46499(e,t,r){r.d(t,{A:()=>S});var o,i,n=r(32198),s=(r(44208),r(66552)),a=r(25482),l=r(4718),p=r(90629),u=r(91429),c=r(90360),y=r(73913),d=r(32730),f=r(77548),g=r(59868),m=r(73838),h=r(33910),v=r(36005),w=r(43937);const C=new s.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function b(e,t,r){return{enabled:!(0,f.TU)(r?.layer)}}function M(e){return!e||"service"!==e.origin&&!("map-image"===e.layer?.type)}function x(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let S=class extends a.o{static{o=d.vK}static{i=this}static evaluateWhere(e,t){const r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;const o=e.split(" ");if(3===o.length)return r(t[o[0]],o[1],o[2]);if(7===o.length){const e=r(t[o[0]],o[1],o[2]),i=o[3],n=r(t[o[4]],o[5],o[6]);switch(i){case"AND":return e&&n;case"OR":return e||n}}return!1}catch(e){}}constructor(e){super(e),this[o]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=g.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){const r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,d.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){const t=(0,d.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,o){if(null==e&&null!=this.labelExpression&&M(o))e=new y.A({expression:this.getLabelExpressionArcade()});else if(!e)return;const i=e.toJSON(o);i.expression&&(t[r]=i)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,d.XJ)(this)}getLabelExpressionArcade(){return(0,d.BI)(this)}getLabelExpressionSingleField(){return(0,d.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new i({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,l.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,l.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"name",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:b}}}}})],S.prototype,"allowOverrun",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:b}}}}})],S.prototype,"deconflictionStrategy",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&x(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],S.prototype,"labelExpression",void 0),(0,n.Cg)([(0,v.w)("labelExpression")],S.prototype,"readLabelExpression",null),(0,n.Cg)([(0,w.K)("labelExpression")],S.prototype,"writeLabelExpression",null),(0,n.Cg)([(0,u.MZ)({type:y.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return M(e)||x(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],S.prototype,"labelExpressionInfo",void 0),(0,n.Cg)([(0,w.K)("labelExpressionInfo")],S.prototype,"writeLabelExpressionInfo",null),(0,n.Cg)([(0,u.MZ)({type:C.apiValues,json:{type:C.jsonValues,read:C.read,write:C.write}})],S.prototype,"labelPlacement",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],S.prototype,"offsetDistance",void 0),(0,n.Cg)([(0,u.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],S.prototype,"labelPosition",void 0),(0,n.Cg)([(0,u.MZ)({type:Number})],S.prototype,"maxScale",void 0),(0,n.Cg)([(0,w.K)("maxScale")],S.prototype,"writeMaxScale",null),(0,n.Cg)([(0,u.MZ)({type:Number})],S.prototype,"minScale",void 0),(0,n.Cg)([(0,w.K)("minScale")],S.prototype,"writeMinScale",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:b}}}}})],S.prototype,"repeatLabel",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,cast:p.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:b}}}}})],S.prototype,"repeatLabelDistance",null),(0,n.Cg)([(0,u.MZ)({types:h.em,json:{types:h.mV,origins:{"portal-item":{types:h.em,read:{reader:(0,c.C)({types:h.em})},default:null},"web-scene":{types:h.Rv,read:{reader:(0,c.C)({types:h.Rv})},write:m.oO,default:null}},write:m.oO,default:null}})],S.prototype,"symbol",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],S.prototype,"useCodedValues",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"where",void 0),S=i=(0,n.Cg)([(0,u.$K)("esri.layers.support.LabelClass")],S)},73913(e,t,r){r.d(t,{A:()=>u});var o,i=r(32198),n=r(25482),s=r(91429),a=r(32730),l=r(36005),p=r(43937);let u=class extends n.o{static{o=this}constructor(e){super(e),this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,a.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,a.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new o({expression:this.expression,title:this.title,value:this.value})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],u.prototype,"expression",void 0),(0,i.Cg)([(0,l.w)("expression",["expression","value"])],u.prototype,"readExpression",null),(0,i.Cg)([(0,p.K)("expression")],u.prototype,"writeExpression",null),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"title",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],u.prototype,"value",void 0),u=o=(0,i.Cg)([(0,s.$K)("esri.layers.support.LabelExpressionInfo")],u)},91880(e,t,r){r.d(t,{A:()=>p});var o,i=r(32198),n=r(66552),s=r(25482),a=r(91429);const l=new n.J({asc:"ascending",desc:"descending"});let p=class extends s.o{static{o=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new o({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],p.prototype,"order",void 0),p=o=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],p)},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>n});var o=r(34727),i=r(39516);function n(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const n=function(e){if("manual"===p(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:o}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],c(o));return t}(e);if(n&&((0,o.gg)(t,n[0])||(0,o.ZH)(r,n[1])))return"";const s=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=u(e.at(0)?.minScale),n=c(e.at(-1)?.maxScale);if((0,o.ZH)(i,t)||(0,o.gg)(n,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,o.ZH)(u(i.minScale),c(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===p(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const o of e.filters)l(o.minScale,o.maxScale,t,r)&&(yield o)}}function l(e,t,r,i){return e=u(e),r=u(r),t=c(t),!(!(0,o.Sp)(r,e)&&(i??r)>e||(0,o.Hx)(t,r)||void 0!==i&&(0,o.Sp)(i,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},39383(e,t,r){r.d(t,{w:()=>l,z:()=>c});var o=r(49186),i=r(53966),n=r(46499);const s=()=>i.A.getLogger("esri.layers.support.labelingInfo"),a=/\[([^[\]]+)\]/gi;function l(e,t,r){return e?e.map(e=>{const o=new n.A;if(o.read(e,r),o.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;o.labelExpression=o.labelExpression.replaceAll(a,(t,r)=>`[${function(e,t){if(!t)return e;const r=e.toLowerCase();for(let e=0;e<t.length;e++){const o=t[e].name;if(o.toLowerCase()===r)return o}return e}(r,e)}]`)}return o}):null}const p=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],u={esriGeometryPoint:p,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:p,esriGeometryEnvelope:null};function c(e,t){const r=[];for(const i of e){const e=i.labelPlacement,n=u[t];if(!i.symbol)return s().warn("No ILabelClass symbol specified."),[];if(!n)return s().error(new o.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(n.includes(e))r.push(i);else{const o=n[0];e&&s().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${o}`);const a=i.clone();a.labelPlacement=o,r.push(a)}}return r}},22671(e,t,r){r.d(t,{A:()=>v});var o,i=r(32198),n=r(52106),s=r(66552),a=r(25482),l=r(4718),p=r(91429),u=r(16930),c=r(60408),y=r(65864),d=r(50498),f=r(20437),g=r(36005),m=r(43937);const h=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=o=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,r,o){if(e)return void h.write(e,t,r,o);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void h.write(e.geometry.type,t,r,o)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,o=(0,y.rS)(e);return o&&!r&&t.spatialReference&&(o.spatialReference=u.A.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new o(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const o=t.features[r];if(o.geometry){const t=e?.[r];o.geometry=t?.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,r],translate:[o,i]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-o)/t),e=>Math.round((i-e)/r));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[o,i],scale:[n,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*n+o,e=>i-e*s,a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const o=u.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const n=e[t],s=r.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=o);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=o)}i.push(s)}return i}_quantizePoints(e,t,r){let o,i;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===o&&s===i||(n.push([e-o,s-i]),o=e,i=s)}else o=t(a[0]),i=r(a[1]),n.push([o,i])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,n=o.length;e<n;e++){const n=o[e],s=this._quantizePoints(n,t,r);s&&i.push(s)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,r);return o&&o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,o,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),o&&(e.z=o(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,o=n.length;e<o;e++){const o=n[e];for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}}if(o&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2]),r[3]=i(r[3])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),o&&null!=e.zmax&&null!=e.zmin&&(e.zmax=o(e.zmax),e.zmin=o(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],a+=o[1]):(s=o[0],a=o[1]),o[0]=t(s),o[1]=r(a)}if(o&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2]),t[3]=i(t[3])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,p.MZ)({type:[n.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,p.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:h.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,p.MZ)({types:d.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=o=(0,i.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1560,4500,5651],{19334(e,t,r){r.d(t,{e:()=>s});var o=r(54639),i=r(14112);class n{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry.toJSON()}toAccessorGeometry(e){return this._geometry}toGxGeometry(e){return e.fromAccessorGeometry(this._geometry)}}function s(e){if(null==e)return null;switch(e.type){case"point":if((0,i.e6)(e))return null;break;case"polygon":if((0,i.Wq)(e))return null;break;case"polyline":if((0,i.IY)(e))return null;break;case"multipoint":if((0,i.DG)(e))return null;break;case"extent":if((0,i.As)(e))return null;break;default:return null}const t=o.R.of(e.type,e.spatialReference,e.hasZ,e.hasM,new n(e));return t.asAccessorGeometry(),t}},36983(e,t,r){r.d(t,{R:()=>p,p:()=>u});var o=r(54639),i=r(14112),n=r(16930),s=r(60408),a=r(65864);class l{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry}toAccessorGeometry(e){const t=(0,a.rS)(this._geometry);return t.spatialReference=e,t}toGxGeometry(e){return e.fromJsonGeometry(this._geometry)}}function p(e,t){if(null==e||"object"!=typeof e)return null;let r=t;if("spatialReference"in e&&(e.spatialReference instanceof n.A?r=e.spatialReference:"object"==typeof e.spatialReference&&null!=e.spatialReference&&(r=new n.A,r.read(e.spatialReference))),null==r)throw new Error("Spatial reference required");return(0,s.fT)(e)?u("point",e,r):(0,s.Rg)(e)?u("polyline",e,r):(0,s.Bi)(e)?u("polygon",e,r):(0,s.U9)(e)?u("multipoint",e,r):(0,s.ZC)(e)?u("extent",e,r):null}function u(e,t,r){if(null==t)return null;let n=!1,s=!1;switch(e){case"point":if((0,i.e6)(t))return null;n=void 0!==t.z,s=void 0!==t.m;break;case"polygon":if((0,i.Wq)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"polyline":if((0,i.IY)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"multipoint":if((0,i.DG)(t))return null;n=!0===t.hasZ,s=!0===t.hasM;break;case"extent":if((0,i.As)(t))return null;n=null!=t.zmin&&null!=t.zmax,s=null!=t.mmin&&null!=t.mmax;break;default:throw new Error("Unsupported geometry type: "+t.type)}return o.R.of(e,r,n,s,new l(t))}},14112(e,t,r){function o(e){return"NaN"===e.x||null===e.x||isNaN(e.x)}function i(e){if(0===(e.curveRings??e.rings).length)return!0;for(const t of e.curveRings??e.rings)if(t.length>0)return!1;return!0}function n(e){if(0===(e.curvePaths??e.paths).length)return!0;for(const t of e.curvePaths??e.paths)if(t.length>0)return!1;return!0}function s(e){return 0===e.points.length}function a(e){return"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)}r.d(t,{As:()=>a,DG:()=>s,IY:()=>n,Wq:()=>i,e6:()=>o})},16852(e,t,r){r.r(t),r.d(t,{default:()=>N});var o=r(32198),i=r(49186),n=r(4718),s=r(93637),a=r(91429),l=r(16930),p=r(55156),u=r(60950),c=r(89808),y=r(99959);const d=Symbol("isOrientedImageryGraphicOrigin");var f;class g extends y.A{get[(f=d,u.ym)](){return this.layer}get[p.e](){return this.layer}get[c.Q](){return this.layer}constructor(e){super(),this[f]=!0,this.type="oriented-imagery",this.layer=e}get id(){return this.layer.id}}var m=r(18589),h=r(82935),v=r(23281),w=r(20437),C=r(43440),b=r(79677);const M=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","imageGeometryField","imageReferenceField","referenceIDField","sequenceOrderField","sequenceOrderFields","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),x=new Set(["elevationSource"]),S=(e,t)=>!M.has(t)&&e;function Z(e,t,r,o){const{name:i,write:n,read:s}=((e,t,r)=>{const o=`orientedImageryProperties.${e}`,i={allowNull:x.has(e),ignoreOrigin:!0};return{name:o,write:t?{...i,target:o,writer:t}:i,read:r?{ignoreOrigin:!0,source:o,reader:r}:{ignoreOrigin:!0}}})(e,t,r),a={name:i,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${i}`,write:t,read:r},"web-scene":{name:i,write:S(n,e),read:S(s,e)},"web-map":{name:i,write:n,read:s}}};return o&&a.origins?(a.type=o,a.origins["web-map"].type=o,a.origins["web-scene"].type=o,a):a}let j=class extends m.default{constructor(e){super(e),this.attributeTableTemplate=null,this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.graphicOrigin=new g(this),this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imageGeometryField="ImageGeometry",this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageReferenceField="OIObjectID",this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.referenceIDField="OBJECTID",this.sequenceOrderField="SequenceOrder",this.sequenceOrderFields=[],this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.verticalSearchRange=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.virtualCacheDirectory=null,this.dataStoreID=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:r}=this;return(0,v.eR)(e,t,r)}get effectiveSequenceOrderField(){const{sequenceOrderField:e,fields:t,sequenceOrderFields:r}=this;return(0,v.o)(e,t,r)}get fieldConfigurations(){return super.fieldConfigurations}set fieldConfigurations(e){super.fieldConfigurations=e}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}findFirstValidLayerId(e){return e.layers?.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new i.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var P;(0,o.Cg)([(0,a.MZ)({type:C.A,json:{write:!1,read:!1}})],j.prototype,"attributeTableTemplate",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraHeading")})],j.prototype,"cameraHeading",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraHeight")})],j.prototype,"cameraHeight",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraPitch")})],j.prototype,"cameraPitch",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("cameraRoll")})],j.prototype,"cameraRoll",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("coveragePercent")})],j.prototype,"coveragePercent",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("demPathPrefix")})],j.prototype,"demPathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("demPathSuffix")})],j.prototype,"demPathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("depthImagePathPrefix")})],j.prototype,"depthImagePathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("depthImagePathSuffix")})],j.prototype,"depthImagePathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:Z("elevationSource")})],j.prototype,"elevationSource",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"effectiveElevationSource",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"effectiveSequenceOrderField",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("farDistance")})],j.prototype,"farDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:[w.A]})],j.prototype,"fields",void 0),(0,o.Cg)([(0,a.MZ)()],j.prototype,"geometryType",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],j.prototype,"graphicOrigin",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("horizontalFieldOfView")})],j.prototype,"horizontalFieldOfView",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("horizontalMeasurementUnit")})],j.prototype,"horizontalMeasurementUnit",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("imageGeometryField"),default:"ImageGeometry"}})],j.prototype,"imageGeometryField",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("imagePathPrefix")})],j.prototype,"imagePathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("imagePathSuffix")})],j.prototype,"imagePathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("imageReferenceField"),default:"OIObjectID"}})],j.prototype,"imageReferenceField",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("imageRotation")})],j.prototype,"imageRotation",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("maximumDistance")})],j.prototype,"maximumDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("nearDistance")})],j.prototype,"nearDistance",void 0),(0,o.Cg)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],j.prototype,"operationalLayerType",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("orientationAccuracy",(e,t,r)=>{(0,s.sM)(r,e.join(";"),t)},e=>{const t=e?.split(";")?.map(Number);return(0,v.Qv)(t)?(0,v.Yp)(t):[0,0,0,0,0,0,0,0]},String)}})],j.prototype,"orientationAccuracy",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("orientedImageryType",v.fs.write,v.fs.read,v.fs.jsonValues.slice(1))}})],j.prototype,"orientedImageryType",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("referenceIDField"),default:"OBJECTID"}})],j.prototype,"referenceIDField",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{...Z("sequenceOrderField"),default:"SequenceOrder"}})],j.prototype,"sequenceOrderField",void 0),(0,o.Cg)([(0,a.MZ)({json:{...Z("sequenceOrderFields",function(e,t,r){e?.length&&(0,s.sM)(r,e,t)}),default:[]}})],j.prototype,"sequenceOrderFields",void 0),(0,o.Cg)([(0,a.MZ)({type:l.A})],j.prototype,"spatialReference",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"subtypeField",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],j.prototype,"subtypes",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],j.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:v.RR.apiValues,json:{...Z("timeIntervalUnit",v.RR.write,v.RR.read,v.RR.jsonValues)}})],j.prototype,"timeIntervalUnit",void 0),(0,o.Cg)([(0,a.MZ)((P=(0,n.o8)(h.B),P.json?(P.json.origins=P.json.origins??{},P.json.origins["web-scene"]={write:!1,read:!1},P):P))],j.prototype,"useViewTime",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("verticalFieldOfView")})],j.prototype,"verticalFieldOfView",void 0),(0,o.Cg)([(0,a.MZ)({type:v.l6.apiValues,json:{...Z("verticalMeasurementUnit",v.l6.write,v.l6.read,v.l6.jsonValues)}})],j.prototype,"verticalMeasurementUnit",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:Z("verticalSearchRange")})],j.prototype,"verticalSearchRange",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("videoPathPrefix")})],j.prototype,"videoPathPrefix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:Z("videoPathSuffix")})],j.prototype,"videoPathSuffix",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.orientedImageryProperties.virtualCacheDirectory",read:!0}}}})],j.prototype,"virtualCacheDirectory",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.dsid",read:!0}}}})],j.prototype,"dataStoreID",void 0),(0,o.Cg)([(0,a.MZ)({type:b.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],j.prototype,"visibilityTimeExtent",void 0),j=(0,o.Cg)([(0,a.$K)("esri.layers.OrientedImageryLayer")],j);const N=j},32756(e,t,r){r.d(t,{Rr:()=>a});var o=r(32198),i=r(93637),n=r(91429),s=r(91880);function a(e,t,r){if(!e)return null;const o=e.find(e=>!!e.field);if(!o)return null;const i=new s.A;return i.read(o,r),[i]}const l={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,o){const n=e.find(e=>!!e.field);n&&(0,i.sM)(r,[n.toJSON()],t)}}}};r.d(t,["fY",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,o.Cg)([(0,n.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,o.Cg)([(0,n.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,l])},63490(e,t,r){r.d(t,{Mr:()=>l,TH:()=>a});var o=r(32198),i=r(69540),n=r(25482),s=r(91429);let a=class extends((0,i.OU)(n.o)){constructor(){super(...arguments),this.url=null}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"lod",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"rasterFunction",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"url",void 0),a=(0,o.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],a);let l=class extends((0,i.OU)(n.o)){constructor(e){super(e),this.constantElevation=null}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],l.prototype,"constantElevation",void 0),l=(0,o.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],l),r.d(t,["E1",0,e=>null!=e&&"number"==typeof e.constantElevation])},23281(e,t,r){r.d(t,{eR:()=>M,Qv:()=>I,fs:()=>Z,Yp:()=>O,o:()=>E,RR:()=>x,l6:()=>S});var o=r(66552),i=(r(86211),r(28735),r(32198)),n=r(69540),s=r(25482),a=r(91429),l=r(69622),p=r(21325);let u=class extends l.A{set horizontalWKID(e){e?(0,p.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,p.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:o,tangentialDistortionCoefficients:i}=this;return e?.length>1&&!Number.isNaN(t)&&r?.length>1&&o?.length>1&&i?.length>1}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"horizontalWKID",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"verticalWKID",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"z",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientation")],u);const c=u;let y=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],y.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],y.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"heading",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"pitch",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"roll",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"z",void 0),y=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationHPR")],y);const d=y;let f=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:r,ellipsoidRadius:o,squaredEccentricity:i,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${r}|${o}|${i}|${s.join("|")}`}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"latitude",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"longitude",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"ellipsoidRadius",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"squaredEccentricity",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"properties",void 0),f=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationLTP")],f);const g=f;let m=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],m.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"omega",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"phi",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"kappa",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"z",void 0),m=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationOPK")],m);const h=m;let v=class extends((0,n.OU)((0,s.T)(c))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:o,tangentialDistortionCoefficients:i}=this;return e?.length>1||!Number.isNaN(t)||r?.length>1||o?.length>1||i?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,r,o,i,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(u),c?.forEach(e=>f.push(e)),c?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"yaw",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationYPR")],v);const w=v,C=new Map;C.set("2",{desc:"Using Omega Phi Kappa",constructor:h}),C.set("1",{desc:"Using Heading, Pitch and Roll",constructor:d}),C.set("3",{desc:"Using Yaw, Pitch and Roll",constructor:w}),C.set("4",{desc:"Using Local Tangent Plane",constructor:g});var b=r(63490);function M(e,t,r){return e?(0,b.E1)(e)?new b.Mr(e):function(e,t,r){let{url:o}=e;return o?(o=function(e,t,r){return t&&(e=`${t}${e}`),r&&(e+=`${r}`),e}(o,t,r),new b.TH({...e,url:o})):null}(e,t,r):e}const x=new o.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),S=new o.J({Feet:"feet",Meter:"meter"}),Z=new o.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique",Terrestrial360Video:"terrestrial-360-video",TerrestrialFrameVideo:"terrestrial-frame-video",Aerial360Video:"aerial-360-video",AerialFrameVideo:"aerial-frame-video","":null}),j=new Map;j.set("1",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,heading:s,pitch:a,roll:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("3",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,yaw:s,pitch:a,roll:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("2",function(e){const[t,r,o,i,n,s,a,l,p,u,c,y,d,f,g,m,h,v,w,C,b,M]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:o,y:i,z:n,omega:s,phi:a,kappa:l,...N([p,u,c,y,d,f],[m,h],[v,w,C],[b,M],g)}}),j.set("4",function(e){const[t,r,o,i,n,...s]=e.slice(1),a=j.get(n),l=C.get(n)?.constructor;return a&&l?{latitude:t,longitude:r,ellipsoidRadius:o,squaredEccentricity:i,properties:new l(a([n,"",...s]))}:null});const P=e=>{const t=e.map(e=>parseFloat(e)).filter(e=>!isNaN(e));if(t.length===e.length)return t};function N(e,t,r,o,i){const n=P(e),s=P(t),a=P(r),l=P(o);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(i):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}function I(e){return Array.isArray(e)&&e?.length>5&&!e.some(isNaN)}function O(e){for(e=e.slice(0,8);e.length<8;)e.push(0);return e}function E(e,t,r){const o=function(e,t){return e?.length?e.map(({field:e,order:r})=>{const o=t.find(t=>t.name.toLowerCase()===e.toLowerCase());return o?{fieldName:o.name,sortOrder:"desc"===r?.toLowerCase()?"desc":"asc"}:null}).filter(e=>null!=e):null}(r,t);if(o?.length)return o;if(!e){const e=t.find(e=>e.name.toLocaleLowerCase()==="sequenceorder".toLocaleLowerCase());return e?[{fieldName:e.name,sortOrder:"asc"}]:null}const i=t.find(t=>t.name.toLowerCase()===e.trim().toLowerCase());return i?[{fieldName:i.name,sortOrder:"asc"}]:null}},29005(e,t,r){r.d(t,{A:()=>p});var o=r(32198),i=r(69540),n=r(66552),s=r(25482),a=r(91429);const l=new n.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],p.prototype,"drawingTool",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,o.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],p)},33143(e,t,r){r.d(t,{A:()=>c});var o=r(32198),i=r(69540),n=r(25482),s=r(91429),a=r(8631),l=r(29005),p=r(36005),u=r(43937);let c=class extends((0,i.OU)(n.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,o.Cg)([(0,p.w)("domains")],c.prototype,"readDomains",null),(0,o.Cg)([(0,u.K)("domains")],c.prototype,"writeDomains",null),(0,o.Cg)([(0,s.MZ)({type:[l.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,o.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],c)},46499(e,t,r){r.d(t,{A:()=>S});var o,i,n=r(32198),s=(r(44208),r(66552)),a=r(25482),l=r(4718),p=r(90629),u=r(91429),c=r(90360),y=r(73913),d=r(32730),f=r(77548),g=r(59868),m=r(73838),h=r(33910),v=r(36005),w=r(43937);const C=new s.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function b(e,t,r){return{enabled:!(0,f.TU)(r?.layer)}}function M(e){return!e||"service"!==e.origin&&!("map-image"===e.layer?.type)}function x(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let S=class extends a.o{static{o=d.vK}static{i=this}static evaluateWhere(e,t){const r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;const o=e.split(" ");if(3===o.length)return r(t[o[0]],o[1],o[2]);if(7===o.length){const e=r(t[o[0]],o[1],o[2]),i=o[3],n=r(t[o[4]],o[5],o[6]);switch(i){case"AND":return e&&n;case"OR":return e||n}}return!1}catch(e){}}constructor(e){super(e),this[o]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=g.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){const r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,d.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){const t=(0,d.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,o){if(null==e&&null!=this.labelExpression&&M(o))e=new y.A({expression:this.getLabelExpressionArcade()});else if(!e)return;const i=e.toJSON(o);i.expression&&(t[r]=i)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,d.XJ)(this)}getLabelExpressionArcade(){return(0,d.BI)(this)}getLabelExpressionSingleField(){return(0,d.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new i({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,l.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,l.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"name",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:b}}}}})],S.prototype,"allowOverrun",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:b}}}}})],S.prototype,"deconflictionStrategy",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&x(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],S.prototype,"labelExpression",void 0),(0,n.Cg)([(0,v.w)("labelExpression")],S.prototype,"readLabelExpression",null),(0,n.Cg)([(0,w.K)("labelExpression")],S.prototype,"writeLabelExpression",null),(0,n.Cg)([(0,u.MZ)({type:y.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return M(e)||x(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],S.prototype,"labelExpressionInfo",void 0),(0,n.Cg)([(0,w.K)("labelExpressionInfo")],S.prototype,"writeLabelExpressionInfo",null),(0,n.Cg)([(0,u.MZ)({type:C.apiValues,json:{type:C.jsonValues,read:C.read,write:C.write}})],S.prototype,"labelPlacement",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],S.prototype,"offsetDistance",void 0),(0,n.Cg)([(0,u.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],S.prototype,"labelPosition",void 0),(0,n.Cg)([(0,u.MZ)({type:Number})],S.prototype,"maxScale",void 0),(0,n.Cg)([(0,w.K)("maxScale")],S.prototype,"writeMaxScale",null),(0,n.Cg)([(0,u.MZ)({type:Number})],S.prototype,"minScale",void 0),(0,n.Cg)([(0,w.K)("minScale")],S.prototype,"writeMinScale",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:b}}}}})],S.prototype,"repeatLabel",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,cast:p.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:b}}}}})],S.prototype,"repeatLabelDistance",null),(0,n.Cg)([(0,u.MZ)({types:h.em,json:{types:h.em,origins:{"portal-item":{types:h.em,read:{reader:(0,c.C)({types:h.em})},default:null},"web-scene":{types:h.Rv,read:{reader:(0,c.C)({types:h.Rv})},write:m.oO,default:null}},write:m.oO,default:null}})],S.prototype,"symbol",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],S.prototype,"useCodedValues",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"where",void 0),S=i=(0,n.Cg)([(0,u.$K)("esri.layers.support.LabelClass")],S)},73913(e,t,r){r.d(t,{A:()=>u});var o,i=r(32198),n=r(25482),s=r(91429),a=r(32730),l=r(36005),p=r(43937);let u=class extends n.o{static{o=this}constructor(e){super(e),this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,a.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,a.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new o({expression:this.expression,title:this.title,value:this.value})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],u.prototype,"expression",void 0),(0,i.Cg)([(0,l.w)("expression",["expression","value"])],u.prototype,"readExpression",null),(0,i.Cg)([(0,p.K)("expression")],u.prototype,"writeExpression",null),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"title",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],u.prototype,"value",void 0),u=o=(0,i.Cg)([(0,s.$K)("esri.layers.support.LabelExpressionInfo")],u)},91880(e,t,r){r.d(t,{A:()=>p});var o,i=r(32198),n=r(66552),s=r(25482),a=r(91429);const l=new n.J({asc:"ascending",desc:"descending"});let p=class extends s.o{static{o=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new o({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],p.prototype,"order",void 0),p=o=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],p)},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>n});var o=r(34727),i=r(39516);function n(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const n=function(e){if("manual"===p(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:o}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],c(o));return t}(e);if(n&&((0,o.gg)(t,n[0])||(0,o.ZH)(r,n[1])))return"";const s=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=u(e.at(0)?.minScale),n=c(e.at(-1)?.maxScale);if((0,o.ZH)(i,t)||(0,o.gg)(n,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,o.ZH)(u(i.minScale),c(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===p(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const o of e.filters)l(o.minScale,o.maxScale,t,r)&&(yield o)}}function l(e,t,r,i){return e=u(e),r=u(r),t=c(t),!(!(0,o.Sp)(r,e)&&(i??r)>e||(0,o.Hx)(t,r)||void 0!==i&&(0,o.Sp)(i,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},39383(e,t,r){r.d(t,{w:()=>l,z:()=>c});var o=r(49186),i=r(53966),n=r(46499);const s=()=>i.A.getLogger("esri.layers.support.labelingInfo"),a=/\[([^[\]]+)\]/gi;function l(e,t,r){return e?e.map(e=>{const o=new n.A;if(o.read(e,r),o.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;o.labelExpression=o.labelExpression.replaceAll(a,(t,r)=>`[${function(e,t){if(!t)return e;const r=e.toLowerCase();for(let e=0;e<t.length;e++){const o=t[e].name;if(o.toLowerCase()===r)return o}return e}(r,e)}]`)}return o}):null}const p=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],u={esriGeometryPoint:p,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:p,esriGeometryEnvelope:null};function c(e,t){const r=[];for(const i of e){const e=i.labelPlacement,n=u[t];if(!i.symbol)return s().warn("No ILabelClass symbol specified."),[];if(!n)return s().error(new o.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(n.includes(e))r.push(i);else{const o=n[0];e&&s().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${o}`);const a=i.clone();a.labelPlacement=o,r.push(a)}}return r}},22671(e,t,r){r.d(t,{A:()=>v});var o,i=r(32198),n=r(52106),s=r(66552),a=r(25482),l=r(4718),p=r(91429),u=r(16930),c=r(60408),y=r(65864),d=r(50498),f=r(20437),g=r(36005),m=r(43937);const h=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=o=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,r,o){if(e)return void h.write(e,t,r,o);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void h.write(e.geometry.type,t,r,o)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,o=(0,y.rS)(e);return o&&!r&&t.spatialReference&&(o.spatialReference=u.A.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new o(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const o=t.features[r];if(o.geometry){const t=e?.[r];o.geometry=t?.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,r],translate:[o,i]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-o)/t),e=>Math.round((i-e)/r));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[o,i],scale:[n,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*n+o,e=>i-e*s,a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const o=u.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const n=e[t],s=r.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=o);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=o)}i.push(s)}return i}_quantizePoints(e,t,r){let o,i;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===o&&s===i||(n.push([e-o,s-i]),o=e,i=s)}else o=t(a[0]),i=r(a[1]),n.push([o,i])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,n=o.length;e<n;e++){const n=o[e],s=this._quantizePoints(n,t,r);s&&i.push(s)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,r);return o&&o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,o,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),o&&(e.z=o(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,o=n.length;e<o;e++){const o=n[e];for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}}if(o&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2]),r[3]=i(r[3])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),o&&null!=e.zmax&&null!=e.zmin&&(e.zmax=o(e.zmax),e.zmin=o(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],a+=o[1]):(s=o[0],a=o[1]),o[0]=t(s),o[1]=r(a)}if(o&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2]),t[3]=i(t[3])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,p.MZ)({type:[n.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,p.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:h.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,p.MZ)({types:d.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=o=(0,i.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6930],{83290(e,t,r){r.d(t,{a:()=>f,b:()=>D,i:()=>s,l:()=>_});var n=r(2741),o=r(44208);let i,a=null;function s(){return!!a}function _(){return i||(i=r.e(6187).then(()=>r(46187)).then(({default:e})=>e({locateFile:e=>(0,n.s)(`esri/geometry/support/${e}`)})).then(e=>{R(e)}),i)}const l={geogToProj(e,t,r){a.ensureCache.prepare();const n=I(r),o=r===n,i=a.ensureFloat64(n),s=a._pe_geog_to_proj(a.getPointer(e),t,i);return s&&B(r,t,i,o),s},projGeog(e,t,r,n){switch(n){case f.PE_TRANSFORM_P_TO_G:return l.projToGeog(e,t,r);case f.PE_TRANSFORM_G_TO_P:return l.geogToProj(e,t,r)}return 0},projToGeog:(e,t,r)=>l.projToGeogCenter(e,t,r,0),projToGeogCenter(e,t,r,n){a.ensureCache.prepare();const o=I(r),i=r===o,s=a.ensureFloat64(o),_=a._pe_proj_to_geog_center(a.getPointer(e),t,s,n);return _&&B(r,t,s,i),_}};class f{static init(){f.PE_BUFFER_MAX=a.PeDefs.prototype.PE_BUFFER_MAX,f.PE_NAME_MAX=a.PeDefs.prototype.PE_NAME_MAX,f.PE_MGRS_MAX=a.PeDefs.prototype.PE_MGRS_MAX,f.PE_USNG_MAX=a.PeDefs.prototype.PE_USNG_MAX,f.PE_DD_MAX=a.PeDefs.prototype.PE_DD_MAX,f.PE_DDM_MAX=a.PeDefs.prototype.PE_DDM_MAX,f.PE_DMS_MAX=a.PeDefs.prototype.PE_DMS_MAX,f.PE_UTM_MAX=a.PeDefs.prototype.PE_UTM_MAX,f.PE_PARM_MAX=a.PeDefs.prototype.PE_PARM_MAX,f.PE_TYPE_NONE=a.PeDefs.prototype.PE_TYPE_NONE,f.PE_TYPE_GEOGCS=a.PeDefs.prototype.PE_TYPE_GEOGCS,f.PE_TYPE_PROJCS=a.PeDefs.prototype.PE_TYPE_PROJCS,f.PE_TYPE_GEOGTRAN=a.PeDefs.prototype.PE_TYPE_GEOGTRAN,f.PE_TYPE_COORDSYS=a.PeDefs.prototype.PE_TYPE_COORDSYS,f.PE_TYPE_UNIT=a.PeDefs.prototype.PE_TYPE_UNIT,f.PE_TYPE_LINUNIT=a.PeDefs.prototype.PE_TYPE_LINUNIT,f.PE_STR_OPTS_NONE=a.PeDefs.prototype.PE_STR_OPTS_NONE,f.PE_STR_AUTH_NONE=a.PeDefs.prototype.PE_STR_AUTH_NONE,f.PE_STR_AUTH_TOP=a.PeDefs.prototype.PE_STR_AUTH_TOP,f.PE_STR_NAME_CANON=a.PeDefs.prototype.PE_STR_NAME_CANON,f.PE_STR_FMT_WKT=a.PeDefs.prototype.PE_STR_FMT_WKT,f.PE_STR_FMT_WKT2=a.PeDefs.prototype.PE_STR_FMT_WKT2,f.PE_PARM_X0=a.PeDefs.prototype.PE_PARM_X0,f.PE_PARM_ND=a.PeDefs.prototype.PE_PARM_ND,f.PE_TRANSFORM_1_TO_2=a.PeDefs.prototype.PE_TRANSFORM_1_TO_2,f.PE_TRANSFORM_2_TO_1=a.PeDefs.prototype.PE_TRANSFORM_2_TO_1,f.PE_TRANSFORM_P_TO_G=a.PeDefs.prototype.PE_TRANSFORM_P_TO_G,f.PE_TRANSFORM_G_TO_P=a.PeDefs.prototype.PE_TRANSFORM_G_TO_P,f.PE_HORIZON_RECT=a.PeDefs.prototype.PE_HORIZON_RECT,f.PE_HORIZON_POLY=a.PeDefs.prototype.PE_HORIZON_POLY,f.PE_HORIZON_LINE=a.PeDefs.prototype.PE_HORIZON_LINE,f.PE_HORIZON_DELTA=a.PeDefs.prototype.PE_HORIZON_DELTA}}let c=null;const u={},d={},m=e=>{const t=e.getType();switch(t){case f.PE_TYPE_GEOGCS:e=a.castObject(e,a.PeGeogcs);break;case f.PE_TYPE_PROJCS:e=a.castObject(e,a.PeProjcs);break;case f.PE_TYPE_GEOGTRAN:e=a.castObject(e,a.PeGeogtran);break;default:t&f.PE_TYPE_UNIT&&(e=a.castObject(e,a.PeUnit))}return e},P={initialize(){a.PeFactory.prototype.initialize(null)},coordsys:e=>P.factoryByType(f.PE_TYPE_COORDSYS,e),factoryByType(e,t){let r=null,n=u[e];if(n||(n={},u[e]=n),n.hasOwnProperty(String(t))&&(r=n[t],a.compare(r,a.NULL)&&(r=null)),!r){const o=a.PeFactory.prototype.factoryByType(e,t);a.compare(o,a.NULL)||(r=m(o),n[t]=r)}return r},fromString(e,t,r=!1){if(r)switch(e){case f.PE_TYPE_GEOGCS:case f.PE_TYPE_PROJCS:case f.PE_TYPE_COORDSYS:{const r=a.PeFactory.prototype.fromString(e,t);return a.compare(r,a.NULL)?null:m(r)}default:return null}let n=null,o=d[e];if(o||(o={},d[e]=o),o.hasOwnProperty(t)&&(n=o[t],a.compare(n,a.NULL)&&(n=null)),!n){const r=a.PeFactory.prototype.fromString(e,t);a.compare(r,a.NULL)||(n=m(r),o[t]=n)}return n},geogcs:e=>P.factoryByType(f.PE_TYPE_GEOGCS,e),geogtran:e=>P.factoryByType(f.PE_TYPE_GEOGTRAN,e),getCode:e=>a.PeFactory.prototype.getCode(e),projcs:e=>P.factoryByType(f.PE_TYPE_PROJCS,e),unit:e=>P.factoryByType(f.PE_TYPE_UNIT,e)};let p,h=null;const S={PE_GTLIST_OPTS_COMMON:0,init(){S.PE_GTLIST_OPTS_COMMON=a.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,p=a._pe_getPeGTlistExtendedEntrySize()},getGTlist(e,t,r,n,o,i){let s=null;const _=new a.PeInteger(i);try{const l=a.PeGTlistExtended.prototype.getGTlist(e,t,r,n,o,_);if((i=_.val)&&(s=[l],i>1)){const e=a.getPointer(l);for(let t=1;t<i;t++)s.push(a.wrapPointer(e+p*t,a.PeGTlistExtendedEntry))}}finally{a.destroy(_)}return s}},E={destroy(e){if(e?.length){for(const t of e)k(t),t.getEntries().forEach(e=>{k(e);const t=e.getGeogtran();k(t),t.getParameters().forEach(k),[t.getGeogcs1(),t.getGeogcs2()].forEach(e=>{k(e);const t=e.getDatum();k(t),k(t.getSpheroid()),k(e.getPrimem()),k(e.getUnit())})});a.PeGTlistExtendedEntry.prototype.Delete(e[0])}}},g={geogToGeog(e,t,r,n,o){a.ensureCache.prepare();const i=I(r),s=r===i,_=a.ensureFloat64(i);let l=0;n&&(l=a.ensureFloat64(n));const f=a._pe_geog_to_geog(a.getPointer(e),t,_,l,o);return f&&B(r,t,_,s),f}},y={geodesicCoordinate(e,t,r,n,o,i,s,_){a.PeLineType.prototype.geodesic_coordinate(e,t,r,n,o,i,s,_)},geodeticCoordinate(e,t,r,n,o,i,s,_,l){a.PeLineType.prototype.geodetic_coordinate(e,t,r,n,o,i,s,_,l)},geodeticDistance(e,t,r,n,o,i,s,_,l,f){a.PeLineType.prototype.geodetic_distance(e,t,r,n,o,i,s,_,l,f)},greatEllipticDistance(e,t,r,n,o,i,s,_,l){a.PeLineType.prototype.great_elliptic_distance(e,t,r,n,o,i,s,_,l)}},T={phiToEta:(e,t)=>a.PeMath.prototype.phi_to_eta(e,t),etaToPhi:(e,t)=>a.PeMath.prototype.eta_to_phi(e,t),phiToPhig:(e,t)=>a.PeMath.prototype.phi_to_phig(e,t),q:(e,t,r)=>a.PeMath.prototype.q(e,t,r),q90:(e,t)=>a.PeMath.prototype.q90(e,t)},M=(e,t,r,n,o,i)=>{let s,_;switch(a.ensureCache.prepare(),e){case"dd":s=a._pe_geog_to_dd,_=f.PE_DD_MAX;break;case"ddm":s=a._pe_geog_to_ddm,_=f.PE_DDM_MAX;break;case"dms":s=a._pe_geog_to_dms,_=f.PE_DMS_MAX}let l=0;t&&(l=a.getPointer(t));const c=I(n),u=a.ensureFloat64(c),d=w(r,_),m=s(l,r,u,o,a.ensureInt32(d));if(m)for(let e=0;e<r;e++)i[e]=a.UTF8ToString(d[e]);return m},G=(e,t,r,n,o)=>{let i;switch(a.ensureCache.prepare(),e){case"dd":i=a._pe_dd_to_geog;break;case"ddm":i=a._pe_ddm_to_geog;break;case"dms":i=a._pe_dms_to_geog}let s=0;t&&(s=a.getPointer(t));const _=n.map(e=>a.ensureString(e)),l=a.ensureInt32(_),f=a.ensureFloat64(new Array(2*r)),c=i(s,r,l,f);return c&&B(o,r,f),c},O={geogToDms:(e,t,r,n,o)=>M("dms",e,t,r,n,o),dmsToGeog:(e,t,r,n)=>G("dms",e,t,r,n),geogToDdm:(e,t,r,n,o)=>M("ddm",e,t,r,n,o),ddmToGeog:(e,t,r,n)=>G("ddm",e,t,r,n),geogToDd:(e,t,r,n,o)=>M("dd",e,t,r,n,o),ddToGeog:(e,t,r,n)=>G("dd",e,t,r,n)};class A{static init(){A.PE_MGRS_STYLE_NEW=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,A.PE_MGRS_STYLE_OLD=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,A.PE_MGRS_STYLE_AUTO=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,A.PE_MGRS_180_ZONE_1_PLUS=a.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,A.PE_MGRS_ADD_SPACES=a.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES}static geogToMgrsExtended(e,t,r,n,o,i,s){a.ensureCache.prepare();let _=0;e&&(_=a.getPointer(e));const l=I(r),c=a.ensureFloat64(l),u=w(t,f.PE_MGRS_MAX),d=a.ensureInt32(u),m=a._pe_geog_to_mgrs_extended(_,t,c,n,o,i,d);if(m)for(let e=0;e<t;e++)s[e]=a.UTF8ToString(u[e]);return m}static mgrsToGeogExtended(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=r.map(e=>a.ensureString(e)),_=a.ensureInt32(s),l=a.ensureFloat64(new Array(2*t)),f=a._pe_mgrs_to_geog_extended(i,t,_,n,l);return f&&B(o,t,l),f}}const U={geogToUsng(e,t,r,n,o,i,s){a.ensureCache.prepare();let _=0;e&&(_=a.getPointer(e));const l=I(r),c=a.ensureFloat64(l),u=w(t,f.PE_MGRS_MAX),d=a.ensureInt32(u),m=a._pe_geog_to_usng(_,t,c,n,o,i,d);if(m)for(let e=0;e<t;e++)s[e]=a.UTF8ToString(u[e]);return m},usngToGeog(e,t,r,n){a.ensureCache.prepare();let o=0;e&&(o=a.getPointer(e));const i=r.map(e=>a.ensureString(e)),s=a.ensureInt32(i),_=a.ensureFloat64(new Array(2*t)),l=a._pe_usng_to_geog(o,t,s,_);return l&&B(n,t,_),l}};class N{static init(){N.PE_UTM_OPTS_NONE=a.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,N.PE_UTM_OPTS_ADD_SPACES=a.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,N.PE_UTM_OPTS_NS=a.PeNotationUtm.prototype.PE_UTM_OPTS_NS}static geogToUtm(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=I(r),_=a.ensureFloat64(s),l=w(t,f.PE_UTM_MAX),c=a.ensureInt32(l),u=a._pe_geog_to_utm(i,t,_,n,c);if(u)for(let e=0;e<t;e++)o[e]=a.UTF8ToString(l[e]);return u}static utmToGeog(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=r.map(e=>a.ensureString(e)),_=a.ensureInt32(s),l=a.ensureFloat64(new Array(2*t)),f=a._pe_utm_to_geog(i,t,_,n,l);return f&&B(o,t,l),f}}class D{static{this.cache=new Map}static init(){D.PE_PCSINFO_OPTION_NONE=a.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,D.PE_PCSINFO_OPTION_DOMAIN=a.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,D.PE_POLE_OUTSIDE_BOUNDARY=a.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,D.PE_POLE_POINT=a.PePCSInfo.prototype.PE_POLE_POINT}static generate(e,t=D.PE_PCSINFO_OPTION_DOMAIN){let r=null,n=null;return D.cache.has(e)&&(n=D.cache.get(e),n[t]&&(r=n[t])),r||(r=a.PePCSInfo.prototype.generate(e,t),n||(n=[],D.cache.set(e,n)),n[t]=r),r}}const C={versionString:()=>a.PeVersion.prototype.version_string()};function R(e){function t(e,t,r){e[t]=r(e[t])}a=e,f.init(),S.init(),A.init(),N.init(),D.init(),c=class extends a.PeDouble{constructor(e=NaN){super(e)}destroy(){a.destroy(this)}[Symbol.dispose](){this.destroy()}},h=class extends a.PeGCSExtent{destroy(){a.destroy(this)}[Symbol.dispose](){this.destroy()}};const r=[a.PeAngunit,a.PeDatum,a.PeGeogcs,a.PeGeogtran,a.PeObject,a.PeParameter,a.PePrimem,a.PeProjcs,a.PeSpheroid,a.PeUnit];for(const e of r)t(e.prototype,"getName",e=>function(){return e.call(this,new Array(f.PE_NAME_MAX))});for(const e of[a.PeGeogtran,a.PeProjcs])t(e.prototype,"getParameters",e=>function(){const t=new Array(f.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const n=a.getValue(r,"*");t[e]=n?a.wrapPointer(n,a.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t});t(a.PeHorizon.prototype,"getCoord",e=>function(t=!1){const r=this.getSize();if(!r)return null;const n=[];return B(n,r,e.call(this),t),n}),t(a.PeGTlistExtendedEntry.prototype,"getEntries",e=>{const t=a._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const n=e.call(this);if(!a.compare(n,a.NULL)){r=[n];const e=this.getSteps();if(e>1){const o=a.getPointer(n);for(let n=1;n<e;n++)r.push(a.wrapPointer(o+t*n,a.PeGTlistExtendedGTs))}}return r}});const n=a._pe_getPeHorizonSize(),o=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const o=e.call(this);if(!a.compare(o,a.NULL)){r=[o];const e=o.getNump();if(e>1){const t=a.getPointer(o);for(let o=1;o<e;o++)r.push(a.wrapPointer(t+n*o,a.PeHorizon))}}return t.set(e,r),r};t(a.PeProjcs.prototype,"horizonGcsGenerate",o),t(a.PeProjcs.prototype,"horizonPcsGenerate",o),a.PeObject.prototype.toString=function(e=f.PE_STR_OPTS_NONE){a.ensureCache.prepare();const t=a.getPointer(this),r=a.ensureInt8(new Array(f.PE_BUFFER_MAX));return a.UTF8ToString(a._pe_object_to_string_ext(t,e,r))},a.PeGeogcs.prototype.destroy=function(){this.Delete(),k(this),this.ptr=0},a.PeGeogcs.prototype[Symbol.dispose]=function(){this.destroy()},a.PeProjcs.prototype.destroy=function(){this.Delete(),k(this),this.ptr=0},a.PeProjcs.prototype[Symbol.dispose]=function(){this.destroy()}}function k(e){if(!e)return;const t=a.getClass(e);if(!t)return;const r=a.getCache(t);if(!r)return;const n=a.getPointer(e);n&&delete r[n]}function w(e,t){const r=[],n=new Array(t);for(let t=0;t<e;t++)r.push(a.ensureInt8(n));return r}function I(e){return ArrayBuffer.isView(e)?e:Array.isArray(e[0])?e.flat():e}function B(e,t,r,n=!1){if(n)for(let n=0;n<2*t;n++)e[n]=a.getValue(r+n*Float64Array.BYTES_PER_ELEMENT,"double");else{const n=0===e.length;for(let o=0;o<t;o++)n&&(e[o]=new Array(2)),e[o][0]=a.getValue(r,"double"),e[o][1]=a.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}const b=Object.freeze(Object.defineProperty({__proto__:null,PeCSTransformations:l,PeDefs:f,get PeDouble(){return c},PeFactory:P,get PeGCSExtent(){return h},PeGTTransformations:g,PeGTlistExtended:S,PeGTlistExtendedEntry:E,PeLineType:y,PeMath:T,PeNotationDms:O,PeNotationMgrs:A,PeNotationUsng:U,PeNotationUtm:N,PePCSInfo:D,PeVersion:C,_init:R,get _pe(){return a},isLoaded:s,isSupported:function(){return!!(0,o.A)("esri-wasm")},load:_},Symbol.toStringTag,{value:"Module"}));r.d(t,["P",0,P,"c",0,l,"d",0,g,"p",0,b])},86211(e,t,r){r.d(t,{Ao:()=>R,B5:()=>L,Bd:()=>Y,G9:()=>N,GA:()=>C,Ij:()=>B,KX:()=>k,LA:()=>U,PQ:()=>G,UW:()=>O,k1:()=>D,mq:()=>b,oU:()=>M,t$:()=>y,vl:()=>A,x1:()=>F});var n=r(66552),o=r(73941),i=r(79258),a=r(21325),s=r(97348),_=r(22530);const l=i.$O.radius*Math.PI/200,f=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,c=_.A,u=/UNIT\[([^\]]+)]/i,d=new Set([4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104025,104026,104139,104140]),m=(0,n.O)()({millimeter:"millimeters",centimeter:"centimeters",meter:"meters",meter_german:"german-meters",kilometer:"kilometers",decimeter:"decimeters",micrometer:"micrometers",nanometer:"nanometers","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",fathom:"fathoms",nautical_mile:"nautical-miles",chain_us:"us-chains",link_us:"us-links",mile_us:"us-miles",yard_clarke:"clarke-yards",chain_clarke:"clarke-chains",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",link_sears:"sears-links",yard_benoit_1895_a:"benoit-1895-a-yards",foot_benoit_1895_a:"benoit-1895-a-feet",chain_benoit_1895_a:"benoit-1895-a-chains",link_benoit_1895_a:"benoit-1895-a-links",yard_benoit_1895_b:"benoit-1895-b-yards",foot_benoit_1895_b:"benoit-1895-b-feet",chain_benoit_1895_b:"benoit-1895-b-chains",link_benoit_1895_b:"benoit-1895-b-links",foot_1865:"1865-feet",foot_indian:"indian-feet",foot_indian_1937:"indian-1937-feet",foot_indian_1962:"indian-1962-feet",foot_indian_1975:"indian-1975-feet",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",yard_indian_1962:"indian-1962-yards",yard_indian_1975:"indian-1975-yards",statute_mile:"statute-miles",foot_gold_coast:"gold-coast-feet",foot_british_1936:"british-1936-feet",yard:"yards",chain:"chains",link:"links",yard_sears_1922_truncated:"sears-1922-truncated-yards",foot_sears_1922_truncated:"sears-1922-truncated-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains",link_sears_1922_truncated:"sears-1922-truncated-links",yard_us:"us-yards",inch:"inches",inch_us:"us-inches",rod:"rods",rod_us:"us-rods",nautical_mile_us:"us-nautical-miles",nautical_mile_uk:"uk-nautical-miles",smoot:"smoots",vara_tx:"tx-vara",point:"points"}),P=e=>e*e,p=e=>e*e*e,h={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},meters:{inBaseUnits:1},feet:{inBaseUnits:.3048},"us-feet":{inBaseUnits:.3048006096012192},"clarke-feet":{inBaseUnits:.3047972654},fathoms:{inBaseUnits:1.8288},"nautical-miles":{inBaseUnits:1852},"german-meters":{inBaseUnits:1.0000135965},"us-chains":{inBaseUnits:20.11684023368047},"us-links":{inBaseUnits:.2011684023368047},"us-miles":{inBaseUnits:1609.347218694438},kilometers:{inBaseUnits:1e3},"clarke-yards":{inBaseUnits:.9143917962},"clarke-chains":{inBaseUnits:20.1166195164},"clarke-links":{inBaseUnits:.201166195164},"sears-yards":{inBaseUnits:.9143984146160287},"sears-feet":{inBaseUnits:.3047994715386762},"sears-chains":{inBaseUnits:20.11676512155263},"sears-links":{inBaseUnits:.2011676512155263},"benoit-1895-a-yards":{inBaseUnits:.9143992},"benoit-1895-a-feet":{inBaseUnits:.3047997333333333},"benoit-1895-a-chains":{inBaseUnits:20.1167824},"benoit-1895-a-links":{inBaseUnits:.201167824},"benoit-1895-b-yards":{inBaseUnits:.9143992042898124},"benoit-1895-b-feet":{inBaseUnits:.3047997347632708},"benoit-1895-b-chains":{inBaseUnits:20.11678249437587},"benoit-1895-b-links":{inBaseUnits:.2011678249437587},"1865-feet":{inBaseUnits:.3048008333333334},"indian-feet":{inBaseUnits:.3047995102481469},"indian-1937-feet":{inBaseUnits:.30479841},"indian-1962-feet":{inBaseUnits:.3047996},"indian-1975-feet":{inBaseUnits:.3047995},"indian-yards":{inBaseUnits:.9143985307444408},"indian-1937-yards":{inBaseUnits:.91439523},"indian-1962-yards":{inBaseUnits:.9143988},"indian-1975-yards":{inBaseUnits:.9143985},miles:{inBaseUnits:1609.344},"statute-miles":{inBaseUnits:1609.344},"gold-coast-feet":{inBaseUnits:.3047997101815088},"british-1936-feet":{inBaseUnits:.3048007491},yards:{inBaseUnits:.9144},chains:{inBaseUnits:20.1168},links:{inBaseUnits:.201168},"sears-1922-truncated-yards":{inBaseUnits:.914398},"sears-1922-truncated-feet":{inBaseUnits:.3047993333333334},"sears-1922-truncated-chains":{inBaseUnits:20.116756},"sears-1922-truncated-links":{inBaseUnits:.20116756},"us-yards":{inBaseUnits:.9144018288036576},decimeters:{inBaseUnits:.1},inches:{inBaseUnits:.0254},"us-inches":{inBaseUnits:.0254000508001016},rods:{inBaseUnits:5.0292},"us-rods":{inBaseUnits:5.029210058420118},"us-nautical-miles":{inBaseUnits:1853.248},"uk-nautical-miles":{inBaseUnits:1853.184},smoots:{inBaseUnits:1.7018},"tx-vara":{inBaseUnits:.8466683600033867},points:{inBaseUnits:.0003527777777777778},micrometers:{inBaseUnits:1e-6},nanometers:{inBaseUnits:1e-9},"50-kilometers":{inBaseUnits:5e4},"150-kilometers":{inBaseUnits:15e4}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:P(.001)},"square-centimeters":{inBaseUnits:P(.01)},"square-decimeters":{inBaseUnits:P(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:P(1e3)},"square-inches":{inBaseUnits:P(.0254)},"square-feet":{inBaseUnits:P(.3048)},"square-yards":{inBaseUnits:P(.9144)},"square-miles":{inBaseUnits:P(1609.344)},"square-nautical-miles":{inBaseUnits:P(1852)},"square-us-feet":{inBaseUnits:P(1200/3937)},acres:{inBaseUnits:.0015625*P(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},megaliters:{inBaseUnits:1e6},gigaliters:{inBaseUnits:1e9},"cubic-millimeters":{inBaseUnits:1e3*p(.001)},"cubic-centimeters":{inBaseUnits:1e3*p(.01)},"cubic-decimeters":{inBaseUnits:1e3*p(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*p(1e3)},"cubic-inches":{inBaseUnits:1e3*p(.0254)},"cubic-feet":{inBaseUnits:1e3*p(.3048)},"cubic-yards":{inBaseUnits:1e3*p(.9144)},"cubic-miles":{inBaseUnits:1e3*p(1609.344)},"cubic-us-feet":{inBaseUnits:1e3*p(1200/3937)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},S=(()=>{const e={};for(const t in h)for(const r in h[t].units)e[r]=t;return e})(),E=["metric","imperial","inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],g=new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);function y(e){const t=S[e];if(!t)throw new Error("unknown type");return t}function T(e,t=null){return t=t||y(e),h[t].baseUnit===e}function M(e,t,r){if(t===r)return e;const n=y(t);if(n!==y(r))throw new Error("incompatible units");const o=T(t,n)?e:function(e,t,r){return e*h[r].units[t].inBaseUnits}(e,t,n);return T(r,n)?o:function(e,t,r){return e/h[r].units[t].inBaseUnits}(o,r,n)}function G(e,t,r,n=!1){if(!n&&(0,a.EA)(t))throw new Error("Unable to convert from an angular unit to a linear unit.");const o=B(t);return o!==r&&(e=o?M(e,o,r):M(e*=C(t),"meters",r)),e}function O(e,t,r,n=!1){if(!n&&(0,a.EA)(r))throw new Error("Unable to convert from a linear unit to an angular unit.");const o=B(r);return t!==o&&(e=o?M(e,t,o):M(e,t,"meters")/C(r)),e}function A(e,t,r){return M(e,t,"meters")/(r*Math.PI/180)}function U(e){return m.fromJSON(e.toLowerCase())||null}function N(e){const t=(e?.latestVcsWkid?s.B.get(e.latestVcsWkid):null)??(e?.vcsWkid?s.B.get(e.vcsWkid):null);return t?t.unit.conversionFactor:null==e||(0,o.B3)(e)?R(e,!1)??1:1}function D(e){const t=(e?.latestVcsWkid?s.B.get(e.latestVcsWkid):null)??(e?.vcsWkid?s.B.get(e.vcsWkid):null);return t?U(t.unit.name):C(e)>=(0,o.tO)(e).metersPerDegree?"meters":B(e)}function C(e,t=i.$O.metersPerDegree){return R(e,!0)??t}function R(e,t=!1){const r=e?.wkid??null,n=e?.wkt2??e?.wkt??null;let o=null;if(r){if((0,a.tl)(r))return i.sH.metersPerDegree;if((0,a.ZL)(r))return i.Sw.metersPerDegree;o=c.values[c[r]],!o&&t&&d.has(r)&&(o=l)}else n&&(F(n)?o=w(f.exec(n),o):v(n)&&(o=w(u.exec(n),o)));return o}function k(e){return(0,a.EA)(e)?1:C(e)}function w(e,t){return e?.[1]?I(e[1]):t}function I(e){return parseFloat(e.split(",")[1])}function B(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let n=null;if(t)n=c.units[c[t]];else if(r){const e=F(r)?f:v(r)?u:null;if(e){const t=e.exec(r);t?.[1]&&(n=function(e){const t=/[\\"']([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!U(r)){const t=I(e);r=null;const n=c.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<1e-7){r=c.units[e];break}}return r}(t[1]))}}return null!=n?U(n):null}function b(e){const t=D(e);return null!=t&&E.includes(t)?t:null}function L(e){const t=B(e);return null==t?null:g.get(t)}function v(e){return/^GEOCCS/i.test(e)}function F(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}const W=(0,n.O)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),H=(0,n.O)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),V=(0,n.O)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"});function Y(e){switch(e){case"metric":case"ares":case"hectares":return"metric";case"imperial":case"acres":return"imperial";case"square-inches":return"inches";case"square-feet":return"feet";case"square-yards":return"yards";case"square-miles":return"miles";case"square-nautical-miles":return"nautical-miles";case"square-us-feet":return"us-feet";case"square-millimeters":return"millimeters";case"square-centimeters":return"centimeters";case"square-decimeters":return"decimeters";case"square-meters":return"meters";case"square-kilometers":return"kilometers"}throw new Error("unhandled area unit")}r.d(t,["Sk",0,H,"b$",0,V,"dk",0,W,"yD",0,d])},16930(e,t,r){r.d(t,{A:()=>m});var n,o=r(32198),i=r(69622),a=r(25482),s=r(4718),_=r(86211),l=r(78888),f=r(10107),c=r(64108),u=r(43937),d=r(21325);let m=class extends a.o{static{n=this}static{this.GCS_NAD_1927=null}static{this.WGS84=null}static{this.WebMercator=null}static{this.PlateCarree=null}static fromJSON(e){if(!e)return null;if(102100===e.wkid||4326===e.wkid){const t=Object.keys(e).length;if(1===t||102100===e.wkid&&3857===e.latestWkid&&2===t)return 102100===e.wkid?n.WebMercator:n.WGS84}const t=new n;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.falseM=null,this.falseX=null,this.falseY=null,this.falseZ=null,this.mTolerance=null,this.mUnits=null,this.xyTolerance=null,this.xyUnits=null,this.zTolerance=null,this.zUnits=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){return e&&"object"==typeof e?e:"string"==typeof e?{wkt:e}:{wkid:e}}get cache(){return this.commitProperty("wkid"),this.commitProperty("latestWkid"),this.commitProperty("vcsWkid"),this.commitProperty("latestVcsWkid"),this.commitProperty("wkt"),this.commitProperty("wkt2"),this.commitProperty("imageCoordinateSystem"),this.commitProperty("falseM"),this.commitProperty("falseX"),this.commitProperty("falseY"),this.commitProperty("falseZ"),this.commitProperty("mTolerance"),this.commitProperty("mUnits"),this.commitProperty("xyTolerance"),this.commitProperty("xyUnits"),this.commitProperty("zTolerance"),this.commitProperty("zUnits"),{}}get isWGS84(){return(0,d.oT)(this)}get isWebMercator(){return(0,d.K8)(this)}get isGeographic(){return(0,d.EA)(this)}get isWrappable(){return(0,d.d9)(this)}get metersPerUnit(){return(0,_.GA)(this)}get unit(){return(0,_.Ij)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===n.WGS84)return new n(d.KK);if(this===n.WebMercator)return new n(d.ch);const e=new n;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,s.o8)(this.imageCoordinateSystem)),null!=this.falseM&&(e.falseM=this.falseM),null!=this.falseX&&(e.falseX=this.falseX),null!=this.falseY&&(e.falseY=this.falseY),null!=this.falseZ&&(e.falseZ=this.falseZ),null!=this.mTolerance&&(e.mTolerance=this.mTolerance),null!=this.mUnits&&(e.mUnits=this.mUnits),null!=this.xyTolerance&&(e.xyTolerance=this.xyTolerance),null!=this.xyUnits&&(e.xyUnits=this.xyUnits),null!=this.zTolerance&&(e.zTolerance=this.zTolerance),null!=this.zUnits&&(e.zUnits=this.zUnits),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:n}=e.imageCoordinateSystem,o=this.imageCoordinateSystem;return null==t||n?JSON.stringify(o)===JSON.stringify(e.imageCoordinateSystem):r?o.id===t&&o.referenceServiceName===r:o.id===t}return(0,d.aI)(this,e)}toJSON(e){return this.write(void 0,e)}};(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWGS84",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWebMercator",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isGeographic",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWrappable",null),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"latestWkid",void 0),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"metersPerUnit",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"unit",null),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],m.prototype,"wkid",void 0),(0,o.Cg)([(0,f.MZ)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],m.prototype,"wkt",void 0),(0,o.Cg)([(0,u.K)("wkt"),(0,u.K)("web-scene","wkt")],m.prototype,"writeWkt",null),(0,o.Cg)([(0,f.MZ)({type:String,json:{write:!1}})],m.prototype,"wkt2",void 0),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"vcsWkid",void 0),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"latestVcsWkid",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseM",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseX",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseY",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseZ",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"mTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"mUnits",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"xyTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"xyUnits",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"zTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"zUnits",void 0),(0,o.Cg)([(0,f.MZ)()],m.prototype,"imageCoordinateSystem",void 0),m=n=(0,o.Cg)([(0,c.$)("esri.geometry.SpatialReference")],m),m.prototype.toJSON.isDefaultToJSON=!0,m.GCS_NAD_1927=i.A.freeze(new m({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'})),m.WGS84=i.A.freeze(new m(d.KK)),m.WebMercator=i.A.freeze(new m(d.ch)),m.PlateCarree=i.A.freeze(new m(d.tQ))},73941(e,t,r){r.d(t,{B3:()=>p,KQ:()=>S,jA:()=>m,q8:()=>h,tO:()=>u,xP:()=>P,y7:()=>d});var n=r(79258),o=r(21325);function i(e){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const a=i(n.$O),s=i(n.sH),_=i(n.Sw),l={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${n.$O.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`},f=s.wkt.toUpperCase(),c=_.wkt.toUpperCase();function u(e){if(null!=e&&(0,o.fn)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,o.tl)(t))return n.sH;const i=r?.toUpperCase();if(r&&i===f)return n.sH;if((0,o.ZL)(t)||i&&i===c)return n.Sw}return n.$O}function d(e){return(0,o.tl)(e)?n.sH:(0,o.ZL)(e)?n.Sw:n.$O}function m(e){return(0,o.aI)(e,a)}function P(e){return m(e)||(0,o.aI)(e,s)||(0,o.aI)(e,_)}function p(e){return!(h(e)||S(e))}function h(e){return(0,o.tl)(e?.wkid)||(0,o.aI)(e,s)}function S(e){return(0,o.ZL)(e?.wkid)||(0,o.aI)(e,_)}Math.cos(Math.PI/16/16),r.d(t,["FY",0,s,"LJ",0,_,"Ro",0,l,"fv",0,a])},79258(e,t,r){class n{constructor(e,t,r,n,o,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r,this.atmosphereHeight=n,this.scaleHeight=o;const a=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*a,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const o=new n(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),i=new n(3396190,1/169.8944472236118,23e4,6e4,.111),a=new n(1737400,0,0,0,0);r.d(t,["$O",0,o,"Sw",0,a,"sH",0,i])},22530(e,t,r){let n;const o={values:[.001,1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Millimeter","Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:6,2136:13,2155:3,2157:1,2158:1,2159:13,2160:13,2204:3,2219:1,2220:1,2254:3,2255:3,2256:2,2265:2,2266:2,2267:3,2268:3,2269:2,2270:2,2271:3,2272:3,2273:2,2294:1,2295:1,2314:4,2899:3,2900:3,2901:2,2909:2,2910:2,2911:3,2912:3,2913:2,2914:2,2992:2,2993:1,2994:2,3080:2,3089:3,3090:1,3091:3,3102:3,3141:1,3142:1,3167:15,3359:3,3360:1,3361:2,3362:1,3363:3,3364:1,3365:3,3366:4,3404:3,3405:1,3406:1,3407:4,3439:1,3440:1,3479:2,3480:1,3481:2,3482:1,3483:2,3484:1,3485:3,3486:1,3487:3,3488:1,3489:1,3490:3,3491:1,3492:3,3493:1,3494:3,3495:1,3496:3,3497:1,3498:3,3499:1,3500:3,3501:1,3502:3,3503:1,3504:3,3505:1,3506:3,3507:1,3508:3,3509:1,3510:3,3511:1,3512:3,3513:1,3514:1,3515:3,3516:1,3517:3,3518:1,3519:3,3520:1,3521:3,3522:1,3523:3,3524:1,3525:3,3526:1,3527:3,3528:1,3529:3,3530:1,3531:3,3532:1,3533:3,3534:1,3535:3,3536:1,3537:3,3538:1,3539:3,3540:1,3541:3,3542:1,3543:3,3544:1,3545:3,3546:1,3547:3,3548:1,3549:3,3550:1,3551:3,3552:1,3553:3,3582:3,3583:1,3584:3,3585:1,3586:3,3587:1,3588:2,3589:1,3590:2,3591:1,3592:1,3593:2,3598:3,3599:1,3600:3,3605:2,3606:1,3607:1,3608:3,3609:1,3610:3,3611:1,3612:3,3613:1,3614:3,3615:1,3616:3,3617:1,3618:3,3619:1,3620:3,3621:1,3622:3,3623:1,3624:3,3625:1,3626:3,3627:1,3628:3,3629:1,3630:3,3631:1,3632:3,3633:1,3634:2,3635:1,3636:2,3640:3,3641:1,3642:3,3643:1,3644:2,3645:1,3646:2,3647:1,3648:2,3649:1,3650:3,3651:1,3652:3,3653:1,3654:3,3655:1,3656:2,3657:1,3658:3,3659:1,3660:3,3661:1,3662:3,3663:1,3664:3,3668:3,3669:1,3670:3,3671:1,3672:3,3673:1,3674:3,3675:1,3676:2,3677:3,3678:1,3679:2,3680:3,3681:1,3682:2,3683:3,3684:1,3685:1,3686:3,3687:1,3688:3,3689:1,3690:3,3691:1,3692:3,3696:3,3697:1,3698:3,3699:1,3700:3,3793:1,3794:1,3812:1,3854:1,3857:1,3920:1,3978:1,3979:1,3991:3,3992:3,4026:1,4037:1,4038:1,4071:1,4082:1,4083:1,4087:1,4088:1,4217:3,4414:1,4415:1,4417:1,4434:1,4437:1,4438:3,4439:3,4462:1,4467:1,4471:1,4474:1,4559:1,4647:1,4822:1,4826:1,4839:1,5018:1,5041:1,5042:1,5048:1,5221:1,5223:1,5234:1,5235:1,5243:1,5247:1,5266:1,5316:1,5320:1,5321:1,5325:1,5337:1,5361:1,5362:1,5367:1,5382:1,5383:1,5396:1,5456:1,5457:1,5469:1,5472:5,5490:1,5513:1,5514:1,5523:1,5559:1,5588:2,5589:4,5596:1,5627:1,5629:1,5641:1,5643:1,5644:1,5646:3,5654:3,5655:3,5659:1,5700:1,5825:1,5836:1,5837:1,5839:1,5842:1,5844:1,5858:1,5879:1,5880:1,5887:1,5890:1,6128:2,6129:2,6141:2,6204:1,6210:1,6211:1,6307:1,6312:1,6316:1,6362:1,6391:2,6405:2,6406:1,6407:2,6408:1,6409:2,6410:1,6411:3,6412:1,6413:3,6414:1,6415:1,6416:3,6417:1,6418:3,6419:1,6420:3,6421:1,6422:3,6423:1,6424:3,6425:1,6426:3,6427:1,6428:3,6429:1,6430:3,6431:1,6432:3,6433:1,6434:3,6435:1,6436:3,6437:1,6438:3,6439:1,6440:1,6441:3,6442:1,6443:3,6444:1,6445:3,6446:1,6447:3,6448:1,6449:3,6450:1,6451:3,6452:1,6453:3,6454:1,6455:3,6456:1,6457:3,6458:1,6459:3,6460:1,6461:3,6462:1,6463:3,6464:1,6465:3,6466:1,6467:3,6468:1,6469:3,6470:1,6471:3,6472:1,6473:3,6474:1,6475:3,6476:1,6477:3,6478:1,6479:3,6484:3,6485:1,6486:3,6487:1,6488:3,6489:1,6490:3,6491:1,6492:3,6493:1,6494:2,6495:1,6496:2,6497:1,6498:1,6499:2,6500:1,6501:3,6502:1,6503:3,6504:1,6505:3,6506:1,6507:3,6508:1,6509:1,6510:3,6515:2,6516:1,6518:1,6519:3,6520:1,6521:3,6522:1,6523:3,6524:1,6525:3,6526:1,6527:3,6528:1,6529:3,6530:1,6531:3,6532:1,6533:3,6534:1,6535:3,6536:1,6537:3,6538:1,6539:3,6540:1,6541:3,6542:1,6543:3,6544:1,6545:2,6546:1,6547:2,6548:1,6549:3,6550:1,6551:3,6552:1,6553:3,6554:1,6555:3,6556:1,6557:2,6558:1,6559:2,6560:1,6561:2,6562:1,6563:3,6564:1,6565:3,6566:1,6567:1,6568:3,6569:1,6570:2,6571:1,6572:3,6573:1,6574:3,6575:1,6576:3,6577:1,6578:3,6582:3,6583:1,6584:3,6585:1,6586:3,6587:1,6588:3,6589:1,6590:3,6591:1,6592:1,6593:3,6594:1,6595:3,6596:1,6597:3,6598:1,6599:3,6600:1,6601:3,6602:1,6603:3,6605:3,6606:1,6607:3,6608:1,6609:3,6610:1,6611:1,6612:3,6613:1,6614:3,6615:1,6616:3,6617:1,6618:3,6633:3,6646:1,6703:1,6784:1,6785:2,6786:1,6787:2,6788:1,6789:2,6790:1,6791:2,6792:1,6793:2,6794:1,6795:2,6796:1,6797:2,6798:1,6799:2,6800:1,6801:2,6802:1,6803:2,6804:1,6805:2,6806:1,6807:2,6808:1,6809:2,6810:1,6811:2,6812:1,6813:2,6814:1,6815:2,6816:1,6817:2,6818:1,6819:2,6820:1,6821:2,6822:1,6823:2,6824:1,6825:2,6826:1,6827:2,6828:1,6829:2,6830:1,6831:2,6832:1,6833:2,6834:1,6835:2,6836:1,6837:2,6838:1,6839:2,6840:1,6841:2,6842:1,6843:2,6844:1,6845:2,6846:1,6847:2,6848:1,6849:2,6850:1,6851:2,6852:1,6853:2,6854:1,6855:2,6856:1,6857:2,6858:1,6859:2,6860:1,6861:2,6862:1,6863:2,6867:1,6868:2,6870:1,6875:1,6876:1,6879:1,6880:3,6884:1,6885:2,6886:1,6887:2,6915:1,6922:1,6923:3,6924:1,6925:3,6962:1,6984:1,6991:1,7128:3,7131:1,7132:3,7142:1,7257:1,7258:3,7259:1,7260:3,7261:1,7262:3,7263:1,7264:3,7265:1,7266:3,7267:1,7268:3,7269:1,7270:3,7271:1,7272:3,7273:1,7274:3,7275:1,7276:3,7277:1,7278:3,7279:1,7280:3,7281:1,7282:3,7283:1,7284:3,7285:1,7286:3,7287:1,7288:3,7289:1,7290:3,7291:1,7292:3,7293:1,7294:3,7295:1,7296:3,7297:1,7298:3,7299:1,7300:3,7301:1,7302:3,7303:1,7304:3,7305:1,7306:3,7307:1,7308:3,7309:1,7310:3,7311:1,7312:3,7313:1,7314:3,7315:1,7316:3,7317:1,7318:3,7319:1,7320:3,7321:1,7322:3,7323:1,7324:3,7325:1,7326:3,7327:1,7328:3,7329:1,7330:3,7331:1,7332:3,7333:1,7334:3,7335:1,7336:3,7337:1,7338:3,7339:1,7340:3,7341:1,7342:3,7343:1,7344:3,7345:1,7346:3,7347:1,7348:3,7349:1,7350:3,7351:1,7352:3,7353:1,7354:3,7355:1,7356:3,7357:1,7358:3,7359:1,7360:3,7361:1,7362:3,7363:1,7364:3,7365:1,7366:3,7367:1,7368:3,7369:1,7370:3,7877:1,7878:1,7882:1,7883:1,7887:1,7899:1,7991:1,7992:1,8035:3,8036:3,8058:1,8059:1,8082:1,8083:1,8088:1,8090:1,8091:3,8092:1,8093:3,8095:1,8096:3,8097:1,8098:3,8099:1,8100:3,8101:1,8102:3,8103:1,8104:3,8105:1,8106:3,8107:1,8108:3,8109:1,8110:3,8111:1,8112:3,8113:1,8114:3,8115:1,8116:3,8117:1,8118:3,8119:1,8120:3,8121:1,8122:3,8123:1,8124:3,8125:1,8126:3,8127:1,8128:3,8129:1,8130:3,8131:1,8132:3,8133:1,8134:3,8135:1,8136:3,8137:1,8138:3,8139:1,8140:3,8141:1,8142:3,8143:1,8144:3,8145:1,8146:3,8147:1,8148:3,8149:1,8150:3,8151:1,8152:3,8153:1,8154:3,8155:1,8156:3,8157:1,8158:3,8159:1,8160:3,8161:1,8162:3,8163:1,8164:3,8165:1,8166:3,8167:1,8168:3,8169:1,8170:3,8171:1,8172:3,8173:1,8177:3,8179:1,8180:3,8181:1,8182:3,8184:1,8185:3,8187:1,8189:3,8191:1,8193:3,8196:1,8197:3,8198:1,8200:3,8201:1,8202:3,8203:1,8204:3,8205:1,8206:3,8207:1,8208:3,8209:1,8210:3,8212:1,8213:3,8214:1,8216:3,8218:1,8220:3,8222:1,8224:3,8225:1,8226:3,8311:1,8312:2,8313:1,8314:2,8315:1,8316:2,8317:1,8318:2,8319:1,8320:2,8321:1,8322:2,8323:1,8324:2,8325:1,8326:2,8327:1,8328:2,8329:1,8330:2,8331:1,8332:2,8333:1,8334:2,8335:1,8336:2,8337:1,8338:2,8339:1,8340:2,8341:1,8342:2,8343:1,8344:2,8345:1,8346:2,8347:1,8348:2,8352:1,8353:1,8379:1,8380:3,8381:1,8382:3,8383:1,8384:3,8385:1,8387:3,8391:1,8395:1,8433:1,8441:1,8455:1,8456:1,8531:3,8682:1,8686:1,8687:1,8692:1,8693:1,8826:1,8903:1,8950:1,8951:1,9039:1,9040:1,9141:1,9149:1,9150:1,9191:1,9221:1,9222:1,9249:1,9250:1,9252:1,9254:1,9265:1,9284:1,9285:1,9300:1,9354:1,9367:1,9373:1,9377:1,9387:1,9391:1,9456:1,9473:1,9498:1,9674:1,9678:1,9680:1,9709:1,9712:1,9713:1,9716:1,9741:1,9748:3,9749:3,9761:1,9766:1,9793:1,9794:1,9869:1,9874:1,9875:1,9880:1,9895:1,9943:1,9945:1,9947:1,9967:1,9972:1,9977:1,10160:1,10183:1,10188:1,10194:1,10199:1,10207:1,10212:1,10217:1,10222:1,10227:1,10235:1,10240:1,10250:1,10254:1,10270:1,10275:1,10280:1,10306:1,10329:1,10471:1,10477:1,10481:3,10516:3,10592:1,10594:1,10596:1,10598:1,10601:1,10603:1,10626:1,10632:1,10641:1,10665:1,10674:1,10699:1,10702:1,10744:1,10745:1,10759:1,10773:1,10801:1,10802:1,10820:1,10833:1,10836:1,10837:1,10851:1,10857:1,10863:1,10899:1,10917:1,10995:1,11341:1,11360:1,11361:2,11362:1,11363:2,11364:1,11365:2,11366:1,11367:2,11368:1,11369:2,11370:1,11371:2,11372:1,11373:2,11374:1,11375:2,11376:1,11377:2,20002:1,20042:1,20050:2,20499:1,20538:1,20539:1,20790:1,20791:1,21291:1,21292:1,21500:1,21817:1,21818:1,22032:1,22033:1,22091:1,22092:1,22239:1,22240:1,22332:1,22337:1,22338:1,22391:1,22392:1,22639:1,22700:1,22739:1,22770:1,22780:1,22832:1,23090:1,23095:1,23239:1,23240:1,23433:1,23700:1,24047:1,24048:1,24100:4,24200:1,24305:1,24306:1,24382:11,24383:1,24500:1,24547:1,24548:1,24571:10,24600:1,25e3:1,25231:1,25884:1,25932:1,26237:1,26331:1,26332:1,26432:1,26591:1,26592:1,26632:1,26692:1,27120:1,27200:1,27291:7,27292:7,27429:1,27492:1,27493:1,27500:1,28232:1,28600:1,28991:1,28992:1,29100:1,29101:1,29220:1,29221:1,29333:1,29635:1,29636:1,29701:1,29738:1,29739:1,29849:1,29850:1,29871:9,29872:8,29873:1,29874:1,30200:6,30339:1,30340:1,30591:1,30592:1,30791:1,30792:1,30800:1,31028:1,31121:1,31154:1,31170:1,31171:1,31370:1,31528:1,31529:1,31600:1,31700:1,31838:1,31839:1,31900:1,31901:1,32061:1,32062:1,32098:1,32099:3,32100:1,32104:1,32161:1,32766:1,53048:1,53049:1,65061:3,65062:3,102041:3,102064:12,102068:16,102069:17,102118:3,102119:2,102120:3,102121:3,102217:3,102218:1,102219:3,102220:3,102378:2,102379:2,102380:1,102381:2,102589:3,102599:3,102600:3,102604:3,102647:1,102704:3,102705:3,102706:1,102731:1,102732:1,102759:2,102760:2,102761:3,102762:1,102763:3,102764:1,102765:1,102766:3,102970:2,102974:3,102993:1,102994:1,102995:3,102996:3,103015:1,103016:3,103017:1,103018:3,103025:1,103026:1,103027:3,103028:3,103035:1,103036:1,103037:3,103038:3,103039:1,103040:1,103041:3,103042:3,103043:1,103044:1,103045:3,103046:3,103047:1,103048:1,103049:3,103050:3,103051:1,103052:3,103053:1,103054:3,103055:1,103056:3,103057:1,103058:1,103059:3,103060:3,103061:1,103062:1,103063:3,103064:3,103069:3,103070:1,103071:1,103072:3,103073:3,103086:1,103087:1,103088:3,103089:3,103094:2,103095:1,103096:3,103103:1,103104:3,103105:1,103106:3,103121:1,103122:3,103123:1,103124:1,103125:2,103126:2,103127:1,103128:1,103129:3,103130:3,103131:1,103132:1,103133:3,103134:3,103135:1,103136:1,103137:2,103138:2,103139:1,103140:3,103141:1,103142:3,103143:1,103144:3,103145:1,103146:2,103147:1,103148:1,103149:3,103150:3,103151:1,103152:3,103172:1,103173:3,103174:1,103175:1,103176:3,103177:3,103178:1,103179:1,103180:3,103181:3,103182:1,103183:1,103184:3,103185:3,103228:1,103229:1,103230:3,103231:3,103250:1,103251:3,103252:1,103253:3,103260:1,103261:1,103262:3,103263:3,103270:1,103271:1,103272:3,103273:3,103274:1,103275:1,103276:3,103277:3,103278:1,103279:1,103280:3,103281:3,103282:1,103283:1,103284:3,103285:3,103286:1,103287:3,103288:1,103289:3,103290:1,103291:3,103292:1,103293:1,103294:3,103295:3,103296:1,103297:1,103298:3,103299:3,103376:3,103377:1,103378:1,103379:3,103380:3,103393:1,103394:1,103395:3,103396:3,103472:1,103473:2,103474:1,103475:3,103482:1,103483:3,103484:1,103485:3,103500:1,103501:3,103502:1,103503:1,103504:2,103505:2,103506:1,103507:1,103508:3,103509:3,103510:1,103511:1,103512:3,103513:3,103514:1,103515:3,103516:1,103517:3,103518:1,103519:3,103520:1,103521:2,103522:1,103523:1,103524:3,103525:3,103526:1,103527:3,103561:3,103562:3,103563:1,103564:1,103565:3,103566:3,103567:1,103568:1,103569:3,103570:3,103584:1,103585:3,103586:1,103587:3,103588:2,103589:1,103590:3,103591:2,103592:1,103593:3,103594:2,103695:3,103897:2,103898:1,103899:1,103978:3,103979:1,103980:3,103981:1,103982:3,103986:3,103987:3,103988:1,103989:0,103990:3,103991:1,112111:1};for(n=2e3;n<=2045;n++)o[n]=1;for(n=2056;n<=2065;n++)o[n]=1;for(n=2067;n<=2135;n++)o[n]=1;for(n=2137;n<=2154;n++)o[n]=1;for(n=2161;n<=2170;n++)o[n]=1;for(n=2172;n<=2193;n++)o[n]=1;for(n=2195;n<=2198;n++)o[n]=1;for(n=2200;n<=2203;n++)o[n]=1;for(n=2205;n<=2217;n++)o[n]=1;for(n=2222;n<=2224;n++)o[n]=2;for(n=2225;n<=2250;n++)o[n]=3;for(n=2251;n<=2253;n++)o[n]=2;for(n=2257;n<=2264;n++)o[n]=3;for(n=2274;n<=2279;n++)o[n]=3;for(n=2280;n<=2282;n++)o[n]=2;for(n=2283;n<=2289;n++)o[n]=3;for(n=2290;n<=2292;n++)o[n]=1;for(n=2308;n<=2313;n++)o[n]=1;for(n=2315;n<=2491;n++)o[n]=1;for(n=2494;n<=2866;n++)o[n]=1;for(n=2867;n<=2869;n++)o[n]=2;for(n=2870;n<=2888;n++)o[n]=3;for(n=2891;n<=2895;n++)o[n]=3;for(n=2896;n<=2898;n++)o[n]=2;for(n=2902;n<=2908;n++)o[n]=3;for(n=2915;n<=2920;n++)o[n]=3;for(n=2921;n<=2923;n++)o[n]=2;for(n=2924;n<=2930;n++)o[n]=3;for(n=2931;n<=2962;n++)o[n]=1;for(n=2964;n<=2968;n++)o[n]=3;for(n=2969;n<=2973;n++)o[n]=1;for(n=2975;n<=2991;n++)o[n]=1;for(n=2995;n<=3051;n++)o[n]=1;for(n=3054;n<=3079;n++)o[n]=1;for(n=3081;n<=3088;n++)o[n]=1;for(n=3092;n<=3101;n++)o[n]=1;for(n=3106;n<=3138;n++)o[n]=1;for(n=3146;n<=3151;n++)o[n]=1;for(n=3153;n<=3166;n++)o[n]=1;for(n=3168;n<=3172;n++)o[n]=1;for(n=3174;n<=3203;n++)o[n]=1;for(n=3294;n<=3358;n++)o[n]=1;for(n=3367;n<=3403;n++)o[n]=1;for(n=3408;n<=3416;n++)o[n]=1;for(n=3417;n<=3438;n++)o[n]=3;for(n=3441;n<=3446;n++)o[n]=3;for(n=3447;n<=3450;n++)o[n]=1;for(n=3451;n<=3459;n++)o[n]=3;for(n=3460;n<=3478;n++)o[n]=1;for(n=3554;n<=3559;n++)o[n]=1;for(n=3560;n<=3570;n++)o[n]=3;for(n=3571;n<=3581;n++)o[n]=1;for(n=3594;n<=3597;n++)o[n]=1;for(n=3601;n<=3604;n++)o[n]=1;for(n=3637;n<=3639;n++)o[n]=1;for(n=3665;n<=3667;n++)o[n]=1;for(n=3693;n<=3695;n++)o[n]=1;for(n=3701;n<=3727;n++)o[n]=1;for(n=3728;n<=3739;n++)o[n]=3;for(n=3740;n<=3751;n++)o[n]=1;for(n=3753;n<=3760;n++)o[n]=3;for(n=3761;n<=3773;n++)o[n]=1;for(n=3775;n<=3777;n++)o[n]=1;for(n=3779;n<=3781;n++)o[n]=1;for(n=3783;n<=3785;n++)o[n]=1;for(n=3788;n<=3791;n++)o[n]=1;for(n=3797;n<=3802;n++)o[n]=1;for(n=3814;n<=3816;n++)o[n]=1;for(n=3825;n<=3829;n++)o[n]=1;for(n=3832;n<=3841;n++)o[n]=1;for(n=3844;n<=3852;n++)o[n]=1;for(n=3873;n<=3885;n++)o[n]=1;for(n=3890;n<=3893;n++)o[n]=1;for(n=3907;n<=3912;n++)o[n]=1;for(n=3942;n<=3950;n++)o[n]=1;for(n=3968;n<=3970;n++)o[n]=1;for(n=3973;n<=3976;n++)o[n]=1;for(n=3986;n<=3989;n++)o[n]=1;for(n=3994;n<=3997;n++)o[n]=1;for(n=4048;n<=4051;n++)o[n]=1;for(n=4056;n<=4063;n++)o[n]=1;for(n=4093;n<=4096;n++)o[n]=1;for(n=4390;n<=4398;n++)o[n]=1;for(n=4399;n<=4413;n++)o[n]=3;for(n=4418;n<=4433;n++)o[n]=3;for(n=4455;n<=4457;n++)o[n]=3;for(n=4484;n<=4489;n++)o[n]=1;for(n=4491;n<=4554;n++)o[n]=1;for(n=4568;n<=4589;n++)o[n]=1;for(n=4652;n<=4656;n++)o[n]=1;for(n=4766;n<=4800;n++)o[n]=1;for(n=5014;n<=5016;n++)o[n]=1;for(n=5069;n<=5072;n++)o[n]=1;for(n=5105;n<=5130;n++)o[n]=1;for(n=5167;n<=5188;n++)o[n]=1;for(n=5253;n<=5259;n++)o[n]=1;for(n=5269;n<=5275;n++)o[n]=1;for(n=5292;n<=5311;n++)o[n]=1;for(n=5329;n<=5331;n++)o[n]=1;for(n=5343;n<=5349;n++)o[n]=1;for(n=5355;n<=5357;n++)o[n]=1;for(n=5387;n<=5389;n++)o[n]=1;for(n=5459;n<=5463;n++)o[n]=1;for(n=5479;n<=5482;n++)o[n]=1;for(n=5518;n<=5520;n++)o[n]=1;for(n=5530;n<=5539;n++)o[n]=1;for(n=5550;n<=5552;n++)o[n]=1;for(n=5562;n<=5583;n++)o[n]=1;for(n=5623;n<=5625;n++)o[n]=3;for(n=5631;n<=5639;n++)o[n]=1;for(n=5649;n<=5653;n++)o[n]=1;for(n=5663;n<=5680;n++)o[n]=1;for(n=5682;n<=5685;n++)o[n]=1;for(n=5875;n<=5877;n++)o[n]=1;for(n=5896;n<=5899;n++)o[n]=1;for(n=5921;n<=5940;n++)o[n]=1;for(n=6050;n<=6125;n++)o[n]=1;for(n=6244;n<=6275;n++)o[n]=1;for(n=6328;n<=6348;n++)o[n]=1;for(n=6350;n<=6356;n++)o[n]=1;for(n=6366;n<=6372;n++)o[n]=1;for(n=6381;n<=6387;n++)o[n]=1;for(n=6393;n<=6404;n++)o[n]=1;for(n=6480;n<=6483;n++)o[n]=1;for(n=6511;n<=6514;n++)o[n]=1;for(n=6579;n<=6581;n++)o[n]=1;for(n=6619;n<=6624;n++)o[n]=1;for(n=6625;n<=6627;n++)o[n]=3;for(n=6628;n<=6632;n++)o[n]=1;for(n=6634;n<=6637;n++)o[n]=1;for(n=6669;n<=6692;n++)o[n]=1;for(n=6707;n<=6709;n++)o[n]=1;for(n=6720;n<=6723;n++)o[n]=1;for(n=6732;n<=6738;n++)o[n]=1;for(n=6931;n<=6933;n++)o[n]=1;for(n=6956;n<=6959;n++)o[n]=1;for(n=7005;n<=7007;n++)o[n]=1;for(n=7057;n<=7070;n++)o[n]=3;for(n=7074;n<=7082;n++)o[n]=1;for(n=7109;n<=7118;n++)o[n]=1;for(n=7119;n<=7127;n++)o[n]=2;for(n=7374;n<=7376;n++)o[n]=1;for(n=7528;n<=7586;n++)o[n]=1;for(n=7587;n<=7645;n++)o[n]=3;for(n=7692;n<=7696;n++)o[n]=1;for(n=7755;n<=7787;n++)o[n]=1;for(n=7791;n<=7795;n++)o[n]=1;for(n=7799;n<=7801;n++)o[n]=1;for(n=7803;n<=7805;n++)o[n]=1;for(n=7825;n<=7831;n++)o[n]=1;for(n=7845;n<=7859;n++)o[n]=1;for(n=8013;n<=8032;n++)o[n]=1;for(n=8065;n<=8068;n++)o[n]=2;for(n=8518;n<=8529;n++)o[n]=3;for(n=8533;n<=8536;n++)o[n]=3;for(n=8538;n<=8540;n++)o[n]=3;for(n=8677;n<=8679;n++)o[n]=1;for(n=8836;n<=8840;n++)o[n]=1;for(n=8857;n<=8859;n++)o[n]=1;for(n=8908;n<=8910;n++)o[n]=1;for(n=9154;n<=9159;n++)o[n]=1;for(n=9205;n<=9218;n++)o[n]=1;for(n=9271;n<=9273;n++)o[n]=1;for(n=9295;n<=9297;n++)o[n]=1;for(n=9356;n<=9360;n++)o[n]=1;for(n=9404;n<=9407;n++)o[n]=1;for(n=9476;n<=9482;n++)o[n]=1;for(n=9487;n<=9494;n++)o[n]=1;for(n=9697;n<=9699;n++)o[n]=1;for(n=9821;n<=9865;n++)o[n]=1;for(n=10285;n<=10291;n++)o[n]=1;for(n=10314;n<=10317;n++)o[n]=1;for(n=10448;n<=10465;n++)o[n]=1;for(n=10726;n<=10729;n++)o[n]=1;for(n=10731;n<=10733;n++)o[n]=1;for(n=10792;n<=10795;n++)o[n]=1;for(n=10911;n<=10916;n++)o[n]=3;for(n=10921;n<=10926;n++)o[n]=1;for(n=10942;n<=10949;n++)o[n]=1;for(n=11114;n<=11118;n++)o[n]=1;for(n=11266;n<=11272;n++)o[n]=1;for(n=11277;n<=11284;n++)o[n]=1;for(n=20004;n<=20032;n++)o[n]=1;for(n=20047;n<=20049;n++)o[n]=1;for(n=20062;n<=20092;n++)o[n]=1;for(n=20135;n<=20138;n++)o[n]=1;for(n=20248;n<=20258;n++)o[n]=1;for(n=20348;n<=20358;n++)o[n]=1;for(n=20436;n<=20440;n++)o[n]=1;for(n=20822;n<=20824;n++)o[n]=1;for(n=20904;n<=20932;n++)o[n]=1;for(n=20934;n<=20936;n++)o[n]=1;for(n=21004;n<=21032;n++)o[n]=1;for(n=21035;n<=21037;n++)o[n]=1;for(n=21095;n<=21097;n++)o[n]=1;for(n=21148;n<=21150;n++)o[n]=1;for(n=21207;n<=21264;n++)o[n]=1;for(n=21307;n<=21364;n++)o[n]=1;for(n=21413;n<=21423;n++)o[n]=1;for(n=21453;n<=21463;n++)o[n]=1;for(n=21473;n<=21483;n++)o[n]=1;for(n=21780;n<=21782;n++)o[n]=1;for(n=21891;n<=21894;n++)o[n]=1;for(n=21896;n<=21899;n++)o[n]=1;for(n=22171;n<=22177;n++)o[n]=1;for(n=22181;n<=22187;n++)o[n]=1;for(n=22191;n<=22197;n++)o[n]=1;for(n=22207;n<=22222;n++)o[n]=1;for(n=22229;n<=22232;n++)o[n]=1;for(n=22234;n<=22236;n++)o[n]=1;for(n=22243;n<=22250;n++)o[n]=1;for(n=22262;n<=22265;n++)o[n]=1;for(n=22307;n<=22322;n++)o[n]=1;for(n=22348;n<=22357;n++)o[n]=1;for(n=22407;n<=22422;n++)o[n]=1;for(n=22462;n<=22465;n++)o[n]=1;for(n=22521;n<=22525;n++)o[n]=1;for(n=22607;n<=22622;n++)o[n]=1;for(n=22641;n<=22646;n++)o[n]=1;for(n=22648;n<=22657;n++)o[n]=1;for(n=22707;n<=22722;n++)o[n]=1;for(n=22762;n<=22765;n++)o[n]=1;for(n=22807;n<=22822;n++)o[n]=1;for(n=22991;n<=22994;n++)o[n]=1;for(n=23028;n<=23038;n++)o[n]=1;for(n=23301;n<=23333;n++)o[n]=3;for(n=23830;n<=23853;n++)o[n]=1;for(n=23866;n<=23872;n++)o[n]=1;for(n=23877;n<=23884;n++)o[n]=1;for(n=23886;n<=23894;n++)o[n]=1;for(n=23946;n<=23948;n++)o[n]=1;for(n=24311;n<=24313;n++)o[n]=1;for(n=24342;n<=24347;n++)o[n]=1;for(n=24370;n<=24374;n++)o[n]=11;for(n=24375;n<=24381;n++)o[n]=1;for(n=24718;n<=24721;n++)o[n]=1;for(n=24817;n<=24821;n++)o[n]=1;for(n=24877;n<=24882;n++)o[n]=1;for(n=24891;n<=24893;n++)o[n]=1;for(n=25391;n<=25395;n++)o[n]=1;for(n=25828;n<=25838;n++)o[n]=1;for(n=26191;n<=26195;n++)o[n]=1;for(n=26391;n<=26393;n++)o[n]=1;for(n=26701;n<=26722;n++)o[n]=1;for(n=26729;n<=26799;n++)o[n]=3;for(n=26801;n<=26803;n++)o[n]=3;for(n=26811;n<=26813;n++)o[n]=3;for(n=26847;n<=26870;n++)o[n]=3;for(n=26891;n<=26899;n++)o[n]=1;for(n=26901;n<=26923;n++)o[n]=1;for(n=26929;n<=26946;n++)o[n]=1;for(n=26948;n<=26998;n++)o[n]=1;for(n=27037;n<=27040;n++)o[n]=1;for(n=27205;n<=27232;n++)o[n]=1;for(n=27258;n<=27260;n++)o[n]=1;for(n=27391;n<=27398;n++)o[n]=1;for(n=27561;n<=27564;n++)o[n]=1;for(n=27571;n<=27574;n++)o[n]=1;for(n=27581;n<=27584;n++)o[n]=1;for(n=27591;n<=27594;n++)o[n]=1;for(n=27700;n<=27707;n++)o[n]=1;for(n=28191;n<=28193;n++)o[n]=1;for(n=28348;n<=28358;n++)o[n]=1;for(n=28402;n<=28432;n++)o[n]=1;for(n=28462;n<=28492;n++)o[n]=1;for(n=29118;n<=29122;n++)o[n]=1;for(n=29168;n<=29172;n++)o[n]=1;for(n=29177;n<=29185;n++)o[n]=1;for(n=29187;n<=29195;n++)o[n]=1;for(n=29900;n<=29903;n++)o[n]=1;for(n=30161;n<=30179;n++)o[n]=1;for(n=30491;n<=30494;n++)o[n]=1;for(n=30729;n<=30732;n++)o[n]=1;for(n=31251;n<=31259;n++)o[n]=1;for(n=31265;n<=31268;n++)o[n]=1;for(n=31275;n<=31279;n++)o[n]=1;for(n=31281;n<=31297;n++)o[n]=1;for(n=31461;n<=31469;n++)o[n]=1;for(n=31491;n<=31495;n++)o[n]=1;for(n=31917;n<=31922;n++)o[n]=1;for(n=31965;n<=32e3;n++)o[n]=1;for(n=32001;n<=32003;n++)o[n]=3;for(n=32005;n<=32031;n++)o[n]=3;for(n=32033;n<=32060;n++)o[n]=3;for(n=32064;n<=32067;n++)o[n]=3;for(n=32074;n<=32077;n++)o[n]=3;for(n=32081;n<=32086;n++)o[n]=1;for(n=32107;n<=32130;n++)o[n]=1;for(n=32133;n<=32159;n++)o[n]=1;for(n=32164;n<=32167;n++)o[n]=3;for(n=32180;n<=32199;n++)o[n]=1;for(n=32201;n<=32260;n++)o[n]=1;for(n=32301;n<=32360;n++)o[n]=1;for(n=32401;n<=32460;n++)o[n]=1;for(n=32501;n<=32560;n++)o[n]=1;for(n=32601;n<=32662;n++)o[n]=1;for(n=32664;n<=32667;n++)o[n]=3;for(n=32701;n<=32761;n++)o[n]=1;for(n=53001;n<=53004;n++)o[n]=1;for(n=53008;n<=53019;n++)o[n]=1;for(n=53021;n<=53032;n++)o[n]=1;for(n=53034;n<=53037;n++)o[n]=1;for(n=53042;n<=53046;n++)o[n]=1;for(n=53074;n<=53080;n++)o[n]=1;for(n=54001;n<=54004;n++)o[n]=1;for(n=54008;n<=54019;n++)o[n]=1;for(n=54021;n<=54032;n++)o[n]=1;for(n=54034;n<=54037;n++)o[n]=1;for(n=54042;n<=54046;n++)o[n]=1;for(n=54048;n<=54053;n++)o[n]=1;for(n=54074;n<=54080;n++)o[n]=1;for(n=54090;n<=54096;n++)o[n]=1;for(n=54098;n<=54101;n++)o[n]=1;for(n=65161;n<=65163;n++)o[n]=1;for(n=102001;n<=102040;n++)o[n]=1;for(n=102042;n<=102063;n++)o[n]=1;for(n=102065;n<=102067;n++)o[n]=1;for(n=102070;n<=102117;n++)o[n]=1;for(n=102122;n<=102216;n++)o[n]=1;for(n=102221;n<=102377;n++)o[n]=1;for(n=102382;n<=102388;n++)o[n]=1;for(n=102389;n<=102398;n++)o[n]=3;for(n=102399;n<=102444;n++)o[n]=1;for(n=102445;n<=102447;n++)o[n]=3;for(n=102448;n<=102458;n++)o[n]=1;for(n=102459;n<=102468;n++)o[n]=3;for(n=102469;n<=102499;n++)o[n]=1;for(n=102500;n<=102519;n++)o[n]=2;for(n=102520;n<=102524;n++)o[n]=1;for(n=102525;n<=102529;n++)o[n]=3;for(n=102530;n<=102588;n++)o[n]=1;for(n=102590;n<=102598;n++)o[n]=1;for(n=102601;n<=102603;n++)o[n]=1;for(n=102605;n<=102628;n++)o[n]=1;for(n=102629;n<=102646;n++)o[n]=3;for(n=102648;n<=102700;n++)o[n]=3;for(n=102701;n<=102703;n++)o[n]=1;for(n=102707;n<=102730;n++)o[n]=3;for(n=102733;n<=102758;n++)o[n]=3;for(n=102767;n<=102900;n++)o[n]=1;for(n=102901;n<=102933;n++)o[n]=3;for(n=102934;n<=102950;n++)o[n]=14;for(n=102951;n<=102969;n++)o[n]=1;for(n=102971;n<=102973;n++)o[n]=1;for(n=102975;n<=102989;n++)o[n]=1;for(n=102990;n<=102992;n++)o[n]=2;for(n=102997;n<=103002;n++)o[n]=1;for(n=103003;n<=103008;n++)o[n]=3;for(n=103009;n<=103011;n++)o[n]=1;for(n=103012;n<=103014;n++)o[n]=3;for(n=103019;n<=103021;n++)o[n]=1;for(n=103022;n<=103024;n++)o[n]=3;for(n=103029;n<=103031;n++)o[n]=1;for(n=103032;n<=103034;n++)o[n]=3;for(n=103065;n<=103068;n++)o[n]=1;for(n=103074;n<=103076;n++)o[n]=1;for(n=103077;n<=103079;n++)o[n]=2;for(n=103080;n<=103082;n++)o[n]=1;for(n=103083;n<=103085;n++)o[n]=3;for(n=103090;n<=103093;n++)o[n]=1;for(n=103097;n<=103099;n++)o[n]=1;for(n=103100;n<=103102;n++)o[n]=3;for(n=103107;n<=103109;n++)o[n]=1;for(n=103110;n<=103112;n++)o[n]=3;for(n=103113;n<=103116;n++)o[n]=1;for(n=103117;n<=103120;n++)o[n]=3;for(n=103153;n<=103157;n++)o[n]=1;for(n=103158;n<=103162;n++)o[n]=3;for(n=103163;n<=103165;n++)o[n]=1;for(n=103166;n<=103168;n++)o[n]=2;for(n=103169;n<=103171;n++)o[n]=3;for(n=103186;n<=103188;n++)o[n]=1;for(n=103189;n<=103191;n++)o[n]=3;for(n=103192;n<=103195;n++)o[n]=1;for(n=103196;n<=103199;n++)o[n]=3;for(n=103200;n<=103224;n++)o[n]=1;for(n=103225;n<=103227;n++)o[n]=2;for(n=103232;n<=103237;n++)o[n]=1;for(n=103238;n<=103243;n++)o[n]=3;for(n=103244;n<=103246;n++)o[n]=1;for(n=103247;n<=103249;n++)o[n]=3;for(n=103254;n<=103256;n++)o[n]=1;for(n=103257;n<=103259;n++)o[n]=3;for(n=103264;n<=103266;n++)o[n]=1;for(n=103267;n<=103269;n++)o[n]=3;for(n=103300;n<=103375;n++)o[n]=1;for(n=103381;n<=103383;n++)o[n]=1;for(n=103384;n<=103386;n++)o[n]=2;for(n=103387;n<=103389;n++)o[n]=1;for(n=103390;n<=103392;n++)o[n]=3;for(n=103397;n<=103399;n++)o[n]=1;for(n=103400;n<=103471;n++)o[n]=3;for(n=103476;n<=103478;n++)o[n]=1;for(n=103479;n<=103481;n++)o[n]=3;for(n=103486;n<=103488;n++)o[n]=1;for(n=103489;n<=103491;n++)o[n]=3;for(n=103492;n<=103495;n++)o[n]=1;for(n=103496;n<=103499;n++)o[n]=3;for(n=103528;n<=103543;n++)o[n]=1;for(n=103544;n<=103548;n++)o[n]=3;for(n=103549;n<=103551;n++)o[n]=1;for(n=103552;n<=103554;n++)o[n]=2;for(n=103555;n<=103557;n++)o[n]=3;for(n=103558;n<=103560;n++)o[n]=1;for(n=103571;n<=103573;n++)o[n]=1;for(n=103574;n<=103576;n++)o[n]=3;for(n=103577;n<=103580;n++)o[n]=1;for(n=103581;n<=103583;n++)o[n]=3;for(n=103595;n<=103694;n++)o[n]=1;for(n=103696;n<=103699;n++)o[n]=1;for(n=103700;n<=103793;n++)o[n]=3;for(n=103794;n<=103890;n++)o[n]=1;for(n=103891;n<=103896;n++)o[n]=3;for(n=103900;n<=103971;n++)o[n]=3;for(n=103972;n<=103977;n++)o[n]=1;for(n=103983;n<=103985;n++)o[n]=1;for(n=112e3;n<=112101;n++)o[n]=1;for(n=112151;n<=112156;n++)o[n]=1;for(n=112201;n<=112210;n++)o[n]=1;for(n=112212;n<=112235;n++)o[n]=1;for(n=112236;n<=112323;n++)o[n]=3;r.d(t,["A",0,o])},21325(e,t,r){r.d(t,{EA:()=>m,K8:()=>S,Vp:()=>u,YX:()=>d,ZL:()=>y,aI:()=>c,d9:()=>T,fn:()=>M,jp:()=>p,oT:()=>P,r1:()=>E,tl:()=>g,x1:()=>h});var n=r(799),o=(r(83290),r(22530));const i=[102100,102113,3857,3785,900913],a=[4326,...i,104905,104971,104903],s=[-20037508.342788905,20037508.342788905],_=[-20037508.342787,20037508.342787],l={wkTemplate:'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},f={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},102100:l,3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},3857:l,4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},900913:l,104903:{wkTemplate:'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function c(e,t){if(e===t)return!0;if(null==e||null==t)return!1;const r=e.wkid,n=t.wkid;if(null!=r||null!=n){if(r===n)return!0;if(S(e)&&S(t))return!0;const o=e.latestWkid;if(null!=o&&n===o)return!0;const i=t.latestWkid;if(null!=i&&r===i)return!0;if(null!=r&&null!=n)return!1}let o,i;return e.wkt2&&t.wkt2?(o=e.wkt2,i=t.wkt2):e.wkt&&t.wkt&&(o=e.wkt,i=t.wkt),!(!o||!i)&&o.toUpperCase()===i.toUpperCase()}function u(e){const t=e?.wkid;return null!=t&&t>=2e3&&f[t]||null}function d(e){if(!e)return;const{wkid:t,vcsWkid:r,falseM:n,falseX:o,falseY:i,falseZ:a,mTolerance:s,mUnits:_,xyTolerance:l,xyUnits:f,zTolerance:c,zUnits:u}=e;if(t&&[r,n,o,i,a,s,_,l,f,c,u].every(e=>null==e))return String(t);const d={wkid:t,wkt:t?void 0:e.wkt||e.wkt2,vcsWkid:r,falseM:n,falseX:o,falseY:i,falseZ:a,mTolerance:s,mUnits:_,xyTolerance:l,xyUnits:f,zTolerance:c,zUnits:u};for(const[e,t]of Object.entries(d))null===t&&delete d[e];return JSON.stringify(d)}function m(e){if(!M(e))return!1;const{wkid:t}=e;if(t)return null==o.A[t];const r=e.wkt2||e.wkt;return!!r&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(r)}function P(e){return 4326===e?.wkid}function p(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function h(e){return 4490===e?.wkid}function S(e){const t=e?.wkid;return null!=t&&t>=2e3&&i.includes(t)}function E(e){return 32662===e?.wkid}function g(e){return 104971===e||104905===e}function y(e){return 104903===e}function T(e){const t=e?.wkid;return null!=t&&t>=2e3&&a.includes(t)}function M(e){if(null==e)return!1;const t=e.wkid;return null!=t&&t>=2e3||null!=e.wkt2||null!=e.wkt}const G={wkid:4326,wkt:(0,n.HC)(f[4326].wkTemplate,{Central_Meridian:"0.0"})};r.d(t,["KK",0,G,"Mc",0,s,"ch",0,{wkid:102100,latestWkid:3857},"tQ",0,{wkid:32662}])},97348(e,t,r){r.d(t,{B:()=>u});const n=[3855,31,14,540,18,735,2,19,23,80,19,261,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,80,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,30,2,12,18,1,1,1,1,1,1,1,1,1,1,1,1,1,67,189,1,1,46,1,1,1,1,1,1,1,1,1,170,1,1,1,278,1,1,1,1,1,1,3,46,1,1,221,530,1,204,1,47,1,7,125,5,2,2,47,1,1,72,6,8,3,71,1,1,1,36,139,38,1,90,1,76,241,15,1,150,40,23,7,219,115,10,19,5,8,1,15,32,16,38,1,2,1,1,1,1,1,1,1,1,1,1,49,7,13,179,1,12,3,3,3,3,6,40,1,201,4,223,1,39,159,3,1,1,128,1,1,1,62,1,1,1,1,1,13,23,54,7,1,28,62,23,137,18,71,10,158,8843,34,1,1,85565,1,1,1,1,1,1,1,92,1,1,1,1,86,1,1,1,1,1,1,1,1,1,9901,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1],o=[287,1,2,4,15,107,3,143],i=[10,1,13,1,1,1,12,1,6,1,18,1,4,1,49,1,11,1,1,7,5,1,15,3,29,1,2,1,1,1,5,1,13,2,24,1,6,2,1,1,7,6,3,3,287],a=["Meter","Foot","Foot_US","Foot_British_1936"],s=[1,.3048,.3048006096012192,.3048007491],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,2,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=["EGM2008_Geoid","Fao_1979","N2000","New_Zealand_Vertical_Datum_2009","Dunedin_Bluff_1960","Korean_Vertical_Datum_1964","Trieste","Genoa","Sri_Lanka_Vertical_Datum","Faroe_Islands_Vertical_Reference_2009","Black_Sea","Fehmarnbelt_Vertical_Reference_2010","Nivellement_General_de_Polynesie_Francaise","IGN_1966","Moorea_SAU_1981","Raiatea_SAU_2001","Maupiti_SAU_2001","Huahine_SAU_2001","Tahaa_SAU_2001","Bora_Bora_SAU_2001","International_Great_Lakes_Datum_1955","International_Great_Lakes_Datum_1985","Croatian_Vertical_Reference_System_1971","Caspian_Sea","Baltic_Sea","Rikets_Hojdsystem_2000","KOC_Well_Datum","Rikets_Hojdsystem_1900","IGN_1988_LS","IGN_1988_MG","IGN_1992_LD","IGN_1988_SB","IGN_1988_SM","European_Vertical_Reference_Frame_2007","Ordnance_Datum_Newlyn","National_Geodetic_Vertical_Datum_1929","North_American_Vertical_Datum_1988","Yellow_Sea_1956","Normaal_Amsterdams_Peil","Oostende","Australian_Height_Datum","Australian_Height_Datum_Tasmania","Canadian_Geodetic_Vertical_Datum_of_1928","Mean_Sea_Level","Piraeus_Harbour_1986","Helsinki_1960","Rikets_Hojdsystem_1970","Nivellement_General_de_la_France_Lallemand","Nivellement_General_de_la_France_IGN69","Nivellement_General_de_la_France_IGN78","Maputo","Japanese_Standard_Levelling_Datum_1969","PDO_Height_Datum_1993","Fahud_Height_Datum","Ha_Tien_1960","Hon_Dau_1992","Landesnivellement_1902","Landeshohennetz_1995","European_Vertical_Reference_Frame_2000","Malin_Head","Belfast","Dansk_Normal_Nul","AIOC_1995","Yellow_Sea_1985","Hong_Kong_Principal_Datum","Hong_Kong_Chart_Datum","Ordnance_Datum_Newlyn_Orkney_Isles","Fair_Isle","Lerwick","Foula","Sule_Skerry","North_Rona","Stornoway","St_Kilda","Flannan_Isles","St_Marys","Douglas","Fao","Bandar_Abbas","Nivellement_General_de_Nouvelle_Caledonie","Poolbeg","Nivellement_General_Guyanais_1977","IGN_1987","IGN_1988","IGN_1989","Auckland","Bluff","Dunedin","Gisborne","Lyttelton","Moturiki","Napier","Nelson","One_Tree_Point","Tararu","Taranaki","Wellington","Chatham_Island","Stewart_Island","EGM96_Geoid","Nivellement_General_du_Luxembourg","Antalya","Norway_Normal_Null_1954","Durres","Gebrauchshohen_Adria","Slovenian_Vertical_System_2000","Cascais","Constanta","Alicante","Deutsches_Haupthoehennetz_1992","Deutsches_Haupthoehennetz_1985","SNN76","Baltic_1982","Baltic_1980","Kuwait_PWD","KOC_Construction_Datum","Nivellement_General_de_la_Corse_1948","Danger_1950","Mayotte_1950","Martinique_1955","Guadeloupe_1951","Lagos_1955","EGM84_Geoid","Dansk_Vertikal_Reference_1990_ensemble","Sea_Level","Ras_Ghumays","Lowest_Astronomic_Tide","Lower_Low_Water_Large_Tide","Indian_Spring_Low_Water","Mean_Lower_Low_Water_Spring_Tides","Mean_Low_Water_Spring_Tides","Mean_Lower_Low_Water","Mean_Low_Water","Mean_High_Water","Mean_Higher_High_Water","Mean_High_Water_Spring_Tides","Higher_High_Water_Large_Tide","Highest_Astronomic_Tide","Low_Water","High_Water","Norway_Normal_Null_2000","Grand_Cayman_Vertical_Datum_1954","Little_Cayman_Vertical_Datum_1961","Cayman_Brac_Vertical_Datum_1961","Cais_da_Pontinha-Funchal","Cais_da_Vila-Porto_Santo","Cais_das_Velas","Horta","Cais_da_Madalena","Santa_Cruz_da_Graciosa","Cais_da_Figueirinha-Angra_do_Heroismo","Santa_Cruz_das_Flores","Cais_da_Vila_do_Porto","Ponta_Delgada","Tutuila_Vertical_Datum_of_1962","Guam_Vertical_Datum_of_1963","Northern_Marianas_Vertical_Datum_of_2003","Puerto_Rico_Vertical_Datum_of_2002","Virgin_Islands_Vertical_Datum_of_2009","American_Samoa_Vertical_Datum_of_2002","Guam_Vertical_Datum_of_2004","Canadian_Geodetic_Vertical_Datum_of_2013","Japanese_Standard_Levelling_Datum_1972","Japanese_Geodetic_Datum_2000_vertical","Japanese_Geodetic_Datum_2011_vertical","Singapore_Height_Datum","Famagusta_1960","Papua_New_Guinea_2008","Kumul_34","Kiunga","Deutsches_Haupthoehennetz_1912","Latvian_Height_System_2000","Ordnance_Datum_Newlyn_(Offshore)","Port_Moresby_1996","Deutsches_Haupthoehennetz_2016","New_Zealand_Vertical_Datum_2016","Port_Moresby_2008","Jamestown_1971","St_Helena_Tritan_Vertical_Datum_2011","St_Helena_Vertical_Datum_2015","Landshaedarkerfi_Islands_2004","Greenland_Vertical_Reference_2000","Greenland_Vertical_Reference_2016","Baltic_1957","Macao_Height_Datum","Helsinki_1943","Slovenian_Vertical_System_2010","Serbian_Vertical_Reference_System_2012","MOMRA_Vertical_Geodetic_Control","Wiener_Null","Taiwan_Vertical_Datum_2001","Datum_Altimetrico_de_Costa_Rica_1952","IGN_2008_LD","Canadian_Geodetic_Vertical_Datum_of_2013_CGG2013a","Sistema_de_Referencia_Vertical_Nacional_2016","European_Vertical_Reference_Frame_2000_Austria","South_Africa_Land_Levelling_Datum","Lowest_Astronomical_Tide_Netherlands","Mean_Sea_Level_Netherlands","HS2_Vertical_Reference_Frame","Kingdom_of_Saudi_Arabia_Vertical_Reference_Frame_Jeddah_2014","Nivellement_General_de_Nouvelle_Caledonie_2008","European_Vertical_Reference_Frame_2019","European_Vertical_Reference_Frame_2019_mean_tide","Mallorca","Menorca","Ibiza","Lanzarote","Fuerteventura","Gran_Canaria","Tenerife","La_Gomera","La_Palma","El_Hierro","Ceuta_2","British_Isles_height_ensemble","Australian_Vertical_Working_Surface","Indonesian_Geoid_2020","Baltic_1986","European_Vertical_Reference_Frame_2007_Poland","Estonian_Height_System_2000","Lithuanian_Height_System_2007","Bulgarian_Height_System_2005","Norwegian_Chart_Datum","Local_Tidal_Datum_at_Pago_Pago_2020","National_Vertical_Datum_1992","Catania_1965","Cagliari_1956","GNTRANS","GNTRANS2016","Mean_Sea_Level_UK_Ireland_VORF08","Chart_Datum_UK_Ireland_VORF08","Nivellement_General_de_l_Algerie_2022","Chart_Datum_Portugal","Formentera","Alboran","Melilla","Dansk_Vertikal_Reference_1990","Dansk_Vertikal_Reference_1990_(2002)","Dansk_Vertikal_Reference_1990_(2013)","Dansk_Vertikal_Reference_1990_(2023)","Denmark_Mean_Sea_Level_(2022)","Denmark_Lowest_Astronomical_Tide_(2022)","Denmark_Mean_Sea_Level_(2023)","Denmark_Lowest_Astronomical_Tide_(2023)","Denmark_Mean_Sea_Level","Denmark_Lowest_Astronomical_Tide","Greenland_Local_Mean_Sea_Level_(2022)","Canadian_Geodetic_Vertical_Datum_of_1928_(Height_Transformation_version_2_0)","Saba_Vertical_Datum","Greenland_Mean_Sea_Level_(2023)","Greenland_Lowest_Astronomic_Tide_(2023)","Baltic_Sea_Chart_Datum_2000","Sint_Eustatius_Vertical_Datum","Bonaire_Vertical_Datum","Asse_vertical_datum_2025","Derived_California_Orthometric_Heights_of_1988_epoch_2025","London_Survey_Grid_height_datum","Svalbard_vertical_datum_2024","IGN_2023_Mayotte","Svalbard_vertical_datum_2006","Canadian_Geodetic_Vertical_Datum_of_2013_(CGG2013a)_epoch_2002","Canadian_Geodetic_Vertical_Datum_of_2013_(CGG2013a)_epoch_1997","Indonesian_Geoid_2020_version_2","Hellenic_Vertical_Datum","WGS_1984","Red_Espanola_de_Nivelacion_de_Alta_Precision","Japanese_Geodetic_Datum_2024_vertical","GRS_1980","WGS_1984_Geoid","Mean_Sea_Level_Hawaii","Qatari_Vertical_Datum","International_1924","CGCS2000","Bessel_1841","Krasovsky_1940","Everest_Adjustment_1937","Clarke_1866","PZ_1990","Unknown_height_system_(meters)","Unknown_height_system_(US_survey_feet)","Unknown_height_system_(Intl_feet)","GSK-2011","Australian","NWL_9D","WGS_1972"],f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,24,23,38,39,40,41,42,43,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,10,37,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,26,115,116,117,118,119,120,121,62,122,123,124,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,36,36,35,36,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,80,35,64,26,43,43,43,43,180,36,181,182,183,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,265,265,268,268,269,123,25,36,221,0,1,3,2,4,270,270,99,99,271,265,268,268,268,272,273,268,268,265,274,265,268,268,268,268,268,268,268,268,265,265,268,265,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,265,268,268,268,275,272,268,268,272,268,268,268,268,268,268,265,268,268,268,268,268,268,268,268,268,276,268,268,268,268,265,268,277,268,278,268,268,268,268,268,268,268,272,268,268,268,268,268,268,268,268,268,268,265,276,268,268,274,274,268,268,268,275,265,268,268,268,268,279,280,281,268,268,265,282,278,278,265,265,265,265,265,265,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,274,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,274,268,283,283,268,265,268,268,268,268,265,272,265,265,268,268,268,268,268,268,268,275,268,268,268,268,268,268,268,268,268,265,284,285,285,268,268,268,268,268,268,268,268,268,268,268,274,268,268,268,268,268,268,268,268,268,268,268,265,272,268,272,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268];function c(e){const t=[];let r=0;for(const n of e){for(let e=0;e<n;e++)t.push(r);r=1-r}return t}const u=function(){const e=function(e){const t=[];let r=0;for(const n of e)r+=n,t.push(r);return t}(n),t=c(o),r=c(i),u=a.map((e,t)=>({name:e,conversionFactor:s[t]})),d=new Map;for(let n=0;n<e.length;n++){const o=0===t[n]?0:1,i=0===r[n]?0:1,a=u[_[n]],s=l[f[n]];d.set(e[n],{type:o,direction:i,unit:a,datum:s})}return d}()}}]);
|