@agrotools1/at-components 0.2.1 → 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 -10184
- 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 +3 -2
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
import { cB as nn, cC as bn, b3 as F, bT as $, cw as O, B as Pn, b0 as pn, a$ as k, aH as Gn, b6 as kn, W as Nn, cD as C, cE as v, cF as sn, cG as En, cH as Tn, bR as vn, cI as an } from "./index-01c737ed.js";
|
|
2
|
+
var Z;
|
|
3
|
+
function gn(n, t, e) {
|
|
4
|
+
return !kn(n, t, e);
|
|
5
|
+
}
|
|
6
|
+
function I(n, t, e) {
|
|
7
|
+
const s = gn(n, t, e);
|
|
8
|
+
if (s && !nn())
|
|
9
|
+
throw new Nn("rasterprojectionhelper-project", "projection engine is not loaded");
|
|
10
|
+
return s;
|
|
11
|
+
}
|
|
12
|
+
(function(n) {
|
|
13
|
+
n[n.None = 0] = "None", n[n.North = 1] = "North", n[n.South = 2] = "South", n[n.Both = 3] = "Both";
|
|
14
|
+
})(Z || (Z = {}));
|
|
15
|
+
const rn = (n, t, e, s = 0) => {
|
|
16
|
+
if (e[0] === 1)
|
|
17
|
+
return [0, 0];
|
|
18
|
+
let a = 1, i = -1, o = 1, f = -1;
|
|
19
|
+
for (let u = 0; u < n.length; u += 2)
|
|
20
|
+
isNaN(n[u]) || (a = a > n[u] ? n[u] : a, i = i > n[u] ? i : n[u], o = o > n[u + 1] ? n[u + 1] : o, f = f > n[u + 1] ? f : n[u + 1]);
|
|
21
|
+
const { cols: l, rows: r } = t, c = (i - a) / l / e[0], M = (f - o) / r / e[1], y = 2 * s;
|
|
22
|
+
let x = 0, h = !1, p = [0, 0];
|
|
23
|
+
for (let u = 0; u < l - 3; u++) {
|
|
24
|
+
for (let R = 0; R < r - 3; R++) {
|
|
25
|
+
const m = u * r * 2 + 2 * R, g = (n[m] + n[m + 4] + n[m + 4 * r] + n[m + 4 * r + 4]) / 4, d = (n[m + 1] + n[m + 5] + n[m + 4 * r + 1] + n[m + 4 * r + 5]) / 4, w = Math.abs((g - n[m + 2 * r + 2]) / c), S = Math.abs((d - n[m + 2 * r + 3]) / M);
|
|
26
|
+
if (w + S > x && (x = w + S, p = [w, S]), y && x > y) {
|
|
27
|
+
h = !0;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (h)
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
return p;
|
|
35
|
+
}, Cn = { 3395: 20037508342789244e-9, 3410: 17334193943686873e-9, 3857: 20037508342788905e-9, 3975: 17367530445161372e-9, 4087: 20037508342789244e-9, 4088: 20015108787169147e-9, 6933: 17367530445161372e-9, 32662: 20037508342789244e-9, 53001: 2001508679602057e-8, 53002: 1000754339801029e-8, 53003: 2001508679602057e-8, 53004: 2001508679602057e-8, 53016: 14152803599503474e-9, 53017: 17333573624304302e-9, 53034: 2001508679602057e-8, 53079: 20015114352186374e-9, 53080: 20015114352186374e-9, 54001: 20037508342789244e-9, 54002: 10018754171394624e-9, 54003: 20037508342789244e-9, 54004: 20037508342789244e-9, 54016: 14168658027268292e-9, 54017: 1736753044516137e-8, 54034: 20037508342789244e-9, 54079: 20037508342789244e-9, 54080: 20037508342789244e-9, 54100: 20037508342789244e-9, 54101: 20037508342789244e-9 }, A = 32, Y = 4, K = Y, U = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), q = 500;
|
|
36
|
+
async function An() {
|
|
37
|
+
nn() || await bn();
|
|
38
|
+
}
|
|
39
|
+
function _n(n, t, e) {
|
|
40
|
+
return I(n.spatialReference, t), e ? an(t, n.spatialReference, n) : an(n.spatialReference, t, n);
|
|
41
|
+
}
|
|
42
|
+
function ln(n, t, e, s = null) {
|
|
43
|
+
const a = n.spatialReference;
|
|
44
|
+
if (a.equals(t))
|
|
45
|
+
return n;
|
|
46
|
+
I(a, t, s);
|
|
47
|
+
const i = e.center, o = new F({ xmin: i.x - n.x / 2, xmax: i.x + n.x / 2, ymin: i.y - n.y / 2, ymax: i.y + n.y / 2, spatialReference: a }), f = $(o, t, s), l = _(t);
|
|
48
|
+
let r;
|
|
49
|
+
if (f == null || l != null && f.width >= l) {
|
|
50
|
+
const c = O(a) / O(t);
|
|
51
|
+
r = { x: n.x * c, y: n.y * c };
|
|
52
|
+
} else
|
|
53
|
+
r = { x: f.width, y: f.height };
|
|
54
|
+
return r;
|
|
55
|
+
}
|
|
56
|
+
function N(n, t = 0.01) {
|
|
57
|
+
return O(n) ? t / O(n) : 0;
|
|
58
|
+
}
|
|
59
|
+
function cn(n, t, e = null, s = !0) {
|
|
60
|
+
const a = n.spatialReference;
|
|
61
|
+
if (a.equals(t))
|
|
62
|
+
return n;
|
|
63
|
+
I(a, t, e);
|
|
64
|
+
const i = $(n, t, e);
|
|
65
|
+
return s && i && yn([n], [i], a, t), i;
|
|
66
|
+
}
|
|
67
|
+
function yn(n, t, e, s) {
|
|
68
|
+
const a = J(e, !0), i = J(s, !0), o = N(e, q), f = N(s, q);
|
|
69
|
+
if (o && a != null && i != null)
|
|
70
|
+
for (let l = 0; l < n.length; l++) {
|
|
71
|
+
const r = t[l];
|
|
72
|
+
if (!r)
|
|
73
|
+
continue;
|
|
74
|
+
const { x: c } = n[l], { x: M } = r;
|
|
75
|
+
M >= i[1] - f && Math.abs(c - a[0]) < o ? r.x -= i[1] - i[0] : M <= i[0] + f && Math.abs(c - a[1]) < o && (r.x += i[1] - i[0]);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function zn(n) {
|
|
79
|
+
const { inSR: t, outSR: e, datumTransformation: s, preferPE: a } = n;
|
|
80
|
+
if (t.equals(e)) {
|
|
81
|
+
const { points: i } = tn(n, null);
|
|
82
|
+
return i;
|
|
83
|
+
}
|
|
84
|
+
return t.isWebMercator && e.isWGS84 || t.isWGS84 && e.isWebMercator ? $n(n) : I(t, e, s) && a && (t.isGeographic || W(t) != null) ? fn(n) : Wn(n);
|
|
85
|
+
}
|
|
86
|
+
function Wn(n) {
|
|
87
|
+
const { points: t } = tn(n, null), { inSR: e, outSR: s, datumTransformation: a } = n, i = t.map((f) => new k(f[0], f[1], e)), o = $(i, s, a);
|
|
88
|
+
return a && yn(i, o, e, s), o.map((f) => f ? [f.x, f.y] : [NaN, NaN]);
|
|
89
|
+
}
|
|
90
|
+
function fn(n) {
|
|
91
|
+
const { inSR: t, outSR: e, datumTransformation: s } = n, a = W(t), { points: i, mask: o } = tn(n, a);
|
|
92
|
+
if (!t.isGeographic) {
|
|
93
|
+
const l = t.wkid ? C.coordsys(t.wkid) : C.fromString(t.isGeographic ? v.PE_TYPE_GEOGCS : v.PE_TYPE_PROJCS, t.wkt2 || t.wkt);
|
|
94
|
+
sn.projToGeog(l, i.length, i);
|
|
95
|
+
}
|
|
96
|
+
if (s != null && s.steps.length) {
|
|
97
|
+
let l;
|
|
98
|
+
if (e.isGeographic && (l = i.map(([c]) => c > 179.9955 ? 1 : c < -179.9955 ? -1 : 0)), s.steps.forEach((c) => {
|
|
99
|
+
const M = c.wkid ? C.geogtran(c.wkid) : C.fromString(v.PE_TYPE_GEOGTRAN, c.wkt);
|
|
100
|
+
En.geogToGeog(M, i.length, i, null, c.isInverse ? v.PE_TRANSFORM_2_TO_1 : v.PE_TRANSFORM_1_TO_2);
|
|
101
|
+
}), l)
|
|
102
|
+
for (let c = 0; c < i.length; c++) {
|
|
103
|
+
const M = l[c], y = i[c][0], x = y > 179.9955 ? 1 : y < -179.9955 ? -1 : 0;
|
|
104
|
+
M && x && M !== x && (i[c][0] = M > 0 ? y + 360 : y - 360);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (!e.isGeographic) {
|
|
108
|
+
const l = W(e, !0), r = l != null && l.isEnvelope ? [l.bbox[1], l.bbox[3]] : [-90, 90];
|
|
109
|
+
In(i, r);
|
|
110
|
+
const c = e.wkid ? C.coordsys(e.wkid) : C.fromString(e.isGeographic ? v.PE_TYPE_GEOGCS : v.PE_TYPE_PROJCS, e.wkt2 || e.wkt);
|
|
111
|
+
sn.geogToProj(c, i.length, i);
|
|
112
|
+
}
|
|
113
|
+
let f = i;
|
|
114
|
+
if (o && i.length !== o.length) {
|
|
115
|
+
f = [];
|
|
116
|
+
for (let l = 0, r = 0; l < o.length; l++)
|
|
117
|
+
o[l] ? f.push(i[r++]) : f.push([NaN, NaN]);
|
|
118
|
+
}
|
|
119
|
+
return f;
|
|
120
|
+
}
|
|
121
|
+
function $n(n) {
|
|
122
|
+
const { cols: t, rows: e, xres: s, yres: a, usePixelCenter: i, inSR: o, outSR: f } = n;
|
|
123
|
+
let { xmin: l, ymax: r } = n;
|
|
124
|
+
i && (l += s / 2, r -= a / 2);
|
|
125
|
+
const c = [], M = [], y = Math.max(t, e);
|
|
126
|
+
for (let h = 0; h < y; h++) {
|
|
127
|
+
const p = l + s * Math.min(t, h), u = r - a * Math.min(e, h), R = $(new k({ x: p, y: u, spatialReference: o }), f);
|
|
128
|
+
h <= t && c.push(R.x), h <= e && M.push(R.y);
|
|
129
|
+
}
|
|
130
|
+
const x = [];
|
|
131
|
+
for (let h = 0; h < t; h++)
|
|
132
|
+
for (let p = 0; p < e; p++)
|
|
133
|
+
x.push([c[h], M[p]]);
|
|
134
|
+
return x;
|
|
135
|
+
}
|
|
136
|
+
function W(n, t = !1) {
|
|
137
|
+
let e = n.wkid || n.wkt2 || n.wkt;
|
|
138
|
+
if (!e || n.isGeographic)
|
|
139
|
+
return null;
|
|
140
|
+
if (e = String(e), U.has(e)) {
|
|
141
|
+
const o = U.get(e);
|
|
142
|
+
return t ? o == null ? void 0 : o.gcs : o == null ? void 0 : o.pcs;
|
|
143
|
+
}
|
|
144
|
+
const s = n.wkid ? C.coordsys(n.wkid) : C.fromString(n.isGeographic ? v.PE_TYPE_GEOGCS : v.PE_TYPE_PROJCS, n.wkt2 || n.wkt), a = un(s, N(n, 1e-4)), i = un(s, 0, !0);
|
|
145
|
+
return U.set(e, { pcs: a, gcs: i }), t ? i : a;
|
|
146
|
+
}
|
|
147
|
+
function un(n, t = 0, e = !1) {
|
|
148
|
+
const s = Tn.generate(n), a = e ? n.horizonGcsGenerate() : n.horizonPcsGenerate();
|
|
149
|
+
if (!s || !(a != null && a.length))
|
|
150
|
+
return null;
|
|
151
|
+
let i = !1, o = a.find((u) => u.getInclusive() === 1 && u.getKind() === 1);
|
|
152
|
+
if (!o) {
|
|
153
|
+
if (o = a.find((u) => u.getInclusive() === 1 && u.getKind() === 0), !o)
|
|
154
|
+
return null;
|
|
155
|
+
i = !0;
|
|
156
|
+
}
|
|
157
|
+
const f = e ? 0 : (s.getNorthPoleLocation() === 2 ? 1 : 0) | (s.getSouthPoleLocation() === 2 ? 2 : 0), l = s.isPannableRectangle(), r = o.getCoord();
|
|
158
|
+
if (i)
|
|
159
|
+
return { isEnvelope: i, isPannable: l, vertices: r, coef: null, bbox: [r[0][0] - t, r[0][1] - t, r[1][0] + t, r[1][1] + t], poleLocation: f };
|
|
160
|
+
let c = 0;
|
|
161
|
+
const M = [];
|
|
162
|
+
let [y, x] = r[0], [h, p] = r[0];
|
|
163
|
+
for (let u = 0, R = r.length; u < R; u++) {
|
|
164
|
+
c++, c === R && (c = 0);
|
|
165
|
+
const [m, g] = r[u], [d, w] = r[c];
|
|
166
|
+
if (w === g)
|
|
167
|
+
M.push([m, d, g, w, 2]);
|
|
168
|
+
else {
|
|
169
|
+
const S = (d - m) / (w - g || 1e-4), T = m - S * g;
|
|
170
|
+
g < w ? M.push([S, T, g, w, 0]) : M.push([S, T, w, g, 1]);
|
|
171
|
+
}
|
|
172
|
+
y = y < m ? y : m, x = x < g ? x : g, h = h > m ? h : m, p = p > g ? p : g;
|
|
173
|
+
}
|
|
174
|
+
return { isEnvelope: !1, isPannable: l, vertices: r, coef: M, bbox: [y, x, h, p], poleLocation: f };
|
|
175
|
+
}
|
|
176
|
+
function tn(n, t) {
|
|
177
|
+
const e = [], { cols: s, rows: a, xres: i, yres: o, usePixelCenter: f } = n;
|
|
178
|
+
let { xmin: l, ymax: r } = n;
|
|
179
|
+
if (f && (l += i / 2, r -= o / 2), t == null) {
|
|
180
|
+
for (let x = 0; x < s; x++)
|
|
181
|
+
for (let h = 0; h < a; h++)
|
|
182
|
+
e.push([l + i * x, r - o * h]);
|
|
183
|
+
return { points: e };
|
|
184
|
+
}
|
|
185
|
+
const c = new Uint8Array(s * a);
|
|
186
|
+
if (t.isEnvelope) {
|
|
187
|
+
const { bbox: [x, h, p, u] } = t;
|
|
188
|
+
for (let R = 0, m = 0; R < s; R++) {
|
|
189
|
+
const g = l + i * R, d = t.isPannable || g >= x && g <= p;
|
|
190
|
+
for (let w = 0; w < a; w++, m++) {
|
|
191
|
+
const S = r - o * w;
|
|
192
|
+
d && S >= h && S <= u && (e.push([g, S]), c[m] = 1);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return { points: e, mask: c };
|
|
196
|
+
}
|
|
197
|
+
const M = t.coef, y = [];
|
|
198
|
+
for (let x = 0; x < a; x++) {
|
|
199
|
+
const h = r - o * x, p = [], u = [];
|
|
200
|
+
for (let m = 0; m < M.length; m++) {
|
|
201
|
+
const [g, d, w, S, T] = M[m];
|
|
202
|
+
if (h === w && w === S)
|
|
203
|
+
p.push(g), p.push(d), u.push(2), u.push(2);
|
|
204
|
+
else if (h >= w && h <= S) {
|
|
205
|
+
const L = g * h + d;
|
|
206
|
+
p.push(L), u.push(T);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
let R = p;
|
|
210
|
+
if (p.length > 2) {
|
|
211
|
+
let m = u[0] === 2 ? 0 : u[0], g = p[0];
|
|
212
|
+
R = [];
|
|
213
|
+
for (let d = 1; d < u.length; d++)
|
|
214
|
+
u[d] === 2 && d !== u.length - 1 || (u[d] !== m && (R.push(m === 0 ? Math.min(g, p[d - 1]) : Math.max(g, p[d - 1])), m = u[d], g = p[d]), d === u.length - 1 && R.push(u[d] === 0 ? Math.min(g, p[d]) : Math.max(g, p[d])));
|
|
215
|
+
R.sort((d, w) => d - w);
|
|
216
|
+
} else
|
|
217
|
+
p[0] > p[1] && (R = [p[1], p[0]]);
|
|
218
|
+
y.push(R);
|
|
219
|
+
}
|
|
220
|
+
for (let x = 0, h = 0; x < s; x++) {
|
|
221
|
+
const p = l + i * x;
|
|
222
|
+
for (let u = 0; u < a; u++, h++) {
|
|
223
|
+
const R = r - o * u, m = y[u];
|
|
224
|
+
if (m.length === 2)
|
|
225
|
+
p >= m[0] && p <= m[1] && (e.push([p, R]), c[h] = 1);
|
|
226
|
+
else if (m.length > 2) {
|
|
227
|
+
let g = !1;
|
|
228
|
+
for (let d = 0; d < m.length; d += 2)
|
|
229
|
+
if (p >= m[d] && p <= m[d + 1]) {
|
|
230
|
+
g = !0;
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
g && (e.push([p, R]), c[h] = 1);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return { points: e, mask: c };
|
|
238
|
+
}
|
|
239
|
+
function In(n, t) {
|
|
240
|
+
const [e, s] = t;
|
|
241
|
+
for (let a = 0; a < n.length; a++) {
|
|
242
|
+
const i = n[a][1];
|
|
243
|
+
(i < e || i > s) && (n[a] = [NaN, NaN]);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
function dn(n, t) {
|
|
247
|
+
const e = _(n[0].spatialReference);
|
|
248
|
+
if (n.length < 2 || e == null || (t = t ?? N(n[0].spatialReference), (n = n.filter((f) => f.width > t)).length === 1))
|
|
249
|
+
return n[0];
|
|
250
|
+
let { xmin: s, xmax: a, ymin: i, ymax: o } = n[0];
|
|
251
|
+
for (let f = 1; f < n.length; f++) {
|
|
252
|
+
const l = n[f];
|
|
253
|
+
a = l.xmax + e * f, i = Math.min(i, l.ymin), o = Math.max(o, l.ymax);
|
|
254
|
+
}
|
|
255
|
+
return new F({ xmin: s, xmax: a, ymin: i, ymax: o, spatialReference: n[0].spatialReference });
|
|
256
|
+
}
|
|
257
|
+
function Mn(n, t, e = null, s = !0) {
|
|
258
|
+
const a = n.spatialReference;
|
|
259
|
+
if (a.equals(t))
|
|
260
|
+
return n;
|
|
261
|
+
const i = wn(n), o = _(a, !0), f = _(t);
|
|
262
|
+
if (i === 0 || o == null || f == null) {
|
|
263
|
+
const r = xn(n, t, e, s);
|
|
264
|
+
if (o == null && f != null && Math.abs(r.width - f) < N(t) && nn()) {
|
|
265
|
+
const c = W(a);
|
|
266
|
+
if (c != null && c.poleLocation === Z.None && n.width < (c.bbox[2] - c.bbox[0]) / 2)
|
|
267
|
+
return Ln(n, t) || r;
|
|
268
|
+
}
|
|
269
|
+
return r;
|
|
270
|
+
}
|
|
271
|
+
const l = n.clone().normalize();
|
|
272
|
+
if (l.length === 1 && n.xmax < o && n.xmax - o / 2 > N(a)) {
|
|
273
|
+
const { xmin: r, xmax: c } = n;
|
|
274
|
+
for (let M = 0; M <= i; M++) {
|
|
275
|
+
const y = M === 0 ? r : -o / 2, x = M === i ? c - o * M : o / 2;
|
|
276
|
+
l[M] = new F({ xmin: y, xmax: x, ymin: n.ymin, ymax: n.ymax, spatialReference: a });
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return dn(l.map((r) => xn(r, t, e, s)).filter(Pn));
|
|
280
|
+
}
|
|
281
|
+
function Yn(n, t, e) {
|
|
282
|
+
if (n.type === "extent") {
|
|
283
|
+
const { xmin: s, ymin: a, xmax: i, ymax: o, spatialReference: f } = n;
|
|
284
|
+
n = new pn({ rings: [[[s, o], [i, o], [i, a], [s, a], [s, o]]], spatialReference: f });
|
|
285
|
+
}
|
|
286
|
+
return n.spatialReference.equals(t) ? n : (I(n.spatialReference, t, e), $(n, t, e));
|
|
287
|
+
}
|
|
288
|
+
function Ln(n, t) {
|
|
289
|
+
const e = _(t);
|
|
290
|
+
if (e == null)
|
|
291
|
+
return null;
|
|
292
|
+
let { xmin: s, ymin: a, xmax: i, ymax: o } = n;
|
|
293
|
+
const f = n.spatialReference, l = new pn({ spatialReference: f, rings: [[[s, a], [i, a], [i, o], [s, o], [s, a]]] }), r = $(l, t);
|
|
294
|
+
if (r.rings.length !== 2 || !r.rings[0].length || !r.rings[1].length)
|
|
295
|
+
return null;
|
|
296
|
+
const { rings: c } = r, M = N(f), y = new F({ spatialReference: t });
|
|
297
|
+
for (let x = 0; x < 2; x++) {
|
|
298
|
+
s = i = c[x][0][0], a = o = c[x][0][1];
|
|
299
|
+
for (let h = 0; h < c[x].length; h++)
|
|
300
|
+
s = s > c[x][h][0] ? c[x][h][0] : s, i = i < c[x][h][0] ? c[x][h][0] : i, a = a > c[x][h][1] ? c[x][h][1] : a, o = o < c[x][h][1] ? c[x][h][1] : o;
|
|
301
|
+
if (x === 0)
|
|
302
|
+
y.ymin = a, y.ymax = o, y.xmin = s, y.xmax = i;
|
|
303
|
+
else if (y.ymin = Math.min(y.ymin, a), y.ymax = Math.max(y.ymax, o), Math.abs(i - e / 2) < M)
|
|
304
|
+
y.xmin = s, y.xmax = y.xmax + e;
|
|
305
|
+
else {
|
|
306
|
+
if (!(Math.abs(s + e / 2) < M))
|
|
307
|
+
return null;
|
|
308
|
+
y.xmax = i + e;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
return y;
|
|
312
|
+
}
|
|
313
|
+
function xn(n, t, e = null, s = !0, a = !0) {
|
|
314
|
+
const i = n.spatialReference;
|
|
315
|
+
if (i.equals(t) || !t)
|
|
316
|
+
return n;
|
|
317
|
+
I(i, t, e);
|
|
318
|
+
const o = $(n, t, e);
|
|
319
|
+
if (a && t.isWebMercator && o && (o.ymax = Math.min(20037508342787e-6, o.ymax), o.ymin = Math.max(-20037508342787e-6, o.ymin), o.ymin >= o.ymax))
|
|
320
|
+
return null;
|
|
321
|
+
if (!s || !o)
|
|
322
|
+
return o;
|
|
323
|
+
const f = J(i, !0), l = J(t, !0);
|
|
324
|
+
if (f == null || l == null)
|
|
325
|
+
return o;
|
|
326
|
+
const r = N(i, 1e-3), c = N(i, q), M = N(t, 1e-3);
|
|
327
|
+
if (Math.abs(o.xmin - l[0]) < M && Math.abs(o.xmax - l[1]) < M) {
|
|
328
|
+
const y = Math.abs(n.xmin - f[0]), x = Math.abs(f[1] - n.xmax);
|
|
329
|
+
if (y < r && x > c) {
|
|
330
|
+
o.xmin = l[0];
|
|
331
|
+
const h = [];
|
|
332
|
+
h.push(new k(n.xmax, n.ymin, i)), h.push(new k(n.xmax, (n.ymin + n.ymax) / 2, i)), h.push(new k(n.xmax, n.ymax, i));
|
|
333
|
+
const p = h.map((u) => cn(u, t, e)).filter((u) => !isNaN(u == null ? void 0 : u.x)).map((u) => u.x);
|
|
334
|
+
o.xmax = Math.max.apply(null, p);
|
|
335
|
+
}
|
|
336
|
+
if (x < r && y > c) {
|
|
337
|
+
o.xmax = l[1];
|
|
338
|
+
const h = [];
|
|
339
|
+
h.push(new k(n.xmin, n.ymin, i)), h.push(new k(n.xmin, (n.ymin + n.ymax) / 2, i)), h.push(new k(n.xmin, n.ymax, i));
|
|
340
|
+
const p = h.map((u) => cn(u, t, e)).filter((u) => !isNaN(u == null ? void 0 : u.x)).map((u) => u.x);
|
|
341
|
+
o.xmin = Math.min.apply(null, p);
|
|
342
|
+
}
|
|
343
|
+
} else {
|
|
344
|
+
const y = N(t, 1e-3);
|
|
345
|
+
Math.abs(o.xmin - l[0]) < y && (o.xmin = l[0]), Math.abs(o.xmax - l[1]) < y && (o.xmax = l[1]);
|
|
346
|
+
}
|
|
347
|
+
return o;
|
|
348
|
+
}
|
|
349
|
+
function _(n, t = !1) {
|
|
350
|
+
if (!n)
|
|
351
|
+
return null;
|
|
352
|
+
const e = t ? 20037508342787e-6 : 20037508342788905e-9;
|
|
353
|
+
return n.isWebMercator ? 2 * e : n.wkid && n.isGeographic ? 360 : 2 * Cn[n.wkid] || null;
|
|
354
|
+
}
|
|
355
|
+
function J(n, t = !1) {
|
|
356
|
+
if (n.isGeographic)
|
|
357
|
+
return [-180, 180];
|
|
358
|
+
const e = _(n, t);
|
|
359
|
+
return e != null ? [-e / 2, e / 2] : null;
|
|
360
|
+
}
|
|
361
|
+
function hn(n, t, e, s) {
|
|
362
|
+
let a = (n - t) / e;
|
|
363
|
+
return a - Math.floor(a) != 0 ? a = Math.floor(a) : s && (a -= 1), a;
|
|
364
|
+
}
|
|
365
|
+
function wn(n, t = !1) {
|
|
366
|
+
const e = _(n.spatialReference);
|
|
367
|
+
if (e == null)
|
|
368
|
+
return 0;
|
|
369
|
+
const s = t ? 0 : -(e / 2), a = N(n.spatialReference), i = !t && Math.abs(n.xmax - e / 2) < a ? e / 2 : n.xmax, o = !t && Math.abs(n.xmin + e / 2) < a ? -e / 2 : n.xmin;
|
|
370
|
+
return hn(i, s, e, !0) - hn(o, s, e, !1);
|
|
371
|
+
}
|
|
372
|
+
function qn(n) {
|
|
373
|
+
const t = n.storageInfo.origin.x, e = _(n.spatialReference, !0);
|
|
374
|
+
if (e == null)
|
|
375
|
+
return { originX: t, halfWorldWidth: null, pyramidsInfo: null };
|
|
376
|
+
const s = e / 2, { nativePixelSize: a, storageInfo: i, extent: o } = n, { maximumPyramidLevel: f, blockWidth: l, pyramidScalingFactor: r } = i;
|
|
377
|
+
let c = a.x;
|
|
378
|
+
const M = [], y = n.transform != null && n.transform.type === "gcs-shift", x = t + (y ? 0 : s), h = y ? e - t : s - t;
|
|
379
|
+
for (let p = 0; p <= f; p++) {
|
|
380
|
+
const u = (o.xmax - t) / c / l, R = u - Math.floor(u) == 0 ? u : Math.ceil(u), m = h / c / l, g = m - Math.floor(m) == 0 ? m : Math.ceil(m), d = Math.floor(x / c / l), w = Math.round(x / c) % l, S = (l - Math.round(h / c) % l) % l;
|
|
381
|
+
M.push({ resolutionX: c, blockWidth: l, datasetColumnCount: R, worldColumnCountFromOrigin: g, leftMargin: w, rightPadding: S, originColumnOffset: d }), c *= r;
|
|
382
|
+
}
|
|
383
|
+
return { originX: t, halfWorldWidth: s, pyramidsInfo: M, hasGCSSShiftTransform: y };
|
|
384
|
+
}
|
|
385
|
+
function On(n) {
|
|
386
|
+
if (!n || n.isGeographic)
|
|
387
|
+
return n;
|
|
388
|
+
const t = String(n.wkid || n.wkt2 || n.wkt);
|
|
389
|
+
let e;
|
|
390
|
+
return V.has(t) ? e = V.get(t) : (e = (n.wkid ? C.coordsys(n.wkid) : C.fromString(v.PE_TYPE_PROJCS, n.wkt2 || n.wkt)).getGeogcs().getCode(), V.set(t, e)), new vn({ wkid: e });
|
|
391
|
+
}
|
|
392
|
+
function Jn(n) {
|
|
393
|
+
const t = n.isAdaptive && n.spacing == null;
|
|
394
|
+
let e = n.spacing || [A, A], s = Q(n), a = { cols: s.size[0] + 1, rows: s.size[1] + 1 };
|
|
395
|
+
const i = s.outofBoundPointCount > 0 && s.outofBoundPointCount < s.offsets.length / 2;
|
|
396
|
+
let o = s.outofBoundPointCount === s.offsets.length / 2 || t && i ? [0, 0] : rn(s.offsets, a, e, K);
|
|
397
|
+
const f = (o[0] + o[1]) / 2, l = n.projectedExtent.spatialReference, r = n.srcBufferExtent.spatialReference;
|
|
398
|
+
if (t && (i || f > K) && (gn(l, r, n.datumTransformation) && (l.isGeographic || W(l)), e = [Y, Y], s = Q({ ...n, spacing: e }), a = { cols: s.size[0] + 1, rows: s.size[1] + 1 }, o = rn(s.offsets, a, e, K)), s.error = o, e[0] > 1 && (s.coefficients = mn(s.offsets, a, i)), n.includeGCSGrid && !l.isGeographic && !l.isWebMercator)
|
|
399
|
+
if (r.isGeographic)
|
|
400
|
+
s.gcsGrid = { offsets: s.offsets, coefficients: s.coefficients, spacing: e };
|
|
401
|
+
else {
|
|
402
|
+
const c = W(l);
|
|
403
|
+
if (c != null && !c.isEnvelope) {
|
|
404
|
+
const M = On(l), y = Mn(n.projectedExtent, M), { offsets: x } = Q({ ...n, srcBufferExtent: y, spacing: e }), h = mn(x, a, i);
|
|
405
|
+
s.gcsGrid = { offsets: x, coefficients: h, spacing: e };
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return s;
|
|
409
|
+
}
|
|
410
|
+
function Q(n) {
|
|
411
|
+
const { projectedExtent: t, srcBufferExtent: e, pixelSize: s, datumTransformation: a, rasterTransform: i } = n, o = t.spatialReference, f = e.spatialReference, l = I(o, f), { xmin: r, ymin: c, xmax: M, ymax: y } = t, x = _(f), h = x != null && (n.hasWrapAround || (i == null ? void 0 : i.type) === "gcs-shift"), p = n.spacing || [A, A], u = p[0] * s.x, R = p[1] * s.y, m = p[0] === 1, g = Math.ceil((M - r) / u - 0.1 / p[0]) + (m ? 0 : 1), d = Math.ceil((y - c) / R - 0.1 / p[1]) + (m ? 0 : 1), w = zn({ cols: g, rows: d, xmin: r, ymax: y, xres: u, yres: R, inSR: o, outSR: f, datumTransformation: a, preferPE: p[0] <= Y, usePixelCenter: m }), S = [];
|
|
412
|
+
let T, L = 0;
|
|
413
|
+
const B = m ? -1 : NaN, { xmin: b, xmax: P, ymax: E, width: H, height: X } = e, Rn = N(f, q), Sn = x != null && b > 0 && P > x / 2;
|
|
414
|
+
let en = !1;
|
|
415
|
+
if (l) {
|
|
416
|
+
const z = W(o);
|
|
417
|
+
en = z != null && z.poleLocation > 0;
|
|
418
|
+
}
|
|
419
|
+
for (let z = 0; z < g; z++) {
|
|
420
|
+
const D = [];
|
|
421
|
+
for (let j = 0; j < d; j++) {
|
|
422
|
+
let G = w[z * d + j];
|
|
423
|
+
if (h && G[0] > P && G[0] > x / 2 - Rn ? G[0] -= x : h && z === 0 && G[0] < 0 && Sn && !i && (G[0] += x), !G || isNaN(G[0]) || isNaN(G[1]))
|
|
424
|
+
S.push(B), S.push(B), D.push(null), L++;
|
|
425
|
+
else {
|
|
426
|
+
if (i) {
|
|
427
|
+
const on = i.inverseTransform(new k({ x: G[0], y: G[1], spatialReference: f }));
|
|
428
|
+
G = [on.x, on.y];
|
|
429
|
+
}
|
|
430
|
+
D.push(G), z > 0 && h && T[j] && G[0] < T[j][0] && (G[0] += x, en && G[0] > P && G[0] > x && (G[0] -= x)), S.push((G[0] - b) / H), S.push((E - G[1]) / X);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
T = D;
|
|
434
|
+
}
|
|
435
|
+
return { offsets: S, error: null, coefficients: null, outofBoundPointCount: L, spacing: p, size: m ? [g, d] : [g - 1, d - 1] };
|
|
436
|
+
}
|
|
437
|
+
function mn(n, t, e) {
|
|
438
|
+
const { cols: s, rows: a } = t, i = new Float32Array((s - 1) * (a - 1) * 2 * 6), o = new Float32Array([-0, -1, 1, -1, 1, -0, 1, -0, -0]), f = new Float32Array([-1, 1, 0, 0, -1, 1, 1, 0, 0]);
|
|
439
|
+
for (let l = 0; l < s - 1; l++) {
|
|
440
|
+
for (let r = 0; r < a - 1; r++) {
|
|
441
|
+
let c = l * a * 2 + 2 * r;
|
|
442
|
+
const M = n[c], y = n[c + 1], x = n[c + 2], h = n[c + 3];
|
|
443
|
+
c += 2 * a;
|
|
444
|
+
const p = n[c], u = n[c + 1], R = n[c + 2], m = n[c + 3];
|
|
445
|
+
let g = 0, d = 12 * (r * (s - 1) + l);
|
|
446
|
+
for (let w = 0; w < 3; w++)
|
|
447
|
+
i[d++] = o[g++] * M + o[g++] * x + o[g++] * R;
|
|
448
|
+
g = 0;
|
|
449
|
+
for (let w = 0; w < 3; w++)
|
|
450
|
+
i[d++] = o[g++] * y + o[g++] * h + o[g++] * m;
|
|
451
|
+
g = 0;
|
|
452
|
+
for (let w = 0; w < 3; w++)
|
|
453
|
+
i[d++] = f[g++] * M + f[g++] * p + f[g++] * R;
|
|
454
|
+
g = 0;
|
|
455
|
+
for (let w = 0; w < 3; w++)
|
|
456
|
+
i[d++] = f[g++] * y + f[g++] * u + f[g++] * m;
|
|
457
|
+
}
|
|
458
|
+
if (e)
|
|
459
|
+
for (let r = 0; r < i.length; r++)
|
|
460
|
+
isNaN(i[r]) && (i[r] = -1);
|
|
461
|
+
}
|
|
462
|
+
return i;
|
|
463
|
+
}
|
|
464
|
+
function Bn(n, t) {
|
|
465
|
+
const e = n.clone().normalize();
|
|
466
|
+
return e.length === 1 ? e[0] : dn(e, t);
|
|
467
|
+
}
|
|
468
|
+
function Hn(n) {
|
|
469
|
+
const { spatialReference: t } = n, e = Gn(t);
|
|
470
|
+
if (!e)
|
|
471
|
+
return n;
|
|
472
|
+
const [s, a] = e.valid, i = a - s;
|
|
473
|
+
let o = 0;
|
|
474
|
+
if (n.xmin < s) {
|
|
475
|
+
const f = s - n.xmin;
|
|
476
|
+
o = Math.ceil(f / i);
|
|
477
|
+
} else if (n.xmin > a) {
|
|
478
|
+
const f = n.xmin - a;
|
|
479
|
+
o = -Math.ceil(f / i);
|
|
480
|
+
}
|
|
481
|
+
return new F({ spatialReference: n.spatialReference, xmin: n.xmin + o * i, ymin: n.ymin, xmax: n.xmax + o * i, ymax: n.ymax });
|
|
482
|
+
}
|
|
483
|
+
function Xn(n, t, e) {
|
|
484
|
+
var h;
|
|
485
|
+
const { storageInfo: s, pixelSize: a } = t;
|
|
486
|
+
let i = 0, o = !1;
|
|
487
|
+
const { pyramidResolutions: f } = s, l = ((h = s.tileInfo.format) == null ? void 0 : h.toLowerCase()) === "mixed" ? Math.max(1, Math.min(3, s.tileInfo.dpi / 96)) : 1, r = (n.x + n.y) / 2 / l;
|
|
488
|
+
if (f != null && f.length) {
|
|
489
|
+
const p = f[f.length - 1], u = (p.x + p.y) / 2, R = (a.x + a.y) / 2;
|
|
490
|
+
if (r <= R)
|
|
491
|
+
i = 0;
|
|
492
|
+
else if (r >= u)
|
|
493
|
+
i = f.length, o = r / u > 8;
|
|
494
|
+
else {
|
|
495
|
+
let g, d = R;
|
|
496
|
+
for (let w = 1; w <= f.length; w++) {
|
|
497
|
+
if (g = (f[w - 1].x + f[w - 1].y) / 2, r <= g) {
|
|
498
|
+
r === g ? i = w : e === "down" ? (i = w - 1, o = r / d > 8) : i = e === "up" || r - d > g - r || r / d > 2 ? w : w - 1;
|
|
499
|
+
break;
|
|
500
|
+
}
|
|
501
|
+
d = g;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
const m = i === 0 ? a : f[i - 1];
|
|
505
|
+
return o && Math.min(m.x, m.y) * O(t.spatialReference) > 19567 && (o = !1), { pyramidLevel: i, pyramidResolution: new k({ x: m.x, y: m.y, spatialReference: t.spatialReference }), excessiveReading: o };
|
|
506
|
+
}
|
|
507
|
+
const c = Math.log(n.x / a.x) / Math.LN2, M = Math.log(n.y / a.y) / Math.LN2, y = t.storageInfo.maximumPyramidLevel || 0;
|
|
508
|
+
i = e === "down" ? Math.floor(Math.min(c, M)) : e === "up" ? Math.ceil(Math.max(c, M)) : Math.round((c + M) / 2), i < 0 ? i = 0 : i > y && (o = i > y + 3, i = y);
|
|
509
|
+
const x = 2 ** i;
|
|
510
|
+
return { pyramidLevel: i, pyramidResolution: new k({ x: x * t.nativePixelSize.x, y: x * t.nativePixelSize.y, spatialReference: t.spatialReference }), excessiveReading: o };
|
|
511
|
+
}
|
|
512
|
+
function jn(n, t) {
|
|
513
|
+
const { pixelSize: e, extent: s } = n, a = _n(s, t, !1);
|
|
514
|
+
return Mn(Bn(s, (e.x + e.y) / 16), t, a);
|
|
515
|
+
}
|
|
516
|
+
function Dn(n, t, e) {
|
|
517
|
+
var B;
|
|
518
|
+
const s = (e == null ? void 0 : e.tileSize) ?? 512, a = (e == null ? void 0 : e.alignGlobalDatasetWithAGOL) ?? !0, i = !!(e != null && e.limitToSrcResolution), { extent: o, spatialReference: f, pixelSize: l } = n, r = ln(new k({ x: l.x, y: l.y, spatialReference: f }), t, o);
|
|
519
|
+
if (r == null)
|
|
520
|
+
return { projectedPixelSize: null, scales: null, srcResolutions: null, isCustomTilingScheme: !1 };
|
|
521
|
+
const c = (r.x + r.y) / 2, M = O(t), y = c * M * 96 * 39.37, x = t.isGeographic ? 256 / s * 2958287637958547e-7 : 256 / s * 591657527591555e-6;
|
|
522
|
+
let h = n.dataType === "vector-magdir" || n.dataType === "vector-uv";
|
|
523
|
+
const p = jn(n, t), u = Math.min(Math.ceil(Math.log(Math.min(n.width, n.height) / 32) / Math.LN2), Math.ceil(Math.log(x / 2 / y) / Math.LN2));
|
|
524
|
+
if (!h && a && (t.isGeographic || t.isWebMercator)) {
|
|
525
|
+
const b = _(t);
|
|
526
|
+
if (h = wn(p) > 0 || b != null && p.width > b / 4, !h && b != null) {
|
|
527
|
+
let P = -1;
|
|
528
|
+
if (u < 3)
|
|
529
|
+
P = 2 ** u * c * s;
|
|
530
|
+
else if (n.storageInfo) {
|
|
531
|
+
const { maximumPyramidLevel: H = 0, pyramidScalingFactor: X = 2 } = n.storageInfo;
|
|
532
|
+
P = X ** H * c * s;
|
|
533
|
+
}
|
|
534
|
+
const E = Math.ceil(b / P);
|
|
535
|
+
h = E === 1 || E === 2 && b / 2 - p.xmax < P;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
let R, m = y;
|
|
539
|
+
const g = 1.001, d = Math.min(2, Math.max(1.414, ((B = n.storageInfo) == null ? void 0 : B.pyramidScalingFactor) || 2));
|
|
540
|
+
if (h) {
|
|
541
|
+
m = x;
|
|
542
|
+
const b = t.isGeographic ? 1341104507446289e-21 : 0.29858214164761665, P = b * (96 * M * 39.37), E = t.isGeographic ? 4326 : 3857;
|
|
543
|
+
R = ln(new k({ x: b, y: b, spatialReference: { wkid: E } }), f, p), R.x *= m / P, R.y *= m / P;
|
|
544
|
+
} else {
|
|
545
|
+
R = { x: l.x, y: l.y };
|
|
546
|
+
let b = 0;
|
|
547
|
+
for (; m < x * (g / 2) && b < u; )
|
|
548
|
+
b++, m *= d, R.x *= d, R.y *= d;
|
|
549
|
+
Math.max(m, x) / Math.min(m, x) <= g && (m = x);
|
|
550
|
+
}
|
|
551
|
+
const w = [m], S = [{ x: R.x, y: R.y }], T = 70.5310735, L = Math.min(T, y) / g;
|
|
552
|
+
for (; m >= L; )
|
|
553
|
+
m /= d, R.x /= d, R.y /= d, w.push(m), S.push({ x: R.x, y: R.y });
|
|
554
|
+
if (i) {
|
|
555
|
+
const b = 1e-3 * l.x;
|
|
556
|
+
let P = S.findIndex((E) => E.x >= l.x - b && E.x <= l.x + b);
|
|
557
|
+
P > -1 ? (S.length = P + 1, w.length = P + 1) : (P = S.findIndex((E) => E.x <= l.x + b), P > 0 && (S.length = P, w.length = P));
|
|
558
|
+
}
|
|
559
|
+
return { projectedPixelSize: r, scales: w, srcResolutions: S, isCustomTilingScheme: !h };
|
|
560
|
+
}
|
|
561
|
+
export {
|
|
562
|
+
ln as C,
|
|
563
|
+
_ as D,
|
|
564
|
+
Mn as J,
|
|
565
|
+
gn as M,
|
|
566
|
+
An as T,
|
|
567
|
+
Yn as U,
|
|
568
|
+
wn as V,
|
|
569
|
+
qn as Z,
|
|
570
|
+
Dn as a,
|
|
571
|
+
Jn as e,
|
|
572
|
+
cn as j,
|
|
573
|
+
Hn as o,
|
|
574
|
+
Xn as r,
|
|
575
|
+
jn as s,
|
|
576
|
+
_n as v
|
|
577
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { C as E } from "./index-01c737ed.js";
|
|
2
|
+
import { P as C, U as A, L as _, D as T, o, G as d } from "./enums-2c166c09.js";
|
|
3
|
+
import { e as h, m as O } from "./Texture-22a8cca5.js";
|
|
4
|
+
function F(e, n, t = "nearest", i = !1) {
|
|
5
|
+
var m;
|
|
6
|
+
const a = !(i && n.pixelType === "u8"), s = a ? A.FLOAT : A.UNSIGNED_BYTE, u = n.pixels == null || n.pixels.length === 0 ? null : a ? n.getAsRGBAFloat() : n.getAsRGBA(), f = (m = e.capabilities.textureFloat) == null ? void 0 : m.textureFloatLinear, r = new h();
|
|
7
|
+
return r.width = n.width, r.height = n.height, r.internalFormat = a ? C.RGBA32F : d.RGBA, r.samplingMode = !f || t !== "bilinear" && t !== "cubic" ? _.NEAREST : _.LINEAR, r.dataType = s, r.wrapMode = T.CLAMP_TO_EDGE, new O(e, r, u);
|
|
8
|
+
}
|
|
9
|
+
function M(e, n) {
|
|
10
|
+
const { spacing: t, offsets: i, coefficients: a, size: [s, u] } = n, f = t[0] > 1, r = new h();
|
|
11
|
+
r.width = f ? 4 * s : s, r.height = u, r.internalFormat = C.RGBA32F, r.dataType = A.FLOAT, r.samplingMode = _.NEAREST, r.wrapMode = T.CLAMP_TO_EDGE;
|
|
12
|
+
const m = new Float32Array(f ? s * u * 16 : 2 * i.length);
|
|
13
|
+
if (f && a != null)
|
|
14
|
+
for (let c = 0, l = 0; c < a.length; c++)
|
|
15
|
+
m[l++] = a[c], c % 3 == 2 && (m[l++] = 1);
|
|
16
|
+
else
|
|
17
|
+
for (let c = 0; c < u; c++)
|
|
18
|
+
for (let l = 0; l < s; l++) {
|
|
19
|
+
const g = 4 * (c * s + l), p = 2 * (l * u + c);
|
|
20
|
+
m[g] = i[p], m[g + 1] = i[p + 1], m[g + 3] = i[p] === -1 ? 0 : 1;
|
|
21
|
+
}
|
|
22
|
+
return new O(e, r, m);
|
|
23
|
+
}
|
|
24
|
+
function x(e, n) {
|
|
25
|
+
const t = new h();
|
|
26
|
+
return t.internalFormat = d.RGBA, t.width = n.length / 4, t.height = 1, t.samplingMode = _.NEAREST, t.wrapMode = T.CLAMP_TO_EDGE, new O(e, t, n);
|
|
27
|
+
}
|
|
28
|
+
function G(e, n, t, i = 1, a = !0) {
|
|
29
|
+
return { u_flipY: a, u_applyTransform: !!e, u_opacity: i, u_transformSpacing: e ? e.spacing : E, u_transformGridSize: e ? e.size : E, u_targetImageSize: n, u_srcImageSize: t };
|
|
30
|
+
}
|
|
31
|
+
function V(e, n) {
|
|
32
|
+
return { u_colormapOffset: n || 0, u_colormapMaxIndex: e ? e.length / 4 - 1 : 0 };
|
|
33
|
+
}
|
|
34
|
+
function k(e, n) {
|
|
35
|
+
return { u_scale: e, u_offset: n };
|
|
36
|
+
}
|
|
37
|
+
function N(e) {
|
|
38
|
+
return { u_bandCount: e.bandCount, u_minOutput: e.outMin, u_maxOutput: e.outMax, u_minCutOff: e.minCutOff, u_maxCutOff: e.maxCutOff, u_factor: e.factor, u_useGamma: e.useGamma, u_gamma: e.gamma, u_gammaCorrection: e.gammaCorrection };
|
|
39
|
+
}
|
|
40
|
+
function v(e) {
|
|
41
|
+
return { u_hillshadeType: e.hillshadeType, u_sinZcosAs: e.sinZcosAs, u_sinZsinAs: e.sinZsinAs, u_cosZs: e.cosZs, u_weights: e.weights, u_factor: e.factor, u_minValue: e.minValue, u_maxValue: e.maxValue };
|
|
42
|
+
}
|
|
43
|
+
function B(e, n) {
|
|
44
|
+
const t = e.gl, i = n.glName, a = /* @__PURE__ */ new Map();
|
|
45
|
+
if (i == null)
|
|
46
|
+
return a;
|
|
47
|
+
const s = t.getProgramParameter(i, t.ACTIVE_UNIFORMS);
|
|
48
|
+
let u;
|
|
49
|
+
for (let f = 0; f < s; f++)
|
|
50
|
+
u = t.getActiveUniform(i, f), u && a.set(u.name, { location: t.getUniformLocation(i, u.name), info: u });
|
|
51
|
+
return a;
|
|
52
|
+
}
|
|
53
|
+
function I(e, n, t) {
|
|
54
|
+
Object.keys(t).forEach((i) => {
|
|
55
|
+
const a = n.get(i) || n.get(i + "[0]");
|
|
56
|
+
a && L(e, i, t[i], a);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function R(e, n, t, i) {
|
|
60
|
+
t.length === i.length && (i.some((a) => a == null) || t.some((a) => a == null) || t.forEach((a, s) => {
|
|
61
|
+
n.setUniform1i(a, s), e.bindTexture(i[s], s);
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
64
|
+
function L(e, n, t, i) {
|
|
65
|
+
if (i === null || t == null)
|
|
66
|
+
return !1;
|
|
67
|
+
const { info: a } = i;
|
|
68
|
+
switch (a.type) {
|
|
69
|
+
case o.FLOAT:
|
|
70
|
+
a.size > 1 ? e.setUniform1fv(n, t) : e.setUniform1f(n, t);
|
|
71
|
+
break;
|
|
72
|
+
case o.FLOAT_VEC2:
|
|
73
|
+
e.setUniform2fv(n, t);
|
|
74
|
+
break;
|
|
75
|
+
case o.FLOAT_VEC3:
|
|
76
|
+
e.setUniform3fv(n, t);
|
|
77
|
+
break;
|
|
78
|
+
case o.FLOAT_VEC4:
|
|
79
|
+
e.setUniform4fv(n, t);
|
|
80
|
+
break;
|
|
81
|
+
case o.FLOAT_MAT3:
|
|
82
|
+
e.setUniformMatrix3fv(n, t);
|
|
83
|
+
break;
|
|
84
|
+
case o.FLOAT_MAT4:
|
|
85
|
+
e.setUniformMatrix4fv(n, t);
|
|
86
|
+
break;
|
|
87
|
+
case o.INT:
|
|
88
|
+
a.size > 1 ? e.setUniform1iv(n, t) : e.setUniform1i(n, t);
|
|
89
|
+
break;
|
|
90
|
+
case o.BOOL:
|
|
91
|
+
e.setUniform1i(n, t ? 1 : 0);
|
|
92
|
+
break;
|
|
93
|
+
case o.INT_VEC2:
|
|
94
|
+
case o.BOOL_VEC2:
|
|
95
|
+
e.setUniform2iv(n, t);
|
|
96
|
+
break;
|
|
97
|
+
case o.INT_VEC3:
|
|
98
|
+
case o.BOOL_VEC3:
|
|
99
|
+
e.setUniform3iv(n, t);
|
|
100
|
+
break;
|
|
101
|
+
case o.INT_VEC4:
|
|
102
|
+
case o.BOOL_VEC4:
|
|
103
|
+
e.setUniform4iv(n, t);
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
return !1;
|
|
107
|
+
}
|
|
108
|
+
return !0;
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
v as A,
|
|
112
|
+
R as O,
|
|
113
|
+
B as T,
|
|
114
|
+
V as _,
|
|
115
|
+
M as c,
|
|
116
|
+
F as f,
|
|
117
|
+
k as g,
|
|
118
|
+
I as h,
|
|
119
|
+
G as l,
|
|
120
|
+
x as m,
|
|
121
|
+
N as p
|
|
122
|
+
};
|