"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "AmityAllCategoriesPage", {
  enumerable: true,
  get: function () {
    return _social.AmityAllCategoriesPage;
  }
});
Object.defineProperty(exports, "AmityBlockedUsersPage", {
  enumerable: true,
  get: function () {
    return _social.AmityBlockedUsersPage;
  }
});
Object.defineProperty(exports, "AmityCommunitiesByCategoryPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunitiesByCategoryPage;
  }
});
Object.defineProperty(exports, "AmityCommunityAddCategoryPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityAddCategoryPage;
  }
});
Object.defineProperty(exports, "AmityCommunityAddMemberPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityAddMemberPage;
  }
});
Object.defineProperty(exports, "AmityCommunityCommentsNotificationSettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityCommentsNotificationSettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunityFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityFeedComponent;
  }
});
Object.defineProperty(exports, "AmityCommunityHeaderComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityHeaderComponent;
  }
});
Object.defineProperty(exports, "AmityCommunityImageFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityImageFeedComponent;
  }
});
Object.defineProperty(exports, "AmityCommunityLivestreamsNotificationSettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityLivestreamsNotificationSettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunityMembershipPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityMembershipPage;
  }
});
Object.defineProperty(exports, "AmityCommunityNotificationSettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityNotificationSettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunityPendingRequestPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityPendingRequestPage;
  }
});
Object.defineProperty(exports, "AmityCommunityPinnedPostComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityPinnedPostComponent;
  }
});
Object.defineProperty(exports, "AmityCommunityPostPermissionPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityPostPermissionPage;
  }
});
Object.defineProperty(exports, "AmityCommunityPostsNotificationSettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityPostsNotificationSettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunitySearchResultComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunitySearchResultComponent;
  }
});
Object.defineProperty(exports, "AmityCommunitySettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunitySettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunitySetupPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunitySetupPage;
  }
});
Object.defineProperty(exports, "AmityCommunityStoriesNotificationSettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityStoriesNotificationSettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunityStorySettingPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityStorySettingPage;
  }
});
Object.defineProperty(exports, "AmityCommunityVideoFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityVideoFeedComponent;
  }
});
Object.defineProperty(exports, "AmityCreateLivestreamPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCreateLivestreamPage;
  }
});
Object.defineProperty(exports, "AmityCreatePostMenuComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityCreatePostMenuComponent;
  }
});
Object.defineProperty(exports, "AmityCreateStoryPage", {
  enumerable: true,
  get: function () {
    return _social.AmityCreateStoryPage;
  }
});
Object.defineProperty(exports, "AmityDetailedMediaAttachmentComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityDetailedMediaAttachmentComponent;
  }
});
Object.defineProperty(exports, "AmityDraftStoryPage", {
  enumerable: true,
  get: function () {
    return _social.AmityDraftStoryPage;
  }
});
Object.defineProperty(exports, "AmityEditUserProfilePage", {
  enumerable: true,
  get: function () {
    return _social.AmityEditUserProfilePage;
  }
});
Object.defineProperty(exports, "AmityEmptyNewsFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityEmptyNewsFeedComponent;
  }
});
Object.defineProperty(exports, "AmityExploreComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityExploreComponent;
  }
});
Object.defineProperty(exports, "AmityGlobalFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityGlobalFeedComponent;
  }
});
Object.defineProperty(exports, "AmityGlobalStoryTabWrapper", {
  enumerable: true,
  get: function () {
    return _social.AmityGlobalStoryTabWrapper;
  }
});
Object.defineProperty(exports, "AmityLivestreamPlayerPage", {
  enumerable: true,
  get: function () {
    return _social.AmityLivestreamPlayerPage;
  }
});
Object.defineProperty(exports, "AmityLivestreamPostTargetSelectionPage", {
  enumerable: true,
  get: function () {
    return _social.AmityLivestreamPostTargetSelectionPage;
  }
});
Object.defineProperty(exports, "AmityLivestreamTerminatedPage", {
  enumerable: true,
  get: function () {
    return _social.AmityLivestreamTerminatedPage;
  }
});
Object.defineProperty(exports, "AmityMediaAttachmentComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityMediaAttachmentComponent;
  }
});
Object.defineProperty(exports, "AmityMyCommunitiesComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityMyCommunitiesComponent;
  }
});
Object.defineProperty(exports, "AmityMyCommunitiesSearchPage", {
  enumerable: true,
  get: function () {
    return _social.AmityMyCommunitiesSearchPage;
  }
});
Object.defineProperty(exports, "AmityNewsFeedComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityNewsFeedComponent;
  }
});
Object.defineProperty(exports, "AmityPageRenderer", {
  enumerable: true,
  get: function () {
    return _core.AmityPageRenderer;
  }
});
Object.defineProperty(exports, "AmityPendingPostListComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityPendingPostListComponent;
  }
});
Object.defineProperty(exports, "AmityPollPostComposerPage", {
  enumerable: true,
  get: function () {
    return _social.AmityPollPostComposerPage;
  }
});
Object.defineProperty(exports, "AmityPollTargetSelectionPage", {
  enumerable: true,
  get: function () {
    return _social.AmityPollTargetSelectionPage;
  }
});
Object.defineProperty(exports, "AmityPostCommentComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityPostCommentComponent;
  }
});
Object.defineProperty(exports, "AmityPostComposerMode", {
  enumerable: true,
  get: function () {
    return _social.AmityPostComposerMode;
  }
});
Object.defineProperty(exports, "AmityPostComposerPage", {
  enumerable: true,
  get: function () {
    return _social.AmityPostComposerPage;
  }
});
Object.defineProperty(exports, "AmityPostContentComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityPostContentComponent;
  }
});
Object.defineProperty(exports, "AmityPostDetailPage", {
  enumerable: true,
  get: function () {
    return _social.AmityPostDetailPage;
  }
});
Object.defineProperty(exports, "AmityPostEngagementActionsComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityPostEngagementActionsComponent;
  }
});
Object.defineProperty(exports, "AmityPostEngagementContentComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityPostEngagementContentComponent;
  }
});
Object.defineProperty(exports, "AmityPostTargetSelectionPage", {
  enumerable: true,
  get: function () {
    return _social.AmityPostTargetSelectionPage;
  }
});
Object.defineProperty(exports, "AmityPostTargetSelectionPageType", {
  enumerable: true,
  get: function () {
    return _social.AmityPostTargetSelectionPageType;
  }
});
Object.defineProperty(exports, "AmityPostTargetType", {
  enumerable: true,
  get: function () {
    return _social.AmityPostTargetType;
  }
});
Object.defineProperty(exports, "AmityReactionListComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityReactionListComponent;
  }
});
Object.defineProperty(exports, "AmitySocialGlobalSearchPage", {
  enumerable: true,
  get: function () {
    return _social.AmitySocialGlobalSearchPage;
  }
});
Object.defineProperty(exports, "AmitySocialHomePage", {
  enumerable: true,
  get: function () {
    return _social.AmitySocialHomePage;
  }
});
Object.defineProperty(exports, "AmitySocialHomeTopNavigationComponent", {
  enumerable: true,
  get: function () {
    return _social.AmitySocialHomeTopNavigationComponent;
  }
});
Object.defineProperty(exports, "AmityStoryTabComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityStoryTabComponent;
  }
});
Object.defineProperty(exports, "AmityStoryTabComponentEnum", {
  enumerable: true,
  get: function () {
    return _social.AmityStoryTabComponentEnum;
  }
});
Object.defineProperty(exports, "AmityStoryTargetSelectionPage", {
  enumerable: true,
  get: function () {
    return _social.AmityStoryTargetSelectionPage;
  }
});
Object.defineProperty(exports, "AmityThumbnailActionComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityThumbnailActionComponent;
  }
});
Object.defineProperty(exports, "AmityTopSearchBarComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityTopSearchBarComponent;
  }
});
Object.defineProperty(exports, "AmityUiKitProvider", {
  enumerable: true,
  get: function () {
    return _core.AmityUiKitProvider;
  }
});
Object.defineProperty(exports, "AmityUiKitSocial", {
  enumerable: true,
  get: function () {
    return _core.AmityUiKitSocial;
  }
});
Object.defineProperty(exports, "AmityUserProfilePage", {
  enumerable: true,
  get: function () {
    return _social.AmityUserProfilePage;
  }
});
Object.defineProperty(exports, "AmityUserRelationshipPage", {
  enumerable: true,
  get: function () {
    return _social.AmityUserRelationshipPage;
  }
});
Object.defineProperty(exports, "AmityUserSearchResultComponent", {
  enumerable: true,
  get: function () {
    return _social.AmityUserSearchResultComponent;
  }
});
Object.defineProperty(exports, "AmityViewStoryPage", {
  enumerable: true,
  get: function () {
    return _social.AmityViewStoryPage;
  }
});
Object.defineProperty(exports, "CommunityProfilePage", {
  enumerable: true,
  get: function () {
    return _social.AmityCommunityProfilePage;
  }
});
Object.defineProperty(exports, "ErrorBoundary", {
  enumerable: true,
  get: function () {
    return _core.ErrorBoundary;
  }
});
Object.defineProperty(exports, "PostDetail", {
  enumerable: true,
  get: function () {
    return _social.PostDetail;
  }
});
Object.defineProperty(exports, "mediaAttachment", {
  enumerable: true,
  get: function () {
    return _social.mediaAttachment;
  }
});
Object.defineProperty(exports, "navigate", {
  enumerable: true,
  get: function () {
    return _core.navigate;
  }
});
var _reactNative = require("react-native");
var _core = require("./core");
var _social = require("./social");
// Polyfill for BackHandler compatibility with older libraries like react-native-modalbox
// In React Native 0.65+, BackHandler.removeEventListener was removed
// This polyfill maintains backward compatibility
if (!_reactNative.BackHandler.removeEventListener) {
  const listeners = new Map();
  const originalAddEventListener = _reactNative.BackHandler.addEventListener;
  _reactNative.BackHandler.addEventListener = (eventName, handler) => {
    const subscription = originalAddEventListener(eventName, handler);
    listeners.set(handler, subscription);
    return subscription;
  };
  _reactNative.BackHandler.removeEventListener = (_eventName, handler) => {
    const subscription = listeners.get(handler);
    if (subscription) {
      subscription.remove();
      listeners.delete(handler);
    }
  };
}
//# sourceMappingURL=index.js.map