Package-level declarations
Types
Which profile image an in-progress pick/crop targets.
A just-picked image awaiting the interactive crop step before it's uploaded.
Functions
Owns only this tab's Navigation 3 backstack and content - the bottom chrome (bottom nav bar / rail) lives one level up in MainShell, which decides whether to show it from onRootChanged: each NavHost reports whether it's currently showing its own root screen (backstack depth 1), so MainShell can hide the shared bottom bar while any tab is showing a pushed detail screen.
Full-screen interactive cropper: the user pans and pinch-zooms image within a fixed aspect frame, and on confirm the framed region is cropped to source pixels and returned via onConfirm. circularMask draws the frame as a circle (avatars); the produced crop is still the frame's rectangle. If the image's dimensions can't be decoded, confirming passes the original through unchanged rather than blocking the user.
Bottom sheet of actions for the avatar/banner edit badge: take a photo, choose from the gallery, or remove the current image. onRemove is null when there's nothing to remove (no current image), in which case that row is hidden. Each action is expected to dismiss the sheet via its callback at the call site.
Full-screen view of the current avatar or banner, reached by tapping either on AccountScreen. Shares a sharedTransition element keyed by sharedElementKey with the small thumbnail it expanded from (see AVATAR_SHARED_ELEMENT_KEY/BANNER_SHARED_ELEMENT_KEY).