{"version":3,"sources":["webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/ScreenSizeScaling.glsl.js","webpack:///./node_modules/@arcgis/core/core/multiOriginJSONSupportUtils.js","webpack:///./node_modules/@arcgis/core/geometry/support/axisAngleDegrees.js","webpack:///./node_modules/@arcgis/core/views/interactive/GraphicManipulator.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/VisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LaserlinePathTechnique.js","webpack:///./node_modules/@arcgis/core/views/3d/support/LaserlinePathData.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LaserlineTechnique.js","webpack:///./node_modules/@arcgis/core/views/3d/support/LaserLineRenderer.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/LaserlineVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/Object3DVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/ExtendedLineVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/ParallelLineVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/VisualElementResources.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/PointVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/SnappingVisualizer3D.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/settings.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/DrapedVisualElementResources.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/OutlineVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/materials/ShadedColorMaterial.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/VerticesVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/layers/graphics/GraphicState.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js","webpack:///./node_modules/@arcgis/core/views/3d/support/geometryUtils/ray.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/Manipulator3D.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/manipulatorUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/GrabbingState.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorType.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulatorUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorState.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/lineGraphicVisualElementUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/originGraphicVisualElementUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/visualElementUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/config.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/Manipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/dragEventPipeline3D.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/moveUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/snapping/SnapToScene.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveManipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYGraphicManipulation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/edgeOffsetUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/GraphicReshapeTool.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/undoRecords.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateObjectSymbol3DAdapter.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js","webpack:///./node_modules/@arcgis/core/analysis/SlicePlane.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/analysisTools/slice/sliceToolConfig.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/visualElements/LineVisualElement.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/materials/SlicePlaneMaterial.js","webpack:///./node_modules/@arcgis/core/geometry/support/coordinateSystem.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/materials/ImageMaterial.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/analysisTools/slice/sliceToolUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/analysisTools/slice/images/heading-rotate-png.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/analysisTools/slice/images/Factory.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/PreserveAspectRatio.js","webpack:///./node_modules/@arcgis/core/views/interactive/editGeometry/support/editPlaneUtils.js","webpack:///./node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentTransformTool.js","webpack:///./node_modules/@arcgis/core/views/interactive/ManipulatorCollection.js","webpack:///./node_modules/@arcgis/core/views/interactive/InteractiveToolBase.js","webpack:///./node_modules/@arcgis/core/renderers/support/clickToleranceUtils.js","webpack:///./node_modules/@arcgis/core/chunks/LaserlinePath.glsl.js","webpack:///./node_modules/@arcgis/core/views/draw/drawSurfaces.js","webpack:///./node_modules/@arcgis/core/chunks/vec4f32.js","webpack:///./node_modules/@arcgis/core/chunks/ShadedColorMaterial.glsl.js","webpack:///./node_modules/@arcgis/core/geometry/geometryAdapters/hydrated.js","webpack:///./node_modules/@arcgis/core/views/interactive/snapping/SnappingDragPipelineStep.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/util/CameraSpace.glsl.js","webpack:///./node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js","webpack:///./node_modules/@arcgis/core/chunks/Laserlines.glsl.js","webpack:///./node_modules/@arcgis/core/views/draw/support/surfaceCoordinateSystems.js","webpack:///./node_modules/@arcgis/core/views/draw/support/createUtils.js","webpack:///./node_modules/@arcgis/core/views/draw/DrawGraphicTool.js","webpack:///./node_modules/@arcgis/core/chunks/SlicePlaneMaterial.glsl.js","webpack:///./node_modules/@arcgis/core/views/interactive/dragEventPipeline.js","webpack:///./node_modules/@arcgis/core/portal/support/resourceExtension.js","webpack:///./node_modules/@arcgis/core/core/accessorSupport/decorators/persistable.js","webpack:///./node_modules/@arcgis/core/views/draw/DrawManipulator.js","webpack:///./node_modules/@arcgis/core/views/draw/DrawingMode.js","webpack:///./node_modules/@arcgis/core/views/draw/DrawOperation.js","webpack:///./node_modules/@arcgis/core/views/support/drapedUtils.js","webpack:///./node_modules/@arcgis/core/geometry/geometryEngine.js","webpack:///./node_modules/@arcgis/core/chunks/ImageMaterial.glsl.js"],"names":["i","vertex","uniforms","add","code","r","e","setUniform1f","camera","perScreenPixelRatio","screenSize","a","n","U","k","t","l","q","c","s","b","x","d","z","v","super","this","layer","interactive","selectable","grabbable","dragging","cursor","events","EventEmitter","_circleCollisionCache","_graphicSymbolChangedHandle","_originalSymbol","symbol","_set","attachSymbolChanged","graphic","elevationInfo","offset","mode","_get","_updateGraphicSymbol","emit","action","detachSymbolChanged","_resetGraphicSymbol","visible","geometry","view","type","_intersectDistance2D","_intersectDistance3D","remove","watch","focusedSymbol","_focused","originalPoint","equals","o","spatialReference","clone","mapPoint","radiusPx","size","C","toScreen","p","xoffset","m","y","yoffset","toMap","include","S","renderSpatialReference","state","eye","constructOnly","nonNullable","prototype","readOnly","value","_attached","_resourcesCreated","_visible","_createResources","_destroyResources","console","error","attached","_stage","updateVisibility","createResources","destroyResources","shader","get","configuration","build","rctx","attributeLocations","program","setUniform3fv","innerColor","innerWidth","pixelRatio","glowColor","glowWidth","glowFalloff","globalAlpha","setUniform2f","fullWidth","fullHeight","setUniformMatrix4fv","projectionMatrix","viewMatrix","contrastControlEnabled","globalAlphaContrastBoost","blending","ONE","ONE_MINUS_SRC_ALPHA","colorWrite","Map","START","END","UP","EXTRUDE","arguments","_renderCoordsHelper","_buffers","_origin","_dirty","_count","_vao","Float64Array","length","buffers","Math","floor","_ensureVAO","bindVAO","drawArrays","TRIANGLES","dispose","_createVAO","_ensureVertexData","_createDataBuffer","data","V","createVertex","STATIC_DRAW","vertexBuffers","setData","reduce","_numberOfRenderVertices","createBuffer","f","u","getAltitude","setAltitude","worldUpAtPosition","h","up","setVec","start","extrude","setValues","end","buffer","vec3f","vec2f","angleCutoff","cos","max","intersectsLineEnabled","heightManifoldEnabled","pointDistanceEnabled","lineVerticalPlaneEnabled","H","_config","_technique","_projInfo","_zScale","_heightManifoldEnabled","_heightManifoldTarget","_pointDistanceEnabled","_pointDistanceOrigin","_pointDistanceTarget","_lineVerticalPlaneEnabled","_lineVerticalPlaneSegment","_intersectsLineEnabled","_intersectsLineSegment","_intersectsLineRadius","_intersectsLineInfinite","_pathVerticalPlaneEnabled","_pathVerticalPlaneData","_pathTechnique","canRender","_tempNormal","_tempDir","_tempUp","_tempVec3A","_tempVec3B","_tempVec4","_tempPlane","_tempSphere","_params","LASERLINES_CONTRAST_CONTROL","LASERLINES","_requestRender","vertices","pathVerticalPlaneEnabled","_context","renderContext","_quadVAO","_techniqueRepository","shaderTechniqueRepository","_techniqueConfig","acquire","lineVerticalPlaneSegment","releaseAndAcquire","_renderUnified","_renderPath","useTechnique","_bindGlobalUniforms","_bindHeightManifoldUniforms","_bindPointDistanceUniforms","_bindLineVerticalPlaneUniforms","_bindIntersectsLineUniforms","bind","TRIANGLE_STRIP","origin","draw","setUniform4fv","setUniform4f","vector","c0","Number","MAX_VALUE","frustum","setUniform3f","setUniform2fv","nearFar","computeScreenPixelSizeAt","bindTexture","offscreenRenderingHelper","linearDepthTexture","mainColorTexture","requestRender","_angleCutoff","_style","_intersectsLine","_pathVerticalPlaneBuffers","_pointDistanceLine","applyProps","renderer","_ensureRenderer","_disposeRenderer","_syncRenderer","_syncHeightManifold","_syncIntersectsLine","_syncPathVerticalPlane","_syncLineVerticalPlane","_syncPointDistance","_syncAngleCutoff","_syncStyle","intersectsLine","renderCoordsHelper","intersectsLineInfinite","_syncIntersectsLineInfinite","target","addRenderPlugin","renderSlots","setParameters","intersectsLineRadius","heightManifoldTarget","intersectsLineSegment","pathVerticalPlaneBuffers","pointDistanceOrigin","pointDistanceTarget","removeRenderPlugin","_resources","_transform","object","transformation","removeMany","geometries","removeAllGeometries","createGeometries","setVisible","addMany","isPickable","updatePolicy","SYNC","castShadow","createExternalResources","forEachExternalMaterial","destroyExternalResources","_ray","_externalResources","_handles","_isWorldDown","_start","_end","_width","_color","_polygonOffset","_writeDepthEnabled","_innerWidth","_innerColor","_stipplePattern","_stippleOffColor","_stipplePreferContinuous","_falloff","_extensionType","LINE","_laserlineStyle","_laserlineEnabled","_renderOccluded","OccludeAndTransparent","_fadedExtensions","materialParameters","_updateGeometry","material","laserline","destroy","removeAll","extensionType","FADED","push","Float32Array","createPolylineGeometry","addGeometry","_updateVertices","_updateMaterial","recreate","_laserlineAttached","style","recreateGeometry","width","color","stippleOffColor","stipplePattern","stipplePreferContinuous","falloff","polygonOffset","renderOccluded","writeDepth","_updateLineSegmentFinite","_updateLineSegmentInfinite","_updateVertexAttributes","RAY","GROUND_RAY","elevationProvider","getElevation","ray","direction","c1","abs","getMutableAttribute","POSITION","fadedExtensions","geometryVertexAttrsUpdated","geometryRecords","_location","_direction","_offset","_length","projectToScreen","location","unprojectFromScreen","resourceFactory","external","_syncVisible","_createOrDestroyResources","forEach","Geometry","cameraChanged","cameraHandle","_geometry","_size","_pixelSnappingEnabled","_primitive","_outlineSize","_outlineColor","_elevationInfo","resources","_recreateGeometry","preferredTextureSize","_updateSizeAttribute","_materialParameters","texture","id","SIZE","geometrySize","textureIsSignedDistanceField","distanceFieldBoundingBox","occlusionTest","outlineColor","outlineSize","textureId","shaderPolygonOffset","drawInSecondSlot","depthEnabled","pixelSnappingEnabled","_createRenderGeometry","vertexAttributes","fromElevationInfo","createPointGeometry","_quadMaterial","_outlineMaterial","_maxSize","_position","_up","_right","_outlineRenderOccluded","Opaque","_updateQuadMaterial","_updateOutlineMaterial","_updateTransform","previous","center","next","min","quadMaterialParameters","outlineMaterialParameters","_createQuadGeometry","_createOutlineGeometry","_quadGeometryData","exclusive","Uint16Array","transparent","coordinateHelper","primitive","vectorToPoint","intersectionPoint","toUnitRGBA","orange","point","_createLineSegmentHintFromMap","lineStart","lineEnd","fadeLeft","fadeRight","g","parallelLineHintOffset","parallelLineHintLength","parallelLineHintWidth","setDirectionFromPoints","Transparent","outlineRenderOccluded","rightAngleHintOutlineSize","rightAngleHintSize","previousVertex","centerVertex","nextVertex","_createLineSegmentHint","TARGET","lineHintWidthTarget","lineHintFadedExtensions","REFERENCE_EXTENSION","lineHintWidthReference","REFERENCE","main","selected","staged","outline","selectedOutline","height","coneHeight","coneWidth","collisionPadding","hoverOutlineColor","hoverColor","minSquaredEdgeLength","edge","edgeOffset","shape","radius","heightFillColor","toUnitRGB","laserlineStyle","OccludeAndTransparentStencil","shadowStyle","lineGraphics","pointGraphics","heightPlane","heightBox","zVerticalLine","laserlineAlphaMultiplier","heightPlaneAngleCutoff","visualElements","reshapeManipulators","zManipulator","_syncGeometriesToRenderer","_ensureRenderGeometriesRemoved","layerView","geometriesAdded","basemapTerrain","overlayManager","registerDrapeSource","unregisterDrapeSource","_ensureRenderGeometriesAdded","removeGeometries","UPDATE","addGeometries","drapeSourceType","Features","_attachmentOrigin","_attachmentOriginDirty","_isDraped","drapedResources","_createDrapedResources","_createRenderGeometriesDraped","_attachmentOriginChanged","_laserline","_updateAttached","laserlineAttached","isDraped","laserlineEnabled","indices","isClosed","fromRenderCoords","join","normalizedRenderOccluded","_createRenderGeometries","position","lines","overlayInfo","attributeData","removeDuplicateStartEnd","REMOVE","KEEP","boundingSphere","sqrt","mapPosition","pathVerticalPlane","output","slicePlaneEnabled","sliceHighlightDisabled","sliceEnabledForVertexPrograms","screenSizeEnabled","shadingEnabled","oitEnabled","transparencyPassType","Color","multipassTerrainEnabled","cullAboveGround","shadingTint","shadingDirection","inverseViewport","_blendColor","viewInverseTransposeMatrix","rebindTextures","NONE","FrontFace","Alpha","culling","cullFace","depthTest","func","LESS","LEQUAL","depthWrite","_setPipelineState","None","count","COUNT","NORMAL","OFFSET","supportsEdges","techniqueConfig","_vertexAttributeLocations","parameters","applyToVertex","computeRenderPixelSizeAt","applyToAabb","Highlight","OPAQUE_MATERIAL","TRANSPARENT_MATERIAL","TRANSPARENT_DEPTH_WRITE_DISABLED_MATERIAL","DRAPED_MATERIAL","ensureTechnique","updateParameters","bindPass","_material","getPassParameters","vertexBufferLayout","invTranspTransformation","has","Error","getField","_vertices","_spatialReference","colorToVec4","vertexMaterial","vertexMaterialParameters","vertexOutlineMaterial","vertexOutlineMaterialParameters","numVertices","vertexGeometry","vertexOutlineGeometry","Back","Front","createSphereGeometry","EventedAccessor","tracking","displaying","_activeVertexVisualElement","_createGraphicState","_outlineVisualElement","_verticesVisualElement","geometryType","internalGraphicsLayer","hasZ","maskOccludee","trackGraphicState","manipulators","drawingMode","defaultZ","snapToSceneEnabled","snapToScene","drawSurface","elevationDrawSurface","hasM","snappingManager","snappingVisualizer","apply","screenToRender","unprojectFromRenderScreen","_elevation","override","collisionType","collisionPriority","_renderObjects","autoScaleRenderObjects","_available","_noDisplayCount","_radius","_worldSized","focusMultiplier","touchMultiplier","worldOriented","_modelTransform","_worldFrame","_renderLocation","_renderLocationDirty","_elevationAlignedLocation","_elevationAlignedLocationDirty","_grabbing","_hovering","_selected","_state","_screenLocation","screenPointArray","renderScreenPointArray","pixelSize","_screenLocationDirty","_applyObjectTransform","_engineResourcesAddedToStage","_engineResources","_engineLayer","_materialIdReferences","copyFrom","_removeResourcesFromStage","_updateEngineObject","slice","ie","toRenderCoords","elevationAlignedLocation","se","_evaluateElevationAlignment","_updateElevationAlignedLocation","_setFocused","_ensureScreenLocation","renderLocation","_calculateModelTransformOffset","fe","projectToRenderScreen","renderToScreen","available","oe","_getCollisionRadius","screenLocation","paths","_getWorldToScreenObjectScale","_calculateObjectTransform","le","re","de","ue","ne","ae","_","ge","me","he","_e","_calculateModelTransformPosition","manipulator3D","engineLayerId","getObject","engineLayerReferences","materialIdReferences","pe","extent","_getFocusedSize","focused","objectsByState","_ensureEngineResources","Focused","Unfocused","Selected","Unselected","stateMask","objects","All","Set","renderObjects","transform","Array","isArray","set","materials","_addResourcesToStage","delete","ce","isVisible","areAnyResourcesVisible","viewingMode","atan2","getViewForGraphic","computeAttachmentOrigin","anchor","N","ANY","Z","XY","A","TRANSLATE_Z","TRANSLATE_XY","SCALE","ROTATE","SCALE_ROTATE","grabbingState","firstSelected","numSelected","firstGrabbedXY","forEachManipulator","grabbing","visualElement","on","w","writeDepthEnabled","j","L","T","update","D","onManipulatorsChanged","setStartEndFromWorldDownAtLocation","attachmentOrigin","M","P","G","R","B","I","intersectsWorldUpAtLocation","calculateMapBounds","E","ceil","PI","_forEachManipulator3D","someManipulator","plane","screenStart","screenEnd","renderStart","renderEnd","sceneIntersectionHelper","intersectElevationFromScreen","mapStart","mapEnd","J","K","execute","sign","GROUND","OTHER","dxScreen","screenDeltaX","dyScreen","screenDeltaY","translationX","translationY","translationZ","rings","_arrowManipulatorInfos","_opaqueMaterial","_createMaterial","_transparentMaterial","_angle","_scale","_updateAfterDrag","_tool","tool","_view","_createManipulators","manipulator","createDragPipeline","map","manipulatorType","angle","_updateManipulatorTransform","_updateManipulators","_updateArrowManipulator","createExtrudedTriangle","transformInPlace","_createArrowManipulator","displayScale","modelTransform","arrowManipulators","lastDragEvent","_enabled","_snap","exclude","_snapToScene","_discMaterial","_discMaterialTransparent","_createManipulator","_manipulator","enabled","_updateManipulator","createDragEventPipelineStep","worldSized","createCylinderGeometry","discManipulator","createTubeGeometry","createConeGeometry","Occlude","applyObjectTransform","computeRenderPixelSizeAtDist","_angleDeferred","_interactive","xyManipulation","xyAxisManipulation","zManipulation","xyAvailable","xyAxisAvailable","zAvailable","_autoHideXYAxis","_updateManipulatorInteractivity","createGraphicDragPipeline","XY_AXIS","xyAxisVisible","inputManager","latestPointerType","disableDisplay","symbolLayers","some","_graphicState","graphicState","Y","allGraphics","dx","dy","EventedMixin","graphics","enableZ","_toolHandles","snappingPipeline","_refreshManipulators","finishToolCreation","updatingHandles","updating","handles","_moveManipulation","toArray","filter","SUPPORTED","_createVisualElements","_updateMoveManipulation","manipulationXY","stopPropagation","_buildDragEventPipeline","_createMoveManipulation","radiusForSymbol","hasManipulator","getItemAt","_updateMoveManipulationAngle","geometryRepresentation","angleDeferred","_buildSnappingPipelineSteps","destroyed","pointer","editGeometryOperations","fromGeometry","visualizer","excludeFeature","snapOrigin","pointToVector","createSnapDragEventPipelineStep","snappingContext","cancel","XYZ","edgeDirection","_vertexManipulatorMaterial","_vertexManipulatorOutlineMaterial","_vertexManipulatorHoverOutlineMaterial","_edgeManipulatorMaterial","_edgeManipulatorOutlineMaterial","_edgeOffsetManipulatorMaterial","_edgeOffsetManipulatorHoverMaterial","_selectedManipulatorMaterial","_selectedManipulatorOutlineMaterial","_selectedManipulatorHoverOutlineMaterial","_selectedIndex","_vertexManipulatorGeometry","_vertexManipulatorOutlineGeometry","_edgeManipulatorGeometry","_edgeManipulatorOutlineGeometry","_edgeOffsetManipulatorGeometryInside","_edgeOffsetManipulatorGeometryOutside","_manipulatorHandles","_manipulatorInfos","_editGeometryOperations","_graphicMoveManipulation","_numGrabbing","_numDragging","_reshapeEventState","outputGeometry","_snappingPipeline","_snappingPipelineHandle","_vertexLaserLineVisualElement","_resetGrabbingDragging","_recreateEditGeometryAndManipulators","enableZShape","enableZVertex","enableMoveGraphic","enableMidpoints","enableEdgeOffset","handle","_removeVertices","components","_createVertexOrEdgeManipulator","edges","_createGraphicMoveManipulators","canRedo","canUndo","redo","_recreateManipulators","undo","_removeManipulators","inputGeometry","SELECTED_OR_ALL","_moveVertices","_updateEventState","MOVING","mover","RESHAPING","mapDeltaX","mapDeltaY","mapDeltaZ","info","ACCUMULATE_STEPS","_trackNumDragging","createUndoGroup","_perGraphicManipulatorDragAction","ALL","_cancelDragOperation","_watchAndUpdateGrabState","_clearSelection","pos","predicate","_updateMoveManipulationPosition","locationUpdateHandle","selectedIndex","edgeManipulator","visibilityHandle","_autoHideEdgeOffsetManipulator","_updateEdgeOffsetManipulator","_getManipulatorInfoFromHandle","leftVertex","rightVertex","_createEdgeOffsetPipeline","_updateManipulatorPosition","step","cleanup","_initializeEdgeOffset","_applyEdgeOffsetStep","requiresSplitEdgeLeft","_splitEdgeManipulator","leftEdge","requiresSplitEdgeRight","rightEdge","_cleanEdgeOffsetCollapsedEdges","operation","_offsetEdge","distance","_createEdgeOffsetManipulator","_computeVertexManipulatorSizeAndOutline","Vertex","Edge","_setTypeSpecificManipulatorSettings","_isMultiVertexSelection","_perVertexManipulatorDragAction","_manipulatorClickCallback","doneSnapping","_updateSelection","pointerType","splice","indexOf","vectorToDehydratedPoint","splitEdge","createdVertex","_removeManipulator","vectorToArray","component","coordinates","componentIndex","vertexIndex","index","added","orthogonalAvailable","canRemoveVertex","removeVertices","removedVertices","createdEdge","removed","NEW_STEP","moveVertices","signedDistanceToPoint","updateVertices","shiftKey","button","Right","Left","Custom1","Custom2","_reshapeOperation","_internalGeometryUpdate","automaticManipulatorSelection","manipulatorSelectionChanged","_updateGeometryInternally","_onReshapeGeometryChanged","_updateGraphic","key","removeSelectedVertices","ct","ht","ScaleIn","ScaleOut","Custom3","RotateLeft","Custom4","RotateRight","Custom5","Unlocked","Custom7","DelayedFocused","Custom8","TouchInput","Custom12","_scaleRotateDragData","_activeAnimation","getFocused","ringManipulator","getScale","adapter","scale","_updateDragState","frameTask","cancelActiveAnimation","deltaTime","_createRingManipulator","restart","initialAngle","angleDir","scaleDir","shortestSignedDiff","dt","_onScaleChanged","pt","record","createUndoRecord","xScale","yScale","startAnimation","mt","ft","_updateDelayedFocusedState","updateStateEnabled","sin","createPathExtrusionGeometry","left","right","round","concat","ut","Mt","STOP","CONTINUE","notifyGeometryChanged","clonePositional","previousAngle","previousScale","rotation","_update","Global","geographic","notifyMeshTransformChanged","rotate","initialSizes","findLayerView","getSymbolLayerSize","heading","_updateSymbol","_forEachObjectSymbolLayerPair","sizeFilter","depth","enableRotation","enableScaling","scaleRotate","moveManipulation","_createGeometryUndoRecord","scaleRotateAdapter","_createScaleRotateAdapter","_updateMoveAngle","_forEachManipulator","_onGeometryChanged","_hideManipulatorsForGraphicState","_updateManipulatorsInteractive","_enforceNonZeroSize","allLayerViews","find","Local","test","tilt","json","read","write","range","normalize","backgroundColor","gridColor","gridWidth","opacity","stencilWrite","sceneHasOcludees","stencilTest","enableOffset","_occludeePipelineState","getPipelineState","relativeElevation","updateTexture","hasOccludees","_output","_updateOccludeeState","bindTextures","bindTextureScale","initTextureTransparent","getLogger","Ke","basis1","basis2","Qe","kt","HEADING","TILT","rt","lt","Nt","st","ot","nt","POSITIVE_X","It","basis","POSITIVE_Y","NEGATIVE_X","NEGATIVE_Y","St","CENTER_ON_ARROW","CENTER_ON_CALLOUT","Tt","bt","tubeRadius","tipRadius","tipLength","tubeFocusMultiplier","tipFocusMultiplier","padding","bothEnds","flat","focusTipLength","addCap","normal","part","Pt","_t","Uint32Array","UV0","Ut","Vt","O","thickness","Ct","HORIZONTAL_OR_VERTICAL","HORIZONTAL","VERTICAL","TILTED","mipmap","preMultiplyAlpha","fromData","_adjustScaleFactors","factor1","factor2","dz","axis1","axis2","POSITIVE_INFINITY","NEGATIVE_INFINITY","_preserveAspectRatio","inputState","moveZManipulator","resizeManipulators","rotateManipulator","outlineVisualElement","mapBounds","mapBoundsStart","displayBounds","displayBoundsStart","displayBoundsMarginStart","resizeHandles","graphicMoveManipulation","_createMoveXYGraphicDragPipeline","_updateManipulatorAvailability","_createMoveZDragPipeline","_onResizeGrab","_createResizeDragPipeline","rotateManipulatorTexture","toolViewManager","textures","_onRotateGrab","_createRotateDragPipeline","_calculateMapBounds","_updateDisplayBounds","_updateAllManipulatorAvailability","_graphicDrapedChanged","pointsOfInterest","centerOnSurfaceFrequent","release","pixelSizeAt","displayBoundsMargin","Gt","_applyGraphicMoveSteps","_moveDragUpdateGeometry","_cancel","_calculatePickRay","screenPoint","_resizeDragRenderPlaneToFactors","_resizeDragUpdateGeometry","scaleVertices","REPLACE","rotatePlane","_rotateDragRenderPlaneToRotate","_rotateDragUpdateGeometry","rotateAngle","rotateAxis","rotateVertices","_updateZMoveHandle","lastOperation","activeTool","WhenToolEditable","WhenToolNotEditable","Always","_isToolEditable","_manipulators","_nextManipulatorId","_resourceContexts","visibilityPredicate","_updateManipulatorAttachment","_detachManipulator","items","intersectionDistance","_isManipulatorItemVisible","_attachManipulator","attach","hovering","detach","_editableFlags","MANAGER","USER","_creationStartedResolver","_creationFinishedResolver","getEditableFlag","setEditableFlag","toolState","focus","onActivate","onDeactivate","onInputEvent","onInputEventAfter","isToolEditable","internallyEditable","notifyChange","onEditableChange","promise","resolve","reject","startToolCreation","created","_show","_hide","active","onShow","onHide","stops","maxSize","minSize","event","visualVariables","uniqueValueInfos","classBreakInfos","attributes","varyings","fragment","Object","freeze","__proto__","excludeGraphics","screenToMap","mapToScreen","create","fromValues","createView","zeros","ones","unitX","unitY","unitZ","unitW","ZEROS","ONES","UNIT_X","UNIT_Y","UNIT_Z","UNIT_W","linearDepth","float","convertToGEGeometry","exportPoint","exportPolygon","exportPolyline","exportMultipoint","exportExtent","cache","_geVersion","convertJSONToGeometry","getPointX","getPointY","getPointZ","getPointM","exportPaths","points","exportPoints","xmin","getXMin","ymin","getYMin","xmax","getXMax","ymax","getYMax","getZExtent","zmin","vmin","zmax","vmax","getMExtent","mmin","mmax","resourceController","scheduler","registerTask","SNAPPING","context","vertexHandle","originalPos","arrayToVector","async","schedule","snap","valid","addPromise","extensions","defaultAngleCutoff","mapToLocal","transformInv","pWS","tangentFrameUpWS","tangentFrameRightWS","tangentFrameForwardWS","localFrameRightWS","localFrameUpWS","worldToLocalTransform","localToWorldTransform","resolution","referenceMapPoint","viewRight","worldBasisAtPosition","X","reverse","isSelfIntersecting","mapToLocalMultiple","localToMap","doUnnormalization","radiusUnit","_graphic","listMode","internal","layers","drawOperation","makeDrawOperation","onVertexAdd","onVertexRemove","onVertexUpdate","onCursorUpdate","onComplete","_destroyAllVisualisations","complete","graphicProperties","graphicSymbol","initializeGraphic","regularVertices","activeVertex","operationComplete","stagedVertex","committedVertices","pointToArray","full","arrayToPoint","makeMapPoint","forceUniformSize","centered","isCompleted","_getCreateOperationGeometry","_createGraphic","onOutlineChanged","onRegularVerticesChanged","onActiveVertexChanged","move","centerAt","getOriginPoint","mapDeltaSpatialReference","Blob","url","png","jpeg","jpg","bmp","gif","txt","xml","svg","zip","pbf","gz","origins","String","verifyItemRelativeUrls","writtenUrls","rootPath","NO","originIdOf","portalItem","resourceFromPath","pendingOperations","then","path","itemRelativeUrl","catch","toAdd","toUpdate","toKeep","resource","content","finish","JSON","stringify","toJSON","default","responseType","grabbableForEvent","_createOperationCompleted","_pointerDownStates","_snappingTask","_stagedVertex","_frameTask","_activeComponent","updated","_snappingEnabled","_createManipulatorDragPipeline","_onImmediateClick","_onImmediateDoubleClick","options","effectiveEnabled","discardStagedVertex","aborted","appendVertex","commitStagedVertex","pointerId","_onPointerMove","_onHold","_vertexWithinPointerDistance","_createManipulatorDragPipelineClick","_createManipulatorDragPipelineFreehand","_createManipulatorDragPipelineHybrid","_screenToMapDragEventStep","getZ","_getDrawSurface","_closeOnClickVertexIndex","_screenToMap","hasStagedVertex","_mapToScreen","overlayPixelSizeInMapUnits","basemapSpatialReference","intersects","extendedSpatialReferenceInfo","clip","cut","contains","crosses","touches","within","disjoint","overlaps","relate","isSimple","simplify","convexHull","difference","symmetricDifference","intersect","union","geodesicBuffer","nearestCoordinate","nearestVertex","nearestVertices","constructor","fromJSON","flipHorizontal","flipVertical","generalize","densify","geodesicDensify","planarArea","planarLength","geodesicArea","geodesicLength"],"mappings":"kJAAA,oFAIsD,SAASA,EAAEA,GAAGA,EAAEC,OAAOC,SAASC,IAAI,iBAAiB,QAAQA,IAAI,sBAAsB,SAASA,IAAI,aAAa,SAASH,EAAEC,OAAOG,KAAKD,IAAI,MAAC;;;;;;;IAO/L,SAASE,EAAEC,EAAEN,EAAEK,GAAGC,EAAEC,aAAa,sBAAsBF,EAAEG,OAAOC,qBAAqBH,EAAEC,aAAa,aAAaP,EAAEU,c,kCCPvH,SAASV,EAAEA,GAAG,OAAOA,GAAG,gBAAgBA,GAAG,aAAaA,EAJxD,mC,oCCAA,gQAIgO,SAASW,EAAEC,EAAEC,GAAG,MAAM,CAACD,EAAE,GAAGA,EAAE,GAAGA,EAAE,GAAGA,EAAE,IAA4M,SAASE,EAAEF,EAAEP,EAAEU,EAAEJ,KAAK,OAAO,eAAEK,EAAED,GAAGH,GAAGG,EAAE,GAAGV,EAAEU,EAA8D,SAASE,EAAEZ,EAAEa,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yCAAyC;;;6BAG9C,OAAEoyB,MAAM;;;;;QAK7B14B,EAAEmG,WAAW,iDAAiD;;QAE9D5d,EAAE,MAAMA,EAAE6uC,OAAOC,OAAO,CAACC,UAAU,KAAKhtC,MAAM0V","file":"js/chunk-630b9ddc.cf33f640.js","sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{glsl as e}from\"../shaderModules/interfaces.js\";function i(i){i.vertex.uniforms.add(\"cameraPosition\",\"vec3\").add(\"perScreenPixelRatio\",\"float\").add(\"screenSize\",\"float\"),i.vertex.code.add(e`float computeRenderPixelSizeAt( vec3 pWorld ){\nvec3 viewForward = - vec3(view[0][2], view[1][2], view[2][2]);\nfloat viewDirectionDistance = abs(dot(viewForward, pWorld - cameraPosition));\nreturn viewDirectionDistance*perScreenPixelRatio;\n}\nvec3 screenSizeScaling(vec3 position, vec3 anchor){\nreturn position * screenSize * computeRenderPixelSizeAt(anchor) + anchor;\n}`)}function r(e,i,r){e.setUniform1f(\"perScreenPixelRatio\",r.camera.perScreenPixelRatio),e.setUniform1f(\"screenSize\",i.screenSize)}export{i as ScreenSizeScaling,r as bindScreenSizeScalingUniforms};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nfunction i(i){return i&&\"getAtOrigin\"in i&&\"originOf\"in i}export{i as isMultiOriginJSONMixin};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{rad2deg as n,deg2rad as r}from\"../../core/mathUtils.js\";import{g as t,s as u,m as o}from\"../../chunks/quat.js\";import{a as c}from\"../../chunks/quatf64.js\";import{g as s,c as f,n as i,z as e}from\"../../chunks/vec3.js\";function a(n=U){return[n[0],n[1],n[2],n[3]]}function m(n,r,t,u){return j(n,r,t,u,w)}function p(n,r){return j(n[0],n[1],n[2],r,w)}function h(n,r=a()){return j(n[0],n[1],n[2],n[3],r)}function j(n,r,t,u,o=a()){return o[0]=n,o[1]=r,o[2]=t,o[3]=u,o}function k(n,r,t=a()){return s(l(t),n),t[3]=r,t}function g(n,r,t=a()){return f(t,n,r),i(t,t),t[3]=-e(n,r),t}function q(r,c,s=a()){return u(b,l(r),x(r)),u(d,l(c),x(c)),o(b,d,b),z(s,n(t(l(s),b)))}function l(n){return n}function v(n){return n[3]}function x(n){return r(n[3])}function z(n,r){return n[3]=r,n}const U=[0,0,1,0],b=c(),d=c(),w=a();export{U as UP,v as angle,x as angleRad,l as axis,q as compose,h as copy,a as create,k as fromAxisAndAngle,g as fromPoints,j as fromValues,z as setAngle,m as wrap,p as wrapAxisAngle};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../core/Accessor.js\";import i from\"../../core/Evented.js\";import{isNone as o,isSome as s}from\"../../core/maybe.js\";import{pt2px as r,screenPointObjectToArray as l,createScreenPointArray as a}from\"../../core/screenUtils.js\";import{property as n}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import\"../../core/accessorSupport/ensureType.js\";import{subclass as c}from\"../../core/accessorSupport/decorators/subclass.js\";import{a as h}from\"../../chunks/vec2.js\";import{i as p}from\"../../chunks/vec3.js\";import{c as m}from\"../../chunks/vec3f64.js\";import{canProjectWithoutEngine as u,project as y,projectPointToVector as g}from\"../../geometry/projection.js\";import{getGraphicEffectiveElevationMode as d}from\"../../support/elevationInfoUtils.js\";import{getDefaultSymbol2D as b}from\"../../symbols/support/defaults.js\";import f from\"../../symbols/support/ElevationInfo.js\";import{intersectsDrapedGeometry as _}from\"../support/drapedUtils.js\";let v=class extends t{constructor(e){super(e),this.layer=null,this.interactive=!0,this.selectable=!1,this.grabbable=!0,this.dragging=!1,this.cursor=null,this.events=new i.EventEmitter,this._circleCollisionCache=null,this._graphicSymbolChangedHandle=null,this._originalSymbol=null}set graphic(e){this._circleCollisionCache=null,this._originalSymbol=e.symbol,this._set(\"graphic\",e),this.attachSymbolChanged()}get elevationInfo(){const e=\"elevationInfo\"in this.graphic.layer&&this.graphic.layer.elevationInfo,t=d(this.graphic),i=e?e.offset:0;return new f({mode:t,offset:i})}set focusedSymbol(e){e!==this._get(\"focusedSymbol\")&&(this._set(\"focusedSymbol\",e),this._updateGraphicSymbol(),this._circleCollisionCache=null)}grabbableForEvent(){return!0}set grabbing(e){e!==this._get(\"grabbing\")&&(this._set(\"grabbing\",e),this._updateGraphicSymbol())}set hovering(e){e!==this._get(\"hovering\")&&(this._set(\"hovering\",e),this._updateGraphicSymbol())}set selected(e){e!==this._get(\"selected\")&&(this._set(\"selected\",e),this._updateGraphicSymbol(),this.events.emit(\"select-changed\",{action:e?\"select\":\"deselect\"}))}get _focused(){return this._get(\"hovering\")||this._get(\"grabbing\")}destroy(){this.detachSymbolChanged(),this._resetGraphicSymbol(),this._set(\"view\",null)}intersectionDistance(e){const t=this.graphic;if(!1===t.visible)return null;const i=t.geometry;if(o(i))return null;const r=this._get(\"focusedSymbol\"),l=s(r)?r:t.symbol;return\"2d\"===this.view.type?this._intersectDistance2D(this.view,e,i,l):this._intersectDistance3D(this.view,e,t)}attach(){this.attachSymbolChanged(),s(this.layer)&&this.layer.add(this.graphic)}detach(){this.detachSymbolChanged(),this._resetGraphicSymbol(),s(this.layer)&&this.layer.remove(this.graphic)}attachSymbolChanged(){this.detachSymbolChanged(),this._graphicSymbolChangedHandle=this.graphic.watch(\"symbol\",(e=>{s(e)&&e!==this.focusedSymbol&&e!==this._originalSymbol&&(this._originalSymbol=e,this._focused&&s(this.focusedSymbol)&&(this.graphic.symbol=this.focusedSymbol))}),!0)}detachSymbolChanged(){s(this._graphicSymbolChangedHandle)&&(this._graphicSymbolChangedHandle.remove(),this._graphicSymbolChangedHandle=null)}_updateGraphicSymbol(){this.graphic.symbol=this._focused&&s(this.focusedSymbol)?this.focusedSymbol:this._originalSymbol}_resetGraphicSymbol(){this.graphic.symbol=this._originalSymbol}_intersectDistance2D(e,t,i,a){if(a=a||b(i),o(a))return null;const n=1;let c=this._circleCollisionCache;if(\"point\"!==i.type||\"simple-marker\"!==a.type)return _(t,i,e)?n:null;if(o(c)||!c.originalPoint.equals(i)){const t=i,o=e.spatialReference;if(u(t.spatialReference,o)){const e=y(t,o);c={originalPoint:t.clone(),mapPoint:e,radiusPx:r(a.size)},this._circleCollisionCache=c}}if(s(c)){const i=l(t,C),o=e.toScreen(c.mapPoint),s=c.radiusPx,p=o.x+r(a.xoffset),m=o.y-r(a.yoffset);return h(i,[p,m]){this._resourcesCreated&&(t?this._createResources():this._destroyResources())}))}applyProps(t){let e=!1;for(const s in t)s in this?\"attached\"===s?e=t[s]:this[s]=t[s]:console.error(\"Cannot set unknown property\",s);this.attached=e}destroy(){this.attached=!1}get attached(){return this._attached}set attached(t){t!==this._attached&&this.view._stage&&(this._attached=t,this._attached&&!this._resourcesCreated?this._createResources():!this._attached&&this._resourcesCreated&&this._destroyResources())}get visible(){return this._visible}set visible(t){t!==this._visible&&(this._visible=t,this.attached&&this.updateVisibility(t))}_createResources(){this.createResources(),this._resourcesCreated=!0,this.visible||this.updateVisibility(!1)}_destroyResources(){this.destroyResources(),this._resourcesCreated=!1}}export{t as VisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../../chunks/tslib.es6.js\";import{j as o}from\"../../../../chunks/mat4.js\";import{c as t}from\"../../../../chunks/mat4f64.js\";import{ReloadableShaderModule as i}from\"../core/shaderTechnique/ReloadableShaderModule.js\";import{ShaderTechnique as e}from\"../core/shaderTechnique/ShaderTechnique.js\";import{parameter as s,ShaderTechniqueConfiguration as a}from\"../core/shaderTechnique/ShaderTechniqueConfiguration.js\";import{Program as n}from\"../lib/Program.js\";import{VertexAttribute as l}from\"../lib/VertexAttribute.js\";import{L as m}from\"../../../../chunks/LaserlinePath.glsl.js\";import{BlendFactor as h}from\"../../../webgl/enums.js\";import{makePipelineState as f,simpleBlendingParams as p,defaultColorWriteParams as g}from\"../../../webgl/renderState.js\";class c extends e{initializeProgram(r){const o=c.shader.get(),t=this.configuration,i=o.build(t);return new n(r.rctx,i,c.attributeLocations)}bind(r,t,i){this.program.setUniform3fv(\"innerColor\",r.innerColor),this.program.setUniform1f(\"innerWidth\",r.innerWidth*i.pixelRatio),this.program.setUniform3fv(\"glowColor\",r.glowColor),this.program.setUniform1f(\"glowWidth\",r.glowWidth*i.pixelRatio),this.program.setUniform1f(\"glowFalloff\",r.glowFalloff),this.program.setUniform1f(\"globalAlpha\",r.globalAlpha),this.program.setUniform1f(\"perScreenPixelRatio\",i.perScreenPixelRatio),this.program.setUniform2f(\"pixelToNDC\",2/i.fullWidth,2/i.fullHeight),this.program.setUniformMatrix4fv(\"proj\",i.projectionMatrix),o(u,i.viewMatrix,t),this.program.setUniformMatrix4fv(\"modelView\",u),this.configuration.contrastControlEnabled&&this.program.setUniform1f(\"globalAlphaContrastBoost\",null!=r.globalAlphaContrastBoost?r.globalAlphaContrastBoost:1)}initializePipeline(){return f({blending:p(h.ONE,h.ONE_MINUS_SRC_ALPHA),colorWrite:g})}}c.shader=new i(m,(()=>import(\"./LaserlinePath.glsl.js\"))),c.attributeLocations=new Map([[l.START,0],[l.END,1],[l.UP,2],[l.EXTRUDE,3]]);class d extends a{constructor(){super(...arguments),this.contrastControlEnabled=!1}}r([s()],d.prototype,\"contrastControlEnabled\",void 0);const u=t();export{c as LaserlinePathTechnique,d as LaserlinePathTechniqueConfiguration};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as t}from\"../../../core/maybe.js\";import{s as r,f as s}from\"../../../chunks/vec3.js\";import{c as i}from\"../../../chunks/vec3f64.js\";import{glLayout as o}from\"./buffer/glUtil.js\";import{newLayout as f}from\"./buffer/InterleavedLayout.js\";import{VertexAttribute as n}from\"../webgl-engine/lib/VertexAttribute.js\";import{LaserlinePathTechnique as u}from\"../webgl-engine/shaders/LaserlinePathTechnique.js\";import{BufferObject as a}from\"../../webgl/BufferObject.js\";import{PrimitiveType as c,Usage as h}from\"../../webgl/enums.js\";import{VertexArrayObject as l}from\"../../webgl/VertexArrayObject.js\";class _{constructor(e){this._renderCoordsHelper=e,this._buffers=null,this._origin=i(),this._dirty=!1,this._count=0,this._vao=null}set vertices(e){const t=new Float64Array(3*e.length);let r=0;for(const s of e)t[r++]=s[0],t[r++]=s[1],t[r++]=s[2];this.buffers=[t]}set buffers(e){if(this._buffers=e,this._buffers.length>0){const e=this._buffers[0],t=3*Math.floor(e.length/3/2);r(this._origin,e[t+0],e[t+1],e[t+2])}else r(this._origin,0,0,0);this._dirty=!0}get origin(){return this._origin}draw(t){const r=this._ensureVAO(t);e(r)&&(t.bindVAO(r),t.drawArrays(c.TRIANGLES,0,this._count))}dispose(){e(this._vao)&&this._vao.dispose()}_ensureVAO(e){return t(this._buffers)?null:(t(this._vao)&&(this._vao=this._createVAO(e,this._buffers)),this._ensureVertexData(this._vao,this._buffers),this._vao)}_createVAO(e,t){const r=this._createDataBuffer(t);return this._dirty=!1,new l(e,u.attributeLocations,{data:o(V)},{data:a.createVertex(e,h.STATIC_DRAW,r)})}_ensureVertexData(e,t){if(!this._dirty)return;const r=this._createDataBuffer(t);e.vertexBuffers.data.setData(r),this._dirty=!1}_numberOfRenderVertices(e){return 3*(2*(e.length/3-1))}_createDataBuffer(e){const t=e.reduce(((e,t)=>e+this._numberOfRenderVertices(t)),0);this._count=t;const i=V.createBuffer(t),o=this._origin;let f=0,n=0;for(const u of e){for(let e=0;e0){i.up.setVec(c-2,a),i.up.setVec(c-4,a),i.up.setVec(c-5,a);for(let e=-6;e<0;e++)i.end.setVec(c+e,h)}}f+=this._numberOfRenderVertices(u)}return i.buffer}}const d=i(),b=i(),V=f().vec3f(n.START).vec3f(n.END).vec3f(n.UP).vec2f(n.EXTRUDE);export{_ as LaserlinePathData};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as o}from\"../../../../chunks/tslib.es6.js\";import{deg2rad as t}from\"../../../../core/mathUtils.js\";import{ReloadableShaderModule as e}from\"../core/shaderTechnique/ReloadableShaderModule.js\";import{ShaderTechnique as r}from\"../core/shaderTechnique/ShaderTechnique.js\";import{parameter as i,ShaderTechniqueConfiguration as n}from\"../core/shaderTechnique/ShaderTechniqueConfiguration.js\";import{Default3D as a}from\"../lib/DefaultVertexAttributeLocations.js\";import{Program as l}from\"../lib/Program.js\";import{d as s,L as h}from\"../../../../chunks/Laserlines.glsl.js\";import{BlendFactor as f}from\"../../../webgl/enums.js\";import{makePipelineState as m,simpleBlendingParams as p,defaultColorWriteParams as d}from\"../../../webgl/renderState.js\";class c extends r{initializeProgram(o){const t=c.shader.get(),e=this.configuration,r=t.build(e);return new l(o.rctx,r,a)}bind(o,e){this.program.setUniform3fv(\"innerColor\",o.innerColor),this.program.setUniform1f(\"innerWidth\",o.innerWidth*e.pixelRatio),this.program.setUniform3fv(\"glowColor\",o.glowColor),this.program.setUniform1f(\"glowWidth\",o.glowWidth*e.pixelRatio),this.program.setUniform1f(\"glowFalloff\",o.glowFalloff),this.program.setUniform1f(\"globalAlpha\",o.globalAlpha),this.configuration.contrastControlEnabled&&this.program.setUniform1f(\"globalAlphaContrastBoost\",null!=o.globalAlphaContrastBoost?o.globalAlphaContrastBoost:1);const r=null!=o.angleCutoff?o.angleCutoff:s;this.program.setUniform2f(\"angleCutoff\",Math.cos(r),Math.cos(Math.max(0,r-t(2)))),this.configuration.intersectsLineEnabled&&this.program.setUniform1f(\"perScreenPixelRatio\",e.perScreenPixelRatio)}initializePipeline(){return m({blending:p(f.ONE,f.ONE_MINUS_SRC_ALPHA),colorWrite:d})}}c.shader=new e(h,(()=>import(\"./Laserlines.glsl.js\")));class g extends n{constructor(){super(...arguments),this.heightManifoldEnabled=!1,this.pointDistanceEnabled=!1,this.lineVerticalPlaneEnabled=!1,this.intersectsLineEnabled=!1,this.contrastControlEnabled=!1}}o([i()],g.prototype,\"heightManifoldEnabled\",void 0),o([i()],g.prototype,\"pointDistanceEnabled\",void 0),o([i()],g.prototype,\"lineVerticalPlaneEnabled\",void 0),o([i()],g.prototype,\"intersectsLineEnabled\",void 0),o([i()],g.prototype,\"contrastControlEnabled\",void 0);export{c as LaserlineTechnique,g as LaserlineTechniqueConfiguration};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{deg2rad as e}from\"../../../core/mathUtils.js\";import{isSome as t,isNone as i,disposeMaybe as n,releaseMaybe as s}from\"../../../core/maybe.js\";import{a as r}from\"../../../chunks/vec2f64.js\";import{g as a,m as h,i as l,n as o,c,b as _}from\"../../../chunks/vec3.js\";import{c as d}from\"../../../chunks/vec3f64.js\";import{t as m}from\"../../../chunks/vec4.js\";import{c as p}from\"../../../chunks/vec4f64.js\";import{create as f,fromRay as g,getStart as u,getEnd as b}from\"../../../geometry/support/clipRay.js\";import{intersectClipRay as V}from\"../../../geometry/support/frustum.js\";import{create as P,copy as E,pointAt as L}from\"../../../geometry/support/lineSegment.js\";import{create as q,fromPositionAndNormal as D}from\"../../../geometry/support/plane.js\";import{wrap as S}from\"../../../geometry/support/ray.js\";import{c as R}from\"../../../chunks/sphere.js\";import{LaserlinePathData as T}from\"./LaserlinePathData.js\";import{createQuadVAO as U}from\"../webgl-engine/lib/glUtil3D.js\";import{RenderSlot as M}from\"../webgl-engine/lib/RenderSlot.js\";import{inverseProjectionInfo as x}from\"../webgl-engine/lib/Util.js\";import{copyParameters as C,updateParameters as v}from\"../webgl-engine/materials/internal/MaterialUtil.js\";import{LaserlinePathTechniqueConfiguration as A,LaserlinePathTechnique as j}from\"../webgl-engine/shaders/LaserlinePathTechnique.js\";import{LaserlineTechniqueConfiguration as w,LaserlineTechnique as I}from\"../webgl-engine/shaders/LaserlineTechnique.js\";import{PrimitiveType as O}from\"../../webgl/enums.js\";const y=d(),H=p(),z={glowColor:[1,.5,0],glowWidth:8,glowFalloff:8,innerColor:[1,1,1],innerWidth:1,globalAlpha:.75,angleCutoff:e(6),globalAlphaContrastBoost:2};function N(e,t,i,n){const s=y,r=H;h(s,t,n),a(r,i),r[3]=0,m(r,r,n),D(s,r,e)}class k{constructor(e,t={},i={contrastControlEnabled:!1}){this._renderCoordsHelper=e,this._config=i,this._technique=null,this._projInfo=p(),this._zScale=r(),this._heightManifoldEnabled=!1,this._heightManifoldTarget=d(),this._pointDistanceEnabled=!1,this._pointDistanceOrigin=d(),this._pointDistanceTarget=d(),this._lineVerticalPlaneEnabled=!1,this._lineVerticalPlaneSegment=P(),this._intersectsLineEnabled=!1,this._intersectsLineSegment=P(),this._intersectsLineRadius=3,this._intersectsLineInfinite=!1,this._pathVerticalPlaneEnabled=!1,this._pathVerticalPlaneData=null,this._pathTechnique=null,this.canRender=!0,this._tempNormal=d(),this._tempDir=d(),this._tempUp=d(),this._tempVec3A=d(),this._tempVec3B=d(),this._tempVec4=p(),this._tempPlane=q(),this._tempSphere=R(),this._params=C(t,z)}get renderSlots(){return[this._config.contrastControlEnabled?M.LASERLINES_CONTRAST_CONTROL:M.LASERLINES]}get needsLinearDepth(){return!0}get heightManifoldEnabled(){return this._heightManifoldEnabled}set heightManifoldEnabled(e){this._heightManifoldEnabled!==e&&(this._heightManifoldEnabled=e,this._requestRender())}get heightManifoldTarget(){return this._heightManifoldTarget}set heightManifoldTarget(e){a(this._heightManifoldTarget,e),this._requestRender()}get pointDistanceEnabled(){return this._pointDistanceEnabled}set pointDistanceEnabled(e){e!==this._pointDistanceEnabled&&(this._pointDistanceEnabled=e,this._requestRender())}get pointDistanceTarget(){return this._pointDistanceTarget}set pointDistanceTarget(e){a(this._pointDistanceTarget,e),this._requestRender()}get pointDistanceOrigin(){return this._pointDistanceOrigin}set pointDistanceOrigin(e){a(this._pointDistanceOrigin,e),this._requestRender()}get lineVerticalPlaneEnabled(){return this._lineVerticalPlaneEnabled}set lineVerticalPlaneEnabled(e){e!==this._lineVerticalPlaneEnabled&&(this._lineVerticalPlaneEnabled=e,this._requestRender())}get lineVerticalPlaneSegment(){return this._lineVerticalPlaneSegment}set lineVerticalPlaneSegment(e){E(e,this._lineVerticalPlaneSegment),this._requestRender()}get intersectsLineEnabled(){return this._intersectsLineEnabled}set intersectsLineEnabled(e){e!==this._intersectsLineEnabled&&(this._intersectsLineEnabled=e,this._requestRender())}get intersectsLineSegment(){return this._intersectsLineSegment}set intersectsLineSegment(e){E(e,this._intersectsLineSegment),this._requestRender()}get intersectsLineRadius(){return this._intersectsLineRadius}set intersectsLineRadius(e){e!==this._intersectsLineRadius&&(this._intersectsLineRadius=e,this._requestRender())}get intersectsLineInfinite(){return this._intersectsLineInfinite}set intersectsLineInfinite(e){e!==this._intersectsLineInfinite&&(this._intersectsLineInfinite=e,this._requestRender())}get pathVerticalPlaneEnabled(){return this._pathVerticalPlaneEnabled}set pathVerticalPlaneEnabled(e){e!==this._pathVerticalPlaneEnabled&&(this._pathVerticalPlaneEnabled=e,t(this._pathVerticalPlaneData)&&this._requestRender())}set pathVerticalPlaneVertices(e){i(this._pathVerticalPlaneData)&&(this._pathVerticalPlaneData=new T(this._renderCoordsHelper)),this._pathVerticalPlaneData.vertices=e,this.pathVerticalPlaneEnabled&&this._requestRender()}set pathVerticalPlaneBuffers(e){i(this._pathVerticalPlaneData)&&(this._pathVerticalPlaneData=new T(this._renderCoordsHelper)),this._pathVerticalPlaneData.buffers=e,this.pathVerticalPlaneEnabled&&this._requestRender()}setParameters(e){v(this._params,e)&&this._requestRender()}initializeRenderContext(e){this._context=e;const t=e.renderContext.rctx;this._quadVAO=U(t),this._techniqueRepository=e.shaderTechniqueRepository,this._techniqueConfig=new w;const i=new A;i.contrastControlEnabled=this._config.contrastControlEnabled,this._pathTechnique=this._techniqueRepository.acquire(j,i)}uninitializeRenderContext(){this._quadVAO=n(this._quadVAO),this._technique=s(this._technique),this._pathVerticalPlaneData=n(this._pathVerticalPlaneData),this._pathTechnique=s(this._pathTechnique)}prepareTechnique(){return this.heightManifoldEnabled||this.pointDistanceEnabled||this.lineVerticalPlaneSegment||this.intersectsLineEnabled?(this._techniqueConfig.heightManifoldEnabled=this.heightManifoldEnabled,this._techniqueConfig.lineVerticalPlaneEnabled=this.lineVerticalPlaneEnabled,this._techniqueConfig.pointDistanceEnabled=this.pointDistanceEnabled,this._techniqueConfig.intersectsLineEnabled=this.intersectsLineEnabled,this._techniqueConfig.contrastControlEnabled=this._config.contrastControlEnabled,this._technique=this._techniqueRepository.releaseAndAcquire(I,this._techniqueConfig,this._technique),this._technique):this._pathTechnique}render(e,t){const i=e.camera;x(i.projectionMatrix,i.fullWidth,i.fullHeight,this._projInfo,this._zScale),(this.heightManifoldEnabled||this.pointDistanceEnabled||this.lineVerticalPlaneSegment||this.intersectsLineEnabled)&&this._renderUnified(e,t),this.pathVerticalPlaneEnabled&&this._renderPath(e)}_renderUnified(e,t){const i=e.rctx,n=i.useTechnique(t);this._bindGlobalUniforms(e,n),this._bindHeightManifoldUniforms(e,n),this._bindPointDistanceUniforms(e,n),this._bindLineVerticalPlaneUniforms(e,n),this._bindIntersectsLineUniforms(e,n),t.bind(this._params,e.camera),i.bindVAO(this._quadVAO),i.drawArrays(O.TRIANGLE_STRIP,0,4)}_renderPath(e){if(i(this._pathVerticalPlaneData)||i(this._pathTechnique))return;const t=e.rctx,n=this._pathTechnique,s=t.useTechnique(n);this._bindGlobalUniforms(e,s),n.bind(this._params,this._pathVerticalPlaneData.origin,e.camera),this._pathVerticalPlaneData.draw(e.rctx)}_bindHeightManifoldUniforms(e,t){if(!this.heightManifoldEnabled)return;const i=this._tempVec3A,n=this._tempPlane;this._renderCoordsHelper.worldUpAtPosition(this._heightManifoldTarget,i),N(n,this._heightManifoldTarget,i,e.camera.viewMatrix),t.setUniform4fv(\"heightPlane\",n)}_bindPointDistanceUniforms(e,t){if(!this._pointDistanceEnabled)return;const i=e.camera,n=this._tempSphere;a(n,this._pointDistanceOrigin),h(n,n,i.viewMatrix),n[3]=l(this._pointDistanceOrigin,this._pointDistanceTarget),t.setUniform4f(\"pointDistanceSphere\",n[0],n[1],n[2],n[3])}_bindLineVerticalPlaneUniforms(e,t){if(!this._lineVerticalPlaneEnabled)return;const i=this._renderCoordsHelper,n=e.camera,s=this._tempPlane,r=this._tempVec3A,l=this._tempUp,d=this._tempDir,m=this._tempNormal;L(this._lineVerticalPlaneSegment,.5,r),i.worldUpAtPosition(r,l),o(d,this._lineVerticalPlaneSegment.vector),c(m,l,d),o(m,m),N(s,this._lineVerticalPlaneSegment.origin,m,n.viewMatrix),t.setUniform4fv(\"lineVerticalPlane\",s);const p=this._tempVec3A;a(p,this._lineVerticalPlaneSegment.origin),i.setAltitude(p,0),h(p,p,n.viewMatrix),t.setUniform3fv(\"lineVerticalStart\",p);const f=this._tempVec3B;_(f,this._lineVerticalPlaneSegment.origin,this._lineVerticalPlaneSegment.vector),i.setAltitude(f,0),h(f,f,n.viewMatrix),t.setUniform3fv(\"lineVerticalEnd\",f)}_bindIntersectsLineUniforms(e,t){if(!this._intersectsLineEnabled)return;const i=G,n=F;if(this._intersectsLineInfinite){const t=e.camera;if(g(S(this._intersectsLineSegment.origin,this._intersectsLineSegment.vector),B),B.c0=-Number.MAX_VALUE,!V(t.frustum,B))return;u(B,i),b(B,n)}else a(i,this._intersectsLineSegment.origin),_(n,this._intersectsLineSegment.origin,this._intersectsLineSegment.vector);const s=this._tempVec3A;h(s,i,e.camera.viewMatrix),t.setUniform3fv(\"intersectsLineStart\",s);const r=this._tempVec4;a(r,this._intersectsLineSegment.vector),this._tempVec4[3]=0,m(this._tempVec4,this._tempVec4,e.camera.viewMatrix),h(n,n,e.camera.viewMatrix),t.setUniform3fv(\"intersectsLineEnd\",n),o(r,r),t.setUniform3f(\"intersectsLineDirection\",r[0],r[1],r[2]),t.setUniform1f(\"intersectsLineRadius\",this._intersectsLineRadius)}_bindGlobalUniforms(e,t){const i=e.camera;t.setUniform4fv(\"projInfo\",this._projInfo),t.setUniform2fv(\"zScale\",this._zScale),t.setUniform2fv(\"nearFar\",i.nearFar),this._heightManifoldEnabled?t.setUniform1f(\"maxPixelDistance\",2*i.computeScreenPixelSizeAt(this._heightManifoldTarget)):this._pointDistanceEnabled?t.setUniform1f(\"maxPixelDistance\",2*i.computeScreenPixelSizeAt(this._pointDistanceTarget)):this._lineVerticalPlaneEnabled&&t.setUniform1f(\"maxPixelDistance\",2*i.computeScreenPixelSizeAt(this._lineVerticalPlaneSegment.origin)),t.bindTexture(e.offscreenRenderingHelper.linearDepthTexture,\"depthMap\"),t.bindTexture(e.offscreenRenderingHelper.mainColorTexture,\"frameColor\")}_requestRender(){this._context&&this._context.requestRender()}}const B=f(),G=d(),F=d();export{k as LaserLineRenderer};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as t}from\"../../../../core/maybe.js\";import{g as i}from\"../../../../chunks/vec3.js\";import{c as n,a as s}from\"../../../../chunks/vec3f64.js\";import{create as r,fromValues as h,copy as a}from\"../../../../geometry/support/lineSegment.js\";import{VisualElement as l}from\"./VisualElement.js\";import{LaserLineRenderer as c}from\"../../support/LaserLineRenderer.js\";import{d}from\"../../../../chunks/Laserlines.glsl.js\";class _ extends l{constructor(e){super(e.view),this._angleCutoff=d,this._style={},this._heightManifoldTarget=n(),this._heightManifoldEnabled=!1,this._intersectsLine=r(),this._intersectsLineEnabled=!1,this._intersectsLineInfinite=!1,this._lineVerticalPlaneSegment=null,this._pathVerticalPlaneBuffers=null,this._pointDistanceLine=null,this.applyProps(e)}get testData(){return this.renderer}createResources(){this._ensureRenderer()}destroyResources(){this._disposeRenderer()}updateVisibility(){this._syncRenderer(),this._syncHeightManifold(),this._syncIntersectsLine(),this._syncPathVerticalPlane(),this._syncLineVerticalPlane(),this._syncPointDistance()}get angleCutoff(){return this._angleCutoff}set angleCutoff(e){this._angleCutoff!==e&&(this._angleCutoff=e,this._syncAngleCutoff())}get style(){return this._style}set style(e){this._style=e,this._syncStyle()}get heightManifoldTarget(){return this._heightManifoldEnabled?this._heightManifoldTarget:null}set heightManifoldTarget(t){e(t)?(i(this._heightManifoldTarget,t),this._heightManifoldEnabled=!0):this._heightManifoldEnabled=!1,this._syncRenderer(),this._syncHeightManifold()}set intersectsWorldUpAtLocation(e){if(t(e))return void(this.intersectsLine=null);const i=this.view.renderCoordsHelper.worldUpAtPosition(e,o);this.intersectsLine=h(e,i),this.intersectsLineInfinite=!0}get intersectsLine(){return this._intersectsLineEnabled?this._intersectsLine:null}set intersectsLine(t){e(t)?(a(t,this._intersectsLine),this._intersectsLineEnabled=!0):this._intersectsLineEnabled=!1,this._syncIntersectsLine(),this._syncRenderer()}get intersectsLineInfinite(){return this._intersectsLineInfinite}set intersectsLineInfinite(e){this._intersectsLineInfinite=e,this._syncIntersectsLineInfinite()}get lineVerticalPlaneSegment(){return this._lineVerticalPlaneSegment}set lineVerticalPlaneSegment(t){this._lineVerticalPlaneSegment=e(t)?a(t):null,this._syncLineVerticalPlane(),this._syncRenderer()}get pathVerticalPlane(){return this._pathVerticalPlaneBuffers}set pathVerticalPlane(e){this._pathVerticalPlaneBuffers=e,this._syncPathVerticalPlane(),this._syncLineVerticalPlane(),this._syncPointDistance(),this._syncRenderer()}get pointDistanceLine(){return this._pointDistanceLine}set pointDistanceLine(t){this._pointDistanceLine=e(t)?{origin:s(t.origin),target:s(t.target)}:null,this._syncPointDistance(),this._syncRenderer()}_syncRenderer(){this.attached&&this.visible&&(this._intersectsLineEnabled||this._heightManifoldEnabled||e(this._pointDistanceLine)||e(this._pathVerticalPlaneBuffers))?this._ensureRenderer():this._disposeRenderer()}_ensureRenderer(){e(this.renderer)||(this.renderer=new c(this.view.renderCoordsHelper,void 0,{contrastControlEnabled:!0}),this._syncStyle(),this._syncHeightManifold(),this._syncIntersectsLine(),this._syncIntersectsLineInfinite(),this._syncPathVerticalPlane(),this._syncLineVerticalPlane(),this._syncPointDistance(),this._syncAngleCutoff(),this.view._stage&&this.view._stage.addRenderPlugin(this.renderer.renderSlots,this.renderer))}_syncStyle(){t(this.renderer)||(this.renderer.setParameters(this._style),null!=this._style.intersectsLineRadius&&(this.renderer.intersectsLineRadius=this._style.intersectsLineRadius))}_syncAngleCutoff(){t(this.renderer)||this.renderer.setParameters({angleCutoff:this._angleCutoff})}_syncHeightManifold(){t(this.renderer)||(this.renderer.heightManifoldEnabled=this._heightManifoldEnabled&&this.visible,this._heightManifoldEnabled&&(this.renderer.heightManifoldTarget=this._heightManifoldTarget))}_syncIntersectsLine(){t(this.renderer)||(this.renderer.intersectsLineEnabled=this._intersectsLineEnabled&&this.visible,this._intersectsLineEnabled&&(this.renderer.intersectsLineSegment=this._intersectsLine))}_syncIntersectsLineInfinite(){t(this.renderer)||(this.renderer.intersectsLineInfinite=this._intersectsLineInfinite)}_syncPathVerticalPlane(){t(this.renderer)||(this.renderer.pathVerticalPlaneEnabled=e(this._pathVerticalPlaneBuffers)&&this.visible,e(this._pathVerticalPlaneBuffers)&&(this.renderer.pathVerticalPlaneBuffers=this._pathVerticalPlaneBuffers))}_syncLineVerticalPlane(){t(this.renderer)||(this.renderer.lineVerticalPlaneEnabled=e(this._lineVerticalPlaneSegment)&&this.visible,e(this._lineVerticalPlaneSegment)&&(this.renderer.lineVerticalPlaneSegment=this._lineVerticalPlaneSegment))}_syncPointDistance(){t(this.renderer)||(this.renderer.pointDistanceEnabled=e(this._pointDistanceLine)&&this.visible,e(this._pointDistanceLine)&&(this.renderer.pointDistanceOrigin=this._pointDistanceLine.origin,this.renderer.pointDistanceTarget=this._pointDistanceLine.target))}_disposeRenderer(){e(this.renderer)&&this.view._stage&&(this.view._stage.removeRenderPlugin(this.renderer),this.renderer=null)}}const o=n();export{_ as LaserlineVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as s}from\"../../../../core/maybe.js\";import{c as r}from\"../../../../chunks/mat4.js\";import{c as t}from\"../../../../chunks/mat4f64.js\";import{VisualElement as i}from\"./VisualElement.js\";import{UpdatePolicy as o}from\"../../webgl-engine/lib/basicInterfaces.js\";import{Object3D as a}from\"../../webgl-engine/lib/Object3D.js\";import{WebGLLayer as c}from\"../../webgl-engine/lib/WebGLLayer.js\";class n extends i{constructor(e){super(e.view),this._resources=null,this._transform=t()}get object(){return e(this._resources)?this._resources.object:null}get transform(){return this._transform}set transform(s){r(this._transform,s),e(this._resources)&&(this._resources.object.transformation=this._transform)}recreate(){this.attached&&this.createResources()}recreateGeometry(){if(s(this._resources))return;const e=this._resources.object,r=this.view._stage;r.removeMany(e.geometries),e.removeAllGeometries(),this.createGeometries(e),this.visible||e.setVisible(this.visible),r.addMany(e.geometries)}createResources(){this.destroyResources();const e=this.view._stage;if(!e)return;const s=new c({isPickable:!1,updatePolicy:o.SYNC});e.add(s);const r=new a({castShadow:!1});r.transformation=this._transform,this.createExternalResources(),this.createGeometries(r),e.addMany(r.geometries),this.forEachExternalMaterial((s=>e.add(s))),e.add(r),s.add(r),this.visible||r.setVisible(!1),this._resources={layer:s,object:r}}destroyResources(){const e=this.view._stage;!s(this._resources)&&e&&(e.remove(this._resources.object),e.remove(this._resources.layer),this.forEachExternalMaterial((s=>{e.remove(s),s.dispose()})),e.removeMany(this._resources.object.geometries),this._resources.object.dispose(),this.destroyExternalResources(),this._resources=null)}updateVisibility(e){s(this._resources)||this._resources.object.setVisible(e)}}export{n as Object3DVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../../../core/has.js\";import e from\"../../../../core/Handles.js\";import{isSome as t,unwrap as s,isNone as i,unwrapOr as r}from\"../../../../core/maybe.js\";import{g as n,f as a,k as l,o}from\"../../../../chunks/vec3.js\";import{c as h,f as _}from\"../../../../chunks/vec3f64.js\";import{g as d,c as p}from\"../../../../chunks/vec4.js\";import{f as u,a as c}from\"../../../../chunks/vec4f32.js\";import{create as f,fromRay as m,getStart as y,getEnd as g}from\"../../../../geometry/support/clipRay.js\";import{intersectClipRay as x}from\"../../../../geometry/support/frustum.js\";import{create as w,fromPoints as b,pointAt as E}from\"../../../../geometry/support/lineSegment.js\";import{create as R,fromPoints as O}from\"../../../../geometry/support/ray.js\";import{LaserlineVisualElement as D}from\"./LaserlineVisualElement.js\";import{Object3DVisualElement as A}from\"./Object3DVisualElement.js\";import C from\"../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as P}from\"../../webgl-engine/lib/Material.js\";import{VertexAttribute as j}from\"../../webgl-engine/lib/VertexAttribute.js\";import{RibbonLineMaterial as v}from\"../../webgl-engine/materials/RibbonLineMaterial.js\";class M extends A{constructor(t){super(t),this._ray=R(),this._externalResources=null,this._handles=new e,this._isWorldDown=!1,this._start=h(),this._end=_(1,0,0),this._width=1,this._color=u(1,0,1,1),this._polygonOffset=!1,this._writeDepthEnabled=!0,this._innerWidth=0,this._innerColor=u(1,1,1,1),this._stipplePattern=null,this._stippleOffColor=null,this._stipplePreferContinuous=!0,this._falloff=0,this._extensionType=T.LINE,this._laserlineStyle=null,this._laserlineEnabled=!1,this._renderOccluded=P.OccludeAndTransparent,this._fadedExtensions=N,this.applyProps(t)}createExternalResources(){const e=new v(this.materialParameters);this._handles.add(this.view.state.watch(\"camera\",(()=>{this._updateGeometry()})));const t=new D({view:this.view,attached:this._laserlineEnabled});this._externalResources={material:e,laserline:t}}destroyExternalResources(){t(this._externalResources)&&this._externalResources.laserline.destroy(),this._externalResources=null,this._handles.removeAll()}forEachExternalMaterial(e){t(this._externalResources)&&e(this._externalResources.material)}createGeometries(e){const t=[h(),h()],i=this.extensionType===T.FADED;i&&t.push(h(),h());const r=i?new Float32Array([1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0]):null,n=C.createPolylineGeometry(t,null,r);e.addGeometry(n,s(this._externalResources).material),this._updateVertices(e)}updateVisibility(e){super.updateVisibility(e),t(this._externalResources)&&(this._externalResources.laserline.visible=e)}setStartEndFromWorldDownAtLocation(e){this._isWorldDown=!0,n(this._start,e),this.view.renderCoordsHelper.worldUpAtPosition(e,this._end),a(this._end,e,this._end),O(this._start,this._end,this._ray),this._updateGeometry()}get start(){return this._start}set start(e){this._isWorldDown=!1,l(this._start,e)||(n(this._start,e),O(this._start,this._end,this._ray),this._updateGeometry())}get end(){return this._end}set end(e){this._isWorldDown=!1,l(this._end,e)||(n(this._end,e),O(this._start,this._end,this._ray),this._updateGeometry())}get width(){return this._width}set width(e){e!==this._width&&(this._width=e,this._updateMaterial())}get color(){return this._color}set color(e){d(e,this._color)||(p(this._color,e),this._updateMaterial())}get polygonOffset(){return this._polygonOffset}set polygonOffset(e){e!==this._polygonOffset&&(this._polygonOffset=e,this._updateMaterial())}get writeDepthEnabled(){return this._writeDepthEnabled}set writeDepthEnabled(e){this._writeDepthEnabled!==e&&(this._writeDepthEnabled=e,this._updateMaterial())}get innerWidth(){return this._innerWidth}set innerWidth(e){e!==this._innerWidth&&(this._innerWidth=e,this._updateMaterial())}get innerColor(){return this._innerColor}set innerColor(e){d(e,this._innerColor)||(p(this._innerColor,e),this._updateMaterial())}get stipplePattern(){return this._stipplePattern}set stipplePattern(e){const s=t(e)!==t(this._stipplePattern);this._stipplePattern=e,s?this.recreate():this._updateMaterial()}get stippleOffColor(){return this._stippleOffColor}set stippleOffColor(e){(i(e)||i(this._stippleOffColor)||!d(e,this._stippleOffColor))&&(this._stippleOffColor=t(e)?c(e):null,this._updateMaterial())}get stipplePreferContinuous(){return this._stipplePreferContinuous}set stipplePreferContinuous(e){e!==this._stipplePreferContinuous&&(this._stipplePreferContinuous=e,this._updateMaterial())}get falloff(){return this._falloff}set falloff(e){e!==this._falloff&&(this._falloff=e,this._updateMaterial())}get extensionType(){return this._extensionType}set extensionType(e){e!==this._extensionType&&(this._extensionType=e,this._updateGeometry())}get _laserlineAttached(){return this._laserlineEnabled&&t(this._laserlineStyle)}get laserlineStyle(){return this._laserlineStyle}set laserlineStyle(e){this._laserlineStyle=e,t(this._externalResources)&&(this._externalResources.laserline.attached=this._laserlineAttached,t(e)&&(this._externalResources.laserline.style=e))}get laserlineEnabled(){return this._laserlineEnabled}set laserlineEnabled(e){this._laserlineEnabled!==e&&(this._laserlineEnabled=e,t(this._externalResources)&&(this._externalResources.laserline.attached=this._laserlineAttached))}get renderOccluded(){return this._renderOccluded}set renderOccluded(e){e!==this._renderOccluded&&(this._renderOccluded=e,this._updateMaterial())}get fadedExtensions(){return this._fadedExtensions}set fadedExtensions(e){this._fadedExtensions=r(e,N),this.recreateGeometry()}_updateMaterial(){if(i(this._externalResources))return;this._externalResources.material.setParameters(this.materialParameters)}get materialParameters(){return{width:this._width,color:this._color,stippleOffColor:this._stippleOffColor,stipplePattern:this._stipplePattern,stipplePreferContinuous:this._stipplePreferContinuous,innerWidth:this._innerWidth,innerColor:this._innerColor,falloff:this._falloff,polygonOffset:this._polygonOffset,renderOccluded:this._renderOccluded,writeDepth:this._writeDepthEnabled}}_updateGeometry(){t(this.object)&&this._updateVertices(this.object)}_updateVertices(e){const s=this._extensionType===T.FADED?this._updateLineSegmentFinite(S):this._updateLineSegmentInfinite(this._extensionType,S);this._updateVertexAttributes(e,s),t(this._externalResources)&&(this._externalResources.laserline.intersectsLine=s)}_updateLineSegmentFinite(e){return b(this._start,this._end,e)}_updateLineSegmentInfinite(e,t){const s=this.view.state.camera;switch(m(this._ray,G),e){case T.LINE:G.c0=-Number.MAX_VALUE;break;case T.RAY:case T.GROUND_RAY:{const e=this._ray.origin,t=r(this.view.elevationProvider.getElevation(e[0],e[1],e[2],this.view.renderCoordsHelper.spatialReference,\"ground\"),0),s=this.view.renderCoordsHelper.getAltitude(e);this._isWorldDown&&s{this._updateGeometry()}))),this._externalResources={material:e}}destroyExternalResources(){this._handles.removeAll(),this._externalResources=null}createGeometries(e){const r=w.createPolylineGeometry([p(),p()]),s=w.createPolylineGeometry([p(),p()]),i=t(this._externalResources).material;e.addGeometry(r,i),e.addGeometry(s,i),this._updateVertices(e)}forEachExternalMaterial(e){r(this._externalResources)&&e(this._externalResources.material)}_updateMaterial(){if(s(this._externalResources))return;this._externalResources.material.setParameters(this.materialParameters)}get materialParameters(){return{width:this._width,color:this._color,renderOccluded:this._renderOccluded}}_updateGeometry(){const e=this.object;s(e)||this._updateVertices(e)}_updateVertices(e){const t=this.view.state.camera;t.projectToScreen(this.location,V),_(P,this.location,this.direction),t.projectToScreen(P,v),o(v,a(v,v,V)),this._updateVertexAttributes(t,e,0,V,v,1),this._updateVertexAttributes(t,e,1,V,v,-1)}_updateVertexAttributes(e,t,r,s,i,o){const a=t.geometryRecords[r],l=a.geometry.getMutableAttribute(G.POSITION).data,d=c(A,n(A,i[1]*o,i[0]*-o),this.offset+this.width/2),m=h(M,h(M,h(M,s,c(M,i,this.length/2)),d),d),u=h(k,m,c(k,i,-this.length));e.unprojectFromScreen(m,P),l[0]=P[0],l[1]=P[1],l[2]=P[2],e.unprojectFromScreen(u,P),l[3]=P[0],l[4]=P[1],l[5]=P[2],t.geometryVertexAttrsUpdated(a)}}const P=p(),V=i(),v=i(),A=i(),M=i(),k=i();export{R as ParallelLineVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as s}from\"../../../../core/maybe.js\";import{init as r}from\"../../../../core/watchUtils.js\";import{UpdatePolicy as t}from\"../../webgl-engine/lib/basicInterfaces.js\";import{ContentObjectType as o}from\"../../webgl-engine/lib/ContentObjectType.js\";import{Object3D as c}from\"../../webgl-engine/lib/Object3D.js\";import{WebGLLayer as i}from\"../../webgl-engine/lib/WebGLLayer.js\";class a{constructor(e){this.resourceFactory=e,this._resources=null,this._visible=!0,this._attached=!1}destroy(){this._destroyResources()}get object(){return e(this._resources)?this._resources.object:null}get resources(){return e(this._resources)?this._resources.external:null}get visible(){return this._visible}set visible(e){e!==this._visible&&(this._visible=e,this._syncVisible())}get attached(){return this._attached}set attached(e){e!==this._attached&&(this._attached=e,this._createOrDestroyResources())}recreate(){this.attached&&this._createResources()}recreateGeometry(){if(!this.resourceFactory.recreateGeometry)return void this.recreate();const e=this.resourceFactory.view._stage;if(s(this._resources)||!e)return;const r=this._resources.object;this._resources.external.forEach((s=>{s.type===o.Geometry&&e.remove(s)})),r.removeAllGeometries();const t=this.resourceFactory.recreateGeometry(this._resources.external,r,this._resources.layer);e.addMany(t)}_createOrDestroyResources(){this._attached?this._resources||this._createResources():this._destroyResources()}_createResources(){this._destroyResources();const e=this.resourceFactory.view._stage;if(!e)return;const s=new i({isPickable:!1,updatePolicy:t.SYNC});e.add(s);const o=new c({castShadow:!1}),a=this.resourceFactory.createResources(o,s);a.forEach((s=>e.add(s))),e.add(o),s.add(o);const h=this.resourceFactory.cameraChanged?r(this.resourceFactory.view.state,\"camera\",(e=>this.resourceFactory.cameraChanged(e))):null;this._resources={layer:s,object:o,external:a,cameraHandle:h},this._syncVisible()}_destroyResources(){if(s(this._resources))return;const e=this.resourceFactory.view._stage;null==e||e.remove(this._resources.object),null==e||e.remove(this._resources.layer),this._resources.external.forEach((s=>{null==e||e.remove(s),\"dispose\"in s&&s.dispose()})),this._resources.object.dispose(),this._resources.cameraHandle&&this._resources.cameraHandle.remove(),this._resources=null}_syncVisible(){s(this._resources)||this._resources.object.setVisible(this._visible)}}export{a as VisualElementResources};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{clamp as e,nextHighestPowerOfTwo as t}from\"../../../../core/mathUtils.js\";import{isSome as r,isNone as i}from\"../../../../core/maybe.js\";import{s}from\"../../../../chunks/vec3.js\";import{c as o}from\"../../../../chunks/vec3f64.js\";import{g as n,c as a}from\"../../../../chunks/vec4.js\";import{f as l}from\"../../../../chunks/vec4f64.js\";import{projectVectorToVector as u}from\"../../../../geometry/projection.js\";import{expandWithBuffer as c}from\"../../../../geometry/support/aaBoundingBox.js\";import{sv3d as h}from\"../../../../geometry/support/vectorStacks.js\";import{VisualElementResources as m}from\"./VisualElementResources.js\";import{evaluateElevationAlignmentAtPoint as p}from\"../../layers/graphics/elevationAlignmentUtils.js\";import{ElevationContext as g}from\"../../layers/graphics/ElevationContext.js\";import{createTexture as d,DEFAULT_SYMBOL_SIZE_RATIO as _}from\"../../layers/graphics/sdfPrimitives.js\";import f from\"../../webgl-engine/lib/GeometryUtil.js\";import{VertexAttribute as y}from\"../../webgl-engine/lib/VertexAttribute.js\";import{HUDMaterial as v}from\"../../webgl-engine/materials/HUDMaterial.js\";class S{constructor(e){this.view=null,this._geometry=null,this._size=3,this._color=l(1,0,1,1),this._pixelSnappingEnabled=!0,this._primitive=\"square\",this._outlineSize=1,this._outlineColor=l(1,1,1,1),this._elevationInfo=null,this.resources=new m({view:e.view,createResources:e=>this._createResources(e),recreateGeometry:(e,t)=>(e.geometry=this._recreateGeometry(t,e.material),r(e.geometry)?[e.geometry]:[])});let t=!0;for(const r in e)r in this?\"attached\"===r?t=e[r]:this[r]=e[r]:console.error(\"Cannot set unknown property\",r);this.attached=t}destroy(){this.resources.destroy()}get visible(){return this.resources.visible}set visible(e){this.resources.visible=e}get attached(){return this.resources.attached}set attached(e){this.resources.attached=e}get geometry(){return this._geometry}set geometry(e){this._geometry=e,this.resources.recreateGeometry()}get size(){return this._size}set size(e){if(e!==this._size){const t=this.preferredTextureSize;this._size=e,tthis._updateTransform())))}destroyExternalResources(){this._quadMaterial=null,this._outlineMaterial=null,this._handles.removeAll()}forEachExternalMaterial(e){e(this._quadMaterial),e(this._outlineMaterial)}createGeometries(e){this._createQuadGeometry(e),this._createOutlineGeometry(e),this._updateTransform(e)}_createQuadGeometry(e){const t=this._quadGeometryData(this._up,this._right);e.addGeometry(t,this._quadMaterial)}_createOutlineGeometry(e){if(0===this._outlineSize)return;const t=u(_.get(),this._up,this._right),i=M.createPolylineGeometry([this._up,t,this._right]);e.addGeometry(i,this._outlineMaterial)}_updateTransform(e=this.object){const s=this.view.state.camera,a=this._size*s.computeScreenPixelSizeAt(this._position),o=Math.min(this._maxSize,a);i(j,this._position),r(j,j,[o,o,o]),t(e)&&(e.transformation=j)}_quadGeometryData(e,t){const i=u(_.get(),e,t);return new p([[f.POSITION,{size:3,data:[0,0,0,...t,...e,...i],exclusive:!0}]],[[f.POSITION,new Uint16Array([0,1,2,1,2,3])]])}get quadMaterialParameters(){return{color:this._color,transparent:!0,writeDepth:!1,polygonOffset:!0,renderOccluded:this._renderOccluded}}_updateQuadMaterial(){this._quadMaterial&&this._quadMaterial.setParameters(this.quadMaterialParameters)}get outlineMaterialParameters(){return{color:this._outlineColor,width:this._outlineSize,renderOccluded:this._outlineRenderOccluded}}_updateOutlineMaterial(){this._outlineMaterial&&this._outlineMaterial.setParameters(this.outlineMaterialParameters)}}const j=s();export{z as RightAngleQuadVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../../Color.js\";import\"../../../core/has.js\";import{destroyHandle as n}from\"../../../core/handleUtils.js\";import{e as t}from\"../../../chunks/vec3.js\";import{c as i}from\"../../../chunks/vec3f64.js\";import{ExtendedLineVisualElement as o,ExtensionType as r}from\"./visualElements/ExtendedLineVisualElement.js\";import{ParallelLineVisualElement as a}from\"./visualElements/ParallelLineVisualElement.js\";import{PointVisualElement as l}from\"./visualElements/PointVisualElement.js\";import{RightAngleQuadVisualElement as s}from\"./visualElements/RightAngleQuadVisualElement.js\";import{RenderOccludedFlag as c}from\"../webgl-engine/lib/Material.js\";import{defaults as d}from\"../../interactive/snapping/Settings.js\";import{anyMapPointToRender as p,anyMapPointsToRenderWithEqualZ as m,LineSegmentHintType as u}from\"../../interactive/snapping/snappingUtils.js\";import{SnappingVisualizer as v}from\"../../interactive/snapping/SnappingVisualizer.js\";class g extends v{visualizeIntersectionPoint(t,i){const{coordinateHelper:o,elevationInfo:r,view:a}=i;return n(new l({view:a,primitive:\"circle\",geometry:o.vectorToPoint(t.intersectionPoint),elevationInfo:r,size:20,outlineSize:2,color:[0,0,0,0],outlineColor:e.toUnitRGBA(d.orange),pixelSnappingEnabled:!1}))}visualizePoint(t,i){const{coordinateHelper:o,elevationInfo:r,view:a}=i;return n(new l({view:a,primitive:\"circle\",geometry:o.vectorToPoint(t.point),elevationInfo:r,size:20,outlineSize:2,color:[0,0,0,0],outlineColor:e.toUnitRGBA(d.orange),pixelSnappingEnabled:!1}))}visualizeLine(e,t){const{coordinateHelper:i,elevationInfo:o,view:r}=t;return n(this._createLineSegmentHintFromMap(e.type,e.lineStart,e.lineEnd,i,o,r,e.fadeLeft,e.fadeRight))}visualizeParallelSign(i,o){const{coordinateHelper:r,elevationInfo:l,view:s}=o,m=p(i.lineStart,r,l,o.view),u=p(i.lineEnd,r,l,o.view),v=t(u,m,u,.5),g=new a({view:s,attached:!1,offset:d.parallelLineHintOffset,length:d.parallelLineHintLength,width:d.parallelLineHintWidth,color:e.toUnitRGBA(d.orange),location:v,renderOccluded:c.Opaque});return g.setDirectionFromPoints(m,v),g.attached=!0,n(g)}visualizeRightAngleQuad(t,i){const{coordinateHelper:o,elevationInfo:r,view:a}=i;return n(new s({view:a,attached:!0,color:e.toUnitRGBA(d.orange),renderOccluded:c.Transparent,outlineRenderOccluded:c.Opaque,outlineColor:e.toUnitRGBA(d.orange),outlineSize:d.rightAngleHintOutlineSize,size:d.rightAngleHintSize,geometry:{previous:p(t.previousVertex,o,r,a),center:p(t.centerVertex,o,r,a),next:p(t.nextVertex,o,r,a)}}))}_createLineSegmentHintFromMap(e,n,t,o,r,a,l=!0,s=!0){const c=i(),d=i();return m(n,t,o,r,a,c,d),this._createLineSegmentHint(e,a,c,d,l,s)}_createLineSegmentHint(n,t,i,a,l=!0,s=!0){const p=new o({view:t,extensionType:r.FADED,start:i,end:a,color:e.toUnitRGBA(d.orange),renderOccluded:c.Opaque});switch(n){case u.TARGET:p.width=d.lineHintWidthTarget,p.fadedExtensions={start:0,end:d.lineHintFadedExtensions};break;case u.REFERENCE_EXTENSION:p.width=d.lineHintWidthReference,p.fadedExtensions={start:0,end:0};break;case u.REFERENCE:p.width=d.lineHintWidthReference,p.fadedExtensions={start:l?d.lineHintFadedExtensions:0,end:s?d.lineHintFadedExtensions:0}}return p.attached=!0,p}}export{g as SnappingVisualizer3D};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../../../Color.js\";import{toHSV as e,toRGB as i}from\"../../../../core/colorUtils.js\";import{d as l}from\"../../../../chunks/vec4f64.js\";import{ExtensionType as o}from\"../visualElements/ExtendedLineVisualElement.js\";import{RenderOccludedFlag as s}from\"../../webgl-engine/lib/Material.js\";import{createStipplePatternSimple as n}from\"../../webgl-engine/materials/lineStippleUtils.js\";const r={main:new t([255,127,0]),selected:new t([255,255,255]),staged:new t([12,207,255]),outline:new t([0,0,0,.5]),selectedOutline:new t([255,255,255])},h=.3;function c(t,e){const i=t.clone();return i.a*=e,i}function a(t,l){const o=t.clone(),s=e(o);s.s*=l;const n=i(s);return o.r=n.r,o.g=n.g,o.b=n.b,o}function d(t,e){if(e)for(const i in e)t[i]=e[i]}class u{constructor(t){this.color=r.main,this.height=90,this.coneHeight=40,this.coneWidth=23,this.width=3,this.renderOccluded=s.Opaque,d(this,t)}}class p{constructor(t){this.size=11,this.outlineSize=1,this.collisionPadding=9,this.color=r.main,this.outlineColor=r.outline,this.renderOccluded=s.Opaque,this.hoverOutlineColor=r.selectedOutline,d(this,t)}apply(t,e){const i=this[t];e.setParameters({color:P(i),transparent:\"color\"!==t||i.a<1,renderOccluded:this.renderOccluded})}}class g{constructor(t){this.size=40,this.height=.2,this.offset=.25,this.collisionPadding=2,this.color=c(r.main,.5),this.hoverColor=r.main,this.renderOccluded=s.Transparent,this.minSquaredEdgeLength=900,d(this,t)}apply(t,e){const i=this[t];e.setParameters({color:P(i),transparent:i.a<1,renderOccluded:this.renderOccluded})}}class f{constructor(t){this.vertex=new p({color:r.main,outlineColor:r.outline}),this.edge=new p({color:a(c(r.main,2/3),.5),outlineColor:c(r.outline,.5),size:8,collisionPadding:8}),this.selected=new p({color:r.selected,outlineColor:r.outline}),this.edgeOffset=new g,d(this,t)}}class w{constructor(t){this.color=r.selected,this.width=1.5,this.stipplePattern=n(5),this.stippleOffColor=r.outline,this.falloff=0,this.innerWidth=1.5,this.innerColor=r.selected,this.renderOccluded=s.OccludeAndTransparent,d(this,t)}apply(t){t.color=P(this.color),t.width=this.width,t.stipplePattern=this.stipplePattern,t.stippleOffColor=P(this.stippleOffColor),t.falloff=this.falloff,t.innerWidth=this.innerWidth,t.innerColor=P(this.innerColor),t.renderOccluded=this.renderOccluded}}class C{constructor(t){this.color=r.selected,this.size=4,this.outlineSize=1,this.outlineColor=r.outline,this.shape=\"square\",d(this,t)}apply(t){t.color=P(this.color),t.size=this.size,t.outlineSize=this.outlineSize,t.outlineColor=P(this.outlineColor),t.primitive=this.shape}}class m{constructor(t){this.innerColor=r.selected,this.innerWidth=1,this.glowColor=r.main,this.glowWidth=8,this.glowFalloff=8,this.globalAlpha=h,this.globalAlphaContrastBoost=1.5,this.radius=3,this.heightFillColor=r.main,d(this,t)}apply(e,i=1){const l={glowColor:t.toUnitRGB(this.glowColor),glowFalloff:this.glowFalloff,glowWidth:this.glowWidth,innerColor:t.toUnitRGB(this.innerColor),innerWidth:this.innerWidth,globalAlpha:this.globalAlpha*i,globalAlphaContrastBoost:this.globalAlphaContrastBoost,intersectsLineRadius:this.radius};\"style\"in e?e.style=l:e.laserlineStyle=l}}class O{constructor(t){this.outline=new w({color:r.outline,renderOccluded:s.OccludeAndTransparentStencil,stippleOffColor:r.selected,stipplePattern:n(5),width:1.5,innerWidth:0}),this.staged=new w({color:r.selected,renderOccluded:s.OccludeAndTransparentStencil,innerColor:r.staged,stippleOffColor:r.outline,stipplePattern:n(5),width:1.5}),this.shadowStyle=new m({globalAlpha:h,glowColor:r.main,glowFalloff:8,glowWidth:8,innerColor:r.selected,innerWidth:1}),d(this,t)}}class A{constructor(t){this.outline=new C({color:r.selected,outlineColor:r.outline,outlineSize:1,shape:\"circle\",size:4}),this.shadowStyle=new m({globalAlpha:h,glowColor:r.main,glowFalloff:1.5,glowWidth:6,innerColor:r.selected,innerWidth:1,radius:2}),d(this,t)}}class W extends w{constructor(t){super(),this.extensionType=o.GROUND_RAY,d(this,t)}}class b{constructor(t){this.lineGraphics=new O,this.pointGraphics=new A,this.heightPlane=new m({globalAlpha:h,glowColor:r.main,glowFalloff:8,glowWidth:8,innerColor:r.selected,innerWidth:1}),this.heightBox=new m({globalAlpha:h,glowColor:r.main,glowFalloff:8,glowWidth:8,innerColor:r.selected,innerWidth:0,heightFillColor:r.main}),this.zVerticalLine=new W({color:c(r.main,5*h/3),falloff:2,innerColor:c(r.selected,0),renderOccluded:s.OccludeAndTransparent,stipplePattern:null,width:5,extensionType:o.GROUND_RAY}),this.laserlineAlphaMultiplier=1.5,this.heightPlaneAngleCutoff=20,d(this,t)}}class z{constructor(t){this.visualElements=new b,this.reshapeManipulators=new f,this.zManipulator=new u,d(this,t)}colorToVec4(t){return P(t)}}function P(e){return l(t.toUnitRGBA(e))}const y=new z;export{p as VertexManipulatorStyle,r as colors,y as settings};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../chunks/tslib.es6.js\";import r from\"../../../../core/Accessor.js\";import{IdentifiableMixin as s}from\"../../../../core/Identifiable.js\";import{isSome as t,isNone as o}from\"../../../../core/maybe.js\";import{property as i}from\"../../../../core/accessorSupport/decorators/property.js\";import\"../../../../core/arrayUtils.js\";import\"../../../../core/has.js\";import\"../../../../core/accessorSupport/ensureType.js\";import{subclass as c}from\"../../../../core/accessorSupport/decorators/subclass.js\";import{DrapeSourceType as a}from\"../../layers/interfaces.js\";import{UpdatePolicy as u}from\"../../webgl-engine/lib/basicInterfaces.js\";import{ModelDirty as n}from\"../../webgl-engine/lib/ModelDirtyTypes.js\";class h{constructor(e){this.resourceFactory=e,this._resources=null,this._visible=!0,this._attached=!1}destroy(){this._destroyResources()}get resources(){return t(this._resources)?this._resources.external:null}get visible(){return this._visible}set visible(e){e!==this._visible&&(this._visible=e,this._syncGeometriesToRenderer())}get attached(){return this._attached}set attached(e){e!==this._attached&&(this._attached=e,this._createOrDestroyResources())}recreate(){this.attached&&this._createResources()}recreateGeometry(){this.resourceFactory.recreateGeometry?o(this._resources)||(this._ensureRenderGeometriesRemoved(),this.resourceFactory.recreateGeometry(this._resources.external),this._syncGeometriesToRenderer()):this.recreate()}_createOrDestroyResources(){this._attached?o(this._resources)&&this._createResources():this._destroyResources()}_createResources(){var e;this._destroyResources();const r=this.resourceFactory.createResources();this._resources={layerView:new d({view:this.resourceFactory.view}),external:r,geometriesAdded:!1},this._syncGeometriesToRenderer();const s=null==(e=this.resourceFactory.view.basemapTerrain)?void 0:e.overlayManager;s&&s.registerDrapeSource(this._resources.layerView)}_destroyResources(){var e;if(o(this._resources))return;this._ensureRenderGeometriesRemoved();const r=null==(e=this.resourceFactory.view.basemapTerrain)?void 0:e.overlayManager;r&&r.unregisterDrapeSource(this._resources.layerView),this._resources=null}_syncGeometriesToRenderer(){this._visible?this._ensureRenderGeometriesAdded():this._ensureRenderGeometriesRemoved()}_ensureRenderGeometriesRemoved(){var e;if(o(this._resources)||null==(e=this.resourceFactory.view)||!e.basemapTerrain)return;if(!this._resources.geometriesAdded)return;this.resourceFactory.view.basemapTerrain.overlayManager.renderer.removeGeometries(this._resources.external.geometries,this._resources.layerView,n.Geometry.UPDATE),this._resources.geometriesAdded=!1}_ensureRenderGeometriesAdded(){if(o(this._resources))return;if(this._resources.geometriesAdded)return;this.resourceFactory.view.basemapTerrain.overlayManager.renderer.addGeometries(this._resources.external.geometries,this._resources.layerView,n.Geometry.UPDATE),this._resources.geometriesAdded=!0}}let d=class extends(s(r)){constructor(e){super(e),this.drapeSourceType=a.Features,this.updatePolicy=u.SYNC}};e([i({constructOnly:!0})],d.prototype,\"view\",void 0),e([i({readOnly:!0})],d.prototype,\"drapeSourceType\",void 0),d=e([c(\"DrapedVisualElementLayerView\")],d);export{h as DrapedVisualElementResources};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../../../core/Evented.js\";import{isSome as t,unwrap as r,isNone as s}from\"../../../../core/maybe.js\";import{s as i,b as a,a as n}from\"../../../../chunks/vec3.js\";import{c as o}from\"../../../../chunks/vec3f64.js\";import{g as l,c as h,s as c}from\"../../../../chunks/vec4.js\";import{f as d,a as u}from\"../../../../chunks/vec4f32.js\";import{projectBuffer as p}from\"../../../../geometry/projection.js\";import{create as m,empty as f,expandWithBuffer as _}from\"../../../../geometry/support/aaBoundingBox.js\";import{makeDehydratedPoint as g}from\"../../../../layers/graphics/dehydratedFeatures.js\";import{getGeometryEffectiveElevationMode as y}from\"../../../../support/elevationInfoUtils.js\";import v from\"../../../../symbols/support/ElevationInfo.js\";import{DrapedVisualElementResources as O}from\"./DrapedVisualElementResources.js\";import{LaserlineVisualElement as w}from\"./LaserlineVisualElement.js\";import{VisualElementResources as C}from\"./VisualElementResources.js\";import{ElevationContext as b}from\"../../layers/graphics/ElevationContext.js\";import{geometryToRenderInfoDraped as R,RemoveDuplicateStartEnd as E,createGeometry as D,geometryToRenderInfo as P}from\"../../layers/graphics/lineUtils.js\";import{computeAttachmentOriginLines as j}from\"../../webgl-engine/lib/geometryDataUtils.js\";import{RenderOccludedFlag as I}from\"../../webgl-engine/lib/Material.js\";import{RenderGeometry as A}from\"../../webgl-engine/lib/RenderGeometry.js\";import{VertexAttribute as G}from\"../../webgl-engine/lib/VertexAttribute.js\";import{RibbonLineMaterial as M}from\"../../webgl-engine/materials/RibbonLineMaterial.js\";class S{constructor(t){this.view=null,this._attachmentOrigin=g(0,0,0,null),this._attachmentOriginDirty=!0,this.events=new e,this._isDraped=!1,this._geometry=null,this._width=1,this._color=d(1,0,1,1),this._innerWidth=0,this._innerColor=d(1,1,1,1),this._stipplePattern=null,this._stippleOffColor=null,this._falloff=0,this._elevationInfo=null,this._laserlineStyle=null,this._laserlineEnabled=!1,this._renderOccluded=I.OccludeAndTransparentStencil,this.resources=new C({view:t.view,createResources:e=>this._createResources(e),recreateGeometry:(e,t)=>(e.geometries.length=0,this._recreateGeometry(t,e.material,e.geometries),e.geometries)}),this._attachmentOrigin.spatialReference=t.view.spatialReference,this.drapedResources=new O({view:t.view,createResources:()=>this._createDrapedResources(),recreateGeometry:e=>{e.geometries=this._createRenderGeometriesDraped(e.material),this._attachmentOriginChanged()}});let r=!0;this._laserline=new w({view:t.view});for(const e in t)e in this?\"attached\"===e?r=t[e]:this[e]=t[e]:console.error(\"Cannot set unknown property\",e);this.attached=r}destroy(){this.resources.destroy(),this.drapedResources.destroy(),this._laserline.destroy()}get isDraped(){return this._isDraped}set isDraped(e){e!==this._isDraped&&(this._isDraped=e,this._updateAttached(this.attached),this._laserline.attached=this.laserlineAttached)}get laserlineAttached(){return this.attached&&this.visible&&t(this._laserlineStyle)&&!this.isDraped&&this.laserlineEnabled}get visible(){return this.resources.visible}set visible(e){this.resources.visible=e,this.drapedResources.visible=e,this._laserline.attached=this.laserlineAttached}get attached(){return this.resources.attached||this.drapedResources.attached}set attached(e){this._updateAttached(e)}_updateAttached(e){this.resources.attached=!this.isDraped&&e,this.drapedResources.attached=this.isDraped&&e,this._laserline.attached=this.laserlineAttached,this.attached&&this._attachmentOriginChanged()}get geometry(){return this._geometry}set geometry(e){this._geometry=e,this.resources.recreateGeometry(),this.drapedResources.recreateGeometry()}get width(){return this._width}set width(e){e!==this._width&&(this._width=e,this._updateMaterial())}get color(){return this._color}set color(e){l(e,this._color)||(h(this._color,e),this._updateMaterial())}get innerWidth(){return this._innerWidth}set innerWidth(e){e!==this._innerWidth&&(this._innerWidth=e,this._updateMaterial())}get innerColor(){return this._innerColor}set innerColor(e){l(e,this._innerColor)||(h(this._innerColor,e),this._updateMaterial())}get stipplePattern(){return this._stipplePattern}set stipplePattern(e){const r=t(e)!==t(this._stipplePattern);this._stipplePattern=e,r?this.resources.recreate():this._updateMaterial()}get stippleOffColor(){return this._stippleOffColor}set stippleOffColor(e){e&&this._stippleOffColor&&l(e,this._stippleOffColor)||(this._stippleOffColor=e?u(e):null,this._updateMaterial())}get falloff(){return this._falloff}set falloff(e){e!==this._falloff&&(this._falloff=e,this._updateMaterial())}get elevationInfo(){return this._elevationInfo}set elevationInfo(e){this._elevationInfo=e,this.resources.recreateGeometry()}get laserlineStyle(){return this._laserlineStyle}set laserlineStyle(e){this._laserlineStyle=e,this._laserline.attached=this.laserlineAttached,t(e)&&(this._laserline.style=e)}get laserlineEnabled(){return this._laserlineEnabled}set laserlineEnabled(e){this._laserlineEnabled!==e&&(this._laserlineEnabled=e,this._laserline.attached=this.laserlineAttached)}get renderOccluded(){return this._renderOccluded}set renderOccluded(e){e!==this._renderOccluded&&(this._renderOccluded=e,this._updateMaterial())}get attachmentOrigin(){if(!this._attachmentOriginDirty)return this._attachmentOrigin;const e=t(this.resources.resources)?this.resources.resources.geometries:null;if(!e||0===e.length)return null;i(V,0,0,0);let s=0;for(const t of e){const e=t.vertexAttributes.get(G.POSITION),i=t.indices.get(G.POSITION),n=r(this.resources.resources).material.isClosed(e.data,i);j(e,i,n,W)&&(a(V,V,W),s++)}return 0===s?null:(n(V,V,1/s),this.view.renderCoordsHelper.fromRenderCoords(V,this._attachmentOrigin),this._attachmentOriginDirty=!1,this._attachmentOrigin)}_updateMaterial(){t(this.resources.resources)&&this.resources.resources.material.setParameters(this.materialParameters),t(this.drapedResources.resources)&&this.drapedResources.resources.material.setParameters(this.materialParameters)}get isClosed(){return t(this.geometry)&&\"polygon\"===this.geometry.type}get materialParameters(){return{width:this._width,color:this._color,stippleOffColor:this._stippleOffColor,stipplePattern:this._stipplePattern,stipplePreferContinuous:!1,isClosed:this.isClosed,falloff:this._falloff,innerColor:this._innerColor,innerWidth:this._innerWidth,join:\"round\",polygonOffset:!0,renderOccluded:this.normalizedRenderOccluded}}get normalizedRenderOccluded(){return this.isDraped&&this._renderOccluded===I.OccludeAndTransparentStencil?I.OccludeAndTransparent:this._renderOccluded}_recreateGeometry(e,t,r){const s=this._createRenderGeometries();for(const i of s)e.addGeometry(i,t),r.push(i);this._attachmentOriginChanged()}_attachmentOriginChanged(){this._attachmentOriginDirty=!0,this.events.emit(\"attachment-origin-changed\")}_createResources(e){const t=new M(this.materialParameters),r=[];return this._recreateGeometry(e,t,r),{material:t,geometries:r,forEach:e=>{e(t),r.forEach(e)}}}_createDrapedResources(){const e=new M(this.materialParameters);return{material:e,geometries:this._createRenderGeometriesDraped(e)}}_createRenderGeometriesDraped(e){const t=this.geometry;if(s(t))return[];const r=R(t,this.view.basemapTerrain.spatialReference),i=[];for(const{position:s}of r.lines){const t={overlayInfo:{spatialReference:this.view.basemapTerrain.spatialReference,renderCoordsHelper:this.view.renderCoordsHelper},attributeData:{position:s},removeDuplicateStartEnd:this.isClosed?E.REMOVE:E.KEEP},r=new A(D(t),e),a=f(T);_(a,s),c(r.boundingSphere,.5*(a[0]+a[3]),.5*(a[1]+a[4]),0,.5*Math.sqrt((a[3]-a[0])*(a[3]-a[0])+(a[4]-a[1])*(a[4]-a[1]))),i.push(r)}return i}calculateMapBounds(e){if(s(this.resources.resources))return!1;const t=this.view.renderCoordsHelper;for(const r of this.resources.resources.geometries){const s=r.vertexAttributes.get(G.POSITION),i=new Float64Array(s.data.length);p(s.data,t.spatialReference,0,i,this.view.spatialReference,0,s.data.length/3),_(e,i)}return!0}_createRenderGeometries(){var e;const t=this.geometry;if(s(t))return[];const r=P(t,this.view.elevationProvider,this.view.renderCoordsHelper,b.fromElevationInfo(null!=(e=this.elevationInfo)?e:new v({mode:y(t,null)}))),i=[],a=[];for(const{position:s,mapPosition:n}of r.lines){const e={overlayInfo:null,attributeData:{position:s,mapPosition:n},removeDuplicateStartEnd:this.isClosed?E.REMOVE:E.KEEP};i.push(D(e)),a.push(s)}return this._laserline.pathVerticalPlane=a,i}}const T=m(),W=o(),V=o();export{S as OutlineVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../../chunks/tslib.es6.js\";import{c as e}from\"../../../../chunks/vec4f64.js\";import{bindScreenSizeScalingUniforms as i}from\"../core/shaderLibrary/ScreenSizeScaling.glsl.js\";import{ShaderOutput as t}from\"../core/shaderLibrary/ShaderOutputOptions.js\";import{bindSliceUniformsWithOrigin as o}from\"../core/shaderLibrary/Slice.glsl.js\";import{bindMultipassTerrainTexture as s}from\"../core/shaderLibrary/shading/MultipassTerrainTest.glsl.js\";import{bindProjectionMatrix as a,bindView as n,bindCameraPosition as l}from\"../core/shaderLibrary/util/View.glsl.js\";import{ReloadableShaderModule as p}from\"../core/shaderTechnique/ReloadableShaderModule.js\";import{ShaderTechnique as d}from\"../core/shaderTechnique/ShaderTechnique.js\";import{parameter as c,ShaderTechniqueConfiguration as h}from\"../core/shaderTechnique/ShaderTechniqueConfiguration.js\";import{CullFaceOptions as m,TransparencyPassType as u}from\"../lib/basicInterfaces.js\";import{blendingDefault as b,oitBlending as g,oitDepthWrite as f,OITPolygonOffset as v}from\"../lib/OrderIndependentTransparency.js\";import{Program as E}from\"../lib/Program.js\";import{VertexAttribute as T}from\"../lib/VertexAttribute.js\";import{S as y}from\"../../../../chunks/ShadedColorMaterial.glsl.js\";import{CompareFunction as S}from\"../../../webgl/enums.js\";import{makePipelineState as j,cullingParams as P,defaultDepthWriteParams as w,defaultColorWriteParams as C}from\"../../../webgl/renderState.js\";class O extends d{initializeProgram(r){const e=O.shader.get(),i=this.configuration,t=e.build({output:i.output,slicePlaneEnabled:i.slicePlaneEnabled,sliceHighlightDisabled:!1,sliceEnabledForVertexPrograms:!1,screenSizeEnabled:i.screenSizeEnabled,shadingEnabled:i.shadingEnabled,oitEnabled:i.transparencyPassType===u.Color,multipassTerrainEnabled:i.multipassTerrainEnabled,cullAboveGround:i.cullAboveGround});return new E(r.rctx,t,N)}bindPass(r,e){const{screenSizeEnabled:t,shadingEnabled:o}=this.configuration,{color:n,shadingTint:l,shadingDirection:p}=r;a(this.program,e.camera.projectionMatrix),this.program.setUniform4fv(\"uColor\",n),e.multipassTerrainEnabled&&(this.program.setUniform2fv(\"nearFar\",e.camera.nearFar),this.program.setUniform2fv(\"inverseViewport\",e.inverseViewport),s(this.program,e)),o&&(this.program.setUniform4fv(\"shadedColor\",this._blendColor(F,l,n)),this.program.setUniform3fv(\"shadingDirection\",p),this.program.setUniformMatrix4fv(\"viewNormal\",e.camera.viewInverseTransposeMatrix)),t&&i(this.program,r,e)}bindDraw(r){n(this.program,r),l(this.program,r.origin,r.camera.viewInverseTransposeMatrix),o(this.program,this.configuration,r),this.program.rebindTextures()}_blendColor(r,e,i){const t=1-e[3],o=e[3]+i[3]*t;return 0===o?(r[3]=o,r):(r[0]=(e[0]*e[3]+i[0]*i[3]*t)/o,r[1]=(e[1]*e[3]+i[1]*i[3]*t)/o,r[2]=(e[2]*e[3]+i[2]*i[3]*t)/o,r[3]=i[3],r)}_setPipelineState(r){const e=this.configuration,i=r===u.NONE,o=r===u.FrontFace;return j({blending:e.output!==t.Color&&e.output!==t.Alpha||!e.transparent?null:i?b:g(r),culling:P(e.cullFace),depthTest:{func:o?S.LESS:e.shadingEnabled?S.LEQUAL:S.LESS},depthWrite:i?e.writeDepth&&w:f(r),colorWrite:C,polygonOffset:i||o?null:v})}initializePipeline(){return this._setPipelineState(this.configuration.transparencyPassType)}}O.shader=new p(y,(()=>import(\"./ShadedColorMaterial.glsl.js\")));class x extends h{constructor(){super(...arguments),this.output=t.Color,this.cullFace=m.None,this.slicePlaneEnabled=!1,this.transparent=!1,this.writeDepth=!0,this.screenSizeEnabled=!0,this.shadingEnabled=!0,this.transparencyPassType=u.NONE,this.multipassTerrainEnabled=!1,this.cullAboveGround=!1}}r([c({count:t.COUNT})],x.prototype,\"output\",void 0),r([c({count:m.COUNT})],x.prototype,\"cullFace\",void 0),r([c()],x.prototype,\"slicePlaneEnabled\",void 0),r([c()],x.prototype,\"transparent\",void 0),r([c()],x.prototype,\"writeDepth\",void 0),r([c()],x.prototype,\"screenSizeEnabled\",void 0),r([c()],x.prototype,\"shadingEnabled\",void 0),r([c({count:u.COUNT})],x.prototype,\"transparencyPassType\",void 0),r([c()],x.prototype,\"multipassTerrainEnabled\",void 0),r([c()],x.prototype,\"cullAboveGround\",void 0);const N=new Map([[T.POSITION,0],[T.NORMAL,1],[T.OFFSET,2]]),F=e();export{O as ShadedColorMaterialTechnique,x as ShadedColorMaterialTechniqueConfiguration,N as ShadedColorMaterialVertexAttrLocations};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{n as e,s as t,a as r,b as i}from\"../../../../chunks/vec3.js\";import{c as s}from\"../../../../chunks/vec3f64.js\";import{center as a,scale as n}from\"../../../../geometry/support/aaBoundingBox.js\";import{BufferViewVec3f as o}from\"../../../../geometry/support/buffer/BufferView.js\";import{newLayout as u}from\"../../support/buffer/InterleavedLayout.js\";import{ShaderOutput as l}from\"../core/shaderLibrary/ShaderOutputOptions.js\";import{CullFaceOptions as c}from\"../lib/basicInterfaces.js\";import h from\"../lib/GLMaterial.js\";import{outputFromPass as p}from\"../lib/GLMaterials.js\";import{DefaultMaterialParameters as f,Material as m}from\"../lib/Material.js\";import{RenderSlot as d}from\"../lib/RenderSlot.js\";import{assert as b}from\"../lib/Util.js\";import{VertexAttribute as E}from\"../lib/VertexAttribute.js\";import{writeDefaultAttributes as g,writePosition as T}from\"./internal/bufferWriterUtils.js\";import{intersectTriangleGeometry as S}from\"./internal/MaterialUtil.js\";import{ShadedColorMaterialTechniqueConfiguration as A,ShadedColorMaterialVertexAttrLocations as P,ShadedColorMaterialTechnique as v}from\"../shaders/ShadedColorMaterialTechnique.js\";class F extends m{constructor(e){super(e,C),this.supportsEdges=!0,this.techniqueConfig=new A,this._vertexAttributeLocations=P}getTechniqueConfig(e,t){return this.techniqueConfig.output=e,this.techniqueConfig.cullFace=this.parameters.cullFace,this.techniqueConfig.slicePlaneEnabled=this.parameters.slicePlaneEnabled,this.techniqueConfig.transparent=this.parameters.transparent,this.techniqueConfig.writeDepth=this.parameters.writeDepth,this.techniqueConfig.screenSizeEnabled=this.parameters.screenSizeEnabled,this.techniqueConfig.shadingEnabled=this.parameters.shadingEnabled,this.techniqueConfig.transparencyPassType=t.transparencyPassType,this.techniqueConfig.multipassTerrainEnabled=t.multipassTerrainEnabled,this.techniqueConfig.cullAboveGround=t.cullAboveGround,this.techniqueConfig}getPassParameters(){return this.parameters}intersect(e,s,o,u,l,c,h){if(this.parameters.screenSizeEnabled){const o=e.vertexAttributes.get(E.OFFSET),p={applyToVertex:(e,s,a,n)=>{const l=t(j,o.data[3*n+0],o.data[3*n+1],o.data[3*n+2]),c=t(x,e,s,a);return r(l,l,this.parameters.screenSize*u.camera.computeRenderPixelSizeAt(l)),i(c,c,l),[c[0],c[1],c[2]]},applyToAabb:e=>{const t=a(e,j);return n(e,this.parameters.screenSize*u.camera.computeRenderPixelSizeAt(t))}};S(e,s,u,l,c,p,h)}else S(e,s,u,l,c,void 0,h)}requiresSlot(e,t){if(p(t)===l.Highlight)return e===d.OPAQUE_MATERIAL;let r=d.OPAQUE_MATERIAL;return this.parameters.transparent&&(r=this.parameters.writeDepth?d.TRANSPARENT_MATERIAL:d.TRANSPARENT_DEPTH_WRITE_DISABLED_MATERIAL),e===r||e===d.DRAPED_MATERIAL}createGLMaterial(e){return e.output===l.Color||e.output===l.Alpha||e.output===l.Highlight?new q(e):null}createBufferWriter(){return new O(this.parameters.screenSizeEnabled)}}class q extends h{updateParameters(e){return this.ensureTechnique(v,e)}beginSlot(e){return this.updateParameters(e)}bind(e,t){t.bindPass(this._material.getPassParameters(),e)}}const C={color:[1,1,1,1],shadingTint:[0,0,0,.25],shadingDirection:e(s(),[.5,-.5,-.5]),transparent:!1,writeDepth:!0,slicePlaneEnabled:!1,cullFace:c.None,screenSizeEnabled:!1,screenSize:14,shadingEnabled:!0,...f};class O{constructor(e){this.screenSizeEnabled=e;const t=u().vec3f(E.POSITION).vec3f(E.NORMAL);this.screenSizeEnabled&&t.vec3f(E.OFFSET),this.vertexBufferLayout=t}allocate(e){return this.vertexBufferLayout.createBuffer(e)}elementCount(e){return e.indices.get(E.POSITION).length}write(e,t,r,i){if(g(t,this.vertexBufferLayout,e.transformation,e.invTranspTransformation,r,i),this.screenSizeEnabled){if(!t.vertexAttributes.has(E.OFFSET))throw new Error(`${E.OFFSET} vertex attribute required for screenSizeEnabled ShadedColorMaterial`);{const s=t.vertexAttributes.get(E.OFFSET),a=t.indices.get(E.OFFSET);b(3===s.size);const n=r.getField(E.OFFSET,o);if(!n)throw new Error(\"unable to acquire view for \"+E.OFFSET);T(a,s.data,e.invTranspTransformation,n,i)}}}}const j=s(),x=s();export{F as ShadedColorMaterial};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as e}from\"../../../../core/maybe.js\";import{s as t}from\"../../../../chunks/vec3.js\";import{c as r}from\"../../../../chunks/vec3f64.js\";import{g as i,c as s}from\"../../../../chunks/vec4.js\";import{settings as a}from\"../editingTools/settings.js\";import{Object3DVisualElement as o}from\"./Object3DVisualElement.js\";import{ElevationContext as l}from\"../../layers/graphics/ElevationContext.js\";import{geometryToRenderInfo as n}from\"../../layers/graphics/pointUtils.js\";import{CullFaceOptions as c}from\"../../webgl-engine/lib/basicInterfaces.js\";import h from\"../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as u}from\"../../webgl-engine/lib/Material.js\";import{ShadedColorMaterial as d}from\"../../webgl-engine/materials/ShadedColorMaterial.js\";class p extends o{constructor(e){super(e),this.view=null,this._renderOccluded=u.OccludeAndTransparent,this._vertices=null,this._spatialReference=null,this._color=a.colorToVec4(a.reshapeManipulators.vertex.color),this._size=a.reshapeManipulators.vertex.size,this._outlineColor=a.colorToVec4(a.reshapeManipulators.vertex.outlineColor),this._outlineSize=a.reshapeManipulators.vertex.outlineSize,this._elevationInfo=null,this.applyProps(e)}get renderOccluded(){return this._renderOccluded}set renderOccluded(e){e!==this._renderOccluded&&(this._renderOccluded=e,this._updateMaterial(),this._updateOutlineMaterial())}get vertices(){return this._vertices}set vertices(e){this._vertices=e,this.recreateGeometry()}get spatialReference(){return this._spatialReference}set spatialReference(e){this._spatialReference=e,this.recreateGeometry()}get color(){return this._color}set color(e){i(e,this._color)||(s(this._color,e),this._updateMaterial())}get size(){return this._size}set size(e){e!==this._size&&(this._size=e,this._updateMaterial())}get outlineColor(){return this._outlineColor}set outlineColor(e){i(e,this._outlineColor)||(s(this._outlineColor,e),this._updateOutlineMaterial())}get outlineSize(){return this._outlineSize}set outlineSize(e){e!==this._outlineSize&&(this._outlineSize=e,this._updateOutlineMaterial())}get elevationInfo(){return this._elevationInfo}set elevationInfo(e){this._elevationInfo=e,this.recreateGeometry()}get vertexMaterialParameters(){return{color:this._color,transparent:this._color[3]<1,screenSize:this.size,renderOccluded:this._renderOccluded}}get vertexOutlineMaterialParameters(){return{color:this._outlineColor,transparent:this._outlineColor[3]<1,screenSize:this.size+2*this.outlineSize,renderOccluded:this._renderOccluded}}_updateMaterial(){this.attached&&this.vertexMaterial.setParameters(this.vertexMaterialParameters)}_updateOutlineMaterial(){this.attached&&this.vertexOutlineMaterial.setParameters(this.vertexOutlineMaterialParameters)}_createRenderGeometries(){const r=this.vertices;if(e(r)||0===r.length)return[];const i=.5,s=.5,a=n(r,this.spatialReference,this.view.elevationProvider,this.view.renderCoordsHelper,l.fromElevationInfo(this.elevationInfo)),o=[],c=a.numVertices,h=a.position;for(let e=0;e{s(this._outlineVisualElement)&&(this._outlineVisualElement.isDraped=e)}))])}makeDrawOperation(){return new V({view:this.view,manipulators:this.manipulators,geometryType:f(this.geometryType),drawingMode:this.mode,hasZ:this.hasZ,defaultZ:this.defaultZ,snapToSceneEnabled:this.snapToScene,drawSurface:new w(this.view,this.elevationInfo,[this.internalGraphicsLayer]),elevationDrawSurface:new E(this.elevationInfo,this.defaultZ,this.view,this.internalGraphicsLayer),hasM:!1,elevationInfo:this.elevationInfo,snappingManager:this.snappingManager,snappingVisualizer:new h})}onActiveVertexChanged(e){return s(this._activeVertexVisualElement)?(this._activeVertexVisualElement.vertices=[e],null):(this._activeVertexVisualElement=new m({view:this.view,spatialReference:this.view.spatialReference,vertices:[e],elevationInfo:this.internalGraphicsLayer.elevationInfo,renderOccluded:p.reshapeManipulators.vertex.renderOccluded,attached:!1}),this._activeVertexVisualElement.color=p.colorToVec4(p.reshapeManipulators.selected.color),this._activeVertexVisualElement.attached=!0,i((()=>{this._activeVertexVisualElement=r(this._activeVertexVisualElement)})))}onOutlineChanged(e){if(s(this._outlineVisualElement))return this._outlineVisualElement.geometry=e,null;const t=this.internalGraphicsLayer.elevationInfo;return this._outlineVisualElement=new u({view:this.view,geometry:e,elevationInfo:t,isDraped:s(this._createGraphicState)?this._createGraphicState.isDraped:\"on-the-ground\"===o(this.hasZ,t),attached:!1}),p.visualElements.lineGraphics.outline.apply(this._outlineVisualElement),p.visualElements.lineGraphics.shadowStyle.apply(this._outlineVisualElement),this._outlineVisualElement.attached=!0,this._outlineVisualElement.laserlineEnabled=!0,i((()=>{this._outlineVisualElement=r(this._outlineVisualElement)}))}onRegularVerticesChanged(e){return s(this._verticesVisualElement)?(this._verticesVisualElement.vertices=e,null):(this._verticesVisualElement=new m({view:this.view,spatialReference:this.view.spatialReference,vertices:e,elevationInfo:this.internalGraphicsLayer.elevationInfo,renderOccluded:p.reshapeManipulators.vertex.renderOccluded,attached:!1}),this._verticesVisualElement.attached=!0,i((()=>{this._verticesVisualElement=r(this._verticesVisualElement)})))}};e([n({constructOnly:!0})],y.prototype,\"elevationInfo\",void 0),e([n({constructOnly:!0})],y.prototype,\"geometryType\",void 0),e([n({readOnly:!0})],y.prototype,\"type\",void 0),e([n({constructOnly:!0,nonNullable:!0})],y.prototype,\"view\",void 0),y=e([l(\"esri.views.3d.interactive.editingTools.draw.DrawGraphicTool3D\")],y);export{y as DrawGraphicTool3D};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as e}from\"../../../../core/maybe.js\";import{castRenderScreenPointArray3 as r}from\"../../../../core/screenUtils.js\";import{c as n}from\"../../../../chunks/vec2.js\";import{f as o,g as t,s as c}from\"../../../../chunks/vec3.js\";import{sv3d as i}from\"../../../../geometry/support/vectorStacks.js\";function s(e,n,o){return u(e,e.screenToRender(n,r(i.get())),o)}function u(t,c,s){const u=r(n(i.get(),c));if(u[2]=0,!t.unprojectFromRenderScreen(u,s.origin))return null;const m=r(n(i.get(),c));m[2]=1;const g=t.unprojectFromRenderScreen(m,i.get());return e(g)?null:(o(s.direction,g,s.origin),s)}function m(e,n,o){return g(e,e.screenToRender(n,r(i.get())),o)}function g(r,n,s){t(s.origin,r.eye);const u=c(i.get(),n[0],n[1],1),m=r.unprojectFromRenderScreen(u,i.get());return e(m)?null:(o(s.direction,m,s.origin),s)}export{u as fromRender,g as fromRenderAtEye,s as fromScreen,m as fromScreenAtEye};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../../geometry.js\";import{neverReached as e}from\"../../../core/compilerUtils.js\";import t from\"../../../core/Evented.js\";import{deg2rad as i}from\"../../../core/mathUtils.js\";import{isSome as s,isNone as o,unwrapOr as n,unwrap as r}from\"../../../core/maybe.js\";import{createScreenPointArray as a,createRenderScreenPointArray3 as c,screenPointObjectToArray as l,castRenderScreenPointArray as h}from\"../../../core/screenUtils.js\";import{once as d}from\"../../../core/accessorSupport/utils.js\";import{f as u}from\"../../../chunks/mat3.js\";import{c as _}from\"../../../chunks/mat3f64.js\";import{c as g,s as m,m as f,i as p}from\"../../../chunks/mat4.js\";import{c as b}from\"../../../chunks/mat4f64.js\";import{a as v}from\"../../../chunks/vec2.js\";import{b as y,t as j,m as L,a as S,g as R,h as w,s as O,f as T}from\"../../../chunks/vec3.js\";import{c as A,Z as E}from\"../../../chunks/vec3f64.js\";import{canProjectWithoutEngine as D,projectPoint as F,sphericalPCPFtoLonLatElevation as z,computeENUToSphericalPCPFLocalRotation as k}from\"../../../geometry/projection.js\";import{getReferenceEllipsoid as I}from\"../../../geometry/projectionEllipsoid.js\";import{containsPointObject as P}from\"../../../geometry/support/aaBoundingRect.js\";import{create as M,distance2 as C,fromPoints as x,closestRayDistance2 as B}from\"../../../geometry/support/lineSegment.js\";import{create as W,fromPositionAndNormal as U,intersectRay as V}from\"../../../geometry/support/plane.js\";import{create as N}from\"../../../geometry/support/ray.js\";import{sv3d as G}from\"../../../geometry/support/vectorStacks.js\";import{clonePoint as H}from\"../../../layers/graphics/hydratedFeatures.js\";import{getElevationAtPoint as Y}from\"../support/ElevationProvider.js\";import{fromScreen as Z}from\"../support/geometryUtils/ray.js\";import q from\"../webgl-engine/lib/Camera.js\";import{Object3D as J}from\"../webgl-engine/lib/Object3D.js\";import{UpdatePolicy as K}from\"../webgl-engine/lib/basicInterfaces.js\";import{WebGLLayer as Q}from\"../webgl-engine/lib/WebGLLayer.js\";import{ManipulatorStateCustomFlags as X,ManipulatorStateFlags as $}from\"../../interactive/interfaces.js\";import ee from\"../../../geometry/Point.js\";class te{constructor(e){this.camera=new q,this._elevation={offset:0,override:null},this.collisionType={type:\"point\"},this.collisionPriority=0,this._renderObjects=[],this.autoScaleRenderObjects=!0,this._available=!0,this._noDisplayCount=0,this._radius=10,this._worldSized=!1,this.focusMultiplier=2,this.touchMultiplier=2.5,this.worldOriented=!1,this._modelTransform=b(),this._worldFrame=null,this._renderLocation=A(),this._renderLocationDirty=!0,this._location=new ee({x:0,y:0,z:0}),this._elevationAlignedLocation=new ee,this._elevationAlignedLocationDirty=!0,this.interactive=!0,this.selectable=!1,this.grabbable=!0,this.cursor=null,this._grabbing=!1,this.dragging=!1,this._hovering=!1,this._selected=!1,this._state=X.None,this._focused=!1,this.events=new t.EventEmitter,this._screenLocation={screenPointArray:a(),renderScreenPointArray:c(),pixelSize:0},this._screenLocationDirty=!0,this._applyObjectTransform=null,this._engineResourcesAddedToStage=!1,this._engineResources=null,this._attached=!1,this._engineLayer=null,this._materialIdReferences=null,this._location.spatialReference=e.view.spatialReference;for(const t in e)this[t]=e[t];this.view.state&&this.view.state.camera&&this.camera.copyFrom(this.view.state.camera)}destroy(){this._removeResourcesFromStage(),this._engineResources=null,this.view=null,this.camera=null}get elevationInfo(){return this._elevationInfo}set elevationInfo(e){this._elevationInfo=e,this._elevationAlignedLocationDirty=!0,this._renderLocationDirty=!0,this._updateEngineObject()}get renderObjects(){return this._renderObjects}set renderObjects(e){this._removeResourcesFromStage(),this._engineResources=null,this._renderObjects=e.slice(),this._updateEngineObject()}set available(e){e!==this._available&&(this._available=e,this._updateEngineObject())}get available(){return this._available}disableDisplay(){return this._noDisplayCount++,1===this._noDisplayCount&&this._updateEngineObject(),{remove:d((()=>{this._noDisplayCount--,0===this._noDisplayCount&&this._updateEngineObject()}))}}set radius(e){e!==this._radius&&(this._radius=e,this._updateEngineObject())}get radius(){return this._radius}set worldSized(e){e!==this._worldSized&&(this._worldSized=e,this._updateEngineObject())}get worldSized(){return this._worldSized}get modelTransform(){return this._modelTransform}set modelTransform(e){ie(e)&&(this._screenLocationDirty=!0),g(this._modelTransform,e),this._updateEngineObject()}get renderLocation(){return this._renderLocationDirty&&(this._renderLocationDirty=!1,this.view.renderCoordsHelper.toRenderCoords(this.elevationAlignedLocation,this._renderLocation),this.worldOriented?(this._worldFrame||(this._worldFrame=b()),se(this.view,this._renderLocation,this._worldFrame)):this._worldFrame&&(this._worldFrame=null)),this._renderLocation}set renderLocation(e){this.view.renderCoordsHelper.fromRenderCoords(e,this._location),this.elevationAlignedLocation=this._location}get location(){return this._location}set location(e){H(e,this._location),this._renderLocationDirty=!0,this._screenLocationDirty=!0,this._elevationAlignedLocationDirty=!0,this._updateEngineObject(),this.events.emit(\"location-update\",{location:this._location})}get elevationAlignedLocation(){return this._elevationAlignedLocationDirty?(this._evaluateElevationAlignment(),this._updateElevationAlignedLocation(),this._elevationAlignedLocation):this._elevationAlignedLocation}set elevationAlignedLocation(e){H(e,this._location),this._evaluateElevationAlignment(),this._location.z-=this._elevation.offset,this._updateElevationAlignedLocation(),this._updateEngineObject(),this.events.emit(\"location-update\",{location:this._location})}_updateElevationAlignedLocation(){this._elevationAlignedLocation.x=this.location.x,this._elevationAlignedLocation.y=this.location.y;const e=s(this._elevation.override)?this._elevation.override:this.location.z||0;this._elevationAlignedLocation.z=e+this._elevation.offset,this._elevationAlignedLocation.spatialReference=this.location.spatialReference,this._renderLocationDirty=!0,this._screenLocationDirty=!0,this._elevationAlignedLocationDirty=!1}grabbableForEvent(){return!0}get grabbing(){return this._grabbing}set grabbing(e){e!==this._grabbing&&(this._grabbing=e,this._setFocused(this._hovering||this._grabbing),this._updateEngineObject())}get hovering(){return this._hovering}set hovering(e){e!==this._hovering&&(this._hovering=e,this._setFocused(this._hovering||this._grabbing),this._updateEngineObject())}get selected(){return this._selected}set selected(e){e!==this._selected&&(this._selected=e,this._updateEngineObject(),this.events.emit(\"select-changed\",{action:e?\"select\":\"deselect\"}))}get state(){return this._state}set state(e){e!==this._state&&(this._state=e,this._updateEngineObject())}updateStateEnabled(e,t){t?this.state|=e:this.state&=~e}_setFocused(e){e!==this._focused&&(this._focused=e,this.events.emit(\"focus-changed\",{action:!0===e?\"focus\":\"unfocus\"}))}get focused(){return this._focused}get screenLocation(){return this._ensureScreenLocation(),this._screenLocation}_ensureScreenLocation(){if(!this._screenLocationDirty)return;this._screenLocation.pixelSize=this.camera.computeScreenPixelSizeAt(this.renderLocation),this._screenLocationDirty=!1;let e;if(ie(this._modelTransform)){const t=this._calculateModelTransformOffset(fe);e=y(t,t,this.renderLocation)}else e=this.renderLocation;this.camera.projectToRenderScreen(e,this._screenLocation.renderScreenPointArray),this.camera.renderToScreen(this._screenLocation.renderScreenPointArray,this._screenLocation.screenPointArray)}get applyObjectTransform(){return this._applyObjectTransform}set applyObjectTransform(e){this._applyObjectTransform=e,this._screenLocationDirty=!0,this._updateEngineObject()}intersectionDistance(t,i){if(!this.available)return null;const s=l(t,oe),n=this._getCollisionRadius(i),r=-1*this.collisionPriority;switch(this.collisionType.type){case\"point\":if(v(this.screenLocation.screenPointArray,s)0;for(const{stateMask:n,objects:r}of i){if(o){for(const e of r)e.setVisible(!1);continue}const e=(n&$.All)!==$.None,i=(n&X.All)!==X.None,a=!e||(s&n)==(n&$.All),c=!i||(this.state&n)==(n&X.All);if(a&&c)for(const s of r)s.setVisible(!0),s.transformation=t;else for(const t of r)t.setVisible(!1)}}_ensureEngineResources(){if(o(this._engineResources)){const e=r(this._engineLayer),t=[],i=new Set;this.renderObjects.forEach((({material:e})=>{i.has(e)||(t.push(e),i.add(e))}));const s=(e,t)=>{const{geometry:i,material:s,transform:o}=t;Array.isArray(i)?i.forEach((t=>e.addGeometry(t,s,o))):e.addGeometry(i,s,o)},o=new Map;this._renderObjects.forEach((e=>{const t=new J({castShadow:!1});s(t,e);const i=e.stateMask||0,n=o.get(i)||[];n.push(t),o.set(i,n)}));const n=[];o.forEach(((e,t)=>n.push({stateMask:t,objects:e}))),this._engineResources={objectsByState:n,layer:e,materials:t}}return this._addResourcesToStage(),this._engineResources}_addResourcesToStage(){if(this._engineResourcesAddedToStage||o(this._engineResources))return;const{objectsByState:e,layer:t,materials:i}=this._engineResources;i.forEach((e=>{const t=r(this._materialIdReferences),i=t.get(e.id)||0;0===i&&this.view._stage.add(e),t.set(e.id,i+1)})),e.forEach((({objects:e})=>{t.addMany(e),this.view._stage.addMany(e)})),this._engineResourcesAddedToStage=!0}_removeResourcesFromStage(e=!1){if(!this._engineResourcesAddedToStage||o(this._engineResources)||!this.view._stage)return;const{objectsByState:t,layer:i,materials:s}=this._engineResources;t.forEach((({objects:e})=>{i.removeMany(e),this.view._stage.removeMany(e)})),s.forEach((e=>{const t=r(this._materialIdReferences),i=t.get(e.id);1===i?(this.view._stage.remove(e),t.delete(e.id)):t.set(e.id,i-1)})),e&&this.view._stage.remove(i),this._engineResourcesAddedToStage=!1}_getCollisionRadius(e){return this._getFocusedSize(this.radius,!0)*(\"touch\"===e?this.touchMultiplier:1)}_getFocusedSize(e,t){return e*(t?this.focusMultiplier:1)}_getWorldToScreenObjectScale(){return this._worldSized?1:this.screenLocation.pixelSize}_calculateModelTransformPosition(e){const t=this._getWorldToScreenObjectScale(),i=this._calculateObjectTransform(t,ce);return O(e,i[12],i[13],i[14])}_calculateModelTransformOffset(e){const t=this._calculateModelTransformPosition(e);return T(e,t,this.renderLocation)}_calculateObjectTransform(e,t){return m(t,e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1),this._worldFrame&&f(t,t,this._worldFrame),f(t,t,this._modelTransform),t[12]+=this.renderLocation[0],t[13]+=this.renderLocation[1],t[14]+=this.renderLocation[2],t[15]=1,s(this._applyObjectTransform)&&this._applyObjectTransform(t),t}get test(){let e=!1;if(s(this._engineResources))for(const t in this._engineResources.objectsByState){const i=this._engineResources.objectsByState[t];for(const t of i.objects)if(t.isVisible){e=!0;break}if(e)break}return{areAnyResourcesVisible:e}}}function ie(e){return 0!==e[12]||0!==e[13]||0!==e[14]}function se(e,t,s){switch(e.viewingMode){case\"local\":return p(s),!0;case\"global\":{const o=I(e.renderCoordsHelper.spatialReference);return z(t,0,de,0,o.radius),k(i(de[0]),i(de[1]),s),!0}}}const oe=a(),ne=M(),re=N(),ae=_(),ce=b(),le=b(),he=W(),de=A(),ue=A(),_e=A(),ge=A(),me=A(),fe=A(),pe=new ee({x:0,y:0,z:0,spatialReference:null});export{te as Manipulator3D};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as t}from\"../../../core/maybe.js\";import{a as r}from\"../../../chunks/mat4.js\";import{f as n,c as o,m as a,n as c}from\"../../../chunks/vec3.js\";import{f as i}from\"../../../chunks/vec4f64.js\";import{sv3d as s,sm4d as l}from\"../../../geometry/support/vectorStacks.js\";import{hydrateGeometry as m}from\"../../../layers/graphics/hydratedFeatures.js\";import{Manipulator3D as p}from\"./Manipulator3D.js\";import{computeCentroid as u}from\"../layers/graphics/graphicUtils.js\";import{CullFaceOptions as g}from\"../webgl-engine/lib/basicInterfaces.js\";import f from\"../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as h}from\"../webgl-engine/lib/Material.js\";import{ColorMaterial as d}from\"../webgl-engine/materials/ColorMaterial.js\";import{ShadedColorMaterial as j}from\"../webgl-engine/materials/ShadedColorMaterial.js\";function w(e,t=h.OccludeAndTransparent,r=!0){const n=i(e[0],e[1],e[2],e.length>3?e[3]:1),o=e[3]<1;return r?new j({color:n,transparent:o,writeDepth:!0,cullFace:g.Back,renderOccluded:t}):new d({color:n,transparent:o,writeDepth:!0,cullFace:g.Back,renderOccluded:t})}function b(e,t=h.OccludeAndTransparent){const r=i(e[0],e[1],e[2],4===e.length?e[3]:1);return new d({color:r,transparent:!0,writeDepth:!0,cullFace:g.Front,renderOccluded:t})}function y(e,t,r){return new p({view:e,renderObjects:[{geometry:f.createSphereGeometry(1,32,32),material:w(i(t[0],t[1],t[2],null!=r?r:1))}]})}function O(e,t,c,i){const m=n(s.get(),e,c),p=k(m,o(s.get(),i,m),c,l.get());r(p,p);const u=a(s.get(),t,p);return Math.atan2(u[1],u[0])}function k(e,t,r,n){const a=c(s.get(),e),i=c(s.get(),t),l=o(s.get(),a,i);return n[0]=a[0],n[1]=a[1],n[2]=a[2],n[3]=0,n[4]=i[0],n[5]=i[1],n[6]=i[2],n[7]=0,n[8]=l[0],n[9]=l[1],n[10]=l[2],n[11]=0,n[12]=r[0],n[13]=r[1],n[14]=r[2],n[15]=1,n}function F(t,r){const n=t.getViewForGraphic(r);return e(n)&&\"computeAttachmentOrigin\"in n?n.computeAttachmentOrigin(r,t.spatialReference):null}function v(t,r,n){const o=F(t,n);e(o)?r.elevationAlignedLocation=o:A(r,n.geometry)}function A(e,r){if(t(r))return;const n=\"mesh\"===r.type?r.anchor:u(r);t(n)||(e.location=m(n))}export{O as calculateInputRotationTransform,k as calculateTranslateRotateFromBases,w as createManipulatorMaterial,b as createManipulatorOutlineMaterial,y as createSphereManipulator,F as getGraphicAttachmentOrigin,v as placeAtGraphic};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nvar N;!function(N){N[N.NONE=0]=\"NONE\",N[N.ANY=1]=\"ANY\",N[N.Z=2]=\"Z\",N[N.XY=4]=\"XY\"}(N||(N={}));export{N as GrabbingState};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nvar A;!function(A){A[A.TRANSLATE_Z=0]=\"TRANSLATE_Z\",A[A.TRANSLATE_XY=1]=\"TRANSLATE_XY\",A[A.SCALE=2]=\"SCALE\",A[A.ROTATE=3]=\"ROTATE\",A[A.SCALE_ROTATE=4]=\"SCALE_ROTATE\"}(A||(A={}));export{A as ManipulatorType};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as e,isSome as o}from\"../../../../core/maybe.js\";import{getGraphicEffectiveElevationInfo as r}from\"../../../../support/elevationInfoUtils.js\";function t(o,t=r(o)){return\"on-the-ground\"!==t.mode&&!(e(o.geometry)||!o.geometry.hasZ)}function n(e,r){let t=null;const n=e.events.on(\"grab-changed\",(n=>{o(t)&&(t.remove(),t=null),\"start\"===n.action?(t=e.disableDisplay(),r&&r(n)):r&&r(n)}));return{remove(){o(t)&&t.remove(),n.remove()}}}export{t as canMoveZ,n as disableDisplayOnGrab};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as t}from\"../../../../core/maybe.js\";import{Manipulator3D as i}from\"../Manipulator3D.js\";import{GrabbingState as e}from\"./GrabbingState.js\";import{ManipulatorType as r}from\"./ManipulatorType.js\";class a{constructor(){this.grabbingState=e.NONE,this.zManipulator=null,this.firstSelected=null,this.numSelected=0,this.firstGrabbedXY=null}update(a){this.grabbingState=e.NONE,this.zManipulator=null,this.numSelected=0,this.firstSelected=null,this.firstGrabbedXY=null,a.forEachManipulator(((a,s)=>{if(s===r.TRANSLATE_Z&&(this.zManipulator=a),a instanceof i&&(a.selected&&(0===this.numSelected&&(this.firstSelected=a),this.numSelected++),t(this.firstGrabbedXY)&&a.grabbing&&s===r.TRANSLATE_XY&&(this.firstGrabbedXY=a)),a.grabbing)switch(this.grabbingState|=e.ANY,s){case r.TRANSLATE_Z:this.grabbingState|=e.Z;break;case r.TRANSLATE_XY:this.grabbingState|=e.XY}}))}}export{a as ManipulatorState};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{handlesGroup as e,destroyHandle as t,refHandle as a}from\"../../../../core/handleUtils.js\";import{deg2rad as n}from\"../../../../core/mathUtils.js\";import{isSome as i}from\"../../../../core/maybe.js\";import{s as l,b as r,a as o}from\"../../../../chunks/vec3.js\";import{c as s}from\"../../../../chunks/vec3f64.js\";import{getGraphicEffectiveElevationInfo as c}from\"../../../../support/elevationInfoUtils.js\";import{Manipulator3D as p}from\"../Manipulator3D.js\";import{GrabbingState as m}from\"./GrabbingState.js\";import{ManipulatorState as h}from\"./ManipulatorState.js\";import{ManipulatorType as u}from\"./ManipulatorType.js\";import{settings as d}from\"./settings.js\";import{ExtendedLineVisualElement as g}from\"../visualElements/ExtendedLineVisualElement.js\";import{LaserlineVisualElement as f}from\"../visualElements/LaserlineVisualElement.js\";import{OutlineVisualElement as v}from\"../visualElements/OutlineVisualElement.js\";import{GraphicState as y}from\"../../layers/graphics/GraphicState.js\";import{RenderOccludedFlag as E}from\"../../webgl-engine/lib/Material.js\";function w(t){const{view:a,graphic:n}=t,i=new y({graphic:n}),l=b(t,i),r=[l,j(t,l.visualElement,i),a.maskOccludee(n),a.trackGraphicState(i)];return{visualElement:l.visualElement,remove:()=>e(r).remove()}}function b(a,n){const{view:i,graphic:l}=a,r=new v({view:i,geometry:G(l)?l.geometry:null,elevationInfo:c(l),attached:!1});d.visualElements.lineGraphics.shadowStyle.apply(r);const o=()=>{r.attached=n.displaying};d.visualElements.lineGraphics.outline.apply(r);const s=[n.watch(\"displaying\",o),n.watch(\"isDraped\",(e=>r.isDraped=e)),n.on(\"changed\",(()=>r.geometry=G(l)?l.geometry:null)),t(r)];return o(),{visualElement:r,remove:()=>e(s).remove()}}function j(i,l,r){const{graphic:o,view:s}=i,p=[],u=c(o),v=\"on-the-ground\"===u.mode||!u.offset&&\"absolute-height\"!==u.mode,y=new h,w=new g({view:s,extensionType:d.visualElements.zVerticalLine.extensionType,innerWidth:1,attached:!1,writeDepthEnabled:!1,renderOccluded:E.OccludeAndTransparent});d.visualElements.pointGraphics.shadowStyle.apply(w);const b=n(d.visualElements.heightPlaneAngleCutoff),j=new f({view:s,attached:!1,angleCutoff:b});d.visualElements.heightPlane.apply(j);let L=1,T=1;const A=()=>{if(y.update(i),!r.displaying||v&&(r.isDraped||!G(o)||!o.geometry.hasZ))return l.laserlineEnabled=!1,w.attached=!1,void(j.attached=!1);l.laserlineEnabled=!0;{const e=y.grabbingState&m.XY?d.visualElements.laserlineAlphaMultiplier:1;e!==L&&(L=e,d.visualElements.lineGraphics.shadowStyle.apply(l,e),d.visualElements.pointGraphics.shadowStyle.apply(w,e))}{const e=y.grabbingState&m.Z?d.visualElements.laserlineAlphaMultiplier:1;e!==T&&(T=e,d.visualElements.heightPlane.apply(j,e))}S(w,y),M(i,l,j,y)};d.visualElements.zVerticalLine.apply(w),p.push(r.on(\"changed\",A),r.watch(\"displaying\",A),l.events.on(\"attachment-origin-changed\",A),t(w),t(j));const D=[],C=()=>{e(D).remove(),D.length=0,i.forEachManipulator((e=>D.push(e.events.on(\"grab-changed\",A)))),i.forEachManipulator((e=>D.push(e.events.on(\"select-changed\",A)))),A()};return C(),p.push(i.onManipulatorsChanged(C),a((()=>e(D)))),e(p)}function S(e,t){const a=1===t.numSelected?t.firstSelected:t.numSelected>1&&i(t.firstGrabbedXY)?t.firstGrabbedXY:null;i(a)?(e.setStartEndFromWorldDownAtLocation(a.renderLocation),e.attached=!0):e.attached=!1}function M(e,t,a,n){if(n.numSelected>0){l(L,0,0,0);let t=0;e.forEachManipulator(((e,a)=>{a===u.TRANSLATE_XY&&e.selected&&e instanceof p&&(r(L,L,e.renderLocation),t++)})),t>0?(a.heightManifoldTarget=o(L,L,1/t),a.attached=!0):a.attached=!1}else{const n=t.attachmentOrigin;i(n)&&e.view.renderCoordsHelper.toRenderCoords(n,L)?(a.heightManifoldTarget=L,a.attached=!0):a.attached=!1}}function G(e){return i(e.geometry)&&(\"polygon\"===e.geometry.type||\"polyline\"===e.geometry.type)}const L=s();export{b as createGeometryRepresentationVisualElement,w as createVisualElements};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{handlesGroup as e,destroyHandle as t,refHandle as n}from\"../../../../core/handleUtils.js\";import{deg2rad as i}from\"../../../../core/mathUtils.js\";import{isNone as o,isSome as a}from\"../../../../core/maybe.js\";import{init as r}from\"../../../../core/watchUtils.js\";import{s}from\"../../../../chunks/vec3.js\";import{c as l}from\"../../../../chunks/vec3f64.js\";import{projectVectorToVector as p,projectPointToVector as c}from\"../../../../geometry/projection.js\";import{create as m,empty as h,getMin as u}from\"../../../../geometry/support/aaBoundingBox.js\";import{containsXY as d}from\"../../../../geometry/support/aaBoundingRect.js\";import{getGraphicEffectiveElevationInfo as f}from\"../../../../support/elevationInfoUtils.js\";import{GrabbingState as g}from\"./GrabbingState.js\";import{ManipulatorState as v}from\"./ManipulatorState.js\";import{settings as y}from\"./settings.js\";import{ExtendedLineVisualElement as E}from\"../visualElements/ExtendedLineVisualElement.js\";import{LaserlineVisualElement as j}from\"../visualElements/LaserlineVisualElement.js\";import{PointVisualElement as w}from\"../visualElements/PointVisualElement.js\";import{evaluateElevationAlignmentAtPoint as b}from\"../../layers/graphics/elevationAlignmentUtils.js\";import{ElevationContext as S}from\"../../layers/graphics/ElevationContext.js\";import{GraphicState as x}from\"../../layers/graphics/GraphicState.js\";import{RenderOccludedFlag as A}from\"../../webgl-engine/lib/Material.js\";function L(t){const{view:n,graphic:i}=t,o=new x({graphic:i}),a=[],r=P(t,o,a);return M(t,o,a,r),a.push(n.trackGraphicState(o)),{visualElement:r,remove(){e(a).remove()}}}function M(e,n,r,l){const{view:c,graphic:m}=e,d=new E({view:c,extensionType:y.visualElements.zVerticalLine.extensionType,innerWidth:1,attached:!1,writeDepthEnabled:!1,renderOccluded:A.OccludeAndTransparent});y.visualElements.zVerticalLine.apply(d);const w=new j({view:c,intersectsLineInfinite:!0,attached:!1});y.visualElements.pointGraphics.shadowStyle.apply(w);const x=i(y.visualElements.heightPlaneAngleCutoff),L=new j({view:c,attached:!1,angleCutoff:x});y.visualElements.heightPlane.apply(L);const M=f(e.graphic),P=S.fromElevationInfo(M),G=\"on-the-ground\"===M.mode||!M.offset&&\"absolute-height\"!==M.mode,R=new v;let U=1,B=1;const I=()=>{R.update(e);const t=C(m),i=G&&(n.isDraped||o(t)||!t.hasZ);let r=!0;if(!i&&a(t)){const e=b(t,c.elevationProvider,P,c.renderCoordsHelper);s(D,t.x,t.y,e),p(D,t.spatialReference,D,c.renderCoordsHelper.spatialReference),d.setStartEndFromWorldDownAtLocation(D),w.intersectsWorldUpAtLocation=D}else r=!1;const f=R.grabbingState&g.Z?y.visualElements.laserlineAlphaMultiplier:1;f!==U&&(U=f,y.visualElements.heightPlane.apply(L,f));const v=h(V);!i&&n.displaying&&l.calculateMapBounds(v)&&p(u(v,D),c.spatialReference,D,c.renderCoordsHelper.spatialReference)?(L.heightManifoldTarget=D,L.attached=!0):L.attached=!1;const E=R.grabbingState&g.XY?y.visualElements.laserlineAlphaMultiplier:1;E!==B&&(B=E,y.visualElements.pointGraphics.shadowStyle.apply(w,E));const j=r&&n.displaying&&!i;w.attached=j,d.attached=j};r.push(n.watch([\"displaying\",\"isDraped\"],I),n.on(\"changed\",I)),e.forEachManipulator((e=>{r.push(e.events.on(\"grab-changed\",I))})),r.push(t(w)),r.push(t(d)),r.push(t(L)),I()}function P(e,n,i){const{view:o,graphic:a}=e,r=new w({view:o,geometry:C(a),elevationInfo:f(a),attached:!1});return G(e,r,n,i),i.push(t(r)),r}function C(e){const t=e.geometry;return o(t)?null:\"point\"===t.type?t:\"mesh\"===t.type?t.anchor.clone():null}function G(e,t,n,i){const o=()=>t.attached=n.displaying;R(e,t,n,i),y.visualElements.pointGraphics.outline.apply(t),i.push(r(n,\"displaying\",o))}function R(e,t,i,o){const{view:r,graphic:s}=e;let l=null;const p=e=>{a(l)&&(l.remove(),l=null),i.isDraped&&a(e)&&(l=U(r,e,(()=>{t.geometry=e})))},c=()=>{const e=C(s);p(e),t.geometry=e};o.push(i.on(\"changed\",c),n((()=>l))),c()}function U(e,t,n){const i=e.elevationProvider.spatialReference;c(t,D,i);const o=D[0],a=D[1];return e.elevationProvider.on(\"elevation-change\",(e=>{d(e.extent,o,a)&&n()}))}const D=l(),V=m();export{L as createVisualElements};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{unwrap as e}from\"../../../../core/maybe.js\";import{createVisualElements as r}from\"./lineGraphicVisualElementUtils.js\";import{createVisualElements as t}from\"./originGraphicVisualElementUtils.js\";function i(i){switch(e(i.graphic.geometry).type){case\"point\":case\"mesh\":return t(i);case\"polygon\":case\"polyline\":return r(i);default:return null}}export{i as createVisualElements};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nconst t=[1,.5,0],a=128,e=70,h=80,M=.02,c=54,o=100,I=Math.ceil(e/3*2),P=160,i=.5,l=24,n=9,p=P+30,r=P+53,s=60,x=23,b=5*Math.PI/12,d=1*Math.PI/3,f=10,g=.2,j=30,k=53,m=.2,q=.3,u=200,v=3,w=1e6;export{w as ALIGN_ARROWS_SCALE_THRESHOLD,h as DISC_COLLISION_RADIUS,M as DISC_HEIGHT,e as DISC_RADIUS,I as DISC_RADIUS_SMALL,o as DISC_TRANSLATE_ARROW_OFFSET,c as DISC_TRANSLATE_ARROW_SIZE,f as DRAG_THRESHOLD_PX,a as GEOMETRY_SEGMENTS,t as HANDLE_COLOR,n as INDICATOR_THICKNESS,p as INNER_INDICATOR_RADIUS,r as OUTER_INDICATOR_RADIUS,i as RING_HEIGHT,u as RING_INDICATOR_DELAY_MS,P as RING_RADIUS,v as RING_RESET_ANIMATION_SPEED_FACTOR,l as RING_THICKNESS,b as ROTATE_INDICATOR_ARC_LENGTH,g as ROTATE_INDICATOR_ARROW_PLACEMENT_PERCENTAGE,s as ROTATE_INDICATOR_ARROW_TIP_LENGTH,x as ROTATE_INDICATOR_ARROW_TIP_RADIUS,q as ROTATE_INDICATOR_DIRECTION_BUFFER,d as SCALE_INDICATOR_ARC_LENGTH,m as SCALE_INDICATOR_DIRECTION_BUFFER,j as SCALE_INDICATOR_OFFSET1,k as SCALE_INDICATOR_OFFSET2};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{Manipulator3D as a}from\"../../Manipulator3D.js\";class t{constructor(){this._available=!0}set location(a){this._forEachManipulator3D((t=>t.location=a))}set elevationAlignedLocation(a){this._forEachManipulator3D((t=>t.elevationAlignedLocation=a))}set elevationInfo(a){this._forEachManipulator3D((t=>t.elevationInfo=a))}get renderLocation(){let a;return this._forEachManipulator3D((t=>{a||(a=t.renderLocation)})),a}get available(){return this._available}set available(a){this._available=a,this._forEachManipulator3D((t=>t.available=a))}get grabbing(){return this.someManipulator((a=>a.grabbing))}get dragging(){return this.someManipulator((a=>a.dragging))}hasManipulator(a){return this.someManipulator((t=>t===a))}someManipulator(a){let t=!1;return this.forEachManipulator((i=>{!t&&a(i)&&(t=!0)})),t}_forEachManipulator3D(t){this.forEachManipulator(((i,o)=>{i instanceof a&&t(i,o)}))}}export{t as Manipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as r,unwrapOr as t}from\"../../../../core/maybe.js\";import{screenPointObjectToArray as n,castScreenPointArray as o,createScreenPointArray as s}from\"../../../../core/screenUtils.js\";import{g as c,l,f as i,d as a,a as u,b as p,c as m}from\"../../../../chunks/vec3.js\";import{c as d}from\"../../../../chunks/vec3f64.js\";import{projectPoint as f}from\"../../../../geometry/projection.js\";import{intersectRay as g,fromPositionAndNormal as y,create as E}from\"../../../../geometry/support/plane.js\";import{create as S}from\"../../../../geometry/support/ray.js\";import{projectPoint as j}from\"../../../../geometry/support/vector.js\";import{sv2d as v}from\"../../../../geometry/support/vectorStacks.js\";import{getZForElevationMode as b,getGraphicEffectiveElevationInfo as x}from\"../../../../support/elevationInfoUtils.js\";import{fromScreen as R}from\"../../support/geometryUtils/ray.js\";import{newIntersector as I}from\"../../webgl-engine/lib/Intersector.js\";import{StoreResults as w,IntersectorType as H}from\"../../webgl-engine/lib/IntersectorInterfaces.js\";import{TERRAIN_ID as U}from\"../../webgl-engine/lib/verticalOffsetUtils.js\";import{EventPipeline as O}from\"../../../interactive/dragEventPipeline.js\";function C(e,r){return D(e,(()=>r))}function T(e){return D(e,(e=>e.plane))}function D(t,s){const c=d(),l=d();let i=!1;return a=>{const u=s(a);if(\"start\"===a.action){const r=n(a.screenStart,o(v.get())),s=R(t.state.camera,r,L);e(s)&&(i=g(u,s,c))}if(!i)return null;const p=n(a.screenEnd,o(v.get())),m=R(t.state.camera,p,L);return r(m)?null:g(u,m,l)?{...a,renderStart:c,renderEnd:l,plane:u,ray:m}:null}}function M(t,n,o,c=null,l=null){let i=null;return a=>{if(\"start\"===a.action&&(i=t.sceneIntersectionHelper.intersectElevationFromScreen(s(a.screenStart.x,a.screenStart.y),n,o,l),e(i)&&e(c)&&!f(i,i,c)))return null;if(r(i))return null;const u=t.sceneIntersectionHelper.intersectElevationFromScreen(s(a.screenEnd.x,a.screenEnd.y),n,o,l);return e(u)?e(c)&&!f(u,u,c)?null:{...a,mapStart:i,mapEnd:u}:null}}function N(e,r,t,n=null,o=null){return M(e,t,b(r,e,t),n,o)}function P(e,r,t,n=null,o=null){return N(e,t,x(r),n,o)}function h(r,t,n,o){const s=t.toMap(r.screenStart,{include:[n]});return e(s)?P(t,n,s,o):null}function k(e,r){const t=J,n=K,o=E();e.renderCoordsHelper.worldUpAtPosition(r,t);const s=m(o,t,i(n,r,e.state.camera.eye));return m(s,s,t),y(r,s,o)}function G(e,r,t){let n=null;const o=new O;return o.next(C(e,k(e,r))).next(A(e,r)).next(F(e,t)).next((e=>{e.mapEnd.x=e.mapStart.x,e.mapEnd.y=e.mapStart.y,n=e})),e=>(n=null,o.execute(e),n)}function A(e,r){const t=d(),n=l(r);e.renderCoordsHelper.worldUpAtPosition(r,t);const o=d(),s=d(),m=o=>{if(i(o,o,r),j(t,o,o),\"global\"===e.viewingMode){l(o)*Math.sign(a(t,o))<.001-n&&i(o,u(o,t,.001),r)}return p(o,o,r),o};return e=>(e.renderStart=m(c(o,e.renderStart)),e.renderEnd=m(c(s,e.renderEnd)),e)}function F(r,t){const n=r.renderCoordsHelper;return r=>{const o=n.fromRenderCoords(r.renderStart,t),s=n.fromRenderCoords(r.renderEnd,t);return e(o)&&e(s)?{...r,mapStart:o,mapEnd:s}:null}}var q;function z(r){let t=null;return n=>{switch(n.action){case\"start\":t=r.disableDisplay();break;case\"end\":case\"cancel\":e(t)&&(t.remove(),t=null)}return n}}function B(o,c=null){const l=I(o.state.viewingMode);l.options.selectionMode=!0,l.options.store=w.MIN,l.options.hud=!1;const i=s(),a={requiresGroundFeedback:!0,enableDraped:!0,exclude:new Set},u=d(),p=t(c,o.spatialReference),m=e=>{o.map.ground&&o.map.ground.opacity<1?a.exclude.add(U):a.exclude.delete(U),o.sceneIntersectionHelper.intersectIntersectorScreen(n(e,i),l,a);const r=l.results.min;let t;if(r.getIntersectionPoint(u))t=r.intersector===H.TERRAIN?q.GROUND:q.OTHER;else{if(!l.results.ground.getIntersectionPoint(u))return null;t=q.GROUND}return{location:o.renderCoordsHelper.fromRenderCoords(u,p),surfaceType:t}};let f;return t=>{if(\"start\"===t.action){const r=m(t.screenStart);f=e(r)?r.location:null}if(r(f))return null;const n=m(t.screenEnd);return e(n)&&e(n.location)?{...t,mapStart:f,mapEnd:n.location,surfaceType:n.surfaceType}:null}}!function(e){e[e.GROUND=0]=\"GROUND\",e[e.OTHER=1]=\"OTHER\"}(q||(q={}));const J=d(),K=d(),L=S();export{q as SurfaceType,F as convertToMapCoordinates,z as hideManipulatorWhileDragging,A as projectToWorldUp,B as screenToMap3D,N as screenToMapXYAtLocation,h as screenToMapXYForGraphic,P as screenToMapXYForGraphicAtLocation,C as screenToRenderPlane,T as screenToRenderPlaneFromEvent,G as screenToZConstrained};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as t}from\"../../../../../core/maybe.js\";import{dragGraphic as e,resetGraphic as n}from\"../../../../interactive/dragEventPipeline.js\";function r(t,r,a,c){const i=t.graphic,o=(t,e)=>r({action:t,graphic:i,dxScreen:e.screenDeltaX,dyScreen:e.screenDeltaY});return a(((t,r,a)=>{const s=r.next((t=>(\"start\"===t.action&&o(\"start\",t),t))).next(e(i,c)).next((t=>{switch(t.action){case\"start\":case\"update\":(t.translationX||t.translationY||t.translationZ)&&o(\"update\",t);break;case\"end\":o(\"end\",t)}return t}));return a.next(n(i)).next((()=>{o(\"end\",{screenDeltaX:0,screenDeltaY:0})})),s}))}function a(e){if(t(e)||\"polyline\"!==e.type&&\"polygon\"!==e.type)return 0;const n=(\"polyline\"===e.type?e.paths:e.rings)[0];if(!n||n.length<2)return 0;const r=n[0],a=n[1];return Math.atan2(a[1]-r[1],a[0]-r[0])}export{r as createGraphicMoveDragPipeline,a as shapeOrientation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../../../../Color.js\";import a from\"../../../../../core/Evented.js\";import r from\"../../../../../core/Handles.js\";import{handlesGroup as e}from\"../../../../../core/handleUtils.js\";import{destroyMaybe as i,unwrap as o}from\"../../../../../core/maybe.js\";import{f as s,b as n,m as l,d as p,u}from\"../../../../../chunks/mat4.js\";import{c as h}from\"../../../../../chunks/mat4f64.js\";import{s as m}from\"../../../../../chunks/vec3.js\";import{f as c}from\"../../../../../chunks/vec3f64.js\";import{sv3d as f,sm4d as d}from\"../../../../../geometry/support/vectorStacks.js\";import{getGraphicEffectiveElevationInfo as _}from\"../../../../../support/elevationInfoUtils.js\";import{Manipulator3D as g}from\"../../Manipulator3D.js\";import{screenToMapXYAtLocation as M}from\"../dragEventPipeline3D.js\";import{ManipulatorType as w}from\"../ManipulatorType.js\";import{colors as v}from\"../settings.js\";import{DISC_RADIUS as j,DISC_HEIGHT as y,DISC_TRANSLATE_ARROW_OFFSET as A,DISC_TRANSLATE_ARROW_SIZE as I}from\"./config.js\";import{Manipulation as T}from\"./Manipulation.js\";import{createGraphicMoveDragPipeline as b}from\"./moveUtils.js\";import{CullFaceOptions as D}from\"../../../webgl-engine/lib/basicInterfaces.js\";import E from\"../../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as S}from\"../../../webgl-engine/lib/Material.js\";import{ColorMaterial as k}from\"../../../webgl-engine/materials/ColorMaterial.js\";import{createManipulatorDragEventPipeline as x,dragAtLocation as P,constrainToMapAxis as U,addScreenDelta as R}from\"../../../../interactive/dragEventPipeline.js\";import{ManipulatorStateFlags as L}from\"../../../../interactive/interfaces.js\";class O extends T{constructor(t){super(),this._handles=new r,this._arrowManipulatorInfos=new Array,this._opaqueMaterial=this._createMaterial(),this._transparentMaterial=this._createMaterial(.5),this._angle=0,this._scale=1,this._radius=j,this._updateAfterDrag=!1,this.events=new a,this._tool=t.tool,this._view=t.view,null!=t.radius&&(this._radius=t.radius),this._createManipulators(),this.forEachManipulator((t=>this._tool.manipulators.add(t)))}set orthogonalAvailable(t){this._arrowManipulatorInfos[1].manipulator.available=t,this._arrowManipulatorInfos[3].manipulator.available=t}destroy(){this.forEachManipulator((t=>{this._tool.manipulators.remove(t),t.destroy()})),this._handles=i(this._handles),this._tool=null,this._view=null,this._arrowManipulatorInfos.length=0}forEachManipulator(t){for(const{manipulator:a}of this._arrowManipulatorInfos)t(a,w.TRANSLATE_XY)}createGraphicDragPipeline(t,a,r){const e=a.graphic,i=_(e),s=o(e.geometry).spatialReference;return b(a,r,(a=>this.createDragPipeline(((r,e,i,o,s)=>a(r,t(r,e,i,o,s),i)),i,s,e)),this._view.state.viewingMode)}createDragPipeline(t,a,r,i){return e(this._arrowManipulatorInfos.map((({manipulator:e},o)=>x(e,((e,s,n,l,p)=>{const u=s.next((t=>({...t,manipulatorType:w.TRANSLATE_XY}))).next(P(this._view,e.elevationAlignedLocation)).next(M(this._view,e.elevationAlignedLocation,a,r,i)).next(U(e.location,this.angle+(o+1)*Math.PI*.5)).next(R());t(e,u,n,l,p)})))))}get angle(){return this._angle}set angle(t){this._angle=t,this.dragging?this._updateAfterDrag=!0:this._updateManipulatorTransform()}get displayScale(){return this._scale}set displayScale(t){this._scale=t,this._updateManipulatorTransform()}get radius(){return this._radius}set radius(t){this._radius!==t&&(this._radius=t,this._updateManipulators())}_updateManipulators(){for(let t=0;t{this._updateAfterDrag&&\"end\"===t.action&&!this.dragging&&(this._updateManipulatorTransform(),this._updateAfterDrag=!1)}))),r}_createMaterial(a=1){const r=t.toUnitRGBA(v.main);return r[3]*=a,new k({color:r,transparent:1!==a,cullFace:D.Back,renderOccluded:S.Transparent})}get test(){return{arrowManipulators:this._arrowManipulatorInfos.map((({manipulator:t})=>t))}}}export{O as MoveXYAxisManipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as t}from\"../../../../../core/maybe.js\";import{getZForElevationMode as e}from\"../../../../../support/elevationInfoUtils.js\";import{EventPipeline as n}from\"../../../../interactive/dragEventPipeline.js\";class a{constructor(){this.view=null,this.elevationInfo=null,this.lastDragEvent=null,this.next=new n,this._enabled=!1}get enabled(){return this._enabled}set enabled(e){if(this._enabled!==e&&t(this.lastDragEvent)){const n=this.lastDragEvent.mapEnd,a=this._snap(this.lastDragEvent.screenEnd);if(t(a)){const t={action:\"update\",mapStart:this.lastDragEvent.mapStart,mapEnd:!0===e?a:n,screenStart:this.lastDragEvent.screenEnd,screenEnd:this.lastDragEvent.screenEnd};this.next.execute(t)}}this._enabled=e}_snap(n){const a=t(this.view)?this.view.toMap(n,{exclude:[]}):null;return t(a)&&t(this.view)&&(a.z=e(a,this.view,this.elevationInfo)),a}createDragEventPipelineStep(e,n){return this.view=e,this.elevationInfo=n,this.lastDragEvent=null,e=>{if(this.lastDragEvent=\"end\"!==e.action?{...e}:null,this._enabled){const n=this._snap(e.screenEnd);return t(n)?{action:e.action,mapStart:e.mapStart,mapEnd:n,screenStart:e.screenStart,screenEnd:e.screenEnd}:null}return{action:e.action,mapStart:e.mapStart,mapEnd:e.mapEnd,screenStart:e.screenStart,screenEnd:e.screenEnd}}}}export{a as SnapToScene};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../../../../Color.js\";import e from\"../../../../../core/Handles.js\";import{unwrap as i}from\"../../../../../core/maybe.js\";import{u as a}from\"../../../../../chunks/mat4.js\";import{c as r}from\"../../../../../chunks/mat4f64.js\";import{s}from\"../../../../../chunks/vec3.js\";import{f as o}from\"../../../../../chunks/vec3f64.js\";import{sv3d as n,sm4d as l}from\"../../../../../geometry/support/vectorStacks.js\";import{getGraphicEffectiveElevationInfo as p}from\"../../../../../support/elevationInfoUtils.js\";import{Manipulator3D as c}from\"../../Manipulator3D.js\";import{screenToMapXYAtLocation as m}from\"../dragEventPipeline3D.js\";import{ManipulatorType as u}from\"../ManipulatorType.js\";import{colors as h}from\"../settings.js\";import{DISC_RADIUS as d,DISC_HEIGHT as _,GEOMETRY_SEGMENTS as f,DISC_COLLISION_RADIUS as g}from\"./config.js\";import{Manipulation as M}from\"./Manipulation.js\";import{createGraphicMoveDragPipeline as j}from\"./moveUtils.js\";import{SnapToScene as T}from\"../snapping/SnapToScene.js\";import{CullFaceOptions as S}from\"../../../webgl-engine/lib/basicInterfaces.js\";import v from\"../../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as y}from\"../../../webgl-engine/lib/Material.js\";import{ColorMaterial as w}from\"../../../webgl-engine/materials/ColorMaterial.js\";import{createManipulatorDragEventPipeline as b,dragAtLocation as k,addScreenDelta as x}from\"../../../../interactive/dragEventPipeline.js\";import{ManipulatorStateFlags as E}from\"../../../../interactive/interfaces.js\";class A extends M{constructor(t){super(),this._handles=new e,this._snapToScene=new T,this._discMaterial=this._createMaterial(),this._discMaterialTransparent=this._createMaterial(.5),this._scale=1,this._radius=d,this._view=t.view,this._tool=t.tool,null!=t.snapToScene&&(this.snapToScene=t.snapToScene),null!=t.radius&&(this._radius=t.radius),this._createManipulator(),this.forEachManipulator((t=>this._tool.manipulators.add(t)))}destroy(){this._handles.destroy(),this.forEachManipulator((t=>{this._tool.manipulators.remove(t),t.destroy()})),this._tool=null,this._view=null,this._manipulator=null}forEachManipulator(t){t(this._manipulator,u.TRANSLATE_XY)}get displayScale(){return this._scale}set displayScale(t){this._scale=t,this._updateManipulatorTransform()}get snapToScene(){return this._snapToScene.enabled}set snapToScene(t){this._snapToScene.enabled=t}get radius(){return this._radius}set radius(t){t!==this._radius&&(this._radius=t,this._updateManipulator())}createGraphicDragPipeline(t,e,a){const r=e.graphic,s=p(r),o=i(r.geometry).spatialReference;return j(e,a,(e=>this.createDragPipeline(((i,a,r,s,o)=>e(i,t(i,a,r,s,o),r)),s,o,r)),this._view.state.viewingMode)}createDragPipeline(t,e,i,a){const r=this._view;return b(this._manipulator,((s,o,n,l,p)=>{const c=o.next(k(r,s.elevationAlignedLocation)).next(m(r,s.elevationAlignedLocation,e,i,a)).next(this._snapToScene.createDragEventPipelineStep(r,e),this._snapToScene.next).next((t=>({...t,manipulatorType:u.TRANSLATE_XY}))).next(x());t(s,c,n,l,p)}))}_updateManipulatorTransform(){const t=a(l.get(),s(n.get(),this.displayScale,this.displayScale,this.displayScale));this._manipulator.modelTransform=t}_createManipulator(){const t=this._view;this._manipulator=new c({view:t,worldSized:!1,autoScaleRenderObjects:!1,focusMultiplier:1,touchMultiplier:1,collisionType:{type:\"disc\",direction:o(0,0,1)},worldOriented:!0}),this._updateManipulator()}_updateManipulator(){const t=v.createCylinderGeometry(_,1,f,o(0,0,1),o(0,0,0)),e=a(r(),o(this._radius,this._radius,this._radius));this._manipulator.renderObjects=[{geometry:t,material:this._discMaterial,transform:e,stateMask:E.Focused},{geometry:t,material:this._discMaterialTransparent,transform:e,stateMask:E.Unfocused}],this._manipulator.radius=g*(this._radius/d)}_createMaterial(e=1){const i=t.toUnitRGBA(h.main);return i[3]*=e,new w({color:i,transparent:1!==e,cullFace:S.Back,renderOccluded:y.Transparent})}get test(){return{discManipulator:this._manipulator}}}export{A as MoveXYDiscManipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{darken as t}from\"../../../../../core/colorUtils.js\";import e from\"../../../../../core/Evented.js\";import r from\"../../../../../core/Handles.js\";import{clamp as a}from\"../../../../../core/mathUtils.js\";import{unwrap as i}from\"../../../../../core/maybe.js\";import{j as o,r as s,h as n}from\"../../../../../chunks/mat4.js\";import{c as l}from\"../../../../../chunks/mat4f64.js\";import{j as m,f as c,n as p,d as u,c as d,a as h}from\"../../../../../chunks/vec3.js\";import{c as f,f as _}from\"../../../../../chunks/vec3f64.js\";import{Manipulator3D as M}from\"../../Manipulator3D.js\";import{createManipulatorMaterial as g}from\"../../manipulatorUtils.js\";import{screenToZConstrained as j}from\"../dragEventPipeline3D.js\";import{ManipulatorType as y}from\"../ManipulatorType.js\";import{settings as v}from\"../settings.js\";import{DISC_RADIUS as w}from\"./config.js\";import{Manipulation as b}from\"./Manipulation.js\";import{createGraphicMoveDragPipeline as k}from\"./moveUtils.js\";import z from\"../../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as U}from\"../../../webgl-engine/lib/Material.js\";import{createManipulatorDragEventPipeline as P,addScreenDelta as T}from\"../../../../interactive/dragEventPipeline.js\";import{ManipulatorStateFlags as E}from\"../../../../interactive/interfaces.js\";class O extends b{constructor(t){super(),this._handles=new r,this._radius=w,this.events=new e,this._tool=t.tool,this._view=t.view,null!=t.radius&&(this._radius=t.radius),this._createManipulator(),this.forEachManipulator((t=>this._tool.manipulators.add(t)))}destroy(){this._handles.destroy(),this.forEachManipulator((t=>{this._tool.manipulators.remove(t),t.destroy()}))}forEachManipulator(t){t(this._manipulator,y.TRANSLATE_Z)}createGraphicDragPipeline(t,e,r){const a=i(e.graphic.geometry).spatialReference;return k(e,r,(e=>this.createDragPipeline(((r,a,i,o,s)=>e(r,t(r,a,i,o,s),i)),a)),this._view.state.viewingMode)}createDragPipeline(t,e){const r=this._view;return P(this._manipulator,((a,i,o,s,n)=>{const l=i.next((t=>({...t,manipulatorType:y.TRANSLATE_Z}))).next(j(r,a.renderLocation,e)).next(T());t(a,l,o,s,n)}))}get radius(){return this._radius}set radius(t){t!==this._radius&&(this._radius=t,this._updateManipulator())}_updateManipulator(){const e=this._radius/w,r=v.zManipulator.height*e,a=v.zManipulator.coneHeight*e,i=v.zManipulator.coneWidth*e,m=v.zManipulator.width*e,c=[_(0,0,0),_(0,0,r)],p=z.createTubeGeometry(c,m/2,16,!1),u=z.createConeGeometry(a,i/2,16,!1),d=[_(0,0,0),_(0,0,r+a)],h=t=>{const e=l();if(o(e,e,[0,0,r]),s(e,e,Math.PI/2),t){const r=1+2*t/i;n(e,e,[r,r,r])}return e},f=h(0),M=(e,r)=>{const a=t(v.zManipulator.color,r);return[a.r/255,a.g/255,a.b/255,v.zManipulator.color.a*e]},j=g(M(1,.25),U.Occlude),y=g(M(1,0),U.Occlude),b=g(M(.7,0),v.zManipulator.renderOccluded),k=g(M(.85,0),v.zManipulator.renderOccluded);this._manipulator.renderObjects=[{geometry:u,transform:f,material:j,stateMask:E.Unfocused},{geometry:p,material:j,stateMask:E.Unfocused},{geometry:u,transform:f,material:y,stateMask:E.Focused},{geometry:p,material:y,stateMask:E.Focused},{geometry:u,transform:f,material:b,stateMask:E.Unfocused},{geometry:p,material:b,stateMask:E.Unfocused},{geometry:u,transform:f,material:k,stateMask:E.Focused},{geometry:p,material:k,stateMask:E.Focused}],this._manipulator.radius=m/2+2,this._manipulator.collisionType={type:\"line\",paths:[d]}}_createManipulator(){const t=new M({view:this._view,autoScaleRenderObjects:!1,worldSized:!1,selectable:!1,cursor:\"ns-resize\",elevationInfo:this.elevationInfo,worldOriented:!0,collisionPriority:1.6});t.applyObjectTransform=t=>{const e=this._view.state.camera,r=A;this._view.renderCoordsHelper.toRenderCoords(this._manipulator.elevationAlignedLocation,r);const i=m(e.eye,r),o=e.computeRenderPixelSizeAtDist(i),s=c(x,r,e.eye);p(s,s);const n=D;this._view.renderCoordsHelper.worldUpAtPosition(A,n);const l=Math.abs(u(s,n)),f=d(x,s,n),_=d(x,f,n),M=a(l,.01,1),g=1-Math.sqrt(1-M*M)/M/e.fullWidth,j=this._radius/w,y=v.zManipulator.width*j;h(_,p(_,_),(1/g-1)*i+o*y),t[12]-=x[0],t[13]-=x[1],t[14]-=x[2]},this._manipulator=t,this._updateManipulator()}get test(){return{manipulator:this._manipulator}}}const A=f(),x=f(),D=f();export{O as MoveZManipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport i from\"../../../../../core/Handles.js\";import{handlesGroup as a}from\"../../../../../core/handleUtils.js\";import t from\"../../../../../core/has.js\";import{isSome as e}from\"../../../../../core/maybe.js\";import{ManipulatorType as n}from\"../ManipulatorType.js\";import{DISC_RADIUS_SMALL as s,DISC_RADIUS as o}from\"./config.js\";import{Manipulation as r}from\"./Manipulation.js\";import{MoveXYAxisManipulation as l}from\"./MoveXYAxisManipulation.js\";import{MoveXYDiscManipulation as p}from\"./MoveXYDiscManipulation.js\";import{MoveZManipulation as h}from\"./MoveZManipulation.js\";class u extends r{constructor(a){super(),this._handles=new i,this._angleDeferred=null,this._interactive=!0;const{tool:t,view:e,snapToScene:n,radius:s}=a;this._view=e,this.xyManipulation=new p({tool:t,view:e,snapToScene:n,radius:s}),this.xyAxisManipulation=new l({tool:t,view:e,radius:s}),this.zManipulation=new h({tool:t,view:e,radius:s}),this.xyManipulation.available=a.xyAvailable,this.xyAxisManipulation.available=a.xyAxisAvailable,this.zManipulation.available=a.zAvailable,this._autoHideXYAxis(),this.forEachManipulator((i=>{this._handles.add(i.events.on(\"grab-changed\",(()=>this._updateManipulatorInteractivity())))}))}destroy(){this._handles.destroy(),this.xyManipulation.destroy(),this.xyAxisManipulation.destroy(),this.zManipulation.destroy()}createGraphicDragPipeline(i,t,e){return a([this.xyManipulation.createGraphicDragPipeline(((a,t,e,n,s)=>i(M.XY,a,t,e,n,s)),t,e),this.xyAxisManipulation.createGraphicDragPipeline(((a,t,e,n,s)=>i(M.XY_AXIS,a,t,e,n,s)),t,e),this.zManipulation.createGraphicDragPipeline(((a,t,e,n,s)=>i(M.Z,a,t,e,n,s)),t,e)])}createDragPipeline(i,t,e,n){return a([this.xyManipulation.createDragPipeline(((a,t,e,n,s)=>i(M.XY,a,t,e,n,s)),t,e,n),this.xyAxisManipulation.createDragPipeline(((a,t,e,n,s)=>i(M.XY_AXIS,a,t,e,n,s)),t,e,n),this.zManipulation.createDragPipeline(((a,t,e,n,s)=>i(M.Z,a,t,e,n,s)),e)])}set snapToScene(i){this.xyManipulation.snapToScene=i}set angle(i){this._angleDeferred=null,this.xyAxisManipulation.angle=i}set angleDeferred(i){this.xyAxisVisible?this.angle=i():this._angleDeferred=i}set interactive(i){this._interactive!==i&&(this._interactive=i,this._updateManipulatorInteractivity())}set radius(i){this.xyAxisManipulation.radius=i,this.xyManipulation.radius=i,this.zManipulation.radius=i}set displayScale(i){this.xyManipulation.displayScale=i,this.xyAxisManipulation.displayScale=i}forEachManipulator(i){this.xyManipulation.forEachManipulator((a=>i(a,n.TRANSLATE_XY))),this.xyAxisManipulation.forEachManipulator((a=>i(a,n.TRANSLATE_XY))),this.zManipulation.forEachManipulator((a=>i(a,n.TRANSLATE_Z)))}get xyAxisVisible(){const i=this.xyManipulation.someManipulator((i=>i.focused))||this.xyAxisManipulation.someManipulator((i=>i.focused));return this._view.inputManager&&\"touch\"===this._view.inputManager.latestPointerType||i}_autoHideXYAxis(){const i=this.xyAxisManipulation,a=this.xyManipulation;if(t(\"esri-mobile\"))return;const n=[];a.forEachManipulator((i=>n.push(i))),i.forEachManipulator((i=>n.push(i)));const s=()=>{const a=[];this.xyAxisVisible?e(this._angleDeferred)&&(this.angle=this._angleDeferred()):i.forEachManipulator((i=>a.push(i.disableDisplay()))),this._handles.remove(c),this._handles.add(a,c)};for(const t of n)this._handles.add(t.events.on(\"focus-changed\",s));this._view.inputManager&&this._handles.add(this._view.inputManager.watch(\"latestPointerType\",s)),s()}_updateManipulatorInteractivity(){const i=this.grabbing;this.forEachManipulator((a=>{a.interactive=!i&&this._interactive||a.grabbing}))}static radiusForSymbol(i){const a=e(i)&&\"point-3d\"===i.type&&i.symbolLayers;return!!a&&a.length>0&&a.some((i=>\"icon\"===i.type))?s:o}}const c=\"disable-xy-axis-display\";var M;!function(i){i[i.XY=0]=\"XY\",i[i.XY_AXIS=1]=\"XY_AXIS\",i[i.Z=2]=\"Z\"}(M||(M={}));export{M as ManipulationType,u as MoveManipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../../../../core/Handles.js\";import{isSome as i}from\"../../../../../core/maybe.js\";import{screenToMapXYForGraphic as e}from\"../dragEventPipeline3D.js\";import{ManipulatorType as r}from\"../ManipulatorType.js\";import{Manipulation as a}from\"./Manipulation.js\";import{createGraphicMoveDragPipeline as o}from\"./moveUtils.js\";import{createManipulatorDragEventPipeline as s,addMapDelta as n,addScreenDelta as l}from\"../../../../interactive/dragEventPipeline.js\";import{GraphicManipulator as p}from\"../../../../interactive/GraphicManipulator.js\";class h extends a{constructor(i){super(),this._handles=new t,this._view=i.view,this._tool=i.tool,this._graphicState=i.graphicState,this._createManipulator(),this.forEachManipulator((t=>this._tool.manipulators.add(t)))}destroy(){this._handles.destroy(),this.forEachManipulator((t=>{this._tool.manipulators.remove(t),t.destroy()})),this._tool=null,this._view=null,this._manipulator=null,this._graphicState=null}forEachManipulator(t){t(this._manipulator,r.TRANSLATE_XY)}createGraphicDragPipeline(t){return o(this._graphicState,t,(t=>this.createDragPipeline(t)),this._view.state.viewingMode)}createDragPipeline(t){const r=this._view,a=this._graphicState.graphic,o=i(a.geometry)?a.geometry.spatialReference:null;return s(this._manipulator,((i,s,p,h,c)=>{const m=s.next(e(c,r,a,o)).next(n()).next(l());t(i,m,p,h,c)}))}_createManipulator(){const t=this._view,i=this._graphicState.graphic;this._manipulator=new p({graphic:i,view:t,selectable:!0,cursor:\"move\"})}}export{h as MoveXYGraphicManipulation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as t}from\"../../../../../chunks/tslib.es6.js\";import e from\"../../../../../core/Collection.js\";import i from\"../../../../../core/Evented.js\";import{HandleOwnerMixin as a}from\"../../../../../core/HandleOwner.js\";import n from\"../../../../../core/Handles.js\";import{makeHandle as o}from\"../../../../../core/handleUtils.js\";import{unwrap as s,isNone as r,isSome as p}from\"../../../../../core/maybe.js\";import{property as l}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/has.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as h}from\"../../../../../core/accessorSupport/decorators/subclass.js\";import{makeDehydratedPoint as c}from\"../../../../../layers/graphics/dehydratedFeatures.js\";import{getGraphicEffectiveElevationInfo as m,getConvertedElevation as u}from\"../../../../../support/elevationInfoUtils.js\";import{getGraphicAttachmentOrigin as d}from\"../../manipulatorUtils.js\";import{SnappingVisualizer3D as g}from\"../../SnappingVisualizer3D.js\";import{SupportedGraphicResult as v}from\"../isSupportedGraphicUtils.js\";import{canMoveZ as f}from\"../manipulatorUtils.js\";import{createVisualElements as y}from\"../visualElementUtils.js\";import{DISC_RADIUS as M}from\"../manipulations/config.js\";import{ManipulationType as w,MoveManipulation as _}from\"../manipulations/MoveManipulation.js\";import{shapeOrientation as j}from\"../manipulations/moveUtils.js\";import{MoveXYGraphicManipulation as b}from\"../manipulations/MoveXYGraphicManipulation.js\";import{isSupportedGraphic as x}from\"./isSupportedGraphic.js\";import{OutlineVisualElement as S}from\"../../visualElements/OutlineVisualElement.js\";import{GraphicState as E}from\"../../../layers/graphics/GraphicState.js\";import{dragGraphicMany as P,resetGraphicMany as D}from\"../../../../interactive/dragEventPipeline.js\";import{InteractiveToolBase as A}from\"../../../../interactive/InteractiveToolBase.js\";import{EditGeometryOperations as G}from\"../../../../interactive/editGeometry/EditGeometryOperations.js\";import{SnappingContext as O}from\"../../../../interactive/snapping/SnappingContext.js\";import{SnappingPipeline as X}from\"../../../../interactive/snapping/SnappingDragPipelineStep.js\";class Y{constructor(t){this.allGraphics=t,this.type=\"graphic-move-start\"}}class z{constructor(t,e,i){this.dx=t,this.dy=e,this.allGraphics=i,this.type=\"graphic-move\"}}class H{constructor(t){this.allGraphics=t,this.type=\"graphic-move-stop\"}}let R=class extends(a(i.EventedMixin(A))){constructor(t){super(t),this.graphics=new e,this.enableZ=!0,this.type=\"move-3d\",this._toolHandles=new n,this.snappingPipeline=new X}initialize(){this._toolHandles.add([this.graphics.on(\"change\",(()=>this._refreshManipulators()))]),this._refreshManipulators(),this.finishToolCreation()}destroy(){this._toolHandles.destroy(),this._toolHandles=null,this.graphics.removeAll(),this._set(\"view\",null)}get updating(){return this.updatingHandles.updating}reset(){}_refreshManipulators(){this.handles.removeAll(),this._moveManipulation&&this._moveManipulation.destroy(),this.manipulators.removeAll();const t=this.graphics.toArray().filter((t=>x(t)===v.SUPPORTED)).map((t=>new U(t)));t.length&&(this._createManipulators(t),this._createVisualElements(t),this.handles.add(t.map((t=>this.view.trackGraphicState(t.state)))),this._updateMoveManipulation(t))}_createManipulators(t){for(const e of t){const i=e.state;e.manipulationXY=new b({tool:this,view:this.view,graphicState:i}),e.manipulationXY.forEachManipulator((t=>this.handles.add(t.events.on(\"immediate-click\",(t=>{this.emit(\"immediate-click\",{...t,graphic:i.graphic}),t.stopPropagation()}))))),this.handles.add(e.manipulationXY.createDragPipeline(((e,i,a,n)=>this._buildDragEventPipeline(t,w.XY,e,i,a,n))))}this._createMoveManipulation(t)}_createMoveManipulation(t){const e=new _({tool:this,view:this.view,snapToScene:!1,xyAvailable:!0,xyAxisAvailable:!0,zAvailable:!0,radius:1===t.length?_.radiusForSymbol(t[0].graphic.symbol):M});this._moveManipulation=e,e.elevationInfo={mode:\"absolute-height\",offset:0},e.forEachManipulator((t=>{this.handles.add(t.events.on(\"immediate-click\",(i=>{e.zManipulation.hasManipulator(t)||1!==this.graphics.length||this.emit(\"immediate-click\",{...i,graphic:this.graphics.getItemAt(0)}),i.stopPropagation()})))}));const i=()=>this._updateMoveManipulation(t);for(const n of t)this.handles.add([n.state.on(\"changed\",i),n.state.watch(\"displaying\",i)]);const a=t[t.length-1];this.handles.add(a.state.on(\"changed\",(()=>this._updateMoveManipulationAngle(a)))),this.handles.add(e.createDragPipeline(((e,i,a,n,o)=>this._buildDragEventPipeline(t,e,i,a,n,o)),m(a.graphic),s(a.graphic.geometry).spatialReference,a.graphic)),this._updateMoveManipulationAngle(a)}_createVisualElements(t){for(const e of t){const i=e.graphic,a=y({view:this.view,graphic:i,forEachManipulator:t=>{e.manipulationXY.forEachManipulator(t),this._moveManipulation.forEachManipulator(t)},onManipulatorsChanged:()=>o()});r(a)||(e.geometryRepresentation=a.visualElement,e.geometryRepresentation instanceof S&&this.handles.add([e.geometryRepresentation.events.on(\"attachment-origin-changed\",(()=>{e.state.isDraped||this._updateMoveManipulation(t)})),e.state.watch(\"isDraped\",(()=>this._updateMoveManipulation(t)))]),this.handles.add(a))}}_updateMoveManipulationAngle(t){this._moveManipulation.angleDeferred=()=>j(t.graphic.geometry)}_updateMoveManipulation(t){const e=c(0,0,0,this.view.spatialReference);let i=0,a=!1;const n=this._moveManipulation;for(const o of t){if(!o.state.displaying)continue;const t=o.state.graphic;this.enableZ&&f(t)&&(a=!0);const n=o.geometryRepresentation instanceof S&&!o.state.isDraped?o.geometryRepresentation.attachmentOrigin:d(this.view,t);p(n)&&(e.x+=n.x,e.y+=n.y,e.z+=n.z,i++)}i>0?(e.x/=i,e.y/=i,e.z/=i,n.location=e,n.xyManipulation.available=!0,n.xyAxisManipulation.available=!0,n.zManipulation.available=a):n.available=!1}_buildDragEventPipeline(t,e,i,a,n,o){const s=[],r=[];let p=null,l=null;const h=()=>{for(const t of s)t.dragging=!1;s.length=0,r.length=0,p=null,l=null,this._moveManipulation.interactive=!0};if(1===t.length&&e===w.XY){const e=t[0].graphic;a=this._buildSnappingPipelineSteps(e,m(e),a,n,o)}const c=a.next((e=>{if(\"start\"===e.action){s.length=0,r.length=0;for(const e of t)e.dragging||!e.manipulationXY.hasManipulator(i)&&e.manipulationXY.grabbing||(s.push(e),r.push(e.graphic),e.dragging=!0);if(0!==r.length&&(this._moveManipulation.interactive=!1,p=P(r,this.view.state.viewingMode),l=D(r),this.emit(\"graphic-move-start\",new Y(r)),this.destroyed))return null}return 0!==r.length?e:null})).next((t=>p(t))).next((t=>{switch(t.action){case\"start\":case\"update\":if(t.translationX||t.translationY||t.translationZ){const e=this.view.toScreen(t.mapStart),i=this.view.toScreen(t.mapEnd),a=i.x-e.x,n=i.y-e.y;if(this.emit(\"graphic-move\",new z(a,n,r)),this.destroyed)return null}break;case\"end\":if(this.emit(\"graphic-move-stop\",new H(r)),this.destroyed)return null;h()}}));return n.next((t=>l(t))).next((()=>{if(this.emit(\"graphic-move-stop\",new H(r)),this.destroyed)return null;h()})),c}_buildSnappingPipelineSteps(t,e,i,a,n){const o=t.geometry;if(r(o)||\"point\"!==o.type&&\"mesh\"!==o.type)return i;const s=(\"point\"===o.type?o:o.anchor).clone(),p=new O({elevationInfo:e,pointer:n,editGeometryOperations:G.fromGeometry(s,this.view.state.viewingMode),visualizer:new g,excludeFeature:t}),l=this.snappingManager;return i.next((e=>{s.z=u(this.view,s,m(t),{mode:\"absolute-height\",offset:0});return{...e,snapOrigin:p.coordinateHelper.pointToVector(s)}})).next(this.snappingPipeline.createSnapDragEventPipelineStep({snappingContext:p,snappingManager:l,cancel:a,updatingHandles:this.updatingHandles}),this.snappingPipeline.next)}};t([l({constructOnly:!0,nonNullable:!0})],R.prototype,\"view\",void 0),t([l({readOnly:!0})],R.prototype,\"graphics\",void 0),t([l({constructOnly:!0,nonNullable:!0})],R.prototype,\"enableZ\",void 0),t([l({constructOnly:!0})],R.prototype,\"snappingManager\",void 0),t([l({readOnly:!0})],R.prototype,\"type\",void 0),t([l({readOnly:!0})],R.prototype,\"updating\",null),R=t([h(\"esri.views.3d.interactive.editingTools.graphicMove3D.GraphicMoveTool\")],R);class U{constructor(t){this.state=null,this.geometryRepresentation=null,this.manipulationXY=null,this.dragging=!1,this.state=new E({graphic:t})}get graphic(){return this.state.graphic}}export{z as GraphicMoveEvent,Y as GraphicMoveStartEvent,H as GraphicMoveStopEvent,R as GraphicMoveTool};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as e,isSome as r}from\"../../../../../core/maybe.js\";import{createRenderScreenPointArray3 as o}from\"../../../../../core/screenUtils.js\";import{f as n}from\"../../../../../chunks/mat4f64.js\";import{c as t,r as s,p as c,f as i}from\"../../../../../chunks/vec3.js\";import{c as d}from\"../../../../../chunks/vec3f64.js\";import{normal as f,fromPositionAndNormal as p,create as m}from\"../../../../../geometry/support/plane.js\";import{makeDehydratedPoint as u}from\"../../../../../layers/graphics/dehydratedFeatures.js\";import{OffsetEdgeVertex as a,PlaneType as l}from\"../../../../interactive/editGeometry/operations/OffsetEdgeVertex.js\";function j(e,r,o){const n=\"on-the-ground\"===o.mode?l.XY:l.XYZ;return new a(e,n,r,0)}function h(r,o,n){const s=d();if(!r.renderCoordsHelper.toRenderCoords(o,s))return null;const c=y(r,o,f(n.plane)),i=y(r,o,n.edgeDirection);if(e(c)||e(i))return null;const u=t(d(),c,i);return p(s,u,m())}function y(e,r,o){const n=u(r.x+o[0],r.y+o[1],r.z+o[2],r.spatialReference),t=d(),c=d();return e.renderCoordsHelper.toRenderCoords(r,t)&&e.renderCoordsHelper.toRenderCoords(n,c)?s(c,t,c):null}function C(e,r,o){const c=f(e),i=s(d(),r,o),p=t(d(),i,c),m=t(d(),i,p);return n(i[0],i[1],i[2],0,p[0],p[1],p[2],0,m[0],m[1],m[2],0,0,0,0,1)}function R(e,n,t){const s=t.projectToRenderScreen(e,o()),d=t.projectToRenderScreen(n,o());return r(s)&&r(d)?c(i(s,s,d)):0}export{h as createEdgeOffsetIntersectionPlane,j as createEdgeOffsetOperation,C as edgeOffsetRotationMatrix,R as screenEdgeLengthSquared};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../../chunks/tslib.es6.js\";import\"../../../../../core/has.js\";import t from\"../../../../../core/Evented.js\";import{HandleOwner as i}from\"../../../../../core/HandleOwner.js\";import a from\"../../../../../core/Handles.js\";import{handlesGroup as n,destroyHandle as r}from\"../../../../../core/handleUtils.js\";import{destroyMaybe as o,isSome as s,isNone as l,unwrap as p,removeMaybe as h}from\"../../../../../core/maybe.js\";import{init as d}from\"../../../../../core/watchUtils.js\";import{property as u}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as c}from\"../../../../../core/accessorSupport/decorators/subclass.js\";import{I as m}from\"../../../../../chunks/mat4f64.js\";import{l as g,f as _,e as f,s as v,b as M,a as y}from\"../../../../../chunks/vec3.js\";import{f as x,c as O}from\"../../../../../chunks/vec3f64.js\";import E from\"../../../../../geometry/Polyline.js\";import{makeDehydratedPoint as G}from\"../../../../../layers/graphics/dehydratedFeatures.js\";import{getGraphicEffectiveElevationInfo as b}from\"../../../../../support/elevationInfoUtils.js\";import{isVolumetricSymbol as S}from\"../../../../../symbols/support/utils.js\";import{Manipulator3D as I}from\"../../Manipulator3D.js\";import{createManipulatorMaterial as V,createManipulatorOutlineMaterial as H,placeAtGraphic as w}from\"../../manipulatorUtils.js\";import{SnappingVisualizer3D as A}from\"../../SnappingVisualizer3D.js\";import{screenToRenderPlaneFromEvent as P,convertToMapCoordinates as D,screenToMapXYAtLocation as L,screenToMapXYForGraphicAtLocation as N}from\"../dragEventPipeline3D.js\";import{ManipulatorType as U}from\"../ManipulatorType.js\";import{canMoveZ as k}from\"../manipulatorUtils.js\";import{settings as j,colors as T}from\"../settings.js\";import{createVisualElements as R}from\"../visualElementUtils.js\";import{DISC_RADIUS_SMALL as F}from\"../manipulations/config.js\";import{MoveManipulation as C}from\"../manipulations/MoveManipulation.js\";import{shapeOrientation as z}from\"../manipulations/moveUtils.js\";import{MoveXYGraphicManipulation as Z}from\"../manipulations/MoveXYGraphicManipulation.js\";import{createEdgeOffsetIntersectionPlane as X,createEdgeOffsetOperation as Y,edgeOffsetRotationMatrix as q,screenEdgeLengthSquared as W}from\"./edgeOffsetUtils.js\";import{OutlineVisualElement as K}from\"../../visualElements/OutlineVisualElement.js\";import{GraphicState as B}from\"../../../layers/graphics/GraphicState.js\";import J from\"../../../webgl-engine/lib/GeometryUtil.js\";import{MouseButton as Q}from\"../../../../input/IViewEvents.js\";import{addMapDelta as $,createManipulatorDragEventPipeline as ee,dragAtLocation as te,addScreenDelta as ie}from\"../../../../interactive/dragEventPipeline.js\";import{ManipulatorStateFlags as ae,ManipulatorStateCustomFlags as ne}from\"../../../../interactive/interfaces.js\";import{EditGeometryOperations as re}from\"../../../../interactive/editGeometry/EditGeometryOperations.js\";import{AccumulationBehaviour as oe}from\"../../../../interactive/editGeometry/interfaces.js\";import{SnappingContext as se}from\"../../../../interactive/snapping/SnappingContext.js\";import{SnappingPipeline as le}from\"../../../../interactive/snapping/SnappingDragPipelineStep.js\";let pe=class extends(t.EventedMixin(i)){constructor(e){super(e),this._vertexManipulatorMaterial=V(j.colorToVec4(j.reshapeManipulators.vertex.color),j.reshapeManipulators.vertex.renderOccluded),this._vertexManipulatorOutlineMaterial=H(j.colorToVec4(j.reshapeManipulators.vertex.outlineColor),j.reshapeManipulators.vertex.renderOccluded),this._vertexManipulatorHoverOutlineMaterial=H(j.colorToVec4(j.reshapeManipulators.vertex.hoverOutlineColor),j.reshapeManipulators.vertex.renderOccluded),this._edgeManipulatorMaterial=V(j.colorToVec4(j.reshapeManipulators.edge.color),j.reshapeManipulators.edge.renderOccluded),this._edgeManipulatorOutlineMaterial=H(j.colorToVec4(j.reshapeManipulators.edge.outlineColor),j.reshapeManipulators.edge.renderOccluded),this._edgeOffsetManipulatorMaterial=V(j.colorToVec4(j.reshapeManipulators.edgeOffset.color),j.reshapeManipulators.edgeOffset.renderOccluded,!1),this._edgeOffsetManipulatorHoverMaterial=V(j.colorToVec4(j.reshapeManipulators.edgeOffset.hoverColor),j.reshapeManipulators.edgeOffset.renderOccluded,!1),this._selectedManipulatorMaterial=V(j.colorToVec4(j.reshapeManipulators.selected.color),j.reshapeManipulators.selected.renderOccluded),this._selectedManipulatorOutlineMaterial=H(j.colorToVec4(j.reshapeManipulators.selected.outlineColor),j.reshapeManipulators.selected.renderOccluded),this._selectedManipulatorHoverOutlineMaterial=H(j.colorToVec4(j.reshapeManipulators.selected.hoverOutlineColor),j.reshapeManipulators.selected.renderOccluded),this._selectedIndex=0,this._vertexManipulatorGeometry=null,this._vertexManipulatorOutlineGeometry=null,this._edgeManipulatorGeometry=null,this._edgeManipulatorOutlineGeometry=null,this._edgeOffsetManipulatorGeometryInside=null,this._edgeOffsetManipulatorGeometryOutside=null,this._manipulatorHandles=new a,this._manipulatorInfos=[],this._editGeometryOperations=null,this._graphicMoveManipulation=null,this._moveManipulation=null,this._numGrabbing=0,this._numDragging=0,this._reshapeEventState=_e.NONE,this._outlineVisualElement=null,this.tool=null,this.outputGeometry=null,this._snappingPipeline=new le,this._snappingPipelineHandle=new le,this._vertexLaserLineVisualElement=null}initialize(){const e=new B({graphic:this.graphic});this._graphicState=e,this.handles.add([e.watch(\"displaying\",(e=>{for(const t of this._manipulatorInfos)t.manipulator.available=e})),this.view.trackGraphicState(e)])}destroy(){this._editGeometryOperations=o(this._editGeometryOperations),this._moveManipulation=o(this._moveManipulation),this._graphicMoveManipulation=o(this._graphicMoveManipulation),this._manipulatorHandles=o(this._manipulatorHandles),this.manipulators.removeAll(),this._manipulatorInfos=[],this._resetGrabbingDragging()}get inputGeometry(){return s(this._editGeometryOperations)?this._editGeometryOperations.data.geometry:null}set inputGeometry(e){this._recreateEditGeometryAndManipulators(e)}get updating(){return this.updatingHandles.updating}get manipulators(){return this.tool.manipulators}get view(){return this.tool.view}get graphic(){return this.tool.graphic}get enableZShape(){return this.tool.enableZShape}get enableZVertex(){return this.tool.enableZVertex}get enableMoveGraphic(){return this.tool.enableMoveGraphic}get enableMidpoints(){return this.tool.enableMidpoints}get enableEdgeOffset(){return this.tool.enableEdgeOffset}removeSelectedVertices(){const e=this._manipulatorInfos.filter((e=>e.manipulator.selected&&\"vertex\"===e.handle.type));this._removeVertices(e)}manipulatorSelectionChanged(){this.emit(\"manipulators-changed\")}_removeManipulators(){this._moveManipulation=o(this._moveManipulation),this._graphicMoveManipulation=o(this._graphicMoveManipulation),this._manipulatorHandles.removeAll(),this.manipulators.removeAll(),this._manipulatorInfos=[]}_resetGrabbingDragging(){this._numGrabbing=0,this._numDragging=0}_createManipulators(){if(l(this._editGeometryOperations))return;const e=b(this.graphic);for(const t of this._editGeometryOperations.data.components){for(const i of t.vertices)this._createVertexOrEdgeManipulator(i,e);for(const i of t.edges)this._createVertexOrEdgeManipulator(i,e)}this._createGraphicMoveManipulators(e)}get canRedo(){return s(this._editGeometryOperations)&&this._editGeometryOperations.canRedo}get canUndo(){return s(this._editGeometryOperations)&&this._editGeometryOperations.canUndo}redo(){if(l(this._editGeometryOperations))return null;const e=this._editGeometryOperations.redo();return s(e)&&(this.outputGeometry=this._editGeometryOperations.data.geometry,this._recreateManipulators()),e}undo(){if(l(this._editGeometryOperations))return null;this.emit(\"undo\");const e=this._editGeometryOperations.undo();return s(e)&&(this.outputGeometry=this._editGeometryOperations.data.geometry,this._recreateManipulators()),e}_recreateManipulators(){this._removeManipulators(),this._resetGrabbingDragging(),this._createManipulators()}_recreateEditGeometryAndManipulators(e=this.inputGeometry){this._removeManipulators(),this._resetGrabbingDragging(),l(e)||(o(this._editGeometryOperations),this._editGeometryOperations=re.fromGeometry(e,this.view.state.viewingMode),this._createManipulators())}_perGraphicManipulatorDragAction(e,t){if(\"end\"===t.action)return;let i=0;const a=[],n=this._manipulatorInfos.some((e=>\"vertex\"===e.handle.type&&e.manipulator.selected)),r=e===fe.SELECTED_OR_ALL&&n;for(const o of this._manipulatorInfos)de(o)&&(o.manipulator.grabbing||r&&!o.manipulator.selected||a.push(o),i++);if(0===a.length)return;this._moveVertices(a,t);if(a.length===i){if(this._updateEventState(_e.MOVING),this.destroyed)return;this.emit(\"move\",{type:\"move\",dx:t.screenDeltaX,dy:t.screenDeltaY,mover:this.graphic})}else{if(this._updateEventState(_e.RESHAPING),this.destroyed)return;this.emit(\"reshape\",{type:\"reshape\",mover:this.graphic})}}_isMultiVertexSelection(){let e=0;for(const t of this._manipulatorInfos)de(t)&&t.manipulator.selected&&e++;return e>1}_perVertexManipulatorDragAction(e){if(this._updateEventState(_e.RESHAPING),this.destroyed)return;const{mapDeltaX:t,mapDeltaY:i,mapDeltaZ:a}=e;if(!t&&!i&&!a)return;const n=[];for(const r of this._manipulatorInfos)de(r)&&(r.manipulator.selected&&!r.manipulator.grabbing||r===e.info)&&n.push(r);this._moveVertices(n,e,oe.ACCUMULATE_STEPS),this.emit(\"reshape\",{type:\"reshape\",mover:this.graphic})}_updateEventState(e){if(e===this._reshapeEventState)return!1;switch(e){case _e.NONE:if(0!==this._numGrabbing||0!==this._numDragging)return!1;switch(this._reshapeEventState){case _e.MOVING:this.emit(\"move\",{type:\"move-stop\",dx:0,dy:0,mover:this.graphic});break;case _e.RESHAPING:this.emit(\"reshape\",{type:\"reshape-stop\",mover:this.graphic})}break;case _e.MOVING:switch(this._reshapeEventState){case _e.NONE:this.emit(\"move\",{type:\"move-start\",dx:0,dy:0,mover:this.graphic});break;case _e.RESHAPING:this.emit(\"reshape\",{type:\"reshape-stop\",mover:this.graphic}),this.destroyed||this.emit(\"move\",{type:\"move-start\",dx:0,dy:0,mover:this.graphic})}break;case _e.RESHAPING:switch(this._reshapeEventState){case _e.NONE:this.emit(\"reshape\",{type:\"reshape-start\",mover:this.graphic});break;case _e.MOVING:this.emit(\"move\",{type:\"move-stop\",dx:0,dy:0,mover:this.graphic}),this.destroyed||this.emit(\"reshape\",{type:\"reshape-start\",mover:this.graphic})}}if(this.destroyed)return!1;const t=this._reshapeEventState!==e;return this._reshapeEventState=e,t}_createGraphicMoveManipulators(e){if(this._graphicMoveManipulation=new Z({tool:this.tool,view:this.view,graphicState:this._graphicState}),this.enableMoveGraphic){let e=null;this._manipulatorHandles.add(this._graphicMoveManipulation.createDragPipeline(((t,i,a)=>{i.next((e=>this._trackNumDragging(e))).next((t=>(\"start\"===t.action&&(e=p(this._editGeometryOperations).createUndoGroup()),t))).next((t=>{this._perGraphicManipulatorDragAction(fe.ALL,t),\"end\"===t.action&&(e=h(e))})),a.next(this._cancelDragOperation((()=>e=h(e))))})))}else this._graphicMoveManipulation.forEachManipulator((e=>{e.grabbable=!1,e.cursor=null}));this._graphicMoveManipulation.forEachManipulator((e=>this._manipulatorHandles.add([this._watchAndUpdateGrabState(e,!1),e.events.on(\"immediate-click\",(e=>{this._manipulatorInfos.some((e=>e.manipulator.selected))?this._clearSelection():this.emit(\"immediate-click\",{...e,graphic:this.graphic}),e.stopPropagation()}))]))),this._moveManipulation=new C({tool:this.tool,view:this.view,xyAvailable:!0,xyAxisAvailable:!0,zAvailable:this.enableZShape&&k(this.graphic),snapToScene:!1,radius:C.radiusForSymbol(this.graphic.symbol)}),this._moveManipulation.forEachManipulator((e=>{this.handles.add([this._watchAndUpdateGrabState(e,!1),e.events.on(\"immediate-click\",(t=>{this._moveManipulation.zManipulation.hasManipulator(e)||this._manipulatorInfos.some((e=>e.manipulator.selected))||this.emit(\"immediate-click\",{...t,graphic:this.graphic}),t.stopPropagation()}))])})),this._moveManipulation.elevationInfo={mode:\"absolute-height\",offset:0};const t=p(this.graphic.geometry).spatialReference;this.handles.add([this._moveManipulation.createDragPipeline(((t,i,a,n,r)=>{const o=a.next((e=>this._trackNumDragging(e))).next((e=>{const t=this._manipulatorInfos.filter((e=>de(e)&&e.manipulator.selected));return e.manipulatorType===U.TRANSLATE_XY&&1===t.length?{...e,info:t[0],snapOrigin:t[0].handle.pos}:{...e,info:null}})).next(this._snappingPipelineHandle.createSnapDragEventPipelineStep({predicate:e=>!!e.info,cancel:n,snappingManager:this.tool.snappingManager,snappingContext:new se({editGeometryOperations:p(this._editGeometryOperations),elevationInfo:e,pointer:r,excludeFeature:this.graphic,visualizer:new A}),updatingHandles:this.updatingHandles}),this._snappingPipelineHandle.next).next($()).next((e=>(this._perGraphicManipulatorDragAction(fe.SELECTED_OR_ALL,e),e)));return n.next(this._cancelDragOperation()),o}),e,t,this.graphic),d(this._graphicState,\"displaying\",(()=>{this._updateMoveManipulationPosition()})),this._graphicState.on(\"changed\",(()=>this._updateMoveManipulationPosition())),d(this._graphicState,\"isDraped\",(()=>{const e=\"align-move-manipulation\";this._graphicState.isDraped?this.handles.add(this.view.elevationProvider.on(\"elevation-change\",(()=>this._updateMoveManipulationPosition())),e):this.handles.remove(e)}))]),this._updateMoveManipulationPosition();const i=R({view:this.view,graphic:this.graphic,forEachManipulator:e=>{if(!this.destroyed){s(this._graphicMoveManipulation)&&this._graphicMoveManipulation.forEachManipulator(e);for(const t of this._manipulatorInfos)e(t.manipulator,U.TRANSLATE_XY);this._moveManipulation.forEachManipulator(e)}},onManipulatorsChanged:e=>this.on(\"manipulators-changed\",e)});s(i)&&(this._outlineVisualElement=i.visualElement instanceof K?i.visualElement:null),s(this._outlineVisualElement)&&this._manipulatorHandles.add([this._outlineVisualElement.events.on(\"attachment-origin-changed\",(()=>{this._graphicState.isDraped||this._updateMoveManipulationPosition()})),this._graphicState.watch(\"isDraped\",(()=>this._updateMoveManipulationPosition()))]),this._manipulatorHandles.add(i)}_createEdgeOffsetManipulator(e,t=b(this.graphic)){const i=j.reshapeManipulators.edgeOffset,a=i.size/2,r=a+i.collisionPadding;if(l(this._edgeOffsetManipulatorGeometryInside)||l(this._edgeOffsetManipulatorGeometryOutside)){const e=a/r,t=e*Math.sqrt(3)/2;this._edgeOffsetManipulatorGeometryInside=J.createExtrudedTriangle(t,e/2,e/2,i.height,i.offset),this._edgeOffsetManipulatorGeometryOutside=J.createExtrudedTriangle(-t,e/2,e/2,i.height,-i.offset)}const o=[{geometry:this._edgeOffsetManipulatorGeometryInside,material:this._edgeOffsetManipulatorMaterial,stateMask:ae.Unfocused},{geometry:this._edgeOffsetManipulatorGeometryInside,material:this._edgeOffsetManipulatorHoverMaterial,stateMask:ae.Focused},{geometry:this._edgeOffsetManipulatorGeometryOutside,material:this._edgeOffsetManipulatorMaterial,stateMask:ae.Unfocused},{geometry:this._edgeOffsetManipulatorGeometryOutside,material:this._edgeOffsetManipulatorHoverMaterial,stateMask:ae.Focused}],p=new I({view:this.view,renderObjects:o,elevationInfo:\"on-the-ground\"!==t.mode||S(this.graphic.symbol)?{mode:\"absolute-height\",offset:0}:t,worldOriented:!1,focusMultiplier:1,radius:r,available:!(!this.graphic.visible||!this.graphic.layer.visible),collisionType:{type:\"disc\",direction:x(0,0,1)},collisionPriority:1}),h=new I({view:this.view,renderObjects:[],worldSized:!0,worldOriented:!1,available:!(!this.graphic.visible||!this.graphic.layer.visible),collisionPriority:-10,cursor:this.enableMoveGraphic?\"move\":\"default\"}),d={manipulator:p,handle:e,locationUpdateHandle:null,type:\"edge\",selectedIndex:0,edgeManipulator:h,elevationInfo:t,visibilityHandle:null};this._autoHideEdgeOffsetManipulator(d,i.minSquaredEdgeLength),this._updateEdgeOffsetManipulator(d);const u=this._getManipulatorInfoFromHandle(d.handle.leftVertex).manipulator.events.on(\"location-update\",(()=>this._updateEdgeOffsetManipulator(d))),c=this._getManipulatorInfoFromHandle(d.handle.rightVertex).manipulator.events.on(\"location-update\",(()=>this._updateEdgeOffsetManipulator(d)));d.locationUpdateHandle=n([u,c]),this._manipulatorHandles.add(d.locationUpdateHandle,p),this._manipulatorHandles.add([this._watchAndUpdateGrabState(p,!0),this._watchAndUpdateGrabState(h,!0)],p),this._manipulatorHandles.add(ee(p,this._createEdgeOffsetPipeline(d,t)),p),this._manipulatorHandles.add(ee(h,((e,i,a,n)=>{if(\"touch\"===n){this._createEdgeOffsetPipeline(d,t)(e,i,a)}else if(this.enableMoveGraphic){const n=this.graphic,r=s(n.geometry)?n.geometry.spatialReference:null;i.next((e=>this._trackNumDragging(e))).next(te(this.view,e.elevationAlignedLocation)).next(L(this.view,e.elevationAlignedLocation,t,r,n)).next(ie()).next($()).next((e=>this._perGraphicManipulatorDragAction(fe.ALL,e))),a.next(this._cancelDragOperation())}})),p);const m=e=>{this._manipulatorInfos.some((e=>e.manipulator.selected))?this._clearSelection():this.emit(\"immediate-click\",{...e,graphic:this.graphic}),e.stopPropagation()};return this._manipulatorHandles.add([p.events.on(\"immediate-click\",m),h.events.on(\"immediate-click\",m)],p),this._manipulatorInfos.push(d),this.manipulators.add(p),this.manipulators.add(h),this.emit(\"manipulators-changed\"),d}_autoHideEdgeOffsetManipulator(e,t){const i=e.manipulator,a=e.edgeManipulator,r=()=>{h(e.visibilityHandle);const r=W(this._getManipulatorInfoFromHandle(e.handle.leftVertex).manipulator.renderLocation,this._getManipulatorInfoFromHandle(e.handle.rightVertex).manipulator.renderLocation,this.view.state.camera){i.grabbable=!0,a.grabbable=this.enableMoveGraphic}}]))};this._manipulatorHandles.add([i.events.on(\"focus-changed\",r),a.events.on(\"focus-changed\",r),{remove:()=>{h(e.visibilityHandle),this.manipulators.remove(a)}}],i),r()}_updateEdgeOffsetManipulator(e){this._updateManipulatorPosition(e);const t=p(this._editGeometryOperations).data.coordinateHelper,i=X(this.view,e.manipulator.elevationAlignedLocation,Y(t,e.handle,p(e.manipulator.elevationInfo))),a=this._getManipulatorInfoFromHandle(e.handle.leftVertex).manipulator.renderLocation,n=this._getManipulatorInfoFromHandle(e.handle.rightVertex).manipulator.renderLocation,r=s(i)?q(i,a,n):m;e.manipulator.modelTransform=r,e.edgeManipulator.elevationAlignedLocation=e.manipulator.elevationAlignedLocation,e.edgeManipulator.modelTransform=r;const o=g(_(me,a,n))/2;e.edgeManipulator.collisionType={type:\"line\",paths:[[[-o,0,0],[o,0,0]]]}}_createEdgeOffsetPipeline(e,t){return(i,a,n)=>{this._clearSelection();const{step:r,cleanup:o}=this._initializeEdgeOffset(e,t);a.next((e=>this._trackNumDragging(e))).next(te(this.view,i.elevationAlignedLocation)).next(r).next(P(this.view)).next(D(this.view,p(this._editGeometryOperations).data.spatialReference)).next($()).next(this._applyEdgeOffsetStep(e)).next((e=>{\"end\"===e.action&&o()})),n.next((e=>(o(),e))).next(this._cancelDragOperation())}}_initializeEdgeOffset(e,t){const i=p(this._editGeometryOperations),a=Y(i.data.coordinateHelper,e.handle,t),o=i.createUndoGroup(),s=X(this.view,e.manipulator.elevationAlignedLocation,a);a.requiresSplitEdgeLeft&&this._splitEdgeManipulator(this._getManipulatorInfoFromHandle(e.handle.leftVertex.leftEdge),1),a.requiresSplitEdgeRight&&this._splitEdgeManipulator(this._getManipulatorInfoFromHandle(e.handle.rightVertex.rightEdge),0);const d=()=>new E({paths:[[e.handle.leftVertex.pos,e.handle.rightVertex.pos]],spatialReference:p(this._editGeometryOperations).data.spatialReference}),u=new K({view:this.view,isDraped:this._graphicState.isDraped,geometry:d(),elevationInfo:e.elevationInfo,width:j.visualElements.lineGraphics.outline.width,color:j.colorToVec4(T.main),attached:!0});let c;const m=()=>{this._cleanEdgeOffsetCollapsedEdges(e),c=h(c)},g=this.on(\"undo\",m);return c=n([r(u),this._graphicState.watch(\"isDraped\",(e=>u.isDraped=e)),this._graphicState.on(\"changed\",(()=>u.geometry=d())),o,g]),{step:e=>l(a)||l(s)?(m(),null):{...e,operation:a,plane:s},cleanup:m}}_applyEdgeOffsetStep(e){return t=>{if(this.destroyed||l(t.operation))return t;this._updateEventState(_e.RESHAPING);const{mapDeltaX:i,mapDeltaY:a,mapDeltaZ:n}=t;return(i||a||n)&&(this._offsetEdge(e,t),this.emit(\"reshape\",{type:\"reshape\",mover:this.graphic})),t}}_cleanEdgeOffsetCollapsedEdges(e){var t,i;const a=null==(t=e.handle.leftVertex.leftEdge)?void 0:t.leftVertex,n=e.handle.leftVertex,r=null==(i=e.handle.rightVertex.rightEdge)?void 0:i.rightVertex,o=e.handle.rightVertex,s=p(this._editGeometryOperations).data.coordinateHelper,l=1e-6,h=[];a&&s.distance(a.pos,n.pos)this._updateManipulatorPosition(r))),t=this._getManipulatorInfoFromHandle(r.handle.rightVertex).manipulator.events.on(\"location-update\",(()=>this._updateManipulatorPosition(r)));r.locationUpdateHandle=n([e,t]),this._manipulatorHandles.add(r.locationUpdateHandle,a)}this._manipulatorHandles.add(this._watchAndUpdateGrabState(a,!0),a);const o=ee(a,((e,i,a,n)=>{let o=null;i.next((e=>this._trackNumDragging(e))).next((e=>{if(\"start\"===e.action&&(o=p(this._editGeometryOperations).createUndoGroup()),ue(r)){const t=this._splitEdgeManipulator(r);return{...e,info:t,snapOrigin:t.handle.pos}}return{...e,info:r,snapOrigin:r.handle.pos}})).next(te(this.view,e.elevationAlignedLocation)).next(N(this.view,this.graphic,e.elevationAlignedLocation,e.location.spatialReference,this.graphic)).next(this._snappingPipeline.createSnapDragEventPipelineStep({predicate:()=>!this._isMultiVertexSelection(),cancel:a,snappingManager:this.tool.snappingManager,snappingContext:new se({editGeometryOperations:p(this._editGeometryOperations),elevationInfo:t,pointer:n,excludeFeature:this.graphic,visualizer:new A}),updatingHandles:this.updatingHandles}),this._snappingPipeline.next).next($()).next((e=>{this._perVertexManipulatorDragAction(e),\"end\"===e.action&&(o=h(o))})),a.next(this._cancelDragOperation((()=>o=h(o))))}));return this._manipulatorHandles.add(o,a),this._manipulatorHandles.add([a.events.on(\"immediate-click\",(e=>this._manipulatorClickCallback(e,r))),a.events.on(\"select-changed\",(()=>{r.selectedIndex=++this._selectedIndex,this._updateMoveManipulationPosition()}))],a),this.emit(\"manipulators-changed\"),r}_trackNumDragging(e){switch(e.action){case\"start\":this._numDragging++;break;case\"end\":this._numDragging--}return e}_cancelDragOperation(e){return()=>{switch(this._numDragging--,this.undo(),this.outputGeometry=s(this._editGeometryOperations)?this._editGeometryOperations.data.geometry:null,s(this.tool.snappingManager)&&this.tool.snappingManager.doneSnapping(),this._reshapeEventState){case _e.NONE:break;case _e.MOVING:this.emit(\"move\",{type:\"move\",dx:0,dy:0,mover:this.graphic});break;case _e.RESHAPING:this.emit(\"reshape\",{type:\"reshape\",mover:this.graphic})}e&&e(),this.destroyed||this._updateEventState(_e.NONE)}}_setTypeSpecificManipulatorSettings(e,t,i){switch(t.type){case\"vertex\":e.state=ge.Vertex,e.selectable=!0,e.cursor=\"move\",e.collisionPriority=2,e.radius=j.reshapeManipulators.vertex.size/2+j.reshapeManipulators.vertex.collisionPadding,e.elevationInfo=i,e.interactive=s(this.graphic.geometry)&&\"point\"!==this.graphic.geometry.type;break;case\"edge\":e.state=ge.Edge,e.selectable=!1,e.cursor=\"copy\",e.collisionPriority=-1,e.radius=j.reshapeManipulators.edge.size/2+j.reshapeManipulators.edge.collisionPadding,e.elevationInfo=\"on-the-ground\"!==i.mode||S(this.graphic.symbol)?{mode:\"absolute-height\",offset:0}:i}}_watchAndUpdateGrabState(e,t){return e.events.on(\"grab-changed\",(i=>{if(\"start\"===i.action)t&&this._updateSelection(e),this._numGrabbing++;else if(this._numGrabbing--,this._updateEventState(_e.NONE),this.destroyed)return;this._moveManipulation.interactive=!this._numGrabbing,(\"touch\"!==i.pointerType||this.enableEdgeOffset)&&(this._manipulatorInfos.forEach((e=>{e.manipulator.interactive=!this._numGrabbing&&s(this.graphic.geometry)&&\"point\"!==this.graphic.geometry.type,\"edgeManipulator\"in e&&(e.edgeManipulator.interactive=!this._numGrabbing)})),p(this._graphicMoveManipulation).forEachManipulator((e=>e.interactive=!this._numGrabbing)))}))}_clearSelection(){for(const e of this._manipulatorInfos)e.manipulator.grabbing||(e.manipulator.selected=!1)}_updateSelection(e){e.grabbing&&!e.selected&&e.selectable&&(this._clearSelection(),e.selected=!0,this.emit(\"manipulators-changed\"))}_removeManipulator(e){e&&(this._manipulatorHandles.remove(e.manipulator),this._manipulatorInfos.splice(this._manipulatorInfos.indexOf(e),1),this.manipulators.remove(e.manipulator),this.emit(\"manipulators-changed\"))}_getManipulatorInfoFromHandle(e){if(e)for(const t of this._manipulatorInfos)if(e===t.handle)return t;return null}_updateManipulatorPosition(e){if(!e)return;const t=p(this._editGeometryOperations);if(\"vertex\"===e.handle.type)e.manipulator.location=t.data.coordinateHelper.vectorToDehydratedPoint(e.handle.pos,ce),e.manipulator.grabbing&&s(this._vertexLaserLineVisualElement)&&(this._vertexLaserLineVisualElement.visualElement.intersectsWorldUpAtLocation=e.manipulator.renderLocation);else if(\"edge\"===e.handle.type){const i=this._getManipulatorInfoFromHandle(e.handle.leftVertex).manipulator,a=this._getManipulatorInfoFromHandle(e.handle.rightVertex).manipulator;if(s(e.manipulator.elevationInfo)&&\"on-the-ground\"===e.manipulator.elevationInfo.mode){const n=i.location,r=a.location,o=.5,s=n.x+o*(r.x-n.x),l=n.y+o*(r.y-n.y),p=n.hasZ&&r.hasZ?0:void 0;e.manipulator.location=G(s,l,p,t.data.spatialReference)}else f(me,i.renderLocation,a.renderLocation,.5),e.manipulator.renderLocation=me}}_splitEdgeManipulator(e,t=.5){const i=p(this._editGeometryOperations),a=p(i.splitEdge(e.handle,t).createdVertex);e.locationUpdateHandle.remove(),e.locationUpdateHandle=void 0;const n=b(this.graphic);let r;this.enableEdgeOffset?(this._removeManipulator(e),r=this._createVertexOrEdgeManipulator(a)):(r=e,r.handle=a,r.type=\"vertex\",this._setTypeSpecificManipulatorSettings(e.manipulator,e.handle,n)),a.leftEdge&&this._createVertexOrEdgeManipulator(a.leftEdge),a.rightEdge&&this._createVertexOrEdgeManipulator(a.rightEdge),this.outputGeometry=i.data.geometry,this._updateManipulatorPosition(r),this._updateSelection(e.manipulator);const o=this._updateEventState(_e.RESHAPING),s=i.data.coordinateHelper.vectorToArray(r.handle.pos),l=i.data.components.indexOf(a.component);return this.emit(\"vertex-add\",{type:\"vertex-add\",vertices:[{coordinates:s,componentIndex:l,vertexIndex:p(a.index)}],added:s}),o&&this._updateEventState(_e.NONE),r}_updateMoveManipulationPosition(){const e=v(me,0,0,0);let t=0,i=!1,a=null,n=null;for(const r of this._manipulatorInfos)de(r)&&(r.manipulator.selected?(t++,M(e,e,r.manipulator.renderLocation),l(a)||r.selectedIndex>a.selectedIndex?(n=a,a=r):(l(n)||r.selectedIndex>n.selectedIndex)&&(n=r)):i=!0);if(0!==t){const e=this._graphicState.displaying;this._moveManipulation.xyManipulation.available=e,this._moveManipulation.xyAxisManipulation.available=e,this._moveManipulation.zManipulation.available=e&&this.enableZVertex&&k(this.graphic),this._moveManipulation.xyAxisManipulation.orthogonalAvailable=e&&1!==t}else{const e=this._graphicState.displaying&&this.enableMoveGraphic;this._moveManipulation.xyManipulation.available=e,this._moveManipulation.xyAxisManipulation.available=e,this._moveManipulation.xyAxisManipulation.orthogonalAvailable=e,this._moveManipulation.zManipulation.available=e&&this.enableZShape&&k(this.graphic)}if(0!==t){let e=0;if(s(a)){const t=a.handle.pos,i=s(n)?n.handle.pos:a.handle.leftEdge&&a.handle.leftEdge.leftVertex?a.handle.leftEdge.leftVertex.pos:null,r=!s(n)&&a.handle.rightEdge&&a.handle.rightEdge.rightVertex?a.handle.rightEdge.rightVertex.pos:null;i&&r?this._moveManipulation.xyAxisManipulation.available=!1:i?e=he(i,t):r&&(e=he(t,r))}this._moveManipulation.angle=e,this._moveManipulation.radius=F}else this._moveManipulation.angleDeferred=()=>z(p(this.graphic.geometry)),this._moveManipulation.radius=C.radiusForSymbol(this.graphic.symbol);0!==t&&i?(y(e,e,1/t),ce.spatialReference=p(this._editGeometryOperations).data.spatialReference,ce.hasZ=!0,this.view.renderCoordsHelper.fromRenderCoords(e,ce),this._moveManipulation.elevationAlignedLocation=ce):s(this._outlineVisualElement)&&!this._graphicState.isDraped&&s(this._outlineVisualElement.attachmentOrigin)?this._moveManipulation.elevationAlignedLocation=this._outlineVisualElement.attachmentOrigin:w(this.view,this._moveManipulation,this.graphic)}_removeVertices(e){const t=[],i=p(this._editGeometryOperations);for(const a of e)if(\"vertex\"===a.handle.type&&i.canRemoveVertex()){t.push(a.handle),this._removeManipulator(a),this._removeManipulator(this._getManipulatorInfoFromHandle(a.handle.leftEdge)),this._removeManipulator(this._getManipulatorInfoFromHandle(a.handle.rightEdge));const e=p(i.removeVertices([a.handle]).removedVertices[0].createdEdge);e&&this._createVertexOrEdgeManipulator(e)}if(t.length>0){const e=t.map((e=>{const t=i.data.components.indexOf(e.component);return{coordinates:i.data.coordinateHelper.vectorToArray(e.pos),componentIndex:t,vertexIndex:p(e.index)}}));this.outputGeometry=i.data.geometry;const a=this._updateEventState(_e.RESHAPING);if(this.destroyed)return;if(this.emit(\"vertex-remove\",{type:\"vertex-remove\",removed:e.map((e=>e.coordinates)),vertices:e}),this.destroyed)return;if(a&&(this._updateEventState(_e.NONE),this.destroyed))return;this._updateMoveManipulationPosition()}}_moveVertices(e,t,i=(\"start\"===t.action?oe.NEW_STEP:oe.ACCUMULATE_STEPS)){const a=p(this._editGeometryOperations);a.moveVertices(e.map((e=>e.handle)),t.mapDeltaX,t.mapDeltaY,t.mapDeltaZ,i),this.outputGeometry=a.data.geometry;for(const n of e)this._updateManipulatorPosition(n)}_offsetEdge(e,t){if(l(t.operation))return;const i=p(this._editGeometryOperations),a=t.operation.clone();a.distance=t.operation.signedDistanceToPoint(t.mapEnd),i.updateVertices([e.handle.leftVertex,e.handle.rightVertex],a),this.outputGeometry=i.data.geometry,this._updateManipulatorPosition(this._getManipulatorInfoFromHandle(e.handle.leftVertex)),this._updateManipulatorPosition(this._getManipulatorInfoFromHandle(e.handle.rightVertex))}_manipulatorClickCallback(e,t){e.shiftKey||this._clearSelection(),\"vertex\"===t.handle.type&&(t.manipulator.selected=!t.manipulator.selected),\"vertex\"===t.handle.type&&e.button===Q.Right&&this._removeVertices([t]),ue(t)&&e.button===Q.Left&&this._splitEdgeManipulator(t),e.stopPropagation()}};function he(e,t){return Math.atan2(t[1]-e[1],t[0]-e[0])+Math.PI/2}function de(e){return\"vertex\"===e.handle.type}function ue(e){return\"edge\"===e.handle.type}e([u({constructOnly:!0})],pe.prototype,\"tool\",void 0),e([u()],pe.prototype,\"inputGeometry\",null),e([u()],pe.prototype,\"outputGeometry\",void 0),e([u({readOnly:!0})],pe.prototype,\"updating\",null),pe=e([c(\"esri.views.3d.interactive.editingTools.reshapeGraphic.ReshapeOperation\")],pe);const ce=G(0,0,null,null),me=O();var ge,_e,fe;!function(e){e.Vertex=ne.Custom1,e.Edge=ne.Custom2}(ge||(ge={})),function(e){e[e.NONE=0]=\"NONE\",e[e.MOVING=1]=\"MOVING\",e[e.RESHAPING=2]=\"RESHAPING\"}(_e||(_e={})),function(e){e[e.ALL=0]=\"ALL\",e[e.SELECTED_OR_ALL=1]=\"SELECTED_OR_ALL\"}(fe||(fe={}));export{pe as ReshapeOperation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../../chunks/tslib.es6.js\";import t from\"../../../../../core/Evented.js\";import r from\"../../../../../core/Handles.js\";import{destroyMaybe as o,isSome as i,isNone as a}from\"../../../../../core/maybe.js\";import{init as n}from\"../../../../../core/watchUtils.js\";import{property as s}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/has.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as p}from\"../../../../../core/accessorSupport/decorators/subclass.js\";import{SupportedGraphicResult as h}from\"../isSupportedGraphicUtils.js\";import{geometryOfSupportedGraphic as l,isSupportedGraphic as c}from\"./isSupportedGraphic.js\";import{ReshapeOperation as d}from\"./ReshapeOperation.js\";import{InteractiveToolBase as m}from\"../../../../interactive/InteractiveToolBase.js\";let u=class extends(t.EventedMixin(m)){constructor(e){super(e),this._handles=new r,this._reshapeOperation=null,this._internalGeometryUpdate=!1,this.enableZShape=!0,this.enableZVertex=!0,this.enableMoveGraphic=!0,this.enableMidpoints=!0,this.enableEdgeOffset=!1,this.type=\"reshape-3d\",this.snappingManager=null,this.automaticManipulatorSelection=!1}destroy(){this._handles=o(this._handles),this._reshapeOperation=o(this._reshapeOperation),this._set(\"view\",null),this._set(\"graphic\",null)}get updating(){var e,t;return null!=(e=null==(t=this._reshapeOperation)?void 0:t.updating)&&e}_updateGeometry(){const e=l(this.graphic);this._reshapeOperation.inputGeometry=i(e)?e.clone():null}_updateGraphic(){if(this._handles.remove(\"onGraphicGeometryChange\"),this._updateGeometry(),c(this.graphic)!==h.SUPPORTED)return;const e=this.watch(\"graphic.geometry\",(()=>{!1===this._internalGeometryUpdate&&this._updateGeometry()}),!0);this._handles.add(e,\"onGraphicGeometryChange\")}manipulatorSelectionChanged(){this._reshapeOperation&&this._reshapeOperation.manipulatorSelectionChanged()}_updateGeometryInternally(e){this._internalGeometryUpdate=!0,this.graphic.geometry=e,this._internalGeometryUpdate=!1}_onReshapeGeometryChanged(){a(this.graphic)||this._updateGeometryInternally(this._reshapeOperation.outputGeometry.clone())}initialize(){this._reshapeOperation=new d({tool:this}),this._handles.add([this._reshapeOperation.on(\"reshape\",(e=>{\"reshape\"===e.type&&this._onReshapeGeometryChanged(),this.emit(\"reshape\",e)})),this._reshapeOperation.on(\"move\",(e=>{\"move\"===e.type&&this._onReshapeGeometryChanged(),this.emit(\"move\",e)})),this._reshapeOperation.on(\"vertex-add\",(e=>{this._onReshapeGeometryChanged(),this.emit(\"vertex-add\",e)})),this._reshapeOperation.on(\"vertex-remove\",(e=>{this._onReshapeGeometryChanged(),this.emit(\"vertex-remove\",e)})),this._reshapeOperation.on(\"immediate-click\",(e=>this.emit(\"immediate-click\",e))),this.view.on(\"pointer-down\",[\"Shift\"],(e=>{e.stopPropagation()})),n(this,\"graphic\",(()=>{this._updateGraphic()}),!0)]),this.finishToolCreation()}get canUndo(){var e,t;return null!=(e=null==(t=this._reshapeOperation)?void 0:t.canUndo)&&e}undo(){i(this.snappingManager)&&this.snappingManager.doneSnapping(),i(this._reshapeOperation.undo())&&this._updateGeometryInternally(this._reshapeOperation.outputGeometry.clone())}get canRedo(){var e,t;return null!=(e=null==(t=this._reshapeOperation)?void 0:t.canRedo)&&e}redo(){i(this.snappingManager)&&this.snappingManager.doneSnapping(),i(this._reshapeOperation.redo())&&this._updateGeometryInternally(this._reshapeOperation.outputGeometry.clone())}onInputEvent(e){\"key-down\"!==e.type||\"Delete\"!==e.key&&\"Backspace\"!==e.key||this._reshapeOperation.removeSelectedVertices()}reset(){}get test(){return{snappingManager:this.snappingManager}}};e([s()],u.prototype,\"_reshapeOperation\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"view\",void 0),e([s({constructOnly:!0})],u.prototype,\"graphic\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"enableZShape\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"enableZVertex\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"enableMoveGraphic\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"enableMidpoints\",void 0),e([s({constructOnly:!0,nonNullable:!0})],u.prototype,\"enableEdgeOffset\",void 0),e([s({readOnly:!0})],u.prototype,\"type\",void 0),e([s({constructOnly:!0})],u.prototype,\"snappingManager\",void 0),e([s({readOnly:!0})],u.prototype,\"updating\",null),e([s()],u.prototype,\"automaticManipulatorSelection\",void 0),u=e([p(\"esri.views.3d.interactive.editingTools.graphicReshape3D.GraphicReshapeTool\")],u);export{u as GraphicReshapeTool};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../../../../core/Evented.js\";import e from\"../../../../../core/Handles.js\";import{clamp as a,rad2deg as i}from\"../../../../../core/mathUtils.js\";import{isSome as r,destroyMaybe as o}from\"../../../../../core/maybe.js\";import{addFrameTask as s}from\"../../../../../core/scheduling.js\";import{createScreenPointArray as n}from\"../../../../../core/screenUtils.js\";import{init as l}from\"../../../../../core/watchUtils.js\";import{d as c,u as h,m as g,h as d,e as p}from\"../../../../../chunks/mat4.js\";import{c as u}from\"../../../../../chunks/mat4f64.js\";import{s as m,f,l as M,h as D,c as S,b as _}from\"../../../../../chunks/vec3.js\";import{a as y,f as v}from\"../../../../../chunks/vec3f64.js\";import{fromPositionAndNormal as R,create as b,normal as k}from\"../../../../../geometry/support/plane.js\";import{wrap as j,distance2 as A}from\"../../../../../geometry/support/ray.js\";import{sv3d as I,sm4d as T}from\"../../../../../geometry/support/vectorStacks.js\";import{getGraphicEffectiveElevationInfo as E}from\"../../../../../support/elevationInfoUtils.js\";import{Manipulator3D as w}from\"../../Manipulator3D.js\";import{calculateInputRotationTransform as F}from\"../../manipulatorUtils.js\";import{screenToRenderPlane as P}from\"../dragEventPipeline3D.js\";import{ManipulatorType as C}from\"../ManipulatorType.js\";import{ROTATE_INDICATOR_DIRECTION_BUFFER as O,SCALE_INDICATOR_DIRECTION_BUFFER as U,RING_HEIGHT as L,ROTATE_INDICATOR_ARROW_PLACEMENT_PERCENTAGE as x,ROTATE_INDICATOR_ARROW_TIP_LENGTH as N,ROTATE_INDICATOR_ARROW_TIP_RADIUS as G,RING_THICKNESS as H,HANDLE_COLOR as B,DRAG_THRESHOLD_PX as q,RING_INDICATOR_DELAY_MS as z,RING_RADIUS as J,INNER_INDICATOR_RADIUS as K,INDICATOR_THICKNESS as Q,OUTER_INDICATOR_RADIUS as V,SCALE_INDICATOR_OFFSET1 as W,SCALE_INDICATOR_OFFSET2 as X,RING_RESET_ANIMATION_SPEED_FACTOR as Y,GEOMETRY_SEGMENTS as Z,ROTATE_INDICATOR_ARC_LENGTH as $,SCALE_INDICATOR_ARC_LENGTH as tt}from\"../manipulations/config.js\";import{cyclicalPI as et}from\"../../../support/mathUtils.js\";import{CullFaceOptions as at}from\"../../../webgl-engine/lib/basicInterfaces.js\";import it from\"../../../webgl-engine/lib/GeometryUtil.js\";import{RenderOccludedFlag as rt}from\"../../../webgl-engine/lib/Material.js\";import{ColorMaterial as ot}from\"../../../webgl-engine/materials/ColorMaterial.js\";import{createManipulatorDragEventPipeline as st}from\"../../../../interactive/dragEventPipeline.js\";import{ManipulatorStateCustomFlags as nt,ManipulatorStateFlags as lt}from\"../../../../interactive/interfaces.js\";var ct,ht;!function(t){t.ScaleIn=nt.Custom2,t.ScaleOut=nt.Custom3,t.RotateLeft=nt.Custom4,t.RotateRight=nt.Custom5,t.Unlocked=nt.Custom7,t.DelayedFocused=nt.Custom8,t.TouchInput=nt.Custom12}(ct||(ct={}));class gt{constructor(a){this.mode=null,this._handles=new e,this._scaleRotateDragData=null,this._activeAnimation=null,this.events=new t,this.getFocused=()=>this.ringManipulator.focused,this.getScale=()=>r(this._scaleRotateDragData)&&\"scale\"===this._scaleRotateDragData.mode?this.adapter.scale:1,this.tool=a.tool,this.mode=a.mode,this.adapter=a.adapter,this._createManipulator(),this._updateDragState(),this._updateManipulatorTransform()}get angle(){return this.adapter.angle}get scale(){return this.adapter.scale}set location(t){this.ringManipulator.location=t}set elevationAlignedLocation(t){this.ringManipulator.elevationAlignedLocation=t}get grabbing(){return this.ringManipulator.grabbing}set interactive(t){this.ringManipulator.interactive=t}destroy(){r(this._activeAnimation)&&(this._activeAnimation.frameTask.remove(),this._activeAnimation=null),this._handles=o(this._handles),this.tool.manipulators.remove(this.ringManipulator),this.ringManipulator=null}startAnimation(t){this.cancelActiveAnimation(),t.start();const e=s({update:({deltaTime:e})=>{t.update(e)&&this.cancelActiveAnimation()}});this._activeAnimation={...t,frameTask:e}}cancelActiveAnimation(){r(this._activeAnimation)&&(this._activeAnimation.frameTask.remove(),this._activeAnimation=o(this._activeAnimation))}forEachManipulator(t){t(this.ringManipulator,C.SCALE_ROTATE)}_createManipulator(){this.ringManipulator=this._createRingManipulator(),this.tool.manipulators.add(this.ringManipulator);const t=this.ringManipulator,e=this.tool.graphicState.graphic,o=st(t,((t,o,s)=>{this._scaleRotateDragData=null,this.adapter.restart();const n={mode:\"none\",origin:y(t.renderLocation),initialAngle:this.adapter.angle,angle:0,angleDir:0,scaleDir:0};this._scaleRotateDragData=n,this._updateDragState();const l=I.get();this.tool.view.renderCoordsHelper.worldUpAtPosition(t.renderLocation,l),o.next(P(this.tool.view,R(t.renderLocation,l,b()))).next((t=>{const o=k(t.plane),s=F(t.renderStart,t.renderEnd,n.origin,o),l=et.shortestSignedDiff(n.angle,s);n.angleDir=a(n.angleDir+l,-O,O),n.angle=s;const c=dt(n,t),h=c-this.adapter.scale;if(n.scaleDir=a(n.scaleDir+h,-U,U),this._onScaleChanged(),\"none\"===n.mode){const a=this.mode||pt(t,t.plane,n.origin,this.tool.view.state.camera);if(r(a)){switch(a){case\"rotate\":this.tool.emit(\"graphic-rotate-start\",{graphic:e,angle:0}),this.tool.emit(\"record-undo\",{record:this.adapter.createUndoRecord()});break;case\"scale\":this.tool.emit(\"graphic-scale-start\",{graphic:e,xScale:1,yScale:1}),this.tool.emit(\"record-undo\",{record:this.adapter.createUndoRecord()})}n.mode=a}}switch(n.mode){case\"rotate\":this.adapter.angle=n.initialAngle+s;break;case\"scale\":this.adapter.scale=c,this._onScaleChanged()}switch(this._updateDragState(),this._updateManipulatorTransform(),t.action){case\"start\":case\"update\":switch(n.mode){case\"rotate\":this.tool.emit(\"graphic-rotate\",{graphic:e,angle:i(n.angle)});break;case\"scale\":this.tool.emit(\"graphic-scale\",{graphic:e,xScale:c,yScale:c})}break;case\"end\":switch(n.mode){case\"rotate\":this.tool.emit(\"graphic-rotate-stop\",{graphic:e,angle:i(n.angle)});break;case\"scale\":this.tool.emit(\"graphic-scale-stop\",{graphic:e,xScale:c,yScale:c})}}\"end\"===t.action&&(this.startAnimation(mt(this,(()=>this._onScaleChanged()))),this._scaleRotateDragData=null,this._updateDragState())})),s.next((()=>{if(this.adapter.cancel(),r(this._scaleRotateDragData)){switch(this._scaleRotateDragData.mode){case\"none\":break;case\"rotate\":this.tool.emit(\"graphic-rotate-stop\",{graphic:e,angle:0});break;case\"scale\":this.tool.emit(\"graphic-scale-stop\",{graphic:e,xScale:1,yScale:1})}this.startAnimation(mt(this,(()=>this._onScaleChanged()))),this._scaleRotateDragData=null,this._updateDragState()}}))}));this._handles.add(o),this._handles.add([this.ringManipulator.events.on(\"focus-changed\",(t=>{\"focus\"===t.action?this.startAnimation(ft(this,(()=>this._updateDelayedFocusedState()))):this._updateDelayedFocusedState()})),this.ringManipulator.events.on(\"immediate-click\",(t=>{t.stopPropagation()})),l(this.tool.graphicState,\"displaying\",(t=>this.ringManipulator.available=t))])}_onScaleChanged(){this.events.emit(\"scale-changed\"),this._updateManipulatorTransform()}_updateDelayedFocusedState(){this.ringManipulator.updateStateEnabled(ct.DelayedFocused,this.getFocused())}_updateDragState(){if(this.ringManipulator.updateStateEnabled(ct.Unlocked,!(r(this._scaleRotateDragData)&&\"none\"!==this._scaleRotateDragData.mode)),r(this._scaleRotateDragData))switch(this._scaleRotateDragData.mode){case\"rotate\":this.ringManipulator.updateStateEnabled(ct.ScaleIn|ct.ScaleOut,!1),this.ringManipulator.updateStateEnabled(ct.RotateLeft,this._scaleRotateDragData.angleDir<0),this.ringManipulator.updateStateEnabled(ct.RotateRight,this._scaleRotateDragData.angleDir>=0);break;case\"scale\":this.ringManipulator.updateStateEnabled(ct.RotateLeft|ct.RotateRight,!1),this.ringManipulator.updateStateEnabled(ct.ScaleIn,this._scaleRotateDragData.scaleDir<0),this.ringManipulator.updateStateEnabled(ct.ScaleOut,this._scaleRotateDragData.scaleDir>=0)}else this.ringManipulator.updateStateEnabled(ct.ScaleIn|ct.ScaleOut|ct.RotateLeft|ct.RotateRight,!1)}_updateManipulatorTransform(){const t=c(T.get(),this.adapter.angle,v(0,0,1)),e=this.getScale(),a=h(T.get(),m(I.get(),e,e,e));this.ringManipulator.modelTransform=g(T.get(),a,t)}_createRingManipulator(){const t=(t,e,a)=>{const i=[],r=Math.ceil(Z*(e-t)/(2*Math.PI));for(let o=0;ot(0,2*Math.PI,e),a=t=>[[-t/2,0],[t/2,0],[t/2,L/2],[-t/2,L/2]],i=(t,e)=>it.createPathExtrusionGeometry(a(e),t,[],[],!1),r=e(J),o=i(r,H),s={left:[],right:[]},n=[];for(let v=0;v<2;v++){const e=v*Math.PI-Math.PI/4,a=Math.PI/2-$,r=e+a,o=e+Math.PI/2-a,l=t(r,o,K),c=i(l,Q);n.push(l),n.push(t(r,o,V-H/2)),s.left.push(c),s.right.push(c);for(let t=0;t<2;t++){const e=0===t,a=u();if(e){d(a,a,[1,-1,1]),p(a,a,-r,[0,0,1]);const t=Math.round(x*(l.length-1));a[12]=l[t][0],a[13]=l[t][1],a[14]=l[t][2]}else{p(a,a,o,[0,0,1]);const t=Math.round((1-x)*(l.length-1));a[12]=l[t][0],a[13]=l[t][1],a[14]=l[t][2]}const i=it.createExtrudedTriangle(N,0,G,L);it.transformInPlace(i,a),(e?s.left:s.right).push(i)}}const l=[];for(let d=0;d<2;d++){const e=d*Math.PI-Math.PI/4,a=Math.PI/2-tt,r=e+a,o=e+Math.PI/2-a,s=t(r,o,V);l.push(i(s,Q))}const c=e(J+W),h=e(J+X),g=i(c,Q),m=i(h,Q),f=e(J-W),M=e(J-X),D=i(f,Q),S=i(M,Q),_=this._createMaterial(),y=this._createMaterial(.66),R=this._createMaterial(.5),b=this._createMaterial(.33);let k=[{geometry:o,material:_,stateMask:ct.DelayedFocused},{geometry:o,material:R,stateMask:lt.None}];this.mode&&\"scale\"!==this.mode||(k=k.concat([{geometry:l,material:_,stateMask:ct.DelayedFocused|ct.Unlocked},{geometry:g,material:y,stateMask:ct.DelayedFocused|ct.ScaleIn},{geometry:m,material:b,stateMask:ct.DelayedFocused|ct.ScaleIn},{geometry:D,material:y,stateMask:ct.DelayedFocused|ct.ScaleOut},{geometry:S,material:b,stateMask:ct.DelayedFocused|ct.ScaleOut}])),this.mode&&\"rotate\"!==this.mode||(k=k.concat([{geometry:s.right,material:_,stateMask:ct.DelayedFocused|ct.Unlocked},{geometry:s.left,material:_,stateMask:ct.DelayedFocused|ct.RotateLeft},{geometry:s.right,material:_,stateMask:ct.DelayedFocused|ct.RotateRight}]));const j=[r,...n];return new w({view:this.tool.view,renderObjects:k,autoScaleRenderObjects:!1,worldOriented:!0,radius:H,focusMultiplier:1,touchMultiplier:1.5,elevationInfo:E(this.tool.graphicState.graphic),collisionType:{type:\"ribbon\",paths:j,direction:v(0,0,1)}})}_createMaterial(t=1){const e=[...B,t];return new ot({color:e,transparent:1!==t,cullFace:at.Back,renderOccluded:rt.Transparent})}get test(){return{ringManipulator:this.ringManipulator}}}function dt(t,e){const a=f(I.get(),e.renderStart,t.origin),i=f(I.get(),e.renderEnd,t.origin),r=M(a),o=M(i);return 0===r?0:o/r}function pt(t,e,a,i){const{renderStart:r,renderEnd:o}=t,s=ut(r,i,I.get()),n=ut(o,i,I.get());if(D(s,n)i;return{start:()=>{i=t.getScale(),a=t.getScale,t.getScale=r,e()},update:t=>(i+=((i+1)/2-i)*Math.min(t*Y,1),e(),Math.abs(i-1)<.01?ht.STOP:ht.CONTINUE),destroy:()=>{t.getScale=a,e()}}}function ft(t,e){let a=0,i=null;const r=()=>!1;return{start:()=>{i=t.getFocused,t.getFocused=r,a=0,e()},update:t=>(a+=t,!i()||a>z?ht.STOP:ht.CONTINUE),destroy:()=>{t.getFocused=i,e()}}}!function(t){t[t.CONTINUE=0]=\"CONTINUE\",t[t.STOP=1]=\"STOP\"}(ht||(ht={}));const Mt=n();export{gt as GraphicScaleRotateTransform};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,none as t}from\"../../../../../core/maybe.js\";function r(t){return e(t.geometry)&&\"mesh\"===t.geometry.type?o(t.geometry):n(t)}function o(t){return e(t.transform)?m(t,t.transform):i(t)}function n(e){let r=e.geometry,o=t;return{undo(e){o=e.geometry,e.geometry=r},redo(e){r=e.geometry,e.geometry=o}}}function m(t,r){let o=r.clone(),n=null;return{undo:r=>{n=e(t.transform)?t.transform.clone():null,t.transform=o,r.notifyGeometryChanged()},redo:r=>{o=e(t.transform)?t.transform.clone():null,t.transform=n,r.notifyGeometryChanged()}}}function i(e){let t,r=e.vertexAttributes.clonePositional();return{undo:o=>{t=e.vertexAttributes.clonePositional(),e.vertexAttributes=r,o.notifyGeometryChanged()},redo:o=>{r=e.vertexAttributes.clonePositional(),e.vertexAttributes=t,o.notifyGeometryChanged()}}}export{r as createGraphicGeometryUndoRecord};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../../chunks/tslib.es6.js\";import{HandleOwner as t}from\"../../../../../core/HandleOwner.js\";import{deg2rad as s,rad2deg as r}from\"../../../../../core/mathUtils.js\";import{isSome as i}from\"../../../../../core/maybe.js\";import{watch as o,sync as a}from\"../../../../../core/reactiveUtils.js\";import{property as n}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/has.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as c}from\"../../../../../core/accessorSupport/decorators/subclass.js\";import{axis as h,angle as p}from\"../../../../../geometry/support/axisAngleDegrees.js\";import{ViewingMode as l}from\"../../../../ViewingMode.js\";import{createGraphicGeometryUndoRecord as g}from\"./undoRecords.js\";let m=class extends t{constructor(e){super(e),this.angle=0,this.scale=1,this.initialAngle=0,this.previousAngle=0,this.previousScale=1}initialize(){this.restart()}restart(){this.handles.remove(d);const e=this.geometry.transform;if(this.scale=1,i(e)){const t=h(e.rotation)[2];Math.abs(t)>.999999&&(this.angle=s(p(e.rotation))*Math.sign(t))}this.initialAngle=this.angle,this.previousAngle=this.angle,this.previousScale=this.scale,this.handles.add(o((()=>({angle:this.angle,scale:this.scale})),(e=>this._update(e)),a),d)}cancel(){this.scale=1,this.angle=this.initialAngle}createUndoRecord(){return g(this.graphic)}_update({scale:e,angle:t}){const s=this.geometry.anchor,o=this.viewingMode===l.Global;e!==this.previousScale&&(this.geometry.scale(e/this.previousScale,{origin:s,geographic:o}),this.previousScale=e,i(this.geometry.transform)&&this.graphic.notifyMeshTransformChanged(),this.graphic.notifyGeometryChanged()),t!==this.previousAngle&&(this.geometry.rotate(0,0,r(t-this.previousAngle),{origin:s,geographic:o}),this.previousAngle=t,i(this.geometry.transform)&&this.graphic.notifyMeshTransformChanged(),this.graphic.notifyGeometryChanged())}};e([n({constructOnly:!0})],m.prototype,\"graphic\",void 0),e([n({constructOnly:!0})],m.prototype,\"geometry\",void 0),e([n({constructOnly:!0})],m.prototype,\"viewingMode\",void 0),e([n()],m.prototype,\"angle\",void 0),e([n()],m.prototype,\"scale\",void 0),m=e([c(\"esri.views.3d.interactive.editingTools.transformGraphic.ScaleRotateMeshAdapter\")],m);const d=\"scale-heading-update-key\";export{m as ScaleRotateMeshAdapter};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as t}from\"../../../../../chunks/tslib.es6.js\";import{HandleOwner as e}from\"../../../../../core/HandleOwner.js\";import{deg2rad as i,rad2deg as s}from\"../../../../../core/mathUtils.js\";import{isSome as o,none as r,isNone as a,unwrapOr as l}from\"../../../../../core/maybe.js\";import{watch as h,sync as c}from\"../../../../../core/reactiveUtils.js\";import{property as n}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/has.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as p}from\"../../../../../core/accessorSupport/decorators/subclass.js\";let y=class extends e{constructor(t){super(t),this.angle=0,this.scale=1,this.symbol=null,this.initialAngle=0}initialize(){this.restart()}restart(){this.handles.remove(m);const t=o(this.graphic.symbol)&&\"point-3d\"===this.graphic.symbol.type?this.graphic.symbol:r;if(this.symbol=o(t)?t.clone():null,this.initialSizes=[],o(t)){const e=this.findLayerView();o(e)&&(this.initialSizes=t.symbolLayers.map((i=>\"object\"===i.type?e.getSymbolLayerSize(t,i):null)).toArray())}this.angle=0,o(t)&&t.symbolLayers.some((t=>!(\"object\"!==t.type||!o(t.heading))&&(this.angle=-i(t.heading),!0))),this.initialAngle=this.angle,this.scale=1,this.handles.add(h((()=>({angle:this.angle,scale:this.scale})),(t=>this._updateSymbol(t)),c),m)}cancel(){this.graphic.symbol=this.symbol}createUndoRecord(){let t=this.graphic.symbol,e=null;return{undo:i=>{e=i.symbol,i.symbol=t,this.restart()},redo:i=>{t=i.symbol,i.symbol=e,this.restart()}}}_updateSymbol({scale:t,angle:e}){const i=this.graphic.symbol;if(a(this.symbol)||a(i)||\"point-3d\"!==i.type)return;const r=i.clone(),h=-s(e-this.initialAngle);let c=!1;this._forEachObjectSymbolLayerPair(this.symbol,r,((e,i,s)=>{const r=l(e.heading,0)+h;i.heading!==r&&(i.heading=r,c=!0);const a=this.initialSizes[s];if(o(a)&&\"width\"in a){a.width=this.sizeFilter(a.width),a.height=this.sizeFilter(a.height),a.depth=this.sizeFilter(a.depth);const e=a.width*t;i.width!==e&&(i.width=e,c=!0);const s=a.depth*t;i.depth!==s&&(i.depth=s,c=!0);const o=a.height*t;i.height!==o&&(i.height=o,c=!0)}})),c&&(this.graphic.symbol=r)}_forEachObjectSymbolLayerPair(t,e,i){t.symbolLayers.forEach(((t,s)=>{const o=e.symbolLayers.getItemAt(s);\"object\"===t.type&&\"object\"===o.type&&i(t,o,s)}))}};t([n()],y.prototype,\"angle\",void 0),t([n()],y.prototype,\"scale\",void 0),t([n({constructOnly:!0})],y.prototype,\"graphic\",void 0),t([n()],y.prototype,\"symbol\",void 0),t([n({constructOnly:!0})],y.prototype,\"findLayerView\",void 0),t([n({constructOnly:!0})],y.prototype,\"sizeFilter\",void 0),y=t([p(\"esri.views.3d.interactive.editingTools.transformGraphic.ScaleRotateObjectSymbol3DAdapter\")],y);const m=\"scale-heading-update-key\";export{y as ScaleRotateObjectSymbol3DAdapter};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as t}from\"../../../../../chunks/tslib.es6.js\";import e from\"../../../../../core/Evented.js\";import{HandleOwnerMixin as i}from\"../../../../../core/HandleOwner.js\";import{makeHandle as a}from\"../../../../../core/handleUtils.js\";import{isSome as o,isNone as n,destroyMaybe as s}from\"../../../../../core/maybe.js\";import{property as r}from\"../../../../../core/accessorSupport/decorators/property.js\";import\"../../../../../core/arrayUtils.js\";import\"../../../../../core/has.js\";import\"../../../../../core/accessorSupport/ensureType.js\";import{subclass as l}from\"../../../../../core/accessorSupport/decorators/subclass.js\";import p from\"../../../../../geometry/Point.js\";import{getGraphicEffectiveElevationInfo as h}from\"../../../../../support/elevationInfoUtils.js\";import{ViewingMode as c}from\"../../../../ViewingMode.js\";import{Manipulator3D as m}from\"../../Manipulator3D.js\";import{placeAtGraphic as d}from\"../../manipulatorUtils.js\";import{SnappingVisualizer3D as g}from\"../../SnappingVisualizer3D.js\";import{canMoveZ as u}from\"../manipulatorUtils.js\";import{createVisualElements as v}from\"../visualElementUtils.js\";import{ALIGN_ARROWS_SCALE_THRESHOLD as M}from\"../manipulations/config.js\";import{MoveManipulation as y,ManipulationType as f}from\"../manipulations/MoveManipulation.js\";import{GraphicScaleRotateTransform as S}from\"./GraphicScaleRotateTransform.js\";import{ScaleRotateMeshAdapter as R}from\"./ScaleRotateMeshAdapter.js\";import{ScaleRotateObjectSymbol3DAdapter as w}from\"./ScaleRotateObjectSymbol3DAdapter.js\";import{createGraphicGeometryUndoRecord as b}from\"./undoRecords.js\";import{GraphicState as j}from\"../../../layers/graphics/GraphicState.js\";import{InteractiveToolBase as _}from\"../../../../interactive/InteractiveToolBase.js\";import{EditGeometryOperations as A}from\"../../../../interactive/editGeometry/EditGeometryOperations.js\";import{SnappingContext as x}from\"../../../../interactive/snapping/SnappingContext.js\";import{SnappingPipeline as G}from\"../../../../interactive/snapping/SnappingDragPipelineStep.js\";let T=class extends(i(e.EventedMixin(_))){constructor(t){super(t),this.enableZ=!0,this.enableRotation=!0,this.enableScaling=!0,this.type=\"transform-3d\",this.scaleRotate=null,this.snappingPipeline=new G}initialize(){this.graphicState=new j({graphic:this.graphic}),this.moveManipulation=new y({tool:this,view:this.view,snapToScene:this.snapToScene,xyAvailable:!0,xyAxisAvailable:!0,zAvailable:this.enableZ&&u(this.graphic),radius:y.radiusForSymbol(this.graphic.symbol)}),this.moveManipulation.forEachManipulator((t=>this.handles.add(t.events.on(\"immediate-click\",(t=>{this.emit(\"immediate-click\",{...t,graphic:this.graphicState.graphic}),t.stopPropagation()}))))),this.moveManipulation.elevationInfo=h(this.graphic);const t=this.graphic.geometry;if(this.moveManipulation.createGraphicDragPipeline(((e,i,a,n,s)=>(o(t)&&e===f.XY&&(a=a.next(this.snappingPipeline.createSnapDragEventPipelineStep({snappingContext:new x({elevationInfo:h(this.graphic),pointer:s,editGeometryOperations:A.fromGeometry(new p({spatialReference:t.spatialReference}),this.view.state.viewingMode),visualizer:new g,excludeFeature:this.graphic}),snappingManager:this.snappingManager,updatingHandles:this.updatingHandles,cancel:n}),this.snappingPipeline.next)),a)),this.graphicState,(t=>{const{action:e,graphic:i,dxScreen:a,dyScreen:o}=t,n={graphic:i,dxScreen:a,dyScreen:o};switch(e){case\"start\":this.emit(\"graphic-translate-start\",n),this.emit(\"record-undo\",{record:this._createGeometryUndoRecord()});break;case\"update\":this.emit(\"graphic-translate\",n);break;case\"end\":this.emit(\"graphic-translate-stop\",n)}})),this.moveManipulation.angle=o(this.scaleRotate)?this.scaleRotate.angle:0,this.scaleRotateAdapter=this._createScaleRotateAdapter(),this.handles.add(this.scaleRotateAdapter.watch(\"angle\",(()=>this._updateMoveAngle()))),this.enableScaling||this.enableRotation){const t=this.enableScaling&&this.enableRotation?null:this.enableScaling?\"scale\":\"rotate\";this.scaleRotate=new S({tool:this,mode:t,adapter:this.scaleRotateAdapter}),this.handles.add(this.scaleRotate.events.on(\"scale-changed\",(()=>this._onScaleChanged())))}this.handles.add([v({view:this.view,graphic:this.graphic,forEachManipulator:t=>this._forEachManipulator(t),onManipulatorsChanged:()=>a()}),this.graphicState.on(\"changed\",(()=>this._onGeometryChanged())),this._hideManipulatorsForGraphicState(),this.view.watch(\"scale\",(()=>this._updateMoveAngle()))]),this.handles.add(this.view.trackGraphicState(this.graphicState)),this._onGeometryChanged(),this._updateMoveAngle(),this._forEachManipulator((t=>{t instanceof m&&this.handles.add(t.events.on(\"grab-changed\",(()=>this._updateManipulatorsInteractive())))})),this.finishToolCreation()}_updateManipulatorsInteractive(){n(this.scaleRotate)||(this.scaleRotate.interactive=!this.moveManipulation.grabbing,this.moveManipulation.interactive=!this.scaleRotate.grabbing)}_createScaleRotateAdapter(){return o(this.graphic.geometry)&&\"mesh\"===this.graphic.geometry.type?new R({graphic:this.graphic,geometry:this.graphic.geometry,viewingMode:this.view.state.viewingMode}):new w({graphic:this.graphic,sizeFilter:t=>this._enforceNonZeroSize(t),findLayerView:()=>this.view.allLayerViews.find((t=>t.layer===this.graphic.layer))})}_forEachManipulator(t){this.moveManipulation.forEachManipulator(t),o(this.scaleRotate)&&this.scaleRotate.forEachManipulator(t)}_hideManipulatorsForGraphicState(){return this.graphicState.watch(\"displaying\",(t=>{this._forEachManipulator((e=>e.available=t)),this.moveManipulation.zManipulation.available=t&&this.enableZ&&u(this.graphic)}))}_createGeometryUndoRecord(){return b(this.graphic)}destroy(){this.moveManipulation.destroy(),this.scaleRotate=s(this.scaleRotate),this.scaleRotateAdapter=s(this.scaleRotateAdapter),this._set(\"view\",null),this._set(\"graphic\",null)}set snapToScene(t){this.moveManipulation&&(this.moveManipulation.snapToScene=t),this._set(\"snapToScene\",t)}get updating(){return this.updatingHandles.updating}set location(t){this.moveManipulation.location=t,o(this.scaleRotate)&&(this.scaleRotate.location=t)}set elevationAlignedLocation(t){this.moveManipulation.elevationAlignedLocation=t,o(this.scaleRotate)&&(this.scaleRotate.elevationAlignedLocation=t)}reset(){}onHide(){o(this.scaleRotate)&&this.scaleRotate.cancelActiveAnimation()}_onScaleChanged(){if(n(this.scaleRotate))return;const t=this.scaleRotate.getScale();this.moveManipulation.displayScale=t}_updateMoveAngle(){this.view.state.viewingMode===c.Local||this.view.scalel.normalize(a(o),0,!0)))],c.prototype,\"heading\",void 0),o([s({type:Number,nonNullable:!0,range:{min:0,max:360}}),m(),i((o=>l.normalize(a(o),0,!0)))],c.prototype,\"tilt\",void 0),o([s({type:Number,nonNullable:!0}),m()],c.prototype,\"width\",void 0),o([s({type:Number,nonNullable:!0}),m()],c.prototype,\"height\",void 0),c=o([p(\"esri.analysis.SlicePlane\")],c);const h=c;export{h as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport o from\"../../../../../core/has.js\";import{deg2rad as t}from\"../../../../../core/mathUtils.js\";const r=o(\"mac\")?\"Meta\":\"Control\",s=\"Shift\",a=2,c=1.15,m=1.15,h=1.1,e=2500,i=.02,f=Math.cos(t(45)),p=Math.cos(t(5)),M=.95,j=.3,l=.7,n=[1,.5,0],x=2,C=1,S=[...n,l],U=[0,0,0,.04],b=[...n,.5],d=[...n,1],g=[1,1,1,1],k=[1,.8,.6,1],q=[1,.93,.86,1],u=[...n,1],v=[...n,1],w=3,y=11,z=22.5,A=40,B=48,D=2.25,E=[...n,1],F=4,G=1,H=.3,I=6,J=4,K=12,L=40,N=27,O=1600,P=.4;export{a as DISPLAY_FOCUS_MULTIPLIER,b as GRID_COLOR,i as INITIAL_DEPTH_OFFSET_FRAC,P as INITIAL_PLANE_HALF_SIZE_VIEW_PROPORTION,U as PLANE_BACKGROUND_COLOR,O as PLANE_MIN_BASIS_SCREEN_LEN2,S as PLANE_OUTLINE_COLOR,C as PLANE_OUTLINE_WIDTH,x as PLANE_PREVIEW_OUTLINE_WIDTH,e as POINTER_MOVE_TIMER_MS,M as PREVIEW_FADE_DOT_THRESHOLD,j as PREVIEW_FADE_DURATION_SECONDS,E as RESIZE_HANDLE_COLOR,I as RESIZE_HANDLE_CORNER_INPUT_RADIUS,F as RESIZE_HANDLE_CORNER_WIDTH,J as RESIZE_HANDLE_EDGE_INPUT_RADIUS,H as RESIZE_HANDLE_EDGE_PADDING_FRAC,G as RESIZE_HANDLE_EDGE_WIDTH,d as ROTATE_HEADING_CALLOUT_COLOR,N as ROTATE_HEADING_DISC_RADIUS,h as ROTATE_HEADING_DISC_RADIUS_FOCUS_MULTIPLIER,L as ROTATE_HEADING_OFFSET_DISTANCE,K as ROTATE_HEADING_TIP_LENGTH,k as SHIFT_RESTART_ARROW_CAP_COLOR,B as SHIFT_RESTART_ARROW_LENGTH,D as SHIFT_RESTART_ARROW_OUTLINE_WIDTH,g as SHIFT_RESTART_ARROW_TIP_COLOR,u as SHIFT_RESTART_CALLOUT_COLOR,A as SHIFT_RESTART_OFFSET_DISTANCE,v as SHIFT_RESTART_OUTLINE_COLOR,m as SHIFT_RESTART_TIP_FOCUS_MULTIPLIER,z as SHIFT_RESTART_TIP_LENGTH,y as SHIFT_RESTART_TIP_RADIUS,q as SHIFT_RESTART_TUBE_COLOR,c as SHIFT_RESTART_TUBE_FOCUS_MULTIPLIER,w as SHIFT_RESTART_TUBE_RADIUS,p as SMALL_ANGLE_DOT_THRESHOLD,f as VERTICAL_DOT_THRESHOLD,r as forceHorizontalModifier,s as forceVerticalModifier};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e,isNone as t}from\"../../../../core/maybe.js\";import{f as r}from\"../../../../chunks/mat4.js\";import{c as s}from\"../../../../chunks/mat4f64.js\";import{s as i}from\"../../../../chunks/vec3.js\";import{Z as o,c as n}from\"../../../../chunks/vec3f64.js\";import{g as l,c as h}from\"../../../../chunks/vec4.js\";import{f as a,c as p,a as d}from\"../../../../chunks/vec4f32.js\";import{Object3DVisualElement as f}from\"./Object3DVisualElement.js\";import{createGeometry as u,RemoveDuplicateStartEnd as _}from\"../../layers/graphics/lineUtils.js\";import{RenderOccludedFlag as c}from\"../../webgl-engine/lib/Material.js\";import{RibbonLineMaterial as m}from\"../../webgl-engine/materials/RibbonLineMaterial.js\";class g extends f{constructor(e){super(e),this._renderOccluded=c.OccludeAndTransparent,this._width=1,this._color=a(1,0,1,1),this._innerWidth=1,this._innerColor=null,this._stipplePattern=null,this._stippleOffColor=null,this._stipplePreferContinuous=!0,this._writeDepthEnabled=!0,this._falloff=0,this._polygonOffset=!1,this.applyProps(e)}setGeometryFromRenderSpacePoint(e){const t=1e3,r=[];r.push([[e[0]-t,e[1]+0,e[2]+0],[e[0]+t,e[1]+0,e[2]+0]]),r.push([[e[0]-0,e[1]-t,e[2]+0],[e[0]+0,e[1]+t,e[2]+0]]),r.push([[e[0]-0,e[1]+0,e[2]-t],[e[0]+0,e[1]+0,e[2]+t]]),this.geometry=r}setGeometryFromExtent(e){const t=this.view.spatialReference,r=n(),s=n(),o=100,l=[];i(r,e[0],e[1],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),i(r,e[2],e[1],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),i(r,e[2],e[3],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),i(r,e[0],e[3],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),i(r,e[0],e[1],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),i(r,e[0],e[1],o),this.view.renderCoordsHelper.toRenderCoords(r,t,s),l.push([s[0],s[1],s[2]]),this.geometry=[l]}setGeometryFromFrustum(e){const t=[];e.lines.forEach((e=>{t.push([e.origin[0],e.origin[1],e.origin[2]]),t.push([e.endpoint[0],e.endpoint[1],e.endpoint[2]])})),this.geometry=[t]}setGeometryFromBoundedPlane(e){const t=[],r=e.origin,s=e.basis1,i=e.basis2,o=.5,l=n(),h=n(),a=n(),p=n();l[0]=r[0]-s[0]*o-i[0]*o,l[1]=r[1]-s[1]*o-i[1]*o,l[2]=r[2]-s[2]*o-i[2]*o,h[0]=r[0]-s[0]*o+i[0]*o,h[1]=r[1]-s[1]*o+i[1]*o,h[2]=r[2]-s[2]*o+i[2]*o,a[0]=r[0]+s[0]*o+i[0]*o,a[1]=r[1]+s[1]*o+i[1]*o,a[2]=r[2]+s[2]*o+i[2]*o,p[0]=r[0]+s[0]*o-i[0]*o,p[1]=r[1]+s[1]*o-i[1]*o,p[2]=r[2]+s[2]*o-i[2]*o,t.push([l[0],l[1],l[2]]),t.push([h[0],h[1],h[2]]),t.push([a[0],a[1],a[2]]),t.push([p[0],p[1],p[2]]),t.push([l[0],l[1],l[2]]),this.geometry=[t]}setGeometryFromSegment(e){const t=e.endRenderSpace;this.transform=r(C,t);const{points:s}=e.createRenderGeometry(t,this.view.renderCoordsHelper);this.geometry=[s]}setGeometryFromSegments(e,t=o){this.transform=r(C,t),this.geometry=e.map((e=>e.createRenderGeometry(t,this.view.renderCoordsHelper).points))}get renderOccluded(){return this._renderOccluded}set renderOccluded(e){e!==this._renderOccluded&&(this._renderOccluded=e,this._updateMaterial())}get geometry(){return this._geometry}set geometry(e){this._geometry=e,this.recreateGeometry()}get width(){return this._width}set width(e){e!==this._width&&(this._width=e,this._updateMaterial())}get color(){return this._color}set color(e){l(e,this._color)||(h(this._color,e),this._updateMaterial())}get innerWidth(){return this._innerWidth}set innerWidth(e){e!==this._innerWidth&&(this._innerWidth=e,this._updateMaterial())}get innerColor(){return this._innerColor}set innerColor(r){e(r)?!t(this._innerColor)&&l(r,this._innerColor)||(this._innerColor=h(p(),r),this._updateMaterial()):e(this._innerColor)&&(this._innerColor=null,this._updateMaterial())}get stipplePattern(){return this._stipplePattern}set stipplePattern(t){const r=e(t)!==e(this._stipplePattern);this._stipplePattern=t,r?this.recreate():this._updateMaterial()}get stippleOffColor(){return this._stippleOffColor}set stippleOffColor(r){(t(r)||t(this._stippleOffColor)||!l(r,this._stippleOffColor))&&(this._stippleOffColor=e(r)?d(r):null,this._updateMaterial())}get stipplePreferContinuous(){return this._stipplePreferContinuous}set stipplePreferContinuous(e){this._stipplePreferContinuous!==e&&(this._stipplePreferContinuous=e,this._updateMaterial())}get writeDepthEnabled(){return this._writeDepthEnabled}set writeDepthEnabled(e){this._writeDepthEnabled!==e&&(this._writeDepthEnabled=e,this._updateMaterial())}get falloff(){return this._falloff}set falloff(e){e!==this._falloff&&(this._falloff=e,this._updateMaterial())}get polygonOffset(){return this._polygonOffset}set polygonOffset(e){e!==this._polygonOffset&&(this._polygonOffset=e,this._updateMaterial())}createExternalResources(){this._material=new m(this.materialParameters)}destroyExternalResources(){this._material=null}createGeometries(e){const t=this._createLineGeometries();if(0!==t.length)for(let r=0;r{const t=e.length,s=new Float64Array(3*t);e.forEach(((e,t)=>{s[3*t+0]=e[0],s[3*t+1]=e[1],s[3*t+2]=e[2]}));const i={overlayInfo:null,attributeData:{position:s},removeDuplicateStartEnd:_.KEEP};r.push(i)})),r}}const C=s();export{g as LineVisualElement};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{bindProjectionMatrix as r,bindView as e}from\"../core/shaderLibrary/util/View.glsl.js\";import{ReloadableShaderModule as i}from\"../core/shaderTechnique/ReloadableShaderModule.js\";import{ShaderTechnique as o}from\"../core/shaderTechnique/ShaderTechnique.js\";import{Default3D as t}from\"../lib/DefaultVertexAttributeLocations.js\";import{Program as a}from\"../lib/Program.js\";import{S as s}from\"../../../../chunks/SlicePlaneMaterial.glsl.js\";import{BlendFactor as l,CompareFunction as m}from\"../../../webgl/enums.js\";import{makePipelineState as n,separateBlendingParams as d,defaultColorWriteParams as g}from\"../../../webgl/renderState.js\";class h extends o{initializeProgram(r){const e=h.shader.get().build();return new a(r.rctx,e,t)}bindPass(e,i){r(this.program,i.camera.projectionMatrix),this.program.setUniform4fv(\"backgroundColor\",e.backgroundColor),this.program.setUniform4fv(\"gridColor\",e.gridColor),this.program.setUniform1f(\"gridWidth\",e.gridWidth)}bindDraw(r){e(this.program,r),this.program.rebindTextures()}initializePipeline(){return n({blending:d(l.ONE,l.ONE,l.ONE_MINUS_SRC_ALPHA,l.ONE_MINUS_SRC_ALPHA),depthTest:{func:m.LESS},colorWrite:g})}}h.shader=new i(s,(()=>import(\"./SlicePlaneMaterial.glsl.js\")));export{h as SlicePlaneMaterialTechnique};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{unwrap as r}from\"../../../../core/maybe.js\";import{ShaderOutput as e}from\"../core/shaderLibrary/ShaderOutputOptions.js\";import{ShaderTechniqueConfiguration as t}from\"../core/shaderTechnique/ShaderTechniqueConfiguration.js\";import i from\"../lib/GLMaterial.js\";import{Material as o,DefaultMaterialParameters as n}from\"../lib/Material.js\";import{RenderSlot as s}from\"../lib/RenderSlot.js\";import{DefaultBufferWriter as a,PositionUVLayout as u}from\"./internal/DefaultBufferWriter.js\";import{intersectTriangleGeometry as l}from\"./internal/MaterialUtil.js\";import{SlicePlaneMaterialTechnique as c}from\"../shaders/SlicePlaneMaterialTechnique.js\";class m extends o{constructor(r){super(r,f),this._config=new t}intersect(r,e,t,i,o,n,s){return l(r,e,i,o,n,void 0,s)}createBufferWriter(){return new a(u)}requiresSlot(r){return r===s.TRANSPARENT_DEPTH_WRITE_DISABLED_MATERIAL}createGLMaterial(r){return r.output===e.Color?new h(r):null}getTechniqueConfig(){return this._config}}class h extends i{constructor(r){super(r),this.ensureTechnique(c,null)}updateParameters(){return r(this.technique)}beginSlot(){return r(this.technique)}bind(r,e){e.bindPass(this._material.parameters,r)}}const f={backgroundColor:[1,0,0,.5],gridColor:[0,1,0,.5],gridWidth:4,...n};export{m as SlicePlaneMaterial};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{c as t}from\"../../chunks/mat4.js\";import{s as n,d as e,g as o,n as r,c as u}from\"../../chunks/vec3.js\";import{c as i}from\"../../chunks/vec3f64.js\";import{getSphericalPCPF as a,getReferenceEllipsoid as s}from\"../projectionEllipsoid.js\";import c from\"../SpatialReference.js\";import{Axis as l}from\"./Axis.js\";import{f,b as p}from\"../../chunks/boundedPlane.js\";import{f as v,s as m}from\"../../chunks/sphere.js\";function h(t){const{value:n,operations:e}=t;return{operations:e,value:e.create(n)}}function j(t,n,e){return t.operations.setExtent(t.value,n,e.value),e}function d(t){return{operations:t,value:t.create()}}function A(t,n,e=d(t)){return e.operations=t,t.copy(n,e.value),e}function k(t){return A(m,v(0,0,0,s(t).radius))}const x=2**50;function y(){return A(p,f([0,0,0],[x,0,0],[0,x,0]))}function P(t,n){return B.operations=t,B.value=n,B}function R(t,n,e){return t.operations.axisAt(t.value,n,l.Z,e)}function S(t,n,e,o){return t.operations.axisAt(t.value,n,e,o)}function b(t,n,e){return t.operations.intersectRay(t.value,n,e)}function g(t,n){return t.operations.intersectRay(t.value,n,null)}function C(t,n,e){return t.operations.closestPoint(t.value,n,e)}function E(t,n,e){return t.operations.intersectRayClosestSilhouette(t.value,n,e)}function G(t,n,e){return t.operations.closestPointOnSilhouette(t.value,n,e)}function O(t,n){return t.operations.distanceToSilhouette(t.value,n)}function T(t,n){return t.operations.altitudeAt(t.value,n)}function Z(t,n,e,o){return t.operations.setAltitudeAt(t.value,n,e,o)}function q(e,o,r,u){return o!==u&&t(u,o),n(z,u[12],u[13],u[14]),Z(e,z,r,z),u[12]=z[0],u[13]=z[1],u[14]=z[2],u}function w(t,n,e){return t.operations.elevate(t.value,n,e.value)}const z=i(),B={operations:null,value:null};function D(t,n,o,r,u){return u[0]=e(t,n),u[1]=e(t,o),u[2]=e(t,r),u}function F(t,n,e,i,a){o(e,t),o(I,n),r(I,I),u(i,I,e),u(a,i,e)}function H(t,n){return t?a(n):n.isGeographic?c.PlateCarree:n}const I=i();export{T as altitudeAt,S as axisAt,C as closestPoint,G as closestPointOnSilhouette,F as coordinateSystemFromOneAxisAndNormalVector,h as create,d as createFromOperations,k as createGlobal,y as createLocal,O as distanceToSilhouette,w as elevate,A as fromValues,b as intersectRay,E as intersectRayClosestSilhouette,g as intersectsRay,R as normalAt,H as renderSRFromViewSR,Z as setAltitudeAt,q as setAltitudeOfTransformation,j as setExtent,D as vectorCoordinates,P as wrap};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../chunks/tslib.es6.js\";import{ShaderOutput as t}from\"../core/shaderLibrary/ShaderOutputOptions.js\";import{bindSliceUniformsWithOrigin as r}from\"../core/shaderLibrary/Slice.glsl.js\";import{bindMultipassTerrainTexture as i}from\"../core/shaderLibrary/shading/MultipassTerrainTest.glsl.js\";import{bindProjectionMatrix as s,bindView as o}from\"../core/shaderLibrary/util/View.glsl.js\";import{ReloadableShaderModule as a}from\"../core/shaderTechnique/ReloadableShaderModule.js\";import{ShaderTechnique as n}from\"../core/shaderTechnique/ShaderTechnique.js\";import{parameter as l,ShaderTechniqueConfiguration as p}from\"../core/shaderTechnique/ShaderTechniqueConfiguration.js\";import{CullFaceOptions as c,TransparencyPassType as u}from\"../lib/basicInterfaces.js\";import{Default3D as d}from\"../lib/DefaultVertexAttributeLocations.js\";import{oitBlending as m,oitDepthTest as h,oitDepthWrite as b,getOITPolygonOffset as f}from\"../lib/OrderIndependentTransparency.js\";import{Program as g}from\"../lib/Program.js\";import{stencilWriteMaskOn as y,stencilToolMaskBaseParams as T,stencilBaseAllZerosParams as P}from\"../lib/StencilUtils.js\";import{I as j}from\"../../../../chunks/ImageMaterial.glsl.js\";import{BlendFactor as v}from\"../../../webgl/enums.js\";import{simpleBlendingParams as O,makePipelineState as S,cullingParams as E,defaultDepthWriteParams as w,defaultColorWriteParams as N}from\"../../../webgl/renderState.js\";class _ extends n{initializeProgram(e){const t=_.shader.get(),r=this.configuration,i=t.build({output:r.output,slicePlaneEnabled:r.slicePlaneEnabled,sliceHighlightDisabled:!1,sliceEnabledForVertexPrograms:!1,oitEnabled:r.transparencyPassType===u.Color,multipassTerrainEnabled:r.multipassTerrainEnabled,cullAboveGround:r.cullAboveGround});return new g(e.rctx,i,d)}bindPass(e,t){s(this.program,t.camera.projectionMatrix),this.program.setUniform1f(\"opacity\",e.opacity),t.multipassTerrainEnabled&&(this.program.setUniform2fv(\"nearFar\",t.camera.nearFar),this.program.setUniform2fv(\"inverseViewport\",t.inverseViewport),i(this.program,t))}bindDraw(e){o(this.program,e),r(this.program,this.configuration,e),this.program.rebindTextures()}_setPipelineState(e,r){const i=this.configuration,s=e===u.NONE,o=e===u.FrontFace;return S({blending:i.output!==t.Color&&i.output!==t.Alpha||!i.transparent?null:s?x:m(e),culling:E(i.cullFace),depthTest:{func:h(e)},depthWrite:s?i.writeDepth&&w:b(e),colorWrite:N,stencilWrite:i.sceneHasOcludees?y:null,stencilTest:i.sceneHasOcludees?r?T:P:null,polygonOffset:s||o?null:f(i.enableOffset)})}initializePipeline(){return this._occludeePipelineState=this._setPipelineState(this.configuration.transparencyPassType,!0),this._setPipelineState(this.configuration.transparencyPassType,!1)}getPipelineState(e,t){return t?this._occludeePipelineState:super.getPipelineState(e,t)}}_.shader=new a(j,(()=>import(\"./ImageMaterial.glsl.js\")));const x=O(v.ONE,v.ONE_MINUS_SRC_ALPHA);class A extends p{constructor(){super(...arguments),this.output=t.Color,this.cullFace=c.None,this.slicePlaneEnabled=!1,this.transparent=!1,this.enableOffset=!0,this.writeDepth=!0,this.sceneHasOcludees=!1,this.transparencyPassType=u.NONE,this.multipassTerrainEnabled=!1,this.cullAboveGround=!1}}e([l({count:t.COUNT})],A.prototype,\"output\",void 0),e([l({count:c.COUNT})],A.prototype,\"cullFace\",void 0),e([l()],A.prototype,\"slicePlaneEnabled\",void 0),e([l()],A.prototype,\"transparent\",void 0),e([l()],A.prototype,\"enableOffset\",void 0),e([l()],A.prototype,\"writeDepth\",void 0),e([l()],A.prototype,\"sceneHasOcludees\",void 0),e([l({count:u.COUNT})],A.prototype,\"transparencyPassType\",void 0),e([l()],A.prototype,\"multipassTerrainEnabled\",void 0),e([l()],A.prototype,\"cullAboveGround\",void 0);export{_ as ImageMaterialTechnique,A as ImageMaterialTechniqueConfiguration};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{ShaderOutput as e}from\"../core/shaderLibrary/ShaderOutputOptions.js\";import{CullFaceOptions as t}from\"../lib/basicInterfaces.js\";import{outputFromPass as r}from\"../lib/GLMaterials.js\";import i from\"../lib/GLMaterialTexture.js\";import{DefaultMaterialParameters as a,Material as s}from\"../lib/Material.js\";import{OITPolygonOffsetLimit as n}from\"../lib/OrderIndependentTransparency.js\";import{RenderSlot as u}from\"../lib/RenderSlot.js\";import{DefaultBufferWriter as l,PositionUVLayout as o}from\"./internal/DefaultBufferWriter.js\";import{intersectTriangleGeometry as c}from\"./internal/MaterialUtil.js\";import{ImageMaterialTechniqueConfiguration as h,ImageMaterialTechnique as p}from\"../shaders/ImageMaterialTechnique.js\";class m extends s{constructor(e){super(e,f),this.supportsEdges=!0,this.techniqueConfig=new h}getTechniqueConfig(e,t){return this.techniqueConfig.output=e,this.techniqueConfig.cullFace=this.parameters.cullFace,this.techniqueConfig.slicePlaneEnabled=this.parameters.slicePlaneEnabled,this.techniqueConfig.transparent=this.parameters.transparent,this.techniqueConfig.writeDepth=this.parameters.writeDepth,this.techniqueConfig.sceneHasOcludees=this.parameters.sceneHasOcludees,this.techniqueConfig.transparencyPassType=t.transparencyPassType,this.techniqueConfig.enableOffset=t.camera.relativeElevationK?Ct.HORIZONTAL:Ct.VERTICAL:s){case Ct.VERTICAL:{const s=Math.abs(o)<=Q?e:r.viewUp;w(a,s,t),y(c,t);break}case Ct.HORIZONTAL:w(a,r.viewUp,t),w(c,t,a);break;case Ct.TILTED:{const s=Math.abs(o)<=Q?t:r.viewUp;w(a,s,e),w(c,e,a);break}}const l=w(X.get(),a,c);O(l,r.viewForward)>0&&T(c,c,-1),I(i,a),I(n,c)}function We(e,t,r){const s=t.worldUpAtPosition(e.origin,X.get()),i=e.basis1,n=It(e,s),o=Math.round(n/Nt)*Nt;return N(e,o-n,i,r)}function qe(e,t,r,s,i,n){const o=y(X.get(),i.origin);E(o,o,T(X.get(),i.basis1,e.direction[0]<0?1:-1)),E(o,o,T(X.get(),i.basis2,e.direction[1]<0?1:-1));const a=R(i.basis1),c=R(i.basis2),l=j(X.get(),r,o),u=j(X.get(),t,o);let d=0,m=0;if(ut(e)){const t=lt(i),r=lt(n);d=a-.5*e.direction[0]*O(i.basis1,u)/a,m=c-.5*e.direction[1]*O(i.basis2,u)/c;const s=r/t;d*=s,m*=s}const p=d+.5*e.direction[0]*O(i.basis1,l)/a,g=m+.5*e.direction[1]*O(i.basis2,l)/c,f=T(X.get(),i.basis1,p/a),b=T(X.get(),i.basis2,g/c);(p<=0||at(n.origin,f,s)<=ee)&&y(f,n.basis1),(g<=0||at(n.origin,b,s)<=ee)&&y(b,n.basis2);const h=y(X.get(),o);return E(h,h,T(X.get(),f,e.direction[0]<0?-1:1)),E(h,h,T(X.get(),b,e.direction[1]<0?-1:1)),U(h,f,b,n)}function $e(e,t){return te*Math.min(t.width,t.height)*t.computeRenderPixelSizeAt(e)}function Je(e,t,r,s){const i=w(X.get(),t,r);return w(i,i,t),F(e,i,s)}function Ke(e,t){return q(e.basis1,e.basis2,e.origin,t)}function Qe(e,t,r,s){const i=t.worldUpAtPosition(e.origin,X.get()),n=X.get();switch(r){case kt.HEADING:y(n,i);break;case kt.TILT:y(n,e.basis1)}return F(e.origin,n,s)}function et(e,t,r,s){const i=ot(r,nt.NEGATIVE_X),n=Y.get();c(n,t,i.edge*Math.PI/2);const o=I(X.get(),i.basis);let l=T(X.get(),o,i.direction*s.computeScreenPixelSizeAt(i.position)*re);E(l,l,i.position);const u=s.projectToRenderScreen(l,a(X.get())),d=tt(s,u);_e(s,u,vt),I(vt.direction,vt.direction);const m=X.get();!d&&V(r,vt,m)&&(l=m),n[12]=0,n[13]=0,n[14]=0,e.modelTransform=n,e.renderLocation=P(l),d?e.state|=_t:e.state&=~_t}function tt(e,t){const[r,s,i,n]=e.viewport,o=Math.min(i,n)/16;let a=!0;return t[0]r+i-o&&(t[0]=r+i-o,a=!1),t[1]s+n-o&&(t[1]=s+n-o,a=!1),a}function rt(e,t,r,s){const i=R(s.basis1),n=R(s.basis2),o=ct(s),a=lt(s),c=M(X.get(),0,0,0);E(c,T(X.get(),s.basis1,t.direction[0]),T(X.get(),s.basis2,t.direction[1])),E(c,s.origin,c);let m=0,p=1;if(ut(t))1===t.direction[0]&&-1===t.direction[1]?m=Nt:1===t.direction[0]&&1===t.direction[1]?m=Math.PI:-1===t.direction[0]&&1===t.direction[1]&&(m=3*Math.PI/2),p=a;else{const e=0!==t.direction[0]?1:2;m=1===e?Nt:0,p=(1===e?n:i)-o}const g=l(Y.get(),m);u(g,g,M(X.get(),p,p,p)),d(g,r,g),g[12]=0,g[13]=0,g[14]=0,e.modelTransform=g,e.renderLocation=c}function st(e,t,r,s){const i=s.worldUpAtPosition(r.origin,X.get()),n=ot(r,nt.POSITIVE_X),o=l(Y.get(),n.edge*Math.PI/2);m(o,o,-It(r,i)),d(o,t,o),o[12]=0,o[13]=0,o[14]=0,e.modelTransform=o,e.renderLocation=n.position}function it(e,t,r){const s=ot(r,nt.POSITIVE_Y),i=l(Y.get(),s.edge*Math.PI/2);m(i,i,Nt),d(i,t,i),i[12]=0,i[13]=0,i[14]=0,e.modelTransform=i,e.renderLocation=s.position}var nt;function ot(e,t){switch(t){case nt.POSITIVE_X:return{basis:e.basis1,direction:1,position:E(X.get(),e.origin,e.basis1),edge:t};case nt.POSITIVE_Y:return{basis:e.basis2,direction:1,position:E(X.get(),e.origin,e.basis2),edge:t};case nt.NEGATIVE_X:return{basis:e.basis1,direction:-1,position:j(X.get(),e.origin,e.basis1),edge:t};case nt.NEGATIVE_Y:return{basis:e.basis2,direction:-1,position:j(X.get(),e.origin,e.basis2),edge:t}}}function at(e,t,r){const s=r.projectToRenderScreen(E(X.get(),e,t),a(X.get())),i=r.projectToRenderScreen(j(X.get(),e,t),a(X.get()));return A(j(s,s,i))}function ct(e){const t=R(e.basis1),r=R(e.basis2);return J*Math.min(t,r)}function lt(e){return ct(e)}function ut(e){return 0!==e.direction[0]&&0!==e.direction[1]}function dt(e,t=St.CENTER_ON_ARROW){const r=t===St.CENTER_ON_CALLOUT?re:0,s=[C(r,0,-Ee/2),C(r,0,Ee/2)],i=Tt(s,!0),n=(e,t)=>bt(s,s,{tubeRadius:Re,tipRadius:$,tipLength:je,tubeFocusMultiplier:Ae,tipFocusMultiplier:Me,padding:e,bothEnds:!0,flat:null,focusTipLength:!0,addCap:t}),o=n(0,!1),a=n(se,!0),c=new xe({color:ie,cullFace:ve.Back,renderOccluded:Ve.Opaque}),l=new xe({color:ne,cullFace:ve.Back,renderOccluded:Ve.Opaque}),u=new xe({color:oe,cullFace:ve.Back,renderOccluded:Ve.Opaque}),d=new xe({color:ae,transparent:!0,writeDepth:!1,cullFace:ve.Front,renderOccluded:Ve.Transparent}),m=Ue.createPolylineGeometry([[r,0,0],[r-re,0,0]]),p=Ue.createPolylineGeometry([[r,0,0],[r-re,0,0]]),g=new Fe({color:ce,renderOccluded:Ve.OccludeAndTransparent});return new W({view:e,renderObjects:[...o.normal.map((({part:e,geometry:t,transform:r})=>({geometry:t,material:\"tip\"===e?c:\"cap\"===e?l:u,transform:r,stateMask:ze.Unfocused|Pt}))),...a.normal.map((({geometry:e,transform:t})=>({geometry:e,material:d,transform:t,stateMask:ze.Unfocused|Pt}))),{geometry:m,material:g,stateMask:ze.Unfocused|Pt|_t},...o.focused.map((({part:e,geometry:t,transform:r})=>({geometry:t,material:\"tip\"===e?c:\"cap\"===e?l:u,transform:r,stateMask:ze.Focused|Pt}))),...a.focused.map((({geometry:e,transform:t})=>({geometry:e,material:d,transform:t,stateMask:ze.Focused|Pt}))),{geometry:p,material:g,stateMask:ze.Focused|Pt|_t}],autoScaleRenderObjects:!1,collisionType:{type:\"line\",paths:[i]},collisionPriority:1,radius:$,state:Pt})}function mt(e,t){const r=new Ge({transparent:!0,writeDepth:!1,textureId:t.id,renderOccluded:Ve.Opaque}),s=le,i=ue,n=i*ye,o=e=>{const t=new Uint32Array([0,1,2,2,3,0]);return new Ne([[Se.POSITION,{size:3,data:[s-e,-e,0,s+e,-e,0,s+e,e,0,s-e,e,0],exclusive:!0}],[Se.UV0,{size:2,data:[0,0,1,0,1,1,0,1]}]],[[Se.POSITION,t],[Se.UV0,t]])},a=Ue.createPolylineGeometry([[0,0,0],[s-i,0,0]]),c=Ue.createPolylineGeometry([[0,0,0],[s-n,0,0]]),l=new Fe({color:de,renderOccluded:Ve.OccludeAndTransparent}),u=[{geometry:o(i),material:r,stateMask:ze.Unfocused|Pt},{geometry:a,material:l,stateMask:ze.Unfocused|Pt},{geometry:o(n),material:r,stateMask:ze.Focused|Pt},{geometry:c,material:l,stateMask:ze.Focused|Pt}];return new W({view:e,renderObjects:u,autoScaleRenderObjects:!1,collisionType:{type:\"disc\",direction:[0,0,1],offset:[s,0,0]},collisionPriority:1,radius:i/2,state:Pt})}function pt(e){const t=[[-1,-1,0],[1,-1,0],[1,1,0],[-1,1,0],[-1,-1,0]];return new Pe({view:e,attached:!0,color:me,width:pe,writeDepthEnabled:!1,renderOccluded:Ve.OccludeAndTransparent,geometry:[t]})}function gt(e){return new ke({view:e,attached:!0,backgroundColor:[...ge],gridColor:fe,gridWidth:4,renderOccluded:Ve.OccludeAndTransparent})}function ft(e,t){const r=ut(t),s=r?[C(1,0,0),C(0,0,0),C(0,1,0)]:[C(1,0,0),C(-1,0,0)],i=Ue.createPolylineGeometry(s),n=Oe,o=e=>new He({color:n,width:e,renderOccluded:Ve.OccludeAndTransparent}),a=()=>new Fe({color:n,renderOccluded:Ve.OccludeAndTransparent}),c=r?Le:Ie,l=c*we,u=Ie,d=e=>e>1?o(e):a(),m=[{geometry:i,material:d(c),stateMask:ze.Unfocused|Ut},{geometry:i,material:d(l),stateMask:ze.Focused|Ut},{geometry:i,material:d(u),stateMask:Vt}],p=new W({view:e,renderObjects:m,collisionType:{type:\"line\",paths:[s]},autoScaleRenderObjects:!1,worldSized:!0,radius:r?be:he});return p.state=Ut,p}function bt(e,t,r){const s=s=>{const i=(s?t:e).slice(0),n=j(X.get(),i[0],i[1]);I(n,n);const a=j(X.get(),i[i.length-1],i[i.length-2]);if(I(a,a),r.padding>0){const e=T(k(),a,-r.padding);if(i[i.length-1]=E(e,e,i[i.length-1]),r.bothEnds){const e=T(k(),n,-r.padding);i[0]=E(e,e,i[0])}}const c=s?r.tipFocusMultiplier:1,l=r.tipLength*(r.focusTipLength?c:1),m=r.tipRadius*c,y=p(Y.get());if(r.padding>0){const e=l/4,t=M(X.get(),0,e,0),s=1+r.padding/e;g(y,y,t),u(y,y,M(X.get(),s,s,s)),g(y,y,T(t,t,-1/s))}const O=p(b()),w=C(0,1,0),R=f(b(),h(Z.get(),w,a));R[12]=i[i.length-1][0],R[13]=i[i.length-1][1],R[14]=i[i.length-1][2],d(R,R,y);const A=[{part:\"tube\",geometry:ht(r.tubeRadius*(s?r.tubeFocusMultiplier:1)+r.padding,r.flat,i),transform:O}];let L,P;if(o(r.flat)?L=Ue.createExtrudedTriangle(l,m,m,r.flat.thickness):(L=Ue.createConeGeometry(l,m,24,!1,!1,!0),P=Ue.createConeGeometry(l,m,24,!1,!0,!1)),A.push({part:\"tip\",geometry:L,transform:R}),P&&A.push({part:\"cap\",geometry:P,transform:R}),r.bothEnds){const e=f(b(),h(Z.get(),w,n));e[12]=i[0][0],e[13]=i[0][1],e[14]=i[0][2],d(e,e,y),A.push({part:\"tip\",geometry:L,transform:e}),P&&A.push({part:\"cap\",geometry:P,transform:e})}return A};return{normal:s(!1),focused:s(!0)}}function ht(e,t,r){const s=[];if(o(t))s.push([e,t.thickness/2],[-e,t.thickness/2],[-e,-t.thickness/2],[e,-t.thickness/2]);else{const t=12;for(let r=0;rnew e(t,n)))}function i(t){return t.fromData(r,(()=>new e(r,n)))}export{o as getRotateHeadingTexture,i as getTiltRotateTexture};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as t}from\"../../../../../core/maybe.js\";import{isDiagonalResizeHandle as a}from\"../../analysisTools/slice/sliceToolUtils.js\";import{EventPipeline as e}from\"../../../../interactive/dragEventPipeline.js\";class s{constructor(){this.lastDragEvent=null,this.next=new e,this._enabled=!1}get enabled(){return this._enabled}set enabled(a){if(this._enabled!==a&&t(this.lastDragEvent)){const t={...this.lastDragEvent,action:\"update\"};a&&this._adjustScaleFactors(t),this.next.execute(t)}this._enabled=a}createDragEventPipelineStep(){return this.lastDragEvent=null,t=>(this.lastDragEvent=\"end\"!==t.action?{...t}:null,this._enabled&&this._adjustScaleFactors(t),t)}_adjustScaleFactors(t){const e=a(t.handle)?Math.max(Math.abs(t.factor1),Math.abs(t.factor2)):0===t.handle.direction[0]?Math.abs(t.factor2):Math.abs(t.factor1);t.factor1=t.factor1<0?-e:e,t.factor2=t.factor2<0?-e:e}get test(){return{_adjustScaleFactors:t=>this._adjustScaleFactors(t)}}}export{s as PreserveAspectRatio};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{q as s,s as o,k as i,x as n,y as r,f as t,m as a,g as e}from\"../../../../chunks/vec2.js\";import{b as c,G as g,a as b,f,e as u,c as m,n as p,d as I,l as d}from\"../../../../chunks/vec3.js\";import{f as N,Z as j}from\"../../../../chunks/vec3f64.js\";import{c as x,u as E}from\"../../../../chunks/boundedPlane.js\";import{sv2d as T,sv3d as V}from\"../../../../geometry/support/vectorStacks.js\";import{MoveVertex as h}from\"../operations/MoveVertex.js\";import{RotateVertex as k}from\"../operations/RotateVertex.js\";import{ScaleVertex as v}from\"../operations/ScaleVertex.js\";import{UpdateVertices as R}from\"../operations/UpdateVertices.js\";function l(s,o){return F(s,o,!1)}function C(s,o){return F(s,o,!0)}function F(s,o,i){if(s instanceof R){if(s.operation instanceof h)return S(s.operation,o,i),!0;if(s.operation instanceof k)return Y(s.operation,o,i),!0;if(s.operation instanceof v)return _(s.operation,o,i),!0}return!1}function S(s,o,i=!1){const n=i?-1:1,r=N(n*s.dx,n*s.dy,n*s.dz);c(o.origin,o.origin,r)}function Y(s,o,i=!1){const n=i?-s.angle:s.angle;g(o.basis1,o.basis1,j,n),g(o.basis2,o.basis2,j,n)}function _(o,i,n=!1){const r=n?1/o.factor1:o.factor1,t=n?1/o.factor2:o.factor2;b(i.basis1,i.basis1,r),b(i.basis2,i.basis2,t),s(i.origin,i.origin,o.origin,o.axis1,r),s(i.origin,i.origin,o.origin,o.axis2,t)}function y(s,c,g,b){b||(b=x());const f=o(T.get(),s[1],-s[0]),u=o(T.get(),Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),m=o(T.get(),Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY),p=T.get();c.components.forEach((t=>t.vertices.forEach((t=>{const a=t.pos;o(p,i(s,a),i(f,a)),n(u,u,p),r(m,m,p)}))));const I=1e-6,d=o(T.get(),m[0]-u[0]this._updateManipulatorAvailability(this.moveZManipulator,st.TRANSLATE_Z)))),this.handles.add(this._createMoveZDragPipeline()),this.manipulators.add(this.moveZManipulator),this.resizeManipulators=this.resizeHandles.map((t=>{const e=I(this.view,t);return this.handles.add(this.watch(\"enableScaling\",(()=>this._updateManipulatorAvailability(e,st.SCALE)))),e.events.on(\"grab-changed\",(t=>this._onResizeGrab(t))),this.handles.add(this._createResizeDragPipeline(e,t)),e})),this.manipulators.addMany(this.resizeManipulators),this.rotateManipulatorTexture=et(this.view.toolViewManager.textures),this.rotateManipulator=X(this.view,this.rotateManipulatorTexture.texture),this.handles.add(this.watch(\"enableRotation\",(()=>this._updateManipulatorAvailability(this.rotateManipulator,st.ROTATE)))),this.rotateManipulator.events.on(\"grab-changed\",(t=>{this._onRotateGrab(t)})),this.handles.add(this._createRotateDragPipeline(this.rotateManipulator)),this.manipulators.add(this.rotateManipulator),this._calculateMapBounds(),this._updateDisplayBounds();const e=ot({view:this.view,graphic:this.graphic,forEachManipulator:t=>this._forEachManipulator(t),onManipulatorsChanged:()=>a()});r(e)&&(this.outlineVisualElement=e.visualElement instanceof ht?e.visualElement:null),r(this.outlineVisualElement)&&this.handles.add(this.outlineVisualElement.events.on(\"attachment-origin-changed\",(()=>this._updateDisplayBounds()))),this.handles.add(e),this.handles.add([this.graphicState.on(\"changed\",(()=>this._onGeometryChanged())),this.graphicState.watch(\"displaying\",(()=>this._updateAllManipulatorAvailability())),c(this.graphicState,\"isDraped\",(()=>this._graphicDrapedChanged())),this.view.trackGraphicState(this.graphicState)]);const i=this.view.pointsOfInterest;i&&this.handles.add(i.centerOnSurfaceFrequent.watch(\"location\",(()=>this._updateDisplayBounds())));const s=t=>{this.handles.add(t.events.on(\"grab-changed\",(()=>{this.grabbing=t.grabbing,this._updateAllManipulatorAvailability()})))};this._forEachManipulator(s);const o=(t,e)=>{this.handles.add(t.events.on(\"immediate-click\",(t=>{e===st.TRANSLATE_XY&&this.emit(\"immediate-click\",{...t,graphic:this.graphic}),t.stopPropagation()})))};this._forEachManipulator(o),this._onGeometryChanged(),this._updateAllManipulatorAvailability(),this.finishToolCreation()}_graphicDrapedChanged(){this.handles.remove(xt),this._updateDisplayBounds(),this.graphicState.isDraped&&this.handles.add(this.view.elevationProvider.on(\"elevation-change\",(t=>{r(this.attachmentOrigin)&&G(t.extent,this.attachmentOrigin.x,this.attachmentOrigin.y)&&this._updateDisplayBounds()})),xt)}_updateAllManipulatorAvailability(){this._forEachManipulator(((t,e)=>this._updateManipulatorAvailability(t,e)))}_updateManipulatorAvailability(t,e){const i=this.grabbing&&!t.grabbing;if(t.interactive=!i,t instanceof Z){const a=this.graphicState.displaying,s=this.enableZ&&rt(this.graphic);switch(e){case st.ROTATE:t.available=a&&this.enableRotation;break;case st.SCALE:t.available=a&&(this.enableScaling||this.enableRotation||s),t.interactive=!i&&this.enableScaling,t.state=this.enableScaling?Y:F;break;case st.TRANSLATE_Z:t.available=a&&s;break;default:t.available=a}}}_forEachManipulator(t){this.graphicMoveManipulation.forEachManipulator(t),this.resizeManipulators.forEach((e=>t(e,st.SCALE))),t(this.rotateManipulator,st.ROTATE),t(this.moveZManipulator,st.TRANSLATE_Z)}destroy(){this.mapBounds=null,this.displayBounds=null,this.rotateManipulatorTexture.release(),this.handles.destroy(),this.graphicMoveManipulation.destroy(),this.editGeometryOperations.destroy(),this._set(\"view\",null),this._set(\"graphic\",null)}get preserveAspectRatio(){return this._preserveAspectRatio.enabled}set preserveAspectRatio(t){this._preserveAspectRatio.enabled=t,this._set(\"preserveAspectRatio\",t)}reset(){}_onGeometryChanged(){this._updateDisplayBounds()}_calculateMapBounds(){const t=this.graphic.geometry,e=this.editGeometryOperations.data,i=e.components[0].edges[0],a=g(P.get(),i.leftVertex.pos,i.rightVertex.pos);y(a,a);const s=o(k(this.view,this.graphic),t.extent.center);let r=Rt*this.view.pixelSizeAt(s);const n=this.view.spatialReference;n!==t.spatialReference&&(r*=l(n)/l(t.spatialReference)),_t(a,e,r,this.mapBounds)}_updateDisplayBounds(){const t=this.graphic.geometry;if(n(t))return;const e=r(this.outlineVisualElement)&&!this.graphicState.isDraped&&r(this.outlineVisualElement.attachmentOrigin)?this.outlineVisualElement.attachmentOrigin:k(this.view,this.graphic);this.attachmentOrigin=o(e,t.extent.center);const i=r(e)?e.z:lt(this.mapBounds.origin,this.view.elevationProvider,ct.fromElevationInfo(C(this.graphic)),this.view.renderCoordsHelper),a=w(this.mapBounds);a.origin[2]=i,bt(a,this.view.renderCoordsHelper,t.spatialReference,this.displayBoundsMargin,this.displayBounds),this._updateManipulators()}get displayBoundsMargin(){const t=this.view.pointsOfInterest,e=t?t.centerOnSurfaceFrequent.location:this.editGeometryOperations.data.geometry.extent.center;return Gt*this.view.pixelSizeAt(e)}_createMoveXYGraphicDragPipeline(){return this.graphicMoveManipulation.createDragPipeline(((t,e,i)=>this._applyGraphicMoveSteps(e,i)))}_createMoveZDragPipeline(){const t=this.view,e=this.editGeometryOperations.data.spatialReference;return mt(this.moveZManipulator,((i,a,s)=>{const r=x(i.renderLocation),o=a.next(it(t,r,e)).next(yt());this._applyGraphicMoveSteps(o,s)}))}_applyGraphicMoveSteps(t,e){const i=t.next((t=>(\"start\"===t.action&&(this.inputState={type:\"move\"},w(this.mapBounds,this.mapBoundsStart),this.emit(\"graphic-translate-start\",{graphic:this.graphic,dxScreen:t.screenDeltaX,dyScreen:t.screenDeltaY})),t))).next(gt()).next(this._moveDragUpdateGeometry()).next((t=>{const e={graphic:this.graphic,dxScreen:t.screenDeltaX,dyScreen:t.screenDeltaY};switch(t.action){case\"start\":case\"update\":(t.mapEnd.x-t.mapStart.x||t.mapEnd.y-t.mapStart.y||t.mapEnd.z-t.mapStart.z)&&this.emit(\"graphic-translate\",e);break;case\"end\":this.inputState=null,this.emit(\"graphic-translate-stop\",e)}return t}));return e.next((()=>{r(this.inputState)&&this.emit(\"graphic-translate-stop\",{graphic:this.graphic,dxScreen:0,dyScreen:0}),this._cancel()})),i}_moveDragUpdateGeometry(){return t=>{if(n(this.inputState)||\"move\"!==this.inputState.type)return t;const e=[];for(const s of this.editGeometryOperations.data.components)e.push(...s.vertices);const i=\"start\"===t.action?St.NEW_STEP:St.ACCUMULATE_STEPS,a=this.editGeometryOperations.moveVertices(e,t.mapDeltaX,t.mapDeltaY,t.mapDeltaZ,i);return Bt(a,this.mapBounds),this.graphic.geometry=this.editGeometryOperations.data.geometry,t}}_onResizeGrab(t){if(\"start\"!==t.action)return;const e=this._calculatePickRay(t.screenPoint);j(this.displayBounds.plane,e,U.get())&&(w(this.displayBounds,this.displayBoundsStart),w(this.mapBounds,this.mapBoundsStart),this.displayBoundsMarginStart=this.displayBoundsMargin,this.inputState={type:\"resize\"})}_createResizeDragPipeline(t,e){return mt(t,((t,i,a)=>{n(this.inputState)||(i.next((t=>(\"start\"===t.action&&this.emit(\"graphic-scale-start\",{graphic:this.graphic,xScale:1,yScale:1}),t))).next(at(this.view,this.displayBoundsStart.plane)).next((t=>({...t,handle:e}))).next(this._resizeDragRenderPlaneToFactors()).next(this._preserveAspectRatio.createDragEventPipelineStep(),this._preserveAspectRatio.next).next(this._resizeDragUpdateGeometry()).next((t=>{const e={graphic:this.graphic,xScale:t.factor1,yScale:t.factor2};switch(t.action){case\"start\":case\"update\":this.emit(\"graphic-scale\",e);break;case\"end\":this.inputState=null,this.emit(\"graphic-scale-stop\",e)}return t})),a.next((()=>{r(this.inputState)&&this.emit(\"graphic-scale-stop\",{graphic:this.graphic,xScale:1,yScale:1}),this._cancel()})))}))}_resizeDragRenderPlaneToFactors(){return t=>{const e=this.displayBoundsStart,i=t.handle.direction,a=this.displayBoundsMargin,s=this.displayBoundsMarginStart,r=S(U.get(),e.origin);M(r,r,e.basis1,-i[0]),M(r,r,e.basis2,-i[1]);const o=_(U.get(),t.renderEnd,r),n=_(U.get(),t.renderStart,r),p=W(t.handle),h=q(e),l=q(this.displayBounds)/h,c=(t,e)=>{if(0===t)return 1;let i=B(e),r=.5*t*E(e,o)/i;const h=r<0?-1:1;if(p){r+=(i-.5*t*E(e,n)/i)*h*l}const c=i<1.5*s?1:wt;return i=Math.max(i-s,wt),h>0&&(r-=a),h*Math.max(h*(r/i),c)};return{...t,factor1:c(i[0],e.basis1),factor2:c(i[1],e.basis2)}}}_resizeDragUpdateGeometry(){return t=>{const e=S(A(),this.mapBoundsStart.origin);M(e,e,this.mapBoundsStart.basis1,-t.handle.direction[0]),M(e,e,this.mapBoundsStart.basis2,-t.handle.direction[1]);const i=v(f(),this.mapBoundsStart.basis1[0],this.mapBoundsStart.basis1[1]);y(i,i);const a=[];for(const o of this.editGeometryOperations.data.components)a.push(...o.vertices);const s=\"start\"===t.action?St.NEW_STEP:St.ACCUMULATE_STEPS,r=this.editGeometryOperations.scaleVertices(a,e,i,t.factor1,t.factor2,s,Mt.REPLACE);return w(this.mapBoundsStart,this.mapBounds),Bt(r,this.mapBounds),this.graphic.geometry=this.editGeometryOperations.data.geometry,t}}_onRotateGrab(t){if(\"start\"!==t.action)return;const e=J(this.displayBounds,this.view.renderCoordsHelper,K.HEADING,D()),i=this._calculatePickRay(t.screenPoint);j(e,i,U.get())&&(w(this.displayBounds,this.displayBoundsStart),w(this.mapBounds,this.mapBoundsStart),this.inputState={type:\"rotate\",rotatePlane:e})}_createRotateDragPipeline(t){return mt(t,((t,e,i)=>{const a=this.inputState;n(a)||(e.next((t=>(\"start\"===t.action&&this.emit(\"graphic-rotate-start\",{graphic:this.graphic,angle:0}),t))).next(at(this.view,a.rotatePlane)).next(this._rotateDragRenderPlaneToRotate(a)).next(this._rotateDragUpdateGeometry()).next((t=>{const e={graphic:this.graphic,angle:s(t.rotateAngle)};switch(t.action){case\"start\":case\"update\":this.emit(\"graphic-rotate\",e);break;case\"end\":this.inputState=null,this.emit(\"graphic-rotate-stop\",e)}return t})),i.next((()=>{r(this.inputState)&&this.emit(\"graphic-rotate-stop\",{graphic:this.graphic,angle:0}),this._cancel()})))}))}_rotateDragRenderPlaneToRotate(t){return e=>{const i=O(t.rotatePlane),a=L(e.renderStart,e.renderEnd,this.displayBounds.origin,i);return{...e,rotateAxis:i,rotateAngle:a}}}_rotateDragUpdateGeometry(){return t=>{const e=S(A(),this.mapBoundsStart.origin),i=[];for(const r of this.editGeometryOperations.data.components)i.push(...r.vertices);const a=\"start\"===t.action?St.NEW_STEP:St.ACCUMULATE_STEPS,s=this.editGeometryOperations.rotateVertices(i,e,t.rotateAngle,a,Mt.REPLACE);return w(this.mapBoundsStart,this.mapBounds),Bt(s,this.mapBounds),this.graphic.geometry=this.editGeometryOperations.data.geometry,t}}_calculatePickRay(t){const e=T(),i=h(t);return ut(this.view.state.camera,i,e),b(e.direction,e.direction),e}_updateManipulators(){if(!this.visible)return;const t=Q(this.displayBounds,z.get());$(this.rotateManipulator,t,this.displayBounds,this.view.renderCoordsHelper),this._updateZMoveHandle(this.moveZManipulator,t),this.resizeManipulators.forEach(((e,i)=>{tt(e,this.resizeHandles[i],t,this.displayBounds)}))}_updateZMoveHandle(t,e){const i=this.displayBounds,a={basis:i.basis1,direction:-1,position:_(U.get(),i.origin,i.basis1),edge:2},s=z.get();m(s,e,a.edge*Math.PI/2),s[12]=0,s[13]=0,s[14]=0,t.modelTransform=s,t.renderLocation=a.position}_cancel(){const t=this.editGeometryOperations.lastOperation;n(t)||(this.editGeometryOperations.undo(),this.graphic.geometry=this.editGeometryOperations.data.geometry,Et(t,this.mapBounds),this._updateDisplayBounds(),this.inputState=null)}get canUndo(){return this.editGeometryOperations.canUndo}undo(){if(r(this.inputState))this.view.activeTool=null;else if(this.canUndo){const t=this.editGeometryOperations.undo();this.graphic.geometry=this.editGeometryOperations.data.geometry,Et(p(t),this.mapBounds),this._updateDisplayBounds()}}get canRedo(){return this.editGeometryOperations.canRedo}redo(){if(this.canRedo){const t=this.editGeometryOperations.redo();this.graphic.geometry=this.editGeometryOperations.data.geometry,Bt(p(t),this.mapBounds),this._updateDisplayBounds()}}get test(){return{resizeManipulators:this.resizeManipulators,rotateManipulator:this.rotateManipulator,moveZManipulator:this.moveZManipulator}}};t([d({constructOnly:!0,nonNullable:!0})],At.prototype,\"view\",void 0),t([d({constructOnly:!0,nonNullable:!0})],At.prototype,\"graphic\",void 0),t([d({constructOnly:!0,nonNullable:!0})],At.prototype,\"enableZ\",void 0),t([d()],At.prototype,\"enableRotation\",void 0),t([d()],At.prototype,\"enableScaling\",void 0),t([d()],At.prototype,\"preserveAspectRatio\",null),t([d()],At.prototype,\"grabbing\",void 0),t([d()],At.prototype,\"inputState\",void 0),t([d({readOnly:!0})],At.prototype,\"type\",void 0),At=t([u(\"esri.views.3d.interactive.editingTools.graphicTransform3D.ExtentTransformTool\")],At);const xt=\"draped-elevation-changes\",Gt=10,Rt=80,wt=1e-6;export{wt as EPSILON,At as ExtentTransformTool};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../core/Collection.js\";import{isNone as a,isSome as i}from\"../../core/maybe.js\";var e;!function(t){t[t.WhenToolEditable=0]=\"WhenToolEditable\",t[t.WhenToolNotEditable=1]=\"WhenToolNotEditable\",t[t.Always=2]=\"Always\"}(e||(e={}));class r{constructor(){this._isToolEditable=!0,this._manipulators=new t,this._nextManipulatorId=0,this._resourceContexts={manipulator3D:{}},this._attached=!1}set isToolEditable(t){this._isToolEditable=t}get length(){return this._manipulators.length}add(t,a=e.WhenToolEditable){return this.addMany([t],a)[0]}addMany(t,a=e.WhenToolEditable){return t.map((t=>{const i=this._nextManipulatorId++,e={id:i,manipulator:t,visibilityPredicate:a,attached:!1};return this._manipulators.add(e),this._attached&&this._updateManipulatorAttachment(e),i}))}remove(t){if(\"number\"==typeof t){const a=t;for(let t=0;t{this._detachManipulator(t)})),this._manipulators.removeAll()}attach(){this._manipulators.forEach((t=>{this._updateManipulatorAttachment(t)})),this._attached=!0}detach(){this._manipulators.forEach((t=>{this._detachManipulator(t)})),this._attached=!1}destroy(){this._manipulators.forEach((({manipulator:t})=>{t.destroy&&t.destroy()})),this._manipulators.destroy(),this._resourceContexts=null}on(t,a){return this._manipulators.on(t,(t=>{a(t)}))}forEach(t){for(const a of this._manipulators.items)t(a)}some(t){return this._manipulators.items.some(t)}toArray(){const t=[];return this.forEach((a=>t.push(a.manipulator))),t}intersect(t,a){let e=null,r=Number.MAX_VALUE;return this._manipulators.forEach((({id:o,manipulator:n,attached:s})=>{if(!s||!n.interactive)return;const l=n.intersectionDistance(t,a);i(l)&&l\"size\"===t.type)).map((e=>{const{maxSize:r,minSize:s}=e;return(n(r,t)+n(s,t))/2}));let s=0;const o=r.length;if(0===o)return t;for(let n=0;n{e=t(e,n.symbol)})),e}if(\"class-breaks\"===n.type){let e=o;return n.classBreakInfos.forEach((n=>{e=t(e,n.symbol)})),e}return n.type,o}export{s as calculateTolerance};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{Laserline as e}from\"../views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js\";import{glsl as i}from\"../views/3d/webgl-engine/core/shaderModules/interfaces.js\";import{ShaderBuilder as o}from\"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js\";import{VertexAttribute as a}from\"../views/3d/webgl-engine/lib/VertexAttribute.js\";function t(t){const r=new o;return r.include(e,t),r.vertex.uniforms.add(\"modelView\",\"mat4\"),r.vertex.uniforms.add(\"proj\",\"mat4\"),r.attributes.add(a.START,\"vec3\"),r.attributes.add(a.END,\"vec3\"),r.attributes.add(a.UP,\"vec3\"),r.attributes.add(a.EXTRUDE,\"vec2\"),r.varyings.add(\"uv\",\"vec2\"),r.varyings.add(\"vViewStart\",\"vec3\"),r.varyings.add(\"vViewEnd\",\"vec3\"),r.varyings.add(\"vViewPlane\",\"vec4\"),r.vertex.uniforms.add(\"glowWidth\",\"float\"),r.vertex.uniforms.add(\"pixelToNDC\",\"vec2\"),r.vertex.code.add(i`void main() {\nvec3 pos = mix(start, end, extrude.x);\nvec4 viewPos = modelView * vec4(pos, 1);\nvec4 projPos = proj * viewPos;\nvec2 ndcPos = projPos.xy / projPos.w;\nvec3 viewUp = (modelView * vec4(extrude.y * up, 0)).xyz;\nvec4 projPosUp = proj * vec4(viewPos.xyz + viewUp, 1);\nvec2 projExtrudeDir = normalize(projPosUp.xy / projPosUp.w - ndcPos);\nvec2 lxy = abs(sign(projExtrudeDir) - ndcPos);\nndcPos += length(lxy) * projExtrudeDir;\nvec3 worldPlaneNormal = normalize(cross(up, normalize(end - start)));\nvec3 viewPlaneNormal = (modelView * vec4(worldPlaneNormal, 0)).xyz;\nvViewStart = (modelView * vec4(start, 1)).xyz;\nvViewEnd = (modelView * vec4(end, 1)).xyz;\nvViewPlane = vec4(viewPlaneNormal, -dot(viewPlaneNormal, vViewStart));\nfloat xPaddingPixels = sign(dot(viewPlaneNormal, viewPos.xyz)) * (extrude.x * 2.0 - 1.0) * glowWidth;\nndcPos.x += xPaddingPixels * pixelToNDC.x;\nuv = ndcPos * 0.5 + 0.5;\ngl_Position = vec4(ndcPos, 0, 1);\n}`),r.fragment.uniforms.add(\"globalAlpha\",\"float\"),r.fragment.uniforms.add(\"perScreenPixelRatio\",\"float\"),r.fragment.code.add(i`float planeDistancePixels(vec4 plane, vec3 pos, vec3 start, vec3 end) {\nvec3 origin = mix(start, end, 0.5);\nvec3 basis = end - origin;\nvec3 posAtOrigin = pos - origin;\nfloat x = dot(normalize(basis), posAtOrigin);\nfloat y = dot(plane.xyz, posAtOrigin);\nfloat dx = max(abs(x) - length(basis), 0.0);\nfloat dy = y;\nfloat dist = length(vec2(dx, dy));\nfloat width = fwidth(y);\nfloat maxPixelDistance = length(pos) * perScreenPixelRatio * 2.0;\nfloat pixelDist = dist / min(width, maxPixelDistance);\nreturn abs(pixelDist);\n}\nvoid main() {\nvec3 pos;\nvec3 normal;\nfloat depthDiscontinuityAlpha;\nif (!laserlineReconstructFromDepth(pos, normal, depthDiscontinuityAlpha)) {\ndiscard;\n}\nfloat distance = planeDistancePixels(vViewPlane, pos, vViewStart, vViewEnd);\nvec4 color = laserlineProfile(distance);\nfloat alpha = 1.0 - smoothstep(0.995, 0.999, abs(dot(normal, vViewPlane.xyz)));\ngl_FragColor = laserlineOutput(color * alpha * depthDiscontinuityAlpha);\n}`),r}const r=Object.freeze({__proto__:null,build:t});export{r as L,t as b};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as e}from\"../../core/maybe.js\";import{createScreenPointArray as t}from\"../../core/screenUtils.js\";import{makeDehydratedPoint as i}from\"../../layers/graphics/dehydratedFeatures.js\";import{getConvertedElevation as s,getZForElevationMode as o}from\"../../support/elevationInfoUtils.js\";class r{constructor(e,t,i,s=null){this.elevationInfo=e,this.defaultZ=t,this.view=i,this.excludeGraphics=s}screenToMap(i){if(e(this.defaultZ))return this.view.sceneIntersectionHelper.intersectElevationFromScreen(t(i.x,i.y),this.elevationInfo,this.defaultZ,this.excludeGraphics);const s=this.view.sceneIntersectionHelper.intersectElevationFromScreen(t(i.x,i.y),this.elevationInfo,0,this.excludeGraphics);return e(s)&&(s.z=void 0),s}mapToScreen(e){const t=i(e.x,e.y,s(this.view,e,this.elevationInfo),e.spatialReference);return this.view.toScreen(t)}}class n{constructor(e,t,i=[]){this.view=e,this.elevationInfo=t,this.exclude=i}screenToMap(t){const i=this.view.toMap(t,{exclude:this.exclude});return e(i)&&(i.z=o(i,this.view,this.elevationInfo)),i}mapToScreen(t){let o=t;return e(this.elevationInfo)&&(o=i(t.x,t.y,s(this.view,t,this.elevationInfo),t.spatialReference)),this.view.toScreen(o)}}class c{constructor(e){this.view=e,this.screenToMap=t=>e.toMap(t),this.mapToScreen=t=>e.toScreen(t)}}export{r as ElevationDrawSurface,c as MapDrawSurface,n as SceneDrawSurface};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nfunction n(){return new Float32Array(4)}function t(n){const t=new Float32Array(4);return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function r(n,t,r,a){const e=new Float32Array(4);return e[0]=n,e[1]=t,e[2]=r,e[3]=a,e}function a(n,t){return new Float32Array(n,t,4)}function e(){return n()}function u(){return r(1,1,1,1)}function o(){return r(1,0,0,0)}function s(){return r(0,1,0,0)}function c(){return r(0,0,1,0)}function i(){return r(0,0,0,1)}const f=e(),l=u(),_=o(),w=s(),N=c(),U=i(),y=Object.freeze({__proto__:null,create:n,clone:t,fromValues:r,createView:a,zeros:e,ones:u,unitX:o,unitY:s,unitZ:c,unitW:i,ZEROS:f,ONES:l,UNIT_X:_,UNIT_Y:w,UNIT_Z:N,UNIT_W:U});export{l as O,_ as U,f as Z,t as a,a as b,n as c,s as d,c as e,r as f,i as g,w as h,N as i,U as j,u as o,o as u,y as v,e as z};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{ScreenSizeScaling as e}from\"../views/3d/webgl-engine/core/shaderLibrary/ScreenSizeScaling.glsl.js\";import{ShaderOutput as r}from\"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutputOptions.js\";import{Slice as i}from\"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js\";import{Transform as o}from\"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js\";import{ReadLinearDepth as a}from\"../views/3d/webgl-engine/core/shaderLibrary/output/ReadLinearDepth.glsl.js\";import{multipassTerrainTest as d}from\"../views/3d/webgl-engine/core/shaderLibrary/shading/MultipassTerrainTest.glsl.js\";import{symbolAlphaCutoff as l}from\"../views/3d/webgl-engine/core/shaderLibrary/util/AlphaDiscard.glsl.js\";import{ColorConversion as n}from\"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js\";import{glsl as s}from\"../views/3d/webgl-engine/core/shaderModules/interfaces.js\";import{ShaderBuilder as t}from\"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js\";import{VertexAttribute as g}from\"../views/3d/webgl-engine/lib/VertexAttribute.js\";function m(m){const c=new t;return c.include(o,{linearDepth:!1}),c.include(e,{}),c.include(i,m),c.fragment.include(n),c.vertex.uniforms.add(\"proj\",\"mat4\").add(\"view\",\"mat4\"),c.fragment.uniforms.add(\"uColor\",\"vec4\"),c.attributes.add(g.POSITION,\"vec3\"),c.varyings.add(\"vWorldPosition\",\"vec3\"),m.multipassTerrainEnabled&&c.varyings.add(\"depth\",\"float\"),m.screenSizeEnabled&&c.attributes.add(g.OFFSET,\"vec3\"),m.shadingEnabled&&(c.vertex.uniforms.add(\"viewNormal\",\"mat4\"),c.fragment.uniforms.add(\"shadedColor\",\"vec4\").add(\"shadingDirection\",\"vec3\"),c.attributes.add(g.NORMAL,\"vec3\"),c.varyings.add(\"vViewNormal\",\"vec3\")),c.vertex.code.add(s`\n void main(void) {\n vWorldPosition = ${m.screenSizeEnabled?\"screenSizeScaling(offset, position)\":\"position\"};\n `),m.shadingEnabled&&c.vertex.code.add(s`vec3 worldNormal = normal;\nvViewNormal = (viewNormal * vec4(worldNormal, 1)).xyz;`),c.vertex.code.add(s`\n ${m.multipassTerrainEnabled?\"depth = (view * vec4(vWorldPosition, 1.0)).z;\":\"\"}\n gl_Position = transformPosition(proj, view, vWorldPosition);\n }\n `),m.multipassTerrainEnabled&&(c.fragment.include(a),c.include(d,m)),c.fragment.code.add(s`\n void main() {\n discardBySlice(vWorldPosition);\n ${m.multipassTerrainEnabled?\"terrainDepthTest(gl_FragCoord, depth);\":\"\"}\n `),m.shadingEnabled?c.fragment.code.add(s`vec3 viewNormalNorm = normalize(vViewNormal);\nfloat shadingFactor = 1.0 - clamp(-dot(viewNormalNorm, shadingDirection), 0.0, 1.0);\nvec4 finalColor = mix(uColor, shadedColor, shadingFactor);`):c.fragment.code.add(s`vec4 finalColor = uColor;`),c.fragment.code.add(s`\n if (finalColor.a < ${s.float(l)}) {\n discard;\n }\n ${m.output===r.Alpha?s`gl_FragColor = vec4(finalColor.a);`:\"\"}\n\n ${m.output===r.Color?s`gl_FragColor = highlightSlice(finalColor, vWorldPosition); ${m.oitEnabled?\"gl_FragColor = premultiplyAlpha(gl_FragColor);\":\"\"}`:\"\"}\n }\n `),c}const c=Object.freeze({__proto__:null,build:m});export{c as S,m as b};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../Extent.js\";import n from\"../Multipoint.js\";import t from\"../Point.js\";import o from\"../Polygon.js\";import i from\"../Polyline.js\";const r={convertToGEGeometry:s,exportPoint:a,exportPolygon:c,exportPolyline:h,exportMultipoint:m,exportExtent:x};function s(e,n){if(null==n)return null;let t=\"cache\"in n?n.cache._geVersion:void 0;return null==t&&(t=e.convertJSONToGeometry(n),\"cache\"in n&&(n.cache._geVersion=t)),t}function a(e,n,o){const i=e.hasZ(n),r=e.hasM(n),s=new t({x:e.getPointX(n),y:e.getPointY(n),spatialReference:o});return i&&(s.z=e.getPointZ(n)),r&&(s.m=e.getPointM(n)),s.cache._geVersion=n,s}function c(e,n,t){const i=new o({rings:e.exportPaths(n),hasZ:e.hasZ(n),hasM:e.hasM(n),spatialReference:t});return i.cache._geVersion=n,i}function h(e,n,t){const o=new i({paths:e.exportPaths(n),hasZ:e.hasZ(n),hasM:e.hasM(n),spatialReference:t});return o.cache._geVersion=n,o}function m(e,t,o){const i=new n({hasZ:e.hasZ(t),hasM:e.hasM(t),points:e.exportPoints(t),spatialReference:o});return i.cache._geVersion=t,i}function x(n,t,o){const i=n.hasZ(t),r=n.hasM(t),s=new e({xmin:n.getXMin(t),ymin:n.getYMin(t),xmax:n.getXMax(t),ymax:n.getYMax(t),spatialReference:o});if(i){const e=n.getZExtent(t);s.zmin=e.vmin,s.zmax=e.vmax}if(r){const e=n.getMExtent(t);s.mmin=e.vmin,s.mmax=e.vmax}return s.cache._geVersion=t,s}export{r as hydratedAdapter};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isNone as e,abortMaybe as t,isSome as n}from\"../../../core/maybe.js\";import{createTask as r}from\"../../../core/promiseUtils.js\";import{pointEquals as a}from\"../../../layers/graphics/dehydratedFeatureComparison.js\";import{EventPipeline as o}from\"../dragEventPipeline.js\";import{SnappingContext as i}from\"./SnappingContext.js\";import{TaskPriority as s,ImmediateTask as p}from\"../../support/Scheduler.js\";class c{constructor(){this.next=new o}createSnapDragEventPipelineStep({predicate:c=(()=>!0),cancel:l,snappingManager:d,snappingContext:m,updatingHandles:u}){if(e(d))return e=>e;let x=null,y=null;const f=()=>{x=t(x),d.doneSnapping(),n(y)&&y.frameTask.remove(),y=null};return l.next((e=>(f(),e))),this.next=new o,e=>{if(!c(e))return e;if(x=t(x),\"start\"===e.action){const t=\"3d\"===d.view.type?d.view.resourceController.scheduler.registerTask(s.SNAPPING):p;y={context:new i({editGeometryOperations:m.editGeometryOperations,elevationInfo:m.elevationInfo,pointer:m.pointer,vertexHandle:n(e.info)?e.info.handle:null,excludeFeature:m.excludeFeature,visualizer:m.visualizer}),originalPos:n(e.snapOrigin)?m.coordinateHelper.vectorToDehydratedPoint(e.snapOrigin):e.mapStart,frameTask:t}}if(n(y)){const t=y.context.coordinateHelper.vectorToDehydratedPoint(y.context.coordinateHelper.arrayToVector([y.originalPos.x,y.originalPos.y,y.originalPos.z]));t.x+=e.mapEnd.x-e.mapStart.x,t.y+=e.mapEnd.y-e.mapStart.y;const n=e.mapStart.x-y.originalPos.x,o=e.mapStart.y-y.originalPos.y,i={...e,action:\"udpate\"},s=y.context,p=d.update(t,y.context);if(e.mapEnd.x=p.x+n,e.mapEnd.y=p.y+o,\"end\"!==e.action){const e=y.frameTask;x=r((async r=>{const c=await e.schedule((()=>d.snap(t,s,r)),r);if(c.valid){const t=await e.schedule((()=>c.apply()),r);a(t,p)||(i.mapEnd.x=t.x+n,i.mapEnd.y=t.y+o,this.next.execute(i))}})),u.addPromise(x.promise)}}return\"end\"===e.action&&f(),e}}}export{c as SnappingPipeline};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{glsl as e}from\"../../shaderModules/interfaces.js\";function o(o){o.fragment.uniforms.add(\"projInfo\",\"vec4\"),o.fragment.uniforms.add(\"zScale\",\"vec2\"),o.fragment.code.add(e`vec3 reconstructPosition(vec2 fragCoord, float depth) {\nreturn vec3((fragCoord * projInfo.xy + projInfo.zw) * (zScale.x * depth + zScale.y), depth);\n}`)}export{o as CameraSpace};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{ReadLinearDepth as e}from\"./output/ReadLinearDepth.glsl.js\";import{CameraSpace as o}from\"./util/CameraSpace.glsl.js\";import{glsl as r}from\"../shaderModules/interfaces.js\";function a(a,t){a.extensions.add(\"GL_OES_standard_derivatives\"),a.fragment.include(e),a.include(o),a.fragment.uniforms.add(\"glowColor\",\"vec3\"),a.fragment.uniforms.add(\"glowWidth\",\"float\"),a.fragment.uniforms.add(\"glowFalloff\",\"float\"),a.fragment.uniforms.add(\"innerColor\",\"vec3\"),a.fragment.uniforms.add(\"innerWidth\",\"float\"),a.fragment.uniforms.add(\"depthMap\",\"sampler2D\"),a.fragment.uniforms.add(\"nearFar\",\"vec2\"),a.fragment.uniforms.add(\"frameColor\",\"sampler2D\"),t.contrastControlEnabled&&a.fragment.uniforms.add(\"globalAlphaContrastBoost\",\"float\"),a.fragment.code.add(r`vec4 blendPremultiplied(vec4 source, vec4 dest) {\nfloat oneMinusSourceAlpha = 1.0 - source.a;\nreturn vec4(\nsource.rgb + dest.rgb * oneMinusSourceAlpha,\nsource.a + dest.a * oneMinusSourceAlpha\n);\n}`),a.fragment.code.add(r`vec4 premultipliedColor(vec3 rgb, float alpha) {\nreturn vec4(rgb * alpha, alpha);\n}`),a.fragment.code.add(r`vec4 laserlineProfile(float dist) {\nif (dist > glowWidth) {\nreturn vec4(0.0);\n}\nfloat innerAlpha = (1.0 - smoothstep(0.0, innerWidth, dist));\nfloat glowAlpha = pow(max(0.0, 1.0 - dist / glowWidth), glowFalloff);\nreturn blendPremultiplied(\npremultipliedColor(innerColor, innerAlpha),\npremultipliedColor(glowColor, glowAlpha)\n);\n}`),a.fragment.code.add(r`bool laserlineReconstructFromDepth(out vec3 pos, out vec3 normal, out float depthDiscontinuityAlpha) {\nfloat depth = linearDepthFromTexture(depthMap, uv, nearFar);\nif (-depth == nearFar[0]) {\nreturn false;\n}\npos = reconstructPosition(gl_FragCoord.xy, depth);\nnormal = normalize(cross(dFdx(pos), dFdy(pos)));\nfloat ddepth = fwidth(depth);\ndepthDiscontinuityAlpha = 1.0 - smoothstep(0.0, 0.01, -ddepth / depth);\nreturn true;\n}`),t.contrastControlEnabled?a.fragment.code.add(r`float rgbToLuminance(vec3 color) {\nreturn dot(vec3(0.2126, 0.7152, 0.0722), color);\n}\nvec4 laserlineOutput(vec4 color) {\nfloat backgroundLuminance = rgbToLuminance(texture2D(frameColor, uv).rgb);\nfloat alpha = clamp(globalAlpha * max(backgroundLuminance * globalAlphaContrastBoost, 1.0), 0.0, 1.0);\nreturn color * alpha;\n}`):a.fragment.code.add(r`vec4 laserlineOutput(vec4 color) {\nreturn color * globalAlpha;\n}`)}export{a as Laserline};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{deg2rad as e}from\"../core/mathUtils.js\";import{Laserline as t}from\"../views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js\";import{ScreenSpacePass as i}from\"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.js\";import{glsl as n}from\"../views/3d/webgl-engine/core/shaderModules/interfaces.js\";import{ShaderBuilder as a}from\"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js\";const l=e(6);function o(e){const l=new a;return l.extensions.add(\"GL_OES_standard_derivatives\"),l.include(i),l.include(t,e),l.fragment.uniforms.add(\"angleCutoff\",\"vec2\"),l.fragment.uniforms.add(\"globalAlpha\",\"float\"),e.heightManifoldEnabled&&l.fragment.uniforms.add(\"heightPlane\",\"vec4\"),e.pointDistanceEnabled&&l.fragment.uniforms.add(\"pointDistanceSphere\",\"vec4\"),e.lineVerticalPlaneEnabled&&l.fragment.uniforms.add(\"lineVerticalPlane\",\"vec4\").add(\"lineVerticalStart\",\"vec3\").add(\"lineVerticalEnd\",\"vec3\"),(e.heightManifoldEnabled||e.pointDistanceEnabled||e.lineVerticalPlaneEnabled)&&l.fragment.uniforms.add(\"maxPixelDistance\",\"float\"),e.intersectsLineEnabled&&l.fragment.uniforms.add(\"intersectsLineStart\",\"vec3\").add(\"intersectsLineEnd\",\"vec3\").add(\"intersectsLineDirection\",\"vec3\").add(\"intersectsLineRadius\",\"float\").add(\"perScreenPixelRatio\",\"float\"),(e.lineVerticalPlaneEnabled||e.heightManifoldEnabled)&&l.fragment.code.add(n`float planeDistancePixels(vec4 plane, vec3 pos) {\nfloat dist = dot(plane.xyz, pos) + plane.w;\nfloat width = fwidth(dist);\ndist /= min(width, maxPixelDistance);\nreturn abs(dist);\n}`),e.pointDistanceEnabled&&l.fragment.code.add(n`float sphereDistancePixels(vec4 sphere, vec3 pos) {\nfloat dist = distance(sphere.xyz, pos) - sphere.w;\nfloat width = fwidth(dist);\ndist /= min(width, maxPixelDistance);\nreturn abs(dist);\n}`),e.intersectsLineEnabled&&l.fragment.code.add(n`float lineDistancePixels(vec3 start, vec3 dir, float radius, vec3 pos) {\nfloat dist = length(cross(dir, pos - start)) / (length(pos) * perScreenPixelRatio);\nreturn abs(dist) - radius;\n}`),(e.lineVerticalPlaneEnabled||e.intersectsLineEnabled)&&l.fragment.code.add(n`bool pointIsWithinLine(vec3 pos, vec3 start, vec3 end) {\nvec3 dir = end - start;\nfloat t2 = dot(dir, pos - start);\nfloat l2 = dot(dir, dir);\nreturn t2 >= 0.0 && t2 <= l2;\n}`),l.fragment.code.add(n`void main() {\nvec3 pos;\nvec3 normal;\nfloat depthDiscontinuityAlpha;\nif (!laserlineReconstructFromDepth(pos, normal, depthDiscontinuityAlpha)) {\ndiscard;\n}\nvec4 color = vec4(0, 0, 0, 0);`),e.heightManifoldEnabled&&l.fragment.code.add(n`{\nfloat heightManifoldAlpha = 1.0 - smoothstep(angleCutoff.x, angleCutoff.y, abs(dot(normal, heightPlane.xyz)));\nvec4 heightManifoldColor = laserlineProfile(planeDistancePixels(heightPlane, pos));\ncolor = max(color, heightManifoldColor * heightManifoldAlpha);\n}`),e.pointDistanceEnabled&&l.fragment.code.add(n`{\nfloat pointDistanceSphereDistance = sphereDistancePixels(pointDistanceSphere, pos);\nvec4 pointDistanceSphereColor = laserlineProfile(pointDistanceSphereDistance);\nfloat pointDistanceSphereAlpha = 1.0 - smoothstep(angleCutoff.x, angleCutoff.y, abs(dot(normal, normalize(pos - pointDistanceSphere.xyz))));\ncolor = max(color, pointDistanceSphereColor * pointDistanceSphereAlpha);\n}`),e.lineVerticalPlaneEnabled&&l.fragment.code.add(n`{\nif (pointIsWithinLine(pos, lineVerticalStart, lineVerticalEnd)) {\nfloat lineVerticalDistance = planeDistancePixels(lineVerticalPlane, pos);\nvec4 lineVerticalColor = laserlineProfile(lineVerticalDistance);\nfloat lineVerticalAlpha = 1.0 - smoothstep(angleCutoff.x, angleCutoff.y, abs(dot(normal, lineVerticalPlane.xyz)));\ncolor = max(color, lineVerticalColor * lineVerticalAlpha);\n}\n}`),e.intersectsLineEnabled&&l.fragment.code.add(n`{\nif (pointIsWithinLine(pos, intersectsLineStart, intersectsLineEnd)) {\nfloat intersectsLineDistance = lineDistancePixels(intersectsLineStart, intersectsLineDirection, intersectsLineRadius, pos);\nvec4 intersectsLineColor = laserlineProfile(intersectsLineDistance);\nfloat intersectsLineAlpha = 1.0 - smoothstep(angleCutoff.x, angleCutoff.y, 1.0 - abs(dot(normal, intersectsLineDirection)));\ncolor = max(color, intersectsLineColor * intersectsLineAlpha);\n}\n}`),l.fragment.code.add(n`gl_FragColor = laserlineOutput(color * depthDiscontinuityAlpha);\n}`),l}const s=Object.freeze({__proto__:null,defaultAngleCutoff:l,build:o});export{s as L,o as b,l as d};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../../geometry.js\";import{isSome as t,filterNones as r}from\"../../../core/maybe.js\";import{i as e}from\"../../../chunks/mat2d.js\";import{c as s,a}from\"../../../chunks/mat2df64.js\";import{r as o,i}from\"../../../chunks/quat.js\";import{a as n}from\"../../../chunks/quatf64.js\";import{a as l,d as h,f as m,n as c,c as f,q as p}from\"../../../chunks/vec3.js\";import{c as d}from\"../../../chunks/vec3f64.js\";import{Axis as u}from\"../../../geometry/support/Axis.js\";import w from\"../../../geometry/Point.js\";function g(r,e,s=null){return t(s)?[r,e,s]:[r,e]}function R(r,e,s=null){return t(s)?{x:r,y:e,z:s}:{x:r,y:e}}class W{constructor(t){this.spatialReference=t}mapToLocalMultiple(t){return r(t.map((t=>this.mapToLocal(t))))}get doUnnormalization(){return!1}}class v extends W{constructor(t,r,o=null){super(r),this.defaultZ=o,this.transform=s(),this.transformInv=s(),this.transform=a(t),e(this.transformInv,this.transform)}makeMapPoint(t,r){return g(t,r,this.defaultZ)}mapToLocal(t){return R(this.transform[0]*t[0]+this.transform[2]*t[1]+this.transform[4],this.transform[1]*t[0]+this.transform[3]*t[1]+this.transform[5])}localToMap(t){return g(this.transformInv[0]*t.x+this.transformInv[2]*t.y+this.transformInv[4],this.transformInv[1]*t.x+this.transformInv[3]*t.y+this.transformInv[5],this.defaultZ)}}class F extends W{constructor(t,r){super(t.spatialReference),this.view=t,this.defaultZ=null,this.pWS=d(),this.tangentFrameUpWS=d(),this.tangentFrameRightWS=d(),this.tangentFrameForwardWS=d(),this.localFrameRightWS=d(),this.localFrameUpWS=d(),this.worldToLocalTransform=n(),this.localToWorldTransform=n(),this.scale=1,this.scale=t.resolution,this.referenceMapPoint=r,this.defaultZ=r.hasZ?r.z:null;const e=t.state.camera.viewRight;this.view.renderCoordsHelper.toRenderCoords(this.referenceMapPoint,this.pWS),this.view.renderCoordsHelper.worldBasisAtPosition(this.pWS,u.X,this.tangentFrameRightWS),this.view.renderCoordsHelper.worldBasisAtPosition(this.pWS,u.Y,this.tangentFrameUpWS),this.view.renderCoordsHelper.worldBasisAtPosition(this.pWS,u.Z,this.tangentFrameForwardWS);const s=d();l(s,this.tangentFrameForwardWS,h(e,this.tangentFrameForwardWS)),m(this.localFrameRightWS,e,s),c(this.localFrameRightWS,this.localFrameRightWS),f(this.localFrameUpWS,this.tangentFrameForwardWS,this.localFrameRightWS),o(this.worldToLocalTransform,this.localFrameRightWS,this.tangentFrameRightWS),i(this.localToWorldTransform,this.worldToLocalTransform)}get doUnnormalization(){return\"global\"===this.view.viewingMode}makeMapPoint(t,r){return g(t,r,this.defaultZ)}mapToLocal(r){const e=d();this.view.renderCoordsHelper.toRenderCoords(new w({x:r[0],y:r[1],spatialReference:this.spatialReference}),e),p(e,e,this.worldToLocalTransform);const s=this.view.renderCoordsHelper.fromRenderCoords(e,this.view.spatialReference);return t(s)?R(s.x/this.scale,s.y/this.scale):null}localToMap(r){const e=d();this.view.renderCoordsHelper.toRenderCoords(new w({x:r.x*this.scale,y:r.y*this.scale,spatialReference:this.spatialReference}),e),p(e,e,this.localToWorldTransform);const s=this.view.renderCoordsHelper.fromRenderCoords(e,this.view.spatialReference);return t(s)?g(s.x,s.y,this.defaultZ):null}}function S(t,r){if(\"2d\"===t.type)return new v(t.state.transform,t.spatialReference,r.length>2?r[2]:null);if(\"3d\"===t.type){const e=r.length>2?new w({x:r[0],y:r[1],z:r[2],spatialReference:t.spatialReference}):new w({x:r[0],y:r[1],spatialReference:t.spatialReference});return new F(t,e)}return null}export{v as AffineCoordinateSystem,F as SceneViewCoordinateSystem,W as SurfaceCoordinateSystem,S as createViewAlignedCoordinateSystem,g as makeMapPoint,R as makeSurfacePoint};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../../geometry.js\";import{equals as e}from\"../../../core/arrayUtils.js\";import{clone as t}from\"../../../core/lang.js\";import{filterNones as o,isSome as n,isNone as r}from\"../../../core/maybe.js\";import{getMetersPerUnitForSR as a}from\"../../../core/unitUtils.js\";import s from\"../../../geometry/Circle.js\";import{simplify as i,distance as l}from\"../../../geometry/geometryEngine.js\";import{unnormalizeGeometryOnDatelineCrossing as y,isClockwise as c,unnormalizeVerticesOnDatelineCrossing as p}from\"../../../geometry/support/coordsUtils.js\";import{isValid as x}from\"../../../geometry/support/spatialReferenceUtils.js\";import{makeSurfacePoint as m}from\"./surfaceCoordinateSystems.js\";import u from\"../../../geometry/Multipoint.js\";import f from\"../../../geometry/Point.js\";import h from\"../../../geometry/Polyline.js\";import M from\"../../../geometry/Polygon.js\";const g=\"DrawAction-snapping-graphics-layer\";function d(e,t,o=null){return n(o)?[e,t,o]:[e,t]}function R(e,t){const o=new f({x:e[0],y:e[1],spatialReference:t});return e.length>2&&(o.z=e[2]),o}function j(e,t){return new u({points:e,spatialReference:t})}function b(e,t,o){const n=new h({paths:e,spatialReference:t});return o&&y(n),n}function T(o,n,r,a=!0){const s=t(o);s.forEach((t=>{const o=t[0],n=t[t.length-1];e(o,n)&&1!==t.length||t.push(t[0])}));let l=new M({rings:s,spatialReference:n});return l.rings.forEach((e=>{c(e,!1,!1)||e.reverse()})),r&&y(l),a&&l.isSelfIntersecting&&x(n)&&(l=i(l)),l}function U(e,t,n){const r=t.mapToLocalMultiple(e),a=[],s={x:r[0].x,y:r[0].y},i={x:r[1].x,y:r[1].y},l=Math.round(i.x-s.x),y=Math.round(i.y-s.y),c=Math.max(Math.abs(l),Math.abs(y));if(n){const e={x:s.x+c,y:s.y+c},t={x:s.x-c,y:s.y-c};a.push(m(e.x,t.y),m(t.x,t.y),m(t.x,e.y),m(e.x,e.y))}else{const e={x:l>0?s.x+c:s.x-c,y:y>0?s.y+c:s.y-c};a.push(m(s.x,s.y),m(e.x,s.y),m(e.x,e.y),m(s.x,e.y))}return T([o(a.map((e=>t.localToMap(e))))],t.spatialReference,t.doUnnormalization,!0)}function w(e,t,n){let r=t.mapToLocalMultiple(e);if(1===r.length){const e=48,t=r[0];r=[m(t.x-e,t.y+e),m(t.x+e,t.y-e),m(t.x+e,t.y-e),m(t.x-e,t.y+e)]}const a=[],s={x:r[0].x,y:r[0].y},i={x:r[1].x,y:r[1].y};if(n){const e=Math.round(i.x-s.x),t=Math.round(i.y-s.y);a.push(m(s.x-e,s.y-t),m(i.x,s.y-t),m(i.x,i.y),m(s.x-e,i.y))}else a.push(m(s.x,s.y),m(i.x,s.y),m(i.x,i.y),m(s.x,i.y));return T([o(a.map((e=>t.localToMap(e))))],t.spatialReference,t.doUnnormalization,!0)}function z(e,t,o,n){const i=t.mapToLocalMultiple(e);let y=null,c=null;if(o)y=i[0],c=i[1];else{const e=i[0],t=i[1],o=Math.round(t.x-e.x),n=Math.round(t.y-e.y),r=Math.max(Math.abs(o),Math.abs(n));y=m(o>0?e.x+r/2:e.x-r/2,n>0?e.y+r/2:e.y-r/2),c=m(Math.abs(o)>Math.abs(n)?y.x-r/2:y.x,Math.abs(o)>Math.abs(n)?y.y:y.y-r/2)}const u=t.localToMap(y),f=t.localToMap(c);if(r(u)||r(f))return null;t.doUnnormalization&&p([[u,f]],t.spatialReference);const h=R(u,t.spatialReference),M=R(f,t.spatialReference),g=a(t.spatialReference);let d=0;if(x(t.spatialReference))d=g*l(h,M,null);else{const e=y.x-c.x,t=y.y-c.y;d=g*Math.sqrt(e*e+t*t)*(n||1)}const j=new s({center:h,radius:d,radiusUnit:\"meters\",spatialReference:t.spatialReference});return T(j.rings,j.spatialReference,!1)}function L(e,t,n){const r=t.mapToLocalMultiple(e),a=r[0],s=r[1],i=Math.round(s.x-a.x),l=Math.round(s.y-a.y),y=m(n?a.x:a.x+i/2,n?a.y:a.y+l/2),c=n?i:i/2,p=n?l:l/2,x=60,u=[],f=2*Math.PI/x;for(let o=0;ot.localToMap(e))))],t.spatialReference,t.doUnnormalization,!1)}export{g as SNAPPING_GRAPHICS_LAYER_ID,z as createCircle,L as createEllipse,j as createMultipoint,R as createPoint,T as createPolygon,b as createPolyline,w as createRectangle,U as createSquare,d as makeMapPoint};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../Graphic.js\";import\"../../core/has.js\";import r from\"../../core/Evented.js\";import{HandleOwnerMixin as i}from\"../../core/HandleOwner.js\";import{makeHandle as a}from\"../../core/handleUtils.js\";import{destroyMaybe as o,isSome as s,isNone as n,unwrap as l}from\"../../core/maybe.js\";import{property as p}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/accessorSupport/ensureType.js\";import{subclass as h}from\"../../core/accessorSupport/decorators/subclass.js\";import c from\"../../layers/GraphicsLayer.js\";import{createSquare as d,createRectangle as u,createCircle as m,createEllipse as g,createPolygon as y,createPolyline as v,createMultipoint as f}from\"./support/createUtils.js\";import{createViewAlignedCoordinateSystem as w}from\"./support/surfaceCoordinateSystems.js\";import{InteractiveToolBase as O}from\"../interactive/InteractiveToolBase.js\";let _=class extends(i(r.EventedMixin(O))){constructor(e){super(e),this._graphic=null,this.defaultZ=0,this.geometryType=null,this.hasZ=!0,this.mode=null,this.snappingManager=null,this.snapToScene=!1}initialize(){this.internalGraphicsLayer=new c({listMode:\"hide\",internal:!0}),this.view.map.layers.add(this.internalGraphicsLayer),this.drawOperation=this.makeDrawOperation(),this.handles.add([this.drawOperation.on(\"vertex-add\",(e=>this.onVertexAdd(e))),this.drawOperation.on(\"vertex-remove\",(e=>this.onVertexRemove(e))),this.drawOperation.on(\"vertex-update\",(e=>this.onVertexUpdate(e))),this.drawOperation.on(\"cursor-update\",(e=>this.onCursorUpdate(e))),this.drawOperation.on(\"complete\",(e=>this.onComplete(e)))]),this.finishToolCreation()}destroy(){this.drawOperation=o(this.drawOperation),this._destroyAllVisualisations(),this.view.map.remove(this.internalGraphicsLayer),this.internalGraphicsLayer=o(this.internalGraphicsLayer),this._set(\"view\",null)}get canRedo(){return this.drawOperation.canRedo}get canUndo(){return this.drawOperation.canUndo}set centered(e){this._set(\"centered\",e),this._updateGraphic()}set enabled(e){this.drawOperation.interactive=e,this._set(\"enabled\",e)}set forceUniformSize(e){this._set(\"forceUniformSize\",e),this._updateGraphic()}get graphic(){return this._graphic}set graphicSymbol(e){this._set(\"graphicSymbol\",e),s(this._graphic)&&(this._graphic.symbol=e)}get updating(){var e,t;return null!=(e=null==(t=this.drawOperation)?void 0:t.updating)&&e}completeCreateOperation(){this.drawOperation.complete()}onInputEvent(e){this.drawOperation.onInputEvent(e)}redo(){this.drawOperation.redo()}reset(){}undo(){this.drawOperation.undo()}_createGraphic(e){this._graphic=new t({...this.graphicProperties,geometry:e,symbol:this.graphicSymbol}),this.internalGraphicsLayer.add(this._graphic),this.handles.add(this.initializeGraphic(this._graphic)),this.notifyChange(\"graphic\"),this.handles.add(a((()=>{s(this._graphic)&&(this.internalGraphicsLayer.remove(this._graphic),this._graphic=o(this._graphic))})),V)}_destroyAllVisualisations(){this.handles.remove(x.outline),this.handles.remove(x.regularVertices),this.handles.remove(x.activeVertex),this.handles.remove(V)}_getCreateOperationGeometry(e={operationComplete:!1}){if(null==this.drawOperation||0===this.drawOperation.numVertices)return null;const t=this.drawOperation.stagedVertex,r=this.drawOperation.committedVertices,i=r.slice();s(t)&&i.push(this.drawOperation.coordinateHelper.pointToArray(t));const a=s(t)?this.drawOperation.coordinateHelper.pointToArray(t):r.splice(-1)[0],o={regularVertices:null,activeVertex:null,full:null,outline:null},n=i.length,l=this.drawOperation.spatialReference,p=\"3d\"===this.view.type&&\"global\"===this.view.viewingMode;switch(this.geometryType){case\"point\":o.regularVertices=r,o.activeVertex=a,o.full=this.drawOperation.coordinateHelper.arrayToPoint(i[0]);break;case\"multipoint\":o.regularVertices=r,o.activeVertex=a,n>0&&(o.full=f(i,l));break;case\"polyline\":o.regularVertices=r,o.activeVertex=a,n>0&&(o.full=v([i],l,p));break;case\"polygon\":o.regularVertices=r,o.activeVertex=a,n>0&&(o.full=y([i],l,p,!0));break;case\"circle\":if(n>0){const t=w(this.view,i[0]);if(1===n&&e.operationComplete){const e=i[0],r=t.makeMapPoint(e[0]+b*this.view.resolution,e[1]);o.full=m([e,r],t,!0)}else 2===n&&(o.full=this.forceUniformSize?m(i,t,this.centered):g(i,t,this.centered))}break;case\"rectangle\":if(n>0){const t=w(this.view,i[0]);if(1===n&&e.operationComplete){const e=i[0],r=t.makeMapPoint(e[0]+b*this.view.resolution,e[1]);o.full=d([e,r],t,!0)}else 2===n&&(o.full=this.forceUniformSize?d(i,t,this.centered):u(i,t,this.centered))}break;default:return null}switch(this.geometryType){case\"point\":case\"multipoint\":break;case\"polyline\":case\"polygon\":n>1&&(o.outline=v([i],l,p));break;case\"circle\":case\"rectangle\":s(o.full)&&\"polygon\"===o.full.type&&(o.outline=y(o.full.rings,l,p))}return o}initializeGraphic(e){return null}onComplete(e){this._updateGraphic();let t=null;if(this.drawOperation.isCompleted){const e=this._getCreateOperationGeometry({operationComplete:!0});s(e)&&(n(this._graphic)?this._createGraphic(e.full):this._graphic.geometry=e.full,t=l(this._graphic).clone())}this.emit(\"complete\",{graphic:t,...e})}onCursorUpdate(e){this._updateGraphic(),this.emit(\"cursor-update\",e)}onDeactivate(){this.drawOperation.isCompleted||this.drawOperation.cancel()}onVertexAdd(e){this._updateGraphic(),this.emit(\"vertex-add\",e)}onVertexRemove(e){this._updateGraphic(),this.emit(\"vertex-remove\",e)}onVertexUpdate(e){this._updateGraphic(),this.emit(\"vertex-update\",e)}_updateGraphic(){const e=this._getCreateOperationGeometry();n(e)?this._destroyAllVisualisations():(s(e.outline)?this.handles.add(this.onOutlineChanged(e.outline),x.outline):this.handles.remove(x.outline),s(e.regularVertices)?this.handles.add(this.onRegularVerticesChanged(e.regularVertices),x.regularVertices):this.handles.remove(x.regularVertices),s(e.activeVertex)?this.handles.add(this.onActiveVertexChanged(e.activeVertex),x.activeVertex):this.handles.remove(x.activeVertex),s(e.full)?n(this._graphic)?this._createGraphic(e.full):this._graphic.geometry=e.full:this.handles.remove(V))}};e([p({value:!0})],_.prototype,\"centered\",null),e([p({nonNullable:!0})],_.prototype,\"defaultZ\",void 0),e([p()],_.prototype,\"drawOperation\",void 0),e([p({value:!0})],_.prototype,\"enabled\",null),e([p({value:!0})],_.prototype,\"forceUniformSize\",null),e([p({constructOnly:!0})],_.prototype,\"geometryType\",void 0),e([p()],_.prototype,\"graphic\",null),e([p({constructOnly:!0})],_.prototype,\"graphicProperties\",void 0),e([p()],_.prototype,\"graphicSymbol\",null),e([p({constructOnly:!0})],_.prototype,\"hasZ\",void 0),e([p({constructOnly:!0})],_.prototype,\"mode\",void 0),e([p()],_.prototype,\"snappingManager\",void 0),e([p()],_.prototype,\"snapToScene\",void 0),e([p({readOnly:!0})],_.prototype,\"type\",void 0),e([p({readOnly:!0})],_.prototype,\"updating\",null),e([p({constructOnly:!0,nonNullable:!0})],_.prototype,\"view\",void 0),_=e([h(\"esri.views.draw.DrawGraphicTool\")],_);const V=\"create-operation-graphic\",x={outline:\"outline-visual\",regularVertices:\"regular-vertices-visual\",activeVertex:\"active-vertex-visual\"};function G(e){switch(e){case\"point\":case\"polyline\":case\"polygon\":case\"multipoint\":return e;case\"circle\":case\"rectangle\":return\"segment\";default:return null}}const b=48;export{_ as DrawGraphicTool,G as geometryTypeToDrawOperationGeometryType};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{glsl as d}from\"../views/3d/webgl-engine/core/shaderModules/interfaces.js\";import{ShaderBuilder as e}from\"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js\";import{VertexAttribute as r}from\"../views/3d/webgl-engine/lib/VertexAttribute.js\";function i(){const i=new e;return i.extensions.add(\"GL_OES_standard_derivatives\"),i.vertex.uniforms.add(\"proj\",\"mat4\").add(\"view\",\"mat4\"),i.attributes.add(r.POSITION,\"vec3\"),i.attributes.add(r.UV0,\"vec2\"),i.varyings.add(\"vUV\",\"vec2\"),i.vertex.code.add(d`void main(void) {\nvUV = uv0;\ngl_Position = proj * view * vec4(position, 1.0);\n}`),i.fragment.uniforms.add(\"backgroundColor\",\"vec4\").add(\"gridColor\",\"vec4\").add(\"ratio\",\"float\").add(\"gridWidth\",\"float\"),i.fragment.code.add(d`void main() {\nconst float LINE_WIDTH = 1.0;\nvec2 uvScaled = vUV * gridWidth;\nvec2 gridUV = (fract(uvScaled + 0.5) - 0.5) / (LINE_WIDTH * fwidth(uvScaled));\nvec2 grid = (1.0 - step(0.5, gridUV)) * step(-0.5, gridUV);\ngrid.x *= step(0.5, uvScaled.x) * step(uvScaled.x, gridWidth - 0.5);\ngrid.y *= step(0.5, uvScaled.y) * step(uvScaled.y, gridWidth - 0.5);\nfloat gridFade = max(grid.x, grid.y);\nfloat gridAlpha = gridColor.a * gridFade;\ngl_FragColor =\nvec4(backgroundColor.rgb * backgroundColor.a, backgroundColor.a) * (1.0 - gridAlpha) +\nvec4(gridColor.rgb, 1.0) * gridAlpha;\n}`),i}const a=Object.freeze({__proto__:null,build:i});export{a as S,i as b};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import{handlesGroup as t}from\"../../core/handleUtils.js\";import{clone as n}from\"../../core/lang.js\";import{clamp as e}from\"../../core/mathUtils.js\";import{isSome as r,isNone as o,unwrap as a}from\"../../core/maybe.js\";import{createScreenPoint as c}from\"../../core/screenUtils.js\";import{f as s}from\"../../chunks/vec3f64.js\";import{project as i}from\"../../geometry/projection.js\";import{ViewingMode as l}from\"../ViewingMode.js\";import{move as u}from\"../draw/support/drawUtils.js\";import m from\"../../geometry/Point.js\";function f(t,n){let e=null,a=null;return c=>{if(\"cancel\"===c.action)return void(r(a)&&(a.execute({action:\"cancel\"}),e=null,a=null));const s={action:c.action,screenStart:c.start,screenEnd:c.screenPoint};\"start\"===c.action&&o(e)&&(e=new G,a=new G,n(t,e,a,c.pointerType,s)),r(e)&&e.execute(s),\"end\"===c.action&&r(e)&&(e=null,a=null)}}function p(t,n){return t.events.on(\"drag\",f(t,n))}function y(n,e){const r=[];for(const t of n)r.push(p(t,e));return t(r)}function d(t,n){const e=[t.x,t.y,t.z],r=n,o=[Math.cos(r),Math.sin(r)],a=Math.sqrt(o[0]*o[0]+o[1]*o[1]);if(0===a)return null;o[0]/=a,o[1]/=a;const c=t=>{const n=(t.x-e[0])*o[0]+(t.y-e[1])*o[1];t.x=e[0]+n*o[0],t.y=e[1]+n*o[1]};return t=>(c(t.mapStart),c(t.mapEnd),t)}function x(t,n){let e=null;return r=>{if(\"start\"===r.action&&(e=h(t,r.mapStart.spatialReference,n)),o(e))return null;const a=r.mapEnd.x-r.mapStart.x,c=r.mapEnd.y-r.mapStart.y,s=r.mapEnd.z-r.mapStart.z;return e.move(a,c,s),{...r,translationX:a,translationY:c,translationZ:s}}}function g(t,n){return o(t)?null:t.spatialReference.equals(n)?t.clone():i(t,n)}function h(t,n,e){const r=t.geometry;if(o(r))return null;if(\"mesh\"===r.type)return E(t,r,n,e);const a=g(r,n),c=r.spatialReference;return o(a)?null:{move:(n,e,r)=>{const o=u(a.clone(),n,e,r);o.spatialReference.equals(c)?t.geometry=o:t.geometry=i(o,c)}}}function E(t,n,e,o){if(r(n.transform))return S(t,n,n.transform,e);if(!n.spatialReference.equals(e))return null;let a=0,c=0,s=0;return{move:(e,r,i)=>{const u=e-a,f=r-c,p=i-s;if(u||f||p){const y=new m(n.origin.x+u,n.origin.y+f,n.origin.z+p,n.origin.spatialReference);n.centerAt(y,{geographic:o===l.Global}),t.notifyGeometryChanged(),a=e,c=r,s=i}}}}function S(t,n,e,a){const c=g(e.getOriginPoint(n.spatialReference),a),l=n.spatialReference;return o(c)?null:{move:(n,o,a)=>{const m=u(c.clone(),n,o,a);if(m.spatialReference.equals(l))e.origin=s(m.x,m.y,m.z);else{const t=i(m,l);r(t)&&(e.origin=s(t.x,t.y,t.z))}t.notifyMeshTransformChanged(),t.notifyGeometryChanged()}}}function j(t,n=null,e){let a=null;const c=r(n)&&!t.spatialReference.equals(n)?t=>r(t)?i(t,n):t:t=>t,s={exclude:[],...e};return n=>{if(\"start\"===n.action&&(a=c(t.toMap(n.screenStart,s))),o(a))return null;const e=c(t.toMap(n.screenEnd,s));return r(e)?{...n,mapStart:a,mapEnd:e}:null}}function R(t,n){const e=t.map((t=>a(x(t,n)))).filter((t=>r(t)));return t=>{const n=t.mapEnd.x-t.mapStart.x,r=t.mapEnd.y-t.mapStart.y,o=t.mapEnd.z-t.mapStart.z;return e.forEach((n=>n(t))),{...t,translationX:n,translationY:r,translationZ:o}}}function z(t,e){const r=new Map;for(const o of e)r.set(o,n(t[o]));return n=>(r.forEach(((n,e)=>{t[e]=n})),n)}function w(t){return r(t.geometry)&&\"mesh\"===t.geometry.type?v(t,t.geometry):z(t,[\"geometry\"])}function v(t,n){const e=r(n.transform)?n.transform.clone():null,o=n.vertexAttributes.clonePositional();return r=>(n.transform=e,n.vertexAttributes=o,t.notifyGeometryChanged(),r)}function M(t){const n=t.map((t=>a(w(t)))).filter((t=>r(t)));return t=>(n.forEach((n=>n(t))),t)}function q(t){return z(t,[\"symbol\"])}function D(){let t=0,n=0,e=0;return r=>{\"start\"===r.action&&(t=r.mapStart.x,n=r.mapStart.y,e=r.mapStart.z);const o=r.mapEnd.x-t,a=r.mapEnd.y-n,c=r.mapEnd.z-e;return t=r.mapEnd.x,n=r.mapEnd.y,e=r.mapEnd.z,{...r,mapDeltaX:o,mapDeltaY:a,mapDeltaZ:c,mapDeltaSpatialReference:r.mapStart.spatialReference}}}function b(){let t=0,n=0;return e=>{\"start\"===e.action&&(t=e.screenStart.x,n=e.screenStart.y);const r=e.screenEnd.x-t,o=e.screenEnd.y-n;return t=e.screenEnd.x,n=e.screenEnd.y,{...e,screenDeltaX:r,screenDeltaY:o}}}function C(t,n){let r=null,o=0,a=0;return s=>{if(\"start\"===s.action&&(r=t.toScreen(n),r.x<0||r.x>t.width||r.y<0||r.y>t.height?r=null:(o=s.screenStart.x-r.x,a=s.screenStart.y-r.y)),null==r)return null;const i=e(s.screenEnd.x-o,0,t.width),l=e(s.screenEnd.y-a,0,t.height),u=c(i,l);return s.screenStart=r,s.screenEnd=u,s}}class G{constructor(){this.execute=()=>{}}next(t,n=new G){return r(t)&&(this.execute=e=>{const o=t(e);r(o)&&n.execute(o)}),n}}export{G as EventPipeline,D as addMapDelta,b as addScreenDelta,d as constrainToMapAxis,f as createDragEventPipelineCallback,p as createManipulatorDragEventPipeline,y as createManipulatorDragEventPipelineMany,C as dragAtLocation,x as dragGraphic,R as dragGraphicMany,w as resetGraphic,M as resetGraphicMany,z as resetProperties,q as resetSymbol,j as screenToMap};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{getPathExtension as i}from\"../../core/urlUtils.js\";function p(i){return o[n(i)]||e}function n(i){return i instanceof Blob?i.type:t(i.url)}function t(p){const n=i(p);return g[n]||a}const o={},a=\"text/plain\",e=o[a],g={png:\"image/png\",jpeg:\"image/jpeg\",jpg:\"image/jpg\",bmp:\"image/bmp\",gif:\"image/gif\",json:\"application/json\",txt:\"text/plain\",xml:\"application/xml\",svg:\"image/svg+xml\",zip:\"application/zip\",pbf:\"application/vnd.mapbox-vector-tile\",gz:\"application/gzip\"};for(const l in g)o[g[l]]=l;export{p as getResourceContentExtension};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{isSome as t,isNone as r,get as e}from\"../../maybe.js\";import{isMultiOriginJSONMixin as o}from\"../../multiOriginJSONSupportUtils.js\";import{isAbsolute as i,isBlobProtocol as n,join as s,getPathExtension as u}from\"../../urlUtils.js\";import{generateUUID as p}from\"../../uuid.js\";import{getOwnPropertyMetadata as a}from\"../metadata.js\";import{nameToId as c}from\"../PropertyOrigin.js\";import{propertyJSONMeta as l}from\"./property.js\";import{getResourceContentExtension as f}from\"../../../portal/support/resourceExtension.js\";import{r as m,t as y,M as h,i as d,p as g}from\"../../../chunks/persistableUrlUtils.js\";function w(r){const e=t(r)&&r.origins?r.origins:[void 0];return(t,o)=>{const i=v(r,t,o);for(const r of e){const e=l(t,r,o);for(const t in i)e[t]=i[t]}}}function v(r,e,o){if(t(r)&&\"resource\"===r.type)return U(r,e,o);switch(t(r)&&r.type?r.type:\"other\"){case\"other\":return{read:!0,write:!0};case\"url\":{const{read:t,write:r}=g;return{read:t,write:r}}}}function U(e,s,u){const p=a(s,u);return{type:String,read:(t,r,e)=>{const o=m(t,r,e);return p.type===String?o:\"function\"==typeof p.type?new p.type({url:o}):void 0},write:{writer(s,a,l,f){if(!f||!f.resources)return\"string\"==typeof s?void(a[l]=y(s,f)):void(a[l]=s.write({},f));const m=R(s),g=m?y(m,{...f,verifyItemRelativeUrls:f&&f.verifyItemRelativeUrls?{writtenUrls:f.verifyItemRelativeUrls.writtenUrls,rootPath:null}:null},h.NO):null,w=p.type!==String&&(!o(this)||f&&f.origin&&this.originIdOf(u)>c(f.origin));f&&f.portalItem&&t(g)&&!i(g)?w?I(this,u,s,g,a,l,f,e):O(g,a,l,f):f&&f.portalItem&&(r(g)||t(d(g))||n(g)||w)?j(this,u,s,g,a,l,f,e):a[l]=g}}}}function j(t,r,o,i,u,a,c,l){const m=p(),y=b(o,i,c),h=s(e(l,\"prefix\"),m),d=`${h}.${f(y)}`,g=c.portalItem.resourceFromPath(d);n(i)&&c.resources.pendingOperations.push(P(i).then((t=>{g.path=`${h}.${f(t)}`,u[a]=g.itemRelativeUrl})).catch((()=>{}))),S(t,r,g,y,c.resources.toAdd),u[a]=g.itemRelativeUrl}function I(t,r,e,o,i,n,s,p){const a=s.portalItem.resourceFromPath(o),c=b(e,o,s);f(c)===u(a.path)?(S(t,r,a,c,s.resources.toUpdate),i[n]=o):j(t,r,e,o,i,n,s,p)}function O(t,r,e,o){o.resources.toKeep.push({resource:o.portalItem.resourceFromPath(t)}),r[e]=t}function S(t,r,e,o,i){i.push({resource:e,content:o,finish:e=>{N(t,r,e)}})}function b(t,r,e){return\"string\"==typeof t?{url:r}:new Blob([JSON.stringify(t.toJSON(e))],{type:\"application/json\"})}async function P(t){const r=(await import(\"../../../request.js\")).default,{data:e}=await r(t,{responseType:\"blob\"});return e}function R(t){return r(t)?null:\"string\"==typeof t?t:t.url}function N(t,r,e){\"string\"==typeof t[r]?t[r]=e.url:t[r].url=e.url}export{w as persistable};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../core/Evented.js\";class e{constructor({grabbableForEvent:e}){this.events=new t,this.interactive=!0,this.selectable=!1,this.cursor=null,this.grabbable=!0,this.grabbableForEvent=e}intersectionDistance(t,e){return 0}attach(){}detach(){}}export{e as DrawManipulator};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nconst c=[\"freehand\",\"hybrid\",\"click\"],e=\"click\";export{e as defaultDrawingMode,c as drawingModes};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../core/Evented.js\";import{HandleOwner as i}from\"../../core/HandleOwner.js\";import{clone as r}from\"../../core/lang.js\";import{isNone as s,destroyMaybe as n,removeMaybe as a,isSome as o,abortMaybe as p}from\"../../core/maybe.js\";import{createTask as h}from\"../../core/promiseUtils.js\";import{createScreenPoint as c}from\"../../core/screenUtils.js\";import{property as d}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/accessorSupport/ensureType.js\";import{subclass as l}from\"../../core/accessorSupport/decorators/subclass.js\";import{pointEquals as m}from\"../../layers/graphics/dehydratedFeatureComparison.js\";import{ViewingMode as g}from\"../ViewingMode.js\";import{DrawManipulator as u}from\"./DrawManipulator.js\";import{defaultDrawingMode as y}from\"./DrawingMode.js\";import{createCoordinateHelper as v}from\"../interactive/coordinateHelper.js\";import{createManipulatorDragEventPipeline as _}from\"../interactive/dragEventPipeline.js\";import{EditGeometry as x,Component as f}from\"../interactive/editGeometry/EditGeometry.js\";import{EditGeometryOperations as T}from\"../interactive/editGeometry/EditGeometryOperations.js\";import{SnappingContext as V}from\"../interactive/snapping/SnappingContext.js\";import{SnappingPipeline as S}from\"../interactive/snapping/SnappingDragPipelineStep.js\";import{TaskPriority as w,ImmediateTask as M}from\"../support/Scheduler.js\";let b=class extends(t.EventedMixin(i)){constructor(e){super(e),this._createOperationCompleted=!1,this._pointerDownStates=new Set,this._snappingPipeline=new S,this._snappingTask=null,this._stagedVertex=null,this.snapToSceneEnabled=null,s(e.elevationInfo)&&(this.elevationInfo={mode:e.hasZ?\"absolute-height\":\"on-the-ground\",offset:0})}initialize(){var e,t;this.coordinateHelper=v(this.hasZ,this.hasM,this.view.spatialReference);const i=\"3d\"===this.view.type?null==(e=this.view)||null==(t=e.resourceController)?void 0:t.scheduler:null;this._frameTask=i?i.registerTask(w.SNAPPING):M;const r=\"viewingMode\"in this.view.state?this.view.state.viewingMode:g.Local,s=\"segment\"===this.geometryType||\"multipoint\"===this.geometryType?\"polyline\":this.geometryType;this._editGeometryOperations=new T(new x(s,this.coordinateHelper,r)),this._activeComponent=new f(this.spatialReference,r),this._editGeometryOperations.data.components.push(this._activeComponent),this.handles.add(this._editGeometryOperations.on([\"vertex-add\",\"vertex-update\",\"vertex-remove\"],(e=>{const t=e.vertices.map((e=>({componentIndex:0,vertexIndex:e.index,coordinates:this.coordinateHelper.vectorToArray(e.pos)}))),i=t.map((e=>e.coordinates));switch(e.type){case\"vertex-add\":this.emit(e.type,{...e,added:i,vertices:t});break;case\"vertex-update\":this.emit(e.type,{...e,updated:i,vertices:t});break;case\"vertex-remove\":this.emit(e.type,{...e,removed:i,vertices:t})}}))),this._manipulator=new u({grabbableForEvent:e=>\"click\"!==this.drawingMode||\"touch\"===e.pointerType&&this._snappingEnabled&&1===this._pointerDownStates.size}),this.manipulators.add(this._manipulator),this._manipulator.grabbable=\"point\"!==this.geometryType,this.handles.add([this._createManipulatorDragPipeline(this._manipulator),this._manipulator.events.on(\"immediate-click\",(e=>this._onImmediateClick(e))),this._manipulator.events.on(\"immediate-double-click\",(e=>this._onImmediateDoubleClick(e)))])}destroy(){this._editGeometryOperations=n(this._editGeometryOperations),this._frameTask=a(this._frameTask)}get _snappingEnabled(){return o(this.snappingManager)&&this.snappingManager.options.effectiveEnabled}get canRedo(){return this._editGeometryOperations.canRedo}get canUndo(){return this._editGeometryOperations.canUndo}get committedVertices(){return this._activeComponent.vertices.map((e=>this.coordinateHelper.vectorToArray(e.pos)))}set drawingMode(e){this._set(\"drawingMode\",null!=e?e:y)}get hasStagedVertex(){return o(this._stagedVertex)}get interactive(){return this._manipulator.interactive}set interactive(e){this._manipulator.interactive=e}get isCompleted(){return this._createOperationCompleted}get numCommittedVertices(){return this._activeComponent.vertices.length}get numVertices(){return o(this._stagedVertex)?this._activeComponent.vertices.length+1:this._activeComponent.vertices.length}get spatialReference(){return this.view.spatialReference}get stagedVertex(){return this._stagedVertex}set stagedVertex(e){if(s(e))this.discardStagedVertex();else if(!o(this._stagedVertex)||!m(this._stagedVertex,e)){if(s(this._stagedVertex))this._stagedVertex=r(e);else{if(m(this._stagedVertex,e))return;this._stagedVertex.x=e.x,this._stagedVertex.y=e.y,this._stagedVertex.z=e.z,this._stagedVertex.m=e.m,this._stagedVertex.hasZ=e.hasZ,this._stagedVertex.hasM=e.hasM,this._stagedVertex.spatialReference=e.spatialReference}this.emit(\"cursor-update\",{updated:null,vertices:[{componentIndex:0,vertexIndex:this._activeComponent.vertices.length,coordinates:this.coordinateHelper.pointToArray(e)}],operation:\"apply\",type:\"vertex-update\"})}}get updating(){return this.updatingHandles.updating}get vertices(){const e=this.committedVertices;return o(this._stagedVertex)&&e.push(this.coordinateHelper.pointToArray(this._stagedVertex)),e}cancel(){this.complete({aborted:!0})}commitStagedVertex(){if(this._snappingTask=p(this._snappingTask),o(this._stagedVertex)){const e=this._stagedVertex;this._stagedVertex=null,this._editGeometryOperations.appendVertex(this.coordinateHelper.pointToVector(e))}}complete(e){const t=e&&e.aborted||!1;p(this._snappingTask),o(this.snappingManager)&&this.snappingManager.doneSnapping(),\"segment\"===this.geometryType||\"point\"===this.geometryType?this.commitStagedVertex():this.discardStagedVertex();const i=\"multipoint\"===this.geometryType&&0===this.numVertices||\"polyline\"===this.geometryType&&this.numVertices<2||\"polygon\"===this.geometryType&&this.numVertices<3;this._createOperationCompleted=!i,(this.isCompleted||t)&&this.emit(\"complete\",{vertices:this.vertices.map(((e,t)=>({componentIndex:0,vertexIndex:t,coordinates:e}))),aborted:t,type:\"complete\"})}discardStagedVertex(){this._stagedVertex=null}onInputEvent(e){switch(e.type){case\"pointer-down\":this._pointerDownStates.add(e.pointerId);break;case\"pointer-up\":this._pointerDownStates.delete(e.pointerId)}switch(e.type){case\"pointer-move\":return this._onPointerMove(e);case\"hold\":return this._onHold(e)}}redo(){this._editGeometryOperations.redo()}undo(){o(this.snappingManager)&&this.snappingManager.doneSnapping(),this._editGeometryOperations.undo()}_closeOnClickVertexIndex(e){const t=this._activeComponent;if(\"polygon\"===this.geometryType&&t.vertices.length>2){if(this._vertexWithinPointerDistance(t.vertices[0].pos,e))return 0;if(this._vertexWithinPointerDistance(t.vertices[t.vertices.length-1].pos,e))return t.vertices.length-1}return null}_createManipulatorDragPipeline(e){switch(this.drawingMode){case\"click\":return this._createManipulatorDragPipelineClick(e);case\"freehand\":return this._createManipulatorDragPipelineFreehand(e);case\"hybrid\":return this._createManipulatorDragPipelineHybrid(e)}}_createManipulatorDragPipelineClick(e){return _(e,((e,t,i,r)=>{const s=\"touch\"===r&&this._snappingEnabled;!this.isCompleted&&s&&(t.next(this._screenToMapDragEventStep()).next((e=>(\"start\"===e.action&&(this.stagedVertex=e.mapStart,(\"segment\"===this.geometryType||s&&0===this.numVertices)&&this.commitStagedVertex()),e))).next(this._snappingPipeline.createSnapDragEventPipelineStep({predicate:()=>s,cancel:i,snappingManager:this.snappingManager,snappingContext:new V({editGeometryOperations:this._editGeometryOperations,elevationInfo:this.elevationInfo,pointer:r,visualizer:this.snappingVisualizer}),updatingHandles:this.updatingHandles}),this._snappingPipeline.next).next((e=>(s&&(this.stagedVertex=e.mapEnd,\"end\"===e.action&&this.commitStagedVertex()),e))).next((e=>(\"end\"===e.action&&(\"segment\"!==this.geometryType&&\"point\"!==this.geometryType||this.complete()),e))),i.next((()=>{s&&o(this.snappingManager)&&this.snappingManager.doneSnapping()})))}))}_createManipulatorDragPipelineFreehand(e){return _(e,((e,t)=>{this.isCompleted||t.next(this._screenToMapDragEventStep()).next((e=>(\"start\"===e.action&&(s(this.stagedVertex)&&(this.stagedVertex=e.mapStart),\"segment\"===this.geometryType&&this.commitStagedVertex()),e))).next((e=>{switch(e.action){case\"start\":case\"update\":this.stagedVertex=e.mapEnd,\"polygon\"!==this.geometryType&&\"polyline\"!==this.geometryType||this.commitStagedVertex();break;case\"end\":this.complete()}return e}))}))}_createManipulatorDragPipelineHybrid(e){return _(e,((e,t)=>{this.isCompleted||t.next(this._screenToMapDragEventStep()).next((e=>(\"start\"===e.action&&(s(this.stagedVertex)&&(this.stagedVertex=e.mapStart),this.commitStagedVertex()),e))).next((e=>{switch(e.action){case\"start\":case\"update\":this.stagedVertex=e.mapEnd,\"polygon\"!==this.geometryType&&\"polyline\"!==this.geometryType||this.commitStagedVertex();break;case\"end\":\"segment\"!==this.geometryType&&\"point\"!==this.geometryType||this.complete()}return e}))}))}_getDrawSurface(){if(s(this.elevationDrawSurface))return this.drawSurface;if(!this.coordinateHelper.hasZ)return this.elevationDrawSurface.defaultZ=null,this.elevationDrawSurface;let e=this.defaultZ,t=!1;o(this.elevationInfo)&&\"absolute-height\"===this.elevationInfo.mode&&(t=!0),o(this.snapToSceneEnabled)&&(t=this.snapToSceneEnabled),o(this.elevationInfo)&&\"on-the-ground\"===this.elevationInfo.mode&&(t=!1);const i=this._activeComponent.vertices.length;return(\"segment\"===this.geometryType||\"polygon\"===this.geometryType)&&i>0&&(e=this.coordinateHelper.getZ(this._activeComponent.vertices[0].pos),t=!1),t?this.drawSurface:(this.elevationDrawSurface.defaultZ=e,this.elevationDrawSurface)}_mapToScreen(e){return this._getDrawSurface().mapToScreen(e)}_onHold(e){p(this._snappingTask),\"click\"===this.drawingMode&&\"touch\"===e.pointerType&&this._snappingEnabled&&(this.stagedVertex=e.mapPoint),e.stopPropagation()}_onImmediateClick(e){if(\"mouse\"===e.pointerType&&2===e.button||this._manipulator.dragging)return;const t=this._activeComponent,i=this._closeOnClickVertexIndex(e.screenPoint);if(o(i))return e.stopPropagation(),this.discardStagedVertex(),void this.complete();const r=this._screenToMap(e.screenPoint);if(o(r))switch(this.drawingMode){case\"freehand\":\"point\"===this.geometryType&&(this.hasStagedVertex?this.commitStagedVertex():this._editGeometryOperations.appendVertex(this.coordinateHelper.pointToVector(r)),this.complete());break;case\"click\":case\"hybrid\":this._snappingTask=p(this._snappingTask),this.hasStagedVertex?this.commitStagedVertex():this._editGeometryOperations.appendVertex(this.coordinateHelper.pointToVector(r)),(\"point\"===this.geometryType||\"segment\"===this.geometryType&&2===t.vertices.length||\"segment\"===this.geometryType&&\"hybrid\"===this.drawingMode&&1===t.vertices.length)&&this.complete()}e.stopPropagation()}_onImmediateDoubleClick(e){this._manipulator.dragging||\"point\"===this.geometryType||(this.complete(),e.stopPropagation())}_onPointerMove(e){if(p(this._snappingTask),this._manipulator.dragging||this._pointerDownStates.has(e.pointerId)||this._manipulator.grabbing||!this._manipulator.interactive)return;const t=c(e.x,e.y),i=this._closeOnClickVertexIndex(t);if(o(i)){this.discardStagedVertex();const e={componentIndex:0,vertexIndex:i,coordinates:this.coordinateHelper.vectorToArray(this._activeComponent.vertices[i].pos)};this.emit(\"cursor-update\",{updated:null,vertices:[e],operation:\"apply\",type:\"vertex-update\"})}else{const i=this._screenToMap(t);if(this._manipulator.cursor=o(i)?\"crosshair\":null,o(i))if(o(this.snappingManager)){const t=this.snappingManager,r=new V({editGeometryOperations:this._editGeometryOperations,elevationInfo:this.elevationInfo,pointer:e.pointerType,visualizer:this.snappingVisualizer});this.stagedVertex=t.update(i,r),this._snappingTask=h((async e=>{const s=await this._frameTask.schedule((()=>t.snap(i,r,e)),e);s.valid&&await this._frameTask.schedule((()=>{this.stagedVertex=s.apply()}),e)})),this.updatingHandles.addPromise(this._snappingTask.promise)}else this.stagedVertex=i}e.stopPropagation()}_screenToMap(e){return this._getDrawSurface().screenToMap(e)}_screenToMapDragEventStep(){let e=null;return t=>{if(\"start\"===t.action&&(e=this._screenToMap(t.screenStart)),s(e))return null;const i=this._screenToMap(t.screenEnd);return o(i)?{...t,mapStart:e,mapEnd:i}:null}}_vertexWithinPointerDistance(e,t){const i=25,r=this._mapToScreen(this.coordinateHelper.vectorToDehydratedPoint(e));return!!o(r)&&k(r,t,i)}};function k(e,t,i){const r=e.x-t.x,s=e.y-t.y;return r*r+s*s<=i}e([d()],b.prototype,\"defaultZ\",void 0),e([d({value:y})],b.prototype,\"drawingMode\",null),e([d({constructOnly:!0})],b.prototype,\"elevationDrawSurface\",void 0),e([d({constructOnly:!0})],b.prototype,\"elevationInfo\",void 0),e([d({constructOnly:!0})],b.prototype,\"geometryType\",void 0),e([d({constructOnly:!0})],b.prototype,\"hasM\",void 0),e([d({constructOnly:!0})],b.prototype,\"hasZ\",void 0),e([d({constructOnly:!0})],b.prototype,\"manipulators\",void 0),e([d({constructOnly:!0})],b.prototype,\"drawSurface\",void 0),e([d({constructOnly:!0})],b.prototype,\"snappingManager\",void 0),e([d({constructOnly:!0})],b.prototype,\"snappingVisualizer\",void 0),e([d()],b.prototype,\"snapToSceneEnabled\",void 0),e([d({readOnly:!0})],b.prototype,\"updating\",null),e([d({constructOnly:!0})],b.prototype,\"view\",void 0),b=e([l(\"esri.views.draw.DrawOperation\")],b);export{b as DrawOperation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import{isSome as e,isNone as t}from\"../../core/maybe.js\";import{getMetersPerUnitForSR as r}from\"../../core/unitUtils.js\";import{calculateTolerance as n}from\"../../renderers/support/clickToleranceUtils.js\";import i from\"../../geometry/Extent.js\";function a(t,n,a,o=new i){let s;if(\"2d\"===a.type)s=n*a.resolution;else if(\"3d\"===a.type){const i=a.overlayPixelSizeInMapUnits(t),o=a.basemapSpatialReference;s=e(o)&&!o.equals(a.spatialReference)?r(o)/r(a.spatialReference):n*i}const m=t.x-s,p=t.y-s,c=t.x+s,l=t.y+s,{spatialReference:f}=a;return o.xmin=Math.min(m,c),o.ymin=Math.min(p,l),o.xmax=Math.max(m,c),o.ymax=Math.max(p,l),o.spatialReference=f,o}function o(e,r,i){const o=i.toMap(e);if(t(o))return!1;return a(o,n(),i,s).intersects(r)}const s=new i;export{a as createQueryGeometry,o as intersectsDrapedGeometry};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{G as n}from\"../chunks/geometryEngineBase.js\";import{hydratedAdapter as e}from\"./geometryAdapters/hydrated.js\";function r(n){return Array.isArray(n)?n[0].spatialReference:n&&n.spatialReference}function t(e){return n.extendedSpatialReferenceInfo(e)}function u(t,u){return n.clip(e,r(t),t,u)}function i(t,u){return n.cut(e,r(t),t,u)}function o(t,u){return n.contains(e,r(t),t,u)}function c(t,u){return n.crosses(e,r(t),t,u)}function f(t,u,i){return n.distance(e,r(t),t,u,i)}function l(t,u){return n.equals(e,r(t),t,u)}function a(t,u){return n.intersects(e,r(t),t,u)}function s(t,u){return n.touches(e,r(t),t,u)}function p(t,u){return n.within(e,r(t),t,u)}function g(t,u){return n.disjoint(e,r(t),t,u)}function m(t,u){return n.overlaps(e,r(t),t,u)}function d(t,u,i){return n.relate(e,r(t),t,u,i)}function x(t){return n.isSimple(e,r(t),t)}function w(t){return n.simplify(e,r(t),t)}function E(t,u=!1){return n.convexHull(e,r(t),t,u)}function h(t,u){return n.difference(e,r(t),t,u)}function A(t,u){return n.symmetricDifference(e,r(t),t,u)}function y(t,u){return n.intersect(e,r(t),t,u)}function R(t,u=null){return n.union(e,r(t),t,u)}function I(t,u,i,o,c,f){return n.offset(e,r(t),t,u,i,o,c,f)}function v(t,u,i,o=!1){return n.buffer(e,r(t),t,u,i,o)}function S(t,u,i,o,c,f){return n.geodesicBuffer(e,r(t),t,u,i,o,c,f)}function j(t,u,i=!0){return n.nearestCoordinate(e,r(t),t,u,i)}function J(t,u){return n.nearestVertex(e,r(t),t,u)}function N(t,u,i,o){return n.nearestVertices(e,r(t),t,u,i,o)}function O(n){return\"xmin\"in n?\"center\"in n?n.center:null:\"x\"in n?n:\"extent\"in n?n.extent.center:null}function V(e,r,t){var u;if(null==e)throw new Error(\"Illegal Argument Exception\");const i=e.spatialReference;if(null==(t=null!=(u=t)?u:O(e)))throw new Error(\"Illegal Argument Exception\");const o=e.constructor.fromJSON(n.rotate(e,r,t));return o.spatialReference=i,o}function z(e,r){var t;if(null==e)throw new Error(\"Illegal Argument Exception\");const u=e.spatialReference;if(null==(r=null!=(t=r)?t:O(e)))throw new Error(\"Illegal Argument Exception\");const i=e.constructor.fromJSON(n.flipHorizontal(e,r));return i.spatialReference=u,i}function B(e,r){var t;if(null==e)throw new Error(\"Illegal Argument Exception\");const u=e.spatialReference;if(null==(r=null!=(t=r)?t:O(e)))throw new Error(\"Illegal Argument Exception\");const i=e.constructor.fromJSON(n.flipVertical(e,r));return i.spatialReference=u,i}function D(t,u,i,o){return n.generalize(e,r(t),t,u,i,o)}function H(t,u,i){return n.densify(e,r(t),t,u,i)}function L(t,u,i,o=0){return n.geodesicDensify(e,r(t),t,u,i,o)}function b(t,u){return n.planarArea(e,r(t),t,u)}function k(t,u){return n.planarLength(e,r(t),t,u)}function q(t,u,i){return n.geodesicArea(e,r(t),t,u,i)}function C(t,u,i){return n.geodesicLength(e,r(t),t,u,i)}export{v as buffer,u as clip,o as contains,E as convexHull,c as crosses,i as cut,H as densify,h as difference,g as disjoint,f as distance,l as equals,t as extendedSpatialReferenceInfo,z as flipHorizontal,B as flipVertical,D as generalize,q as geodesicArea,S as geodesicBuffer,L as geodesicDensify,C as geodesicLength,y as intersect,a as intersects,x as isSimple,j as nearestCoordinate,J as nearestVertex,N as nearestVertices,I as offset,m as overlaps,b as planarArea,k as planarLength,d as relate,V as rotate,w as simplify,A as symmetricDifference,s as touches,R as union,p as within};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{ShaderOutput as e}from\"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutputOptions.js\";import{Slice as r}from\"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js\";import{Transform as a}from\"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js\";import{ReadLinearDepth as i}from\"../views/3d/webgl-engine/core/shaderLibrary/output/ReadLinearDepth.glsl.js\";import{multipassTerrainTest as o}from\"../views/3d/webgl-engine/core/shaderLibrary/shading/MultipassTerrainTest.glsl.js\";import{defaultMaskAlphaCutoff as t}from\"../views/3d/webgl-engine/core/shaderLibrary/util/AlphaDiscard.glsl.js\";import{ColorConversion as d}from\"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js\";import{glsl as l}from\"../views/3d/webgl-engine/core/shaderModules/interfaces.js\";import{ShaderBuilder as s}from\"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js\";import{VertexAttribute as n}from\"../views/3d/webgl-engine/lib/VertexAttribute.js\";function g(g){const p=new s;return p.include(a,{linearDepth:!1}),p.vertex.uniforms.add(\"proj\",\"mat4\").add(\"view\",\"mat4\"),p.attributes.add(n.POSITION,\"vec3\"),p.attributes.add(n.UV0,\"vec2\"),p.varyings.add(\"vpos\",\"vec3\"),g.multipassTerrainEnabled&&p.varyings.add(\"depth\",\"float\"),p.vertex.uniforms.add(\"textureCoordinateScaleFactor\",\"vec2\"),p.vertex.code.add(l`\n void main(void) {\n vpos = position;\n ${g.multipassTerrainEnabled?\"depth = (view * vec4(vpos, 1.0)).z;\":\"\"}\n vTexCoord = uv0 * textureCoordinateScaleFactor;\n gl_Position = transformPosition(proj, view, vpos);\n }\n `),p.include(r,g),g.multipassTerrainEnabled&&(p.fragment.include(i),p.include(o,g)),p.fragment.uniforms.add(\"tex\",\"sampler2D\"),p.fragment.uniforms.add(\"opacity\",\"float\"),p.varyings.add(\"vTexCoord\",\"vec2\"),g.output===e.Alpha?p.fragment.code.add(l`\n void main() {\n discardBySlice(vpos);\n ${g.multipassTerrainEnabled?\"terrainDepthTest(gl_FragCoord, depth);\":\"\"}\n\n float alpha = texture2D(tex, vTexCoord).a * opacity;\n if (alpha < ${l.float(t)}) {\n discard;\n }\n\n gl_FragColor = vec4(alpha);\n }\n `):(p.fragment.include(d),p.fragment.code.add(l`\n void main() {\n discardBySlice(vpos);\n ${g.multipassTerrainEnabled?\"terrainDepthTest(gl_FragCoord, depth);\":\"\"}\n gl_FragColor = texture2D(tex, vTexCoord) * opacity;\n\n if (gl_FragColor.a < ${l.float(t)}) {\n discard;\n }\n\n gl_FragColor = highlightSlice(gl_FragColor, vpos);\n ${g.oitEnabled?\"gl_FragColor = premultiplyAlpha(gl_FragColor);\":\"\"}\n }\n `)),p}const p=Object.freeze({__proto__:null,build:g});export{p as I,g as b};\n"],"sourceRoot":""}