Full Code of mlemgroup/mlem for AI

dev 5c6773c6ff89 cached
1229 files
3.5 MB
985.7k tokens
1 requests
Download .txt
Showing preview only (3,939K chars total). Download the full file or copy to clipboard to get everything.
Repository: mlemgroup/mlem
Branch: dev
Commit: 5c6773c6ff89
Files: 1229
Total size: 3.5 MB

Directory structure:
gitextract__gplox9q/

├── .git-hooks/
│   └── pre-commit
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── bug-report.yml
│   │   └── improvement-proposal.yml
│   ├── actions/
│   │   └── ci_xcodebuild/
│   │       └── action.yml
│   ├── pull_request_template.md
│   └── workflows/
│       ├── ci_build_26.yml
│       └── ci_lint.yml
├── .gitignore
├── .gitmodules
├── .periphery.yml
├── .swift-version
├── .swiftformat
├── .swiftlint.yml
├── Additional Documents/
│   ├── EULA.md
│   └── Privacy.md
├── CODEOWNERS
├── CONTRIBUTING.md
├── LICENSE
├── Mlem/
│   ├── App/
│   │   ├── Actions/
│   │   │   ├── ActionSeed+Extensions.swift
│   │   │   ├── ActionSeedSwipeConfiguration.swift
│   │   │   ├── ActionSheet/
│   │   │   │   ├── ActionSheet.swift
│   │   │   │   └── CustomizableContextMenu.swift
│   │   │   ├── AppointAdminAction.swift
│   │   │   ├── AppointModeratorAction.swift
│   │   │   ├── BanAction.swift
│   │   │   ├── BlockAction.swift
│   │   │   ├── CollapseAction.swift
│   │   │   ├── CollapseParentAction.swift
│   │   │   ├── CollapseToTopAction.swift
│   │   │   ├── ContextMenu+Comment.swift
│   │   │   ├── ContextMenu+Community.swift
│   │   │   ├── ContextMenu+InboxNotification.swift
│   │   │   ├── ContextMenu+Instance.swift
│   │   │   ├── ContextMenu+Message.swift
│   │   │   ├── ContextMenu+Person.swift
│   │   │   ├── ContextMenu+Post.swift
│   │   │   ├── CopyNameAction.swift
│   │   │   ├── CreateImageAction.swift
│   │   │   ├── CrosspostAction.swift
│   │   │   ├── DeleteAction.swift
│   │   │   ├── EditAction.swift
│   │   │   ├── EditNoteAction.swift
│   │   │   ├── FavoriteAction.swift
│   │   │   ├── GoToInstanceAction.swift
│   │   │   ├── HideAction.swift
│   │   │   ├── LockAction.swift
│   │   │   ├── LogInAction.swift
│   │   │   ├── MarkNsfwAction.swift
│   │   │   ├── MarkReadAction.swift
│   │   │   ├── NewPostAction.swift
│   │   │   ├── OpenInBrowserAction.swift
│   │   │   ├── OpenModlogAction.swift
│   │   │   ├── PinAction.swift
│   │   │   ├── PurgeAction.swift
│   │   │   ├── RemoveAction.swift
│   │   │   ├── ReplyAction.swift
│   │   │   ├── ReportAction.swift
│   │   │   ├── ResolveAction.swift
│   │   │   ├── SaveAction.swift
│   │   │   ├── SelectTextAction.swift
│   │   │   ├── SendMessageAction.swift
│   │   │   ├── ShareAction.swift
│   │   │   ├── SignUpAction.swift
│   │   │   ├── SubscribeAction.swift
│   │   │   ├── ViewVotesAction.swift
│   │   │   ├── VisitAction.swift
│   │   │   └── VoteAction.swift
│   │   ├── Configuration/
│   │   │   ├── Colors/
│   │   │   │   ├── Palette+Dracula.swift
│   │   │   │   ├── Palette+Monochrome.swift
│   │   │   │   ├── Palette+Oled.swift
│   │   │   │   └── Palette+Solarized.swift
│   │   │   ├── Constants/
│   │   │   │   ├── Constants.swift
│   │   │   │   └── Platform Constants/
│   │   │   │       ├── PadConstants.swift
│   │   │   │       ├── PhoneConstants.swift
│   │   │   │       └── PlatformConstants.swift
│   │   │   ├── Icons.swift
│   │   │   └── User Settings/
│   │   │       ├── PinnedSortTracker.swift
│   │   │       ├── SettingPropertyWrapper.swift
│   │   │       ├── Settings.swift
│   │   │       └── SettingsValues.swift
│   │   ├── Data/
│   │   │   ├── Document.swift
│   │   │   ├── EULA.swift
│   │   │   ├── Licenses.swift
│   │   │   └── Privacy Policy.swift
│   │   ├── Enums/
│   │   │   ├── AnimatedAvatarBehavior.swift
│   │   │   ├── AvatarType.swift
│   │   │   ├── CommentJumpButtonLocation.swift
│   │   │   ├── InstanceSort.swift
│   │   │   ├── Interaction/
│   │   │   │   ├── ActionSeedSections.swift
│   │   │   │   ├── CommentBarConfiguration+Types.swift
│   │   │   │   ├── CommentBarConfiguration.swift
│   │   │   │   ├── CommunityActionConfiguration.swift
│   │   │   │   ├── ContextMenuConfiguration.swift
│   │   │   │   ├── InteractionBarConfiguration.swift
│   │   │   │   ├── PostBarConfiguration+Types.swift
│   │   │   │   ├── PostBarConfiguration.swift
│   │   │   │   ├── ReplyBarConfiguration+Types.swift
│   │   │   │   ├── ReplyBarConfiguration.swift
│   │   │   │   └── SwipeActionConfiguration.swift
│   │   │   ├── MlemError.swift
│   │   │   ├── NsfwBlurBehavior.swift
│   │   │   ├── PersonFlair.swift
│   │   │   ├── PostViewLinkType.swift
│   │   │   ├── ReadPostIndicator.swift
│   │   │   ├── TabBarLongPressAction.swift
│   │   │   └── ZoomSliderLocation.swift
│   │   ├── Globals/
│   │   │   ├── Definitions/
│   │   │   │   ├── AccountsTracker.swift
│   │   │   │   ├── AppState+transition.swift
│   │   │   │   ├── AppState.swift
│   │   │   │   ├── ErrorsTracker.swift
│   │   │   │   ├── FiltersTracker.swift
│   │   │   │   ├── PaletteOption.swift
│   │   │   │   ├── PersistenceRepository.swift
│   │   │   │   └── TabReselectTracker.swift
│   │   │   └── Dependencies/
│   │   │       └── PersistenceRepository+Dependency.swift
│   │   ├── Legacy/
│   │   │   └── LegacySettings.swift
│   │   ├── Logic/
│   │   │   ├── Animations.swift
│   │   │   ├── HandleError.swift
│   │   │   ├── ImageFunctions.swift
│   │   │   ├── ImageSaver.swift
│   │   │   └── Networking/
│   │   │       └── InternetConnectionManager.swift
│   │   ├── Models/
│   │   │   ├── Account/
│   │   │   │   ├── Account.swift
│   │   │   │   ├── AccountType.swift
│   │   │   │   ├── GuestAccount.swift
│   │   │   │   └── UserAccount.swift
│   │   │   ├── Action/
│   │   │   │   ├── Action.swift
│   │   │   │   ├── ActionAppearance+StaticValues.swift
│   │   │   │   ├── ActionAppearance.swift
│   │   │   │   ├── ActionBuilder.swift
│   │   │   │   ├── ActionGroup.swift
│   │   │   │   ├── ActionType.swift
│   │   │   │   ├── BasicAction.swift
│   │   │   │   ├── Counter.swift
│   │   │   │   ├── CounterAppearance.swift
│   │   │   │   ├── CounterApperance+StaticValues.swift
│   │   │   │   ├── Readout.swift
│   │   │   │   └── ShareActivity.swift
│   │   │   ├── CommentTreeNode.swift
│   │   │   ├── ErrorDetails.swift
│   │   │   ├── Events/
│   │   │   │   ├── Event+Extension.swift
│   │   │   │   └── EventsTracker.swift
│   │   │   ├── FeedContext.swift
│   │   │   ├── FeedbackType.swift
│   │   │   ├── ImageUploadHistoryManager.swift
│   │   │   ├── ImageUploadManager.swift
│   │   │   ├── MlemStats/
│   │   │   │   ├── InstanceSummary.swift
│   │   │   │   └── MlemStats.swift
│   │   │   ├── SeededRandomNumberGenerator.swift
│   │   │   ├── Session/
│   │   │   │   ├── GuestSession.swift
│   │   │   │   ├── Session.swift
│   │   │   │   └── UserSession.swift
│   │   │   └── Settings/
│   │   │       └── Options/
│   │   │           ├── InternetSpeed.swift
│   │   │           ├── PostSize.swift
│   │   │           └── ThumbnailLocation.swift
│   │   ├── Protocols/
│   │   │   ├── AccountSortMode.swift
│   │   │   └── AssociatedColor.swift
│   │   ├── Utility/
│   │   │   └── Extensions/
│   │   │       ├── ApiClient+Extensions.swift
│   │   │       ├── Array+Extensions.swift
│   │   │       ├── BackendClient+Extensions.swift
│   │   │       ├── Binding+Extensions.swift
│   │   │       ├── Blockable+Extensions.swift
│   │   │       ├── Bundle+Extensions.swift
│   │   │       ├── CGFloat+Extensions.swift
│   │   │       ├── CGPoint+Extensions.swift
│   │   │       ├── CGSize+Extensions.swift
│   │   │       ├── Calendar+Extensions.swift
│   │   │       ├── CaptchaDifficulty+Extensions.swift
│   │   │       ├── Color+Extensions.swift
│   │   │       ├── CommentSortType+Extensions.swift
│   │   │       ├── Content Models/
│   │   │       │   ├── ActorIdentifiable+Extensions.swift
│   │   │       │   ├── Captcha+Extensions.swift
│   │   │       │   ├── Comment/
│   │   │       │   │   ├── Comment+Actions.swift
│   │   │       │   │   └── Comment+Extensions.swift
│   │   │       │   ├── Community/
│   │   │       │   │   └── Community+Extensions.swift
│   │   │       │   ├── CommunityOrPersonStub+Extensions.swift
│   │   │       │   ├── DeletableProviding+Extensions.swift
│   │   │       │   ├── InboxItemProviding+Extensions.swift
│   │   │       │   ├── InboxItemType+Extensions.swift
│   │   │       │   ├── Instance+Extensions.swift
│   │   │       │   ├── Instance3+Extensions.swift
│   │   │       │   ├── Interactable/
│   │   │       │   │   ├── InteractableProviding+Actions.swift
│   │   │       │   │   ├── InteractableProviding+Extensions.swift
│   │   │       │   │   └── InteractableProviding+Toggles.swift
│   │   │       │   ├── Message1Providing+Extensions.swift
│   │   │       │   ├── ModlogEntryContent+Extensions.swift
│   │   │       │   ├── ModlogEntryType+Extensions.swift
│   │   │       │   ├── Person/
│   │   │       │   │   ├── Person+Actions.swift
│   │   │       │   │   └── Person+Extensions.swift
│   │   │       │   ├── PersonContent+Extensions.swift
│   │   │       │   ├── Post/
│   │   │       │   │   ├── Post+Actions.swift
│   │   │       │   │   ├── Post+Extensions.swift
│   │   │       │   │   └── Post+Toggles.swift
│   │   │       │   ├── ProfileProviding+Extensions.swift
│   │   │       │   ├── PurgableProviding+Extensions.swift
│   │   │       │   ├── RegistrationApplication+Extensions.swift
│   │   │       │   ├── RemovableProviding+Extensions.swift
│   │   │       │   ├── Reply1Providing+Extensions.swift
│   │   │       │   ├── Report+Extensions.swift
│   │   │       │   ├── ReportableProviding+Extensions.swift
│   │   │       │   ├── ScoringOperation+Extensions.swift
│   │   │       │   ├── SelectableContentProviding+Extensions.swift
│   │   │       │   ├── Sharable+Extensions.swift
│   │   │       │   ├── SiteSoftware+Extensions.swift
│   │   │       │   ├── SiteSoftwareType+Extensions.swift
│   │   │       │   ├── UnreadCount+Extensions.swift
│   │   │       │   └── VotesModel+Extensions.swift
│   │   │       ├── Data+Extensions.swift
│   │   │       ├── Date+Extensions.swift
│   │   │       ├── DateComponents+Extensions.swift
│   │   │       ├── EnvironmentValues+Extensions.swift
│   │   │       ├── FederationMode+Extensions.swift
│   │   │       ├── GetContentFilter+Extensions.swift
│   │   │       ├── HapticLevel+Extensions.swift
│   │   │       ├── InstanceSummarySoftware+Extensions.swift
│   │   │       ├── Int+Extensions.swift
│   │   │       ├── ListingType+Extensions.swift
│   │   │       ├── MarkdownConfiguration+Extensions.swift
│   │   │       ├── MlemMiddleware Mock/
│   │   │       │   ├── ActorIdentifier+Mock.swift
│   │   │       │   ├── Comment+Mock.swift
│   │   │       │   ├── CommentMockType.swift
│   │   │       │   ├── Community+Mock.swift
│   │   │       │   ├── CommunityMockType+Realistic.swift
│   │   │       │   ├── CommunityMockType.swift
│   │   │       │   ├── MockApiClient+Realistic.swift
│   │   │       │   ├── Person+Mock.swift
│   │   │       │   ├── PersonMockType+Realistic.swift
│   │   │       │   ├── PersonMockType.swift
│   │   │       │   ├── Post+Mock.swift
│   │   │       │   ├── PostMockType+Realistic.swift
│   │   │       │   └── PostMockType.swift
│   │   │       ├── PersonContentFeedLoader+Extensions.swift
│   │   │       ├── PostSortType+Extensions.swift
│   │   │       ├── PostType+Extensions.swift
│   │   │       ├── PrefetchingConfiguration+Extensions.swift
│   │   │       ├── QuickSwipeAction+Actions.swift
│   │   │       ├── QuickSwipeAction+Extensions.swift
│   │   │       ├── RegistrationMode+Extensions.swift
│   │   │       ├── SearchSortType+Extensions.swift
│   │   │       ├── Set+Extensions.swift
│   │   │       ├── SortTimeRange+Extensions.swift
│   │   │       ├── String+Extensions.swift
│   │   │       ├── String+extension.swift
│   │   │       ├── SwipeConfiguration+Extensions.swift
│   │   │       ├── UIApplication+Extensions.swift
│   │   │       ├── UIDevice+Extensions.swift
│   │   │       ├── UIImage+Extensions.swift
│   │   │       ├── UITextView+Extensions.swift
│   │   │       ├── UIUserInterfaceStyle+Extensions.swift
│   │   │       ├── UIViewController+Extensions.swift
│   │   │       ├── UsernameValidity+Extensions.swift
│   │   │       ├── Views/
│   │   │       │   ├── Label+Profile1.swift
│   │   │       │   ├── NavigationLink+NavigationPage.swift
│   │   │       │   ├── PreviewModifier+SampleEnvironment.swift
│   │   │       │   └── View Modifiers/
│   │   │       │       ├── PopupAnchorModel.swift
│   │   │       │       ├── View+AccountSwitcherGesture.swift
│   │   │       │       ├── View+Background.swift
│   │   │       │       ├── View+ConditionalNavigationTitle.swift
│   │   │       │       ├── View+ContentMenu.swift
│   │   │       │       ├── View+ContextMenu.swift
│   │   │       │       ├── View+DynamicBlur.swift
│   │   │       │       ├── View+ExternalApiWarning.swift
│   │   │       │       ├── View+HiddenNavigationTitle.swift
│   │   │       │       ├── View+IsAtTopSubscriber.swift
│   │   │       │       ├── View+LoadFeed.swift
│   │   │       │       ├── View+MarkReadOnScroll.swift
│   │   │       │       ├── View+NavigationTransition.swift
│   │   │       │       ├── View+NavigtionStackPreview.swift
│   │   │       │       ├── View+OutdatedFeedPopup.swift
│   │   │       │       ├── View+PaletteBorder.swift
│   │   │       │       ├── View+PopupAnchor.swift
│   │   │       │       ├── View+QuickSwipes.swift
│   │   │       │       ├── View+Refreshable.swift
│   │   │       │       ├── View+ReloadOnAccountSwitch.swift
│   │   │       │       ├── View+SafeAreaBar.swift
│   │   │       │       ├── View+TabBarPreview.swift
│   │   │       │       ├── View+TabReselectConsumer.swift
│   │   │       │       └── View+WidthReader.swift
│   │   │       └── [BlockNode]+Extensions.swift
│   │   └── Views/
│   │       ├── Pages/
│   │       │   ├── Community/
│   │       │   │   ├── AdvancedSortView+SortButton.swift
│   │       │   │   ├── AdvancedSortView.swift
│   │       │   │   ├── CommunityAboutView.swift
│   │       │   │   ├── CommunityDetailsView.swift
│   │       │   │   ├── CommunitySearchSortPicker.swift
│   │       │   │   ├── CommunityStubResolutionPage.swift
│   │       │   │   ├── CommunityView+Logic.swift
│   │       │   │   ├── CommunityView.swift
│   │       │   │   ├── FeedSortPicker.swift
│   │       │   │   └── TopSortPicker.swift
│   │       │   ├── DeleteAccountView.swift
│   │       │   ├── Editors/
│   │       │   │   ├── CommentEditor/
│   │       │   │   │   ├── CommentEditorView+Context.swift
│   │       │   │   │   ├── CommentEditorView+Logic.swift
│   │       │   │   │   ├── CommentEditorView.swift
│   │       │   │   │   └── PostEditor/
│   │       │   │   │       ├── LinkEditorView.swift
│   │       │   │   │       ├── PostEditorTargetView.swift
│   │       │   │   │       ├── PostEditorView+ImageView.swift
│   │       │   │   │       ├── PostEditorView+LinkView.swift
│   │       │   │   │       ├── PostEditorView+Logic.swift
│   │       │   │   │       ├── PostEditorView+Toolbar.swift
│   │       │   │   │       ├── PostEditorView+Views.swift
│   │       │   │   │       ├── PostEditorView.swift
│   │       │   │   │       └── PostEditorWebsitePreviewView.swift
│   │       │   │   ├── CommunityDescriptionEditorView.swift
│   │       │   │   ├── ContentPurgeEditorView.swift
│   │       │   │   ├── ContentRemovalEditorView.swift
│   │       │   │   ├── FilterViolationWarning.swift
│   │       │   │   ├── NoteEditorView.swift
│   │       │   │   ├── PersonBanEditorView+Logic.swift
│   │       │   │   ├── PersonBanEditorView.swift
│   │       │   │   ├── RegistrationApplicationDenialEditorView.swift
│   │       │   │   └── ReportEditorView.swift
│   │       │   ├── ExternalApiInfoView.swift
│   │       │   ├── ImageViewer+Views.swift
│   │       │   ├── ImageViewer.swift
│   │       │   ├── Instance/
│   │       │   │   ├── Fediseer.swift
│   │       │   │   ├── FediseerInfoView.swift
│   │       │   │   ├── FediseerOpinionListView.swift
│   │       │   │   ├── FediseerOpinionView.swift
│   │       │   │   ├── InstanceCommunityListView.swift
│   │       │   │   ├── InstanceDetailsView.swift
│   │       │   │   ├── InstanceSafetyView.swift
│   │       │   │   ├── InstanceStubResolutionPage.swift
│   │       │   │   ├── InstanceUptimeView+Logic.swift
│   │       │   │   ├── InstanceUptimeView+Views.swift
│   │       │   │   ├── InstanceUptimeView.swift
│   │       │   │   ├── InstanceView+About.swift
│   │       │   │   ├── InstanceView+Logic.swift
│   │       │   │   ├── InstanceView.swift
│   │       │   │   └── UptimeData.swift
│   │       │   ├── MessageFeedView/
│   │       │   │   ├── MessageBubbleView.swift
│   │       │   │   ├── MessageFeedView+Logic.swift
│   │       │   │   └── MessageFeedView.swift
│   │       │   ├── Modlog/
│   │       │   │   ├── ModlogEntryView.swift
│   │       │   │   ├── ModlogView+Filters.swift
│   │       │   │   ├── ModlogView+Logic.swift
│   │       │   │   └── ModlogView.swift
│   │       │   ├── Person/
│   │       │   │   ├── PersonStubResolutionPage.swift
│   │       │   │   ├── PersonView+Logic.swift
│   │       │   │   └── PersonView.swift
│   │       │   ├── UploadConfirmationView.swift
│   │       │   └── VotesListView.swift
│   │       ├── Root/
│   │       │   ├── AppDelegate.swift
│   │       │   ├── ContentView+Logic.swift
│   │       │   ├── ContentView+Tab.swift
│   │       │   ├── ContentView.swift
│   │       │   ├── Login/
│   │       │   │   ├── LoginCredentialsView.swift
│   │       │   │   ├── LoginInstancePickerView.swift
│   │       │   │   ├── LoginTotpView.swift
│   │       │   │   ├── Onboarding/
│   │       │   │   │   ├── OnboardingEmailView.swift
│   │       │   │   │   ├── OnboardingModel.swift
│   │       │   │   │   ├── OnboardingRecommendInstanceView.swift
│   │       │   │   │   ├── OnboardingUsernameView.swift
│   │       │   │   │   └── OnboardingView.swift
│   │       │   │   ├── SignUpView+EmailConfirmationView.swift
│   │       │   │   ├── SignUpView+Logic.swift
│   │       │   │   ├── SignUpView+Views.swift
│   │       │   │   └── SignUpView.swift
│   │       │   ├── MlemApp.swift
│   │       │   ├── Tabs/
│   │       │   │   ├── Feeds/
│   │       │   │   │   ├── Components/
│   │       │   │   │   │   ├── FeedWelcomeView.swift
│   │       │   │   │   │   ├── HiddenReadBannerView.swift
│   │       │   │   │   │   ├── TileScoreView.swift
│   │       │   │   │   │   └── UpdateBannerView.swift
│   │       │   │   │   ├── Feed Comments/
│   │       │   │   │   │   ├── FeedCommentView.swift
│   │       │   │   │   │   └── TileCommentView.swift
│   │       │   │   │   ├── Feed Header/
│   │       │   │   │   │   ├── FeedDescription.swift
│   │       │   │   │   │   ├── FeedHeaderView.swift
│   │       │   │   │   │   └── FeedIconView.swift
│   │       │   │   │   ├── Feed Posts/
│   │       │   │   │   │   ├── CompactPostView.swift
│   │       │   │   │   │   ├── Feed Post Components/
│   │       │   │   │   │   │   ├── CrossPostListView.swift
│   │       │   │   │   │   │   ├── PostLinkHostView.swift
│   │       │   │   │   │   │   └── PostTag.swift
│   │       │   │   │   │   ├── FeedPostView.swift
│   │       │   │   │   │   ├── HeadlinePostBodyView.swift
│   │       │   │   │   │   ├── HeadlinePostView.swift
│   │       │   │   │   │   ├── LargePostBodyView.swift
│   │       │   │   │   │   ├── LargePostView.swift
│   │       │   │   │   │   ├── PostPollView.swift
│   │       │   │   │   │   └── TilePostView.swift
│   │       │   │   │   ├── FeedsView.swift
│   │       │   │   │   ├── SectionIndexTitles.swift
│   │       │   │   │   ├── SubscriptionListItemView.swift
│   │       │   │   │   ├── SubscriptionListNavigationButton.swift
│   │       │   │   │   ├── SubscriptionListView.swift
│   │       │   │   │   └── VisitAgainView.swift
│   │       │   │   ├── Inbox/
│   │       │   │   │   ├── InboxView+Types.swift
│   │       │   │   │   ├── InboxView+Views.swift
│   │       │   │   │   ├── InboxView.swift
│   │       │   │   │   └── MarkAllAsReadButton.swift
│   │       │   │   ├── Profile/
│   │       │   │   │   └── Profile View.swift
│   │       │   │   └── Settings/
│   │       │   │       ├── AboutMlemView.swift
│   │       │   │       ├── AccessibilitySettingsView.swift
│   │       │   │       ├── AccountAdvancedSettingsView.swift
│   │       │   │       ├── AccountAgeVisibilitySettingsView.swift
│   │       │   │       ├── AccountContentSettingsView.swift
│   │       │   │       ├── AccountEmailSettingsView.swift
│   │       │   │       ├── AccountListSettingsView.swift
│   │       │   │       ├── AccountLocalSettingsView.swift
│   │       │   │       ├── AccountNicknameFieldView.swift
│   │       │   │       ├── AccountSettingsView.swift
│   │       │   │       ├── AccountSignInSettingsView.swift
│   │       │   │       ├── AdvancedSettingsView.swift
│   │       │   │       ├── AnimatedAvatarSettingsView.swift
│   │       │   │       ├── BlockListView.swift
│   │       │   │       ├── ChangePasswordView.swift
│   │       │   │       ├── CommentJumpButtonSettingsView.swift
│   │       │   │       ├── CommentMaximumDepthSettingsView.swift
│   │       │   │       ├── CommentSettingsView.swift
│   │       │   │       ├── CommunitySettingsView.swift
│   │       │   │       ├── Components/
│   │       │   │       │   ├── ConditionalLabelStyleViewModifier.swift
│   │       │   │       │   ├── DevicePickerItem.swift
│   │       │   │       │   ├── SettingsDeviceView.swift
│   │       │   │       │   ├── SettingsHeaderView.swift
│   │       │   │       │   ├── SettingsInteractionBarSummaryView.swift
│   │       │   │       │   ├── SquircleLabelStyle.swift
│   │       │   │       │   └── ThemeLabel.swift
│   │       │   │       ├── ContextMenuSettingsView.swift
│   │       │   │       ├── DefaultFeedSettingsView.swift
│   │       │   │       ├── DeveloperSettingsView.swift
│   │       │   │       ├── Discussion Languages/
│   │       │   │       │   ├── DiscussionLanguageSettingsView.swift
│   │       │   │       │   ├── LanguageListRowBody.swift
│   │       │   │       │   └── LanguagePickerSheetView.swift
│   │       │   │       ├── DiscussionLanguageSettingsView.swift
│   │       │   │       ├── EmbeddingSettingsView.swift
│   │       │   │       ├── ErrorLogView.swift
│   │       │   │       ├── ExternalLinkSettingsView.swift
│   │       │   │       ├── FiltersSettingsView.swift
│   │       │   │       ├── GeneralSettingsView.swift
│   │       │   │       ├── HapticSettingsView.swift
│   │       │   │       ├── Icon/
│   │       │   │       │   ├── AlternateIcon.swift
│   │       │   │       │   ├── AlternateIconCell.swift
│   │       │   │       │   ├── AlternateIconLabel.swift
│   │       │   │       │   └── IconSettingsView.swift
│   │       │   │       ├── ImageViewerDismissSettingsView.swift
│   │       │   │       ├── ImageViewerSettingsView.swift
│   │       │   │       ├── ImageViewerShowControlsSettingsView.swift
│   │       │   │       ├── ImportExportSettingsView.swift
│   │       │   │       ├── InboxBadgeSettingsView.swift
│   │       │   │       ├── InboxSettingsView.swift
│   │       │   │       ├── InteractionBarEditor/
│   │       │   │       │   ├── InteractionBarEditorView+Logic.swift
│   │       │   │       │   ├── InteractionBarEditorView+Views.swift
│   │       │   │       │   ├── InteractionBarEditorView.swift
│   │       │   │       │   └── InteractionBarWidgetPickerView.swift
│   │       │   │       ├── LinkSettingsView.swift
│   │       │   │       ├── LongPressActionSettingsView.swift
│   │       │   │       ├── ModMailInteractionBarSettingsView.swift
│   │       │   │       ├── ModeratorActionSeparationSettingsView.swift
│   │       │   │       ├── ModeratorSettingsView.swift
│   │       │   │       ├── PostReadIndicatorSettingsView.swift
│   │       │   │       ├── PostSettingsView+PostSizePicker.swift
│   │       │   │       ├── PostSettingsView.swift
│   │       │   │       ├── PostSubscriptionIndicatorSettingsView.swift
│   │       │   │       ├── PostThumbnailSettingsView.swift
│   │       │   │       ├── PrivacyBypassImageProxySettingsView.swift
│   │       │   │       ├── PrivacySettingsView.swift
│   │       │   │       ├── ProfileSettingsView.swift
│   │       │   │       ├── SafetyBlurNsfwSettingsView.swift
│   │       │   │       ├── SafetySettingsView.swift
│   │       │   │       ├── SafetyWarningsSettingsView.swift
│   │       │   │       ├── SettingsView.swift
│   │       │   │       ├── SharingLinksSettingsView.swift
│   │       │   │       ├── SortingSettingsView.swift
│   │       │   │       ├── SubscriptionListSettingsView.swift
│   │       │   │       ├── SwipeActionEditorView.swift
│   │       │   │       ├── TabBarSettingsView.swift
│   │       │   │       ├── TappableLinksSettingsView.swift
│   │       │   │       ├── ThemeSettingsView.swift
│   │       │   │       └── ZoomSliderSettingsView.swift
│   │       │   └── TransitionView.swift
│   │       └── Shared/
│   │           ├── AccountPickerMenu.swift
│   │           ├── Accounts/
│   │           │   ├── AccountListView+Logic.swift
│   │           │   ├── AccountListView.swift
│   │           │   └── QuickSwitcherView.swift
│   │           ├── Avatar/
│   │           │   ├── AvatarBannerView.swift
│   │           │   ├── AvatarStackView.swift
│   │           │   ├── AvatarView.swift
│   │           │   ├── ProfileHeaderView.swift
│   │           │   └── SimpleAvatarView.swift
│   │           ├── Bubble Picker/
│   │           │   ├── BubblePickerView.swift
│   │           │   └── ChildSizeReader.swift
│   │           ├── BypassProxyWarningSheet.swift
│   │           ├── CommentBodyView.swift
│   │           ├── CommentView.swift
│   │           ├── ContentLoader.swift
│   │           ├── CustomTabBarController.swift
│   │           ├── CustomTabItem.swift
│   │           ├── CustomTabView.swift
│   │           ├── CustomTabViewHostingController.swift
│   │           ├── EllipsisMenu.swift
│   │           ├── EndOfFeedView.swift
│   │           ├── ErrorView.swift
│   │           ├── ExpandedPost/
│   │           │   ├── CommentPage.swift
│   │           │   ├── CommentStubResolutionPage.swift
│   │           │   ├── CommentTreeTracker.swift
│   │           │   ├── ExpandedPostHistoryTracker.swift
│   │           │   ├── ExpandedPostView+Logic.swift
│   │           │   ├── ExpandedPostView+Views.swift
│   │           │   ├── ExpandedPostView.swift
│   │           │   ├── MoreRepliesButton.swift
│   │           │   └── PostStubResolutionPage.swift
│   │           ├── ExpectedViews/
│   │           │   ├── ExpectedTextView.swift
│   │           │   ├── ExpectedView.swift
│   │           │   └── String+Placeholders.swift
│   │           ├── ExportableViews/
│   │           │   ├── ExportableCommentEditorView.swift
│   │           │   ├── ExportableCommentLoader.swift
│   │           │   ├── ExportableCommentView.swift
│   │           │   ├── ExportablePostEditorView.swift
│   │           │   ├── ExportablePostView.swift
│   │           │   └── ExportableViewComponents.swift
│   │           ├── FancyScrollView.swift
│   │           ├── FeedFilterButtonStyle.swift
│   │           ├── FeedToolbarOptions.swift
│   │           ├── FooterLinkView.swift
│   │           ├── Form/
│   │           │   ├── ActiveUserCountView.swift
│   │           │   ├── CollapsibleSection.swift
│   │           │   ├── FormReadout.swift
│   │           │   └── FormSection.swift
│   │           ├── HandleThreadiverseLinksModifier.swift
│   │           ├── ImageUploadMenu.swift
│   │           ├── Images/
│   │           │   ├── Core/
│   │           │   │   ├── MediaView+Logic.swift
│   │           │   │   ├── MediaView+Views.swift
│   │           │   │   └── MediaView.swift
│   │           │   ├── Helpers/
│   │           │   │   ├── AnimationControlLayer.swift
│   │           │   │   ├── NsfwOverlayView.swift
│   │           │   │   ├── PlayButton.swift
│   │           │   │   ├── SmallOverlayButtonLabel.swift
│   │           │   │   └── ZoomRecognizer/
│   │           │   │       ├── BridgeDragValue.swift
│   │           │   │       ├── CachedComputation.swift
│   │           │   │       ├── GestureRecognizers.swift
│   │           │   │       ├── MomentumStatus.swift
│   │           │   │       ├── ZoomCurves.swift
│   │           │   │       ├── ZoomRecognizer.swift
│   │           │   │       ├── ZoomRecognizerCoordinator+GestureRecognition.swift
│   │           │   │       ├── ZoomRecognizerCoordinator+Logic.swift
│   │           │   │       └── ZoomRecognizerCoordinator.swift
│   │           │   └── Wrappers/
│   │           │       ├── CircleCroppedImageView.swift
│   │           │       ├── SimpleAvatarView.swift
│   │           │       ├── ThumbnailImageView.swift
│   │           │       └── ZoomableImageView.swift
│   │           ├── InfoStackView.swift
│   │           ├── InteractionBar/
│   │           │   ├── InteractionBarActionLabelView.swift
│   │           │   └── InteractionBarView.swift
│   │           ├── JumpButtonView.swift
│   │           ├── Labels/
│   │           │   ├── FullyQualifiedLabelView.swift
│   │           │   ├── FullyQualifiedLinkView.swift
│   │           │   └── FullyQualifiedNameView.swift
│   │           ├── LinkHostView.swift
│   │           ├── ListRow/
│   │           │   ├── AccountListRow.swift
│   │           │   └── AccountListRowBody.swift
│   │           ├── MarkdownEditorToolbarView.swift
│   │           ├── MarkdownTextEditor.swift
│   │           ├── MarkdownWithLinkList.swift
│   │           ├── MenuButton.swift
│   │           ├── MessageView.swift
│   │           ├── ModlogButtonView.swift
│   │           ├── MultiplatformView.swift
│   │           ├── Navigation/
│   │           │   ├── LoginPage.swift
│   │           │   ├── NavigationLayer.swift
│   │           │   ├── NavigationLayerView.swift
│   │           │   ├── NavigationModel.swift
│   │           │   ├── NavigationPage+PresentationDetents.swift
│   │           │   ├── NavigationPage+View.swift
│   │           │   ├── NavigationPage.swift
│   │           │   ├── NavigationRootView.swift
│   │           │   ├── NavigationSearchType.swift
│   │           │   ├── SettingsPage.swift
│   │           │   └── View+NavigationSheetModifiers.swift
│   │           ├── Palette Components/
│   │           │   ├── Button.swift
│   │           │   ├── Divider.swift
│   │           │   ├── Form.swift
│   │           │   └── Section.swift
│   │           ├── PersonContentGridView+FeedLoaderType.swift
│   │           ├── PersonContentGridView.swift
│   │           ├── PostEllipsisMenus.swift
│   │           ├── PostGridView.swift
│   │           ├── ProfileDateView.swift
│   │           ├── ReadCheck.swift
│   │           ├── ReasonShortcutView.swift
│   │           ├── RefreshPopupView.swift
│   │           ├── RegistrationApplicationView.swift
│   │           ├── ReplyView.swift
│   │           ├── ReportView.swift
│   │           ├── RulesListView.swift
│   │           ├── RulesPickerView.swift
│   │           ├── Search/
│   │           │   ├── Home/
│   │           │   │   ├── EventRowView.swift
│   │           │   │   ├── SearchHomeCategoryLabelStyle.swift
│   │           │   │   ├── SearchHomeLabelStyle.swift
│   │           │   │   ├── SearchHomeListView.swift
│   │           │   │   ├── SearchHomeView.swift
│   │           │   │   ├── TopCommunitiesListView.swift
│   │           │   │   ├── TopInstancesListView.swift
│   │           │   │   └── TopPeopleListView.swift
│   │           │   ├── PasteLinkButtonView.swift
│   │           │   ├── Results/
│   │           │   │   ├── CommunityListRow.swift
│   │           │   │   ├── CommunityListRowBody.swift
│   │           │   │   ├── InstanceListRow.swift
│   │           │   │   ├── InstanceListRowBody.swift
│   │           │   │   ├── PersonListRow.swift
│   │           │   │   └── PersonListRowBody.swift
│   │           │   ├── SearchBar/
│   │           │   │   ├── DefaultTextInputType.swift
│   │           │   │   ├── SearchBar+NavigationView.swift
│   │           │   │   ├── SearchBar.swift
│   │           │   │   ├── SearchBarExtensions.swift
│   │           │   │   ├── View+WithSheetSearch.swift
│   │           │   │   └── _assignIfNotEqual.swift
│   │           │   ├── SearchResultsView.swift
│   │           │   ├── SearchSheetView.swift
│   │           │   ├── SearchView+CreatorPicker.swift
│   │           │   ├── SearchView+FilterModels.swift
│   │           │   ├── SearchView+FiltersView.swift
│   │           │   ├── SearchView+InstancePicker.swift
│   │           │   ├── SearchView+LocationPicker.swift
│   │           │   ├── SearchView+Logic.swift
│   │           │   ├── SearchView+Views.swift
│   │           │   ├── SearchView.swift
│   │           │   ├── Searchable.swift
│   │           │   ├── VisitHistory+CodedData.swift
│   │           │   └── VisitHistory.swift
│   │           ├── SelectTextView.swift
│   │           ├── ShareInstancePickerView.swift
│   │           ├── ShieldsBadgeView/
│   │           │   ├── ShieldsBadgeView+Logic.swift
│   │           │   └── ShieldsBadgeView.swift
│   │           ├── Toast/
│   │           │   ├── Toast.swift
│   │           │   ├── ToastLocation.swift
│   │           │   ├── ToastModel.swift
│   │           │   ├── ToastOverlayView.swift
│   │           │   ├── ToastType.swift
│   │           │   └── ToastView.swift
│   │           ├── ToolbarEllipsisMenu.swift
│   │           ├── WarningOverlayView.swift
│   │           ├── WarningView.swift
│   │           ├── WebView.swift
│   │           └── WebsitePreviewView.swift
│   ├── Assets.xcassets/
│   │   ├── AppIcon.appiconset/
│   │   │   └── Contents.json
│   │   ├── Contents.json
│   │   ├── Default Community.imageset/
│   │   │   └── Contents.json
│   │   ├── Icon Previews/
│   │   │   ├── Contents.json
│   │   │   ├── icon.eric.lemmy.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.alien.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.green.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.ocean.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.orange.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pink.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pride.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   └── icon.sjmarf.silver.preview.imageset/
│   │   │       └── Contents.json
│   │   ├── Icons/
│   │   │   ├── Contents.json
│   │   │   ├── icon.eric.lemmy.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.alien.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.green.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.ocean.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.orange.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pink.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pride.appiconset/
│   │   │   │   └── Contents.json
│   │   │   └── icon.sjmarf.silver.appiconset/
│   │   │       └── Contents.json
│   │   ├── Symbols/
│   │   │   ├── Contents.json
│   │   │   ├── discord.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── github.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── lemmy.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── mastodon.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   └── matrix.logo.symbolset/
│   │   │       └── Contents.json
│   │   ├── background.earth.imageset/
│   │   │   └── Contents.json
│   │   ├── background.trees.imageset/
│   │   │   └── Contents.json
│   │   ├── logo.imageset/
│   │   │   └── Contents.json
│   │   └── nsfw.symbolset/
│   │       └── Contents.json
│   ├── Info.plist
│   ├── Localizable.xcstrings
│   ├── Mlem.entitlements
│   ├── Mlem.xcdatamodeld/
│   │   ├── .xccurrentversion
│   │   └── Mlem.xcdatamodel/
│   │       └── contents
│   ├── Packages/
│   │   ├── Actions/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Actions/
│   │   │           ├── Action.swift
│   │   │           ├── ActionLabel.swift
│   │   │           ├── ActionSeed.swift
│   │   │           ├── ActionVisiblity.swift
│   │   │           ├── BasicAction.swift
│   │   │           ├── SimpleLabelAction.swift
│   │   │           └── Views/
│   │   │               ├── ActionButtonWithVisibilityControl.swift
│   │   │               ├── ActionButtons.swift
│   │   │               ├── Button+Extensions.swift
│   │   │               └── Label+Extensions.swift
│   │   ├── ComponentViews/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── ComponentViews/
│   │   │           ├── ButtonStyle/
│   │   │           │   ├── CapsuleButtonStyle.swift
│   │   │           │   ├── ChevronButtonStyle.swift
│   │   │           │   └── EmptyButtonStyle.swift
│   │   │           ├── Checkbox.swift
│   │   │           ├── CloseButtonToolbarItem.swift
│   │   │           ├── CloseButtonView.swift
│   │   │           ├── CollapsibleSheetView.swift
│   │   │           ├── FitContentPresentationDetentViewModifier.swift
│   │   │           ├── FormChevron.swift
│   │   │           ├── KeyboardAwarePadding.swift
│   │   │           ├── Line.swift
│   │   │           ├── MockTextView.swift
│   │   │           ├── OptimalHeightLayout.swift
│   │   │           ├── View+GlassProminentButtonStyle.swift
│   │   │           └── View+VersionAwareDialog.swift
│   │   ├── FediverseEvents/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── FediverseEvents/
│   │   │           ├── Event.swift
│   │   │           ├── EventsClient+Requests.swift
│   │   │           ├── EventsClient.swift
│   │   │           └── Requests/
│   │   │               └── ListEventsRequest.swift
│   │   ├── Haptics/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Haptics/
│   │   │           ├── Haptic.swift
│   │   │           ├── HapticError.swift
│   │   │           ├── HapticLevel.swift
│   │   │           ├── HapticManager.swift
│   │   │           ├── Resources/
│   │   │           │   ├── Failure/
│   │   │           │   │   └── Failure.ahap
│   │   │           │   ├── Info/
│   │   │           │   │   ├── Firm Info.ahap
│   │   │           │   │   ├── Gentle Info.ahap
│   │   │           │   │   ├── Mushy Info.ahap
│   │   │           │   │   └── Rigid Info.ahap
│   │   │           │   └── Success/
│   │   │           │       ├── Destructive Success.ahap
│   │   │           │       ├── Light Success.ahap
│   │   │           │       ├── Success.ahap
│   │   │           │       └── Violent Success.ahap
│   │   │           └── View+Haptic.swift
│   │   ├── Icons/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Icons/
│   │   │           ├── Icon+Fediseer.swift
│   │   │           ├── Icon+General.swift
│   │   │           ├── Icon+Lemmy.swift
│   │   │           ├── Icon+Markdown.swift
│   │   │           ├── Icon+Settings.swift
│   │   │           ├── Icon+Uptime.swift
│   │   │           ├── Icon.swift
│   │   │           └── ViewExtensions/
│   │   │               ├── Button+Extensions.swift
│   │   │               ├── Image+Extensions.swift
│   │   │               ├── Label+Extensions.swift
│   │   │               ├── Menu+Extensions.swift
│   │   │               ├── Picker+Extensions.swift
│   │   │               ├── Toggle+Extensions.swift
│   │   │               └── UIImage+Extensions.swift
│   │   ├── Media/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Media/
│   │   │           └── Resources/
│   │   │               ├── Core/
│   │   │               │   ├── Animated/
│   │   │               │   │   ├── AnimatedImageView.swift
│   │   │               │   │   └── VideoView.swift
│   │   │               │   ├── CoreMediaView+Logic.swift
│   │   │               │   ├── CoreMediaView.swift
│   │   │               │   ├── MediaControlState.swift
│   │   │               │   └── MediaLoader.swift
│   │   │               ├── Decoders/
│   │   │               │   ├── MlemVideoDecoder.swift
│   │   │               │   └── NukeWebpBridgeDecoder.swift
│   │   │               └── Extensions/
│   │   │                   ├── AVPlayer+Extensions.swift
│   │   │                   └── CGSize+Extensions.swift
│   │   ├── MlemBackend/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── MlemBackend/
│   │   │           ├── BackendClient+Requests.swift
│   │   │           ├── BackendClient.swift
│   │   │           ├── BackendClientError.swift
│   │   │           ├── BackendHealthCheck.swift
│   │   │           ├── InstanceSummary.swift
│   │   │           ├── InstanceSummarySoftware.swift
│   │   │           ├── JSONDecoder+Extensions.swift
│   │   │           ├── MlemDeveloper.swift
│   │   │           ├── MlemFlairs.swift
│   │   │           ├── Requests/
│   │   │           │   ├── BackendGetTestflightUpdateRequest.swift
│   │   │           │   ├── BackendHealthCheckRequest.swift
│   │   │           │   ├── BackendListFlairsRequest.swift
│   │   │           │   └── BackendListInstancesRequest.swift
│   │   │           └── TestflightUpdate.swift
│   │   ├── MlemLogger/
│   │   │   ├── .gitignore
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── MlemLogger/
│   │   │           └── MlemLogger.swift
│   │   ├── MlemMiddleware/
│   │   │   ├── .gitignore
│   │   │   ├── CODEOWNERS
│   │   │   ├── LICENSE
│   │   │   ├── NOTICE.md
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   ├── Sources/
│   │   │   │   └── MlemMiddleware/
│   │   │   │       ├── API Client/
│   │   │   │       │   ├── ApiClient+Caches.swift
│   │   │   │       │   ├── ApiClient+Comment.swift
│   │   │   │       │   ├── ApiClient+Community.swift
│   │   │   │       │   ├── ApiClient+General.swift
│   │   │   │       │   ├── ApiClient+Image.swift
│   │   │   │       │   ├── ApiClient+Inbox.swift
│   │   │   │       │   ├── ApiClient+Instance.swift
│   │   │   │       │   ├── ApiClient+Mock.swift
│   │   │   │       │   ├── ApiClient+Person.swift
│   │   │   │       │   ├── ApiClient+Post.swift
│   │   │   │       │   ├── ApiClient+RegistrationApplication.swift
│   │   │   │       │   ├── ApiClient+Report.swift
│   │   │   │       │   ├── ApiClient.swift
│   │   │   │       │   ├── ApiClientError.swift
│   │   │   │       │   ├── ApiErrorResponse.swift
│   │   │   │       │   ├── ApiSession.swift
│   │   │   │       │   ├── Caching/
│   │   │   │       │   │   ├── ApiTypeBackedCache.swift
│   │   │   │       │   │   ├── Atomic.swift
│   │   │   │       │   │   ├── Caches/
│   │   │   │       │   │   │   ├── CommentCaches.swift
│   │   │   │       │   │   │   ├── CommunityCache.swift
│   │   │   │       │   │   │   ├── ImageUploadCaches.swift
│   │   │   │       │   │   │   ├── InstanceCache.swift
│   │   │   │       │   │   │   ├── MessageCaches.swift
│   │   │   │       │   │   │   ├── NotificationCaches.swift
│   │   │   │       │   │   │   ├── PersonCache.swift
│   │   │   │       │   │   │   ├── PersonVoteCaches.swift
│   │   │   │       │   │   │   ├── PostCache.swift
│   │   │   │       │   │   │   ├── RegistrationApplicationCaches.swift
│   │   │   │       │   │   │   └── ReportCaches.swift
│   │   │   │       │   │   ├── Conformance/
│   │   │   │       │   │   │   ├── ImageUpload+CacheExtensions.swift
│   │   │   │       │   │   │   ├── InboxNotification+CacheExtensions.swift
│   │   │   │       │   │   │   ├── Message+CacheExtensions.swift
│   │   │   │       │   │   │   ├── RegistrationApplication+CacheExtensions.swift
│   │   │   │       │   │   │   └── Report+CacheExtensions.swift
│   │   │   │       │   │   └── CoreCache.swift
│   │   │   │       │   └── Helpers/
│   │   │   │       │       ├── MarkReadQueue.swift
│   │   │   │       │       └── SharedTaskManager.swift
│   │   │   │       ├── API Repository/
│   │   │   │       │   ├── ApiRepository+Comment.swift
│   │   │   │       │   ├── ApiRepository+Community.swift
│   │   │   │       │   ├── ApiRepository+General.swift
│   │   │   │       │   ├── ApiRepository+Image.swift
│   │   │   │       │   ├── ApiRepository+Inbox.swift
│   │   │   │       │   ├── ApiRepository+Instance.swift
│   │   │   │       │   ├── ApiRepository+Mock.swift
│   │   │   │       │   ├── ApiRepository+Person.swift
│   │   │   │       │   ├── ApiRepository+Post.swift
│   │   │   │       │   ├── ApiRepository+RegistrationApplication.swift
│   │   │   │       │   ├── ApiRepository+Report.swift
│   │   │   │       │   ├── ApiRepository.swift
│   │   │   │       │   └── ConnectionMultiplexer.swift
│   │   │   │       ├── Bridges/
│   │   │   │       │   ├── LemmyBlockBridge.swift
│   │   │   │       │   ├── LemmyInstanceWithFederationStateBridge.swift
│   │   │   │       │   ├── LemmySortTypeBridge.swift
│   │   │   │       │   └── LemmyVoteShowBridge.swift
│   │   │   │       ├── Constants/
│   │   │   │       │   └── MiddlewareConstants.swift
│   │   │   │       ├── Content Models/
│   │   │   │       │   ├── ActiveUserCount.swift
│   │   │   │       │   ├── ActorIdentifiable.swift
│   │   │   │       │   ├── ActorIdentifier.swift
│   │   │   │       │   ├── BlockList.swift
│   │   │   │       │   ├── BlockListSnapshot.swift
│   │   │   │       │   ├── CanModerateProviding.swift
│   │   │   │       │   ├── Captcha.swift
│   │   │   │       │   ├── CaptchaDifficulty.swift
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   ├── Comment+Conformance.swift
│   │   │   │       │   │   ├── Comment+Mock.swift
│   │   │   │       │   │   ├── Comment.swift
│   │   │   │       │   │   ├── CommentProducing.swift
│   │   │   │       │   │   ├── CommentProperties.swift
│   │   │   │       │   │   └── CommentStub.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   ├── Community+Conformance.swift
│   │   │   │       │   │   ├── Community+Mock.swift
│   │   │   │       │   │   ├── Community.swift
│   │   │   │       │   │   ├── CommunityProperties.swift
│   │   │   │       │   │   └── CommunityStub.swift
│   │   │   │       │   ├── CommunityOrPersonStub.swift
│   │   │   │       │   ├── ContentModel.swift
│   │   │   │       │   ├── ContentModelUrlType.swift
│   │   │   │       │   ├── ContentType.swift
│   │   │   │       │   ├── DeletableProviding.swift
│   │   │   │       │   ├── Feature.swift
│   │   │   │       │   ├── FederationPolicy.swift
│   │   │   │       │   ├── FederationStatus.swift
│   │   │   │       │   ├── GetContentFilter.swift
│   │   │   │       │   ├── ImageUpload/
│   │   │   │       │   │   ├── ImageUpload1.swift
│   │   │   │       │   │   └── ImageUpload1Providing.swift
│   │   │   │       │   ├── InboxItemProviding.swift
│   │   │   │       │   ├── Instance/
│   │   │   │       │   │   ├── Instance+Conformance.swift
│   │   │   │       │   │   ├── Instance.swift
│   │   │   │       │   │   ├── InstanceProperties.swift
│   │   │   │       │   │   └── InstanceStub.swift
│   │   │   │       │   ├── InstanceBanType.swift
│   │   │   │       │   ├── InstanceUrlBlockRecord.swift
│   │   │   │       │   ├── Interactable/
│   │   │   │       │   │   └── InteractableProviding.swift
│   │   │   │       │   ├── Internal/
│   │   │   │       │   │   ├── LemmyURL.swift
│   │   │   │       │   │   ├── ScoringOperation.swift
│   │   │   │       │   │   ├── SiteSoftware/
│   │   │   │       │   │   │   ├── SiteSoftware.swift
│   │   │   │       │   │   │   └── SiteSoftwareType.swift
│   │   │   │       │   │   └── SiteVersion/
│   │   │   │       │   │       ├── SiteVersion+EndpointVersion.swift
│   │   │   │       │   │       └── SiteVersion.swift
│   │   │   │       │   ├── LemmyExtensions/
│   │   │   │       │   │   ├── BlockListSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Comment1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Comment2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── CommentSortType+Lemmy.swift
│   │   │   │       │   │   ├── Community1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Community2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Community3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── FederationMode+Lemmy.swift
│   │   │   │       │   │   ├── ImageUpload1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── InboxNotificationSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── LegacySortTimeRangeLimit+Lemmy.swift
│   │   │   │       │   │   ├── LemmyPersonSavedCombinedView+Extensions.swift
│   │   │   │       │   │   ├── ListingType+Lemmy.swift
│   │   │   │       │   │   ├── Locale.Language+Lemmy.swift
│   │   │   │       │   │   ├── Message1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Message2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── ModlogEntryContentSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── ModlogEntrySnapshot+Lemmy.swift
│   │   │   │       │   │   ├── PagedResponseUnion+Extensions.swift
│   │   │   │       │   │   ├── Person1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person4Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── PersonVoteSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── PersonalUnreadCountSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── PostFeatureType+Lemmy.swift
│   │   │   │       │   │   ├── PostSortType+Lemmy.swift
│   │   │   │       │   │   ├── RegistrationApplicationSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── RegistrationMode+Lemmy.swift
│   │   │   │       │   │   ├── ReportSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── ResolvedContent+Lemmy.swift
│   │   │   │       │   │   ├── SearchSortType+Lemmy.swift
│   │   │   │       │   │   └── SortTimeRange+Lemmy.swift
│   │   │   │       │   ├── ListingType.swift
│   │   │   │       │   ├── Message/
│   │   │   │       │   │   ├── Message1.swift
│   │   │   │       │   │   ├── Message1Providing+Snapshots.swift
│   │   │   │       │   │   ├── Message1Providing.swift
│   │   │   │       │   │   ├── Message2.swift
│   │   │   │       │   │   ├── Message2Providing+Snapshots.swift
│   │   │   │       │   │   └── Message2Providing.swift
│   │   │   │       │   ├── Modlog/
│   │   │   │       │   │   ├── ModlogEntry.swift
│   │   │   │       │   │   └── ModlogEntryContent.swift
│   │   │   │       │   ├── ModlogEntryType.swift
│   │   │   │       │   ├── Notification/
│   │   │   │       │   │   ├── InboxNotification+Snapshots.swift
│   │   │   │       │   │   ├── InboxNotification.swift
│   │   │   │       │   │   └── InboxNotificationContent.swift
│   │   │   │       │   ├── OwnershipProviding.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   ├── Person+Conformance.swift
│   │   │   │       │   │   ├── Person.swift
│   │   │   │       │   │   ├── Person1+Mock.swift
│   │   │   │       │   │   ├── PersonProperties.swift
│   │   │   │       │   │   └── PersonStub.swift
│   │   │   │       │   ├── PersonVote/
│   │   │   │       │   │   ├── PersonVote+CacheExtensions.swift
│   │   │   │       │   │   └── PersonVote.swift
│   │   │   │       │   ├── PersonalUnreadCountSnapshot.swift
│   │   │   │       │   ├── PieFedExtensions/
│   │   │   │       │   │   ├── BlockListSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Comment1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Comment2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── CommentSortType+PieFed.swift
│   │   │   │       │   │   ├── Community1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Community2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Community3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── ImageUpload1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── InboxNotificationSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── LegacySortTimeRangeLimit+PieFed.swift
│   │   │   │       │   │   ├── ListingType+PieFed.swift
│   │   │   │       │   │   ├── Locale.Language+PieFed.swift
│   │   │   │       │   │   ├── Message1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Message2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person4Snapshot+PieFed.swift
│   │   │   │       │   │   ├── PersonVoteSnapshot+PieFed.swift
│   │   │   │       │   │   ├── PersonalUnreadCountSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Post1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Post2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Post3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── PostFeatureType+PieFed.swift
│   │   │   │       │   │   ├── PostPoll+PieFed.swift
│   │   │   │       │   │   ├── PostSortType+PieFed.swift
│   │   │   │       │   │   ├── RegistrationMode+PieFed.swift
│   │   │   │       │   │   ├── ReportSnapshot+PieFed.swift
│   │   │   │       │   │   ├── ResolvedContent+PieFed.swift
│   │   │   │       │   │   ├── SearchSortType+PieFed.swift
│   │   │   │       │   │   └── SortTimeRange+PieFed.swift
│   │   │   │       │   ├── Post/
│   │   │   │       │   │   ├── Post+Conformance.swift
│   │   │   │       │   │   ├── Post+Mock.swift
│   │   │   │       │   │   ├── Post.swift
│   │   │   │       │   │   ├── PostPoll.swift
│   │   │   │       │   │   ├── PostProperties.swift
│   │   │   │       │   │   └── PostStub.swift
│   │   │   │       │   ├── PostFeatureType.swift
│   │   │   │       │   ├── PostFeedViewMode.swift
│   │   │   │       │   ├── PostLink.swift
│   │   │   │       │   ├── PostType.swift
│   │   │   │       │   ├── Profile/
│   │   │   │       │   │   └── ProfileProviding.swift
│   │   │   │       │   ├── PurgableProviding.swift
│   │   │   │       │   ├── ReadableProviding.swift
│   │   │   │       │   ├── RegistrationApplication/
│   │   │   │       │   │   └── RegistrationApplication.swift
│   │   │   │       │   ├── RegistrationMode.swift
│   │   │   │       │   ├── RemovableProviding.swift
│   │   │   │       │   ├── Report/
│   │   │   │       │   │   ├── Report.swift
│   │   │   │       │   │   └── ReportTarget.swift
│   │   │   │       │   ├── ReportUnreadCountSnapshot.swift
│   │   │   │       │   ├── ReportableProviding.swift
│   │   │   │       │   ├── Resolvable.swift
│   │   │   │       │   ├── ResolvedContent.swift
│   │   │   │       │   ├── SelectableContentProviding.swift
│   │   │   │       │   ├── Sharable.swift
│   │   │   │       │   ├── Shared/
│   │   │   │       │   │   ├── UnifiedModelProviding.swift
│   │   │   │       │   │   ├── UnifiedPropertiesProviding.swift
│   │   │   │       │   │   └── ValueProviding/
│   │   │   │       │   │       ├── ExpectedValue.swift
│   │   │   │       │   │       ├── RealizedValue.swift
│   │   │   │       │   │       ├── SyntheticExpectedValue.swift
│   │   │   │       │   │       ├── SyntheticRealizedValue.swift
│   │   │   │       │   │       ├── ValueProviding.swift
│   │   │   │       │   │       └── ValueSynthesizer.swift
│   │   │   │       │   ├── SignUpResponse.swift
│   │   │   │       │   ├── Sort Types/
│   │   │   │       │   │   ├── CommentSortType.swift
│   │   │   │       │   │   ├── LegacySortTimeRange.swift
│   │   │   │       │   │   ├── PostSortType.swift
│   │   │   │       │   │   ├── SearchSortType.swift
│   │   │   │       │   │   └── SortTimeRange.swift
│   │   │   │       │   ├── StateManager.swift
│   │   │   │       │   ├── SubscriptionList.swift
│   │   │   │       │   ├── SubscriptionModel.swift
│   │   │   │       │   ├── UnreadCount.swift
│   │   │   │       │   ├── UpdateQueues/
│   │   │   │       │   │   ├── InboxNotificationUpdateQueue.swift
│   │   │   │       │   │   ├── Queue.swift
│   │   │   │       │   │   ├── UnifiedUpdateQueue.swift
│   │   │   │       │   │   └── UpdateStatus.swift
│   │   │   │       │   └── VotesModel.swift
│   │   │   │       ├── Custom API Models/
│   │   │   │       │   ├── ApiPictrsFile.swift
│   │   │   │       │   ├── ApiPictrsUploadResponse.swift
│   │   │   │       │   ├── Extensions/
│   │   │   │       │   │   ├── APIComment+Extensions.swift
│   │   │   │       │   │   ├── APIPost+Extensions.swift
│   │   │   │       │   │   ├── APISubscribedType+Extensions.swift
│   │   │   │       │   │   ├── ApiCommentAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiCommunityAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiCommunityFollowerState+Extensions.swift
│   │   │   │       │   │   ├── ApiGetModlogResponse+Extensions.swift
│   │   │   │       │   │   ├── ApiPersonAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiPostAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiPrivateMessageReportView+Extensions.swift
│   │   │   │       │   │   ├── ApiSiteAggregates+Extensions.swift
│   │   │   │       │   │   ├── PieFedCommentAggregates+Extensions.swift
│   │   │   │       │   │   ├── PieFedPostAggregates+Extensions.swift
│   │   │   │       │   │   └── PieFedSubscribedType+Extensions.swift
│   │   │   │       │   └── LemmyPagedResponse.swift
│   │   │   │       ├── Extensions/
│   │   │   │       │   ├── Array+Extensions.swift
│   │   │   │       │   ├── Bool+Extensions.swift
│   │   │   │       │   ├── InstanceSummarySoftware+Extensions.swift
│   │   │   │       │   ├── RandomAccessCollection+Extensions.swift
│   │   │   │       │   ├── RangeReplaceableCollection+Extensions.swift
│   │   │   │       │   ├── String+Extensions.swift
│   │   │   │       │   └── URL+Extensions.swift
│   │   │   │       ├── FeedLoaders/
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   └── SearchCommentFeedLoader.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   └── CommunityFeedLoader.swift
│   │   │   │       │   ├── DualSourceMixed/
│   │   │   │       │   │   ├── CommentChildFeedLoader.swift
│   │   │   │       │   │   ├── DualSourceMixedFeedLoader.swift
│   │   │   │       │   │   └── PostChildFeedLoader.swift
│   │   │   │       │   ├── Filtering/
│   │   │   │       │   │   ├── FilterContext.swift
│   │   │   │       │   │   ├── FilterProviding.swift
│   │   │   │       │   │   ├── Filterable.swift
│   │   │   │       │   │   ├── Filters/
│   │   │   │       │   │   │   ├── CommentFilter.swift
│   │   │   │       │   │   │   ├── DedupeFilter.swift
│   │   │   │       │   │   │   ├── InboxDedupeFilter.swift
│   │   │   │       │   │   │   ├── Post/
│   │   │   │       │   │   │   │   ├── PostKeywordFilter.swift
│   │   │   │       │   │   │   │   └── PostLiteralFilter.swift
│   │   │   │       │   │   │   ├── ReadFilter.swift
│   │   │   │       │   │   │   └── UserContentFilter.swift
│   │   │   │       │   │   ├── InboxItemFilter.swift
│   │   │   │       │   │   ├── ModMailItemFilter.swift
│   │   │   │       │   │   ├── ModlogItemFilter.swift
│   │   │   │       │   │   ├── MultiFilter.swift
│   │   │   │       │   │   └── PostFilter.swift
│   │   │   │       │   ├── Generics/
│   │   │   │       │   │   ├── ChildFeedLoader.swift
│   │   │   │       │   │   ├── FeedLoaderItem.swift
│   │   │   │       │   │   ├── FeedLoaderSort.swift
│   │   │   │       │   │   ├── FeedLoading.swift
│   │   │   │       │   │   ├── FeedLoadingState.swift
│   │   │   │       │   │   ├── Fetcher.swift
│   │   │   │       │   │   ├── LoadingActor.swift
│   │   │   │       │   │   ├── MultiFetcher.swift
│   │   │   │       │   │   ├── PrefetchingFeedLoader.swift
│   │   │   │       │   │   └── StandardFeedLoader.swift
│   │   │   │       │   ├── Helpers/
│   │   │   │       │   │   └── Thresholds.swift
│   │   │   │       │   ├── Inbox/
│   │   │   │       │   │   ├── InboxFeedLoader/
│   │   │   │       │   │   │   ├── InboxChildFeedLoader.swift
│   │   │   │       │   │   │   ├── InboxFeedLoader.swift
│   │   │   │       │   │   │   ├── InboxFetcher.swift
│   │   │   │       │   │   │   ├── MentionChildFeedLoader.swift
│   │   │   │       │   │   │   ├── MessageChildFeedLoader.swift
│   │   │   │       │   │   │   ├── MessageFeedLoader.swift
│   │   │   │       │   │   │   └── ReplyChildFeedLoader.swift
│   │   │   │       │   │   ├── InboxFeedLoading.swift
│   │   │   │       │   │   ├── InboxIdentifiable.swift
│   │   │   │       │   │   └── ModMailFeedLoader/
│   │   │   │       │   │       ├── ApplicationChildFeedLoader.swift
│   │   │   │       │   │       ├── CommentReportChildFeedLoader.swift
│   │   │   │       │   │       ├── MessageReportChildFeedLoader.swift
│   │   │   │       │   │       ├── ModMailChildFeedLoader.swift
│   │   │   │       │   │       ├── ModMailFeedLoader.swift
│   │   │   │       │   │       ├── ModMailFetcher.swift
│   │   │   │       │   │       ├── ModMailItem.swift
│   │   │   │       │   │       ├── PostReportChildFeedLoader.swift
│   │   │   │       │   │       └── ReportChildFeedLoader.swift
│   │   │   │       │   ├── Modlog/
│   │   │   │       │   │   ├── ModlogChildFeedLoader.swift
│   │   │   │       │   │   ├── ModlogChildFetcher+SharedCache.swift
│   │   │   │       │   │   ├── ModlogChildFetcher.swift
│   │   │   │       │   │   └── ModlogFeedLoader.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   └── PersonFeedLoader.swift
│   │   │   │       │   ├── Post Feed Loaders/
│   │   │   │       │   │   ├── AggregatePostFeedLoader.swift
│   │   │   │       │   │   ├── CommunityPostFeedLoader.swift
│   │   │   │       │   │   ├── CorePostFeedLoader.swift
│   │   │   │       │   │   └── SearchPostFeedLoader.swift
│   │   │   │       │   ├── Prefetching/
│   │   │   │       │   │   ├── ImagePrefetchProviding.swift
│   │   │   │       │   │   └── PrefetchingConfiguration.swift
│   │   │   │       │   └── SingleSourceMixedFeedLoader/
│   │   │   │       │       ├── PersonContent.swift
│   │   │   │       │       ├── PersonContentProviding.swift
│   │   │   │       │       ├── PersonContentStream.swift
│   │   │   │       │       └── SingleSourceMixedFeedLoader.swift
│   │   │   │       ├── InstanceConnection/
│   │   │   │       │   ├── InstanceConnection.swift
│   │   │   │       │   ├── LemmyConnection/
│   │   │   │       │   │   ├── LemmyConnection+Comment.swift
│   │   │   │       │   │   ├── LemmyConnection+Community.swift
│   │   │   │       │   │   ├── LemmyConnection+Context.swift
│   │   │   │       │   │   ├── LemmyConnection+Feature.swift
│   │   │   │       │   │   ├── LemmyConnection+General.swift
│   │   │   │       │   │   ├── LemmyConnection+Image.swift
│   │   │   │       │   │   ├── LemmyConnection+Inbox.swift
│   │   │   │       │   │   ├── LemmyConnection+Instance.swift
│   │   │   │       │   │   ├── LemmyConnection+Person.swift
│   │   │   │       │   │   ├── LemmyConnection+Post.swift
│   │   │   │       │   │   ├── LemmyConnection+RegistrationApplication.swift
│   │   │   │       │   │   ├── LemmyConnection+Report.swift
│   │   │   │       │   │   └── LemmyConnection.swift
│   │   │   │       │   └── PiefedConnection/
│   │   │   │       │       ├── PieFedConnection+Comment.swift
│   │   │   │       │       ├── PieFedConnection+Community.swift
│   │   │   │       │       ├── PieFedConnection+Feature.swift
│   │   │   │       │       ├── PieFedConnection+General.swift
│   │   │   │       │       ├── PieFedConnection+Image.swift
│   │   │   │       │       ├── PieFedConnection+Inbox.swift
│   │   │   │       │       ├── PieFedConnection+Instance.swift
│   │   │   │       │       ├── PieFedConnection+Person.swift
│   │   │   │       │       ├── PieFedConnection+Post.swift
│   │   │   │       │       ├── PieFedConnection+RegistrationApplication.swift
│   │   │   │       │       ├── PieFedConnection+Report.swift
│   │   │   │       │       ├── PieFedConnection.swift
│   │   │   │       │       └── PieFedLemmyCompatible/
│   │   │   │       │           └── PieFedLemmyCompatibleSite.swift
│   │   │   │       ├── Protocols/
│   │   │   │       │   ├── APIContentAggregatesProtocol.swift
│   │   │   │       │   └── UpgradableProtocol.swift
│   │   │   │       ├── Snapshot/
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   ├── Comment1Snapshot.swift
│   │   │   │       │   │   ├── Comment2Snapshot.swift
│   │   │   │       │   │   └── CommentSnapshotProviding.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   ├── Community1Snapshot.swift
│   │   │   │       │   │   ├── Community2Snapshot.swift
│   │   │   │       │   │   └── Community3Snapshot.swift
│   │   │   │       │   ├── ImageUpload/
│   │   │   │       │   │   └── ImageUpload1Snapshot.swift
│   │   │   │       │   ├── Instance/
│   │   │   │       │   │   ├── Instance1Snapshot.swift
│   │   │   │       │   │   ├── Instance2Snapshot.swift
│   │   │   │       │   │   └── Instance3Snapshot.swift
│   │   │   │       │   ├── Message/
│   │   │   │       │   │   ├── Message1Snapshot.swift
│   │   │   │       │   │   └── Message2Snapshot.swift
│   │   │   │       │   ├── ModlogEntry/
│   │   │   │       │   │   ├── ModlogEntryContentSnapshot.swift
│   │   │   │       │   │   └── ModlogEntrySnapshot.swift
│   │   │   │       │   ├── Notification/
│   │   │   │       │   │   └── InboxNotificationSnapshot.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   ├── Person1Snapshot.swift
│   │   │   │       │   │   ├── Person2Snapshot.swift
│   │   │   │       │   │   ├── Person3Snapshot.swift
│   │   │   │       │   │   └── Person4Snapshot.swift
│   │   │   │       │   ├── PersonVote/
│   │   │   │       │   │   └── PersonVoteSnapshot.swift
│   │   │   │       │   ├── Post/
│   │   │   │       │   │   ├── Post1Snapshot.swift
│   │   │   │       │   │   ├── Post2Snapshot.swift
│   │   │   │       │   │   ├── Post3Snapshot.swift
│   │   │   │       │   │   └── PostSnapshotProviding.swift
│   │   │   │       │   ├── ProfileDetails.swift
│   │   │   │       │   ├── RegistrationApplication/
│   │   │   │       │   │   └── RegistrationApplicationSnapshot.swift
│   │   │   │       │   └── Report/
│   │   │   │       │       └── ReportSnapshot.swift
│   │   │   │       └── UsernameValidity.swift
│   │   │   └── Tests/
│   │   │       └── MlemMiddlewareTests/
│   │   │           └── MlemMiddlewareTests.swift
│   │   ├── QuickSwipes/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── QuickSwipes/
│   │   │           ├── Array+Extensions.swift
│   │   │           ├── EnvironmentValues+Extensions.swift
│   │   │           ├── PanGesture.swift
│   │   │           ├── QuickSwipeAction.swift
│   │   │           ├── QuickSwipeThresholdSet.swift
│   │   │           ├── QuickSwipesViewModifier.swift
│   │   │           ├── SwipeConfiguration.swift
│   │   │           ├── View+EdgeBorders.swift
│   │   │           ├── View+Extensions.swift
│   │   │           └── View+QuickSwipes.swift
│   │   ├── Rest/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       ├── Rest/
│   │   │       │   ├── ApiRequest.swift
│   │   │       │   ├── ImageUploadDelegate.swift
│   │   │       │   ├── JSONDecoder+Extensions.swift
│   │   │       │   ├── JSONEncoder+Extensions.swift
│   │   │       │   ├── MlemUrlRequest.swift
│   │   │       │   ├── MultiPartForm.swift
│   │   │       │   ├── RestClient.swift
│   │   │       │   ├── RestError.swift
│   │   │       │   └── URLRequest+Extensions.swift
│   │   │       └── URLEncoder/
│   │   │           ├── InternalQueryItemEncoder.swift
│   │   │           ├── RetrievalEncoder.swift
│   │   │           ├── RetrievalSingleValueContainer.swift
│   │   │           ├── String+Extensions.swift
│   │   │           ├── ThrowingKeyedContainer.swift
│   │   │           ├── ThrowingSingleValueContainer.swift
│   │   │           ├── ThrowingUnkeyedContainer.swift
│   │   │           ├── TopLevelKeyedContainer.swift
│   │   │           ├── URLQueryItemEncoder.swift
│   │   │           └── URLQueryItemEncoderSettings.swift
│   │   └── Theming/
│   │       ├── Package.swift
│   │       └── Sources/
│   │           └── Theming/
│   │               ├── Color+Extensions.swift
│   │               ├── EnvironmentValues+Extensions.swift
│   │               ├── Palette+Default.swift
│   │               ├── Palette.swift
│   │               ├── ThemedColor.swift
│   │               └── View+Tint.swift
│   ├── Preview Content/
│   │   ├── Preview Assets.xcassets/
│   │   │   ├── Contents.json
│   │   │   ├── image.droplets.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── image.meguro_river.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── image.yorkshire_dales.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.balloon.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.circuit.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.firework.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.fish.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.flowers.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.goose.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.lakeside.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.news.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.person.imageset/
│   │   │   │   └── Contents.json
│   │   │   └── pfp.shower.imageset/
│   │   │       └── Contents.json
│   │   └── PreviewLocalizable.xcstrings
│   └── Settings.bundle/
│       ├── Root.plist
│       └── en.lproj/
│           └── Root.strings
├── Mlem.xcodeproj/
│   └── project.pbxproj
├── MlemTests/
│   ├── DateTests.swift
│   └── MlemTests.swift
├── MlemUITests/
│   └── MlemUITests.swift
├── OpenInMlem/
│   ├── Action.js
│   ├── ActionRequestHandler.swift
│   ├── Info.plist
│   ├── InfoPlist.xcstrings
│   └── Media.xcassets/
│       ├── ActionIcon.appiconset/
│       │   └── Contents.json
│       └── Contents.json
├── PrivacyInfo.xcprivacy
├── README.md
└── brewfile

================================================
FILE CONTENTS
================================================

================================================
FILE: .git-hooks/pre-commit
================================================
#!/bin/bash

export PATH="$PATH:/opt/homebrew/bin"

regex="\(Mlem/.*\).swift$"
formatter=$(which swiftformat)

check_for_swiftformat() {
  if [ ! -x "$formatter" ]
  then
    1>&2 echo "Unable to find swiftformat - no formatting will take place"
    exit 0
  fi
}

format_staged_files() {
  git diff --diff-filter=d --staged --name-only | grep -e '\(.*\).swift$' | while read line; do

    # format the stages changes in a file

    temporary_file="${line}.tmp.swift"
    git show ":$line" > "$temporary_file"

    $formatter "$temporary_file"
    $formatter "$line"

    blob=`git hash-object -w "$temporary_file"`

    git update-index --add --cacheinfo 100644 $blob "$line"

    rm "$temporary_file"
  done
}

main() {
  check_for_swiftformat
  format_staged_files
}

main


================================================
FILE: .github/ISSUE_TEMPLATE/bug-report.yml
================================================
name: Bug Report
description: Report unexpected behavior.
type: "Bug"

body:
- type: checkboxes
  attributes:
    label: Requirements
    description: Please check whether an issue already exists for the bug you encountered.
    options:
    - label: There are no existing issues for this bug report.
      required: true
- type: textarea
  attributes:
    label: "Description"
    description: "Please describe the issue. If possible, give step-by-step instructions to reproduce the bug."
- type: input
  attributes:
    label: "Mlem Version"
    description: "You can find this under `Settings` -> `About Mlem`. Example: `Mlem 2.0 (184)`."


================================================
FILE: .github/ISSUE_TEMPLATE/improvement-proposal.yml
================================================
name: Improvement Proposal
description: Propose an improvement for Mlem.
type: "Feature"

body:
- type: checkboxes
  attributes:
    label: Requirements
    description: Before you create this issue, please check the following.
    options:
    - label: There are no existing issues for this feature.
      required: true
    - label: This is a request for a **single** feature (create multiple issues for multiple feature requests).
      required: true
- type: textarea
  attributes:
    label: "Description"
    description: "Please describe how you would like Mlem to be improved."


================================================
FILE: .github/actions/ci_xcodebuild/action.yml
================================================
name: xcodebuild

inputs:
  xcode_version: 
    required: true
  xcodebuild_destination:
    required: true
  xcodebuild_action:
    required: true

runs:
  using: "composite"
  steps:
  - uses: maxim-lobanov/setup-xcode@v1
    name: Set Xcode Version
    with:
      xcode-version: "${{ inputs.xcode_version }}"

  - name: "Test SDK versions"
    shell: bash
    run: |
      xcodebuild -showsdks

  - name: "Xcode Build"
    uses: sersoft-gmbh/xcodebuild-action@v3
    with:
      project: Mlem.xcodeproj
      scheme: Mlem
      configuration: Release
      destination: "${{ inputs.xcodebuild_destination }}"
      action: "${{ inputs.xcodebuild_action }}"
      result-bundle-path: build_results.xcresult


================================================
FILE: .github/pull_request_template.md
================================================
<!--
Thank you for opening a pull request!

We assume you have read CONTRIBUTING.md. If you have not, do not be surprised if your PR is rejected for reasons listed therein.

Please note that if your PR does not address an issue that was assigned to you, you are still welcome to open it; however, it will not receive merge priority and may be rejected for scope reasons.
-->

## Issues

- closes #issue
- progress towards #issue

## Description

<!-- Describe what this PR does at a high level (e.g., "adds a toggle to do <thing>") -->

## Implementation Notes

<!-- Any information about the code that would be helpful for reviewing -->


================================================
FILE: .github/workflows/ci_build_26.yml
================================================
name: CI - Build - Xcode 26

on:
    push:
        branches:
        - master
        - dev

    pull_request:
        branches:
        - master
        - dev

jobs:
  Build:
    permissions: write-all
    runs-on: macos-26
    steps:
    - name: Checkout
      uses: actions/checkout@v3
      with:
        submodules: 'true'

    - name: Build
      uses: "./.github/actions/ci_xcodebuild"
      with:
        xcode_version: "26.4"
        xcodebuild_destination: "platform=iOS Simulator,name=iPhone 17,OS=26.4.1"
        xcodebuild_action: "build"


================================================
FILE: .github/workflows/ci_lint.yml
================================================
name: CI - Lint

on:
  # Run in master as CI
  push:
    branches:
    - master
      
  pull_request:
    branches:
    - master
    - dev

jobs:
  SwiftLint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: dorny/paths-filter@v4
      id: changes
      with:
        filters: |
          src:
            - '.github/workflows/swiftlint.yml'
            - '.swiftlint.yml'
            - '**/*.swift'
            - 'Mlem.xcodeproj/project.pbxproj'
    
    - name: GitHub Action for SwiftLint
      uses: norio-nomura/action-swiftlint@3.2.1
      with:
        args: --strict


================================================
FILE: .gitignore
================================================
# Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swift,macos
*.orig

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# https://stackoverflow.com/a/65429032/17629371
Icon?
![iI]con[_a-zA-Z0-9]


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### Xcode ###

## Xcode 8 and earlier

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcodeproj/project.xcworkspace/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/xcode,swift,macos

# Brew
Brewfile.lock.json


================================================
FILE: .gitmodules
================================================
[submodule "Mlem/Packages/MlemMiddleware/Sources/MlemMiddleware/MlemApiTypes"]
	path = Mlem/Packages/MlemMiddleware/Sources/MlemMiddleware/MlemApiTypes
	url = https://github.com/mlemgroup/MlemApiTypes.git
	branch = master


================================================
FILE: .periphery.yml
================================================
project: Mlem.xcodeproj
schemes:
- MarkdownUI
- Mlem
- Semaphore
targets:
- Mlem


================================================
FILE: .swift-version
================================================
5.8


================================================
FILE: .swiftformat
================================================
--wraparguments before-first
--commas inline
--disable wrapMultilineStatementBraces
--trimwhitespace nonblank-lines
--stripunusedargs closure-only
--header ignore
--disable self
--disable headerFileName

================================================
FILE: .swiftlint.yml
================================================
disabled_rules:
  - trailing_whitespace # disabling this check until swiftformat is in place, which will catch the majority.
  - todo
line_length:
  warning: 140
  error: 160
  ignores_comments: true
  ignores_urls: true
identifier_name:
  excluded: # excluded via string array
    - id
    - op
    - w
    - h
    - x
    - y
  allowed_symbols: ["_"] # these are allowed in type names as we use them in API body arguments

excluded:
  - "**/.build"
  - "**/build"
  - Mlem/Packages/MlemMiddleware


================================================
FILE: Additional Documents/EULA.md
================================================
# End User License Agreement

Welcome to Mlem! Before you proceed, please carefully read the following Terms of Service ("Terms") governing your use of our app. By accessing or using Mlem, you acknowledge that you have read, understood, and agreed to be bound by these Terms. If you do not agree with any part of these Terms, please refrain from using Mlem.

## 1. User Responsibilities

1.1 Reporting Content: Questionable content or content in violation of the rules and guidelines of the Lemmy instance or community on which it is hosted can be reported to the Lemmy community moderators using Mlem's built-in report function or on the instance website. We are not responsible for moderating or enforcing Lemmy instance or community rules.

1.2 Blocking Users and Instances: Mlem provides you with the ability to block individual users, communities, or entire instances. We encourage you to use these blocking features to create a safe and enjoyable Mlem experience.

1.3 Following Instance Rules: You are required to follow the rules of the instance(s) that you access using Mlem. Instance terms of use can be found on the instance website. Failure to comply with the rules of an instance may result in suspension or termination of your account with that instance as dictated by the instance rules.

1.4 No Misuse: The misuse of Mlem will result in termination of all services--to the furthest of our ability--with us. We reserve the right to terminate--to the furthest of our ability--any services that we provide.

1.5 Adult Content: Some Lemmy instances that Mlem accesses may host adult content. Lemmy blocks this content by default; if you wish to view it, in-app or otherwise, you can enable the option on the website of the instance where your account is registered. We take reasonable measures to prevent the display of explicit or adult content within Mlem, but we cannot guarantee that all instances or communities will follow the appropriate procedures to label adult content as such. It is your responsibility to exercise caution while accessing external content.

1.6 No Abusive, Unlawful, or Offensive Content: You may not use Mlem to produce or distribute any abusive, unlawful, or offensive content. This includes, but is not limited to: content that is unlawful, libelous, defamatory, or tortious; harmful, threatening, abusive, invasive, or harassing; or hateful or racially, ethnically, or otherwise discriminatory. The content you produce will not harm minors in any way. You will not impersonate any person or entity. You will not upload or post any content that you do not have the right to make available under any US or foreign laws. You will not produce content that interferes with or disrupts the app, the Lemmy instances that you use, other Lemmy instances, or any other service or person. You will not transmit misinformation in any capacity to any individual.

## 2. Limitation of Liability

2.1 No Liability: To the fullest extent permitted by applicable law, we disclaim any liability for any direct, indirect, incidental, special, consequential, or punitive damages, or any loss of profits or revenues, whether incurred directly or indirectly, arising from your use of Mlem or any interactions within the Lemmy instances that you access thereby. This includes, but is not limited to, any damages resulting from the content, actions, or conduct of other Mlem or Lemmy users.

## 3. General Provisions

3.1 Modifications: We reserve the right to modify, suspend, or terminate Mlem or these Terms, at our sole discretion, at any time and without prior notice. Your continued use of Mlem after any modifications to these Terms shall constitute your acceptance of the modified Terms.

3.2 Governing Law: These Terms shall be governed by and construed in accordance with the laws of the United States, without regard to its conflict of laws principles.

3.3 Entire Agreement: These Terms constitute the entire agreement between you and us regarding your use of Mlem and supersede any prior or contemporaneous agreements, communications, or proposals, whether oral or written, between you and us.

By using Mlem, you affirm that you have read, understood, and agreed to these revised Terms of Service. If you have any questions or concerns, please contact us at mlemappofficial@gmail.com. Thank you for using Mlem!


================================================
FILE: Additional Documents/Privacy.md
================================================
# Privacy Policy for Mlem Mobile Application

Effective Date: July 15th, 2023

Thank you for using Mlem! This Privacy Policy outlines how your personal information is collected, used, and protected when you use the Mlem mobile application ("App"). Please read this Privacy Policy carefully to understand our practices regarding your personal information. By using the Mlem mobile application, you acknowledge that you have read and understood this Privacy Policy and agree to the collection, use, and disclosure of your information as described herein.

## Information We Collect
Mlem does not collect or store any user data. We do not collect any personally identifiable information or track your activities within the App.

## Servers and Data Control
Mlem connects to servers that we do not host or have control over. While we strive to ensure the security and privacy of your data within our App, we cannot guarantee the security or privacy practices of the external servers. Any data stored or processed on these servers is subject to the respective privacy policies and terms of service of those servers.

## Third-Party Services
Mlem does not integrate any third-party services, advertising networks, or analytics tools that collect personal information or track your activities within the App. We prioritize user privacy and do not engage in any data sharing or tracking practices.

## Children's Privacy
Mlem is not intended for use by individuals under the age of 13. We do not knowingly collect personal information from children under the age of 13. If we become aware that we have inadvertently collected personal information from a child under the age of 13, we will take steps to delete the information as soon as possible. If you believe that we may have collected information from a child under the age of 13, please contact us using the information provided in the "Contact Us" section below.

## Changes to this Privacy Policy
We reserve the right to modify or update this Privacy Policy at any time. Any changes will be effective immediately upon posting the revised Privacy Policy.

## Contact Us
If you have any questions, concerns, or requests regarding this Privacy Policy or the privacy practices of Mlem, please contact us at mlemappofficial@gmail.com.


================================================
FILE: CODEOWNERS
================================================
*   @mlemgroup/mlem-dev-team


================================================
FILE: CONTRIBUTING.md
================================================
Hello!

If you're reading this, you probably want to contribute to Mlem. Welcome! We're happy to have you on board. You may wish to join our [Matrix room](https://matrix.to/#/#mlemappspace:matrix.org) if you haven't already.

## Getting Started

### Cloning and Building

Mlem is built using the latest stable version of Xcode. Install it from the App Store or the Apple Developer downloads page, along with the command line tools.

Mlem employs submodules to integrate generated code into the main project. To clone the project, execute the following:

`git clone git@github.com:mlemgroup/mlem.git --recurse-submodules`

If you encounter missing `Api...` types when building, this can usually be resolved by updating the submodules:

`git submodule update --recursive`

### Additional Tools

This project makes use of the following tools:

- Xcode 15
- [SwiftLint](https://github.com/realm/SwiftLint#swiftlint). This runs as part of the Xcode build phases.
- [Swiftformat](https://github.com/nicklockwood/SwiftFormat#what-is-this). This runs as a pre-commit hook.

In order to benefit please ensure you have [Homebrew](https://brew.sh) installed on your system and then run the following commands inside the project directory:

```
cd /path/to/this/repo
brew update
brew bundle
git config --local --add core.hooksPath .git-hooks
```

With these steps completed each time you build your code will be linted, and each time you commit your code will be formatted.

### Claiming Issues

1. Go to our [project board](https://github.com/orgs/mlemgroup/projects/1/views/1).
2. Find an unassigned issue under the "Todo" section that you'd like to work on.
3. Comment that you would like to work on the issue. If the issue doesn't conflict with any in-flight work, a maintainer will assign it to you.
4. Fork the repository (see Cloning and Building) and develop the changes on your fork. It is important that you create your development branch using the upstream `dev` branch as the source, not the `master` branch.
5. Open a Pull Request for your changes.

## Merge Protocol

When your code is approved, it can be merged into the `dev` branch by a member of the development team. If you need to tinker with your changes post-approval, please make a comment that you are doing so. PRs that sit approved for more than 12 hours with no input from the dev may be merged if they are blocking other work.

## Coding Conventions

### General Principles

- Files should be named according to the following patterns:
  - All files: `TitleCase`. If the file contains extensions, it should be named `BaseEntity+Extensions`.
  - `View` files: file name must end in `View` (e.g., `FeedsView`)
- If you can reuse code, do. Prefer abstracting common components to a generic struct and common logic to a generic function.

### Views

- Only one `View` struct should be defined per file
- Within reason, any complex of views that renders a single component of a larger view should be placed in a descriptively named function, computed property or `@ViewBuilder` variable beneath the body of the View. This keeps pyramids from piling up and makes our accessibility experts' work easier.
- All `View` structs should be organized according to the following template:

```
struct SomeView: View {
  @AppStorage values
  @Setting values
  @Environment entities
  @Binding variables
  @State variables
  @Namespace variables
  Normal variables
  Computed properties

  // if necessary
  init() { ... }

  var body: some View { ... }

  // if necessary
  var content: some View { ... }

  Helper views
}
```

- If the view has modifiers that are attached to the entire body, place the view definition in `content` and attach these modifiers to it in `body` (see `ContentView.swift` for an example).
- Prefer `var helper: some View` to `func helper() -> some View` unless the helper view takes in parameters.
- Helper views should always appear lower in the file than the view they help.

### Global Objects

There are several objects (e.g., `AppState`) that need to be available anywhere in the app. Normally this is handled with `@Environment`, but this is not available outside of the context of a `View`. To address this, globals that need to be available outside of a `View` define a `static var main: GlobalObject = .init()`, allowing them to be referenced as `GlobalObject.main`. This definition should be placed immediately above the initializer.

This pattern should be used only where necessary, and should not be blindly applied to any global object. Likewise, if possible, these objects should be referenced via `@Environment(GlobalObject.self) var globalObject`; the static singleton should be considered a last resort.

### Colors

Colors are managed using our custom `Theming` package, which enables color themes. The following conventions apply:

- Avoid referencing `Color` directly; always use a `Themed` color. These can be referenced the same way normal colors are referenced (e.g., `.fill(.themedSecondary)`)
- Prefer semantic over literal colors (e.g., `.themedUpvote` over `.blue`).

The `Theming` package requires the environmental `Palette` object. In certain rare cases, this is not implicitly accessible; if absolutely necessary, a themed color can be generated by explicitly passing in a palette: 

`ThemedColor.<color>.resolve(with: palette)`

Avoid using this invocation unless absolutely necessary.

### Main Actor

To run code on the main actor, use either:

- `@MainActor` annotated method
- `Task { @MainActor in ... }`

If you need to execute code after a delay, use `DispatchQueue.main.asyncAfter`.

### Hashable

Explicit `hash` functions for `enum`s should, in the absence of associated values, use a descriptive string to identify each case rather than an integer.


================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

----

The Mlem iOS developers are aware that the terms of service that apply to apps distributed via Apple's App Store services may conflict with rights granted under
the Mlem iOS license, the "GNU GPLv3". We have committed not to pursue any license violation that results solely from the conflict between
the "GNU GPLv3" or any later version and the Apple App Store terms of service.


================================================
FILE: Mlem/App/Actions/ActionSeed+Extensions.swift
================================================
//
//  ActionSeed+Extensions.swift
//  Mlem
//
//  Created by Sjmarf on 2026-04-02.
//

import Actions

extension ActionSeed {
    private static let moderatorActions: Set<ActionSeed> = [
        .pin,
        .lock,
        .markNsfw,
        .viewVotes,
        .remove,
        .banCreator,
        .purge,
        .purgeCreator,
        .resolveReport
    ]

    var isModeratorAction: Bool {
        Self.moderatorActions.contains(self)
    }

    var isBasicAction: Bool {
        !Self.moderatorActions.contains(self)
    }
}


================================================
FILE: Mlem/App/Actions/ActionSeedSwipeConfiguration.swift
================================================
//
//  ActionSeedSwipeConfiguration.swift
//  Mlem
//
//  Created by Sjmarf on 2026-03-04.
//

import Actions
import Foundation

struct ActionSeedSwipeConfiguration: Encodable, Equatable {
    var leading: [ActionSeed]   
    var trailing: [ActionSeed]

    enum CodingKeys: CodingKey {
        case leading, trailing
    }

    func filter(allowed seeds: [ActionSeed]) -> ActionSeedSwipeConfiguration {
        let keys = Set(seeds.lazy.map(\.key))
        return .init(
            leading: leading.filter { keys.contains($0.key) },
            trailing: trailing.filter { keys.contains($0.key) }
        )
    }
}

extension ActionSeedSwipeConfiguration {
    init(from container: KeyedDecodingContainer<CodingKeys>, availableActions: [ActionSeed]) throws {
        let leading = try container.decode([String].self, forKey: .leading) 
        self.leading = leading.compactMap { key in availableActions.first(where: {$0.key == key}) }
        let trailing = try container.decode([String].self, forKey: .trailing) 
        self.trailing = trailing.compactMap { key in availableActions.first(where: {$0.key == key}) }
    }
}


================================================
FILE: Mlem/App/Actions/ActionSheet/ActionSheet.swift
================================================
//
//  ActionSheet.swift
//  Mlem
//
//  Created by Sjmarf on 2025-11-12.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ActionSheetSection {
    let actions: [any Actions.Action]
}

struct ActionSheet: View {
    @Environment(\.dismiss) var dismiss
    @Environment(NavigationLayer.self) var navigation

    let sections: [ActionSheetSection]
    let environment: EnvironmentValues
    let configuration: ContextMenuSettingsPage?

    @State var popupAnchorModel: PopupAnchorModel = .init()

    var body: some View {
        ScrollView {
            VStack(alignment: .leading, spacing: 0) {
                content
                    .padding(16)
                if let configuration {
                    Button("Customize", icon: .general.edit) {
                        navigation.replace(.settings(.contextMenu(configuration)))
                    }
                    .font(.footnote)
                    .padding(.horizontal, 32)
                    .padding(.top, -5)
                }
            }
        }
        .presentationBackground(.themedGroupedBackground)
        .presentationDragIndicator(.hidden)
        .presentationBackgroundInteraction(.enabled)
    }

    var content: some View {
        ForEach(Array(sections.enumerated()), id: \.offset) { _, section in
            let frames = frames(for: section.actions)
            if !frames.isEmpty {
                VStack(spacing: 0) {
                    ForEach(Array(frames.enumerated()), id: \.offset) { index, frame in
                        actionRow(frame, showDivider: ![frames.startIndex, frames.endIndex].contains(index))
                            .compositingGroup()
                    }
                }
                .background(.themedSecondaryGroupedBackground, in: .rect(cornerRadius: 25))
            }
        }
        .labelStyle(ActionSheetLabelStyle())
        .buttonStyle(ActionSheetButtonStyle())
        .onChange(of: popupAnchorModel.outcome) {
            if popupAnchorModel.outcome == .confirmed, !navigation.rootChangePending { dismiss() }
        }
    }

    private func frames(for actions: [any Actions.Action]) -> [ActionFrame] {
        actions.compactMap {
            let label = $0.createLabel(environment: environment)
            if label.visibility == .hidden { return nil }
            return .init(action: $0, label: label)
        }
    }

    @ViewBuilder
    private func actionRow(_ frame: ActionFrame, showDivider: Bool) -> some View {
        if showDivider {
            Divider()
                .padding(.horizontal, 15)
        }
        ActionSheetButton(action: frame.action, label: frame.label)
            .popupAnchor(model: popupAnchorModel)
            .environment(navigation)
            .environment(\.self, environment)
    }
}

private struct ActionSheetButton: View {
    @Environment(\.dismiss) var dismiss
    @Environment(NavigationLayer.self) var navigation
    @Environment(PopupAnchorModel.self) var popupAnchorModel
    @Environment(\.self) var environment

    let action: any Actions.Action

    // Lable passed separately for performance reasons
    let label: ActionLabel

    var body: some View {
        Button(label) {
            action.execute(environment: environment)
            if !navigation.rootChangePending, popupAnchorModel.data == nil {
                dismiss()
            }
        }
        .disabled(label.visibility == .disabled)
    }
}

private struct ActionFrame {
    let action: any Actions.Action
    let label: ActionLabel
}

private struct ActionSheetButtonStyle: ButtonStyle {
    func makeBody(configuration: Configuration) -> some View {
        configuration.label
            .foregroundStyle(configuration.role == .destructive ? .themedWarning : .themedPrimary)
    }
}

private struct ActionSheetLabelStyle: LabelStyle {
    @ScaledMetric(relativeTo: .body) var rowHeight = 40

    func makeBody(configuration: Configuration) -> some View {
        HStack {
            configuration.title
            Spacer()
            configuration.icon
                .font(.title2)
        }
        .padding(.horizontal, 25)
        .frame(height: rowHeight)
        .padding(.vertical, 8)
        .contentShape(.rect)
    }
}


================================================
FILE: Mlem/App/Actions/ActionSheet/CustomizableContextMenu.swift
================================================
//
//  CustomizableActionMenu.swift
//  Mlem
//
//  Created by Sjmarf on 2026-04-02.
//

import Actions
import SwiftUI

struct CustomizableActionMenu<Configuration: ContextMenuConfiguration>: View {
    @Environment(NavigationLayer.self) var navigation
    @Environment(\.self) var environment

    let configurationKeyPathGenerator: (EnvironmentValues) -> ReferenceWritableKeyPath<SettingsValues, Configuration>
    let createAction: (ActionSeed, EnvironmentValues) -> (any Actions.Action)?
    let customizable: Bool

    fileprivate init(
        customizable: Bool = true,
        configuration keyPathGenerator: @escaping (EnvironmentValues) -> ReferenceWritableKeyPath<SettingsValues, Configuration>,
        createAction: @escaping (ActionSeed, EnvironmentValues) -> (any Actions.Action)?,
    ) {
        self.configurationKeyPathGenerator = keyPathGenerator
        self.customizable = customizable
        self.createAction = createAction
    }

    var configuration: Configuration {
        Settings.get(configurationKeyPathGenerator(environment))
    }

    var body: some View {
        ActionButtons { _ in
            self.createActions(seeds: configuration.contextMenu)
        }
        .environment(\.isContextMenu, true)
        if customizable {
            Section {
                Button("More...", icon: .general.menu) {
                    navigation.openSheet(.actionSheet(
                        sheetSections,
                        environment: environment,
                        configuration: configurationKeyPathGenerator(environment)
                    ))
                }
                .symbolVariant(.circle)
            }
        }
    }

    var sheetSections: [ActionSheetSection] {
        Configuration.availableActions.sections.map { seeds in
            .init(actions: self.createActions(seeds: seeds))
        }
    }

    func createActions(seeds: [ActionSeed]) -> [any Actions.Action] {
        seeds.compactMap { self.createAction($0, environment) }
    }
}

extension CustomizableActionMenu {
    init(
        entity: Any,
        configuration keyPath: ReferenceWritableKeyPath<SettingsValues, Configuration>,
        customizable: Bool = true
    ) {
        self.init(configuration: keyPath, customizable: customizable) { seed, _ in
            seed.createAction(entity)
        }
    }

    init(
        configuration keyPath: ReferenceWritableKeyPath<SettingsValues, Configuration>,
        customizable: Bool = true,
        createAction: @escaping (ActionSeed, EnvironmentValues) -> (any Actions.Action)?,
    ) {
        self.configurationKeyPathGenerator = { _ in keyPath }
        self.customizable = customizable
        self.createAction = createAction
    }

    init(
        entity: Any,
        configuration: ReferenceWritableKeyPath<SettingsValues, Configuration>,
        modMailConfiguration: ReferenceWritableKeyPath<SettingsValues, Configuration>,
        customizable: Bool = true,
        _ filter: @escaping (ActionSeed) -> Bool = { _ in true }
    ) {
        self.init(
        customizable: customizable,
        configuration: { environment in
            if environment.reportContext != nil && Settings.get(\.interactionBar_alternateReportLayout) {
                configuration
            } else {
                modMailConfiguration
            }
        },
        createAction: { seed, environment in
            if !filter(seed) { return nil }
            if let report = environment.reportContext {
                if let action = seed.createAction(report) {
                    return action
                }
            }
            return seed.createAction(entity)
        })
    }
}


================================================
FILE: Mlem/App/Actions/AppointAdminAction.swift
================================================
//
//  AppointAdminAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct AppointAdminAction: Actions.Action {
    let entity: Person
}

// MARK: - Configurability

extension ActionSeed {
    static let appointAdmin = ActionSeed("appointAdmin", label: AppointAdminAction.appointLabel) { entity in
        switch entity {
        case let entity as Person:
            AppointAdminAction(entity: entity)
        default:
            nil
        }
    }
}

// MARK: - Appearance

extension AppointAdminAction {
    static let appointLabel: ActionLabel = .init(
        "Appoint Administrator",
        icon: .lemmy.addAdministrator,
        color: .themedPositive
    )

    static let demoteLabel: ActionLabel = .init(
        "Remove Administrator",
        icon: .lemmy.removeAdministrator,
        color: .themedNegative
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        guard let isAdmin = entity.isAdmin.value else { return Self.demoteLabel.withVisibility(.hidden) }
        let label: ActionLabel

        if isAdmin {
            label = Self.demoteLabel
        } else {
            label = Self.appointLabel
        }

        return label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard let entityIsAdmin = entity.isAdmin.value else { return .hidden }
        if entity.api.canInteract(appState: environment.appState),
            entity.api.isAdmin,
            !entityIsAdmin,
            entity.api.isHigherAdmin(than: entity),
            entity.apiIsLocal {
            return .enabled
        } else {
            return .hidden
        }
    }
}

// MARK: - Behavior

extension AppointAdminAction {
    func execute(environment: EnvironmentValues) {
        guard let message = self.popupMessage(environment: environment) else {
            assertionFailure()
            return
        }
        environment.popupModel?.showPopup(message: message, [
            .init(title: "Yes", isDestructive: true) {
                confirm(environment: environment)
            }
        ])
    }

    private func popupMessage(environment: EnvironmentValues) -> LocalizedStringResource? {
        guard let isAdmin = self.entity.isAdmin.value else { return nil }
        if isAdmin {
            return "Really remove administrator \(entity.displayName) from \(self.entity.api.host)?"
        } else {
            return "Really appoint \(entity.displayName) as an administrator of \(self.entity.api.host)?"
        }
    }

    private func confirm(environment: EnvironmentValues) {
        guard let instance = entity.api.myInstance,
        let isAdmin = entity.isAdmin.value else {
            assertionFailure()
            return
        }

        instance.addAdmin(personId: self.entity.id, added: !isAdmin)
    }
}


================================================
FILE: Mlem/App/Actions/AppointModeratorAction.swift
================================================
//
//  AppointModeratorAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct AppointModeratorAction: Actions.Action {
    let entity: Person
}

// MARK: - Configurability

extension ActionSeed {
    static let appointModerator = ActionSeed("appointModerator", label: AppointModeratorAction.appointLabel) { entity in
        switch entity {
        case let entity as Person:
            AppointModeratorAction(entity: entity)
        default:
            nil
        }
    }
}

// MARK: - Appearance

extension AppointModeratorAction {
    static let appointLabel: ActionLabel = .init(
        "Appoint Moderator",
        icon: .lemmy.addModerator,
        color: .themedPositive
    )

    static let demoteLabel: ActionLabel = .init(
        "Remove Moderator",
        icon: .lemmy.removeModerator,
        color: .themedNegative
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        let label: ActionLabel

        if isModerator(environment: environment) ?? false {
            label = Self.demoteLabel
        } else {
            label = Self.appointLabel
        }

        return label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if let communityModerators = environment.communityContext?.moderators.value,
            let myPerson = entity.api.myPerson,
            entity.api.canInteract(appState: environment.appState),
            myPerson.canModerate(entity, communityModerators: communityModerators) {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension AppointModeratorAction {
    func isModerator(environment: EnvironmentValues) -> Bool? {
        if let communityModerators = environment.communityContext?.moderators.value {
            return communityModerators.contains(where: { $0.id == entity.id })
        } else {
            return nil
        }
    }

    func execute(environment: EnvironmentValues) {
        guard let message = self.popupMessage(environment: environment) else {
            assertionFailure()
            return
        }
        environment.popupModel?.showPopup(message: message, [
            .init(title: "Yes", isDestructive: true) {
                confirm(environment: environment)
            }
        ])
    }

    private func popupMessage(environment: EnvironmentValues) -> LocalizedStringResource? {
        guard let community = environment.communityContext else { return nil }

        if self.isModerator(environment: environment) ?? false {
            return "Really remove moderator \(entity.displayName) from \(community.displayName)?"
        } else {
            return "Really appoint \(entity.displayName) as a moderator of \(community.displayName)?"
        }
    }

    private func confirm(environment: EnvironmentValues) {
        guard let isModerator = self.isModerator(environment: environment) else {
            assertionFailure()
            return
        }
        Task {
            do {
                try await environment.communityContext?.addModerator(self.entity, added: !isModerator)
            } catch {
                handleError(error)
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/BanAction.swift
================================================
//
//  BanAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

private enum BanScope {
    case community
    case instance
}

private extension Set<BanScope> {
    static let communityOnly: Set<BanScope> = [.community]
    static let instanceOnly: Set<BanScope> = [.instance]
    static let both: Set<BanScope> = [.community, .instance]
    static let none: Set<BanScope> = []
}

private struct BanScopePattern {
    let closure: (Set<BanScope>) -> Bool

    static func ~= (lhs: BanScopePattern, rhs: Set<BanScope>) -> Bool {
        lhs.closure(rhs)
    }
}

private extension BanScopePattern {
    static func anyContaining(_ value: BanScope) -> BanScopePattern {
        BanScopePattern { $0.contains(value) }
    }

    static func anyNotContaining(_ value: BanScope) -> BanScopePattern {
        BanScopePattern { !$0.contains(value) }
    }
}

struct BanAction: SimpleLabelAction {
    let entity: Person

    var canBanFromInstance: Bool {
        entity.api.isAdmin && entity.api.supports(.banFromInstance, defaultValue: false)
    }

    func canBanFromCommunity(community: Community?) -> Bool {
        let supportedByApi = entity.api.supports(.banFromCommunity, defaultValue: false) && (
            entity.apiIsLocal || entity.api.supports(.banFromNonLocalCommunity, defaultValue: false)
        )

        guard supportedByApi else { return false }
        guard let community else { return entity.api.isAdmin }
        guard let myPerson = entity.api.myPerson,
              let myPersonModerates = myPerson.moderates else { return false }

        return myPersonModerates(.community(community)) || entity.api.isAdmin
    }
}

// MARK: - Configurability

extension ActionSeed {
    static let ban = ActionSeed("ban") { entity in
        switch entity {
        case let entity as Person: BanAction(entity: entity)
        default: nil
        }
    }

    static let banCreator = ActionSeed("banCreator") { entity in
        switch entity {
        case let entity as Comment:
            if let creator = entity.creator.value {
                BanAction(entity: creator)
            } else {
                nil
            }
        case let entity as Post:
            if let creator = entity.creator.value {
                BanAction(entity: creator)
            } else {
                nil
            }
        default: nil
        }
    }
}

// MARK: - Appearance

extension BanAction {
    static let label: ActionLabel = .init(
        "Ban",
        icon: .lemmy.banFromCommunity,
        color: .themedNegative,
        isDestructive: true
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        let label: ActionLabel

        let appliedBanScopes = getAppliedBanScopes(environment: environment)
        let actionableBanScopes = getActionableBanScopes(environment: environment)

        switch (bannedFrom: appliedBanScopes, canBanFrom: actionableBanScopes) {
        case (bannedFrom: .none, canBanFrom: .both),
             (bannedFrom: .anyNotContaining(.instance), canBanFrom: .instanceOnly):
            label = .init(
                "Ban",
                icon: .lemmy.banFromInstance,
                color: .themedNegative,
                isDestructive: true
            )

        case (bannedFrom: .anyContaining(.instance), canBanFrom: .instanceOnly),
             (bannedFrom: .both, canBanFrom: .both):
            label = .init(
                "Unban",
                icon: .lemmy.unbanFromInstance,
                color: .themedPositive
            )

        case (bannedFrom: .instanceOnly, canBanFrom: .both),
             (bannedFrom: .communityOnly, canBanFrom: .both):
            label = .init(
                "Ban...",
                icon: .lemmy.banFromInstance,
                color: .themedNegative,
                isDestructive: true
            )

        case (bannedFrom: .anyContaining(.community), canBanFrom: .communityOnly):
            label = .init(
                "Unban",
                icon: .lemmy.unbanFromCommunity,
                color: .themedPositive
            )

        case (bannedFrom: .anyNotContaining(.community), canBanFrom: .communityOnly):
            label = Self.label

        default:
            return Self.label.withVisibility(.hidden)
        }

        return label.withVisibility(visibility(environment))
    }

    /// Get the scopes that the target is current banned within.
    private func getAppliedBanScopes(environment: EnvironmentValues) -> Set<BanScope> {
        var output: Set<BanScope> = []
        if isBannedFromCommunity(environment: environment) {
            output.insert(.community)
        }
        if entity.bannedFromInstance {
            output.insert(.instance)
        }
        return output
    }

    /// Get the set of ban scopes that the authorized user is able to apply to the target.
    private func getActionableBanScopes(environment: EnvironmentValues) -> Set<BanScope> {
        var output: Set<BanScope> = []
        if canBanFromCommunity(community: environment.communityContext) {
            output.insert(.community)
        }
        if entity.api.isAdmin {
            output.insert(.instance)
        }
        return output
    }

    private func isBannedFromCommunity(environment: EnvironmentValues) -> Bool {
        guard let communityContext = environment.communityContext else { return false }
        return entity.isBannedFromCommunity(communityContext) ?? false
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard let myPersonId = entity.api.myPerson?.id else { return .hidden }
        return entity.id == myPersonId ? .hidden : .enabled
    }
}

// MARK: - Behavior

extension BanAction {
    // If `nil` is returned, a modal should be shown asking whether the user wants to ban or unban
    private func shouldBan(environment: EnvironmentValues) -> Bool? {
        let bannedFromCommunity = isBannedFromCommunity(environment: environment)
        let bannedFromInstance = entity.bannedFromInstance

        if canBanFromInstance {
            switch (bannedFromCommunity, bannedFromInstance) {
            case (false, false):
                return true
            case (true, true):
                return false
            default:
                return nil
            }
        } else {
            return !bannedFromCommunity
        }
    }

    @MainActor
    func execute(environment: EnvironmentValues) {
        if let shouldBan = shouldBan(environment: environment) {
            showBanSheet(environment: environment, shouldBan: shouldBan)
        } else {
            showAlert(environment: environment)
        }
    }

    @MainActor
    private func showAlert(environment: EnvironmentValues) {
        var actions: [PopupAnchorModel.Action] = []

        if entity.bannedFromInstance {
            actions.append(
                .init(title: "Unban from Instance", isDestructive: false) {
                    showBanSheet(environment: environment, shouldBan: false)
                }
            )
        } else {
            actions.append(
                .init(title: "Ban from Instance", isDestructive: true) {
                    showBanSheet(environment: environment, shouldBan: true)
                }
            )
        }

        if isBannedFromCommunity(environment: environment) {
            actions.append(
                .init(title: "Unban from Community", isDestructive: false) {
                    showBanSheet(environment: environment, shouldBan: false)
                }
            )
        } else {
            actions.append(
                .init(title: "Ban from Community", isDestructive: true) {
                    showBanSheet(environment: environment, shouldBan: true)
                }
            )
        }

        environment.popupModel?.showPopup(message: "Choose an action...", actions)
    }

    @MainActor
    private func showBanSheet(environment: EnvironmentValues, shouldBan: Bool) {
        environment.navigation?.openSheet(.ban(
            entity,
            isBannedFromCommunity: isBannedFromCommunity(environment: environment),
            shouldBan: shouldBan,
            community: environment.communityContext
        ))
    }
}


================================================
FILE: Mlem/App/Actions/BlockAction.swift
================================================
//
//  BlockAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI
import MlemBackend

struct BlockAction: Actions.Action {
    enum Relationship { case direct, indirect }

    enum ContentType {
        case personOnly, communityOnly, instanceOnly, multi, other
    }

    let content: [any Blockable]
    let relationship: Relationship

    var availableContent: [any Blockable] {
        content.filter { item in
            switch item {
            case let entity as Person:
                guard let myPersonId = entity.api.myPerson?.id else { return true }
                return entity.id != myPersonId 
            default:
                return true
            }
        }
    }
}

private extension [Blockable] {
    var contentType: BlockAction.ContentType {
        if self.count > 1 {
            return .multi
        }
        guard let first = self.first else {
            return .other
        } 

        return switch first {
        case _ as Person: .personOnly
        case _ as Community: .communityOnly
        case _ as Instance: .instanceOnly
        default: .other
        }
    }
}

// MARK: - Configurability

extension ActionSeed {
    static let block = ActionSeed(
        "block",
        label: BlockAction.createLabel(relationship: .direct, mode: .block, contentType: .multi)
    ) { entity in
        switch entity {
        case let entity as any Blockable: BlockAction(content: [entity], relationship: .direct)
        default: nil
        }
    }

    static let blockCreator = ActionSeed(
        "blockCreator",
        label: BlockAction.createLabel(relationship: .indirect, mode: .block, contentType: .multi)
    ) { entity in
        switch entity {
        case let entity as Comment:
            if let creator = entity.creator.value {
                BlockAction(
                    content: [creator],
                    relationship: .indirect)
            } else {
                nil
            }
        case let entity as Post:
            if let creator = entity.creator.value, let community = entity.community.value {
                BlockAction(
                    content: [creator, community],
                    relationship: .indirect)
            } else {
                nil
            }
        default: nil
        }
    }
}

// MARK: - Appearance

extension BlockAction {
    enum Mode { case block, unblock }

    // swiftlint:disable:next cyclomatic_complexity
    static func createLabel(relationship: Relationship, mode: Mode, contentType: ContentType) -> ActionLabel {
        let label: LocalizedStringResource = switch (relationship, mode, contentType) {
        case (.direct, .block, _): "Block"
        case (.direct, .unblock, _): "Unblock"
        case (.indirect, .block, .personOnly): "Block User"
        case (.indirect, .unblock, .personOnly): "Unblock User"
        case (.indirect, .block, .communityOnly): "Block Community"
        case (.indirect, .unblock, .communityOnly): "Unblock Community"
        case (.indirect, .block, .instanceOnly): "Block Instance"
        case (.indirect, .unblock, .instanceOnly): "Unblock Instance"
        case (.indirect, .block, .multi): "Block..."
        case (.indirect, .unblock, .multi): "Unblock..."
        case (_, _, .other): "Block..."
        }

        return switch mode {
        case .block: .init(
            label,
            icon: .lemmy.block,
            color: .themedNegative,
            isDestructive: true
        )
        case .unblock: .init(
            label,
            icon: .lemmy.unblock,
            color: .themedPositive
        )
        }
    }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        return Self.createLabel(
            relationship: self.relationship,
            mode: content.first!.blocked(environment: environment) ? .unblock : .block,
            contentType: availableContent.contentType
        ).withVisibility(visibility(environment))
    }

    // swiftlint:disable:next cyclomatic_complexity
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        let canInteract = content.allSatisfy {
            if $0 is any InstanceActionProviding {
                return true
            } else if let contentModel = $0 as? ContentModel {
                return contentModel.api.canInteract(appState: environment.appState) && $0.updateBlocked != nil
            }
            return false
        }
        guard canInteract else { return .hidden }

        for item in content {
            switch item {
            case let person as Person:
                guard let myPersonId = person.api.myPerson?.id else { return .hidden }
                guard person.id != myPersonId else { return .hidden }
            case let instance as any InstanceActionProviding:
                let api = environment.appState.firstApi
                guard api.supports(.blockInstances, defaultValue: false) else { return .hidden }
                guard api.actorId != instance.actorId else { return .hidden }
            default:
            break
            }
        }

        return .enabled
    }
}

// MARK: - Behavior

extension BlockAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if availableContent.count > 1 {
            executeMulti(environment: environment)
            return
        }

        guard let first = availableContent.first else {
            assertionFailure()
            return
        }

        execute(entity: first, environment: environment)
    }

    @MainActor
    func executeMulti(environment: EnvironmentValues) {
        let actions: [PopupAnchorModel.Action] = content.map { item in
            let callback = {
                submit(entity: item, environment: environment)
            }
            let label = Self.createLabel(
                relationship: .indirect,
                mode: item.blocked(environment: environment) ? .unblock : .block,
                contentType: item is Person ? .personOnly: .communityOnly
            )
            return .init(
                title: label.title,
                isDestructive: label.isDestructive,
                callback: callback
            )
        }
        environment.popupModel?.showPopup(message: "User or community?", actions)
    }

    @MainActor
    func execute(entity: any Blockable, environment: EnvironmentValues) {
        if entity.blocked(environment: environment) {
            submit(entity: entity, environment: environment)
            return
        }

        let label: String

        switch entity {
        case _ as Person:
            label = .init(localized: "Really block this user?")
        case _ as Community:
            label = .init(localized: "Really block this community?")
        case _ as any InstanceActionProviding:
            label = .init(localized: "Really block this instance?")
        default:
            assertionFailure()
            label = "Really block?"
        }

        environment.popupModel?.showPopup(message: label, [
            .init(title: "Yes", isDestructive: true) {
                submit(entity: entity, environment: environment)
            }
        ])
    }

    private func submit(entity: any Blockable, environment: EnvironmentValues) {
        let shouldBlock = !entity.blocked(environment: environment)
        if let updateBlocked = entity.updateBlocked {
            updateBlocked(shouldBlock) { didSucceed in
                let toast = createToast(didBlock: shouldBlock, didSucceed: didSucceed) {
                    updateBlocked(!shouldBlock, nil)
                }
                environment.toastModel?.add(toast)
            }
        } else if entity is any InstanceActionProviding, let session = (environment.appState.firstSession as? UserSession) {
            session.updateInstanceBlock(actorId: entity.actorId, shouldBlock: shouldBlock) { didSucceed in
                let toast = createToast(didBlock: shouldBlock, didSucceed: didSucceed) {
                    session.updateInstanceBlock(actorId: entity.actorId, shouldBlock: !shouldBlock)
                }
                environment.toastModel?.add(toast)
            }
        } else {
            assertionFailure("Failed to block entity")
        }
    }

    private func createToast(
        didBlock: Bool,
        didSucceed: Bool,
        undo: @escaping () -> Void
    ) -> ToastType {
        switch (didBlock, didSucceed) {
        case (true, true): .undoable(
                "Blocked",
                icon: .lemmy.block,
                callback: undo,
                color: .themedNegative
            )
        case (true, false): .failure("Failed to block!")
        case (false, true): .basic("Unblocked", icon: .lemmy.unblock)
        case (false, false): .failure("Failed to unblock!")
        }
    }
}


================================================
FILE: Mlem/App/Actions/CollapseAction.swift
================================================
//
//  CollapseAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-03-15.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CollapseAction: SimpleLabelAction {
    let entity: Comment
}

// MARK: - Configurability

extension ActionSeed {
    static let collapse = ActionSeed("collapse") { entity in
        switch entity {
        case let entity as Comment: CollapseAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension CollapseAction {
    static let collapseLabel: ActionLabel = .init(
        "Collapse",
        icon: .general.collapse,
        color: .themedColorfulAccent(0)
    )

    static let expandLabel: ActionLabel = .init(
        "Expand",
        icon: .general.expand,
        color: .themedColorfulAccent(0)
    )

   static var label: ActionLabel { collapseLabel }

   func createLabel(environment: EnvironmentValues) -> ActionLabel {
       guard let node = environment.commentTreeTracker?.getNode(actorId: entity.actorId) else {
           return Self.label.withVisibility(.hidden)
       } 
       if node.collapsed {
           return Self.expandLabel
       } else {
           return Self.collapseLabel
       }
    }
}

// MARK: - Behavior

extension CollapseAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if let node = environment.commentTreeTracker?.getNode(actorId: entity.actorId) {
            withAnimation(UIAccessibility.isReduceMotionEnabled ? nil : .default) {
                node.collapsed.toggle()
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/CollapseParentAction.swift
================================================
//
//  CollapseParentAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-03-15.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CollapseParentAction: SimpleLabelAction {
    let entity: Comment
}

// MARK: - Configurability

extension ActionSeed {
    static let collapseParent = ActionSeed("collapseParent") { entity in
        switch entity {
        case let entity as Comment: CollapseParentAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension CollapseParentAction {
    static let label: ActionLabel = .init(
        "Collapse Parent",
        icon: .lemmy.collapseParent,
        color: .themedColorfulAccent(0)
    )

   func createLabel(environment: EnvironmentValues) -> ActionLabel {
       return Self.label.withVisibility(visibility(environment: environment))
    }

    func visibility(environment: EnvironmentValues) -> ActionVisiblity {
        if environment.commentTreeTracker?.hasNode(actorId: entity.actorId) ?? false {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension CollapseParentAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if let node = environment.commentTreeTracker?.getNode(actorId: entity.actorId) {
            withAnimation(UIAccessibility.isReduceMotionEnabled ? nil : .default) {
                (node.parent ?? node).collapsed.toggle()
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/CollapseToTopAction.swift
================================================
//
//  CollapseToTopAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-03-15.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CollapseToTopAction: SimpleLabelAction {
    let entity: Comment
}

// MARK: - Configurability

extension ActionSeed {
    static let collapseToTop = ActionSeed("collapseToTop") { entity in
        switch entity {
        case let entity as Comment: CollapseToTopAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension CollapseToTopAction {
    static let label: ActionLabel = .init(
        "Collapse to Top",
        icon: .lemmy.collapseToTop,
        color: .themedColorfulAccent(0)
    )

   func createLabel(environment: EnvironmentValues) -> ActionLabel {
       return Self.label.withVisibility(visibility(environment: environment))
    }

    func visibility(environment: EnvironmentValues) -> ActionVisiblity {
        if environment.commentTreeTracker?.hasNode(actorId: entity.actorId) ?? false {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension CollapseToTopAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if let node = environment.commentTreeTracker?.getNode(actorId: entity.actorId) {
            withAnimation(UIAccessibility.isReduceMotionEnabled ? nil : .default) {
                node.topParent.collapsed.toggle()
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Comment.swift
================================================
//
//  ContextMenu+Comment.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-17.
//

import Actions
import Icons
import MlemMiddleware
import SwiftUI

private let seeds: [ActionSeed] = [
    .upvote,
    .downvote,
    .save,
    .reply,
    .selectText,
    .share,
    .createImage,
    .report,
    .blockCreator,
    .edit,
    .delete
]

private let moderationSeeds: [ActionSeed] = [
    .viewVotes,
    .remove,
    .banCreator,
    .purge,
    .purgeCreator
]

extension View {
    func contextMenu(comment: Comment) -> some View {
        contextMenu {
            CustomizableActionMenu(
                entity: comment,
                configuration: \.interactionBar_comment,
                modMailConfiguration: \.interactionBar_commentReport,
                customizable: true
            )
        }
        .popupAnchor()
    }

    @ViewBuilder
    func quickSwipes(comment: Comment, configuration: CommentBarConfiguration) -> some View {
        quickSwipes(
            leading: configuration.swipes.leading.compactMap { $0.createAction(comment) },
            trailing: configuration.swipes.trailing.compactMap { $0.createAction(comment) }
        )
    }
}

extension EllipsisMenu {
    init(
        icon: Icon = .general.menu,
        size: CGFloat,
        comment: Comment,
        type: Set<EllipsisMenuType> = [.basic, .moderator]
    ) where Content == CustomizableActionMenu<CommentBarConfiguration> {
        self.icon = icon
        self.size = size

        self.content = CustomizableActionMenu(
            entity: comment,
            configuration: \.interactionBar_comment,
            modMailConfiguration: \.interactionBar_commentReport,
            customizable: true
        ) { seed in
            if seed.isModeratorAction {
                return type.contains(.moderator)
            } else {
                return type.contains(.basic)
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Community.swift
================================================
//
//  ContextMenu+Community.swift
//  Mlem
//
//  Created by Sjmarf on 2026-02-08.
//

import Actions
import MlemMiddleware
import SwiftUI

extension ActionButtons {
    init(community: Community) {
        self.init { _ in
            CommunityActionConfiguration.availableActions.all.compactMap { $0.createAction(community) }
        }
    }
}

extension View {
    func contextMenu(community: Community) -> some View {
        contextMenu {
            ActionButtons(community: community)
        }
    }

    @ViewBuilder
    func quickSwipes(community: Community, configuration: CommunityActionConfiguration) -> some View {
        quickSwipes(
            leading: configuration.swipes.leading.compactMap { $0.createAction(community) },
            trailing: configuration.swipes.trailing.compactMap { $0.createAction(community) }
        )
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+InboxNotification.swift
================================================
//
//  ContextMenu+InboxNotification.swift
//  Mlem
//
//  Created by Sjmarf on 2025-11-07.
//  

import Actions
import Icons
import MlemMiddleware
import SwiftUI

extension View {
    func contextMenu(notification: InboxNotification) -> some View {
        contextMenu {
            CustomizableActionMenu(configuration: \.interactionBar_reply) { seed, _ in
                seed.createAction(notification) ?? seed.createAction(notification.content.wrappedValue)
            }
        }
    }

    func contextMenu(notification: InboxNotification?, message: any Message, report: Report?) -> some View {
        contextMenu {
            CustomizableActionMenu(configuration: \.interactionBar_reply) { seed, _ in
                if let notification {
                    if let action = seed.createAction(notification) { return action }
                }
                if let report {
                    if let action = seed.createAction(report) { return action }
                }
                return seed.createAction(message)
            }
        }
    }

    @ViewBuilder
    func quickSwipes(notification: InboxNotification, configuration: ReplyBarConfiguration) -> some View {
        quickSwipes(
            leading: configuration.swipes.leading.compactMap { seed in
                seed.createAction(notification) ?? notification.content.comment.map { seed.createAction($0) } ?? nil
            },
            trailing: configuration.swipes.trailing.compactMap { seed in
                seed.createAction(notification) ?? notification.content.comment.map { seed.createAction($0) } ?? nil
            }
        )
    }
}

private extension InboxNotificationContent {
    var comment: Comment? {
        switch self {
        case let .reply(comment), let .mention(comment): comment
        default: nil
        }
    }
}

extension EllipsisMenu {
    init(
        icon: Icon = .general.menu,
        size: CGFloat,
        notification: InboxNotification,
        type: Set<EllipsisMenuType> = [.basic, .moderator]
    ) where Content == CustomizableActionMenu<ReplyBarConfiguration> {
        self.icon = icon
        self.size = size

        self.content = CustomizableActionMenu(configuration: \.interactionBar_reply) { seed, _ in
            if seed.isModeratorAction {
                if !type.contains(.moderator) { return nil }
            } else {
                if !type.contains(.basic) { return nil }
            }

            return seed.createAction(notification) ?? seed.createAction(notification.content.wrappedValue)
        }
    }
}

extension EllipsisMenu {
    init(
        icon: Icon = .general.menu,
        size: CGFloat,
        message: any Message,
        report: Report,
        type: Set<EllipsisMenuType> = [.basic, .moderator]
    ) where Content == CustomizableActionMenu<ReplyBarConfiguration> {
        self.icon = icon
        self.size = size

        self.content = CustomizableActionMenu(configuration: \.interactionBar_reply) { seed, _ in
            if seed.isModeratorAction {
                if !type.contains(.moderator) { return nil }
            } else {
                if !type.contains(.basic) { return nil }
            }

            return seed.createAction(report) ?? seed.createAction(message)
        }
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Instance.swift
================================================
//
//  ContextMenu+Instance.swift
//  Mlem
//
//  Created by Sjmarf on 2026-01-15.
//

import Actions
import MlemMiddleware
import SwiftUI
import MlemBackend

private let seeds: [ActionSeed] = [
    .visit,
    .logIn,
    .signUp,
    .openInBrowser,
    .share,
    .block
]

extension View {
    @ViewBuilder
    func contextMenu(instance: (any InstanceActionProviding)?) -> some View {
        if let instance {
            contextMenu {
                ActionButtons { _ in
                    seeds.compactMap { $0.createAction(instance) }
                }
            }
        } else {
            self
        }
    }
}

extension ToolbarEllipsisMenu {
    init(instance: any InstanceActionProviding) where Content == ActionButtons {
        self.init {
            ActionButtons { _ in
                seeds.compactMap { $0.createAction(instance) }
            }
        }
    }
}

extension View {
    @ViewBuilder
    func contextMenu(instance: any InstanceActionProviding) -> some View {
        contextMenu {
            ActionButtons { _ in
                seeds.compactMap { $0.createAction(instance) }
            }
        }
    }
}

// MARK: - InstanceActionProviding

public protocol InstanceActionProviding: Sharable, Blockable {
    var instanceStub: InstanceStub { get }
}

extension Instance: InstanceActionProviding {
    public var instanceStub: InstanceStub { .init(api: api, actorId: actorId) }
}

extension InstanceSummary: @retroactive Sharable {}
extension InstanceSummary: @retroactive ActorIdentifiable {}
extension InstanceSummary: @retroactive Blockable {}
extension InstanceSummary: InstanceActionProviding {
    public var actorId: ActorIdentifier { instanceStub.actorId }
    public func url() -> URL { actorId.url }
    public var blocked: any RealizedValueProviding<Bool> { RealizedValue(false) }
    public var updateBlocked: ((Bool, ((Bool) -> Void)?) -> Void)? { nil }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Message.swift
================================================
//
//  ContextMenu+Message.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-17.
//

import Actions
import MlemMiddleware
import SwiftUI

private let seeds: [ActionSeed] = [
    .reply,
    .selectText,
    .report,
    .edit,
    .delete
]

extension View {
    func contextMenu(message: any Message1Providing) -> some View {
        contextMenu {
            ActionButtons { _ in
                seeds.compactMap { $0.createAction(message) }
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Person.swift
================================================
//
//  ContextMenu+Person.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-17.
//

import Actions
import MlemMiddleware
import SwiftUI

private let seeds: [ActionSeed] = [
    .goToInstance,
    .copyName,
    .share,
    .sendMessage,
    .block,
    .editNote,
    .openModlog,
    .ban,
    .purge,
    .appointModerator,
    .appointAdmin
]

extension ActionButtons {
    init(person: Person) {
        self.init { _ in
            seeds.compactMap { $0.createAction(person) }
        }
    }
}

extension View {
    func contextMenu(person: Person) -> some View {
        contextMenu {
            ActionButtons(person: person)
        }
    }
}


================================================
FILE: Mlem/App/Actions/ContextMenu+Post.swift
================================================
//
//  ContextMenu+Post.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-23.
//

import Actions
import Icons
import MlemMiddleware
import SwiftUI

extension View {
    func contextMenu(post: Post) -> some View {
        contextMenu {
            CustomizableActionMenu(
                entity: post,
                configuration: \.interactionBar_post,
                modMailConfiguration: \.interactionBar_postReport,
                customizable: true
            )
        }
        .popupAnchor()
    }

    @ViewBuilder
    func quickSwipes(post: Post, configuration: PostBarConfiguration) -> some View {
        quickSwipes(
            leading: configuration.swipes.leading.compactMap { $0.createAction(post) },
            trailing: configuration.swipes.trailing.compactMap { $0.createAction(post) }
        )
    }
}

enum EllipsisMenuType {
    case basic, moderator
}

extension EllipsisMenu {
    init(
        icon: Icon = .general.menu,
        size: CGFloat,
        post: Post,
        type: Set<EllipsisMenuType> = [.basic, .moderator]
    ) where Content == CustomizableActionMenu<PostBarConfiguration> {
        self.icon = icon
        self.size = size

        self.content = CustomizableActionMenu(
            entity: post,
            configuration: \.interactionBar_post,
            modMailConfiguration: \.interactionBar_postReport,
            customizable: true
        ) { seed in
            if seed.isModeratorAction {
                return type.contains(.moderator)
            } else {
                return type.contains(.basic)
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/CopyNameAction.swift
================================================
//
//  CopyNameAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CopyNameAction: Actions.Action {
    enum Relationship { case identity, author }
    let text: String
    let relationship: Relationship
}

// MARK: - Configurability

extension ActionSeed {
    static let copyName = ActionSeed(
        "copyName",
        label: CopyNameAction.createLabel(relationship: .identity)
    ) { entity in
        switch entity {
        case let entity as Person:
            CopyNameAction(text: entity.fullNameWithPrefix, relationship: .identity)
        case let entity as Community:
            CopyNameAction(text: entity.fullNameWithPrefix, relationship: .identity)
        default:
            nil
        }
    }

    static let copyAuthorName = ActionSeed(
        "copyAuthorName",
        label: CopyNameAction.createLabel(relationship: .author)
    ) { entity in
        switch entity {
        case let entity as any InteractableProviding:
            if let creator = entity.creator.value {
                CopyNameAction(text: creator.fullNameWithPrefix, relationship: .author)
            } else {
                nil
            }
        default:
            nil
        }
    }
}

// MARK: - Appearance

extension CopyNameAction {
    static func createLabel(relationship: Relationship) -> ActionLabel {
        .init(
            relationship == .identity ? "Copy Name" : "Copy Username",
            icon: .general.copy,
            color: .themedColorfulAccent(4)
        )
    }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.createLabel(relationship: self.relationship)
    }
}

// MARK: - Behavior

extension CopyNameAction {
    func execute(environment: EnvironmentValues) {
        environment.toastModel?.add(.success("Copied"))
        UIPasteboard.general.string = self.text
    }
}


================================================
FILE: Mlem/App/Actions/CreateImageAction.swift
================================================
//
//  CreateImageAction.swift
//  Mlem
//
//  Created by Eric Andrews on 2025-12-06.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CreateImageAction: SimpleLabelAction {
    enum Content {
        case comment(Comment)
        case post(Post)
    }
    
    let content: Content
}

// MARK: - Configurability

extension ActionSeed {
    static let createImage = ActionSeed("createImage") { entity in
        switch entity {
        case let entity as Post: CreateImageAction(content: .post(entity))
        case let entity as Comment: CreateImageAction(content: .comment(entity))
        default: nil
        }
    }
}

// MARK: - Appearance

extension CreateImageAction {
    static let label: ActionLabel = .init(
        "Create Image",
        icon: .general.createImage,
        color: .themedColorfulAccent(5)
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if environment.isContextMenu && environment.feedContext != .post {
            .hidden
        } else {
            .enabled
        }
    }
}

// MARK: - Behavior

extension CreateImageAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let navigation = environment.navigation else {
            assertionFailure()
            return
        }

        switch self.content {
        case let .post(post):
            navigation.openSheet(.exportPostImage(post))
        case let .comment(comment):
            navigation.openSheet(.exportCommentImage(comment, tracker: environment.commentTreeTracker))
        }
    }
}


================================================
FILE: Mlem/App/Actions/CrosspostAction.swift
================================================
//
//  CrosspostAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-03-15.
//

import Actions
import MlemMiddleware
import SwiftUI

struct CrosspostAction: SimpleLabelAction {
    let entity: Post
}

// MARK: - Configurability

extension ActionSeed {
    static let crosspost = ActionSeed("crosspost") { entity in
        switch entity {
        case let entity as Post: CrosspostAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension CrosspostAction {
    static let label: ActionLabel = .init(
        "Crosspost",
        icon: .lemmy.crosspost,
        color: .themedColorfulAccent(5)
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if entity.api.canInteract(appState: environment.appState) {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension CrosspostAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        var crossPostContent: String
        let crossPostedLabel = String(localized: "Crossposted from \(entity.actorId.description)")
        if let content = entity.content, !content.isEmpty {
            crossPostContent = "\(crossPostedLabel)\n-----\n\(content)"
        } else {
            crossPostContent = crossPostedLabel
        }
        environment.navigation?.openSheet(.createPost(
            community: nil,
            title: entity.title,
            content: crossPostContent,
            type: entity.type,
            nsfw: entity.nsfw,
            feedLoader: .init(wrappedValue: nil)
        ))
    }
}


================================================
FILE: Mlem/App/Actions/DeleteAction.swift
================================================
//
//  DeleteAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-17.
//

import Actions
import MlemMiddleware
import SwiftUI

struct DeleteAction: SimpleLabelAction {
    let entity: any DeletableProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let delete = ActionSeed("delete") { entity in
        switch entity {
        case let entity as any DeletableProviding: DeleteAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension DeleteAction {
    static let deleteLabel: ActionLabel = .init(
        "Delete",
        icon: .general.delete,
        color: .themedNegative,
        isDestructive: true
    )
    static let restoreLabel: ActionLabel = .init(
        "Restore",
        icon: .lemmy.restore,
        color: .themedPositive
    )
    
    static var label: ActionLabel { deleteLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.deleted {
            Self.restoreLabel.withVisibility(visibility(environment))
        } else {
            Self.deleteLabel.withVisibility(visibility(environment))
        }
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard let myPersonId = entity.api.myPerson?.id else { return .hidden }
        guard entity.isOwnContent(myPersonId: myPersonId) else { return .hidden }
        guard !entity.deleted || canUndelete else { return .hidden }
        
        return .enabled
    }
}

// MARK: - Behavior

extension DeleteAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.popupModel?.showPopup(message: "Really delete?", [
            .init(title: "Yes", isDestructive: true) {
                entity.toggleDeleted { status in
                    let toast = createToast(didDelete: entity.deleted, requestStatus: status)
                    environment.toastModel?.add(toast)
                }
            }
        ])
    }
    
    var canUndelete: Bool {
        switch entity {
        case is any Message1Providing:
            entity.api.supports(.undeletePrivateMessages, defaultValue: true)
        default:
            true
        }
    }
    
    private func createToast(didDelete: Bool, requestStatus: UpdateStatus) -> ToastType {
        switch (didDelete, requestStatus) {
        case (true, .success): createConfirmationToast()
        case (true, .failure): .failure("Failed to delete!")
        case (false, .success): .success("Restored")
        case (false, .failure): .failure("Failed to restore!")
        }
    }
    
    private func createConfirmationToast() -> ToastType {
        if canUndelete {
            .undoable(
                "Deleted",
                icon: .general.delete,
                callback: { entity.updateDeleted(false, callback: nil) },
                color: .themedNegative
            )
        } else {
            .basic(
                "Deleted",
                icon: .general.delete,
                color: .themedNegative
            )
        }
    }
}


================================================
FILE: Mlem/App/Actions/EditAction.swift
================================================
//
//  EditAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-17.
//

import Actions
import MlemMiddleware
import SwiftUI

struct EditAction: SimpleLabelAction {
    enum Content {
        case post(Post)
        case comment(Comment)
        case message(any Message1Providing)
        
        var value: any OwnershipProviding {
            switch self {
            case let .post(post): post
            case let .comment(comment): comment
            case let .message(message): message
            }
        }
    }
    
    let content: Content
}

// MARK: - Configurability

extension ActionSeed {
    static let edit = ActionSeed("edit") { entity in
        switch entity {
        case let entity as any Message1Providing: EditAction(content: .message(entity))
        case let entity as Comment: EditAction(content: .comment(entity))
        case let entity as Post: EditAction(content: .post(entity))
        default: nil
        }
    }
}

// MARK: - Appearance

extension EditAction {
    static let label: ActionLabel = .init("Edit", icon: .general.edit)
    
    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard content.value.api.canInteract(appState: environment.appState) else { return .hidden }

        guard let myPersonId = content.value.api.myPerson?.id else { return .hidden }
        return content.value.isOwnContent(myPersonId: myPersonId) ? .enabled : .hidden
    }
}

// MARK: - Behavior

extension EditAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        switch content {
        case let .comment(comment):
            environment.navigation?.openSheet(.editComment(comment, context: nil))
        case let .post(post):
            environment.navigation?.openSheet(.editPost(post))
        case let .message(message):
            if let message = message as? any Message2Providing {
                if let editMessage = environment.editMessage {
                    editMessage(message.message2)
                } else {
                    let otherPerson = message.isOwnMessage ? message.recipient : message.creator
                    environment.navigation?.push(.messageFeed(otherPerson, focusTextField: true, editing: message))
                }
            } else {
                assertionFailure()
            }
        }
    }
}


================================================
FILE: Mlem/App/Actions/EditNoteAction.swift
================================================
//
//  EditNoteAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct EditNoteAction: Actions.Action {
    let entity: Person
}

// MARK: - Configurability

extension ActionSeed {
    static let editNote = ActionSeed(
        "editNote",
        label: EditNoteAction.createLabel(noteExists: true)
    ) { entity in
        switch entity {
        case let entity as Person: EditNoteAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension EditNoteAction {
    static func createLabel(noteExists: Bool) -> ActionLabel {
        if noteExists {
            .init("Edit Note", icon: .lemmy.editNote)
        } else {
            .init("Add Note", icon: .lemmy.editNote)
        }
    }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.createLabel(noteExists: entity.note != nil)
            .withVisibility(entity.api.supports(.userNotes, defaultValue: false) ? .enabled : .hidden)
    }
}

// MARK: - Behavior

extension EditNoteAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.editNote(entity))
    }
}


================================================
FILE: Mlem/App/Actions/FavoriteAction.swift
================================================
//
//  FavoriteAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-02-08.
//

import Actions
import MlemMiddleware
import SwiftUI

struct FavoriteAction: SimpleLabelAction {
    let entity: Community
}

// MARK: - Configurability

extension ActionSeed {
    static let favorite = ActionSeed("favorite") { entity in
        switch entity {
        case let entity as Community: FavoriteAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension FavoriteAction {
    static let favoriteLabel: ActionLabel = .init(
        "Favorite",
        icon: .lemmy.favorite,
        color: .themedFavorite
    )
    static let unfavoriteLabel: ActionLabel = .init(
        "Unfavorite",
        icon: .lemmy.unfavorite,
        color: .themedFavorite
    )
    
    static var label: ActionLabel { favoriteLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.favorited {
            return Self.unfavoriteLabel.withVisibility(visibility(environment))
        } else {
            return Self.favoriteLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState),
              entity.updateFavorite != nil else { return .hidden }
        return .enabled
    }
}

// MARK: - Behavior

extension FavoriteAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let updateFavorite = entity.updateFavorite else { return }
        environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
        if entity.favorited {
            environment.toastModel?.add(
                .undoable(
                    "Unfavorited",
                    icon: .lemmy.unfavorite,
                    callback: {
                        updateFavorite(true)
                    },
                    color: .themedFavorite
                )
            )
        } else {
            environment.toastModel?.add(
                .basic("Favorited", icon: .lemmy.favorite, color: .themedFavorite)
            )
        }
        updateFavorite(!entity.favorited)
    }
}


================================================
FILE: Mlem/App/Actions/GoToInstanceAction.swift
================================================
//
//  GoToInstanceAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct GoToInstanceAction: SimpleLabelAction {
    let entity: any ActorIdentifiable
}

// MARK: - Configurability

extension ActionSeed {
    static let goToInstance = ActionSeed("goToInstance") { entity in
        switch entity {
        case let entity as any ActorIdentifiable: GoToInstanceAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension GoToInstanceAction {
    static let label: ActionLabel = .init(
        "Go to Instance",
        icon: .lemmy.instance,
        color: .themedColorfulAccent(1)
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withTitle(entity.host)
    }
}

// MARK: - Behavior

extension GoToInstanceAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.push(.hostInstance(of: self.entity))
    }
}


================================================
FILE: Mlem/App/Actions/HideAction.swift
================================================
//
//  HideAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-23.
//

import Actions
import MlemMiddleware
import SwiftUI

struct HideAction: SimpleLabelAction {
    let entity: Post
}

// MARK: - Configurability

extension ActionSeed {
    static let hide = ActionSeed("hide") { entity in
        switch entity {
        case let entity as Post: HideAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension HideAction {
    static let hideLabel: ActionLabel = .init(
        "Hide",
        icon: .general.hide,
        color: .themedColorfulAccent(4)
    )

    static let showLabel: ActionLabel = .init(
        "Show",
        icon: .general.show,
        color: .themedColorfulAccent(4)
    )
    
    static var label: ActionLabel { hideLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        guard let hidden = entity.hidden.value else { return Self.showLabel.withVisibility(.hidden) }
        if hidden {
            return Self.showLabel.withVisibility(visibility(environment))
        } else {
            return Self.hideLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if entity.api.canInteract(appState: environment.appState),
            entity.api.supports(.hidePosts, defaultValue: false) {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension HideAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let hidden = entity.hidden.value, let toggleHidden = entity.toggleHidden else { return }
        toggleHidden([])
        environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
        if !hidden {
            environment.toastModel?.add(
                .undoable(
                    "Hidden",
                    icon: .general.hide,
                    callback: {
                        entity.updateHidden(false)
                    }
                )
            )
        } else {
            environment.toastModel?.add(.success("Shown"))
        }
    }
}


================================================
FILE: Mlem/App/Actions/LockAction.swift
================================================
//
//  LockAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-23.
//

import Actions
import MlemMiddleware
import SwiftUI

struct LockAction: SimpleLabelAction {
    let entity: Post
}

// MARK: - Configurability

extension ActionSeed {
    static let lock = ActionSeed("lock") { entity in
        switch entity {
        case let entity as Post: LockAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension LockAction {
    static let lockLabel: ActionLabel = .init(
        "Lock",
        icon: .lemmy.addLock,
        color: .themedLockAccent
    )

    static let unlockLabel: ActionLabel = .init(
        "Unlock",
        icon: .lemmy.removeLock,
        color: .themedLockAccent
    )
    
    static var label: ActionLabel { lockLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.locked {
            Self.unlockLabel.withVisibility(visibility(environment))
        } else {
            Self.lockLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if entity.api.canInteract(appState: environment.appState), entity.canModerate {
            return .enabled
        } else {
            return .hidden
        }
    }
}

// MARK: - Behavior

extension LockAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.popupModel?.showPopup(
            message: entity.locked ? "Really unlock this post?" : "Really lock this post?",
            [
            .init(title: "Yes", isDestructive: true) {
                let shouldLock = !entity.locked
                entity.toggleLocked([]) { status in
                    self.handleResult(
                        status: status,
                        shouldLock: shouldLock,
                        environment: environment
                    )
                }
            }
        ])
    }

    @MainActor
    func handleResult(
        status: UpdateStatus,
        shouldLock: Bool,
        environment: EnvironmentValues
    ) {
        switch status {
        case .success:
            environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
        case .failure: 
            environment.toastModel?.add(
                .failure(shouldLock ? "Failed to lock post" : "Failed to unlock post")
            )
        }
    }
}


================================================
FILE: Mlem/App/Actions/LogInAction.swift
================================================
//
//  LogInAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-01-16.
//

import Actions
import MlemMiddleware
import SwiftUI

struct LogInAction: SimpleLabelAction {
    let instance: any InstanceActionProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let logIn = ActionSeed("logIn") { entity in
        switch entity {
        case let entity as any InstanceActionProviding: LogInAction(instance: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension LogInAction {
    static let label: ActionLabel = .init("Log In", icon: .lemmy.logIn)
}

// MARK: - Behavior

extension LogInAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if let instance = instance as? Instance {
            environment.navigation?.openSheet(.logIn(.instance(instance)))
        } else {
            environment.navigation?.openSheet(.instanceStub(instance.instanceStub) { .logIn(.instance($0)) })
        }
    }
}


================================================
FILE: Mlem/App/Actions/MarkNsfwAction.swift
================================================
//
//  MarkNsfwAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-23.
//

import Actions
import MlemMiddleware
import SwiftUI

struct MarkNsfwAction: SimpleLabelAction {
    let entity: Post
}

// MARK: - Configurability

extension ActionSeed {
    static let markNsfw = ActionSeed("markNsfw") { entity in
        switch entity {
        case let entity as Post: MarkNsfwAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension MarkNsfwAction {
    static let addLabel: ActionLabel = .init(
        "Add NSFW Tag",
        icon: .settings.blurNsfw,
        color: .themedNegative
    )

    static let removeLabel: ActionLabel = .init(
        "Remove NSFW Tag",
        icon: .settings.blurNsfw,
        color: .themedNegative
    )
    
    static var label: ActionLabel { addLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.nsfw {
            Self.removeLabel.withVisibility(visibility(environment))
        } else {
            Self.addLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if entity.api.canInteract(appState: environment.appState),
           entity.canModerate,
           let community = entity.community.value,
           community.apiIsLocal, // Setting NSFW doesn't work on non-local communities at the time of writing
           entity.api.supports(.moderatorSetNsfw, defaultValue: false) {
            return .enabled
        } else {
            return .hidden
        }
    }
}

// MARK: - Behavior

extension MarkNsfwAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.popupModel?.showPopup(
            message: entity.nsfw ? "Really remove NSFW tag?" : "Really add NSFW tag?",
            [
            .init(title: "Yes", isDestructive: true) {
                entity.toggleNsfw { status in
                    switch status {
                    case .success:
                        environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
                    case .failure: 
                        environment.toastModel?.add(.failure("Failed to set NSFW status"))
                    }
                }
            }
        ])
    }
}


================================================
FILE: Mlem/App/Actions/MarkReadAction.swift
================================================
//
//  MarkReadAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-11-07.
//  

import Actions
import MlemMiddleware
import SwiftUI

struct MarkReadAction: SimpleLabelAction {
    let notification: InboxNotification
}

// MARK: - Configurability

extension ActionSeed {
    static let markRead = ActionSeed("markRead") { entity in
        switch entity {
        case let entity as InboxNotification: MarkReadAction(notification: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension MarkReadAction {
    static let markReadLabel: ActionLabel = .init(
        "Mark Read",
        icon: .lemmy.markRead,
        color: .themedRead
    )
    static let markUnreadLabel: ActionLabel = .init(
        "Mark Unread",
        icon: .lemmy.markUnread,
        color: .themedRead
    )
    
    static var label: ActionLabel { markReadLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if notification.read {
            Self.markUnreadLabel.withVisibility(visibility(environment))
        } else {
            Self.markReadLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard notification.api.canInteract(appState: environment.appState) else { return .hidden }
        return .enabled
    }
}

// MARK: - Behavior

extension MarkReadAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        notification.toggleRead()
        environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
    }
}


================================================
FILE: Mlem/App/Actions/NewPostAction.swift
================================================
//
//  NewPostAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-02-08.
//

import Actions
import MlemMiddleware
import SwiftUI

struct NewPostAction: SimpleLabelAction {
    let entity: Community
}

// MARK: - Configurability

extension ActionSeed {
    static let newPost = ActionSeed("newPost") { entity in
        switch entity {
        case let entity as Community: NewPostAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension NewPostAction {
    static let label: ActionLabel = .init("New Post", icon: .lemmy.send)

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.api.canInteract(appState: environment.appState) {
            Self.label.withVisibility(.enabled)
        } else {
            Self.label.withVisibility(.disabled)
        }
    }
}

// MARK: - Behavior

extension NewPostAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.createPost(community: self.entity, type: nil, feedLoader: environment.feedLoader)) 
    }
}


================================================
FILE: Mlem/App/Actions/OpenInBrowserAction.swift
================================================
//
//  OpenInBrowserAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-01-16.
//

import Actions
import MlemMiddleware
import SwiftUI

struct OpenInBrowserAction: SimpleLabelAction {
    let url: URL
}

// MARK: - Configurability

extension ActionSeed {
    static let openInBrowser = ActionSeed("openInBrowser") { entity in
        switch entity {
        case let entity as any Sharable: OpenInBrowserAction(url: entity.url())
        case let entity as any InstanceActionProviding: OpenInBrowserAction(url: entity.actorId.url)
        default: nil
        }
    }
}

// MARK: - Appearance

extension OpenInBrowserAction {
    static let label: ActionLabel = .init("Open in Browser", icon: .general.browser)
}

// MARK: - Behavior

extension OpenInBrowserAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        openLinkAsWebsite(url: url)
    }
}


================================================
FILE: Mlem/App/Actions/OpenModlogAction.swift
================================================
//
//  OpenModlogAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct OpenModlogAction: Actions.Action {
    enum Content {
        case person(Person)
    }

    enum Relationship { case identity, author }
    
    let content: Content
    let relationship: Relationship
}

// MARK: - Configurability

extension ActionSeed {
    static let openModlog = ActionSeed(
        "openModlog",
        label: OpenModlogAction.createLabel(relationship: .identity)
    ) { entity in
        switch entity {
        case let entity as Person: OpenModlogAction(content: .person(entity), relationship: .identity)
        default: nil
        }
    }

    static let openCreatorModlog = ActionSeed(
        "openCreatorModlog",
        label: OpenModlogAction.createLabel(relationship: .author)
    ) { entity in
        switch entity {
        case let entity as any InteractableProviding:
            if let creator = entity.creator.value {
                OpenModlogAction(content: .person(creator), relationship: .author)
            } else {
                nil
            }
        default: nil
        }
    }
}

// MARK: - Appearance

extension OpenModlogAction {
    static func createLabel(relationship: Relationship) -> ActionLabel {
        .init(
            relationship == .identity ? "Modlog" : "User Modlog",
            icon: .lemmy.modlog,
            color: .themedModeration
        )
    }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        return Self.createLabel(relationship: relationship)
    }
}

// MARK: - Behavior

extension OpenModlogAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        switch content {
        case let .person(person):
            execute(person: person, environment: environment)
        }
    }

    @MainActor
    private func execute(person: Person, environment: EnvironmentValues) {
        environment.popupModel?.showPopup(message: "Filter as...", [
            .init(title: "Subject") {
                environment.navigation?.push(.modlog(targetPerson: .init(person), moderatorPerson: nil))
            },
            .init(title: "Moderator") {
                environment.navigation?.push(.modlog(targetPerson: nil, moderatorPerson: .init(person)))
            }
        ])
    }
}


================================================
FILE: Mlem/App/Actions/PinAction.swift
================================================
//
//  PinAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-12-23.
//

import Actions
import MlemMiddleware
import SwiftUI

struct PinAction: SimpleLabelAction {
    let entity: Post
}

// MARK: - Configurability

extension ActionSeed {
    static let pin = ActionSeed("pin") { entity in
        switch entity {
        case let entity as Post: PinAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension PinAction {
    static let pinLabel: ActionLabel = .init(
        "Pin",
        icon: .lemmy.addPin,
        color: .themedModeration
    )

    static let unpinLabel: ActionLabel = .init(
        "Unpin",
        icon: .lemmy.removePin,
        color: .themedModeration
    )

    static let pinDetailsLabel: ActionLabel = .init(
        "Pin...",
        icon: .lemmy.addPin,
        color: .themedModeration
    )
    
    static var label: ActionLabel { pinLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        let label: ActionLabel = if entity.api.isAdmin {
            switch (entity.pinnedInstance, entity.pinnedCommunity) {
            case (true, true):
                Self.unpinLabel
            case (true, false), (false, true):
                Self.pinDetailsLabel
            case (false, false):
                Self.pinLabel
            }
        } else {
            if entity.pinnedCommunity {
                Self.unpinLabel
            } else {
                Self.pinLabel
            }
        }

        return label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if entity.api.canInteract(appState: environment.appState), entity.canModerate {
            .enabled
        } else {
            .hidden
        }
    }
}

// MARK: - Behavior

extension PinAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        if entity.api.isAdmin {
            executeAsAdmin(environment: environment)
        } else {
            executeAsModerator(environment: environment)
        }
    }

    @MainActor
    func executeAsModerator(environment: EnvironmentValues) {
        environment.popupModel?.showPopup(
            message: entity.pinnedCommunity ? "Really unpin this post?" : "Really pin this post?",
            [
            .init(title: "Yes", isDestructive: false) {
                togglePinnedCommunity(environment: environment)
            }
        ])
    }

    @MainActor
    func executeAsAdmin(environment: EnvironmentValues) {
        environment.popupModel?.showPopup(
            message: "Choose target...",
            [
                .init(title: entity.pinnedCommunity ? "Unpin from community" : "Pin to community") {
                    togglePinnedCommunity(environment: environment)
                },
                .init(title: entity.pinnedInstance ? "Unpin from instance" : "Pin to instance") {
                    togglePinnedInstance(environment: environment)
                }
            ]
        )
    }

    @MainActor
    func togglePinnedCommunity(environment: EnvironmentValues) {
        let shouldPin = entity.pinnedCommunity
        entity.togglePinnedCommunity { status in
            handleResult(
                status: status,
                shouldPin: shouldPin,
                environment: environment
            )
        }
    }

    @MainActor
    func togglePinnedInstance(environment: EnvironmentValues) {
        let shouldPin = entity.pinnedInstance
        entity.togglePinnedInstance { status in
            handleResult(
                status: status,
                shouldPin: shouldPin,
                environment: environment
            )
        }
    }

    @MainActor
    func handleResult(
        status: UpdateStatus,
        shouldPin: Bool,
        environment: EnvironmentValues
    ) {
        switch status {
        case .success:
            environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
        case .failure: 
            environment.toastModel?.add(
                .failure(shouldPin ? "Failed to pin post" : "Failed to unpin post")
            )
        }
    }
}


================================================
FILE: Mlem/App/Actions/PurgeAction.swift
================================================
//
//  PurgeAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct PurgeAction: Actions.Action {
    enum Relationship { case identity, author }

    let entity: any PurgableProviding
    let relationship: Relationship
}

// MARK: - Configurability

extension ActionSeed {
    static let purge = ActionSeed("purge", label: PurgeAction.createLabel(relationship: .identity)) { entity in
        switch entity {
        case let entity as any PurgableProviding: PurgeAction(entity: entity, relationship: .identity)
        default: nil
        }
    }

    static let purgeCreator = ActionSeed("purgeCreator", label: PurgeAction.createLabel(relationship: .author)) { entity in
        switch entity {
        case let entity as any InteractableProviding:
            if let creator = entity.creator.value {
                PurgeAction(entity: creator, relationship: .author)
            } else {
                nil
            }
        default: nil
        }
    }
}

// MARK: - Appearance

extension PurgeAction {
    static func createLabel(relationship: Relationship) -> ActionLabel {
        .init(
            relationship == .identity ? "Purge" : "Purge User",
            icon: .lemmy.purge,
            color: .themedNegative,
            isDestructive: true
        )
    }
    
    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        return Self.createLabel(relationship: self.relationship).withVisibility(visibility(environment))
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard entity.api.supports(.purgeContent, defaultValue: false) else { return .hidden }
        guard entity.api.isAdmin else { return .hidden }

        return .enabled
    }
}

// MARK: - Behavior

extension PurgeAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.purge(entity))
    }
}


================================================
FILE: Mlem/App/Actions/RemoveAction.swift
================================================
//
//  RemoveAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct RemoveAction: SimpleLabelAction {
    let entity: any RemovableProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let remove = ActionSeed("remove") { entity in
        switch entity {
        case let entity as any RemovableProviding: RemoveAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension RemoveAction {
    static let removeLabel: ActionLabel = .init(
        "Remove",
        icon: .lemmy.remove,
        color: .themedNegative,
        isDestructive: true
    )
    static let restoreLabel: ActionLabel = .init(
        "Restore",
        icon: .lemmy.restore,
        color: .themedPositive
    )
    
    static var label: ActionLabel { removeLabel }
    
    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        if entity.removed {
            Self.restoreLabel.withVisibility(visibility(environment))
        } else {
            Self.removeLabel.withVisibility(visibility(environment))
        }
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard let myPerson = entity.api.myPerson else { return .hidden }
        guard entity.canModerate else { return .hidden }

        if let entity = entity as? any OwnershipProviding {
            guard !entity.isOwnContent(myPersonId: myPerson.id) else { return .hidden }
        }

        return .enabled
    }
}

// MARK: - Behavior

extension RemoveAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.remove(entity))
    }
}


================================================
FILE: Mlem/App/Actions/ReplyAction.swift
================================================
//
//  ReplyAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ReplyAction: SimpleLabelAction {
    enum Content {
        case post(Post)
        case comment(Comment)
        case message(any Message2Providing)
        
        var value: any OwnershipProviding {
            switch self {
            case let .post(post): post
            case let .comment(comment): comment
            case let .message(message): message
            }
        }
    }
    
    let content: Content
}

// MARK: - Configurability

extension ActionSeed {
    static let reply = ActionSeed("reply") { entity in
        switch entity {
        case let entity as Post: ReplyAction(content: .post(entity))
        case let entity as Comment: ReplyAction(content: .comment(entity))
        case let entity as any Message2Providing: ReplyAction(content: .message(entity))
        default: nil
        }
    }
}

// MARK: - Appearance

extension ReplyAction {
    static let label: ActionLabel = .init("Reply", icon: .lemmy.reply)

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard content.value.api.canInteract(appState: environment.appState) else { return .hidden }

        // Don't show the reply action for messages in the message feed
        if case .message = self.content, case .messageFeed = environment.navigation?.path.last {
            return .hidden
        }

        return .enabled
    }
}

// MARK: - Behavior

extension ReplyAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let navigation = environment.navigation else {
            assertionFailure()
            return
        }

        switch self.content {
        case let .post(post):
            navigation.openSheet(.createComment(.post(post), commentTreeTracker: environment.commentTreeTracker))
        case let .comment(comment):
            navigation.openSheet(.createComment(.comment(comment), commentTreeTracker: environment.commentTreeTracker))
        case let .message(message):
            navigation.push(.messageFeed(message.creator, focusTextField: true))
        }
    }
}


================================================
FILE: Mlem/App/Actions/ReportAction.swift
================================================
//
//  ReportAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ReportAction: SimpleLabelAction {
    let entity: any ReportableProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let report = ActionSeed("report") { entity in
        switch entity {
        case let entity as any ReportableProviding: ReportAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension ReportAction {
    static let label: ActionLabel = .init(
        "Report",
        icon: .lemmy.report,
        color: .themedNegative,
        isDestructive: true
    )
    
    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard let myPersonId = entity.api.myPerson?.id else { return .hidden }
        if entity.isOwnContent(myPersonId: myPersonId) { return .hidden }
        
        return .enabled
    }
}

// MARK: - Behavior

extension ReportAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.report(entity, community: environment.communityContext))
    }
}


================================================
FILE: Mlem/App/Actions/ResolveAction.swift
================================================
//
//  ResolveAction.swift
//  Mlem
//
//  Created by Eric Andrews on 2025-12-24.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ResolveAction: SimpleLabelAction {
    let entity: Report
}

// MARK: - Configurability

extension ActionSeed {
    static let resolveReport = ActionSeed("resolveReport") { entity in
        switch entity {
        case let entity as Report: ResolveAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension ResolveAction {
    static let resolveLabel: ActionLabel = .init(
        "Resolve",
        icon: .init("checkmark.circle"),
        color: .themedPositive
    )
    
    static let unresolveLabel: ActionLabel = .init(
        "Unresolve",
        icon: .init("xmark.circle"),
        color: .themedNegative
    )
    
    static var label: ActionLabel { resolveLabel }
    
    func createLabel(environment: EnvironmentValues) -> Actions.ActionLabel {
        entity.resolved ? Self.unresolveLabel : Self.resolveLabel
    }
    
    func execute(environment: EnvironmentValues) {
        entity.toggleResolved()
    }
}


================================================
FILE: Mlem/App/Actions/SaveAction.swift
================================================
//
//  SaveAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct SaveAction: SimpleLabelAction {
    let entity: any InteractableProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let save = ActionSeed("save") { entity in
        switch entity {
        case let entity as any InteractableProviding: SaveAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension SaveAction {
    static let saveLabel: ActionLabel = .init(
        "Save",
        icon: .lemmy.saved.representingState(active: false),
        color: .themedSave
    )
    static let unsaveLabel: ActionLabel = .init(
        "Saved",
        icon: .lemmy.saved.representingState(active: true),
        color: .themedSave
    )
    
    static var label: ActionLabel { saveLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        guard let saved = entity.saved.value else { return Self.saveLabel.withVisibility(.hidden) }
        if saved {
            return Self.unsaveLabel.withVisibility(visibility(environment))
        } else {
            return Self.saveLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        return .enabled
    }
}

// MARK: - Behavior

extension SaveAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let toggleSaved = entity.toggleSaved else { return }
        toggleSaved([.haptic])
    }
}


================================================
FILE: Mlem/App/Actions/SelectTextAction.swift
================================================
//
//  SelectTextAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-13.
//

import Actions
import MlemMiddleware
import SwiftUI

struct SelectTextAction: Actions.SimpleLabelAction {
    static let label: ActionLabel = .init("Select Text", icon: .general.select)
    
    let text: String
    
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.selectText(text))
    }
}

extension ActionSeed {
    static let selectText = ActionSeed("selectText") { entity in
        switch entity {
        case let entity as any Message1Providing:
            SelectTextAction(text: entity.content)
        case let entity as Comment:
            SelectTextAction(text: entity.content)
        case let entity as Post:
            SelectTextAction(text: entity.selectableContent ?? "")
        default:
            nil
        }
    }
}


================================================
FILE: Mlem/App/Actions/SendMessageAction.swift
================================================
//
//  SendMessageAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct SendMessageAction: SimpleLabelAction {
    enum Relationship { case identity, author }

    let entity: Person
    let relationship: Relationship
}

// MARK: - Configurability

extension ActionSeed {
    static let sendMessage = ActionSeed("sendMessage") { entity in
        switch entity {
        case let entity as Person: SendMessageAction(entity: entity, relationship: .identity)
        default: nil
        }
    }

    static let sendCreatorMessage = ActionSeed("sendCreatorMessage") { entity in
        switch entity {
        case let entity as any InteractableProviding:
            if let creator = entity.creator.value {
                SendMessageAction(entity: creator, relationship: .author)
            } else {
                nil
            }
        default: nil
        }
    }
}

// MARK: - Appearance

extension SendMessageAction {
    static let label: ActionLabel = .init("Send Message", icon: .lemmy.message)

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        if environment.appState.firstPerson?.actorId == entity.actorId {
            return .hidden
        }
        if environment.isInMessageFeed {
            return .hidden
        }
        if !entity.api.canInteract(appState: environment.appState) {
            return .disabled
        }
        return .enabled
    }
}

// MARK: - Behavior

extension SendMessageAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.messageFeed(self.entity, focusTextField: true)) 
    }
}


================================================
FILE: Mlem/App/Actions/ShareAction.swift
================================================
//
//  ShareAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ShareAction: SimpleLabelAction {
    let entity: any Sharable
}

// MARK: - Configurability

extension ActionSeed {
    static let share = ActionSeed("share") { entity in
        switch entity {
        case let entity as any Sharable: ShareAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension ShareAction {
    static let label: ActionLabel = .init(
        "Share...",
        icon: .general.share,
        color: .themedColorfulAccent(3)
    )
}

// MARK: - Behavior

extension ShareAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        let url: URL? = switch Settings.get(\.links_shareMode) {
        case .myInstance: entity.url()
        case .originalInstance: entity.actorId.url
        case .lemmyverse: entity.lemmyverseUrl
        case .askEveryTime: nil
        }
        if let url, let navigation = environment.navigation {
            if case .actionSheet = navigation.root {
                navigation.dismissSheet()
                DispatchQueue.main.asyncAfter(deadline: .now() + 0.05) {
                    NavigationModel.main.shareInfo = .init(url: url, actions: entity.shareSheetActions())
                }
            } else {
                navigation.model?.shareInfo = .init(url: url, actions: entity.shareSheetActions())
            }
        } else {
            environment.navigation?.openSheet(.shareInstancePicker(entity))
        }
    }
}


================================================
FILE: Mlem/App/Actions/SignUpAction.swift
================================================
//
//  SignUpAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-01-16.
//

import Actions
import MlemMiddleware
import SwiftUI

struct SignUpAction: SimpleLabelAction {
    let instance: InstanceStub
}

// MARK: - Configurability

extension ActionSeed {
    static let signUp = ActionSeed("signUp") { entity in
        switch entity {
        case let entity as any InstanceActionProviding: SignUpAction(instance: entity.instanceStub)
        default: nil
        }
    }
}

// MARK: - Appearance

extension SignUpAction {
    static let label: ActionLabel = .init("Sign Up", icon: .lemmy.signUp)
}

// MARK: - Behavior

extension SignUpAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.signUp(instance))
    }
}


================================================
FILE: Mlem/App/Actions/SubscribeAction.swift
================================================
//
//  SubscribeAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-02-08.
//

import Actions
import MlemMiddleware
import SwiftUI

struct SubscribeAction: SimpleLabelAction {
    let entity: Community
}

// MARK: - Configurability

extension ActionSeed {
    static let subscribe = ActionSeed("subscribe") { entity in
        switch entity {
        case let entity as Community: SubscribeAction(entity: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension SubscribeAction {
    static let subscribeLabel: ActionLabel = .init(
        "Subscribe",
        icon: .lemmy.subscribe,
        color: .themedPositive
    )
    static let unsubscribeLabel: ActionLabel = .init(
        "Unsubscribe",
        icon: .lemmy.unsubscribe,
        color: .themedNegative
    )
    
    static var label: ActionLabel { subscribeLabel }

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        guard let subscription = entity.subscription.value  else {
            return Self.subscribeLabel.withVisibility(.hidden)
        }
        if subscription.subscribed {
            return Self.unsubscribeLabel.withVisibility(visibility(environment))
        } else {
            return Self.subscribeLabel.withVisibility(visibility(environment))
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState),
              entity.subscription.value != nil,
              entity.updateSubscribed != nil else { return .hidden }
        return .enabled
    }
}

// MARK: - Behavior

extension SubscribeAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let updateSubscribed = entity.updateSubscribed,
              let subscription = entity.subscription.value,
              let updateFavorite = entity.updateFavorite else { return }
        environment.hapticManager.play(haptic: .lightSuccess, tier: .low)
        let wasFavorited = entity.favorited
        if subscription.subscribed {
            environment.toastModel?.add(
                .undoable(
                    "Unsubscribed",
                    icon: .lemmy.didUnsubscribe,
                    callback: {
                        if wasFavorited {
                            updateFavorite(true)
                        } else {
                            updateSubscribed(true)
                        }
                    },
                    color: .themedAccent
                )
            )
        }
        updateSubscribed(!subscription.subscribed)
    }
}


================================================
FILE: Mlem/App/Actions/ViewVotesAction.swift
================================================
//
//  ViewVotesAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct ViewVotesAction: SimpleLabelAction {
    let content: VotesListView.Target
}

// MARK: - Configurability

extension ActionSeed {
    static let viewVotes = ActionSeed("viewVotes") { entity in
        switch entity {
        case let entity as Post: ViewVotesAction(content: .post(entity))
        case let entity as Comment: ViewVotesAction(content: .comment(entity))
        default: nil
        }
    }
}

// MARK: - Appearance

extension ViewVotesAction {
    static let label: ActionLabel = .init(
        "View Votes",
        icon: .lemmy.votes,
        color: .themedColorfulAccent(4)
    )
    
    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        Self.label.withVisibility(visibility(environment))
    }
    
    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        let entity = content.model

        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }
        
        guard let myPerson = entity.api.myPerson,
              let community = entity.community.value,
              let myPersonModerates = myPerson.moderates,
              myPersonModerates(.id(community.id)),
              entity.api.supports(.viewVotes, defaultValue: true) else { return .hidden }

        return .enabled
    }
}

// MARK: - Behavior

extension ViewVotesAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        environment.navigation?.openSheet(.votesList(content))
    }
}


================================================
FILE: Mlem/App/Actions/VisitAction.swift
================================================
//
//  VisitAction.swift
//  Mlem
//
//  Created by Sjmarf on 2026-01-16.
//

import Actions
import MlemMiddleware
import SwiftUI

struct VisitAction: SimpleLabelAction {
    let instance: any InstanceActionProviding
}

// MARK: - Configurability

extension ActionSeed {
    static let visit = ActionSeed("visit") { entity in
        switch entity {
        case let entity as any InstanceActionProviding: VisitAction(instance: entity)
        default: nil
        }
    }
}

// MARK: - Appearance

extension VisitAction {
    static let label: ActionLabel = .init("Visit", icon: .lemmy.visitInstance)

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        let api = environment.appState.firstApi
        let isVisiting = api.host == instance.actorId.host && api.token == nil

        return Self.label.withVisibility(isVisiting ? .disabled : .enabled)
    }
}

// MARK: - Behavior

extension VisitAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        do {
            let account = try GuestAccount.getGuestAccount(url: instance.actorId.url)
            environment.appState.changeAccount(to: account)
            environment.appState.contentViewTab = .feeds
        } catch {
            handleError(error)
        }
    }
}


================================================
FILE: Mlem/App/Actions/VoteAction.swift
================================================
//
//  VoteAction.swift
//  Mlem
//
//  Created by Sjmarf on 2025-10-25.
//

import Actions
import MlemMiddleware
import SwiftUI

struct VoteAction: Actions.Action {
    let entity: any InteractableProviding
    let type: ScoringOperation
}

// MARK: - Configurability

extension ActionSeed {
    static let upvote = ActionSeed("upvote", label: VoteAction.upvoteLabel) {
        createVoteAction($0, type: .upvote)
    }
    static let downvote = ActionSeed("downvote", label: VoteAction.downvoteLabel) {
        createVoteAction($0, type: .downvote)
    }
}

private func createVoteAction(_ entity: Any, type: ScoringOperation) -> VoteAction? {
    switch entity {
    case let entity as any InteractableProviding: VoteAction(entity: entity, type: type)
    default: nil
    }
}

// MARK: - Appearance

extension VoteAction {
    static let upvoteLabel: ActionLabel = .init(
        "Upvote",
        icon: .lemmy.upvoted.representingState(active: false),
        color: .themedUpvote
    )
    static let downvoteLabel: ActionLabel = .init(
        "Downvote",
        icon: .lemmy.downvoted.representingState(active: false),
        color: .themedDownvote
    )
    static let removeUpvoteLabel: ActionLabel = .init(
        "Upvoted",
        icon: .lemmy.upvoted.representingState(active: true),
        color: .themedUpvote
    )
    static let removeDownvoteLabel: ActionLabel = .init(
        "Downvoted",
        icon: .lemmy.downvoted.representingState(active: true),
        color: .themedDownvote
    )

    func createLabel(environment: EnvironmentValues) -> ActionLabel {
        guard let votes = entity.votes.value else { return Self.upvoteLabel.withVisibility(.hidden) }
        let hasMatchingVote = votes.myVote == type

        guard type != .none else {
            assertionFailure()
            return Self.upvoteLabel
        }

        return switch (type, hasMatchingVote) {
        case (.upvote, false): Self.upvoteLabel
        case (.upvote, true): Self.removeUpvoteLabel
        case (.downvote, false): Self.downvoteLabel
        case (.downvote, true): Self.removeDownvoteLabel
        default: Self.upvoteLabel
        }
    }

    private func visibility(_ environment: EnvironmentValues) -> ActionVisiblity {
        guard entity.api.canInteract(appState: environment.appState) else { return .hidden }

        let voteFederationMode = entity.api.voteFederationMode

        switch (self.type, entity is Post) {
        case (.upvote, true):
            return voteFederationMode.postUpvote == .all ? .enabled : .hidden
        case (.downvote, true):
            return voteFederationMode.postDownvote == .all ? .enabled : .hidden
        case (.upvote, false):
            return voteFederationMode.commentUpvote == .all ? .enabled : .hidden
        case (.downvote, false):
            return voteFederationMode.commentDownvote == .all ? .enabled : .hidden
        default:
            assertionFailure()
            return .hidden
        }
    }
}

// MARK: - Behavior

extension VoteAction {
    @MainActor
    func execute(environment: EnvironmentValues) {
        guard let toggleVote = entity.toggleVote else { return }
        toggleVote(type, [.haptic])
    }
}


================================================
FILE: Mlem/App/Configuration/Colors/Palette+Dracula.swift
================================================
//
//  Palette+Dracula.swift
//  Mlem
//
//  Created by Sjmarf on 2025-03-08.
//

import Foundation
import SwiftUI
import Theming

// source: https://draculatheme.com/contribute#color-palette
private let _darkBackground: Color = .init(red: 0.07843137255, green: 0.07450980392, blue: 0.1215686275)
private let _background: Color = .init(red: 0.1568627450980392, green: 0.16470588235294117, blue: 0.21176470588235294)
private let _secondaryBackground: Color = .init(red: 53 / 255, green: 55 / 255, blue: 74 / 255) 
private let _primary: Color = .init(red: 0.9725490196078431, green: 0.9725490196078431, blue: 0.9490196078431372)
private let _secondary: Color = .init(red: 153 / 255, green: 178 / 255, blue: 255 / 255, opacity: 0.7) 
private let _cyan: Color = .init(red: 0.5450980392156862, green: 0.9137254901960784, blue: 0.9921568627450981)
private let _green: Color = .init(red: 0.3137254901960784, green: 0.9803921568627451, blue: 0.4823529411764706)
private let _orange: Color = .init(red: 1.0, green: 0.7215686274509804, blue: 0.4235294117647059)
private let _pink: Color = .init(red: 1.0, green: 0.4745098039215686, blue: 0.7764705882352941)
private let _purple: Color = .init(red: 0.7411764705882353, green: 0.5764705882352941, blue: 0.9764705882352941)
private let _red: Color = .init(red: 1.0, green: 0.3333333333333333, blue: 0.3333333333333333)
private let _yellow: Color = .init(red: 0.9450980392156862, green: 0.9803921568627451, blue: 0.5490196078431373)

extension Palette {
    static let dracula: Self = .init(
        bordered: false,
        label: .init(
            primary: _primary,
            secondary: _secondary,
            tertiary: _secondary
        ),
        background: .init(
            primary: _background,
            secondary: _secondaryBackground,
            tertiary: _secondaryBackground
        ),
        groupedBackground: .init(
            primary: _darkBackground,
            secondary: _background,
            tertiary: _secondaryBackground
        ),
        thumbnailBackground: _secondaryBackground,
        contrastingLabel: _primary,
        accent: _purple,
        neutralAccent: _secondaryBackground,
        colorfulAccents: [_orange, _pink, _cyan, _green, _purple, _red, _yellow],
        commentIndentColors: [_cyan, _green, _orange, _pink, _purple, _red],
        accountAgeColors: [_green, _cyan],
        positive: _green,
        negative: _red,
        warning: _red,
        caution: _orange,
        upvote: _cyan,
        downvote: _red,
        save: _green,
        read: _purple,
        favorite: _cyan,
        administration: _purple,
        moderation: _pink,
        federatedFeed: _pink,
        localFeed: _purple,
        subscribedFeed: _red,
        moderatedFeed: _pink,
        savedFeed: _green,
        popularFeed: _cyan,
        suggestedFeed: _orange,
        inbox: _purple,
        fediseerEndorsement: _cyan
    )
}


================================================
FILE: Mlem/App/Configuration/Colors/Palette+Monochrome.swift
================================================
//
//  Palette+Monochrome.swift
//  Mlem
//
//  Created by Sjmarf on 2025-03-08.
//

import Foundation
import SwiftUI
import Theming

extension Palette {
    static let monochrome: Self = .init(
        bordered: false,
        label: .init(
            primary: .primary,
            secondary: .secondary,
            tertiary: .init(uiColor: .tertiaryLabel)
        ),
        background: .init(
            primary: .init(uiColor: .systemBackground),
            secondary: .init(uiColor: .secondarySystemBackground),
            tertiary: .init(uiColor: .tertiarySystemBackground)
        ),
        groupedBackground: .init(
            primary: .init(uiColor: .systemGroupedBackground),
            secondary: .init(uiColor: .secondarySystemGroupedBackground),
            tertiary: .init(uiColor: .tertiarySystemGroupedBackground)
        ),
        thumbnailBackground: Color(uiColor: .systemGray4),
        contrastingLabel: Color(uiColor: .systemBackground),
        accent: .primary,
        neutralAccent: .gray,
        colorfulAccents: [.gray],
        commentIndentColors: [
            Color(uiColor: .systemGray),
            Color(uiColor: .systemGray2),
            Color(uiColor: .systemGray3),
            Color(uiColor: .systemGray4),
            Color(uiColor: .systemGray5),
            Color(uiColor: .systemGray6)
        ],
        accountAgeColors: [.gray],
        positive: .primary,
        negative: .primary,
        warning: .primary,
        caution: .primary,
        upvote: .primary,
        downvote: .primary,
        save: .primary,
        read: .primary,
        favorite: .primary,
        administration: .primary,
        moderation: .primary,
        federatedFeed: Color(uiColor: .darkGray),
        localFeed: Color(uiColor: .darkGray),
        subscribedFeed: Color(uiColor: .darkGray),
        moderatedFeed: Color(uiColor: .darkGray),
        savedFeed: Color(uiColor: .darkGray),
        popularFeed: Color(uiColor: .darkGray),
        suggestedFeed: Color(uiColor: .darkGray),
        inbox: Color(uiColor: .darkGray),
        fediseerEndorsement: .gray
    )
}


================================================
FILE: Mlem/App/Configuration/Colors/Palette+Oled.swift
================================================
//
//  Palette+Oled.swift
//  Mlem
//
//  Created by Sjmarf on 2025-03-08.
//

import Foundation
import Theming

extension Palette {
    static let oled: Self = {
        var palette: Self = .default
        palette.bordered = true
        palette.background.primary = .black
        palette.background.secondary = .black
        palette.background.tertiary = .black
        palette.groupedBackground.primary = .black
        palette.groupedBackground.secondary = .black
        palette.groupedBackground.tertiary = .black
        return palette
    }()
}


================================================
FILE: Mlem/App/Configuration/Colors/Palette+Solarized.swift
================================================
//
//  Palette+Solarized.swift
//  Mlem
//
//  Created by Sjmarf on 2025-03-08.
//

import Foundation
import SwiftUI
import Theming

// See https://ethanschoonover.com/solarized/ for details
// TODO: I'd love to do this in LAB space, but that involves some ugly manual CGColor work
private let base04: Color = .init(red: 0.0, green: 0.0823529412, blue: 0.1137254902)
private let base03: Color = .init(red: 0.0, green: 0.16862745098039217, blue: 0.21176470588235294)
private let base02: Color = .init(red: 0.027450980392156862, green: 0.21176470588235294, blue: 0.25882352941176473)
private let base01: Color = .init(red: 0.34509803921568627, green: 0.43137254901960786, blue: 0.4588235294117647)
private let base00: Color = .init(red: 0.396078431372549, green: 0.4823529411764706, blue: 0.5137254901960784)
private let base0: Color = .init(red: 0.5137254901960784, green: 0.5803921568627451, blue: 0.5882352941176471)
private let base1: Color = .init(red: 0.5764705882352941, green: 0.6313725490196078, blue: 0.6313725490196078)
private let base2: Color = .init(red: 0.9333333333333333, green: 0.9098039215686274, blue: 0.8352941176470589)
private let base3: Color = .init(red: 0.9921568627450981, green: 0.9647058823529412, blue: 0.8901960784313725)
private let yellow: Color = .init(red: 0.7098039215686275, green: 0.5372549019607843, blue: 0.0)
private let orange: Color = .init(red: 0.796078431372549, green: 0.29411764705882354, blue: 0.08627450980392157)
private let red: Color = .init(red: 0.8627450980392157, green: 0.19607843137254902, blue: 0.1843137254901961)
private let magenta: Color = .init(red: 0.8274509803921568, green: 0.21176470588235294, blue: 0.5098039215686274)
private let violet: Color = .init(red: 0.4235294117647059, green: 0.44313725490196076, blue: 0.7686274509803922)
private let blue: Color = .init(red: 0.14901960784313725, green: 0.5450980392156862, blue: 0.8235294117647058)
private let cyan: Color = .init(red: 0.16470588235294117, green: 0.6313725490196078, blue: 0.596078431372549)
private let green: Color = .init(red: 0.5215686274509804, green: 0.6, blue: 0.0)

extension Palette {
    static let solarized: Self = .init(
        bordered: false,
        label: .init(
            primary: .init(light: base00, dark: base0),
            secondary: .init(light: base0, dark: base01),
            tertiary: .init(light: base1, dark: base01)
        ),
        background: .init(
            primary: .init(light: base3, dark: base03),
            secondary: .init(light: base2, dark: base02),
            tertiary: .init(light: base2, dark: base02)
        ),
        groupedBackground: .init(
            primary: .init(light: base2, dark: base04),
            secondary: .init(light: base3, dark: base03),
            tertiary: .init(light: base2, dark: base02)
        ),
        thumbnailBackground: .init(light: base2, dark: base02),
        contrastingLabel: base2,
        accent: blue,
        neutralAccent: base0,
        colorfulAccents: [orange, violet, blue, cyan, magenta, green, cyan],
        commentIndentColors: [red, orange, yellow, cyan, blue, violet],
        accountAgeColors: [cyan, blue, violet],
        positive: cyan,
        negative: red,
        warning: red,
        caution: orange,
        upvote: blue,
        downvote: red,
        save: cyan,
        read: violet,
        favorite: blue,
        administration: violet,
        moderation: green,
        federatedFeed: blue,
        localFeed: violet,
        subscribedFeed: red,
        moderatedFeed: violet,
        savedFeed: cyan,
        popularFeed: magenta,
        suggestedFeed: orange,
        inbox: violet,
        fediseerEndorsement: cyan
    )
}


================================================
FILE: Mlem/App/Configuration/Constants/Constants.swift
================================================
//
//  Constants.swift
//  Mlem
//
//  Created by Eric Andrews on 2024-08-07.
//

import Foundation
import KeychainAccess
import MlemMiddleware
import SwiftUI

class Constants {
    private var platformConstants: PlatformConstants
    
    public static let main: Constants = .init()
    
    private init() {
        if UIDevice.isPhone {
            self.platformConstants = .phone
        } else if UIDevice.isPad {
            self.platformConstants = .pad
        } else {
            assertionFailure("Unrecognized UIDevice!")
            self.platformConstants = .phone
        }
    }
    
    // MARK: - Common Constants
    
    // These constants are used across all platforms, and generally configure backend behavior
    
    // MARK: Image Caching
    
    /// Size for the image cache (500MB)
    let cacheSize = 500_000_000
    /// URLCache to use for image caching
    let urlCache: URLCache = .init(memoryCapacity: 500_000_000, diskCapacity: 500_000_000)
    /// URLSession to use for image caching
    let urlSession: URLSession = .init(configuration: .default)
    /// Images are fetched at this resolution when displayed in the feed, and the maximum resolution is only fetched when the image viewer is opened
    let feedImageResolution: Int = 1024
    
    // MARK: Keychain

    let keychain: Keychain = .init(service: "com.hanners.Mlem-keychain")
    
    // MARK: - Platform Constants

    // These constants change depending on which platform the app is running on, and so passthrough to the current PlatformConstants. Standard dimensions are used for elements or element types that recur frequently, and are preferred over non-standard to promote a consistent layout structure. Non-standard spacings are used in cases where unique aesthetic considerations warrant deviation from the standards.
    
    // MARK: Standard Spacings
    
    /// Normal spacing between elements
    var standardSpacing: CGFloat { platformConstants.standardSpacing }
    /// Half of standardSpacing
    var halfSpacing: CGFloat { platformConstants.halfSpacing }
    /// Twice standardSpacing
    var doubleSpacing: CGFloat { platformConstants.doubleSpacing }
    /// Normal pacing between elements in a compact layout
    var compactSpacing: CGFloat { platformConstants.compactSpacing }
    
    // MARK: Standard Corner Radii
    
    /// Corner radius of a large item (tile post)
    var largeItemCornerRadius: CGFloat { platformConstants.largeItemCornerRadius }
    /// Corner radius of a medium item (website previews, large cards, etc.)
    var mediumItemCornerRadius: CGFloat { platformConstants.mediumItemCornerRadius }
    /// Corner radius of a small item (thumbnails, embedded cards, etc.)
    var smallItemCornerRadius: CGFloat { platformConstants.smallItemCornerRadius }
    
    // MARK: Sizes
    
    /// Size of a post thumbnail
    var thumbnailSize: CGFloat { platformConstants.thumbnailSize }
    /// Size of an avatar in a list context
    var listRowAvatarSize: CGFloat { platformConstants.listRowAvatarSize }
    /// Size of an avatar in a large label display
    var largeAvatarSize: CGFloat { platformConstants.largeAvatarSize }
    /// Size of an avatar in a medium label display
    var mediumAvatarSize: CGFloat { platformConstants.mediumAvatarSize }
    /// Size of an avatar in a compact label display
    var smallAvatarSize: CGFloat { platformConstants.smallAvatarSize }
    /// Size of a feed header avatar
    var feedHeaderSize: CGFloat { platformConstants.feedHeaderSize }
    
    // MARK: Non-Standard Dimensions
    
    // App Icon
    
    /// Size of an app icon
    var appIconSize: CGFloat { platformConstants.appIconSize }
    /// Corner radius of an app icon
    var appIconCornerRadius: CGFloat { platformConstants.appIconCornerRadius }
    
    // Settings Icon
    
    /// Size of a settings icon
    var settingsIconSize: CGFloat { platformConstants.settingsIconSize }
    
    // Interaction Bar
    
    /// Size of an interaction bar icon
    var barIconSize: CGFloat { platformConstants.barIconSize }
    /// Corner radius of an interaction bar icon's background
    var barIconCornerRadius: CGFloat { platformConstants.barIconCornerRadius }
    /// Size of the visible bar icon background
    var barIconBackgroundSize: CGFloat { barIconHitbox - (2 * standardSpacing) }
    /// Tappable area for a bar icon (extends beyond visible background, should be at least 44x44 per Apple HIG)
    var barIconHitbox: CGFloat { platformConstants.barIconHitbox }
}


================================================
FILE: Mlem/App/Configuration/Constants/Platform Constants/PadConstants.swift
================================================
//
//  PadConstants.swift
//  Mlem
//
//  Created by Eric Andrews on 2024-08-07.
//

import Foundation

// iPad-specific constants
extension PlatformConstants {
    static let pad: PlatformConstants = .init(
        standardSpacing: 10,
        halfSpacing: 5,
        doubleSpacing: 20,
        compactSpacing: 6,
        thumbnailSize: 60,
        listRowAvatarSize: 46,
        largeAvatarSize: 32,
        mediumAvatarSize: 22,
        smallAvatarSize: 16,
        feedHeaderSize: 44,
        largeItemCornerRadius: 16,
        mediumItemCornerRadius: 8,
        smallItemCornerRadius: 6,
        appIconSize: 60,
        appIconCornerRadius: 10,
        settingsIconSize: 28,
        barIconSize: 15.5,
        barIconCornerRadius: 4,
        barIconHitbox: 44
    )
}


================================================
FILE: Mlem/App/Configuration/Constants/Platform Constants/PhoneConstants.swift
================================================
//
//  PhoneConstants.swift
//  Mlem
//
//  Created by Eric Andrews on 2024-08-07.
//

import Foundation

// iPhone-specific constants
extension PlatformConstants {
    static let phone: PlatformConstants = .init(
        standardSpacing: 10,
        halfSpacing: 5,
        doubleSpacing: 20,
        compactSpacing: 6,
        thumbnailSize: 60,
        listRowAvatarSize: 46,
        largeAvatarSize: 32,
        mediumAvatarSize: 22,
        smallAvatarSize: 16,
        feedHeaderSize: 44,
        largeItemCornerRadius: 16,
        mediumItemCornerRadius: 8,
        smallItemCornerRadius: 6,
        appIconSize: 60,
        appIconCornerRadius: 10,
        settingsIconSize: 28,
        barIconSize: 15.5,
        barIconCornerRadius: 4,
        barIconHitbox: 44
    )
}


================================================
FILE: Mlem/App/Configuration/Constants/Platform Constants/PlatformConstants.swift
================================================
//
//  PlatformConstants.swift
//  Mlem
//
//  Created by Eric Andrews on 2024-08-07.
//

import Foundation

// Struct enumerating all platform-specific constants
struct PlatformConstants {
    // Standard spacings
    let standardSpacing: CGFloat
    let halfSpacing: CGFloat
    let doubleSpacing: CGFloat
    let compactSpacing: CGFloat
    
    // Standard sizes
    let thumbnailSize: CGFloat
    let listRowAvatarSize: CGFloat
    let largeAvatarSize: CGFloat
    let mediumAvatarSize: CGFloat
    let smallAvatarSize: CGFloat
    let feedHeaderSize: CGFloat
    
    // Standard corner radii
    let largeItemCornerRadius: CGFloat
    let mediumItemCornerRadius: CGFloat
    let smallItemCornerRadius: CGFloat
    
    // Non-standard dimensions
    let appIconSize: CGFloat
    let appIconCornerRadius: CGFloat
    let settingsIconSize: CGFloat
    let barIconSize: CGFloat
    let barIconCornerRadius: CGFloat
    let barIconHitbox: CGFloat
}


================================================
FILE: Mlem/App/Configuration/Icons.swift
================================================
//
//  Icon.swift
//  Mlem
//
//  Created by Eric Andrews on 2023-09-13.
//

import Foundation
import SwiftUI

// swiftlint:disable type_body_length

/// SFSymbol names for icons
enum Icons {
    // votes
    static let votes: String = "arrow.up.arrow.down"
    static let votesSquare: String = "arrow.up.arrow.down.square"
    static let upvote: String = "arrow.up"
    static let upvoteSquare: String = "arrow.up.square"
    static let upvoteSquareFill: String = "arrow.up.square.fill"
    static let downvote: String = "arrow.down"
    static let downvoteSquare: String = "arrow.down.square"
    static let downvoteSquareFill: String = "arrow.down.square.fill"
    static let resetVoteSquare: String = "minus.square"
    static let resetVoteSquareFill: String = "minus.square.fill"
    
    // reply/send
    static let reply: String = "arrowshape.turn.up.left"
    static let replyFill: String = "arrowshape.turn.up.left.fill"
    static let send: String = "paperplane"
    static let sendFill: String = "paperplane.fill"
    static let sendMessage: String = "arrow.up.circle.fill"
    
    // save
    static let save: String = "bookmark"
    static let saveFill: String = "bookmark.fill"
    static let unsave: String = "bookmark.slash"
    static let unsaveFill: String = "bookmark.slash.fill"
    
    // mark read
    static let markRead: String = "envelope.open"
    static let markReadFill: String = "envelope.open.fill"
    static let markUnread: String = "envelope"
    static let markUnreadFill: String = "envelope.fill"
    
    // moderation
    static let moderation: String = "shield"
    static let moderationFill: String = "shield.fill"
    static let administration: String = "crown"
    static let administrationFill: String = "crown.fill"
    static let demoteModerator: String = "shield.slash"
    static let demoteModeratorFill: String = "shield.slash.fill"
    static let moderationReport: String = "flag"
    static let moderationReportFill: String = "flag.fill"
    static let registrationApplication: String = "list.clipboard"
    static let modlog: String = "book.pages"
    static let transferCommunity: String = "arrow.right"
    static let removeAdministrator: String = "arrowshape.down"
    static let removeAdministratorFill: String = "arrowshape.down.fill"
    static let resolve: String = "checkmark.circle"
    static let resolveFill: String = "checkmark.circle.fill"
    static let unresolve: String = "xmark.circle"
    static let unresolveFill: String = "xmark.circle.fill"
    
    // inbox
    static let mention: String = "quote.bubble"
    static let message: String = "envelope"
    
    // misc post
    static let posts: String = "doc.plaintext"
    static let replies: String = "bubble.left"
    static let unreadReplies: String = "text.bubble"
    static let textPost: String = "text.book.closed"
    static let titleOnlyPost: String = "character.bubble"
    static let pin: String = "pin"
    static let pinFill: String = "pin.fill"
    static let unpin: String = "pin.slash"
    static let unpinFill: String = "pin.slash.fill"
    static let websiteIcon: String = "globe"
    static let read: String = "book"
    static let lock: String = "lock"
    static let lockFill: String = "lock.fill"
    static let unlock: String = "lock.open"
    static let unlockFill: String = "lock.open.fill"
    static let remove: String = "xmark.bin"
    static let removeFill: String = "xmark.bin.fill"
    static let restore: String = "arrow.up.bin"
    static let restoreFill: String = "arrow.up.bin.fill"
    static let purge: String = "burn"
    static let scoreCounter: String = "arrow.up.arrow.down.circle"
    static let upvoteCounter: String = "arrow.up.circle"
    static let downvoteCounter: String = "arrow.down.circle"
    static let replyCounter: String = "arrowshape.turn.up.left.circle"
    
    // post sizes
    static let postSizeSetting: String = "rectangle.expand.vertical"
    static let compactPost: String = "rectangle.grid.1x2"
    static let compactPostFill: String = "rectangle.grid.1x2.fill"
    static let tilePost: String = "square.grid.2x2"
    static let tilePostFill: String = "square.grid.2x2.fill"
    static let headlinePost: String = "rectangle"
    static let headlinePostFill: String = "rectangle.fill"
    static let largePost: String = "text.below.photo"
    static let largePostFill: String = "text.below.photo.fill"
    
    // feeds
    static let federatedFeed: String = "circle.hexagongrid"
    static let federatedFeedFill: String = "circle.hexagongrid.fill"
    static let federatedFeedCircle: String = "circle.hexagongrid.circle.fill"
    static let instanceFeed: String = "building.2"
    static let instanceFeedFill: String = "building.2.fill"
    static let instanceFeedCircle: String = "building.2.crop.circle"
    static let subscribedFeed: String = "newspaper"
    static let subscribedFeedFill: String = "newspaper.fill"
    static let subscribedFeedCircle: String = "newspaper.circle.fill"
    static let savedFeed: String = "bookmark"
    static let savedFeedFill: String = "bookmark.fill"
    static let savedFeedCircle: String = "bookmark.circle.fill"
    
    // sort types
    static let activeSort: String = "popcorn"
    static let activeSortFill: String = "popcorn.fill"
    static let hotSort: String = "flame"
    static let hotSortFill: String = "flame.fill"
    static let scaledSort: String = "arrow.up.left.and.down.right.and.arrow.up.right.and.down.left"
    static let scaledSortFill: String = "arrow.up.left.and.down.right.and.arrow.up.right.and.down.left"
    static let newSort: String = "hare"
    static let newSortFill: String = "hare.fill"
    static let oldSort: String = "tortoise"
    static let oldSortFill: String = "tortoise.fill"
    static let newCommentsSort: String = "exclamationmark.bubble"
    static let newCommentsSortFill: String = "exclamationmark.bubble.fill"
    static let mostCommentsSort: String = "bubble.left.and.bubble.right"
    static let mostCommentsSortFill: String = "bubble.left.and.bubble.right.fill"
    static let controversialSort: String = "bolt"
    static let controversialSortFill: String = "bolt.fill"
    static let topSortMenu: String = "text.line.first.and.arrowtriangle.forward"
    static let topSort: String = "trophy"
    static let topSortFill: String = "trophy.fill"
    static let timeSort: String = "calendar.day.timeline.leading"
    static let timeSortFill: String = "calendar.day.timeline.leading"
    static let alphabeticalSort: String = "textformat"
    static let scoreSort: String = "star"
    static let usersSort: String = "person.2"
    static let versionSort: String = "server.rack"
    
    // user flairs
    static let developerFlair: String = "hammer.fill"
    static let botFlair: String = "terminal.fill"
    static let opFlair: String = "person.fill"
    static let instanceBannedFlair: String = "xmark.square.fill"
    static let communityBannedFlair: String = "xmark.shield.fill"
    static let newAccountFlair: String = "leaf.fill"
    
    // markdown
    static let bold: String = "bold"
    static let italic: String = "italic"
    static let strikethrough: String = "strikethrough"
    static let superscript: String = "textformat.superscript"
    static let `subscript`: String = "textformat.subscript"
    // Potentially "chevron.left.chevron.right" is better, it's iOS 18+ though
    static let inlineCode: String = "chevron.left.forwardslash.chevron.right"
    static let quote: String = "quote.opening"
    static let heading: String = "textformat.size"
    static let uploadImage: String = "photo"
    static let spoiler: String = "eye"
    static let codeBlock: String = "text.viewfinder"
    
    // entities/general Lemmy concepts
    static let federation: String = "point.3.filled.connected.trianglepath.dotted"
    static let instance: String = "building.2"
    static let instanceFill: String = "building.2.fill"
    static let instanceCircle: String = "building.2.crop.circle"
    static let instanceCircleFill: String = "building.2.crop.circle.fill"
    static let person: String = "person"
    static let personFill: String = "person.fill"
    static let personCircle: String = "person.crop.circle"
    static let personCircleFill: String = "person.crop.circle.fill"
    static let community: String = "house"
    static let communityFill: String = "house.fill"
    static let communityCircle: String = "house.circle"
    static let communityCircleFill: String = "house.circle.fill"
    
    // tabs
    static let feeds: String = "scroll"
    static let feedsFill: String = "scroll.fill"
    static let inbox: String = "mail.stack"
    static let inboxFill: String = "mail.stack.fill"
    static let search: String = "magnifyingglass"
    static let searchActive: String = "text.magnifyingglass"
    static let settings: String = "gear"
    
    // information/status
    static let success: String = "checkmark"
    static let successCircle: String = "checkmark.circle"
    static let successCircleFill: String = "checkmark.circle.fill"
    static let successSquareFill: String = "checkmark.square.fill"
    static let failure: String = "xmark"
    static let failureCircle: String = "xmark.circle"
    static let failureCircleFill: String = "xmark.circle.fill"
    static let present: String = "circle.fill" // that's present as in "here," not as in "gift"
    static let absent: String = "circle"
    static let warning: String = "exclamationmark.triangle"
    static let warningFill: String = "exclamationmark.triangle.fill"
    static let hide: String = "eye.slash"
    static let hideFill: String = "eye.slash.fill"
    static let block: String = "hand.raised"
    static let blockFill: String = Icons.privacy
    static let unblock: String = "hand.raised.slash"
    static let unblockFill: String = "hand.raised.slash.fill"
    static let nsfwTag: String = "nsfw"
    static let show: String = "eye"
    static let sho
Download .txt
gitextract__gplox9q/

├── .git-hooks/
│   └── pre-commit
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── bug-report.yml
│   │   └── improvement-proposal.yml
│   ├── actions/
│   │   └── ci_xcodebuild/
│   │       └── action.yml
│   ├── pull_request_template.md
│   └── workflows/
│       ├── ci_build_26.yml
│       └── ci_lint.yml
├── .gitignore
├── .gitmodules
├── .periphery.yml
├── .swift-version
├── .swiftformat
├── .swiftlint.yml
├── Additional Documents/
│   ├── EULA.md
│   └── Privacy.md
├── CODEOWNERS
├── CONTRIBUTING.md
├── LICENSE
├── Mlem/
│   ├── App/
│   │   ├── Actions/
│   │   │   ├── ActionSeed+Extensions.swift
│   │   │   ├── ActionSeedSwipeConfiguration.swift
│   │   │   ├── ActionSheet/
│   │   │   │   ├── ActionSheet.swift
│   │   │   │   └── CustomizableContextMenu.swift
│   │   │   ├── AppointAdminAction.swift
│   │   │   ├── AppointModeratorAction.swift
│   │   │   ├── BanAction.swift
│   │   │   ├── BlockAction.swift
│   │   │   ├── CollapseAction.swift
│   │   │   ├── CollapseParentAction.swift
│   │   │   ├── CollapseToTopAction.swift
│   │   │   ├── ContextMenu+Comment.swift
│   │   │   ├── ContextMenu+Community.swift
│   │   │   ├── ContextMenu+InboxNotification.swift
│   │   │   ├── ContextMenu+Instance.swift
│   │   │   ├── ContextMenu+Message.swift
│   │   │   ├── ContextMenu+Person.swift
│   │   │   ├── ContextMenu+Post.swift
│   │   │   ├── CopyNameAction.swift
│   │   │   ├── CreateImageAction.swift
│   │   │   ├── CrosspostAction.swift
│   │   │   ├── DeleteAction.swift
│   │   │   ├── EditAction.swift
│   │   │   ├── EditNoteAction.swift
│   │   │   ├── FavoriteAction.swift
│   │   │   ├── GoToInstanceAction.swift
│   │   │   ├── HideAction.swift
│   │   │   ├── LockAction.swift
│   │   │   ├── LogInAction.swift
│   │   │   ├── MarkNsfwAction.swift
│   │   │   ├── MarkReadAction.swift
│   │   │   ├── NewPostAction.swift
│   │   │   ├── OpenInBrowserAction.swift
│   │   │   ├── OpenModlogAction.swift
│   │   │   ├── PinAction.swift
│   │   │   ├── PurgeAction.swift
│   │   │   ├── RemoveAction.swift
│   │   │   ├── ReplyAction.swift
│   │   │   ├── ReportAction.swift
│   │   │   ├── ResolveAction.swift
│   │   │   ├── SaveAction.swift
│   │   │   ├── SelectTextAction.swift
│   │   │   ├── SendMessageAction.swift
│   │   │   ├── ShareAction.swift
│   │   │   ├── SignUpAction.swift
│   │   │   ├── SubscribeAction.swift
│   │   │   ├── ViewVotesAction.swift
│   │   │   ├── VisitAction.swift
│   │   │   └── VoteAction.swift
│   │   ├── Configuration/
│   │   │   ├── Colors/
│   │   │   │   ├── Palette+Dracula.swift
│   │   │   │   ├── Palette+Monochrome.swift
│   │   │   │   ├── Palette+Oled.swift
│   │   │   │   └── Palette+Solarized.swift
│   │   │   ├── Constants/
│   │   │   │   ├── Constants.swift
│   │   │   │   └── Platform Constants/
│   │   │   │       ├── PadConstants.swift
│   │   │   │       ├── PhoneConstants.swift
│   │   │   │       └── PlatformConstants.swift
│   │   │   ├── Icons.swift
│   │   │   └── User Settings/
│   │   │       ├── PinnedSortTracker.swift
│   │   │       ├── SettingPropertyWrapper.swift
│   │   │       ├── Settings.swift
│   │   │       └── SettingsValues.swift
│   │   ├── Data/
│   │   │   ├── Document.swift
│   │   │   ├── EULA.swift
│   │   │   ├── Licenses.swift
│   │   │   └── Privacy Policy.swift
│   │   ├── Enums/
│   │   │   ├── AnimatedAvatarBehavior.swift
│   │   │   ├── AvatarType.swift
│   │   │   ├── CommentJumpButtonLocation.swift
│   │   │   ├── InstanceSort.swift
│   │   │   ├── Interaction/
│   │   │   │   ├── ActionSeedSections.swift
│   │   │   │   ├── CommentBarConfiguration+Types.swift
│   │   │   │   ├── CommentBarConfiguration.swift
│   │   │   │   ├── CommunityActionConfiguration.swift
│   │   │   │   ├── ContextMenuConfiguration.swift
│   │   │   │   ├── InteractionBarConfiguration.swift
│   │   │   │   ├── PostBarConfiguration+Types.swift
│   │   │   │   ├── PostBarConfiguration.swift
│   │   │   │   ├── ReplyBarConfiguration+Types.swift
│   │   │   │   ├── ReplyBarConfiguration.swift
│   │   │   │   └── SwipeActionConfiguration.swift
│   │   │   ├── MlemError.swift
│   │   │   ├── NsfwBlurBehavior.swift
│   │   │   ├── PersonFlair.swift
│   │   │   ├── PostViewLinkType.swift
│   │   │   ├── ReadPostIndicator.swift
│   │   │   ├── TabBarLongPressAction.swift
│   │   │   └── ZoomSliderLocation.swift
│   │   ├── Globals/
│   │   │   ├── Definitions/
│   │   │   │   ├── AccountsTracker.swift
│   │   │   │   ├── AppState+transition.swift
│   │   │   │   ├── AppState.swift
│   │   │   │   ├── ErrorsTracker.swift
│   │   │   │   ├── FiltersTracker.swift
│   │   │   │   ├── PaletteOption.swift
│   │   │   │   ├── PersistenceRepository.swift
│   │   │   │   └── TabReselectTracker.swift
│   │   │   └── Dependencies/
│   │   │       └── PersistenceRepository+Dependency.swift
│   │   ├── Legacy/
│   │   │   └── LegacySettings.swift
│   │   ├── Logic/
│   │   │   ├── Animations.swift
│   │   │   ├── HandleError.swift
│   │   │   ├── ImageFunctions.swift
│   │   │   ├── ImageSaver.swift
│   │   │   └── Networking/
│   │   │       └── InternetConnectionManager.swift
│   │   ├── Models/
│   │   │   ├── Account/
│   │   │   │   ├── Account.swift
│   │   │   │   ├── AccountType.swift
│   │   │   │   ├── GuestAccount.swift
│   │   │   │   └── UserAccount.swift
│   │   │   ├── Action/
│   │   │   │   ├── Action.swift
│   │   │   │   ├── ActionAppearance+StaticValues.swift
│   │   │   │   ├── ActionAppearance.swift
│   │   │   │   ├── ActionBuilder.swift
│   │   │   │   ├── ActionGroup.swift
│   │   │   │   ├── ActionType.swift
│   │   │   │   ├── BasicAction.swift
│   │   │   │   ├── Counter.swift
│   │   │   │   ├── CounterAppearance.swift
│   │   │   │   ├── CounterApperance+StaticValues.swift
│   │   │   │   ├── Readout.swift
│   │   │   │   └── ShareActivity.swift
│   │   │   ├── CommentTreeNode.swift
│   │   │   ├── ErrorDetails.swift
│   │   │   ├── Events/
│   │   │   │   ├── Event+Extension.swift
│   │   │   │   └── EventsTracker.swift
│   │   │   ├── FeedContext.swift
│   │   │   ├── FeedbackType.swift
│   │   │   ├── ImageUploadHistoryManager.swift
│   │   │   ├── ImageUploadManager.swift
│   │   │   ├── MlemStats/
│   │   │   │   ├── InstanceSummary.swift
│   │   │   │   └── MlemStats.swift
│   │   │   ├── SeededRandomNumberGenerator.swift
│   │   │   ├── Session/
│   │   │   │   ├── GuestSession.swift
│   │   │   │   ├── Session.swift
│   │   │   │   └── UserSession.swift
│   │   │   └── Settings/
│   │   │       └── Options/
│   │   │           ├── InternetSpeed.swift
│   │   │           ├── PostSize.swift
│   │   │           └── ThumbnailLocation.swift
│   │   ├── Protocols/
│   │   │   ├── AccountSortMode.swift
│   │   │   └── AssociatedColor.swift
│   │   ├── Utility/
│   │   │   └── Extensions/
│   │   │       ├── ApiClient+Extensions.swift
│   │   │       ├── Array+Extensions.swift
│   │   │       ├── BackendClient+Extensions.swift
│   │   │       ├── Binding+Extensions.swift
│   │   │       ├── Blockable+Extensions.swift
│   │   │       ├── Bundle+Extensions.swift
│   │   │       ├── CGFloat+Extensions.swift
│   │   │       ├── CGPoint+Extensions.swift
│   │   │       ├── CGSize+Extensions.swift
│   │   │       ├── Calendar+Extensions.swift
│   │   │       ├── CaptchaDifficulty+Extensions.swift
│   │   │       ├── Color+Extensions.swift
│   │   │       ├── CommentSortType+Extensions.swift
│   │   │       ├── Content Models/
│   │   │       │   ├── ActorIdentifiable+Extensions.swift
│   │   │       │   ├── Captcha+Extensions.swift
│   │   │       │   ├── Comment/
│   │   │       │   │   ├── Comment+Actions.swift
│   │   │       │   │   └── Comment+Extensions.swift
│   │   │       │   ├── Community/
│   │   │       │   │   └── Community+Extensions.swift
│   │   │       │   ├── CommunityOrPersonStub+Extensions.swift
│   │   │       │   ├── DeletableProviding+Extensions.swift
│   │   │       │   ├── InboxItemProviding+Extensions.swift
│   │   │       │   ├── InboxItemType+Extensions.swift
│   │   │       │   ├── Instance+Extensions.swift
│   │   │       │   ├── Instance3+Extensions.swift
│   │   │       │   ├── Interactable/
│   │   │       │   │   ├── InteractableProviding+Actions.swift
│   │   │       │   │   ├── InteractableProviding+Extensions.swift
│   │   │       │   │   └── InteractableProviding+Toggles.swift
│   │   │       │   ├── Message1Providing+Extensions.swift
│   │   │       │   ├── ModlogEntryContent+Extensions.swift
│   │   │       │   ├── ModlogEntryType+Extensions.swift
│   │   │       │   ├── Person/
│   │   │       │   │   ├── Person+Actions.swift
│   │   │       │   │   └── Person+Extensions.swift
│   │   │       │   ├── PersonContent+Extensions.swift
│   │   │       │   ├── Post/
│   │   │       │   │   ├── Post+Actions.swift
│   │   │       │   │   ├── Post+Extensions.swift
│   │   │       │   │   └── Post+Toggles.swift
│   │   │       │   ├── ProfileProviding+Extensions.swift
│   │   │       │   ├── PurgableProviding+Extensions.swift
│   │   │       │   ├── RegistrationApplication+Extensions.swift
│   │   │       │   ├── RemovableProviding+Extensions.swift
│   │   │       │   ├── Reply1Providing+Extensions.swift
│   │   │       │   ├── Report+Extensions.swift
│   │   │       │   ├── ReportableProviding+Extensions.swift
│   │   │       │   ├── ScoringOperation+Extensions.swift
│   │   │       │   ├── SelectableContentProviding+Extensions.swift
│   │   │       │   ├── Sharable+Extensions.swift
│   │   │       │   ├── SiteSoftware+Extensions.swift
│   │   │       │   ├── SiteSoftwareType+Extensions.swift
│   │   │       │   ├── UnreadCount+Extensions.swift
│   │   │       │   └── VotesModel+Extensions.swift
│   │   │       ├── Data+Extensions.swift
│   │   │       ├── Date+Extensions.swift
│   │   │       ├── DateComponents+Extensions.swift
│   │   │       ├── EnvironmentValues+Extensions.swift
│   │   │       ├── FederationMode+Extensions.swift
│   │   │       ├── GetContentFilter+Extensions.swift
│   │   │       ├── HapticLevel+Extensions.swift
│   │   │       ├── InstanceSummarySoftware+Extensions.swift
│   │   │       ├── Int+Extensions.swift
│   │   │       ├── ListingType+Extensions.swift
│   │   │       ├── MarkdownConfiguration+Extensions.swift
│   │   │       ├── MlemMiddleware Mock/
│   │   │       │   ├── ActorIdentifier+Mock.swift
│   │   │       │   ├── Comment+Mock.swift
│   │   │       │   ├── CommentMockType.swift
│   │   │       │   ├── Community+Mock.swift
│   │   │       │   ├── CommunityMockType+Realistic.swift
│   │   │       │   ├── CommunityMockType.swift
│   │   │       │   ├── MockApiClient+Realistic.swift
│   │   │       │   ├── Person+Mock.swift
│   │   │       │   ├── PersonMockType+Realistic.swift
│   │   │       │   ├── PersonMockType.swift
│   │   │       │   ├── Post+Mock.swift
│   │   │       │   ├── PostMockType+Realistic.swift
│   │   │       │   └── PostMockType.swift
│   │   │       ├── PersonContentFeedLoader+Extensions.swift
│   │   │       ├── PostSortType+Extensions.swift
│   │   │       ├── PostType+Extensions.swift
│   │   │       ├── PrefetchingConfiguration+Extensions.swift
│   │   │       ├── QuickSwipeAction+Actions.swift
│   │   │       ├── QuickSwipeAction+Extensions.swift
│   │   │       ├── RegistrationMode+Extensions.swift
│   │   │       ├── SearchSortType+Extensions.swift
│   │   │       ├── Set+Extensions.swift
│   │   │       ├── SortTimeRange+Extensions.swift
│   │   │       ├── String+Extensions.swift
│   │   │       ├── String+extension.swift
│   │   │       ├── SwipeConfiguration+Extensions.swift
│   │   │       ├── UIApplication+Extensions.swift
│   │   │       ├── UIDevice+Extensions.swift
│   │   │       ├── UIImage+Extensions.swift
│   │   │       ├── UITextView+Extensions.swift
│   │   │       ├── UIUserInterfaceStyle+Extensions.swift
│   │   │       ├── UIViewController+Extensions.swift
│   │   │       ├── UsernameValidity+Extensions.swift
│   │   │       ├── Views/
│   │   │       │   ├── Label+Profile1.swift
│   │   │       │   ├── NavigationLink+NavigationPage.swift
│   │   │       │   ├── PreviewModifier+SampleEnvironment.swift
│   │   │       │   └── View Modifiers/
│   │   │       │       ├── PopupAnchorModel.swift
│   │   │       │       ├── View+AccountSwitcherGesture.swift
│   │   │       │       ├── View+Background.swift
│   │   │       │       ├── View+ConditionalNavigationTitle.swift
│   │   │       │       ├── View+ContentMenu.swift
│   │   │       │       ├── View+ContextMenu.swift
│   │   │       │       ├── View+DynamicBlur.swift
│   │   │       │       ├── View+ExternalApiWarning.swift
│   │   │       │       ├── View+HiddenNavigationTitle.swift
│   │   │       │       ├── View+IsAtTopSubscriber.swift
│   │   │       │       ├── View+LoadFeed.swift
│   │   │       │       ├── View+MarkReadOnScroll.swift
│   │   │       │       ├── View+NavigationTransition.swift
│   │   │       │       ├── View+NavigtionStackPreview.swift
│   │   │       │       ├── View+OutdatedFeedPopup.swift
│   │   │       │       ├── View+PaletteBorder.swift
│   │   │       │       ├── View+PopupAnchor.swift
│   │   │       │       ├── View+QuickSwipes.swift
│   │   │       │       ├── View+Refreshable.swift
│   │   │       │       ├── View+ReloadOnAccountSwitch.swift
│   │   │       │       ├── View+SafeAreaBar.swift
│   │   │       │       ├── View+TabBarPreview.swift
│   │   │       │       ├── View+TabReselectConsumer.swift
│   │   │       │       └── View+WidthReader.swift
│   │   │       └── [BlockNode]+Extensions.swift
│   │   └── Views/
│   │       ├── Pages/
│   │       │   ├── Community/
│   │       │   │   ├── AdvancedSortView+SortButton.swift
│   │       │   │   ├── AdvancedSortView.swift
│   │       │   │   ├── CommunityAboutView.swift
│   │       │   │   ├── CommunityDetailsView.swift
│   │       │   │   ├── CommunitySearchSortPicker.swift
│   │       │   │   ├── CommunityStubResolutionPage.swift
│   │       │   │   ├── CommunityView+Logic.swift
│   │       │   │   ├── CommunityView.swift
│   │       │   │   ├── FeedSortPicker.swift
│   │       │   │   └── TopSortPicker.swift
│   │       │   ├── DeleteAccountView.swift
│   │       │   ├── Editors/
│   │       │   │   ├── CommentEditor/
│   │       │   │   │   ├── CommentEditorView+Context.swift
│   │       │   │   │   ├── CommentEditorView+Logic.swift
│   │       │   │   │   ├── CommentEditorView.swift
│   │       │   │   │   └── PostEditor/
│   │       │   │   │       ├── LinkEditorView.swift
│   │       │   │   │       ├── PostEditorTargetView.swift
│   │       │   │   │       ├── PostEditorView+ImageView.swift
│   │       │   │   │       ├── PostEditorView+LinkView.swift
│   │       │   │   │       ├── PostEditorView+Logic.swift
│   │       │   │   │       ├── PostEditorView+Toolbar.swift
│   │       │   │   │       ├── PostEditorView+Views.swift
│   │       │   │   │       ├── PostEditorView.swift
│   │       │   │   │       └── PostEditorWebsitePreviewView.swift
│   │       │   │   ├── CommunityDescriptionEditorView.swift
│   │       │   │   ├── ContentPurgeEditorView.swift
│   │       │   │   ├── ContentRemovalEditorView.swift
│   │       │   │   ├── FilterViolationWarning.swift
│   │       │   │   ├── NoteEditorView.swift
│   │       │   │   ├── PersonBanEditorView+Logic.swift
│   │       │   │   ├── PersonBanEditorView.swift
│   │       │   │   ├── RegistrationApplicationDenialEditorView.swift
│   │       │   │   └── ReportEditorView.swift
│   │       │   ├── ExternalApiInfoView.swift
│   │       │   ├── ImageViewer+Views.swift
│   │       │   ├── ImageViewer.swift
│   │       │   ├── Instance/
│   │       │   │   ├── Fediseer.swift
│   │       │   │   ├── FediseerInfoView.swift
│   │       │   │   ├── FediseerOpinionListView.swift
│   │       │   │   ├── FediseerOpinionView.swift
│   │       │   │   ├── InstanceCommunityListView.swift
│   │       │   │   ├── InstanceDetailsView.swift
│   │       │   │   ├── InstanceSafetyView.swift
│   │       │   │   ├── InstanceStubResolutionPage.swift
│   │       │   │   ├── InstanceUptimeView+Logic.swift
│   │       │   │   ├── InstanceUptimeView+Views.swift
│   │       │   │   ├── InstanceUptimeView.swift
│   │       │   │   ├── InstanceView+About.swift
│   │       │   │   ├── InstanceView+Logic.swift
│   │       │   │   ├── InstanceView.swift
│   │       │   │   └── UptimeData.swift
│   │       │   ├── MessageFeedView/
│   │       │   │   ├── MessageBubbleView.swift
│   │       │   │   ├── MessageFeedView+Logic.swift
│   │       │   │   └── MessageFeedView.swift
│   │       │   ├── Modlog/
│   │       │   │   ├── ModlogEntryView.swift
│   │       │   │   ├── ModlogView+Filters.swift
│   │       │   │   ├── ModlogView+Logic.swift
│   │       │   │   └── ModlogView.swift
│   │       │   ├── Person/
│   │       │   │   ├── PersonStubResolutionPage.swift
│   │       │   │   ├── PersonView+Logic.swift
│   │       │   │   └── PersonView.swift
│   │       │   ├── UploadConfirmationView.swift
│   │       │   └── VotesListView.swift
│   │       ├── Root/
│   │       │   ├── AppDelegate.swift
│   │       │   ├── ContentView+Logic.swift
│   │       │   ├── ContentView+Tab.swift
│   │       │   ├── ContentView.swift
│   │       │   ├── Login/
│   │       │   │   ├── LoginCredentialsView.swift
│   │       │   │   ├── LoginInstancePickerView.swift
│   │       │   │   ├── LoginTotpView.swift
│   │       │   │   ├── Onboarding/
│   │       │   │   │   ├── OnboardingEmailView.swift
│   │       │   │   │   ├── OnboardingModel.swift
│   │       │   │   │   ├── OnboardingRecommendInstanceView.swift
│   │       │   │   │   ├── OnboardingUsernameView.swift
│   │       │   │   │   └── OnboardingView.swift
│   │       │   │   ├── SignUpView+EmailConfirmationView.swift
│   │       │   │   ├── SignUpView+Logic.swift
│   │       │   │   ├── SignUpView+Views.swift
│   │       │   │   └── SignUpView.swift
│   │       │   ├── MlemApp.swift
│   │       │   ├── Tabs/
│   │       │   │   ├── Feeds/
│   │       │   │   │   ├── Components/
│   │       │   │   │   │   ├── FeedWelcomeView.swift
│   │       │   │   │   │   ├── HiddenReadBannerView.swift
│   │       │   │   │   │   ├── TileScoreView.swift
│   │       │   │   │   │   └── UpdateBannerView.swift
│   │       │   │   │   ├── Feed Comments/
│   │       │   │   │   │   ├── FeedCommentView.swift
│   │       │   │   │   │   └── TileCommentView.swift
│   │       │   │   │   ├── Feed Header/
│   │       │   │   │   │   ├── FeedDescription.swift
│   │       │   │   │   │   ├── FeedHeaderView.swift
│   │       │   │   │   │   └── FeedIconView.swift
│   │       │   │   │   ├── Feed Posts/
│   │       │   │   │   │   ├── CompactPostView.swift
│   │       │   │   │   │   ├── Feed Post Components/
│   │       │   │   │   │   │   ├── CrossPostListView.swift
│   │       │   │   │   │   │   ├── PostLinkHostView.swift
│   │       │   │   │   │   │   └── PostTag.swift
│   │       │   │   │   │   ├── FeedPostView.swift
│   │       │   │   │   │   ├── HeadlinePostBodyView.swift
│   │       │   │   │   │   ├── HeadlinePostView.swift
│   │       │   │   │   │   ├── LargePostBodyView.swift
│   │       │   │   │   │   ├── LargePostView.swift
│   │       │   │   │   │   ├── PostPollView.swift
│   │       │   │   │   │   └── TilePostView.swift
│   │       │   │   │   ├── FeedsView.swift
│   │       │   │   │   ├── SectionIndexTitles.swift
│   │       │   │   │   ├── SubscriptionListItemView.swift
│   │       │   │   │   ├── SubscriptionListNavigationButton.swift
│   │       │   │   │   ├── SubscriptionListView.swift
│   │       │   │   │   └── VisitAgainView.swift
│   │       │   │   ├── Inbox/
│   │       │   │   │   ├── InboxView+Types.swift
│   │       │   │   │   ├── InboxView+Views.swift
│   │       │   │   │   ├── InboxView.swift
│   │       │   │   │   └── MarkAllAsReadButton.swift
│   │       │   │   ├── Profile/
│   │       │   │   │   └── Profile View.swift
│   │       │   │   └── Settings/
│   │       │   │       ├── AboutMlemView.swift
│   │       │   │       ├── AccessibilitySettingsView.swift
│   │       │   │       ├── AccountAdvancedSettingsView.swift
│   │       │   │       ├── AccountAgeVisibilitySettingsView.swift
│   │       │   │       ├── AccountContentSettingsView.swift
│   │       │   │       ├── AccountEmailSettingsView.swift
│   │       │   │       ├── AccountListSettingsView.swift
│   │       │   │       ├── AccountLocalSettingsView.swift
│   │       │   │       ├── AccountNicknameFieldView.swift
│   │       │   │       ├── AccountSettingsView.swift
│   │       │   │       ├── AccountSignInSettingsView.swift
│   │       │   │       ├── AdvancedSettingsView.swift
│   │       │   │       ├── AnimatedAvatarSettingsView.swift
│   │       │   │       ├── BlockListView.swift
│   │       │   │       ├── ChangePasswordView.swift
│   │       │   │       ├── CommentJumpButtonSettingsView.swift
│   │       │   │       ├── CommentMaximumDepthSettingsView.swift
│   │       │   │       ├── CommentSettingsView.swift
│   │       │   │       ├── CommunitySettingsView.swift
│   │       │   │       ├── Components/
│   │       │   │       │   ├── ConditionalLabelStyleViewModifier.swift
│   │       │   │       │   ├── DevicePickerItem.swift
│   │       │   │       │   ├── SettingsDeviceView.swift
│   │       │   │       │   ├── SettingsHeaderView.swift
│   │       │   │       │   ├── SettingsInteractionBarSummaryView.swift
│   │       │   │       │   ├── SquircleLabelStyle.swift
│   │       │   │       │   └── ThemeLabel.swift
│   │       │   │       ├── ContextMenuSettingsView.swift
│   │       │   │       ├── DefaultFeedSettingsView.swift
│   │       │   │       ├── DeveloperSettingsView.swift
│   │       │   │       ├── Discussion Languages/
│   │       │   │       │   ├── DiscussionLanguageSettingsView.swift
│   │       │   │       │   ├── LanguageListRowBody.swift
│   │       │   │       │   └── LanguagePickerSheetView.swift
│   │       │   │       ├── DiscussionLanguageSettingsView.swift
│   │       │   │       ├── EmbeddingSettingsView.swift
│   │       │   │       ├── ErrorLogView.swift
│   │       │   │       ├── ExternalLinkSettingsView.swift
│   │       │   │       ├── FiltersSettingsView.swift
│   │       │   │       ├── GeneralSettingsView.swift
│   │       │   │       ├── HapticSettingsView.swift
│   │       │   │       ├── Icon/
│   │       │   │       │   ├── AlternateIcon.swift
│   │       │   │       │   ├── AlternateIconCell.swift
│   │       │   │       │   ├── AlternateIconLabel.swift
│   │       │   │       │   └── IconSettingsView.swift
│   │       │   │       ├── ImageViewerDismissSettingsView.swift
│   │       │   │       ├── ImageViewerSettingsView.swift
│   │       │   │       ├── ImageViewerShowControlsSettingsView.swift
│   │       │   │       ├── ImportExportSettingsView.swift
│   │       │   │       ├── InboxBadgeSettingsView.swift
│   │       │   │       ├── InboxSettingsView.swift
│   │       │   │       ├── InteractionBarEditor/
│   │       │   │       │   ├── InteractionBarEditorView+Logic.swift
│   │       │   │       │   ├── InteractionBarEditorView+Views.swift
│   │       │   │       │   ├── InteractionBarEditorView.swift
│   │       │   │       │   └── InteractionBarWidgetPickerView.swift
│   │       │   │       ├── LinkSettingsView.swift
│   │       │   │       ├── LongPressActionSettingsView.swift
│   │       │   │       ├── ModMailInteractionBarSettingsView.swift
│   │       │   │       ├── ModeratorActionSeparationSettingsView.swift
│   │       │   │       ├── ModeratorSettingsView.swift
│   │       │   │       ├── PostReadIndicatorSettingsView.swift
│   │       │   │       ├── PostSettingsView+PostSizePicker.swift
│   │       │   │       ├── PostSettingsView.swift
│   │       │   │       ├── PostSubscriptionIndicatorSettingsView.swift
│   │       │   │       ├── PostThumbnailSettingsView.swift
│   │       │   │       ├── PrivacyBypassImageProxySettingsView.swift
│   │       │   │       ├── PrivacySettingsView.swift
│   │       │   │       ├── ProfileSettingsView.swift
│   │       │   │       ├── SafetyBlurNsfwSettingsView.swift
│   │       │   │       ├── SafetySettingsView.swift
│   │       │   │       ├── SafetyWarningsSettingsView.swift
│   │       │   │       ├── SettingsView.swift
│   │       │   │       ├── SharingLinksSettingsView.swift
│   │       │   │       ├── SortingSettingsView.swift
│   │       │   │       ├── SubscriptionListSettingsView.swift
│   │       │   │       ├── SwipeActionEditorView.swift
│   │       │   │       ├── TabBarSettingsView.swift
│   │       │   │       ├── TappableLinksSettingsView.swift
│   │       │   │       ├── ThemeSettingsView.swift
│   │       │   │       └── ZoomSliderSettingsView.swift
│   │       │   └── TransitionView.swift
│   │       └── Shared/
│   │           ├── AccountPickerMenu.swift
│   │           ├── Accounts/
│   │           │   ├── AccountListView+Logic.swift
│   │           │   ├── AccountListView.swift
│   │           │   └── QuickSwitcherView.swift
│   │           ├── Avatar/
│   │           │   ├── AvatarBannerView.swift
│   │           │   ├── AvatarStackView.swift
│   │           │   ├── AvatarView.swift
│   │           │   ├── ProfileHeaderView.swift
│   │           │   └── SimpleAvatarView.swift
│   │           ├── Bubble Picker/
│   │           │   ├── BubblePickerView.swift
│   │           │   └── ChildSizeReader.swift
│   │           ├── BypassProxyWarningSheet.swift
│   │           ├── CommentBodyView.swift
│   │           ├── CommentView.swift
│   │           ├── ContentLoader.swift
│   │           ├── CustomTabBarController.swift
│   │           ├── CustomTabItem.swift
│   │           ├── CustomTabView.swift
│   │           ├── CustomTabViewHostingController.swift
│   │           ├── EllipsisMenu.swift
│   │           ├── EndOfFeedView.swift
│   │           ├── ErrorView.swift
│   │           ├── ExpandedPost/
│   │           │   ├── CommentPage.swift
│   │           │   ├── CommentStubResolutionPage.swift
│   │           │   ├── CommentTreeTracker.swift
│   │           │   ├── ExpandedPostHistoryTracker.swift
│   │           │   ├── ExpandedPostView+Logic.swift
│   │           │   ├── ExpandedPostView+Views.swift
│   │           │   ├── ExpandedPostView.swift
│   │           │   ├── MoreRepliesButton.swift
│   │           │   └── PostStubResolutionPage.swift
│   │           ├── ExpectedViews/
│   │           │   ├── ExpectedTextView.swift
│   │           │   ├── ExpectedView.swift
│   │           │   └── String+Placeholders.swift
│   │           ├── ExportableViews/
│   │           │   ├── ExportableCommentEditorView.swift
│   │           │   ├── ExportableCommentLoader.swift
│   │           │   ├── ExportableCommentView.swift
│   │           │   ├── ExportablePostEditorView.swift
│   │           │   ├── ExportablePostView.swift
│   │           │   └── ExportableViewComponents.swift
│   │           ├── FancyScrollView.swift
│   │           ├── FeedFilterButtonStyle.swift
│   │           ├── FeedToolbarOptions.swift
│   │           ├── FooterLinkView.swift
│   │           ├── Form/
│   │           │   ├── ActiveUserCountView.swift
│   │           │   ├── CollapsibleSection.swift
│   │           │   ├── FormReadout.swift
│   │           │   └── FormSection.swift
│   │           ├── HandleThreadiverseLinksModifier.swift
│   │           ├── ImageUploadMenu.swift
│   │           ├── Images/
│   │           │   ├── Core/
│   │           │   │   ├── MediaView+Logic.swift
│   │           │   │   ├── MediaView+Views.swift
│   │           │   │   └── MediaView.swift
│   │           │   ├── Helpers/
│   │           │   │   ├── AnimationControlLayer.swift
│   │           │   │   ├── NsfwOverlayView.swift
│   │           │   │   ├── PlayButton.swift
│   │           │   │   ├── SmallOverlayButtonLabel.swift
│   │           │   │   └── ZoomRecognizer/
│   │           │   │       ├── BridgeDragValue.swift
│   │           │   │       ├── CachedComputation.swift
│   │           │   │       ├── GestureRecognizers.swift
│   │           │   │       ├── MomentumStatus.swift
│   │           │   │       ├── ZoomCurves.swift
│   │           │   │       ├── ZoomRecognizer.swift
│   │           │   │       ├── ZoomRecognizerCoordinator+GestureRecognition.swift
│   │           │   │       ├── ZoomRecognizerCoordinator+Logic.swift
│   │           │   │       └── ZoomRecognizerCoordinator.swift
│   │           │   └── Wrappers/
│   │           │       ├── CircleCroppedImageView.swift
│   │           │       ├── SimpleAvatarView.swift
│   │           │       ├── ThumbnailImageView.swift
│   │           │       └── ZoomableImageView.swift
│   │           ├── InfoStackView.swift
│   │           ├── InteractionBar/
│   │           │   ├── InteractionBarActionLabelView.swift
│   │           │   └── InteractionBarView.swift
│   │           ├── JumpButtonView.swift
│   │           ├── Labels/
│   │           │   ├── FullyQualifiedLabelView.swift
│   │           │   ├── FullyQualifiedLinkView.swift
│   │           │   └── FullyQualifiedNameView.swift
│   │           ├── LinkHostView.swift
│   │           ├── ListRow/
│   │           │   ├── AccountListRow.swift
│   │           │   └── AccountListRowBody.swift
│   │           ├── MarkdownEditorToolbarView.swift
│   │           ├── MarkdownTextEditor.swift
│   │           ├── MarkdownWithLinkList.swift
│   │           ├── MenuButton.swift
│   │           ├── MessageView.swift
│   │           ├── ModlogButtonView.swift
│   │           ├── MultiplatformView.swift
│   │           ├── Navigation/
│   │           │   ├── LoginPage.swift
│   │           │   ├── NavigationLayer.swift
│   │           │   ├── NavigationLayerView.swift
│   │           │   ├── NavigationModel.swift
│   │           │   ├── NavigationPage+PresentationDetents.swift
│   │           │   ├── NavigationPage+View.swift
│   │           │   ├── NavigationPage.swift
│   │           │   ├── NavigationRootView.swift
│   │           │   ├── NavigationSearchType.swift
│   │           │   ├── SettingsPage.swift
│   │           │   └── View+NavigationSheetModifiers.swift
│   │           ├── Palette Components/
│   │           │   ├── Button.swift
│   │           │   ├── Divider.swift
│   │           │   ├── Form.swift
│   │           │   └── Section.swift
│   │           ├── PersonContentGridView+FeedLoaderType.swift
│   │           ├── PersonContentGridView.swift
│   │           ├── PostEllipsisMenus.swift
│   │           ├── PostGridView.swift
│   │           ├── ProfileDateView.swift
│   │           ├── ReadCheck.swift
│   │           ├── ReasonShortcutView.swift
│   │           ├── RefreshPopupView.swift
│   │           ├── RegistrationApplicationView.swift
│   │           ├── ReplyView.swift
│   │           ├── ReportView.swift
│   │           ├── RulesListView.swift
│   │           ├── RulesPickerView.swift
│   │           ├── Search/
│   │           │   ├── Home/
│   │           │   │   ├── EventRowView.swift
│   │           │   │   ├── SearchHomeCategoryLabelStyle.swift
│   │           │   │   ├── SearchHomeLabelStyle.swift
│   │           │   │   ├── SearchHomeListView.swift
│   │           │   │   ├── SearchHomeView.swift
│   │           │   │   ├── TopCommunitiesListView.swift
│   │           │   │   ├── TopInstancesListView.swift
│   │           │   │   └── TopPeopleListView.swift
│   │           │   ├── PasteLinkButtonView.swift
│   │           │   ├── Results/
│   │           │   │   ├── CommunityListRow.swift
│   │           │   │   ├── CommunityListRowBody.swift
│   │           │   │   ├── InstanceListRow.swift
│   │           │   │   ├── InstanceListRowBody.swift
│   │           │   │   ├── PersonListRow.swift
│   │           │   │   └── PersonListRowBody.swift
│   │           │   ├── SearchBar/
│   │           │   │   ├── DefaultTextInputType.swift
│   │           │   │   ├── SearchBar+NavigationView.swift
│   │           │   │   ├── SearchBar.swift
│   │           │   │   ├── SearchBarExtensions.swift
│   │           │   │   ├── View+WithSheetSearch.swift
│   │           │   │   └── _assignIfNotEqual.swift
│   │           │   ├── SearchResultsView.swift
│   │           │   ├── SearchSheetView.swift
│   │           │   ├── SearchView+CreatorPicker.swift
│   │           │   ├── SearchView+FilterModels.swift
│   │           │   ├── SearchView+FiltersView.swift
│   │           │   ├── SearchView+InstancePicker.swift
│   │           │   ├── SearchView+LocationPicker.swift
│   │           │   ├── SearchView+Logic.swift
│   │           │   ├── SearchView+Views.swift
│   │           │   ├── SearchView.swift
│   │           │   ├── Searchable.swift
│   │           │   ├── VisitHistory+CodedData.swift
│   │           │   └── VisitHistory.swift
│   │           ├── SelectTextView.swift
│   │           ├── ShareInstancePickerView.swift
│   │           ├── ShieldsBadgeView/
│   │           │   ├── ShieldsBadgeView+Logic.swift
│   │           │   └── ShieldsBadgeView.swift
│   │           ├── Toast/
│   │           │   ├── Toast.swift
│   │           │   ├── ToastLocation.swift
│   │           │   ├── ToastModel.swift
│   │           │   ├── ToastOverlayView.swift
│   │           │   ├── ToastType.swift
│   │           │   └── ToastView.swift
│   │           ├── ToolbarEllipsisMenu.swift
│   │           ├── WarningOverlayView.swift
│   │           ├── WarningView.swift
│   │           ├── WebView.swift
│   │           └── WebsitePreviewView.swift
│   ├── Assets.xcassets/
│   │   ├── AppIcon.appiconset/
│   │   │   └── Contents.json
│   │   ├── Contents.json
│   │   ├── Default Community.imageset/
│   │   │   └── Contents.json
│   │   ├── Icon Previews/
│   │   │   ├── Contents.json
│   │   │   ├── icon.eric.lemmy.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.alien.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.green.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.ocean.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.orange.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pink.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pride.preview.imageset/
│   │   │   │   └── Contents.json
│   │   │   └── icon.sjmarf.silver.preview.imageset/
│   │   │       └── Contents.json
│   │   ├── Icons/
│   │   │   ├── Contents.json
│   │   │   ├── icon.eric.lemmy.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.alien.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.green.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.ocean.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.orange.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pink.appiconset/
│   │   │   │   └── Contents.json
│   │   │   ├── icon.sjmarf.pride.appiconset/
│   │   │   │   └── Contents.json
│   │   │   └── icon.sjmarf.silver.appiconset/
│   │   │       └── Contents.json
│   │   ├── Symbols/
│   │   │   ├── Contents.json
│   │   │   ├── discord.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── github.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── lemmy.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   ├── mastodon.logo.symbolset/
│   │   │   │   └── Contents.json
│   │   │   └── matrix.logo.symbolset/
│   │   │       └── Contents.json
│   │   ├── background.earth.imageset/
│   │   │   └── Contents.json
│   │   ├── background.trees.imageset/
│   │   │   └── Contents.json
│   │   ├── logo.imageset/
│   │   │   └── Contents.json
│   │   └── nsfw.symbolset/
│   │       └── Contents.json
│   ├── Info.plist
│   ├── Localizable.xcstrings
│   ├── Mlem.entitlements
│   ├── Mlem.xcdatamodeld/
│   │   ├── .xccurrentversion
│   │   └── Mlem.xcdatamodel/
│   │       └── contents
│   ├── Packages/
│   │   ├── Actions/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Actions/
│   │   │           ├── Action.swift
│   │   │           ├── ActionLabel.swift
│   │   │           ├── ActionSeed.swift
│   │   │           ├── ActionVisiblity.swift
│   │   │           ├── BasicAction.swift
│   │   │           ├── SimpleLabelAction.swift
│   │   │           └── Views/
│   │   │               ├── ActionButtonWithVisibilityControl.swift
│   │   │               ├── ActionButtons.swift
│   │   │               ├── Button+Extensions.swift
│   │   │               └── Label+Extensions.swift
│   │   ├── ComponentViews/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── ComponentViews/
│   │   │           ├── ButtonStyle/
│   │   │           │   ├── CapsuleButtonStyle.swift
│   │   │           │   ├── ChevronButtonStyle.swift
│   │   │           │   └── EmptyButtonStyle.swift
│   │   │           ├── Checkbox.swift
│   │   │           ├── CloseButtonToolbarItem.swift
│   │   │           ├── CloseButtonView.swift
│   │   │           ├── CollapsibleSheetView.swift
│   │   │           ├── FitContentPresentationDetentViewModifier.swift
│   │   │           ├── FormChevron.swift
│   │   │           ├── KeyboardAwarePadding.swift
│   │   │           ├── Line.swift
│   │   │           ├── MockTextView.swift
│   │   │           ├── OptimalHeightLayout.swift
│   │   │           ├── View+GlassProminentButtonStyle.swift
│   │   │           └── View+VersionAwareDialog.swift
│   │   ├── FediverseEvents/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── FediverseEvents/
│   │   │           ├── Event.swift
│   │   │           ├── EventsClient+Requests.swift
│   │   │           ├── EventsClient.swift
│   │   │           └── Requests/
│   │   │               └── ListEventsRequest.swift
│   │   ├── Haptics/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Haptics/
│   │   │           ├── Haptic.swift
│   │   │           ├── HapticError.swift
│   │   │           ├── HapticLevel.swift
│   │   │           ├── HapticManager.swift
│   │   │           ├── Resources/
│   │   │           │   ├── Failure/
│   │   │           │   │   └── Failure.ahap
│   │   │           │   ├── Info/
│   │   │           │   │   ├── Firm Info.ahap
│   │   │           │   │   ├── Gentle Info.ahap
│   │   │           │   │   ├── Mushy Info.ahap
│   │   │           │   │   └── Rigid Info.ahap
│   │   │           │   └── Success/
│   │   │           │       ├── Destructive Success.ahap
│   │   │           │       ├── Light Success.ahap
│   │   │           │       ├── Success.ahap
│   │   │           │       └── Violent Success.ahap
│   │   │           └── View+Haptic.swift
│   │   ├── Icons/
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Icons/
│   │   │           ├── Icon+Fediseer.swift
│   │   │           ├── Icon+General.swift
│   │   │           ├── Icon+Lemmy.swift
│   │   │           ├── Icon+Markdown.swift
│   │   │           ├── Icon+Settings.swift
│   │   │           ├── Icon+Uptime.swift
│   │   │           ├── Icon.swift
│   │   │           └── ViewExtensions/
│   │   │               ├── Button+Extensions.swift
│   │   │               ├── Image+Extensions.swift
│   │   │               ├── Label+Extensions.swift
│   │   │               ├── Menu+Extensions.swift
│   │   │               ├── Picker+Extensions.swift
│   │   │               ├── Toggle+Extensions.swift
│   │   │               └── UIImage+Extensions.swift
│   │   ├── Media/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── Media/
│   │   │           └── Resources/
│   │   │               ├── Core/
│   │   │               │   ├── Animated/
│   │   │               │   │   ├── AnimatedImageView.swift
│   │   │               │   │   └── VideoView.swift
│   │   │               │   ├── CoreMediaView+Logic.swift
│   │   │               │   ├── CoreMediaView.swift
│   │   │               │   ├── MediaControlState.swift
│   │   │               │   └── MediaLoader.swift
│   │   │               ├── Decoders/
│   │   │               │   ├── MlemVideoDecoder.swift
│   │   │               │   └── NukeWebpBridgeDecoder.swift
│   │   │               └── Extensions/
│   │   │                   ├── AVPlayer+Extensions.swift
│   │   │                   └── CGSize+Extensions.swift
│   │   ├── MlemBackend/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── MlemBackend/
│   │   │           ├── BackendClient+Requests.swift
│   │   │           ├── BackendClient.swift
│   │   │           ├── BackendClientError.swift
│   │   │           ├── BackendHealthCheck.swift
│   │   │           ├── InstanceSummary.swift
│   │   │           ├── InstanceSummarySoftware.swift
│   │   │           ├── JSONDecoder+Extensions.swift
│   │   │           ├── MlemDeveloper.swift
│   │   │           ├── MlemFlairs.swift
│   │   │           ├── Requests/
│   │   │           │   ├── BackendGetTestflightUpdateRequest.swift
│   │   │           │   ├── BackendHealthCheckRequest.swift
│   │   │           │   ├── BackendListFlairsRequest.swift
│   │   │           │   └── BackendListInstancesRequest.swift
│   │   │           └── TestflightUpdate.swift
│   │   ├── MlemLogger/
│   │   │   ├── .gitignore
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── MlemLogger/
│   │   │           └── MlemLogger.swift
│   │   ├── MlemMiddleware/
│   │   │   ├── .gitignore
│   │   │   ├── CODEOWNERS
│   │   │   ├── LICENSE
│   │   │   ├── NOTICE.md
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   ├── Sources/
│   │   │   │   └── MlemMiddleware/
│   │   │   │       ├── API Client/
│   │   │   │       │   ├── ApiClient+Caches.swift
│   │   │   │       │   ├── ApiClient+Comment.swift
│   │   │   │       │   ├── ApiClient+Community.swift
│   │   │   │       │   ├── ApiClient+General.swift
│   │   │   │       │   ├── ApiClient+Image.swift
│   │   │   │       │   ├── ApiClient+Inbox.swift
│   │   │   │       │   ├── ApiClient+Instance.swift
│   │   │   │       │   ├── ApiClient+Mock.swift
│   │   │   │       │   ├── ApiClient+Person.swift
│   │   │   │       │   ├── ApiClient+Post.swift
│   │   │   │       │   ├── ApiClient+RegistrationApplication.swift
│   │   │   │       │   ├── ApiClient+Report.swift
│   │   │   │       │   ├── ApiClient.swift
│   │   │   │       │   ├── ApiClientError.swift
│   │   │   │       │   ├── ApiErrorResponse.swift
│   │   │   │       │   ├── ApiSession.swift
│   │   │   │       │   ├── Caching/
│   │   │   │       │   │   ├── ApiTypeBackedCache.swift
│   │   │   │       │   │   ├── Atomic.swift
│   │   │   │       │   │   ├── Caches/
│   │   │   │       │   │   │   ├── CommentCaches.swift
│   │   │   │       │   │   │   ├── CommunityCache.swift
│   │   │   │       │   │   │   ├── ImageUploadCaches.swift
│   │   │   │       │   │   │   ├── InstanceCache.swift
│   │   │   │       │   │   │   ├── MessageCaches.swift
│   │   │   │       │   │   │   ├── NotificationCaches.swift
│   │   │   │       │   │   │   ├── PersonCache.swift
│   │   │   │       │   │   │   ├── PersonVoteCaches.swift
│   │   │   │       │   │   │   ├── PostCache.swift
│   │   │   │       │   │   │   ├── RegistrationApplicationCaches.swift
│   │   │   │       │   │   │   └── ReportCaches.swift
│   │   │   │       │   │   ├── Conformance/
│   │   │   │       │   │   │   ├── ImageUpload+CacheExtensions.swift
│   │   │   │       │   │   │   ├── InboxNotification+CacheExtensions.swift
│   │   │   │       │   │   │   ├── Message+CacheExtensions.swift
│   │   │   │       │   │   │   ├── RegistrationApplication+CacheExtensions.swift
│   │   │   │       │   │   │   └── Report+CacheExtensions.swift
│   │   │   │       │   │   └── CoreCache.swift
│   │   │   │       │   └── Helpers/
│   │   │   │       │       ├── MarkReadQueue.swift
│   │   │   │       │       └── SharedTaskManager.swift
│   │   │   │       ├── API Repository/
│   │   │   │       │   ├── ApiRepository+Comment.swift
│   │   │   │       │   ├── ApiRepository+Community.swift
│   │   │   │       │   ├── ApiRepository+General.swift
│   │   │   │       │   ├── ApiRepository+Image.swift
│   │   │   │       │   ├── ApiRepository+Inbox.swift
│   │   │   │       │   ├── ApiRepository+Instance.swift
│   │   │   │       │   ├── ApiRepository+Mock.swift
│   │   │   │       │   ├── ApiRepository+Person.swift
│   │   │   │       │   ├── ApiRepository+Post.swift
│   │   │   │       │   ├── ApiRepository+RegistrationApplication.swift
│   │   │   │       │   ├── ApiRepository+Report.swift
│   │   │   │       │   ├── ApiRepository.swift
│   │   │   │       │   └── ConnectionMultiplexer.swift
│   │   │   │       ├── Bridges/
│   │   │   │       │   ├── LemmyBlockBridge.swift
│   │   │   │       │   ├── LemmyInstanceWithFederationStateBridge.swift
│   │   │   │       │   ├── LemmySortTypeBridge.swift
│   │   │   │       │   └── LemmyVoteShowBridge.swift
│   │   │   │       ├── Constants/
│   │   │   │       │   └── MiddlewareConstants.swift
│   │   │   │       ├── Content Models/
│   │   │   │       │   ├── ActiveUserCount.swift
│   │   │   │       │   ├── ActorIdentifiable.swift
│   │   │   │       │   ├── ActorIdentifier.swift
│   │   │   │       │   ├── BlockList.swift
│   │   │   │       │   ├── BlockListSnapshot.swift
│   │   │   │       │   ├── CanModerateProviding.swift
│   │   │   │       │   ├── Captcha.swift
│   │   │   │       │   ├── CaptchaDifficulty.swift
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   ├── Comment+Conformance.swift
│   │   │   │       │   │   ├── Comment+Mock.swift
│   │   │   │       │   │   ├── Comment.swift
│   │   │   │       │   │   ├── CommentProducing.swift
│   │   │   │       │   │   ├── CommentProperties.swift
│   │   │   │       │   │   └── CommentStub.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   ├── Community+Conformance.swift
│   │   │   │       │   │   ├── Community+Mock.swift
│   │   │   │       │   │   ├── Community.swift
│   │   │   │       │   │   ├── CommunityProperties.swift
│   │   │   │       │   │   └── CommunityStub.swift
│   │   │   │       │   ├── CommunityOrPersonStub.swift
│   │   │   │       │   ├── ContentModel.swift
│   │   │   │       │   ├── ContentModelUrlType.swift
│   │   │   │       │   ├── ContentType.swift
│   │   │   │       │   ├── DeletableProviding.swift
│   │   │   │       │   ├── Feature.swift
│   │   │   │       │   ├── FederationPolicy.swift
│   │   │   │       │   ├── FederationStatus.swift
│   │   │   │       │   ├── GetContentFilter.swift
│   │   │   │       │   ├── ImageUpload/
│   │   │   │       │   │   ├── ImageUpload1.swift
│   │   │   │       │   │   └── ImageUpload1Providing.swift
│   │   │   │       │   ├── InboxItemProviding.swift
│   │   │   │       │   ├── Instance/
│   │   │   │       │   │   ├── Instance+Conformance.swift
│   │   │   │       │   │   ├── Instance.swift
│   │   │   │       │   │   ├── InstanceProperties.swift
│   │   │   │       │   │   └── InstanceStub.swift
│   │   │   │       │   ├── InstanceBanType.swift
│   │   │   │       │   ├── InstanceUrlBlockRecord.swift
│   │   │   │       │   ├── Interactable/
│   │   │   │       │   │   └── InteractableProviding.swift
│   │   │   │       │   ├── Internal/
│   │   │   │       │   │   ├── LemmyURL.swift
│   │   │   │       │   │   ├── ScoringOperation.swift
│   │   │   │       │   │   ├── SiteSoftware/
│   │   │   │       │   │   │   ├── SiteSoftware.swift
│   │   │   │       │   │   │   └── SiteSoftwareType.swift
│   │   │   │       │   │   └── SiteVersion/
│   │   │   │       │   │       ├── SiteVersion+EndpointVersion.swift
│   │   │   │       │   │       └── SiteVersion.swift
│   │   │   │       │   ├── LemmyExtensions/
│   │   │   │       │   │   ├── BlockListSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Comment1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Comment2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── CommentSortType+Lemmy.swift
│   │   │   │       │   │   ├── Community1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Community2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Community3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── FederationMode+Lemmy.swift
│   │   │   │       │   │   ├── ImageUpload1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── InboxNotificationSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Instance3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── LegacySortTimeRangeLimit+Lemmy.swift
│   │   │   │       │   │   ├── LemmyPersonSavedCombinedView+Extensions.swift
│   │   │   │       │   │   ├── ListingType+Lemmy.swift
│   │   │   │       │   │   ├── Locale.Language+Lemmy.swift
│   │   │   │       │   │   ├── Message1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Message2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── ModlogEntryContentSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── ModlogEntrySnapshot+Lemmy.swift
│   │   │   │       │   │   ├── PagedResponseUnion+Extensions.swift
│   │   │   │       │   │   ├── Person1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Person4Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── PersonVoteSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── PersonalUnreadCountSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post1Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post2Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── Post3Snapshot+Lemmy.swift
│   │   │   │       │   │   ├── PostFeatureType+Lemmy.swift
│   │   │   │       │   │   ├── PostSortType+Lemmy.swift
│   │   │   │       │   │   ├── RegistrationApplicationSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── RegistrationMode+Lemmy.swift
│   │   │   │       │   │   ├── ReportSnapshot+Lemmy.swift
│   │   │   │       │   │   ├── ResolvedContent+Lemmy.swift
│   │   │   │       │   │   ├── SearchSortType+Lemmy.swift
│   │   │   │       │   │   └── SortTimeRange+Lemmy.swift
│   │   │   │       │   ├── ListingType.swift
│   │   │   │       │   ├── Message/
│   │   │   │       │   │   ├── Message1.swift
│   │   │   │       │   │   ├── Message1Providing+Snapshots.swift
│   │   │   │       │   │   ├── Message1Providing.swift
│   │   │   │       │   │   ├── Message2.swift
│   │   │   │       │   │   ├── Message2Providing+Snapshots.swift
│   │   │   │       │   │   └── Message2Providing.swift
│   │   │   │       │   ├── Modlog/
│   │   │   │       │   │   ├── ModlogEntry.swift
│   │   │   │       │   │   └── ModlogEntryContent.swift
│   │   │   │       │   ├── ModlogEntryType.swift
│   │   │   │       │   ├── Notification/
│   │   │   │       │   │   ├── InboxNotification+Snapshots.swift
│   │   │   │       │   │   ├── InboxNotification.swift
│   │   │   │       │   │   └── InboxNotificationContent.swift
│   │   │   │       │   ├── OwnershipProviding.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   ├── Person+Conformance.swift
│   │   │   │       │   │   ├── Person.swift
│   │   │   │       │   │   ├── Person1+Mock.swift
│   │   │   │       │   │   ├── PersonProperties.swift
│   │   │   │       │   │   └── PersonStub.swift
│   │   │   │       │   ├── PersonVote/
│   │   │   │       │   │   ├── PersonVote+CacheExtensions.swift
│   │   │   │       │   │   └── PersonVote.swift
│   │   │   │       │   ├── PersonalUnreadCountSnapshot.swift
│   │   │   │       │   ├── PieFedExtensions/
│   │   │   │       │   │   ├── BlockListSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Comment1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Comment2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── CommentSortType+PieFed.swift
│   │   │   │       │   │   ├── Community1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Community2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Community3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── ImageUpload1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── InboxNotificationSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Instance3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── LegacySortTimeRangeLimit+PieFed.swift
│   │   │   │       │   │   ├── ListingType+PieFed.swift
│   │   │   │       │   │   ├── Locale.Language+PieFed.swift
│   │   │   │       │   │   ├── Message1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Message2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Person4Snapshot+PieFed.swift
│   │   │   │       │   │   ├── PersonVoteSnapshot+PieFed.swift
│   │   │   │       │   │   ├── PersonalUnreadCountSnapshot+PieFed.swift
│   │   │   │       │   │   ├── Post1Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Post2Snapshot+PieFed.swift
│   │   │   │       │   │   ├── Post3Snapshot+PieFed.swift
│   │   │   │       │   │   ├── PostFeatureType+PieFed.swift
│   │   │   │       │   │   ├── PostPoll+PieFed.swift
│   │   │   │       │   │   ├── PostSortType+PieFed.swift
│   │   │   │       │   │   ├── RegistrationMode+PieFed.swift
│   │   │   │       │   │   ├── ReportSnapshot+PieFed.swift
│   │   │   │       │   │   ├── ResolvedContent+PieFed.swift
│   │   │   │       │   │   ├── SearchSortType+PieFed.swift
│   │   │   │       │   │   └── SortTimeRange+PieFed.swift
│   │   │   │       │   ├── Post/
│   │   │   │       │   │   ├── Post+Conformance.swift
│   │   │   │       │   │   ├── Post+Mock.swift
│   │   │   │       │   │   ├── Post.swift
│   │   │   │       │   │   ├── PostPoll.swift
│   │   │   │       │   │   ├── PostProperties.swift
│   │   │   │       │   │   └── PostStub.swift
│   │   │   │       │   ├── PostFeatureType.swift
│   │   │   │       │   ├── PostFeedViewMode.swift
│   │   │   │       │   ├── PostLink.swift
│   │   │   │       │   ├── PostType.swift
│   │   │   │       │   ├── Profile/
│   │   │   │       │   │   └── ProfileProviding.swift
│   │   │   │       │   ├── PurgableProviding.swift
│   │   │   │       │   ├── ReadableProviding.swift
│   │   │   │       │   ├── RegistrationApplication/
│   │   │   │       │   │   └── RegistrationApplication.swift
│   │   │   │       │   ├── RegistrationMode.swift
│   │   │   │       │   ├── RemovableProviding.swift
│   │   │   │       │   ├── Report/
│   │   │   │       │   │   ├── Report.swift
│   │   │   │       │   │   └── ReportTarget.swift
│   │   │   │       │   ├── ReportUnreadCountSnapshot.swift
│   │   │   │       │   ├── ReportableProviding.swift
│   │   │   │       │   ├── Resolvable.swift
│   │   │   │       │   ├── ResolvedContent.swift
│   │   │   │       │   ├── SelectableContentProviding.swift
│   │   │   │       │   ├── Sharable.swift
│   │   │   │       │   ├── Shared/
│   │   │   │       │   │   ├── UnifiedModelProviding.swift
│   │   │   │       │   │   ├── UnifiedPropertiesProviding.swift
│   │   │   │       │   │   └── ValueProviding/
│   │   │   │       │   │       ├── ExpectedValue.swift
│   │   │   │       │   │       ├── RealizedValue.swift
│   │   │   │       │   │       ├── SyntheticExpectedValue.swift
│   │   │   │       │   │       ├── SyntheticRealizedValue.swift
│   │   │   │       │   │       ├── ValueProviding.swift
│   │   │   │       │   │       └── ValueSynthesizer.swift
│   │   │   │       │   ├── SignUpResponse.swift
│   │   │   │       │   ├── Sort Types/
│   │   │   │       │   │   ├── CommentSortType.swift
│   │   │   │       │   │   ├── LegacySortTimeRange.swift
│   │   │   │       │   │   ├── PostSortType.swift
│   │   │   │       │   │   ├── SearchSortType.swift
│   │   │   │       │   │   └── SortTimeRange.swift
│   │   │   │       │   ├── StateManager.swift
│   │   │   │       │   ├── SubscriptionList.swift
│   │   │   │       │   ├── SubscriptionModel.swift
│   │   │   │       │   ├── UnreadCount.swift
│   │   │   │       │   ├── UpdateQueues/
│   │   │   │       │   │   ├── InboxNotificationUpdateQueue.swift
│   │   │   │       │   │   ├── Queue.swift
│   │   │   │       │   │   ├── UnifiedUpdateQueue.swift
│   │   │   │       │   │   └── UpdateStatus.swift
│   │   │   │       │   └── VotesModel.swift
│   │   │   │       ├── Custom API Models/
│   │   │   │       │   ├── ApiPictrsFile.swift
│   │   │   │       │   ├── ApiPictrsUploadResponse.swift
│   │   │   │       │   ├── Extensions/
│   │   │   │       │   │   ├── APIComment+Extensions.swift
│   │   │   │       │   │   ├── APIPost+Extensions.swift
│   │   │   │       │   │   ├── APISubscribedType+Extensions.swift
│   │   │   │       │   │   ├── ApiCommentAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiCommunityAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiCommunityFollowerState+Extensions.swift
│   │   │   │       │   │   ├── ApiGetModlogResponse+Extensions.swift
│   │   │   │       │   │   ├── ApiPersonAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiPostAggregates+Extensions.swift
│   │   │   │       │   │   ├── ApiPrivateMessageReportView+Extensions.swift
│   │   │   │       │   │   ├── ApiSiteAggregates+Extensions.swift
│   │   │   │       │   │   ├── PieFedCommentAggregates+Extensions.swift
│   │   │   │       │   │   ├── PieFedPostAggregates+Extensions.swift
│   │   │   │       │   │   └── PieFedSubscribedType+Extensions.swift
│   │   │   │       │   └── LemmyPagedResponse.swift
│   │   │   │       ├── Extensions/
│   │   │   │       │   ├── Array+Extensions.swift
│   │   │   │       │   ├── Bool+Extensions.swift
│   │   │   │       │   ├── InstanceSummarySoftware+Extensions.swift
│   │   │   │       │   ├── RandomAccessCollection+Extensions.swift
│   │   │   │       │   ├── RangeReplaceableCollection+Extensions.swift
│   │   │   │       │   ├── String+Extensions.swift
│   │   │   │       │   └── URL+Extensions.swift
│   │   │   │       ├── FeedLoaders/
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   └── SearchCommentFeedLoader.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   └── CommunityFeedLoader.swift
│   │   │   │       │   ├── DualSourceMixed/
│   │   │   │       │   │   ├── CommentChildFeedLoader.swift
│   │   │   │       │   │   ├── DualSourceMixedFeedLoader.swift
│   │   │   │       │   │   └── PostChildFeedLoader.swift
│   │   │   │       │   ├── Filtering/
│   │   │   │       │   │   ├── FilterContext.swift
│   │   │   │       │   │   ├── FilterProviding.swift
│   │   │   │       │   │   ├── Filterable.swift
│   │   │   │       │   │   ├── Filters/
│   │   │   │       │   │   │   ├── CommentFilter.swift
│   │   │   │       │   │   │   ├── DedupeFilter.swift
│   │   │   │       │   │   │   ├── InboxDedupeFilter.swift
│   │   │   │       │   │   │   ├── Post/
│   │   │   │       │   │   │   │   ├── PostKeywordFilter.swift
│   │   │   │       │   │   │   │   └── PostLiteralFilter.swift
│   │   │   │       │   │   │   ├── ReadFilter.swift
│   │   │   │       │   │   │   └── UserContentFilter.swift
│   │   │   │       │   │   ├── InboxItemFilter.swift
│   │   │   │       │   │   ├── ModMailItemFilter.swift
│   │   │   │       │   │   ├── ModlogItemFilter.swift
│   │   │   │       │   │   ├── MultiFilter.swift
│   │   │   │       │   │   └── PostFilter.swift
│   │   │   │       │   ├── Generics/
│   │   │   │       │   │   ├── ChildFeedLoader.swift
│   │   │   │       │   │   ├── FeedLoaderItem.swift
│   │   │   │       │   │   ├── FeedLoaderSort.swift
│   │   │   │       │   │   ├── FeedLoading.swift
│   │   │   │       │   │   ├── FeedLoadingState.swift
│   │   │   │       │   │   ├── Fetcher.swift
│   │   │   │       │   │   ├── LoadingActor.swift
│   │   │   │       │   │   ├── MultiFetcher.swift
│   │   │   │       │   │   ├── PrefetchingFeedLoader.swift
│   │   │   │       │   │   └── StandardFeedLoader.swift
│   │   │   │       │   ├── Helpers/
│   │   │   │       │   │   └── Thresholds.swift
│   │   │   │       │   ├── Inbox/
│   │   │   │       │   │   ├── InboxFeedLoader/
│   │   │   │       │   │   │   ├── InboxChildFeedLoader.swift
│   │   │   │       │   │   │   ├── InboxFeedLoader.swift
│   │   │   │       │   │   │   ├── InboxFetcher.swift
│   │   │   │       │   │   │   ├── MentionChildFeedLoader.swift
│   │   │   │       │   │   │   ├── MessageChildFeedLoader.swift
│   │   │   │       │   │   │   ├── MessageFeedLoader.swift
│   │   │   │       │   │   │   └── ReplyChildFeedLoader.swift
│   │   │   │       │   │   ├── InboxFeedLoading.swift
│   │   │   │       │   │   ├── InboxIdentifiable.swift
│   │   │   │       │   │   └── ModMailFeedLoader/
│   │   │   │       │   │       ├── ApplicationChildFeedLoader.swift
│   │   │   │       │   │       ├── CommentReportChildFeedLoader.swift
│   │   │   │       │   │       ├── MessageReportChildFeedLoader.swift
│   │   │   │       │   │       ├── ModMailChildFeedLoader.swift
│   │   │   │       │   │       ├── ModMailFeedLoader.swift
│   │   │   │       │   │       ├── ModMailFetcher.swift
│   │   │   │       │   │       ├── ModMailItem.swift
│   │   │   │       │   │       ├── PostReportChildFeedLoader.swift
│   │   │   │       │   │       └── ReportChildFeedLoader.swift
│   │   │   │       │   ├── Modlog/
│   │   │   │       │   │   ├── ModlogChildFeedLoader.swift
│   │   │   │       │   │   ├── ModlogChildFetcher+SharedCache.swift
│   │   │   │       │   │   ├── ModlogChildFetcher.swift
│   │   │   │       │   │   └── ModlogFeedLoader.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   └── PersonFeedLoader.swift
│   │   │   │       │   ├── Post Feed Loaders/
│   │   │   │       │   │   ├── AggregatePostFeedLoader.swift
│   │   │   │       │   │   ├── CommunityPostFeedLoader.swift
│   │   │   │       │   │   ├── CorePostFeedLoader.swift
│   │   │   │       │   │   └── SearchPostFeedLoader.swift
│   │   │   │       │   ├── Prefetching/
│   │   │   │       │   │   ├── ImagePrefetchProviding.swift
│   │   │   │       │   │   └── PrefetchingConfiguration.swift
│   │   │   │       │   └── SingleSourceMixedFeedLoader/
│   │   │   │       │       ├── PersonContent.swift
│   │   │   │       │       ├── PersonContentProviding.swift
│   │   │   │       │       ├── PersonContentStream.swift
│   │   │   │       │       └── SingleSourceMixedFeedLoader.swift
│   │   │   │       ├── InstanceConnection/
│   │   │   │       │   ├── InstanceConnection.swift
│   │   │   │       │   ├── LemmyConnection/
│   │   │   │       │   │   ├── LemmyConnection+Comment.swift
│   │   │   │       │   │   ├── LemmyConnection+Community.swift
│   │   │   │       │   │   ├── LemmyConnection+Context.swift
│   │   │   │       │   │   ├── LemmyConnection+Feature.swift
│   │   │   │       │   │   ├── LemmyConnection+General.swift
│   │   │   │       │   │   ├── LemmyConnection+Image.swift
│   │   │   │       │   │   ├── LemmyConnection+Inbox.swift
│   │   │   │       │   │   ├── LemmyConnection+Instance.swift
│   │   │   │       │   │   ├── LemmyConnection+Person.swift
│   │   │   │       │   │   ├── LemmyConnection+Post.swift
│   │   │   │       │   │   ├── LemmyConnection+RegistrationApplication.swift
│   │   │   │       │   │   ├── LemmyConnection+Report.swift
│   │   │   │       │   │   └── LemmyConnection.swift
│   │   │   │       │   └── PiefedConnection/
│   │   │   │       │       ├── PieFedConnection+Comment.swift
│   │   │   │       │       ├── PieFedConnection+Community.swift
│   │   │   │       │       ├── PieFedConnection+Feature.swift
│   │   │   │       │       ├── PieFedConnection+General.swift
│   │   │   │       │       ├── PieFedConnection+Image.swift
│   │   │   │       │       ├── PieFedConnection+Inbox.swift
│   │   │   │       │       ├── PieFedConnection+Instance.swift
│   │   │   │       │       ├── PieFedConnection+Person.swift
│   │   │   │       │       ├── PieFedConnection+Post.swift
│   │   │   │       │       ├── PieFedConnection+RegistrationApplication.swift
│   │   │   │       │       ├── PieFedConnection+Report.swift
│   │   │   │       │       ├── PieFedConnection.swift
│   │   │   │       │       └── PieFedLemmyCompatible/
│   │   │   │       │           └── PieFedLemmyCompatibleSite.swift
│   │   │   │       ├── Protocols/
│   │   │   │       │   ├── APIContentAggregatesProtocol.swift
│   │   │   │       │   └── UpgradableProtocol.swift
│   │   │   │       ├── Snapshot/
│   │   │   │       │   ├── Comment/
│   │   │   │       │   │   ├── Comment1Snapshot.swift
│   │   │   │       │   │   ├── Comment2Snapshot.swift
│   │   │   │       │   │   └── CommentSnapshotProviding.swift
│   │   │   │       │   ├── Community/
│   │   │   │       │   │   ├── Community1Snapshot.swift
│   │   │   │       │   │   ├── Community2Snapshot.swift
│   │   │   │       │   │   └── Community3Snapshot.swift
│   │   │   │       │   ├── ImageUpload/
│   │   │   │       │   │   └── ImageUpload1Snapshot.swift
│   │   │   │       │   ├── Instance/
│   │   │   │       │   │   ├── Instance1Snapshot.swift
│   │   │   │       │   │   ├── Instance2Snapshot.swift
│   │   │   │       │   │   └── Instance3Snapshot.swift
│   │   │   │       │   ├── Message/
│   │   │   │       │   │   ├── Message1Snapshot.swift
│   │   │   │       │   │   └── Message2Snapshot.swift
│   │   │   │       │   ├── ModlogEntry/
│   │   │   │       │   │   ├── ModlogEntryContentSnapshot.swift
│   │   │   │       │   │   └── ModlogEntrySnapshot.swift
│   │   │   │       │   ├── Notification/
│   │   │   │       │   │   └── InboxNotificationSnapshot.swift
│   │   │   │       │   ├── Person/
│   │   │   │       │   │   ├── Person1Snapshot.swift
│   │   │   │       │   │   ├── Person2Snapshot.swift
│   │   │   │       │   │   ├── Person3Snapshot.swift
│   │   │   │       │   │   └── Person4Snapshot.swift
│   │   │   │       │   ├── PersonVote/
│   │   │   │       │   │   └── PersonVoteSnapshot.swift
│   │   │   │       │   ├── Post/
│   │   │   │       │   │   ├── Post1Snapshot.swift
│   │   │   │       │   │   ├── Post2Snapshot.swift
│   │   │   │       │   │   ├── Post3Snapshot.swift
│   │   │   │       │   │   └── PostSnapshotProviding.swift
│   │   │   │       │   ├── ProfileDetails.swift
│   │   │   │       │   ├── RegistrationApplication/
│   │   │   │       │   │   └── RegistrationApplicationSnapshot.swift
│   │   │   │       │   └── Report/
│   │   │   │       │       └── ReportSnapshot.swift
│   │   │   │       └── UsernameValidity.swift
│   │   │   └── Tests/
│   │   │       └── MlemMiddlewareTests/
│   │   │           └── MlemMiddlewareTests.swift
│   │   ├── QuickSwipes/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       └── QuickSwipes/
│   │   │           ├── Array+Extensions.swift
│   │   │           ├── EnvironmentValues+Extensions.swift
│   │   │           ├── PanGesture.swift
│   │   │           ├── QuickSwipeAction.swift
│   │   │           ├── QuickSwipeThresholdSet.swift
│   │   │           ├── QuickSwipesViewModifier.swift
│   │   │           ├── SwipeConfiguration.swift
│   │   │           ├── View+EdgeBorders.swift
│   │   │           ├── View+Extensions.swift
│   │   │           └── View+QuickSwipes.swift
│   │   ├── Rest/
│   │   │   ├── .gitignore
│   │   │   ├── Package.resolved
│   │   │   ├── Package.swift
│   │   │   └── Sources/
│   │   │       ├── Rest/
│   │   │       │   ├── ApiRequest.swift
│   │   │       │   ├── ImageUploadDelegate.swift
│   │   │       │   ├── JSONDecoder+Extensions.swift
│   │   │       │   ├── JSONEncoder+Extensions.swift
│   │   │       │   ├── MlemUrlRequest.swift
│   │   │       │   ├── MultiPartForm.swift
│   │   │       │   ├── RestClient.swift
│   │   │       │   ├── RestError.swift
│   │   │       │   └── URLRequest+Extensions.swift
│   │   │       └── URLEncoder/
│   │   │           ├── InternalQueryItemEncoder.swift
│   │   │           ├── RetrievalEncoder.swift
│   │   │           ├── RetrievalSingleValueContainer.swift
│   │   │           ├── String+Extensions.swift
│   │   │           ├── ThrowingKeyedContainer.swift
│   │   │           ├── ThrowingSingleValueContainer.swift
│   │   │           ├── ThrowingUnkeyedContainer.swift
│   │   │           ├── TopLevelKeyedContainer.swift
│   │   │           ├── URLQueryItemEncoder.swift
│   │   │           └── URLQueryItemEncoderSettings.swift
│   │   └── Theming/
│   │       ├── Package.swift
│   │       └── Sources/
│   │           └── Theming/
│   │               ├── Color+Extensions.swift
│   │               ├── EnvironmentValues+Extensions.swift
│   │               ├── Palette+Default.swift
│   │               ├── Palette.swift
│   │               ├── ThemedColor.swift
│   │               └── View+Tint.swift
│   ├── Preview Content/
│   │   ├── Preview Assets.xcassets/
│   │   │   ├── Contents.json
│   │   │   ├── image.droplets.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── image.meguro_river.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── image.yorkshire_dales.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.balloon.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.circuit.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.firework.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.fish.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.flowers.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.goose.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.lakeside.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.news.imageset/
│   │   │   │   └── Contents.json
│   │   │   ├── pfp.person.imageset/
│   │   │   │   └── Contents.json
│   │   │   └── pfp.shower.imageset/
│   │   │       └── Contents.json
│   │   └── PreviewLocalizable.xcstrings
│   └── Settings.bundle/
│       ├── Root.plist
│       └── en.lproj/
│           └── Root.strings
├── Mlem.xcodeproj/
│   └── project.pbxproj
├── MlemTests/
│   ├── DateTests.swift
│   └── MlemTests.swift
├── MlemUITests/
│   └── MlemUITests.swift
├── OpenInMlem/
│   ├── Action.js
│   ├── ActionRequestHandler.swift
│   ├── Info.plist
│   ├── InfoPlist.xcstrings
│   └── Media.xcassets/
│       ├── ActionIcon.appiconset/
│       │   └── Contents.json
│       └── Contents.json
├── PrivacyInfo.xcprivacy
├── README.md
└── brewfile
Condensed preview — 1229 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,903K chars).
[
  {
    "path": ".git-hooks/pre-commit",
    "chars": 776,
    "preview": "#!/bin/bash\n\nexport PATH=\"$PATH:/opt/homebrew/bin\"\n\nregex=\"\\(Mlem/.*\\).swift$\"\nformatter=$(which swiftformat)\n\ncheck_for"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug-report.yml",
    "chars": 642,
    "preview": "name: Bug Report\ndescription: Report unexpected behavior.\ntype: \"Bug\"\n\nbody:\n- type: checkboxes\n  attributes:\n    label:"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/improvement-proposal.yml",
    "chars": 586,
    "preview": "name: Improvement Proposal\ndescription: Propose an improvement for Mlem.\ntype: \"Feature\"\n\nbody:\n- type: checkboxes\n  att"
  },
  {
    "path": ".github/actions/ci_xcodebuild/action.yml",
    "chars": 710,
    "preview": "name: xcodebuild\n\ninputs:\n  xcode_version: \n    required: true\n  xcodebuild_destination:\n    required: true\n  xcodebuild"
  },
  {
    "path": ".github/pull_request_template.md",
    "chars": 638,
    "preview": "<!--\nThank you for opening a pull request!\n\nWe assume you have read CONTRIBUTING.md. If you have not, do not be surprise"
  },
  {
    "path": ".github/workflows/ci_build_26.yml",
    "chars": 552,
    "preview": "name: CI - Build - Xcode 26\n\non:\n    push:\n        branches:\n        - master\n        - dev\n\n    pull_request:\n        b"
  },
  {
    "path": ".github/workflows/ci_lint.yml",
    "chars": 609,
    "preview": "name: CI - Lint\n\non:\n  # Run in master as CI\n  push:\n    branches:\n    - master\n      \n  pull_request:\n    branches:\n   "
  },
  {
    "path": ".gitignore",
    "chars": 3158,
    "preview": "# Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,macos\n# Edit at https://www.toptal.com/develope"
  },
  {
    "path": ".gitmodules",
    "chars": 222,
    "preview": "[submodule \"Mlem/Packages/MlemMiddleware/Sources/MlemMiddleware/MlemApiTypes\"]\n\tpath = Mlem/Packages/MlemMiddleware/Sour"
  },
  {
    "path": ".periphery.yml",
    "chars": 81,
    "preview": "project: Mlem.xcodeproj\nschemes:\n- MarkdownUI\n- Mlem\n- Semaphore\ntargets:\n- Mlem\n"
  },
  {
    "path": ".swift-version",
    "chars": 4,
    "preview": "5.8\n"
  },
  {
    "path": ".swiftformat",
    "chars": 202,
    "preview": "--wraparguments before-first\n--commas inline\n--disable wrapMultilineStatementBraces\n--trimwhitespace nonblank-lines\n--st"
  },
  {
    "path": ".swiftlint.yml",
    "chars": 499,
    "preview": "disabled_rules:\n  - trailing_whitespace # disabling this check until swiftformat is in place, which will catch the major"
  },
  {
    "path": "Additional Documents/EULA.md",
    "chars": 4345,
    "preview": "# End User License Agreement\n\nWelcome to Mlem! Before you proceed, please carefully read the following Terms of Service "
  },
  {
    "path": "Additional Documents/Privacy.md",
    "chars": 2279,
    "preview": "# Privacy Policy for Mlem Mobile Application\n\nEffective Date: July 15th, 2023\n\nThank you for using Mlem! This Privacy Po"
  },
  {
    "path": "CODEOWNERS",
    "chars": 29,
    "preview": "*   @mlemgroup/mlem-dev-team\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 5773,
    "preview": "Hello!\n\nIf you're reading this, you probably want to contribute to Mlem. Welcome! We're happy to have you on board. You "
  },
  {
    "path": "LICENSE",
    "chars": 35535,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "Mlem/App/Actions/ActionSeed+Extensions.swift",
    "chars": 533,
    "preview": "//\n//  ActionSeed+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-04-02.\n//\n\nimport Actions\n\nextension Action"
  },
  {
    "path": "Mlem/App/Actions/ActionSeedSwipeConfiguration.swift",
    "chars": 1127,
    "preview": "//\n//  ActionSeedSwipeConfiguration.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-04.\n//\n\nimport Actions\nimport Fou"
  },
  {
    "path": "Mlem/App/Actions/ActionSheet/ActionSheet.swift",
    "chars": 4236,
    "preview": "//\n//  ActionSheet.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-11-12.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/ActionSheet/CustomizableContextMenu.swift",
    "chars": 3685,
    "preview": "//\n//  CustomizableActionMenu.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-04-02.\n//\n\nimport Actions\nimport SwiftUI\n\n"
  },
  {
    "path": "Mlem/App/Actions/AppointAdminAction.swift",
    "chars": 2933,
    "preview": "//\n//  AppointAdminAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-13.\n//\n\nimport Actions\nimport MlemMiddlewar"
  },
  {
    "path": "Mlem/App/Actions/AppointModeratorAction.swift",
    "chars": 3319,
    "preview": "//\n//  AppointModeratorAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-13.\n//\n\nimport Actions\nimport MlemMiddl"
  },
  {
    "path": "Mlem/App/Actions/BanAction.swift",
    "chars": 8430,
    "preview": "//\n//  BanAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimport "
  },
  {
    "path": "Mlem/App/Actions/BlockAction.swift",
    "chars": 8922,
    "preview": "//\n//  BlockAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/CollapseAction.swift",
    "chars": 1565,
    "preview": "//\n//  CollapseAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Actions/CollapseParentAction.swift",
    "chars": 1460,
    "preview": "//\n//  CollapseParentAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport MlemMiddlew"
  },
  {
    "path": "Mlem/App/Actions/CollapseToTopAction.swift",
    "chars": 1445,
    "preview": "//\n//  CollapseToTopAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport MlemMiddlewa"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Comment.swift",
    "chars": 1917,
    "preview": "//\n//  ContextMenu+Comment.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-17.\n//\n\nimport Actions\nimport Icons\nimport"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Community.swift",
    "chars": 856,
    "preview": "//\n//  ContextMenu+Community.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-02-08.\n//\n\nimport Actions\nimport MlemMiddle"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+InboxNotification.swift",
    "chars": 3284,
    "preview": "//\n//  ContextMenu+InboxNotification.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-11-07.\n//  \n\nimport Actions\nimport "
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Instance.swift",
    "chars": 1915,
    "preview": "//\n//  ContextMenu+Instance.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-01-15.\n//\n\nimport Actions\nimport MlemMiddlew"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Message.swift",
    "chars": 477,
    "preview": "//\n//  ContextMenu+Message.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-17.\n//\n\nimport Actions\nimport MlemMiddlewa"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Person.swift",
    "chars": 653,
    "preview": "//\n//  ContextMenu+Person.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-17.\n//\n\nimport Actions\nimport MlemMiddlewar"
  },
  {
    "path": "Mlem/App/Actions/ContextMenu+Post.swift",
    "chars": 1602,
    "preview": "//\n//  ContextMenu+Post.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-23.\n//\n\nimport Actions\nimport Icons\nimport Ml"
  },
  {
    "path": "Mlem/App/Actions/CopyNameAction.swift",
    "chars": 1921,
    "preview": "//\n//  CopyNameAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-13.\n//\n\nimport Actions\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Actions/CreateImageAction.swift",
    "chars": 1727,
    "preview": "//\n//  CreateImageAction.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-12-06.\n//\n\nimport Actions\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Actions/CrosspostAction.swift",
    "chars": 1747,
    "preview": "//\n//  CrosspostAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport MlemMiddleware\ni"
  },
  {
    "path": "Mlem/App/Actions/DeleteAction.swift",
    "chars": 3179,
    "preview": "//\n//  DeleteAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-17.\n//\n\nimport Actions\nimport MlemMiddleware\nimpo"
  },
  {
    "path": "Mlem/App/Actions/EditAction.swift",
    "chars": 2494,
    "preview": "//\n//  EditAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-17.\n//\n\nimport Actions\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Actions/EditNoteAction.swift",
    "chars": 1217,
    "preview": "//\n//  EditNoteAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-13.\n//\n\nimport Actions\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Actions/FavoriteAction.swift",
    "chars": 2217,
    "preview": "//\n//  FavoriteAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-02-08.\n//\n\nimport Actions\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Actions/GoToInstanceAction.swift",
    "chars": 1012,
    "preview": "//\n//  GoToInstanceAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddlewar"
  },
  {
    "path": "Mlem/App/Actions/HideAction.swift",
    "chars": 2169,
    "preview": "//\n//  HideAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-23.\n//\n\nimport Actions\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Actions/LockAction.swift",
    "chars": 2434,
    "preview": "//\n//  LockAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-23.\n//\n\nimport Actions\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Actions/LogInAction.swift",
    "chars": 979,
    "preview": "//\n//  LogInAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-01-16.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/MarkNsfwAction.swift",
    "chars": 2323,
    "preview": "//\n//  MarkNsfwAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-23.\n//\n\nimport Actions\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Actions/MarkReadAction.swift",
    "chars": 1591,
    "preview": "//\n//  MarkReadAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-11-07.\n//  \n\nimport Actions\nimport MlemMiddleware\n"
  },
  {
    "path": "Mlem/App/Actions/NewPostAction.swift",
    "chars": 1088,
    "preview": "//\n//  NewPostAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-02-08.\n//\n\nimport Actions\nimport MlemMiddleware\nimp"
  },
  {
    "path": "Mlem/App/Actions/OpenInBrowserAction.swift",
    "chars": 880,
    "preview": "//\n//  OpenInBrowserAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-01-16.\n//\n\nimport Actions\nimport MlemMiddlewa"
  },
  {
    "path": "Mlem/App/Actions/OpenModlogAction.swift",
    "chars": 2363,
    "preview": "//\n//  OpenModlogAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\n"
  },
  {
    "path": "Mlem/App/Actions/PinAction.swift",
    "chars": 4195,
    "preview": "//\n//  PinAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-12-23.\n//\n\nimport Actions\nimport MlemMiddleware\nimport "
  },
  {
    "path": "Mlem/App/Actions/PurgeAction.swift",
    "chars": 2091,
    "preview": "//\n//  PurgeAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/RemoveAction.swift",
    "chars": 1835,
    "preview": "//\n//  RemoveAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimpo"
  },
  {
    "path": "Mlem/App/Actions/ReplyAction.swift",
    "chars": 2345,
    "preview": "//\n//  ReplyAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/ReportAction.swift",
    "chars": 1418,
    "preview": "//\n//  ReportAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-13.\n//\n\nimport Actions\nimport MlemMiddleware\nimpo"
  },
  {
    "path": "Mlem/App/Actions/ResolveAction.swift",
    "chars": 1113,
    "preview": "//\n//  ResolveAction.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-12-24.\n//\n\nimport Actions\nimport MlemMiddlewa"
  },
  {
    "path": "Mlem/App/Actions/SaveAction.swift",
    "chars": 1677,
    "preview": "//\n//  SaveAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Actions/SelectTextAction.swift",
    "chars": 872,
    "preview": "//\n//  SelectTextAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-13.\n//\n\nimport Actions\nimport MlemMiddleware\n"
  },
  {
    "path": "Mlem/App/Actions/SendMessageAction.swift",
    "chars": 1846,
    "preview": "//\n//  SendMessageAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware"
  },
  {
    "path": "Mlem/App/Actions/ShareAction.swift",
    "chars": 1585,
    "preview": "//\n//  ShareAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/SignUpAction.swift",
    "chars": 785,
    "preview": "//\n//  SignUpAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-01-16.\n//\n\nimport Actions\nimport MlemMiddleware\nimpo"
  },
  {
    "path": "Mlem/App/Actions/SubscribeAction.swift",
    "chars": 2616,
    "preview": "//\n//  SubscribeAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-02-08.\n//\n\nimport Actions\nimport MlemMiddleware\ni"
  },
  {
    "path": "Mlem/App/Actions/ViewVotesAction.swift",
    "chars": 1630,
    "preview": "//\n//  ViewVotesAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\ni"
  },
  {
    "path": "Mlem/App/Actions/VisitAction.swift",
    "chars": 1280,
    "preview": "//\n//  VisitAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-01-16.\n//\n\nimport Actions\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Actions/VoteAction.swift",
    "chars": 3209,
    "preview": "//\n//  VoteAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-10-25.\n//\n\nimport Actions\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Configuration/Colors/Palette+Dracula.swift",
    "chars": 2914,
    "preview": "//\n//  Palette+Dracula.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-08.\n//\n\nimport Foundation\nimport SwiftUI\nimpor"
  },
  {
    "path": "Mlem/App/Configuration/Colors/Palette+Monochrome.swift",
    "chars": 2117,
    "preview": "//\n//  Palette+Monochrome.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-08.\n//\n\nimport Foundation\nimport SwiftUI\nim"
  },
  {
    "path": "Mlem/App/Configuration/Colors/Palette+Oled.swift",
    "chars": 556,
    "preview": "//\n//  Palette+Oled.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-08.\n//\n\nimport Foundation\nimport Theming\n\nextensi"
  },
  {
    "path": "Mlem/App/Configuration/Colors/Palette+Solarized.swift",
    "chars": 3689,
    "preview": "//\n//  Palette+Solarized.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-08.\n//\n\nimport Foundation\nimport SwiftUI\nimp"
  },
  {
    "path": "Mlem/App/Configuration/Constants/Constants.swift",
    "chars": 4513,
    "preview": "//\n//  Constants.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//\n\nimport Foundation\nimport KeychainAcces"
  },
  {
    "path": "Mlem/App/Configuration/Constants/Platform Constants/PadConstants.swift",
    "chars": 774,
    "preview": "//\n//  PadConstants.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//\n\nimport Foundation\n\n// iPad-specific"
  },
  {
    "path": "Mlem/App/Configuration/Constants/Platform Constants/PhoneConstants.swift",
    "chars": 780,
    "preview": "//\n//  PhoneConstants.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//\n\nimport Foundation\n\n// iPhone-spec"
  },
  {
    "path": "Mlem/App/Configuration/Constants/Platform Constants/PlatformConstants.swift",
    "chars": 952,
    "preview": "//\n//  PlatformConstants.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//\n\nimport Foundation\n\n// Struct e"
  },
  {
    "path": "Mlem/App/Configuration/Icons.swift",
    "chars": 19162,
    "preview": "//\n//  Icon.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-09-13.\n//\n\nimport Foundation\nimport SwiftUI\n\n// swiftl"
  },
  {
    "path": "Mlem/App/Configuration/User Settings/PinnedSortTracker.swift",
    "chars": 665,
    "preview": "//\n//  PinnedSortTracker.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-12.\n//\n\nimport Dependencies\nimport Foundatio"
  },
  {
    "path": "Mlem/App/Configuration/User Settings/SettingPropertyWrapper.swift",
    "chars": 753,
    "preview": "//\n//  SettingPropertyWrapper.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//  Adapted from https://fatb"
  },
  {
    "path": "Mlem/App/Configuration/User Settings/Settings.swift",
    "chars": 4034,
    "preview": "//\n//  CodableSettings.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-09-05.\n//\n\nimport Foundation\nimport MlemMid"
  },
  {
    "path": "Mlem/App/Configuration/User Settings/SettingsValues.swift",
    "chars": 44211,
    "preview": "//\n//  SettingsValues.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-04-07.\n//\n\nimport Dependencies\nimport Haptic"
  },
  {
    "path": "Mlem/App/Data/Document.swift",
    "chars": 303,
    "preview": "//\n//  Document.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-07-09.\n//\n\nimport Foundation\n\nstruct Document: Ide"
  },
  {
    "path": "Mlem/App/Data/EULA.swift",
    "chars": 4734,
    "preview": "//\n//  EULA.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-07-09.\n//\n\nimport Foundation\n\n// swiftlint:disable lin"
  },
  {
    "path": "Mlem/App/Data/Licenses.swift",
    "chars": 21583,
    "preview": "//\n//  Licenses.swift\n//  Mlem\n//\n//  Created by Weston Hanners on 7/12/23.\n//\n\nimport Foundation\n\n// swiftlint:disable "
  },
  {
    "path": "Mlem/App/Data/Privacy Policy.swift",
    "chars": 2683,
    "preview": "//\n//  Privacy Policy.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-07-09.\n//\n\nimport Foundation\n\n// swiftlint:d"
  },
  {
    "path": "Mlem/App/Enums/AnimatedAvatarBehavior.swift",
    "chars": 585,
    "preview": "//\n//  AnimatedAvatarBehavior.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-03-15.\n//\n\nimport Foundation\nimport "
  },
  {
    "path": "Mlem/App/Enums/AvatarType.swift",
    "chars": 251,
    "preview": "//\n//  AvatarType.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-10-02.\n//\n\nimport Foundation\nimport Icons\n\n// TO"
  },
  {
    "path": "Mlem/App/Enums/CommentJumpButtonLocation.swift",
    "chars": 898,
    "preview": "//\n//  CommentJumpButtonLocation.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/08/2024.\n//\n\nimport Icons\nimport SwiftUI\n"
  },
  {
    "path": "Mlem/App/Enums/InstanceSort.swift",
    "chars": 854,
    "preview": "//\n//  InstanceSort.swift\n//  Mlem\n//\n//  Created by Sjmarf on 09/09/2024.\n//\n\nimport Foundation\nimport Icons\n\nenum Inst"
  },
  {
    "path": "Mlem/App/Enums/Interaction/ActionSeedSections.swift",
    "chars": 295,
    "preview": "//\n//  ActionSeedSections.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-02-28.\n//\n\nimport Actions\n\nstruct ActionSeedSe"
  },
  {
    "path": "Mlem/App/Enums/Interaction/CommentBarConfiguration+Types.swift",
    "chars": 4819,
    "preview": "//\n//  CommentBarConfiguration+Types.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport Fo"
  },
  {
    "path": "Mlem/App/Enums/Interaction/CommentBarConfiguration.swift",
    "chars": 5997,
    "preview": "//\n//  CommentInteraction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 14/06/2024.\n//\n\nimport Actions\nimport Foundation\nim"
  },
  {
    "path": "Mlem/App/Enums/Interaction/CommunityActionConfiguration.swift",
    "chars": 1604,
    "preview": "//\n//  CommunityActionConfiguration.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-04.\n//\n\nimport Actions\nimport Fou"
  },
  {
    "path": "Mlem/App/Enums/Interaction/ContextMenuConfiguration.swift",
    "chars": 605,
    "preview": "//\n//  ContextMenuConfiguration.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-21.\n//\n\nimport Actions\nimport Foundat"
  },
  {
    "path": "Mlem/App/Enums/Interaction/InteractionBarConfiguration.swift",
    "chars": 7562,
    "preview": "//\n//  InteractionConfiguration.swift\n//  Mlem\n//\n//  Created by Sjmarf on 15/08/2024.\n//\n\n// swiftlint:disable line_len"
  },
  {
    "path": "Mlem/App/Enums/Interaction/PostBarConfiguration+Types.swift",
    "chars": 5931,
    "preview": "//\n//  PostBarConfiguration+Types.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport Found"
  },
  {
    "path": "Mlem/App/Enums/Interaction/PostBarConfiguration.swift",
    "chars": 5986,
    "preview": "//\n//  PostInteraction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 14/06/2024.\n//\n\nimport Actions\nimport Foundation\nimpor"
  },
  {
    "path": "Mlem/App/Enums/Interaction/ReplyBarConfiguration+Types.swift",
    "chars": 3928,
    "preview": "//\n//  ReplyBarConfiguration+Types.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport Foun"
  },
  {
    "path": "Mlem/App/Enums/Interaction/ReplyBarConfiguration.swift",
    "chars": 5405,
    "preview": "//\n//  InboxInteraction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 14/06/2024.\n//\n\nimport Actions\nimport Foundation\nimpo"
  },
  {
    "path": "Mlem/App/Enums/Interaction/SwipeActionConfiguration.swift",
    "chars": 577,
    "preview": "//\n//  SwipeActionConfiguration.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-03-15.\n//\n\nimport Actions\nimport Foundat"
  },
  {
    "path": "Mlem/App/Enums/MlemError.swift",
    "chars": 838,
    "preview": "//\n//  MlemError.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-02-06.\n//\n\nenum MlemError: Error {\n    case model"
  },
  {
    "path": "Mlem/App/Enums/NsfwBlurBehavior.swift",
    "chars": 612,
    "preview": "//\n//  NsfwBlurBehavior.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-22.\n//\n\nimport Icons\nimport Foundation\n"
  },
  {
    "path": "Mlem/App/Enums/PersonFlair.swift",
    "chars": 4644,
    "preview": "//\n//  UserFlair.swift\n//  Mlem\n//\n//  Created by Sjmarf on 07/10/2023.\n//\n\nimport Icons\nimport MlemMiddleware\nimport Sw"
  },
  {
    "path": "Mlem/App/Enums/PostViewLinkType.swift",
    "chars": 162,
    "preview": "//\n//  PostViewLinkType.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-17.\n//\n\nimport Foundation\n\nenum PostViewNavig"
  },
  {
    "path": "Mlem/App/Enums/ReadPostIndicator.swift",
    "chars": 382,
    "preview": "//\n//  ReadPostIndicator.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-12-25.\n//\n\nimport Foundation\n\nenum ReadPo"
  },
  {
    "path": "Mlem/App/Enums/TabBarLongPressAction.swift",
    "chars": 645,
    "preview": "//\n//  TabBarLongPressAction.swift\n//  Mlem\n//\n// Created by Bedir Ekim on 21.05.2025.\n//\n\nimport Foundation\nimport Icon"
  },
  {
    "path": "Mlem/App/Enums/ZoomSliderLocation.swift",
    "chars": 895,
    "preview": "//\n//  ZoomSliderLocation.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-02-02.\n//\n\nimport Foundation\nimport Icon"
  },
  {
    "path": "Mlem/App/Globals/Definitions/AccountsTracker.swift",
    "chars": 6048,
    "preview": "//\n//  AccountsTracker.swift\n//  Mlem\n//\n//  Created by David Bureš on 05.05.2023.\n//\n\nimport Combine\nimport Dependencie"
  },
  {
    "path": "Mlem/App/Globals/Definitions/AppState+transition.swift",
    "chars": 1454,
    "preview": "//\n//  AppState+Transition.swift\n//  Mlem\n//\n//  Created by Sjmarf on 05/06/2024.\n//\n\nimport SwiftUI\n\nextension AppState"
  },
  {
    "path": "Mlem/App/Globals/Definitions/AppState.swift",
    "chars": 5786,
    "preview": "//\n//  AppState.swift\n//  Mlem\n//\n//  Created by Sjmarf on 17/02/2024.\n//\n\nimport Dependencies\nimport Foundation\nimport "
  },
  {
    "path": "Mlem/App/Globals/Definitions/ErrorsTracker.swift",
    "chars": 651,
    "preview": "//\n//  ErrorsTracker.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-12-29.\n//\n\nimport Observation\n\n@Observable\ncl"
  },
  {
    "path": "Mlem/App/Globals/Definitions/FiltersTracker.swift",
    "chars": 3632,
    "preview": "//\n//  FiltersTracker.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-12-22.\n//\n\nimport Dependencies\nimport Founda"
  },
  {
    "path": "Mlem/App/Globals/Definitions/PaletteOption.swift",
    "chars": 884,
    "preview": "//\n//  PaletteOption.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-08.\n//\n\nimport Foundation\nimport SwiftUI\nimport "
  },
  {
    "path": "Mlem/App/Globals/Definitions/PersistenceRepository.swift",
    "chars": 10148,
    "preview": "//\n//  PersistenceRepository.swift\n//  Mlem\n//\n//  Created by mormaer on 26/07/2023.\n//\n//\n\nimport Dependencies\nimport F"
  },
  {
    "path": "Mlem/App/Globals/Definitions/TabReselectTracker.swift",
    "chars": 419,
    "preview": "//\n//  TabReselectTracker.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-11-02.\n//\n\nimport Foundation\nimport Swif"
  },
  {
    "path": "Mlem/App/Globals/Dependencies/PersistenceRepository+Dependency.swift",
    "chars": 493,
    "preview": "//\n//  PersistenceRepository+Dependency.swift\n//  Mlem\n//\n//  Created by mormaer on 26/07/2023.\n//\n//\n\nimport Dependenci"
  },
  {
    "path": "Mlem/App/Legacy/LegacySettings.swift",
    "chars": 5966,
    "preview": "//\n//  Settings.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-07.\n//  Adapted from https://fatbobman.com/en/p"
  },
  {
    "path": "Mlem/App/Logic/Animations.swift",
    "chars": 388,
    "preview": "//\n//  Animations.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-12-29.\n//\n\nimport SwiftUI\nimport UIKit\n\n// https"
  },
  {
    "path": "Mlem/App/Logic/HandleError.swift",
    "chars": 2507,
    "preview": "//\n//  HandleError.swift\n//  Mlem\n//\n//  Created by Sjmarf on 18/05/2024.\n//\n\nimport MlemMiddleware\nimport os\nimport Swi"
  },
  {
    "path": "Mlem/App/Logic/ImageFunctions.swift",
    "chars": 3533,
    "preview": "//\n//  ImageFunctions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-25.\n//\n\nimport Foundation\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Logic/ImageSaver.swift",
    "chars": 977,
    "preview": "//\n//  ImageSaver.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-11-15.\n//  Adapted from https://www.hackingwiths"
  },
  {
    "path": "Mlem/App/Logic/Networking/InternetConnectionManager.swift",
    "chars": 1082,
    "preview": "//\n//  Reachibility.swift\n//  Mlem\n//\n//  Created by Sjmarf on 25/08/2023.\n//\n\nimport Foundation\nimport SystemConfigurat"
  },
  {
    "path": "Mlem/App/Models/Account/Account.swift",
    "chars": 1716,
    "preview": "//\n//  NewSavedUser.swift\n//  Mlem\n//\n//  Created by Sjmarf on 10/02/2024.\n//\n\nimport Foundation\nimport KeychainAccess\ni"
  },
  {
    "path": "Mlem/App/Models/Account/AccountType.swift",
    "chars": 443,
    "preview": "//\n//  AccountType.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-10-17.\n//\n\nenum AccountType: String, Codable, C"
  },
  {
    "path": "Mlem/App/Models/Account/GuestAccount.swift",
    "chars": 4995,
    "preview": "//\n//  GuestAccount.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/05/2024.\n//\n\nimport Foundation\nimport MlemMiddleware\ni"
  },
  {
    "path": "Mlem/App/Models/Account/UserAccount.swift",
    "chars": 9358,
    "preview": "//\n//  AuthenticatedAccount.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/05/2024.\n//\n\nimport Foundation\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Models/Action/Action.swift",
    "chars": 195,
    "preview": "//\n//  Action.swift\n//  Mlem\n//\n//  Created by Sjmarf on 30/03/2024.\n//\n\nimport SwiftUI\n\nprotocol Action: Identifiable {"
  },
  {
    "path": "Mlem/App/Models/Action/ActionAppearance+StaticValues.swift",
    "chars": 10660,
    "preview": "//\n//  ActionAppearance+StaticValues.swift\n//  Mlem\n//\n//  Created by Sjmarf on 16/08/2024.\n//\n\nimport Foundation\n\nexten"
  },
  {
    "path": "Mlem/App/Models/Action/ActionAppearance.swift",
    "chars": 1779,
    "preview": "//\n//  ActionAppearance.swift\n//  Mlem\n//\n//  Created by Sjmarf on 15/08/2024.\n//\n\nimport SwiftUI\nimport Theming\n\nstruct"
  },
  {
    "path": "Mlem/App/Models/Action/ActionBuilder.swift",
    "chars": 788,
    "preview": "//\n//  ActionGroupBuilder.swift\n//  Mlem\n//\n//  Created by Sjmarf on 07/07/2024.\n//\n\nimport Foundation\n\n@resultBuilder\ns"
  },
  {
    "path": "Mlem/App/Models/Action/ActionGroup.swift",
    "chars": 2014,
    "preview": "//\n//  GroupAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 31/03/2024.\n//\n\nimport SwiftUI\n\nstruct ActionGroup: Action"
  },
  {
    "path": "Mlem/App/Models/Action/ActionType.swift",
    "chars": 153,
    "preview": "//\n//  ActionType.swift\n//  Mlem\n//\n//  Created by Sjmarf on 30/03/2024.\n//\n\nimport SwiftUI\n\nenum ActionType: String {\n "
  },
  {
    "path": "Mlem/App/Models/Action/BasicAction.swift",
    "chars": 2220,
    "preview": "//\n//  BasicAction.swift\n//  Mlem\n//\n//  Created by Sjmarf on 31/03/2024.\n//\n\nimport Dependencies\nimport MlemMiddleware\n"
  },
  {
    "path": "Mlem/App/Models/Action/Counter.swift",
    "chars": 510,
    "preview": "//\n//  Counter.swift\n//  Mlem\n//\n//  Created by Sjmarf on 14/06/2024.\n//\n\nimport Foundation\n\nstruct Counter: Identifiabl"
  },
  {
    "path": "Mlem/App/Models/Action/CounterAppearance.swift",
    "chars": 289,
    "preview": "//\n//  CounterAppearance.swift\n//  Mlem\n//\n//  Created by Sjmarf on 17/08/2024.\n//\n\nimport Foundation\n\nstruct CounterApp"
  },
  {
    "path": "Mlem/App/Models/Action/CounterApperance+StaticValues.swift",
    "chars": 1124,
    "preview": "//\n//  CounterApperance+StaticValues.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-01-29.\n//\n\nextension CounterA"
  },
  {
    "path": "Mlem/App/Models/Action/Readout.swift",
    "chars": 271,
    "preview": "//\n//  Readout.swift\n//  Mlem\n//\n//  Created by Sjmarf on 16/06/2024.\n//\n\nimport SwiftUI\nimport Theming\n\nstruct Readout "
  },
  {
    "path": "Mlem/App/Models/Action/ShareActivity.swift",
    "chars": 998,
    "preview": "//\n//  ShareActivity.swift\n//  Mlem\n//\n//  Created by Sjmarf on 30/09/2024.\n//\n\nimport UIKit\n\nclass ShareActivity: UIAct"
  },
  {
    "path": "Mlem/App/Models/CommentTreeNode.swift",
    "chars": 1451,
    "preview": "//\n//  CommentWrapper.swift\n//  Mlem\n//\n//  Created by Sjmarf on 25/06/2024.\n//\n\nimport MlemMiddleware\nimport SwiftUI\n\n@"
  },
  {
    "path": "Mlem/App/Models/ErrorDetails.swift",
    "chars": 2117,
    "preview": "//\n//  ErrorDetails.swift\n//  Mlem\n//\n//  Created by Sjmarf on 31/08/2023.\n//\n\nimport Combine\nimport Icons\nimport MlemMi"
  },
  {
    "path": "Mlem/App/Models/Events/Event+Extension.swift",
    "chars": 350,
    "preview": "//\n//  Event+Extension.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-04-24.\n//\n\nimport Foundation\nimport FediverseEven"
  },
  {
    "path": "Mlem/App/Models/Events/EventsTracker.swift",
    "chars": 1146,
    "preview": "//\n//  EventsTracker.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-04-23.\n//\n\nimport Foundation\nimport FediverseEvents"
  },
  {
    "path": "Mlem/App/Models/FeedContext.swift",
    "chars": 450,
    "preview": "//\n//  FeedContext.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-08-27.\n//\n\nimport Foundation\n\nenum FeedContext {\n    "
  },
  {
    "path": "Mlem/App/Models/FeedbackType.swift",
    "chars": 151,
    "preview": "//\n//  FeedbackType.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/06/2024.\n//\n\nimport Foundation\n\nenum FeedbackType {\n  "
  },
  {
    "path": "Mlem/App/Models/ImageUploadHistoryManager.swift",
    "chars": 756,
    "preview": "//\n//  ImageUploadHistoryManager.swift\n//  Mlem\n//\n//  Created by Sjmarf on 07/09/2024.\n//\n\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Models/ImageUploadManager.swift",
    "chars": 3620,
    "preview": "//\n//  ImageUploadManager.swift\n//  Mlem\n//\n//  Created by Sjmarf on 02/09/2024.\n//\n\nimport MlemMiddleware\nimport Photos"
  },
  {
    "path": "Mlem/App/Models/MlemStats/InstanceSummary.swift",
    "chars": 297,
    "preview": "//\n//  InstanceSummary.swift\n//  Mlem\n//\n//  Created by Sjmarf on 25/06/2024.\n//\n\nimport Foundation\nimport MlemBackend\ni"
  },
  {
    "path": "Mlem/App/Models/MlemStats/MlemStats.swift",
    "chars": 3212,
    "preview": "//\n//  MlemStats.swift\n//  Mlem\n//\n//  Created by Sjmarf on 25/06/2024.\n//\n\nimport Foundation\nimport MlemMiddleware\nimpo"
  },
  {
    "path": "Mlem/App/Models/SeededRandomNumberGenerator.swift",
    "chars": 418,
    "preview": "//\n//  SeededRandomNumberGenerator.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-02-02.\n//\n\nimport Foundation\n\n// http"
  },
  {
    "path": "Mlem/App/Models/Session/GuestSession.swift",
    "chars": 1078,
    "preview": "//\n//  GuestSession.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/05/2024.\n//\n\nimport Foundation\nimport MlemMiddleware\ni"
  },
  {
    "path": "Mlem/App/Models/Session/Session.swift",
    "chars": 475,
    "preview": "//\n//  Session.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/05/2024.\n//\n\nimport Foundation\nimport MlemMiddleware\nimport"
  },
  {
    "path": "Mlem/App/Models/Session/UserSession.swift",
    "chars": 4582,
    "preview": "//\n//  UserSession.swift\n//  Mlem\n//\n//  Created by Sjmarf on 24/05/2024.\n//\n\nimport Foundation\nimport MlemMiddleware\nim"
  },
  {
    "path": "Mlem/App/Models/Settings/Options/InternetSpeed.swift",
    "chars": 528,
    "preview": "//\n//  InternetSpeed.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-08-02.\n//\n\nimport Foundation\n\nenum InternetSp"
  },
  {
    "path": "Mlem/App/Models/Settings/Options/PostSize.swift",
    "chars": 2161,
    "preview": "//\n//  PostSize.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-05-19.\n//\n\nimport Foundation\nimport Icons\nimport Q"
  },
  {
    "path": "Mlem/App/Models/Settings/Options/ThumbnailLocation.swift",
    "chars": 548,
    "preview": "//\n//  ThumbnailLocation.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-05-23.\n//\n\nimport Foundation\nimport Icons"
  },
  {
    "path": "Mlem/App/Protocols/AccountSortMode.swift",
    "chars": 793,
    "preview": "//\n//  AccountSortMode.swift\n//  Mlem\n//\n//  Created by Sjmarf on 23/12/2023.\n//\n\nimport SwiftUI\n\nenum AccountSortMode: "
  },
  {
    "path": "Mlem/App/Protocols/AssociatedColor.swift",
    "chars": 181,
    "preview": "//\n//  AssociatedColor.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2023-10-31.\n//\n\nimport Foundation\nimport SwiftUI"
  },
  {
    "path": "Mlem/App/Utility/Extensions/ApiClient+Extensions.swift",
    "chars": 912,
    "preview": "//\n//  ApiClient+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 02/06/2024.\n//\n\nimport Foundation\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Array+Extensions.swift",
    "chars": 619,
    "preview": "//\n//  Array+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-06-10.\n//\n\nimport Foundation\n\nextension Ar"
  },
  {
    "path": "Mlem/App/Utility/Extensions/BackendClient+Extensions.swift",
    "chars": 182,
    "preview": "//\n//  MlemBackend+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2026-04-23.\n//\n\nimport MlemBackend\n\nextension B"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Binding+Extensions.swift",
    "chars": 292,
    "preview": "//\n//  Binding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 06/07/2024.\n//\n\nimport SwiftUI\n\nextension Binding w"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Blockable+Extensions.swift",
    "chars": 1956,
    "preview": "//\n//  Blockable+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-02-10.\n//\n\nimport MlemMiddleware\nimpor"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Bundle+Extensions.swift",
    "chars": 497,
    "preview": "//\n//  Bundle+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 25/08/2024.\n//\n\nimport Foundation\n\nextension Bundle "
  },
  {
    "path": "Mlem/App/Utility/Extensions/CGFloat+Extensions.swift",
    "chars": 2071,
    "preview": "//\n//  CGFloat+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-03-17.\n//\n\nimport Foundation\n\nextension "
  },
  {
    "path": "Mlem/App/Utility/Extensions/CGPoint+Extensions.swift",
    "chars": 324,
    "preview": "//\n//  CGPoint+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-03-31.\n//\n\nimport Foundation\n\nextension "
  },
  {
    "path": "Mlem/App/Utility/Extensions/CGSize+Extensions.swift",
    "chars": 673,
    "preview": "//\n//  CGSize+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2025-02-24.\n//\n\nimport Foundation\n\nextension C"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Calendar+Extensions.swift",
    "chars": 394,
    "preview": "//\n//  Calendar+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-29.\n//\n\nimport Foundation\n\nextension"
  },
  {
    "path": "Mlem/App/Utility/Extensions/CaptchaDifficulty+Extensions.swift",
    "chars": 332,
    "preview": "//\n//  CaptchaDifficulty+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 29/07/2024.\n//\n\nimport Foundation\nimport "
  },
  {
    "path": "Mlem/App/Utility/Extensions/Color+Extensions.swift",
    "chars": 498,
    "preview": "//\n//  Color+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-08-29.\n//\n\nimport Foundation\nimport SwiftU"
  },
  {
    "path": "Mlem/App/Utility/Extensions/CommentSortType+Extensions.swift",
    "chars": 913,
    "preview": "//\n//  CommentSortType+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-03-17.\n//\n\nimport Foundation\nimport Ic"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ActorIdentifiable+Extensions.swift",
    "chars": 657,
    "preview": "//\n//  ActorIdentifiable+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 02/07/2024.\n//\n\nimport Foundation\nimport "
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Captcha+Extensions.swift",
    "chars": 349,
    "preview": "//\n//  Captcha+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 06/09/2024.\n//\n\nimport MlemMiddleware\nimport SwiftU"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Comment/Comment+Actions.swift",
    "chars": 12219,
    "preview": "//\n//  Comment+Actions.swift\n//  MlemMiddleware\n//\n//  Created by Eric Andrews on 2026-01-19.\n//\n\nimport Haptics\nimport "
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Comment/Comment+Extensions.swift",
    "chars": 454,
    "preview": "//\n//  Comment+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-21.\n//\n\nimport MlemMiddleware\n\nextens"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Community/Community+Extensions.swift",
    "chars": 198,
    "preview": "//\n//  Community+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-02-20.\n//\n\nimport MlemMiddleware\n\nexte"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/CommunityOrPersonStub+Extensions.swift",
    "chars": 2424,
    "preview": "//\n//  CommunityOrPersonStub+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 30/05/2024.\n//\n\nimport MlemMiddleware"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/DeletableProviding+Extensions.swift",
    "chars": 2047,
    "preview": "//\n//  DeletableProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 22/07/2024.\n//\n\nimport MlemMiddleware\n\ne"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/InboxItemProviding+Extensions.swift",
    "chars": 702,
    "preview": "//\n//  InboxItemProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 05/07/2024.\n//\n\nimport Haptics\nimport Ml"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/InboxItemType+Extensions.swift",
    "chars": 3457,
    "preview": "//\n//  InboxItemType+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-01-17.\n//\n\nimport Foundation\nimport Icon"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Instance+Extensions.swift",
    "chars": 2100,
    "preview": "//\n//  Instance3+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-01-02.\n//\n\nimport Foundation\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Instance3+Extensions.swift",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Interactable/InteractableProviding+Actions.swift",
    "chars": 7318,
    "preview": "//\n//  InteractableProviding+Actions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-24.\n//\n\nimport MlemMiddlew"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Interactable/InteractableProviding+Extensions.swift",
    "chars": 1280,
    "preview": "//\n//  InteractableProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-24.\n//\n\nimport MlemMidd"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Interactable/InteractableProviding+Toggles.swift",
    "chars": 2873,
    "preview": "//\n//  InteractableProviding+Toggles.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2024-05-02.\n//\n\nimport Haptics\nimp"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Message1Providing+Extensions.swift",
    "chars": 5345,
    "preview": "//\n//  Message1Providing+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 05/07/2024.\n//\n\nimport Haptics\nimport Mle"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ModlogEntryContent+Extensions.swift",
    "chars": 6562,
    "preview": "//\n//  ModlogEntryContent+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-26.\n//\n\nimport Icons\nimport Mlem"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ModlogEntryType+Extensions.swift",
    "chars": 2727,
    "preview": "//\n//  ApiModlogActionType+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-01-11.\n//\n\nimport Foundation\nimpor"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Person/Person+Actions.swift",
    "chars": 5222,
    "preview": "//\n//  Person+Actions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-02-06.\n//\n\nimport MlemMiddleware\n\nextension "
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Person/Person+Extensions.swift",
    "chars": 2000,
    "preview": "//\n//  Person+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-02-06.\n//\n\nimport MlemBackend\nimport Mlem"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/PersonContent+Extensions.swift",
    "chars": 334,
    "preview": "//\n//  PersonContent+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-10-31.\n//\n\nimport MlemMiddleware\n\nextens"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Post/Post+Actions.swift",
    "chars": 17158,
    "preview": "//\n//  Post+Actions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-03.\n//\n\nimport MlemMiddleware\nimport Founda"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Post/Post+Extensions.swift",
    "chars": 2015,
    "preview": "//\n//  Post+Extensions.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-07.\n//\n\nimport MlemMiddleware\nimport Swi"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Post/Post+Toggles.swift",
    "chars": 4068,
    "preview": "//\n//  Post+Toggles.swift\n//  Mlem\n//\n//  Created by Eric Andrews on 2026-01-04.\n//\n\nimport MlemMiddleware\nimport Haptic"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ProfileProviding+Extensions.swift",
    "chars": 879,
    "preview": "//\n//  ProfileProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-13.\n//\n\nimport Foundation\nimport M"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/PurgableProviding+Extensions.swift",
    "chars": 527,
    "preview": "//\n//  PurgableProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-10-27.\n//\n\nimport Foundation\nimport "
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/RegistrationApplication+Extensions.swift",
    "chars": 1144,
    "preview": "//\n//  RegistrationApplication+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2025-01-14.\n//\n\nimport Foundation\ni"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/RemovableProviding+Extensions.swift",
    "chars": 577,
    "preview": "//\n//  RemovableProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-15.\n//\n\nimport MlemMiddleware\n\ne"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Reply1Providing+Extensions.swift",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/Report+Extensions.swift",
    "chars": 1417,
    "preview": "//\n//  Report+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-16.\n//\n\nimport Haptics\nimport MlemMiddleware"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ReportableProviding+Extensions.swift",
    "chars": 660,
    "preview": "//\n//  ReportableProviding+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 12/08/2024.\n//\n\nimport MlemMiddleware\n\n"
  },
  {
    "path": "Mlem/App/Utility/Extensions/Content Models/ScoringOperation+Extensions.swift",
    "chars": 754,
    "preview": "//\n//  ScoringOperation+Extensions.swift\n//  Mlem\n//\n//  Created by Sjmarf on 2024-12-18.\n//\n\nimport Icons\nimport MlemMi"
  }
]

// ... and 1029 more files (download for full content)

About this extraction

This page contains the full source code of the mlemgroup/mlem GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1229 files (3.5 MB), approximately 985.7k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!