@agrotools1/at-components 0.2.0 → 0.2.2
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/dist/AGraphicContainer-98a4c8a4.js +109 -0
- package/dist/APIKeyMixin-9511e0a5.js +19 -0
- package/dist/Analysis-4b1d1fb5.js +31 -0
- package/dist/ArcGISCachedService-93e2cb27.js +47 -0
- package/dist/ArcGISService-3f8d89c1.js +25 -0
- package/dist/AreaMeasurement2D-e0bb230c.js +405 -0
- package/dist/AreaMeasurement3D-a9959ecf.js +488 -0
- package/dist/AttachmentInfo-601c56e2.js +34 -0
- package/dist/AttachmentQuery-3504d550.js +18 -0
- package/dist/AttributeStore-b90878e3.js +1707 -0
- package/dist/BaseDynamicLayerView2D-b2faf028.js +63 -0
- package/dist/BindType-5e76c8e1.js +7 -0
- package/dist/BingMapsLayer-5d79fe2b.js +112 -0
- package/dist/Bitmap-f775c851.js +128 -0
- package/dist/BitmapContainer-af5942b8.js +23 -0
- package/dist/BlendLayer-a792edf6.js +13 -0
- package/dist/BoundsStore-789624df.js +63 -0
- package/dist/BufferObject-cbd0168e.js +100 -0
- package/dist/BufferView-004ad517.js +683 -0
- package/dist/BuildingSceneLayer-25bc760b.js +535 -0
- package/dist/Button/Button.d.ts +24 -2
- package/dist/Button-70963624.js +36 -0
- package/dist/ByteSizeUnit-90df2840.js +7 -0
- package/dist/CSVLayer-fd3b6750.js +208 -0
- package/dist/CSVSourceWorker-eb24cd85.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +66 -0
- package/dist/CatalogFootprintLayerView2D-6eb16597.js +76 -0
- package/dist/CatalogLayer-1cc632fe.js +262 -0
- package/dist/CatalogLayerView2D-d143aa34.js +52 -0
- package/dist/Chips/index.d.ts +1 -0
- package/dist/CircularArray-b2bc1dfd.js +40 -0
- package/dist/ClassBreaksDefinition-07ba0c64.js +18 -0
- package/dist/ColorMaterial.glsl-e7801766.js +64 -0
- package/dist/ColorSet-df5696b5.js +45 -0
- package/dist/ColorStop-7187f368.js +29 -0
- package/dist/Container-ac97765a.js +521 -0
- package/dist/CustomParametersMixin-b3432b3e.js +12 -0
- package/dist/DatePicker/DatePicker.helper.d.ts +22 -0
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +18 -0
- package/dist/DatePicker/index.d.ts +2 -0
- package/dist/DefaultMaterial.glsl-3cc4efe7.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +653 -0
- package/dist/DefaultTheme-12dffc66.js +130 -0
- package/dist/DeleteForwardEditsParameters-ae76d898.js +18 -0
- package/dist/DimensionLayer-9eb47c76.js +129 -0
- package/dist/DirectLineMeasurement3D-e9903136.js +449 -0
- package/dist/DistanceMeasurement2D-a4853462.js +303 -0
- package/dist/DoubleArray-5076283e.js +25 -0
- package/dist/EdgeProcessingWorker-c1783ddd.js +63 -0
- package/dist/EditBusLayer-e812f4c9.js +107 -0
- package/dist/ElevationInfo-fad03d5e.js +56 -0
- package/dist/ElevationLayer-397792d5.js +129 -0
- package/dist/ElevationQuery-beceb62f.js +598 -0
- package/dist/ElevationSamplerWorker-0048a204.js +62 -0
- package/dist/ExportImageParameters-c6c4bc61.js +66 -0
- package/dist/ExportStrategy-908f5b8d.js +93 -0
- package/dist/ExportWMSImageParameters-34da6b46.js +33 -0
- package/dist/External-14daf0c1.js +110 -0
- package/dist/FeatureCollectionSnappingSource-f97a1829.js +130 -0
- package/dist/FeatureCommandQueue-d4817eac.js +1244 -0
- package/dist/FeatureEffect-08976bbd.js +39 -0
- package/dist/FeatureEffectLayer-05c258f4.js +13 -0
- package/dist/FeatureFilter-8c5e44b1.js +27 -0
- package/dist/FeatureLayer-d3659466.js +693 -0
- package/dist/FeatureLayerBase-9b63f732.js +148 -0
- package/dist/FeatureLayerSource-960f1c01.js +444 -0
- package/dist/FeatureLayerView2D-7503e1ed.js +1967 -0
- package/dist/FeaturePipelineWorker-d4301d2a.js +3633 -0
- package/dist/FeatureReductionLayer-e6cf73ac.js +225 -0
- package/dist/FeatureReductionSelection-d90249a7.js +22 -0
- package/dist/FeatureServiceSnappingSource-9e49ca72.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +747 -0
- package/dist/FeatureSet-d79f0e48.js +188 -0
- package/dist/FeatureStore-eb4b87c0.js +131 -0
- package/dist/FeatureTemplate-edb1b782.js +12 -0
- package/dist/FeatureType-bba29adb.js +25 -0
- package/dist/FieldsIndex-75cca4d0.js +109 -0
- package/dist/FormTemplate-22911c47.js +350 -0
- package/dist/GeoJSONLayer-b33c96b8.js +236 -0
- package/dist/GeoJSONSourceWorker-b04ff552.js +247 -0
- package/dist/GeoRSSLayer-6e5fcd0e.js +73 -0
- package/dist/GeoRSSLayerView2D-21b6b12e.js +140 -0
- package/dist/GeometryUtils-fa897cbd.js +403 -0
- package/dist/GraphicContainer-1fd6bfce.js +26 -0
- package/dist/GraphicManipulator-f3b7dc9b.js +1499 -0
- package/dist/GraphicsLayer-e0686779.js +38 -0
- package/dist/GraphicsLayerView2D-a7eba2fe.js +114 -0
- package/dist/GraphicsSnappingSource-594f402a.js +273 -0
- package/dist/GraphicsView2D-347562b8.js +620 -0
- package/dist/GroupLayer-7ae0a916.js +147 -0
- package/dist/GroupLayerView2D-ffcde606.js +98 -0
- package/dist/HUDMaterial.glsl-b0a3e0ce.js +65 -0
- package/dist/HighlightCounter-e18f0179.js +41 -0
- package/dist/HighlightGraphicContainer-fd774cea.js +18 -0
- package/dist/I3SBinaryReader-190e99de.js +310 -0
- package/dist/I3SLayerDefinitions-6ddaca60.js +55 -0
- package/dist/I3SUtil-44b83dc0.js +59 -0
- package/dist/IdentityManager-fbe91c13.js +899 -0
- package/dist/ImageHistogramParameters-d64fd9c8.js +905 -0
- package/dist/ImageryLayer-67878a78.js +1799 -0
- package/dist/ImageryLayerView2D-ae45faba.js +352 -0
- package/dist/ImageryTileLayer-9dca8b93.js +2157 -0
- package/dist/ImageryTileLayerView2D-977f66aa.js +1110 -0
- package/dist/ImmutableArray-fb7b7a6a.js +20 -0
- package/dist/Indices-e6dc3b15.js +67 -0
- package/dist/Input/Input.core.d.ts +37 -11
- package/dist/Input/index.d.ts +37 -11
- package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +112 -0
- package/dist/IntegratedMeshLayer-9162c0b5.js +141 -0
- package/dist/InteractiveAnalysisViewModel-b046fcb9.js +7397 -0
- package/dist/InterleavedLayout-32973c8a.js +163 -0
- package/dist/KMLLayer-80f81df7.js +162 -0
- package/dist/KMLLayerView2D-b6ba3b80.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +43 -0
- package/dist/LRUCache-27e8c401.js +32 -0
- package/dist/LabelClass-d9a476d6.js +135 -0
- package/dist/LabelMetric-e2728bbf.js +400 -0
- package/dist/LaserlinePath.glsl-60d00e61.js +64 -0
- package/dist/Laserlines.glsl-499a6cbf.js +65 -0
- package/dist/LayerFloorInfo-d05cf9dd.js +15 -0
- package/dist/LayerView-036988a9.js +206 -0
- package/dist/LercWorker-b1b4bb47.js +157 -0
- package/dist/LineOfSightLayer-9a9a60b7.js +147 -0
- package/dist/LinkChartLayer-d61803bb.js +1027 -0
- package/dist/Lyr3DWorker-87be14e0.js +82 -0
- package/dist/MD5-1b5ec1c3.js +76 -0
- package/dist/MagnifierPrograms-da7a27ab.js +806 -0
- package/dist/Map/Map.d.ts +26 -0
- package/dist/Map/index.d.ts +1 -0
- package/dist/Map/types/index.d.ts +38 -0
- package/dist/Map/utils/index.d.ts +24 -0
- package/dist/MapImageLayer-f07adf1a.js +169 -0
- package/dist/MapImageLayerView2D-d1b140c3.js +146 -0
- package/dist/MapNotesLayer-c662d147.js +283 -0
- package/dist/MapNotesLayerView2D-bf9ac698.js +161 -0
- package/dist/MapServiceLayerViewHelper-fb724de9.js +288 -0
- package/dist/MeasurementWidgetContent-e4888ef2.js +2642 -0
- package/dist/MediaLayer-36d873a3.js +523 -0
- package/dist/MediaLayerView2D-e58b8ec0.js +332 -0
- package/dist/MemCache-a9232ec2.js +227 -0
- package/dist/MemorySourceWorker-20ff27d6.js +222 -0
- package/dist/Mesh-3839826a.js +980 -0
- package/dist/MeshLocalVertexSpace-00151564.js +19 -0
- package/dist/MultiOriginJSONSupport-bb258670.js +158 -0
- package/dist/NestedMap-83f8e815.js +29 -0
- package/dist/OGCFeatureLayer-2a8b7ecc.js +211 -0
- package/dist/OGCFeatureLayerView2D-185f9649.js +82 -0
- package/dist/ObjectStack-10d91171.js +21 -0
- package/dist/Octree-78797046.js +495 -0
- package/dist/OpenStreetMapLayer-b0a17790.js +30 -0
- package/dist/OperationalLayer-55af27d6.js +44 -0
- package/dist/OptimizedFeatureSet-54e095c4.js +12 -0
- package/dist/OptimizedGeometry-3b808152.js +68 -0
- package/dist/OrderByInfo-22e3c805.js +16 -0
- package/dist/OrderIndependentTransparency-3eadfe42.js +214 -0
- package/dist/OrderedLayer-1403a591.js +26 -0
- package/dist/OrientedImageryLayer-8ec8d7d1.js +216 -0
- package/dist/OverlayCompositing.glsl-ba3bd81d.js +65 -0
- package/dist/OverrideHelper-82325a2c.js +242 -0
- package/dist/PBFDecoderWorker-f6517afc.js +213 -0
- package/dist/PointCloudLayer-cff43a10.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-f337a895.js +115 -0
- package/dist/PointCloudWorker-cdb28dc1.js +212 -0
- package/dist/PooledRBush-ee4e60af.js +272 -0
- package/dist/Popup-c7f55588.js +3990 -0
- package/dist/PortalLayer-07b3c53e.js +126 -0
- package/dist/Program-ba2f18b2.js +694 -0
- package/dist/ProgramTemplate-eee4f097.js +35 -0
- package/dist/ProgressBar/ProgressBar.d.ts +0 -13
- package/dist/QueryEngine-10c97624.js +896 -0
- package/dist/QueryEngineCapabilities-0d8477a2.js +4 -0
- package/dist/QueryTask-115430b6.js +119 -0
- package/dist/RasterSymbolizer-fbf433fe.js +3024 -0
- package/dist/RasterVFDisplayObject-20b0dd86.js +581 -0
- package/dist/RasterWorker-44c37e20.js +78 -0
- package/dist/RawBlockCache-25203dbd.js +185 -0
- package/dist/RealisticTree.glsl-bc07c4dc.js +42 -0
- package/dist/Rect-894f011c.js +14 -0
- package/dist/RefreshableLayer-9550b85a.js +80 -0
- package/dist/RefreshableLayerView-601f7038.js +16 -0
- package/dist/Relationship-c662830e.js +64 -0
- package/dist/RelationshipQuery-765f068e.js +22 -0
- package/dist/RenderState-b244097f.js +7 -0
- package/dist/RenderingContext-3db74548.js +889 -0
- package/dist/RibbonLine.glsl-c6a715b7.js +65 -0
- package/dist/RouteLayer-3f5411f3.js +786 -0
- package/dist/RouteLayerView2D-a5fd4cbf.js +195 -0
- package/dist/SDFHelper-a34e90ee.js +140 -0
- package/dist/SSAO.glsl-5491a708.js +43 -0
- package/dist/SSAOBlur.glsl-f3068b8e.js +42 -0
- package/dist/ScaleRangeLayer-7ddf00b4.js +21 -0
- package/dist/SceneLayer-c594bfc3.js +542 -0
- package/dist/SceneLayerSnappingSource-a0504ac7.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +112 -0
- package/dist/SceneLayerWorker-1865768e.js +164 -0
- package/dist/SceneService-fb9f0142.js +215 -0
- package/dist/Scheduler-eacc84bb.js +373 -0
- package/dist/Select/Item/Item.d.ts +2 -1
- package/dist/Select/{Select.multiple.d.ts → Multiple/Select.multiple.d.ts} +26 -16
- package/dist/Select/Select.core.d.ts +18 -15
- package/dist/Select/{Select.single.d.ts → Single/Select.single.d.ts} +23 -14
- package/dist/Select/index.d.ts +42 -24
- package/dist/ShadedColorMaterial.glsl-db97956b.js +64 -0
- package/dist/SnappingOperation-9622a00d.js +48 -0
- package/dist/SourceLayerData-7016f1a5.js +116 -0
- package/dist/SpatialFilter-d20d4f50.js +1701 -0
- package/dist/Stop-68022e32.js +281 -0
- package/dist/StreamLayer-7c837e3d.js +188 -0
- package/dist/StreamLayerView2D-586f5a6a.js +164 -0
- package/dist/StyleDefinition-f4862d5a.js +36 -0
- package/dist/StyleRepository-fba75e70.js +2212 -0
- package/dist/SublayersOwner-3dc574cd.js +545 -0
- package/dist/SubtypeGroupLayer-1f9c5398.js +514 -0
- package/dist/SubtypeGroupLayerView2D-0f108d9d.js +84 -0
- package/dist/Tabs/Tab/Tab.d.ts +3 -3
- package/dist/TechniqueInstance-0481dbff.js +233 -0
- package/dist/TemporalLayer-8116b4a4.js +23 -0
- package/dist/Texture-22a8cca5.js +501 -0
- package/dist/TextureOnly.glsl-458f8148.js +65 -0
- package/dist/Theme-f05b8eb0.js +3426 -0
- package/dist/Tick-aef93b48.js +723 -0
- package/dist/TileContainer-0bf0ea1b.js +31 -0
- package/dist/TileInfoTilemapCache-d78858c0.js +38 -0
- package/dist/TileLayer-0edee064.js +194 -0
- package/dist/TileLayerView2D-78d5801b.js +187 -0
- package/dist/TilemapCache-79699d61.js +189 -0
- package/dist/TimeInfo-40c96ade.js +42 -0
- package/dist/TimeOnly-9ee66ca6.js +706 -0
- package/dist/Tooltip-e7498dc9.js +138 -0
- package/dist/TopFeaturesQuery-ad224e01.js +32 -0
- package/dist/TurboLine-6ab04aef.js +565 -0
- package/dist/UniqueValueRenderer-eaa5f8a6.js +1039 -0
- package/dist/UnknownLayer-e280ddd4.js +30 -0
- package/dist/UnknownTimeZone-220952b5.js +15 -0
- package/dist/UnsupportedLayer-447f7676.js +31 -0
- package/dist/UpdateTracking2D-e9adad8f.js +8566 -0
- package/dist/Util-002f5109.js +57 -0
- package/dist/VectorTileLayer-3210be81.js +544 -0
- package/dist/VectorTileLayerView2D-6a51e3b8.js +2108 -0
- package/dist/Version-3de8cbca.js +33 -0
- package/dist/VertexArrayObject-07998745.js +73 -0
- package/dist/VertexAttribute-faad30bf.js +11 -0
- package/dist/VertexColor.glsl-e415cf02.js +2683 -0
- package/dist/VertexElementDescriptor-d7c718c2.js +8 -0
- package/dist/VertexSnappingCandidate-b676241f.js +13 -0
- package/dist/VideoLayerView2D-f659dd0d.js +124 -0
- package/dist/VoxelLayer-003f82ff.js +631 -0
- package/dist/WFSLayer-3da6c5f7.js +221 -0
- package/dist/WFSSourceWorker-9a11693a.js +157 -0
- package/dist/WGLContainer-3d159b63.js +5426 -0
- package/dist/WMSLayer-fc0632f8.js +536 -0
- package/dist/WMSLayerView2D-54e80e1b.js +117 -0
- package/dist/WMTSLayer-9324b12b.js +531 -0
- package/dist/WMTSLayerView2D-3ef936db.js +142 -0
- package/dist/WebTileLayer-45c563ff.js +110 -0
- package/dist/WhereClause-7a28b740.js +2766 -0
- package/dist/WorkerHandle-0d54a6c7.js +47 -0
- package/dist/WorkerTileHandler-786c2b24.js +1539 -0
- package/dist/action-163397e3.js +198 -0
- package/dist/action-group-4859fb97.js +145 -0
- package/dist/action-menu-2d70b2fc.js +1759 -0
- package/dist/agrotools-theme.css.map +1 -1
- package/dist/apng-9b71d52c.js +392 -0
- package/dist/ar-a17f8064.js +18 -0
- package/dist/arcade-fa309282.js +229 -0
- package/dist/arcadeAsyncRuntime-738498fd.js +943 -0
- package/dist/arcadeUtils-f71d80fa.js +8741 -0
- package/dist/arcgis-knowledge-client-core-6056bcea.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +1218 -0
- package/dist/arcgisLayers-b2b878bd.js +152 -0
- package/dist/associatedFeatureServiceUtils-df5b5187.js +92 -0
- package/dist/axisAngleDegrees-32643b7c.js +49 -0
- package/dist/basicInterfaces-fa4f5fa7.js +30 -0
- package/dist/basis_transcoder-3187cc92.js +1248 -0
- package/dist/bg_BG-9950a70b.js +18 -0
- package/dist/bs_BA-60482871.js +18 -0
- package/dist/ca_ES-a121088e.js +18 -0
- package/dist/calcite-action-bar-5a87c23c.js +303 -0
- package/dist/calcite-action-ee2ca847.js +22 -0
- package/dist/calcite-action-group-19aa86ee.js +28 -0
- package/dist/calcite-button-8e9175c0.js +228 -0
- package/dist/calcite-flow-57d26d2d.js +128 -0
- package/dist/calcite-flow-item-4a3e3fc0.js +499 -0
- package/dist/calcite-icon-d99e280a.js +16 -0
- package/dist/calcite-input-28b20785.js +24 -0
- package/dist/calcite-label-4f30e08d.js +79 -0
- package/dist/calcite-list-0cee7628.js +2135 -0
- package/dist/calcite-list-item-0a19efa8.js +576 -0
- package/dist/calcite-list-item-group-0706662f.js +71 -0
- package/dist/calcite-loader-865045b1.js +14 -0
- package/dist/calcite-modal-3e4da6fd.js +333 -0
- package/dist/calcite-notice-50b74ab7.js +181 -0
- package/dist/calcite-option-713c1d40.js +94 -0
- package/dist/calcite-scrim-809fbd0b.js +18 -0
- package/dist/calcite-select-28d8edfc.js +231 -0
- package/dist/capabilities-c8f838be.js +50 -0
- package/dist/chartCommon-13718cda.js +256 -0
- package/dist/chartUtilsAm5-6be145fb.js +2954 -0
- package/dist/clientSideDefaults-5c1f97c9.js +39 -0
- package/dist/colorRamps-8792655e.js +38 -0
- package/dist/colorUtils-54f4b662.js +164 -0
- package/dist/commonProperties-f9559903.js +60 -0
- package/dist/component-51a10bc0.js +18 -0
- package/dist/computeTranslationToOriginAndRotation-4876cb93.js +60 -0
- package/dist/conditionalSlot-87175989.js +27 -0
- package/dist/config-61215215.js +7 -0
- package/dist/constants-5bd557fe.js +5 -0
- package/dist/createConnection-f974a00a.js +299 -0
- package/dist/crsUtils-59933b10.js +7 -0
- package/dist/cs_CZ-1b968650.js +18 -0
- package/dist/da_DK-e0fe1642.js +18 -0
- package/dist/dataUtils-7c276b73.js +1421 -0
- package/dist/date-1c28c6a5.js +52 -0
- package/dist/de_CH-b0dbd4c8.js +6 -0
- package/dist/de_DE-8609ef65.js +6 -0
- package/dist/debounce-de27a42a.js +121 -0
- package/dist/deduplicate-59fb9cac.js +89 -0
- package/dist/defaults-2bfa4a36.js +31 -0
- package/dist/defaultsJSON-ba17aa15.js +10 -0
- package/dist/definitions-a00a3a6c.js +52 -0
- package/dist/deleteForwardEdits-f653b513.js +13 -0
- package/dist/devEnvironmentUtils-42cb97c7.js +11 -0
- package/dist/diffUtils-e71a6152.js +90 -0
- package/dist/dom-b589b728.js +358 -0
- package/dist/doublePrecisionUtils-46e21550.js +22 -0
- package/dist/drapedUtils-b42fcbc6.js +75 -0
- package/dist/earcut-6fa1a128.js +292 -0
- package/dist/edgeProcessing-2ff1f201.js +252 -0
- package/dist/editingSupport-68545668.js +203 -0
- package/dist/editsZScale-c7cdd215.js +37 -0
- package/dist/el_GR-5cfd1e7e.js +18 -0
- package/dist/elevationInfoUtils-5456a079.js +126 -0
- package/dist/en_CA-47f2633b.js +18 -0
- package/dist/en_US-47f2633b.js +18 -0
- package/dist/enums-25d066fc.js +13 -0
- package/dist/enums-2c166c09.js +99 -0
- package/dist/enums-fa8f05ab.js +152 -0
- package/dist/es_ES-489878a2.js +6 -0
- package/dist/et_EE-6472669a.js +18 -0
- package/dist/executeForIds-4ab75c0d.js +14 -0
- package/dist/executeForTopCount-7e095ec1.js +17 -0
- package/dist/executeForTopExtents-19daf9d0.js +17 -0
- package/dist/executeForTopIds-1ba3a4af.js +17 -0
- package/dist/executeQueryJSON-46168866.js +15 -0
- package/dist/executeQueryPBF-d8623daf.js +152 -0
- package/dist/executeRelationshipQuery-011dfb45.js +53 -0
- package/dist/executeTopFeaturesQuery-02166801.js +18 -0
- package/dist/featureConversionUtils-650d7601.js +479 -0
- package/dist/featureLayerUtils-64e09283.js +142 -0
- package/dist/featureLayerUtils-b07f9c11.js +250 -0
- package/dist/featureSetUtils-9d37d6f8.js +2530 -0
- package/dist/featuresetbase-62aeb079.js +707 -0
- package/dist/featuresetgeom-51f9fc4e.js +99 -0
- package/dist/featuresetstats-4db32894.js +81 -0
- package/dist/featuresetstring-990c3287.js +95 -0
- package/dist/fetchService-5198dd4a.js +33 -0
- package/dist/fi_FI-d7a3a525.js +18 -0
- package/dist/fieldProperties-edfa24cb.js +33 -0
- package/dist/floatRGBA-516d7961.js +20 -0
- package/dist/floorFilterUtils-936f7587.js +19 -0
- package/dist/focusTrapComponent-e849bb89.js +475 -0
- package/dist/form-99719d52.js +138 -0
- package/dist/fr_FR-a88f2596.js +7 -0
- package/dist/geohashUtils-2bc76440.js +85 -0
- package/dist/geojson-603231df.js +208 -0
- package/dist/geomasync-e9063b4c.js +567 -0
- package/dist/geometryEngine-d3bb2fd6.js +192 -0
- package/dist/geometryEngineAsync-55aa6170.js +217 -0
- package/dist/geometryEngineBase-527e8b63.js +18463 -0
- package/dist/geometryEngineJSON-28087174.js +46 -0
- package/dist/geometryEngineJSON-d54949f9.js +171 -0
- package/dist/geometryEngineWorker-dc2c7127.js +11 -0
- package/dist/geometryServiceUtils-6a3e1e93.js +28 -0
- package/dist/georeference-ed8b2c30.js +291 -0
- package/dist/gif-204e82dd.js +323 -0
- package/dist/glUtil-8f8bce6b.js +19 -0
- package/dist/gltfexport-b2566542.js +705 -0
- package/dist/groupLayerUtils-ea9e6359.js +39 -0
- package/dist/guid-5ee54248.js +17 -0
- package/dist/he_IL-e34cf273.js +18 -0
- package/dist/heatmapUtils-56758920.js +45 -0
- package/dist/highlightReasons-de432106.js +19 -0
- package/dist/hr_HR-6a124f87.js +18 -0
- package/dist/hu_HU-58f3feb6.js +18 -0
- package/dist/hydrated-0e1c7565.js +40 -0
- package/dist/i3s-bb0b5b67.js +809 -0
- package/dist/icon-c6e3bd23.js +127 -0
- package/dist/id_ID-18d97715.js +18 -0
- package/dist/imageBitmapUtils-881d8c64.js +23 -0
- package/dist/imageUtils-57eeedc5.js +69 -0
- package/dist/imageUtils-ef69c578.js +89 -0
- package/dist/imageryUtils-23f51cb1.js +43 -0
- package/dist/index-01c737ed.js +42563 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +22 -10177
- package/dist/infoFor3D-bf4e6c95.js +58 -0
- package/dist/input-message-673a9baa.js +92 -0
- package/dist/input2-bbf6454e.js +575 -0
- package/dist/interactive-aeb2cb9f.js +80 -0
- package/dist/interfaces-fac3cfda.js +7 -0
- package/dist/it_IT-49e70bbf.js +6 -0
- package/dist/ja_JP-eaef2cc3.js +18 -0
- package/dist/json-5febf88a.js +57 -0
- package/dist/jsonContext-2dc288b1.js +15 -0
- package/dist/jsonUtils-1abd4bfc.js +59 -0
- package/dist/jsonUtils-913fa1bd.js +86 -0
- package/dist/jsonUtils-f6a5e63b.js +476 -0
- package/dist/kmlUtils-7c2744fe.js +112 -0
- package/dist/knowledgeGraphService-6a349e04.js +739 -0
- package/dist/knowledgegraph-c91b0bb2.js +149 -0
- package/dist/ko_KR-5c972fd8.js +14 -0
- package/dist/label2-1ab25f27.js +90 -0
- package/dist/labelUtils-a3634e8f.js +61 -0
- package/dist/labelingInfo-568c9210.js +46 -0
- package/dist/layerViewUtils-052e603c.js +10 -0
- package/dist/layersCreator-4a5366ea.js +151 -0
- package/dist/layersLoader-b87d4857.js +197 -0
- package/dist/lazyLayerLoader-8817000c.js +10 -0
- package/dist/lclayout-64c67b4e.js +773 -0
- package/dist/lengthUtils-695e744c.js +5 -0
- package/dist/lerc-wasm-13192bf3.js +325 -0
- package/dist/libtess-asm-4883179d.js +3673 -0
- package/dist/libtess-fc70d1ce.js +269 -0
- package/dist/lineSegment-3aa941f5.js +76 -0
- package/dist/loadGLTFMesh-db6645f5.js +181 -0
- package/dist/loadable-266f324b.js +24 -0
- package/dist/loader-d1ce1bc1.js +79 -0
- package/dist/lt_LT-26f13fd1.js +6 -0
- package/dist/lv_LV-4feafa92.js +18 -0
- package/dist/lyr3DWorker-dd48e619.js +2108 -0
- package/dist/mapViewDeps-226d9da3.js +3052 -0
- package/dist/mask-svg-30f64a7b.js +4 -0
- package/dist/mat3f64-03233387.js +19 -0
- package/dist/mat4f64-cce69db4.js +19 -0
- package/dist/mediaLayerUtils-ae485c27.js +35 -0
- package/dist/meshFeatureSet-8a2ad011.js +126 -0
- package/dist/meshVertexSpaceUtils-6efe3dcc.js +58 -0
- package/dist/multiOriginJSONSupportUtils-207ba4d4.js +6 -0
- package/dist/multidimensionalUtils-508a3f3f.js +290 -0
- package/dist/nb_NO-21543153.js +18 -0
- package/dist/nl_NL-7876d97f.js +7 -0
- package/dist/normalizeUtilsSync-1dae280b.js +181 -0
- package/dist/number-5aa3a81b.js +128 -0
- package/dist/objectIdUtils-93dae423.js +14 -0
- package/dist/objectResourceUtils-642ab03e.js +1455 -0
- package/dist/observers-f646a6a4.js +30 -0
- package/dist/ogcFeatureUtils-46ac1c44.js +206 -0
- package/dist/openCloseComponent-47eb52c6.js +37 -0
- package/dist/orientedBoundingBox-554ccdc6.js +447 -0
- package/dist/originUtils-87edf087.js +9 -0
- package/dist/overlay-svg-c3941b3b.js +4 -0
- package/dist/parser-0701286c.js +488 -0
- package/dist/pbf-5dd791f5.js +215 -0
- package/dist/pbfQueryUtils-a6ca7e23.js +422 -0
- package/dist/pe-wasm-6c16b121.js +887 -0
- package/dist/persistable-9eb0e8df.js +89 -0
- package/dist/perspectiveUtils-b194621d.js +42 -0
- package/dist/pieChart-b97433d0.js +555 -0
- package/dist/pl_PL-276c6dae.js +18 -0
- package/dist/plane-3398eec1.js +160 -0
- package/dist/popupUtils-c444b896.js +22 -0
- package/dist/popupUtils-d871563b.js +50 -0
- package/dist/portalItemUtils-4c4caad0.js +57 -0
- package/dist/portalLayers-cb07742f.js +312 -0
- package/dist/portalUtils-effd590f.js +7 -0
- package/dist/programUtils-65af7b7c.js +59 -0
- package/dist/project-ee9c2947.js +21 -0
- package/dist/projectPointToVector-7dc831a9.js +14 -0
- package/dist/projectVectorToVector-5163db7a.js +13 -0
- package/dist/pt_BR-4fae3055.js +6 -0
- package/dist/pt_PT-14d9efb1.js +6 -0
- package/dist/quantityUtils-5cd4cf90.js +33 -0
- package/dist/quantizationUtils-0a8f74c6.js +68 -0
- package/dist/quat-a508aed3.js +104 -0
- package/dist/quatf64-bec1af25.js +19 -0
- package/dist/query-b6e1fd14.js +89 -0
- package/dist/queryAttachments-7b39ebdc.js +39 -0
- package/dist/queryEngineUtils-cb8e309e.js +21 -0
- package/dist/queryTopFeatures-2e0e3941.js +50 -0
- package/dist/queryZScale-c5733d0a.js +12 -0
- package/dist/rasterProjectionHelper-213afa27.js +577 -0
- package/dist/rasterUtils-f2e44e8b.js +122 -0
- package/dist/rasterizingUtils-25cc0190.js +46 -0
- package/dist/request-e0c679b3.js +46 -0
- package/dist/requestImageUtils-37d79281.js +8 -0
- package/dist/resourceExtension-5f3f1c80.js +17 -0
- package/dist/resourceUtils-0d68cbc2.js +69 -0
- package/dist/resourceUtils-374db840.js +62 -0
- package/dist/resourceUtils-43ce192b.js +42 -0
- package/dist/ro_RO-8e733cf5.js +18 -0
- package/dist/ru_RU-f7bafc90.js +6 -0
- package/dist/saveAPIKeyUtils-1a3d4a8a.js +8 -0
- package/dist/saveUtils-43fdc547.js +24 -0
- package/dist/scaleUtils-bdf8b6cb.js +23 -0
- package/dist/scrim-44eb4dc0.js +114 -0
- package/dist/serviceCapabilitiesUtils-823612b8.js +64 -0
- package/dist/sizeVariableUtils-a1b694d8.js +27 -0
- package/dist/sk_SK-c279eea3.js +6 -0
- package/dist/sl_SL-e40950dd.js +6 -0
- package/dist/sourceUtils-01d115c6.js +71 -0
- package/dist/sphere-908cd9aa.js +199 -0
- package/dist/sr_RS-b1835dfa.js +18 -0
- package/dist/statsWorker-49f9befe.js +37 -0
- package/dist/streamLayerUtils-29324e05.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-82e8da52.js +75 -0
- package/dist/styleUtils-8541d60d.js +14 -0
- package/dist/sublayerUtils-eaac2486.js +37 -0
- package/dist/substitute-1f578d70.js +52 -0
- package/dist/sv_SE-15ca9e36.js +6 -0
- package/dist/symbolColorUtils-18fd6b3d.js +8 -0
- package/dist/symbolLayerUtils-4c58b291.js +31 -0
- package/dist/symbologySnappingCandidates-14d94b6b.js +221 -0
- package/dist/t9n-c1c2b6c8.js +349 -0
- package/dist/testSVGPremultipliedAlpha-159dac90.js +94 -0
- package/dist/th_TH-bf624a56.js +18 -0
- package/dist/tileUtils-3e0c8c1d.js +7 -0
- package/dist/timeSupport-3f529cdb.js +410 -0
- package/dist/tr_TR-ca5c315f.js +18 -0
- package/dist/triangle-8a3a2ba8.js +98 -0
- package/dist/types-adba9034.js +19 -0
- package/dist/uk_UA-4b3cb86d.js +6 -0
- package/dist/unitConversionUtils-f0ebaf75.js +17 -0
- package/dist/unitFormatUtils-555e2d94.js +40 -0
- package/dist/uploadAssetErrors-d1389781.js +70 -0
- package/dist/uploadAssets-5e85f09d.js +330 -0
- package/dist/utils-3a10b10c.js +34 -0
- package/dist/utils-505c54e9.js +91 -0
- package/dist/utils-5432e258.js +433 -0
- package/dist/utils-7a88ec6a.js +419 -0
- package/dist/utils-7fa9cdf9.js +2746 -0
- package/dist/utils-d252c575.js +73 -0
- package/dist/utils-f07e00b3.js +232 -0
- package/dist/utils-fda10b4b.js +79 -0
- package/dist/utils3-c34ab97c.js +75 -0
- package/dist/vec3-f79c600d.js +81 -0
- package/dist/vec3f32-304a6a9c.js +36 -0
- package/dist/vec42-36edeb73.js +125 -0
- package/dist/vec4f32-b2628ced.js +38 -0
- package/dist/vec4f64-043e974c.js +45 -0
- package/dist/versionUtils-6935648b.js +161 -0
- package/dist/vi_VN-ad09e708.js +18 -0
- package/dist/visualVariableUtils-c425461a.js +267 -0
- package/dist/webStyleSymbolUtils-4f42a29f.js +48 -0
- package/dist/webglDeps-5f18210d.js +23 -0
- package/dist/wfsUtils-6f7f1e3e.js +343 -0
- package/dist/workerHelper-9dc9a790.js +11 -0
- package/dist/xmlUtils-64cc47e1.js +24 -0
- package/dist/xyChart-e5648fee.js +3335 -0
- package/dist/zh_Hans-61faef57.js +14 -0
- package/dist/zh_Hant-87a9767b.js +14 -0
- package/dist/zipjs-wrapper-1bd67e07.js +6496 -0
- package/package.json +6 -1
|
@@ -0,0 +1,905 @@
|
|
|
1
|
+
import { bu as ge, ad as h, e as n, y as o, eV as fe, db as W, c as j, bx as S, ea as P, c5 as z, bz as b, c2 as me, a$ as ye, dS as Bt, z as zt, a9 as Ut, aa as Rt, dW as De, bK as Ht, eJ as q, ei as kt, fS as pe, s as de, c7 as ut, ey as Zt, b3 as Se, b0 as Et, c$ as Pt, W as v, c6 as Vt, c4 as Gt, ew as Jt, ev as Ot, U as J, bR as Wt, bv as Ft, bw as _t, dk as $t } from "./index-01c737ed.js";
|
|
2
|
+
import { p as pt } from "./multidimensionalUtils-508a3f3f.js";
|
|
3
|
+
import { e as k, h as Kt, f as Qt, p as Xt, u as Z } from "./dataUtils-7c276b73.js";
|
|
4
|
+
import { v as dt, j as Mt, b as gt, c as mt, w as Ie, d as tt, A as Ze, e as it } from "./UniqueValueRenderer-eaa5f8a6.js";
|
|
5
|
+
import { p as qt } from "./ColorStop-7187f368.js";
|
|
6
|
+
import { e as Te, f as le, i as Yt, j as ei, o as Ee, u as yt, t as It, k as ti, l as ii, p as ai, a as ri } from "./RasterSymbolizer-fbf433fe.js";
|
|
7
|
+
import { m as wt, p as ht, a as At } from "./colorRamps-8792655e.js";
|
|
8
|
+
import { getAllSizes as ni, getRotationAngle as oi } from "./visualVariableUtils-c425461a.js";
|
|
9
|
+
import { R as si, D as li } from "./utils-f07e00b3.js";
|
|
10
|
+
import "./ClassBreaksDefinition-07ba0c64.js";
|
|
11
|
+
import { d as ci } from "./FeatureSet-d79f0e48.js";
|
|
12
|
+
var Ce;
|
|
13
|
+
const re = new ge({ flow_from: "flow-from", flow_to: "flow-to" });
|
|
14
|
+
let A = Ce = class extends dt(S) {
|
|
15
|
+
constructor(e) {
|
|
16
|
+
super(e), this.density = 0.8, this.color = new h([255, 255, 255, 1]), this.maxPathLength = 200, this.trailWidth = 1.5, this.flowSpeed = 10, this.trailLength = 100, this.smoothing = 0, this.flowRepresentation = "flow-from", this.type = "flow", this.authoringInfo = null, this.legendOptions = null, this.trailCap = "butt", this.background = "none";
|
|
17
|
+
}
|
|
18
|
+
clone() {
|
|
19
|
+
var N, p;
|
|
20
|
+
const { density: e, maxPathLength: t, trailWidth: a, flowSpeed: i, trailLength: r, smoothing: s, flowRepresentation: l, trailCap: u, background: y } = this, c = this.color.clone(), w = (this.visualVariables || []).map((d) => d.clone()), M = (N = this.authoringInfo) == null ? void 0 : N.clone(), U = (p = this.legendOptions) == null ? void 0 : p.clone();
|
|
21
|
+
return new Ce({ density: e, color: c, maxPathLength: t, trailWidth: a, flowSpeed: i, trailLength: r, trailCap: u, background: y, smoothing: s, flowRepresentation: l, visualVariables: w, authoringInfo: M, legendOptions: U });
|
|
22
|
+
}
|
|
23
|
+
getSymbol(e, t) {
|
|
24
|
+
}
|
|
25
|
+
async getSymbolAsync(e, t) {
|
|
26
|
+
}
|
|
27
|
+
getSymbols() {
|
|
28
|
+
return [];
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
n([o({ type: Number, json: { write: !0 } })], A.prototype, "density", void 0), n([o({ type: h, json: { write: { allowNull: !0 } } })], A.prototype, "color", void 0), n([o({ type: Number, cast: fe, json: { write: !0 } })], A.prototype, "maxPathLength", void 0), n([o({ type: Number, cast: fe, json: { write: !0 } })], A.prototype, "trailWidth", void 0), n([o({ type: Number, json: { write: !0 } })], A.prototype, "flowSpeed", void 0), n([o({ type: Number, json: { write: !0 } })], A.prototype, "trailLength", void 0), n([o({ type: Number, cast: fe, json: { write: !1 } })], A.prototype, "smoothing", void 0), n([o({ type: re.apiValues, json: { type: re.jsonValues, read: { reader: re.read }, write: { writer: re.write } } })], A.prototype, "flowRepresentation", void 0), n([W({ flowRenderer: "flow" })], A.prototype, "type", void 0), n([o({ type: Mt, json: { write: !0 } })], A.prototype, "authoringInfo", void 0), n([o({ type: qt, json: { write: !0 } })], A.prototype, "legendOptions", void 0), n([o({ type: String, json: { write: !0 } })], A.prototype, "trailCap", void 0), n([o({ type: String, json: { write: !0 } })], A.prototype, "background", void 0), A = Ce = n([j("esri.renderers.FlowRenderer")], A);
|
|
32
|
+
const ft = A;
|
|
33
|
+
let O = class extends S {
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments), this.value = null, this.label = null, this.color = null;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
n([o({ type: Number, json: { write: !0 } })], O.prototype, "value", void 0), n([o({ type: String, json: { write: !0 } })], O.prototype, "label", void 0), n([o({ type: h, json: { type: [P], write: !0 } })], O.prototype, "color", void 0), O = n([j("esri.renderers.support.ColormapInfo")], O);
|
|
39
|
+
const Dt = O;
|
|
40
|
+
var $;
|
|
41
|
+
let K = $ = class extends S {
|
|
42
|
+
constructor(e) {
|
|
43
|
+
super(e), this.colormapInfos = null, this.type = "raster-colormap";
|
|
44
|
+
}
|
|
45
|
+
static createFromColormap(e, t) {
|
|
46
|
+
if (!e)
|
|
47
|
+
return null;
|
|
48
|
+
const a = e[0].length === 5, i = [...e].sort((r, s) => r[0] - s[0]).map((r) => Dt.fromJSON({ value: r[0], color: a ? r.slice(1, 5) : r.slice(1, 4).concat([255]), label: t ? t[r[0]] ?? "" : r[0] }));
|
|
49
|
+
return new $({ colormapInfos: i });
|
|
50
|
+
}
|
|
51
|
+
static createFromColorramp(e) {
|
|
52
|
+
const t = Te(e);
|
|
53
|
+
return $.createFromColormap(t);
|
|
54
|
+
}
|
|
55
|
+
clone() {
|
|
56
|
+
return new $({ colormapInfos: this.colormapInfos.map((e) => e.toJSON()) });
|
|
57
|
+
}
|
|
58
|
+
extractColormap() {
|
|
59
|
+
return this.colormapInfos.map(({ value: e, color: t }) => [e, t.r, t.g, t.b, t.a > 1 ? t.a : 255 * t.a & 255]).sort((e, t) => e[0] - t[0]);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
n([o({ type: [Dt], json: { write: !0 } })], K.prototype, "colormapInfos", void 0), n([W({ rasterColormap: "raster-colormap" })], K.prototype, "type", void 0), K = $ = n([j("esri.renderers.RasterColormapRenderer")], K);
|
|
63
|
+
const Pe = K;
|
|
64
|
+
var Ne;
|
|
65
|
+
let C = Ne = class extends S {
|
|
66
|
+
constructor(e) {
|
|
67
|
+
super(e), this.altitude = 45, this.azimuth = 315, this.colorRamp = null, this.hillshadeType = "traditional", this.pixelSizePower = 0.664, this.pixelSizeFactor = 0.024, this.scalingType = "none", this.type = "raster-shaded-relief", this.zFactor = 1;
|
|
68
|
+
}
|
|
69
|
+
readColorRamp(e) {
|
|
70
|
+
return ht(e);
|
|
71
|
+
}
|
|
72
|
+
clone() {
|
|
73
|
+
return new Ne({ hillshadeType: this.hillshadeType, altitude: this.altitude, azimuth: this.azimuth, zFactor: this.zFactor, scalingType: this.scalingType, pixelSizeFactor: this.pixelSizeFactor, pixelSizePower: this.pixelSizePower, colorRamp: b(this.colorRamp) });
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
n([o({ type: Number, json: { write: !0 } })], C.prototype, "altitude", void 0), n([o({ type: Number, json: { write: !0 } })], C.prototype, "azimuth", void 0), n([o({ types: wt, json: { write: !0 } })], C.prototype, "colorRamp", void 0), n([z("colorRamp")], C.prototype, "readColorRamp", null), n([o({ type: ["traditional", "multi-directional"], json: { write: !0 } })], C.prototype, "hillshadeType", void 0), n([o({ type: Number, json: { write: !0 } })], C.prototype, "pixelSizePower", void 0), n([o({ type: Number, json: { write: !0 } })], C.prototype, "pixelSizeFactor", void 0), n([o({ type: ["none", "adjusted"], json: { write: !0 } })], C.prototype, "scalingType", void 0), n([W({ rasterShadedRelief: "raster-shaded-relief" })], C.prototype, "type", void 0), n([o({ type: Number, json: { write: !0 } })], C.prototype, "zFactor", void 0), C = Ne = n([j("esri.renderers.RasterShadedReliefRenderer")], C);
|
|
77
|
+
const bt = C;
|
|
78
|
+
var Le;
|
|
79
|
+
let g = Le = class extends S {
|
|
80
|
+
constructor(e) {
|
|
81
|
+
super(e), this.colorRamp = null, this.computeGamma = !1, this.dynamicRangeAdjustment = !1, this.gamma = [], this.maxPercent = null, this.minPercent = null, this.numberOfStandardDeviations = null, this.outputMax = null, this.outputMin = null, this.sigmoidStrengthLevel = null, this.statistics = [], this.histograms = null, this.useGamma = !1, this.stretchType = "none", this.type = "raster-stretch";
|
|
82
|
+
}
|
|
83
|
+
readColorRamp(e) {
|
|
84
|
+
if (e)
|
|
85
|
+
return ht(e);
|
|
86
|
+
}
|
|
87
|
+
writeStatistics(e, t, a) {
|
|
88
|
+
e != null && e.length && (Array.isArray(e[0]) || (e = e.map((i) => [i.min, i.max, i.avg, i.stddev])), t[a] = e);
|
|
89
|
+
}
|
|
90
|
+
readStretchType(e, t) {
|
|
91
|
+
let a = t.stretchType;
|
|
92
|
+
return typeof a == "number" && (a = Yt[a]), le.read(a);
|
|
93
|
+
}
|
|
94
|
+
clone() {
|
|
95
|
+
return new Le({ stretchType: this.stretchType, outputMin: this.outputMin, outputMax: this.outputMax, useGamma: this.useGamma, computeGamma: this.computeGamma, statistics: b(this.statistics), gamma: b(this.gamma), sigmoidStrengthLevel: this.sigmoidStrengthLevel, numberOfStandardDeviations: this.numberOfStandardDeviations, minPercent: this.minPercent, maxPercent: this.maxPercent, colorRamp: b(this.colorRamp), histograms: b(this.histograms), dynamicRangeAdjustment: this.dynamicRangeAdjustment });
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
n([o({ types: wt, json: { write: !0 } })], g.prototype, "colorRamp", void 0), n([z("colorRamp")], g.prototype, "readColorRamp", null), n([o({ type: Boolean, json: { write: !0 } })], g.prototype, "computeGamma", void 0), n([o({ type: Boolean, json: { write: { target: "dra" }, read: { source: "dra" } } })], g.prototype, "dynamicRangeAdjustment", void 0), n([o({ type: [Number], json: { write: !0 } })], g.prototype, "gamma", void 0), n([o({ type: Number, json: { write: !0 } })], g.prototype, "maxPercent", void 0), n([o({ type: Number, json: { write: !0 } })], g.prototype, "minPercent", void 0), n([o({ type: Number, json: { write: !0 } })], g.prototype, "numberOfStandardDeviations", void 0), n([o({ type: Number, json: { read: { source: "max" }, write: { target: "max" } } })], g.prototype, "outputMax", void 0), n([o({ type: Number, json: { read: { source: "min" }, write: { target: "min" } } })], g.prototype, "outputMin", void 0), n([o({ type: Number, json: { write: !0 } })], g.prototype, "sigmoidStrengthLevel", void 0), n([o({ json: { type: [[Number]], write: !0 } })], g.prototype, "statistics", void 0), n([o()], g.prototype, "histograms", void 0), n([me("statistics")], g.prototype, "writeStatistics", null), n([o({ type: Boolean, json: { write: !0 } })], g.prototype, "useGamma", void 0), n([o({ type: le.apiValues, json: { type: le.jsonValues, write: le.write } })], g.prototype, "stretchType", void 0), n([z("stretchType", ["stretchType"])], g.prototype, "readStretchType", null), n([W({ rasterStretch: "raster-stretch" })], g.prototype, "type", void 0), g = Le = n([j("esri.renderers.RasterStretchRenderer")], g);
|
|
99
|
+
const Ve = g;
|
|
100
|
+
var xe;
|
|
101
|
+
const at = /* @__PURE__ */ new Set(["esriMetersPerSecond", "esriKilometersPerHour", "esriKnots", "esriFeetPerSecond", "esriMilesPerHour"]), ne = new ge({ beaufort_ft: "beaufort-ft", beaufort_km: "beaufort-km", beaufort_kn: "beaufort-kn", beaufort_m: "beaufort-m", beaufort_mi: "beaufort-mi", classified_arrow: "classified-arrow", ocean_current_kn: "ocean-current-kn", ocean_current_m: "ocean-current-m", simple_scalar: "simple-scalar", single_arrow: "single-arrow", wind_speed: "wind-barb" }), oe = new ge({ flow_from: "flow-from", flow_to: "flow-to" });
|
|
102
|
+
let f = xe = class extends dt(S) {
|
|
103
|
+
constructor(e) {
|
|
104
|
+
super(e), this.attributeField = "Magnitude", this.flowRepresentation = "flow-from", this.rotationType = "arithmetic", this.style = "single-arrow", this.symbolTileSize = 50, this.type = "vector-field";
|
|
105
|
+
}
|
|
106
|
+
readInputUnit(e, t) {
|
|
107
|
+
return at.has(e) ? k.fromJSON(e) : null;
|
|
108
|
+
}
|
|
109
|
+
readOutputUnit(e, t) {
|
|
110
|
+
return at.has(e) ? k.fromJSON(e) : null;
|
|
111
|
+
}
|
|
112
|
+
get styleRenderer() {
|
|
113
|
+
const e = this.style, t = this.attributeField, a = this._createStyleRenderer(e);
|
|
114
|
+
return a.field = t, a;
|
|
115
|
+
}
|
|
116
|
+
get sizeVariables() {
|
|
117
|
+
const e = [];
|
|
118
|
+
if (this.visualVariables)
|
|
119
|
+
for (const t of this.visualVariables)
|
|
120
|
+
t.type === "size" && e.push(t);
|
|
121
|
+
if (e.length === 0) {
|
|
122
|
+
const t = new gt({ field: "Magnitude", minSize: 0.2 * this.symbolTileSize, maxSize: 0.8 * this.symbolTileSize });
|
|
123
|
+
this.visualVariables ? this.visualVariables.push(t) : this._set("visualVariables", [t]), e.push(t);
|
|
124
|
+
}
|
|
125
|
+
return e;
|
|
126
|
+
}
|
|
127
|
+
get rotationVariables() {
|
|
128
|
+
const e = [];
|
|
129
|
+
if (this.visualVariables)
|
|
130
|
+
for (const t of this.visualVariables)
|
|
131
|
+
t.type === "rotation" && e.push(t);
|
|
132
|
+
if (e.length === 0) {
|
|
133
|
+
const t = new mt({ field: "Direction", rotationType: this.rotationType });
|
|
134
|
+
this.visualVariables ? this.visualVariables.push(t) : this._set("visualVariables", [t]), e.push(t);
|
|
135
|
+
}
|
|
136
|
+
return e;
|
|
137
|
+
}
|
|
138
|
+
clone() {
|
|
139
|
+
return new xe({ attributeField: this.attributeField, flowRepresentation: this.flowRepresentation, rotationType: this.rotationType, symbolTileSize: this.symbolTileSize, style: this.style, visualVariables: b(this.visualVariables), inputUnit: this.inputUnit, outputUnit: this.outputUnit });
|
|
140
|
+
}
|
|
141
|
+
async getGraphicsFromPixelData(e, t = !1, a = []) {
|
|
142
|
+
var U;
|
|
143
|
+
const i = new Array(), r = Kt(this.inputUnit, this.outputUnit), s = ((U = this.rotationVariables[0]) == null ? void 0 : U.rotationType) || this.rotationType, l = t ? Qt(e.pixelBlock, "vector-uv", s, r) : Xt(e.pixelBlock, "vector-magdir", r);
|
|
144
|
+
if (l == null)
|
|
145
|
+
return i;
|
|
146
|
+
const u = e.extent, y = l.mask != null && l.mask.length > 0;
|
|
147
|
+
let c = 0;
|
|
148
|
+
const w = (u.xmax - u.xmin) / l.width, M = (u.ymax - u.ymin) / l.height;
|
|
149
|
+
for (let N = 0; N < l.height; N++)
|
|
150
|
+
for (let p = 0; p < l.width; p++, c++) {
|
|
151
|
+
let d = new ye({ x: u.xmin + p * w + w / 2, y: u.ymax - N * M - M / 2, spatialReference: u.spatialReference });
|
|
152
|
+
d = (await Bt(d))[0];
|
|
153
|
+
const L = a.some((B) => B.intersects(d));
|
|
154
|
+
if ((!y || l.mask[c]) && !L) {
|
|
155
|
+
const B = { Magnitude: l.pixels[0][c], Direction: l.pixels[1][c] }, R = new zt({ geometry: { type: "point", x: d.x, y: d.y, spatialReference: u.spatialReference }, attributes: B });
|
|
156
|
+
R.symbol = this._getVisualVariablesAppliedSymbol(R), i.push(R);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return i;
|
|
160
|
+
}
|
|
161
|
+
getSymbol(e, t) {
|
|
162
|
+
}
|
|
163
|
+
async getSymbolAsync(e, t) {
|
|
164
|
+
}
|
|
165
|
+
getSymbols() {
|
|
166
|
+
return [];
|
|
167
|
+
}
|
|
168
|
+
getClassBreakInfos() {
|
|
169
|
+
var e;
|
|
170
|
+
return (e = this.styleRenderer) == null ? void 0 : e.classBreakInfos;
|
|
171
|
+
}
|
|
172
|
+
getDefaultSymbol() {
|
|
173
|
+
var e;
|
|
174
|
+
return (e = this.styleRenderer) == null ? void 0 : e.defaultSymbol;
|
|
175
|
+
}
|
|
176
|
+
_getDefaultSymbol(e) {
|
|
177
|
+
return new Ut({ path: "M14,32 14,18 9,23 16,3 22,23 17,18 17,32 z", outline: new Rt({ width: 0 }), size: 20, color: e || new h([0, 92, 230]) });
|
|
178
|
+
}
|
|
179
|
+
_getVisualVariablesAppliedSymbol(e) {
|
|
180
|
+
var r, s;
|
|
181
|
+
if (!e)
|
|
182
|
+
return;
|
|
183
|
+
const t = (s = (r = this.styleRenderer) == null ? void 0 : r.getSymbol(e)) == null ? void 0 : s.clone(), a = this.sizeVariables, i = this.rotationVariables;
|
|
184
|
+
if (a && a.length && this.sizeVariables.forEach((l) => si(t, ni([l], e))), i && i.length) {
|
|
185
|
+
const l = this.flowRepresentation === "flow-to" == (this.style === "ocean-current-kn" || this.style === "ocean-current-m") ? 0 : 180;
|
|
186
|
+
e.attributes.Direction = e.attributes.Direction + l, this.rotationVariables.forEach((u) => li(t, oi(u, e), u.axis));
|
|
187
|
+
}
|
|
188
|
+
return t;
|
|
189
|
+
}
|
|
190
|
+
_createStyleRenderer(e) {
|
|
191
|
+
let t = { defaultSymbol: this._getDefaultSymbol(), classBreakInfos: [] };
|
|
192
|
+
switch (e) {
|
|
193
|
+
case "single-arrow":
|
|
194
|
+
t = this._createSingleArrowRenderer();
|
|
195
|
+
break;
|
|
196
|
+
case "beaufort-kn":
|
|
197
|
+
t = this._createBeaufortKnotsRenderer();
|
|
198
|
+
break;
|
|
199
|
+
case "beaufort-m":
|
|
200
|
+
t = this._createBeaufortMeterRenderer();
|
|
201
|
+
break;
|
|
202
|
+
case "beaufort-ft":
|
|
203
|
+
t = this._createBeaufortFeetRenderer();
|
|
204
|
+
break;
|
|
205
|
+
case "beaufort-mi":
|
|
206
|
+
t = this._createBeaufortMilesRenderer();
|
|
207
|
+
break;
|
|
208
|
+
case "beaufort-km":
|
|
209
|
+
t = this._createBeaufortKilometersRenderer();
|
|
210
|
+
break;
|
|
211
|
+
case "ocean-current-m":
|
|
212
|
+
t = this._createCurrentMeterRenderer();
|
|
213
|
+
break;
|
|
214
|
+
case "ocean-current-kn":
|
|
215
|
+
t = this._createCurrentKnotsRenderer();
|
|
216
|
+
break;
|
|
217
|
+
case "simple-scalar":
|
|
218
|
+
t = this._createSimpleScalarRenderer();
|
|
219
|
+
break;
|
|
220
|
+
case "wind-barb":
|
|
221
|
+
t = this._createWindBarbsRenderer();
|
|
222
|
+
break;
|
|
223
|
+
case "classified-arrow":
|
|
224
|
+
t = this._createClassifiedArrowRenderer();
|
|
225
|
+
}
|
|
226
|
+
return new Ie(t);
|
|
227
|
+
}
|
|
228
|
+
_createSingleArrowRenderer() {
|
|
229
|
+
return { defaultSymbol: this._getDefaultSymbol() };
|
|
230
|
+
}
|
|
231
|
+
_createBeaufortKnotsRenderer() {
|
|
232
|
+
const e = [0, 1, 3, 6, 10, 16, 21, 27, 33, 40, 47, 55, 63], t = [[40, 146, 199], [89, 162, 186], [129, 179, 171], [160, 194, 155], [191, 212, 138], [218, 230, 119], [250, 250, 100], [252, 213, 83], [252, 179, 102], [250, 141, 52], [247, 110, 42], [240, 71, 29]];
|
|
233
|
+
return { defaultSymbol: this._getDefaultSymbol(new h([214, 47, 39])), classBreakInfos: this._getClassBreaks(e, t) };
|
|
234
|
+
}
|
|
235
|
+
_createBeaufortMeterRenderer() {
|
|
236
|
+
const e = [0, 0.2, 1.8, 3.3, 5.4, 8.5, 11, 14.1, 17.2, 20.8, 24.4, 28.6, 32.7], t = [[69, 117, 181], [101, 137, 184], [132, 158, 186], [162, 180, 189], [192, 204, 190], [222, 227, 191], [255, 255, 191], [255, 220, 161], [250, 185, 132], [245, 152, 105], [237, 117, 81], [232, 21, 21]];
|
|
237
|
+
return { defaultSymbol: this._getDefaultSymbol(new h([214, 47, 39])), classBreakInfos: this._getClassBreaks(e, t) };
|
|
238
|
+
}
|
|
239
|
+
_createBeaufortFeetRenderer() {
|
|
240
|
+
const e = this._getDefaultSymbol(new h([214, 47, 39]));
|
|
241
|
+
let t = [0, 0.2, 1.8, 3.3, 5.4, 8.5, 11, 14.1, 17.2, 20.8, 24.4, 28.6, 32.7];
|
|
242
|
+
const a = [[69, 117, 181], [101, 137, 184], [132, 158, 186], [162, 180, 189], [192, 204, 190], [222, 227, 191], [255, 255, 191], [255, 220, 161], [250, 185, 132], [245, 152, 105], [237, 117, 81], [232, 21, 21]], i = 3.28084;
|
|
243
|
+
return t = t.map((r) => r * i), { defaultSymbol: e, classBreakInfos: this._getClassBreaks(t, a) };
|
|
244
|
+
}
|
|
245
|
+
_createBeaufortMilesRenderer() {
|
|
246
|
+
const e = this._getDefaultSymbol(new h([214, 47, 39]));
|
|
247
|
+
let t = [0, 0.2, 1.8, 3.3, 5.4, 8.5, 11, 14.1, 17.2, 20.8, 24.4, 28.6, 32.7];
|
|
248
|
+
const a = [[69, 117, 181], [101, 137, 184], [132, 158, 186], [162, 180, 189], [192, 204, 190], [222, 227, 191], [255, 255, 191], [255, 220, 161], [250, 185, 132], [245, 152, 105], [237, 117, 81], [232, 21, 21]], i = 2.23694;
|
|
249
|
+
return t = t.map((r) => r * i), { defaultSymbol: e, classBreakInfos: this._getClassBreaks(t, a) };
|
|
250
|
+
}
|
|
251
|
+
_createBeaufortKilometersRenderer() {
|
|
252
|
+
const e = this._getDefaultSymbol(new h([214, 47, 39]));
|
|
253
|
+
let t = [0, 0.2, 1.8, 3.3, 5.4, 8.5, 11, 14.1, 17.2, 20.8, 24.4, 28.6, 32.7];
|
|
254
|
+
const a = [[69, 117, 181], [101, 137, 184], [132, 158, 186], [162, 180, 189], [192, 204, 190], [222, 227, 191], [255, 255, 191], [255, 220, 161], [250, 185, 132], [245, 152, 105], [237, 117, 81], [232, 21, 21]], i = 3.6;
|
|
255
|
+
return t = t.map((r) => r * i), { defaultSymbol: e, classBreakInfos: this._getClassBreaks(t, a) };
|
|
256
|
+
}
|
|
257
|
+
_createCurrentMeterRenderer() {
|
|
258
|
+
const e = [0, 0.5, 1, 1.5, 2], t = [[78, 26, 153], [179, 27, 26], [202, 128, 26], [177, 177, 177]];
|
|
259
|
+
return { defaultSymbol: this._getDefaultSymbol(new h([177, 177, 177])), classBreakInfos: this._getClassBreaks(e, t) };
|
|
260
|
+
}
|
|
261
|
+
_createCurrentKnotsRenderer() {
|
|
262
|
+
const e = [0, 0.25, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4], t = [[0, 0, 0], [0, 37, 100], [78, 26, 153], [151, 0, 100], [179, 27, 26], [177, 78, 26], [202, 128, 26], [177, 179, 52], [177, 177, 177]];
|
|
263
|
+
return { defaultSymbol: this._getDefaultSymbol(new h([177, 177, 177])), classBreakInfos: this._getClassBreaks(e, t) };
|
|
264
|
+
}
|
|
265
|
+
_createClassifiedArrowRenderer() {
|
|
266
|
+
var i;
|
|
267
|
+
const e = this._getDefaultSymbol(new h([56, 168, 0]));
|
|
268
|
+
let t = [0, 1e-6, 3.5, 7, 10.5, 14];
|
|
269
|
+
if ((i = this.sizeVariables) != null && i.length) {
|
|
270
|
+
const r = this.sizeVariables[0].minDataValue, s = this.sizeVariables[0].maxDataValue;
|
|
271
|
+
if (r && s) {
|
|
272
|
+
const l = (s - r) / 5;
|
|
273
|
+
t = Array.from(Array(6).keys()).map((u) => r + l * u);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
const a = [[56, 168, 0], [139, 309, 0], [255, 255, 0], [255, 128, 0], [255, 0, 0]];
|
|
277
|
+
return { defaultSymbol: e, classBreakInfos: this._getClassBreaks(t, a) };
|
|
278
|
+
}
|
|
279
|
+
_createSimpleScalarRenderer() {
|
|
280
|
+
return { defaultSymbol: De.fromJSON({ imageData: "iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAQAAABLVLlLAAAABGdBTUEAAYagMeiWXwAAAAJiS0dEAACqjSMyAAAACXBIWXMAAABIAAAASABGyWs+AAAC3ElEQVRIx9XXvW4cVRQH8N982btpsIREJECyiCXsxX4DKh6AliqGKCBBE2SlwlHgAbBD/AKmyEYUeQ1KahPZSZQvBCkQLTHZ7KGY8Xodz4w3a1NwbzVzz/znfJ//zbStVC5q3icKak9GAs2QIdDx3PtW/S011NW3p+M5Eomh11ipTIKe6+4LQzHaQ+G+63pIZNJJQXMpljwTwj1brpgx5w1zZlyx5Z4QnllEIm2xeeSUHBf0hV0bejo1Uh09G3aFvgXk7cCJFBc9EdaRVuHJJaOdKyTV2TVhYLMduNR0Q9gxL5GaaTDw8GzejrDRBpxWoGsySRW0dttKuattwNkIlFw2YXgzOdYq4Ox49PlM+JrKd5OusjTWhBuVxUfMX/KXXZ3WEmkuqa67wspR4BTbwtKr/5u4fFgStse/T7EifFPnnYl9zPq4vmUOPrRndgoHjDti1gOPqlyXoifcRNGQzUd31lDyfHmob1Gp35vSr+P6vilcQ5Egtyd8YF/ySg9NhPM+9M/IOaHwp5+PSZayXTvCogEUwlatC3J8LLwYtcWB8EuDXQVuCkV5/B4eNHb7wGBs87LBDS+xjdVSn09wq1G8dFM+9tSUhIGneLvUdniKxKpTYljCpu3j7rVWlHj/P23v4NPGUEyeCQnexe9lJjzEQqMjJs+EzNAX6B98dBZVRmroJx95x/A/6gln18EyfCUsl+qdXb/tjvfbw+mwforpUOBz4XLVoBwAn3aWnfeH246NyBXhrq7TTN5lNSP9RkU+puUJm3W2Tsdq0nZWM07srk7MwQrZSRysjjGWBLRJNsNbfj2JMR4AbxpU1XLAb9Mxfpsq5EjMuuiR8L0JiHOOBX3hiUvOmavN0nMueSzcceFk0BK4pMqLo7vDD1Z0qrtDx7Itt4Xwm9UqbMmk8S0Dtuzb2pvOU99Z1nLTOfleNmvfZfP2pYZmPfajwosKdDBNpacNpVGGsWX9CyDI8Xq/Sj6QAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTExLTEwVDAzOjE3OjU4LTA1OjAwF+tHyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMS0xMFQwMzoxNzo1OC0wNTowMGa2/3UAAAAASUVORK5CYII=", height: 20, width: 20, type: "esriPMS", angle: 0 }) };
|
|
281
|
+
}
|
|
282
|
+
_createWindBarbsRenderer() {
|
|
283
|
+
const e = Array.from(Array(31).keys()).map((r) => 5 * r), t = [{ range: "0-5", path: "M20 20 M5 20 A15 15 0 1 0 35 20 A15 15 0 1 0 5 20 M20 20 M10 20 A10 10 0 1 0 30 20 A10 10 0 1 0 10 20", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTIwIDIwIE01IDIwIEExNSAxNSAwIDEgMCAzNSAyMCBBMTUgMTUgMCAxIDAgNSAyMCBNMjAgMjAgTTEwIDIwIEExMCAxMCAwIDEgMCAzMCAyMCBBMTAgMTAgMCAxIDAgMTAgMjAiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "5-10", path: "M25 0 L25 40 M25 35 L17.5 37.5", imageData: "PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "10-15", path: "M25 0 L25 40 L10 45 L25 40", imageData: "PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "15-20", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L17.5 37.5", imageData: "PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjEyIDAgMTUgNDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "20-25", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40", imageData: "PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+" }, { range: "25-30", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L17.5 32.5", imageData: "PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIEwyNSAzNSBNMjUgMzAgTDE3LjUgMzIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "30-35", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "35-40", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "40-45", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "45-50", path: "M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "50-55", path: "M25 0 L25 40 L10 40 L25 35", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "55-60", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L17.5 32.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxNy41IDMyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "60-65", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "65-70", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "70-75", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "75-80", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "80-85", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "85-90", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L17.5 17.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxNy41IDE3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "90-95", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "95-100", path: "M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20 L25 15 M25 10 L17.5 12.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCBMMjUgMTUgTTI1IDEwIEwxNy41IDEyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }, { range: "100-105", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "105-110", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L17.5 27.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDE3LjUgMjcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "110-115", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+" }, { range: "115-120", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L17.5 22.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDE3LjUgMjIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "120-125", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+" }, { range: "125-130", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L17.5 17.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDE3LjUgMTcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "130-135", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+" }, { range: "135-140", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDE3LjUgMTIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg==" }, { range: "140-145", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+" }, { range: "145-150", path: "M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5", imageData: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IE0yNSAxMCBNMjUgNSBMMTcuNSA3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4=" }], a = De.fromJSON({ imageData: "iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAQAAADtq6NDAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAEY0lEQVRIx5XXWWxWRRQH8N+d+31tUdGAVjGglYJABFEBY91jfDAg7piYaFTccA++uMQEFRcSXlATtxiXqMQt4G4iisYl0ai4sIQYtVFZ1KIFKdTS0l4f7vRCS5fPebozc+bM/2z/Mzcx0AgSiUxXnKfIdMn875FIhX53U2n/B/s+kKM4UINTjTBZImixxnrv+9a2iL6zEoUBXcoudrWj/OtHm3wt02lfU9Qao9OnHvIhgmww84MEl1qnxfNmGrqHxAizLdPpC6chGcAxKGGcL+30gOERf1BSpUqVslQSV8d5ReZFe8VQ9avufJn31cWwlJV7iafKStGOE/1qvfH9qUxxu8ydUdmuSKbGO8YUdT2inKLG69pM70tliktl5qIkCAJGmusDG7Vqsc0WjZa4UBlBiA5YZIcjYzB7qDtH5kaUJFLs7RGZTZ42W4PRRmtwvbdt1+wGiaS4drEtDttdZYIDNVuAclR3vA3+dI3qHqmVSy7U6Tv1MScCPvPR7nIpFlsdCy3FdTLPGhK92e2CUITjMJ9ocwKxnsZqc3O3JwMma3d6UVLnyVxB4aXemZqvPqLdpJhW3KVVbY4yYImPo6M5Urv50fj+0z/FG9YaEiENs8UtMfXUaTeTePNHlhXfA1UU+2lyD1Il3Gtt9+adfpNG7dNlpg2U/T3KYLZ2dUWFdTgp3/rQ4sK973qnInV5TIf40x3dhvrJPBiqyWUo4wAtLqhQYS71qK+QKOFRywmGK/kpikzV6WMKhh58vGWs4TIJNjiEYLIuP8Tt4/zmLyqk+AyrJSbF+Qq1DgqRUPMxyl+9q3IQhX/rMCJ6tEunriDs1oSyQZKlr9AkhT2ZIARbJfaJS1vtVbHB+Rgi0RK/y1q1BWsEEyLoz40xtGKcARPVWB1BTPO7f4LNtpkUl1aoMbViLyZo0GRjPD3BxnxjqXeLYlvhqYrzMMG3HoyJXa3JjfnGlbYYFlP7Jh3qKsKY4hQ7TY0nG+xwRL61n63mxHtqNHosigyMLmClNwvuecFnOZB88nNBDzNkzhxEZaKMBVoKapggMzvHHXBEpNSSFAvtcFRsVn0bW8LlMmcXs+c0Kne3gRR32+zg4uXwjC6zit6Wt4a8LXVfcp/MtQXHn2ynGbuCmb8GvvFeJLEE82ReU9/n6+dkq2x3buG9Wn94smcgAw631RPR7BTH+kbmHReZoEpOdEe7zWqZl40s0JWs9Hmv7hjBHqPDwsjGKVJnWWqjbdZp1KhJi0aPmxYZsIRhlttgeF+Jlke41QcOQKoqilSb6HJzSvNG3G/UoWnxwsmt+sVaYwd63dRbqdnMyCPVeyRPvpYgdavM22oGKoMUVRbJfOWMwidJ8Zzb1UvmWK/VVUXzHaTjjrVYh1897HT7xxYEVUaa5SWb/WO+YUWa9SrwvigzM8YlzlYv2GSdVCYxxlBtVnnFq5olwp5/BEk/OLsf5LUmG2+inRJdVvjZ97ZH9/zP34ug1O91pf4p+D+JYBpvrKxfbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0xMS0xMFQwMzoxMjowOS0wNTowMB9ViV0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMTEtMTBUMDM6MTI6MDktMDU6MDBuCDHhAAAAAElFTkSuQmCC", height: 20, width: 20, type: "esriPMS", angle: 0 }), i = e.map((r, s) => {
|
|
284
|
+
let l;
|
|
285
|
+
if (s !== e.length - 1)
|
|
286
|
+
if (s === 0)
|
|
287
|
+
l = { minValue: r, maxValue: e[s + 1], symbol: a };
|
|
288
|
+
else {
|
|
289
|
+
const u = De.fromJSON({ type: "esriPMS", imageData: t[s].imageData, contentType: "image/svg+xml", height: 32, width: 32, angle: 0 });
|
|
290
|
+
l = { minValue: r, maxValue: e[s + 1], symbol: u };
|
|
291
|
+
}
|
|
292
|
+
return new tt(l);
|
|
293
|
+
});
|
|
294
|
+
return { defaultSymbol: a, classBreakInfos: i };
|
|
295
|
+
}
|
|
296
|
+
_getClassBreaks(e, t) {
|
|
297
|
+
return t.map((a, i) => new tt({ minValue: e[i], maxValue: e[i + 1], symbol: this._getDefaultSymbol(new h(a)) }));
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
n([o({ type: String, json: { write: !0 } })], f.prototype, "attributeField", void 0), n([o({ type: oe.apiValues, json: { type: oe.jsonValues, read: { reader: oe.read }, write: { writer: oe.write } } })], f.prototype, "flowRepresentation", void 0), n([o({ type: ["geographic", "arithmetic"], json: { write: !0 } })], f.prototype, "rotationType", void 0), n([o({ type: ne.apiValues, json: { type: ne.jsonValues, read: { reader: ne.read }, write: { writer: ne.write } } })], f.prototype, "style", void 0), n([o({ json: { write: !0 } })], f.prototype, "symbolTileSize", void 0), n([o({ type: k.apiValues, json: { type: k.jsonValues, write: { writer: k.write } } })], f.prototype, "inputUnit", void 0), n([z("inputUnit")], f.prototype, "readInputUnit", null), n([o({ type: k.apiValues, json: { type: k.jsonValues, read: { reader: k.read }, write: { writer: k.write } } })], f.prototype, "outputUnit", void 0), n([z("outputUnit")], f.prototype, "readOutputUnit", null), n([W({ vectorField: "vector-field" })], f.prototype, "type", void 0), n([o({ type: Ie })], f.prototype, "styleRenderer", null), n([o({ type: gt })], f.prototype, "sizeVariables", null), n([o({ type: mt })], f.prototype, "rotationVariables", null), f = xe = n([j("esri.renderers.VectorFieldRenderer")], f);
|
|
301
|
+
const Ge = f, rt = { key: "type", base: null, typeMap: { "unique-value": Ze, "class-breaks": Ie, "raster-colormap": Pe, "raster-stretch": Ve, "vector-field": Ge, "raster-shaded-relief": bt, flow: ft } }, nt = { ...rt, typeMap: { ...rt.typeMap } };
|
|
302
|
+
delete nt.typeMap["vector-field"], delete nt.typeMap.flow;
|
|
303
|
+
const ui = { uniqueValue: Ze, classBreaks: Ie, rasterStretch: Ve, rasterColormap: Pe, vectorField: Ge, rasterShadedRelief: bt, flowRenderer: ft };
|
|
304
|
+
function pi(e) {
|
|
305
|
+
return e && ui[e.type] || null;
|
|
306
|
+
}
|
|
307
|
+
function Wi(e, t) {
|
|
308
|
+
if (!e)
|
|
309
|
+
return null;
|
|
310
|
+
if (e.type === "classBreaks" && e.classificationMethod) {
|
|
311
|
+
const i = e.authoringInfo || { classificationMethod: "" };
|
|
312
|
+
i.classificationMethod = e.classificationMethod, e.authoringInfo = i;
|
|
313
|
+
}
|
|
314
|
+
e.type === "vectorField" && e.visualVariables && !Array.isArray(e.visualVariables) && (e.visualVariables = [e.visualVariables]);
|
|
315
|
+
const a = pi(e);
|
|
316
|
+
if (a) {
|
|
317
|
+
const i = new a();
|
|
318
|
+
return i.read(e, t), i;
|
|
319
|
+
}
|
|
320
|
+
return t != null && t.messages && e && t.messages.push(new Ht("renderer:unsupported", "Renderers of type '" + (e.type || "unknown") + "' are not supported", { definition: e, context: t })), null;
|
|
321
|
+
}
|
|
322
|
+
const Fi = q()({ RSP_NearestNeighbor: "nearest", RSP_BilinearInterpolation: "bilinear", RSP_CubicConvolution: "cubic", RSP_Majority: "majority" }), _i = q()({ esriNoDataMatchAny: "any", esriNoDataMatchAll: "all" }), be = q()({ U1: "u1", U2: "u2", U4: "u4", U8: "u8", S8: "s8", U16: "u16", S16: "s16", U32: "u32", S32: "s32", F32: "f32", F64: "f64", C64: "c64", C128: "c128", UNKNOWN: "unknown" });
|
|
323
|
+
let E = class extends S {
|
|
324
|
+
constructor() {
|
|
325
|
+
super(...arguments), this.pixelType = "unknown";
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
n([o({ type: String, json: { write: !0 } })], E.prototype, "name", void 0), n([o({ type: String, json: { write: !0 } })], E.prototype, "description", void 0), n([o({ type: P, json: { type: P, write: !0, name: "_object_id" } })], E.prototype, "id", void 0), n([o({ type: String, json: { type: be.jsonValues, read: be.read, write: be.write } })], E.prototype, "pixelType", void 0), n([o({ type: String, json: { write: !0 } })], E.prototype, "type", void 0), E = n([j("esri.layers.support.RasterFunctionInfo")], E);
|
|
329
|
+
const di = E;
|
|
330
|
+
let H = class extends S {
|
|
331
|
+
constructor() {
|
|
332
|
+
super(...arguments), this.isDataset = !1, this.isPublic = !1, this.type = "RasterFunctionVariable";
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
n([o({ type: String, json: { write: !0 } })], H.prototype, "name", void 0), n([o({ type: Number, json: { type: P, write: !0, name: "_object_id" } })], H.prototype, "id", void 0), n([o({ type: Boolean, json: { write: !0 } })], H.prototype, "isDataset", void 0), n([o({ type: Boolean, json: { write: !0 } })], H.prototype, "isPublic", void 0), n([o({ json: { write: !0 } })], H.prototype, "value", void 0), n([o({ type: String, json: { write: !0 } })], H.prototype, "type", void 0), H = n([j("esri.layers.support.RasterFunctionVariable")], H);
|
|
336
|
+
const Mi = H, se = { key: "type", base: null, typeMap: { RasterFunctionVariable: Mi } };
|
|
337
|
+
let V = class extends S {
|
|
338
|
+
};
|
|
339
|
+
n([o({ types: se, json: { types: se, name: "MatchVariable" } })], V.prototype, "matchVariable", void 0), n([o({ types: se, json: { types: se, name: "UnionDimension" } })], V.prototype, "unionDimension", void 0), n([o({ type: Number, json: { type: P, write: !0, name: "_object_id" } })], V.prototype, "id", void 0), n([o({ type: String, json: { write: !0 } })], V.prototype, "type", void 0), V = n([j("esri.layers.support.RasterFunctionProperties")], V);
|
|
340
|
+
const gi = V, ve = new ge({ 0: "mosaic", 1: "item", 2: "item-group" }, { useNumericKeys: !0 });
|
|
341
|
+
let I = class extends S {
|
|
342
|
+
constructor() {
|
|
343
|
+
super(...arguments), this.functionType = "mosaic", this.type = "RasterFunctionTemplate";
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
n([o({ type: [String], json: { write: !0 } })], I.prototype, "aliases", void 0), n([o({ type: Object, json: { write: !0 } })], I.prototype, "arguments", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "description", void 0), n([o({ type: di, json: { write: !0, name: "function" } })], I.prototype, "functionInfo", void 0), n([o({ type: ve.apiValues, json: { type: [0, 1, 2], read: ve.read, write: ve.write } })], I.prototype, "functionType", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "group", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "help", void 0), n([o({ type: Number, json: { type: P, write: !0, name: "_object_id" } })], I.prototype, "id", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "name", void 0), n([o({ type: String, json: { write: !0, name: "definition" } })], I.prototype, "queryDefinition", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "tag", void 0), n([o({ type: gi, json: { write: !0 } })], I.prototype, "properties", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "thumbnail", void 0), n([o({ type: String, json: { write: !0 } })], I.prototype, "thumbnailEx", void 0), n([o({ json: { type: ["RasterFunctionTemplate"], write: !0 } })], I.prototype, "type", void 0), I = n([j("esri.layers.support.RasterFunctionTemplate")], I);
|
|
347
|
+
const vt = I;
|
|
348
|
+
var Be;
|
|
349
|
+
const ce = /* @__PURE__ */ new Set(["raster", "raster2", "dem", "fillraster"]), ue = /* @__PURE__ */ new Set(["rasters"]), ot = (e) => e != null && e.rasterFunction ? D.fromJSON(e) : e, je = (e) => e && e instanceof D ? e.toJSON() : e, ze = (e) => (e == null ? void 0 : e.functionName) && !e.declaredClass, st = (e) => ze(e) ? new D(e) : e, mi = (e) => {
|
|
350
|
+
if (e == null)
|
|
351
|
+
return null;
|
|
352
|
+
e = b(e);
|
|
353
|
+
const t = {};
|
|
354
|
+
for (const a of Object.keys(e))
|
|
355
|
+
ce.has(a.toLowerCase()) ? t[a] = ot(e[a]) : ue.has(a.toLowerCase()) && Array.isArray(e[a]) ? t[a] = e[a].map(ot) : t[a] = e[a];
|
|
356
|
+
return t;
|
|
357
|
+
}, yi = { types: { key: "type", base: null, typeMap: { RasterFunctionTemplate: vt } }, json: { write: !0, name: "rasterFunctionDefinition" } };
|
|
358
|
+
let D = Be = class extends S {
|
|
359
|
+
constructor(e) {
|
|
360
|
+
super(e), this.functionName = null, this.outputPixelType = "unknown", this.variableName = null, this.functionDefinition = null;
|
|
361
|
+
}
|
|
362
|
+
set functionArguments(e) {
|
|
363
|
+
if (e) {
|
|
364
|
+
const t = Object.keys(e);
|
|
365
|
+
if (t.some((a) => ce.has(a.toLowerCase()) && ze(e[a])) || t.some((a) => ue.has(a.toLowerCase()) && Array.isArray(e[a]) && e[a].some((i) => ze(i)))) {
|
|
366
|
+
e = b(e);
|
|
367
|
+
for (const a of t)
|
|
368
|
+
ce.has(a.toLowerCase()) ? e[a] = st(e[a]) : ue.has(a.toLowerCase()) && Array.isArray(e[a]) && (e[a] = e[a].map((i) => st(i)));
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
this._set("functionArguments", e);
|
|
372
|
+
}
|
|
373
|
+
readFunctionArguments(e) {
|
|
374
|
+
return mi(e);
|
|
375
|
+
}
|
|
376
|
+
writeFunctionArguments(e, t, a) {
|
|
377
|
+
const i = {};
|
|
378
|
+
for (const r of Object.keys(e))
|
|
379
|
+
ce.has(r.toLowerCase()) ? i[r] = je(e[r]) : ue.has(r.toLowerCase()) && Array.isArray(e[r]) ? i[r] = e[r].map(je) : i[r] = je(e[r]);
|
|
380
|
+
t[a] = i;
|
|
381
|
+
}
|
|
382
|
+
readFunctionName(e, t) {
|
|
383
|
+
const a = t.rasterFunctionInfos;
|
|
384
|
+
return t.name || (a != null && a.length && a[0].name !== "None" ? a[0].name : t.rasterFunctionDefinition ? t.rasterFunctionDefinition.name : t.rasterFunction);
|
|
385
|
+
}
|
|
386
|
+
get rasterFunctionDefinition() {
|
|
387
|
+
var e;
|
|
388
|
+
return (e = this.functionDefinition) == null ? void 0 : e.toJSON();
|
|
389
|
+
}
|
|
390
|
+
set rasterFunctionDefinition(e) {
|
|
391
|
+
this.functionDefinition = e ? vt.fromJSON(e) : null;
|
|
392
|
+
}
|
|
393
|
+
get hasClipFunction() {
|
|
394
|
+
return this.rasterFunctionDefinition ? JSON.stringify(this.rasterFunctionDefinition).includes('"type":"ClipFunction"') : JSON.stringify(this).includes('"rasterFunction":"Clip"');
|
|
395
|
+
}
|
|
396
|
+
clone() {
|
|
397
|
+
return new Be({ functionName: this.functionName, functionArguments: b(this.functionArguments), outputPixelType: this.outputPixelType, variableName: this.variableName, rasterFunctionDefinition: b(this.rasterFunctionDefinition) });
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
n([o({ json: { type: Object, name: "rasterFunctionArguments" } })], D.prototype, "functionArguments", null), n([z("functionArguments")], D.prototype, "readFunctionArguments", null), n([me("functionArguments")], D.prototype, "writeFunctionArguments", null), n([o({ json: { type: String, write: { target: "rasterFunction" } } })], D.prototype, "functionName", void 0), n([z("functionName", ["rasterFunction", "rasterFunctionInfos", "rasterFunctionDefinition"])], D.prototype, "readFunctionName", null), n([W({ C128: "c128", C64: "c64", F32: "f32", F64: "f64", S16: "s16", S32: "s32", S8: "s8", U1: "u1", U16: "u16", U2: "u2", U32: "u32", U4: "u4", U8: "u8", UNKNOWN: "unknown" }, { ignoreUnknown: !1 }), o({ json: { default: "unknown" } })], D.prototype, "outputPixelType", void 0), n([o({ type: String, json: { read: !0, write: !0 } })], D.prototype, "variableName", void 0), n([o()], D.prototype, "rasterFunctionDefinition", null), n([o(yi)], D.prototype, "functionDefinition", void 0), n([o()], D.prototype, "hasClipFunction", null), D = Be = n([j("esri.layers.support.RasterFunction")], D);
|
|
401
|
+
const Me = D;
|
|
402
|
+
var Ue;
|
|
403
|
+
const Q = q()({ MT_FIRST: "first", MT_LAST: "last", MT_MIN: "min", MT_MAX: "max", MT_MEAN: "mean", MT_BLEND: "blend", MT_SUM: "sum" }), Re = q()({ esriMosaicNone: "none", esriMosaicCenter: "center", esriMosaicNadir: "nadir", esriMosaicViewpoint: "viewpoint", esriMosaicAttribute: "attribute", esriMosaicLockRaster: "lock-raster", esriMosaicNorthwest: "northwest", esriMosaicSeamline: "seamline" });
|
|
404
|
+
function Ii(e) {
|
|
405
|
+
let t;
|
|
406
|
+
switch (e ? e.toLowerCase().replace("esrimosaic", "") : "") {
|
|
407
|
+
case "byattribute":
|
|
408
|
+
case "attribute":
|
|
409
|
+
t = "esriMosaicAttribute";
|
|
410
|
+
break;
|
|
411
|
+
case "lockraster":
|
|
412
|
+
t = "esriMosaicLockRaster";
|
|
413
|
+
break;
|
|
414
|
+
case "center":
|
|
415
|
+
t = "esriMosaicCenter";
|
|
416
|
+
break;
|
|
417
|
+
case "northwest":
|
|
418
|
+
t = "esriMosaicNorthwest";
|
|
419
|
+
break;
|
|
420
|
+
case "nadir":
|
|
421
|
+
t = "esriMosaicNadir";
|
|
422
|
+
break;
|
|
423
|
+
case "viewpoint":
|
|
424
|
+
t = "esriMosaicViewpoint";
|
|
425
|
+
break;
|
|
426
|
+
case "seamline":
|
|
427
|
+
t = "esriMosaicSeamline";
|
|
428
|
+
break;
|
|
429
|
+
default:
|
|
430
|
+
t = "esriMosaicNone";
|
|
431
|
+
}
|
|
432
|
+
return Re.fromJSON(t);
|
|
433
|
+
}
|
|
434
|
+
let m = Ue = class extends S {
|
|
435
|
+
constructor(e) {
|
|
436
|
+
super(e), this.ascending = !0, this.itemRasterFunction = null, this.lockRasterIds = null, this.method = null, this.multidimensionalDefinition = null, this.objectIds = null, this.operation = null, this.sortField = null, this.sortValue = null, this.viewpoint = null, this.where = null;
|
|
437
|
+
}
|
|
438
|
+
readAscending(e, t) {
|
|
439
|
+
return t.ascending != null ? t.ascending : t.sortAscending == null || t.sortAscending;
|
|
440
|
+
}
|
|
441
|
+
get itemRenderingRule() {
|
|
442
|
+
return pe(de.getLogger(this), "itemRenderingRule", { replacement: "itemRasterFunction", version: "4.27", warnOnce: !0 }), this._get("itemRasterFunction");
|
|
443
|
+
}
|
|
444
|
+
set itemRenderingRule(e) {
|
|
445
|
+
pe(de.getLogger(this), "itemRenderingRule", { replacement: "itemRasterFunction", version: "4.27", warnOnce: !0 }), this._set("itemRasterFunction", e);
|
|
446
|
+
}
|
|
447
|
+
readMethod(e, t) {
|
|
448
|
+
return Ii(t.mosaicMethod || t.defaultMosaicMethod);
|
|
449
|
+
}
|
|
450
|
+
writeMultidimensionalDefinition(e, t, a) {
|
|
451
|
+
e != null && (e = e.filter(({ variableName: i, dimensionName: r }) => i && i !== "*" || r)).length && (t[a] = e.map((i) => i.toJSON()));
|
|
452
|
+
}
|
|
453
|
+
readOperation(e, t) {
|
|
454
|
+
var s;
|
|
455
|
+
const a = t.mosaicOperation, i = (s = t.mosaicOperator) == null ? void 0 : s.toLowerCase(), r = a || (i ? Q.toJSON(i) : null);
|
|
456
|
+
return Q.fromJSON(r) || "first";
|
|
457
|
+
}
|
|
458
|
+
castSortValue(e) {
|
|
459
|
+
return e == null || typeof e == "string" || typeof e == "number" ? e : `${e}`;
|
|
460
|
+
}
|
|
461
|
+
clone() {
|
|
462
|
+
return new Ue({ ascending: this.ascending, itemRasterFunction: b(this.itemRasterFunction), lockRasterIds: b(this.lockRasterIds), method: this.method, multidimensionalDefinition: b(this.multidimensionalDefinition), objectIds: b(this.objectIds), operation: this.operation, sortField: this.sortField, sortValue: this.sortValue, viewpoint: b(this.viewpoint), where: this.where });
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
n([o({ type: Boolean, json: { write: !0 } })], m.prototype, "ascending", void 0), n([z("ascending", ["ascending", "sortAscending"])], m.prototype, "readAscending", null), n([o({ type: Me, json: { name: "itemRenderingRule", write: !0 } })], m.prototype, "itemRasterFunction", void 0), n([o({ type: Me })], m.prototype, "itemRenderingRule", null), n([o({ type: [P], json: { write: { overridePolicy() {
|
|
466
|
+
return { enabled: this.method === "lock-raster" };
|
|
467
|
+
} } } })], m.prototype, "lockRasterIds", void 0), n([o({ type: String, json: { type: Re.jsonValues, write: { target: "mosaicMethod", writer: Re.write } } })], m.prototype, "method", void 0), n([z("method", ["mosaicMethod", "defaultMosaicMethod"])], m.prototype, "readMethod", null), n([o({ type: [pt], json: { write: !0 } })], m.prototype, "multidimensionalDefinition", void 0), n([me("multidimensionalDefinition")], m.prototype, "writeMultidimensionalDefinition", null), n([o({ type: [P], json: { name: "fids", write: !0 } })], m.prototype, "objectIds", void 0), n([o({ json: { type: Q.jsonValues, read: { reader: Q.read }, write: { target: "mosaicOperation", writer: Q.write } } })], m.prototype, "operation", void 0), n([z("operation", ["mosaicOperation", "mosaicOperator"])], m.prototype, "readOperation", null), n([o({ type: String, json: { write: { overridePolicy() {
|
|
468
|
+
return { enabled: this.method === "attribute" };
|
|
469
|
+
} } } })], m.prototype, "sortField", void 0), n([o({ type: [String, Number], json: { write: { allowNull: !0, overridePolicy() {
|
|
470
|
+
return { enabled: this.method === "attribute", allowNull: !0 };
|
|
471
|
+
} } } })], m.prototype, "sortValue", void 0), n([kt("sortValue")], m.prototype, "castSortValue", null), n([o({ type: ye, json: { write: !0 } })], m.prototype, "viewpoint", void 0), n([o({ type: String, json: { write: !0 } })], m.prototype, "where", void 0), m = Ue = n([j("esri.layers.support.MosaicRule")], m);
|
|
472
|
+
const wi = m;
|
|
473
|
+
var He;
|
|
474
|
+
const hi = { base: Zt, key: "type", typeMap: { extent: Se, polygon: Et } };
|
|
475
|
+
let G = He = class extends S {
|
|
476
|
+
constructor(e) {
|
|
477
|
+
super(e), this.areaOfInterest = null, this.subsetDefinitions = null;
|
|
478
|
+
}
|
|
479
|
+
get dimensions() {
|
|
480
|
+
const { subsetDefinitions: e } = this;
|
|
481
|
+
if (e == null || e.length === 0)
|
|
482
|
+
return [];
|
|
483
|
+
const t = /* @__PURE__ */ new Map();
|
|
484
|
+
e.forEach((i) => {
|
|
485
|
+
if (!i.dimensionName)
|
|
486
|
+
return;
|
|
487
|
+
let r, s;
|
|
488
|
+
if (Array.isArray(i.values[0])) {
|
|
489
|
+
const l = i.values;
|
|
490
|
+
r = l[0][0], s = l[i.values.length - 1][1];
|
|
491
|
+
} else {
|
|
492
|
+
const l = i.values;
|
|
493
|
+
r = l[0], s = l[i.values.length - 1];
|
|
494
|
+
}
|
|
495
|
+
if (t.has(i.dimensionName)) {
|
|
496
|
+
const l = t.get(i.dimensionName);
|
|
497
|
+
l[0] = Math.min(r, l[0]), l[1] = Math.max(s, l[1]);
|
|
498
|
+
} else
|
|
499
|
+
t.set(i.dimensionName, [r, s]);
|
|
500
|
+
});
|
|
501
|
+
const a = [];
|
|
502
|
+
for (const i of t)
|
|
503
|
+
a.push({ name: i[0], extent: i[1] });
|
|
504
|
+
return a;
|
|
505
|
+
}
|
|
506
|
+
get variables() {
|
|
507
|
+
const { subsetDefinitions: e } = this;
|
|
508
|
+
if (e == null || e.length === 0)
|
|
509
|
+
return [];
|
|
510
|
+
const t = /* @__PURE__ */ new Set();
|
|
511
|
+
return e.forEach((a) => {
|
|
512
|
+
a.variableName && t.add(a.variableName);
|
|
513
|
+
}), [...t];
|
|
514
|
+
}
|
|
515
|
+
clone() {
|
|
516
|
+
var a;
|
|
517
|
+
const e = (a = this.subsetDefinitions) == null ? void 0 : a.map((i) => i.clone()), t = this.areaOfInterest ? this.areaOfInterest.clone() : this.areaOfInterest;
|
|
518
|
+
return new He({ areaOfInterest: t, subsetDefinitions: e });
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
n([o({ types: hi, json: { read: ut, write: !0 } })], G.prototype, "areaOfInterest", void 0), n([o({ readOnly: !0 })], G.prototype, "dimensions", null), n([o({ readOnly: !0 })], G.prototype, "variables", null), n([o({ type: [pt], json: { write: !0 } })], G.prototype, "subsetDefinitions", void 0), G = He = n([j("esri.layers.support.MultidimensionalSubset")], G);
|
|
522
|
+
const Xi = G;
|
|
523
|
+
class qi {
|
|
524
|
+
constructor() {
|
|
525
|
+
this._workerThread = null, this._destroyed = !1;
|
|
526
|
+
}
|
|
527
|
+
async initialize() {
|
|
528
|
+
const t = await Pt("RasterWorker");
|
|
529
|
+
this._destroyed ? t.close() : this._workerThread = t;
|
|
530
|
+
}
|
|
531
|
+
destroy() {
|
|
532
|
+
this._destroyed = !0, this._workerThread && (this._workerThread.close(), this._workerThread = null);
|
|
533
|
+
}
|
|
534
|
+
async convertVectorFieldData(t, a) {
|
|
535
|
+
if (!this._workerThread)
|
|
536
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
537
|
+
const i = await this._workerThread.invoke("convertVectorFieldData", { pixelBlock: t.pixelBlock.toJSON(), type: t.dataType }, a);
|
|
538
|
+
return i ? new Z(i) : null;
|
|
539
|
+
}
|
|
540
|
+
computeStatisticsHistograms(t, a) {
|
|
541
|
+
if (!this._workerThread)
|
|
542
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
543
|
+
return this._workerThread.invoke("computeStatisticsHistograms", { pixelBlock: t.pixelBlock.toJSON() }, a);
|
|
544
|
+
}
|
|
545
|
+
async decode(t, a) {
|
|
546
|
+
if (!this._workerThread)
|
|
547
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
548
|
+
const i = await this._workerThread.invoke("decode", t, a);
|
|
549
|
+
return i ? new Z(i) : null;
|
|
550
|
+
}
|
|
551
|
+
async symbolize(t, a) {
|
|
552
|
+
var s, l;
|
|
553
|
+
if (!this._workerThread)
|
|
554
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
555
|
+
const i = { extent: (s = t.extent) == null ? void 0 : s.toJSON(), pixelBlock: (l = t.pixelBlock) == null ? void 0 : l.toJSON(), simpleStretchParams: t.simpleStretchParams, bandIds: t.bandIds }, r = await this._workerThread.invoke("symbolize", i, a);
|
|
556
|
+
return r ? new Z(r) : null;
|
|
557
|
+
}
|
|
558
|
+
async updateSymbolizer(t, a) {
|
|
559
|
+
var r;
|
|
560
|
+
if (!this._workerThread)
|
|
561
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
562
|
+
const i = (r = t == null ? void 0 : t.rendererJSON) == null ? void 0 : r.histograms;
|
|
563
|
+
await Promise.all(this._workerThread.broadcast("updateSymbolizer", { symbolizerJSON: t.toJSON(), histograms: i }, a));
|
|
564
|
+
}
|
|
565
|
+
async updateRasterFunction(t, a) {
|
|
566
|
+
if (!this._workerThread)
|
|
567
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
568
|
+
await Promise.all(this._workerThread.broadcast("updateRasterFunction", { rasterFunctionJSON: t.toJSON() }, a));
|
|
569
|
+
}
|
|
570
|
+
async process(t, a) {
|
|
571
|
+
var r, s;
|
|
572
|
+
if (!this._workerThread)
|
|
573
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
574
|
+
const i = await this._workerThread.invoke("process", { extent: (r = t.extent) == null ? void 0 : r.toJSON(), primaryPixelSizes: (s = t.primaryPixelSizes) == null ? void 0 : s.map((l) => l != null ? l.toJSON() : null), primaryPixelBlocks: t.primaryPixelBlocks.map((l) => l != null ? l.toJSON() : null), primaryRasterIds: t.primaryRasterIds }, a);
|
|
575
|
+
return i ? new Z(i) : null;
|
|
576
|
+
}
|
|
577
|
+
async stretch(t, a) {
|
|
578
|
+
if (!this._workerThread)
|
|
579
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
580
|
+
if (!(t != null && t.pixelBlock))
|
|
581
|
+
return null;
|
|
582
|
+
const i = { srcPixelBlock: t.pixelBlock.toJSON(), stretchParams: t.stretchParams }, r = await this._workerThread.invoke("stretch", i, a);
|
|
583
|
+
return r ? new Z(r) : null;
|
|
584
|
+
}
|
|
585
|
+
async split(t, a) {
|
|
586
|
+
if (!this._workerThread)
|
|
587
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
588
|
+
if (!(t != null && t.pixelBlock))
|
|
589
|
+
return null;
|
|
590
|
+
const i = { srcPixelBlock: t.pixelBlock.toJSON(), tileSize: t.tileSize, maximumPyramidLevel: t.maximumPyramidLevel, useBilinear: t.useBilinear }, r = await this._workerThread.invoke("split", i, a);
|
|
591
|
+
return r && r.forEach((s, l) => {
|
|
592
|
+
r.set(l, s ? Z.fromJSON(s) : null);
|
|
593
|
+
}), r;
|
|
594
|
+
}
|
|
595
|
+
async clipTile(t, a) {
|
|
596
|
+
if (!this._workerThread)
|
|
597
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
598
|
+
if (!(t != null && t.pixelBlock))
|
|
599
|
+
return null;
|
|
600
|
+
const i = { ...t, pixelBlock: t.pixelBlock.toJSON() }, r = await this._workerThread.invoke("clipTile", i, a);
|
|
601
|
+
return r ? Z.fromJSON(r) : null;
|
|
602
|
+
}
|
|
603
|
+
async estimateStatisticsHistograms(t, a) {
|
|
604
|
+
if (!this._workerThread)
|
|
605
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
606
|
+
if (!(t != null && t.pixelBlock))
|
|
607
|
+
return null;
|
|
608
|
+
const i = { srcPixelBlock: t.pixelBlock.toJSON() };
|
|
609
|
+
return await this._workerThread.invoke("estimateStatisticsHistograms", i, a);
|
|
610
|
+
}
|
|
611
|
+
async mosaicAndTransform(t, a) {
|
|
612
|
+
var s;
|
|
613
|
+
if (!this._workerThread)
|
|
614
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
615
|
+
if (!((s = t == null ? void 0 : t.srcPixelBlocks) != null && s.length))
|
|
616
|
+
return { pixelBlock: null };
|
|
617
|
+
const i = { ...t, srcPixelBlocks: t.srcPixelBlocks.map((l) => l != null ? l.toJSON() : null) }, r = await this._workerThread.invoke("mosaicAndTransform", i, a);
|
|
618
|
+
return { pixelBlock: r.pixelBlock ? new Z(r.pixelBlock) : null, localNorthDirections: r.localNorthDirections };
|
|
619
|
+
}
|
|
620
|
+
async createFlowMesh(t, a) {
|
|
621
|
+
if (!this._workerThread)
|
|
622
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
623
|
+
const i = { buffer: t.flowData.data.buffer, maskBuffer: t.flowData.mask.buffer, width: t.flowData.width, height: t.flowData.height }, { meshType: r, simulationSettings: s } = t, l = await this._workerThread.invoke("createFlowMesh", { meshType: r, flowData: i, simulationSettings: s }, { ...a, transferList: [i.buffer, i.maskBuffer] });
|
|
624
|
+
return { vertexData: new Float32Array(l.vertexBuffer), indexData: new Uint32Array(l.indexBuffer) };
|
|
625
|
+
}
|
|
626
|
+
getProjectionOffsetGrid(t, a) {
|
|
627
|
+
if (!this._workerThread)
|
|
628
|
+
throw new v("raster-jobhandler:no-connection", "no available worker connection");
|
|
629
|
+
const i = t.datumTransformation != null ? t.datumTransformation.steps.map((l) => ({ wkid: l.wkid, wkt: l.wkt, isInverse: l.isInverse })) : null, r = t.rasterTransform != null ? t.rasterTransform.toJSON() : null, s = { projectedExtent: t.projectedExtent.toJSON(), srcBufferExtent: t.srcBufferExtent.toJSON(), pixelSize: t.pixelSize, hasWrapAround: t.hasWrapAround, spacing: t.spacing, datumTransformationSteps: i, rasterTransform: r, isAdaptive: t.isAdaptive, includeGCSGrid: t.includeGCSGrid };
|
|
630
|
+
return this._workerThread.invoke("getProjectionOffsetGrid", s, a);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
const Ai = 0.25, fi = At.fromJSON({ type: "multipart", colorRamps: [{ fromColor: [0, 0, 255], toColor: [0, 255, 255] }, { fromColor: [0, 255, 255], toColor: [255, 255, 0] }, { fromColor: [255, 255, 0], toColor: [255, 0, 0] }] }), lt = At.fromJSON(ei[0]), jt = /* @__PURE__ */ new Set(["scientific", "standard-time", "vector-uv", "vector-magdir", "vector-u", "vector-v", "vector-magnitude", "vector-direction"]);
|
|
634
|
+
function Yi(e, t) {
|
|
635
|
+
const { attributeTable: a, colormap: i } = e;
|
|
636
|
+
if (Ee(e)) {
|
|
637
|
+
const r = xi(e);
|
|
638
|
+
if (r != null)
|
|
639
|
+
return r;
|
|
640
|
+
}
|
|
641
|
+
if (i != null) {
|
|
642
|
+
const r = Ni(e);
|
|
643
|
+
if (r != null)
|
|
644
|
+
return r;
|
|
645
|
+
}
|
|
646
|
+
if (a != null) {
|
|
647
|
+
const r = Ti(e);
|
|
648
|
+
if (r != null)
|
|
649
|
+
return r;
|
|
650
|
+
}
|
|
651
|
+
return Di(e, t);
|
|
652
|
+
}
|
|
653
|
+
function ea(e, t = !1) {
|
|
654
|
+
const a = ["raster-stretch"];
|
|
655
|
+
return yt(e, t) && a.push("raster-colormap"), It(e) && a.push("unique-value"), ti(e, t) && a.push("class-breaks"), ii(e) && a.push("raster-shaded-relief"), Ee(e) && a.push("vector-field"), ai(e) && a.push("flow"), a;
|
|
656
|
+
}
|
|
657
|
+
function ta(e, t, a) {
|
|
658
|
+
const i = ["nearest", "bilinear", "cubic", "majority"].find((r) => r === (a == null ? void 0 : a.toLowerCase()));
|
|
659
|
+
return t === "Map" ? i ?? "bilinear" : e.dataType === "standard-time" ? i ?? "nearest" : e.dataType === "thematic" || e.attributeTable || e.colormap ? i === "nearest" || i === "majority" ? i : "nearest" : i ?? "bilinear";
|
|
660
|
+
}
|
|
661
|
+
function Di(e, t) {
|
|
662
|
+
e = bi(e, t == null ? void 0 : t.variableName);
|
|
663
|
+
const { bandCount: a } = e;
|
|
664
|
+
let { bandIds: i, stretchType: r } = t || {};
|
|
665
|
+
i != null && i.some((M) => M >= a) && (i = null);
|
|
666
|
+
let s = e.statistics, l = e.histograms;
|
|
667
|
+
a > 1 ? (i = i != null && i.length ? i : vi(e), s = s == null ? null : i == null ? void 0 : i.map((M) => s[M]), l = l == null ? null : i == null ? void 0 : i.map((M) => l[M])) : i = [0], r == null && (r = Si(e));
|
|
668
|
+
let u = !1;
|
|
669
|
+
switch (r) {
|
|
670
|
+
case "none":
|
|
671
|
+
u = !1;
|
|
672
|
+
break;
|
|
673
|
+
case "percent-clip":
|
|
674
|
+
u = !(l != null && l.length);
|
|
675
|
+
break;
|
|
676
|
+
default:
|
|
677
|
+
u = !(s != null && s.length);
|
|
678
|
+
}
|
|
679
|
+
const { dataType: y } = e, c = (i == null ? void 0 : i.length) === 1 && jt.has(y) ? fi : null, w = new Ve({ stretchType: r, dynamicRangeAdjustment: u, colorRamp: c, outputMin: 0, outputMax: 255, gamma: (i == null ? void 0 : i.length) === 1 ? [1] : [1, 1, 1], useGamma: !1 });
|
|
680
|
+
return r === "percent-clip" ? w.maxPercent = w.minPercent = Ai : r === "standard-deviation" && (w.numberOfStandardDeviations = 2), u || e.multidimensionalInfo == null && !(t != null && t.includeStatisticsInStretch) || (r === "percent-clip" ? w.histograms = l : r !== "min-max" && r !== "standard-deviation" || (w.statistics = s)), w;
|
|
681
|
+
}
|
|
682
|
+
function bi(e, t) {
|
|
683
|
+
const { multidimensionalInfo: a } = e;
|
|
684
|
+
if (!t || !a)
|
|
685
|
+
return e;
|
|
686
|
+
const i = a.variables.find((r) => r.name === t);
|
|
687
|
+
if (!i)
|
|
688
|
+
return e;
|
|
689
|
+
if (e = e.clone(), i) {
|
|
690
|
+
const { statistics: r, histograms: s } = i;
|
|
691
|
+
r != null && r.length && (e.statistics = r.map((l) => ({ min: l.min, max: l.max, avg: l.avg, stddev: l.stddev }))), s != null && s.length && (e.histograms = s);
|
|
692
|
+
}
|
|
693
|
+
return e;
|
|
694
|
+
}
|
|
695
|
+
function vi(e) {
|
|
696
|
+
const t = e.bandCount;
|
|
697
|
+
if (t === 1)
|
|
698
|
+
return null;
|
|
699
|
+
if (t === 2)
|
|
700
|
+
return [0];
|
|
701
|
+
const { bandInfos: a } = e;
|
|
702
|
+
let i;
|
|
703
|
+
if (a.length === t) {
|
|
704
|
+
const { red: r, green: s, blue: l, nir: u } = ji(a);
|
|
705
|
+
r != null && s != null && l != null ? i = [r, s, l] : u != null && r != null && s != null && (i = [u, r, s]);
|
|
706
|
+
}
|
|
707
|
+
return !i && t >= 3 && (i = [0, 1, 2]), i;
|
|
708
|
+
}
|
|
709
|
+
function ji(e) {
|
|
710
|
+
const t = {};
|
|
711
|
+
for (let a = 0; a < e.length; a++) {
|
|
712
|
+
const i = e[a], r = i.name.toLowerCase();
|
|
713
|
+
if (r === "red")
|
|
714
|
+
t.red = a;
|
|
715
|
+
else if (r === "green")
|
|
716
|
+
t.green = a;
|
|
717
|
+
else if (r === "blue")
|
|
718
|
+
t.blue = a;
|
|
719
|
+
else if (r === "nearinfrared" || r === "nearinfrared_1" || r === "nir")
|
|
720
|
+
t.nir = a;
|
|
721
|
+
else if (i.maxWavelength && i.minWavelength) {
|
|
722
|
+
const s = i.minWavelength, l = i.maxWavelength;
|
|
723
|
+
t.blue == null && s >= 410 && s <= 480 && l >= 480 && l <= 540 ? t.blue = a : t.green == null && s >= 490 && s <= 560 && l >= 560 && l <= 610 ? t.green = a : t.red == null && s >= 595 && s <= 670 && l >= 660 && l <= 730 ? t.red = a : t.nir == null && s >= 700 && s <= 860 && l >= 800 && l <= 950 && (t.nir = a);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
return t;
|
|
727
|
+
}
|
|
728
|
+
function Si(e) {
|
|
729
|
+
let t = "percent-clip";
|
|
730
|
+
const { pixelType: a, dataType: i, histograms: r, statistics: s, multidimensionalInfo: l } = e, u = jt.has(i) || i === "generic" && l != null;
|
|
731
|
+
return a !== "u8" || i !== "processed" && r != null && s != null ? a === "u8" || i === "elevation" || u ? t = "min-max" : r != null ? t = "percent-clip" : s != null && (t = "min-max") : t = "none", t;
|
|
732
|
+
}
|
|
733
|
+
function Ti(e, t, a, i) {
|
|
734
|
+
if (!It(e, t))
|
|
735
|
+
return null;
|
|
736
|
+
const { attributeTable: r, statistics: s } = e, l = St(r, t), u = X(r, "red"), y = X(r, "green"), c = X(r, "blue"), w = new Mt(), M = [], U = /* @__PURE__ */ new Set(), N = !!(u && y && c);
|
|
737
|
+
if (r != null)
|
|
738
|
+
r.features.forEach((p) => {
|
|
739
|
+
const d = p.attributes[l.name];
|
|
740
|
+
if (!U.has(p.attributes[l.name]) && d != null) {
|
|
741
|
+
U.add(d);
|
|
742
|
+
const L = N && (u.type === "single" || u.type === "double") && (y.type === "single" || y.type === "double") && (c.type === "single" || c.type === "double") && !r.features.some((R) => R.attributes[u.name] > 1 || R.attributes[y.name] > 1 || R.attributes[c.name] > 1), B = L ? 255 : 1;
|
|
743
|
+
M.push(new it({ value: p.attributes[l.name], label: p.attributes[l.name] + "", symbol: { type: "simple-fill", style: "solid", outline: null, color: new h(N ? [p.attributes[u.name] * B, p.attributes[y.name] * B, p.attributes[c.name] * B, 1] : [0, 0, 0, 0]) } }));
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
else if (s != null && s[0])
|
|
747
|
+
for (let p = s[0].min; p <= s[0].max; p++)
|
|
748
|
+
M.push(new it({ value: p, label: p.toString(), symbol: { type: "simple-fill", style: "solid", outline: null, color: new h([0, 0, 0, 0]) } }));
|
|
749
|
+
if (M.sort((p, d) => p.value && typeof p.value.valueOf() == "string" ? 0 : p.value > d.value ? 1 : -1), !N) {
|
|
750
|
+
const p = Te(lt, { numColors: M.length });
|
|
751
|
+
M.forEach((d, L) => d.symbol.color = new h(p[L].slice(1, 4))), w.colorRamp = lt;
|
|
752
|
+
}
|
|
753
|
+
if (a || i) {
|
|
754
|
+
const p = a || Te(i, { numColors: M.length }).map((d) => d.slice(1));
|
|
755
|
+
M.forEach((d, L) => d.symbol.color = new h(p[L])), w.colorRamp = i;
|
|
756
|
+
}
|
|
757
|
+
return new Ze({ field: l.name, uniqueValueInfos: M, authoringInfo: w });
|
|
758
|
+
}
|
|
759
|
+
function St(e, t, a) {
|
|
760
|
+
let i;
|
|
761
|
+
return e != null ? (i = t ? e.fields.find((r) => t.toLowerCase() === r.name.toLowerCase()) : Ci(e.fields), i || (a || (i = e.fields.find((r) => r.type === "string")), i || (i = X(e, "value")))) : i = new Vt({ name: "value" }), i;
|
|
762
|
+
}
|
|
763
|
+
function Ci(e) {
|
|
764
|
+
let t;
|
|
765
|
+
for (let a = 0; a < e.length; a++) {
|
|
766
|
+
const i = e[a].name.toLowerCase();
|
|
767
|
+
if (e[a].type === "string") {
|
|
768
|
+
if (i.startsWith("class")) {
|
|
769
|
+
t = e[a];
|
|
770
|
+
break;
|
|
771
|
+
}
|
|
772
|
+
t == null && (i.endsWith("name") || i.endsWith("type")) && (t = e[a]);
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
return t;
|
|
776
|
+
}
|
|
777
|
+
function X(e, t) {
|
|
778
|
+
return e == null ? null : e.fields.find((a) => a.name.toLowerCase() === t);
|
|
779
|
+
}
|
|
780
|
+
function Ni(e) {
|
|
781
|
+
if (!yt(e))
|
|
782
|
+
return null;
|
|
783
|
+
let t;
|
|
784
|
+
const { attributeTable: a, colormap: i } = e;
|
|
785
|
+
if (a != null) {
|
|
786
|
+
const r = X(a, "value"), s = St(a, null, !0);
|
|
787
|
+
s.type === "string" && (t = {}, a.features.forEach((l) => {
|
|
788
|
+
const u = l.attributes;
|
|
789
|
+
t[u[r.name]] = s ? u[s.name] : u[r.name];
|
|
790
|
+
}));
|
|
791
|
+
}
|
|
792
|
+
return Pe.createFromColormap(i, t);
|
|
793
|
+
}
|
|
794
|
+
const Li = /* @__PURE__ */ new Map([["m/s", "meter-per-second"], ["km/h", "kilometer-per-hour"], ["knots", "knots"], ["ft/s", "feet-per-second"], ["mph", "mile-per-hour"]]);
|
|
795
|
+
function xi(e) {
|
|
796
|
+
if (!Ee(e))
|
|
797
|
+
return null;
|
|
798
|
+
let t;
|
|
799
|
+
if (e.statistics != null && e.statistics.length && (e.dataType === "vector-magdir" || e.dataType === "vector-uv")) {
|
|
800
|
+
const { minMagnitude: r, maxMagnitude: s } = Bi(e.dataType, e.statistics);
|
|
801
|
+
t = [{ type: "size", field: "Magnitude", minSize: 10, maxSize: 40, minDataValue: r, maxDataValue: s }];
|
|
802
|
+
}
|
|
803
|
+
const a = e.multidimensionalInfo != null ? Li.get(e.multidimensionalInfo.variables[0].unit) : null, i = new Ge({ visualVariables: t, inputUnit: a, rotationType: "geographic" });
|
|
804
|
+
return i.visualVariables = [...i.sizeVariables, ...i.rotationVariables], i;
|
|
805
|
+
}
|
|
806
|
+
function ct(e) {
|
|
807
|
+
var t;
|
|
808
|
+
return { color: (t = e.symbolLayers[0].material) == null ? void 0 : t.color, type: "esriSFS", style: "esriSFSSolid" };
|
|
809
|
+
}
|
|
810
|
+
function ia(e) {
|
|
811
|
+
var t, a;
|
|
812
|
+
if (e.type === "uniqueValue") {
|
|
813
|
+
const i = e.uniqueValueInfos, r = i == null ? void 0 : i[0].symbol;
|
|
814
|
+
return (t = r == null ? void 0 : r.symbolLayers) != null && t.length && (e.uniqueValueInfos = i == null ? void 0 : i.map((s) => ({ value: s.value, label: s.label, symbol: s.symbol ? ct(s.symbol) : null }))), e;
|
|
815
|
+
}
|
|
816
|
+
if (e.type === "classBreaks") {
|
|
817
|
+
const i = e.classBreakInfos, r = i[0].symbol;
|
|
818
|
+
return (a = r == null ? void 0 : r.symbolLayers) != null && a.length && (e.classBreakInfos = i.map((s) => ({ classMinValue: s.classMinValue, classMaxValue: s.classMaxValue, label: s.label, symbol: s.symbol ? ct(s.symbol) : null }))), e;
|
|
819
|
+
}
|
|
820
|
+
return e;
|
|
821
|
+
}
|
|
822
|
+
function Bi(e, t) {
|
|
823
|
+
let a, i;
|
|
824
|
+
if (e === "vector-magdir")
|
|
825
|
+
a = t[0].min, i = t[0].max;
|
|
826
|
+
else {
|
|
827
|
+
const r = t[0].min, s = t[0].max, l = t[1].min, u = t[1].max;
|
|
828
|
+
a = 0, i = Math.max(Math.abs(r), Math.abs(l), Math.abs(s), Math.abs(u));
|
|
829
|
+
}
|
|
830
|
+
return { minMagnitude: a, maxMagnitude: i };
|
|
831
|
+
}
|
|
832
|
+
async function Tt(e, t, a) {
|
|
833
|
+
var Oe, We, Fe, _e, $e, Ke, Qe, Xe, qe, Ye;
|
|
834
|
+
const i = Gt(e), { rasterFunction: r, sourceJSON: s } = t || {}, l = r ? JSON.stringify(r.rasterFunctionDefinition || r) : null, u = Jt({ ...i.query, renderingRule: l, f: "json" }), y = Ot(u, a);
|
|
835
|
+
e = i.path;
|
|
836
|
+
const c = s || await J(e, y).then((T) => T.data), w = c.hasRasterAttributeTable ? J(`${e}/rasterAttributeTable`, y) : null, M = c.hasColormap ? J(`${e}/colormap`, y) : null, U = c.hasHistograms ? J(`${e}/histograms`, y) : null, N = c.currentVersion >= 10.3 ? J(`${e}/keyProperties`, y) : null, p = c.hasMultidimensions ? J(`${e}/multidimensionalInfo`, y) : null, d = await Promise.allSettled([w, M, U, N, p]);
|
|
837
|
+
let L = null;
|
|
838
|
+
if (c.minValues && c.minValues.length === c.bandCount) {
|
|
839
|
+
L = [];
|
|
840
|
+
for (let T = 0; T < c.minValues.length; T++)
|
|
841
|
+
L.push({ min: c.minValues[T], max: c.maxValues[T], avg: c.meanValues[T], stddev: c.stdvValues[T] });
|
|
842
|
+
}
|
|
843
|
+
const B = Se.fromJSON(c.extent), R = Math.ceil(B.width / c.pixelSizeX - 0.1), Ct = Math.ceil(B.height / c.pixelSizeY - 0.1), Je = Wt.fromJSON(c.spatialReference || c.extent.spatialReference), Y = d[0].status === "fulfilled" ? (Oe = d[0].value) == null ? void 0 : Oe.data : null, Nt = (We = Y == null ? void 0 : Y.features) != null && We.length ? ci.fromJSON(Y) : null, ee = d[1].status === "fulfilled" ? (Fe = d[1].value) == null ? void 0 : Fe.data.colormap : null, Lt = ee != null && ee.length ? ee : null, te = d[2].status === "fulfilled" ? (_e = d[2].value) == null ? void 0 : _e.data.histograms : null, xt = (Ke = ($e = te == null ? void 0 : te[0]) == null ? void 0 : $e.counts) != null && Ke.length ? te : null, F = d[3].status === "fulfilled" ? ((Qe = d[3].value) == null ? void 0 : Qe.data) ?? {} : {}, ie = d[4].status === "fulfilled" ? (Xe = d[4].value) == null ? void 0 : Xe.data.multidimensionalInfo : null, we = (qe = ie == null ? void 0 : ie.variables) != null && qe.length ? ie : null;
|
|
844
|
+
we && we.variables.forEach((T) => {
|
|
845
|
+
var et;
|
|
846
|
+
(et = T.statistics) != null && et.length && T.statistics.forEach((ae) => {
|
|
847
|
+
ae.avg = ae.mean, ae.stddev = ae.standardDeviation;
|
|
848
|
+
});
|
|
849
|
+
});
|
|
850
|
+
const { defaultVariable: he, serviceDataType: _ } = c;
|
|
851
|
+
he && he !== F.DefaultVariable && (F.DefaultVariable = he), _ != null && _.includes("esriImageServiceDataTypeVector") && !_.includes(F.DataType) && (F.DataType = _.replace("esriImageServiceDataType", ""));
|
|
852
|
+
let Ae = c.noDataValue;
|
|
853
|
+
return (Ye = c.noDataValues) != null && Ye.length && c.noDataValues.some((T) => T !== Ae) && (Ae = c.noDataValues), new ri({ width: R, height: Ct, bandCount: c.bandCount, extent: Se.fromJSON(c.extent), spatialReference: Je, pixelSize: new ye({ x: c.pixelSizeX, y: c.pixelSizeY, spatialReference: Je }), pixelType: c.pixelType.toLowerCase(), statistics: L, attributeTable: Nt, colormap: Lt, histograms: xt, keyProperties: F, noDataValue: Ae, multidimensionalInfo: we });
|
|
854
|
+
}
|
|
855
|
+
function aa(e, t, a) {
|
|
856
|
+
return Tt(e, { sourceJSON: t }, a);
|
|
857
|
+
}
|
|
858
|
+
function ra(e, t, a) {
|
|
859
|
+
return Tt(e, { rasterFunction: t }, a);
|
|
860
|
+
}
|
|
861
|
+
function na(e, t) {
|
|
862
|
+
e.attributeTable || (t.hasRasterAttributeTable = !1), e.histograms || (t.hasHistograms = !1), e.colormap || (t.hasColormap = !1), e.multidimensionalInfo || (t.hasMultidimensions = !1);
|
|
863
|
+
}
|
|
864
|
+
var ke;
|
|
865
|
+
let x = ke = class extends S {
|
|
866
|
+
constructor() {
|
|
867
|
+
super(...arguments), this.geometry = null, this.mosaicRule = null, this.rasterFunction = null, this.pixelSize = null, this.raster = void 0, this.timeExtent = null;
|
|
868
|
+
}
|
|
869
|
+
writeGeometry(e, t, a) {
|
|
870
|
+
e != null && (t.geometryType = $t(e), t[a] = e.toJSON());
|
|
871
|
+
}
|
|
872
|
+
get renderingRule() {
|
|
873
|
+
return pe(de.getLogger(this), "renderingRule", { replacement: "rasterFunction", version: "4.27", warnOnce: !0 }), this._get("rasterFunction");
|
|
874
|
+
}
|
|
875
|
+
set renderingRule(e) {
|
|
876
|
+
pe(de.getLogger(this), "renderingRule", { replacement: "rasterFunction", version: "4.27", warnOnce: !0 }), this._set("rasterFunction", e);
|
|
877
|
+
}
|
|
878
|
+
clone() {
|
|
879
|
+
return new ke(b({ geometry: this.geometry, mosaicRule: this.mosaicRule, rasterFunction: this.rasterFunction, pixelSize: this.pixelSize, raster: this.raster, timeExtent: this.timeExtent }));
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
n([o({ types: Ft, json: { read: ut } })], x.prototype, "geometry", void 0), n([me("geometry")], x.prototype, "writeGeometry", null), n([o({ type: wi, json: { write: !0 } })], x.prototype, "mosaicRule", void 0), n([o({ type: Me })], x.prototype, "renderingRule", null), n([o({ type: Me, json: { write: !0, name: "renderingRule" } })], x.prototype, "rasterFunction", void 0), n([o({ type: ye, json: { write: !0 } })], x.prototype, "pixelSize", void 0), n([o({ json: { write: !0 } })], x.prototype, "raster", void 0), n([o({ type: _t, json: { read: { source: "time" }, write: { target: "time" } } })], x.prototype, "timeExtent", void 0), x = ke = n([j("esri.rest.support.ImageHistogramParameters")], x);
|
|
883
|
+
const oa = x;
|
|
884
|
+
export {
|
|
885
|
+
bi as B,
|
|
886
|
+
vi as E,
|
|
887
|
+
ia as K,
|
|
888
|
+
Me as N,
|
|
889
|
+
ta as S,
|
|
890
|
+
Yi as V,
|
|
891
|
+
Wi as a,
|
|
892
|
+
Fi as b,
|
|
893
|
+
Xi as c,
|
|
894
|
+
nt as d,
|
|
895
|
+
ra as f,
|
|
896
|
+
oa as h,
|
|
897
|
+
_i as i,
|
|
898
|
+
wi as j,
|
|
899
|
+
ea as k,
|
|
900
|
+
rt as l,
|
|
901
|
+
aa as m,
|
|
902
|
+
be as n,
|
|
903
|
+
na as p,
|
|
904
|
+
qi as t
|
|
905
|
+
};
|