import { Routes } from '@angular/router';
import { Roots } from '@enums/root.enum';

export const pagesRoutes: Routes = [
  {
    path: '',
    redirectTo: Roots.shravakFeeds,
    pathMatch: 'full',
  },
  {
    path: Roots.shravakFeeds,
    loadComponent: () => import('./shravak/shravak-feeds/shravak-feeds.page').then(m => m.ShravakFeedsPage)
  },
  {
    path: Roots.sanghFeeds,
    loadComponent: () => import('./shravak/shravak-feeds/shravak-feeds.page').then(m => m.ShravakFeedsPage)
  },
  {
    path: Roots.santInfo,
    loadComponent: () => import('./sant/sant-information/sant-information.page').then(m => m.SantInformationPage)
  },
  {
    path: Roots.aboutDiksha,
    loadComponent: () => import('./sant/about-diksha/about-diksha.page').then(m => m.AboutDikshaPage)
  },
  {
    path: Roots.aboutSansarikJeevan,
    loadComponent: () => import('./sant/about-sansarik-jeevan/about-sansarik-jeevan.page').then(m => m.AboutSansarikJeevanPage)
  },
  {
    path: Roots.santProfileImage,
    loadComponent: () => import('./sant/sant-profile-image/sant-profile-image.page').then(m => m.SantProfileImagePage)
  },
  {
    path: Roots.santViewProfile,
    loadComponent: () => import('./sant/sant-view-profile/sant-view-profile.page').then(m => m.SantViewProfilePage)
  },
  {
    path: Roots.santBio,
    loadComponent: () => import('./sant/sant-bio/sant-bio.page').then(m => m.SantBioPage)
  },
  {
    path: Roots.viharInfo,
    loadComponent: () => import('./sant/vihar-info/vihar-info.page').then(m => m.ViharInfoPage)
  },
  {
    path: Roots.chaturmasInfo,
    loadComponent: () => import('./sant/chaturmas-info/chaturmas-info.page').then(m => m.ChaturmasInfoPage)
  },
  {
    path: Roots.createdAccount,
    loadComponent: () => import('./common/create-account/create-account.page').then(m => m.CreateAccountPage)
  },
  {
    path: Roots.menu,
    loadComponent: () => import('./common/menu/menu.page').then(m => m.MenuPage)
  },
  {
    path: Roots.shravakViewProfile,
    loadComponent: () => import('./shravak/shravak-view-profile/shravak-view-profile.page').then(m => m.ShravakViewProfilePage)
  },
  {
    path: Roots.shravakAbout,
    loadComponent: () => import('./shravak/shravak-about/shravak-about.page').then(m => m.ShravakAboutPage)
  },
  {
    path: Roots.createNewSant,
    loadComponent: () => import('./sant/create-new-sant/create-new-sant.page').then(m => m.CreateNewSantPage)
  },
  {
    path: Roots.shravakOtherProfile,
    loadComponent: () => import('./shravak/shravak-other-profile/shravak-other-profile.page').then(m => m.ShravakOtherProfilePage)
  },
  {
    path: Roots.passiveUserInformation,
    loadComponent: () => import('./shravak/passive-user-information/passive-user-information.page')
      .then(m => m.PassiveUserInformationPage)
  },
  {
    path: Roots.passiveUserEducation,
    loadComponent: () => import('./shravak/passive-user-education/passive-user-education.page').then(m => m.PassiveUserEducationPage)
  },
  {
    path: Roots.passiveUserProfileImage,
    loadComponent: () => import('./shravak/passive-user-profile-image/passive-user-profile-image.page').then(m =>
      m.PassiveUserProfileImagePage)
  },
  {
    path: Roots.shravakEditProfile,
    loadComponent: () => import('./shravak/shravak-edit-profile/shravak-edit-profile.page').then(m => m.ShravakEditProfilePage)
  },
  {
    path: Roots.postFeed,
    loadComponent: () => import('./post/post-feed/post-feed.page').then(m => m.PostFeedPage)
  },
  {
    path: Roots.postType,
    loadComponent: () => import('./post/post-type/post-type.page').then(m => m.PostTypePage)
  },
  {
    path: Roots.globalSearch,
    loadComponent: () => import('./common/global-search/global-search.page').then(m => m.GlobalSearchPage)
  },
  {
    path: Roots.shravakAboutOther,
    loadComponent: () => import('./shravak/shravak-other-about/shravak-other-about.page').then(m => m.ShravakOtherAboutPage)
  },
  {
    path: Roots.shravakEditLocation,
    loadComponent: () => import('./shravak/shravak-edit-location/shravak-edit-location.page').then(m => m.ShravakEditLocationPage)
  },
  {
    path: Roots.shravakEditContactInfo,
    loadComponent: () => import('./shravak/shravak-edit-contact-info/shravak-edit-contact-info.page')
      .then(m => m.ShravakEditContactInfoPage)
  },
  {
    path: Roots.shravakEditFamilyMembers,
    loadComponent: () => import('./shravak/shravak-edit-family-members/shravak-edit-family-members.page')
      .then(m => m.ShravakEditFamilyMembersPage)
  },
  {
    path: Roots.shravakEditWork,
    loadComponent: () => import('./shravak/shravak-edit-work/shravak-edit-work.page').then(m => m.ShravakEditWorkPage)
  },
  {
    path: Roots.shravakEditEducation,
    loadComponent: () => import('./shravak/shravak-edit-education/shravak-edit-education.page').then(m => m.ShravakEditEducationPage)
  },
  {
    path: Roots.message,
    loadComponent: () => import('./messages/message/message.page').then(m => m.MessagePage)
  },
  {
    path: Roots.messageChat,
    loadComponent: () => import('./messages/message-chat/message-chat.page').then(m => m.MessageChatPage)
  },
  {
    path: Roots.notification,
    loadComponent: () => import('./common/notification/notification.page').then(m => m.NotificationPage)
  },
  {
    path: Roots.friendRequest,
    loadComponent: () => import('./shravak/friend-request/friend-request.page').then(m => m.FriendRequestPage)
  },
  {
    path: Roots.viharModal,
    loadComponent: () => import('./sant/vihar-modal/vihar-modal.page').then(m => m.ViharModalPage)
  },
  {
    path: Roots.viewAll,
    loadComponent: () => import('./sant/view-all/view-all.page').then(m => m.ViewAllPage)
  },
  {
    path: Roots.sanghTermPolicy,
    loadComponent: () => import('./sangh/sangh-term-policy/sangh-term-policy.component').then(m => m.SanghTermPolicyComponent)
  },
  {
    path: Roots.sanghInformation,
    loadComponent: () => import('./sangh/sangh-information/sangh-information.page').then(m => m.SanghInformationPage)
  },
  {
    path: Roots.sanghAddress,
    loadComponent: () => import('./sangh/sangh-address/sangh-address.page').then(m => m.SanghAddressPage)
  },
  {
    path: Roots.sanghFacilities,
    loadComponent: () => import('./sangh/sangh-facilities/sangh-facilities.page').then(m => m.SanghFacilitiesPage)
  },
  {
    path: Roots.sanghDonation,
    loadComponent: () => import('./sangh/sangh-donation/sangh-donation.page').then(m => m.SanghAddressPage)
  },
  {
    path: Roots.sanghProfileImage,
    loadComponent: () => import('./sangh/sangh-profile-image/sangh-profile-image.page').then(m => m.SanghProfileImagePage)
  },
  {
    path: Roots.chaturmasVihar,
    loadComponent: () => import('./sangh/chaturmas-vihar/chaturmas-vihar.page').then(m => m.ViharSanghPage)
  },
  {
    path: Roots.inviteMembers,
    loadComponent: () => import('./sangh/invite-members/invite-members.page').then(m => m.InviteMembersPage)
  },
  {
    path: Roots.sanghProfile,
    loadComponent: () => import('./sangh/sangh-profile/sangh-profile.page').then(m => m.SanghProfilePage)
  },
  {
    path: Roots.sanghMemberCard,
    loadComponent: () => import('./sangh/sangh-member-card/sangh-member-card.page').then(m => m.SanghMemberCardPage)
  },
  {
    path: Roots.sanghMembersAdminView,
    loadComponent: () => import('./sangh/sangh-members-admin-view/sangh-members-admin-view.page')
      .then(m => m.SanghMembersAdminViewPage)
  },
  {
    path: Roots.sanghSearchMember,
    loadComponent: () => import('./sangh/sangh-search-member/sangh-search-member.page').then(m => m.SanghSearchMemberPage)
  },
  {
    path: Roots.sanghRoleSelect,
    loadComponent: () => import('./sangh/sangh-role-select/sangh-role-select.page').then(m => m.SanghRoleSelectPage)
  },
  {
    path: Roots.sanghEditProfile,
    loadComponent: () => import('./sangh/sangh-edit-profile/sangh-edit-profile.page').then(m => m.SanghEditProfilePage)
  },
  {
    path: Roots.addLocation,
    loadComponent: () => import('./post/add-location/add-location.page').then(m => m.AddLocationPage)
  },
  {
    path: Roots.taggedUsers,
    loadComponent: () => import('./post/tagged-user/tagged-user.page').then(m => m.TaggedUserPage)
  },
  {
    path: Roots.searchSant,
    loadComponent: () => import('./sant/search-sant/search-sant.page').then(m => m.SearchSantPage)
  },
  {
    path: Roots.postDetail,
    loadComponent: () => import('./post/post-detail/post-detail.page').then(m => m.PostDetailPage)
  },
  {
    path: Roots.postDetailURL,
    loadComponent: () => import('./post/post-detail/post-detail.page').then(m => m.PostDetailPage)
  },
  {
    path: Roots.selectSangh,
    loadComponent: () => import('./post/select-sangh/select-sangh.page').then(m => m.SelectSanghPage)
  },
  {
    path: Roots.createNewSangh,
    loadComponent: () => import('./sangh/create-new-sangh/create-new-sangh.page').then(m => m.CreateNewSanghPage)
  },
  {
    path: Roots.addChaturmas,
    loadComponent: () => import('./sant/add-chaturmas/add-chaturmas.page').then(m => m.AddChaturmasPage)
  },
  {
    path: Roots.viewAllSangh,
    loadComponent: () => import('./sangh/view-all-sangh/view-all-sangh.page').then(m => m.ViewAllSanghPage)
  },
  {
    path: Roots.addCommitteeMember,
    loadComponent: () => import('./sangh/add-committee-member/add-committee-member.page').then(m => m.AddCommitteeMemberPage)
  },
  {
    path: Roots.invitations,
    loadComponent: () => import('./sangh/invitations/invitations.page').then(m => m.InvitationsPage)
  },
  {
    path: Roots.aboutSangh,
    loadComponent: () => import('./sangh/about-sangh/about-sangh.page').then(m => m.AboutSanghPage)
  },
  {
    path: Roots.visibilityPolicy,
    loadComponent: () => import('./common/visibility-policy/visibility-policy.page').then(m => m.VisibilityPolicyPage)
  },
  {
    path: Roots.termsPolicy,
    loadComponent: () => import('./common/terms-policy/terms-policy.page').then(m => m.TermsPolicyPage)
  },
  {
    path: Roots.thanaList,
    loadComponent: () => import('./sant/thana-list/thana-list.page').then(m => m.ThanaListPage)
  },
  {
    path: Roots.addThana,
    loadComponent: () => import('./sant/add-thana/add-thana.page').then(m => m.AddThanaPage)
  },
  {
    path: Roots.friendList,
    loadComponent: () => import('./shravak/friend-list/friend-list.page').then(m => m.FriendListPage)
  },
  {
    path: Roots.friendsSuggestionsViewAll,
    loadComponent: () => import('./shravak/friends-suggestions-view-all/friends-suggestions-view-all.page')
      .then(m => m.FriendsSuggestionsViewAllPage)
  },
  {
    path: Roots.searchFriend,
    loadComponent: () => import('./shravak/search-friend/search-friend.page').then(m => m.SearchFriendPage)
  },
  {
    path: Roots.imageView,
    loadComponent: () => import('./common/image-view/image-view.page').then(m => m.ImageViewPage)
  },
  {
    path: Roots.settings,
    loadComponent: () => import('./settings/settings.page').then(m => m.SettingsPage)
  },
  {
    path: Roots.certificate,
    loadComponent: () => import('./common/discount-certificate/discount-certificate.page').then(m => m.DiscountCertificatePage)
  },
];
