@arcgis/core 5.2.0-next.167 → 5.2.0-next.169
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/Map.d.ts +6 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/057f245d70e57a1bcb46.js +1 -0
- package/assets/esri/core/workers/chunks/{1419bf346978b81b08cc.js → 094eb9677cdebfaa9e1b.js} +1 -1
- package/assets/esri/core/workers/chunks/0d52e1b6d38f2670658c.js +1 -0
- package/assets/esri/core/workers/chunks/0f7455dbe8c2ee464194.js +1 -0
- package/assets/esri/core/workers/chunks/10878932826ddb60fac4.js +1 -0
- package/assets/esri/core/workers/chunks/144bad0c2415c345736a.js +1 -0
- package/assets/esri/core/workers/chunks/1a614bac5db42c6263f8.js +1 -0
- package/assets/esri/core/workers/chunks/{99a0a434ea2162166754.js → 2095f220dc2b8f8f62db.js} +1 -1
- package/assets/esri/core/workers/chunks/{5daa9429808ca31279f2.js → 216a239142dfe1306c6c.js} +1 -1
- package/assets/esri/core/workers/chunks/25c3be410d1c03f8f39d.js +1 -0
- package/assets/esri/core/workers/chunks/294276ed397023dcda44.js +1 -0
- package/assets/esri/core/workers/chunks/2a2a4650dd9b953d317c.js +1 -0
- package/assets/esri/core/workers/chunks/2b6684d057d9ad17ac13.js +1 -0
- package/assets/esri/core/workers/chunks/{ad96132bc89671e595f3.js → 2d3e0e4442dbc6ec6def.js} +1 -1
- package/assets/esri/core/workers/chunks/2d83ba260dd6bbe38206.js +1 -0
- package/assets/esri/core/workers/chunks/{69d5f8ef78b9b8b3d33d.js → 3286cf2afeb7f48564d9.js} +1 -1
- package/assets/esri/core/workers/chunks/3321cb0d4cb68b2ec8bf.js +1 -0
- package/assets/esri/core/workers/chunks/{e99c8c71c757bb161d87.js → 3636c2ac9b77950776d6.js} +1 -1
- package/assets/esri/core/workers/chunks/367b2f25cfe37847a48d.js +1 -0
- package/assets/esri/core/workers/chunks/379ef56f6b32494832a6.js +1 -0
- package/assets/esri/core/workers/chunks/3c881b1adc8a5dea9a90.js +1 -0
- package/assets/esri/core/workers/chunks/{6a2562cc00727155fc01.js → 4024becaf4012c1f15a7.js} +1 -1
- package/assets/esri/core/workers/chunks/435ad7e6ed326da2b969.js +1 -0
- package/assets/esri/core/workers/chunks/4419732baf3459a80e6d.js +1 -0
- package/assets/esri/core/workers/chunks/46f0510846a309a390ca.js +1 -0
- package/assets/esri/core/workers/chunks/4e17665dd9048c300d87.js +1 -0
- package/assets/esri/core/workers/chunks/509a74e9334f31b931d4.js +1 -0
- package/assets/esri/core/workers/chunks/50e8943d2c0b96fab2c1.js +1 -0
- package/assets/esri/core/workers/chunks/5396b6e99a0546a25d19.js +1 -0
- package/assets/esri/core/workers/chunks/546f5f57c9249627bb89.js +1 -0
- package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +1 -0
- package/assets/esri/core/workers/chunks/{d90a3bfd45b5ed4092e0.js → 590fe0f56bc4c33a50e7.js} +1 -1
- package/assets/esri/core/workers/chunks/5d42f0898bf30ae940ea.js +1 -0
- package/assets/esri/core/workers/chunks/5f1cb79aec9c4a9b7ddc.js +29 -0
- package/assets/esri/core/workers/chunks/{5d2f043ebe1051326c56.js → 63b5418a1c3fe0a97a86.js} +1 -1
- package/assets/esri/core/workers/chunks/63c3a573dfe703056f8f.js +1 -0
- package/assets/esri/core/workers/chunks/673c61c964524150d9bc.js +1 -0
- package/assets/esri/core/workers/chunks/692f0093c444fcc752b5.js +1 -0
- package/assets/esri/core/workers/chunks/69627b2634da64dd885f.js +1 -0
- package/assets/esri/core/workers/chunks/{e6d10136bc08aef255ff.js → 712559f121f76c4e71ab.js} +1 -1
- package/assets/esri/core/workers/chunks/71a51795f715332fb4fe.js +1 -0
- package/assets/esri/core/workers/chunks/735c1dffc3439bdba3cc.js +1 -0
- package/assets/esri/core/workers/chunks/7862abd24fb5c3b12e6b.js +1 -0
- package/assets/esri/core/workers/chunks/{44d5508042cacdfcac47.js → 7d2be06dfbd92c8b9484.js} +1 -1
- package/assets/esri/core/workers/chunks/7f5b887a753bb67c8486.js +1 -0
- package/assets/esri/core/workers/chunks/822f83d7c09ef0a9bbdf.js +1 -0
- package/assets/esri/core/workers/chunks/849f446c718e892f39ce.js +1 -0
- package/assets/esri/core/workers/chunks/8d86b0cb0e004ad72040.js +1 -0
- package/assets/esri/core/workers/chunks/{76196c414e48834f7b92.js → 8f008eedb11685ee2048.js} +1 -1
- package/assets/esri/core/workers/chunks/98760040f0c9d47c718d.js +1 -0
- package/assets/esri/core/workers/chunks/{4b99b4cf729881e616bc.js → 98d1efb6f2439c6344cf.js} +1 -1
- package/assets/esri/core/workers/chunks/{18f20fd43ec9ce03cef1.js → 9e04703ee5f5ec47db43.js} +1 -1
- package/assets/esri/core/workers/chunks/9e0b0262dec496451762.js +1 -0
- package/assets/esri/core/workers/chunks/{23fd4de56de352f63e2d.js → a2196a49f89d57a0a1c7.js} +1 -1
- package/assets/esri/core/workers/chunks/{89c8b0f684c1f27d149e.js → a2f0894218e665780a21.js} +1 -1
- package/assets/esri/core/workers/chunks/a79cae328e866272754a.js +1 -0
- package/assets/esri/core/workers/chunks/a85cdafbaf1848bb924b.js +1 -0
- package/assets/esri/core/workers/chunks/b01688ccc29d33bfc82d.js +1 -0
- package/assets/esri/core/workers/chunks/b0a612d8ffa5c46d7db4.js +1 -0
- package/assets/esri/core/workers/chunks/b5eff28cf482d920b9ea.js +1 -0
- package/assets/esri/core/workers/chunks/b70885deebc6106597ad.js +1 -0
- package/assets/esri/core/workers/chunks/bedaa5e64ed81803829a.js +1 -0
- package/assets/esri/core/workers/chunks/{a88f346786b04bd194dc.js → c0b38f8c808d434af5f6.js} +1 -1
- package/assets/esri/core/workers/chunks/c1cf3edce15f09648eb4.js +1 -0
- package/assets/esri/core/workers/chunks/c249a91dd23104723fab.js +1 -0
- package/assets/esri/core/workers/chunks/c45edd0a7d57263bb7d6.js +1 -0
- package/assets/esri/core/workers/chunks/c4bbe4707e90b7cd0379.js +1 -0
- package/assets/esri/core/workers/chunks/c52466eb1f3c33ae1f5a.js +1 -0
- package/assets/esri/core/workers/chunks/c570b90995c65bbb2e14.js +1 -0
- package/assets/esri/core/workers/chunks/c576bef77e34920af188.js +1 -0
- package/assets/esri/core/workers/chunks/c7699edd14497d174445.js +1 -0
- package/assets/esri/core/workers/chunks/c80a3b039e510c118399.js +1 -0
- package/assets/esri/core/workers/chunks/{196979cc6a765be3c5cd.js → c88a70f68c8ce8c30e9b.js} +1 -1
- package/assets/esri/core/workers/chunks/c9feffb9884cfed52c4b.js +1 -0
- package/assets/esri/core/workers/chunks/caaf6306cc73f618d27d.js +1 -0
- package/assets/esri/core/workers/chunks/{b704f489d0f072a0bfcd.js → ccd19c490ca24db6ffb1.js} +1 -1
- package/assets/esri/core/workers/chunks/cdacc3e42f01c3b852d6.js +1 -0
- package/assets/esri/core/workers/chunks/d1d6154b4af1c9cc497b.js +1 -0
- package/assets/esri/core/workers/chunks/d20dcd4ce4b0111d924f.js +1 -0
- package/assets/esri/core/workers/chunks/{784a2fba3e18286958d1.js → d56fdf5ce5ff53dc0e69.js} +1 -1
- package/assets/esri/core/workers/chunks/d7cf32a8c6060a208f06.js +1 -0
- package/assets/esri/core/workers/chunks/daae21cf77864f3293ef.js +1 -0
- package/assets/esri/core/workers/chunks/dd08dff19a2ffd36f284.js +1 -0
- package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +1 -0
- package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +1 -0
- package/assets/esri/core/workers/chunks/{e2775b4b753306dc8477.js → df7603ef7d2a7cbeaaa2.js} +1 -1
- package/assets/esri/core/workers/chunks/e9cdb0b0f074583edebd.js +1 -0
- package/assets/esri/core/workers/chunks/eaab787a5f2445be5e5a.js +1 -0
- package/assets/esri/core/workers/chunks/edd36a1fc80b1d29907e.js +1 -0
- package/assets/esri/core/workers/chunks/{444e5f214abce3d607cd.js → eeb068c265bd3a22a8c1.js} +1 -1
- package/assets/esri/core/workers/chunks/f2cfee8a761ae91f7a3e.js +1 -0
- package/assets/esri/core/workers/chunks/f3fdf75843ade0ca591e.js +1 -0
- package/assets/esri/core/workers/chunks/f5cc78291b53931b91e8.js +1 -0
- package/assets/esri/core/workers/chunks/f9dc38761b314d33890f.js +1 -0
- package/assets/esri/core/workers/chunks/feb6e041dd0aa1c59c31.js +1 -0
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ar.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bg.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bs.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ca.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.cs.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.da.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.de.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.el.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.es.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.et.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fi.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.he.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hu.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.id.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.it.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ja.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ko.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lt.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lv.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.nl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.no.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-BR.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-PT.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ro.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ru.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sk.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sv.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.th.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.tr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.uk.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.vi.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-CN.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-HK.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-TW.json +1 -1
- package/config.js +1 -1
- package/core/workers/workers.js +2 -2
- package/core/workers.d.ts +1 -1
- package/form/elements/inputs/DynamicChoiceInput.d.ts +2 -2
- package/geometry/operators/containsOperator.d.ts +1 -1
- package/geometry/operators/densifyOperator.d.ts +1 -1
- package/geometry/operators/differenceOperator.d.ts +6 -4
- package/geometry/operators/distanceOperator.d.ts +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +8 -8
- package/geometry/operators/graphicBufferOperator.d.ts +6 -6
- package/geometry/operators/integrateOperator.d.ts +2 -2
- package/geometry/operators/intersectsOperator.d.ts +3 -3
- package/geometry/operators/linesToPolygonsOperator.d.ts +2 -2
- package/geometry/operators/locateBetweenOperator.d.ts +2 -2
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +2 -2
- package/geometry/operators/polygonSlicerOperator.d.ts +2 -2
- package/geometry/operators/projectOperator.d.ts +2 -2
- package/geometry/operators/proximityOperator.d.ts +15 -15
- package/geometry/operators/shapePreservingProjectOperator.d.ts +2 -2
- package/geometry/operators/simplifyOperator.d.ts +2 -2
- package/geometry/operators/support/GeographicTransformationStep.d.ts +3 -3
- package/geometry/operators/support/Transformation.d.ts +8 -8
- package/geometry/operators/support/geographicTransformationUtils.d.ts +3 -3
- package/geometry/operators/symmetricDifferenceOperator.d.ts +2 -2
- package/geometry/operators/withinOperator.d.ts +3 -3
- package/graphic/MapNotesGraphicOrigin.d.ts +1 -0
- package/kernel.js +1 -1
- package/layers/ElevationLayer.d.ts +6 -2
- package/layers/GeospatialPDFLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/VectorTileLayer.d.ts +10 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
- package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
- package/layers/orientedImagery/transformations/rotationUtils.js +2 -0
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/package.json +2 -2
- package/popup/FeaturesModel.js +1 -1
- package/popup/support/featureUtils.js +1 -1
- package/rest/featureService/FeatureService.d.ts +0 -5
- package/rest/networks/support/TraceLocation.d.ts +2 -1
- package/rest/networks/support/TraceResult.d.ts +0 -4
- package/rest/support/OutDistance.d.ts +0 -1
- package/smartMapping/statistics/histogramForTimeSeries.js +1 -1
- package/smartMapping/statistics/summaryStatisticsForTimeSeries.js +1 -1
- package/support/BasemapStyle.d.ts +2 -2
- package/symbols/cim/types.d.ts +7 -9
- package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
- package/views/2d/engine/webgl/collisions/LabelStore.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/support/visualVariableSimpleUtils.js +1 -1
- package/views/3d/environment/SunLighting.d.ts +15 -2
- package/views/3d/environment/VirtualLighting.d.ts +15 -2
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
- package/views/draw/DrawOperation.js +1 -1
- package/views/draw/DrawScreenTool.js +1 -1
- package/views/input/types.d.ts +2 -4
- package/views/interactive/options/LabelOptions.d.ts +5 -5
- package/views/interactive/options/SnappingOptions.d.ts +2 -2
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +0 -1
- package/widgets/Editor/VisibleElements.d.ts +4 -0
- package/widgets/Editor.d.ts +2 -0
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/ImageMeasurementWorker.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementWorkerUtils.js +2 -0
- package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer/support/dataCaptureUtils.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +2 -2
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Search/LayerSearchSource.d.ts +1 -1
- package/widgets/Sketch/VisibleElements.d.ts +4 -0
- package/widgets/Sketch.d.ts +2 -0
- package/widgets/support/iconUtils.js +1 -1
- package/assets/esri/core/workers/chunks/010f57ec7fdbedf78d02.js +0 -1
- package/assets/esri/core/workers/chunks/02e10f44edf911832c2a.js +0 -1
- package/assets/esri/core/workers/chunks/07f7177bfaf9de73bc25.js +0 -1
- package/assets/esri/core/workers/chunks/090adefe20412e8a5084.js +0 -1
- package/assets/esri/core/workers/chunks/0d9c4c6c571ce26d356b.js +0 -1
- package/assets/esri/core/workers/chunks/1201b8c5852830836eac.js +0 -1
- package/assets/esri/core/workers/chunks/151e5799ede763a03ee2.js +0 -1
- package/assets/esri/core/workers/chunks/168a523bdc3653081f8a.js +0 -1
- package/assets/esri/core/workers/chunks/175c268e64ccd01f8c25.js +0 -1
- package/assets/esri/core/workers/chunks/18787aa685524b958561.js +0 -1
- package/assets/esri/core/workers/chunks/1e1c45f75020d5e05dc3.js +0 -1
- package/assets/esri/core/workers/chunks/28104681ba161967039f.js +0 -1
- package/assets/esri/core/workers/chunks/2a36fe3f3f257a779a1b.js +0 -1
- package/assets/esri/core/workers/chunks/30af63b3b750142faadb.js +0 -1
- package/assets/esri/core/workers/chunks/3dddae78286d05eb10fc.js +0 -1
- package/assets/esri/core/workers/chunks/3f946c13ad97fbed867b.js +0 -1
- package/assets/esri/core/workers/chunks/40d803584eeade4df433.js +0 -1
- package/assets/esri/core/workers/chunks/41773d858e212468db88.js +0 -1
- package/assets/esri/core/workers/chunks/426b4eb500fdfe9df325.js +0 -1
- package/assets/esri/core/workers/chunks/45367aa8e5c5d574de94.js +0 -1
- package/assets/esri/core/workers/chunks/47d074136a7f8e551a9a.js +0 -1
- package/assets/esri/core/workers/chunks/4932773663469919d10a.js +0 -1
- package/assets/esri/core/workers/chunks/49b967d89d2841cea675.js +0 -1
- package/assets/esri/core/workers/chunks/4a6b92ecbb1f1c55cc43.js +0 -1
- package/assets/esri/core/workers/chunks/4cb751dc8d00bdaeb04c.js +0 -1
- package/assets/esri/core/workers/chunks/4d3d7ec407ee5cd5f036.js +0 -1
- package/assets/esri/core/workers/chunks/4fd0d9688df6fcc0d0b8.js +0 -1
- package/assets/esri/core/workers/chunks/53ff68d4f9e365fc15cd.js +0 -1
- package/assets/esri/core/workers/chunks/548b8f74a6883e364931.js +0 -1
- package/assets/esri/core/workers/chunks/5af8fb4ec2c72697e35b.js +0 -1
- package/assets/esri/core/workers/chunks/5d76f4d97beee494bbbf.js +0 -1
- package/assets/esri/core/workers/chunks/5dc604e3691f36f03959.js +0 -1
- package/assets/esri/core/workers/chunks/611e3cdf67283c11576f.js +0 -1
- package/assets/esri/core/workers/chunks/61552b4b8111a8624d84.js +0 -1
- package/assets/esri/core/workers/chunks/6299be5e7e26bf3c6859.js +0 -1
- package/assets/esri/core/workers/chunks/632fdf1d95ad69109427.js +0 -1
- package/assets/esri/core/workers/chunks/652faf4359ac072c5dde.js +0 -1
- package/assets/esri/core/workers/chunks/6b9961261241fdce0e94.js +0 -1
- package/assets/esri/core/workers/chunks/710b8251a59884aee31e.js +0 -1
- package/assets/esri/core/workers/chunks/7159d9c36869cd82599e.js +0 -29
- package/assets/esri/core/workers/chunks/7393f63043a1da3d05a6.js +0 -1
- package/assets/esri/core/workers/chunks/7449568eb2305bf2d650.js +0 -1
- package/assets/esri/core/workers/chunks/771dd92cb3e6a3427f66.js +0 -1
- package/assets/esri/core/workers/chunks/7748c2886d0122b40eeb.js +0 -1
- package/assets/esri/core/workers/chunks/78c4e43cfa1eda06b4d9.js +0 -1
- package/assets/esri/core/workers/chunks/7e0f04a5038e2a4f6e4b.js +0 -1
- package/assets/esri/core/workers/chunks/7f0f9dddc44b1f1600f0.js +0 -1
- package/assets/esri/core/workers/chunks/7f16ae01ccd9b6114d1c.js +0 -1
- package/assets/esri/core/workers/chunks/82a022cc21364c9a8539.js +0 -1
- package/assets/esri/core/workers/chunks/8924e2f3b7d03afb3a6a.js +0 -1
- package/assets/esri/core/workers/chunks/90153b5230b3a4985c14.js +0 -1
- package/assets/esri/core/workers/chunks/9189dfe19a2a2ccd5173.js +0 -1
- package/assets/esri/core/workers/chunks/9215b59c5ccecf9add58.js +0 -1
- package/assets/esri/core/workers/chunks/943a0f140813ee4ab04a.js +0 -1
- package/assets/esri/core/workers/chunks/967b4992b400517ee712.js +0 -1
- package/assets/esri/core/workers/chunks/9dd1fc56eb1ea6eb705e.js +0 -1
- package/assets/esri/core/workers/chunks/a163c6005aba3378edaa.js +0 -1
- package/assets/esri/core/workers/chunks/a53823cf03dbdce1aecd.js +0 -1
- package/assets/esri/core/workers/chunks/a62c12925303ff802c3d.js +0 -1
- package/assets/esri/core/workers/chunks/acb265a22be5e12f38e5.js +0 -1
- package/assets/esri/core/workers/chunks/acdfd275dbf8533a67f3.js +0 -1
- package/assets/esri/core/workers/chunks/ace802483484519658f3.js +0 -1
- package/assets/esri/core/workers/chunks/b3007aedbf731dacaff1.js +0 -1
- package/assets/esri/core/workers/chunks/b4334713bacdfe40ce3d.js +0 -1
- package/assets/esri/core/workers/chunks/b83cef2d3f528726d492.js +0 -1
- package/assets/esri/core/workers/chunks/be97a629e2ae4d13ceb3.js +0 -1
- package/assets/esri/core/workers/chunks/c337fc0e6dc69c233e6d.js +0 -1
- package/assets/esri/core/workers/chunks/c47d095434d09b5f10c6.js +0 -1
- package/assets/esri/core/workers/chunks/c4b7111dcedd9d6e1c2a.js +0 -1
- package/assets/esri/core/workers/chunks/c5d85be6e16bc895e7fb.js +0 -1
- package/assets/esri/core/workers/chunks/c8d6bb5cca49926a0214.js +0 -1
- package/assets/esri/core/workers/chunks/cb4be68cc5085d421615.js +0 -1
- package/assets/esri/core/workers/chunks/cb4db5489388559d6bd9.js +0 -1
- package/assets/esri/core/workers/chunks/cc794bb94ebc1cb66024.js +0 -1
- package/assets/esri/core/workers/chunks/cc94bf05b235e65291fc.js +0 -1
- package/assets/esri/core/workers/chunks/d4af9faa5d901274fad2.js +0 -1
- package/assets/esri/core/workers/chunks/d77c68e0fc3b259bf4f9.js +0 -1
- package/assets/esri/core/workers/chunks/daf9b691817e83a11f3c.js +0 -1
- package/assets/esri/core/workers/chunks/de0f335f702ae85a1df3.js +0 -1
- package/assets/esri/core/workers/chunks/e11159e3dc3353b27c57.js +0 -1
- package/assets/esri/core/workers/chunks/f8379cd45f750f28a3d8.js +0 -1
- package/assets/esri/core/workers/chunks/f905f1a1aa4c123cbe83.js +0 -1
- package/assets/esri/core/workers/chunks/fd4635410b27bcedb752.js +0 -1
- package/assets/esri/core/workers/chunks/fda83bcb8e40e8044c24.js +0 -1
- package/assets/esri/core/workers/chunks/feb4f8c807bb0dca488f.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1737],{40876(e,t,n){n.d(t,{Eq:()=>m,G1:()=>g,Q6:()=>b,TS:()=>l,V6:()=>r,Vm:()=>f,ay:()=>o,c1:()=>p,c4:()=>a,j5:()=>u,lT:()=>d,oW:()=>h,xV:()=>_});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!i[e]||!!i[e.toLowerCase()]}function l(e){return i[e]??i[e.toLowerCase()]}function a(e){return[...l(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;let i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function o(e,t,n,i=1){let r=(e%360+360)%360/360,l=n<=.5?n*(t+1):n+t-n*t,a=2*n-l;return[Math.round(255*s(a,l,r+1/3)),Math.round(255*s(a,l,r)),Math.round(255*s(a,l,r-1/3)),i]}function u(e){let t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,l=t?9===e.length:5===e.length,a=Number("0x"+e.slice(1));if(isNaN(a))return null;let s,o=[0,0,0,1];return l&&(s=a&i,a>>=n,o[3]=r*s/255),s=a&i,a>>=n,o[2]=r*s,s=a&i,a>>=n,o[1]=r*s,s=a&i,a>>=n,o[0]=r*s,o}function h(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{let t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){let t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){let e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){let t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),c(t)}return c(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return o(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function c(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?l(e):null;return t??=d(e),t??=h(e),t}function f(e){let t=m(e);return null==t?null:[t[0]/255,t[1]/255,t[2]/255,t[3]]}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=1/2.2;function b(e){return e**2.2}function _(e){return e**v}n.d(t,["iw",0,v])},7762(e,t,n){var i,r=n(32198),l=n(98291),a=n(4576),s=n(65529),o=n(36563),u=n(4718),h=n(53966),d=n(93687),c=n(76030),m=n(78888),f=n(62788),g=n(10107),p=n(7695),y=n(64108),v=n(95488),b=n(12195);class _{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class M{constructor(e,t,n,i,r){this.target=e,this.added=t,this.removed=n,this.start=i,this.deleteCount=r}}const w=new d.A(()=>new _,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function T(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function x(e){return e?e instanceof N?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function F(e){if(e?.length)return e[0]}function C(e,t,n,i){let r=Math.min(e.length-n,t.length-i),l=0;for(;l<r&&e[n+l]===t[i+l];)l++;return l}function S(e,t,n,i){t&&t.forEach((t,r,l)=>{e.push(t),S(e,n.call(i,t,r,l),n,i)})}const z=new Set,V=new Set,D=new Set,I=new Map;let k=0,N=i=class extends s.nJ{static ofType(e){if(!e)return i;if(I.has(e))return I.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(let n in e.typeMap){let i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let n=class extends i{};return(0,r.Cg)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,m.dp)(e):(0,m.aq)(e)})],n.prototype,"itemType",void 0),n=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],n),I.set(e,n),n}static isCollection(e){return null!=e&&e instanceof i}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new v.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:k++})}normalizeCtorArgs(e){return e?(0,a.yc)(e)||e instanceof i?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?h.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,x(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,o.hA)();if("change"===e){let e=this._chgListeners,n={removed:!1,callback:t};return e.push(n),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,o.hA)(()=>{n.removed=!0,e.splice(e.indexOf(n),1)})}return super.on(e,t)}once(e,t){let n="deref"in t?()=>t.deref():()=>t,i=this.on(e,e=>{n()?.call(null,e),i.remove()});return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;let n=this.getNextIndex(t??null);return this._splice(n,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(1))return this;let n=this.getNextIndex(t);return this._splice(n,0,x(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];let e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(u.o8)})}concat(...e){(0,f.gc)(this._observable);let t=e.map(x);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let n=this._splice(0,this.length),i=n.length;for(let r=0;r<i;r++)e.call(t,n[r],r,n);this._emitAfterChanges(2)}destroyAll(){this.drain(T)}destroyMany(e){let t=this.removeMany(e);return t.forEach(T),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);let n=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:n})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}findLast(e,t){return(0,f.gc)(this._observable),this._items.findLast(e,t)}findLastIndex(e,t){return(0,f.gc)(this._observable),this._items.findLastIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);let n=[];return S(n,this,e,t),new i(n)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);let t=this.length;return e??=t,e<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);let n=this._items.map(e,t);return new i({items:n})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);let n=this.indexOf(e);if(-1!==n){if(t<0?t=0:t>=this.length&&(t=this.length-1),n!==t){if(this._emitBeforeChanges(4))return e;this._splice(n,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let e=F(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);let n=this._items;return 2===arguments.length?n.reduce(e,t):n.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);let n=this._items;return 2===arguments.length?n.reduceRight(e,t):n.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;let t=F(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];let t=e instanceof i?e.toArray():e,n=this._items,r=[],l=t.length;for(let e=0;e<l;e++){let i=t[e],l=n.indexOf(i);if(l>-1){let i=1+C(t,n,e+1,l+1),a=this._splice(l,i);a&&a.length>0&&r.push.apply(r,a),e+=i-1}}return this._emitAfterChanges(2),r}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;let e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let e=F(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;let t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){let t=this.length-1;for(let n=0;n<t;n++)if(e(this.items[n],this.items[n+1])>0)return!0;return!1}splice(e,t,...n){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;let i=(t?2:0)|!!n.length;if(this._emitBeforeChanges(i))return[];let r=this._splice(e,t,n)||[];return this._emitAfterChanges(i),r}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,n){let i,r,l=this._items,a=this.itemType;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,c._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(r=l.splice(e,t),this.hasEventListener("before-remove")){let t=w.acquire();t.target=this,t.cancellable=!0;for(let n=0,a=r.length;n<a;n++)i=r[n],t.reset(i),this.emit("before-remove",t),t.defaultPrevented&&(r.splice(n,1),l.splice(e,0,i),e+=1,--n,--a);w.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){let e=w.acquire();e.target=this,e.cancellable=!1;let t=r.length;for(let n=0;n<t;n++)e.reset(r[n]),this.emit("after-remove",e);w.release(e)}}if(n?.length){if(a){let e=[];for(let t of n){let n=a.ensureType(t);(null!=n||null==t)&&e.push(n)}n=e}let t=this.hasEventListener("before-add"),i=this.hasEventListener("after-add"),r=e===this.length;if(t||i){let a=w.acquire();a.target=this,a.cancellable=!0;let s=w.acquire();s.target=this,s.cancellable=!1;for(let o of n)t?(a.reset(o),this.emit("before-add",a),a.defaultPrevented||(r?l.push(o):l.splice(e++,0,o),this._length=l.length,i&&(s.reset(o),this.emit("after-add",s)))):(r?l.push(o):l.splice(e++,0,o),this._length=l.length,s.reset(o),this.emit("after-add",s));w.release(s),w.release(a)}else{if(r)for(let e of n)l.push(e);else l.splice(e,0,...n);this._length=l.length}}if((n?.length||r?.length)&&this._notifyChangeEvent(n,r),this.hasEventListener("after-splice")){let i=new M(this,n,r,e,t);this.emit("after-splice",i)}return r}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){let n=w.acquire();n.target=this,n.cancellable=!0,n.type=e,this.emit("before-changes",n),t=n.defaultPrevented,w.release(n)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){let t=w.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),w.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&=(this._timer.remove(),null),this._updating=!1,!this._notifications)return;let e=this._notifications;this._notifications=null;for(let t of e){let e=t.changes;z.clear(),V.clear(),D.clear();for(let{added:t,removed:n}of e){if(t)if(0===D.size&&0===V.size)for(let e of t)z.add(e);else for(let e of t)V.has(e)?(D.add(e),V.delete(e)):D.has(e)||z.add(e);if(n)if(0===D.size&&0===z.size)for(let e of n)V.add(e);else for(let e of n)z.has(e)?z.delete(e):(D.delete(e),V.add(e))}let n=l.A.acquire();z.forEach(e=>{n.push(e)});let i=l.A.acquire();V.forEach(e=>{i.push(e)});let r=this._items,a=t.items,s=l.A.acquire();if(D.forEach(e=>{a.indexOf(e)!==r.indexOf(e)&&s.push(e)}),t.listeners&&(n.length||i.length||s.length)){let e={target:this,added:n,removed:i,moved:s},r=t.listeners.length;for(let n=0;n<r;n++){let i=t.listeners[n];i.removed||i.callback.call(this,e)}}l.A.release(n),l.A.release(i),l.A.release(s)}z.clear(),V.clear(),D.clear()}};(0,r.Cg)([(0,g.MZ)()],N.prototype,"_updating",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"_length",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"length",null),(0,r.Cg)([(0,g.MZ)()],N.prototype,"items",null),(0,r.Cg)([(0,g.MZ)({readOnly:!0})],N.prototype,"updating",null),N=i=(0,r.Cg)([(0,y.$)("esri.core.Collection")],N);const L=N;n.d(t,["A",0,L])},7695(e,t,n){function i(e){return(t,n)=>{t[n]=e}}n.d(t,{u:()=>i})},91829(e,t,n){function i(){return[0,0,0,0]}function r(e,t,n,i){return[e,t,n,i]}function l(){return r(1,1,1,1)}function a(){return r(1,0,0,0)}function s(){return r(0,1,0,0)}function o(){return r(0,0,1,0)}function u(){return r(0,0,0,1)}n.d(t,{_Y:()=>u,fA:()=>r,vt:()=>i});const h=[0,0,0,0],d=l(),c=a(),m=s(),f=o(),g=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:g,UNIT_X:c,UNIT_Y:m,UNIT_Z:f,ZEROS:h,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:i,freeze:function(e,t,n,i){return[e,t,n,i]},fromArray:function(e,t=[0,0,0,0]){let n=Math.min(4,e.length);for(let i=0;i<n;++i)t[i]=e[i];return t},fromValues:r,ones:l,unitW:u,unitX:a,unitY:s,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["Un",0,d,"uY",0,h])},78955(e,t,n){n.d(t,{Bw:()=>p,C:()=>r,Cc:()=>_,LI:()=>c,Om:()=>b,S8:()=>v,T9:()=>d,WQ:()=>a,Z0:()=>M,aI:()=>T,hG:()=>g,hZ:()=>l,hs:()=>m,jk:()=>h,m3:()=>y,t2:()=>w});var i=n(34304);function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function l(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function s(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function o(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function h(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e}function d(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function c(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function f(e,t){let n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],l=t[3]-e[3];return Math.sqrt(n*n+i*i+r*r+l*l)}function g(e,t){let n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],l=t[3]-e[3];return n*n+i*i+r*r+l*l}function p(e){let t=e[0],n=e[1],i=e[2],r=e[3];return Math.sqrt(t*t+n*n+i*i+r*r)}function y(e){let t=e[0],n=e[1],i=e[2],r=e[3];return t*t+n*n+i*i+r*r}function v(e,t){let n=t[0],i=t[1],r=t[2],l=t[3],a=n*n+i*i+r*r+l*l;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=i*a,e[2]=r*a,e[3]=l*a),e}function b(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function _(e,t,n,i){let r=t[0],l=t[1],a=t[2],s=t[3];return e[0]=r+i*(n[0]-r),e[1]=l+i*(n[1]-l),e[2]=a+i*(n[2]-a),e[3]=s+i*(n[3]-s),e}function M(e,t,n){let i=t[0],r=t[1],l=t[2],a=t[3];return e[0]=n[0]*i+n[4]*r+n[8]*l+n[12]*a,e[1]=n[1]*i+n[5]*r+n[9]*l+n[13]*a,e[2]=n[2]*i+n[6]*r+n[10]*l+n[14]*a,e[3]=n[3]*i+n[7]*r+n[11]*l+n[15]*a,e}function w(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function T(e,t){let n=e[0],r=e[1],l=e[2],a=e[3],s=t[0],o=t[1],u=t[2],h=t[3],d=(0,i.FD)();return Math.abs(n-s)<=d*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-o)<=d*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(l-u)<=d*Math.max(1,Math.abs(l),Math.abs(u))&&Math.abs(a-h)<=d*Math.max(1,Math.abs(a),Math.abs(h))}const x=s,F=o,C=u,S=f,z=g,V=p,D=y;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:r,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:S,distance:f,div:C,divide:u,dot:b,equals:T,exactEquals:w,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:V,length:p,lerp:_,max:d,min:h,mul:F,multiply:o,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){let n,r,l,a,s,o,u=i.Ov;do{n=2*u()-1,r=2*u()-1,s=n*n+r*r}while(s>=1);do{l=2*u()-1,a=2*u()-1,o=l*l+a*a}while(o>=1);let h=Math.sqrt((1-s)/o);return e[0]=t*n,e[1]=t*r,e[2]=t*l*h,e[3]=t*a*h,e},round:c,scale:m,scaleAndAdd:function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e[3]=t[3]+n[3]*i,e},set:l,sqrDist:z,sqrLen:D,squaredDistance:g,squaredLength:y,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:x,subtract:s,transformMat4:M,transformQuat:function(e,t,n){let i=t[0],r=t[1],l=t[2],a=n[0],s=n[1],o=n[2],u=n[3],h=u*i+s*l-o*r,d=u*r+o*i-a*l,c=u*l+a*r-s*i,m=-a*i-s*r-o*l;return e[0]=h*u+m*-a+d*-o-c*-s,e[1]=d*u+m*-s+c*-a-h*-o,e[2]=c*u+m*-o+h*-s-d*-a,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},90629(e,t,n){n.d(t,{Lz:()=>r,PN:()=>l,cr:()=>a,gs:()=>o,r_:()=>u,tc:()=>s}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function l(e){return e?72*e/96:0}function a(e){if("string"==typeof e){let t=e.match(i);if(t){let n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),a="px"===i?l(n):n;return r?-a:a}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function s(e=0,t=0){return{x:e,y:t}}function o(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},88930(e,t,n){n.d(t,{S1:()=>s,VW:()=>o,lL:()=>u,rb:()=>h,t:()=>d});var i=n(97770),r=(n(98623),n(34747));const l=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,a={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function s(e,t,n,l="system"){if("unknown"===n)return e;let a=new r.oh((0,i.wj)(l)),s=r.c9.fromJSDate(e,{zone:a}),o="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),s.plus({[o]:t}).toJSDate()}function o(e,t,n="milliseconds"){let i=e.getTime(),r=d(t,n,"milliseconds");return new Date(i+r)}function u(e,t,n="system"){let{unit:l}=t,a=Math.max(1,Math.trunc(t.value)),s=new r.oh((0,i.wj)(n)),o=r.c9.fromJSDate(e,{zone:s}),u=e=>e-e%a;switch(l){case"milliseconds":return o.startOf("second").plus({millisecond:u(o.millisecond)}).toJSDate();case"seconds":return o.startOf("minute").plus({second:u(o.second)}).toJSDate();case"minutes":return o.startOf("hour").plus({minute:u(o.minute)}).toJSDate();case"hours":return o.startOf("day").plus({hour:u(o.hour)}).toJSDate();case"days":return o.startOf("month").plus({day:u(o.day-1)}).toJSDate();case"weeks":{let e=o.startOf("year").startOf("week"),t=Math.floor(o.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return o.startOf("year").plus({month:u(o.month-1)}).toJSDate();case"years":case"decades":case"centuries":{let e=o.startOf("year"),t=("decades"===l?10:"centuries"===l?100:1)*a,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function h(e){let t=l.exec(e);if(!t)return null;let{hh:n,mm:i,ss:r,ms:s}=t.groups;return Number(n)*a.hours+Number(i)*a.minutes+Number(r||0)*a.seconds+Number(s||0)}function d(e,t,n){return 0===e?0:e*a[t]/a[n]}},62577(e,t,n){function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null==e.extent?[0,0,0,0]:[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]}:null}function r(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;let{originPosition:t,scale:n,translate:i}=e,r=n[0]??1,l=n[1]??1;return{originPosition:"lowerLeft",scale:[r,"lowerLeft"===t?l:-l,n[2]??1,n[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function l({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function a({scale:e,translate:t},n){return Math.round((n-t[1])/e[1])}function s({scale:e,translate:t},n){return n*e[0]+t[0]}function o({scale:e,translate:t},n){return n*e[1]+t[1]}function u({scale:e,translate:t},n){return(n??0)*e[2]+t[2]}function h({scale:e,translate:t},n){return n?n*e[3]+t[3]:0}function d(e,t){return e&&t?g:e&&!t?m:!e&&t?f:c}n.d(t,{$X:()=>_,B2:()=>a,Gy:()=>y,IE:()=>l,P5:()=>M,Q1:()=>r,SW:()=>v,Tr:()=>b,VV:()=>i});const c=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l];let{scale:a,originPosition:u}=e,h=a[0],d="lowerLeft"===u?a[1]:-a[1];for(let e=1;e<t.length;e++){let[i,a]=t[e];r+=h*i,l+=d*a,n[e]=[r,l]}return n},m=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,u(e,i[2])];let{scale:a,originPosition:h}=e,d=a[0],c="lowerLeft"===h?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o]=t[i];r+=d*a,l+=c*s,n[i]=[r,l,u(e,o)]}return n},f=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,h(e,i[2])];let{scale:a,originPosition:u}=e,d=a[0],c="lowerLeft"===u?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o]=t[i];r+=d*a,l+=c*s,n[i]=[r,l,h(e,o)]}return n},g=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,u(e,i[2]),h(e,i[3])];let{scale:a,originPosition:d}=e,c=a[0],m="lowerLeft"===d?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o,d]=t[i];r+=c*a,l+=m*s,n[i]=[r,l,u(e,o),h(e,d)]}return n};function p(e,t,n){let i=Array(n.length);for(let r=0;r<n.length;r++)i[r]=t(e,n[r]);return i}function y(e,t,n){let i=r(e);return t.x=l(i,n.x),t.y=a(i,n.y),null!=n.z&&(t.z=function({scale:e,translate:t},n){return Math.round(((n??0)-t[2])/e[2])}(i,n.z)),null!=n.m&&(t.m=function({scale:e,translate:t},n){return n?Math.round((n-t[3])/e[3]):0}(i,n.m)),t}function v(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){if(null!=n){let a=r(e);t.points=d(i,l)(a,n.points),t.hasZ=i,t.hasM=l}return t}function b(e,t,n,i=null!=n?.z,l=null!=n?.m){if(null==n)return t;let a=r(e);return t.x=s(a,n.x),t.y=o(a,n.y),i&&(t.z=u(a,n.z)),l&&(t.m=h(a,n.m)),t}function _(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){return null!=n&&(t.rings=p(r(e),d(i,l),n.rings),t.hasZ=i,t.hasM=l),t}function M(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){return null!=n&&(t.paths=p(r(e),d(i,l),n.paths),t.hasZ=i,t.hasM=l),t}},97770(e,t,n){n.d(t,{Ey:()=>D,F8:()=>V,J2:()=>F,Yq:()=>S,_m:()=>C,iS:()=>z,wj:()=>I});var i=n(66552),r=n(73444),l=n(98623),a=n(34747);const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},o={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},h={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},g={...f,second:"numeric"},p={hourCycle:"h23"},y={...f,...p},v={...g,...p},b={"short-date":h,"short-date-short-time":{...h,...f},"short-date-short-time-24":{...h,...y},"short-date-long-time":{...h,...g},"short-date-long-time-24":{...h,...v},"short-date-le":h,"short-date-le-short-time":{...h,...f},"short-date-le-short-time-24":{...h,...y},"short-date-le-long-time":{...h,...g},"short-date-le-long-time-24":{...h,...v},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...f},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...g},"long-month-day-year-long-time-24":{...d,...v},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...f},"day-short-month-year-short-time-24":{...c,...y},"day-short-month-year-long-time":{...c,...g},"day-short-month-year-long-time-24":{...c,...v},"long-date":m,"long-date-short-time":{...m,...f},"long-date-short-time-24":{...m,...y},"long-date-long-time":{...m,...g},"long-date-long-time-24":{...m,...v},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":g},_=(0,i.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function w(){let e=(0,r.lR)();return(e&&M[e])??(0,r.QC)()}"mart"!==new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)).find(({type:e})=>"month"===e)?.value.toLowerCase()&&(M.bs="sr-Latn-CS");let T=new WeakMap;const x=b["short-date-short-time"];function F(e){return b[e]}function C(e){let{dateStyle:t,timeStyle:n,hour12:i,year:r,month:l}=e,a={};return t?a.dateStyle=t:r&&(a.year=r,a.month=l||void 0),n&&!a.year&&(a.timeStyle=n,a.hour12="auto"===i?void 0:"always"===i),a}function S(e,t=x){return function(e){let t=T.get(e);if(!t){let n=w(),i=I(e.timeZone??"system"),r={...e,timeZone:i};t=new Intl.DateTimeFormat(n,r),T.set(e,t)}return t}(t).format(e)}function z(e,t=x){return S(new Date(e),{...t,...u,...o})}function V(e,t=x){return S(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function D(e,t=x){let n=a.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return S(n.toJSDate(),t);let i=0===n.offset?"UTC":t.timeZone,r={...t,timeZone:i};return n.toLocaleString(r,{locale:w()})}function I(e){switch(e){case"system":return l.N;case l.L:return"UTC";default:return e}}(0,r.Ml)(()=>{T=new WeakMap}),n.d(t,["_v",0,_])},73444(e,t,n){n.d(t,{JK:()=>o,Ml:()=>p,QC:()=>d,lR:()=>h,oQ:()=>f});var i=n(36563);let r;n(44208);const l=globalThis.esriConfig?.locale,a=globalThis.document?.documentElement;function s(){let e=a?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function o(){return void 0===r&&(r=s()),r}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=o()){return c(e)?.language}function d(e=o()){let t=c(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function c(e=o()){return u.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,i.hA)(()=>g.splice(g.indexOf(e),1))}function y(){let e=s();r!==e&&([...g].forEach(t=>t(e)),r=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),a&&new MutationObserver(()=>{y()}).observe(a,{attributeFilter:["lang"]})},95466(e,t,n){n.d(t,{A:()=>u});var i=n(49186),r=n(53966),l=n(12195),a=n(30524),s=n(98623),o=n(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],d(e))}static fromLayerJSON(e){return new u(e.fields??[],d(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;let n=[];for(let e of this.fields){let t=e?.name,i=(0,a.GZ)(t);if(t&&i){let r=(0,a.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),!(0,a.te)(e)&&!(0,a.Xz)(e)&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(let e of this.fields)!(0,a.te)(e)&&!(0,a.Xz)(e)&&!e.nullable&&void 0===(0,a.lD)(e)&&this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,a.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){let t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):h.has(t.type)?s.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function d(e){let t=new Map;if(!e.fields)return t;let n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,l=(i?"startField"in i?i.startField:i.startTimeField:"")??"",u=(i?"endField"in i?i.endField:i.endTimeField:"")??"",d=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,o.ZS)(e.dateFieldsTimeReference):null,c=r?function(e){return"timeZone"in e}(r)?r.timeZone??d:r.dateFieldsTimeReference?(0,o.ZS)(r.dateFieldsTimeReference):d??"UTC":null,m=i?function(e){return"timeZone"in e}(i)?i.timeZone??d:i.timeReference?(0,o.ZS)(i.timeReference):d:null,f=new Map([[(0,a.NF)(r?.creationDateField??""),c],[(0,a.NF)(r?.editDateField??""),c],[(0,a.NF)(l),m],[(0,a.NF)(u),m]]);for(let{name:i,type:r}of e.fields)if(h.has(r))t.set(i,s.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,s.L);else{let e=f.get((0,a.NF)(i??""))??d;t.set(i,e)}return t}},61760(e,t,n){n.d(t,{PU:()=>l,YW:()=>s,hv:()=>a,zp:()=>r}),n(34727);var i=n(90629);function r(e){return(0,i.PN)(2.4*e)}function l(e){return(0,i.Lz)(e)/2.4}function a(e,t,n){let i=Math.sqrt(e**2+t**2)/n;return i>1?0:3/(Math.PI*n**2)*(1-i**2)**2}function s(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}n(78955),n(91829)},9760(e,t,n){n.d(t,{A:()=>h});var i=n(32198),r=n(66552),l=n(25482),a=n(91429),s=n(93223);const o=new r.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let h=class extends l.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i.Cg)([(0,s.e)({classBreaksDef:"class-breaks-definition"})],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"breakCount",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"classificationField",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:o.read,write:o.write}})],h.prototype,"classificationMethod",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"normalizationField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],h.prototype,"normalizationType",void 0),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],h.prototype,"standardDeviationInterval",null),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],h.prototype,"definedInterval",null),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.ClassBreaksDefinition")],h)},84892(e,t,n){n.d(t,{t:()=>l});var i=n(53966);function r(e,t){return Number(e.toFixed(t))}function l(e,t){let{normalizationTotal:n}=e;return{classBreaks:a(e,t),normalizationTotal:n}}function a(e,t){let n=e.definition,{classificationMethod:i,normalizationType:l,definedInterval:a}=n,u=n.breakCount??1,h=[],d=e.values;if(0===d.length)return[];d=d.sort((e,t)=>e-t);let[c,m]=t??[d.at(0),d.at(-1)];if("equal-interval"===i)if(d.length>=u){let e=(m-c)/u,t=c;for(let n=1;n<u;n++){let i=r(c+n*e,6);h.push({minValue:t,maxValue:i,label:s(t,i,l)}),t=i}h.push({minValue:t,maxValue:m,label:s(t,m,l)})}else d.forEach(e=>{h.push({minValue:e,maxValue:e,label:s(e,e,l)})});else if("natural-breaks"===i){let t=function(e){let t=[],n=[],i=Number.MIN_VALUE,r=1,l=-1;for(let a=0;a<e.length;a++){let s=e[a];s===i?(r++,n[l]=r):null!==s&&(t.push(s),i=s,r=1,n.push(r),l++)}return{uniqueValues:t,valueFrequency:n}}(d),n=e.valueFrequency||t.valueFrequency,i=o(t.uniqueValues,n,u),a=c;for(let e=1;e<u;e++)if(t.uniqueValues.length>e){let n=r(t.uniqueValues[i[e]],6);h.push({minValue:a,maxValue:n,label:s(a,n,l)}),a=n}h.push({minValue:a,maxValue:m,label:s(a,m,l)})}else if("quantile"===i)if(d.length>=u&&c!==m){let e=c,t=Math.ceil(d.length/u),n=0;for(let i=1;i<u;i++){let r=t+n-1;r>d.length&&(r=d.length-1),r<0&&(r=0),h.push({minValue:e,maxValue:d[r],label:s(e,d[r],l)}),e=d[r],n+=t,t=Math.ceil((d.length-n)/(u-i))}h.push({minValue:e,maxValue:m,label:s(e,m,l)})}else{let e=-1;for(let t=0;t<d.length;t++){let n=d[t];n!==e&&(e=n,h.push({minValue:e,maxValue:n,label:s(e,n,l)}),e=n)}}else if("standard-deviation"===i){let e=function(e){let t=0;for(let n=0;n<e.length;n++)t+=e[n];return t/=e.length,t}(d),t=function(e,t){let n=0;for(let i=0;i<e.length;i++){let r=e[i];n+=(r-t)*(r-t)}return n/=e.length,Math.sqrt(n)}(d,e);if(0===t)h.push({minValue:d[0],maxValue:d[0],label:s(d[0],d[0],l)});else{let n=function(e,t,n,i,r){let l=Math.max(i-e,t-i)/r/n;return l=l>=1?1:l>=.5?.5:.25,l}(c,m,u,e,t)*t,i=0,a=c;for(let t=u;t>=1;t--){let o=r(e-(t-.5)*n,6);h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++}let o=r(e+.5*n,6);h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++;for(let t=1;t<=u;t++)o=i===2*u?m:r(e+(t+.5)*n,6),h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++}}else if("defined-interval"===i){if(!a)return h;let[e,n]=t??[d.at(0),d.at(-1)],i=Math.ceil((n-e)/a),o=e;for(let t=1;t<i;t++){let n=r(e+t*a,6);h.push({minValue:o,maxValue:n,label:s(o,n,l)}),o=n}h.push({minValue:o,maxValue:n,label:s(o,n,l)})}return h}function s(e,t,n){let i=null;return i=e===t?n&&"percent-of-total"===n?e+"%":e.toString():n&&"percent-of-total"===n?e+"% - "+t+"%":e+" - "+t,i}function o(e,t,n){let i=e.length,r=[];n>i&&(n=i);for(let e=0;e<n;e++)r.push(Math.round(e*i/n-1));r.push(i-1);let l=u(r,e,t,n);return function(e,t,n,i,r,l){let a=0,s=0,o=0,u=0,d=!0;for(let c=0;c<2&&d;c++){0===c&&(d=!1);for(let c=0;c<l-1;c++)for(;n[c+1]+1!==n[c+2];){n[c+1]=n[c+1]+1;let l=h(c,n,i,r);o=l.sbMean,a=l.sbSdcm;let m=h(c+1,n,i,r);if(u=m.sbMean,s=m.sbSdcm,!(a+s<t[c]+t[c+1])){n[c+1]=n[c+1]-1;break}t[c]=a,t[c+1]=s,e[c]=o,e[c+1]=u,d=!0}for(let c=l-1;c>0;c--)for(;n[c]!==n[c-1]+1;){n[c]=n[c]-1;let l=h(c-1,n,i,r);o=l.sbMean,a=l.sbSdcm;let m=h(c,n,i,r);if(u=m.sbMean,s=m.sbSdcm,!(a+s<t[c-1]+t[c])){n[c]=n[c]+1;break}t[c-1]=a,t[c]=s,e[c-1]=o,e[c]=u,d=!0}}return d}(l.mean,l.sdcm,r,e,t,n)&&(l=u(r,e,t,n)),r}function u(e,t,n,i){let r=[],l=[],a=[],s=0,o=[],u=[];for(let r=0;r<i;r++){let i=h(r,e,t,n);o.push(i.sbMean),u.push(i.sbSdcm),s+=u[r]}let d,c=s,m=!0;for(;m||s<c;){m=!1,r=[];for(let t=0;t<i;t++)r.push(e[t]);for(let n=0;n<i;n++)for(let r=e[n]+1;r<=e[n+1];r++)if(d=t[r],n>0&&r!==e[n+1]&&Math.abs(d-o[n])>Math.abs(d-o[n-1]))e[n]=r;else if(n<i-1&&e[n]!==r-1&&Math.abs(d-o[n])>Math.abs(d-o[n+1])){e[n+1]=r-1;break}c=s,s=0,l=[],a=[];for(let r=0;r<i;r++){l.push(o[r]),a.push(u[r]);let i=h(r,e,t,n);o[r]=i.sbMean,u[r]=i.sbSdcm,s+=u[r]}}if(s>c){for(let t=0;t<i;t++)e[t]=r[t],o[t]=l[t],u[t]=a[t];s=c}return{mean:o,sdcm:u}}function h(e,t,n,r){let l=0,a=0;for(let i=t[e]+1;i<=t[e+1];i++){let e=r[i];l+=n[i]*e,a+=e}a<=0&&i.A.getLogger("esri.rest.support.generateRendererUtils").warn("Exception in Natural Breaks calculation");let s=l/a,o=0;for(let i=t[e]+1;i<=t[e+1];i++)o+=r[i]*(n[i]-s)**2;return{sbMean:s,sbSdcm:o}}},26412(e,t,n){n.r(t),n.d(t,{classBreaks:()=>b,heatmapStatistics:()=>M,histogram:()=>_,summaryStatistics:()=>y,uniqueValues:()=>v}),n(49186);var i=n(90629),r=n(88930),l=n(86738),a=n(16930),s=n(62577),o=n(21325),u=n(95466),h=n(30524),d=n(61760),c=n(4560),m=n(1873),f=n(43668);let g;async function p(e,t,n=!0){if(!t)return[];let i,{field:l,field2:s,field3:o,fieldDelimiter:d,sqlExpression:p,fieldInfos:y,timeZone:v}=e,b=l&&y?.find(e=>e.name.toLowerCase()===l.toLowerCase()),_=!!b&&(0,h.OH)(b),M=!!b&&(0,c.fs)(b),w=e.valueExpression,T=e.normalizationType,x=e.normalizationField,F=e.normalizationTotal,C=[],S=e.viewInfoParams,z=null;if(w){if(!g){let{arcadeUtils:e}=await(0,f.l)();g=e}g.hasGeometryOperations(w)&&await g.enableGeometryOperations(),z=g.createFunction(w),i=S?g.getViewInfo({viewingMode:S.viewingMode,scale:S.scale,spatialReference:new a.A(S.spatialReference)}):null}let V=e.fieldInfos,D=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!V?null:{fields:V};for await(let e of t){let t,a=e.attributes;if(p){let n=await(0,c.j4)(p,new u.A(V));n&&(t=n.calculateValue(e.attributes))}else if(w){let n=D?Object.assign({},e,{layer:D}):e,r=g.createExecContext(n,i,v);t=g.executeFunction(z,r)}else a&&(t=a[l],s?(t=`${(0,m.gJ)(t)}${d}${(0,m.gJ)(a[s])}`,o&&(t=`${t}${d}${(0,m.gJ)(a[o])}`)):"string"==typeof t&&n&&(M?t=t?new Date(t).getTime():null:_&&(t=t?(0,r.rb)(t):null)));if(T&&"number"==typeof t&&isFinite(t)){let e=a&&parseFloat(a[x]);t=(0,m.zS)(t,T,e,F)}C.push(t)}return C}async function y(e){let{attribute:t,features:n}=e,{normalizationType:i,normalizationField:r,minValue:l,maxValue:a,fieldType:s,outStatisticTypes:o}=t,u=await p({field:t.field,valueExpression:t.valueExpression,normalizationType:i,normalizationField:r,normalizationTotal:t.normalizationTotal,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),h=(0,m.Vb)({normalizationType:i,normalizationField:r,minValue:l,maxValue:a}),d={value:.5,fieldType:s},c="esriFieldTypeString"===s?(0,m.z9)({values:u,supportsNullCount:h,percentileParams:d,outStatisticTypes:o}):(0,m.G_)({values:u,minValue:l,maxValue:a,useSampleStdDev:!i,supportsNullCount:h,percentileParams:d,outStatisticTypes:o});return(0,m.oZ)(c,o,"esriFieldTypeDate"===s)}async function v(e){let{attribute:t,features:n}=e,i=await p({field:t.field,field2:t.field2,field3:t.field3,fieldDelimiter:t.fieldDelimiter,valueExpression:t.valueExpression,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n,!1),r=(0,m.b3)(i);return(0,m.lv)(r,t.domains,t.returnAllCodedValues,t.fieldDelimiter)}async function b(e){let{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s}=t,o=await p({field:i,valueExpression:t.valueExpression,normalizationType:r,normalizationField:l,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),u=(0,m.Rw)(o,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s,standardDeviationInterval:t.standardDeviationInterval,numClasses:t.numClasses,minValue:t.minValue,maxValue:t.maxValue});return(0,m.jM)(u,s)}async function _(e){let{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s}=t,o=await p({field:i,valueExpression:t.valueExpression,sqlExpression:t.sqlExpression,normalizationType:r,normalizationField:l,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n);return(0,m.$y)(o,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s,standardDeviationInterval:t.standardDeviationInterval,numBins:t.numBins,minValue:t.minValue,maxValue:t.maxValue})}async function M(e){let{attribute:t,features:n}=e,{field:r,radius:a,transform:u,spatialReference:h}=t,c=t.size??[0,0],m=function(e,t,n,i){let r=(0,o.d9)(n)?(0,o.Vp)(n):null,a=r?Math.round((r.valid[1]-r.valid[0])/t.scale[0]):null;return e.map(e=>{let n=new l.A(e.geometry);return(0,s.Gy)(t,n,n),e.geometry=r?function(e,t,n){return e.x<0?e.x+=t:e.x>n&&(e.x-=t),e}(n,a??0,i[0]):n,e})}(n??[],u,h,c);return function(e,t=18,n,r,l){let a=new Float64Array(r*l);t=Math.round((0,i.Lz)(t));let s=1/0,o=-1/0,u=(0,d.YW)(n);for(let{geometry:n,attributes:i}of e){let{x:e,y:h}=n,c=Math.max(0,e-t),m=Math.max(0,h-t),f=Math.min(l,h+t),g=Math.min(r,e+t),p=+u(i);for(let n=m;n<f;n++)for(let i=c;i<g;i++){let l=n*r+i,u=(0,d.hv)(i-e,n-h,t)*p,c=a[l]+=u;s=Math.min(s,c),o=Math.max(o,c)}}return{min:s,max:o}}(m,a??void 0,r,c[0],c[1])}},4560(e,t,n){n.d(t,{i0:()=>u,j4:()=>o,fs:()=>s});var i=n(97770),r=n(30524);n(7762),n(84952),n(27865),n(43281),n(98623);var l=n(56400);let a;function s(e){return(0,r.vE)(e)||(0,r.zD)(e)||(0,r.Ah)(e)}async function o(e,t){return e?(a||=new(await Promise.all([n.e(9696),n.e(2867)]).then(()=>n(44123)).then(e=>e.WhereClauseCache))(50,500),a.get(e,t)):null}function u(e,t){let n,r,{format:a,fieldFormat:s,timeZoneOptions:o,fieldType:u}=t??{},h=s?(0,i._m)(s):null;if(o&&({timeZone:n,timeZoneName:r}=(0,l.hv)(o.layerTimeZone,o.datesInUnknownTimezone,o.viewTimeZone,h||(0,i.J2)(a||"short-date-short-time"),u)),"string"==typeof e&&isNaN(Date.parse("time-only"===u?`1970-01-01T${e}Z`:e)))return e;switch(u){case"date-only":{let t=h||(0,i.J2)(a||"short-date");return"string"==typeof e?(0,i.iS)(e,{...t}):(0,i.Yq)(e,{...t,timeZone:"UTC"})}case"time-only":{let t=h||(0,i.J2)(a||"short-time");return"string"==typeof e?(0,i.F8)(e,t):(0,i.Yq)(e,{...t,timeZone:"UTC"})}case"timestamp-offset":{let t=a||h||o?h||(0,i.J2)(a||"short-date-short-time"):void 0,l=t?{...t,timeZone:n,timeZoneName:r}:void 0;return"string"==typeof e?(0,i.Ey)(e,l):(0,i.Yq)(e,l)}default:{let t=a||h||o?h||(0,i.J2)(a||"short-date-short-time"):void 0;return(0,i.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:n,timeZoneName:r}:void 0)}}}new Set(["integer","small-integer"])},1873(e,t,n){n.d(t,{$y:()=>L,Ak:()=>A,FM:()=>f,G_:()=>c,Rw:()=>k,Vb:()=>h,b3:()=>z,gJ:()=>u,jM:()=>N,lv:()=>D,oZ:()=>S,qg:()=>m,sU:()=>Z,z9:()=>d,zS:()=>I});var i=n(9760),r=n(84892);const l=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,a=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),s=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),o=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function h(e){let t=null!=e.normalizationField||null!=e.normalizationType,n=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!n&&!i}function d(e){let{outStatisticTypes:t}=e,n=e.returnDistinct?[...new Set(e.values)]:e.values,i=n.filter(e=>null!=e).sort(),r=i.length,l={count:r,min:i[0],max:i[r-1]};return e.supportsNullCount&&(l.nullcount=n.length-r),e.percentileParams&&(!t?.include?.length||t.include.includes("median"))&&(!t?.exclude?.length||!t.exclude.includes("median"))&&(l.median=m(n,e.percentileParams)),l}function c(e){let{values:t,useSampleStdDev:n,supportsNullCount:i,outStatisticTypes:r}=e,l=1/0,a=-1/0,s=null,o=null,u=null,h=null,d=0,c=null==e.minValue?-1/0:e.minValue,f=null==e.maxValue?1/0:e.maxValue;for(let e of t)Number.isFinite(e)?e>=c&&e<=f&&(s=null===s?e:s+e,l=Math.min(l,e),a=Math.max(a,e),d++):"string"==typeof e&&d++;if(d&&null!=s){o=s/d;let e=0;for(let n of t)Number.isFinite(n)&&n>=c&&n<=f&&(e+=(n-o)**2);h=n?d>1?e/(d-1):0:d>0?e/d:0,u=Math.sqrt(h)}else l=null,a=null;let g={avg:o,count:d,max:a,min:l,stddev:u,sum:s,variance:h};return i&&(g.nullcount=t.length-d),e.percentileParams&&(!r?.include?.length||r.include.includes("median"))&&(!r?.exclude?.length||!r.exclude.includes("median"))&&(g.median=m(t,e.percentileParams)),g}function m(e,t){let{fieldType:n,value:i,orderBy:r,isDiscrete:l}=t,a=f(n,"desc"===r,"case-insensitive");if(e=[...e].filter(e=>null!=e).sort((e,t)=>a(e,t)),0===e.length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];let s=(e.length-1)*i,o=Math.floor(s),u=o+1,h=s%1,d=e[o],c=e[u];return u>=e.length||l||"string"==typeof d||"string"==typeof c?d:d*(1-h)+c*h}function f(e,t,n="case-sensitive"){if(e){if(a.has(e))return F(t);if(s.has(e))return w(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?b:v}(t);let i=w(t,"case-sensitive"===n);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(C(e),C(t))}let i=t?1:-1,r=F(t),l=w(t,"case-sensitive"===n),o=y(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?r(e,t):"string"==typeof e&&"string"==typeof t?l(e,t):o(e,t)??i}const g=(e,t)=>null==e?null==t?0:1:null==t?-1:null,p=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function y(e){return e?g:p}const v=(e,t)=>p(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),b=(e,t)=>g(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),_=(e,t)=>p(e,t)??(e===t?0:e<t?-1:1),M=(e,t)=>g(e,t)??(e===t?0:e<t?1:-1);function w(e,t){if(t)return e?M:_;let n=y(e);return e?(e,t)=>n(e,t)??((e=e.toUpperCase())>(t=t.toUpperCase())?-1:+(e<t)):(e,t)=>n(e,t)??((e=e.toUpperCase())<(t=t.toUpperCase())?-1:+(e>t))}const T=(e,t)=>g(e,t)??t-e,x=(e,t)=>p(e,t)??e-t;function F(e){return e?T:x}function C(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function S(e,t,n){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:o.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return n&&["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e}function z(e){let t={};for(let n of e)(null==n||"string"==typeof n&&""===n.trim())&&(n=null),null==t[n]?t[n]={count:1,data:n}:t[n].count++;return{count:t}}function V(e){return"coded-value"===e?.type?e.codedValues.map(e=>e.code):[]}function D(e,t,n,i){let r=e.count,l=[];if(n&&t){let e=[],n=V(t[0]);for(let r of n)if(t[1]){let n=V(t[1]);for(let l of n)if(t[2]){let n=V(t[2]);for(let t of n)e.push(`${u(r)}${i}${u(l)}${i}${u(t)}`)}else e.push(`${u(r)}${i}${u(l)}`)}else e.push(r);for(let t of e)r.hasOwnProperty(t)||(r[t]={data:t,count:0})}for(let e in r){let t=r[e];l.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:l}}function I(e,t,n,i){let r=null;switch(t){case"log":0!==e&&(r=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(r=e/i*100);break;case"field":Number.isFinite(n)&&0!==n&&(r=e/n);break;case"natural-log":e>0&&(r=Math.log(e));break;case"square-root":e>0&&(r=e**.5)}return r}function k(e,t,n){let l=function(e){let{breakCount:t,field:n,normalizationField:r,normalizationType:l}=e,a=e.classificationMethod||"equal-interval",s="standard-deviation"===a?e.standardDeviationInterval||1:void 0,o="defined-interval"===a?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:n,classificationMethod:a,normalizationField:"field"===l?r:void 0,normalizationType:l,standardDeviationInterval:s,definedInterval:o})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,n){let i=t??-1/0,r=n??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=r)}(e,t.minValue,t.maxValue),(0,r.t)({definition:l,values:e,normalizationTotal:t.normalizationTotal},n)}function N(e,t){let n=e.classBreaks,i=n.length,r=n[0]?.minValue,a=n[i-1]?.maxValue,s="standard-deviation"===t,o=l;return n=n.map(e=>{let t=e.label,n={minValue:e.minValue,maxValue:e.maxValue,label:t};if(s&&t){let e=t.match(o)?.map(e=>+e.trim())??[];2===e.length?(n.minStdDev=e[0],n.maxStdDev=e[1],e[0]<0&&e[1]>0&&(n.hasAvg=!0)):1===e.length&&(t.includes("<")?(n.minStdDev=null,n.maxStdDev=e[0]):t.includes(">")&&(n.minStdDev=e[0],n.maxStdDev=null))}return n}),{minValue:r,maxValue:a,classBreakInfos:n,normalizationTotal:e.normalizationTotal}}function L(e,t){let n=Z(e,t);if(null==n.min&&null==n.max)return{bins:[],minValue:n.min,maxValue:n.max,normalizationTotal:t.normalizationTotal};let i=n.intervals,r=n.min??0,l=n.max??0,a=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(let t of e)if(null!=t&&t>=r&&t<=l){let e=A(i,t);e>-1&&a[e].count++}return{bins:a,minValue:r,maxValue:l,normalizationTotal:t.normalizationTotal}}function Z(e,t,n=!1){let{field:i,classificationMethod:r,standardDeviationInterval:l,definedInterval:a,normalizationType:s,normalizationField:o,normalizationTotal:u,minValue:d,maxValue:m}=t,f=t.numBins||10,g=null,p=null,y=null;if(r&&"equal-interval"!==r||s){let{classBreaks:t}=k(e,{field:i,normalizationType:s,normalizationField:o,normalizationTotal:u,classificationMethod:r,standardDeviationInterval:l,definedInterval:a,minValue:d,maxValue:m,numClasses:f},null!=d&&null!=m?[d,m]:void 0);g=t[0]?.minValue,p=t[t.length-1]?.maxValue,y=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=d&&null!=m)g=d,p=m;else{let t=c({values:e,minValue:d,maxValue:m,useSampleStdDev:!s,supportsNullCount:h({normalizationType:s,normalizationField:o,minValue:d,maxValue:m})});g=t.min??null,p=t.max??null}y=function(e,t,n){let i,r=(t-e)/n,l=[],a=e;for(let e=1;e<=n;e++)i=a+r,i=Number(i.toFixed(16)),l.push([a,e===n?t:i]),a=i;return l}(g??0,p??0,f)}if(n&&y.length){let e=y.at(-1)[1];y.push([e,e])}return{min:g,max:p,intervals:y}}function A(e,t){let n=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){n=i;break}return n}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1737],{40876(e,t,n){n.d(t,{Eq:()=>m,G1:()=>g,Q6:()=>b,TS:()=>l,V6:()=>r,Vm:()=>f,ay:()=>o,c1:()=>p,c4:()=>a,j5:()=>u,lT:()=>d,oW:()=>h,xV:()=>_});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!i[e]||!!i[e.toLowerCase()]}function l(e){return i[e]??i[e.toLowerCase()]}function a(e){return[...l(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;let i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function o(e,t,n,i=1){let r=(e%360+360)%360/360,l=n<=.5?n*(t+1):n+t-n*t,a=2*n-l;return[Math.round(255*s(a,l,r+1/3)),Math.round(255*s(a,l,r)),Math.round(255*s(a,l,r-1/3)),i]}function u(e){let t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,l=t?9===e.length:5===e.length,a=Number("0x"+e.slice(1));if(isNaN(a))return null;let s,o=[0,0,0,1];return l&&(s=a&i,a>>=n,o[3]=r*s/255),s=a&i,a>>=n,o[2]=r*s,s=a&i,a>>=n,o[1]=r*s,s=a&i,a>>=n,o[0]=r*s,o}function h(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{let t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){let t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){let e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){let t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),c(t)}return c(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return o(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function c(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?l(e):null;return t??=d(e),t??=h(e),t}function f(e){let t=m(e);return null==t?null:[t[0]/255,t[1]/255,t[2]/255,t[3]]}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=1/2.2;function b(e){return e**2.2}function _(e){return e**v}n.d(t,["iw",0,v])},7762(e,t,n){var i,r=n(32198),l=n(98291),a=n(4576),s=n(65529),o=n(36563),u=n(4718),h=n(53966),d=n(93687),c=n(76030),m=n(78888),f=n(62788),g=n(10107),p=n(7695),y=n(64108),v=n(95488),b=n(12195);class _{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class M{constructor(e,t,n,i,r){this.target=e,this.added=t,this.removed=n,this.start=i,this.deleteCount=r}}const w=new d.A(()=>new _,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function T(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function x(e){return e?e instanceof N?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function F(e){if(e?.length)return e[0]}function C(e,t,n,i){let r=Math.min(e.length-n,t.length-i),l=0;for(;l<r&&e[n+l]===t[i+l];)l++;return l}function S(e,t,n,i){t&&t.forEach((t,r,l)=>{e.push(t),S(e,n.call(i,t,r,l),n,i)})}const z=new Set,V=new Set,D=new Set,I=new Map;let k=0,N=i=class extends s.nJ{static ofType(e){if(!e)return i;if(I.has(e))return I.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(let n in e.typeMap){let i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let n=class extends i{};return(0,r.Cg)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,m.dp)(e):(0,m.aq)(e)})],n.prototype,"itemType",void 0),n=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],n),I.set(e,n),n}static isCollection(e){return null!=e&&e instanceof i}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new v.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:k++})}normalizeCtorArgs(e){return e?(0,a.yc)(e)||e instanceof i?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?h.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,x(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,o.hA)();if("change"===e){let e=this._chgListeners,n={removed:!1,callback:t};return e.push(n),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,o.hA)(()=>{n.removed=!0,e.splice(e.indexOf(n),1)})}return super.on(e,t)}once(e,t){let n="deref"in t?()=>t.deref():()=>t,i=this.on(e,e=>{n()?.call(null,e),i.remove()});return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;let n=this.getNextIndex(t??null);return this._splice(n,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(1))return this;let n=this.getNextIndex(t);return this._splice(n,0,x(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];let e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(u.o8)})}concat(...e){(0,f.gc)(this._observable);let t=e.map(x);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let n=this._splice(0,this.length),i=n.length;for(let r=0;r<i;r++)e.call(t,n[r],r,n);this._emitAfterChanges(2)}destroyAll(){this.drain(T)}destroyMany(e){let t=this.removeMany(e);return t.forEach(T),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);let n=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:n})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}findLast(e,t){return(0,f.gc)(this._observable),this._items.findLast(e,t)}findLastIndex(e,t){return(0,f.gc)(this._observable),this._items.findLastIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);let n=[];return S(n,this,e,t),new i(n)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);let t=this.length;return e??=t,e<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);let n=this._items.map(e,t);return new i({items:n})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);let n=this.indexOf(e);if(-1!==n){if(t<0?t=0:t>=this.length&&(t=this.length-1),n!==t){if(this._emitBeforeChanges(4))return e;this._splice(n,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let e=F(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);let n=this._items;return 2===arguments.length?n.reduce(e,t):n.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);let n=this._items;return 2===arguments.length?n.reduceRight(e,t):n.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;let t=F(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];let t=e instanceof i?e.toArray():e,n=this._items,r=[],l=t.length;for(let e=0;e<l;e++){let i=t[e],l=n.indexOf(i);if(l>-1){let i=1+C(t,n,e+1,l+1),a=this._splice(l,i);a&&a.length>0&&r.push.apply(r,a),e+=i-1}}return this._emitAfterChanges(2),r}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;let e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;let e=F(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;let t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){let t=this.length-1;for(let n=0;n<t;n++)if(e(this.items[n],this.items[n+1])>0)return!0;return!1}splice(e,t,...n){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;let i=(t?2:0)|!!n.length;if(this._emitBeforeChanges(i))return[];let r=this._splice(e,t,n)||[];return this._emitAfterChanges(i),r}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,n){let i,r,l=this._items,a=this.itemType;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,c._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(r=l.splice(e,t),this.hasEventListener("before-remove")){let t=w.acquire();t.target=this,t.cancellable=!0;for(let n=0,a=r.length;n<a;n++)i=r[n],t.reset(i),this.emit("before-remove",t),t.defaultPrevented&&(r.splice(n,1),l.splice(e,0,i),e+=1,--n,--a);w.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){let e=w.acquire();e.target=this,e.cancellable=!1;let t=r.length;for(let n=0;n<t;n++)e.reset(r[n]),this.emit("after-remove",e);w.release(e)}}if(n?.length){if(a){let e=[];for(let t of n){let n=a.ensureType(t);(null!=n||null==t)&&e.push(n)}n=e}let t=this.hasEventListener("before-add"),i=this.hasEventListener("after-add"),r=e===this.length;if(t||i){let a=w.acquire();a.target=this,a.cancellable=!0;let s=w.acquire();s.target=this,s.cancellable=!1;for(let o of n)t?(a.reset(o),this.emit("before-add",a),a.defaultPrevented||(r?l.push(o):l.splice(e++,0,o),this._length=l.length,i&&(s.reset(o),this.emit("after-add",s)))):(r?l.push(o):l.splice(e++,0,o),this._length=l.length,s.reset(o),this.emit("after-add",s));w.release(s),w.release(a)}else{if(r)for(let e of n)l.push(e);else l.splice(e,0,...n);this._length=l.length}}if((n?.length||r?.length)&&this._notifyChangeEvent(n,r),this.hasEventListener("after-splice")){let i=new M(this,n,r,e,t);this.emit("after-splice",i)}return r}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){let n=w.acquire();n.target=this,n.cancellable=!0,n.type=e,this.emit("before-changes",n),t=n.defaultPrevented,w.release(n)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){let t=w.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),w.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&=(this._timer.remove(),null),this._updating=!1,!this._notifications)return;let e=this._notifications;this._notifications=null;for(let t of e){let e=t.changes;z.clear(),V.clear(),D.clear();for(let{added:t,removed:n}of e){if(t)if(0===D.size&&0===V.size)for(let e of t)z.add(e);else for(let e of t)V.has(e)?(D.add(e),V.delete(e)):D.has(e)||z.add(e);if(n)if(0===D.size&&0===z.size)for(let e of n)V.add(e);else for(let e of n)z.has(e)?z.delete(e):(D.delete(e),V.add(e))}let n=l.A.acquire();z.forEach(e=>{n.push(e)});let i=l.A.acquire();V.forEach(e=>{i.push(e)});let r=this._items,a=t.items,s=l.A.acquire();if(D.forEach(e=>{a.indexOf(e)!==r.indexOf(e)&&s.push(e)}),t.listeners&&(n.length||i.length||s.length)){let e={target:this,added:n,removed:i,moved:s},r=t.listeners.length;for(let n=0;n<r;n++){let i=t.listeners[n];i.removed||i.callback.call(this,e)}}l.A.release(n),l.A.release(i),l.A.release(s)}z.clear(),V.clear(),D.clear()}};(0,r.Cg)([(0,g.MZ)()],N.prototype,"_updating",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"_length",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"length",null),(0,r.Cg)([(0,g.MZ)()],N.prototype,"items",null),(0,r.Cg)([(0,g.MZ)({readOnly:!0})],N.prototype,"updating",null),N=i=(0,r.Cg)([(0,y.$)("esri.core.Collection")],N);const L=N;n.d(t,["A",0,L])},7695(e,t,n){function i(e){return(t,n)=>{t[n]=e}}n.d(t,{u:()=>i})},91829(e,t,n){function i(){return[0,0,0,0]}function r(e,t,n,i){return[e,t,n,i]}function l(){return r(1,1,1,1)}function a(){return r(1,0,0,0)}function s(){return r(0,1,0,0)}function o(){return r(0,0,1,0)}function u(){return r(0,0,0,1)}n.d(t,{_Y:()=>u,fA:()=>r,vt:()=>i});const h=[0,0,0,0],d=l(),c=a(),m=s(),f=o(),g=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:g,UNIT_X:c,UNIT_Y:m,UNIT_Z:f,ZEROS:h,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:i,freeze:function(e,t,n,i){return[e,t,n,i]},fromArray:function(e,t=[0,0,0,0]){let n=Math.min(4,e.length);for(let i=0;i<n;++i)t[i]=e[i];return t},fromValues:r,ones:l,unitW:u,unitX:a,unitY:s,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["Un",0,d,"uY",0,h])},78955(e,t,n){n.d(t,{Bw:()=>p,C:()=>r,Cc:()=>_,LI:()=>c,Om:()=>b,S8:()=>v,T9:()=>d,WQ:()=>a,Z0:()=>M,aI:()=>T,hG:()=>g,hZ:()=>l,hs:()=>m,jk:()=>h,m3:()=>y,t2:()=>w});var i=n(34304);function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function l(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function s(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function o(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function h(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e}function d(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function c(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function f(e,t){let n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],l=t[3]-e[3];return Math.sqrt(n*n+i*i+r*r+l*l)}function g(e,t){let n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],l=t[3]-e[3];return n*n+i*i+r*r+l*l}function p(e){let t=e[0],n=e[1],i=e[2],r=e[3];return Math.sqrt(t*t+n*n+i*i+r*r)}function y(e){let t=e[0],n=e[1],i=e[2],r=e[3];return t*t+n*n+i*i+r*r}function v(e,t){let n=t[0],i=t[1],r=t[2],l=t[3],a=n*n+i*i+r*r+l*l;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=i*a,e[2]=r*a,e[3]=l*a),e}function b(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function _(e,t,n,i){let r=t[0],l=t[1],a=t[2],s=t[3];return e[0]=r+i*(n[0]-r),e[1]=l+i*(n[1]-l),e[2]=a+i*(n[2]-a),e[3]=s+i*(n[3]-s),e}function M(e,t,n){let i=t[0],r=t[1],l=t[2],a=t[3];return e[0]=n[0]*i+n[4]*r+n[8]*l+n[12]*a,e[1]=n[1]*i+n[5]*r+n[9]*l+n[13]*a,e[2]=n[2]*i+n[6]*r+n[10]*l+n[14]*a,e[3]=n[3]*i+n[7]*r+n[11]*l+n[15]*a,e}function w(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function T(e,t){let n=e[0],r=e[1],l=e[2],a=e[3],s=t[0],o=t[1],u=t[2],h=t[3],d=(0,i.FD)();return Math.abs(n-s)<=d*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-o)<=d*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(l-u)<=d*Math.max(1,Math.abs(l),Math.abs(u))&&Math.abs(a-h)<=d*Math.max(1,Math.abs(a),Math.abs(h))}const x=s,F=o,C=u,S=f,z=g,V=p,D=y;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:r,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:S,distance:f,div:C,divide:u,dot:b,equals:T,exactEquals:w,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:V,length:p,lerp:_,max:d,min:h,mul:F,multiply:o,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){let n,r,l,a,s,o,u=i.Ov;do{n=2*u()-1,r=2*u()-1,s=n*n+r*r}while(s>=1);do{l=2*u()-1,a=2*u()-1,o=l*l+a*a}while(o>=1);let h=Math.sqrt((1-s)/o);return e[0]=t*n,e[1]=t*r,e[2]=t*l*h,e[3]=t*a*h,e},round:c,scale:m,scaleAndAdd:function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e[3]=t[3]+n[3]*i,e},set:l,sqrDist:z,sqrLen:D,squaredDistance:g,squaredLength:y,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:x,subtract:s,transformMat4:M,transformQuat:function(e,t,n){let i=t[0],r=t[1],l=t[2],a=n[0],s=n[1],o=n[2],u=n[3],h=u*i+s*l-o*r,d=u*r+o*i-a*l,c=u*l+a*r-s*i,m=-a*i-s*r-o*l;return e[0]=h*u+m*-a+d*-o-c*-s,e[1]=d*u+m*-s+c*-a-h*-o,e[2]=c*u+m*-o+h*-s-d*-a,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},90629(e,t,n){n.d(t,{Lz:()=>r,PN:()=>l,cr:()=>a,gs:()=>o,r_:()=>u,tc:()=>s}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function l(e){return e?72*e/96:0}function a(e){if("string"==typeof e){let t=e.match(i);if(t){let n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),a="px"===i?l(n):n;return r?-a:a}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function s(e=0,t=0){return{x:e,y:t}}function o(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},88930(e,t,n){n.d(t,{S1:()=>s,VW:()=>o,lL:()=>u,rb:()=>h,t:()=>d});var i=n(97770),r=(n(98623),n(34747));const l=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,a={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function s(e,t,n,l="system"){if("unknown"===n)return e;let a=new r.oh((0,i.wj)(l)),s=r.c9.fromJSDate(e,{zone:a}),o="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),s.plus({[o]:t}).toJSDate()}function o(e,t,n="milliseconds"){let i=e.getTime(),r=d(t,n,"milliseconds");return new Date(i+r)}function u(e,t,n="system"){let{unit:l}=t,a=Math.max(1,Math.trunc(t.value)),s=new r.oh((0,i.wj)(n)),o=r.c9.fromJSDate(e,{zone:s}),u=e=>e-e%a;switch(l){case"milliseconds":return o.startOf("second").plus({millisecond:u(o.millisecond)}).toJSDate();case"seconds":return o.startOf("minute").plus({second:u(o.second)}).toJSDate();case"minutes":return o.startOf("hour").plus({minute:u(o.minute)}).toJSDate();case"hours":return o.startOf("day").plus({hour:u(o.hour)}).toJSDate();case"days":return o.startOf("month").plus({day:u(o.day-1)}).toJSDate();case"weeks":{let e=o.startOf("year").startOf("week"),t=Math.floor(o.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return o.startOf("year").plus({month:u(o.month-1)}).toJSDate();case"years":case"decades":case"centuries":{let e=o.startOf("year"),t=("decades"===l?10:"centuries"===l?100:1)*a,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function h(e){let t=l.exec(e);if(!t)return null;let{hh:n,mm:i,ss:r,ms:s}=t.groups;return Number(n)*a.hours+Number(i)*a.minutes+Number(r||0)*a.seconds+Number(s||0)}function d(e,t,n){return 0===e?0:e*a[t]/a[n]}},62577(e,t,n){function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null==e.extent?[0,0,0,0]:[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]}:null}function r(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;let{originPosition:t,scale:n,translate:i}=e,r=n[0]??1,l=n[1]??1;return{originPosition:"lowerLeft",scale:[r,"lowerLeft"===t?l:-l,n[2]??1,n[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function l({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function a({scale:e,translate:t},n){return Math.round((n-t[1])/e[1])}function s({scale:e,translate:t},n){return n*e[0]+t[0]}function o({scale:e,translate:t},n){return n*e[1]+t[1]}function u({scale:e,translate:t},n){return(n??0)*e[2]+t[2]}function h({scale:e,translate:t},n){return n?n*e[3]+t[3]:0}function d(e,t){return e&&t?g:e&&!t?m:!e&&t?f:c}n.d(t,{$X:()=>_,B2:()=>a,Gy:()=>y,IE:()=>l,P5:()=>M,Q1:()=>r,SW:()=>v,Tr:()=>b,VV:()=>i});const c=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l];let{scale:a,originPosition:u}=e,h=a[0],d="lowerLeft"===u?a[1]:-a[1];for(let e=1;e<t.length;e++){let[i,a]=t[e];r+=h*i,l+=d*a,n[e]=[r,l]}return n},m=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,u(e,i[2])];let{scale:a,originPosition:h}=e,d=a[0],c="lowerLeft"===h?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o]=t[i];r+=d*a,l+=c*s,n[i]=[r,l,u(e,o)]}return n},f=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,h(e,i[2])];let{scale:a,originPosition:u}=e,d=a[0],c="lowerLeft"===u?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o]=t[i];r+=d*a,l+=c*s,n[i]=[r,l,h(e,o)]}return n},g=(e,t)=>{let n=Array(t.length);if(!t.length)return n;let i=t[0],r=s(e,i[0]),l=o(e,i[1]);n[0]=[r,l,u(e,i[2]),h(e,i[3])];let{scale:a,originPosition:d}=e,c=a[0],m="lowerLeft"===d?a[1]:-a[1];for(let i=1;i<t.length;i++){let[a,s,o,d]=t[i];r+=c*a,l+=m*s,n[i]=[r,l,u(e,o),h(e,d)]}return n};function p(e,t,n){let i=Array(n.length);for(let r=0;r<n.length;r++)i[r]=t(e,n[r]);return i}function y(e,t,n){let i=r(e);return t.x=l(i,n.x),t.y=a(i,n.y),null!=n.z&&(t.z=function({scale:e,translate:t},n){return Math.round(((n??0)-t[2])/e[2])}(i,n.z)),null!=n.m&&(t.m=function({scale:e,translate:t},n){return n?Math.round((n-t[3])/e[3]):0}(i,n.m)),t}function v(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){if(null!=n){let a=r(e);t.points=d(i,l)(a,n.points),t.hasZ=i,t.hasM=l}return t}function b(e,t,n,i=null!=n?.z,l=null!=n?.m){if(null==n)return t;let a=r(e);return t.x=s(a,n.x),t.y=o(a,n.y),i&&(t.z=u(a,n.z)),l&&(t.m=h(a,n.m)),t}function _(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){return null!=n&&(t.rings=p(r(e),d(i,l),n.rings),t.hasZ=i,t.hasM=l),t}function M(e,t,n,i=n?.hasZ??!1,l=n?.hasM??!1){return null!=n&&(t.paths=p(r(e),d(i,l),n.paths),t.hasZ=i,t.hasM=l),t}},97770(e,t,n){n.d(t,{Ey:()=>D,F8:()=>V,J2:()=>F,Yq:()=>S,_m:()=>C,iS:()=>z,wj:()=>I});var i=n(66552),r=n(73444),l=n(98623),a=n(34747);const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},o={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},h={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},g={...f,second:"numeric"},p={hourCycle:"h23"},y={...f,...p},v={...g,...p},b={"short-date":h,"short-date-short-time":{...h,...f},"short-date-short-time-24":{...h,...y},"short-date-long-time":{...h,...g},"short-date-long-time-24":{...h,...v},"short-date-le":h,"short-date-le-short-time":{...h,...f},"short-date-le-short-time-24":{...h,...y},"short-date-le-long-time":{...h,...g},"short-date-le-long-time-24":{...h,...v},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...f},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...g},"long-month-day-year-long-time-24":{...d,...v},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...f},"day-short-month-year-short-time-24":{...c,...y},"day-short-month-year-long-time":{...c,...g},"day-short-month-year-long-time-24":{...c,...v},"long-date":m,"long-date-short-time":{...m,...f},"long-date-short-time-24":{...m,...y},"long-date-long-time":{...m,...g},"long-date-long-time-24":{...m,...v},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":g},_=(0,i.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function w(){let e=(0,r.lR)();return(e&&M[e])??(0,r.QC)()}"mart"!==new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)).find(({type:e})=>"month"===e)?.value.toLowerCase()&&(M.bs="sr-Latn-CS");let T=new WeakMap;const x=b["short-date-short-time"];function F(e){return b[e]}function C(e){let{dateStyle:t,timeStyle:n,hour12:i,year:r,month:l}=e,a={};return t?a.dateStyle=t:r&&(a.year=r,a.month=l||void 0),n&&!a.year&&(a.timeStyle=n,a.hour12="auto"===i?void 0:"always"===i),a}function S(e,t=x){return function(e){let t=T.get(e);if(!t){let n=w(),i=I(e.timeZone??"system"),r={...e,timeZone:i};t=new Intl.DateTimeFormat(n,r),T.set(e,t)}return t}(t).format(e)}function z(e,t=x){return S(new Date(e),{...t,...u,...o})}function V(e,t=x){return S(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function D(e,t=x){let n=a.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return S(n.toJSDate(),t);let i=0===n.offset?"UTC":t.timeZone,r={...t,timeZone:i};return n.toLocaleString(r,{locale:w()})}function I(e){switch(e){case"system":return l.N;case l.L:return"UTC";default:return e}}(0,r.Ml)(()=>{T=new WeakMap}),n.d(t,["_v",0,_])},73444(e,t,n){n.d(t,{JK:()=>o,Ml:()=>p,QC:()=>d,lR:()=>h,oQ:()=>f});var i=n(36563);let r;n(44208);const l=globalThis.esriConfig?.locale,a=globalThis.document?.documentElement;function s(){let e=a?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function o(){return void 0===r&&(r=s()),r}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=o()){return c(e)?.language}function d(e=o()){let t=c(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function c(e=o()){return u.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,i.hA)(()=>g.splice(g.indexOf(e),1))}function y(){let e=s();r!==e&&([...g].forEach(t=>t(e)),r=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),a&&new MutationObserver(()=>{y()}).observe(a,{attributeFilter:["lang"]})},95466(e,t,n){n.d(t,{A:()=>u});var i=n(49186),r=n(53966),l=n(12195),a=n(30524),s=n(98623),o=n(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],d(e))}static fromLayerJSON(e){return new u(e.fields??[],d(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;let n=[];for(let e of this.fields){let t=e?.name,i=(0,a.GZ)(t);if(t&&i){let r=(0,a.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),!(0,a.te)(e)&&!(0,a.Xz)(e)&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(let e of this.fields)!(0,a.te)(e)&&!(0,a.Xz)(e)&&!e.nullable&&void 0===(0,a.lD)(e)&&this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,a.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){let t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):h.has(t.type)?s.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function d(e){let t=new Map;if(!e.fields)return t;let n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,l=(i?"startField"in i?i.startField:i.startTimeField:"")??"",u=(i?"endField"in i?i.endField:i.endTimeField:"")??"",d=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,o.ZS)(e.dateFieldsTimeReference):null,c=r?function(e){return"timeZone"in e}(r)?r.timeZone??d:r.dateFieldsTimeReference?(0,o.ZS)(r.dateFieldsTimeReference):d??"UTC":null,m=i?function(e){return"timeZone"in e}(i)?i.timeZone??d:i.timeReference?(0,o.ZS)(i.timeReference):d:null,f=new Map([[(0,a.NF)(r?.creationDateField??""),c],[(0,a.NF)(r?.editDateField??""),c],[(0,a.NF)(l),m],[(0,a.NF)(u),m]]);for(let{name:i,type:r}of e.fields)if(h.has(r))t.set(i,s.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,s.L);else{let e=f.get((0,a.NF)(i??""))??d;t.set(i,e)}return t}},61760(e,t,n){n.d(t,{PU:()=>l,YW:()=>s,hv:()=>a,zp:()=>r}),n(34727);var i=n(90629);function r(e){return(0,i.PN)(2.4*e)}function l(e){return(0,i.Lz)(e)/2.4}function a(e,t,n){let i=Math.sqrt(e**2+t**2)/n;return i>1?0:3/(Math.PI*n**2)*(1-i**2)**2}function s(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}n(78955),n(91829)},9760(e,t,n){n.d(t,{A:()=>h});var i=n(32198),r=n(66552),l=n(25482),a=n(91429),s=n(93223);const o=new r.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let h=class extends l.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i.Cg)([(0,s.e)({classBreaksDef:"class-breaks-definition"})],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"breakCount",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"classificationField",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:o.read,write:o.write}})],h.prototype,"classificationMethod",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],h.prototype,"normalizationField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],h.prototype,"normalizationType",void 0),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],h.prototype,"standardDeviationInterval",null),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],h.prototype,"definedInterval",null),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.ClassBreaksDefinition")],h)},84892(e,t,n){n.d(t,{t:()=>l});var i=n(53966);function r(e,t){return Number(e.toFixed(t))}function l(e,t){let{normalizationTotal:n}=e;return{classBreaks:a(e,t),normalizationTotal:n}}function a(e,t){let n=e.definition,{classificationMethod:i,normalizationType:l,definedInterval:a}=n,u=n.breakCount??1,h=[],d=e.values;if(0===d.length)return[];d=d.sort((e,t)=>e-t);let[c,m]=t??[d.at(0),d.at(-1)];if("equal-interval"===i)if(d.length>=u){let e=(m-c)/u,t=c;for(let n=1;n<u;n++){let i=r(c+n*e,6);h.push({minValue:t,maxValue:i,label:s(t,i,l)}),t=i}h.push({minValue:t,maxValue:m,label:s(t,m,l)})}else d.forEach(e=>{h.push({minValue:e,maxValue:e,label:s(e,e,l)})});else if("natural-breaks"===i){let t=function(e){let t=[],n=[],i=Number.MIN_VALUE,r=1,l=-1;for(let a=0;a<e.length;a++){let s=e[a];s===i?(r++,n[l]=r):null!==s&&(t.push(s),i=s,r=1,n.push(r),l++)}return{uniqueValues:t,valueFrequency:n}}(d),n=e.valueFrequency||t.valueFrequency,i=o(t.uniqueValues,n,u),a=c;for(let e=1;e<u;e++)if(t.uniqueValues.length>e){let n=r(t.uniqueValues[i[e]],6);h.push({minValue:a,maxValue:n,label:s(a,n,l)}),a=n}h.push({minValue:a,maxValue:m,label:s(a,m,l)})}else if("quantile"===i)if(d.length>=u&&c!==m){let e=c,t=Math.ceil(d.length/u),n=0;for(let i=1;i<u;i++){let r=t+n-1;r>d.length&&(r=d.length-1),r<0&&(r=0),h.push({minValue:e,maxValue:d[r],label:s(e,d[r],l)}),e=d[r],n+=t,t=Math.ceil((d.length-n)/(u-i))}h.push({minValue:e,maxValue:m,label:s(e,m,l)})}else{let e=-1;for(let t=0;t<d.length;t++){let n=d[t];n!==e&&(e=n,h.push({minValue:e,maxValue:n,label:s(e,n,l)}),e=n)}}else if("standard-deviation"===i){let e=function(e){let t=0;for(let n=0;n<e.length;n++)t+=e[n];return t/=e.length,t}(d),t=function(e,t){let n=0;for(let i=0;i<e.length;i++){let r=e[i];n+=(r-t)*(r-t)}return n/=e.length,Math.sqrt(n)}(d,e);if(0===t)h.push({minValue:d[0],maxValue:d[0],label:s(d[0],d[0],l)});else{let n=function(e,t,n,i,r){let l=Math.max(i-e,t-i)/r/n;return l=l>=1?1:l>=.5?.5:.25,l}(c,m,u,e,t)*t,i=0,a=c;for(let t=u;t>=1;t--){let o=r(e-(t-.5)*n,6);h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++}let o=r(e+.5*n,6);h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++;for(let t=1;t<=u;t++)o=i===2*u?m:r(e+(t+.5)*n,6),h.push({minValue:a,maxValue:o,label:s(a,o,l)}),a=o,i++}}else if("defined-interval"===i){if(!a)return h;let[e,n]=t??[d.at(0),d.at(-1)],i=Math.ceil((n-e)/a),o=e;for(let t=1;t<i;t++){let n=r(e+t*a,6);h.push({minValue:o,maxValue:n,label:s(o,n,l)}),o=n}h.push({minValue:o,maxValue:n,label:s(o,n,l)})}return h}function s(e,t,n){let i=null;return i=e===t?n&&"percent-of-total"===n?e+"%":e.toString():n&&"percent-of-total"===n?e+"% - "+t+"%":e+" - "+t,i}function o(e,t,n){let i=e.length,r=[];n>i&&(n=i);for(let e=0;e<n;e++)r.push(Math.round(e*i/n-1));r.push(i-1);let l=u(r,e,t,n);return function(e,t,n,i,r,l){let a=0,s=0,o=0,u=0,d=!0;for(let c=0;c<2&&d;c++){0===c&&(d=!1);for(let c=0;c<l-1;c++)for(;n[c+1]+1!==n[c+2];){n[c+1]=n[c+1]+1;let l=h(c,n,i,r);o=l.sbMean,a=l.sbSdcm;let m=h(c+1,n,i,r);if(u=m.sbMean,s=m.sbSdcm,!(a+s<t[c]+t[c+1])){n[c+1]=n[c+1]-1;break}t[c]=a,t[c+1]=s,e[c]=o,e[c+1]=u,d=!0}for(let c=l-1;c>0;c--)for(;n[c]!==n[c-1]+1;){n[c]=n[c]-1;let l=h(c-1,n,i,r);o=l.sbMean,a=l.sbSdcm;let m=h(c,n,i,r);if(u=m.sbMean,s=m.sbSdcm,!(a+s<t[c-1]+t[c])){n[c]=n[c]+1;break}t[c-1]=a,t[c]=s,e[c-1]=o,e[c]=u,d=!0}}return d}(l.mean,l.sdcm,r,e,t,n)&&(l=u(r,e,t,n)),r}function u(e,t,n,i){let r=[],l=[],a=[],s=0,o=[],u=[];for(let r=0;r<i;r++){let i=h(r,e,t,n);o.push(i.sbMean),u.push(i.sbSdcm),s+=u[r]}let d,c=s,m=!0;for(;m||s<c;){m=!1,r=[];for(let t=0;t<i;t++)r.push(e[t]);for(let n=0;n<i;n++)for(let r=e[n]+1;r<=e[n+1];r++)if(d=t[r],n>0&&r!==e[n+1]&&Math.abs(d-o[n])>Math.abs(d-o[n-1]))e[n]=r;else if(n<i-1&&e[n]!==r-1&&Math.abs(d-o[n])>Math.abs(d-o[n+1])){e[n+1]=r-1;break}c=s,s=0,l=[],a=[];for(let r=0;r<i;r++){l.push(o[r]),a.push(u[r]);let i=h(r,e,t,n);o[r]=i.sbMean,u[r]=i.sbSdcm,s+=u[r]}}if(s>c){for(let t=0;t<i;t++)e[t]=r[t],o[t]=l[t],u[t]=a[t];s=c}return{mean:o,sdcm:u}}function h(e,t,n,r){let l=0,a=0;for(let i=t[e]+1;i<=t[e+1];i++){let e=r[i];l+=n[i]*e,a+=e}a<=0&&i.A.getLogger("esri.rest.support.generateRendererUtils").warn("Exception in Natural Breaks calculation");let s=l/a,o=0;for(let i=t[e]+1;i<=t[e+1];i++)o+=r[i]*(n[i]-s)**2;return{sbMean:s,sbSdcm:o}}},26412(e,t,n){n.r(t),n.d(t,{classBreaks:()=>b,heatmapStatistics:()=>M,histogram:()=>_,summaryStatistics:()=>y,uniqueValues:()=>v}),n(49186);var i=n(90629),r=n(88930),l=n(86738),a=n(16930),s=n(62577),o=n(21325),u=n(95466),h=n(30524),d=n(61760),c=n(4560),m=n(1873),f=n(43668);let g;async function p(e,t,n=!0){if(!t)return[];let i,{field:l,field2:s,field3:o,fieldDelimiter:d,sqlExpression:p,fieldInfos:y,timeZone:v}=e,b=l&&y?.find(e=>e.name.toLowerCase()===l.toLowerCase()),_=!!b&&(0,h.OH)(b),M=!!b&&(0,c.fs)(b),w=e.valueExpression,T=e.normalizationType,x=e.normalizationField,F=e.normalizationTotal,C=[],S=e.viewInfoParams,z=null;if(w){if(!g){let{arcadeUtils:e}=await(0,f.l)();g=e}g.hasGeometryOperations(w)&&await g.enableGeometryOperations(),z=g.createFunction(w),i=S?g.getViewInfo({viewingMode:S.viewingMode,scale:S.scale,spatialReference:new a.A(S.spatialReference)}):null}let V=e.fieldInfos,D=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!V?null:{fields:V};for await(let e of t){let t,a=e.attributes;if(p){let n=await(0,c.j4)(p,new u.A(V));n&&(t=n.calculateValue(e.attributes))}else if(w){let n=D?Object.assign({},e,{layer:D}):e,r=g.createExecContext(n,i,v);t=g.executeFunction(z,r)}else a&&(t=a[l],s?(t=`${(0,m.gJ)(t)}${d}${(0,m.gJ)(a[s])}`,o&&(t=`${t}${d}${(0,m.gJ)(a[o])}`)):"string"==typeof t&&n&&(M?t=t?new Date(t).getTime():null:_&&(t=t?(0,r.rb)(t):null)));if(T&&"number"==typeof t&&isFinite(t)){let e=a&&parseFloat(a[x]);t=(0,m.zS)(t,T,e,F)}C.push(t)}return C}async function y(e){let{attribute:t,features:n}=e,{normalizationType:i,normalizationField:r,minValue:l,maxValue:a,fieldType:s,outStatisticTypes:o}=t,u=await p({field:t.field,valueExpression:t.valueExpression,normalizationType:i,normalizationField:r,normalizationTotal:t.normalizationTotal,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),h=(0,m.Vb)({normalizationType:i,normalizationField:r,minValue:l,maxValue:a}),d={value:.5,fieldType:s},c="esriFieldTypeString"===s?(0,m.z9)({values:u,supportsNullCount:h,percentileParams:d,outStatisticTypes:o}):(0,m.G_)({values:u,minValue:l,maxValue:a,useSampleStdDev:!i,supportsNullCount:h,percentileParams:d,outStatisticTypes:o});return(0,m.oZ)(c,o,"esriFieldTypeDate"===s)}async function v(e){let{attribute:t,features:n}=e,i=await p({field:t.field,field2:t.field2,field3:t.field3,fieldDelimiter:t.fieldDelimiter,valueExpression:t.valueExpression,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n,!1),r=(0,m.b3)(i);return(0,m.lv)(r,t.domains,t.returnAllCodedValues,t.fieldDelimiter)}async function b(e){let{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s}=t,o=await p({field:i,valueExpression:t.valueExpression,normalizationType:r,normalizationField:l,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),u=(0,m.Rw)(o,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s,standardDeviationInterval:t.standardDeviationInterval,numClasses:t.numClasses,minValue:t.minValue,maxValue:t.maxValue});return(0,m.jM)(u,s)}async function _(e){let{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s}=t,o=await p({field:i,valueExpression:t.valueExpression,sqlExpression:t.sqlExpression,normalizationType:r,normalizationField:l,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n);return(0,m.$y)(o,{field:i,normalizationType:r,normalizationField:l,normalizationTotal:a,classificationMethod:s,standardDeviationInterval:t.standardDeviationInterval,numBins:t.numBins,minValue:t.minValue,maxValue:t.maxValue})}async function M(e){let{attribute:t,features:n}=e,{field:r,radius:a,transform:u,spatialReference:h}=t,c=t.size??[0,0],m=function(e,t,n,i){let r=(0,o.d9)(n)?(0,o.Vp)(n):null,a=r?Math.round((r.valid[1]-r.valid[0])/t.scale[0]):null;return e.map(e=>{let n=new l.A(e.geometry);return(0,s.Gy)(t,n,n),e.geometry=r?function(e,t,n){return e.x<0?e.x+=t:e.x>n&&(e.x-=t),e}(n,a??0,i[0]):n,e})}(n??[],u,h,c);return function(e,t=18,n,r,l){let a=new Float64Array(r*l);t=Math.round((0,i.Lz)(t));let s=1/0,o=-1/0,u=(0,d.YW)(n);for(let{geometry:n,attributes:i}of e){let{x:e,y:h}=n,c=Math.max(0,e-t),m=Math.max(0,h-t),f=Math.min(l,h+t),g=Math.min(r,e+t),p=+u(i);for(let n=m;n<f;n++)for(let i=c;i<g;i++){let l=n*r+i,u=(0,d.hv)(i-e,n-h,t)*p,c=a[l]+=u;s=Math.min(s,c),o=Math.max(o,c)}}return{min:s,max:o}}(m,a??void 0,r,c[0],c[1])}},4560(e,t,n){n.d(t,{i0:()=>u,j4:()=>o,fs:()=>s});var i=n(97770),r=n(30524);n(7762),n(84952),n(27865),n(43281),n(98623);var l=n(56400);let a;function s(e){return(0,r.vE)(e)||(0,r.zD)(e)||(0,r.Ah)(e)}async function o(e,t){return e?(a||=new(await Promise.all([n.e(9696),n.e(4123)]).then(()=>n(44123)).then(e=>e.WhereClauseCache))(50,500),a.get(e,t)):null}function u(e,t){let n,r,{format:a,fieldFormat:s,timeZoneOptions:o,fieldType:u}=t??{},h=s?(0,i._m)(s):null;if(o&&({timeZone:n,timeZoneName:r}=(0,l.hv)(o.layerTimeZone,o.datesInUnknownTimezone,o.viewTimeZone,h||(0,i.J2)(a||"short-date-short-time"),u)),"string"==typeof e&&isNaN(Date.parse("time-only"===u?`1970-01-01T${e}Z`:e)))return e;switch(u){case"date-only":{let t=h||(0,i.J2)(a||"short-date");return"string"==typeof e?(0,i.iS)(e,{...t}):(0,i.Yq)(e,{...t,timeZone:"UTC"})}case"time-only":{let t=h||(0,i.J2)(a||"short-time");return"string"==typeof e?(0,i.F8)(e,t):(0,i.Yq)(e,{...t,timeZone:"UTC"})}case"timestamp-offset":{let t=a||h||o?h||(0,i.J2)(a||"short-date-short-time"):void 0,l=t?{...t,timeZone:n,timeZoneName:r}:void 0;return"string"==typeof e?(0,i.Ey)(e,l):(0,i.Yq)(e,l)}default:{let t=a||h||o?h||(0,i.J2)(a||"short-date-short-time"):void 0;return(0,i.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:n,timeZoneName:r}:void 0)}}}new Set(["integer","small-integer"])},1873(e,t,n){n.d(t,{$y:()=>L,Ak:()=>A,FM:()=>f,G_:()=>c,Rw:()=>k,Vb:()=>h,b3:()=>z,gJ:()=>u,jM:()=>N,lv:()=>D,oZ:()=>S,qg:()=>m,sU:()=>Z,z9:()=>d,zS:()=>I});var i=n(9760),r=n(84892);const l=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,a=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),s=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),o=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function h(e){let t=null!=e.normalizationField||null!=e.normalizationType,n=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!n&&!i}function d(e){let{outStatisticTypes:t}=e,n=e.returnDistinct?[...new Set(e.values)]:e.values,i=n.filter(e=>null!=e).sort(),r=i.length,l={count:r,min:i[0],max:i[r-1]};return e.supportsNullCount&&(l.nullcount=n.length-r),e.percentileParams&&(!t?.include?.length||t.include.includes("median"))&&(!t?.exclude?.length||!t.exclude.includes("median"))&&(l.median=m(n,e.percentileParams)),l}function c(e){let{values:t,useSampleStdDev:n,supportsNullCount:i,outStatisticTypes:r}=e,l=1/0,a=-1/0,s=null,o=null,u=null,h=null,d=0,c=null==e.minValue?-1/0:e.minValue,f=null==e.maxValue?1/0:e.maxValue;for(let e of t)Number.isFinite(e)?e>=c&&e<=f&&(s=null===s?e:s+e,l=Math.min(l,e),a=Math.max(a,e),d++):"string"==typeof e&&d++;if(d&&null!=s){o=s/d;let e=0;for(let n of t)Number.isFinite(n)&&n>=c&&n<=f&&(e+=(n-o)**2);h=n?d>1?e/(d-1):0:d>0?e/d:0,u=Math.sqrt(h)}else l=null,a=null;let g={avg:o,count:d,max:a,min:l,stddev:u,sum:s,variance:h};return i&&(g.nullcount=t.length-d),e.percentileParams&&(!r?.include?.length||r.include.includes("median"))&&(!r?.exclude?.length||!r.exclude.includes("median"))&&(g.median=m(t,e.percentileParams)),g}function m(e,t){let{fieldType:n,value:i,orderBy:r,isDiscrete:l}=t,a=f(n,"desc"===r,"case-insensitive");if(e=[...e].filter(e=>null!=e).sort((e,t)=>a(e,t)),0===e.length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];let s=(e.length-1)*i,o=Math.floor(s),u=o+1,h=s%1,d=e[o],c=e[u];return u>=e.length||l||"string"==typeof d||"string"==typeof c?d:d*(1-h)+c*h}function f(e,t,n="case-sensitive"){if(e){if(a.has(e))return F(t);if(s.has(e))return w(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?b:v}(t);let i=w(t,"case-sensitive"===n);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(C(e),C(t))}let i=t?1:-1,r=F(t),l=w(t,"case-sensitive"===n),o=y(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?r(e,t):"string"==typeof e&&"string"==typeof t?l(e,t):o(e,t)??i}const g=(e,t)=>null==e?null==t?0:1:null==t?-1:null,p=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function y(e){return e?g:p}const v=(e,t)=>p(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),b=(e,t)=>g(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),_=(e,t)=>p(e,t)??(e===t?0:e<t?-1:1),M=(e,t)=>g(e,t)??(e===t?0:e<t?1:-1);function w(e,t){if(t)return e?M:_;let n=y(e);return e?(e,t)=>n(e,t)??((e=e.toUpperCase())>(t=t.toUpperCase())?-1:+(e<t)):(e,t)=>n(e,t)??((e=e.toUpperCase())<(t=t.toUpperCase())?-1:+(e>t))}const T=(e,t)=>g(e,t)??t-e,x=(e,t)=>p(e,t)??e-t;function F(e){return e?T:x}function C(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function S(e,t,n){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:o.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return n&&["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e}function z(e){let t={};for(let n of e)(null==n||"string"==typeof n&&""===n.trim())&&(n=null),null==t[n]?t[n]={count:1,data:n}:t[n].count++;return{count:t}}function V(e){return"coded-value"===e?.type?e.codedValues.map(e=>e.code):[]}function D(e,t,n,i){let r=e.count,l=[];if(n&&t){let e=[],n=V(t[0]);for(let r of n)if(t[1]){let n=V(t[1]);for(let l of n)if(t[2]){let n=V(t[2]);for(let t of n)e.push(`${u(r)}${i}${u(l)}${i}${u(t)}`)}else e.push(`${u(r)}${i}${u(l)}`)}else e.push(r);for(let t of e)r.hasOwnProperty(t)||(r[t]={data:t,count:0})}for(let e in r){let t=r[e];l.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:l}}function I(e,t,n,i){let r=null;switch(t){case"log":0!==e&&(r=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(r=e/i*100);break;case"field":Number.isFinite(n)&&0!==n&&(r=e/n);break;case"natural-log":e>0&&(r=Math.log(e));break;case"square-root":e>0&&(r=e**.5)}return r}function k(e,t,n){let l=function(e){let{breakCount:t,field:n,normalizationField:r,normalizationType:l}=e,a=e.classificationMethod||"equal-interval",s="standard-deviation"===a?e.standardDeviationInterval||1:void 0,o="defined-interval"===a?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:n,classificationMethod:a,normalizationField:"field"===l?r:void 0,normalizationType:l,standardDeviationInterval:s,definedInterval:o})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,n){let i=t??-1/0,r=n??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=r)}(e,t.minValue,t.maxValue),(0,r.t)({definition:l,values:e,normalizationTotal:t.normalizationTotal},n)}function N(e,t){let n=e.classBreaks,i=n.length,r=n[0]?.minValue,a=n[i-1]?.maxValue,s="standard-deviation"===t,o=l;return n=n.map(e=>{let t=e.label,n={minValue:e.minValue,maxValue:e.maxValue,label:t};if(s&&t){let e=t.match(o)?.map(e=>+e.trim())??[];2===e.length?(n.minStdDev=e[0],n.maxStdDev=e[1],e[0]<0&&e[1]>0&&(n.hasAvg=!0)):1===e.length&&(t.includes("<")?(n.minStdDev=null,n.maxStdDev=e[0]):t.includes(">")&&(n.minStdDev=e[0],n.maxStdDev=null))}return n}),{minValue:r,maxValue:a,classBreakInfos:n,normalizationTotal:e.normalizationTotal}}function L(e,t){let n=Z(e,t);if(null==n.min&&null==n.max)return{bins:[],minValue:n.min,maxValue:n.max,normalizationTotal:t.normalizationTotal};let i=n.intervals,r=n.min??0,l=n.max??0,a=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(let t of e)if(null!=t&&t>=r&&t<=l){let e=A(i,t);e>-1&&a[e].count++}return{bins:a,minValue:r,maxValue:l,normalizationTotal:t.normalizationTotal}}function Z(e,t,n=!1){let{field:i,classificationMethod:r,standardDeviationInterval:l,definedInterval:a,normalizationType:s,normalizationField:o,normalizationTotal:u,minValue:d,maxValue:m}=t,f=t.numBins||10,g=null,p=null,y=null;if(r&&"equal-interval"!==r||s){let{classBreaks:t}=k(e,{field:i,normalizationType:s,normalizationField:o,normalizationTotal:u,classificationMethod:r,standardDeviationInterval:l,definedInterval:a,minValue:d,maxValue:m,numClasses:f},null!=d&&null!=m?[d,m]:void 0);g=t[0]?.minValue,p=t[t.length-1]?.maxValue,y=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=d&&null!=m)g=d,p=m;else{let t=c({values:e,minValue:d,maxValue:m,useSampleStdDev:!s,supportsNullCount:h({normalizationType:s,normalizationField:o,minValue:d,maxValue:m})});g=t.min??null,p=t.max??null}y=function(e,t,n){let i,r=(t-e)/n,l=[],a=e;for(let e=1;e<=n;e++)i=a+r,i=Number(i.toFixed(16)),l.push([a,e===n?t:i]),a=i;return l}(g??0,p??0,f)}if(n&&y.length){let e=y.at(-1)[1];y.push([e,e])}return{min:g,max:p,intervals:y}}function A(e,t){let n=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){n=i;break}return n}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1333],{69540(e,t,i){var n=i(32198),r=i(69622),s=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;let i=e,r=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){let t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");let i=t.metadata,n=t.store,r={},l=new Map;for(let t in i){let o=i[t],a=n?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;let h=this[t],d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,s.TU)(h,e),null!=h&&null==d)continue;0===a?l.set(t,d):r[t]=d}let u=new(0,Object.getPrototypeOf(this).constructor)(r);if(l.size){let e=(0,a.oY)(u)?.store;if(e)for(let[t,i]of l)e.set(t,i,0)}return u}};return r=(0,n.Cg)([(0,l.$)("esri.core.Clonable")],r),r},d=h(r.A);i.d(t,["OU",0,h,"Pw",0,d])},66344(e,t,i){i.d(t,{q:()=>a});const n=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){return this._db.get(e.id+t)?.size??0}put(e,t,i,r,o){t=e.id+t;let a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return n||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);let l=1+Math.max(o,-4)- -3;this._db.set(t,new s(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;let i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let n=i.entry.usedMemory;for(;n>this._maxSize;){let e=this._notifyRemove(t,i.entry,n,1);if(!(null!=e&&e>0))return void this._db.delete(t);n=e}i.size=n,this._size+=n,e.size+=n,this._checkSize()}pop(e,t){t=e.id+t;let i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;let i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){let i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){let e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=[];this._db.forEach((e,n)=>{let r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{let{id:r,name:s}=i;if(n.startsWith(r)){let i=t[s]||0;t[s]=i+e.size}})});let n={};this._clients.forEach(e=>{let i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){let r=t[i]||0;t[i]=r,n[i]=Math.round(100*e.hitRate)+"%"}else n[i]="0%"});let r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+n[i]);for(let t=i.length-1;t>=0;--t){let n=i[t];n&&(e["Priority "+(t+-3-1)]=Math.round(n/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){let t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(let[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,n){let r=this._clients.get(e.split(o)[0])?.removeFunc,s=r?.(t,n,i);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){let i=t??this;if(i.size<=e)return;let n=t?.id,r=!0;for(;r;){r=!1;for(let[s,a]of this._db)if(0===a.lifetime&&(!n||s.startsWith(n))){let n=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,n),i.size<=.9*e)return;r||=this._db.has(s)}}for(let[r,s]of this._db)if(!n||r.startsWith(n)){let n=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,n),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);let n=this._notifyRemove(e,t.entry,t.size,1);null!=n&&n>0&&(this._size+=n,i&&(i.size+=n),t.lives=t.lifetime,t.size=n,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class s{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},60999(e,t,i){i.d(t,{DZ:()=>m,Ke:()=>f,QA:()=>p,Tj:()=>h,UT:()=>y,aD:()=>_,jJ:()=>u});var n=i(32198),r=i(69622),s=i(97768),o=i(17676),a=i(10107),l=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,n)=>t.apply(i,[e,n])))}async function h(e,t,i){return(await(0,o.Lx)(e.map((e,n)=>t.apply(i,[e,n])))).map(e=>e.value)}function d(e){return{ok:!0,value:e}}function c(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:Error("no promise provided")};try{return d(await e)}catch(e){return c(e)}}async function m(e){try{return d(await e)}catch(e){return(0,o.QP)(e),c(e)}}function p(e){if(!0===e.ok)return e.value;throw e.error}function y(e,t){return new g(e,t)}let g=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=d(e),this._cleanup()},e=>{this._result=c(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,a.MZ)()],g.prototype,"value",null),(0,n.Cg)([(0,a.MZ)()],g.prototype,"error",null),(0,n.Cg)([(0,a.MZ)()],g.prototype,"finished",null),(0,n.Cg)([(0,a.MZ)()],g.prototype,"promise",void 0),(0,n.Cg)([(0,a.MZ)()],g.prototype,"_result",void 0),g=(0,n.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],g);class _{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});let t=await e;return{[Symbol.dispose]:t}}async run(e){let t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},67482(e,t,i){function n(e){return null!==r(e)}function r(e){return function(e){let t=s.exec(e);if(!t?.groups)return null;let i=t.groups,n=+i.year,r=i.month-1,o=+i.day,a=+(i.hours??"0"),l=+(i.minutes??"0"),u=+(i.seconds??"0");if(a>23||l>59||u>59)return null;let h,d=i.ms??"0",c=d?+d.padEnd(3,"0").slice(0,3):0;if(i.isUTC||!i.offsetSign)h=Date.UTC(n,r,o,a,l,u,c);else{let e=+i.offsetHours,t=+i.offsetMinutes;h=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(n,r,o,a,l,u,c)}return Number.isNaN(h)?null:h}(e)??function(e){let t=new Date(e),i=t.getTime();return Number.isNaN(i)?null:e.toLowerCase()===t.toUTCString().toLowerCase()?i:null}(e)??function(e){if(!o.test(e))return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset()}(e)}i.d(t,{C:()=>n,_:()=>r});const s=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,o=/^((\d{1,2}[/-]\d{1,2}[/-]\d{4})|(\d{4}[/-]\d{1,2}[/-]\d{1,2}))( \d{1,2}:\d{1,2}:\d{1,2}( ((AM)|(PM)))?)?$/i},9093(e,t,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}i.d(t,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(e,t,i,n,r,s,o,a,l,u,h,d,c,f,m,p){return[e,t,i,n,r,s,o,a,l,u,h,d,c,f,m,p]}},Symbol.toStringTag,{value:"Module"})),i.d(t,["zK",0,s])},35522(e,t,i){i.d(t,{$A:()=>F,Bw:()=>s,C:()=>o,Cc:()=>I,DI:()=>v,Io:()=>_,Ln:()=>g,Om:()=>w,Qr:()=>d,Re:()=>u,S8:()=>S,T9:()=>p,WQ:()=>l,Z0:()=>T,_S:()=>f,aI:()=>E,ei:()=>A,fw:()=>C,gL:()=>z,hG:()=>x,hZ:()=>a,hs:()=>y,jk:()=>m,lw:()=>h,m3:()=>M,oW:()=>R,t2:()=>O,tn:()=>c,ze:()=>b});var n=i(51850),r=i(34304);function s(e){let t=e[0],i=e[1],n=e[2];return Math.sqrt(t*t+i*i+n*n)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,i,n){return e[0]=t,e[1]=i,e[2]=n,e}function l(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e}function u(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e}function h(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e}function d(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[2],e}function c(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e}function p(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e}function y(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function g(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e[2]=t[2]+i[2]*n,e}function _(e,t){let i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(i*i+n*n+r*r)}function x(e,t){let i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return i*i+n*n+r*r}function M(e){let t=e[0],i=e[1],n=e[2];return t*t+i*i+n*n}function b(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function v(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function S(e,t=e){let i=t[0],n=t[1],r=t[2],s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function w(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function F(e,t,i){let n=t[0],r=t[1],s=t[2],o=i[0],a=i[1],l=i[2];return e[0]=r*l-s*a,e[1]=s*o-n*l,e[2]=n*a-r*o,e}function I(e,t,i,n){let r=t[0],s=t[1],o=t[2];return e[0]=r+n*(i[0]-r),e[1]=s+n*(i[1]-s),e[2]=o+n*(i[2]-o),e}function T(e,t,i){let n=t[0],r=t[1],s=t[2];return e[0]=i[0]*n+i[4]*r+i[8]*s+i[12],e[1]=i[1]*n+i[5]*r+i[9]*s+i[13],e[2]=i[2]*n+i[6]*r+i[10]*s+i[14],e}function A(e,t,i){let n=t[0],r=t[1],s=t[2];return e[0]=n*i[0]+r*i[3]+s*i[6],e[1]=n*i[1]+r*i[4]+s*i[7],e[2]=n*i[2]+r*i[5]+s*i[8],e}function z(e,t,i){return C(e,t,i[0],i[1],i[2],i[3])}function C(e,t,i,n,r,s){let o=t[0],a=t[1],l=t[2],u=n*l-r*a,h=r*o-i*l,d=i*a-n*o,c=n*d-r*h,f=r*u-i*d,m=i*h-n*u,p=2*s;return e[0]=o+u*p+2*c,e[1]=a+h*p+2*f,e[2]=l+d*p+2*m,e}const N=(0,n.vt)(),B=(0,n.vt)();function O(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function E(e,t){if(e===t)return!0;let i=e[0],n=e[1],s=e[2],o=t[0],a=t[1],l=t[2],u=(0,r.FD)();return Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function R(e,t,i){let n=i[0]-t[0],r=i[1]-t[1],s=i[2]-t[2],o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=n*o,e[1]=r*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const D=u,L=h,P=d,Z=_,k=x,q=s,Y=M;Object.freeze(Object.defineProperty({__proto__:null,abs:c,add:l,angle:function(e,t){S(N,e),S(B,t);let i=w(N,B);return i>1?0:i<-1?Math.PI:Math.acos(i)},bezier:function(e,t,i,n,r,s){let o=1-s,a=o*o,l=s*s,u=a*o,h=3*s*a,d=3*l*o,c=l*s;return e[0]=t[0]*u+i[0]*h+n[0]*d+r[0]*c,e[1]=t[1]*u+i[1]*h+n[1]*d+r[1]*c,e[2]=t[2]*u+i[2]*h+n[2]*d+r[2]*c,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,i=1){return e[0]=Math.min(Math.max(e[0],t),i),e[1]=Math.min(Math.max(e[1],t),i),e[2]=Math.min(Math.max(e[2],t),i),e},copy:o,cross:F,crossAndNormalize:function(e,t,i){let n=t[0],r=t[1],s=t[2],o=i[0],a=i[1],l=i[2],u=r*l-s*a,h=s*o-n*l,d=n*a-r*o,c=Math.sqrt(u*u+h*h+d*d);return e[0]=u/c,e[1]=h/c,e[2]=d/c,e},direction:R,dist:Z,distance:_,div:P,divide:d,dot:w,equals:E,exactEquals:O,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,i,n,r,s){let o=s*s,a=o*(2*s-3)+1,l=o*(s-2)+s,u=o*(s-1),h=o*(3-2*s);return e[0]=t[0]*a+i[0]*l+n[0]*u+r[0]*h,e[1]=t[1]*a+i[1]*l+n[1]*u+r[1]*h,e[2]=t[2]*a+i[2]*l+n[2]*u+r[2]*h,e},inverse:v,len:q,length:s,lerp:I,max:p,min:m,mul:L,multiply:h,negate:b,normalize:S,random:function(e,t=1){let i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(n)*o,e[1]=Math.sin(n)*o,e[2]=s*t,e},rotateX:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateY:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateZ:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:y,scaleAndAdd:g,scaleTo:function(e,t){return y(e,e,t/q(e))},set:a,sign:f,sqrDist:k,sqrLen:Y,squaredDistance:x,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:D,subtract:u,transformMat3:A,transformMat4:T,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:z,transformQuatValues:C},Symbol.toStringTag,{value:"Module"})),i.d(t,["Il",0,q,"jb",0,D,"lo",0,k,"uE",0,Y])},75503(e,t,i){i.d(t,{wq:()=>a});var n=i(4576),r=i(21818),s=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),v.prune(),S.prune(),w.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data,n=this._toBBox;if(x(e,i))for(b.clear();i;){for(let r=0,s=i.children.length;r<s;r++){let s=i.children[r],o=i.leaf?n(s):s;x(e,o)&&(i.leaf?t(s):_(e,o)?l(s,t):b.push(s))}i=b.pop()}}collides(e){let t=this._data,i=this._toBBox;if(!x(e,t))return!1;for(b.clear();t;){for(let n=0,r=t.children.length;n<r;n++){let r=t.children[n],s=t.leaf?i(r):r;if(x(e,s)){if(t.leaf||_(e,s))return!0;b.push(r)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){let e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new T([]),this}remove(e){if(!e)return this;let t,i=this._data,s=null,o=0,a=!1,l=this._toBBox(e);for(S.clear(),w.clear();i||S.length>0;){if(i||(i=S.pop(),s=S.data[S.length-1],o=w.pop()??0,a=!0),i.leaf&&(t=(0,n.qh)(i.children,(0,r.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),S.push(i),this._condense(S),this;a||i.leaf||!_(i,l)?s?(o++,i=s.children[o],a=!1):i=null:(S.push(i),w.push(o),o=0,s=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,n){let r=i-t+1,s=this._maxEntries;if(r<=s){let n=new T(e.slice(t,i+1));return u(n,this._toBBox),n}n||(n=Math.ceil(Math.log(r)/Math.log(s)),s=Math.ceil(r/s**(n-1)));let o=new A([]);o.height=n;let a=Math.ceil(r/s),l=a*Math.ceil(Math.sqrt(s));M(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){let t=Math.min(r+l-1,i);M(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){let r=Math.min(i+a-1,t);o.children.push(this._build(e,i,r,n-1))}}return u(o,this._toBBox),o}_insert(e,t,i){let n=this._toBBox,r=i?e:n(e);S.clear();let s=function(e,t,i,n){for(;n.push(t),!0!==t.leaf&&n.length-1!==i;){let i,n=1/0,r=1/0;for(let s=0,o=t.children.length;s<o;s++){let o=t.children[s],a=m(o),l=y(e,o)-a;l<r?(r=l,n=a<n?a:n,i=o):l===r&&a<n&&(n=a,i=o)}t=i||t.children[0]}return t}(r,this._data,t,S);for(s.children.push(e),d(s,r);t>=0&&S.data[t].children.length>this._maxEntries;)this._split(S,t),t--;!function(e,t,i){for(let n=i;n>=0;n--)d(t.data[n],e)}(r,S,t)}_split(e,t){let i=e.data[t],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);let s=this._chooseSplitIndex(i,r,n);if(!s)return;let o=i.children.splice(s,i.children.length-s),a=i.leaf?new T(o):new A(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new A([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let n,r,s;n=r=1/0;for(let o=t;o<=i-t;o++){let t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=m(t)+m(a);l<n?(n=l,s=o,r=u<r?u:r):l===n&&u<r&&(r=u,s=o)}return s}_chooseSplitAxis(e,t,i){let n=e.leaf?this._compareMinX:c,r=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,n)<this._allDistMargin(e,t,i,r)&&e.children.sort(n)}_allDistMargin(e,t,i,n){e.children.sort(n);let r=this._toBBox,s=h(e,0,t,r),o=h(e,i-t,i,r),a=p(s)+p(o);for(let n=t;n<i-t;n++){let t=e.children[n];d(s,e.leaf?r(t):t),a+=p(s)}for(let n=i-t-1;n>=t;n--){let t=e.children[n];d(o,e.leaf?r(t):t),a+=p(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){let i=e.data[t];if(0===i.children.length)if(t>0){let r=e.data[t-1],s=r.children;s.splice((0,n.qh)(s,i,s.length,r.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){let t=["return a"," - b",";"];this._compareMinX=Function("a","b",t.join(e[0])),this._compareMinY=Function("a","b",t.join(e[1])),this._toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(v.clear();i;){if(!0===i.leaf)for(let e of i.children)t((0,r.z)(e));else v.pushArray(i.children);i=v.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,n,r){r||=new T([]),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let s,o=t;o<i;o++)s=e.children[o],d(r,e.leaf?n(s):s);return r}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){let i=Math.max(e.minX,t.minX),n=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),s=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,s-n)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function x(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function M(e,t,i,n,r){let s=[t,i];for(;s.length;){let t=s.pop(),i=s.pop();if(t-i<=n)continue;let a=i+Math.ceil((t-i)/n/2)*n;(0,o.q)(e,a,i,t,r),s.push(i,a,a,t)}}const b=new s.A,v=new s.A,S=new s.A,w=new s.A({deallocator:void 0});class F{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class I extends F{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class T extends I{constructor(e){super(),this.children=e,this.leaf=!0}}class A extends I{constructor(e){super(),this.children=e,this.leaf=!1}}},69397(e,t,i){i.d(t,{Qf:()=>a,Qh:()=>s,lM:()=>r});var n=i(34275);function r(e){if(!e)return 0;let t=u;for(let i in e)e.hasOwnProperty(i)&&(t+=o(e[i],!1));return t}function s(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){let t=e.length;if(0===t||"number"==typeof e[0])return l(e,8);let i=h;for(let n=0;n<t;n++)i+=o(e[n]);return i}(e);let t=u;for(let i in e)e.hasOwnProperty(i)&&(t+=o(e[i]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?s(e):u;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+(t?(0,n.iu)(t)?t.byteLength+d:Array.isArray(t)?l(t,16):0:0),0)}function l(e,t){return h+e.length*t}const u=32,h=16,d=145},14607(e,t,i){i.d(t,{B:()=>u,GP:()=>a,qg:()=>h});var n=i(799),r=i(73444);const s={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,r.JK)()){let t=(e=e.toLowerCase())in s;if(!t){let i=e.split("-");i.length>1&&i[0]in s&&(e=i[0],t=!0),t||(e="en")}let[i,n,o="#,##0.###"]=s[e];return{decimal:i,group:n,pattern:o}}function a(e,t){let i=o((t={...t}).locale);t.customs=i;let n=t.pattern||i.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,i){i||={};let n=i.customs.group,r=i.customs.decimal,s=t.split(";"),o=s[0];if((t=s[+(e<0)]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw Error("currency notation not supported");if(t.includes("E"))throw Error("exponential notation not supported")}let a=l,u=o.match(a);if(!u)throw Error("unable to find a number expression in pattern: "+t);return!1===i.fractional&&(i.places=0),t.replace(a,function(e,t,i){i||={},!0===i.places&&(i.places=0),i.places===1/0&&(i.places=6);let n=t.split("."),r="string"==typeof i.places&&i.places.indexOf(","),s=i.places;r?s=i.places.slice(r+1):+s>=0||(s=(n[1]||[]).length),i.round<0||(e=Number(e.toFixed(Number(s))));let o=String(Math.abs(e)).split("."),a=o[1]||"";if(n[1]||i.places){r&&(i.places=i.places.slice(0,Math.max(0,r)));let e=void 0===i.places?n[1]&&n[1].lastIndexOf("0")+1:i.places;+e>a.length&&(o[1]=a.padEnd(Number(e),"0")),+s<a.length&&(o[1]=a.slice(0,Math.max(0,Number(s))))}else o[1]&&o.pop();let l=n[0].replace(",",""),u=l.indexOf("0");-1!==u&&(u=l.length-u,u>o[0].length&&(o[0]=o[0].padStart(u,"0")),l.includes("#")||(o[0]=o[0].slice(-u)));let h,d,c=n[0].lastIndexOf(",");if(-1!==c){h=n[0].length-c-1;let e=n[0].slice(0,c);c=e.lastIndexOf(","),-1!==c&&(d=e.length-c-1)}let f=[];for(let e=o[0];e;){let t=e.length-h;f.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",d&&=void(h=d)}return o[0]=f.reverse().join(i.group||","),o.join(i.decimal||".")}(e,u[0],{decimal:r,group:n,places:i.places,round:i.round}))}(e,n,t)}const l=/[#0,]*[#0](?:\.0*#*)?/;function u(e){e||={};let t=o(e.locale),i=e.pattern||t.pattern,r=t.group,s=t.decimal,a=1;if(i.includes("%"))a/=100;else if(i.includes("‰"))a/=1e3;else if(i.includes("¤"))throw Error("currency notation not supported");let u=i.split(";");return 1===u.length&&u.push("-"+u[0]),{regexp:c(u,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(l,t=>{let i={signed:!1,separator:e.strict?r:[r,""],fractional:e.fractional,decimal:s,exponent:!1},n=t.split("."),o=e.places;1===n.length&&1!==a&&(n[1]="###"),1===n.length||0===o?i.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(i.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),i.places=o);let l=n[0].split(",");return l.length>1&&(i.groupSize=l.pop().length,l.length>1&&(i.groupSize2=l.pop().length)),"("+function(e){e||={},"places"in e||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),(!("fractional"in e)||String(e.places).startsWith("0"))&&(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);let t=d(e),i=c(e.fractional,t=>{let i="";return t&&0!==e.places&&(i="\\"+e.decimal,e.places===1/0?i="(?:"+i+"\\d+)?":i+="\\d{"+e.places+"}"),i},!0),n=c(e.exponent,t=>t?"([eE]"+d({signed:e.eSigned})+")":""),r=t+i;return i&&(r="(?:(?:"+r+")|(?:"+i+"))"),r+n}(i)+")"}),!0).replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:r,decimal:s,factor:a}}function h(e,t){let i=u(t),n=RegExp("^"+i.regexp+"$").exec(e);if(!n)return NaN;let r=n[1];if(!n[1]){if(!n[2])return NaN;r=n[2],i.factor*=-1}return r=r.replaceAll(RegExp("["+i.group+"\\s\\xa0]","g"),"").replace(i.decimal,"."),Number(r)*i.factor}function d(e){return e||={},"signed"in e||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",c(e.signed,e=>e?"[-+]":"",!0)+c(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");let i=e.groupSize,r=e.groupSize2;if(r){let e="(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*["+t+"]\\d{"+i+"})";return i-r>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(i-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*)"},!0)}const c=(e,t,i)=>{if(!Array.isArray(e))return t(e);let n=[];for(let i=0;i<e.length;i++)n.push(t(e[i]));return f(n.join("|"),!!i)},f=(e,t)=>"("+(t?"?:":"")+e+")"},36708(e,t,i){i.d(t,{C_:()=>c,on:()=>d,wB:()=>l,z7:()=>u});var n=i(37955),r=i(36563),s=i(97768),o=i(17676),a=i(14012);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,m)}function h(e,t,i={},n){let r=null,o=i.once?(e,i)=>{n(e)&&((0,s.xt)(r),t(e,i))}:(e,i)=>{n(e)&&t(e,i)};if(r=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){let t=e();o(t,t)}return r}function d(e,t,i,o={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,s.xt)(h),i(e)}let f=l(e,(e,i)=>{d(),(0,n.wb)(e)&&(a=e,u=(0,n.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,r.hA)(()=>{f.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());let n=e();if(t?.(n))return Promise.resolve(n);let a=null;function l(){a=(0,s.xt)(a)}return new Promise((n,s)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{l(),s((0,o.NK)())}),h(e,e=>{l(),n(e)},{sync:!1,once:!0},t??f)])})}(e,m,t)}function f(e){return!0}function m(e){return!!e}i(80559),i.d(t,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},44794(e,t,i){i.d(t,{v:()=>a});var n=i(4718),r=i(62788),s=i(95488);class o{constructor(e,t){this._observable=new s.I,this._value=e,this._equalityFunction=t}get value(){return(0,r.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function a(e,t=n.gh){return new o(e,t)}},88930(e,t,i){i.d(t,{S1:()=>a,VW:()=>l,lL:()=>u,rb:()=>h,t:()=>d});var n=i(97770),r=(i(98623),i(34747));const s=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,o={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function a(e,t,i,s="system"){if("unknown"===i)return e;let o=new r.oh((0,n.wj)(s)),a=r.c9.fromJSDate(e,{zone:o}),l="decades"===i||"centuries"===i?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(i);return"decades"===i&&(t*=10),"centuries"===i&&(t*=100),a.plus({[l]:t}).toJSDate()}function l(e,t,i="milliseconds"){let n=e.getTime(),r=d(t,i,"milliseconds");return new Date(n+r)}function u(e,t,i="system"){let{unit:s}=t,o=Math.max(1,Math.trunc(t.value)),a=new r.oh((0,n.wj)(i)),l=r.c9.fromJSDate(e,{zone:a}),u=e=>e-e%o;switch(s){case"milliseconds":return l.startOf("second").plus({millisecond:u(l.millisecond)}).toJSDate();case"seconds":return l.startOf("minute").plus({second:u(l.second)}).toJSDate();case"minutes":return l.startOf("hour").plus({minute:u(l.minute)}).toJSDate();case"hours":return l.startOf("day").plus({hour:u(l.hour)}).toJSDate();case"days":return l.startOf("month").plus({day:u(l.day-1)}).toJSDate();case"weeks":{let e=l.startOf("year").startOf("week"),t=Math.floor(l.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return l.startOf("year").plus({month:u(l.month-1)}).toJSDate();case"years":case"decades":case"centuries":{let e=l.startOf("year"),t=("decades"===s?10:"centuries"===s?100:1)*o,i=e.year-e.year%t;return e.set({year:i}).toJSDate()}case"unknown":return e}}function h(e){let t=s.exec(e);if(!t)return null;let{hh:i,mm:n,ss:r,ms:a}=t.groups;return Number(i)*o.hours+Number(n)*o.minutes+Number(r||0)*o.seconds+Number(a||0)}function d(e,t,i){return 0===e?0:e*o[t]/o[i]}},48526(e,t,i){i.d(t,{A:()=>y});var n,r=i(32198),s=i(4576),o=i(4718),a=i(91429),l=i(5443),u=i(91075),h=i(86738),d=i(16930),c=i(90634),f=i(47610),m=i(56993),p=i(43937);let y=n=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:n,spatialReference:r}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=d.A.WGS84,{...e,hasM:i,hasZ:n,points:t,spatialReference:r}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){let e=(0,c.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){let{points:e,spatialReference:t,hasM:i,hasZ:r}=this;return new n({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:r})}equals(e){if(this===e)return!0;if(null==e)return!1;let t=this.spatialReference,i=e.spatialReference;return!(null!=t!=(null!=i)||null!=t&&null!=i&&!t.equals(i))&&(0,s.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,m.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;let t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference},n=2;return this.hasZ&&(i.z=t[2],n=3),this.hasM&&(i.m=t[n]),new h.A(i)}removePoint(e){if(!this._validateInputs(e))return null;let t=new h.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,m.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,r.Cg)([(0,p.K)("points")],y.prototype,"writePoints",null),y=n=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,i){i.d(t,{A:()=>m});var n,r=i(32198),s=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),f=i(43937);let m=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:i,hasZ:n,spatialReference:r}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=h.A.WGS84,{...e,hasM:i,hasZ:n,paths:t,spatialReference:r}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){let e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;let t=this.paths,i=t.length;if(function(e){return!Array.isArray(e[0])}(e)){let n=[];for(let t=0,i=e.length;t<i;t++)n[t]=e[t].toArray();t[i]=n}else t[i]=e.slice();return this.notifyChange("paths"),this}clone(){let e=new n;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;let i=this.paths[e][t],n=this.hasZ,r=this.hasM;return n&&!r?new u.A(i[0],i[1],i[2],void 0,this.spatialReference):r&&!n?new u.A(i[0],i[1],void 0,i[2],this.spatialReference):n&&r?new u.A(i[0],i[1],i[2],i[3],this.spatialReference):new u.A(i[0],i[1],this.spatialReference)}insertPoint(e,t,i){return this._validateInputs(e,t,!0)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e].splice(t,0,i),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;let t=this.paths.splice(e,1)[0],i=this.spatialReference,n=t.map(e=>new u.A(e,i));return this.notifyChange("paths"),n}removePoint(e,t){if(!this._validateInputs(e,t))return null;let i=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(e,t,i){return this._validateInputs(e,t)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e][t]=i,this.notifyChange("paths"),this):this}_validateInputs(e,t,i=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){let n=this.paths[e];if(i&&(t<0||t>n.length)||!i&&(t<0||t>=n.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],m.prototype,"curvePaths",void 0),(0,r.Cg)([(0,f.K)("curvePaths")],m.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],m.prototype,"paths",void 0),(0,r.Cg)([(0,f.K)("paths")],m.prototype,"writePaths",null),m=n=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],m),m.prototype.toJSON.isDefaultToJSON=!0},4197(e,t,i){i.d(t,{Vj:()=>h,cj:()=>u,jh:()=>s,l5:()=>a,yH:()=>l});var n=i(34275),r=i(9093);function s(e){return e<=1024?Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function a(e,t,i){return Array.isArray(e)?e.slice(t,t+i):e.subarray(t,t+i)}function l(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);let i=s(e.length+t.length);for(let t=0;t<e.length;++t)i[t]=e[t];for(let n=0;n<t.length;++n)i[e.length+n]=t[n];return i}function u(e){return[...e]}function h(e){let t=(0,r.vt)();for(let i=0;i<16;++i)t[i]=e[i];return t}},70328(e,t,i){i.d(t,{BI:()=>T,C:()=>o,DC:()=>c,Ej:()=>x,Ie:()=>F,Jt:()=>I,Lu:()=>b,Ne:()=>v,RF:()=>d,TF:()=>g,VL:()=>m,aI:()=>z,fA:()=>a,gE:()=>u,gX:()=>_,hZ:()=>w,iT:()=>f,is:()=>A,pg:()=>M,uJ:()=>y,vI:()=>S,vY:()=>l,vt:()=>s,w1:()=>h,yr:()=>p}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(e=N){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let i=0;i<6;i++)e[i]=t[i];return e}function a(e,t,i,n,r,o,a=s()){return a[0]=e,a[1]=t,a[2]=i,a[3]=n,a[4]=r,a[5]=o,a}function l(e,t=s()){return function(e,t,i,n=s()){return w(n,C),function(e,t,i=0,n=t.length/3){let r=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)r=Math.min(r,t[i+3*e]),s=Math.min(s,t[i+3*e+1]),o=Math.min(o,t[i+3*e+2]),a=Math.max(a,t[i+3*e]),l=Math.max(l,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=r,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(n,e,t,i),n}(e,0,e.length/3,t)}function u(e,t=(0,r.jh)(24)){let[i,n,s,o,a,l]=e;return t[0]=i,t[1]=n,t[2]=s,t[3]=i,t[4]=n,t[5]=l,t[6]=i,t[7]=a,t[8]=s,t[9]=i,t[10]=a,t[11]=l,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function h(e,t){return isFinite(e[2])||isFinite(e[5])?new n.A({xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}):new n.A({xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function d(e,t,i=e){i[0]=Math.min(e[0],t[0]),i[1]=Math.min(e[1],t[1]),i[2]=Math.min(e[2],t[2]),i[3]=Math.max(e[3],t[3]),i[4]=Math.max(e[4],t[4]),i[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,[t,i,n]){!function(e,t,i,n){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],i),e[2]=Math.min(e[2],n),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],i),e[5]=Math.max(e[5],n)}(e,t,i,n)}function m(e){return e[0]>=e[3]?0:e[3]-e[0]}function p(e){return e[1]>=e[4]?0:e[4]-e[1]}function y(e){return e[2]>=e[5]?0:e[5]-e[2]}function g(e){let t=m(e),i=y(e),n=p(e);return t*t+i*i+n*n}function _(e,t=[0,0,0]){return t[0]=e[0]+m(e)/2,t[1]=e[1]+p(e)/2,t[2]=e[2]+y(e)/2,t}function x(e,t=[0,0,0]){return t[0]=m(e),t[1]=p(e),t[2]=y(e),t}function M(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function b(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function v(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function S(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function w(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function F(e){return e?w(e,C):s(C)}function I(e,t){return e[0]=t[0],e[1]=t[1],e[2]=-1/0,e[3]=t[2],e[4]=t[3],e[5]=1/0,e}function T(e,t,i,n,r){return e[0]=t,e[1]=i,e[2]=-1/0,e[3]=n,e[4]=r,e[5]=1/0,e}function A(e){return 6===e.length}function z(e,t,i){if(null==e||null==t)return e===t;if(!A(e)||!A(t))return!1;if(i){for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],N=[0,0,0,0,0,0];s(),i.d(t,["qv",0,C,"v_",0,N])},46329(e,t,i){i.d(t,{y:()=>d});var n=i(49186),r=i(4305),s=i(513),o=i(50954),a=i(52006),l=i(49663),u=i(46068),h=i(59803);function d(e,t,i){if((0,a.Xq)(t))return(0,h.T)(e,t,i);if((0,a.n1)(t)){let s=(0,r.m_)(e,t,i)[0];if(null==s)throw new n.A("closestPointOnCurve:unexpected-error","Failed to find close point on bezier curve");return s}if((0,a.aO)(t)){let n=(0,o.pM)(e,t);return(0,s.fM)(n,i)}if((0,a.DA)(t)){let n=(0,l.io)(e,t);return(0,s.fM)(n,i)}let d=(0,u.SW)(e,t);return(0,u.pb)(d,i)}},60408(e,t,i){function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function r(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>r,W0:()=>d,ZC:()=>n,fT:()=>s,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>c});var n=i(5443),r=i(91075),s=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof r.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},97770(e,t,i){i.d(t,{Ey:()=>C,F8:()=>z,J2:()=>F,Yq:()=>T,_m:()=>I,iS:()=>A,wj:()=>N});var n=i(66552),r=i(73444),s=i(98623),o=i(34747);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},h={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},y={hourCycle:"h23"},g={...m,...y},_={...p,...y},x={"short-date":h,"short-date-short-time":{...h,...m},"short-date-short-time-24":{...h,...g},"short-date-long-time":{...h,...p},"short-date-long-time-24":{...h,..._},"short-date-le":h,"short-date-le-short-time":{...h,...m},"short-date-le-short-time-24":{...h,...g},"short-date-le-long-time":{...h,...p},"short-date-le-long-time-24":{...h,..._},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...g},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,..._},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...m},"day-short-month-year-short-time-24":{...c,...g},"day-short-month-year-long-time":{...c,...p},"day-short-month-year-long-time-24":{...c,..._},"long-date":f,"long-date-short-time":{...f,...m},"long-date-short-time-24":{...f,...g},"long-date-long-time":{...f,...p},"long-date-long-time-24":{...f,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},M=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function v(){let e=(0,r.lR)();return(e&&b[e])??(0,r.QC)()}"mart"!==new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)).find(({type:e})=>"month"===e)?.value.toLowerCase()&&(b.bs="sr-Latn-CS");let S=new WeakMap;const w=x["short-date-short-time"];function F(e){return x[e]}function I(e){let{dateStyle:t,timeStyle:i,hour12:n,year:r,month:s}=e,o={};return t?o.dateStyle=t:r&&(o.year=r,o.month=s||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===n?void 0:"always"===n),o}function T(e,t=w){return function(e){let t=S.get(e);if(!t){let i=v(),n=N(e.timeZone??"system"),r={...e,timeZone:n};t=new Intl.DateTimeFormat(i,r),S.set(e,t)}return t}(t).format(e)}function A(e,t=w){return T(new Date(e),{...t,...u,...l})}function z(e,t=w){return T(new Date(`1970-01-01T${e}Z`),{...t,...u,...a})}function C(e,t=w){let i=o.c9.fromISO(e,{setZone:!0});if(!i.isValid)return e;if(t.timeZone)return T(i.toJSDate(),t);let n=0===i.offset?"UTC":t.timeZone,r={...t,timeZone:n};return i.toLocaleString(r,{locale:v()})}function N(e){switch(e){case"system":return s.N;case s.L:return"UTC";default:return e}}(0,r.Ml)(()=>{S=new WeakMap}),i.d(t,["_v",0,M])},73444(e,t,i){i.d(t,{JK:()=>l,Ml:()=>y,QC:()=>d,lR:()=>h,oQ:()=>m});var n=i(36563);let r;i(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){let e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return s??e??t??"en"}function l(){return void 0===r&&(r=a()),r}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=l()){return c(e)?.language}function d(e=l()){let t=c(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function c(e=l()){return u.exec(e)?.groups}const f=[];function m(e){return f.push(e),(0,n.hA)(()=>{f.splice(f.indexOf(e),1)})}new Map;const p=[];function y(e){return p.push(e),(0,n.hA)(()=>p.splice(p.indexOf(e),1))}function g(){let e=a();r!==e&&([...p].forEach(t=>t(e)),r=e,[...f].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",g),o&&new MutationObserver(()=>{g()}).observe(o,{attributeFilter:["lang"]})},6518(e,t,i){i.d(t,{F:()=>a});var n=i(44208),r=i(75503),s=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,n.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){let e=Array(this._idByBounds.size),t=0;this._idByBounds.forEach((i,n)=>{e[t++]=n}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;let e=(0,s.Ie)();for(let t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){let t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){let t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>m});var n=i(4576),r=i(49186),s=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(51441),c=i(37730);const f=(0,a.vt)();class m{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new s.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;let[t,i,n,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:n,ymax:r,spatialReference:(0,d.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(let t of e)this._add(t);this._emitChanged()}upsertMany(e){let t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(n.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){let t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(let t of e){let e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(let i of e){let e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;let t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e}));let i,n=this._featuresById.get(t);if(n?(e.displayId=n.displayId,i=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);i=(0,u.jQ)(i??(0,l.vt)(),e.geometry),null!=i&&this._boundsStore.set(t,i),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){let t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;let i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;let{geometry:n,attributes:s}=e;for(let e in s)i.attributes[e]=s[e];return n&&(i.geometry=n,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),n)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);let t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,i){var n=i(43334);const r={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new n.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)};i.d(t,["T",0,r])},25209(e,t,i){i.r(t),i.d(t,{default:()=>X});var n=i(56507),r=i(60999),s=i(67482),o=i(49186),a=i(53966),l=i(17676),u=i(84952),h=i(99917),d=i(16930),c=i(21325),f=i(28735),m=i(43334),p=i(92722),y=i(83221),g=i(31464),_=i(75752),x=i(14607),M=i(30524),b=i(54625);const v=/^\s*"([\S\s]*)"\s*$/,S=/""/g,w=[",",";","|","\t"];function*F(e,t,i){let n=0;for(;n<=e.length;){let r=e.indexOf(t,n),s=e.slice(n,r>-1?r:void 0);n+=s.length+t.length,(!i||s.trim())&&(yield s)}}function I(e){return F(e,e.includes("\r\n")?"\r\n":"\n",!0)}function T(e,t){return F(e,t,!1)}function A(e,t,i){e=e.trim(),t=t?.trim();let n=[],r=Array.from(new Set([i?.delimiter,...w])).filter(e=>null!=e);for(let i of r){let r=N(e,i).length,s=N(t,i).length??r;r>1&&n.push({weight:Math.min(r,s),delimiter:i})}let s=n.sort(({weight:e},{weight:t})=>t-e).map(({delimiter:e})=>e);for(let t of s){let n=C(e,t).names,r=(0,b.i_)(n,i?.longitudeField,i?.latitudeField);if(r.longitudeFieldName&&r.latitudeFieldName)return{delimiter:t,locationInfo:r}}return{delimiter:s[0],locationInfo:null}}function*z(e,t,i,n=()=>Object.create(null)){let r=I(e);r.next();let s="",o="",a=0,l=n(),u=0;e:for(let e of r){let r=T(e,i);for(let e of r)if(s+=o+e,o="",a+=B(e),a%2==0){if(a>0){let e=v.exec(s);if(!e){l=n(),u=0,s="",a=0;continue e}l[t[u]]=e[1].replaceAll(S,'"'),u++}else l[t[u]]=s,u++;s="",a=0}else o=i;0===a?(yield l,l=n(),u=0):o="\n"}}function C(e,t){let i=N(e,t).filter(e=>null!=e),n=i.map(e=>(0,M.rS)(e));for(let e=n.length-1;e>=0;e--)n[e]||(n.splice(e,1),i.splice(e,1));return{names:n,aliases:i}}function N(e,t){if(!e?.length)return[];let i=[],n="",r="",s=0,o=T(e,t);for(let e of o)if(n+=r+e,r="",s+=B(e),s%2==0){if(s>0){let e=v.exec(n);e&&i.push(e[1].replaceAll(S,'"'))}else i.push(n);n="",s=0}else r=t;return i}function B(e){let t=0,i=0;for(i=e.indexOf('"',i);i>=0;)t++,i=e.indexOf('"',i+1);return t}function O(e){if(!e.length)return"string";let t=/[^+\-.,0-9]/;return e.map(e=>{if(""!==e){if(!t.test(e)){let t=E(e);if(!isNaN(t))return/[.,]/.test(e)||!Number.isInteger(t)||t>214783647||t<-214783648?"double":"integer";if(e.includes("E")){if(t=Number(e),!Number.isNaN(t))return"double";if(e.includes(",")&&(e=e.replace(",","."),t=Number(e),!Number.isNaN(t)))return"double"}}return(0,s.C)(e)?"date":"string"}}).reduce((e,t)=>void 0===e?t:void 0===t?e:e===t?t:"string"===e||"string"===t?"string":"double"===e||"double"===t?"double":void 0)}const E=function(){let e=(0,x.B)(),t=RegExp("^"+e.regexp+"$"),i=RegExp("["+e.group+"\\s\\xa0]","g"),n=e.factor;return r=>{let s=t.exec(r);if(e.factor=n,!s)return NaN;let o=s[1];if(!s[1]){if(!s[2])return NaN;o=s[2],e.factor*=-1}return o=o.replace(i,"").replace(e.decimal,"."),+o*e.factor}}();function R(e){return JSON.parse(JSON.stringify(e))}var D=i(64714),L=i(60694),P=i(95466),Z=i(54218);i(98623);const k=(0,D.F0)("esriGeometryPoint"),q=["csv"],Y=[0,0];class j{constructor(e,t){this.x=e,this.y=t}}class X{constructor(){this._queryEngine=null,this._featureIdInfo=null,this._snapshotFeatures=async e=>{let t=await this._fetch(e);return this._createFeatures(t)}}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){this._loadOptions=e;let[i]=await Promise.all([this._fetch(t.signal),this._checkProjection(e?.parsingOptions?.spatialReference)]),n=function(e,t){let i=t.parsingOptions||{},n={delimiter:i.delimiter,layerDefinition:null,locationInfo:{latitudeFieldName:i.latitudeField,longitudeFieldName:i.longitudeField}},r=n.layerDefinition={name:(0,L.cr)((0,u.e7)(t.url,q)||"csv"),dateFieldsTimeReference:{timeZoneIANA:"UTC"},drawingInfo:k,geometryType:"esriGeometryPoint",objectIdField:null,fields:[],timeInfo:i.timeInfo,extent:{xmin:1/0,ymin:1/0,xmax:-1/0,ymax:-1/0,spatialReference:i.spatialReference||{wkid:4326}}},s=I(e),a=s.next().value?.trim(),l=s.next().value?.trim();if(!a)throw new o.A("csv-layer:empty-csv","CSV is empty",{csv:e});let{delimiter:h,locationInfo:d}=A(a,l,i);if(!h)throw new o.A("csv-layer:invalid-delimiter","Unable to detect the delimiter from CSV",{firstLine:a,secondLine:l,parsingOptions:i});if(!d)throw new o.A("csv-layer:location-fields-not-found","Unable to identify latitude and longitude fields from the CSV file",{firstLine:a,secondLine:l,parsingOptions:i});n.locationInfo=d,n.delimiter=h;let{names:c,aliases:f}=C(a,h),m=function(e,t,i,n,r){let s=[],o=z(e,i,t),a=[];for(let e of o){if(10===a.length)break;a.push(e)}for(let e=0;e<i.length;e++){let t=i[e],o=n[e];if(t===r.longitudeFieldName||t===r.latitudeFieldName)s.push({name:t,type:"esriFieldTypeDouble",alias:o});else{let e;switch(O(a.map(e=>e[t]))){case"integer":e="esriFieldTypeInteger";break;case"double":e="esriFieldTypeDouble";break;case"date":e="esriFieldTypeDate";break;default:e="esriFieldTypeString"}s.push({name:t,type:e,alias:o,length:(0,M._b)(e)})}}return s}(e,n.delimiter,c,f,n.locationInfo);if(i.fields?.length){let e=new P.A(i.fields);for(let t of m){let i=e.get(t.name);i&&Object.assign(t,i)}}if(!m.some(e=>"esriFieldTypeOID"===e.type&&(r.objectIdField=e.name,!0))){let e={name:"__OBJECTID",alias:"__OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1};r.objectIdField=e.name,m.unshift(e)}r.fields=m;let p=new P.A(r.fields);if(n.locationInfo&&(n.locationInfo.latitudeFieldName=p.get(n.locationInfo.latitudeFieldName).name,n.locationInfo.longitudeFieldName=p.get(n.locationInfo.longitudeFieldName).name),r.timeInfo){let e=r.timeInfo;if(e.startTimeField){let t=p.get(e.startTimeField);t?(e.startTimeField=t.name,t.type="esriFieldTypeDate"):e.startTimeField=null}if(e.endTimeField){let t=p.get(e.endTimeField);t?(e.endTimeField=t.name,t.type="esriFieldTypeDate"):e.endTimeField=null}if(e.trackIdField){let t=p.get(e.trackIdField);e.trackIdField=t?t.name:null}!e.startTimeField&&!e.endTimeField&&(r.timeInfo=null)}return n}(i,e);this._locationInfo=n.locationInfo,this._delimiter=n.delimiter;let{objectIdField:r,fields:s,extent:{spatialReference:a},timeInfo:l}=n.layerDefinition,h=new y.A({geometryType:"esriGeometryPoint",hasM:!1,hasZ:!1});this._featureIdInfo={type:"object-id",fieldName:r},this._queryEngine=new _.do({fieldsIndex:P.A.fromLayerJSON({fields:s,dateFieldsTimeReference:{timeZoneIANA:"UTC"}}),geometryType:"esriGeometryPoint",hasM:!1,hasZ:!1,timeInfo:l,featureIdInfo:this._featureIdInfo,spatialReference:a||{wkid:4326},featureStore:h});let d=this._createFeatures(i);this._queryEngine.featureStore.addMany(d);let{fullExtent:c,timeExtent:f}=await this._queryEngine.fetchRecomputedExtents();if(n.layerDefinition.extent=c,f){let{start:e,end:t}=f;n.layerDefinition.timeInfo.timeExtent=[e,t]}return n}async applyEdits(){throw new o.A("csv-layer:editing-not-supported","applyEdits() is not supported on CSVLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),(await this._queryEngine.executeQueryForIds(e,t.signal)).filter(Z.Et)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),await this._queryEngine.executeQueryForSnapping(e,t.signal)}async queryAttributeBins(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeAttributeBinsQuery(e,t.signal)}async refresh(e){this._loadOptions.customParameters=e,this._snapshotTask?.abort(),this._snapshotTask=(0,r.UT)(this._snapshotFeatures),this._snapshotTask.promise.then(e=>{this._queryEngine.featureStore.clear(),e&&this._queryEngine.featureStore.addMany(e)},e=>{this._queryEngine.featureStore.clear(),(0,l.zf)(e)||a.A.getLogger("esri.layers.CSVLayer").error(new o.A("csv-layer:refresh","An error occurred during refresh",{error:e}))}),await this._waitSnapshotComplete();let{fullExtent:t,timeExtent:i}=await this._queryEngine.fetchRecomputedExtents();return{extent:t,timeExtent:i}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _fetch(e){let{url:t,customParameters:i}=this._loadOptions;if(!t)throw new o.A("csv-layer:invalid-source","url not defined");let r=(0,u.An)(t);return(await(0,n.A)(r.path,{query:{...r.query,...i},responseType:"text",signal:e})).data}_createFeatures(e){let{latitudeFieldName:t,longitudeFieldName:i}=this._locationInfo,{fieldsIndex:n,spatialReference:r}=this._queryEngine,o=this._featureIdInfo.fieldName,a=[],l=[],u=n.fields.filter(e=>e.name!==o).map(e=>e.name),y=0,g={};for(let e of n.fields)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){let t=(0,M.lD)(e);void 0!==t&&(g[e.name]=t)}let _=z(e,u,this._delimiter,(0,D.Vx)(g,o));for(let e of _){let r=this._parseCoordinateValue(e[t]),u=this._parseCoordinateValue(e[i]);if(null!=u&&null!=r&&!isNaN(r)&&!isNaN(u)){e[t]=r,e[i]=u;for(let r in e)if(r!==t&&r!==i)if(n.isDateField(r))e[r]=(0,s._)(e[r]);else if(n.isNumericField(r)){let t=E(e[r]);e[r]=isNaN(t)?null:t}else null!=e[r]&&(e[r]=R(e[r]));e[o]=y,y++,a.push(new j(u,r)),l.push(e)}}if(!(0,c.aI)({wkid:4326},r))if((0,c.K8)(r))for(let e of a)[e.x,e.y]=(0,f.je)(e.x,e.y,Y);else a=(0,h.projectMany)(a,d.A.WGS84,r);let x=[];for(let e=0;e<a.length;e++){let{x:t,y:i}=a[e],n=l[e];n[o]=e+1,x.push(new m.Om(new p.A([],[t,i]),n,null,n[o]))}return x}_parseCoordinateValue(e){if(null==e||""===e)return null;let t=E(e);return(isNaN(t)||Math.abs(t)>181)&&(t=parseFloat(e)),t}async _checkProjection(e){try{await(0,g.Nk)(c.KK,e)}catch{throw new o.A("csv-layer:projection-not-supported","Projection not supported")}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>p});var n=i(44208),r=i(4718),s=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${d(t)} = null;`);for(let t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;let n=Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new n}catch{return()=>t?{[t]:null,...e}:{...e}}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,r.o8)(e)}}]}const f={...s.F,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!1,supportsDistance:!1,supportsExtent:!1,supportsQuantization:!1,supportsQueryGeometry:!1,supportsDisjointSpatialRelationship:!1},m={...s.P,supportedStatistics:{...s.P.supportedStatistics,envelope:!1,centroid:!1,convexHull:!1}};function p(e,t,i=!1){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:i?f:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:i?m:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},95466(e,t,i){i.d(t,{A:()=>u});var n=i(49186),r=i(53966),s=i(12195),o=i(30524),a=i(98623),l=i(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],d(e))}static fromLayerJSON(e){return new u(e.fields??[],d(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;let i=[];for(let e of this.fields){let t=e?.name,n=(0,o.GZ)(t);if(t&&n){let r=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(n,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),!(0,o.te)(e)&&!(0,o.Xz)(e)&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(let e of this.fields)!(0,o.te)(e)&&!(0,o.Xz)(e)&&!e.nullable&&void 0===(0,o.lD)(e)&&this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){let t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):h.has(t.type)?a.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,s.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function d(e){let t=new Map;if(!e.fields)return t;let i=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:r}=e,s=(n?"startField"in n?n.startField:n.startTimeField:"")??"",u=(n?"endField"in n?n.endField:n.endTimeField:"")??"",d=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,l.ZS)(e.dateFieldsTimeReference):null,c=r?function(e){return"timeZone"in e}(r)?r.timeZone??d:r.dateFieldsTimeReference?(0,l.ZS)(r.dateFieldsTimeReference):d??"UTC":null,f=n?function(e){return"timeZone"in e}(n)?n.timeZone??d:n.timeReference?(0,l.ZS)(n.timeReference):d:null,m=new Map([[(0,o.NF)(r?.creationDateField??""),c],[(0,o.NF)(r?.editDateField??""),c],[(0,o.NF)(s),f],[(0,o.NF)(u),f]]);for(let{name:n,type:r}of e.fields)if(h.has(r))t.set(n,a.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(n,null);else if(i)t.set(n,a.L);else{let e=m.get((0,o.NF)(n??""))??d;t.set(n,e)}return t}},98453(e,t,i){const n=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});i.d(t,["m",0,n])},54625(e,t,i){i.d(t,{i_:()=>r});var n=i(30524);function r(e,t,i){t=(0,n.rS)(t)?.toLowerCase(),i=(0,n.rS)(i)?.toLowerCase();let r=e.map(e=>e.toLowerCase()),a=t?e[r.indexOf(t)]:null,l=i?e[r.indexOf(i)]:null;return{longitudeFieldName:a||e[r.indexOf(o.find(e=>r.includes(e)))],latitudeFieldName:l||e[r.indexOf(s.find(e=>r.includes(e)))]}}const s=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],o=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"];i.d(t,["A0",0,o,"bD",0,s])},93470(e,t,i){const n=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:n,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:n};i.d(t,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,n,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8846],{28846(e,t,r){r.d(t,{convertMeshVertexSpace:()=>u});var o=r(49186),s=r(4718),i=r(17676),l=r(1193),n=r(66895),c=r(72258);async function u(e,t,r){await Promise.resolve(),(0,i.Te)(r);let u=(0,c.UR)(e,t,{useEllipsoid:r?.useEllipsoid});if(!u)throw new o.A("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");return e.clone((0,n.Lz)(void 0,{vertexAttributes:new l.
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8846],{28846(e,t,r){r.d(t,{convertMeshVertexSpace:()=>u});var o=r(49186),s=r(4718),i=r(17676),l=r(1193),n=r(66895),c=r(72258);async function u(e,t,r){await Promise.resolve(),(0,i.Te)(r);let u=(0,c.UR)(e,t,{useEllipsoid:r?.useEllipsoid});if(!u)throw new o.A("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");return e.clone((0,n.Lz)(void 0,{vertexAttributes:new l.A({...u,uv:(0,s.o8)(e.vertexAttributes.uv),color:(0,s.o8)(e.vertexAttributes.color)}),vertexSpace:t,transform:null}))}}}]);
|